Sensorless dual-mode control method and system for high-speed permanent magnet synchronous motor

Through the sensorless dual-mode control method, the number of FOC controls in the electrical cycle is detected. If it is lower than the preferred value, it switches to square wave control, and uses tailwind start and timer cycle to perform phase exchange compensation, which solves the reduction in FOC accuracy and The motor damage caused by error improves control accuracy and accuracy.

CN114123876BActive Publication Date: 2024-11-26SHENZHEN LUCHEN INFORMATION TECH SERVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111423481.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-26
Publication Date
2024-11-26
Estimated Expiration
2041-11-26

AI Technical Summary

Technical Problem

During the detection process, the FOC control accuracy will be greatly reduced due to changes in electrical speed during the traditional permanent magnet synchronous motor control system, which may damage the power switching device, resulting in errors and damage to the control device.

Method used

Using sensorless dual-mode control method, by detecting the number of FOC controls in the electrical cycle, if it is lower than the preferred value, turn off the PWM carrier, switch to square wave control, use tailwind start and timer cycle to perform phase-commutation compensation, improve control accuracy .

Benefits of technology

When the FOC control accuracy is low, inductively uninductive square wave control is promptly intervened, and inertia and timer calculations are used to improve the accuracy of commutation calculation and the accuracy of conversion moments, avoid damage to the motor control device, and enhance control accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114123876B_ABST
    Figure CN114123876B_ABST
Patent Text Reader

Abstract

The present invention discloses a high-speed permanent magnet synchronous motor sensorless dual-mode control method, comprising the following steps: obtaining a preset PWM carrier cycle time; detecting the motor electrical cycle, calculating the number of times K of FOC control in a single electrical cycle; judging whether K is lower than the preferred value, if so, turning off the PWM carrier, adopting a tailwind start method, switching to square wave operation, otherwise, returning to the first step. The high-speed permanent magnet synchronous motor sensorless dual-mode control method and system can control the motor by switching to square wave control and accurately estimating the rotor position when the vector control algorithm is inaccurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of permanent magnet synchronous motor control, and in particular to a sensorless dual-mode control method and system for a high-speed permanent magnet synchronous motor. Background Art

[0002] High-speed permanent magnet synchronous motors have the advantages of high efficiency and high power density. Therefore, permanent magnet synchronous motors have been widely used in flywheel energy storage, textiles, high-speed grinders, distributed energy and other fields.

[0003] In the traditional permanent magnet synchronous motor control system, the motor current is controlled by generating multiple PWM interrupts in one electrical cycle for FOC control, thereby controlling the motor torque, speed and position by controlling the motor current. However, in the detection process, due to the change in the electrical speed, the number of times the FOC control is entered in one electrical cycle will change greatly. When the number of times the FOC control is entered in one electrical cycle is small, the accuracy of the FOC control will drop significantly, which may cause damage to the power switching device, and even exceed the protection range of the protection circuit, causing good power switching devices to be damaged. Therefore, the errors generated by the traditional detection scheme are likely to damage the motor control device. Summary of the invention

[0004] Purpose of the invention: In order to solve the problem that the errors generated by traditional detection schemes in the current permanent magnet synchronous motor control system may damage the motor control components, the present invention provides a sensorless dual-mode control method for a high-speed permanent magnet synchronous motor. When it is judged that the FOC control accuracy in an electrical cycle is low, a sensorless square wave control algorithm is introduced to realize sensorless dual-mode control of a high-speed permanent magnet synchronous motor.

[0005] Technical solution: A sensorless dual-mode control method for a high-speed permanent magnet synchronous motor includes the following steps:

[0006] S1: Get the preset PWM carrier period;

[0007] S2: Detect the motor electrical cycle and calculate the number of times K that FOC control is performed in a single electrical cycle;

[0008] S3: Determine whether K is lower than the optimal value, if so, execute step S4, otherwise, return to step S2;

[0009] S4: Turn off the PWM carrier, adopt the tailwind start method, switch the motor from FOC control mode to square wave control mode; and estimate the delayed commutation time and commutation compensation angle according to the electrical cycle.

[0010] In step S2, the motor electrical cycle is detected while the preset PWM carrier cycle is detected, and the number of times K of FOC control is performed in a single electrical cycle is calculated. The specific formula is as follows:

[0011]

