1 Introduction
There are many machines in production that require both forward and reverse rotation, and often require fast starting and braking, that is, a reversible speed regulation system is needed. The reversible speed regulation system implemented by analog circuits has complex circuits, difficult adjustment, low reliability, and lacks flexible control. Therefore, a design scheme for a logic non-circulating reversible speed regulation control system based on a single-chip microcomputer is given here. The system design adopts a fully digital circuit to realize functions such as digital pulse triggering, digital speed setting detection, and digital PI algorithm. The speed and current regulation, logical judgment, and complex calculations are realized by software. It has optimization, self-adaptation, nonlinearity, and intelligent control rules that are different from general analog circuits, and it is flexible and convenient to change.
2 System composition and control principle
2.1 System composition
The digital logic non-circulating reversible speed regulation system is realized by
AT89C51
single chip microcomputer to realize double closed loop control, non-circulating logic control, trigger pulse formation and phase control, as shown in Figure 1. In Figure 1, ASR is the speed loop, ACR is the current loop, DLC is the non-circulating logic controller, GT is the trigger pulse, TA is the voltage transformer, TG is the speed generator, and M is the DC motor. The main circuit adopts two groups of thyristor devices, positive group VF and reverse group VR, which are anti-parallel. The control circuit adopts the speed ASR and current ACR double closed loop system.
2.2 Control Principle
Digital non-circulating current logic control selects the positive or negative group of thyristors according to the positive or negative output value of the speed regulator, and switches accordingly according to whether the current of the main circuit is zero. And memorize the working status of the working group. Through torque polarity detection and zero current detection, corresponding logical judgment is made to release one group of thyristors and lock the other group of thyristors. For this purpose, two storage units L1 and L2 are set in the single-chip computer to memorize the working status of the positive group thyristor vF and the negative group thyristor VR.
3 System Hardware Design
The system hardware design is based on the AT89C51 single-chip microcomputer, and consists of program memory EPROM, address latch, A/D converter, 2 programmable counters, timer, pulse widening, photoelectric isolation, pulse amplification, zero-crossing detection and wave edge detection circuits, as shown in Figure 2.
3.1 Trigger
The main transformer and the synchronous transformer are both connected as D/Y-11. The symmetrical three-phase AC synchronous voltage lags 30° after the RC phase shift. The zero crossing point of the AC waveform is aligned with the trigger delay angle α=0°, and the trigger pulse can only be generated between 0° and 180°. The three-phase AC voltage after the RC phase shift is converted into a three-phase square wave with a difference of 120° and a width of 180° through the zero detector, which is added to the P1.0, P1.1 and P1.2 pins of the microcontroller as the detected power supply state, and this state is used as the basis for pulse distribution to determine the trigger sequence of VR and VF. The square wave outputs a negative pulse with an interval of 60° through the wave edge detector as the external interrupt request signal of the microcontroller. The three-phase transformer generates 6 interrupt signals in each cycle, and completes the pulse formation, distribution and shift control in each interrupt service program.
3.2 PI Regulator
The control law of the PI regulator is:
In the formula, y(t) is the output of the PI regulator; e(t) is the input of the PI regulator; Kp is the proportional coefficient; T1 is the integral time constant.
After discretizing equation (1), the regulator output increment between the (k-1)th and kth sampling times is △y(k):
In the formula, △e=ek-ek-1; yk is the kth output of the PI regulator; yk-1 is the (k-1)th output of the PI regulator; ek is the deviation between the given value and the feedback value at the seventh sampling; ek-1 is the deviation between the given value and the feedback value at the k-1th sampling; KI is the integral coefficient,
The difference equation obtained from formula (5) is:
In the formula, KI=Kp-K2, K2=TKI; yn is the nth sampling output; △Un is the input deviation at the nth sampling. In order to improve the accuracy, PI operation uses double bytes.
3.3 Non-circulating logic control
The non-circulating current logic control selects VR and VF thyristors according to the positive and negative output values of the speed regulator, and makes corresponding logic judgments based on the torque polarity detection, releases one group of thyristors, locks another group of thyristors, and memorizes the working status (0 or 1) of the VF and VR thyristors, which are stored in the microcontroller storage units L1 and L2. When the thyristor is released, L1 and L2 store 1; when the thyristor is locked, L1 and L2 store 0. These status signals are sent to the P1.5 and P1.6 pins of the microcontroller to control the release and locking of the trigger pulse.
4 System Software Design
The software design for controlling current and speed determines the performance of the speed control device. The logic non-circulating current speed control system controlled by the single-chip microcomputer is required to complete the signal sampling, digital filtering, PI operation and real-time control of the two closed-loop systems in a few milliseconds. The main program flow is shown in Figure 3.
In the main program, waiting for interrupt is a stepping command. Since the response speed of the current inner loop is faster than that of the speed outer loop, an interrupt request of external interrupt 1 is nested in the timer interrupt service program T0. The interrupt service program of external interrupt 1 first samples the current, and then performs PI calculation with limiting and digital triggering according to the current situation. The system realizes speed sampling, filtering and non-circulating logic switching through the timer T0 interrupt service program.
5 Conclusion
The results of the logic non-circulating reversible speed control system are shown in Figure 4. It can be seen from Figure 4 that the armature current of the motor changes rapidly and smoothly from the maximum value allowed to the steady-state value. There is no overshoot current and speed overshoot in the dynamic process from the start to the steady state of the motor, the forward and reverse switching process is smooth, and the dynamic performance is good. Studies have shown that the digital logic non-circulating reversible speed control system controlled by a single-chip microcomputer has good stability and high reliability, which improves the accuracy and control performance of the speed control system. In addition, it also has functions that cannot be achieved by analog control systems such as information storage, data communication and fault diagnosis.
Previous article:System design of elevator remote control based on C8051F340 dual serial port
Next article:Design of short sample test data acquisition system based on single chip microcomputer
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- 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
- Why is the voltage ringing spike of MOSFET different in boost and buck mode?
- The circuit for discharging the PFC output capacitor is shown in Figure 2.
- Basic syntax of Verilog HDL
- Found a method to import Altium Designer into SIwave
- Thanks to okhxyyo for searching and fish001 for sharing
- Please advise, is it easy to pass the postgraduate examination and graduate, and how useful is the degree certificate?
- About the LAUNCHXL-F28379D Development Kit
- Let me try this feature
- EEWORLD University-What is a transient voltage suppressor (TVS) diode?
- [Xianji HPM6750 Review] RT-Thread SDIO driver and file system