The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
University
| Teaching Since: | Apr 2017 |
| Last Sign in: | 438 Weeks Ago, 2 Days Ago |
| Questions Answered: | 9562 |
| Tutorials Posted: | 9559 |
bachelor in business administration
Polytechnic State University Sanluis
Jan-2006 - Nov-2010
CPA
Polytechnic State University
Jan-2012 - Nov-2016
Professor
Harvard Square Academy (HS2)
Mar-2012 - Present
(a) Derive an SM chart for the elevator controller in Problem 16.29.
(b) Realize the SM chart in (a) using a PLA and D flip-flops.
Problem 16.29
The block diagram for an elevator controller for a two-floor elevator follows. The inputs FB1Â and FB2Â are 1 when someone in the elevator presses the first or second floor buttons, respectively. The inputs CALL1Â and CALL2Â are 1 when someone on the first or second floor presses the elevator call button. The inputs FS1Â and FS2Â are 1 when the elevator is at the first or second floor landing. The output UP turns on the motor to raise the elevator car; DOWN turns on the motor to lower the elevator. If neither UP nor DOWN is 1, then the elevator will not move. R1Â and R2Â reset the latches (described below); and when DO goes to 1, the elevator door opens. After the door opens and remains open for a reasonable length of time (as determined by the door controller mechanism), the door controller mechanism closes the door and sets DC = 1. Assume that all input signals are properly synchronized with the system clock.
(a) If we were to realize a control circuit that responded to all of the inputs FB1, FB2, CALL1, CALL2, FS1, FS2, and DC, we would need to implement logic equations with nine or more variables (seven inputs plus at least two state variables). However, if we combine the signals FBi and CALLi into a signal Ni(i = 1or2) that indicates that the elevator is needed on the specified floor, we can reduce the number of inputs into the control circuit. In addition, if the

signal Ni is stored so that a single pulse on FBi or CALLi will set Ni to 1 until the control circuit clears it, then the control circuit will be simplified further. Using a D flip-flop and a minimum number of added gates, design a storage circuit that will have an output 1 when either input (FBiorCALLi ) becomes 1 and will stay 1 until reset with a signal Ri
(b) Using the signals N1Â and N2Â that indicate that the elevator is needed on the first or second floor (to deliver a passenger or pick one up or both), derive a state graph for the elevator controller. (Only four states are needed.)
(c) Realize the storage circuits for N1Â and N2Â and the state graph.
-----------