[0012] Wherein, T1 is the preset PWM carrier period, and T2 is the electrical period.

[0013] The preferred value in step S3 is 12.

[0014] The commutation delay time of the square wave operation in step S4 adopts the sampling of the back electromotive force zero crossing point and the delayed commutation calculation in the timer period T3; and the relationship between the timer period T3 and the PWM carrier period T1 is: T3<10T1.

[0015] In step S4, the commutation compensation angle and the delayed commutation time are estimated according to the electrical cycle, and the specific method is:

[0016] Commutation compensation angle:

[0017] Δθ=(2π*T3) / T2

[0018] Delayed commutation time:

[0019]

[0020] High-speed permanent magnet synchronous motor sensorless dual-mode control system, including: PWM carrier cycle setting module, electrical cycle detection module, switching judgment module, delayed commutation time calculation module, commutation compensation angle calculation module;

[0021] The PWM carrier period setting module obtains a preset PWM carrier period;

[0022] The electrical cycle detection module detects the electrical cycle of the motor and calculates the number of times K of FOC control in a single electrical cycle;

[0023] The switching judgment module judges whether K is lower than the preferred value, and if so, executes the delayed commutation time calculation module and the commutation compensation angle calculation module, otherwise, returns to the electrical cycle detection module;

[0024] The delayed commutation time calculation module turns off the PWM carrier, adopts a tailwind start method, switches the motor from the FOC control mode to the square wave control mode; and estimates the delayed commutation time according to the electrical cycle;

[0025] The commutation compensation angle calculation module turns off the PWM carrier, adopts a tailwind start method, switches the motor from the FOC control mode to the square wave control mode; and estimates the commutation compensation angle according to the electrical cycle;

[0026] The switching judgment module is connected to the PWM carrier cycle setting module and the electrical cycle detection module respectively, and is used to determine whether to switch the control mode according to the ratio of the electrical cycle to the PWM carrier cycle;

[0027] The delayed commutation time calculation module is connected to the PWM carrier cycle setting module and the electrical cycle detection module respectively, and is used to determine and calculate the delayed commutation time under the square wave control mode according to the ratio of the electrical cycle to the PWM carrier cycle;

[0028] The commutation compensation angle calculation module is connected to the PWM carrier period setting module and the electrical period detection module respectively, and is used to determine and calculate the commutation compensation angle under the square wave control mode according to the ratio of the electrical period to the PWM carrier period.

[0029] The switching judgment method is: when the ratio of the PWM carrier period to the electrical period is not less than 12, the motor executes the FOC control mode; when the ratio of the PWM carrier period to the electrical period is not less than 12, the square wave control mode is adopted.

[0030] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages:

[0031] 1. The present invention judges the situation of permanent magnet synchronous FOC control misalignment, and promptly judges and intervenes when the number of FOC calculations in a single electrical cycle is less than the optimal value, and promptly judges the situation of permanent magnet synchronous motor FOC misalignment.

[0032] 2. When the PWM carrier input is turned off, the present invention utilizes the characteristic that the high-speed permanent magnet synchronous motor continues to have a high speed due to inertia when it is turned off, and adopts a downwind starting method to effectively detect the back electromotive force of the motor's three-phase winding.

[0033] 3. When the present invention is converted into inductive square wave control, a timer is used to perform commutation calculation within a fixed delay time, so that the commutation calculation time is more reorganized and the result is more accurate.

[0034] 4. The present invention aims at the inherent 30° delayed commutation under the condition of traditional non-inductive square wave input, and takes into account the situation that errors occur in calculation time, so as to modify the delayed commutation time to make the commutation timing more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a flow chart of the sensorless dual-mode control method for high-speed permanent magnet synchronous motor;

[0036] Figure 2 This is a diagram of the back electromotive force and commutation signals on a single coil winding of a traditional motor. DETAILED DESCRIPTION

[0037] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0038] Embodiment 1:

[0039] High-speed permanent magnet synchronous motor sensorless dual-mode control method, such as Figure 1 As shown, the following steps are included:

[0040] S1: Get the preset PWM carrier cycle T1. Permanent magnet synchronous motors generally use vector control. During motor operation, vector control is generally controlled by PWM triggering interrupts.

[0041] S2: Detect electrical cycle T2 and calculate the number of FOC control times K in a single electrical cycle:

