A method for online calibration of current sampling of permanent magnet synchronous motor
Through the combination of sliding mode variable structure position identification and disturbance extreme value search algorithm, the uncertainty of the permanent magnet synchronous motor current sampling calibration method under the influence of operating conditions and environmental factors is solved, and high-precision current detection is achieved, which is suitable for high-voltage applications. Performance Current sampling online calibration of permanent magnet synchronous motors.
Patent Information
- Application Number
- CN202111448954.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-11-30
AI Technical Summary
The existing permanent magnet synchronous motor current sampling and calibration method is not fixed under the influence of operating conditions and environmental factors, cannot be compensated through offline table lookup, and is limited by the installation aperture and spatial layout, making it difficult to use high-precision current sensors and sampling resistors. This results in limited sampling accuracy.
A control system based on sliding mode variable structure position identification and disturbance extreme value search algorithm is used to achieve online calibration of current sampling through current detection, angle deviation selection and position deviation calculation, including the use of sliding mode observers and phase-locked loops, combined with mechanical Identification method under position sensor or without position sensor to calculate accurate current sampling value.
It achieves high-precision current sampling of permanent magnet synchronous motors without increasing hardware costs, improves the accuracy and stability of current detection, and is suitable for high-performance requirements such as vibration and noise control and servo drives.
Smart Images

