First, the system hardware interface definition
- Elevator operation and display panel
There is a display panel in the elevator, an elevator, in addition to the seven-storey button, the corresponding indicator light, and will be transmitted to the control chip outside the interface, open the door and close the button to have the light and the CPU instructions to transmit the interface. The screen that displays the current floor of the elevator also leaves the interface.
Outside the elevator is on each floor to have the upper and lower floor button light and control interface, there are two display display two elevators location and the other two shows the elevator next direction of the screen also to leave the interface. Each floor has to be left with a trip switch.
2. Elevator Power part
Elevator door itself open off need to travel switch, a small motor to provide power, the elevator up and down the movement needs to touch the bottom of the safety of the trip switch, a large motor to provide power or resistance (can use the counterweight to fully utilize the gravitational potential energy energy storage), but also leave the chip control two motor movement interface.
Second, the system function definition
- Show
The display on each floor shows the elevator floor, the arrow-shaped lights only show the direction of movement when the elevator is running, and the buttons on the top and bottom are pressed until the elevator stops before it goes out.
The button inside the elevator is also known that the specific floor will be extinguished, the open door button if triggered then its light is until the door is completely open or off. The elevator display shows the floor of the elevator in real time. Button press to trigger a specific motor after a certain judgment of the action
2. Sports
On the current elevator floor and the need to reach the elevator floor to determine after the decision is up or down, and then drive the motor. Elevator door opening and shutting apart from automatic control and
3. Judgment and decision-making
Comprehensive judgment elevator number, elevator floor number, elevator current direction of movement, elevator is required for the number of layers to carry out the direction of movement and the landing floor to consider, the goal is fast and stable safety and energy saving, Juti also need to discuss
Third, software function module decomposition and inter-module interface definition
Software function module divided into display, elevator switch and elevator up and down three modules
The display function can be used inside and outside the elevator, and there is an interface between the lift and the elevator to show the elevator movement direction, and the elevator switch interface is used to update the arrival floor and extinguish the light that has been to the floor.
The elevator switch and the elevator interlock, the elevator up and down after the stop need to trigger the elevator door open and close. When the elevator is closed, if there is a need to go to the floor should trigger the elevator up and down movement.
Elevator design Big Job--Outline design document