1. Introduction
In the 1990s, countries with advanced electronic and computer technologies have been actively exploring new electronic circuit design methods, and have made radical changes in design methods and tools, achieving great success. In the field of electronic technology design, the application of programmable logic devices (such as CPLD and FPGA) has been widely popularized, and these devices have brought great flexibility to the design of digital systems. These devices can reconstruct their hardware structure and working mode through software programming, making hardware design as convenient and fast as software design. All of this has greatly changed the traditional digital system design methods, design processes and design concepts, and promoted the rapid development of EDA technology.
Elevators are vertical transportation tools that symbolize modern material civilization and are complex transportation equipment that integrates mechatronics. They involve multiple scientific fields such as electronic technology, mechanical engineering, power electronics technology, microcomputer technology, electric traction systems, and civil engineering. As an important equipment for transportation up and down high-rise buildings, more and more mechatronics professionals will participate in elevator technology work. In order to master the structure and control technology of elevators, it is necessary to simulate this huge product that integrates machinery, electricity, and sensors, and use control methods such as PLC, single-chip microcomputer, microcomputer, and inverter to develop multi-functional application software.
The core control chip of the system is the 51 series single-chip microcomputer AT89C52. The rapid development of single-chip microcomputers in various technical fields is related to the characteristics of computer application systems composed of single-chip microcomputers:
The application system composed of single chip has greater reliability.
The system is simple and easy to build, and can conveniently realize system functions.
Since the constructed system is a computer system, many functions are implemented by software, so it is flexible.
This paper designs a practical single-chip elevator controller. According to actual needs, it uses a high-performance AT89C52 single-chip microcomputer and a dedicated display and keyboard control chip, and cooperates with corresponding software to achieve real-time control of the elevator. Its main features are simple circuit structure, strong control function, and high reliability.
2. Hardware circuit design
With the development of society, the use of elevators has become more and more common. It has transitioned from being used only in commercial buildings and hotels to being used in office buildings, residential buildings and other places. The requirements for elevator functions are also constantly increasing, and the control methods are also constantly changing accordingly. For elevator control, the traditional method is to use a relay-contactor control system for control. With the continuous development of technology, the application of microcomputers in elevator control has become increasingly widespread, and now we have entered the era of full microcomputer control. The microcomputer control of elevators mainly has the following forms: ①PLC control; ②single-board computer control; ③single-chip microcomputer control; ④single microcomputer control; ⑤multi-microcomputer control; ⑥artificial intelligence control. With the rapid development of EDA technology, single-chip microcomputers have been widely used in various aspects of electronic design and control.
This design uses an AT89S52 single-chip microcomputer to control the elevator; a digital tube is used to display the current floor of the elevator.
Specific requirements are:
1) Use digital tube to display the current elevator floor;
2) Respond to the earliest request first. If there are requests sent at the same time, respond to the nearest request first.
Main tasks and requirements:
Design an 8-story automatic elevator controller with a request button switch on each floor. When the elevator reaches the requested floor, the corresponding indicator light goes out, the elevator door opens, and the door opening indicator light comes on. It automatically turns off after 5 seconds and continues to run.
The circuit block diagram of this design is shown in Figure 1, and the specific circuit schematic is shown in Figure 2.
This design uses a single-chip microcomputer as the core control, and the number of floors is realized by buttons. Because there are only 8 floors and fewer buttons, non-coded keys are used. The elevator floor is displayed by a 7-segment digital tube, and the elevator floor request display uses 8 LED indicators. The elevator drive uses a dual full-bridge stepper motor dedicated driver chip L298 driver.
3. Software Design
Software serves the hardware. Only when the hardware works according to the predetermined purpose under the command of the software can the whole play its role. Software design should be based on the functions implemented by the hardware.
The software has a relatively simple structure and is programmed in C language. The program is short and runs fast. The program flow is shown in Figure 3.
4. System simulation and debugging
1) System simulation platform and functions
There are two commonly used tool software for the microcontroller application system simulation platform: KeilC51 and ProteusISIS. The former is mainly used for editing, compiling, linking and debugging of microcontroller C language original programs; the latter is mainly used for the design of microcontroller hardware circuit principles and the hardware and software joint simulation and debugging of microcontroller application systems.
2) Simulation conclusion
In the PROFEUS environment, running the elevator controller system, we found that a request button switch is set on each floor. When the elevator reaches the requested floor, the corresponding indicator light goes out, the elevator door opens, the door opening indicator light comes on, and it automatically turns off after 5 seconds and continues to run.
In the initial state of the elevator, the elevator stops at the first floor, as shown in Figure 4:
When someone on the sixth floor presses the button to request to go upstairs, the elevator runs to the sixth floor; the circuit simulation diagram is shown in Figure 5:
When the elevator is on the first floor, if there are simultaneous requests for floors "2" and "7", the elevator will first reach the second floor and then the seventh floor. The circuit simulation is shown in Figures 6 and 7.
Through circuit simulation, this design has completed the required functions.
Previous article:Three-phase switching power supply solution based on ICE3AR2280JZ chip and CoolMOS
Next article:Application Research of Infrared Remote Control System Based on AT89C51 and AT89C2051
- Popular Resources
- Popular amplifiers
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Device selection - What parameters should be paid attention to when selecting TVS tubes?
- I won an Apple computer at the annual meeting, but the company I left wants to take it back. What should I do?
- Everyone is paying attention to Qorvo's broadband access CATV and FTTH products
- Introduction to TI C2000 Chopper Module
- TI - MCU - MSP430 User Guide 31 -> BSL
- EEWORLD University - How to use independent measurement ADC to design high-precision CT phase meter
- A collection of selected PCB design resources, free points download for a limited time
- MCU model confirmation and decryption
- [Zero-knowledge ESP8266 tutorial] Quick start 25 Blynk control RGB LED
- Need a 10uh inductor, ESR < 0.2Ω, saturation current > 0.8A