Control method of permanent magnet synchronous motor system with LC filter
By using inverter software algorithms and LC filter design, combined with positionless vector control and current model observation, the problem of increased sensors in LC filter permanent magnet synchronous motor systems was solved, achieving precise control and stable operation.
Patent Information
- Application Number
- CN202410945040.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-12
AI Technical Summary
In existing technologies, adding an LC filter to a permanent magnet synchronous motor system requires additional current and voltage sensors, which increases costs and makes development difficult. At the same time, the software algorithms are complex and have poor compatibility, making it difficult to achieve precise control.
By modifying the inverter software algorithm and combining it with LC filter design, positionless vector control and current model observation are adopted. Harmonic currents are filtered out using a band-stop filter, and motor model calculation is realized, avoiding the use of additional sensors.
It enables precise control of permanent magnet synchronous motors without increasing costs, simplifies the development process, and improves system compatibility and control stability.
Smart Images

Figure CN118944520A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of motor control, and more specifically, relates to a control method for a permanent magnet synchronous motor system with an LC filter. Background Art
[0002] At present, the inverter basically adopts PWM pulse width modulation. Since the voltage waveform modulated by PWM is a square wave, the square wave voltage is generated by turning on and off the power semiconductor device, and a large number of high-order harmonics will be generated in this process. However, in some special industries such as aerospace, navigation, and petroleum, harmonics will have a greater impact on the actual application scenarios. On the one hand, the large harmonic content will have a certain negative impact on the motor insulation, which may increase the probability of damaging the motor insulation over time. On the other hand, the harmonics generated by the inverter will cause interference to the power supply or peripheral equipment, causing other equipment to not work properly. However, a common method is to add a passive low-pass filter on the output side of the inverter to reduce the generation of harmonics. The low-pass filter generally uses a passive LC filter, which is a filter circuit composed of an inductor and a capacitor. It can convert the output square wave voltage into a sine wave voltage after filtering.
[0003] When driving a permanent magnet synchronous motor, the phase current of the motor needs to be accurately sampled. When there is no position sensor control, the motor model is constructed based on the motor rated parameters, motor stator resistance, motor back electromotive force and other parameters, combined with the output voltage modulated by the inverter and the motor phase current sampled by the current sensor, to accurately estimate the speed and position of the rotor, thereby accurately controlling the permanent magnet synchronous motor. After adding an LC filter to the inverter output, if the stator phase current and phase voltage of the motor need to be accurately obtained, it is necessary to add voltage and current sensors at the motor end and add sampling circuits on the circuit board.
[0004] However, adding voltage and current sensors at the motor end not only increases the cost of the inverter drive system, but also requires redesign of the mature inverter driver, increasing development costs and time. In addition, it is difficult to add sensors in some application scenarios, which will cause problems in actual applications.
[0005] Combining the above factors, the permanent magnet synchronous motor can be precisely controlled without increasing the cost of the permanent magnet synchronous motor drive system, and the problem can be solved only through the inverter software algorithm.
[0006] At present, some researchers in this field have proposed to realize the drive control of permanent magnet synchronous motor with LC filter only by modifying the inverter software algorithm. However, their design algorithms are relatively complex, the development is difficult, the code execution time is long, and it may pose certain challenges to the performance of the inverter microprocessor. Their software algorithms are not compatible with different types of permanent magnet synchronous motor systems with LC filters. Summary of the invention
[0007] The present invention proposes a control strategy, which can reliably drive a permanent magnet synchronous motor system with an LC filter only by modifying the inverter software algorithm without adding additional motor stator terminal phase current and phase voltage sensors and their sampling circuits and without changing the mature inverter system design. The algorithm is simple and easy to implement, the algorithm code execution time is short, and it is very friendly to the inverter microprocessor. The software algorithm is also highly compatible with different types of permanent magnet synchronous motor systems with LC filters.
[0008] A control method for a permanent magnet synchronous motor system with an LC filter of the present invention comprises a frequency converter and a permanent magnet synchronous motor, wherein the frequency converter is connected to the permanent magnet synchronous motor PMSM through a three-phase line, the frequency converter generates a PMW wave, and the PWM wave controls the working state of the permanent magnet synchronous motor PMSM, inductors L are respectively connected in series in the three-phase line, one end of the inductor L close to the permanent magnet synchronous motor PMSM is respectively connected to one end of a capacitor C, the other ends of the three capacitors C are connected together, the inductor L and the corresponding capacitors C constitute an LC filter, and when controlling the motor, IAFlt and IBFlt are obtained by passing the filtered output phase currents IA and IB of the frequency converter through a band stop filter, and the IAFlt and IBFlt are used to replace the phase current of the motor to participate in the calculation of the motor model;
[0009] The band-stop filter is used to filter out the harmonic current of the capacitive current Ic of the capacitor C at the resonant frequency of the LC filter.
[0010] In the control method of the permanent magnet synchronous motor system with LC filter of the present invention, the resonant frequency is:
[0011]
[0012] Where f0 represents the resonant frequency, L and C represent the capacitance C and inductance L respectively.
[0013] In the control method of the permanent magnet synchronous motor system with LC filter of the present invention, a control method without position vector is adopted to drive the permanent magnet synchronous motor, and a speed estimation model adopts a current model to observe the speed.
[0014] In the control method of the permanent magnet synchronous motor system with LC filter of the present invention, the transfer function of the band-stop filter is:
[0015]
[0016] Where A(s) represents the transfer function, s is the Laplace variable, Q is the quality factor, and w0 is the cutoff angular frequency.
[0017] In the control method of the permanent magnet synchronous motor system with LC filter of the present invention, the mathematical model of the current model is:
[0018]
[0019] Where, d represents differential, id and iq represent the current of d-axis and q-axis, ud and uq represent the voltage of d-axis and q-axis, Rs represents the stator resistance, Ld and Lq represent the equivalent d-axis and q-axis inductance of the motor, We represents the rotor electrical angular velocity, dt represents the differential with respect to time t, Represents the rotor flux.
[0020] In the control method of the permanent magnet synchronous motor system with LC filter of the present invention, the inverter output voltage calculation formula is as follows:
[0021] Us=Ul+Um
[0022] Where Us represents the inverter output voltage, Ul represents the voltage on the inductor L, and Um represents the motor terminal voltage.
[0023] The control method of the permanent magnet synchronous motor system with LC filter of the present invention is implemented. An LC filter is added to the output of the frequency converter to drive the permanent magnet synchronous motor. Without adding an additional current sensor at the motor end, the harmonic current component in the output current of the frequency converter is filtered out by a software band-stop filter. The current after filtering can be approximately equal to the motor phase current and participate in the calculation of the motor model. Moreover, the mathematical model of the motor model adopts the current model, which can well realize the position-free vector control of the permanent magnet synchronous motor. The motor runs stably and reliably. Moreover, the algorithm has good compatibility in the application of different types of permanent magnet synchronous motor systems with LC filters, has low development cost, and is suitable for the application and promotion of products in different industries. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is the topology diagram of the permanent magnet synchronous motor system with inverter and LC filter;
[0025] Figure 2 It is a topological diagram of the software control algorithm of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0027] In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. "Multiple" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0028] Unless otherwise specified, "plurality" means two or more.
[0029] The terms "including" and "having" and any variations thereof in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product or equipment comprising a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules not clearly listed or inherent to these processes, methods, products or equipment.
[0030] The naming or numbering of the steps in the embodiments of the present invention does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The execution order of the named or numbered process steps can be changed according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.
[0031] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0032] The present invention provides specific implementations as described below.
[0033] Design and selection of LC filters
[0034] as follows Figure 1As shown in the figure, the topology diagram of the inverter with LC filter permanent magnet synchronous motor system, an LC filter is added between the inverter and the permanent magnet synchronous motor, the inverter is connected to the permanent magnet synchronous motor PMSM through a three-phase line, the inverter generates PMW wave, and the PWM wave controls the working state of the permanent magnet synchronous motor PMSM, wherein the inductor L is connected in series in the three-phase line, one end of the inductor L close to the permanent magnet synchronous motor PMSM is connected to one end of the capacitor C, and the other ends of the three capacitors C are connected together, that is, the capacitor C is connected in parallel with the permanent magnet synchronous motor PMSM in a Y-type connection. The capacitor C and the corresponding inductor L form an LC filter, and the LC filter is designed as a low-pass filter. First, the cutoff frequency of the filter is considered, so that most of the high-order harmonics in the inverter output voltage that are higher than the cutoff frequency can be eliminated, while retaining the fundamental frequency of the inverter modulation output, so that the stator voltage at the motor end can be changed from a square wave to a sine wave. However, the parameters of the filter cannot be determined based on the cutoff frequency alone. In addition to the cutoff frequency factor, it is also necessary to comprehensively consider the influence of the filter's power capacity, volume and other factors on the inverter's power density, weight, cost performance and other indicators.
[0035] Harmonic current analysis and calculation
[0036] In the LC filter, the capacitor C and the inductor L are connected in series in the circuit. According to the oscillation circuit principle, the inductor L and the capacitor C are both energy storage devices. A certain frequency signal flowing through the inductor L and the capacitor C will produce oscillation. This oscillation is called series resonance. The frequency causing series resonance is called the series resonance cutoff frequency. The series resonance cutoff frequency f0 is as follows (1). When the inverter is running, the PWM wave will pass through the LC low-pass filter. In addition, the existence of the permanent magnet synchronous motor constitutes a complex coupled system. When the PWM wave passes through the LC filter, there will be harmonics of different frequencies. When the frequency of a part of the harmonics generated in the circuit is approximately equal to the cutoff frequency, this When the LC filter generates series resonance, the capacitive reactance and inductive reactance in the circuit are basically offset, and the impedance in the circuit is very small, resulting in amplification of the harmonic signal and amplification of the harmonic current of the entire circuit. The inverter output current sensor is installed at the front end of the inductor L. The inverter output current Is is calculated as follows (2). The resonance causes the current Ic of the capacitor C to generate a large harmonic current, which causes Is to have a large harmonic current component. Because there is no current sensor at the motor end, the software can only use Is as the motor phase current for control. Because the resonance generates harmonic current, this has a greater impact on motor control and may even cause the motor to lose control.
[0037]
[0038] Is=Ic+Im (2)
[0039] From formula (2), it can be seen that because the inverter current Is is equal to the sum of the current Ic generated by the capacitor and the stator phase current Im, if the harmonic current generated by resonance is not considered, the calculation formula of the capacitor current Ic is as follows (3).
[0040] Uc is the voltage drop on capacitor C. Since the capacitor is connected in parallel with the motor, the voltage drop Uc is equal to the voltage drop Um at the stator end of the motor. The capacitive reactance Zc of capacitor C is calculated as follows (4), where fh is the frequency on capacitor C. The main component is the fundamental frequency fn, followed by the carrier frequency fc. In the absence of resonance, other subharmonic voltage components are relatively small, and the harmonic current generated is very small and can be ignored. According to formula (4), fh is inversely proportional to Zc. If the fundamental frequency fn is small, then Zc is very large, and the current generated under the fundamental voltage is also very small, while the carrier frequency fc is The carrier frequency fc is relatively large relative to the fundamental frequency fn, and the corresponding Zc is relatively large. However, the harmonic voltage corresponding to the carrier frequency fc is relatively small. According to formula (3), Ic is also relatively small at this time. In summary, except for the large resonant current generated by Ic at the resonant frequency, which will have a greater impact on Is and directly affect the control of the motor, in the non-resonant case, Ic is relatively small and can be basically ignored for Is control. Then, it is only necessary to extract the resonant current. Then the extracted Is is basically equal to the motor current Im, and the Ic current can be ignored.
[0041] Ic=Uc / Zc (3)
[0042] Zc=1 / (2πfh*C) (4)
[0043] Implementation of inverter output current filtering algorithm
[0044] If you want to accurately control a permanent magnet synchronous motor, it is definitely best to directly sample the motor's stator phase current Im. However, now we do not directly add a current sampling sensor at the motor end, but use the inverter output side sampling current Is to approximate the motor stator phase current through a certain software filtering algorithm. In the above harmonic current analysis calculation, it has been shown that as long as the harmonic current in the capacitor current Ic generated during resonance is filtered out by a certain method, then the filtered Is≈Im. According to the principle of series resonance, the harmonic current generated near the harmonic frequency is the largest. As long as the harmonic current near the resonant frequency is filtered out, the set target is achieved. Because the inductance L and capacitance C of the LC filter have been determined when designing the drive system, the resonant frequency can be obtained by formula (1). For this reason, the present invention proposes to use a band-stop filter to filter out the sampling value corresponding to the specified frequency. The band-stop filter transfer function A(s) is as follows (5), which is equivalent to removing the larger harmonic current corresponding to Is. The topology diagram of the software control algorithm is as follows Figure 2As shown in FIG. 1 , the filtered inverter output phase currents IA and IB are obtained after passing through the band-stop filter to obtain IAFlt and IBFlt. IAFlt and IBFlt can be used to replace the motor phase current to participate in the motor model calculation.
[0045] The present invention adopts a control method without position vector to drive the motor. The speed estimation model adopts the current model to observe the speed. The mathematical model equation of the motor current is as follows (7) and (8). Because the inverter itself does not have output voltage sampling, after adding an LC filter behind the inverter, the inverter output voltage U S The calculation formula is as follows (6), according to Figure 1 , the capacitor and the motor are connected in parallel, so the voltage of the motor is equal to the voltage of the capacitor. When no resonance occurs, the voltage drop Ul on the inductor L is designed when selecting the inductance value. It is relatively small relative to the motor terminal voltage Um and can be ignored. However, at resonance, the voltage drop Ul on the inductor may have a slightly larger impact on the motor voltage Um. In order to avoid the impact of the inductor voltage on the motor terminal voltage Um during resonance, the motor control mathematical model uses a current model observer. Compared with the voltage model observer, the current model observer is insensitive to the motor terminal voltage Um. Therefore, the fluctuation of the inductor voltage Ul at resonance has little effect on the current model observer, and has little adverse effect on the motor control. The impact of the fluctuation of the motor terminal voltage can be ignored. The IAFlt and IBFlt obtained after the band-stop filter are transformed by Clark and Park to obtain id and iq, and then the speed of the permanent magnet synchronous motor observed by the current model is integrated to obtain the rotor position. The entire control process is as follows Figure 2 , achieving accurate position-free vector control to drive permanent magnet synchronous motors.
[0046]
[0047] Us=Ul+Um (6)
[0048]
[0049] Where s is the Laplace variable, Q is the quality factor, w0 is the cutoff angular frequency, d represents differentiation, id and iq represent the d-axis and q-axis currents, ud and uq represent the d-axis and q-axis voltages, Rs represents the stator resistance, Ld and Lq represent the equivalent d-axis and q-axis inductances of the motor, We represents the rotor electrical angular velocity, and dt represents differentiation with respect to time t. Represents the rotor flux.
[0050] In summary, the present invention calculates the cutoff frequency of the LC low-pass filter of the permanent magnet synchronous motor according to the values of the inductance and capacitance of the selected LC low-pass filter, and then selects appropriate software band-stop filter parameters according to the cutoff frequency to filter out the resonant current on the inverter output current. The inverter output current after filtering by the filter is approximately equal to the phase current of the motor, and then is included in the motor model calculation.
[0051] The mathematical model of motor control adopts the current model. Since the output voltage of the inverter is generated by PWM modulation, but the output voltage is not sampled, the current model has relatively low requirements on the output voltage accuracy, so the speed and position can be observed well. Therefore, the mathematical model of observation is selected to adopt the current model instead of the voltage model, which can effectively avoid the influence of voltage errors and fluctuations on control.
[0052] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A control method for a permanent magnet synchronous motor system with an LC filter, comprising a frequency converter and a permanent magnet synchronous motor, wherein the frequency converter is connected to the permanent magnet synchronous motor PMSM through a three-phase line, the frequency converter generates a PMW wave, and the PWM wave controls the working state of the permanent magnet synchronous motor PMSM, characterized in that: Inductors L are connected in series in the three-phase lines, one end of the inductor L close to the permanent magnet synchronous motor PMSM is connected to one end of the capacitor C, and the other ends of the three capacitors C are connected together. The inductor L and the corresponding capacitors C form an LC filter. When the motor is controlled, the IAFlt and IBFlt obtained by passing the filtered inverter output phase currents IA and IB through the band stop filter are used to replace the motor phase currents to participate in the motor model calculation. The band-stop filter is used to filter out the harmonic current of the capacitive current Ic of the capacitor C at the resonant frequency of the LC filter.
2. The control method of a permanent magnet synchronous motor system with an LC filter according to claim 1, characterized in that: The resonant frequency is: Where f0 represents the resonant frequency, L and C represent the capacitance C and inductance L respectively.
3. The control method of a permanent magnet synchronous motor system with an LC filter according to claim 1, characterized in that: A control method without position vector is adopted to drive the permanent magnet synchronous motor, and the speed estimation model adopts the current model for speed observation.
4. The control method of a permanent magnet synchronous motor system with an LC filter according to claim 1, characterized in that: The transfer function of the band-stop filter is: Where A(s) represents the transfer function, s is the Laplace variable, Q is the quality factor, and w0 is the cutoff angular frequency.
5. The control method of a permanent magnet synchronous motor system with an LC filter according to claim 3, characterized in that: The mathematical model of the current model is: Where, d represents differential, id and iq represent the current of d-axis and q-axis, ud and uq represent the voltage of d-axis and q-axis, Rs represents the stator resistance, Ld and Lq represent the equivalent d-axis and q-axis inductance of the motor, We represents the rotor electrical angular velocity, dt represents the differential with respect to time t, Represents the rotor flux.
6. The control method of a permanent magnet synchronous motor system with an LC filter according to claim 1, characterized in that: The inverter output voltage calculation formula is as follows: Us=Ul+Um Where Us represents the inverter output voltage, Ul represents the voltage on the inductor L, and Um represents the motor terminal voltage.
Citation Information
Patent Citations
Permanent magnet synchronous motor flux linkage harmonic observation and torque ripple suppression method
CN112019110A
Control method and system of permanent magnet synchronous motor, terminal equipment and storage medium
CN116054655A
Full-frequency-domain harmonic suppression method for sensorless control of high-speed permanent magnet synchronous motor
CN116545318A
Cited By
PWM motor driving system
CN120601806A
Current source inverter power supply permanent magnet synchronous motor system control method and system
CN120710410A
Control method and system for permanent magnet synchronous motor system powered by current source inverter
CN120710410B
