Help Designing Digital Elevator Simulation

Click For Summary

Discussion Overview

The discussion centers around designing a digital elevator simulation circuit using multimedia logic. Participants explore the requirements for the circuit, including input handling, output display, and state management, while addressing various technical aspects of digital circuit design.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant outlines the need for a digital circuit that accepts four momentary closed switches for selecting levels and displays the selected level on a seven-segment LCD.
  • Another participant suggests the necessity of debouncing the switches and synchronizing inputs with a system clock, questioning whether real-time delays should be included in the simulation.
  • A participant expresses uncertainty about how to begin the design process and mentions a lack of prior instruction on the topics raised.
  • One contributor comments on the challenges of designing asynchronous systems and provides a reference to asynchronous logic design principles.
  • Another participant clarifies that the interface to the buttons is asynchronous, while the state machine should be synchronous after debouncing.
  • A later reply mentions a tip from the lecturer about using a priority encoder, flip-flops, and LED drivers as part of the circuit design, while noting the topics already covered in class.

Areas of Agreement / Disagreement

Participants express varying levels of understanding and familiarity with the concepts involved in the design. There is no consensus on the best approach to take, and multiple viewpoints regarding the design process and necessary components are present.

Contextual Notes

Participants indicate limitations in their knowledge and experience, particularly regarding state machines, debouncing, and asynchronous design principles. There is an acknowledgment of the need for further research to connect classroom learning to the specific design task.

Who May Find This Useful

This discussion may be useful for students or individuals interested in digital circuit design, particularly those working on projects involving state machines, asynchronous systems, and multimedia logic applications.

sndp_2002
Messages
3
Reaction score
0
I need some help designing a Digital elevator simulation using multi media logics. I need some help and guidelines as to how I should get the thruth diagrams, kmaps and the circuit going.

I am required to design a digital circuit which has applications in elevator style controls. My circuit will ne able to accept 4 momentary closed switches (push buttons) as input, for selecting one of four levels (i.e. 0, 1, 2 & 3). The output of the circuit will be the value of the presently selected level on a seven (7) segment LCD display. Additionally, my circuit should light one of four (4) LEDs corresponding to the push button which is activated. The circuit must maintain the state of all outputs even after a push button is released; only changing state when another button is activated. The circuit should be robust enough to cater for the possibility of several buttons being simultaneously activated by only registering the highest level of those selected.

Please help me
 
Engineering news on Phys.org
First, you will need to debounce the switches. Do you know how to do that? Then you will need to synchronize these switch inputs with a system clock. Have you learned how to do that yet? Are you supposed to have any real-time delay in this circuit to emulate the time it takes for the elevator to move between floors, or are you supposed to just make the movement instantaneous?

You should draw a state diagram that shows how the outputs change according to the previous state and the inputs. Have you learned about Mealy and Moore state machines yet and how to design them? Quiz question -- what's the difference between those two types of state machines?
 
I am suppose to design the circuit and then simulate it in the multimedia logic software.. I have not covered the areas you mentioned above. I don't know where and how to begin

Thank you for responding
 
It's hard to believe that they have given you that assignment without any classroom or textbook instruction to enable you to tackle the design. What have you been learning in that class and related classes so far?

Here's a note from wikipedia.org about asynchronous systems like your elevator controller (asynchronous because the buttons can be pushed at any time with respect to the system clock):

from http://en.wikipedia.org/wiki/Digital_circuit
wikipedia.org said:
In comparison, asynchronous systems are [challenging] to design because all possible states, in all possible timings must be considered. The usual method is to construct a table of the minimum and maximum time that each such state can exist, and then adjust the circuit to minimize the number of such states, and force the circuit to periodically wait for all of its parts to enter a compatible state. (This is called "self-resynchronization.") Without such careful design, it is easy to accidentally produce asynchronous logic that is "unstable", that is, real electronics will have unpredictable results because of the cumulative delays caused by small variations in the values of the electronic components. Certain circuits (such as the synchronizer flip-flops, switch debouncers, and the like which allow external unsynchronized signals to enter synchronous logic circuits) are inherently asynchronous in their design and must be analyzed as such.

Here is some info on state machines from wikipedia -- you should understand the basics of state machines first, and then apply that to the design of your elevator controller:

http://en.wikipedia.org/wiki/State_machine

You should also go to your technical library and check out "The Art of Electronics" by Horowitz and Hill. Switch debouncing is covered in section 8.16 and synchronizer circuits are covered in section 8.19 (those section numbers are from my 1st edition copy -- the latest edition may have slightly different numbering).
 
BTW, I should clarify one thing. The interface to the buttons is the asynchronous part of your design. Once the buttons are debounced and those signals synchronized to the system clock, the state machine that you will design is synchronous.
 
the tip we received from the lecturer is priority encoder for the first stage then use a flip flop then led drivers these will help us design the circuit

so far we have covered binary, k maps, truth table, basic gates, flip flop, and decoders the rest we have to research

I cannot relate what we have covered so far to this design
If i get a clear picture in my head i will be able to do it
 

Similar threads

Replies
138
Views
27K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
11
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
10K
  • · Replies 1 ·
Replies
1
Views
6K