1 Introduction
With the development of motor control center (MCC) technology, modular intelligent motor protectors have been more and more widely used, and higher requirements have been put forward for motor protection. In view of the development trend of higher and higher automation of electrical monitoring systems, using low-voltage intelligent motor protection controllers as protection and measurement and control of low-voltage motors in power plants is an important means to improve the operation and maintenance level of electrical monitoring systems.
At present, traditional 8/16-bit single-chip microcomputers are still widely used in electrical protection, but they only have basic measurement and control functions, and their human-machine interface, data query, and monitoring processing capabilities are relatively limited, and most of them lack network communication functions. In the field of automatic online monitoring, ARM chips have strong advantages in multi-target acquisition, multi-level monitoring, and networking. Since LPC2132 belongs to the ARM7 series processor, it can measure multiple sampling points simultaneously and has powerful data processing functions. At the same time, the protector includes powerful network functions and action protection recording functions, supports open communication protocols, and builds an effective protection measurement and control network.
2. Functional features of the system
The intelligent protector is mainly based on the LPC2132 microprocessor as the computing core, and contains functional modules such as analog digital quantity acquisition, relay protection, interface display and key control. The system is connected to the standard RS 485 communication interface to realize data transmission and communication with the monitoring system. LPC2132 is a 32-bit ARM7TDMI-S core microprocessor that supports real-time simulation and tracking, and has 64 kB of high-speed FLASH memory, 4 communication interfaces, 2 32-bit timers, 1 10-bit 8-way ADC, 2 hardware ferroelectric interfaces, 47 GPIOs and up to 9 edge or level triggered external interrupts.
In addition to completing the traditional measurement, control and protection functions, the protector has the following design features:
In view of the common false operation in relay protection, the sampling quantity measurement mutation instantaneous start and the static stability detection element are combined as the starting element mode of the protection device. A two-level locking channel is designed from the issuance of the warning signal to the generation of the protection action, so as to ensure the sensitivity of the starting element and the protector will not cause false operation when the static stability state is destroyed; [page]
By setting the function selection menu, users can remove unnecessary functional tasks according to their needs, reduce the amount of calculation, and improve the system operation speed and accuracy;
By utilizing the powerful network communication function of the ARM series of single-chip microcomputers, the number of data sampling channels is increased, and the sampling quantity information is tracked and displayed in real time, effectively solving the problem of information transmission delay in the distributed electrical monitoring and control system (ECS).
3. System Hardware Design
3.1 Overall hardware structure
The block diagram of the motor protector system is shown in Figure 1. The protector is mainly divided into six parts: main processor LPC2132, signal acquisition module, network communication module, interface display module, key control module and relay protection module.
At the front end of the device, the input circuit converts the collected three-phase current and voltage into a DC signal suitable for A/D conversion through a mutual inductor and an operational amplifier. The system integrates a successive approximation type 10-bit 8-channel A/D converter with a sampling speed of up to 400 kb/s, which fully meets the requirements of real-time monitoring of the system; in addition, an independent reference voltage source is added to the A/D conversion circuit to prevent external pressure fluctuations and improve the conversion accuracy of the device. Since the microprocessor LPC2132 has very high control and processing capabilities, the general main frequency operating speed can reach 60 MHz, and it can process multiple switch inputs and 4-channel relay outputs at the same time. Through the logical operation of the sampled signal, the communication protection and control functions of the system are realized.
The functional output and protection actions of the system device are mainly controlled by the chip pin enable, but the jitter of the external voltage often causes the reference voltage of the chip to change. In the case of external voltage drop, in order to quickly reset the chip and enter the normal working state, a power-off detection circuit is added to the system. The detection circuit is divided into two levels of detection, the front-stage warning and the back-stage action. The fast interrupt reset is used to prevent the FLASH content from changing. In addition, the anti-interference design is fully considered in the hardware circuit design. For example, optocouplers are added to all the input and output and communication parts of the system for isolation, ensuring the good reliability of the system in field applications.
[page]
3.2 Some peripheral hardware circuits
3.2.1 LCD display circuit
Figure 2 is a LCD display control circuit. The display uses the driver chip HT1621. All measured parameters, protection information, and fault information are transmitted and controlled by HT1621 and displayed in real time on the panel LCD. The LED indicator shows the status of the device, such as operation, fault, communication, etc. The panel menu can be operated by pressing buttons to check the measurement, protection, and fault event information.
3.2.2 Communication interface circuit design
LPC2132 has two universal asynchronous receiver/transmitter (UART) interfaces that comply with the 16C550 industrial standard, which can realize real-time communication between the lower computer and the upper computer, the protector and the computer monitoring system. The communication address is set to (1-250), and the communication rate (1,200-115,200 kb/s) can be set. The international standard MODBUS protocol is adopted, and the communication protocol is set according to the measured parameters. In order to prevent data distortion during communication transmission, optical coupler isolation is added to the interface circuit. The communication interface circuit design is shown in Figure 3.
4. System software design
The design of the software part mainly adopts embedded C language and is carried out in the ADS 1.2 compilation environment. It has a clear structure and is easy to upgrade and transplant. The program framework is centered on the main program, including the initialization program, self-test, main program, timer interrupt program and various functional module subroutines. The functions of each subroutine are realized in the main program.
(1) Initialization and self-test
Initialization mainly includes pin configuration initialization, A/D channel initialization, timer frequency setting, and system parameter initialization. Self-test mainly checks whether the LCD backlight display is normal, whether the FLASH parameters are correct, and whether the communication between the device and the monitoring system is correctly connected. If the self-test fails, the system is in a static waiting state and sends an error message to the host computer and on-site monitoring personnel. If the self-test passes, it enters the main program.
(2) Main program
The device executes the main program after completing the relevant system initialization operations. During normal operation, the main program completes sampling, calculation, control, communication, protection action and other functions. If a self-test fault occurs, a fault signal will be issued and the fault signal will be transmitted to the management unit. During normal operation, it is also judged whether the protection is started. If the protection is started, the program will be transferred to the protection processing subroutine. In the protection processing subroutine, the protection data calculation and protection judgment are completed, and the corresponding export operation is performed according to the judgment result. If there is no fault, it returns to the main loop.
5 Conclusion
The low-voltage intelligent electric protector introduced in this article uses the ARM embedded microprocessor LPC2132 as the system main control chip, making full use of the various built-in functions of LPC2132, simplifying the system design, and having a high cost performance. The device is powerful, high-precision, easy to network, improves the level of automation, and has good market application value.
Previous article:ARM Linux operating system transplantation based on PXA255
Next article:Linux operating system transplantation based on MIPS32 platform
Recommended ReadingLatest update time:2024-11-16 16:33
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- 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
- MSP430F6638 baud rate setting
- KiCAD released a new version - 5.1.10
- 2020 National College Student Electronics Contest Test Questions
- High voltage and small size: the latest technology trends of Nichicon's drive film capacitors
- [Chip] Interesting chips, interesting engineer souls
- Serial communication
- TMS320C6678DSP SRIO channel and frequency settings
- Development troubles, what to do when you encounter bad teammates
- Should 5G be blamed for cheating in the college entrance examination?
- How to use DRV8703-Q1