Working principle of phase change point detection
At the natural phase change point of the three-phase power supply, the voltages of the two phases are equal, and it is the starting point of the voltage reversal. This design uses this feature to realize the detection of the natural phase change point, as shown in Figure 1.
Figure 1 Two-phase sinusoidal voltage waveform
In one cycle, there are two intersection points between u1 and u2, namely a and b. Point a is the starting point of u2>u1, and point b is the starting point of u1>u2. This design detects point a, generates a corresponding pulse signal at time a of each cycle through circuit transformation, and sends the signal to the external interrupt of the microcontroller. The microcontroller processes and judges the interrupt, thereby detecting the natural commutation point, and at the same time, the frequency, phase sequence and whether the three-phase power supply is missing are judged by software.
Hardware circuit design
There are many methods for detecting the natural commutation point of the three-phase power supply. Most of them use analog circuits to compare the voltage between phases through comparators, but the accuracy of this method is not high, which will directly affect the accuracy of output voltage control; there are also digital circuits, but most circuits have the disadvantages of more devices, complex circuits, and occupying more microcontroller resources.
Traditional detection circuit design: Figure 2 is a schematic diagram of a traditional digital natural commutation point detection circuit, which occupies 7 I/O ports and also requires ADC, numerical registers and pulse logic combination circuits. The circuit is quite complex, and the program design also needs to be designed before the natural commutation point can be judged. In addition, this method also has the problem of commutation point loss, and the probability of loss increases with the decrease of sampling frequency, which greatly reduces the reliability of control.
Figure 2 Schematic diagram of traditional digital natural commutation point detection circuit
Detection circuit design
The following detection method is designed to overcome the problems of traditional detection methods, as shown in Figure 3.
Figure 3 Schematic diagram of three-phase AC natural commutation point detection
When u 1 >u 2 , the voltage across the Zener diode is 5V, and capacitor C1 is charged because the capacitance of C1 is small. The time of u1>u2 is half a cycle, that is, 0.01s, which is enough to ensure that the charging of capacitor C1 is completed. At this time, the diode connected in parallel at both ends of the base and emitter of transistor Q1 provides a clamping voltage, so that the transistor works in the cut-off area, the control diode of optocoupler U1 is not conducting, the controlled transistor is cut off, and the external INT0 of the microcontroller is pulled to a high level. After passing point a, u2>u1, U2 provides the base voltage for transistor Q1, and capacitor C1 provides the collector-emitter voltage, and transistor Q1 is turned on. During this period of time, C1, the control diode, R3, and Q1 form a loop, the controlled transistor in the optocoupler U1 is turned on, and the external interrupt INT0 of the microcontroller is pulled down to a low level. In this process, the microcontroller captures this falling edge to detect the intersection point a of u1 and u2. The optocoupler U1 realizes the electrical isolation of the input and output ends, and at the same time improves the anti-interference ability of the system.
The other two detection circuits are designed in the same way, with input voltages u 1 and u 3 , u 2 and u 3 , and outputs INT1 and INT2, respectively, to complete the detection of the other two natural switching points in the same cycle.
Pulse width calculation
Ignoring the transistor conduction voltage drop, the loop composed of C1, light-emitting diode, and R3 can be equivalent to a first-order zero input of an RC circuit (Figure 4).
Figure 4: First-order zero-input response of an RC circuit
u0 is the stable voltage of the voltage-stabilizing diode VD, the conduction voltage drop of the light-emitting diode is VF, when t ≥ 0, the energy stored in the capacitor is released through the light-emitting diode and the resistor, and the light-emitting diode emits light during this period. According to KVL, we can get:
Substituting it into formula (1), we get:
According to the initial condition uC(0+)-VF =uC(0-)-VF =u0-VF, and let the general solution of equation (2) be uC-VF = Aem, the solution of the first-order homogeneous differential equation is:
Let the product RC = τ, τ is the time constant of the RC circuit, reflecting the decay rate of the capacitor voltage uC, and equation (3) can be written as:
When uC decays to a value less than VF, the diode is cut off.
Solving equation (5), we get
That is, the diode conduction time is: seconds.
Simulation
The above design scheme was simulated and verified in the Saber environment. The simulation results are shown in Figure 5, where the two sine waves are the voltages of two phases of the three-phase power supply, and the pulse voltage is the signal sent to the external interrupt INT0 of the microcontroller. It can be clearly seen from Figure 5 that near the natural commutation point, a group of pulse signals with an amplitude of 5V, a pulse width of about 2ms, and a frequency of 50Hz are generated, and at the natural commutation point, a falling edge of nearly 90 degrees is generated, which is conducive to the capture of the microcontroller. Changing the time constant τ can change the pulse width of the pulse voltage. As shown in Figure 5, a group of pulse signals with an amplitude of 5V, a pulse width of about 10mS, and a frequency of 50Hz are generated at the natural commutation point. Figure 5 shows the pulse voltage obtained by the detection circuit, and Figure 6 shows the pulse voltage obtained by the detection circuit with different τ values.
Figure 5 Pulse voltage obtained by the detection circuit
Figure 6 Pulse voltage obtained by different τ value detection circuits
Software Design
The pulse voltage signal obtained by the detection circuit is sent to the Atmega16 microcontroller for processing. The microcontroller program is compiled in C language. The main program flow is shown in Figure 7. It is mainly divided into three modules: phase loss judgment, normal frequency judgment and phase sequence judgment. After the system works normally, the three modules are executed cyclically.
Figure 7 Main program flow chart
In order to ensure the safe operation of the system, corresponding protection modules can be added according to different occasions and application environments. For example, in motor control, when the frequency is abnormal, the power supply output of the motor is stopped.
Conclusion
The natural commutation point of the three-phase power supply plays an extremely important role in the use of the three-phase power supply. The accurate detection of the natural commutation point can effectively improve the control ability of the three-phase power supply.
Previous article:80V Surge Absorber Principle and Design
Next article:Analysis and application of main circuit diagram of high voltage inverter
- 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
- Follow the power expert to make a "high-efficiency bidirectional DC-DC converter"
- Duty cycle setting problem
- Detailed explanation of Zigbee networking principle
- Ask a question about operating ESP8266 with STM32
- How to write pointer array in stm32
- [Evaluation of domestic FPGA Gaoyun GW1N-4 series development board]——12. Two tips (multi-function pins and board silk screen)
- Questions about the CAN bus ID part
- [Classic C language knowledge] Summary of C/C++ programming difficulties
- Is this a series voltage regulator circuit?
- Shenzhen Yezhan Electronics is looking for talents||Looking forward to your joining