[0042]

[0043] For example, when the high-speed permanent magnet synchronous motor detects that the motor electrical cycle corresponds to a frequency of 3 kHz and the PWM carrier is 16 kHz, the number of FOC controls K performed in a single current cycle is:

[0044] K=16kHZ / 3kHZ≈5.333

[0045] S3: Determine the number of FOC control times K in a single current cycle. Considering that the number of times a single electrical cycle triggers interruption to enter FOC control is too small, it will lead to inaccurate rotor estimation results. In order to ensure the effectiveness of the FOC algorithm, a FOC operation is performed every 30° as the preferred value. Therefore, K=12 is used as the preferred value for the accuracy of the FOC algorithm. When K≤12, execute step S4. When K>12, return to step S2.

[0046] S4: Turn off the PWM carrier, use the tailwind start method, and switch to square wave operation. The specific method is as follows:

[0047] After the PWM input carrier is turned off, the motor continues to rotate at a relatively high speed due to inertia, so there is still a back electromotive force zero crossing point in the three-phase winding that can be easily detected.

[0048] Furthermore, the commutation time is set. In the traditional square wave input commutation, the commutation time is delayed by 30° after the back electromotive force crosses the zero point. The specific waveform is as follows: Figure 2 As shown in the figure, based on the traditional non-inductive square wave delayed 30° commutation, a timer with a fixed period of T3 is set to detect the back electromotive force and calculate the delayed commutation. Since it takes time to detect the zero-crossing point of the back electromotive force of the three-phase winding of the motor and calculate it, the commutation time is delayed. In each electrical angle cycle, the rotor rotates 2πrad, and the rotor displacement offset can be calculated as:

[0049] Δθ=(2π*T3) / T2

[0050] Among them, the delay commutation angle required for square wave commutation is:

[0051] θ=30°-Δθ

[0052] For example, when the high-speed permanent magnet synchronous motor detects that the motor speed is 3 kHz, the timer period T3 is set to 25 us, and T2 = 333.3 us. At this time, the rotor angle calculation offset is:

[0053] Δθ=(2π*25μs) / 333,3μs≈27°

[0054] The delay commutation angle required for square wave commutation is:

[0055] θ=30°-27°=3°

[0056] Furthermore, after the back electromotive force of the three-phase winding of the motor passes through the zero point, the closed-loop control of the inductive square wave is performed according to the motor commutation sequence based on the calculated commutation angle and the detected back electromotive force of the three-phase winding of the motor passes through the zero point.

[0057] Embodiment 2:

[0058] High-speed permanent magnet synchronous motor sensorless dual-mode control system, including: FOC calculation module, electrical cycle detection module, switching judgment module, commutation time calculation module, downwind starting module;

[0059] High-speed permanent magnet synchronous motor sensorless dual-mode control system, including: PWM carrier cycle setting module, electrical cycle detection module, switching judgment module, delayed commutation time calculation module, commutation compensation angle calculation module;

[0060] The PWM carrier period setting module obtains a preset PWM carrier period;

[0061] The electrical cycle detection module detects the electrical cycle of the motor and calculates the number of times K of FOC control in a single electrical cycle;

[0062] The switching judgment module judges whether K is lower than the preferred value, and if so, executes the delayed commutation time calculation module and the commutation compensation angle calculation module, otherwise, returns to the electrical cycle detection module;

[0063] The delayed commutation time calculation module turns off the PWM carrier, adopts a tailwind start method, switches the motor from the FOC control mode to the square wave control mode; and estimates the delayed commutation time according to the electrical cycle;

[0064] The commutation compensation angle calculation module turns off the PWM carrier, adopts a tailwind start method, switches the motor from the FOC control mode to the square wave control mode; and estimates the commutation compensation angle according to the electrical cycle;

[0065] The switching judgment module is connected to the PWM carrier cycle setting module and the electrical cycle detection module respectively, and is used to determine whether to switch the control mode according to the ratio of the electrical cycle to the PWM carrier cycle;

[0066] The delayed commutation time calculation module is connected to the PWM carrier cycle setting module and the electrical cycle detection module respectively, and is used to determine and calculate the delayed commutation time under the square wave control mode according to the ratio of the electrical cycle to the PWM carrier cycle;

