[go: up one dir, main page]

CN111049444B - Motor control method, device and electronic device - Google Patents

Motor control method, device and electronic device Download PDF

Info

Publication number
CN111049444B
CN111049444B CN201911401472.7A CN201911401472A CN111049444B CN 111049444 B CN111049444 B CN 111049444B CN 201911401472 A CN201911401472 A CN 201911401472A CN 111049444 B CN111049444 B CN 111049444B
Authority
CN
China
Prior art keywords
value
axis
quadrature
direct
permanent magnet
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
CN201911401472.7A
Other languages
Chinese (zh)
Other versions
CN111049444A (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.)
Leadrive Technology Shanghai Co Ltd
Original Assignee
Leadrive Technology Shanghai Co Ltd
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 Leadrive Technology Shanghai Co Ltd filed Critical Leadrive Technology Shanghai Co Ltd
Priority to CN201911401472.7A priority Critical patent/CN111049444B/en
Publication of CN111049444A publication Critical patent/CN111049444A/en
Application granted granted Critical
Publication of CN111049444B publication Critical patent/CN111049444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/14Estimation or adaptation of machine parameters, e.g. flux, current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/13Observer control, e.g. using Luenberger observers or Kalman filters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/14Estimation or adaptation of machine parameters, e.g. flux, current or voltage
    • H02P21/141Flux estimation
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/14Estimation or adaptation of machine parameters, e.g. flux, current or voltage
    • H02P21/20Estimation of torque
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/22Current control, e.g. using a current control loop
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P25/00Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
    • H02P25/02Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
    • H02P25/022Synchronous motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2207/00Indexing scheme relating to controlling arrangements characterised by the type of motor
    • H02P2207/05Synchronous machines, e.g. with permanent magnets or DC excitation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

本公开实施例提供了一种电机控制方法、装置及电子设备,属于自动控制技术领域。其中方法包括:建立永磁同步电机对应的参数映射关系表;根据当前工况下的永磁同步电机的直轴电流反馈值和交轴电流反馈值查询参数映射关系表,得到当前工况下永磁同步电机的交轴电感;根据预设类型的参数计算永磁同步电机的直轴电流有名值和交轴电流有名值;将直轴电流有名值和交轴电流有名值输入永磁同步电机的电流控制器内,控制永磁同步电机的实际电流输出。通过本公开的方案,使用直轴磁链直接观测,充分考虑了电机温度变化所引起的永磁同步发电机永磁体磁链的改变,满足永磁同步电机在不同的定子电流值以及电机温度下的输出转矩与气隙磁链的高精度控制。

Figure 201911401472

The embodiments of the present disclosure provide a motor control method, device, and electronic device, which belong to the technical field of automatic control. The method includes: establishing a parameter mapping relationship table corresponding to the permanent magnet synchronous motor; querying the parameter mapping relationship table according to the direct-axis current feedback value and the quadrature-axis current feedback value of the permanent magnet synchronous motor under the current working condition, and obtaining the permanent magnet synchronous motor under the current working condition. The quadrature-axis inductance of the magnetic synchronous motor; calculate the direct-axis current and quadrature-axis current of the permanent magnet synchronous motor according to the parameters of the preset type; input the direct-axis current and quadrature In the current controller, the actual current output of the permanent magnet synchronous motor is controlled. Through the solution of the present disclosure, the direct-axis flux linkage is directly observed, and the change of the permanent magnet flux linkage of the permanent magnet synchronous generator caused by the temperature change of the motor is fully considered, and the permanent magnet synchronous motor is satisfied under different stator current values and motor temperatures. High precision control of output torque and air gap flux linkage.

Figure 201911401472

Description

电机控制方法、装置及电子设备Motor control method, device and electronic device

技术领域technical field

本公开涉及自动控制技术领域,尤其涉及一种电机控制方法、装置及电子设备。The present disclosure relates to the technical field of automatic control, and in particular, to a motor control method, device and electronic device.

背景技术Background technique

永磁同步电机以其功率密度高、体积小、重量轻、全速范围内都能保持较高的电机效率等特性,被广泛应用于电动汽车等领域。常用的永磁同步电机控制方法包括直接转矩控制与矢量控制两大类。其中,矢量控制以转子磁链定向,实现对磁链与输出转矩的解耦控制,具有良好的输出响应,转矩波动较小,所以被广泛地研究与应用。Permanent magnet synchronous motors are widely used in electric vehicles and other fields because of their high power density, small size, light weight, and high motor efficiency in the full speed range. Commonly used permanent magnet synchronous motor control methods include direct torque control and vector control. Among them, vector control is oriented with rotor flux linkage to realize decoupling control of flux linkage and output torque. It has good output response and small torque fluctuation, so it has been widely studied and applied.

但是,矢量控制在使用过程中,转矩控制的精度会受到电机参数影响。对此,可以采用在线查表控制方法,在控制器中建立了电流、温度等不同工况下电机参数表,保证电机的控制精度。However, during the use of vector control, the accuracy of torque control will be affected by motor parameters. In this regard, the online look-up table control method can be used, and the motor parameter table under different working conditions such as current and temperature is established in the controller to ensure the control accuracy of the motor.

对于永磁同步机而言,它的定子电感会随定子电流的变化而发生改变,它的转子永磁体磁链也会随电机温度改变而变化。所以,在建立电机参数表时,需要充分考虑电机温度与定子电流的影响,与此同时还要注意所采用方法的工程可实现性。For a permanent magnet synchronous machine, its stator inductance will change with the change of stator current, and its rotor permanent magnet flux linkage will also change with the change of motor temperature. Therefore, when establishing the motor parameter table, it is necessary to fully consider the influence of motor temperature and stator current, and at the same time, pay attention to the engineering practicability of the adopted method.

现有的电机控制方法中,没有同时考虑电机温度与定子电流影响,且缺少适用于永磁同步电机全速运行范围的高精度在线查表控制方法。In the existing motor control methods, the influence of the motor temperature and the stator current is not considered at the same time, and there is no high-precision online look-up table control method suitable for the full-speed operation range of the permanent magnet synchronous motor.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本公开实施例提供一种电机控制方法、装置及电子设备,至少部分解决现有技术中存在的问题。In view of this, embodiments of the present disclosure provide a motor control method, device, and electronic device, which at least partially solve the problems existing in the prior art.

第一方面,本公开实施例提供了一种电机控制方法,包括:In a first aspect, an embodiment of the present disclosure provides a motor control method, including:

建立永磁同步电机对应的参数映射关系表;Establish the parameter mapping table corresponding to the permanent magnet synchronous motor;

根据当前工况下的永磁同步电机的直轴电流反馈值和交轴电流反馈值查询所述参数映射关系表,得到当前工况下所述永磁同步电机的交轴电感;Query the parameter mapping table according to the direct-axis current feedback value and the quadrature-axis current feedback value of the permanent magnet synchronous motor under the current working condition, and obtain the quadrature-axis inductance of the permanent magnet synchronous motor under the current working condition;

根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值,其中,所述预设类型的参数至少包括所述交轴电感;Calculate the nominal value of the direct-axis current and the nominal value of the quadrature-axis current of the permanent magnet synchronous motor according to parameters of a preset type, wherein the parameters of the preset type at least include the quadrature-axis inductance;

将所述直轴电流有名值和所述交轴电流有名值输入所述永磁同步电机的电流控制器内,控制所述永磁同步电机的实际电流输出。Inputting the name value of the direct axis current and the name value of the quadrature axis current into the current controller of the permanent magnet synchronous motor to control the actual current output of the permanent magnet synchronous motor.

根据本公开实施例的一种具体实现方式,所述建立永磁同步电机对应的参数映射关系表的步骤,包括:According to a specific implementation manner of the embodiment of the present disclosure, the step of establishing the parameter mapping table corresponding to the permanent magnet synchronous motor includes:

对所述永磁同步电机进行测试试验,确定所述永磁同步电机的直轴电流有名值与转矩有名值、气隙磁链有名值之间的映射关系;id=f(Tes)Carry out a test experiment on the permanent magnet synchronous motor, and determine the mapping relationship between the nominal value of the direct-axis current of the permanent magnet synchronous motor, the nominal value of torque, and the nominal value of the air gap flux linkage; id = f (T e , Ψ s )

确定不同工况下的交轴电感与直轴电压反馈值、三相交流电流频率、定子电阻阻值和交轴电流反馈值之间的映射关系;Determine the mapping relationship between quadrature-axis inductance and direct-axis voltage feedback value, three-phase AC current frequency, stator resistance resistance and quadrature-axis current feedback value under different working conditions;

确定所述永磁同步电机的交轴电感与直轴电流反馈值、交轴电流反馈值之间的映射关系;determining the mapping relationship between the quadrature-axis inductance of the permanent magnet synchronous motor, the direct-axis current feedback value, and the quadrature-axis current feedback value;

确定直轴磁链反馈值与交轴电压反馈值、定子电阻阻值、交轴电路反馈值和三相交流电流频率之间的映射关系;Determine the mapping relationship between the feedback value of the direct-axis flux linkage and the feedback value of the quadrature axis voltage, the resistance value of the stator resistance, the feedback value of the quadrature axis circuit and the frequency of the three-phase AC current;

