A kind of permanent magnet synchronous motor automatic calibration method
Technical field
The present invention relates to pure electric automobiles to demarcate testing field, and in particular to a kind of permanent magnet synchronous motor automatic Calibration side
Method.
Background technique
New-energy automobile has outstanding advantages of energy-saving and environmental protection, pollution-free for conventional fuel oil car, and by
In the support energetically of national policy, new-energy automobile industry shows swift and violent growth momentum.Motor and its drive system are new
The core component of energy automobile power assembly, permanent magnet synchronous motor is by its power factor (PF) is high, high-efficient, control performance is good, turns
Dynamic inertia is small to wait outstanding advantages, it has also become the first choice of domestic New energy automobile motor.
In order to give full play to the performance of permanent magnet synchronous motor, need in advance to carry out the corresponding relationship of motor torque and electric current
Calibration, often referred to simply as motor are demarcated.In the following torque capacity electric current that obtains of base speed than corresponding point;It is obtained more than base speed
Torque capacity voltage is than corresponding point.Motor calibration at present is largely by manually completing, this process needs to consume
Take biggish human and material resources and time cost, and since data volume is huge, manual record process inevitably malfunctions, to influence
The accuracy of motor nominal data.
To avoid the above problem, having minority motor calibration process is automatically performed by program, in the prior art, public
The number of opening is that the patent of invention of CN106301100A discloses automatic calibration method, system and the control of a kind of permanent magnet synchronous motor
Device, this method, system and controller application are in the control device of permanent magnet synchronous motor, in control permanent magnet synchronous motor with default
After the initial operation that parameter starts running, through the operation of overwriting motor torque, torque capacity operation, current value step-by-step operation are calculated
Afterwards generate comprising for control permanent magnet synchronous motor normal operation comprising current value corresponding with each present drive current, turn
Three dimension tables of square array and angle array complete the Optimum Matching carried out to the electric current of permanent magnet synchronous motor and torque.But
The patent still has following deficiency:
1, torque measurement process is a steps necessary of current scaling method, and torque value need to be from power analyzer, torque
It is obtained outside sensor etc., higher requirement is proposed to equipment needed for calibration, increases calibration cost;
2, the torque value obtained in calibration process from external equipment need to also be transmitted to motor by associated data traffic means
Controller, process is many and diverse, and the torque value that electric machine controller obtains inevitably has latency issue;
3, it is difficult to combine base speed torque capacity electric current below than torque capacity voltage ratio more than calibration and base speed
The problem of calibration;
4, the problem that do not made rational planning for the change procedure of current vector angle in calibration process and cause system out of control,
Existing method mostly allows current vector angle to be gradually increased to 90 degree from 0 degree, and when more than base speed, current vector angle is directly given as
0 degree will lead to the problem of undertension is to adjust size of current, cause motor out of control.
According to the above problem, a kind of permanent magnet synchronous motor automatic calibration method of no torque measurement process is needed now.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of permanent magnet synchronous motor automatic calibration method, the method packet
Include following steps:
The permanent magnet synchronous motor that step 1, dynamometer machine dragging are calibrated is run under the revolving speed of setting;
Torque capacity current point under step 2, record setting electric current vector magnitude, i.e. optimal working point:
Step 2.1, the current phasor amplitude for setting permanent magnet synchronous motor,
Step 2.2, the current vector angle for setting permanent magnet synchronous motor, and the current vector angle is pressed into predetermined angle gradient
Successively decrease step by step,
Step 2.3, according to the current phasor amplitude and the current vector angle, calculate the quadrature axis electricity of permanent magnet synchronous motor
Instruction value, direct axis current demand value are flowed,
Step 2.4, according to the quadrature axis current axis demand value, the direct axis current demand value, modulated using existing SVPWM
Algorithm carries out closed-loop current control to permanent magnet synchronous motor, estimates the motor torque under current flow azimuth,
Step 2.5 judges whether the torque of the permanent magnet synchronous motor under the current flow azimuth estimated is less than or equal to
The torque of the permanent magnet synchronous motor of estimation under one current vector angle, if so, record data, count according to including a upper electric current
The revolving speed of permanent magnet synchronous motor under azimuth, current phasor amplitude, current vector angle, quadrature axis current axis demand value, direct-axis current
Instruction value and motor torque;If it is not, then calculating the amplitude U of given voltage vector by formula (1):
In formula, udIt * is d axis given voltage, uq* be q axis given voltage, judge the given voltage vector amplitude whether
Less than the DC bus-bar voltage of permanent magnet synchronous motor, if so, current vector angle successively decreases according to predetermined current azimuth gradient, and
Return step 2.3;If it is not, then recording data, the recorded permanent magnet synchronous motor including under a upper current vector angle turns
Speed, current phasor amplitude, current vector angle, quadrature axis current axis demand value, direct axis current demand value and motor torque;
Step 3, current phasor amplitude increase step by step according to predetermined current gradient:
After step 3.1, record data, the current phasor amplitude in step 2.1 is increased step by step according to predetermined current gradient,
And step 2.2-2.5 is repeated,
Step 3.2 judges whether current flow vector magnitude is greater than the specified maximum current of designing permanent-magnet synchronous motor,
If so, the dynamometer machine revolving speed in step 1 is incremented by according to preset rotation speed gradient, if it is not, then returning to step 3.1;
Step 3.3 judges whether current dynamometer machine revolving speed is greater than motor maximum (top) speed, if so, terminate calibration, if it is not,
Return step 2.
Further, the motor torque under estimation current flow azimuth described in step 2.4, comprising the following steps:
Step 2.4.1, d-c bus voltage value is read by voltage sensor;
Step 2.4.2, DC bus-bar voltage is reverse by permanent magnet synchronous motor winding by existing SVPWM control algolithm
Three-phase voltage, the product for the control amount that DC bus-bar voltage and SVPWM modulation algorithm are generated is as the three-phase voltage of winding
Value;
Step 2.4.3, the three-phase electricity flow valuve of winding, the three-phase electricity flow valuve difference of the winding are obtained by current sensor
Mutually it is worth with the three-phase voltage of the winding and is multiplied, then sums, the input side power as motor;
Step 2.4.4, the square value of the three-phase electricity flow valuve of the winding is multiplied with the resistance of corresponding winding respectively, then asked
With loss power as motor;
Step 2.4.5, the loss power that the input side power of motor is subtracted to motor, the electromagnetic power as motor;
Step 2.4.6, the mechanical angular speed for obtaining the electromagnetic power of motor divided by the position sensor of motor is as electricity
Machine torque.
Further, the initial value of current phasor amplitude described in the step 2.1 is zero ampere.
Further, the initial value of current vector angle described in the step 2.2 is 90 degree.
Further, predetermined angle gradient described in the step 2.2 is any value in 0.1~1 degree.
Further, predetermined current gradient described in the step 3.2 is any value in 5~20 amperes.
Further, preset rotation speed gradient described in the step 3.3 is any value in 500r/min-1000r/min.
The beneficial effects of the present invention are:
1, the automatic calibration method of a kind of permanent magnet synchronous motor of the present invention avoids work brought by calibration manually
The problem of amount is big, calibration cost of human and material resources are high, manual record data are easy error;
2, the automatic calibration method of a kind of permanent magnet synchronous motor of the present invention is equipped with power analysis without calibration system
The hardware devices such as instrument, torque sensor reduce dependence and calibration cost of the calibration process to equipment;
3, the automatic calibration method of a kind of permanent magnet synchronous motor of the present invention, the motor torque in calibration process are estimations
It obtains, avoids and obtain torque value from external equipment, then be transmitted to electric machine controller by associated data traffic means, simplify
Torque acquisition process, and avoid electric machine controller motor torque is obtained from external hardware device by means of communication and brought
Latency issue;
4, the automatic calibration method of a kind of permanent magnet synchronous motor of the present invention, during finding maximum torque point also
The amplitude and bus voltage amplitude of voltage vector are compared, once it finds maximum torque point or voltage vector occurs
Amplitude is greater than the case where bus voltage amplitude, then maintains current vector angle constant, that is, has taken into account base speed torque capacity electricity below
It flows than demarcating with torque capacity voltage more than base speed than calibration;
5, the automatic calibration method of a kind of permanent magnet synchronous motor of the present invention, passes through the change procedure to current vector angle
It makes rational planning for, is gradually reduced it from 90 °, avoid existing method and current vector angle is allowed to be gradually increased to 90 degree from 0 degree
When caused base speed is above current vector angle be directly given as 0 degree caused by undertension to adjust size of current the problem of and
Motor problem out of control.
Detailed description of the invention
Fig. 1 is the flow chart of permanent magnet synchronous motor automatic calibration method of the present invention;
Fig. 2 is the system diagram of the PMSM space voltage vector control based on current control.
Specific embodiment
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
As shown in Figs. 1-2, it the described method comprises the following steps:
The permanent magnet synchronous motor that step 1, dynamometer machine dragging are calibrated is run under the revolving speed of setting, demarcates permanent magnet synchronous electric
Torque capacity current point of the machine under different rotating speeds, is calibrated optimal working point of the permanent magnet synchronous motor under different rotating speeds not
It is identical, multiple revolving speed points need to be chosen from permanent magnet synchronous motor zero speed to maximum (top) speed, record the revolving speed of permanent-magnet synchronous most respectively
Excellent operating point sets dynamometer machine initial value, that is, sets the revolving speed point of first calibration, starts permanent magnet synchronous motor calibration process;
Torque capacity current point under step 2, record setting electric current vector magnitude, i.e. optimal working point:
Step 2.1, the current phasor amplitude for setting permanent magnet synchronous motor,
Step 2.2, the current vector angle for setting permanent magnet synchronous motor, and the current vector angle is pressed into predetermined angle gradient
Successively decrease step by step,
Step 2.3, according to the current phasor amplitude and the current vector angle, calculate the quadrature axis electricity of permanent magnet synchronous motor
Instruction value, direct axis current demand value are flowed,
Step 2.4, according to the quadrature axis current axis demand value, the direct axis current demand value, modulated using existing SVPWM
Algorithm carries out closed-loop current control to permanent magnet synchronous motor, estimates the motor torque under current flow azimuth,
Step 2.5 judges whether the torque of the permanent magnet synchronous motor under the current flow azimuth estimated is less than or equal to
The torque of the permanent magnet synchronous motor of estimation under one current vector angle, if so, record data, count according to including a upper electric current
The revolving speed of permanent magnet synchronous motor under azimuth, current phasor amplitude, current vector angle, quadrature axis current axis demand value, direct-axis current
Instruction value and motor torque;If it is not, then calculating the amplitude U of given voltage vector by formula (1):
In formula, udIt * is d axis given voltage, uq* be q axis given voltage, judge the given voltage vector amplitude whether
Less than the DC bus-bar voltage of permanent magnet synchronous motor, if so, current vector angle successively decreases according to predetermined current azimuth gradient, and
Return step 2.3;If it is not, then record data, count according to include permanent magnet synchronous motor under a upper current vector angle revolving speed,
Current phasor amplitude, current vector angle, quadrature axis current axis demand value, direct axis current demand value and motor torque;
Step 3, current phasor amplitude increase step by step according to predetermined current gradient:
After step 3.1, record data, the current phasor amplitude in step 2.1 is increased step by step according to predetermined current gradient,
And step 2.2-2.5 is repeated,
Step 3.2 judges whether current flow vector magnitude is greater than the specified maximum current of designing permanent-magnet synchronous motor,
If so, the dynamometer machine revolving speed in step 1 is incremented by according to preset rotation speed gradient, if it is not, then returning to step 3.1;
Step 3.3 judges whether current dynamometer machine revolving speed is greater than motor maximum (top) speed, if so, terminate calibration, if it is not,
Return step 2.
Further, the motor torque under estimation current flow azimuth described in step 2.4, comprising the following steps:
Step 2.4.1, d-c bus voltage value is read by voltage sensor;
Step 2.4.2, DC bus-bar voltage is reverse by permanent magnet synchronous motor winding by existing SVPWM control algolithm
Three-phase voltage, the product for the control amount that DC bus-bar voltage and existing SVPWM modulation algorithm are generated is as the three of winding
Phase voltage value;
Step 2.4.3, the three-phase electricity flow valuve of winding, the three-phase electricity flow valuve difference of the winding are obtained by current sensor
Mutually it is worth with the three-phase voltage of the winding and is multiplied, then sums, the input side power as motor;
Step 2.4.4, the square value of the three-phase electricity flow valuve of the winding is multiplied with the resistance of corresponding winding respectively, then asked
With loss power as motor;
Step 2.4.5, the loss power that the input side power of motor is subtracted to motor, the electromagnetic power as motor;
Step 2.4.6, the mechanical angular speed for obtaining the electromagnetic power of motor divided by the position sensor of motor is as electricity
Machine torque.
Further, the initial value of current phasor amplitude described in the step 2.1 is zero ampere.
Further, the initial value of current vector angle described in the step 2.2 is 90 degree.
Further, predetermined angle gradient described in the step 2.2 is any value in 0.1~1 degree.
Further, predetermined current gradient described in the step 3.2 is any value in 5~20 amperes.
Further, preset rotation speed gradient described in the step 3.3 is any value in 500r/min-1000r/min.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.