[go: up one dir, main page]

CN107645259B - Driving motor torque closed-loop control method for electric automobile - Google Patents

Driving motor torque closed-loop control method for electric automobile Download PDF

Info

Publication number
CN107645259B
CN107645259B CN201710619736.0A CN201710619736A CN107645259B CN 107645259 B CN107645259 B CN 107645259B CN 201710619736 A CN201710619736 A CN 201710619736A CN 107645259 B CN107645259 B CN 107645259B
Authority
CN
China
Prior art keywords
torque
motor
current
unit
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710619736.0A
Other languages
Chinese (zh)
Other versions
CN107645259A (en
Inventor
文彦东
刘志强
赵慧超
暴杰
张颖
郭璐璐
胡晶
胡波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN201710619736.0A priority Critical patent/CN107645259B/en
Publication of CN107645259A publication Critical patent/CN107645259A/en
Application granted granted Critical
Publication of CN107645259B publication Critical patent/CN107645259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

本发明涉及一种电动汽车用驱动电机转矩闭环控制方法,由整车控制单元、电机控制器、逆变开关电路、永磁同步电机、位置传感器和三相电流传感器组成,其特征在于根据主动短路控制指令(ASC_Enable)和电机机械转速判断是否进行主动短路控制,通过主动短路法计算永磁同步电机输出转矩,其不依赖如定子电阻和直交轴电压等电机参数,计算值更加准确;电机控制器再根据整车控制单元发出的转矩命令和转矩在线计算值进行PI调节控制,可提高转矩输出绝对值的准确性,加快了转矩闭环响应时间。

Figure 201710619736

The invention relates to a torque closed-loop control method of a drive motor for an electric vehicle, which consists of a vehicle control unit, a motor controller, an inverter switch circuit, a permanent magnet synchronous motor, a position sensor and a three-phase current sensor. The short-circuit control command (ASC_Enable) and the mechanical speed of the motor determine whether active short-circuit control is performed, and the output torque of the permanent magnet synchronous motor is calculated by the active short-circuit method, which does not depend on motor parameters such as stator resistance and DC axis voltage, and the calculated value is more accurate; motor The controller then performs PI adjustment and control according to the torque command sent by the vehicle control unit and the torque online calculation value, which can improve the accuracy of the absolute value of the torque output and speed up the torque closed-loop response time.

Figure 201710619736

Description

Driving motor torque closed-loop control method for electric automobile
Technical Field
The invention belongs to the technical field of motor drive control, and particularly relates to a drive motor torque closed-loop control method for an electric automobile.
Background
The driving motor is a main driving source of the electric automobile, and for the plug-in hybrid power of the hybrid power automobile, the motor and the engine jointly drive the whole automobile; for a pure electric vehicle, the motor is the only driving source. The permanent magnet synchronous motor is widely applied to electric automobiles, and has the advantages of high efficiency, high power density and torque density, more suppliers and rich rare earth resources in China. The motor adopts a torque control mode in the whole vehicle, and the motorThe control modes are more, such as rotating speed, torque, voltage and power, but the torque control mode is mainly used. The core of the torque control method is MTPA (maximum torque current ratio) and flux weakening control. The current torque control method has some problems, namely that the torque is greatly influenced by temperature, the torque is composed of two parts of electromagnetic torque and reluctance torque, and the electromagnetic torque and the permanent magnet flux linkage form ymThe size is proportional. The output torque of the motor is reduced at high temperature, and the output torque is increased at low temperature; secondly, the temperature of the rotor is difficult to measure, the permanent magnet flux linkage corresponds to the temperature of the rotor one by one, and the temperature of the rotor cannot be directly measured; the cost is high and the arrangement space is limited due to the built-in temperature sensor; the method is based on motor body parameters and a motor structure, and has the advantages of complex algorithm, large calculation amount and poor consistency; and thirdly, the influence on the whole vehicle is mainly reflected in the influence on the torque distribution accuracy of the whole vehicle. The high and low temperature starting characteristics are different. The braking force distribution and the braking energy recovery effect are influenced. Therefore, the electromagnetic torque of the permanent magnet synchronous motor is greatly influenced by the temperature, the higher the temperature is, the lower the output is, and the higher the output is otherwise; the permanent magnet material has great sensitivity to temperature, and when the temperature is increased by 100 ℃ in the case of the neodymium iron boron material, the magnetic flux of each air gap of the motor is reduced by about 12.6%, and the electromagnetic torque is reduced by 12.6% under the condition of the same armature current. The electromagnetic torque is directly related to the rotor temperature, but the rotor temperature cannot be directly measured, and the rotor temperature model has the advantages of complex algorithm, poor consistency and low precision. The actual output torque of the motor is greatly influenced by the temperature.
Application No. 201611002479.8 discloses a "permanent magnet synchronous motor torque control method", which provides estimation and predictive control based on a driving torque demand, and the motor torque predictive control flow is as follows: firstly, converting a torque reference value into a motor stator vector current reference value according to a motor equation; establishing a relational expression between the switching state of the three-phase inverter and the output vector voltage; estimating the current value of the next time domain; the optimal switch combination state acts on the inverter driving motor; the torque control method is to collect pedal information of a driver and wheel rotating speed information and calculate a driving torque value required by the vehicle according to a mechanical external characteristic curve of the permanent magnet synchronous motor. The method uses the d-axis current as zero control, is only suitable for a surface-mounted permanent magnet synchronous motor and is not suitable for an embedded permanent magnet synchronous motor; in addition, the changes of the motor quadrature-direct axis inductance parameter and the stator resistance are not considered when estimating the next time domain current value, so the accuracy of torque demand estimation and control is deteriorated after the temperature changes.
Application No. 200810127261.4 discloses a method of controlling motor torque in a hybrid electric vehicle, which provides a method of controlling motor torque in a hybrid electric vehicle that can reduce current control map formation time and simplify a control algorithm by providing torque control compensation logic for temperature variation of a hybrid electric vehicle motor. The method needs to take the motor temperature as an input condition, but the motor temperature cannot be directly measured, so that the realization and control effects of the algorithm are influenced.
Application number 201510404364.0 discloses a method and a device for suppressing harmonic current of a permanent magnet synchronous motor, which are characterized in that a d-axis current deviation and/or a q-axis current deviation of harmonic current to be suppressed are obtained, a Fourier analysis method is adopted to extract harmonic current signals to be suppressed, filtering and superposition are performed, meanwhile, angle compensation is performed on the electrical angle of the motor, signal reconstruction is performed together with the harmonic current signals, and output of a repetitive controller is obtained. The method can well inhibit the magnitude of harmonic current, thereby achieving the purpose of inhibiting torque ripple.
Application No. 201610511750.4 discloses a "permanent magnet synchronous motor control method and system", which calculates a feedback exciting current and a feedback torque current of a motor according to an output current by detecting the output current of a motor stator; then calculating the given torque current and the given exciting current of the motor; and substituting the feedback exciting current, the feedback torque current, the given torque current and the given exciting current into a current loop, and calculating the exciting voltage and the torque voltage of the current loop. And converting the excitation voltage and the torque voltage into driving signals to be applied to the motor, and sampling the feedback excitation current and the given torque current on the motor at the moment. And repeatedly bringing the sampled feedback exciting current and the given torque current into the process, and sampling new feedback exciting current and the given torque current until the torque current and the exciting current of the motor are dynamically stable. Therefore, the calculation process adopts an iterative mode, only a part of the MTPA formula is selected, the MTPA (optimal torque control) effect can be achieved, the calculation amount of the program is reduced, and the chip utilization efficiency of the motor related system is improved.
The application number 201310260278.8 discloses a direct torque control system and method for a permanent magnet synchronous motor for an electric vehicle, which includes detecting three-phase current and voltage output by an inverter and direct current bus voltage of the inverter, obtaining electromagnetic torque, stator flux linkage and sector theta where the stator flux linkage is located in the current state through a torque, flux linkage and theta calculation unit, performing composite control on a speed ring by adopting wavelet multi-resolution control and an integral structure, comparing the calculated flux linkage and torque with a given flux linkage and a given torque signal output by a composite control regulator, outputting a current flux linkage torque error state, determining a voltage vector to be selected together with the sector where the flux linkage is located, further determining the switching state of the inverter, and controlling the operation of the permanent magnet synchronous motor.
As described above, the above-mentioned patent proposes a torque control method from different points of view and aspects, but the case where the torque output is reduced due to the increase in the temperature of the rotor caused by the long-time operation is not considered sufficiently, and the problems such as insufficient torque output or reduced braking capability may occur in the actual application process.
Disclosure of Invention
The invention aims to provide a driving motor torque closed-loop control method for an electric automobile, aiming at the defects of the prior art, which does not depend on motor parameters such as stator resistance, quadrature axis voltage and the like, and has more accurate calculated value; the motor controller carries out PI regulation control according to a torque command and a torque online calculated value sent by a finished automobile control unit, so that the accuracy of a torque output absolute value can be improved, and the torque closed-loop response time is shortened.
The invention is realized by the following technical scheme:
a closed-loop control method for the torque of a driving motor for an electric automobile is characterized by comprising a whole automobile control unit, a motor controller, an inverter switch circuit, a permanent magnet synchronous motor, a position sensor and a three-phase current sensor;
the whole vehicle control unit sends out three-phase short circuit control T to the motor controller through the CAN bus according to the working mode of the whole vehiclepscAnd torque command Tcmd
The motor controller comprises a CAN command decomposition unit, a torque PI regulation module, a quadrature axis current command generation unit, a quadrature axis current PI regulation module, a voltage decoupling control unit, a space vector modulation unit, a position and rotating speed processing unit, a CLARK&The device comprises a PARK conversion unit, a torque on-line calculation module and a torque limit value generation module; the motor controller controls T according to the three-phase short circuit sent by the control unit of the whole vehiclepscJudging whether to carry out active short circuit control according to the mechanical rotating speed omega of the motor, and simultaneously satisfying TpscIf the rotating speed of the motor is 1 and the mechanical rotating speed of the motor exceeds the rotating speed of an inflection point, the condition is met, an active short circuit PWM signal is output to an inverter switch circuit, and three IGBTs of an upper bridge arm or a lower bridge arm of a three-phase full bridge are controlled to be closed simultaneously; otherwise, if the condition is not met, calculating the duty ratio of the three-phase PWM signal according to the quadrature axis reference voltage and the position signal, and controlling the IGBT to carry out switching operation; the motor controller sends a torque instruction T to a vehicle control unitcmdAnd the calculated value T output by the torque online calculation moduleonlineAnd the output torque is input to a torque PI adjusting module, so that the output torque of the permanent magnet synchronous motor reaches a target value.
The torque PI adjusting module comprises an addition module, an anti-saturation PI structural unit and an amplitude limiter; wherein the addition module generates delta e by making a difference between the two inputs. When the proportional term and the integral term are input into the anti-saturation PI structural unit, the proportional term and the integral term are both effective under the condition that the anti-saturation PI structural unit is not saturated, namely, the anti-saturation integral loop is effective under the condition that the anti-saturation PI structural unit is saturated, namely, the eo and the out are not equal. The anti-saturation PI structural unit outputs out, and the out and the torque instruction TcmdAdding again, inputting the sum of the two into a limiter, and outputting a torque reference value T after limiting*(ii) a Wherein, the analytic formula of the anti-saturation PI structure is as follows:
eo=out{out(t)=Kp·e(t)+Ki∫e(t)}
Figure DEST_PATH_FDA0002464909610000011
wherein eo is the calculated output value of PI, out is the limited output value, KpIs a proportionality coefficient, KiIs an integral coefficient; e _ sat is the maximum amplitude limiting output value when the anti-saturation PI structural unit is saturated; e (t) is the deviation value at the time t, and out (t) is the output value of the anti-saturation PI structure unit at the time t;
the rectangular-axis current instruction generating unit generates a rectangular-axis current instruction according to a torque reference value T*A rectangular axis current command value is obtained by a table look-up, and a line which can be connected with a point of Maximum torque obtained by minimum current in a current torque characteristic curve is a Maximum torque current ratio curve (MTPA)*The index is output as a rectangular axis current instruction value;
the quadrature axis current PI adjusting module is used for adjusting a command value i according to a quadrature axis current instructiond_cmdAnd quadrature axis current command value iq_cmdAnd CLARK&Direct-axis current feedback value i output by PARK conversion unitdfeedbackAnd quadrature axis current feedback value iqfeedbackPerforming PI operation to obtain the reference values i of the direct-axis current and the quadrature-axis currentd *And iq *The internal structures of the quadrature axis current PI regulation module and the torque PI regulation module are the same, and only the inputs are different.
The voltage decoupling control unit performs decoupling according to a steady-state voltage equation and outputs a quadrature axis voltage reference value ud *And uq *The concrete formula is as follows:
ud *=Rid *-pωLqiq * (2)
uq *=Riq *+pω(Ldid *m) (3)
wherein, R is the stator resistance,p is the number of pole pairs of the motor rotor, omega is the mechanical rotating speed of the motor, LdIs a direct axis inductor, LqIs a quadrature axis inductor, id *Is a direct-axis current reference value, iq *Is a quadrature axis current reference value, ud *For the direct-axis voltage decoupling value, uq *For quadrature-axis voltage decoupling value, #mIs a permanent magnet flux linkage.
The space vector modulation unit controls T according to the three-phase short circuit sent by the whole vehicle control unitpscJudging whether to carry out active short circuit control according to the mechanical rotating speed omega of the motor, and simultaneously satisfying TpscIf the number is 1 and the mechanical rotating speed of the motor exceeds the rotating speed of an inflection point, the condition is met, an active short circuit PWM signal is output to an inverter switch circuit, and three IGBTs of an upper bridge arm or a lower bridge arm of the inverter switch circuit are controlled to be closed at the same time; otherwise, if the condition is not met, calculating the duty ratio of the three-phase PWM signal according to the quadrature axis reference voltage and the position signal, and controlling the IGBT to carry out switching operation;
the position and rotation speed processing unit calculates the rotor position theta and the mechanical rotation speed omega of the motor according to the output signal of the position sensor;
the CLARK&The PARK conversion unit receives the three-phase alternating current i detected by the current sensora、ib、icAnd the position signal theta output by the position and rotating speed processing unit is converted into a direct-axis current i under a rotating coordinate system according to a formula (4), a formula (5) and a formula (6)dQuadrature axis current iq
The CLARK transformation formula is as follows:
iα=ia (4)
Figure GDA0002548912730000041
the PARK transformation formula is as follows:
Figure GDA0002548912730000042
wherein iα、iβIs alpha in a stationary coordinate systemBeta axis current; i.e. ia、ib、icIs a three-phase alternating current; theta rotor position electrical angle; i.e. id、iqThe direct axis current and the quadrature axis current under the rotating coordinate system.
The torque online calculation module comprises an alternating current phase current amplitude calculation unit, a permanent magnet flux linkage table look-up module, a quadrature axis inductance table look-up unit and a torque calculation unit; the alternating-current phase current amplitude calculation unit calculates the alternating-current phase current amplitude according to a formula (7) and outputs the alternating-current phase current amplitude to the permanent magnet flux linkage table look-up module;
Figure GDA0002548912730000051
wherein isIs the stator phase current magnitude.
The permanent magnet flux linkage table look-up module is used for looking up a table according to the alternating current phase current amplitude to obtain a permanent magnet flux linkage value; the rectangular-axis inductance lookup unit obtains the rectangular-axis and rectangular-axis inductances L according to the rectangular-axis current lookup tabledAnd Lq(ii) a The torque calculation unit calculates according to a permanent magnet synchronous motor torque formula (8).
Figure GDA0002548912730000052
Wherein p is the number of pole pairs of the motor rotor; t iseIs an electromagnetic torque;
in the torque formula (8), the rectangular-to-rectangular axis current is obtained through calculation of a CLARK & PARK conversion unit, the rectangular-to-rectangular axis inductance and the rectangular-to-rectangular axis inductance are obtained through a rectangular-to-rectangular-axis inductance look-up table unit, p is the number of pole pairs of a motor rotor and is a constant, the permanent magnet flux linkage is measured according to the formulas (2) and (3), and under the condition of three-phase short circuit of the motor, the rectangular-to-rectangular axis voltage is zero if the tube voltage drop of a power module is
Figure GDA0002548912730000053
When the mechanical rotation speed omega of the motor approaches infinity,iqApproaches zero, idIs approximately equal to isThen, there is,
ψm≈-Ldis (10)
therefore, the corresponding relation between the permanent magnet flux linkage and the stator phase current amplitude can be calibrated off line at different temperatures, the calibration is stored as a table after being completed, the table takes the stator phase current amplitude as an index and outputs a permanent magnet flux linkage numerical value, and the permanent magnet flux linkage numerical value is brought into a formula (8), so that the output torque of the permanent magnet synchronous motor can be calculated on line. In the rectangular-axis inductance look-up table unit, the rectangular-axis inductance is a function of the current of the rectangular axis, the corresponding relation between the rectangular-axis inductance and the current of the rectangular axis can be obtained through finite element simulation software, and the quadrature-axis inductance can be obtained in the same way;
the torque limit value generation module consists of a maximum electric data table, a maximum power generation data table and a data selection unit; looking up a maximum electric data table and a maximum power generation data table according to the mechanical rotating speed omega of the motor and the voltage of the direct-current bus, judging whether the motor is in an electric or power generation state, and outputting a maximum torque output limit value T by a data selection unitlimit
The inverter switching circuit comprises six switching elements, wherein the switching elements are Insulated Gate Bipolar Transistors (IGBT) and are used for executing PWM signals sent by the motor controller and controlling the corresponding switching elements to execute switching actions;
the permanent magnet synchronous motor is a three-phase permanent magnet synchronous motor, is a controlled object and is controlled by an inverter switch circuit;
the position sensor is a rotary transformer or an absolute position photoelectric encoder and is used for detecting the absolute position of a motor rotor;
the three-phase current sensor is a non-contact current sensor based on a Hall effect or a contact current sensor based on a principle of generating voltage by using a resistor connected in a phase line in series, and is used for detecting three-phase current of the permanent magnet synchronous motor and outputting an acquired current signal to a CLARK & PARK conversion unit;
the method comprises the following implementation steps:
the first step is as follows: the motor controller receives the control of the whole vehicleCAN bus signal of the unit and the torque command value T generated by the CAN command decomposition unitcmdAnd three-phase short circuit control Tpsc
The second step is that: with torque command TcmdTorque on-line calculated value TonlineAnd torque limit TlimitFor input, a torque reference value T is generated by a torque PI regulation control module*
The third step: according to the torque reference value T*Obtaining direct-axis and quadrature-axis current instruction i by looking up MTPA tabled_cmdAnd iq_cmd
The fourth step: direct axis and quadrature axis current command id_cmd、iq_cmdFeedback value i of current of direct axis and quadrature axisdfeedback、iqfeedbackInput to the quadrature axis current PI regulation module to generate a quadrature axis current command reference id *And iq *
The fifth step: calculating a direct axis and quadrature axis decoupling voltage reference value u according to a permanent magnet synchronous motor steady state voltage equationd *And uq *
And a sixth step: judging whether the active short-circuit signal is 1 by a space vector modulation unit; if yes, entering a seventh step; if not, entering the tenth step;
the seventh step: judging whether the mechanical rotating speed of the motor exceeds the rotating speed of an inflection point by a space vector modulation unit; if yes, entering the eighth step; if not, entering the tenth step;
eighth step: outputting a three-phase short circuit control signal to an inverter switch circuit;
the ninth step: calculating phase current amplitude i according to a formulasLooking up a table to obtain a flux linkage numerical value of the permanent magnet;
the tenth step: on-line calculating motor output torque T according to torque formulaonlineExiting the control;
the eleventh step: calculating the duty ratio of a PWM signal according to the rectangular axis voltage reference value and the position signal, outputting the duty ratio to an inverter switching circuit, and exiting the control; the control process is a necessary step of a control period, and the steps are circularly operated in the actual working process.
Compared with the prior art, the invention has the following positive effects:
1. the invention introduces the PI regulation module of the torque command and the torque online calculation value, which is beneficial to the accuracy of the torque output absolute value and quickens the torque response time. The online calculation link of the output torque of the permanent magnet synchronous motor does not depend on motor parameters such as stator resistance, quadrature axis voltage and the like, the calculated value is more accurate, and the quick closed loop of torque control is facilitated. Because the external characteristics of the motor are influenced by the voltage and the rotating speed of the direct-current bus, the higher the voltage of the direct-current bus is, the higher the rotating speed of an inflection point of the maximum torque output of the motor is, and on the contrary, the lower the voltage of the direct-current bus is, a torque limit value module is added in the PI regulation control module, and the torque limit value obtained by the module according to the direct-current bus voltage and the rotating speed lookup table accords with the working characteristics of the motor;
2. the active short circuit instruction is sent by the whole vehicle control unit, and the motor controller does not actively short circuit, so that the control mode is favorable for whole vehicle torque monitoring and function safety, otherwise, the motor automatically performs active short circuit control to generate a large instruction torque, and unexpected deceleration of the vehicle can be caused;
3. the whole vehicle control unit can send an active short circuit instruction according to the current working mode of the motor, such as no-load of the motor, no assistance of the motor or power generation working conditions. In the active short-circuit process, the motor control unit feeds back the short-circuit torque in real time to avoid generating unexpected acceleration and deceleration or other parts from being damaged; the short-circuit torque curve can also be stored in a whole vehicle control unit, and the whole vehicle control unit can directly look up a table or perform feedforward control.
4. In order to avoid discontinuity of permanent magnet flux linkage measurement, the whole vehicle control can adopt a method of sending an active short circuit instruction to a motor at regular time; the permanent magnet flux linkage can also be estimated by storing measurement data for multiple times in the motor control unit and performing interpolation operation.
5. The method does not need an additional hardware circuit and a PWM signal reconstruction software algorithm, only needs to implement active short-circuit control, and is compatible with permanent magnet synchronous motor control.
Drawings
Fig. 1 is a schematic block diagram of an output torque control method of a permanent magnet synchronous motor according to the present invention.
Fig. 2 is a flow chart of the output torque control of the permanent magnet synchronous motor according to the present invention.
Fig. 3 is a maximum torque to current ratio (MTPA) graph of the present invention.
FIG. 4 is a functional block diagram of the torque PI regulation module of the present invention.
FIG. 5 is a schematic block diagram of the torque online calculation of the present invention.
FIG. 6 is a functional block diagram of a torque limit generation module of the present invention.
FIG. 7 is a diagram of the relationship between the direct-axis inductance and the quadrature-axis current parameter according to the present invention.
FIG. 8 is a graph showing the relationship between quadrature axis inductance and quadrature axis current parameters according to the present invention.
Fig. 9 is a relationship curve of three-phase short-circuit current, short-circuit torque and rotating speed.
In the figure, 1, a vehicle control unit 2, a motor controller 3, an inverter switch circuit 4, a permanent magnet synchronous motor 5, a position sensor 6, a three-phase current sensor 21, a CAN command decomposition unit 22, a torque PI regulation module 23, a quadrature axis current command generation unit 24, a quadrature axis current PI regulation module 25, a voltage decoupling control unit 26, a space vector modulation unit 27, a position and rotating speed processing unit 28, a CLARK & PARK conversion unit 29, a torque online calculation module 30, a torque limit value generation module 221, an addition module 222, an anti-saturation PI structure unit 223, an amplitude limiter 291, an alternating current phase current amplitude calculation unit 292, a permanent magnet flux look-up table module 293, a quadrature axis inductance look-up table 294, a torque calculation unit 301, a maximum electric data table 302, a maximum electric data table 303 and a data selection unit are arranged.
Detailed Description
Embodiments of the present invention will be described below with reference to the accompanying drawings, but the present invention is not limited thereto.
As shown in fig. 1, the vehicle control unit 1 sends a torque command T to the motor controller 2 through the CAN buscmdAnd three-phase short circuit control Tpsc
The motor controller 2 consists of a CAN command decomposition unit 21, a torque PI regulation module 22 and a direct-alternating current (AC-AC) power supplyAn axis current instruction generating unit 23, a quadrature axis current PI regulating module 24, a voltage decoupling control unit 25, a space vector modulation unit 26, a position and rotating speed processing unit 27, a CLARK&The device comprises a PARK conversion unit 28, a torque online calculation module 29 and a torque limit value generation module 30; the motor controller 2 controls T according to the three-phase short circuit sent by the whole vehicle control unit 1pscJudging whether to carry out active short circuit control according to the mechanical rotating speed omega of the motor, and simultaneously satisfying TpscIf the number is 1 and the mechanical rotating speed of the motor exceeds the rotating speed of an inflection point, the condition is met, an active short circuit PWM signal is output to an inverter switch circuit 3, and three IGBTs of an upper bridge arm or a lower bridge arm are controlled to be closed simultaneously; otherwise, if the condition is not met, calculating the duty ratio of the three-phase PWM signal according to the quadrature axis reference voltage and the position signal, and controlling the IGBT to carry out switching operation; the motor controller 2 sends a torque instruction T according to the whole vehicle control unit 1cmdAnd the calculated value T output by the torque online calculation module 29onlineThe PI control is performed so that the output torque of the permanent magnet synchronous motor 4 reaches a target value.
As shown in fig. 4, the torque PI adjustment module 22 includes an addition module 221, an anti-saturation PI structure unit 222, and a limiter 223; the adder module 221 generates Δ e by subtracting the torque command and the torque online calculated value, and inputs Δ e to the anti-saturation PI structure unit 222, where both the proportional term and the integral term of the PI structure function when saturation does not occur, and the anti-saturation integral loop is effective when the PI output is saturated, that is, when eo and out are not equal. The anti-saturation PI structural unit 222 outputs out, adds the out and the torque command again, inputs the sum of the out and the torque command into the amplitude limiter 223, and outputs the torque reference value T after amplitude limiting*(ii) a The analytical formula of the anti-saturation PI structure is shown in formula (1).
As shown in fig. 3, the abscissa of the curve is the current phase angle, the ordinate is the output torque of the motor, the current amplitude is firstly fixed, the current phase angle traverses from 40 ° to 320 °, a curve of the current phase angle and the output torque of the motor is formed, then the test is repeated until the Maximum current is reached while increasing the current amplitude, so that a family of curves is obtained, and the vertex of each curve is connected into a line, namely, the Maximum torque-to-current ratio curve (MTPA, Maximum torque per).Ampere), the torque and the rectangular axis current corresponding to each point are made into a table, namely a maximum torque current ratio table, and the table uses a torque reference value T*For indexing, the value obtained by looking up the table is the command value i of the rectangular-axis current commandd *And iq *(ii) a The rectangular axis current command generating unit 23 generates a torque reference value T according to the torque reference value T*Looking up a table to obtain a rectangular axis current instruction command value; the figure is only a schematic diagram and needs to be recalibrated for different powers, torques and different types of motors.
The quadrature axis current PI regulation module 24 regulates a command value i according to the quadrature axis current instructiond_cmdAnd iq_cmdAnd CLARK&Direct-axis current feedback value i output by PARK conversion unit 28dfeedbackAnd quadrature axis current feedback value iqfeedbackPerforming PI operation to obtain a rectangular-to-rectangular axis current reference value id *And iq *The PI structure is the same as that of the torque PI regulation module;
the voltage decoupling control unit 25 performs decoupling according to the steady-state voltage equations (2) and (3), and outputs a quadrature axis voltage reference value ud *And uq *
The space vector modulation unit 26 controls T according to the three-phase short circuit sent by the whole vehicle control unit 1pscJudging whether to carry out active short circuit control according to the mechanical rotating speed omega of the motor, and simultaneously satisfying TpscIf the number is 1 and the mechanical rotating speed of the motor exceeds the rotating speed of an inflection point, the condition is met, an active short circuit PWM signal is output to an inverter switch circuit 3, and three IGBTs of an upper bridge arm or a lower bridge arm are controlled to be closed simultaneously; otherwise, if the condition is not met, calculating the duty ratio of the three-phase PWM signal according to the quadrature axis reference voltage and the position signal, and controlling the IGBT to carry out switching operation;
the position and rotation speed processing unit 27 calculates the rotor position theta and the motor mechanical rotation speed omega according to the output signal of the position sensor 5; the CLARK&The PARK conversion unit 28 receives the three-phase current i detected by the current sensor 6a、ib、icAnd the position signal theta output by the position and rotation speed processing unit 27 is converted into a direct-axis current i under a rotating coordinate system according to the formula (4), the formula (5) and the formula (6)dAnd quadrature axis current iq
As shown in fig. 5, the torque online calculation module 29 includes an ac phase current amplitude calculation unit 291, a permanent magnet flux linkage look-up table 292, a quadrature axis inductance look-up table 293, and a torque calculation unit 294; the alternating-current phase current amplitude calculation unit 291 calculates the alternating-current phase current amplitude according to the formula (7), and outputs the alternating-current phase current amplitude to the permanent magnet flux linkage look-up table 292;
the permanent magnet flux linkage look-up table module 292 is used for looking up a table according to the alternating current phase current amplitude to obtain a permanent magnet flux linkage value; the quadrature axis inductance lookup unit 293 looks up the table according to the quadrature axis and the quadrature axis currents to obtain the quadrature axis and the quadrature axis inductances LdAnd Lq(ii) a The torque calculation unit 294 calculates the torque according to the permanent magnet synchronous motor torque formula (8).
In the torque formula (8), the direct-axis and quadrature-axis currents can be obtained by calculation through the CLARK & PARK conversion unit 28, the direct-axis and quadrature-axis inductances are obtained through the direct-axis and quadrature-axis inductance look-up unit 293, p is the number of pole pairs of the motor rotor and is a constant, the permanent magnet flux linkage is measured according to the permanent magnet synchronous motor steady-state equations (2) and (3), the alternating-current phase current amplitude of the permanent magnet synchronous motor is measured under the condition of three-phase short circuit, and the permanent magnet flux linkage value can be obtained through look-up;
the one-to-one corresponding relation between the permanent magnet flux linkage and the stator phase current amplitude at different temperatures is calibrated through tests, the permanent magnet flux linkage numerical value is obtained by table lookup in practical application, and the permanent magnet flux linkage numerical value is brought into the formula (8) to calculate the output torque of the permanent magnet synchronous motor on line. In the rectangular axis inductance look-up unit 293, the rectangular axis and rectangular axis inductances are functions of the currents of the rectangular axis and the rectangular axis, and the corresponding relations of the rectangular axis inductances and the currents of the rectangular axis and the rectangular axis can be obtained through finite element simulation software, and the rectangular axis inductances can be obtained in the same way;
as shown in fig. 6, the torque limit value generation module 30 is composed of a maximum motoring data table 301, a maximum generating data table 302 and a data selection unit 303; the maximum electric data table 301 and the maximum power generation data table 302 are searched according to the mechanical rotating speed omega of the motor and the direct-current bus voltage, then the state of electric driving or power generation is judged, and the data selection unit 303 outputs the maximum torque output limit value Tlimit(ii) a The inverter switching circuit 3 includes six switching elements, each of the switching elements Q1 to Q6 is an Insulated Gate Bipolar Transistor (IGBT), in the inverter circuit, a first switching element Q1, a third switching element Q3, and a fifth switching element Q5 are connected in series to a second switching element Q2, a fourth switching element Q4, and a sixth switching element Q6, respectively, and a node between the switching elements Q1 and Q2 is connected to a U-phase terminal of the motor; a node between the switching elements Q3 and Q4 is connected to a V-phase terminal of the motor; a node between the switching elements Q5 and Q6 is connected to the W-phase terminal of the motor; the inverter switch circuit 3 drives an internal power electronic device to perform the closing or opening actions of a three-phase lower bridge arm Q2, Q4 and Q6 or the closing or opening actions of a three-phase upper bridge arm Q1, Q3 and Q5 according to a PWM signal instruction of the motor controller 2 so as to realize the short circuit or opening operation of three phase lines of the motor;
the permanent magnet synchronous motor 4 is a three-phase permanent magnet synchronous motor, is a controlled object and is controlled by the inverter switch circuit 3;
the position sensor 5 is a rotary transformer or an absolute position photoelectric encoder and is used for detecting the absolute position of a motor rotor; the three-phase current sensor 6 is a non-contact current sensor based on a hall effect or a contact current sensor based on a principle of generating voltage by using a resistor connected in series to a phase line, and is used for detecting three-phase current of the permanent magnet synchronous motor 4 and outputting an acquired current signal to the CLARK & PARK conversion unit 28;
as shown in fig. 2, the method is implemented as follows:
the first step is as follows: the motor controller 2 receives CAN bus signals of the whole vehicle control unit 1 and generates a torque command value T through a CAN command decomposition unit 21cmdAnd three-phase short circuit control Tpsc
The second step is that: with torque command TcmdTorque on-line calculated value TonlineAnd torque limit TlimitFor input, a torque reference value T is generated by the torque PI regulation control module 22*
The third step: according to the torque reference value T*Obtaining direct axis and quadrature axis current instruction i by looking up MTPA tabled_cmdAnd iq_cmd
The fourth step: direct axis and quadrature axis current command id_cmdAnd iq_cmdFeedback value i of current of direct axis and quadrature axisdfeedbackAnd iqfeedbackInput to the quadrature axis current PI regulation module 24 to generate a quadrature axis current command reference id *And iq *
The fifth step: calculating a direct axis and quadrature axis decoupling voltage reference value u according to a permanent magnet synchronous motor steady state voltage equationd *And uq *
And a sixth step: the space vector modulation unit 26 judges whether the active short-circuit signal is 1; if yes, entering a seventh step; if not, entering the tenth step;
the seventh step: the space vector modulation unit 26 judges whether the mechanical rotating speed of the motor exceeds the rotating speed of the inflection point; if yes, entering the eighth step; if not, entering the tenth step;
eighth step: outputting a three-phase short circuit control signal to the inverter switch circuit 3;
the ninth step: calculating phase current amplitude i according to a formulasLooking up a table to obtain a flux linkage numerical value of the permanent magnet;
the tenth step: on-line calculating motor output torque T according to torque formulaonlineExiting the control;
the eleventh step: and calculating the duty ratio of the PWM signal according to the rectangular axis voltage reference value and the position signal, outputting the duty ratio to the inverter switch circuit 3, and exiting the control.
The control process is a necessary step of a control period, and the steps are circularly operated in the actual working process.
And in the ninth step, the permanent magnet flux linkage table is obtained by a test method, each rotor temperature corresponds to a permanent magnet flux linkage numerical value, and the permanent magnet synchronous motor is subjected to steady-state short-circuit tests at different rotating speeds at different rotor temperatures to obtain the relation between the short-circuit current amplitude and the permanent magnet flux linkage.
In the ninth step, the permanent magnet flux linkage table can also be obtained by a simulation method, and is a relation table of short-circuit current amplitude and permanent magnet flux linkage under different rotor temperatures and rotating speeds obtained according to a finite element simulation model of the permanent magnet synchronous motor.
As shown in fig. 7, it is a graph of the direct-axis inductance and the quadrature-axis current of the present embodiment, where the x-axis is the direct-axis current, the y-axis is the quadrature-axis current, and the z-axis is the direct-axis inductance. The direct-axis inductance L can be seen from the figuredIs a function of direct-axis current and quadrature-axis current, and the direct-axis inductance L can be obtained by using the direct-axis current and the quadrature-axis current as index table look-up operationdNumerical values.
As shown in fig. 8, it is a graph of quadrature axis inductance and quadrature axis current of the present embodiment, where the x-axis is the quadrature axis current, the y-axis is the quadrature axis current, and the z-axis is the quadrature axis inductance. The quadrature inductance L can be seen from the figureqIs a function of direct-axis current and quadrature-axis current, and the quadrature-axis inductance L can be obtained by using the direct-axis current and the quadrature-axis current as index table look-up operationqNumerical values.
As shown in fig. 9, the three-phase short-circuit current, the short-circuit torque and the rotation speed are plotted in the present embodiment, where the horizontal axis represents the mechanical rotation speed of the motor and the vertical axis represents the three-phase short-circuit current and the short-circuit torque. The three-phase short-circuit current of the permanent magnet synchronous motor rapidly rises in a low rotating speed section along with the increase of the rotating speed, and when the rotating speed exceeds an inflection point, the rotating speed omegagThen, the effective value of the current is basically unchanged, and the factors influencing the amplitude of the short-circuit current are mainly the size of the flux linkage of the permanent magnet, which is in direct proportion to the flux linkage value of the permanent magnet and in inverse proportion to the temperature of the permanent magnet. The corresponding relation between three-phase short-circuit current and the mechanical rotating speed of the motor is marked in the figure under the temperature of three rotor permanent magnets of-35 ℃, 60 ℃ and 150 ℃, three different temperatures correspond to three permanent magnet flux linkage numerical values, and the difference of the effective value of the short-circuit current reaches 65A under the conditions of the lowest temperature of-35 ℃ and the highest temperature of 150 ℃ can be noticed, so that the permanent magnet flux linkage numerical value can be effectively detected by utilizing the characteristic; after the rotating speed of the motor exceeds the inflection point rotating speed, the intersection point of the rotating speed of the same motor and curves at minus 35 ℃, 60 ℃ and 150 ℃ corresponds to 3 phase current amplitudes, each phase current corresponds to one permanent magnet flux linkage data, and similarly, a permanent magnet flux linkage table with the phase current amplitudes as indexes can be formed; in practical use, the number of the curves is not limited to 3, and the number of the curves is set according to the temperature range. Three-phase short-circuit torque of permanent magnet synchronous motor and motorResistance torque opposite to the mechanical rotating speed, so that the short-circuit torque of the motor is a negative value under the condition of positive rotation; along with the increase of the rotating speed, the absolute value of the short-circuit torque of the engine is increased and then reduced, and the rotating speed omega exceeds the inflection pointgThen, gradually approaching zero, and similarly, forming a permanent magnet flux linkage table with phase current amplitude as an index; in practical use, the number of the curves is not limited to 3, and the number of the curves is set according to the temperature range.
The preferred embodiments of the present invention have been described above, but the present invention is not limited to the above embodiments.