选择直轴磁链反馈值为磁链基准值,交轴电感为电感基准值,确定电流基准值与磁链基准值和电感基准值之间的映射关系;Select the direct-axis flux linkage feedback value as the flux linkage reference value, and the quadrature-axis inductance as the inductance benchmark value, and determine the mapping relationship between the current benchmark value, the flux linkage benchmark value, and the inductance benchmark value;

对不同工况下的转矩有名值进行标幺化,得到转矩标幺值和转矩有名值和转矩基准值之间的映射关系;The nominal torque value under different working conditions is per-unitized, and the mapping relationship between the torque per-unit value, the torque nominal value and the torque reference value is obtained;

使用磁链基准值与电流基准值,分别对不同工况下的磁链指令有名值、直轴电流值进行标幺化,得到直轴电流标幺值和气隙磁链指令标幺值的映射关系;Using the reference value of flux linkage and the reference value of current, the nominal value of the flux linkage command and the direct-axis current value under different working conditions are per-unitized respectively, and the mapping relationship between the per-unit value of the direct-axis current and the per-unit value of the air-gap flux linkage command is obtained. ;

确定直轴电流标幺值与转矩标幺值和气隙磁链指令标幺值之间的映射关系。Determine the mapping relationship between the per-unit value of the direct-axis current, the per-unit value of the torque, and the per-unit value of the air-gap flux linkage command.

根据本公开实施例的一种具体实现方式,所述根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值的步骤,包括:According to a specific implementation manner of the embodiment of the present disclosure, the step of calculating the nominal value of the direct-axis current and the nominal value of the quadrature-axis current of the permanent magnet synchronous motor according to the parameters of the preset type includes:

根据预设类型的参数,依次计算所述永磁同步电机的直轴磁链观测值、所述直轴电流指令标幺值和所述交轴电流指令标幺值;According to the parameters of the preset type, sequentially calculate the direct axis flux linkage observation value of the permanent magnet synchronous motor, the direct axis current command per unit value and the quadrature axis current command per unit value;

根据所述交轴电感、所述直轴磁链观测值、所述直轴电流指令标幺值和所述交轴电流指令标幺值,计算所述永磁同步电机的直轴电流有名值和所述交轴电流有名值。According to the quadrature-axis inductance, the observed value of the direct-axis flux linkage, the per-unit value of the direct-axis current command, and the per-unit value of the quadrature-axis current command, the nominal value of the direct-axis current of the permanent magnet synchronous motor and The quadrature axis current has a named value.

根据本公开实施例的一种具体实现方式,所述根据预设类型的参数,依次计算所述永磁同步电机的直轴磁链观测值、所述直轴电流指令标幺值和所述交轴电流指令标幺值的步骤,包括:According to a specific implementation manner of the embodiment of the present disclosure, the direct-axis flux linkage observation value of the permanent magnet synchronous motor, the direct-axis current command per-unit value, and the The steps of the shaft current command per unit value include:

根据所述永磁同步电机的交轴电压反馈值、交轴电流反馈值、定子电阻阻值和三相交流电流频率,计算所述永磁同步电机的直轴磁链观测值;According to the quadrature axis voltage feedback value, quadrature axis current feedback value, stator resistance resistance value and three-phase AC current frequency of the permanent magnet synchronous motor, calculate the direct axis flux linkage observation value of the permanent magnet synchronous motor;

根据所述直轴磁链观测值、所述交轴电感和所述永磁同步电机的转矩指令有名值,计算所述永磁同步电机的转矩指令标幺值和气隙磁链指令标幺值;According to the observed value of the direct-axis flux linkage, the quadrature-axis inductance, and the nominal value of the torque command of the permanent magnet synchronous motor, the per unit value of the torque command of the permanent magnet synchronous motor and the per unit of the air gap flux command are calculated. value;

根据所述转矩指令标幺值和所述气隙磁链指令标幺值,查询所述参数映射关系表得到直轴电流指令标幺值;According to the per-unit value of the torque command and the per-unit value of the air-gap flux linkage command, query the parameter mapping relationship table to obtain the per-unit value of the direct-axis current command;

根据所述转矩指令标幺值和直轴电流指令标幺值,计算得到交轴电流指令标幺值。According to the per-unit value of the torque command and the per-unit value of the direct-axis current command, the per-unit value of the quadrature-axis current command is calculated.

根据本公开实施例的一种具体实现方式,所述根据所述直轴磁链观测值、所述交轴电感和所述永磁同步电机的转矩指令有名值,计算所述永磁同步电机的转矩指令标幺值和气隙磁链指令标幺值的步骤,包括:According to a specific implementation manner of the embodiment of the present disclosure, the permanent magnet synchronous motor is calculated according to the observed value of the direct-axis flux linkage, the quadrature-axis inductance, and the torque command nominal value of the permanent magnet synchronous motor. The steps of the torque command per unit value and the air gap flux command per unit value include:

选择所述直轴磁链反馈值作为磁链基准值,选择所述交轴电感作为电感基准值;Select the direct-axis flux linkage feedback value as the flux linkage reference value, and select the quadrature-axis inductance as the inductance benchmark value;

根据所述磁链基准值和所述电感基准值,计算得到电流基准值;Calculate the current reference value according to the flux linkage reference value and the inductance reference value;

根据所述磁链基准值、所述电感基准值和所述转矩指令有名值,计算所述转矩指令标幺值;Calculate the torque command per unit value according to the flux linkage reference value, the inductance reference value and the torque command nominal value;

将所述气隙磁链有名值除以所述直轴磁链观测值,得到所述气隙磁链指令标幺值。Divide the named value of the air-gap flux linkage by the observed value of the direct-axis flux linkage to obtain the per-unit value of the air-gap flux linkage command.

根据本公开实施例的一种具体实现方式,所述根据所述磁链基准值和所述电感基准值,计算电流基准值的步骤,包括:According to a specific implementation manner of the embodiment of the present disclosure, the step of calculating the current reference value according to the flux linkage reference value and the inductance reference value includes:

将所述磁链基准值除以述电感基准值,得到所述电流基准值。The current reference value is obtained by dividing the flux linkage reference value by the inductance reference value.

根据本公开实施例的一种具体实现方式,所述根据所述磁链基准值、所述电感基准值和所述转矩指令有名值,计算所述转矩指令标幺值的步骤,包括:According to a specific implementation manner of the embodiment of the present disclosure, the step of calculating the per-unit torque command value according to the flux linkage reference value, the inductance reference value, and the torque command nominal value includes:

根据所述永磁同步电机的极对数、磁链基准值和电流基准值以及预设系数的相乘,得到转矩基准值;According to the multiplication of the pole pair number, the flux linkage reference value, the current reference value and the preset coefficient of the permanent magnet synchronous motor, the torque reference value is obtained;

将所述转矩指令有名值除以所述转矩基准值,得到所述转矩指令标幺值。The torque command nominal value is divided by the torque reference value to obtain the torque command per unit value.

根据本公开实施例的一种具体实现方式,所述根据所述交轴电感、所述直轴磁链观测值、所述直轴电流指令标幺值和所述交轴电流指令标幺值,计算所述永磁同步电机的直轴电流有名值和所述交轴电流有名值的步骤,包括:According to a specific implementation manner of the embodiment of the present disclosure, according to the quadrature-axis inductance, the observed value of the direct-axis flux linkage, the per-unit value of the direct-axis current command, and the per-unit value of the quadrature-axis current command, The steps of calculating the nominal value of the direct-axis current and the nominal value of the quadrature-axis current of the permanent magnet synchronous motor include:

将所述直轴电流指令标幺值乘以所述电流基准值,得到所述直轴电流有名值;Multiply the per-unit value of the direct-axis current command by the current reference value to obtain the direct-axis current named value;

将所述交轴电流指令标幺值乘以所述电流基准值,得到所述交轴电流有名值。Multiply the per-unit value of the quadrature-axis current command by the current reference value to obtain the quadrature-axis current nominal value.

第二方面,本公开实施例提供了一种电机控制装置,包括:In a second aspect, an embodiment of the present disclosure provides a motor control device, including:

建表模块,用于建立永磁同步电机对应的参数映射关系表;The table building module is used to establish the parameter mapping relationship table corresponding to the permanent magnet synchronous motor;

查表模块,用于根据当前工况下的永磁同步电机的直轴电流反馈值和交轴电流反馈值查询所述参数映射关系表,得到当前工况下所述永磁同步电机的交轴电感;The table lookup module is used to query the parameter mapping table according to the direct-axis current feedback value and the quadrature-axis current feedback value of the permanent magnet synchronous motor under the current working condition, and obtain the quadrature axis of the permanent magnet synchronous motor under the current working condition inductance;

计算模块,用于根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值,其中,所述预设类型的参数至少包括所述交轴电感;a calculation module, configured to calculate the nominal value of the direct-axis current and the nominal value of the quadrature-axis current of the permanent magnet synchronous motor according to parameters of a preset type, wherein the parameters of the preset type at least include the quadrature-axis inductance;

控制模块,用于将所述直轴电流有名值和所述交轴电流有名值输入所述永磁同步电机的电流控制器内,控制所述永磁同步电机的实际电流输出。The control module is used for inputting the name value of the direct axis current and the name value of the quadrature axis current into the current controller of the permanent magnet synchronous motor to control the actual current output of the permanent magnet synchronous motor.

第三方面,本公开实施例还提供了一种电子设备,该电子设备包括:In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

至少一个处理器;以及,at least one processor; and,

与该至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

