As the power system's requirements for power quality continue to increase, the reactive power and its compensation issues that affect the voltage stability of the power system have received increasing attention. A large number of reactive compensation devices have been put into operation in the power supply system, which has played a certain role in the stability of the power system. However, in industrial sites such as steel rolling where reactive power changes dynamically, the size of reactive power not only changes over time, but also changes very quickly. In order to obtain a stable voltage, it is usually required that the reactive compensation device can quickly follow the reactive current changes, which undoubtedly puts higher requirements on the accuracy and speed of reactive current detection. This paper proposes a method based on the instantaneous reactive power theory to achieve rapid reactive detection, and implements the detection algorithm on the 87C196KC single-chip computer. Experiments have shown that this method has high detection accuracy and fast detection speed, and is a better detection scheme for dynamic reactive compensation devices. 1
Hardware structure of the system
The reactive current detection system consists of an analog transmitter, an analog signal processing module, a switch input module, a switch output module, a microprocessor system based on a single-chip microcomputer, a keyboard and a display unit, etc. If it is necessary to control the switching of capacitors according to the size of the reactive current to achieve rapid reactive compensation, corresponding modules can also be added to control the switching of capacitors, such as a switch module composed of anti-parallel thyristors, a thyristor drive control circuit, a capacitor compensation circuit, etc. The hardware structure of the entire control system is shown in Figure 1.
In the figure, the CPU module uses the 87C196KC single-chip microcomputer produced by Intel. The chip has 8-bit and 10-bit A/D conversion for programmable acquisition and conversion time, 16kB ROM and 488B register RAM. Its main frequency can run up to 20MHz. The 87C196KC uses a high-speed input/output (HISO) structure for event control. The HISO port has 4 inputs and 6 outputs, and uses two 16-bit timers/counters as the system time base. In addition, the related hardware components include a watchdog timer, a full-duplex serial port (SIO), and a peripheral transaction server (PTS). It handles interrupt events by microcode, similar to the DMA channel method, which can greatly reduce the CPU's response to interrupt services. For details about the pin functions and control command formats of the 87C196KC, please refer to reference 2. Since 87C196KC integrates a fully programmable, self-calibrating, high-precision analog data acquisition system, the reactive power detection system composed of it has a simple structure and does not require a large number of complex peripherals and peripheral circuits. Its simple hardware structure design greatly improves the working reliability and anti-interference ability of the entire system.
2 Principle of reactive current detection
The ip-iq detection method based on instantaneous reactive power theory is widely used due to its small amount of calculation and good real-time performance. In the power system, under normal circumstances, the three-phase grid voltage is symmetrical and distortion-free. Assuming that the load current is three-phase symmetrical, considering that the load current may contain harmonics, its voltage and current expressions can be expressed as:
In the formula, n = 3k ± 1, where k is an integer (when k = 0, only the + sign is taken, that is, only n = 1 is taken), ω is the angular frequency of the power supply, In and ?n are the effective values and initial phase angles of each current (the fundamental initial phase angle is the phase difference relative to the fundamental voltage).
By transforming the three-phase current into the α-β two-phase orthogonal coordinates, the instantaneous currents iα and iβ can be obtained.
In formula 2, C32 is the transformation matrix, and its expression is:
In order to more conveniently decompose the active and reactive components of the current, the coordinate system should be transformed into the dq coordinate system that rotates synchronously with the power supply voltage, and the d axis should be in phase with the power supply voltage. In this way, the transformed d axis is the active component, and the q axis component is the reactive component. Assuming that the transformation matrix from the α-β coordinate to the dq coordinate is C, then:
It can be seen from formula (5) that the active and reactive components of the current are instantaneous alternating, and in addition to the fundamental component, they also contain harmonic components. If only the fundamental wave is considered, the fundamental current when n = 1 is:
The formula shows that after the above processing, the DC components ip and iq obtained by low-pass filtering are √3 times the active current component and reactive current component of the fundamental current respectively. Therefore, the detection of the entire reactive current can be realized according to the principle of Figure 2. In the transformation matrix C, sinωt and cosωt are in phase with the a-phase voltage ea, which can be obtained by a phase-locked loop (PLL) and a sine-cosine signal generation circuit. When implemented in a single-chip microcomputer, it can also be obtained by software calculation through synchronous zero-crossing detection. [page]
3. Program flow of reactive current calculation
Figure 3 is the software flow of the controller, and Figure 3 (a) is the main program flow chart. After the system is powered on, it is first initialized to set the registers and I/O ports, and then the self-test program is executed. After the self-test is correct, the external interrupt is opened, and then the key scan is performed. If a key is pressed, the key processing is performed and then the display program is executed. If no key is pressed, the display program is executed directly. Then it returns to the key scan step of the main program, and it loops continuously to wait for the interrupt subroutine triggered by the synchronous detection.
Figure 3 (b) is the interrupt subroutine flow chart triggered after receiving the synchronous detection signal. When the synchronous detection signal is received, the program enters the corresponding interrupt subroutine. First, the program site is protected, and then the current and voltage values are sampled. According to the above detection method and current and voltage values, the system calculates the effective value of the reactive current, and calculates which branches need to be switched based on the effective value of the current, and outputs the switching instruction. After execution, exit the interrupt and wait for the next interrupt.
4 Conclusion
The detection system proposed in this paper has a simple structure. The use of high-density chips for hardware structure design greatly improves the working reliability and anti-interference ability of the entire system, and the operation is reliable. At the same time, it can quickly and accurately detect reactive current. The hardware system made according to the detection method proposed in this paper has also been put into actual operation. Practice has proved that the system can not only complete the accurate detection of reactive current within 20ms, but also complete the capacitor switching within 40ms in conjunction with the TSC system. In addition, it can also realize dynamic reactive compensation. Therefore, it plays an important role in improving power quality and reducing losses, and has a good value for promotion and application.
Previous article:Development of Linear CCD Real-time Detection System Based on Single Chip Microcomputer
Next article:Application of MSP430F149 in power measurement, control and protection products
- Popular Resources
- Popular amplifiers
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Seizing the Opportunities in the Chinese Application Market: NI's Challenges and Answers
- Tektronix Launches Breakthrough Power Measurement Tools to Accelerate Innovation as Global Electrification Accelerates
- Not all oscilloscopes are created equal: Why ADCs and low noise floor matter
- Enable TekHSI high-speed interface function to accelerate the remote transmission of waveform data
- How to measure the quality of soft start thyristor
- How to use a multimeter to judge whether a soft starter is good or bad
- What are the advantages and disadvantages of non-contact temperature sensors?
- 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
- I would like to ask if there is a difference between ISE calling Modelsim post-simulation and Modelsim post-simulation alone. Which one should be used?
- How to judge whether the operational amplifier of this circuit is in the amplification state
- Xunwei iTOP3399 development board QT system PCIE 4G transplantation-compilation program
- Live Review: Typical Applications of ADI Switch/Multiplexer Series Products on July 21
- Anxinke NB-IoT module evaluation - sleep power test
- RF ATZB-900-B0R 1000 yuan
- MicroPython official English forum will be moved to github
- EEWORLD University Hall----RF Analog Circuits Yang Yumei, University of Electronic Science and Technology of China
- [Brick Drinking Water Recorder] Ubuntu Environment Construction of "ESP32-S2-Kaluga-1"
- The zigbee terminal and the router cannot communicate with each other, but the coordinator can communicate with them