Claims (1)

1.一种电动汽车用驱动电机转矩闭环控制方法,其特征在于由整车控制单元、电机控制器、逆变开关电路、永磁同步电机、位置传感器和三相电流传感器组成;1. a drive motor torque closed-loop control method for an electric vehicle, characterized in that it is made up of a vehicle control unit, a motor controller, an inverter switch circuit, a permanent magnet synchronous motor, a position sensor and a three-phase current sensor; 所述整车控制单元根据整车工作模式,通过CAN总线向电机控制器发出三相短路控制Tpsc和转矩指令TcmdThe vehicle control unit sends the three-phase short-circuit control T psc and the torque command T cmd to the motor controller through the CAN bus according to the vehicle working mode; 所述电机控制器由CAN指令分解单元,转矩PI调节模块,直交轴电流指令生成单元,直交轴电流PI调节模块,电压解耦控制单元,空间矢量调制单元,位置及转速处理单元,CLARK&PARK变换单元、转矩在线计算模块和转矩限值生成模块组成;电机控制器根据整车控制单元发出的三相短路控制Tpsc和电机机械转速ω判断是否进行主动短路控制,同时满足Tpsc为1且电机机械转速超过拐点转速,则条件成立,输出主动短路PWM信号到逆变开关电路,控制三相全桥的上桥臂或下桥臂三个IGBT同时闭合;否则,条件不满足,则根据直交轴参考电压和位置信号,计算三相PWM信号占空比,控制IGBT进行开关操作;电机控制器将整车控制单元发出的转矩指令Tcmd和转矩在线计算模块输出的计算值Tonline输入到转矩PI调节模块,使永磁同步电机的输出转矩达到目标值;The motor controller consists of a CAN command decomposition unit, a torque PI adjustment module, a quadrature axis current command generation unit, a quadrature axis current PI adjustment module, a voltage decoupling control unit, a space vector modulation unit, a position and rotational speed processing unit, and CLARK&PARK transformation. unit, torque online calculation module and torque limit generation module; the motor controller judges whether to perform active short-circuit control according to the three-phase short-circuit control T psc and the mechanical speed ω of the motor sent by the vehicle control unit, and at the same time satisfies that T psc is 1 And the mechanical speed of the motor exceeds the inflection point speed, the condition is established, and the active short-circuit PWM signal is output to the inverter switch circuit to control the three IGBTs of the upper arm or the lower arm of the three-phase full bridge to be closed at the same time; otherwise, the condition is not satisfied, according to The orthogonal axis refers to the voltage and position signal, calculates the duty ratio of the three-phase PWM signal, and controls the IGBT to switch on and off; the motor controller uses the torque command T cmd sent by the vehicle control unit and the calculated value T online output by the torque online calculation module Input to the torque PI adjustment module to make the output torque of the permanent magnet synchronous motor reach the target value; 所述转矩PI调节模块包括加法模块,抗饱和PI结构单元和限幅器;其中加法模块是对两个输入做差生成Δe;输入到抗饱和PI结构单元,在未出现饱和的情况下,比例项和积分项都起作用,当抗饱和PI结构单元出现饱和的情况下,也就是在eo和out不相等时,抗饱和积分回路有效;抗饱和PI结构单元输出为out,将out和转矩指令Tcmd再次相加,二者之和输入到限幅器,经限幅后输出转矩参考值T*;其中,抗饱和PI结构的解析式如下:The torque PI adjustment module includes an addition module, an anti-saturation PI structural unit and a limiter; wherein the addition module is to make a difference between two inputs to generate Δe; input to the anti-saturation PI structural unit, in the case of no saturation, Both the proportional term and the integral term work. When the anti-saturation PI structural unit is saturated, that is, when eo and out are not equal, the anti-saturation integral loop is effective; the output of the anti-saturation PI structural unit is out, and the out and turn The torque command T cmd is added again, the sum of the two is input to the limiter, and the torque reference value T * is output after the limit; wherein, the analytical formula of the anti-saturation PI structure is as follows: eo=out{out(t)=Kp·e(t)+Ki∫e(t)}eo=out{out(t)=K p ·e(t)+K i ∫e(t)}
Figure FDA0002548912720000011
Figure FDA0002548912720000011
其中,eo为PI计算输出值,out为经限幅后输出值,Kp为比例系数,Ki为积分系数;e_sat为抗饱和PI结构单元饱和时最大的限幅输出值;e(t)为t时刻的偏差值,out(t)为t时刻的抗饱和PI结构单元输出值;Among them, eo is the output value of PI calculation, out is the output value after limiting, K p is the proportional coefficient, K i is the integral coefficient; e_sat is the maximum limiting output value when the anti-saturation PI structural unit is saturated; e(t) is the deviation value at time t, and out(t) is the output value of the anti-saturation PI structural unit at time t; 所述直交轴电流指令生成单元根据转矩参考值T*查表获得直交轴电流指令命令值,在电流转矩特性曲线中最小电流获得最大转矩的点可连成的一条线,这条线就是最大转矩电流比曲线(MTPA,Maximum torque per.Ampere),该表即是由MTPA曲线上的点组成的,以T*为索引,输出为直交轴电流指令值;The quadrature axis current command generation unit obtains the quadrature axis current command command value according to the torque reference value T * by looking up the table, and in the current-torque characteristic curve, the points where the minimum current obtains the maximum torque can be connected into a line, this line It is the maximum torque current ratio curve (MTPA, Maximum torque per.Ampere), which is composed of points on the MTPA curve, with T * as the index, and the output is the current command value of the orthogonal axis; 所述直交轴电流PI调节模块根据直轴电流指令命令值id_cmd和交轴电流指令命令值iq_cmd以及CLARK&PARK变换单元输出的直轴电流反馈值idfeedback和交轴电流反馈值iqfeedback,进行PI 运算,获得直交轴电流参考值id *和iq *,直交轴电流PI调节模块与转矩PI调节模块内部结构相同,只是输入不同;The orthogonal axis current PI adjustment module performs PI according to the direct axis current command command value id_cmd and the quadrature axis current command command value i q_cmd and the direct axis current feedback value idfeedback and the quadrature axis current feedback value i qfeedback output by the CLARK&PARK conversion unit. Calculation is performed to obtain the reference values id * and i q * of the orthogonal axis current. The internal structure of the orthogonal axis current PI adjustment module is the same as that of the torque PI adjustment module, but the input is different; 所述电压解耦控制单元根据稳态电压方程进行解耦,输出为直交轴电压参考值ud *和uq *,具体公式如下:The voltage decoupling control unit performs decoupling according to the steady-state voltage equation, and outputs the reference values ud * and u q * of the orthogonal axis voltage. The specific formulas are as follows: ud *=Rid *-pωLqiq * (2)u d * = Ri d * -pωL q i q * (2) uq *=Riq *+pω(Ldid *m) (3)u q * =Ri q * +pω(L d i d *m ) (3) 其中,R为定子电阻,p为电机转子极对数,ω为电机机械转速,Ld为直轴电感,Lq为交轴电感,id *为直轴电流参考值,iq *为交轴电流参考值,ud *为直轴电压解耦值,uq *为交轴电压解耦值,ψm为永磁体磁链;Among them, R is the stator resistance, p is the number of pole pairs of the motor rotor, ω is the mechanical speed of the motor, L d is the direct-axis inductance, L q is the quadrature-axis inductance, id * is the reference value of the direct-axis current, and i q * is the alternating-axis inductance. Shaft current reference value, u d * is the direct-axis voltage decoupling value, u q * is the quadrature-axis voltage decoupling value, ψ m is the permanent magnet flux linkage; 空间矢量调制单元根据整车控制单元发出的三相短路控制Tpsc和电机机械转速ω判断是否进行主动短路控制,同时满足Tpsc为1且电机机械转速超过拐点转速,则条件成立,输出主动短路PWM信号到逆变开关电路,控制其上桥臂或下桥臂三个IGBT同时闭合;否则,条件不满足,则根据直交轴参考电压和位置信号,计算三相PWM信号占空比,控制IGBT进行开关操作;The space vector modulation unit judges whether to perform active short-circuit control according to the three-phase short-circuit control T psc and the mechanical speed ω of the motor sent by the vehicle control unit. At the same time, if T psc is 1 and the mechanical speed of the motor exceeds the inflection point speed, the condition is established and the output is actively short-circuited. The PWM signal is sent to the inverter switch circuit to control the three IGBTs on the upper arm or the lower arm to be closed at the same time; otherwise, if the conditions are not satisfied, the duty cycle of the three-phase PWM signal is calculated according to the reference voltage and position signal of the orthogonal axis, and the IGBT is controlled. switch operation; 所述位置及转速处理单元根据位置传感器输出信号计算转子位置θ和电机机械转速ω;The position and rotational speed processing unit calculates the rotor position θ and the mechanical rotational speed ω of the motor according to the output signal of the position sensor; 所述CLARK&PARK变换单元接收电流传感器检测到的三相电流ia、ib、ic和位置及转速处理单元输出的位置信号θ,根据公式(4)、公式(5)和公式(6)换算为旋转坐标系下直、交轴电流id、iqThe CLARK&PARK conversion unit receives the three-phase currents i a , ib , ic detected by the current sensor and the position signal θ output by the position and rotational speed processing unit, and converts according to formula (4), formula (5) and formula (6) are the direct and quadrature axis currents id and i q in the rotating coordinate system; CLARK变换公式如下:The CLARK transformation formula is as follows: iα=ia (4)i α = i a (4)
Figure FDA0002548912720000021
Figure FDA0002548912720000021
PARK变换公式如下:The PARK transformation formula is as follows:
Figure FDA0002548912720000022
Figure FDA0002548912720000022
其中,iα、iβ为静止坐标系下的α、β轴电流;ia、ib、ic为静止坐标系下的三相交流电流;θ转子位置电角度;id、iq为旋转坐标系下的直、交轴电流;Among them, i α and i β are the α and β-axis currents in the static coordinate system; i a , ib , and ic are the three-phase AC currents in the static coordinate system; θ rotor position electrical angle; id , i q are Direct and quadrature axis currents in the rotating coordinate system; 所述转矩在线计算模块包括交流相电流幅值计算单元、永磁体磁链查表模块、直交轴电感查表单元和转矩计算单元;其中,所述交流相电流幅值计算单元根据公式(7)计算交流相电流幅值,输出给永磁体磁链查表模块;The torque online calculation module includes an AC phase current amplitude calculation unit, a permanent magnet flux linkage look-up table module, a quadrature axis inductance look-up table unit and a torque calculation unit; wherein, the AC phase current amplitude calculation unit is based on the formula ( 7) Calculate the AC phase current amplitude and output it to the permanent magnet flux linkage look-up table module;
Figure FDA0002548912720000031
Figure FDA0002548912720000031
其中,is为定子相电流幅值;Among them, i s is the stator phase current amplitude; 所述永磁体磁链查表模块用于根据交流相电流幅值查表获得永磁体磁链值;所述直交轴电感查表单元根据直交轴电流查表获得直交轴电感Ld和Lq;所述的转矩计算单元根据永磁同步电机转矩公式(8)进行计算;The permanent magnet flux linkage look-up table module is used to look up the permanent magnet flux linkage value according to the AC phase current amplitude value; the orthogonal-axis inductance look-up table unit obtains the orthogonal-axis inductances L d and L q according to the orthogonal-axis current look-up table; The torque calculation unit calculates according to the permanent magnet synchronous motor torque formula (8);
Figure FDA0002548912720000032
Figure FDA0002548912720000032
其中,p为电机转子极对数;Te为电磁转矩;Among them, p is the number of pole pairs of the motor rotor; T e is the electromagnetic torque; 转矩公式(8)中,直交轴电流通过CLARK&PARK变换单元计算得到,直交轴电感通过直交轴电感查表单元获得,p为电机转子极对数为常数,永磁体磁链根据公式(2)和(3)测量,在电机三相短路情况下,忽略功率模块的管压降,则直交轴电压为零,则In the torque formula (8), the quadrature axis current is calculated by the CLARK&PARK conversion unit, the quadrature axis inductance is obtained by the quadrature axis inductance look-up unit, p is the number of pole pairs of the motor rotor, which is a constant, and the permanent magnet flux linkage is based on formula (2) and (3) Measurement, in the case of three-phase short circuit of the motor, ignoring the tube voltage drop of the power module, the orthogonal axis voltage is zero, then
Figure FDA0002548912720000033
Figure FDA0002548912720000033
当电机机械转速ω趋近于无穷大时,iq趋近于零,id约等于is,则有,When the mechanical speed ω of the motor approaches infinity, i q approaches zero, and id is approximately equal to is s , then there are, ψm≈-Ldis (10)ψ m ≈ -L d i s (10) 因此,不同温度下永磁体磁链与定子相电流幅值对应关系可以离线标定,标定完成后存储为表格,表格以定子相电流幅值为索引,输出为永磁体磁链数值,将永磁体磁链数值带入到公式(8)中,即可在线计算永磁同步电机输出转矩;Therefore, the corresponding relationship between the permanent magnet flux linkage and the stator phase current amplitude at different temperatures can be calibrated offline. After the calibration is completed, it is stored as a table. The table uses the stator phase current amplitude as an index, and the output is the permanent magnet flux linkage value. The chain value is brought into formula (8), and the output torque of the permanent magnet synchronous motor can be calculated online; 所述直交轴电感查表单元,直交轴电感是直交轴的电流的函数,通过有限元仿真软件可以得到直轴电感和直交轴的电流的对应关系,交轴电感同理可得;In the quadrature axis inductance look-up table unit, the quadrature axis inductance is a function of the current of the quadrature axis, and the corresponding relationship between the quadrature axis inductance and the current of the quadrature axis can be obtained through the finite element simulation software, and the quadrature axis inductance can be obtained in the same way; 所述转矩限值生成模块由最大电动数据表,最大发电数据表和数据选择单元组成;根据电机机械转速ω和直流母线电压查最大电动数据表和最大发电数据表,再判断处于电动或者发电状态,由数据选择单元输出最大转矩输出限值TlimitThe torque limit generation module is composed of a maximum motor data table, a maximum power generation data table and a data selection unit; according to the mechanical speed of the motor ω and the DC bus voltage, check the maximum motor data table and the maximum power generation data table, and then determine whether it is in motor or power generation. state, the data selection unit outputs the maximum torque output limit T limit ; 所述逆变开关电路包括六个开关元件,开关元件为绝缘栅双极晶体管(IGBT),用于执行电机控制器发出的PWM信号,控制相应的开关元件执行开关动作;The inverter switching circuit includes six switching elements, and the switching elements are insulated gate bipolar transistors (IGBTs), which are used to execute the PWM signal sent by the motor controller and control the corresponding switching elements to perform switching actions; 所述永磁同步电机为三相永磁同步电机,是被控对象,接受逆变开关电路的控制;The permanent magnet synchronous motor is a three-phase permanent magnet synchronous motor, which is the controlled object and is controlled by the inverter switch circuit; 所述位置传感器为旋转变压器或者绝对位置光电编码器,其用于检测电机转子绝对位置;The position sensor is a resolver or an absolute position photoelectric encoder, which is used to detect the absolute position of the motor rotor; 所述三相电流传感器为基于霍尔效应的非接触式电流传感器或基于利用串入相线中电阻产生电压原理的接触式电流传感器,其用于检测永磁同步电机的三相电流,并将采集的电流信号输出到CLARK&PARK变换单元;The three-phase current sensor is a non-contact current sensor based on the Hall effect or a contact current sensor based on the principle of generating a voltage by using a resistance in series in the phase line, which is used to detect the three-phase current of the permanent magnet synchronous motor, and connect The collected current signal is output to the CLARK&PARK transformation unit; 本方法的实现步骤如下:The implementation steps of this method are as follows: 第一步:电机控制器接收整车控制单元的CAN总线信号并通过CAN指令分解单元生成转矩命令值Tcmd和三相短路控制TpscThe first step: the motor controller receives the CAN bus signal of the vehicle control unit and generates the torque command value T cmd and the three-phase short-circuit control T psc through the CAN command decomposition unit; 第二步:以转矩指令Tcmd、转矩在线计算值Tonline和转矩限值Tlimit为输入,由转矩PI调节控制模块生成转矩参考值T*The second step: using the torque command T cmd , the torque online calculation value T online and the torque limit value T limit as input, the torque reference value T * is generated by the torque PI adjustment control module; 第三步:根据转矩参考值T*查MTPA表获得直交轴电流指令id_cmd和iq_cmdThe third step: check the MTPA table according to the torque reference value T * to obtain the orthogonal axis current commands id_cmd and i q_cmd ; 第四步:将直轴和交轴电流指令id_cmd和iq_cmd与直轴和交轴电流反馈值idfeedback和iqfeedback输入到直交轴电流PI调节模块,生成直交轴电流指令参考id *和iq *Step 4: Input the direct axis and quadrature axis current commands i d_cmd and i q_cmd and the direct axis and quadrature axis current feedback values i dfeedback and i qfeedback into the quadrature axis current PI adjustment module to generate the quadrature axis current command reference id * and i q * ; 第五步:根据永磁同步电机稳态电压方程计算直交轴解耦电压参考值ud *和uq *Step 5: Calculate the reference values ud * and u q * of the decoupling voltage of the orthogonal axis according to the steady-state voltage equation of the permanent magnet synchronous motor; 第六步:由空间矢量调制单元判断主动短路信号是否为1;如是,则进入第七步;如否,则进入第十一步;Step 6: Determine whether the active short-circuit signal is 1 by the space vector modulation unit; if so, enter the seventh step; if not, enter the eleventh step; 第七步:由空间矢量调制单元判断电机机械转速是否超过拐点转速;如是,则进入第八步;如否,则进入第十一步;Step 7: Determine whether the mechanical speed of the motor exceeds the inflection point speed by the space vector modulation unit; if so, enter the eighth step; if not, enter the eleventh step; 第八步:输出三相短路控制信号到逆变开关电路;The eighth step: output the three-phase short-circuit control signal to the inverter switch circuit; 第九步:根据公式计算相电流幅值is,查表获得永磁体磁链数值;The ninth step: calculate the phase current amplitude is according to the formula , and look up the table to obtain the permanent magnet flux linkage value; 第十步:根据转矩公式在线计算电机输出转矩Tonline,退出本次控制;Step 10: Calculate the motor output torque T online online according to the torque formula, and exit this control; 第十一步:根据直交轴电压参考值和位置信号计算PWM信号占空比,输出到逆变开关电路,退出本次控制;以上控制过程为一次控制周期的必要步骤,实际工作过程中,以上步骤循环运行。Step 11: Calculate the duty cycle of the PWM signal according to the reference value of the orthogonal axis voltage and the position signal, output it to the inverter switch circuit, and exit this control; the above control process is a necessary step in a control cycle. In the actual working process, the above Steps run in a loop.
CN201710619736.0A 2017-07-26 2017-07-26 Driving motor torque closed-loop control method for electric automobile Active CN107645259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710619736.0A CN107645259B (en) 2017-07-26 2017-07-26 Driving motor torque closed-loop control method for electric automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710619736.0A CN107645259B (en) 2017-07-26 2017-07-26 Driving motor torque closed-loop control method for electric automobile