该存储器存储有可被该至少一个处理器执行的指令,该指令被该至少一个处理器执行,以使该至少一个处理器能够执行前述第一方面或第一方面的任一实现方式中的电机控制方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute the electric machine of the foregoing first aspect or any implementation of the first aspect Control Method.

第四方面,本公开实施例还提供了一种非暂态计算机可读存储介质,该非暂态计算机可读存储介质存储计算机指令,该计算机指令用于使该计算机执行前述第一方面或第一方面的任一实现方式中的电机控制方法。In a fourth aspect, embodiments of the present disclosure further provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the foregoing first aspect or the first The motor control method of any implementation of an aspect.

第五方面,本公开实施例还提供了一种计算机程序产品,该计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,该计算机程序包括程序指令,当该程序指令被计算机执行时,使该计算机执行前述第一方面或第一方面的任一实现方式中的电机控制方法。In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer When executed, the computer is made to execute the motor control method in the foregoing first aspect or any implementation manner of the first aspect.

本公开实施例中的电机控制方案,包括:建立永磁同步电机对应的参数映射关系表;根据当前工况下的永磁同步电机的直轴电流反馈值和交轴电流反馈值查询所述参数映射关系表,得到当前工况下所述永磁同步电机的交轴电感;根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值,其中,所述预设类型的参数至少包括所述交轴电感;将所述直轴电流有名值和所述交轴电流有名值输入所述永磁同步电机的电流控制器内,控制所述永磁同步电机的实际电流输出。通过本公开的方案,使用直轴磁链直接观测,充分考虑了电机温度变化所引起的永磁同步发电机永磁体磁链的改变。此外,充分考虑了定子电流变化对定子电感大小的影响,但只需关注交轴电感受定子电流的影响,无需关注直轴电感的变化,降低了控制系统复杂程度,满足永磁同步电机在不同的定子电流值以及电机温度下的输出转矩与气隙磁链的高精度控制。The motor control scheme in the embodiment of the present disclosure includes: establishing a parameter mapping relationship table corresponding to the permanent magnet synchronous motor; querying the parameters according to the direct-axis current feedback value and the quadrature-axis current feedback value of the permanent magnet synchronous motor under the current working condition The mapping relationship table is used to obtain the quadrature-axis inductance of the permanent magnet synchronous motor under the current working condition; the named value of the direct-axis current and the named value of the quadrature-axis current of the permanent magnet synchronous motor are calculated according to the parameters of the preset type, wherein the The parameters of the preset type include at least the quadrature axis inductance; input the name value of the direct axis current and the name value of the quadrature axis current into the current controller of the permanent magnet synchronous motor to control the permanent magnet synchronous motor. actual current output. Through the solution of the present disclosure, the direct-axis flux linkage is directly observed, and the change of the permanent magnet flux linkage of the permanent magnet synchronous generator caused by the temperature change of the motor is fully considered. In addition, the influence of the change of stator current on the inductance of the stator is fully considered, but only the influence of the quadrature-axis inductance of the stator current is concerned, and the change of the inductance of the direct-axis is not necessary, which reduces the complexity of the control system and meets the requirements of the permanent magnet synchronous motor in different conditions. High-precision control of the stator current value and the output torque and air gap flux linkage at the motor temperature.

附图说明Description of drawings

为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为本公开实施例提供的一种电机控制方法的流程示意图;FIG. 1 is a schematic flowchart of a motor control method according to an embodiment of the present disclosure;

图2为本公开实施例提供的电机控制方法的控制过程示意图;FIG. 2 is a schematic diagram of a control process of a motor control method provided by an embodiment of the present disclosure;

图3为本公开实施例提供的另一种电机控制方法的部分流程示意图;FIG. 3 is a schematic partial flowchart of another motor control method provided by an embodiment of the present disclosure;

图4为本公开实施例提供的另一种电机控制方法的部分流程示意图;FIG. 4 is a schematic partial flowchart of another motor control method provided by an embodiment of the present disclosure;

图5为本公开实施例提供的另一种电机控制方法的部分流程示意图;FIG. 5 is a schematic partial flowchart of another motor control method provided by an embodiment of the present disclosure;

图6为本公开实施例提供的一种电机控制装置的结构示意图;FIG. 6 is a schematic structural diagram of a motor control device according to an embodiment of the present disclosure;

图7为本公开实施例提供的电子设备的示意图。FIG. 7 is a schematic diagram of an electronic device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

下面结合附图对本公开实施例进行详细描述。The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

以下通过特定的具体实例说明本公开的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本公开的其他优点与功效。显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。本公开还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本公开的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The embodiments of the present disclosure are described below through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only some, but not all, embodiments of the present disclosure. The present disclosure can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments may be combined with each other under the condition of no conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.

需要说明的是,下文描述在所附权利要求书的范围内的实施例的各种方面。应显而易见,本文中所描述的方面可体现于广泛多种形式中,且本文中所描述的任何特定结构及/或功能仅为说明性的。基于本公开,所属领域的技术人员应了解,本文中所描述的一个方面可与任何其它方面独立地实施,且可以各种方式组合这些方面中的两者或两者以上。举例来说,可使用本文中所阐述的任何数目个方面来实施设备及/或实践方法。另外,可使用除了本文中所阐述的方面中的一或多者之外的其它结构及/或功能性实施此设备及/或实践此方法。It is noted that various aspects of embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is illustrative only. Based on this disclosure, those skilled in the art should appreciate that an aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method may be practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.

还需要说明的是,以下实施例中所提供的图示仅以示意方式说明本公开的基本构想,图式中仅显示与本公开中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。It should also be noted that the drawings provided in the following embodiments are only illustrative of the basic concept of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and the number of components in actual implementation. For dimension drawing, the type, quantity and proportion of each component can be changed at will in actual implementation, and the component layout may also be more complicated.

另外,在以下描述中,提供具体细节是为了便于透彻理解实例。然而,所属领域的技术人员将理解,可在没有这些特定细节的情况下实践所述方面。Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, one skilled in the art will understand that the described aspects may be practiced without these specific details.

本公开实施例提供一种电机控制方法。本实施例提供的电机控制方法可以由一计算装置来执行,该计算装置可以实现为软件,或者实现为软件和硬件的组合,该计算装置可以集成设置在服务器、终端设备等中。Embodiments of the present disclosure provide a motor control method. The motor control method provided in this embodiment can be executed by a computing device, which can be implemented as software, or a combination of software and hardware, and the computing device can be integrated in a server, a terminal device, or the like.

参见图1,为本公开实施例提供的一种电机控制方法的流程示意图。如图1所示,所述方法主要包括:Referring to FIG. 1 , it is a schematic flowchart of a motor control method according to an embodiment of the present disclosure. As shown in Figure 1, the method mainly includes:

S101,建立永磁同步电机对应的参数映射关系表;S101, establishing a parameter mapping relationship table corresponding to the permanent magnet synchronous motor;

本发明实施例提供的电机控制方法,应用于永磁同步电机的电流输出控制过程。其中,永磁同步电机是由永磁体励磁产生同步旋转磁场的同步电机,永磁体作为转子产生旋转磁场,三相定子绕组在旋转磁场作用下通过电枢反应,感应三相对称电流。此时转子动能转化为电能,永磁同步电机作发电机Generator用;此外,当定子侧通入三相对称电流,由于三相定子在空间位置上相差120,所以三相定子电流在空间中产生旋转磁场,转子旋转磁场中受到电磁力作用运动,此时电能转化为动能,永磁同步电机作电动机Motor用。The motor control method provided by the embodiment of the present invention is applied to the current output control process of the permanent magnet synchronous motor. Among them, the permanent magnet synchronous motor is a synchronous motor that is excited by a permanent magnet to generate a synchronous rotating magnetic field. The permanent magnet acts as a rotor to generate a rotating magnetic field, and the three-phase stator winding reacts through the armature under the action of the rotating magnetic field, inducing a three-phase symmetrical current. At this time, the kinetic energy of the rotor is converted into electrical energy, and the permanent magnet synchronous motor is used as a generator generator; in addition, when the three-phase symmetrical current is passed to the stator side, since the three-phase stator is 120 different in space, the three-phase stator current is generated in the space. Rotating magnetic field, the rotor is moved by electromagnetic force in the rotating magnetic field. At this time, the electric energy is converted into kinetic energy, and the permanent magnet synchronous motor is used as a motor.

在实现永磁同步电机控制之前,需要通过试验测试,获得永磁同步电机在不同工况下的相关参数之间的映射关系,建立参数映射关系表,便于后续各工况下相应参数值的查找和计算。Before realizing the control of the permanent magnet synchronous motor, it is necessary to obtain the mapping relationship between the relevant parameters of the permanent magnet synchronous motor under different working conditions through experimental tests, and establish a parameter mapping relationship table to facilitate the search of the corresponding parameter values under each working condition. and calculations.

S102,根据当前工况下的永磁同步电机的直轴电流反馈值和交轴电流反馈值查询所述参数映射关系表,得到当前工况下所述永磁同步电机的交轴电感;S102, query the parameter mapping relationship table according to the direct-axis current feedback value and the quadrature-axis current feedback value of the permanent magnet synchronous motor under the current working condition, and obtain the quadrature-axis inductance of the permanent magnet synchronous motor under the current working condition;