Figure CN114257151B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of signal detection, and specifically relates to an online calibration method for current sampling of a permanent magnet synchronous motor. The method is suitable for places where high performance indicators of permanent magnet synchronous motors are required, and is particularly suitable for fields such as vibration noise control and servo drive that require permanent magnet synchronous motors to have high-precision current detection. Background Art
[0002] With the improvement of residual magnetic properties of rare earth permanent magnet materials such as NdFeB and the development of modern control technology, permanent magnet synchronous motors are widely used in the field of low-noise marine electric propulsion due to their advantages such as easy maintenance and rapid response. Low-noise and high-precision control of permanent magnet synchronous motors requires high-precision phase current information of the motor. Therefore, it is of great application value to study the current sampling online calibration method suitable for permanent magnet synchronous motors.
[0003] Based on the relationship between phase current amplitude, phase deviation, and state quantities such as torque and speed, many scholars have proposed a series of current sampling correction methods. The 2020 paper "Current Sampling Correction Method Based on Improved Phase Current Reconstruction" obtains the accurate three-phase current of the permanent magnet synchronous motor by adopting the method of phase current reconstruction and zero drift online estimation without increasing hardware costs and investment. However, the existing current sampling calibration method has the following disadvantages:
[0004] 1) Affected by operating conditions, electromagnetic and environmental factors, the current sampling deviation is usually not fixed and cannot be compensated by offline table lookup;
[0005] 2) Due to the influence of mounting aperture and space layout, high-precision current sensors and sampling resistors cannot be used in some occasions;
[0006] 3) High-precision resistors can affect the phase current sampling performance, but the phase current sampling accuracy is affected by multiple factors such as the current sensor accuracy and sampling conditioning circuit, and the improvement of the overall sampling performance has a short board effect. Summary of the invention
[0007] The purpose of the invention is to address the above problems and to propose a simple, reliable and engineering-suitable method for online calibration of permanent magnet synchronous motor current sampling.
[0008] The technical solution adopted by the present invention to solve the technical problem is: a permanent magnet synchronous motor current sampling online calibration method, which is used for a three-phase or multi-phase permanent magnet synchronous motor powered by a voltage type or current type inverter, and is based on a control system composed of a current detection calculation link, a sliding mode variable structure position identification link, an angle deviation selection link, a position deviation calculation link and a current sampling calculation compensation link, and the steps are as follows:
[0009] Step 1: obtain the three-phase current i of the permanent magnet synchronous motor through current sensor samplinga 、i b and i c , for the sampling current i a 、i b and i c By coordinate transformation, we can get the current i in the stationary two-phase coordinate system: α and i β ;
[0010] Step 2: Obtain the initial position identification value of the motor rotor according to the sliding mode variable structure position identification algorithm
[0011] Step 3: Determine the angle deviation based on whether a mechanical position sensor is installed If there is a position sensor, the identification angle deviation comes from the deviation between the position identification value in step 2 and the mechanical position sensor, and then go to step 5; otherwise, jump to step 4 to calculate the identification angle deviation;
[0012] Step 4: Use the perturbation-based extreme value search algorithm to obtain the identification angle deviation without position sensor
[0013] Step 5: Identify deviation based on position Calculate the sampling current amplitude deviation Then calculate the accurate current sampling value i st .
[0014] The method for online calibration of permanent magnet synchronous motor current sampling, step 1 is specifically as follows:
[0015] The current i of the motor stator in the stationary three-phase coordinate system a 、i b and i c The current i can be obtained by 3s / 2s coordinate transformation in the stationary two-phase coordinate system. α and i β , the calculation formula is:
[0016]
[0017] In the method for online calibration of permanent magnet synchronous motor current sampling, in step 1, the sliding mode variable structure position identification is realized by sequential execution of a sliding mode observer and a phase-locked loop. The sliding mode observer can be realized by a second-order or high-order state observer based on current and flux linkage, and the phase-locked loop can be configured as a transfer function of a second-order or high-order pole.
[0018] The method for online calibration of current sampling of a permanent magnet synchronous motor, wherein step 3 is specifically as follows:
[0019] Step 3.1: If the motor is equipped with a mechanical position sensor, identify the angle deviation Calculated by the following formula:
[0020]
[0021] where θ sensor Derived from mechanical position sensor;
[0022] Step 3.2: If the motor does not have a mechanical position sensor, the angle deviation is assigned the value calculated in step 4.
[0023] The method for online calibration of permanent magnet synchronous motor current sampling, step 4 is specifically as follows:
[0024] Step 4.1: transform the sampled current i in the stationary three-phase coordinate system by 3s / 2r rotating coordinate transformation. a 、i b and i c Converted into torque current i q , motor vector control and position change both use the compensated identification angle The calculation formula is:
[0025]
[0026]
[0027] Step 4.2, according to the current torque current i q(n+1) and the torque current i of the previous cycle q(n) , calculate the torque current deviation Δi q , the calculation formula is:
[0028] Δi q =i q(n+1) -i q(n) ;
[0029] Step 4.3, according to the torque current deviation Δi q The absolute value of the position disturbance Δθ is used to calculate the step length a of the change, and the calculation formula is:
[0030] a=f(|Δi q |)
[0031] The position disturbance step length a is the torque current deviation Δi q The positive correlation function between the two can be linear, square or exponential.
[0032] Step 4.4: If the magnitude and direction of the position disturbance are calculated for the first time, set the initial value of Δθ to Δθ initial , position disturbance sign function sgn = 1;
[0033] Step 4.5, if Δiq Greater than zero, indicating that the torque current becomes larger, the position disturbance Δθ sign function assignment needs to be reversed; if Δi q Less than zero, indicating that the torque current becomes smaller, the position disturbance Δθ sign function assignment remains unchanged; if Δi q is equal to zero, indicating that the torque current remains unchanged, and the position disturbance Δθ sign function assignment remains unchanged;
[0034] Step 4.6, if Δi q Equal to zero, indicating that the angle deviation has been identified under position sensorless control Exit step 4; if Δi q Not equal to zero or the first calculated position disturbance, indicating that the angle deviation has not yet been identified At this time, using the integral function Add the deviation to the initial position identification value of the position identification algorithm Then continue to iteratively calculate the position disturbance Δθ.
[0035] The method for online calibration of permanent magnet synchronous motor current sampling, step 5 specifically comprises:
[0036] Step 5.1, according to the identification angle deviation Calculate the sampling current amplitude deviation The calculation formula is:
[0037]
[0038] Step 5.2: Update the accurate current sampling value i according to the sampling current amplitude deviation st , the calculation formula is:
[0039]
[0040] Among them I s and i s are the initial sampling amplitude and real-time value of the ABC phase current, i st is the calibrated phase current sampling value.
[0041] The beneficial effects of the present invention are: using a sliding mode variable structure position identification algorithm to obtain an initial position identification value, then using a disturbance-based extreme value search algorithm to obtain a steady-state value of the position identification deviation without a position sensor, and after selecting the angle deviation, obtaining a compensation value of the sampling current based on the relationship between the position identification deviation and the phase current sampling deviation. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is a structural schematic diagram of the present invention.
[0043] The figures are marked as follows: 1—current detection and calculation link, 2—sliding mode variable structure position identification link, 3—angle deviation selection link, 4—position deviation calculation link, 5—current sampling calculation and compensation link. DETAILED DESCRIPTION
[0044] The specific implementation of the present invention is described below with reference to the accompanying drawings and examples.
[0045] like Figure 1 As shown, the control system of the present invention for a three-phase or multi-phase permanent magnet synchronous motor powered by a voltage type or current type inverter is composed of a current detection calculation link 1, a sliding mode variable structure position identification link 2, an angle deviation selection link 3, a position deviation calculation link 4 and a current sampling calculation compensation link 5. The control method includes the following steps:
[0046] Step 1: obtain the three-phase current i of the permanent magnet synchronous motor through current sensor sampling a 、i b and i c , for the sampling current i a 、i b and i c By coordinate transformation, we can get the current i in the stationary two-phase coordinate system: α and i β , the calculation formula is:
[0047]
[0048] Step 2: Obtain the initial position identification value of the motor rotor according to the sliding mode variable structure position identification algorithm The sliding mode observer can be realized by a second-order or high-order state observer based on current and flux, and the phase-locked loop can be configured as a transfer function with second-order or high-order poles.
[0049] Step 3: Determine the angle deviation based on whether a mechanical position sensor is installed If there is a position sensor, the angle deviation is derived from the deviation between the position identification value in step 2 and the mechanical position sensor. Then go to step 5; otherwise, jump to step 4 to calculate the identification angle deviation.
[0050] Step 4: Use the perturbation-based extreme value search algorithm to obtain the identification angle deviation without position sensor Specifically include:
[0051] Step 4.1: transform the sampled current i in the stationary three-phase coordinate system by 3s / 2r rotating coordinate transformation. a 、i b and i c Converted into torque current i q, where motor vector control and position transformation both use the compensated identification angle The calculation formula is:
[0052]
[0053]
[0054] Step 4.2, according to the current torque current i q(n+1) and the torque current i of the previous cycle q(n) , calculate the torque current deviation Δi q , the calculation formula is:
[0055] Δi q =i q(n+1) -i q(n)
[0056] Step 4.3, according to the torque current deviation Δi q The absolute value of the position disturbance Δθ is used to calculate the step length a of the change, and the calculation formula is:
[0057]
[0058] Position disturbance step a and torque current deviation Δi q There is a positive correlation function relationship between them. A and B in the above formula are two implementation cases. 1 and k 2 It must be a positive number, and n must be a positive integer.
[0059] Step 4.4, when calculating the magnitude and direction of the position disturbance for the first time, set the initial value of Δθ initial is 0.03rad, position disturbance sign function sgn=1;
[0060] Step 4.5, if Δi q Greater than zero, indicating that the torque current becomes larger, the position disturbance Δθ sign function assignment needs to be inverted sgn = -sgn; if Δi q Less than zero, indicating that the torque current becomes smaller, the position disturbance Δθ sign function assignment remains unchanged; if Δi q is equal to zero, indicating that the torque current remains unchanged, and the position disturbance Δθ sign function assignment remains unchanged;
[0061] Step 4.6, if Δi q Equal to zero, indicating that the angle deviation has been identified under position sensorless control You can exit step 4; if Δi q Not equal to zero or the first calculated position disturbance, indicating that the angle deviation has not yet been identified At this time, using the digital integration function Add the deviation to the initial position identification value of the position identification algorithm Then continue to iteratively calculate the position disturbance Δθ.
[0062] Step 5: Identify deviation based on position Calculate the sampling current amplitude deviation Then calculate the accurate current sampling value i st . Specifically include:
[0063] Step 5.1, according to the identification angle deviation Calculate the sampling current amplitude deviation The calculation formula is:
[0064]
[0065] Step 5.2, calculate the accurate current sampling value i according to the sampling current amplitude deviation t , the calculation formula is:
[0066]
[0067] Among them, I s and i s are the initial sampling amplitude and real-time value of the ABC phase current, i st is the calibrated phase current sampling value.
[0068] The above embodiments are only illustrative of the principles and effects of the present invention, as well as some embodiments of its application. For those skilled in the art, several modifications and improvements may be made without departing from the creative concept of the present invention, and all of these belong to the protection scope of the present invention.
Claims
1. A method for online calibration of current sampling of a permanent magnet synchronous motor, based on a control system consisting of a current detection calculation link (1), a sliding mode variable structure position identification link (2), an angle deviation selection link (3), a position deviation calculation link (4) and a current sampling calculation compensation link (5), characterized in that: Steps Step 1: obtain the three-phase current i of the permanent magnet synchronous motor through current sensor sampling a 、i b and i c , for the sampling current i a 、i b and i c Perform coordinate transformation to obtain the current i in the stationary two-phase coordinate system α and i β ; Step 2: Obtain the initial position identification value of the motor rotor according to the sliding mode variable structure position identification algorithm Step 3: Determine the angle deviation based on whether a mechanical position sensor is installed If there is a position sensor, the identification angle deviation comes from the deviation between the position identification value in step 2 and the mechanical position sensor, and then go to step 5; otherwise, jump to step 4 to calculate the identification angle deviation; Step 4: Use the perturbation-based extreme value search algorithm to obtain the identification angle deviation without position sensor Step 5: Identify deviation based on position Calculate the sampling current amplitude deviation Then calculate the accurate current sampling value i st : Step 5.1, according to the identification angle deviation Calculate the sampling current amplitude deviation The calculation formula is: Step 5.2: Update the accurate current sampling value i according to the sampling current amplitude deviation st , the calculation formula is: Among them I s and i s are the initial sampling amplitude and real-time value of the ABC phase current, i st is the calibrated phase current sampling value.
2. A permanent magnet synchronous motor current sampling online calibration method according to claim 1, characterized in that: The step 1 is specifically as follows: The current i of the motor stator in the stationary three-phase coordinate system a 、i b and i c The current i is obtained by 3s / 2s coordinate transformation in the stationary two-phase coordinate system. α and i β , the calculation formula is:
3. A permanent magnet synchronous motor current sampling online calibration method according to claim 2, characterized in that: The sliding mode variable structure position identification in step 2 is realized by sequentially executing a sliding mode observer and a phase-locked loop. The sliding mode observer is realized by a second-order or high-order state observer based on current and flux linkage, and the phase-locked loop is configured as a transfer function of a second-order or high-order pole.
4. A method for online calibration of current sampling of a permanent magnet synchronous motor according to claim 3, characterized in that: The step 3 is specifically as follows: Step 3.1: If the motor is equipped with a mechanical position sensor, identify the angle deviation Calculated by the following formula: where θ sensor Derived from mechanical position sensor; Step 3.2: If the motor does not have a mechanical position sensor, the angle deviation is assigned the value calculated in step 4.
5. A method for online calibration of current sampling of a permanent magnet synchronous motor according to claim 4, characterized in that: The step 4 is specifically as follows: Step 4.1: transform the sampled current i in the stationary three-phase coordinate system by 3s / 2r rotating coordinate transformation. a 、i b and i c Converted into torque current i q , motor vector control and position change both use the compensated identification angle The calculation formula is: Step 4.2, according to the current torque current i q(n+1) and the torque current i of the previous cycle q(n) , calculate the torque current deviation Δi q , the calculation formula is: Δi q =i q(n+1) -i q(n) ; Step 4.3, according to the torque current deviation Δi q The absolute value of the position disturbance Δθ is used to calculate the step length a of the change, and the calculation formula is: a=f(Δi q |) The position disturbance step length a is the torque current deviation Δi q A positive correlation function, with a linear, square or exponential relationship between the two; Step 4.4: If the magnitude and direction of the position disturbance are calculated for the first time, set the initial value of Δθ to Δθ initial , position disturbance sign function sgn = 1; Step 4.5, if Δi q Greater than zero, indicating that the torque current becomes larger, the position disturbance Δθ sign function assignment needs to be reversed; if Δi q Less than zero, it means that the torque current becomes smaller, and the sign function assignment of the position disturbance Δθ remains unchanged; If Δi q is equal to zero, indicating that the torque current remains unchanged, and the position disturbance Δθ sign function assignment remains unchanged; Step 4.6, if Δi q Equal to zero, indicating that the angle deviation has been identified under position sensorless control Exit step 4; if Δi q Not equal to zero or the first calculated position disturbance, indicating that the angle deviation has not yet been identified At this time, using the integral function Add the deviation to the initial position identification value of the position identification algorithm Then continue to iteratively calculate the position disturbance Δθ.
Citation Information
Patent Citations
Non-position sensor control method for permanent magnet synchronous motor
CN109586635A
Permanent magnet synchronous motor inductance parameter identification system and method
CN109802614A
