1 Introduction
As a kind of traction machinery, the motor is widely used in all aspects of the national economy because of its advantages such as simple structure, low price, easy use and maintenance. In modern times, with the development of electronic technology and the maturity of intelligent motor protector technology, the popularity rate is getting higher and higher.
The intelligent motor protector adopts microprocessor technology, which not only solves the shortcomings of rough setting of traditional thermal relay, inability to realize phase-break protection, poor repeatability and large measurement parameter error. The protector judges the phase-break fault by current, and realizes overload protection by software simulation of heat accumulation process, etc., which ensures the reliable operation of the motor. The powerful expansibility of the microprocessor includes switch input, relay output, 4~20mA transmission output, RS485 communication, etc., which well meet the "four remote" functions of the control system. The
motor protector improves the reliability of motor operation and the intelligent requirements of the system. Therefore, the reliable operation of the protector plays a pivotal role, and also puts forward more realistic requirements for the protector to resist external interference. The following proposes reliability design from the two aspects of hardware and software.
2 Hardware reliability design
2.1 Selection of microprocessor
Freescale's high-performance processor MC9S08AW60 is used. MC9S08AW60 is a highly energy-saving processor based on the S08 core of Freescale, and is the first microcontroller approved for the automotive market. It can be used in home appliances, automobiles, industrial control and other occasions, and has the best EMC performance in the industry.
2.2 Power supply end filtering
Using electromagnetic principles for hardware circuit filtering is an effective way to improve the EMC of the protector. The circuit is shown in the figure below. After the two-stage filtering treatment composed of thermistor t, varistor RV1, inductor L1, L2, differential mode capacitor C1, common mode inductor L3, common mode capacitor C2, C3, the input and output interference due to the power supply end is well isolated. PTC thermistors are mainly used for overcurrent and overheating protection. They are directly connected in series in the load circuit. When the line is abnormal, they can automatically limit the overcurrent or block the current. When the fault is eliminated, they return to their original state. They are commonly known as "ten thousand times fuse". Determine the selection according to the maximum working current of the line. Varistors are mainly used to absorb various operating surges and inductive lightning surge overvoltage protection to prevent such overvoltage interference or damage to various circuit components. Select according to the maximum allowable operating voltage and current carrying capacity based on the surge voltage that the design withstands. Among them, L1, L2, and C1 are used to suppress differential mode interference, and L3, C2, and C3 are used to suppress common mode interference. The L1 and L2 cores should be made of materials that are not easy to saturate and have excellent MF characteristics. According to the IEC-380 safety technical indicators, the selection range of component parameters in the figure is: C1=0.1~2uF; C2, C3=2.2~33uF; L3 is several or tens of millihenries, and different parameter values are taken depending on the working current.
Calculate the capacity of C2 and C3 according to the following formula:
Ii=2πfCyU
Where: Ii───allowable AC leakage current
f───power supply frequency;
U───power supply voltage;
Figure 1 Power supply processing diagram
Figure 2 Experimental results of unfiltered power supply
Figure 3 Experimental results after power supply filtering
The above figure shows whether a filter is used at the power supply end. The Swiss TRANSIENT 2000 electromagnetic compatibility tester 1000V 100KHZ 0.75mS conditional EFT group pulse experiment is used. Compared with the signal captured by TEXtronix TDS1012B, the power supply output end without filtering produces a spike pulse, which will cause the microprocessor to reset or even crash.
2.3 Signal end processing
Harmonic and electromagnetic radiation interference will cause the protector to malfunction, making the electrical instrument measurement inaccurate or even unable to work properly. The sources of this type of interference in the motor control loop are the frequency converter and the on-site intercom. The solutions are: First, the signal input line is glued. The glued double glue line can reduce the common mode interference. Because the direction of the magnetic flux of the electromagnetic induction of the wire is changed, its induction cancels each other. The second is internal line processing. As shown in the figure below, the differential amplifier with dual differential input has a very high common mode rejection ratio. Connect RC filters in the input loop, use special devices at the input and output ends of the signal, reduce input and output impedance, reliable grounding and reasonable shielding.
Figure 4 Signal processing circuit
2.4 Protection output end processing
The input and output ends use the method of photoelectric isolation, which can also eliminate common mode interference. At the same time, a varistor is connected in parallel at the output end of the protection relay, which effectively increases the life of the relay and reduces the interference to the internal due to the action of the external contactor. Considering the uncertainty of the control voltage used by the customer and the contactor coil capacity, it is confirmed to use MYG14D821.
Figure 5 Protection output circuit
2.5 External storage technology and watchdog protection circuit
Use external storage chip X25043, SPI interface. The microprocessor has a built-in SPI control module, which is convenient for interfacing with the chip. External storage technology ensures the recording of operating status and events. Low voltage reset and external watchdog improve the reliability of the protector.
Figure 6 External memory and watchdog circuit
2.6 The main unit and the display unit are connected via RS485
Considering the particularity of the use environment and the diversity of requirements, the connection between the main unit and the display unit also adopts the RS485 Modbus-Rtu protocol connection, which improves the reliability of display and control.
3 Software Reliability Design
3.1 Scheduling of Real-time Multitasks
The protector plays an important role in protecting the motor. The requirements for it are that it should neither malfunction nor refuse to operate, and it must be fast. The scheduling of real-time multitasks is actually to achieve a macroscopic multitask effect through the rotation of time slices. For the protector, there are three important tasks: equally spaced AC sampling, obtaining steady-state and transient power data according to the algorithm; judging faults based on the obtained data, fault timing, clearing and tripping output; and human-computer interaction interface. The following figure takes a cycle T=20mS and 32-point sampling as an example (taking into account fast division). The total time of 32 samplings is 3.2mS, the data calculation time is 9.72mS, the timing is 0.36mS, and the human-computer interaction time is 6.72mS. Such task scheduling not only meets the real-time requirements of protection, but also responds to parameter settings quickly.
Figure 7 Task execution relationship
3.2 AC sampling and digital filtering
For an AC sinusoidal signal, the effective value of the voltage in one cycle is
According to the definition of the effective value of a continuous periodic AC signal in the electrical principle, the continuous signal is discretized and the continuous integral is replaced by numerical integration to obtain the relationship between the effective value and the sampling value.
Same reason
Based on multiple sampling of the signal, the data closest to the true value is extracted through software algorithms. This algorithm calculates continuous periodic AC signals with high accuracy and strong resistance to waveform distortion. When using this algorithm, digital filtering such as continuous average method and median algorithm can also be used at the same time to improve the anti-interference ability of the protector.
3.3 Software Traps
The program is solidified in the memory of the microprocessor and arranged uniformly by the compiler. However, when designing, the designers consider the scalability of the product and generally leave a margin, so there is always some storage space that is not used. When the PC pointer of the microprocessor is misplaced due to interference, the system will fail. The software trap is to add a forced jump instruction after the unused storage space, interrupt entry, and subroutine to restore the erroneous PC pointer to normal.
The method is: NOP
NOP
JSR MAIN
4 Conclusion
Aiming at various electromagnetic compatibility problems encountered in the actual use of low-voltage intelligent motor protectors, this paper proposes anti-interference methods from both hardware and software aspects according to the characteristics of the microprocessor system, and obtains good EMC performance.
Previous article:The neglected issue of UPS downstream power efficiency
Next article:Design of frequency converter based on RFFC2071
Recommended ReadingLatest update time:2024-11-16 18:09
- 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
- 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
- Analog input and output buffers
- XMC4800 ECAT Evaluation Board First Experience - Unboxing Review
- Notes on wiring for st-link and jlink debugging stm32
- Misunderstanding of using XF pin in DSP program interruption during programming
- Share the correct use and maintenance guide of NiMH batteries
- Vicor: Innovative solutions for powering computing applications and data centers
- [Raspberry Pi Pico Review] - USB CDC serial communication (BSP compiled, not MicroPython)
- What should I do if the number of IO pins of the microcontroller is insufficient?
- DSP GPIO Programming
- [ESP32-Audio-Kit Audio Development Board] - 2: Installing "esp-idf-v3.3.5" on Windows 10