Abstract
This paper analyzes the AVR excitation control system and gives the structure of the MCU control system, using the fuzzy PID control system with programming analysis. The results of MATLAB simulation show that the fuzzy PID control system is superior to the conventional PID control system in dynamic performance and system stability. Therefore, the fuzzy PID excitation control system has good performance.
Introduction
With the technological progress, the increase of diesel generator frequency makes it more and more miniaturization, which the requirements of excitation regulator (AVR) are also getting higher and higher. Synchronous generator excitation control system is an important part of the generator, its main task is basing on the generator operating conditions and providing an adjustable DC current to the synchronous generator excitation device to meet the need of various generator running Mode. It is necessary for the excitation device of excellent performance and high reliability to ensure the safety of synchronous generator’s power generation and to improve the stability of the power system. In the normal operation of the generator or accident conditions, the excitation control system plays a very important role. The excitation control system of the excellent performance can not only ensure the safe operation of the generator and provide qualified power, but also effectively improve the generator and the economic and technical indicators of its connected power system.
In recent years, the research and application of fuzzy control, artificial neural network and genetic algorithm have brought new development to the control field, which has made the development of intelligent excitation control, with the emerging of fuzzy excitation control, excitation control of artificial neural network and excitation control based on expert system and genetic algorithms and their combination. Its basic characteristics are that it is a kind of intelligent concept model and it combines the control theory and human experience with intuitive reasoning rather than relying on the exact mathematical model of the object system, and it has the abilities and advantages of non-linear, parallel computing, adaptive, self-learning, self-organization, etc.
At present, most of the excitation regulator of portable diesel engine adopt the circuit regulation of separating electronic components, but the advance of the integrated electronic devices and digital level needs to be updated from the following aspects. For one thing, it demands for changing the original circuit selection for IGBT, while using PWM control system; for another, it is necessary to change the original PID control for fuzzy control system based on MCU, making the product miniaturization and intelligent.
The control principle of AVR system
The excitation control system is mainly composed of two parts: one is the excitation power unit, which provides the DC excitation current to the excitation winding of the synchronous generator; the other part is the excitation regulator, which constitutes the control part of the excitation device and automatically adjusts the output excitation current of power unit according to the changes of the synchronous generator voltage and operating conditions, to meet the operation requirements of the synchronous generator. The overall block diagram of the excitation control system is shown in Fig. 1.
The overall block diagram of the excitation control system.
The structure chart of SCM control system.
The system adopts the SCM and the fuzzy PID control system, and uses semi-controllable devices of thyristor to implement, of course, with further development of full control device of IGBT. That is using the separative excitation system and alternator coaxial with the host as the AC excitation power, supplying to excitation through the rectification of silicon rectifier or thyristor. As a result of using static rectification component instead of rotating DC exciter, it increases the reliability and convenience of maintenance and management. The structure chart is shown in Fig. 2.
The system adopts the AT89C2051 SCM. (1) The generator’s AC voltage of 220 V is changed into 7.5 V by transformer in power part, which is rectified to the DC voltage of
Consider the following aspects for the excitation control system. (1) Excitation limit, that is, the protection restrictions when the generator is subject to relatively large interference; (2) The sensitivity and reliability of relay protection are supposed to improve; (3) Rapid demagnetization, the relay protection device action is taken when the internal winding of generator have a short circuit, cutting off the main switch of generator and excitation power. However, the winding inductance of generator excitation is relatively large, storing a lot of electromagnetic energy, which will induce overvoltage when cutting off the excitation power. In order to reduce the damage of short-circuit current on the internal winding of generator, the excitation device is required to have a function of rapid demagnetization.
The composition of Fuzzy PID control system
The fuzzy control controller is composed of three parts. The first part is the fuzzification, the precise input quantity supervised is transformed into a fuzzy set. The second part is the fuzzy reasoning, and the fuzzy set is output according to the fuzzy control rules and the input fuzzy set. The third part is anti-fuzzification, a representative exact value is selected as the control quantity according to the output fuzzy set.
PID controller is based on the exact mathematical model of the controlled object, but in the actual excitation system, there are often such cases.
It is difficult to obtain the exact mathematical model of the excitation system; The excitation model is time-varying in many cases; In practice, the excitation model is simplified for mathematical convenience, and the accuracy of the control system is sacrificed. Compared with the conventional controller such as PID controller, the classical fuzzy controller has the characteristics of the controlled object without establishing the mathematical model and considering its non-linearity and time-varying nature, but it also needs to be further improved, such as the poor stability of the fuzzy controller control accuracy, etc. For this purpose, numerous of excitation controller of fuzzy PID are designed to modify the shortcomings of precision controller and achieve good control results.
The structure of the excitation controller of fuzzy PID.
The membership function of the input and output variables.
The fuzzy PID controller is composed of fuzzy controller and PID controller. The input variables of the fuzzy controller are the deviation value of voltage
The paper adopts the fuzzy controller of double input and three output. The universe of the controller’s input variables (deviation value of voltage
The respective domain of voltage error e and its change rate ec and three parameters KP, KI, KD of PID controller is divided into seven levels: NB (negative big), NM (negative medium), NS (negative small), ZO (zero), PS (positive small), PM (positive medium), PB (positive big). The membership function is shown in Fig. 4.
Assuming that the actual universe of
The
The precise quantities of deviation
The fuzzy controller of quantization is input through the definition of the membership function shown in Fig. 4, transforming the fuzzy speech into fuzzy language set.
For variant
When When When According to the above tuning principles, the control rules of output variables Table of KP control rules
Table of KI control rules
Table of KD control rules
Select the fuzzy reasoning method
The fuzzy reasoning synthesis rules adopted in this paper follow the maximal one – minimal synthesis rule and adopt the Mamdani type fuzzy reasoning algorithm.
Determine defuzzification method of the output quantity
The control quantity given by fuzzy-control algorithm (precise quantity) cannot directly control the object. The actual output should be treated with defuzzification, which is converted to the basic universe accepted by the control object while the center of gravity method is adopted by the treatment of defuzzification.
Anti-interference measures
A/D line: in the A/D conversion circuit, the use of high frequency filter capacitor. In the wiring, power supply and ground wire of each chip to bypass capacitor, and should be as close as possible to the A/D chip, generally used in the 0.001 F–0.1 F, the wiring should shorten the length of the wire line transmission, digital signal and analog signal lines should be kept away from the. The analog sampling signal of the microcomputer excitation regulator is easy to be interfered by the field, and it is likely to be mixed with high amplitude spikes. For this interference, we filter and limit the signal before entering the A/D board. Isolation and shielding: isolation and shielding is an effective measure to restrain interference coupling. In this system, the analog part and the digital part are completely isolated by light disaster, which can effectively restrain the influence of external interference on the digital system. In addition, the sampling transformer is placed on a single board, and the sampling signal is transmitted to the CUP circuit board through the shielding wire to shield electromagnetic interference. Decoupling capacitor: integrated circuit components coupled with the coupling capacitor is also very critical, the digital circuit in the typical value of the decoupling capacitor is 0.1 F, the wiring, the closer the integrated circuit components and the power of the better. When debugging, the external interrupt 1 pin NIT on the work of adding a capacity of 0.1 F, so that the normal operation of the program; in the zero crossing comparator LM339 input to add the capacitance of 0.1 F in order to remove interference, the effect is very good. “watchdog” (WDT): CPU is a high speed device, operation, easy interference controller, when the electromagnetic interference signal into the CPU, will be the wrong execution, caused by malfunction or erroneous results, one of the most vulnerable is the program pointer PC, common problem is the program run to fly. As a result, the watchdog has become one of the indispensable members of the microcomputer system. It is usually used to prevent the running of the CUP program by combining the software with the special circuit. In this study, the use of watchdog timing function with appropriate procedures to facilitate the formation of WDT, in the PC anomaly can be timely and effective force “reset”.
This system uses power electronic excitation rectifier circuit half controlled thyristor trigger circuit, integrated trigger circuit, full bridge output control of the 12 pulse, the pulse voltage regulation by MCU D/A converter output voltage control alpha angle, voltage regulation, regulation and ultimately achieve the excitation current.
The parameters of fuzzy excitation control system is determined through programming, experiments and trial and error.
Among them, the PID regulator uses incremental of PID, the formula is shown in Eqs (4)–(7).
The above data is treated with fuzzification, while AVR is controlled through programming, with programming block diagram shown in Fig. 5.
Programming master block diagram.
The simulation model of conventional PID excitation control system.
The simulation model of fuzzy PID control system.
The simulation results of conventional PID excitation control system.
The simulation results of fuzzy PID excitation control system.
In the commissioning phase, it is considered that the most powerful and effective means to improve the transient stability of power system is to improve the excitation capability of the excitation system, that is to say, to increase the voltage and the voltage rise rate.
The working principle of maximum current instantaneous limiter is detection of excitation current value, and compared with the maximum current value when it is less than the limit value, if not limiter action; greater than a limit value, the output limiter immediately move to implement the limiting voltage control Strong excitation, forcing excitation power unit decreased rapidly, the excitation current as soon as possible drop. When the return current is below the limit value, the limiter is removed.
After the completion of the program, and SCM control system for joint debugging, and constantly modify and improve the system and procedures, until the commissioning results are satisfactory.
The fuzzy control scheme of PID is simulated by Matlab and compared with the traditional control scheme of PID. The simulation parameters are as follows. The time constant of the synchronous generator is 6, the amplification factor of the generator and power unit are 1 and 2, the time constant of the power unit is 0.3, the time magnification and time constant of the measure-compare unit are taken 1 and 0.05. The simulation model of conventional PID excitation control system is shown in Fig. 6, with adding fuzzy control shown in Fig. 7.
By comparing the conventional excitation control system and the fuzzy PID excitation control system, it can be seen that the conventional PID excitation control system has a larger overshoot. And the fuzzy PID control system is superior to the former in improving the dynamic performance and stability of the generator system.
Conclusion
By analyzing the control system of AVR single chip computer and its characteristics, a set of fuzzy-PID control system is designed, and the system is programmed and analyzed. The simulation analysis is carried out on MATLAB software. The simulation results show that the fuzzy-PID excitation control system is superior to the conventional PID excitation control system in improving the dynamic performance and stability of the generator. It proves that the fuzzy-PID control system is stable and reliable. The system meets the control requirements of excitation control system and achieves good control effect.
Footnotes
Acknowledgments
The authors acknowledge special of universities in Fujian (Project number: JK201006).
