Here is a design of a logic non-circulating reversible speed control system based on a single-chip microcomputer. 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, intelligence and other control laws 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 the working status of the working group is memorized. 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 Triggers
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 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.
Previous article:Design of MP3 player based on STC89C58 single chip microcomputer
Next article:Interface and Program Design between Digital-to-Analog Converter DAC7724 and 51 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
- About the debugging of ML75308 optical rainfall chip???
- R&D Management
- [Raspberry Pi Pico Review] Power-on initial test
- Free application: Qinheng RISC-V core BLE 5.3 wireless MCU CH582
- Electronic design from scratch
- Is this a filter circuit?
- Rohde & Schwarz JD flagship store is officially launched!
- Design of Universal Asynchronous Receiver and Transmitter Using VHDL
- [AT-START-F425 Review] Unboxing Review
- How difficult is it for Chang'e 5 to "skip in space" and re-enter the atmosphere?