依据上述步骤建立参数映射关系表之后,即可使用参数映射关系表查询相关参数值。具体的,获取当前工况下该永磁同步电机的直轴电流反馈值和交轴电流反馈值,以此来查询参数映射关系表,以获得该永磁同步电机的交轴电感。After the parameter mapping relationship table is established according to the above steps, the parameter mapping relationship table can be used to query related parameter values. Specifically, the direct-axis current feedback value and the quadrature-axis current feedback value of the permanent magnet synchronous motor under the current working condition are obtained, so as to query the parameter mapping relationship table to obtain the quadrature-axis inductance of the permanent magnet synchronous motor.

S103,根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值,其中,所述预设类型的参数至少包括所述交轴电感;S103, calculating the nominal value of the direct-axis current and the nominal value of the quadrature-axis current of the permanent magnet synchronous motor according to parameters of a preset type, wherein the parameters of the preset type at least include the quadrature-axis inductance;

查表得到永磁同步电机的交轴电感后,依据交轴电感以及其他预设类型的参数,计算该永磁同步电机的直轴电流有名值和交轴电流有名值,作为最终的控制参数。After the quadrature-axis inductance of the permanent magnet synchronous motor is obtained by looking up the table, according to the quadrature-axis inductance and other preset parameters, the direct-axis current and quadrature-axis current of the permanent magnet synchronous motor are calculated as the final control parameters.

S104,将所述直轴电流有名值和所述交轴电流有名值输入所述永磁同步电机的电流控制器内,控制所述永磁同步电机的实际电流输出。S104: Input the name value of the direct-axis current and the name value of the quadrature-axis current into the current controller of the permanent magnet synchronous motor to control the actual current output of the permanent magnet synchronous motor.

将上述步骤得到的最终控制参数,即直轴电流有名值和交轴电流有名值输入永磁同步电机的电流控制器内,即可控制该永磁同步电机的实际电流输出。The final control parameters obtained in the above steps, that is, the named value of the direct-axis current and the named value of the quadrature-axis current, are input into the current controller of the permanent magnet synchronous motor, and the actual current output of the permanent magnet synchronous motor can be controlled.

本公开实施例中的电机控制方案,使用直轴磁链直接观测,充分考虑了电机温度变化所引起的永磁同步发电机永磁体磁链的改变。此外,充分考虑了定子电流变化对定子电感大小的影响,但只需关注交轴电感受定子电流的影响,无需关注直轴电感的变化,降低了控制系统复杂程度,满足永磁同步电机在不同的定子电流值以及电机温度下的输出转矩与气隙磁链的高精度控制。The motor control scheme in the embodiment of the present disclosure uses direct observation of the direct-axis flux linkage, and fully considers the change of the permanent magnet flux linkage of the permanent magnet synchronous generator caused by the temperature change of the motor. In addition, the influence of the change of stator current on the inductance of the stator is fully considered, but only the influence of the quadrature-axis inductance of the stator current is concerned, and the change of the inductance of the direct-axis is not necessary, which reduces the complexity of the control system and meets the requirements of the permanent magnet synchronous motor in different conditions. High-precision control of the stator current value and the output torque and air gap flux linkage at the motor temperature.

下面将具体从参数映射关系表的建立过程和相应参数的计算过程来进一步解释本实施例。The present embodiment will be further explained below in detail from the establishment process of the parameter mapping relationship table and the calculation process of the corresponding parameters.

根据本公开实施例的一种具体实现方式,如图2所示,步骤S102所述的建立永磁同步电机对应的参数映射关系表的步骤,主要包括以下子步骤:According to a specific implementation manner of the embodiment of the present disclosure, as shown in FIG. 2 , the step of establishing the parameter mapping relationship table corresponding to the permanent magnet synchronous motor described in step S102 mainly includes the following sub-steps:

1、对所述永磁同步电机进行测试试验,确定所述永磁同步电机的直轴电流有名值与转矩有名值、气隙磁链有名值之间的映射关系;1. Carry out a test test on the permanent magnet synchronous motor to determine the mapping relationship between the nominal value of the direct axis current of the permanent magnet synchronous motor, the nominal value of torque, and the nominal value of the air gap flux linkage;

即经过对永磁同步电机的实验测试,得到永磁同步电机的转矩有名值Te、气隙磁链有名值值Ψs与直轴电流有名值值id之间的映射关系,整理得到id=f(Tes)。That is, through the experimental test of the permanent magnet synchronous motor, the mapping relationship between the nominal value of torque T e of the permanent magnet synchronous motor, the nominal value of air-gap flux linkage Ψ s and the nominal value of the direct-axis current id are obtained. id = f(T e , Ψ s ).

2、确定不同工况下的交轴电感与直轴电压反馈值、三相交流电流频率、定子电阻阻值和交轴电流反馈值之间的映射关系;2. Determine the mapping relationship between quadrature-axis inductance and direct-axis voltage feedback value, three-phase AC current frequency, stator resistance resistance and quadrature-axis current feedback value under different working conditions;

计算不同工况下的Lq,即

Figure GDA0003090709100000081
Calculate L q under different working conditions, namely
Figure GDA0003090709100000081

其中,ud_fbk为永磁同步电机直轴电压反馈值,可由电机控制器的调制波计算得到;Rs为定子电阻阻值,id_fbk为永磁同步电机直轴电流反馈值,fs为永磁同步电机三相交流电流频率;iq_fbk为永磁同步电机交轴电流反馈值。Among them, ud_fbk is the direct-axis voltage feedback value of the permanent magnet synchronous motor, which can be calculated by the modulation wave of the motor controller; R s is the resistance value of the stator resistance, id_fbk is the direct-axis current feedback value of the permanent magnet synchronous motor, and f s is the permanent magnet synchronous motor direct-axis current feedback value. Three-phase AC current frequency of the magnetic synchronous motor; i q_fbk is the current feedback value of the quadrature axis of the permanent magnet synchronous motor.

3、确定所述永磁同步电机的交轴电感与直轴电流反馈值、交轴电流反馈值之间的映射关系;3. Determine the mapping relationship between the quadrature-axis inductance of the permanent magnet synchronous motor, the direct-axis current feedback value, and the quadrature-axis current feedback value;

将不同工况下的交轴电感Lq数值进行整理,得到交轴电感Lq与直轴电流反馈值id_fbk、交轴电流反馈值iq_fbk之间的关系,即Lq=f(id_fbk,iq_fbk),对应于图2中的表1。Arrange the values of the quadrature-axis inductance L q under different working conditions to obtain the relationship between the quadrature-axis inductance L q and the direct-axis current feedback value id_fbk and the quadrature-axis current feedback value i q_fbk , that is, L q =f( id_fbk , i q_fbk ), corresponding to Table 1 in Figure 2.

4、确定直轴磁链反馈值与交轴电压反馈值、定子电阻阻值、交轴电路反馈值和三相交流电流频率之间的映射关系;4. Determine the mapping relationship between the feedback value of the direct-axis flux linkage and the feedback value of the quadrature axis voltage, the resistance value of the stator resistance, the feedback value of the quadrature axis circuit and the frequency of the three-phase AC current;

基于实验数据,使用图2中的公式1计算不同工况下的直轴磁链反馈值Ψ-d_fbk,即

Figure GDA0003090709100000091
Based on the experimental data, the direct-axis flux linkage feedback value Ψ -d_fbk under different operating conditions is calculated using Equation 1 in Fig. 2, namely
Figure GDA0003090709100000091

5、选择直轴磁链反馈值为磁链基准值,交轴电感为电感基准值,确定电流基准值与磁链基准值和电感基准值之间的映射关系;5. Select the direct-axis flux linkage feedback value as the flux linkage reference value, and the quadrature-axis inductance as the inductance benchmark value, and determine the mapping relationship between the current benchmark value, the flux linkage benchmark value, and the inductance benchmark value;

选择直轴磁链反馈值Ψd_fbk为磁链基准值Ψb,交轴电感Lq为电感基准值Lb,使用图1中的公式2计算不同工况下的电流基准值Ib,即

Figure GDA0003090709100000092
Select the direct-axis flux linkage feedback value Ψ d_fbk as the flux linkage reference value Ψ b , the quadrature-axis inductance L q as the inductance benchmark value L b , and use the formula 2 in Figure 1 to calculate the current benchmark value I b under different working conditions, namely
Figure GDA0003090709100000092

6、对不同工况下的转矩有名值进行标幺化,得到转矩标幺值和转矩有名值和转矩基准值之间的映射关系;6. Perform per-unit conversion of the torque nominal value under different working conditions, and obtain the mapping relationship between the torque per-unit value, the torque nominal value and the torque reference value;

选择转矩基准值Tb=1.5PΨbIb,其中P为永磁同步电机的极对数。使用图1中的公式3对不同工况下的矩阵有名值Te进行标幺化,转矩标幺值为:Select the torque reference value T b =1.5PΨ b I b , where P is the number of pole pairs of the permanent magnet synchronous motor. Using Equation 3 in Figure 1 to per-unitize the matrix named value T e under different operating conditions, the torque per-unit value is:

Figure GDA0003090709100000093
Figure GDA0003090709100000093

7、使用磁链基准值与电流基准值,分别对不同工况下的磁链指令有名值、直轴电流值进行标幺化,得到直轴电流标幺值和气隙磁链指令标幺值的映射关系;7. Using the reference value of flux linkage and the reference value of current, per-unitize the nominal value of the flux linkage command and the direct-axis current value under different working conditions, respectively, to obtain the per-unit value of the direct-axis current per unit value and the per-unit value of the air-gap flux linkage command. Mapping relations;

