CN117227509A - Motor controller, power assembly and method for balancing multiphase heating power - Google Patents

Motor controller, power assembly and method for balancing multiphase heating power Download PDF

Info

Publication number
CN117227509A
CN117227509A CN202311270586.9A CN202311270586A CN117227509A CN 117227509 A CN117227509 A CN 117227509A CN 202311270586 A CN202311270586 A CN 202311270586A CN 117227509 A CN117227509 A CN 117227509A
Authority
CN
China
Prior art keywords
current
heating
heating current
motor
motor controller
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.)
Pending
Application number
CN202311270586.9A
Other languages
Chinese (zh)
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.)
Huawei Digital Power Technologies Co Ltd
Original Assignee
Huawei Digital Power Technologies 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 Huawei Digital Power Technologies Co Ltd filed Critical Huawei Digital Power Technologies Co Ltd
Priority to CN202311270586.9A priority Critical patent/CN117227509A/en
Publication of CN117227509A publication Critical patent/CN117227509A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/72Electric energy management in electromobility

Landscapes

  • Control Of Ac Motors In General (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

一种均衡多相加热功率的电机控制器、动力总成和方法,涉及新能源汽车领域,可应用于纯电动车辆及混动车辆。电机控制器包括:电机控制器用于向电动汽车的驱动电机输出驱动电流和输出多种加热电流,驱动电流用于控制驱动电机输出的扭矩大于零,每种加热电流用于控制驱动电机输出的扭矩为零,每种加热电流包括三相电流,其中:任意两种加热电流的参数不同,参数包括每种加热电流的三相电流中各相电流的有效值之比。根据本申请的方案,可以均衡电机多相的发热功率,提高电池加热效率。

A motor controller, power assembly and method for balancing multi-phase heating power relate to the field of new energy vehicles and can be applied to pure electric vehicles and hybrid vehicles. The motor controller includes: the motor controller is used to output drive current to the drive motor of the electric vehicle and output multiple heating currents. The drive current is used to control the torque output by the drive motor to be greater than zero. Each heating current is used to control the torque output by the drive motor. is zero, each heating current includes three-phase currents, where: the parameters of any two heating currents are different, and the parameters include the ratio of the effective values of each phase current in the three-phase currents of each heating current. According to the solution of this application, the multi-phase heating power of the motor can be balanced and the battery heating efficiency can be improved.

Description

一种均衡多相加热功率的电机控制器、动力总成和方法A motor controller, powertrain and method for balancing multi-phase heating power

技术领域Technical field

本申请涉及电动汽车领域,并且更具体地,涉及一种均衡多相功率的电机控制器、动力总成和方法。The present application relates to the field of electric vehicles, and more particularly, to a motor controller, powertrain and method for equalizing multi-phase power.

背景技术Background technique

在市场需求和政策引导的双重驱动下,电动汽车行业正迈入高速发展阶段。随着电动汽车的大力普及应用,低温下车辆动力性和续航的衰减问题逐渐引起了人们的重视。相较常温环境,低温环境下电池的放电倍率急剧下降,导致车辆动力不足;同时,低温下进行电池充电时,锂离子容易出现负极沉积,生成锂枝晶,造成电池容量不可逆下降,从而缩短续航里程;并且,随着时间的推移,不断生长的锂枝晶可能会刺穿电池正负极之间的隔膜,形成内部短路,引发安全隐患。目前的电池加热方案中利用正温度系数(positivetemperature coefficient,PTC)热敏电阻等电阻制热类装置对动力电池进行加热存在成本高、安装空间大等缺点。还有方案提出采用电机自发热来加热动力电池,取代原有的部分或全部PTC部件,以提升系统集成度并降低成本。但这种加热方案中,存在电机多相功率不均衡、发热不均匀的问题。某一相电流负载达到最大,容易导致单相高压应力超限、单相温升过快,进而导致靠近该单相绕组的温度传感器迅速过热,影响电机的发热功率,导致动力电池的加热速率受到影响。同时,三相绕组发热不均匀也会造成发热严重的一相寿命较短,长期使用会影响电机的对称性和可靠性。Driven by both market demand and policy guidance, the electric vehicle industry is entering a stage of rapid development. With the vigorous popularization and application of electric vehicles, the problem of attenuation of vehicle power and endurance at low temperatures has gradually attracted people's attention. Compared with normal temperature environments, the discharge rate of batteries in low-temperature environments drops sharply, resulting in insufficient vehicle power. At the same time, when charging batteries at low temperatures, lithium ions are prone to negative electrode deposition and generate lithium dendrites, causing an irreversible decrease in battery capacity and shortening battery life. mileage; and, over time, the growing lithium dendrites may pierce the separator between the positive and negative electrodes of the battery, forming an internal short circuit and causing safety hazards. Current battery heating solutions use resistance heating devices such as positive temperature coefficient (PTC) thermistors to heat power batteries, which have disadvantages such as high cost and large installation space. There are also plans to use the motor's self-heating to heat the power battery and replace some or all of the original PTC components to improve system integration and reduce costs. However, in this heating scheme, there are problems of uneven multi-phase power of the motor and uneven heating. When the current load of a certain phase reaches the maximum, it is easy to cause the single-phase high voltage stress to exceed the limit and the single-phase temperature to rise too fast, which in turn causes the temperature sensor close to the single-phase winding to quickly overheat, affecting the heating power of the motor and causing the heating rate of the power battery to be affected. Influence. At the same time, uneven heating of the three-phase windings will also cause the one phase with severe heating to have a shorter life. Long-term use will affect the symmetry and reliability of the motor.

因此,如何在给电池加热过程中均衡电机多相的发热功率是亟待解决的问题。Therefore, how to balance the multi-phase heating power of the motor during the battery heating process is an urgent problem to be solved.

发明内容Contents of the invention

本申请提供一种均衡多相功率的电机控制器、控制方法和动力总成,通过让电机在零扭矩状态下的不同加热电流间来回切换运行,避免发热功率集中的某一相绕组,从而均衡电机多相的发热功率,提高电池加热效率。This application provides a motor controller, control method and power assembly that balances multi-phase power. By allowing the motor to switch back and forth between different heating currents in a zero-torque state, it avoids a certain phase winding where the heating power is concentrated, thereby balancing the The multi-phase heating power of the motor improves the battery heating efficiency.

第一方面,本申请提供了一种电机控制器,该电机控制器用于向电动汽车的驱动电机输出驱动电流和输出多种加热电流,该驱动电流用于控制驱动电机输出的扭矩大于零,每种加热电流用于控制驱动电机输出的扭矩为零,每种加热电流包括三相电流,其中:任意两种加热电流的参数不同,参数包括每种加热电流的三相电流中各相电流的有效值之比。In a first aspect, this application provides a motor controller, which is used to output a driving current to a driving motor of an electric vehicle and to output a variety of heating currents. The driving current is used to control the torque output by the driving motor to be greater than zero. One heating current is used to control the output torque of the drive motor to be zero. Each heating current includes three-phase currents. The parameters of any two heating currents are different. The parameters include the effective value of each phase current in the three-phase currents of each heating current. value ratio.

本申请中,电机控制器向驱动电机输出多种加热电流可以理解为向驱动电机输出一种加热电流运行一段时间,然后切换成另一种加热电流以这另一种加热电流运行一段时间,以此类推,依次在多种加热电流下进行,并不断循环这一工作过程。In this application, the motor controller outputting multiple heating currents to the drive motor can be understood as outputting one type of heating current to the drive motor to run for a period of time, and then switching to another type of heating current to run with the other type of heating current for a period of time. By analogy, it is carried out under various heating currents in turn, and this working process is continuously cycled.

根据本申请的方案,通过让电机在零扭矩状态下的不同加热电流间交替运行,使电机在静止状态下定子线圈损耗产生热量,并将热量传导至动力电池,从而加热电池,不同加热电流在三相定子绕组中的电流大小分配比不同,从而不同加热电流对应的三相功率比值不同,避免发热功率集中的某一相绕组,均衡了电机多相的发热功率,提高电池加热效率。According to the solution of this application, by letting the motor run alternately between different heating currents in the zero-torque state, the stator coil loss of the motor generates heat in the stationary state, and conducts the heat to the power battery, thereby heating the battery. Different heating currents are used in The current distribution ratios in the three-phase stator windings are different, so the three-phase power ratios corresponding to different heating currents are different, avoiding a certain phase winding where the heating power is concentrated, balancing the multi-phase heating power of the motor, and improving the battery heating efficiency.

应理解地,多种加热电流的设置目的是为了让电机在静止状态下产生热量,所以多种加热电流设置的目标是使电机的扭矩为零,但由于器件的实现水平和电机的实际工作状态等原因,电机在多种加热电流下可能会产生不稳定的较小扭矩,只需要保持车辆的静止状态,实际的输出扭矩可以为接近零的较小的值。It should be understood that the purpose of setting multiple heating currents is to allow the motor to generate heat in a stationary state, so the goal of setting multiple heating currents is to make the torque of the motor zero. However, due to the implementation level of the device and the actual working state of the motor For other reasons, the motor may produce unstable and small torque under various heating currents. As long as the vehicle is kept stationary, the actual output torque can be a small value close to zero.

结合第一方面,在第一方面的某些实现方式中,电机控制器用于依次先输出第一加热电流,再输出第二加热电流、第三加热电流和第四加热电流中至少一种,或者,依次先输出第二加热电流、第三加热电流和第四加热电流中至少一种,再输出第一加热电流;其中,第一加热电流的交轴电流分量和第三加热电流的交轴电流分量不为零,第二加热电流的交轴电流分量和第四加热电流的交轴电流分量为零。In connection with the first aspect, in some implementations of the first aspect, the motor controller is configured to first output the first heating current, and then output at least one of the second heating current, the third heating current and the fourth heating current, or , sequentially output at least one of the second heating current, the third heating current and the fourth heating current, and then output the first heating current; wherein, the quadrature axis current component of the first heating current and the quadrature axis current of the third heating current The component is not zero, and the quadrature-axis current component of the second heating current and the quadrature-axis current component of the fourth heating current are zero.

结合第一方面,在第一方面的某些实现方式中,第一加热电流的直轴电流分量、所述第二加热电流的直轴电流分量、所述第三加热电流的直轴电流分量和所述第四加热电流的直轴电流分量均不为零。In connection with the first aspect, in some implementations of the first aspect, the direct axis current component of the first heating current, the direct axis current component of the second heating current, the direct axis current component of the third heating current and None of the direct-axis current components of the fourth heating current is zero.

第一加热电流或第三加热电流下,驱动电机定子绕组对应的交轴电流分量不为零,所以磁阻转矩不为零,直轴电流与交轴电流对应,使得同步转矩和磁阻转矩绝对值相等,符号相反,从而电机的电磁转矩为零。第二加热电流或第四加热电流下,驱动电机定子绕组对应的交轴电流分量为零,直轴电流分量不为零,即三相定子绕组内的电流产生的磁场方向与转子的磁场方向相同,从而驱动电机的同步转矩和磁阻转矩均为零。Under the first heating current or the third heating current, the quadrature-axis current component corresponding to the stator winding of the drive motor is not zero, so the reluctance torque is not zero. The direct-axis current corresponds to the quadrature-axis current, so that the synchronous torque and reluctance The absolute value of the torque is equal and the sign is opposite, so the electromagnetic torque of the motor is zero. Under the second heating current or the fourth heating current, the quadrature axis current component corresponding to the stator winding of the drive motor is zero, and the direct axis current component is not zero, that is, the magnetic field direction generated by the current in the three-phase stator winding is the same as the magnetic field direction of the rotor. , so that the synchronous torque and reluctance torque of the drive motor are both zero.

结合第一方面,在第一方面的某些实现方式中,在电机控制器输出第一加热电流的过程中,第一加热电流的交轴电流分量和直轴电流分量的比值为工作角度,当第一加热电流的工作角度小于45度,第一加热电流的三相电流中各相电流有效值的方差随第一加热电流的工作角度的增大而减小;在电机控制器输出第三加热电流的过程中,第三加热电流的交轴电流分量和直轴电流分量的比值的反正切值为工作角度,当工作角度小于45度,第三加热电流的三相电流中各相电流有效值的方差随工作角度的增大而减小。In conjunction with the first aspect, in some implementations of the first aspect, during the process of the motor controller outputting the first heating current, the ratio of the quadrature-axis current component and the direct-axis current component of the first heating current is the working angle, when The working angle of the first heating current is less than 45 degrees, and the variance of the effective value of each phase current in the three-phase current of the first heating current decreases with the increase of the working angle of the first heating current; when the motor controller outputs the third heating During the current process, the arc tangent value of the ratio of the quadrature-axis current component and the direct-axis current component of the third heating current is the working angle. When the working angle is less than 45 degrees, the effective value of each phase current in the three-phase current of the third heating current is The variance of decreases with the increase of working angle.

结合第一方面,在第一方面的某些实现方式中,在电机控制器输出第一加热电流的过程中,当第一加热电流的工作角度大于45度,第一加热电流的三相电流中各相电流的有效值相同;在电机控制器输出第三加热电流的过程中,当第三加热电流的工作角度大于45度,第三加热电流的三相电流中各相电流的有效值相同。In conjunction with the first aspect, in some implementations of the first aspect, during the process of the motor controller outputting the first heating current, when the working angle of the first heating current is greater than 45 degrees, one of the three-phase currents of the first heating current The effective values of each phase current are the same; during the process of the motor controller outputting the third heating current, when the working angle of the third heating current is greater than 45 degrees, the effective values of each phase current in the three-phase current of the third heating current are the same.

结合第一方面,在第一方面的某些实现方式中,每种加热电流的三相电流中各相电流的有效值随驱动电机的转子角度的变化而变化。In connection with the first aspect, in some implementations of the first aspect, the effective value of each phase current in the three-phase current of each heating current changes with the change of the rotor angle of the driving motor.

结合第一方面,在第一方面的某些实现方式中,在电机控制器用于依次先输出第一加热电流,再输出第二加热电流、第三加热电流和第四加热电流中至少一种过程中,或者在电机控制器用于依次先输出第二加热电流、第三加热电流和第四加热电流中至少一种,再输出第一加热电流过程中,电机控制器用于输出每种加热电流的时长随驱动电机的转子角度的变化而变化。In connection with the first aspect, in some implementations of the first aspect, the motor controller is configured to output the first heating current first, and then output at least one of the second heating current, the third heating current and the fourth heating current. , or in the process of the motor controller being used to output at least one of the second heating current, the third heating current and the fourth heating current in sequence, and then outputting the first heating current, the duration of the motor controller being used to output each heating current Changes with the change of the rotor angle of the drive motor.

应理解地,多种加热电流中每种加热电流对应的工作时长的比值与电机的转子位置角相关,不同的转子位置角,加热电流的工作时长会对应地改变。It should be understood that the ratio of the working time corresponding to each heating current among the multiple heating currents is related to the rotor position angle of the motor. With different rotor position angles, the working time of the heating current will change accordingly.

结合第一方面,在第一方面的某些实现方式中,在电机控制器向驱动电机输出多种加热电流的过程中,任一种加热电流在驱动电机的任一相绕组上的加热功率占任一种加热电流在驱动电机的三相绕组上的总加热功率的比值小于2/3。In conjunction with the first aspect, in some implementations of the first aspect, in the process of the motor controller outputting multiple heating currents to the drive motor, the heating power of any one of the heating currents on any phase winding of the drive motor accounts for The ratio of any heating current to the total heating power on the three-phase winding of the drive motor is less than 2/3.

结合第一方面,在第一方面的某些实现方式中,在电机控制器输出的电流从一种加热电流切换到另一种加热电流的过程中,电机控制器用于控制驱动电机输出的扭矩始终小于扭矩预设值。In conjunction with the first aspect, in some implementations of the first aspect, during a process in which the current output by the motor controller switches from one heating current to another heating current, the motor controller is used to control the torque output by the driving motor to always Less than the torque preset value.

应理解地,为了保持电机的静止,在多种加热电流间切换的过程中,电流的变换应该是先减小,然后再增大至目标加热电流,从而可以保证逆变电路输出的电流驱使的电机的扭矩值始终为零。It should be understood that in order to keep the motor stationary, during the process of switching between multiple heating currents, the current transformation should first decrease and then increase to the target heating current, thereby ensuring that the current output from the inverter circuit is driven The motor's torque value is always zero.

结合第一方面,在第一方面的某些实现方式中,在电机控制器输出的电流从一种加热电流切换到另一种加热电流的过程中,电机控制器输出的电流先减小后增大。In connection with the first aspect, in some implementations of the first aspect, in the process of switching the current output by the motor controller from one heating current to another heating current, the current output by the motor controller first decreases and then increases. big.

结合第一方面,在第一方面的某些实现方式中,响应于动力电池的温度低于阈值和/或加热指令,电机控制器用于向驱动电机输出多种加热电流。In conjunction with the first aspect, in some implementations of the first aspect, in response to the temperature of the power battery being lower than a threshold and/or the heating instruction, the motor controller is configured to output multiple heating currents to the drive motor.

应理解地,电机控制器可以在收到动力电池的温度低于阈值的指示信号时,也可以是在收到加热指令时,向驱动电机输出多种加热电流,对于检测动力电池的温度和发送加热指令可以是由车辆控制器70执行,电机控制器也可以是响应于其他指令进行动力电池加热,本申请对此不做限定。It should be understood that the motor controller can output a variety of heating currents to the drive motor when receiving an indication signal that the temperature of the power battery is lower than the threshold, or when receiving a heating command. For detecting the temperature of the power battery and sending The heating instruction may be executed by the vehicle controller 70 , and the motor controller may also perform heating of the power battery in response to other instructions, which is not limited in this application.

根据本申请的方案,可以均衡驱动电机多相绕组的发热功率,提高电池加热效率。According to the solution of this application, the heating power of the multi-phase windings of the drive motor can be balanced and the battery heating efficiency can be improved.

第二方面,提供了一种动力总成,该动力总成包括:驱动电机和电机控制器,该电机控制器用于向驱动电机输出至少一种加热电流以控制驱动电机的扭矩为零,其中:至少一种加热电流的交轴电流分量和直轴电流分量均不为零。In a second aspect, a power assembly is provided. The power assembly includes: a driving motor and a motor controller, the motor controller is used to output at least one heating current to the driving motor to control the torque of the driving motor to be zero, wherein: Neither the quadrature-axis current component nor the direct-axis current component of at least one heating current is zero.

本申请提供的动力总成的电机控制器输出的加热电流的交轴电流分量和直轴电流分量均不为零但该加热电流可以控制驱动电机的扭矩为零。相较于交轴电流为零的加热电流,该加热电流在驱动电机三相绕组上的发热功率更加均匀,从而可以避免电机绕组的局部温升,提升电驱加热过程的可靠性和加热效率。The quadrature-axis current component and the direct-axis current component of the heating current output by the motor controller of the powertrain provided by this application are not zero, but the heating current can control the torque of the drive motor to be zero. Compared with the heating current with zero quadrature axis current, the heating power of this heating current on the three-phase winding of the drive motor is more uniform, which can avoid local temperature rise of the motor winding and improve the reliability and heating efficiency of the electric drive heating process.

本申请第二方面提供的动力总成的电机控制器用于向驱动电机输出交轴电流分量和直轴电流分量均不为零的加热电流以加热驱动电机的绕组,结合第二方面,在第二方面的某些实现方式中,响应于动力电池的温度低于阈值和/或加热指令,电机控制器用于输出至少一种加热电流。The motor controller of the powertrain provided in the second aspect of this application is used to output a heating current with non-zero quadrature-axis current component and direct-axis current component to the drive motor to heat the windings of the drive motor. Combined with the second aspect, in the second In some implementations of aspects, in response to a temperature of the power battery being lower than a threshold and/or a heating command, the motor controller is configured to output at least one heating current.

本申请提供的动力总成的电机控制器用于输出加热电流以加热驱动电机的绕组,产生于驱动电机绕组上的电流通过导热装置以加热动力电池。在一种场景下,当动力电池的温度过低时,电机控制器输出加热电流以加热动力电池。在另一种场景下,驾驶员主动发出加热指令,响应于加热指令,电机控制器响应于加热指令输出加热电流以加热动力电池。The motor controller of the powertrain provided by this application is used to output heating current to heat the windings of the drive motor, and the current generated on the windings of the drive motor passes through the heat conduction device to heat the power battery. In one scenario, when the temperature of the power battery is too low, the motor controller outputs a heating current to heat the power battery. In another scenario, the driver actively issues a heating command, and in response to the heating command, the motor controller outputs a heating current to heat the power battery in response to the heating command.

结合第二方面,在第二方面的某些实现方式中,在电机控制器输出至少一种加热电流的过程中,每种加热电流的交轴电流分量和直轴电流分量的比值的反正切值为工作角度,当工作角度小于45度,加热电流的三相电流中各相电流有效值的方差随工作角度的增大而减小。In connection with the second aspect, in some implementations of the second aspect, in the process of the motor controller outputting at least one heating current, the arc tangent value of the ratio of the quadrature-axis current component and the direct-axis current component of each heating current is the working angle. When the working angle is less than 45 degrees, the variance of the effective value of each phase current in the three-phase heating current decreases as the working angle increases.

本申请提供的动力总成中的电机控制器输出的加热电流的三相电流有效值的均匀性会随着工作角度的增加而增强,当工作角度大于45度时,加热电流的三相电流有效值相同从而使得加热电流在三相绕组的发热功率相同,驱动电机的发热更加均匀,有利于提供加热性能。The uniformity of the three-phase effective value of the heating current output by the motor controller in the powertrain provided by this application will increase as the working angle increases. When the working angle is greater than 45 degrees, the three-phase current of the heating current is effective. The values are the same, so that the heating power of the heating current in the three-phase windings is the same, and the heating of the drive motor is more uniform, which is beneficial to providing heating performance.

第三方面,提供了一种电机控制方法,该方法包括:控制电机控制器依次向驱动电机输出多种加热电流,每种加热电流用于控制驱动电机输出的扭矩为零,每种加热电流包括三相电流,其中:在第一时间段,控制电机控制器输出第一加热电流;在第一时间段之后的第二时间段,控制电机控制器输出第二加热电流、第三加热电流和第四加热电流中任一种;在第二时间段之后的第三时间段,控制电机控制器输出第一加热电流、第二加热电流、第三加热电流和第四加热电流中任一种;其中,第一加热电流的交轴电流分量和第三加热电流的交轴电流分量不为零,第二加热电流的直轴电流分量和第四加热电流的直轴电流分量为零。In a third aspect, a motor control method is provided, which method includes: controlling the motor controller to output multiple heating currents to the drive motor in sequence, each heating current is used to control the torque output by the drive motor to be zero, and each heating current includes Three-phase current, wherein: in the first time period, the motor controller is controlled to output the first heating current; in the second time period after the first time period, the motor controller is controlled to output the second heating current, the third heating current and the third heating current. Any one of the four heating currents; in the third time period after the second time period, the motor controller is controlled to output any one of the first heating current, the second heating current, the third heating current and the fourth heating current; wherein , the quadrature-axis current component of the first heating current and the quadrature-axis current component of the third heating current are not zero, and the direct-axis current component of the second heating current and the direct-axis current component of the fourth heating current are zero.

结合第三方面,在第三方面的某些实现方式中,在电机控制器输出的电流从一种加热电流切换到另一种加热电流的过程中,控制电机控制器输出的电流先减小后增大,并控制电机控制器使得驱动电机输出的扭矩始终小于扭矩预设值。Combined with the third aspect, in some implementations of the third aspect, in the process of switching the current output by the motor controller from one heating current to another heating current, the current output by the motor controller is controlled to first decrease and then increase, and control the motor controller so that the torque output by the drive motor is always less than the torque preset value.

第四方面,提供了一种电动车,该电动车包括车辆控制器、动力电池及如第二方面及第二方面各种可能实现方式中的动力总成,车辆控制器响应于动力电池的温度低于阈值和/或加热需求,向动力总成发送加热指令,该加热指令指示动力总成加热动力电池;导热装置用于将动力总成中驱动电机产生的热量传导到动力电池。In a fourth aspect, an electric vehicle is provided. The electric vehicle includes a vehicle controller, a power battery and a powertrain as in the second aspect and various possible implementations of the second aspect. The vehicle controller responds to the temperature of the power battery. Below the threshold and/or the heating requirement, a heating command is sent to the powertrain, which instructs the powertrain to heat the power battery; the heat conduction device is used to conduct the heat generated by the drive motor in the powertrain to the power battery.

其它方面的有益效果可以参考第一方面描述的有益效果,此处不再赘述。For beneficial effects in other aspects, reference can be made to the beneficial effects described in the first aspect and will not be described again here.

附图说明Description of drawings

图1是本申请实施例提供的一种电动汽车的示意图;Figure 1 is a schematic diagram of an electric vehicle provided by an embodiment of the present application;

图2是本申请实施例提供的电动车热管理系统示意图;Figure 2 is a schematic diagram of the electric vehicle thermal management system provided by the embodiment of the present application;

图3是本申请实施例提供的一种电机控制器示意图;Figure 3 is a schematic diagram of a motor controller provided by an embodiment of the present application;

图4是本申请提供的一种永磁同步电机零扭矩加热电流示意图;Figure 4 is a schematic diagram of the zero-torque heating current of a permanent magnet synchronous motor provided by this application;

图5是本申请提供的一种电励磁同步电机零扭矩加热电流示意图;Figure 5 is a schematic diagram of the zero-torque heating current of an electric excitation synchronous motor provided by this application;

图6是本申请提供的一种不同转子角度下三相电流示意图;Figure 6 is a schematic diagram of three-phase current at different rotor angles provided by this application;

图7是本申请提供的一种不同转子角度下三相功率示意图;Figure 7 is a schematic diagram of three-phase power at different rotor angles provided by this application;

图8是本申请提供的一种加热电流间切换曲线示意图;Figure 8 is a schematic diagram of a switching curve between heating currents provided by this application;

图9是本申请提供的一种电机控制方法流程示意图;Figure 9 is a schematic flow chart of a motor control method provided by this application;

图10是本申请提供的一种工作流程示意图;Figure 10 is a schematic diagram of a workflow provided by this application;

图11是本申请提供的不同工作角度下三相功率与转子角度的关系图。Figure 11 is a diagram of the relationship between three-phase power and rotor angle at different working angles provided by this application.

具体实施方式Detailed ways

下面将结合附图,对本申请中的技术方案进行描述。以下实施例的详细描述和附图用于示例性地说明本申请的原理,但不能用来限制本申请的范围,即本申请不限于所描述的实施例。The technical solutions in this application will be described below with reference to the accompanying drawings. The detailed description of the following embodiments and the accompanying drawings are used to illustrate the principles of the present application, but cannot be used to limit the scope of the present application, that is, the present application is not limited to the described embodiments.

随着电动汽车的大力普及应用,低温下车辆动力性和续航的衰减问题逐渐引起了人们的重视。With the vigorous popularization and application of electric vehicles, the problem of attenuation of vehicle power and endurance at low temperatures has gradually attracted people's attention.

相较常温环境,低温环境下电池的放电倍率急剧下降,导致车辆动力不足;同时,低温下进行电池充电时,锂离子容易出现负极沉积,生成锂枝晶,造成电池容量不可逆下降,从而缩短续航里程;并且,随着时间的推移,不断生长的锂枝晶可能会刺穿电池正负极之间的隔膜,形成内部短路,引发安全隐患。所以,通常需要对电池进行加热,从而保证电池的正常使用。Compared with normal temperature environments, the discharge rate of batteries in low-temperature environments drops sharply, resulting in insufficient vehicle power. At the same time, when charging batteries at low temperatures, lithium ions are prone to negative electrode deposition and generate lithium dendrites, causing an irreversible decrease in battery capacity and shortening battery life. mileage; and, over time, the growing lithium dendrites may pierce the separator between the positive and negative electrodes of the battery, forming an internal short circuit and causing safety hazards. Therefore, it is usually necessary to heat the battery to ensure the normal use of the battery.

在一种可能的实现方式中,在车辆热管理系统中增加额外的PTC加热装置,其热量通过散热器传递至热管理系统的冷却介质中,再通过热循环对电池包加热,使之升温至常态工作区间,保障正常充放电能力。In one possible implementation, an additional PTC heating device is added to the vehicle thermal management system, and its heat is transferred to the cooling medium of the thermal management system through the radiator, and then the battery pack is heated through thermal circulation to raise the temperature to The normal working range ensures normal charging and discharging capabilities.

但是,独立的PTC加热装置不仅增加了物料成本,且受限于车辆内部空间和安装方式,还产生了额外的结构设计成本,导致电池加热方案的成本较高。However, the independent PTC heating device not only increases the material cost and is limited by the vehicle's internal space and installation method, but also incurs additional structural design costs, resulting in a higher cost of the battery heating solution.

在另一种可能的实现方式中,可以复用电机定子绕组进行加热。通过控制逆变电路52产生电压以激励电机生成特定的电流,该电流作用于定子绕组只产生沿转子磁场方向的电流,从而产生焦耳热量,热量再通过冷却系统的循环间接为电池包加热。In another possible implementation, the motor stator windings can be reused for heating. The voltage generated by the inverter circuit 52 is controlled to excite the motor to generate a specific current. This current acts on the stator winding to only generate current along the direction of the rotor magnetic field, thereby generating Joule heat. The heat then indirectly heats the battery pack through the circulation of the cooling system.

上述实现方式虽然能省掉PTC成本,但由于加热期间电机静止,电机的三相电流均为直流,且三者大小与当前转子位置有关,转子停留在任意位置下,三相绕组功率均不相等,从而每相发热功率严重不均衡。逆变器功率器件也会受三相功率不均衡影响,绕组最大功率相对应桥臂的开关管导通损耗会显著高于其它两相桥臂。在设计最大加热功率指标时,由于需要考虑极端情况下最大功率相包括绕组和功率器件的温升情况,以留出更多的安全余量,所以电机最大加热功率受限,电池温升速率慢,影响用户出行体验。Although the above implementation method can save the cost of PTC, since the motor is stationary during heating, the three-phase currents of the motor are all DC, and the sizes of the three are related to the current rotor position. If the rotor stays in any position, the three-phase winding power will not be equal. , thus the heating power of each phase is seriously unbalanced. The inverter power device will also be affected by the imbalance of three-phase power. The conduction loss of the switching tube of the corresponding bridge arm when the maximum power of the winding is significantly higher than that of the other two-phase bridge arms. When designing the maximum heating power index, since it is necessary to consider the temperature rise of the maximum power phase including windings and power devices under extreme circumstances to leave more safety margins, the maximum heating power of the motor is limited and the battery temperature rise rate is slow. , affecting user travel experience.

基于上述问题,本申请提供了一种电机控制器、电机控制方法和动力总成,通过让驱动电机在零扭矩状态下的不同加热电流间交替运行,使驱动电机在静止状态下定子线圈损耗产生热量,并将热量传导至动力电池,从而加热电池,不同加热电流在三相定子绕组中的电流大小分配比不同,从而不同加热电流对应的三相功率比值不同,避免发热功率集中的某一相绕组,均衡了电机多相的发热功率,提高电池加热效率。Based on the above problems, this application provides a motor controller, a motor control method and a power assembly. By allowing the drive motor to alternately operate between different heating currents in the zero-torque state, the stator coil loss of the drive motor is generated in the stationary state. The heat is transferred to the power battery to heat the battery. Different heating currents have different current distribution ratios in the three-phase stator windings, so the three-phase power ratios corresponding to different heating currents are different, avoiding a certain phase where the heating power is concentrated. The winding balances the multi-phase heating power of the motor and improves the battery heating efficiency.

在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“设置”、“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可视具体情况理解上述术语在本申请中的具体含义。本申请中使用的术语“包括”不应解释为限制于其后列出的内容;它不排除其它的元件或步骤。因此,其应当诠释为指定所提到的特征、整体、步骤或部件的存在,但并不排除存在或添加一个或更多其它特征、整体、步骤或部件及其组群。因此,表述“包括装置A和B的设备”不应局限为仅由部件A和B组成的设备。In the description of this application, it should be noted that, unless otherwise clearly stated and limited, the terms "set", "installation", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection or a fixed connection. It can be detachably connected or integrally connected; it can be directly connected or indirectly connected through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in this application may be understood based on specific circumstances. The term "comprising" used in this application should not be construed as limited to what is listed thereafter; it does not exclude other elements or steps. It should therefore be construed as specifying the presence of mentioned features, integers, steps or components but not excluding the presence or addition of one or more other features, integers, steps or components and groups thereof. Therefore, the expression "apparatus comprising means A and B" should not be limited to a plant consisting only of components A and B.

为了便于理解本申请实施例,首先,对申请实施例涉及的概念以及技术作简单介绍。In order to facilitate understanding of the embodiments of the present application, first, the concepts and technologies involved in the embodiments of the present application are briefly introduced.

应理解地,后文中相关的术语和解释说明全文各个实施例通用,不同实施例可以独立使用,或者基于某些内在或外在联系结合使用,实施例中不同的实现方式可以独立或结合使用。It should be understood that the relevant terms and explanations in the following are common to various embodiments throughout the text. Different embodiments can be used independently or in combination based on certain internal or external connections. Different implementations in the embodiments can be used independently or in combination.

1、旋转变压器1. Resolver

可以简称为旋变,是一种安装于电机转子轴端的传感器,用于获取当前电机转子位置。It can be called a resolver for short. It is a sensor installed on the shaft end of the motor rotor and is used to obtain the current position of the motor rotor.

2、同步电机2. Synchronous motor

交流电机的一种,通过在定子绕组中通入对称电流产生旋转磁场,转子安装有永磁体或励磁绕组,转子磁场因受定子磁场磁拉力作用而随定子旋转磁场同步旋转,并对外产生转矩。A type of AC motor that generates a rotating magnetic field by passing a symmetrical current into the stator winding. The rotor is equipped with permanent magnets or excitation windings. The rotor magnetic field rotates synchronously with the stator rotating magnetic field due to the magnetic pull of the stator magnetic field, and generates torque externally. .

3、电磁转矩3. Electromagnetic torque

同步电机的电机轴对外输出的转矩称为电磁转矩,该电磁转矩由同步转矩和磁阻转矩组成。The torque output by the motor shaft of a synchronous motor is called electromagnetic torque, which is composed of synchronous torque and reluctance torque.

4、同步转矩4. Synchronous torque

定子旋转磁场和转子旋转磁场相互作用产生的转矩,称为同步转矩。The torque generated by the interaction between the stator rotating magnetic field and the rotor rotating magnetic field is called synchronous torque.

5、磁阻转矩5. Reluctance torque

同步电机中直轴磁路和交轴磁路等效气隙厚度不一致,导致磁阻大小不相等。由于磁通总是会优先选择走磁阻最小的路径,从而直轴和交轴磁阻不一致会导致磁通在路径选择上发生偏向性,产生一个额外的转矩,称为磁阻转矩。The equivalent air gap thickness of the direct-axis magnetic circuit and the quadrature-axis magnetic circuit in the synchronous motor is inconsistent, resulting in unequal reluctance. Since the magnetic flux will always preferentially choose the path with the smallest reluctance, the inconsistent magnetic resistance between the direct axis and the quadrature axis will cause the magnetic flux to be biased in path selection, producing an additional torque, called reluctance torque.

6、铜耗6. Copper consumption

交流/直流电流通过绕组中的铜导体产生的热量,发热功率用I2R计算,其中I为通过的电流(直流或交流量的有效值),R为导体电阻。The heat generated by AC/DC current passing through the copper conductor in the winding, the heating power is calculated by I 2 R, where I is the passing current (effective value of DC or AC quantity), and R is the conductor resistance.

7、矢量控制7. Vector control

适用于带旋转磁场电机的控制方法,可以将三相定子电流系数等效为正交两相系统,将电机转子空间矢量分解为两个直角坐标轴上的分量:磁场方向分量和转子电动势方向分量,并且独立地控制这两个分量,这样可以实现对电机磁通和电动势的直接控制,从而达到精确控制电机的转矩和速度的目的。具体地,可以通过克拉克(clark)变换和帕克(park)变换实现各物理量在三轴二维的定子静止坐标系和二轴的旋转坐标系间的相互转换。以永磁同步电动机的矢量控制方式为例,以转子磁场方向为直轴(d轴),其超前90°方向为交轴(q轴),形成旋转的坐标系。可以将三相的电流转换为d轴和q轴上的电流,给定的直轴电流Id和交轴电流Iq合成的电流矢量Is形成的磁场方向与转子磁场方向形成一个角度,合理的角度使磁场之间作用形成最大的转矩,从而使得电机输出转矩。A control method suitable for motors with rotating magnetic fields. The three-phase stator current coefficient can be equivalent to an orthogonal two-phase system, and the motor rotor space vector can be decomposed into components on two rectangular coordinate axes: the magnetic field direction component and the rotor electromotive force direction component. , and control these two components independently, so that direct control of the motor's magnetic flux and electromotive force can be achieved, thereby achieving the purpose of accurately controlling the motor's torque and speed. Specifically, the mutual conversion of each physical quantity between the three-axis two-dimensional stator stationary coordinate system and the two-axis rotating coordinate system can be realized through Clark transformation and Park transformation. Taking the vector control method of a permanent magnet synchronous motor as an example, the direction of the rotor magnetic field is the direct axis (d-axis), and its leading 90° direction is the quadrature axis (q-axis), forming a rotating coordinate system. The three-phase current can be converted into currents on the d-axis and q-axis. The direction of the magnetic field formed by the current vector I s synthesized by the given direct-axis current I d and the quadrature-axis current I q forms an angle with the direction of the rotor magnetic field, which is reasonable. The angle allows the magnetic fields to interact with each other to form the maximum torque, thereby causing the motor to output torque.

图1为本申请实施例提供的一种电动汽车的示意图。如图1所示,电动汽车10包括动力电池20、动力总成30和车辆控制器70。车辆控制器70可以向动力总成30发送指令,从而控制车辆运行或进行加热等操作。动力总成30用于驱动电动汽车10或用于加热动力电池20。动力总成30包括电机控制器50和驱动电机60。电机控制器50包括控制装置51和逆变电路52,逆变电路52可以是采用绝缘栅双极型晶体管(insulated gate bipolartransistor,IGBT)组成控制电路,该控制电路中IGBT的通断控制信号由上述的控制装置51提供。以对三相电机的控制为例,通过采用6个IGBT组成逆变控制电路,将电池端的直流电流变换成三相交流电流,分别提供至三相电机的三相绕组(U、V、W),以控制三相电机的转速或扭矩输出。导热装置40可以视为包括在动力总成30中。驱动电机60产生的热量通过导热装置40传导至动力电池20以加热动力电池20。电机控制器50可以通过内部功率器件的通断产生调制电压,进而激励电机三相绕组产生加热电流。Figure 1 is a schematic diagram of an electric vehicle provided by an embodiment of the present application. As shown in FIG. 1 , the electric vehicle 10 includes a power battery 20 , a powertrain 30 and a vehicle controller 70 . The vehicle controller 70 may send instructions to the powertrain 30 to control vehicle operation or perform operations such as heating. The powertrain 30 is used to drive the electric vehicle 10 or to heat the power battery 20 . Powertrain 30 includes motor controller 50 and drive motor 60 . The motor controller 50 includes a control device 51 and an inverter circuit 52. The inverter circuit 52 may be a control circuit composed of an insulated gate bipolar transistor (IGBT). The on-off control signal of the IGBT in the control circuit is composed of the above-mentioned The control device 51 is provided. Taking the control of a three-phase motor as an example, six IGBTs are used to form an inverter control circuit to convert the DC current at the battery end into a three-phase AC current, which is provided to the three-phase windings (U, V, W) of the three-phase motor respectively. , to control the speed or torque output of the three-phase motor. Thermal transfer device 40 may be considered included in powertrain 30 . The heat generated by the driving motor 60 is conducted to the power battery 20 through the heat conduction device 40 to heat the power battery 20 . The motor controller 50 can generate a modulated voltage by turning on and off internal power devices, thereby stimulating the three-phase windings of the motor to generate heating current.

如图2所示,本申请提供的实施例可以应用于该电动汽车热管理系统架构,其中,电机绕组产生的热量通过油冷管路带入油箱,油箱的热量通过冷却液带入冷却液循环管路,冷却管路连通动力电池,从而可以通过驱动电机产生的热量对动力电池进行加热。As shown in Figure 2, the embodiment provided by this application can be applied to the electric vehicle thermal management system architecture, in which the heat generated by the motor winding is brought into the fuel tank through the oil cooling pipeline, and the heat from the fuel tank is brought into the coolant circulation through the coolant Pipes and cooling pipes are connected to the power battery, so that the power battery can be heated by the heat generated by the driving motor.

本申请主要应用于电动汽车动力电池加热场景,具体可以是轿车、货车、客运客车等不同类型汽车中的任意一种,还可以是三轮车、二轮车、火车等载人或者载货的运输装置,或者其他用动力电池驱动的其他类型的交通工具。电动汽车包括但不限于纯电动汽(pure electric vehicle/battery electric vehicle,pure EV/battery EV)、混合动力汽车(hybrid electric vehicle,HEV)、增程式电动汽车(range extended electricvehicle,REEV)、插电式混合动力汽车(plug-in hybrid electric vehicle,PHEV)、新能源汽车(new energy vehicle,NEV)等。This application is mainly used in electric vehicle power battery heating scenarios. Specifically, it can be any of different types of vehicles such as cars, trucks, and passenger buses, or it can also be a transport device for carrying people or goods such as a tricycle, a two-wheeler, or a train. , or other types of vehicles powered by power batteries. Electric vehicles include but are not limited to pure electric vehicle/battery electric vehicle (pure EV/battery EV), hybrid electric vehicle (HEV), range extended electric vehicle (REEV), plug-in Type hybrid electric vehicle (plug-in hybrid electric vehicle, PHEV), new energy vehicle (new energy vehicle, NEV), etc.

本申请实施例中的驱动电机60包括但不限于三相或多相、轴向或径向永磁同步电机,三相或多相、轴向或径向永磁辅助式同步磁阻电机,以及三相或多相、轴向或径向电励磁同步电机等。本申请实施例中的驱动电机60其结构与常见的电机结构相同,内部包括转子、定子铁心、定子绕组。当驱动电机60为多相绕组电机,其电机相数可以为3相、5相、6相、9相等。该电机常用的冷却方式可以为油冷、水冷、或空冷。为了描述的简洁,以下以三相驱动电机为例,对本申请的方案进行阐述,多相的情况可以类似参考三相驱动电机的说明。The drive motor 60 in the embodiment of the present application includes but is not limited to a three-phase or multi-phase, axial or radial permanent magnet synchronous motor, a three-phase or multi-phase, axial or radial permanent magnet auxiliary synchronous reluctance motor, and Three-phase or multi-phase, axial or radial electric excitation synchronous motor, etc. The structure of the drive motor 60 in the embodiment of the present application is the same as that of a common motor, and includes a rotor, a stator core, and a stator winding. When the driving motor 60 is a multi-phase winding motor, the number of motor phases may be 3 phases, 5 phases, 6 phases, 9 phases, etc. Commonly used cooling methods for this motor can be oil cooling, water cooling, or air cooling. For the sake of simplicity of description, a three-phase drive motor is taken as an example to illustrate the solution of the present application. For multi-phase situations, similar reference can be made to the description of a three-phase drive motor.

本申请实施例中的动力电池可以为锂离子电池、锂金属电池、铅酸电池、镍镉电池、镍氢电池、锂硫电池、锂空气电池或者钠离子电池等,在此不做限定。从规模而言,本申请实施例中的动力电池可以为电芯单体,也可以是电池模组或电池包,在此不做限定。从应用场景而言,该动力电池可应用于汽车、轮船等动力装置内。例如,可以应用于动力汽车,以为动力汽车的电机供电,作为电动汽车的动力源。该动力电池还可为电动汽车中的其他用电器件供电,比如车内空调、车载播放器等供电。为了便于描述,以下将以动力电池应用于电动汽车(或称新能源汽车)为例,对本申请的方案进行阐述。The power battery in the embodiment of the present application may be a lithium-ion battery, a lithium metal battery, a lead-acid battery, a nickel-cadmium battery, a nickel-hydrogen battery, a lithium-sulfur battery, a lithium-air battery, a sodium-ion battery, etc., which are not limited here. In terms of scale, the power battery in the embodiment of the present application can be a single cell, a battery module or a battery pack, which is not limited here. In terms of application scenarios, the power battery can be used in power devices such as cars and ships. For example, it can be applied to powered cars to power the motors of powered cars as a power source for electric cars. The power battery can also power other electrical devices in electric vehicles, such as in-car air conditioners and car players. For the convenience of description, the solution of this application will be described below by taking the application of power batteries in electric vehicles (or new energy vehicles) as an example.

本申请实施例中的电机控制器50包括逆变电路52,采用绝缘栅双极型晶体管IGBT组成逆变电路52。电机控制还可以包括控制装置51,该逆变电路52中IGBT的通断控制信号可以由控制装置51提供。以对三相电机的控制为例,通过采用6个IGBT组成逆变电路52,将动力电池20中的电流通入电机中,分别提供电流至三相电机的三相绕组,以控制三相电机的转速或扭矩输出。The motor controller 50 in the embodiment of the present application includes an inverter circuit 52, which is composed of an insulated gate bipolar transistor IGBT. The motor control may also include a control device 51 , and the on-off control signal of the IGBT in the inverter circuit 52 may be provided by the control device 51 . Taking the control of a three-phase motor as an example, six IGBTs are used to form an inverter circuit 52 to pass the current in the power battery 20 into the motor and provide current to the three-phase windings of the three-phase motor respectively to control the three-phase motor. speed or torque output.

本申请提供了一种电机控制器50。This application provides a motor controller 50.

如图3所示,该电机控制器50包括逆变电路52,该逆变电路52包括并联的三相桥臂,每相桥臂一端用于连接动力电池20的正极,每相桥臂的另一端用于连接所述动力电池20的负极,每相桥臂的中点用于连接电机的三相定子绕组中的一相绕组。As shown in FIG. 3 , the motor controller 50 includes an inverter circuit 52 . The inverter circuit 52 includes three-phase bridge arms connected in parallel. One end of each phase bridge arm is used to connect the positive electrode of the power battery 20 , and the other end of each phase bridge arm is used to connect the positive electrode of the power battery 20 . One end is used to connect the negative pole of the power battery 20 , and the midpoint of each phase bridge arm is used to connect one phase winding of the three-phase stator winding of the motor.

该电机控制器50用于向电动汽车10的驱动电机60输出驱动电流和输出多种加热电流,驱动电流用于控制驱动电机60输出的扭矩大于零,每种加热电流用于控制驱动电机60输出的扭矩为零,每种加热电流包括三相电流,其中:任意两种加热电流的参数不同,参数包括每种加热电流的三相电流中各相电流的有效值之比。The motor controller 50 is used to output a driving current to the driving motor 60 of the electric vehicle 10 and to output multiple heating currents. The driving current is used to control the torque output by the driving motor 60 to be greater than zero, and each heating current is used to control the output of the driving motor 60 . The torque is zero, and each heating current includes three-phase currents, where: the parameters of any two heating currents are different, and the parameters include the ratio of the effective values of each phase current in the three-phase currents of each heating current.

在一种可能的实现方式中,多种加热电流包括第一加热电流,所述第一加热电流的交轴电流分量不为零;多种加热电流还包括第二加热电流、第三加热电流和第四加热电流中至少一种,第三加热电流的交轴电流分量不为零,第三加热电流与第一加热电流不相等,第二加热电流和第四加热电流的交轴电流分量为零,第二加热电流和第四加热电流不相等。In a possible implementation, the multiple heating currents include a first heating current, the quadrature-axis current component of the first heating current is not zero; the multiple heating currents also include a second heating current, a third heating current, and At least one of the fourth heating currents, the quadrature-axis current component of the third heating current is not zero, the third heating current is not equal to the first heating current, and the quadrature-axis current components of the second heating current and the fourth heating current are zero. , the second heating current and the fourth heating current are not equal.

在一种可能的实现方式中,电机控制器50用于依次先输出第一加热电流,再输出第二加热电流、第三加热电流和第四加热电流中至少一种,或者,依次先输出第二加热电流、第三加热电流和第四加热电流中至少一种,再输出第一加热电流;其中,第一加热电流的交轴电流分量和第三加热电流的交轴电流分量不为零,所二加热电流的交轴电流分量和第四加热电流的交轴电流分量为零。In a possible implementation, the motor controller 50 is configured to output the first heating current first, and then output at least one of the second heating current, the third heating current, and the fourth heating current, or to output the third heating current first. At least one of the second heating current, the third heating current and the fourth heating current outputs the first heating current; wherein the quadrature axis current component of the first heating current and the quadrature axis current component of the third heating current are not zero, The quadrature-axis current component of the second heating current and the quadrature-axis current component of the fourth heating current are zero.

第一加热电流的直轴电流分量、第二加热电流的直轴电流分量、第三加热电流的直轴电流分量和第四加热电流的直轴电流分量均不为零。The direct-axis current component of the first heating current, the direct-axis current component of the second heating current, the direct-axis current component of the third heating current, and the direct-axis current component of the fourth heating current are all non-zero.

示例性地,第一加热电流的三相电流中每相电流有效值比例为:U相:V相:W相=Iu1:Iv1:Iw1;第二加热电流的三相电流中每相电流有效值比例为:U相:V相:W相=Iu2:Iv2:Iw2;那么Iu1:Iv1:Iw1和Iu2:Iv2:Iw2不同。For example, the effective value ratio of each phase current in the three-phase current of the first heating current is: U phase: V phase: W phase = I u1 : I v1 : I w1 ; each phase of the three-phase current of the second heating current The current effective value ratio is: U phase: V phase: W phase = I u2 : I v2 : I w2 ; then I u1 : I v1 : I w1 and I u2 : I v2 : I w2 are different.

在一种可能的实现方式中,电机控制器50还包括控制装置51,三相桥臂包括的六个开关模块的控制端分别与该控制装置51连接;控制装置51用于控制该开关模块通断使该逆变电路52向驱动电机60交替输出多种加热电流。In a possible implementation, the motor controller 50 also includes a control device 51, and the control terminals of the six switch modules included in the three-phase bridge arm are respectively connected to the control device 51; the control device 51 is used to control the switching module. The inverter circuit 52 is turned off to alternately output various heating currents to the driving motor 60 .

应理解地,多种加热电流的设置目的是为了让电机在静止状态下产生热量,所以多种加热电流设置的目标是使驱动电机60的扭矩为零,但由于器件的实现水平和电机的实际工作状态等原因,驱动电机60在多种加热电流下可能会产生不稳定的较小扭矩,只要能够保持车辆的静止状态,实际输出的扭矩可以为接近零的较小的值,在优选的情况下,可以是零。It should be understood that the purpose of setting various heating currents is to allow the motor to generate heat in a stationary state, so the goal of setting various heating currents is to make the torque of the driving motor 60 zero. However, due to the implementation level of the device and the actual performance of the motor, Due to working conditions and other reasons, the drive motor 60 may produce unstable and small torque under various heating currents. As long as the vehicle can be kept stationary, the actual output torque can be a small value close to zero. In a preferred situation Down, can be zero.

每种加热电流的三相电流中各相电流的有效值随驱动电机60的转子角度的变化而变化。电机在第一加热电流或第三加热电流下产生的电磁转矩为0且产生的磁阻转矩不为0,第三加热电流与第一加热电流不相等,第一加热电流或第三加热电流可以根据电机转子旋变角度θe、电机温度和电流幅值Im确定。The effective value of each phase current among the three-phase currents of each heating current changes as the rotor angle of the drive motor 60 changes. The electromagnetic torque generated by the motor under the first heating current or the third heating current is 0 and the reluctance torque generated is not 0. The third heating current is not equal to the first heating current. The first heating current or the third heating current The current can be determined based on the motor rotor rotation angle θ e , the motor temperature and the current amplitude Im .

电流幅值Im可以由加热指令直接指示,也可以通过收到的加热指令中电机加热功率Pm通过公式计算得到其中R0为电机定子绕组的相电阻,电流幅值是电机的三相定子绕组内的最大电流值,电流幅值还是直轴电流Id和交轴电流Iq合成的矢量电流值, The current amplitude I m can be directly indicated by the heating command, or it can be calculated by the formula from the motor heating power P m in the received heating command. Among them, R 0 is the phase resistance of the motor stator winding, the current amplitude is the maximum current value in the three-phase stator winding of the motor, and the current amplitude is also the vector current value synthesized by the direct axis current I d and the quadrature axis current I q .

电机温度可以通过温度传感装置得到,该温度传感装置可以测量电机环境温度,或者电机热回路的热载流体的温度,或者电机定子绕组的温度,或者热传导装置内的温度等,本申请对此不做限定。The temperature of the motor can be obtained through a temperature sensing device, which can measure the ambient temperature of the motor, or the temperature of the heat-carrying fluid of the motor thermal circuit, or the temperature of the motor stator winding, or the temperature in the heat conduction device, etc. This application is for This is not limited.

驱动电机60转子角度可以通过安装在电机转子轴端的传感器,检测电机静止状态下的转子角度,等于传感器测量旋变角度,旋变角度的范围为0~360°。The rotor angle of the drive motor 60 can be detected by a sensor installed at the motor rotor shaft end, which is equal to the rotation angle measured by the sensor, and the rotation angle ranges from 0 to 360°.

驱动电机60在第二加热电流或第四加热电流下产生的电磁转矩和磁阻转矩均为0,第二加热电流和第四加热电流不相等,驱动电机60的电磁转矩为0,三相定子绕组内的电流产生的磁场方向与转子的磁场方向相同,即交轴电流为0,此时磁阻转矩为0。The electromagnetic torque and reluctance torque generated by the drive motor 60 under the second heating current or the fourth heating current are both 0. The second heating current and the fourth heating current are not equal, and the electromagnetic torque of the drive motor 60 is 0. The direction of the magnetic field generated by the current in the three-phase stator winding is the same as that of the rotor, that is, the quadrature axis current is 0, and the reluctance torque is 0 at this time.

容易理解地,通过驱动电机60绕组通入电流,利用定子绕组的热损耗给动力电池20加热时,需要确保电机在加热过程中不产生扭矩,使得车辆能够在静止状态下对电池20升温。It is easy to understand that when current is passed through the windings of the driving motor 60 and the heat loss of the stator winding is used to heat the power battery 20, it is necessary to ensure that the motor does not generate torque during the heating process so that the vehicle can heat the battery 20 in a stationary state.

三相同步电机的转矩可描述为:The torque of a three-phase synchronous motor can be described as:

Te=1.5·np·[ψf+(Ld-Lq)·id]·iq (1)T e =1.5·n p ·[ψ f +(L d -L q )·i d ]·i q (1)

其中:Te为电机转矩,np为电机极对数,ψf为电机转子磁链,Ld为直轴电感(又称d轴电感),Lq为交轴电感(又称q轴电感),id为直轴电流(又称d轴电流),iq为交轴电流(又称q轴电流)。Among them: T e is the motor torque, n p is the number of pole pairs of the motor, ψ f is the motor rotor flux linkage, L d is the direct axis inductance (also called d-axis inductance), L q is the quadrature axis inductance (also called q-axis Inductance), i d is the direct axis current (also known as d-axis current), and i q is the quadrature axis current (also known as q-axis current).

式(1)中的电磁转矩包含两部分:同步转矩T1和磁阻转矩T2The electromagnetic torque in formula (1) includes two parts: synchronous torque T 1 and reluctance torque T 2 .

Te=T1+T2 T e =T 1 +T 2

不同类型的同步电机,转子磁链的来源不同,电机直轴电感和交轴电感的大小关系也有不同。对于三相或多相永磁同步电机,转子磁链由永磁体产生,且永磁体安装在d轴。由于永磁体的磁导率和空气接近,故d轴等效气隙比q轴更厚,从而d轴磁路的磁导更小,于是d轴电感小于q轴电感,即Ld<Lq;而对于三相或多相电励磁同步电机,转子磁链由缠绕在转子上的励磁绕组产生。电励磁同步电机的d轴等效气隙比q轴更薄,从而d轴磁路的磁导更大,于是d轴电感大于q轴电感,即Ld>LqDifferent types of synchronous motors have different sources of rotor flux, and the relationship between the motor's direct-axis inductance and quadrature-axis inductance is also different. For three-phase or multi-phase permanent magnet synchronous motors, the rotor flux linkage is generated by permanent magnets, and the permanent magnets are installed on the d-axis. Since the magnetic permeability of the permanent magnet is close to that of air, the d-axis equivalent air gap is thicker than the q-axis, so the magnetic permeability of the d-axis magnetic circuit is smaller, so the d-axis inductance is smaller than the q-axis inductance, that is, L d <L q ; For three-phase or multi-phase electrically excited synchronous motors, the rotor flux is generated by the field winding wound on the rotor. The equivalent air gap of the d-axis of the electrically excited synchronous motor is thinner than that of the q-axis, so the magnetic permeance of the d-axis magnetic circuit is larger, so the d-axis inductance is greater than the q-axis inductance, that is, L d > L q .

以三相永磁同步电机为例,Ld<Lq,永磁同步电机存在显著的饱和非线性特性,所以存在特定的id、iq组合,使得同步转矩T1和磁阻转矩T2大小相等,符号相反。此时有:Taking the three-phase permanent magnet synchronous motor as an example, L d <L q , the permanent magnet synchronous motor has significant saturation nonlinear characteristics, so there is a specific combination of id and iq such that the synchronous torque T 1 and the reluctance torque T 2 are equal in size and opposite in sign. At this time there are:

ψf=-(Ld-Lq)·id (3)ψ f =-(L d -L q )·i d (3)

满足式(3)关系的id、iq的组合构成了几条分段曲线,可以称为零扭矩曲线。The combinations of id and iq that satisfy the relationship of equation (3) constitute several segmented curves, which can be called zero-torque curves.

由于同步电机存在饱和非线性的特征,电感会随电流大小的变化而发生变化,而且在不同温度下id、iq的关系会发生变化,因此通过电机温度可以确定电机电磁转矩为0时的直轴电流和交轴电流的零扭矩曲线。Since synchronous motors have saturated nonlinear characteristics, the inductance will change with changes in current, and the relationship between i d and i q will change at different temperatures. Therefore, the motor temperature can be used to determine when the motor's electromagnetic torque is 0. The zero torque curve of the direct axis current and the quadrature axis current.

应理解地,该零扭矩曲线对于不同的驱动电机60也会存在差异,因此可以通过标定或提前测算的方式确定驱动电机60的零扭矩曲线,也可以通过计算的方式得到,本申请对此不做限定。It should be understood that the zero torque curve will also be different for different drive motors 60. Therefore, the zero torque curve of the drive motor 60 can be determined by calibration or advance calculation, or can be obtained by calculation. This application does not Make limitations.

根据上述的零扭矩曲线和电流幅值,可以确定对应的直轴电流和交轴电流的大小。结合驱动电机60转子旋变角度可以确定出三相定子绕组内需要输入的电流值。According to the above zero torque curve and current amplitude, the corresponding direct axis current and quadrature axis current can be determined. Combined with the rotation angle of the rotor of the drive motor 60, the current value that needs to be input into the three-phase stator winding can be determined.

零扭矩曲线的分布示意如图4或图5所示,将电流幅值设置为Im,为保证电机加热期间输出扭矩为零,电流矢量可停留在如图4或图5中所示的四个工作点。图4中为永磁同步电机,由于永磁体的磁导率和空气接近,故d轴等效气隙比q轴更厚,从而d轴磁路的磁导更小,于是d轴电感小于q轴电感,即Ld<Lq;图5中为电励磁同步电机,转子磁链由缠绕在转子上的励磁绕组产生。电励磁同步电机的d轴等效气隙比q轴更薄,从而d轴磁路的磁导更大,于是d轴电感大于q轴电感,即Ld>Lq。图4和图5中都包括4个工作点,区别在于工作点2和工作点4位于的象限不同。The distribution diagram of the zero torque curve is shown in Figure 4 or Figure 5. The current amplitude is set to I m . In order to ensure that the output torque is zero during the heating of the motor, the current vector can stay at four as shown in Figure 4 or Figure 5. a work point. Figure 4 shows a permanent magnet synchronous motor. Since the magnetic permeability of the permanent magnet is close to that of air, the d-axis equivalent air gap is thicker than the q-axis. Therefore, the magnetic permeance of the d-axis magnetic circuit is smaller, so the d-axis inductance is smaller than q. Shaft inductance, that is, L d <L q ; Figure 5 shows an electrically excited synchronous motor, and the rotor flux is generated by the field winding wrapped around the rotor. The equivalent air gap of the d-axis of the electrically excited synchronous motor is thinner than that of the q-axis, so the magnetic permeance of the d-axis magnetic circuit is larger, so the d-axis inductance is greater than the q-axis inductance, that is, L d > L q . Both Figures 4 and 5 include 4 working points. The difference is that working point 2 and working point 4 are located in different quadrants.

下文以图4中永磁同步电机Ld<Lq的情况为例说明,图5中的电励磁同步电机的说明类似,不再赘述。The following takes the case of the permanent magnet synchronous motor L d < L q in Figure 4 as an example. The description of the electric excitation synchronous motor in Figure 5 is similar and will not be described again.

对于工作点2,电流矢量位于d轴上,id=Im,iq=0,此时同步转矩T1和磁阻转矩T2均为0,当驱动电机60停靠在不同的角度时,U,V,W三相电流有效值为:For operating point 2, the current vector is located on the d-axis, i d =I m and i q =0. At this time, the synchronous torque T 1 and the reluctance torque T 2 are both 0. When the drive motor 60 is parked at different angles When , the effective values of the three-phase currents U, V, and W are:

其中,Iu_rms,Iv_rms,Iw_rms分别为U,V,W三相电流有效值,θe为转子位置角度,可通过安装在驱动电机60转子轴端的旋转变压器测量获取。不同转子角度下三相电流有效值如图6所示,从图6和表1中可以看出,每相电流的有效值在任意角度均不相等,从而三相功率也不等。Among them, I u_rms , I v_rms , and I w_rms are the three-phase current effective values of U, V, and W respectively, and θ e is the rotor position angle, which can be obtained by measuring the resolver installed at the rotor shaft end of the drive motor 60. The effective values of the three-phase currents at different rotor angles are shown in Figure 6. It can be seen from Figure 6 and Table 1 that the effective values of each phase current are not equal at any angle, so the three-phase power is also not equal.

表1、0~180°电气角度范围内三相电流有效值Table 1. Three-phase current effective value within the electrical angle range of 0 to 180°

对于工作点1,电流矢量位于第一象限的零扭矩曲线上,此时id=Imcosδ0,iq=Imsinδ0,其中δ0为电流矢量与d轴的夹角δ0=arctan(iq/id)。此时同步转矩T1为正,磁阻转矩T2为负,二者绝对值相等,和为零,因此输出转矩为0。当驱动电机60转子停靠在不同的角度时,U,V,W三相电流有效值为:For operating point 1, the current vector is located on the zero-torque curve of the first quadrant. At this time, i d =I m cosδ 0 , i q =I m sinδ 0 , where δ 0 is the angle between the current vector and the d-axis δ 0 = arctan(i q /i d ). At this time, the synchronous torque T 1 is positive and the reluctance torque T 2 is negative. Their absolute values are equal and their sum is zero, so the output torque is 0. When the rotor of the drive motor 60 is parked at different angles, the effective values of the U, V, and W three-phase currents are:

对于工作点3,电流矢量位于第四象限的零扭矩曲线上,此时id=Imcosδ0,iq=-Imsinδ0,此时同步转矩T1为负,磁阻转矩T2为正,二者绝对值相等,和为零,因此输出转矩为0。当驱动电机60转子停靠在不同的角度时,U,V,W三相电流有效值为:For operating point 3, the current vector is located on the zero torque curve of the fourth quadrant. At this time, id =I m cosδ 0 , i q =-I m sinδ 0. At this time, the synchronous torque T 1 is negative and the reluctance torque T 2 is positive, their absolute values are equal, and their sum is zero, so the output torque is 0. When the rotor of the drive motor 60 is parked at different angles, the effective values of the U, V, and W three-phase currents are:

对于工作点4,电流矢量位于d轴上,此时id=-Im,iq=0,同步转矩T1和磁阻转矩T2均为0,显然,此时U,V,W三相电流有效值与工作点2时是相同的,可以参见公式(4)。For operating point 4, the current vector is located on the d-axis, at this time id =-I m , i q = 0, the synchronous torque T 1 and the reluctance torque T 2 are both 0. Obviously, at this time U, V, The effective value of W three-phase current is the same as that at operating point 2. See formula (4).

上述四个工作点中,工作点1、工作点2、工作点3和工作点4的三相绕组发热总功率相同,但每个工作点在三相定子绕组中的电流大小分配比不同,即不同工作点的U相、V相、W相电流的大小比值不同,因此U相、V相、W相各自的发热功率分布不相同;工作点2和工作点4在三相定子绕组中的电流有效值相同,但电流的方向并不完全相同。Among the above four working points, the total heating power of the three-phase windings of working point 1, working point 2, working point 3 and working point 4 is the same, but the current distribution ratio in the three-phase stator winding at each working point is different, that is The magnitude ratios of U-phase, V-phase, and W-phase currents at different operating points are different, so the heating power distributions of U-phase, V-phase, and W-phase are different; the currents of operating points 2 and 4 in the three-phase stator winding The effective values are the same, but the direction of the current is not exactly the same.

在一种可能的实现方式中,上述的工作点1对应的加热电流可以是第一加热电流,工作点2对应的加热电流可以是第二加热电流,工作点3对应的加热电流可以是第三加热电流,工作点4对应的加热电流可以是第四加热电流。In a possible implementation, the heating current corresponding to the working point 1 may be the first heating current, the heating current corresponding to the working point 2 may be the second heating current, and the heating current corresponding to the working point 3 may be the third heating current. Heating current, the heating current corresponding to operating point 4 may be the fourth heating current.

在另一种可能的实现方式中,上述的工作点1对应的加热电流可以是第三加热电流,工作点2对应的加热电流可以是第四加热电流,工作点3对应的加热电流可以是第一加热电流,工作点4对应的加热电流可以是第二加热电流。In another possible implementation, the heating current corresponding to the working point 1 may be the third heating current, the heating current corresponding to the working point 2 may be the fourth heating current, and the heating current corresponding to the working point 3 may be the third heating current. A heating current, the heating current corresponding to the operating point 4 may be the second heating current.

驱动电机60以工作点1或者工作点3对应的电流工作时,驱动电机60的交轴电流不为0,因此磁阻转矩也不为0,直轴电流与交轴电流对应,驱动电机60的同步转矩与磁阻转矩绝对值相等,两者和为0,从而驱动电机60的电磁转矩为0。When the driving motor 60 operates with a current corresponding to operating point 1 or operating point 3, the quadrature axis current of the driving motor 60 is not 0, so the reluctance torque is not 0 either. The direct axis current corresponds to the quadrature axis current, and the driving motor 60 The absolute values of the synchronous torque and the reluctance torque are equal, and their sum is 0, so the electromagnetic torque of the drive motor 60 is 0.

驱动电机60以工作点2或者工作点4对应的电流工作时,驱动电机60的交轴电流为0,直轴电流等于电流幅值,因此磁阻转矩和同步转矩都为0,从而驱动电机60的电磁转矩为0。When the drive motor 60 operates with a current corresponding to operating point 2 or 4, the quadrature axis current of the drive motor 60 is 0, and the direct axis current is equal to the current amplitude, so the reluctance torque and synchronous torque are both 0, thus driving The electromagnetic torque of the motor 60 is 0.

如图7所示,当驱动电机60仅仅以第二加热电流或第四加热电流工作时,三相功率随当前转子停留位置的关系如图所示,可见,不同转子位置下,三相总功率虽然恒为1.5,但U、V、W相功率可能为0,也可能为最大值1。As shown in Figure 7, when the drive motor 60 only operates with the second heating current or the fourth heating current, the relationship between the three-phase power and the current rotor dwell position is as shown in the figure. It can be seen that under different rotor positions, the three-phase total power Although it is always 1.5, the U, V, and W phase powers may be 0 or the maximum value of 1.

因此,为了平衡三相发热功率,可以采用下述的几种可能的加热电流组合进行电机控制,下述方式仅是一种举例,其他可能的组合方式也在本申请的保护范围内。Therefore, in order to balance the three-phase heating power, the following possible combinations of heating currents can be used for motor control. The following method is only an example, and other possible combinations are also within the protection scope of this application.

方式一method one

多种加热电流包括工作点1、工作点2和工作点3对应的三种加热电流,从而让驱动电机60三相定子绕组在工作点1、工作点2、工作点3对应的电流之间来回交替切换运行。The various heating currents include three heating currents corresponding to working point 1, working point 2 and working point 3, so that the three-phase stator winding of the drive motor 60 can go back and forth between the currents corresponding to working point 1, working point 2 and working point 3. Alternate switching operation.

方式二Method 2

多种加热电流包括工作点1、工作点2和工作点4对应的两种加热电流,从而让驱动电机60三相定子绕组在工作点1、工作点2、工作点4对应的电流之间来回交替切换运行。The various heating currents include two heating currents corresponding to working point 1, working point 2 and working point 4, so that the three-phase stator winding of the drive motor 60 can go back and forth between the currents corresponding to working point 1, working point 2 and working point 4. Alternate switching operation.

方式三Method three

多种加热电流包括工作点1、工作点2、工作点3和工作点4对应的四种加热电流,从而让驱动电机60三相定子绕组在工作点1、工作点2、工作点3、工作点4对应的电流之间来回交替切换运行。The various heating currents include four heating currents corresponding to working point 1, working point 2, working point 3 and working point 4, so that the three-phase stator winding of the drive motor 60 can operate at working point 1, working point 2, working point 3 and working point. The current corresponding to point 4 switches back and forth alternately.

方式四Method four

多种加热电流包括工作点3和工作点4对应的两种加热电流,从而让驱动电机60三相定子绕组在工作点3、工作点3对应的电流之间来回交替切换运行。The various heating currents include two heating currents corresponding to working point 3 and working point 4, thereby allowing the three-phase stator winding of the drive motor 60 to alternately switch back and forth between working point 3 and the current corresponding to working point 3.

在电机控制器50向驱动电机60输出多种加热电流的过程中,任一种加热电流在驱动电机60的任一相绕组上的加热功率占任一种加热电流在驱动电机60的三相绕组上的总加热功率的比值小于2/3。In the process of the motor controller 50 outputting multiple heating currents to the driving motor 60, the heating power of any heating current on any phase winding of the driving motor 60 accounts for the proportion of the heating power of any heating current on the three-phase windings of the driving motor 60. The ratio of the total heating power is less than 2/3.

在一种可能的实现方式中,响应于动力电池20的温度低于阈值和/或加热指令,电机控制器50用于向驱动电机60输出多种加热电流,使得驱动电机60的定子绕组产生热量。In one possible implementation, in response to the temperature of the power battery 20 being lower than the threshold and/or the heating instruction, the motor controller 50 is configured to output multiple heating currents to the drive motor 60 so that the stator winding of the drive motor 60 generates heat. .

应理解地,电机控制器50可以在电池20温度较低时执行电池20加热的流程,逆变电路52向驱动电机60的三相定子绕组交替输出多种加热电流。也可以是在收到了加热指令时执行该流程。It should be understood that the motor controller 50 can perform the process of heating the battery 20 when the temperature of the battery 20 is low, and the inverter circuit 52 alternately outputs various heating currents to the three-phase stator windings of the driving motor 60 . This process may also be executed when a heating command is received.

示例性地,该加热指令可以是例如通过一个加热按钮,用户按下加热按钮,电机控制器50可以在收到加热指令后立即执行该流程;电机控制器50也可以在收到加热指令后检测动力电池20温度是否低于阈值,若低于阈值则执行该流程。Exemplarily, the heating instruction can be, for example, through a heating button. The user presses the heating button, and the motor controller 50 can execute the process immediately after receiving the heating instruction; the motor controller 50 can also detect after receiving the heating instruction. Whether the temperature of the power battery 20 is lower than the threshold, if it is lower than the threshold, this process is executed.

在一种可能的实现方式中,在电机控制器50用于依次先输出第一加热电流,再输出第二加热电流、第三加热电流和第四加热电流中至少一种过程中,或者在电机控制器50用于依次先输出第二加热电流、第三加热电流和第四加热电流中至少一种,再输出第一加热电流过程中,电机控制器50用于输出每种加热电流的时长随驱动电机60的转子角度的变化而变化。In a possible implementation, during the process in which the motor controller 50 is used to output the first heating current first, and then output at least one of the second heating current, the third heating current and the fourth heating current, or when the motor The controller 50 is used to output at least one of the second heating current, the third heating current and the fourth heating current in sequence, and then outputs the first heating current. During the process, the motor controller 50 is used to output the duration of each heating current. The angle of the rotor of the drive motor 60 changes.

驱动电机60的转子位置角不同时,逆变电路52输出多种加热电流中每一种加热电流的时长比值不同。When the rotor position angle of the driving motor 60 is different, the inverter circuit 52 outputs a different duration ratio of each of the multiple heating currents.

每种加热电流运行一定的时间后,可以切换到另一种加热电流,再运行一段时间。电机控制器50输出多种加热电流中的一种加热电流切换为多种加热电流中的另一种加热电流时,可以根据驱动电机60转子旋变角度θe和加热电流大小确定每种加热电流对应的运行时间。After each heating current runs for a certain period of time, it can be switched to another heating current and run for another period of time. When the motor controller 50 outputs one of the multiple heating currents and switches to another of the multiple heating currents, each heating current can be determined based on the rotor rotation angle θ e of the drive motor 60 and the size of the heating current. corresponding running time.

以上述方式一中工作点1、工作点2、工作点3这三个工作点为例,每个工作点对应的加热电流均不相等。在一个固定的时间段内,对三个工作点的运行时间占比进行合理的分配,可使得该时间段内三相绕组各自的总发热量基本一致。从而,提升三相绕组各自平均功率(该时间段内各绕组的合计发热量与该时间段的总时长的比)的均衡度。Taking the three working points of working point 1, working point 2, and working point 3 in the above method 1 as an example, the heating current corresponding to each working point is not equal. Within a fixed time period, reasonable allocation of the operating time proportions of the three operating points can make the total heat generation of the three-phase windings in the time period basically the same. Therefore, the balance of the average power of each of the three-phase windings (the ratio of the total heat generated by each winding in the time period to the total duration of the time period) is improved.

在一种可能的实现方式中,每种加热电流对应的工作时间可以是预先设定的,或者由控制指令指示控制的。示例性地,每种加热电流可以固定运行10秒后切换到另一种加热电流再固定运行10秒,依次交替运行。In a possible implementation, the working time corresponding to each heating current may be preset or controlled by control instructions. For example, each heating current can be run for 10 seconds and then switched to another heating current for another 10 seconds, and then run alternately.

在另一种可能的是实现方式中,每种加热电流对应的运行时间可以根据驱动电机60转子旋变角度θe和加热电流大小确定。In another possible implementation, the running time corresponding to each heating current can be determined based on the rotation angle θ e of the rotor of the drive motor 60 and the size of the heating current.

示例性地,可以通过第一加热电流确定出不同加热电流下的功率值,然后根据该功率值和电机转子旋变角度分配每种加热电流对应的运行时间。For example, the power values under different heating currents can be determined through the first heating current, and then the running time corresponding to each heating current is allocated according to the power value and the rotation angle of the motor rotor.

在另一种可能的实现方式中,可以根据第一加热电流对应的电流矢量与转子的角度δ0设置不同的时间分配占比对应关系,然后根据θe在确定的对应关系中确定具体的时间分配占比。In another possible implementation, different time allocation proportion correspondences can be set according to the current vector corresponding to the first heating current and the angle δ 0 of the rotor, and then the specific time is determined in the determined correspondence according to θ e Allocation proportion.

示例性地,可以通过第一加热电流的三相电流大小确定第一加热电流对应的电流矢量与转子的角度δ0,从而根据第一加热电流对应的电流矢量与转子的角度δ0设置不同的时间分配占比对应关系,然后根据θe在确定的对应关系中确定具体的时间分配占比。以上述方式一的加热电流组合控制电机时为例,根据θe和δ0确定工作点1、工作点2和工作点3对应的工作时间分配占比。由于三相同步电机精确控制过程中需要的参数很多,实际过程中为了更方便使用,特殊工况的驱动电机60大多采用查表的方法,因为这样对控制器性能要求最小,并且方便根据不同驱动电机标定。For example, the angle δ 0 between the current vector corresponding to the first heating current and the rotor can be determined based on the three-phase current magnitude of the first heating current, thereby setting different values according to the angle δ 0 between the current vector corresponding to the first heating current and the rotor. The corresponding relationship between time allocation proportions, and then determine the specific time allocation proportions in the determined correspondence relationship based on θ e . Taking the heating current combination control motor in the above method 1 as an example, the working time allocation proportions corresponding to working point 1, working point 2 and working point 3 are determined based on θ e and δ 0 . Since there are many parameters required in the precise control process of the three-phase synchronous motor, in order to make it more convenient to use in the actual process, the drive motor 60 under special working conditions mostly adopts the look-up table method, because this requires the least performance of the controller and is convenient for different drives. Motor calibration.

电机在工作点1,工作点2,工作点3的运行时间占比分别为k1、k2、k3,其中k1+k2+k3=1,电机绕组的相电阻为Rs,则三相绕组的平均功率为:The proportions of the motor's running time at working point 1, working point 2, and working point 3 are k 1 , k 2 , and k 3 respectively, where k 1 +k 2 +k 3 =1, and the phase resistance of the motor winding is R s , Then the average power of the three-phase winding is:

当δ0≤15°,则根据第一查询表例如表2中查询θe对应的时间分配占比;当15°<δ0≤45°,则根据第二查询表例如表3(包括表4)中查询θe对应的时间分配占比;当δ0>45°,则根据第三查询表例如表5中查询θe对应的时间分配占比。When δ 0 ≤15°, query the time allocation proportion corresponding to θ e according to the first query table such as Table 2; when 15° <δ 0 ≤45°, then query the time allocation proportion corresponding to θ e according to the second query table such as Table 3 (including Table 4 ), query the time allocation proportion corresponding to θ e ; when δ 0 >45°, query the time allocation proportion corresponding to θ e according to a third query table such as Table 5.

应理解地,相同温度下,对于不同的驱动电机60也会有不同大小的δ0,对于δ0≤15°的情况下,不同工作点的三相功率占比较为接近,但一般情况下,同步电机对应的δ0要大于15°。It should be understood that at the same temperature, different driving motors 60 will have different sizes of δ 0 . For the case where δ 0 ≤15°, the three-phase power proportions of different operating points are relatively close, but in general, The δ 0 corresponding to the synchronous motor is greater than 15°.

表2、第一查询表Table 2, first query table

表3、第二查询表Table 3, second query table

电机角度θe Motor angle θ e k1、k2、k3的分配模式Allocation pattern of k 1 , k 2 , k 3 0°≤θe<15°0°≤θ e <15° 模式二Mode 2 15°≤θe<45°15°≤θ e <45° 模式一Mode one 45°≤θe<75°45°≤θ e <75° 模式三Mode three 75°≤θe<105°75°≤θ e <105° 模式二Mode 2 105°≤θe<135°105°≤θ e <135° 模式一Mode one 135°≤θe<165°135°≤θ e <165° 模式三Mode three 165°≤θe<180°165°≤θ e <180° 模式二Mode 2

表4、第二查询表(附表)Table 4. Second query table (attached table)

表5、第三查询表Table 5, third query table

示例性地,当δ0=30°,θe=30°时,则根据第二查询表中查询到使用模式一的分配模式,再根据第二查询表附表中查询到:For example, when δ 0 =30° and θ e =30°, the distribution mode using mode one is queried according to the second lookup table, and then the following is queried according to the appendix of the second lookup table:

从而可以控制驱动电机60在不同加热电流下的按照k1、k2、k3的比例在一个加热周期内运行。Thereby, the drive motor 60 can be controlled to operate in one heating cycle according to the ratio of k 1 , k 2 , and k 3 under different heating currents.

可见,驱动电机60的转子位置角不同时,电机控制器50输出每一种加热电流的时长比值不同。It can be seen that when the rotor position angle of the driving motor 60 is different, the time ratio of the motor controller 50 to output each heating current is different.

将上述查询到的时间占比代入公式(7)中,则可以计算出三相绕组的平均功率。Substituting the time proportion queried above into formula (7), the average power of the three-phase winding can be calculated.

应理解地,上述实现方式中的查询表的角度的划分和时间占比的设置仅仅是一种示例,实际应用中可以按需要进行设置,本申请对具体的角度设置方式和表中的时间占比设置方式不做限定。It should be understood that the division of angles and the setting of time proportions in the lookup table in the above implementation are only examples, and can be set as needed in actual applications. This application does not discuss the specific angle setting methods and time proportions in the table. There are no restrictions on the setting method.

在一种可能的实现方式中,逆变电路52输出的电流从一种加热电流切换到另一种加热电流的过程中,逆变电路52输出的电流先减小后增大,输出的电流驱使的驱动电机60的扭矩值小于预设值。In a possible implementation, when the current output by the inverter circuit 52 switches from one heating current to another heating current, the current output by the inverter circuit 52 first decreases and then increases, and the output current drives The torque value of the drive motor 60 is less than the preset value.

容易理解地,为了确保电机在加热过程中不产生扭矩,使得车辆能够在静止状态下对电池20升温,电机在多种加热电流间切换过程中,电流的变化也仍需要沿零扭矩曲线进行,在这个过程中,实际输出扭矩可能会有较小的波动,只需要保持车辆静止,实际输出扭矩可以是小于预设值的一个接近于零的值,预设值为接近零的较小值。It is easy to understand that in order to ensure that the motor does not generate torque during the heating process so that the vehicle can heat the battery 20 in a stationary state, when the motor switches between multiple heating currents, the current changes still need to be along the zero torque curve. During this process, the actual output torque may have small fluctuations. As long as the vehicle is kept stationary, the actual output torque may be a value close to zero that is less than the preset value, and the preset value is a smaller value close to zero.

在一种可能的实现方式中,电机控制器50输出的电流从一种加热电流切换到另一种加热电流的过程中,电机控制器50输出的电流先减小后增大。电机控制器50输出多种加热电流的切换过程中,三相定子绕组内的电流沿切换曲线变化,先由一种加热电流减小到0,然后再从0增加至另一种加热电流,从而使得驱动电机60的电磁转矩保持为0,该切换曲线就是前文所述的零扭矩曲线。In a possible implementation manner, during the process of switching the current output by the motor controller 50 from one type of heating current to another type of heating current, the current output by the motor controller 50 first decreases and then increases. During the switching process when the motor controller 50 outputs multiple heating currents, the current in the three-phase stator winding changes along the switching curve, first decreasing from one heating current to 0, and then increasing from 0 to another heating current, thus The electromagnetic torque of the drive motor 60 is maintained at 0, and the switching curve is the zero torque curve mentioned above.

如图8所示,驱动电机60的电流在工作点1、工作点2、工作点3、工作点4之间切换时,为确保切换过程中驱动电机60扭矩始终为零,三相电流对应的直轴电流和交轴电流变换轨迹必须始终维持在零扭矩曲线上。由第一个工作点切换至第二个工作点期间,驱动电机60的加热电流变化轨迹必须先从第一个工作点回到原点(即直轴电流和交轴电流均为零),再移动到第二个工作点。As shown in Figure 8, when the current of the driving motor 60 switches between working point 1, working point 2, working point 3, and working point 4, in order to ensure that the torque of the driving motor 60 is always zero during the switching process, the three-phase current corresponding The transformation trajectories of direct-axis current and quadrature-axis current must always be maintained on the zero-torque curve. During the switching from the first working point to the second working point, the heating current change trajectory of the driving motor 60 must first return to the origin from the first working point (that is, the direct axis current and the quadrature axis current are both zero), and then move to the second working point.

示例性地,工作点1和工作点2切换时,电流大小的变化方式先沿路径1回到原点,再沿路径2到达工作点2;工作点1和工作点3切换时,电流大小的变化方式先沿路径1回到原点,再沿路径3到达工作点3;工作点1和工作点4切换时,电流大小的变化方式先沿路径1回到原点,再沿路径4到达工作点4;工作点2和工作点3切换时,电流大小的变化方式先沿路径2回到原点,再沿路径3到达工作点3;工作点2和工作点4切换时,电流大小的变化方式先沿路径2回到原点,再沿路径4到达工作点4;工作点3和工作点4切换时,电流大小的变化方式先沿路径3回到原点,再沿路径4到达工作点4。For example, when the working point 1 and the working point 2 switch, the current changes first along the path 1 to the origin, and then along the path 2 to the working point 2; when the working point 1 and the working point 3 switch, the current changes The method first returns to the origin along path 1, and then along path 3 to working point 3; when working point 1 and working point 4 switch, the current size changes first along path 1 to return to the origin, and then along path 4 to working point 4; When working point 2 and working point 3 switch, the current changes first along path 2 back to the origin, and then along path 3 to work point 3; when working point 2 and working point 4 switch, the current changes first along the path 2 returns to the origin, and then follows path 4 to reach working point 4; when switching between working point 3 and working point 4, the current changes first returns to the origin along path 3, and then reaches working point 4 along path 4.

上述示例中的切换路径是双向的,两个工作点间的反向切换也是沿路径切换。The switching path in the above example is bidirectional, and the reverse switching between two working points also switches along the path.

根据本申请的方案,每个加热电流均不相等,因此在一个固定的时间段内,对多个加热电流的运行时间占比进行合理的分配,可使得该时间段内三相绕组各自的总发热量基本一致。从而,提升三相绕组各自平均功率的均衡度。According to the solution of this application, each heating current is not equal. Therefore, within a fixed time period, the proportion of running time of multiple heating currents can be reasonably allocated so that the total of each of the three-phase windings in this time period can be The calorific value is basically the same. Thus, the balance of the average power of each of the three-phase windings is improved.

本申请还提供了一种动力总成30。This application also provides a powertrain 30.

该动力总成30包括驱动电机60和上述的电机控制器50,驱动电机60包括转子和三相定子绕组,三相定子绕组中的每相绕组用于连接电机控制器50的逆变电路52的三相桥臂中每相桥臂的中点,驱动电机60从逆变电路52接收动力电池20的电流。The powertrain 30 includes a drive motor 60 and the above-mentioned motor controller 50 . The drive motor 60 includes a rotor and a three-phase stator winding. Each phase winding of the three-phase stator winding is used to connect to the inverter circuit 52 of the motor controller 50 . At the midpoint of each of the three-phase bridge arms, the drive motor 60 receives the current of the power battery 20 from the inverter circuit 52 .

驱动电机60用于在多种加热电流的驱使下输出扭矩为零,该多种加热电流对应的电流分配比不同,电流分配比为每种加热电流下三相定子绕组中每相定子绕组电流大小的比例。The drive motor 60 is used to output torque to zero under the driving of various heating currents. The various heating currents correspond to different current distribution ratios. The current distribution ratio is the current size of each phase stator winding in the three-phase stator winding under each heating current. proportion.

在一种可能的实现方式,响应于动力电池20的温度低于阈值和/或加热指令,驱动电机60用于在多种加热电流的驱使下输出的扭矩为零。In one possible implementation, in response to the temperature of the power battery 20 being lower than a threshold and/or the heating instruction, the driving motor 60 is configured to output a torque of zero driven by multiple heating currents.

在一种可能的实现方式,动力总成30还包括导热装置40,导热装置40用于将电机产生的热量传导到动力电池20。In a possible implementation, the powertrain 30 further includes a heat conduction device 40 , and the heat conduction device 40 is used to conduct heat generated by the motor to the power battery 20 .

图9是本申请提供的一种电机控制方法示意图,如图9所示,该方法包括如下步骤:Figure 9 is a schematic diagram of a motor control method provided by this application. As shown in Figure 9, the method includes the following steps:

需要说明的是,除非另有说明,在本申请的各种实施例中,各过程的序号例如S110,S120……等的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be noted that, unless otherwise stated, in various embodiments of the present application, the sequence numbers of each process, such as S110, S120..., etc., do not mean the order of execution, and the order of execution of each process should be based on The functions and internal logic are determined and should not constitute any limitation on the implementation process of the embodiments of the present application.

该控制方法应用于电动汽车10中,电动汽车10包括动力电池20、驱动电机60和前文所述的电机控制器50。This control method is applied to the electric vehicle 10. The electric vehicle 10 includes a power battery 20, a drive motor 60 and the motor controller 50 mentioned above.

S110,控制电机控制器50依次向驱动电机60输出多种加热电流。S110, control the motor controller 50 to output multiple heating currents to the driving motor 60 in sequence.

每种加热电流用于控制驱动电机60输出的扭矩为零,每种加热电流包括三相电流,其中:在第一时间段,控制电机控制器50输出第一加热电流;在第一时间段之后的第二时间段,控制电机控制器50输出第二加热电流、第三加热电流和第四加热电流中任一种;在第二时间段之后的第三时间段,控制电机控制器50输出第一加热电流、第二加热电流、第三加热电流和第四加热电流中任一种;其中,第一加热电流的交轴电流分量和第三加热电流的交轴电流分量不为零,第二加热电流的直轴电流分量和第四加热电流的直轴电流分量为零。Each heating current is used to control the torque output by the drive motor 60 to be zero, and each heating current includes three-phase currents, wherein: during the first time period, the motor controller 50 is controlled to output the first heating current; after the first time period In the second time period, the motor controller 50 is controlled to output any one of the second heating current, the third heating current and the fourth heating current; in the third time period after the second time period, the motor controller 50 is controlled to output the third heating current. Any one of a heating current, a second heating current, a third heating current and a fourth heating current; wherein the quadrature-axis current component of the first heating current and the quadrature-axis current component of the third heating current are not zero, and the second The direct-axis current component of the heating current and the direct-axis current component of the fourth heating current are zero.

应理解地,多种加热电流的描述可以参考前文所述。It should be understood that the description of various heating currents may refer to the foregoing description.

该步骤可以包括下述的步骤,应理解,下述的步骤可以不是一定要执行或者是包含在S110中一起执行的:This step may include the following steps. It should be understood that the following steps may not necessarily be performed or may be performed together with S110:

S120,获取电流幅值Im、电机温度和电机转子旋变角度θeS120, obtain the current amplitude I m , the motor temperature and the motor rotor rotation angle θ e .

电流幅值可以由加热指令直接指示,也可以通过收到的加热指令中电机加热功率Pm通过公式计算得到其中R0为电机定子绕组的相电阻,电流幅值是驱动电机60的三相定子绕组内的最大电流值,电流幅值还是直轴电流Id和交轴电流Iq合成的矢量电流值,/> The current amplitude can be directly indicated by the heating command, or it can be calculated from the motor heating power P m in the received heating command through the formula Among them, R 0 is the phase resistance of the motor stator winding, and the current amplitude is the maximum current value in the three-phase stator winding of the driving motor 60. The current amplitude is also the vector current value synthesized by the direct axis current I d and the quadrature axis current I q . />

电机温度可以通过温度传感装置得到,该温度传感装置可以测量电机环境温度,或者电机热回路的热载流体的温度,或者驱动电机60定子绕组的温度,或者热传导装置内的温度等,本申请对此不做限定。The temperature of the motor can be obtained through a temperature sensing device, which can measure the ambient temperature of the motor, or the temperature of the heat-carrying fluid of the motor thermal circuit, or the temperature of the stator winding of the drive motor 60, or the temperature in the heat conduction device, etc., this There are no restrictions on this application.

驱动电机60转子旋变角度可以通过安装在驱动电机60转子轴端的传感器,检测驱动电机60静止状态下的转子角度,即旋变角度,旋变角度的范围为0~360°。The rotation angle of the rotor of the drive motor 60 can be detected by a sensor installed on the rotor shaft end of the drive motor 60, which is the rotation angle of the drive motor 60 in a stationary state. The rotation angle ranges from 0 to 360°.

在一种可能的实现方式中,若当前转子角度大于180°,则减去180°,使得θe处于0~180°范围内。In a possible implementation, if the current rotor angle is greater than 180°, 180° is subtracted so that θ e is in the range of 0 to 180°.

S130,确定多种加热电流。S130, determine multiple heating currents.

根据获取的电流幅值Im、电机温度和驱动电机60转子旋变角度θe计算出多种加热电流对应的电流值。Current values corresponding to various heating currents are calculated based on the obtained current amplitude Im , motor temperature and rotor rotation angle θ e of the drive motor 60.

具体的过程可以参考前述的计算公式(4)、(5)和(6)的相关描述。For the specific process, please refer to the relevant descriptions of the aforementioned calculation formulas (4), (5) and (6).

S140,确定每种加热电流对应的运行时间。S140, determine the running time corresponding to each heating current.

每种加热电流对应的运行时间可以根据驱动电机60转子旋变角度θe和加热电流大小确定。The running time corresponding to each heating current can be determined based on the rotation angle θ e of the rotor of the drive motor 60 and the size of the heating current.

具体的确定过程可以参考前述的查表方式。For the specific determination process, please refer to the aforementioned table lookup method.

如图10所示,上述电机控制器50、动力总成30和电动汽车10执行上述控制方法的一种可能的具体过程如下。As shown in FIG. 10 , a possible specific process for the above-mentioned motor controller 50 , powertrain 30 and electric vehicle 10 to execute the above-mentioned control method is as follows.

步骤1,动力总成30中的电机控制器50获取加热指令,该加热指令可以是车辆控制器70发送的,用于指示执行电池20加热流程。当动力电池20的温度低于阈值和/或用户按下加热按钮(即发出加热需求指令),车辆处于静止状态,无需启动且动力电池20的温度低于预定的值,车辆控制器70会发送加热指令。Step 1: The motor controller 50 in the powertrain 30 obtains a heating instruction. The heating instruction may be sent by the vehicle controller 70 to instruct the execution of the battery 20 heating process. When the temperature of the power battery 20 is lower than the threshold and/or the user presses the heating button (i.e., issues a heating demand command), the vehicle is in a stationary state and does not need to be started and the temperature of the power battery 20 is lower than a predetermined value, the vehicle controller 70 will send Heating instructions.

步骤2,车辆控制器70检测整车状态是否满足驻车加热条件,例如电池包温度、电池剩余容量、车辆是否静止、手刹是否合上等等。如果满足加热条件,则进行电池加热。Step 2: The vehicle controller 70 detects whether the vehicle status meets the parking heating conditions, such as battery pack temperature, remaining battery capacity, whether the vehicle is stationary, whether the handbrake is on, etc. If the heating conditions are met, the battery is heated.

步骤3,动力总成30中的电机控制器50获取电机加热功率的指令值Pm,从而可以计算得到加热电流幅值其中Rs为电机定子绕组的相电阻。Step 3: The motor controller 50 in the powertrain 30 obtains the command value P m of the motor heating power, so that the heating current amplitude can be calculated Where R s is the phase resistance of the motor stator winding.

步骤4,动力总成30中的电机控制器50检测驱动电机60静止状态下的转子角度,即转子旋变角度θe。转子旋变角度θe可以通过安装于电机转子轴端的传感器获取当前驱动电机60转子位置,也可以通过其他方式获取,本申请对此不做限定。旋变角度的范围为0~360°,若当前角度大于180°,则可以减去180°,使得θe始终处于0~180°范围内。Step 4: The motor controller 50 in the powertrain 30 detects the rotor angle of the drive motor 60 in a stationary state, that is, the rotor rotation angle θ e . The rotor rotation angle θ e can be obtained through a sensor installed on the shaft end of the motor rotor, or can be obtained through other methods, which is not limited in this application. The range of the rotation angle is 0~360°. If the current angle is greater than 180°, 180° can be subtracted so that θ e is always in the range of 0~180°.

步骤5,动力总成30中的电机控制器50获取电机温度,查询当前温度下的电机零扭矩电流表。Step 5: The motor controller 50 in the powertrain 30 obtains the motor temperature and queries the motor zero torque ammeter at the current temperature.

步骤6,动力总成30中的电机控制器50根据加热电流幅值Im,在电机第一象限的零扭矩电流表中获得与幅值Im对应的直轴电流idm、交轴电流iqm,并计算零扭矩工作点与直轴的夹角:δ0=arctan(iqm/idm),δ0的范围为0~90°。Step 6: According to the heating current amplitude Im , the motor controller 50 in the powertrain 30 obtains the direct-axis current i dm and the quadrature-axis current i qm corresponding to the amplitude Im from the zero-torque ammeter in the first quadrant of the motor. , and calculate the angle between the zero-torque operating point and the direct axis: δ 0 = arctan (i qm /i dm ), and the range of δ 0 is 0 to 90°.

步骤7,动力总成30中的电机控制器50根据θe和δ0,确定多种加热电流中每种加热电流的运行时间,例如电机在直轴零扭矩工作点(即工作点1)、第一象限零扭矩工作点(即工作点2)、第四象限零扭矩工作点(即工作点3)的运行时间分配占比k1、k2、k3Step 7: The motor controller 50 in the powertrain 30 determines the running time of each of the multiple heating currents based on θ e and δ 0 , for example, the motor is at the direct axis zero torque operating point (i.e., operating point 1), The running time distribution proportions k 1 , k 2 , and k 3 of the zero-torque working point in the first quadrant (i.e., working point 2) and the zero-torque working point in the fourth quadrant (i.e., working point 3) are k 1 , k 2 , and k 3 .

示例性地,当δ0≤15°,则根据第一查询表例如表2中查询θe对应的时间分配占比;当15°<δ0≤45°,则根据第二查询表例如表3(包括表4)中查询θe对应的时间分配占比;当δ0>45°,则根据第三查询表例如表5中查询θe对应的时间分配占比。For example, when δ 0 ≤15°, the time allocation proportion corresponding to θ e is queried according to the first lookup table such as Table 2; when 15°<δ 0 ≤45°, then the time allocation proportion corresponding to θ e is queried according to the second lookup table such as Table 3 (Including Table 4), query the time allocation proportion corresponding to θ e ; when δ 0 >45°, query the time allocation proportion corresponding to θ e according to the third query table such as Table 5.

步骤8,动力总成30中的电机控制器50控制逆变电路52中开关管的通断,从而使得驱动电机60在3个工作点循环运行,设一个加热周期为T,则驱动电机60在各个工作点的运行时间分别为k1T、k2T、k2T。示例性地,一个加热周期5秒,则让驱动电机60在工作点1稳定运行5k1秒,再切换至工作点2稳定运行5k2秒,再切换至工作点3稳定运行5k3秒;Step 8: The motor controller 50 in the powertrain 30 controls the switching tube in the inverter circuit 52, so that the drive motor 60 runs cyclically at three operating points. Suppose a heating period is T, then the drive motor 60 is The running time of each working point is k 1 T, k 2 T, k 2 T respectively. For example, if a heating cycle is 5 seconds, the drive motor 60 is allowed to run stably at working point 1 for 5k for 1 second, then switch to working point 2 to run stably for 5k for 2 seconds, and then switch to working point 3 to run stably for 5k for 3 seconds;

步骤9,动力总成30中的电机控制器50检测检测动力电池20温度,若动力电池20温度未达到设定温度,返回步骤5。由于加热过程中驱动电机60存在温升,驱动电机60的零扭矩电流表会发生变化,因此在步骤5中,需要根据当前新获取的驱动电机60温度重新获取零扭矩电流表。如果动力电池20的温度达到了设定温度,则停止加热。Step 9: The motor controller 50 in the power assembly 30 detects the temperature of the power battery 20. If the temperature of the power battery 20 does not reach the set temperature, return to step 5. Since there is a temperature rise in the drive motor 60 during the heating process, the zero-torque ammeter of the drive motor 60 will change. Therefore, in step 5, the zero-torque ammeter needs to be reacquired based on the newly acquired temperature of the drive motor 60 . If the temperature of the power battery 20 reaches the set temperature, heating is stopped.

图11是不同工作角度δ0下三相功率与转子角度的关系图。如图11所示,通过本申请提供的上述实施过程,三相总功率在任意位置下仍保持1.5不变,但最大相功率明显降低,最小相功率明显提升,三相功率平衡度得到改善。并且,随着δ0的增大,最大相功率和最小相功率之差缩小,三相功率平衡度提升;当δ0≥45°时,能够实现在任意转子位置下,三相功率完全平衡。Figure 11 is a diagram showing the relationship between three-phase power and rotor angle at different working angles δ 0 . As shown in Figure 11, through the above implementation process provided by this application, the total three-phase power remains unchanged at 1.5 at any position, but the maximum phase power is significantly reduced, the minimum phase power is significantly increased, and the three-phase power balance is improved. Moreover, as δ 0 increases, the difference between the maximum phase power and the minimum phase power shrinks, and the three-phase power balance improves; when δ 0 ≥ 45°, the three-phase power can be completely balanced at any rotor position.

在一种可能的实现方式中,在电机控制器50输出第一加热电流的过程中,第一加热电流的交轴电流分量和直轴电流分量的比值为工作角度,当第一加热电流的工作角度小于45度,第一加热电流的三相电流中各相电流有效值的方差随第一加热电流的工作角度的增大而减小;在电机控制器50输出所三加热电流的过程中,第三加热电流的交轴电流分量和直轴电流分量的比值的反正切值为工作角度,当工作角度小于45度,第三加热电流的三相电流中各相电流有效值的方差随工作角度的增大而减小。In a possible implementation, during the process of the motor controller 50 outputting the first heating current, the ratio of the quadrature-axis current component and the direct-axis current component of the first heating current is the working angle. When the first heating current is working The angle is less than 45 degrees, and the variance of the effective value of each phase current in the three-phase current of the first heating current decreases with the increase of the working angle of the first heating current; in the process of the motor controller 50 outputting all three heating currents, The arctangent value of the ratio of the quadrature-axis current component and the direct-axis current component of the third heating current is the working angle. When the working angle is less than 45 degrees, the variance of the effective value of each phase current in the three-phase current of the third heating current changes with the working angle. decreases with increasing.

在一种可能的实现方式中,在电机控制器50输出第一加热电流的过程中,当第一加热电流的工作角度大于45度,第一加热电流的三相电流中各相电流的有效值相同;在电机控制器50输出第三加热电流的过程中,当第三加热电流的工作角度大于45度,第三加热电流的三相电流中各相电流的有效值相同。In a possible implementation, during the process of the motor controller 50 outputting the first heating current, when the working angle of the first heating current is greater than 45 degrees, the effective value of each phase current in the three-phase current of the first heating current The same; during the process of the motor controller 50 outputting the third heating current, when the working angle of the third heating current is greater than 45 degrees, the effective values of each phase current in the three-phase current of the third heating current are the same.

根据本申请的方案,让驱动电机60在零扭矩状态下的不同加热电流间来回切换运行,避免发热功率集中的某一相绕组,从而均衡驱动电机60多相的发热功率,提高加热效率。According to the solution of this application, the drive motor 60 is allowed to switch back and forth between different heating currents in the zero-torque state to avoid a certain phase winding where the heating power is concentrated, thereby balancing the multi-phase heating power of the drive motor 60 and improving heating efficiency.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .

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

Claims (15)

1.一种电机控制器,其特征在于,所述电机控制器用于向电动汽车的驱动电机输出驱动电流和输出多种加热电流,所述驱动电流用于控制所述驱动电机输出的扭矩大于零,每种所述加热电流用于控制所述驱动电机输出的扭矩为零,每种所述加热电流包括三相电流,其中:1. A motor controller, characterized in that the motor controller is used to output a driving current to a driving motor of an electric vehicle and to output a variety of heating currents, and the driving current is used to control the torque output by the driving motor to be greater than zero. , each of the heating currents is used to control the torque output by the driving motor to be zero, and each of the heating currents includes three-phase currents, where: 任意两种所述加热电流的参数不同,所述参数包括每种所述加热电流的三相电流中各相电流的有效值之比。The parameters of any two heating currents are different, and the parameters include the ratio of the effective values of each phase current in the three-phase current of each heating current. 2.根据权利要求1所述的电机控制器,其特征在于,所述电机控制器用于依次先输出第一加热电流,再输出第二加热电流、第三加热电流和第四加热电流中至少一种,或者,依次先输出第二加热电流、第三加热电流和第四加热电流中至少一种,再输出第一加热电流;2. The motor controller according to claim 1, wherein the motor controller is configured to output a first heating current first, and then output at least one of a second heating current, a third heating current and a fourth heating current. or, sequentially output at least one of the second heating current, the third heating current and the fourth heating current, and then output the first heating current; 其中,所述第一加热电流的交轴电流分量和所述第三加热电流的交轴电流分量不为零,所述第二加热电流的交轴电流分量和所述第四加热电流的交轴电流分量为零。Wherein, the quadrature axis current component of the first heating current and the quadrature axis current component of the third heating current are not zero, and the quadrature axis current component of the second heating current and the quadrature axis current component of the fourth heating current are not zero. The current component is zero. 3.根据权利要求2所述的电机控制器,其特征在于,所述第一加热电流的直轴电流分量、所述第二加热电流的直轴电流分量、所述第三加热电流的直轴电流分量和所述第四加热电流的直轴电流分量均不为零。3. The motor controller according to claim 2, wherein the direct axis current component of the first heating current, the direct axis current component of the second heating current, the direct axis current component of the third heating current Neither the current component nor the direct-axis current component of the fourth heating current is zero. 4.根据权利要求3所述的电机控制器,其特征在于,在所述电机控制器输出所述第一加热电流的过程中,所述第一加热电流的交轴电流分量和直轴电流分量的比值为工作角度,当所述第一加热电流的工作角度小于45度,所述第一加热电流的三相电流中各相电流有效值的方差随所述第一加热电流的工作角度的增大而减小;4. The motor controller according to claim 3, wherein during the process of the motor controller outputting the first heating current, the quadrature-axis current component and the direct-axis current component of the first heating current The ratio of is the working angle. When the working angle of the first heating current is less than 45 degrees, the variance of the effective value of each phase current in the three-phase current of the first heating current increases with the working angle of the first heating current. large and reduced; 在所述电机控制器输出所述第三加热电流的过程中,所述第三加热电流的交轴电流分量和直轴电流分量的比值的反正切值为工作角度,当所述工作角度小于45度,所述第三加热电流的三相电流中各相电流有效值的方差随所述工作角度的增大而减小。In the process of the motor controller outputting the third heating current, the arc tangent value of the ratio of the quadrature-axis current component and the direct-axis current component of the third heating current is the working angle. When the working angle is less than 45 degree, the variance of the effective value of each phase current in the three-phase current of the third heating current decreases as the working angle increases. 5.根据权利要求4所述的电机控制器,其特征在于,在所述电机控制器输出所述第一加热电流的过程中,当所述第一加热电流的工作角度大于45度,所述第一加热电流的三相电流中各相电流的有效值相同;5. The motor controller according to claim 4, wherein during the process of the motor controller outputting the first heating current, when the working angle of the first heating current is greater than 45 degrees, the The effective values of each phase current in the three-phase current of the first heating current are the same; 在所述电机控制器输出所述第三加热电流的过程中,当所述第三加热电流的工作角度大于45度,所述第三加热电流的三相电流中各相电流的有效值相同。During the process of the motor controller outputting the third heating current, when the working angle of the third heating current is greater than 45 degrees, the effective values of the three-phase currents of the third heating current are the same. 6.根据权利要求1-5中任一项所述的电机控制器,其特征在于,每种所述加热电流的三相电流中各相电流的有效值随所述驱动电机的转子角度的变化而变化。6. The motor controller according to any one of claims 1 to 5, characterized in that the effective value of each phase current in the three-phase current of each heating current changes with the rotor angle of the driving motor. And change. 7.根据权利要求2-5中任一项所述的电机控制器,其特征在于,在所述电机控制器用于依次先输出第一加热电流,再输出第二加热电流、第三加热电流和第四加热电流中至少一种过程中,或者在所述电机控制器用于依次先输出第二加热电流、第三加热电流和第四加热电流中至少一种,再输出第一加热电流过程中,所述电机控制器用于输出每种所述加热电流的时长随所述驱动电机的转子角度的变化而变化。7. The motor controller according to any one of claims 2 to 5, wherein the motor controller is configured to output a first heating current, a second heating current, a third heating current and In the process of at least one of the fourth heating current, or in the process of the motor controller being used to output at least one of the second heating current, the third heating current and the fourth heating current in sequence, and then output the first heating current, The time period for the motor controller to output each heating current changes with the change of the rotor angle of the drive motor. 8.根据权利要求1-5中任一项所述的电机控制器,其特征在于,在所述电机控制器向所述驱动电机输出所述多种加热电流的过程中,任一种加热电流在所述驱动电机的任一相绕组上的加热功率占所述任一种加热电流在所述驱动电机的三相绕组上的总加热功率的比值小于2/3。8. The motor controller according to any one of claims 1 to 5, wherein during the process of the motor controller outputting the plurality of heating currents to the driving motor, any one of the heating currents The ratio of the heating power on any phase winding of the drive motor to the total heating power of any heating current on the three-phase winding of the drive motor is less than 2/3. 9.根据权利要求1-5中任一项所述的电机控制器,其特征在于,在所述电机控制器输出的电流从一种所述加热电流切换到另一种所述加热电流的过程中,所述电机控制器输出的电流先减小后增大且所述电机控制器用于控制所述驱动电机输出的扭矩始终小于扭矩预设值。9. The motor controller according to any one of claims 1 to 5, characterized in that during the process of switching the current output by the motor controller from one type of heating current to another type of heating current , the current output by the motor controller first decreases and then increases, and the motor controller is used to control the torque output by the drive motor to always be less than the preset torque value. 10.根据权利要求1-9中任一项所述的电机控制器,其特征在于,响应于所述动力电池的温度低于阈值和/或加热指令,所述电机控制器用于向所述驱动电机输出所述多种加热电流。10. The motor controller according to any one of claims 1 to 9, characterized in that, in response to the temperature of the power battery being lower than a threshold and/or a heating instruction, the motor controller is configured to provide the driver with The motor outputs the various heating currents. 11.一种动力总成,其特征在于,包括驱动电机和电机控制器,所述电机控制器用于向所述驱动电机输出至少一种加热电流以控制所述驱动电机的扭矩为零,其中:11. A powertrain, characterized by comprising a drive motor and a motor controller, the motor controller being configured to output at least one heating current to the drive motor to control the torque of the drive motor to be zero, wherein: 所述至少一种加热电流的交轴电流分量和直轴电流分量均不为零。Neither the quadrature-axis current component nor the direct-axis current component of the at least one heating current is zero. 12.根据权利要求11所述的动力总成,其特征在于,响应于所述动力电池的温度低于阈值和/或加热指令,所述电机控制器用于输出所述至少一种加热电流。12. The powertrain of claim 11, wherein the motor controller is configured to output the at least one heating current in response to the temperature of the power battery being below a threshold and/or a heating command. 13.根据权利要求11-12任一项所述的动力总成,其特征在于,在所述电机控制器输出所述至少一种加热电流的过程中,每种所述加热电流的交轴电流分量和直轴电流分量的比值的反正切值为工作角度,当所述工作角度小于45度,所述加热电流的三相电流中各相电流有效值的方差随所述工作角度的增大而减小。13. The powertrain according to any one of claims 11-12, wherein during the process of the motor controller outputting the at least one heating current, the quadrature axis current of each heating current The arctangent value of the ratio between the component and the direct-axis current component is the working angle. When the working angle is less than 45 degrees, the variance of the effective value of each phase current in the three-phase current of the heating current increases with the increase of the working angle. decrease. 14.一种用于电机控制器的控制方法,其特征在于,所述控制方法包括:14. A control method for a motor controller, characterized in that the control method includes: 控制所述电机控制器依次向驱动电机输出多种加热电流,每种所述加热电流用于控制所述驱动电机输出的扭矩为零,每种所述加热电流包括三相电流,其中:The motor controller is controlled to output multiple heating currents to the drive motor in sequence, each of the heating currents is used to control the torque output by the drive motor to be zero, and each of the heating currents includes three-phase currents, where: 在第一时间段,控制所述电机控制器输出第一加热电流;In a first period of time, control the motor controller to output a first heating current; 在第一时间段之后的第二时间段,控制所述电机控制器输出第二加热电流、第三加热电流和第四加热电流中任一种;In a second time period after the first time period, control the motor controller to output any one of the second heating current, the third heating current and the fourth heating current; 在第二时间段之后的第三时间段,控制所述电机控制器输出第一加热电流、第二加热电流、第三加热电流和第四加热电流中任一种;In a third time period after the second time period, control the motor controller to output any one of the first heating current, the second heating current, the third heating current and the fourth heating current; 其中,所述第一加热电流的交轴电流分量和所述第三加热电流的交轴电流分量不为零,所述第二加热电流的直轴电流分量和所述第四加热电流的直轴电流分量为零。Wherein, the quadrature-axis current component of the first heating current and the quadrature-axis current component of the third heating current are not zero, and the direct-axis current component of the second heating current and the direct-axis current component of the fourth heating current are not zero. The current component is zero. 15.根据权利要求14所述的控制方法,其特征在于,所述控制方法包括:15. The control method according to claim 14, characterized in that the control method includes: 在所述电机控制器输出的电流从一种所述加热电流切换到另一种所述加热电流的过程中,控制所述电机控制器输出的电流先减小后增大,并控制所述电机控制器使得所述驱动电机输出的扭矩始终小于扭矩预设值。In the process of switching the current output by the motor controller from one type of heating current to another type of heating current, the current output by the motor controller is controlled to first decrease and then increase, and the motor is controlled to The controller makes the torque output by the drive motor always less than the preset torque value.
CN202311270586.9A 2023-09-27 2023-09-27 Motor controller, power assembly and method for balancing multiphase heating power Pending CN117227509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311270586.9A CN117227509A (en) 2023-09-27 2023-09-27 Motor controller, power assembly and method for balancing multiphase heating power

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311270586.9A CN117227509A (en) 2023-09-27 2023-09-27 Motor controller, power assembly and method for balancing multiphase heating power

Publications (1)

Publication Number Publication Date
CN117227509A true CN117227509A (en) 2023-12-15

Family

ID=89094671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311270586.9A Pending CN117227509A (en) 2023-09-27 2023-09-27 Motor controller, power assembly and method for balancing multiphase heating power

Country Status (1)

Country Link
CN (1) CN117227509A (en)

Similar Documents

Publication Publication Date Title
US7960928B2 (en) Flux controlled motor management
CN112977173B (en) Electric automobile and power battery pulse heating system and heating method thereof
JP5715777B2 (en) Control method of permanent magnet synchronous motor
JP7361953B2 (en) Electric vehicle power battery heating method, device, and vehicle
WO2014050283A1 (en) Drive control device for rotary electric machine and electric vehicle drive system
JP7563685B2 (en) MOTOR, MOTOR CONTROLLER, HEAT EXCHANGE SYSTEM, AND CONTROL METHOD
CN103401506B (en) A kind of direct torque control method for non-salient pole type hybrid excitation motor for electric vehicle
US11916504B2 (en) Energy conversion device and vehicle
CN114763078A (en) System and method for resonant heating of batteries
CN103595325A (en) Method for controlling vectors of nonsalient pole type hybrid excitation motor
WO2023284785A1 (en) Battery pack heating method, motor controller, electric vehicle, and system
US11548405B2 (en) Current modulation module, parameter determination module, battery heating system, as well as control method and control device thereof
US12040731B2 (en) Method for controlling heating of motor and control method for multi-motor drive system
EP4084575B1 (en) Heating apparatus and control method
JP4982576B2 (en) Fuel cell vehicle
WO2025112539A1 (en) Powertrain having open-circuit fault tolerance function, and method and electric vehicle
CN117616618A (en) Power battery heating system, control method and control circuit thereof
CN117227509A (en) Motor controller, power assembly and method for balancing multiphase heating power
CN116039341B (en) A motor heating method, computer equipment, readable storage medium and electric vehicle
CN119631295A (en) Control device and program for power converter
JP2024120413A (en) Electric vehicles
JP2010246263A (en) Drive device
JP6861096B2 (en) Electric vehicle power supply system
Bai Flux-weakening control of permanent magnet synchronous motor using leading angle
US12107527B2 (en) Method and system for active detection of rotor magnet temperature

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