In a servo drive control system, in order to achieve magnetic field oriented control, it is necessary to sample the current of at least two-phase motor windings. These two current samples will be used as current feedback signals to enable the servo drive to achieve current closed loop. It can be said that current signal sampling is an important module of the servo control system hardware and also a major difficulty.
Conventional current sampling circuit design
Today, most servo drives use a current sampling circuit built with a sampling resistor and a linear optocoupler, as shown in Figure 1.
Among them, RSENSE is a power sampling resistor, MC34081 is an operational amplifier, 78L05 is a three-terminal voltage regulator, HCPL-7840 is a linear optocoupler, its 2 and 3 pins are signal input terminals, 6 and 7 pins are signal output terminals, when the input and output supply voltages are both 5V, when the differential voltage of the 2 and 3 pins changes, the output signals of the 6 and 7 pins will increase and decrease linearly with the input signal.
As shown in Figure 1, when the servo motor is working normally, the current signal collected through the winding is converted into the voltage value across the sampling resistor, and the voltage value is isolated and amplified through a linear optocoupler, and then sent to the DSP for data analysis after A/D conversion through an operational amplifier, thereby realizing current loop closed-loop control. In the actual experimental process, due to the interference of external conditions such as the servo motor, the current sampling signal received by the DSP will have a relatively large degree of interference, so corresponding filtering measures must be added to the circuit.
Design of a new current sampling circuit
The sampling circuits built with sampling resistors and linear optocouplers are all analog circuits, which are easily interfered by the outside world. In the process of circuit debugging, filtering out noise is particularly cumbersome. In order to make the current sampling signal more accurate and the current loop closed better, we designed a solution to realize current sampling using high-voltage linear current sensor ir2175, and conducted comparative experiments.
Chip Overview
IR2175 is a high-voltage linear current sensor designed by IR for AC or DC brushless motor drive applications. It has a built-in current detection and protection circuit, and can perform current sampling through a sampling resistor connected in series with the winding loop. The chip can automatically convert the input analog signal into a digital PWM signal and directly send it to the processor for data processing [2]. Circuit Design
As shown in the circuit diagram of Figure 2, R2 and R3 are sampling resistors, Q1~Q6 are IGBTs, D2~D4 and D6~D7 are fast recovery diodes. The VCC of the IR2175 chip is the power supply pin, connected to +15V. Po is the open-drain PWM output pin. In this experiment, the Po terminal is directly connected to the DSP, so a pull-up resistor is required in the interface circuit to pull it up to 3.3V. Com is the ground terminal and the overcurrent signal output terminal, V+ is the sampling voltage positive input terminal, VB and VS are high-end floating power supply voltage terminals, and VBS is a power supply floating above the voltage peak of VS. Therefore, in this circuit, we use the D1 diode tube and the C1 capacitor to form a bootstrap power supply [3]. Its working principle is: when VS is pulled down to ground through the low-end IGBT, the bootstrap capacitor C1 is charged with the +15V VCC power supply through the bootstrap diode D1, thereby providing the power supply VBS. When vs is pulled to the highest voltage through the high-side switch, vbs is floating and the bootstrap diode is reverse biased, thus blocking the charging loop [2]. The diode should be a fast recovery diode with a recovery time of less than 100ns. The resistor r1 between the vs pin and the half-bridge output should be in the range of 10 to 20ω.
Figure 1 Current sampling circuit based on sampling resistor and linear optocoupler [1]
Figure 2 Sampling circuit based on ir2175
Experimental Results
In this experiment, we used CCS software to display the current sampling signal received by DSP as an intuitive waveform curve in DQ coordinates for comparative analysis.
In the design of the new current sampling circuit, when the servo motor is working normally, the input of IR2175 is a sinusoidal voltage signal, and the output frequency of the PO port is 130kHz, and the duty cycle varies with the current size. The PWM signal (as shown in Figure 3, 4, and 5) has a duty cycle range of 9% to 91%. When the voltage drop on the sampling resistor is 0, the duty cycle of the output signal is 50% (as shown in Figure 3); when the input voltage range is -260mv to +260mv, the corresponding output voltage range is 9% to 91%. When the voltage drop on the sampling resistor is greater than 260mv, the duty cycle of the output signal remains at the maximum value of 91% (as shown in Figure 4); when the input is less than -260mv, the output duty cycle remains at the minimum value of 9% (as shown in Figure 5). When the voltage drop on the sampling resistor exceeds -260mv to +260mv, the IR2175 outputs a low-level effective overcurrent signal with a typical value of 2μs.
Through the observation and analysis of Figures 3, 4, and 5, it can be seen that the PWM waveform output by IR2175 is stable and has fewer interference signals, and the sampling data transmitted to DSP is relatively accurate.
Figure 3 When the input is 0, the output duty cycle is 50%
Figure 4 Input maximum 260mv, output duty cycle 91%
Figure 5 Input minimum -260mv, output duty cycle 9%. The current signal waveforms collected by the two current sampling schemes with the same software program and debugging parameters are compared, as shown in Figures 6 and 7.
Figure 6 Conventional current sampling waveform
Figure 7 New current sampling waveform
The waveform curve of the two sampling signals obtained by the conventional current sampling circuit design is shown in Figure 6. It can be seen that it is a sine waveform. Because there are still some burrs in the waveform, the waveform is not smooth. Therefore, we add software filtering on this basis and successfully realize the current closed-loop control. After repeated experiments, it is verified that the motor runs smoothly and the current closed-loop can be realized.
The waveform curves of the two sampling signals obtained by the new current sampling circuit design are shown in FIG7 . The waveforms are very smooth and can be directly used as a current closed loop without any processing.
Both current sampling circuits can realize current loop closure, but the experimental waveforms in Figures 6 and 7 show that when the current sampling circuit is composed of sampling resistor and linear optocoupler, it is susceptible to external interference, and more filtering circuits need to be added and a lot of debugging is required, and the resulting waveform is not smooth. When the sampling circuit is composed of ir2175, the interface circuit can be greatly simplified, and because its output signal is a digital signal, the influence of external interference on it can be reduced to a large extent. Compared with the previous design circuit, it is more convenient, stable, and has a better closed-loop effect.
Conclusion
Through this experiment, we can find that the use of current sensor chips can easily solve the current collection of servo drives, and the collected signals are relatively accurate. However, when designing the PCB, we still need to pay attention to the isolation of high-voltage and low-voltage signals, and we should add appropriate protection circuits and filtering circuits.
Previous article:Linear LED driver innovation solutions and applications
Next article:High-power LED driver chip XLT604 and its circuit application
- 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
- Install Debian 8 system
- CC2640 CC1310 high and low temperature test
- Detailed explanation of TL494 switching power supply circuit
- STM32MP157A-DK1 Evaluation + IIO and ADC (6)
- 【Qinheng RISC-V core CH582】 5 Bluetooth routine initial evaluation and environment construction
- RISC-V MCU IDE MRS (MounRiver Studio) development: Solve the problem of RAM usage showing 100% after compilation
- FPGA Learning - Introduction to Verilog
- Let's take a look at the price increase rhythm of 10 major chip manufacturers, starting a new round of price increases
- Share a learning material: Comic Semiconductor
- [TI recommended course] #Basics of Hall Effect Magnetic Sensors#