使用磁链基准值Ψb与电流基准值Ib,分别对不同工况下的磁链指令有名值Ψs、直轴电流值id进行标幺化,得到直轴电流标幺值和气隙磁链指令标幺值为:Using the flux linkage reference value Ψ b and the current reference value I b , the nominal value of the flux linkage command Ψ s and the direct-axis current value id under different working conditions are per-unitized to obtain the per-unit value of the direct-axis current and the air-gap magnetic flux. The per-unit value of the chain instruction is:

Figure GDA0003090709100000101
Figure GDA0003090709100000101

8、确定直轴电流标幺值与转矩标幺值和气隙磁链指令标幺值之间的映射关系。8. Determine the mapping relationship between the per-unit value of the direct-axis current, the per-unit value of the torque and the per-unit value of the air-gap flux linkage command.

综合以上两个步骤可以得到的,不同工况下的Te_p.u.、Ψs_p.u.、id_p.u.,可以进一步将步骤1中得到的id=f(Tes)整理为id_p.u.=f(Te_p.u.s_p.u.),对应于图2中的表2。Combining the above two steps can be obtained, T e_p.u. , Ψ s_p.u. , id_p.u. under different working conditions, can be further obtained in step 1 d =f(T es ) is organized as id_p.u. =f(T e_p.u.s_p.u. ), corresponding to Table 2 in FIG. 2 .

根据本公开实施例的另一种具体实现方式,如图3所示,步骤S103所述的根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值的步骤,可以包括:According to another specific implementation manner of the embodiment of the present disclosure, as shown in FIG. 3 , in step S103 , according to the parameters of the preset type, the calculation of the name value of the direct-axis current and the name value of the quadrature-axis current of the permanent magnet synchronous motor is performed. steps, which can include:

S301,根据所述预设类型的参数,依次计算所述永磁同步电机的直轴磁链观测值、所述直轴电流指令标幺值和所述交轴电流指令标幺值;S301, according to the parameters of the preset type, sequentially calculate the direct-axis flux linkage observation value of the permanent magnet synchronous motor, the direct-axis current command per-unit value, and the quadrature-axis current command per-unit value;

S302,根据所述交轴电感、所述直轴磁链观测值、所述直轴电流指令标幺值和所述交轴电流指令标幺值,计算所述永磁同步电机的直轴电流有名值和所述交轴电流有名值。S302, according to the quadrature-axis inductance, the observed value of the direct-axis flux linkage, the per-unit value of the direct-axis current command, and the per-unit value of the quadrature-axis current command, calculate the name of the direct-axis current of the permanent magnet synchronous motor value and the quadrature axis current named value.

本实施方式公开的计算直轴电流有名值和交轴电流有名值的过程为,先根据交轴电感等预设类型的参数计算出永磁同步电机的直轴磁链观测值、直轴电流指令标幺值和交轴直流指令标幺值,再根据这几个值进一步计算得到直轴电流有名值和交轴电流有名值。The process of calculating the nominal value of the direct-axis current and the nominal value of the quadrature-axis current disclosed in this embodiment is to first calculate the direct-axis flux linkage observation value and the direct-axis current command of the permanent magnet synchronous motor according to preset parameters such as the quadrature-axis inductance. The per-unit value and the per-unit value of the AC-axis DC command are further calculated according to these values to obtain the nominal value of the direct-axis current and the nominal value of the quadrature-axis current.

具体的,如图4所示,所述预设类型的参数,依次计算所述永磁同步电机的直轴磁链观测值、所述直轴电流指令标幺值和所述交轴电流指令标幺值的步骤,可以包括:Specifically, as shown in FIG. 4 , for the parameters of the preset type, the observed value of the direct-axis flux linkage of the permanent magnet synchronous motor, the per-unit value of the direct-axis current command, and the standard value of the quadrature-axis current command are sequentially calculated. Unitary steps, which can include:

S401,根据所述永磁同步电机的交轴电压反馈值、交轴电流反馈值、定子电阻阻值和三相交流电流频率,计算所述永磁同步电机的直轴磁链观测值;S401, according to the quadrature axis voltage feedback value, quadrature axis current feedback value, stator resistance resistance value and three-phase alternating current frequency of the permanent magnet synchronous motor, calculate the direct axis flux linkage observation value of the permanent magnet synchronous motor;

基于交轴电压反馈值uq_fbk、交轴电流反馈值iq_fbk、定子电阻阻值Rs、三相交流电流频率fs,使用图2所述的公式1即可计算得到直轴磁链观测值Ψd_fbk,即:Based on quadrature-axis voltage feedback value u q_fbk , quadrature-axis current feedback value i q_fbk , stator resistance R s , and three-phase AC current frequency f s , the observed value of direct-axis flux linkage can be calculated using formula 1 described in FIG. 2 . Ψ d_fbk , that is:

Figure GDA0003090709100000111
Figure GDA0003090709100000111

此外,基于直轴电流反馈值id_fbk、交轴电流反馈值iq_fbk,查询前述的表1,得到该工况下的交轴电感LqIn addition, based on the direct-axis current feedback value id_fbk and the quadrature-axis current feedback value i q_fbk , the aforementioned Table 1 is consulted to obtain the quadrature-axis inductance L q under this working condition.

S402,根据所述直轴磁链观测值、所述交轴电感和所述永磁同步电机的转矩指令有名值,计算所述永磁同步电机的转矩指令标幺值和气隙磁链指令标幺值;S402, according to the observed value of the direct-axis flux linkage, the quadrature-axis inductance, and the nominal value of the torque command of the permanent magnet synchronous motor, calculate the per-unit torque command value and the air-gap flux linkage command of the permanent magnet synchronous motor Pu;

进一步的,如图5所示,所述根据所述直轴磁链观测值、所述交轴电感和所述永磁同步电机的转矩指令有名值,计算所述永磁同步电机的转矩指令标幺值和气隙磁链指令标幺值的步骤,包括:Further, as shown in FIG. 5 , the torque of the permanent magnet synchronous motor is calculated according to the observed value of the direct-axis flux linkage, the quadrature-axis inductance and the torque command value of the permanent magnet synchronous motor. The steps of commanding the per-unit value and air-gap flux linkage command per-unit value, including:

S501,选择所述直轴磁链反馈值作为磁链基准值,选择所述交轴电感作为电感基准值;S501, selecting the direct-axis flux linkage feedback value as the flux linkage reference value, and selecting the quadrature-axis inductance as the inductance benchmark value;

S502,根据所述磁链基准值和所述电感基准值,计算得到电流基准值;S502, calculating a current reference value according to the flux linkage reference value and the inductance reference value;

可选的,所述根据所述磁链基准值和所述电感基准值,计算电流基准值的步骤,包括:Optionally, the step of calculating the current reference value according to the flux linkage reference value and the inductance reference value includes:

将所述磁链基准值除以述电感基准值,得到所述电流基准值。The current reference value is obtained by dividing the flux linkage reference value by the inductance reference value.

选择直轴磁链反馈值Ψd_fbk为磁链基准值Ψb,交轴电感Lq为电感基准值Lb,使用前述的公式2,得到该工况下的电流基准值Ib,即

Figure GDA0003090709100000112
Select the direct-axis flux linkage feedback value Ψ d_fbk as the flux linkage reference value Ψ b , and the quadrature-axis inductance L q as the inductance benchmark value L b , use the aforementioned formula 2 to obtain the current benchmark value I b under this working condition, that is,
Figure GDA0003090709100000112

S503,根据所述磁链基准值、所述电感基准值和所述转矩指令有名值,计算所述转矩指令标幺值;S503, according to the reference value of the flux linkage, the reference value of the inductance and the nominal value of the torque command, calculate the per-unit value of the torque command;

可选的,所述根据所述磁链基准值、所述电感基准值和所述转矩指令有名值,计算所述转矩指令标幺值的步骤,包括:Optionally, the step of calculating the per-unit torque command value according to the flux linkage reference value, the inductance reference value and the torque command nominal value includes:

根据所述永磁同步电机的极对数、磁链基准值和电流基准值以及预设系数的相乘,得到转矩基准值;According to the multiplication of the pole pair number, the flux linkage reference value, the current reference value and the preset coefficient of the permanent magnet synchronous motor, the torque reference value is obtained;

将所述转矩指令有名值除以所述转矩基准值,得到所述转矩指令标幺值。The torque command nominal value is divided by the torque reference value to obtain the torque command per unit value.

根据极对数P、磁链基准值Ψb和电流基准值Ib计算转矩基准值的式为Tb=1.5PΨbIb,其中为永磁同步电机的极对数,预设系数取1.5。The formula for calculating the torque reference value according to the pole pair number P, the flux linkage reference value Ψ b and the current reference value I b is T b =1.5PΨ b I b , where is the pole pair number of the permanent magnet synchronous motor, and the preset coefficient is taken as 1.5.

使用图2中的公式3对不同工况下的转矩有名值Te进行标幺化,即:Use Equation 3 in Fig. 2 to per-unitize the torque nominal value T e under different operating conditions, namely:

Figure GDA0003090709100000121
Figure GDA0003090709100000121

S504,将所述气隙磁链有名值除以所述直轴磁链观测值,得到所述气隙磁链指令标幺值。S504, dividing the named value of the air-gap flux linkage by the observed value of the direct-axis flux linkage to obtain the per-unit value of the air-gap flux linkage command.

