Elevator Control Chip Design
Elevator Control Chip Design
Abstract—With the rapid development of urbanization, high- an example, and intends to realize the following functions:
rise buildings and intelligent buildings will emerge in large
numbers. At the same time, the conditions for the continuous (1)The internal signals of the elevators on each
2021 International Conference on Computer Information Science and Artificial Intelligence (CISAI) | 978-1-6654-0692-5/21/$31.00 ©2021 IEEE | DOI:
improvement of elevator control systems are provided by the floor: request buttons for each floor, door opening and
rapid development of integrated circuit and fieldbus technology. closing request buttons, the floor display, and the elevator
As the modern elevator control system is constantly improving in running status display. External signal: ascending and
terms of safety, stability, and humanization, it is particularly descending request button, the floor display, the elevator
necessary to upgrade the original system in terms of running status display.
communication and motor control methods. At present, elevator
control mainly includes several control methods such as relay (2)The signal request can be stored. During the
control, single- chip control, PLC control and FPGA/CPLD elevator's ascending (descending) process, according to the
control. This article uses FPGA as the control method, which is a elevator's running status, the direction is first given priority,
high-density application specific integrated circuit that can be and the cyclic order corresponds to each request. When the
customized and configured by the user. The FPGA-based elevator starts to run after stopping, first consider whether
elevator control method has the advantages of high reliability, there is a request in the running direction, and continue to run
convenient maintenance, short development cycle, and strong if there is a request, and then consider whether there is a
flexibility. It can complete complex control tasks and has become request in the opposite direction, and then turn to run, if there
the development direction of elevator control. is no request, the elevator stops at the current floor and is
This article takes the three-story elevator control system as waiting status.
an example, and uses Verilog to design a set of control
chip design, including button request module, state control (3)After arriving at the requested floor, the indicator
module, motor drive module, switch door control module, and of the floor lights up, the elevator door opens automatically,
frequency divider module. Finally, the FPGA development and the door open status is displayed at the same time.
platform was used for implementation and verification. After hiding and waiting, the elevator door closes
automatically (door opening display stops), and the
Keyword˖elevator control, intelligent buildings, FPGA elevator runs automatically.
713
Authorized licensed use limited to: Sathyabama Institute of Science and Technology. Downloaded on December 07,2024 at 05:39:26 UTC from IEEE Xplore.
Restrictions apply.
else if (reg_state==4'b0001) reg_state<=4'b0001;
begin end
if (lamp==4'b0000) else if (reg_state==4'b1011)
reg_state<=4'b1001; begin
else if (lamp==4'b0011||lamp==4'b1100) if (lamp==4'b0000||lamp==4'b1011)
reg_state<=4'b1111; reg_state<=4'b1001;
else if else if (lamp==4'b0011||
(lamp==4'b0111||lamp==4'b1001||lamp==4'b1000) lamp==4'b1100)
reg_state<=4'b1100; reg_state<=4'b1111;
else if (lamp==4'b1111) else if (lamp==4'b0111||lamp==4'b1111)
reg_state<=4'b0001; reg_state<=4'b1011;
else if (lamp==4'b1011) else if (lamp==4'b1001||lamp==4'b1000)
reg_state<=4'b1001; reg_state<=4'b0001;
end end
else if (reg_state==4'b0011) begin else if (reg_state==4'b1001)
if (lamp==4'b0000||lamp==4'b0001) begin
reg_state<=4'b1011; if
else if (lamp==4'b0111) (lamp==4'b0001||lamp==4'b0011||lamp==4'b1001||lamp==
reg_state<=4'b1000; 4'b1000||lamp==4'b1100)
else if reg_state<=4'b0111;
(lamp==4'b1011||lamp==4'b1001||lamp==4'b1000) else if (lamp==4'b0111||lamp==4'b1111)
reg_state<=4'b1011; reg_state<=4'b1001;
else if (lamp==4'b1100) else if (lamp==4'b1011)
reg_state<=4'b1000; reg_state<=4'b0000;
end end
else if (reg_state==4'b0111) else if (reg_state==4'b1101)
begin begin
if (lamp==4'b0000||lamp==4'b1011) if
reg_state<=4'b1001; (lamp==4'b0000||lamp==4'b0001||lamp==4'b0011||la
else if (lamp==4'b0011||lamp==4'b1100) mp==4'b0111||lamp==4'b1011||lamp==4'b1001||lamp
reg_state<=4'b1111; ==4'b1000||lamp==4'b1100)
else if (lamp==4'b1111) reg_state<=4'b1101;
reg_state<=4'b0111; else if (lamp==4'b1111)
else if (lamp==4'b1000||lamp==4'b1001) reg_state<=4'b1010;
reg_state<=4'b0001; end
end else if
else if (reg_state==4'b1111) (reg_state==4'b1100) begin
begin if (lamp==4'b0000||lamp==4'b0001||
if (lamp==4'b0000||lamp==4'b0001) lamp==4'b0011||la
reg_state<=4'b1011; mp==4'b0111||lamp==4'b1011||
else if (lamp==4'b0111) lamp==4'b1001||lamp
reg_state<=4'b1111; ==4'b1000||lamp==4'b1100)
else if (lamp==4'b1011|| reg_state<=4'b1100;
lamp==4'b1000) else if (lamp==4'b1111)
reg_state<=4'b1001; reg_state<=4'b0010;
else if (lamp==4'b1100) end
reg_state<=4'b0011; else if
end (reg_state==4'b1000) begin
else if (reg_state==4'b1011) if (lamp==4'b0000||lamp==4'b0001||
begin lamp==4'b0011||la mp==4'b0111||lamp==4'b1011||
if (lamp==4'b0000||lamp==4'b1011) lamp==4'b1001||lamp
reg_state<=4'b1001; ==4'b1000||lamp==4'b1100)
else if (lamp==4'b0011|| reg_state<=4'b1000;
lamp==4'b1100) else if (lamp==4'b1111)
reg_state<=4'b1111; reg_state<=4'b0110;
else if (lamp==4'b0111||lamp==4'b1111) end
reg_state<=4'b1011; else if
else if (lamp==4'b1001||lamp==4'b1000) (reg_state==4'b1010) begin
714
Authorized licensed use limited to: Sathyabama Institute of Science and Technology. Downloaded on December 07,2024 at 05:39:26 UTC from IEEE Xplore.
Restrictions apply.
if (lamp==4'b0000||lamp==4'b0001|| #0 clock=0;
lamp==4'b0011||la mp==4'b1111||lamp==4'b1001|| #50 rest=0;
lamp==4'b1000||lamp #50 rest=1;
==4'b1100) #50 rest=0;
reg_state<=4'b0110; #50 lamp=0001;
else if (lamp==4'b0111||lamp==4'b1011) #50 lamp=0011;
reg_state<=4'b1101; #50 lamp=0111;
end #50 lamp=1111;
else if (reg_state==4'b0010) #50 lamp=1011;
begin #50 lamp=1001;
if (lamp==4'b0000||lamp==4'b0001|| #50 lamp=1000;
lamp==4'b0011||la #50 lamp=1100;
mp==4'b1111||lamp==4'b1011||lamp==4'b1100) #50 lamp=0001;
reg_state<=4'b0010; #50 lamp=0011;
else if end
(lamp==4'b0111||lamp==4'b1001||lamp==4'b1000)
reg_state<=4'b0110||4'b0010; endmodule
end Code 2
else if (reg_state==4'b0110)
C. Simulation results and analysis
begin
if (lamp==4'b0000||lamp==4'b0001|| Give a simulation waveform diagram and explain the
lamp==4'b0011||la mp==4'b1111||lamp==4'b1011|| meaning of this diagram
lamp==4'b1001||lamp The top layer of this design adopts modular design, and
==4'b1000) each module adopts Verilog HDL hardware description
reg_state<=4'b0110; language. The top-down design is convenient for program
else if (lamp==4'b0111) error checking, upgrading and improvement. With a slight
reg_state<=4'b1000; modification of this design, elevator control on any floor can
else if (lamp==4'b1100) be realized. After analyzing, compiling, synthesizing, and
reg_state<=4'b0110; wiring the designed program, the circuit produced by
end functional simulation and timing simulation can obtain logic
en values that meet the design requirements. The simulation
d result is shown in Figure 2.
assign state=reg_state;
endmodule
Code 1
module testbench(
);
reg clock;
always #100 clock=~clock; Figure 2. The simulation result
reg rest; It can be seen from Figure 3 that the controller can always
reg [3:0] lamp; effectively store the request signal of each floor, and can
wire [3:0] state; execute the request of each floor according to the direction
elavator priority and the cyclic order. The state of each signal meets the
inst_elavator( rest, design requirements. The program is pin- locked and
clock, downloaded to the device by programming. After testing, the
logic is completely correct and meets the design requirements.
lamp,
state V. Conclusion
);
The FPGA-based digital circuit design method has obvious
advantages in reliability, size, and cost, and has become one of
initial begin the main means to realize digital circuits. The three-story
715
Authorized licensed use limited to: Sathyabama Institute of Science and Technology. Downloaded on December 07,2024 at 05:39:26 UTC from IEEE Xplore.
Restrictions apply.
elevator controller designed in this paper sets the number of
floors in the signal acquisition module and the main control
module in the form of parameter configuration. It can be
applied to any floor with a slight improvement. It has good
scalability, strong flexibility, reliable operation, and is very
practical.
References
1 ZHANG Xin- hong, WU Jin- qiang. Long Distance Data Gathering and
Supervisory System Based on GPRS [J]. Machinery
Management Development, 2008 (1): 93295.
2 Liu Ning, Feng Wei, Lu Linsheng. Design of Wireless Data Transmission
Terminal Based on GPRS [J]. Modern Electronic Technology, 2008,
31
(1): 33235, 40.
3 Zhang Xiaoqiang, Yang Fangchun. A wireless monitoring system based
on GPRS technology [J]. China Data Communication, 2004, 6
(11): 92296.
4 Wang Chunxu, et al. Verilog HDL language design optimization based on
FPGA [J]. Application of Electronic Components, 2009 (11)
5 Zhaoxia Huang, Shengxi Zhou and Shengru Tu, "Java communication
interfaces for control systems," Proceedings Twenty-First
Annual International Computer Software and
Applications Conference (COMPSAC'97), 1997,
pp. 660-663, doi: 10.1109/CMPSAC.1997.625089.
6 H. Gomaa, Software Design Methods for Concurrent and Real-Time
Systems, MA, Reading:Addison-Wesley, 1993.
7 Y. Zhang, Y. Yi and J. Zhong, "The Application of the Fuzzy Neural
Network Control in Elevator Intelligent Scheduling Simulation,"
2010 Third International Symposium on Information
Science and Engineering, 2010, pp. 512-516, doi:
10.1109/ISISE.2010.129
8 Wangwei Lidong, "Elevator Group Control Intelligent Systems and
Intelligent Control", Control and Decision, pp. 515-517,
September 2001.
9 Jian ZHANG and Yanqiu WANG, "Trafficc Pattern Identification Of
Elevator Group Control System Based on GA-BP Fuzzy
Neural Network", Micromotors Servo Technique, pp. 78-
87, 2007.
10 Lessa D, Chomicki J, Jayaraman B. Temporal data model for program
debugging. Proceedings of 13th International Symposium on
Database Programming Languages(DBPL), Seattle,
Washington; 2011.
716
Authorized licensed use limited to: Sathyabama Institute of Science and Technology. Downloaded on December 07,2024 at 05:39:26 UTC from IEEE Xplore.
Restrictions apply.