[0067] The commutation compensation angle calculation module is connected to the PWM carrier period setting module and the electrical period detection module respectively, and is used to determine and calculate the commutation compensation angle under the square wave control mode according to the ratio of the electrical period to the PWM carrier period.

[0068] The switching judgment method is: when the ratio of the PWM carrier period to the electrical period is not less than 12, the motor executes the FOC control mode; when the ratio of the PWM carrier period to the electrical period is not less than 12, the square wave control mode is adopted.

Claims

1. A sensorless dual-mode control method for a high-speed permanent magnet synchronous motor, characterized in that: The following steps are involved: S1: Get the preset PWM carrier period; S2: Detect the motor electrical cycle and calculate the number of times K that FOC control is performed in a single electrical cycle; S3: Determine whether K is lower than the optimal value, if so, execute step S4, otherwise, return to step S2; S4: Turn off the PWM carrier, adopt the downwind start method, switch the motor from FOC control mode to square wave control mode; and estimate the delayed commutation time and commutation compensation angle according to the electrical cycle; In step S2, the motor electrical cycle is detected while the preset PWM carrier cycle is detected, and the number of times K of FOC control is performed in a single electrical cycle is calculated. The specific formula is as follows: Wherein, T1 is the preset PWM carrier period, and T2 is the electrical period; The preferred value in step S3 is 12; In step S4, the commutation compensation angle and the delayed commutation time are estimated according to the electrical cycle, and the specific method is: Commutation compensation angle: Δθ=(2π*T3) / T2 Delayed commutation time:

2. The high-speed permanent magnet synchronous motor sensorless dual-mode control method according to claim 1 is characterized in that: The commutation delay time of the square wave operation in step S4 adopts the sampling of the back electromotive force zero crossing point and the delayed commutation calculation in the timer period T3; and the relationship between the timer period T3 and the PWM carrier period T1 is: T3<10T1.

3. A high-speed permanent magnet synchronous motor sensorless dual-mode control system using the method according to any one of claims 1 to 2, comprising: PWM carrier cycle setting module, electrical cycle detection module, switching judgment module, delayed commutation time calculation module, commutation compensation angle calculation module; The PWM carrier period setting module obtains a preset PWM carrier period; The electrical cycle detection module detects the electrical cycle of the motor and calculates the number of times K of FOC control in a single electrical cycle; The switching judgment module judges whether K is lower than the preferred value, and if so, executes the delayed commutation time calculation module and the commutation compensation angle calculation module, otherwise, returns to the electrical cycle detection module; The delayed commutation time calculation module turns off the PWM carrier, adopts a tailwind start method, switches the motor from the FOC control mode to the square wave control mode; and estimates the delayed commutation time according to the electrical cycle; The commutation compensation angle calculation module turns off the PWM carrier, adopts a tailwind start method, switches the motor from the FOC control mode to the square wave control mode; and estimates the commutation compensation angle according to the electrical cycle; The switching judgment module is connected to the PWM carrier cycle setting module and the electrical cycle detection module respectively, and is used to determine whether to switch the control mode according to the ratio of the electrical cycle to the PWM carrier cycle; The delayed commutation time calculation module is connected to the PWM carrier cycle setting module and the electrical cycle detection module respectively, and is used to determine and calculate the delayed commutation time under the square wave control mode according to the ratio of the electrical cycle to the PWM carrier cycle; The commutation compensation angle calculation module is connected to the PWM carrier period setting module and the electrical period detection module respectively, and is used to determine and calculate the commutation compensation angle under the square wave control mode according to the ratio of the electrical period to the PWM carrier period.

4. The high-speed permanent magnet synchronous motor sensorless dual-mode control system according to claim 3 is characterized in that: The switching judgment method is: when the ratio of the PWM carrier period to the electrical period is not less than 12, the motor executes the FOC control mode; when the ratio of the PWM carrier period to the electrical period is not less than 12, the square wave control mode is adopted.

Citation Information

Patent Citations

  • Permanent magnet synchronous motor control method without position sensor and automobile power system

    CN110995095A

  • Sensorless starting control method of permanent magnet synchronous motor

    CN111106767A

  • Permanent magnet synchronous motor non-inductive FOC control low-frequency on-load starting system and method

    CN113037169A

  • Transition scheme for position sensorless control of ac motor drives

    US20160056740A1