基于Ψs与Ψd_fbk,将两者相除得到Ψsref_p.u.Based on Ψ s and Ψ d_fbk , divide the two to get Ψ sref_p.u. .

S403,根据所述转矩指令标幺值和所述气隙磁链指令标幺值,查询所述参数映射关系表得到直轴电流指令标幺值;S403, according to the per-unit value of the torque command and the per-unit value of the air-gap flux linkage command, query the parameter mapping relationship table to obtain the per-unit value of the direct-axis current command;

基于前述步骤得到的Teref_p.u.、Ψsref_p.u.,查询前文所述的表2,得到对应的idref_p.u.Based on the Teref_p.u. and Ψ sref_p.u. obtained in the preceding steps, query the aforementioned Table 2 to obtain the corresponding idref_p.u. .

S404,根据所述转矩指令标幺值和直轴电流指令标幺值,计算得到交轴电流指令标幺值。S404, according to the torque command per unit value and the direct axis current command per unit value, calculate and obtain the quadrature axis current command per unit value.

基于上述步骤得到的转矩指令标幺值Teref_p.u.、直轴电流指令标幺值idref_p.u.,使用图1中的公式4计算得到对应的iqref_p.u.,即

Figure GDA0003090709100000122
Based on the torque command per-unit value Teref_p.u. and the direct-axis current command per-unit value i dref_p.u. obtained in the above steps, the corresponding i qref_p.u.
Figure GDA0003090709100000122

相应的,步骤S302所述的,根据所述交轴电感、所述直轴磁链观测值、所述直轴电流指令标幺值和所述交轴电流指令标幺值,计算所述永磁同步电机的直轴电流有名值和所述交轴电流有名值的步骤,可以包括:Correspondingly, in step S302, the permanent magnet is calculated according to the quadrature-axis inductance, the observed value of the direct-axis flux linkage, the per-unit value of the direct-axis current command, and the per-unit value of the quadrature-axis current command. The steps of the named value of the direct-axis current of the synchronous motor and the named value of the quadrature-axis current may include:

将所述直轴电流指令标幺值乘以所述电流基准值,得到所述直轴电流有名值;Multiply the per-unit value of the direct-axis current command by the current reference value to obtain the direct-axis current named value;

将所述交轴电流指令标幺值乘以所述电流基准值,得到所述交轴电流有名值。Multiply the per-unit value of the quadrature-axis current command by the current reference value to obtain the quadrature-axis current nominal value.

基于所得到的Ib、idref_p.u.,使用图2中的公式5计算得到对应的idref,即idref=idref_p.u.×Ib;以及,基于Ib、iqref_p.u.,使用图2中的公式6计算得到对应的iqref,即iqref=iqref_p.u.×Ib。将idref与iqref输入到电流控制器中,控制永磁同步电机实际电流输出。Based on the obtained I b , idref_p.u. , the corresponding idref is calculated using Equation 5 in FIG. 2 , that is, idref = idref_p.u. ×I b ; and, based on I b , i qref_p.u . , the corresponding i qref is calculated by using Formula 6 in FIG. 2 , that is, i qref =i qref_p.u. ×I b . Input idref and iqref into the current controller to control the actual current output of the permanent magnet synchronous motor.

综上所述,本公开实施例提供的电机控制方案,相对传统控制方案的算法比较复杂,不能直接观测,必须经过复杂计算得到的弊端,本方案使用直轴磁链直接观测,充分考虑了电机温度变化所引起的永磁同步发电机永磁体磁链的改变。此外,在充分考虑了定子电流变化对定子电感大小的影响的前提下,只需关注交轴电感Lq受定子电流的影响,无需关注直轴电感Ld的变化,、查表操作较少,控制流程简单,节约了控制器的储存资源,降低了控制系统复杂程度。以及,本实施例能够同时考虑到电流和温度的影响,对转矩和磁链的影响,降低磁链控制误差,满足永磁同步电机在不同的定子电流值以及电机温度下的输出转矩与气隙磁链的高精度控制。To sum up, the motor control scheme provided by the embodiments of the present disclosure is more complicated than the algorithm of the traditional control scheme, which cannot be directly observed, and must be obtained through complex calculation. The change of permanent magnet flux linkage of permanent magnet synchronous generator caused by temperature change. In addition, under the premise of fully considering the influence of the stator current change on the stator inductance, it is only necessary to pay attention to the influence of the quadrature-axis inductance Lq by the stator current, and does not need to pay attention to the change of the direct-axis inductance Ld. Simple, saves the storage resources of the controller, and reduces the complexity of the control system. And, this embodiment can simultaneously consider the influence of current and temperature, the influence on torque and flux linkage, reduce the flux linkage control error, and satisfy the output torque of the permanent magnet synchronous motor under different stator current values and motor temperature. High precision control of air gap flux linkage.

与上面的方法实施例相对应,参见图6,本公开实施例还提供了一种电机控制装置60,包括:Corresponding to the above method embodiments, referring to FIG. 6 , an embodiment of the present disclosure further provides a motor control device 60 , including:

建表模块601,用于建立永磁同步电机对应的参数映射关系表;A table building module 601 is used to establish a parameter mapping relationship table corresponding to the permanent magnet synchronous motor;

查表模块602,用于根据当前工况下的永磁同步电机的直轴电流反馈值和交轴电流反馈值查询所述参数映射关系表,得到当前工况下所述永磁同步电机的交轴电感;The table lookup module 602 is configured to query the parameter mapping table according to the direct-axis current feedback value and the quadrature-axis current feedback value of the permanent magnet synchronous motor under the current working condition, and obtain the AC current of the permanent magnet synchronous motor under the current working condition. shaft inductance;

计算模块603,用于根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值,其中,所述预设类型的参数至少包括所述交轴电感;A calculation module 603, configured to calculate the nominal value of the direct-axis current and the nominal value of the quadrature-axis current of the permanent magnet synchronous motor according to parameters of a preset type, wherein the parameters of the preset type at least include the quadrature-axis inductance;

控制模块604,用于将所述直轴电流有名值和所述交轴电流有名值输入所述永磁同步电机的电流控制器内,控制所述永磁同步电机的实际电流输出。The control module 604 is configured to input the nominal value of the direct-axis current and the nominal value of the quadrature-axis current into the current controller of the permanent magnet synchronous motor to control the actual current output of the permanent magnet synchronous motor.

图6所示装置可以对应的执行上述方法实施例中的内容,本实施例未详细描述的部分,参照上述方法实施例中记载的内容,在此不再赘述。The apparatus shown in FIG. 6 can correspondingly execute the content in the foregoing method embodiment. For the part not described in detail in this embodiment, reference is made to the content recorded in the foregoing method embodiment, and details are not repeated here.

参见图7,本公开实施例还提供了一种电子设备60,该电子设备包括:Referring to FIG. 7, an embodiment of the present disclosure further provides an electronic device 60, the electronic device includes:

至少一个处理器;以及,at least one processor; and,

与该至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

该存储器存储有可被该至少一个处理器执行的指令,该指令被该至少一个处理器执行,以使该至少一个处理器能够执行前述方法实施例中的电机控制方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the motor control method in the foregoing method embodiments.

本公开实施例还提供了一种非暂态计算机可读存储介质,该非暂态计算机可读存储介质存储计算机指令,该计算机指令用于使该计算机执行前述方法实施例中的电机控制方法。Embodiments of the present disclosure further provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the motor control method in the foregoing method embodiments.

本公开实施例还提供了一种计算机程序产品,该计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,该计算机程序包括程序指令,当该程序指令被计算机执行时,使该计算机执行前述方法实施例中的的电机控制方法。Embodiments of the present disclosure also provide a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, when the program instructions are executed by a computer, make The computer executes the motor control method in the foregoing method embodiment.

