Design of intelligent motor protector based on ARM LPC2132

Publisher:数字舞者Latest update time:2011-07-11 Keywords:ARM Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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.

Design of intelligent motor protector based on ARM LPC2132

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.

Design of intelligent motor protector based on ARM LPC2132

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.

Design of intelligent motor protector based on ARM LPC2132

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.

Design of intelligent motor protector based on ARM LPC2132

(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.

Keywords:ARM Reference address:Design of intelligent motor protector based on ARM LPC2132

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

Programmers' Model of ARM Processor
There are some Programmers' Model chapters in the ARM manual. So what is the Programmers' Model? The Programmers' Model is from the programmer's point of view, what features the processor provides to programmers. Here we introduce some basic models based on ARM7TDMI-S, which are also applicable to the latest kernels.
[Microcontroller]
ARM instruction set version and ARM version
We often see different expressions such as ARM7, ARM9, ARM11, and armv6k. And in GCC compilation, we often use -march, -mcpu, etc. What do they mean? Sam himself is not very clear, but he has a vague idea. Let's study it carefully today. ARM (Advanced RISC Machines) is a well-known company in the microprocessor indu
[Microcontroller]
How to understand ARM exceptions, interrupts and vector tables
In the past, I have always been puzzled about what "ARM exceptions, interrupts and their vector tables" are, and how they are implemented. I didn't expect that today I came across the chapter on ARM exceptions, interrupts and their vector tables in (ARM System Developer's Guide: Designing and OpTImizing System Softwar
[Microcontroller]
How to understand ARM exceptions, interrupts and vector tables
Using proteus to learn ARM (LPC2103) Part 2: Familiar with the IAR C language development environment
1. About the length of data types in C language We should be familiar with the length of the 51 series C language data types, as shown in the following table: type of data length range unsigned char Single Byte 0~255 signed char Single Byte -128~+127
[Microcontroller]
ARM Study Notes 010 New Problems in Gcc Compilation
The previous division problem has not been solved yet, and now there is the following problem (without adding the raise function): The reasons given online are: I'm getting the "relocation truncated to fit: R_ARM_PC24 against symbol" error message when linking, what does this mean? You will get this error message
[Microcontroller]
ARM Study Notes 010 New Problems in Gcc Compilation
Design of electromagnetic flowmeter based on ARM9 and Linux
  0 Introduction   Electromagnetic flowmeter is a metering instrument for measuring the volume flow of conductive media, with the characteristics of high measurement accuracy, good stability and high reliability. In addition to measuring the flow of general conductive liquids, electromagnetic flowmeters can also m
[Microcontroller]
Design of electromagnetic flowmeter based on ARM9 and Linux
Design of IEEE802.11b MAC layer protocol IP core based on ARM
At present, most of the design and implementation of various protocols are based on embedded systems of microprocessors, microcontrollers or DSPs. ARM is a high-performance 32-bit RISC microprocessor launched by ARM. It has an industry-leading architecture and is widely used in various system designs. Development ba
[Microcontroller]
Design of IEEE802.11b MAC layer protocol IP core based on ARM
Analysis and Design of BootLoader for ARM-Linux Embedded System
0 Introduction The boot loader of an embedded system is composed of the Boot Loader and the Boot code (optional) solidified in the firmware. Its role and function are like a ROM chip program BIOS (basic input output system) solidified on the motherboard of the computer. However, it is generally not configured wi
[Industrial Control]
Analysis and Design of BootLoader for ARM-Linux Embedded System
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号