Application of single chip microcomputer in motor protection

Publisher:创新驿站Latest update time:2012-07-05 Source: 21ic Keywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Single-chip microcomputer is the abbreviation of single-chip microcomputer. It is made by integrating CPU, ROM, RAM, TIMER/COUNTER and input/output interface (I/O) on a large-scale integrated circuit chip. Some single-chip microcomputers also integrate analog-to-digital converters (ADC), pulse width modulation modules (PWM), communication interfaces, etc. Users only need to use a small amount of peripheral circuits to form various application systems. Single-chip microcomputers can be divided into 8-bit machines and 16-bit machines, among which 8-bit machines dominate the market. There are many semiconductor manufacturers that produce single-chip microcomputers, including: INTEL, PHILIPS, SIEMENS, ADM, ATAIEL, MICROCHIP, etc. In recent years, the single-chip microcomputers produced by MICROCHIP have been favored by electronic engineers for their simple instruction system, nanosecond instruction cycle, and powerful peripheral interface functions. The author has used PIC16CXXX and PIC16FXXX series products and finds them very convenient to use.

The functions realized by the motor protector mainly include: three-phase current display, sound alarm, fault tripping, fault memory, overload protection, short circuit protection, leakage protection, phase loss protection, phase imbalance protection, phase sequence protection, over-voltage and under-voltage protection, etc.

. To achieve such comprehensive functions with traditional analog circuits, the circuits will become very complicated and the size of the entire device will be very large. Therefore, the functions that some analog electronic motor protectors can achieve are relatively simple. For example: overcurrent protector, phase loss protector, leakage protector, etc. The emergence of single-chip microcomputers has made a qualitative leap in the development of motor protectors, reaching unprecedented levels in terms of intelligence, functional diversification, miniaturization, modularization, performance reliability, etc.

The single-chip microcomputer system is used to realize the function of motor protection. In terms of hardware, it is mainly composed of three-phase current signal sampling, leakage current sampling, voltage signal sampling, keyboard interface, display part, control output, alarm output, communication interface and other parts. The key parts are briefly analyzed below.

1. Three-phase current sampling part
This part of the design is directly related to the current sampling accuracy. Therefore, it must be determined through theoretical analysis and repeated experiments. This part of the circuit can use a rectifier circuit or a direct AC proportional conversion circuit. The circuit used directly determines whether the program uses DC sampling or AC sampling, and the program design will be completely different.

If DC sampling is used, the circuit needs to use a rectifier circuit. The rectifier circuit includes half-wave rectification, bridge full-wave rectification, precision half-wave rectification, precision full-wave rectification and other forms. Both diode half-wave rectification and bridge full-wave rectification have the problem that the diode conduction voltage drop affects the linearity of the rectifier circuit, especially when the signal voltage is low. The impact is greater. In order to reduce the impact of the diode conduction voltage drop, Schottky diodes should be selected as rectifier devices, such as IN5819, but it should be noted that the IN5819 withstand voltage is low (only 40V), so the sampling voltage signal should not be too large. Precision half-wave or full-wave rectifier circuits are introduced in many materials, so there is no need to repeat them here. The advantage of this circuit is that it avoids the influence of the forward conduction voltage drop of the rectifier diode, but at the same time increases the complexity of the circuit, and it is also necessary to provide positive and negative power supplies for the amplifier, which increases the cost of the power supply part. In actual use, the pros and cons should be weighed and a comprehensive consideration should be made before making a choice.

In some high-end instruments, people generally use AC sampling. The sampling method is to continuously and real-time sample a complete waveform of the measured signal at a certain period (called sampling period) (for a sine wave, only half a period is needed), and then perform true effective value calculation on the discrete signal obtained by sampling, so as to obtain the true effective value of the current signal, thus avoiding the influence of waveform distortion of the measured signal on the sampling value. There are several key technologies for AC sampling: 1. The sampling period should be much smaller than the period of the measured signal, which is not a problem for the power frequency current signal, because the processing speed of the current microcontroller is sufficient. 2. To avoid sampling signal distortion from the hardware, efforts need to be made from several aspects: ① Ensure that the voltage signal waveform output by the current transformer within the measurement range is less distorted. ② The sampling signal of the current transformer often needs to be proportionally amplified to the input interface of the microcontroller, which requires the signal conversion circuit to have less distortion. ③ To prevent noise interference, the general practice is to add a high-frequency bypass capacitor to the input port of the microcontroller. The AC sampling circuit removes the RC filter capacitor, so the response speed is greatly improved compared to DC sampling, which is especially beneficial for those follow-up systems that require high response characteristics. Although AC sampling has many advantages that DC sampling cannot match, it is rarely used in some simpler small systems because it increases the difficulty of software programming and takes up a large storage space.

2. Display part
LED digital tubes are often used as user interfaces in industrial control instruments. Their advantages are high brightness and simple driving circuits, but they can only display a limited number of characters, and it is very difficult to express relatively rich information. At present, some high-end instruments have begun to use character LCDs or graphic LCDs, and some also contain Chinese character library modules, which are directly displayed in Chinese, making the interface very intuitive, easy to understand and operate. However, it also increases the cost of the circuit, especially the price of graphic LCD modules is too high, which is generally unacceptable for low-priced instruments.