下面参考图7,其示出了适于用来实现本公开实施例的电子设备70的结构示意图。本公开实施例中的电子设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring next to FIG. 7 , it shows a schematic structural diagram of an electronic device 70 suitable for implementing an embodiment of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (eg, mobile terminals such as in-vehicle navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in FIG. 7 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.

如图7所示,电子设备70可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储装置708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有电子设备70操作所需的各种程序和数据。处理装置701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7 , electronic device 70 may include processing means (eg, central processing unit, graphics processor, etc.) 701 that may be loaded into random access according to a program stored in read only memory (ROM) 702 or from storage means 708 Various appropriate actions and processes are executed by the programs in the memory (RAM) 703 . In the RAM 703, various programs and data necessary for the operation of the electronic device 70 are also stored. The processing device 701 , the ROM 702 , and the RAM 703 are connected to each other through a bus 704 . An input/output (I/O) interface 705 is also connected to bus 704 .

通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、图像传感器、麦克风、加速度计、陀螺仪等的输入装置707;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许电子设备70与其他设备进行无线或有线通信以交换数据。虽然图中示出了具有各种装置的电子设备70,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices may be connected to the I/O interface 705: input devices 707 including, for example, a touch screen, touch pad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, An output device 707 of a vibrator or the like; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709 . Communication means 709 may allow electronic device 70 to communicate wirelessly or by wire with other devices to exchange data. While the figures show electronic device 70 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM 702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication device 709 , or from the storage device 708 , or from the ROM 702 . When the computer program is executed by the processing device 701, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.

上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备能够实现上述方法实施例提供的方案。The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the electronic device, enables the electronic device to implement the solutions provided by the above method embodiments.

或者,上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备能够实现上述方法实施例提供的方案。Alternatively, the above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the electronic device, enables the electronic device to implement the solutions provided by the above method embodiments.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.

描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。The units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Wherein, the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first obtaining unit may also be described as "a unit that obtains at least two Internet Protocol addresses".

应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.

以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited to this. Any person skilled in the art who is familiar with the technical scope of the present disclosure can easily think of changes or substitutions. All should be included within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims (8)

1.一种电机控制方法,其特征在于,所述方法包括:1. A motor control method, wherein the method comprises: 建立永磁同步电机对应的参数映射关系表;Establish the parameter mapping table corresponding to the permanent magnet synchronous motor; 根据当前工况下的永磁同步电机的直轴电流反馈值和交轴电流反馈值查询所述参数映射关系表,得到当前工况下所述永磁同步电机的交轴电感;Query the parameter mapping table according to the direct-axis current feedback value and the quadrature-axis current feedback value of the permanent magnet synchronous motor under the current working condition, and obtain the quadrature-axis inductance of the permanent magnet synchronous motor under the current working condition; 根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值,其中,所述预设类型的参数至少包括所述交轴电感;Calculate the nominal value of the direct-axis current and the nominal value of the quadrature-axis current of the permanent magnet synchronous motor according to parameters of a preset type, wherein the parameters of the preset type at least include the quadrature-axis inductance; 所述根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值的步骤,包括:The step of calculating the nominal value of the direct-axis current and the nominal value of the quadrature-axis current of the permanent magnet synchronous motor according to the parameters of the preset type includes: 根据预设类型的参数,依次计算所述永磁同步电机的直轴磁链观测值、直轴电流指令标幺值和交轴电流指令标幺值;According to the parameters of the preset type, the direct-axis flux linkage observation value, the direct-axis current command per unit value and the quadrature-axis current command per unit value of the permanent magnet synchronous motor are sequentially calculated; 根据所述交轴电感、所述直轴磁链观测值、所述直轴电流指令标幺值和所述交轴电流指令标幺值,计算所述永磁同步电机的直轴电流有名值和交轴电流有名值;According to the quadrature-axis inductance, the observed value of the direct-axis flux linkage, the per-unit value of the direct-axis current command, and the per-unit value of the quadrature-axis current command, the nominal value of the direct-axis current of the permanent magnet synchronous motor and The name value of the quadrature axis current; 所述根据预设类型的参数,依次计算所述永磁同步电机的直轴磁链观测值、直轴电流指令标幺值和交轴电流指令标幺值的步骤,包括:The step of sequentially calculating the direct-axis flux linkage observation value, the direct-axis current command per-unit value and the quadrature-axis current command per-unit value of the permanent magnet synchronous motor according to the parameters of the preset type, including: 根据所述永磁同步电机的交轴电压反馈值、交轴电流反馈值、定子电阻阻值和三相交流电流频率,计算所述永磁同步电机的直轴磁链观测值;According to the quadrature axis voltage feedback value, quadrature axis current feedback value, stator resistance resistance value and three-phase AC current frequency of the permanent magnet synchronous motor, calculate the direct axis flux linkage observation value of the permanent magnet synchronous motor; 根据所述直轴磁链观测值、所述交轴电感和所述永磁同步电机的转矩指令有名值,计算所述永磁同步电机的转矩指令标幺值和气隙磁链指令标幺值;According to the observed value of the direct-axis flux linkage, the quadrature-axis inductance, and the nominal value of the torque command of the permanent magnet synchronous motor, the per unit value of the torque command of the permanent magnet synchronous motor and the per unit of the air gap flux command are calculated. value; 根据所述转矩指令标幺值和所述气隙磁链指令标幺值,查询所述参数映射关系表得到直轴电流指令标幺值;According to the per-unit value of the torque command and the per-unit value of the air-gap flux linkage command, query the parameter mapping relationship table to obtain the per-unit value of the direct-axis current command; 根据所述转矩指令标幺值和直轴电流指令标幺值,计算得到交轴电流指令标幺值;According to the per-unit value of the torque command and the per-unit value of the direct-axis current command, the per-unit value of the quadrature-axis current command is calculated; 将所述直轴电流有名值和所述交轴电流有名值输入所述永磁同步电机的电流控制器内,控制所述永磁同步电机的实际电流输出。Inputting the name value of the direct axis current and the name value of the quadrature axis current into the current controller of the permanent magnet synchronous motor to control the actual current output of the permanent magnet synchronous motor. 2.根据权利要求1所述的电机控制方法,其特征在于,所述建立永磁同步电机对应的参数映射关系表的步骤,包括:2. The motor control method according to claim 1, wherein the step of establishing the parameter mapping table corresponding to the permanent magnet synchronous motor comprises: 对所述永磁同步电机进行测试试验,确定所述永磁同步电机的直轴电流有名值与转矩有名值、气隙磁链有名值之间的映射关系;Carry out a test experiment on the permanent magnet synchronous motor, and determine the mapping relationship between the nominal value of the direct-axis current of the permanent magnet synchronous motor, the nominal value of torque, and the nominal value of the air gap flux linkage; 确定不同工况下的交轴电感与直轴电压反馈值、三相交流电流频率、定子电阻阻值和交轴电流反馈值之间的映射关系;Determine the mapping relationship between quadrature-axis inductance and direct-axis voltage feedback value, three-phase AC current frequency, stator resistance resistance and quadrature-axis current feedback value under different working conditions; 确定所述永磁同步电机的交轴电感与直轴电流反馈值、交轴电流反馈值之间的映射关系;determining the mapping relationship between the quadrature-axis inductance of the permanent magnet synchronous motor, the direct-axis current feedback value, and the quadrature-axis current feedback value; 确定直轴磁链反馈值与交轴电压反馈值、定子电阻阻值、交轴电路反馈值和三相交流电流频率之间的映射关系;Determine the mapping relationship between the feedback value of the direct-axis flux linkage and the feedback value of the quadrature axis voltage, the resistance value of the stator resistance, the feedback value of the quadrature axis circuit and the frequency of the three-phase AC current; 选择直轴磁链反馈值为磁链基准值,交轴电感为电感基准值,确定电流基准值与磁链基准值和电感基准值之间的映射关系;Select the direct-axis flux linkage feedback value as the flux linkage reference value, and the quadrature-axis inductance as the inductance benchmark value, and determine the mapping relationship between the current benchmark value, the flux linkage benchmark value, and the inductance benchmark value; 对不同工况下的转矩有名值进行标幺化,得到转矩标幺值和转矩有名值和转矩基准值之间的映射关系;The nominal torque value under different working conditions is per-unitized, and the mapping relationship between the torque per-unit value, the torque nominal value and the torque reference value is obtained; 使用磁链基准值与电流基准值,分别对不同工况下的磁链指令有名值、直轴电流值进行标幺化,得到直轴电流标幺值和气隙磁链指令标幺值的映射关系;Using the reference value of flux linkage and the reference value of current, the nominal value of the flux linkage command and the direct-axis current value under different working conditions are per-unitized respectively, and the mapping relationship between the per-unit value of the direct-axis current and the per-unit value of the air-gap flux linkage command is obtained. ; 确定直轴电流标幺值与转矩标幺值和气隙磁链指令标幺值之间的映射关系。Determine the mapping relationship between the per-unit value of the direct-axis current, the per-unit value of the torque, and the per-unit value of the air-gap flux linkage command. 3.根据权利要求1所述的电机控制方法,其特征在于,所述根据所述直轴磁链观测值、所述交轴电感和所述永磁同步电机的转矩指令有名值,计算所述永磁同步电机的转矩指令标幺值和气隙磁链指令标幺值的步骤,包括:3 . The motor control method according to claim 1 , wherein the calculation is performed according to the observed value of the direct-axis flux linkage, the quadrature-axis inductance and the torque command nominal value of the permanent magnet synchronous motor. 4 . The steps of describing the torque command per unit value and the air gap flux command per unit value of the permanent magnet synchronous motor include: 选择所述直轴磁链反馈值作为磁链基准值,选择所述交轴电感作为电感基准值;Select the direct-axis flux linkage feedback value as the flux linkage reference value, and select the quadrature-axis inductance as the inductance benchmark value; 根据所述磁链基准值和所述电感基准值,计算电流基准值;Calculate a current reference value according to the flux linkage reference value and the inductance reference value; 根据所述磁链基准值、所述电感基准值和所述转矩指令有名值,计算所述转矩指令标幺值;Calculate the torque command per unit value according to the flux linkage reference value, the inductance reference value and the torque command nominal value; 将所述气隙磁链有名值除以所述直轴磁链观测值,得到所述气隙磁链指令标幺值。Divide the named value of the air-gap flux linkage by the observed value of the direct-axis flux linkage to obtain the per-unit value of the air-gap flux linkage command. 4.根据权利要求3所述的电机控制方法,其特征在于,所述根据所述磁链基准值和所述电感基准值,计算电流基准值的步骤,包括:4. The motor control method according to claim 3, wherein the step of calculating the current reference value according to the flux linkage reference value and the inductance reference value comprises: 将所述磁链基准值除以所述电感基准值,得到所述电流基准值。The current reference value is obtained by dividing the flux linkage reference value by the inductance reference value. 5.根据权利要求3所述的电机控制方法,其特征在于,所述根据所述磁链基准值、所述电感基准值和所述转矩指令有名值,计算所述转矩指令标幺值的步骤,包括:5 . The motor control method according to claim 3 , wherein the torque command per unit value is calculated according to the flux linkage reference value, the inductance reference value and the torque command nominal value. 6 . steps, including: 根据所述永磁同步电机的极对数、磁链基准值和电流基准值以及预设系数的相乘,得到转矩基准值;According to the multiplication of the pole pair number, the flux linkage reference value, the current reference value and the preset coefficient of the permanent magnet synchronous motor, the torque reference value is obtained; 将所述转矩指令有名值除以所述转矩基准值,得到所述转矩指令标幺值。The torque command nominal value is divided by the torque reference value to obtain the torque command per unit value. 6.根据权利要求2所述的电机控制方法,其特征在于,所述根据所述交轴电感、所述直轴磁链观测值、所述直轴电流指令标幺值和所述交轴电流指令标幺值,计算所述永磁同步电机的直轴电流有名值和交轴电流有名值的步骤,包括:6 . The motor control method according to claim 2 , wherein the method is based on the quadrature-axis inductance, the direct-axis flux linkage observation value, the direct-axis current command per unit value, and the quadrature-axis current. 7 . The steps of calculating the nominal value of the direct-axis current and the nominal value of the quadrature-axis current of the permanent magnet synchronous motor include: 将所述直轴电流指令标幺值乘以所述电流基准值,得到所述直轴电流有名值;Multiply the per-unit value of the direct-axis current command by the current reference value to obtain the direct-axis current named value; 将所述交轴电流指令标幺值乘以所述电流基准值,得到所述交轴电流有名值。Multiply the per-unit value of the quadrature-axis current command by the current reference value to obtain the quadrature-axis current nominal value. 7.一种电机控制装置,其特征在于,包括:7. A motor control device, characterized in that, comprising: 建表模块,用于建立永磁同步电机对应的参数映射关系表;The table building module is used to establish the parameter mapping relationship table corresponding to the permanent magnet synchronous motor; 查表模块,用于根据当前工况下的永磁同步电机的直轴电流反馈值和交轴电流反馈值查询所述参数映射关系表,得到当前工况下所述永磁同步电机的交轴电感;The table lookup module is used to query the parameter mapping table according to the direct-axis current feedback value and the quadrature-axis current feedback value of the permanent magnet synchronous motor under the current working condition, and obtain the quadrature axis of the permanent magnet synchronous motor under the current working condition inductance; 计算模块,用于根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值,其中,所述预设类型的参数至少包括所述交轴电感,所述根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值的步骤如权利要求1-6中任一项中的所述根据预设类型的参数计算所述永磁同步电机的直轴电流有名值和交轴电流有名值的步骤;A calculation module, configured to calculate the nominal value of the direct-axis current and the nominal value of the quadrature-axis current of the permanent magnet synchronous motor according to parameters of a preset type, wherein the parameters of the preset type at least include the quadrature-axis inductance, the The step of calculating the nominal value of the direct-axis current and the nominal value of the quadrature-axis current of the permanent magnet synchronous motor according to the parameters of the preset type is as described in the calculation according to the parameters of the preset type in any one of claims 1-6. The steps of the named value of the direct-axis current and the named value of the quadrature-axis current of the permanent magnet synchronous motor; 控制模块,用于将所述直轴电流有名值和所述交轴电流有名值输入所述永磁同步电机的电流控制器内,控制所述永磁同步电机的实际电流输出。The control module is used for inputting the name value of the direct axis current and the name value of the quadrature axis current into the current controller of the permanent magnet synchronous motor to control the actual current output of the permanent magnet synchronous motor. 8.一种电子设备,其特征在于,所述电子设备包括:8. An electronic device, characterized in that the electronic device comprises: 至少一个处理器;以及,at least one processor; and, 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行前述权利要求1-6中任一项所述的电机控制方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the execution of any of the preceding claims 1-6. described motor control method.
CN201911401472.7A 2019-12-30 2019-12-30 Motor control method, device and electronic device Active CN111049444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911401472.7A CN111049444B (en) 2019-12-30 2019-12-30 Motor control method, device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911401472.7A CN111049444B (en) 2019-12-30 2019-12-30 Motor control method, device and electronic device

Publications (2)

Publication Number Publication Date
CN111049444A CN111049444A (en) 2020-04-21
CN111049444B true CN111049444B (en) 2021-08-17

Family

ID=70242161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911401472.7A Active CN111049444B (en) 2019-12-30 2019-12-30 Motor control method, device and electronic device

Country Status (1)

Country Link
CN (1) CN111049444B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202389B (en) * 2020-09-29 2022-06-10 臻驱科技(上海)有限公司 Temperature distribution measuring method, system and hardware device thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102386835A (en) * 2010-08-27 2012-03-21 永济新时速电机电器有限责任公司 Method for acquiring parameters of permanent magnet synchronous motor (PMSM)
CN110474585A (en) * 2019-08-21 2019-11-19 中车永济电机有限公司 A kind of high-power direct-drive permanent magnet synchronous motor control modulator approach

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7609014B2 (en) * 2006-10-19 2009-10-27 Rockwell Automation Technologies, Inc. System and method for universal adaptive torque control of permanent magnet motors
KR102176579B1 (en) * 2013-06-24 2020-11-09 삼성전자주식회사 Method and Apparatus for controlling torque of Permanent Magnet Synchronous Motor
US9479102B2 (en) * 2014-04-15 2016-10-25 Solum Co., Ltd. Apparatus for driving interior permanent magnet synchronous motor and method of controlling the apparatus
KR20150118882A (en) * 2014-04-15 2015-10-23 삼성전기주식회사 Apparatus for driving Interior Permanent Magnet Synchronous Motor and Controlling Method thereof
KR102480750B1 (en) * 2015-01-08 2022-12-27 삼성전자주식회사 Motor driving apparatus and controlling method thereof
CN107645259B (en) * 2017-07-26 2021-03-05 中国第一汽车股份有限公司 Driving motor torque closed-loop control method for electric automobile
JP7052373B2 (en) * 2018-01-23 2022-04-12 株式会社デンソー AC motor control device
CN108377116B (en) * 2018-04-11 2019-09-10 东软集团股份有限公司 A kind of the current work point given system and method for permanent magnet AC motor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102386835A (en) * 2010-08-27 2012-03-21 永济新时速电机电器有限责任公司 Method for acquiring parameters of permanent magnet synchronous motor (PMSM)
CN110474585A (en) * 2019-08-21 2019-11-19 中车永济电机有限公司 A kind of high-power direct-drive permanent magnet synchronous motor control modulator approach

Also Published As

Publication number Publication date
CN111049444A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
Chatterjee Impact of core losses on parameter identification of three‐phase induction machines
US20250055402A1 (en) Active heating method for electric motor, apparatus, device, storage medium and program product
CN111049444B (en) Motor control method, device and electronic device
Huang et al. Torque control in constant power region for IPMSM under six‐step voltage operation
CN110908752A (en) Control setting method, device, electronic device and interactive system
CN118618148A (en) Battery heating control method and related equipment
CN113794222B (en) Grid-connected inverter current prediction method and device, computer equipment and storage medium
CN112087174B (en) Induction motor control method and device, electronic device and storage medium
CN115459653A (en) Motor control method, device, medium and electronic device
CN112234892B (en) Linear motor thrust fluctuation suppression method, related equipment and medium
CN116260368A (en) A dead zone compensation method and device for a permanent magnet synchronous motor based on a current observer
CN114204866B (en) Rotor speed and position determining method of permanent magnet synchronous motor
CN114977165A (en) Synchronous machine electromagnetic transient modeling method, system and equipment based on saturation effect
Ming et al. Effect of time‐harmonic current on the harmonic leakage inductance of fractional slot concentrated winding permanent magnet synchronous motor
CN118554850A (en) Synchronous motor control method, device, equipment and storage medium
CN116242619B (en) Engine point sweeping method and device of range-extended hybrid electric vehicle and related equipment
CN112329218B (en) Chip steady-state temperature calculation method, device and electronic equipment
CN116094411B (en) Permanent magnet synchronous motor predictive torque control method, storage medium and electronic device
CN115908143B (en) Vehicle cross-floor parking method, device, electronic device and computer readable medium
CN119135013A (en) Motor rotor noise optimization method, device, equipment and storage medium
CN118713519A (en) Torque compensation method, device, equipment and storage medium based on permanent magnet synchronous motor
CN119582684A (en) Synchronous motor control parameter calibration method, device, equipment and storage medium
CN115347826A (en) Rapid suspension force control method and system for bearingless synchronous reluctance motor
CN119050553A (en) Battery pack heating method, device, equipment and storage medium
CN119276167A (en) A motor weak magnetic control method, device, equipment and storage medium

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
CP03 Change of name, title or address

Address after: Room 909, block Y1, Pudong Software Park, 112 liangxiu Road, Pudong New Area, Shanghai, 201203

Patentee after: Zhenqu Technology (Shanghai) Co.,Ltd.

Country or region after: China

Address before: Room 909, block Y1, Pudong Software Park, 112 liangxiu Road, Pudong New Area, Shanghai, 201203

Patentee before: ZHENQU TECHNOLOGY (SHANGHAI) CO.,LTD.

Country or region before: China