Publications (2)

Publication Number Publication Date
CN107645259A CN107645259A (en) 2018-01-30
CN107645259B true CN107645259B (en) 2021-03-05

Family

ID=61110902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710619736.0A Active CN107645259B (en) 2017-07-26 2017-07-26 Driving motor torque closed-loop control method for electric automobile

Country Status (1)

Country Link
CN (1) CN107645259B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282057B (en) * 2018-02-02 2023-07-25 卧龙电气驱动集团股份有限公司 ECM motor and method for constant torque control based on accurate flux linkage table look-up method
FR3078215B1 (en) * 2018-02-22 2020-03-20 Valeo Equipements Electriques Moteur METHOD FOR ASSISTING THE SETTING OF A HEAT ENGINE BY A ROTATING ELECTRIC MACHINE
FR3078214B1 (en) * 2018-02-22 2020-03-20 Valeo Equipements Electriques Moteur METHOD FOR ASSISTING THE SETTING OF A HEAT ENGINE BY A ROTATING ELECTRIC MACHINE
CN109067286B (en) * 2018-08-29 2020-08-18 北京新能源汽车股份有限公司 Control method, device and system of motor control system and vehicle
DE102018127709A1 (en) * 2018-11-07 2020-05-07 Schaeffler Technologies AG & Co. KG Method and device for limiting the manipulated value for field-oriented current control
CN109546917B (en) * 2018-11-29 2020-09-18 北京精密机电控制设备研究所 Multi-path adjusting system and method for alternating current permanent magnet synchronous motor actuating mechanism
CN112305417A (en) * 2019-07-26 2021-02-02 比亚迪股份有限公司 Method and device for detecting state of permanent magnet in permanent magnet synchronous motor and vehicle
CN112550063B (en) * 2019-09-25 2021-12-07 比亚迪股份有限公司 Energy conversion device, vehicle, cooperative control method and device, and storage medium
CN110784141B (en) * 2019-10-29 2021-06-22 中车永济电机有限公司 Control method of permanent magnet synchronous motor
CN110808702B (en) * 2019-10-29 2021-03-26 中车永济电机有限公司 Control method of embedded permanent magnet synchronous motor
CN110803032B (en) * 2019-11-04 2020-09-25 中国第一汽车股份有限公司 Motor control method and device, motor controller, storage medium and system
CN111082728A (en) * 2019-12-11 2020-04-28 珠海格力电器股份有限公司 Control method and control system for low-speed full-load starting of oil pump motor
CN111049444B (en) * 2019-12-30 2021-08-17 臻驱科技(上海)有限公司 Motor control method, device and electronic device
CN111538254B (en) * 2020-05-11 2023-04-07 成都华川电装有限责任公司 Simulation circuit for obtaining performance MAP table of permanent magnet synchronous motor
CN112454364B (en) * 2020-12-03 2022-02-22 之江实验室 Robot joint module driver and control method thereof
CN113452297B (en) * 2021-05-24 2023-07-21 深蓝汽车科技有限公司 Electric automobile motor torque estimation method and system and vehicle
CN116707366A (en) * 2022-02-25 2023-09-05 比亚迪股份有限公司 Motor flux weakening control method, motor controller and new energy automobile
CN114454729B (en) * 2022-02-28 2024-01-23 河南嘉晨智能控制股份有限公司 Vehicle acceleration limiting method and system
CN117915043B (en) * 2023-12-26 2025-03-21 华中农业大学 Four-wheel hub motor driven chicken house inspection system and equipment based on domestic FPGA

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120217916A1 (en) * 2011-02-28 2012-08-30 Deere & Company Device And Method For Generating An Initial Controller Lookup Table For An IPM Machine
CN104283479A (en) * 2014-09-30 2015-01-14 卧龙电气集团杭州研究院有限公司 Load torque monitoring system of permanent magnet synchronous motor based on three-dimensional motor parameter table
US20150180387A1 (en) * 2013-12-23 2015-06-25 Hyundai Motor Company Motor controller
CN105844030A (en) * 2016-03-29 2016-08-10 中国第汽车股份有限公司 Online estimation method for rotor temperature of permanent magnet synchronous motor
CN105915141A (en) * 2016-05-09 2016-08-31 中国第汽车股份有限公司 Permanent magnet synchronous motor permanent magnet linkage online measurement system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120217916A1 (en) * 2011-02-28 2012-08-30 Deere & Company Device And Method For Generating An Initial Controller Lookup Table For An IPM Machine
US20150180387A1 (en) * 2013-12-23 2015-06-25 Hyundai Motor Company Motor controller
CN104283479A (en) * 2014-09-30 2015-01-14 卧龙电气集团杭州研究院有限公司 Load torque monitoring system of permanent magnet synchronous motor based on three-dimensional motor parameter table
CN105844030A (en) * 2016-03-29 2016-08-10 中国第汽车股份有限公司 Online estimation method for rotor temperature of permanent magnet synchronous motor
CN105915141A (en) * 2016-05-09 2016-08-31 中国第汽车股份有限公司 Permanent magnet synchronous motor permanent magnet linkage online measurement system and method