The interface between the microcontroller and the LED digital tube generally adopts serial communication, and is equipped with a shift register to drive the digital tube to work. Different driver programs can be designed to achieve different display modes. For example: the digital tube flashes, the decimal point is automatically changed, and special characters are displayed. In order to reduce the power consumption of the digital tube, a dynamic drive method is generally adopted, that is, it is only displayed within (1/3-1/2) T in a cycle (T). The brightness of the digital tube can be changed by adjusting the duty cycle. In addition, it should be noted that the driving voltage of the digital tube cannot be too high. If it is driven by a +5V power supply, a current limiting resistor or a buck diode must be added. Among them, a buck diode is better to prevent voltage fluctuations caused by changes in the number of digital tubes lit, thereby ensuring the stability of the brightness of the digital tube.

The data line of the interface between the microcontroller and the character LCD module can still use the serial interface mode, and the control signal can be directly controlled by the microcontroller I/O port. If the data line uses the parallel mode, it will occupy a large amount of microcontroller resources, so it is not suitable for use. When compiling the driver, if the performance permits, you should pay attention to reducing the signal frequency of the data line and the clock line as much as possible, so as to reduce electromagnetic interference.

3. Control output
The control output part can use electromechanical relays or solid relays. The former is cheap, has abundant market products, and has a relatively simple driving circuit, but its reliability and service life are limited, and "sparks" will be generated when the contacts are in action, which can seriously affect the normal operation of the system. Therefore, when laying out the PCB board, the relay should be kept as far away from the microcontroller as possible and close to the output port of the instrument. In addition, a freewheeling diode should be connected in parallel at both ends of the relay coil, otherwise a high induced voltage will be generated at the moment when the relay coil is powered off, thereby destroying the circuit. Solid-state relays have the characteristics of long life, stable performance, and no sparks. With the gradual reduction of their prices and the improvement of their performance, they have begun to be widely used, but the price of low-power solid-state relays is still many times higher than that of ordinary relays. Therefore, ordinary relays are used in most motor protectors. In many applications, people hope to have two independent control outputs, one as the main circuit control output and the other as an auxiliary output, as a control of alarm or other functions.

In the single-chip microcomputer system, software is a very important part, which can fully reflect the designer's design ideas. Through the program, the intelligent control of the motor protector and remote communication functions can be realized. Due to limited space, it will not be described in detail here.

Keywords:MCU Reference address:Application of single chip microcomputer in motor protection

Previous article:How to set and adjust PID parameters
Next article:A DSP Processor Design Based on Power Consumption Management

Recommended ReadingLatest update time:2024-11-16 15:55

Application of single chip microcomputer in temperature control
1 Introduction Single-chip microcomputers were born with the development of ultra-large-scale integrated circuit technology. Due to its small size, powerful functions, and high cost-effectiveness, it is widely used in many fields such as electronic instruments, household appliances, energy-saving devices, milita
[Microcontroller]
Application of single chip microcomputer in temperature control
Design of Micro Electronic Piano Using Single Chip Microcomputer
Single-chip microcomputers are widely used because of their small size, powerful functions and low price. This article introduces the method of designing a micro electronic piano using the AT89C51 microcontroller. It only requires the AT89C51 minimum system, an expansion of a small keyboard (here a 4×4 keyboard is used
[Microcontroller]
Design of Micro Electronic Piano Using Single Chip Microcomputer
MCU multiple interrupt call sub-function
1. Sub-functions can be called in interrupts. 2. Under normal circumstances, ensure that this sub-function (and the functions called by this sub-function) are not called by other functions. 3. If this sub-function does need to be called by other functions, make this sub-function a re-entrant function. * All problems
[Microcontroller]
Single chip microcomputer + MPX4115 pressure measuring instrument
1. Design requirements: This course design uses MPX4115 sensor to detect pressure parameters. After ADC0832 performs analog-to-digital conversion, the single-chip microcomputer AT89C52 performs data processing, and four eight-segment digital tubes are used to display the pressure value. The pressure measurement range
[Microcontroller]
Single chip microcomputer + MPX4115 pressure measuring instrument
Proteus simulation version and program source code of TX-1C microcontroller development board
The Proteus schematic diagram of Guo Tianxiang's simulation microcontroller development board is as follows Introduction to the test board program: This program is the overall test program of the experimental board. It comprehensively tests most of the functions on the entire experimental board. Users do not need to
[Microcontroller]
Proteus simulation version and program source code of TX-1C microcontroller development board
Using 16C554 to realize the expansion of long-distance communication between master and slave microcontrollers
introduction        In the traffic light control system at the traffic intersection, it is necessary to transmit the status information of the traffic flow, speed, etc. of each port to the main control room. In addition, the upper host may send various road control information at any time. This long-distance communi
[Microcontroller]
Using 16C554 to realize the expansion of long-distance communication between master and slave microcontrollers
MSP430 series microcontroller - read RAM data and burn it into Flash
Question 1 Read a long data from RAM address 0x0200 and burn it into Flash at address 0x1800. Code: #include "io430.h" void main(void) {     //Initialize the pointer of RAM information segment     unsigned long * RAM_ptr = (unsigned long *) 0x0200;     //Initialize the pointer of Flash information segment  
[Microcontroller]
Application of single chip microcomputer in automobile electronically controlled air suspension system
1 Composition and principle of ECAS Electronically controlled air suspension The system consists of an electronic control unit (ECU), height sensor, air spring, speed sensor, shock absorber, vehicle height control keyboard, etc. The ECU detects the vehicle height in real time through the height sensor,
[Microcontroller]
Application of single chip microcomputer in automobile electronically controlled air suspension 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号