1 2. 3. 4. 5. 7. 8. 9. 10. 14. Specifications There are five Floors of...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1 2. 3. 4. 5. 7. 8. 9. 10. 14. Specifications There are five Floors of equal height. There is no ground floor. Floors are numbered as 1, 2, 3, 4 and 5. Elevator moves in two directions: UP and DOWN. The direction has to be shown with the help of two LEDs: "UP" and "DOWN" LEDs. It is supposed that this indicator (the two LEDS UP and DOWN) is replicated inside the elevator car (or cabin) and also on each floor. However, you may only implement it once in your design. 17. A "Current Floor" display panel (implemented with a seven-segment display) shows the current location of the elevator cabin on each floor and inside the elevator cabin. This display panel may also be implemented only once in your design. Each floor has an input panel "FloorXpanel" (X is the number of the floor) for people waiting outside the elevator. There are two buttons "UP" & "Down" on each of these panels to request the elevator to stop. If the elevator is moving upwards and it is yet to reach a certain floor, then in the event that a person waiting outside on that particular floor presses the UP Button on the FloorXpanel, the elevator will be stopped on that floor. The operation will be the same when the elevator is moving downwards and DOWN Button is pressed. Whenever the elevator stops at a floor, it opens up the door for 20 secs. An LED indicates the Open/Closed state of the door. If the door is closed, the LED should be lit up constantly and if the door is open then the LED should blink with a perceptible delay (say 500 ms) If the elevator is moving upwards and it has already passed a particular floor, say floor 2, and a person outside on floor 2 presses the UP button on Floorpanel, then the elevator will not reverse its direction and it will continue its movement upwards to cater to other requests. However, the request of the person on floor 2 will be logged and it will be entertained in the next upward trip. Similar operation will be carried out in case of downward movement. If a requested floor (from CabinPanel) is yet to be reached in the current direction of elevator, the request will be entertained once, and the elevator will stop at that requested floor when it arrives. If a floor is requested after it has passed, then the request will be logged and will be entertained on the reverse trip if specification 9 is not encountered. In the event that specification 9 is encountered, that floor will have to be requested again. 11. The emergency STOP button on the CabinPanel stops the elevator on the next floor in a given direction. The requests are not cleared by pressing this button. 12. The requests logged from outside the elevator are not cleared in any event. These are entertained according to the specifications 5 and 7. 13. The elevator does not move to and stop at a floor that has not been requested from inside or outside. For example, if it is moving upwards to reach a previously requested floor, say floor 4, then it will move to floor 4, stop there and stay there until a new floor is requested from inside or outside. Inside the elevator, the passengers use a panel called "CabinPanel" with request buttons for each floor 51, 52, 53, 54, 55 & an emergency STOP button. This panel also has an LED associated with each button to indicate the requested floor. If a button is pressed, its respective LED is lit up until the requested floor has been reached. A passenger may press one or more of these buttons to stop the elevator at the respective floor(s). Each button operates such that the request is logged at one keypress, and it is deleted on double keypress (the second keypress of the double keypress should be inside of a 500 milliseconds time slot). All floor requests entered from CabinPanel inside the elevator are cleared if and only if floor 1 is "reached". The passengers will have to press the buttons on CabinPanel again. Note that once floor 1 has been reached and all old requests have been cleared, then new requests entered from CabinPanel will be allowed to be logged in while the elevator is staying at floor 1. The speed of elevator's motor control is a function of the distance to the nearest requested floor from current location, if the elevator is at first floor and the nearest floor requested is 5, the elevator's motor runs at 100% duty cycle. If elevator is at first floor and the nearest floor requested is 4, the elevator's motor runs at 75% duty cycle. For initial position at first floor and 3 floor as nearest request, speed is 50% duty cycle. For initial position at first floor and 2nd floor as nearest request, the speed is 25% duty cycle. The operation will be same for a different current location, Le. the speed will be determined only by how far the elevator cabin is from its next destination (nearest requested floor). 15. The elevator always starts at a SLOW speed of 10% duty cycle and reaches to its maximum speed (according to the specification 14) after 2 seconds. 16. An optical sensor "DS", located on the elevator car (cabin), lets the elevator know that it is "about to reach the NEXT floor. If the elevator needs to stop at the upcoming floor (that has been detected by the DS), it first reduces its speed to SLOW (10% duty cycle) and then turns off the motor after 2 seconds. In Proteus, use a button to simulate this sensor. If the elevator has stopped at a certain floor, say floor 3, then its door may be opened in two ways: UP/DOWN button on Floor 3panel is pressed from outside, or $3 is pressed on CabinPanel inside. Door will work according to specification 6 FloorXpanel: UP & DN Buttons are on each floor. DN VA DN UP VA ON UP A ON UP UP Elevator Control ON UP Legend Laser Emitters for Level Sensor UP/Down Buttons S5 S4 S3 S2 S1 STOP CabinPanel Level Sensor Door Up Down * Elevator Status G D B Current Floor (PCINT14/RESET) PC6 (PCINTIGRXD) PD (PCINT17/TXD) PDI 3 (PCINT18/INTO) PD2| (PCINT19/0C2B/INTI) PD3 (PCINT20/XCK/TO) PD4 VCC GND (PCINT6/XTALI/TOSCI) PB6 9 (PCINT7/XTAL2/TOSC2) PB7 10 11 (PCINT21/OCOB/T1) PDS | (PCINT22/OCOA/AINO) PD6 12 (PCINT23/AINI) PD7 13 (PCINTO CLKO/ICPI) PBO 14 24 16 Part-1 - Individual Due - 8th Jun 2020 30 Marks • Block Diagram (10 Marks) . • Submit a neat diagram showing the micro-controller and all the LEDs/Buttons. Porteous Layout to be also provided. [4 Marks] • All the pins should be labelled. [4] • Description (12 Marks) • Which interrupts will you be using and for what purpose? [3] • How will you implement the Current Floor display? (Specification 3) [3] • How will you implement the functionality of Specification 9? [3] • How will you implement the functionality of Specification 14? [3] 1 2. 3. 4. 5. 7. 8. 9. 10. 14. Specifications There are five Floors of equal height. There is no ground floor. Floors are numbered as 1, 2, 3, 4 and 5. Elevator moves in two directions: UP and DOWN. The direction has to be shown with the help of two LEDs: "UP" and "DOWN" LEDs. It is supposed that this indicator (the two LEDS UP and DOWN) is replicated inside the elevator car (or cabin) and also on each floor. However, you may only implement it once in your design. 17. A "Current Floor" display panel (implemented with a seven-segment display) shows the current location of the elevator cabin on each floor and inside the elevator cabin. This display panel may also be implemented only once in your design. Each floor has an input panel "FloorXpanel" (X is the number of the floor) for people waiting outside the elevator. There are two buttons "UP" & "Down" on each of these panels to request the elevator to stop. If the elevator is moving upwards and it is yet to reach a certain floor, then in the event that a person waiting outside on that particular floor presses the UP Button on the FloorXpanel, the elevator will be stopped on that floor. The operation will be the same when the elevator is moving downwards and DOWN Button is pressed. Whenever the elevator stops at a floor, it opens up the door for 20 secs. An LED indicates the Open/Closed state of the door. If the door is closed, the LED should be lit up constantly and if the door is open then the LED should blink with a perceptible delay (say 500 ms) If the elevator is moving upwards and it has already passed a particular floor, say floor 2, and a person outside on floor 2 presses the UP button on Floorpanel, then the elevator will not reverse its direction and it will continue its movement upwards to cater to other requests. However, the request of the person on floor 2 will be logged and it will be entertained in the next upward trip. Similar operation will be carried out in case of downward movement. If a requested floor (from CabinPanel) is yet to be reached in the current direction of elevator, the request will be entertained once, and the elevator will stop at that requested floor when it arrives. If a floor is requested after it has passed, then the request will be logged and will be entertained on the reverse trip if specification 9 is not encountered. In the event that specification 9 is encountered, that floor will have to be requested again. 11. The emergency STOP button on the CabinPanel stops the elevator on the next floor in a given direction. The requests are not cleared by pressing this button. 12. The requests logged from outside the elevator are not cleared in any event. These are entertained according to the specifications 5 and 7. 13. The elevator does not move to and stop at a floor that has not been requested from inside or outside. For example, if it is moving upwards to reach a previously requested floor, say floor 4, then it will move to floor 4, stop there and stay there until a new floor is requested from inside or outside. Inside the elevator, the passengers use a panel called "CabinPanel" with request buttons for each floor 51, 52, 53, 54, 55 & an emergency STOP button. This panel also has an LED associated with each button to indicate the requested floor. If a button is pressed, its respective LED is lit up until the requested floor has been reached. A passenger may press one or more of these buttons to stop the elevator at the respective floor(s). Each button operates such that the request is logged at one keypress, and it is deleted on double keypress (the second keypress of the double keypress should be inside of a 500 milliseconds time slot). All floor requests entered from CabinPanel inside the elevator are cleared if and only if floor 1 is "reached". The passengers will have to press the buttons on CabinPanel again. Note that once floor 1 has been reached and all old requests have been cleared, then new requests entered from CabinPanel will be allowed to be logged in while the elevator is staying at floor 1. The speed of elevator's motor control is a function of the distance to the nearest requested floor from current location, if the elevator is at first floor and the nearest floor requested is 5, the elevator's motor runs at 100% duty cycle. If elevator is at first floor and the nearest floor requested is 4, the elevator's motor runs at 75% duty cycle. For initial position at first floor and 3 floor as nearest request, speed is 50% duty cycle. For initial position at first floor and 2nd floor as nearest request, the speed is 25% duty cycle. The operation will be same for a different current location, Le. the speed will be determined only by how far the elevator cabin is from its next destination (nearest requested floor). 15. The elevator always starts at a SLOW speed of 10% duty cycle and reaches to its maximum speed (according to the specification 14) after 2 seconds. 16. An optical sensor "DS", located on the elevator car (cabin), lets the elevator know that it is "about to reach the NEXT floor. If the elevator needs to stop at the upcoming floor (that has been detected by the DS), it first reduces its speed to SLOW (10% duty cycle) and then turns off the motor after 2 seconds. In Proteus, use a button to simulate this sensor. If the elevator has stopped at a certain floor, say floor 3, then its door may be opened in two ways: UP/DOWN button on Floor 3panel is pressed from outside, or $3 is pressed on CabinPanel inside. Door will work according to specification 6 FloorXpanel: UP & DN Buttons are on each floor. DN VA DN UP VA ON UP A ON UP UP Elevator Control ON UP Legend Laser Emitters for Level Sensor UP/Down Buttons S5 S4 S3 S2 S1 STOP CabinPanel Level Sensor Door Up Down * Elevator Status G D B Current Floor (PCINT14/RESET) PC6 (PCINTIGRXD) PD (PCINT17/TXD) PDI 3 (PCINT18/INTO) PD2| (PCINT19/0C2B/INTI) PD3 (PCINT20/XCK/TO) PD4 VCC GND (PCINT6/XTALI/TOSCI) PB6 9 (PCINT7/XTAL2/TOSC2) PB7 10 11 (PCINT21/OCOB/T1) PDS | (PCINT22/OCOA/AINO) PD6 12 (PCINT23/AINI) PD7 13 (PCINTO CLKO/ICPI) PBO 14 24 16 Part-1 - Individual Due - 8th Jun 2020 30 Marks • Block Diagram (10 Marks) . • Submit a neat diagram showing the micro-controller and all the LEDs/Buttons. Porteous Layout to be also provided. [4 Marks] • All the pins should be labelled. [4] • Description (12 Marks) • Which interrupts will you be using and for what purpose? [3] • How will you implement the Current Floor display? (Specification 3) [3] • How will you implement the functionality of Specification 9? [3] • How will you implement the functionality of Specification 14? [3]
Expert Answer:
Related Book For
Posted Date:
Students also viewed these electrical engineering questions
-
Two people are riding an elevator that can stop at floors two, three, ., and N . (Note that the elevator can stop at any floor between 2 and N, not just 2,3 and N. Also, we are not told how many...
-
An elevator containing p passengers is at the ground floor of a building with n floors. On its way to the top of the building, the elevator will stop if a passenger needs to get off. Passengers get...
-
An elevator car whose floor-to-ceiling distance is equal to 2.7 m starts ascending with constant acceleration 1.2 m/s2; 2.0 s after the start a bolt begins falling from the ceiling of the car. Find:...
-
Scandinavo Ltd. is a CCPC that began operations on January 1, 2020 when it was first incorporated and a calendar fiscal period was chosen. Scandinavo Ltd. Is not associated with any other...
-
Assume the subsidiary's functional currency is the U.S. dollar. What is the remeasurement gain or loss for 2014? a. $162,000 loss b. $ 30,000 loss c. $162,000 gain d. $ 30,000 gain Use the following...
-
Virginia Partners, Ltd. (Virginia Partners), a limited partnership organized under the laws of Florida, conducted business in Kentucky but failed to register as a foreign limited partnership, as...
-
Intuition in decision-making can expedite decision-making (versus cognitive domains that are slow and deliberate), but it can fail or mislead us, too. How can that be?
-
A mining company wishes to install some water supply wells to provide water for their operation. One pumping well has been completed and they are seeking approval for a second well. A Farmer on an...
-
16 ! Required information 2.77 points eBook Print References [The following information applies to the questions displayed below.] Chuck Wagon Grills, Incorporated, makes a single product-a handmade...
-
The implementations of the methods addAll, removeAll, retainAll, toArray(), and toArray(T[]) are omitted in the MyList interface. Implement these methods. Test your new MyList class using the code at...
-
A battery with terminal voltage AV=2.5 V contains E= 1.2 kJ of energy. It is connected to a P = 9.5 W light bulb. Input an expression for the light bulb's resistance, R. What is the resistance, in...
-
Indicate whether each of the following statements is true or false by writing T or F in the answer c olumn. Generally, it is good practice to have witnesses to a will who are younger than the person...
-
What are charters and bylaws?
-
Assume a market demand function is given by the equation: \[ Q^{d}=50-0.75 P \] where \(Q^{d}\) is the quantity demanded and \(P\) is the price. If \(P\) equals 10 , the value of the consumer surplus...
-
Differentiate between an IPO and a seasoned equity offering.
-
Describe how a risk-free hedge portfolio can be created using stocks and options.
-
Packaging Solutions Corporation manufactures and sells a wide variety of packaging products. Performance reports are prepared monthly for each department. The planning budget and flexible budget for...
-
3.16. For a system with non-identical service rates (see Sect. 3.5) and a limit of N jobs in the system (Eq. 3.13), obtain an expression for the mean service time per job, E[Ts], as a function of the...
-
What is a density curve, and why are such curves important? In each of Problems 24, assume that the variable under consideration has a density curve. Note that the answers required here may be only...
-
The Scottish Executive, Analytical Services Division Transport Statistics, compiles data on motorcycle accidents. During one year, the numbers of motorcycle accidents in Scotland were tabulated by...
-
Suppose that you know that a variable is normally distributed on each of two populations. Further suppose that you want to perform a hypothesis test based on independent random samples to compare the...
-
The preferred stock of the Luxemburg Mining Corporation pays a $3.25 dividend. What is the value of the stock if your required rate of return is 8 percent?
-
What is the value of Brunei Petroleum Companys preferred stock when the dividend rate is 18 percent on a $100 par value? The appropriate discount rate for a stock of this risk level is 14 percent.
-
What is the value of Queens Park PLCs preferred stock when the dividend rate is 10 percent on a $100 par value? The appropriate discount rate for a stock of this risk level is 16 percent.
Study smarter with the SolutionInn App