Also Published As

Publication number Publication date
CN107645259A (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN107645259B (en) Driving motor torque closed-loop control method for electric automobile
Chen et al. Extension of virtual-signal-injection-based MTPA control for five-phase IPMSM into fault-tolerant operation
Cheng et al. Torque feedforward control technique for permanent-magnet synchronous motors
JP5420006B2 (en) Synchronous machine controller
Verma et al. Speed sensorless vector controlled induction motor drive using single current sensor
CN102832865B (en) Method for estimating initial position of rotor of three-stage brushless alternative-current synchronous motor
Inoue et al. Maximum torque per ampere control of a direct torque-controlled PMSM in a stator flux linkage synchronous frame
CN107294451A (en) Permagnetic synchronous motor output torque on-line calculation method
De Belie et al. A sensorless drive by applying test pulses without affecting the average-current samples
WO2022134772A1 (en) Control method for permanent magnet auxiliary synchronous reluctance motor
CN107046386B (en) Novel method for weak magnetic calibration of permanent magnet synchronous motor controller of pure electric vehicle
CN107294450A (en) Over Electric Motor with PMSM demagnetization online test method
Shi et al. Position control of an interior permanent-magnet synchronous motor without using a shaft position sensor
CN104579083A (en) permanent magnet synchronous motor vector control method and system
CN109194218B (en) Control device, control method and system of direct-current bias type hybrid excitation motor
CN103199787A (en) Load disturbance resistant method and device thereof based on hybrid regulator
KR20070067118A (en) Wire rotor synchronous motor control method
Vasudevan et al. New direct torque control scheme of induction motor for electric vehicles
Zhao Position/speed sensorless control for permanent-magnet synchronous machines
Gao et al. A practical analytical expression and estimation for average torque of high saturation permanent magnet synchronous motor for special vehicles
CN205596048U (en) PMSM torque ripple controlling means
CN107947669A (en) A kind of hybrid exciting synchronous motor Nonlinear backstepping tracking and controlling method
Metwaly et al. Smart integration of drive system for induction motor applications in electric vehicles
Ding et al. permanent magnet temperature estimation for PMSMs using virtual position-offset injection
JP2002320397A (en) Motor rotor position estimating apparatus, position estimating method and program thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 130012 No. 1, xinhongqi street, automobile economic and Technological Development Zone, Changchun City, Jilin Province

Patentee after: China Faw Co.,Ltd.

Country or region after: China

Address before: 130011 2259 Dongfeng Street, Xinxin economic and Technological Development Zone, Changchun, Jilin

Patentee before: China Faw Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address