[go: up one dir, main page]

CN111786598B - Motor control device and motor control method - Google Patents

Motor control device and motor control method Download PDF

Info

Publication number
CN111786598B
CN111786598B CN202010495834.XA CN202010495834A CN111786598B CN 111786598 B CN111786598 B CN 111786598B CN 202010495834 A CN202010495834 A CN 202010495834A CN 111786598 B CN111786598 B CN 111786598B
Authority
CN
China
Prior art keywords
motor
circuit
motor control
voltage battery
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010495834.XA
Other languages
Chinese (zh)
Other versions
CN111786598A (en
Inventor
陶洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Electric Technology 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 CN202010495834.XA priority Critical patent/CN111786598B/en
Publication of CN111786598A publication Critical patent/CN111786598A/en
Application granted granted Critical
Publication of CN111786598B publication Critical patent/CN111786598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P3/00Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters
    • H02P3/06Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter
    • H02P3/18Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter for stopping or slowing an AC motor
    • H02P3/22Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter for stopping or slowing an AC motor by short-circuit or resistive braking
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P3/00Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters
    • H02P3/06Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter
    • H02P3/18Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter for stopping or slowing an AC motor
    • 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

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

Abstract

The application provides a motor control device and a control method, wherein, the motor control device is connected with an external high-voltage battery and a low-voltage battery, and the motor control device comprises: the motor control device comprises a bus electricity taking unit and a safety control circuit, wherein one side of the bus electricity taking unit is connected with the high-voltage battery, the other side of the bus electricity taking unit is connected with the control unit, the power module driving power supply and the safety control circuit, the control unit is connected with the safety control circuit, and the safety control circuit is connected with the driving circuit. The motor control device and the motor control method can reduce ASC function failure caused by single-point faults, and reduce hardware design difficulty and cost.

Description

一种电机控制装置及电机控制方法A motor control device and a motor control method

技术领域technical field

本申请涉及电机控制技术领域,特别涉及一种电机控制器及电机控制方法。The present application relates to the technical field of motor control, in particular to a motor controller and a motor control method.

背景技术Background technique

随着电动汽车行业发展,车载电气设备日益增多。电机控制器作为电动汽车动力系统的核心部件,在电动汽车正常行驶时,通过直流/交流变换模块把动力电池的直流电逆变为交流电来驱动电机,控制电机输出扭矩驱动车辆行驶。在电动汽车滑行或制动时,电机运行于发电模式,将动能转换成电能给动力电池充电,有效地通过节约效能来提升电动汽车的续航里程。With the development of the electric vehicle industry, on-board electrical equipment is increasing day by day. The motor controller is the core component of the electric vehicle power system. When the electric vehicle is running normally, the DC/AC conversion module converts the DC power of the power battery into AC power to drive the motor, and controls the output torque of the motor to drive the vehicle. When the electric vehicle is coasting or braking, the motor operates in the power generation mode, converting kinetic energy into electric energy to charge the power battery, effectively improving the cruising range of the electric vehicle by saving efficiency.

电机控制系统作为电动汽车的主要动力来源,在发生故障时,需要使其进入安全状态,以保证车辆处于受控状态或者不会对司乘人员造成伤害。而当电机控制器出现硬件或软件故障,电机输出异常时,此时无论是输出制动转矩或者是驱动转矩,都是非常危险的。所以目前针对电动汽车出现上述故障时,通常要求电机在进入安全状态之后,关闭电机的转矩输出,使车辆处于惯性滑行状态,便于驾驶员将车驶离车道以寻求帮助。目前,业内要求电机控制器的安全等级不低于车辆安全完整性等级(Automotive Safety IntegrityLevel,简称ASIL)C级,电机控制器的安全状态包括2种:安全关管(Safety Pulse Off,简称SPO)和主动短路(Active Short Circuit,简称ASC)。在具体实现安全状态时,电机控制器通过对逆变电路所有桥臂全关断(IGBT全部断开)实现SPO;电机控制器可以通过对逆变电路上桥臂全导通下桥臂全关断或上桥臂全关断下桥臂全导通两种方式来实现ASC。As the main source of power for electric vehicles, the motor control system needs to be put into a safe state when a fault occurs, so as to ensure that the vehicle is in a controlled state or will not cause harm to the drivers and passengers. And when the motor controller has a hardware or software failure and the output of the motor is abnormal, it is very dangerous to output braking torque or driving torque at this time. Therefore, when the above-mentioned faults occur in electric vehicles, the motor is usually required to turn off the torque output of the motor after it enters a safe state, so that the vehicle is in a coasting state, so that the driver can drive the car out of the lane for help. At present, the industry requires that the safety level of the motor controller is not lower than the vehicle safety integrity level (Automotive Safety Integrity Level, referred to as ASIL) C level, and the safety status of the motor controller includes two types: safety pulse off (Safety Pulse Off, referred to as SPO) And active short circuit (Active Short Circuit, referred to as ASC). When actually realizing the safe state, the motor controller realizes SPO by fully turning off all the bridge arms of the inverter circuit (all IGBTs are disconnected); the motor controller can fully turn off the upper bridge arm and the lower bridge arm of the inverter circuit ASC can be realized in two ways: turning off or fully turning off the upper bridge arm and fully turning on the lower bridge arm.

当电机控制器进入ASC模式时,因桥臂之间均不形成导通,直流端与交流端电路不再形成回路,同时驱动电机产生反向制动转矩。基于这些特性合理运用ASC模式,在电动汽车行驶过程中能够起到以下几方面作用:a.整车失控时,实施ASC可产生反向转矩,使车辆缓慢制动,实现安全停车;b.动力电池故障时,实施ASC可使电机、电机控制器与动力电池侧隔离,保证整车高压安全;c.整车行驶过程中驱动电机转速过高或异常时,实施ASC可避免过高的反电势对动力电池、母线电容及其它高压器件的损坏;d.电机控制器逆变电路中某个开关管故障时,实施ASC可避免不可控整流对其它器件或动力电池的损坏。When the motor controller enters the ASC mode, since there is no conduction between the bridge arms, the DC terminal and the AC terminal circuit no longer form a loop, and at the same time, the drive motor generates reverse braking torque. Based on these characteristics, the reasonable use of ASC mode can play the following roles in the driving process of electric vehicles: a. When the vehicle is out of control, the implementation of ASC can generate reverse torque, so that the vehicle can brake slowly and realize safe parking; b. When the power battery fails, the implementation of ASC can isolate the motor and motor controller from the power battery side to ensure the safety of the high voltage of the vehicle; c. When the driving motor speed is too high or abnormal during vehicle driving, the implementation of ASC can avoid excessive reaction The potential damages the power battery, bus capacitor and other high-voltage devices; d. When a switch tube in the inverter circuit of the motor controller fails, the implementation of ASC can avoid damage to other devices or power batteries caused by uncontrolled rectification.

现有的ASC解决方案存在实现复杂、多个单点故障无法可靠性实现等问题。本申请旨在提供一种具有实施ASC具有更高可靠性、降低方案复杂性的电机控制装置及控制方法。Existing ASC solutions have problems such as complex implementation and unreliable implementation of multiple single-point failures. The present application aims to provide a motor control device and a control method with higher reliability for implementing ASC and reduced complexity of the scheme.

发明内容Contents of the invention

本申请提供一种高可靠性的电机控制装置及控制方法,保证在低压电池或者主从处理器任一故障时,仍能保障主动短路的安全控制。The present application provides a high-reliability motor control device and control method, which can ensure the safety control of active short circuit even when a low-voltage battery or a master-slave processor fails.

上述目标和其它目标将通过独立权利要求中的特征来达成。进一步的实现方式在从属权利要求、说明书和附图中体现。The above and other objects are achieved by the features in the independent claims. Further implementations are presented in the dependent claims, the description and the drawings.

第一方面,提供一种电机控制装置,其与外接的高压电池和低压电池连接,电机控制装置包括:控制单元、功率模块驱动电源、驱动电路、逆变器,低压电池分别与控制单元和功率模块驱动电源连接,控制单元与驱动电路连接、驱动电路连接逆变器,功率模块驱动电源与驱动电路连接,电机控制装置还包括母线取电单元和安全控制电路,其中,母线取电单元的一侧连接高压电池,另一侧分别连接控制单元、功率模块驱动电源和安全控制电路,控制单元与安全控制电路连接、安全控制电路与驱动电路连接。In the first aspect, a motor control device is provided, which is connected to an external high-voltage battery and a low-voltage battery. The motor control device includes: a control unit, a power module drive power supply, a drive circuit, an inverter, and the low-voltage battery is connected to the control unit and power supply respectively. The module drive power supply is connected, the control unit is connected to the drive circuit, the drive circuit is connected to the inverter, the power module drive power supply is connected to the drive circuit, and the motor control device also includes a bus power taking unit and a safety control circuit, wherein one of the bus power taking units One side is connected to a high-voltage battery, and the other side is respectively connected to a control unit, a power module drive power supply and a safety control circuit. The control unit is connected to the safety control circuit, and the safety control circuit is connected to the drive circuit.

根据第一方面,在所述电机控制装置的第一种可能的实现方式中,控制单元包括主处理器和从处理器,主处理器和从处理器分别连接安全控制电路。According to the first aspect, in a first possible implementation manner of the motor control device, the control unit includes a master processor and a slave processor, and the master processor and the slave processor are respectively connected to a safety control circuit.

根据第一方面的第一种可能的实现方式,在所述电机控制装置的第二种可能的实现方式中,低压电池连接主处理器,母线取电单元连接从处理器。According to the first possible implementation manner of the first aspect, in the second possible implementation manner of the motor control device, the low-voltage battery is connected to the main processor, and the bus power taking unit is connected to the slave processor.

根据第一方面的第二种可能的实现方式,在所述电机控制装置的第三种可能的实现方式中,低压电池还与从处理器连接,其中,低压电池和母线取电单元通过二极管组与从处理器连接。According to the second possible implementation of the first aspect, in the third possible implementation of the motor control device, the low-voltage battery is also connected to the slave processor, wherein the low-voltage battery and the bus power-taking unit pass through a diode group Connect with slave processor.

根据第一方面,或以上第一方面的任意一种实现方式,在所述电机控制装置的第四种可能的实现方式中,功率模块驱动电源包括上桥臂驱动电源和下桥臂驱动电源,其中,母线取电单元的输出端连接下桥臂驱动电源,低压电池和母线取电单元通过二极管组向下桥臂驱动电源供电。According to the first aspect, or any implementation manner of the above first aspect, in a fourth possible implementation manner of the motor control device, the drive power supply of the power module includes a drive power supply for the upper bridge arm and a drive power supply for the lower bridge arm, Wherein, the output end of the bus power-taking unit is connected to the drive power of the lower bridge arm, and the low-voltage battery and the bus power-taking unit supply power to the drive power of the lower bridge arm through a diode group.

根据第一方面,或以上第一方面的任意一种实现方式,在所述电机控制装置的第五种可能的实现方式中,低压电池还与安全控制电路连接,其中,低压电池和母线取电单元通过二极管组向安全控制电路供电。According to the first aspect, or any implementation manner of the above first aspect, in the fifth possible implementation manner of the motor control device, the low-voltage battery is also connected to the safety control circuit, wherein the low-voltage battery and the bus take power The unit supplies power to the safety control circuit through a diode bank.

根据以上第一方面的任意一种实现方式,在所述电机控制装置的第六种可能的实现方式中,还包括电机转速获取单元,该电机转速获取单元分别连接逆变器和从处理器。According to any implementation manner of the above first aspect, in a sixth possible implementation manner of the motor control device, a motor speed acquisition unit is further included, and the motor speed acquisition unit is respectively connected to the inverter and the slave processor.

根据第一方面的第六种可能的实现方式,在所述电机控制装置的第七种可能的实现方式中,电机转速获取单元包括线电压过零检测电路和隔离芯片。According to a sixth possible implementation manner of the first aspect, in a seventh possible implementation manner of the motor control device, the motor speed acquisition unit includes a line voltage zero-crossing detection circuit and an isolation chip.

根据第一方面的第六种可能的实现方式,在所述电机控制装置的第八种可能的实现方式中,电机转速获取单元包括相电流过零检测电路和相电流传感器。According to a sixth possible implementation manner of the first aspect, in an eighth possible implementation manner of the motor control device, the motor speed acquisition unit includes a phase current zero-crossing detection circuit and a phase current sensor.

第二方面,提供一种车辆,其包括第一方面,或以上第一方面的任意一种实现方式的电机控制装置。In a second aspect, there is provided a vehicle, which includes the first aspect, or the motor control device of any one of the implementation manners of the above first aspect.

第三方面,提供一种电机控制方法,包括:电机的从处理器接收电机的主处理器发出的安全信号;从处理器获得电机的转速信息;从处理器根据转速信息,控制电机实现主动短路或者实现安全关管。In the third aspect, a motor control method is provided, including: the slave processor of the motor receives a safety signal sent by the main processor of the motor; the slave processor obtains the speed information of the motor; the slave processor controls the motor to realize active short circuit according to the speed information Or achieve security control.

根据第三方面,在所述电机控制方法的第一种可能的实现方式中,安全信号用于指示主处理器失去供电或运行故障。According to the third aspect, in the first possible implementation manner of the motor control method, the safety signal is used to indicate that the main processor loses power supply or runs faulty.

根据第三方面或或以上第三方面的第一种可能的实现方式,在所述电机控制方法的第二种可能的实现方式中,从处理器根据电机的转速信息,控制电机实现主动短路或者实现安全关管,具体包括:如果电机的转速高于或等于设定阈值,则从处理器控制电机进行主动短路,如果电机的转速低于设定阈值,则从处理器控制电机进行安全关管。According to the third aspect or the first possible implementation of the above third aspect, in the second possible implementation of the motor control method, the slave processor controls the motor to implement active short circuit or Realize safety shutdown, including: if the speed of the motor is higher than or equal to the set threshold, the processor controls the motor to perform active short circuit; if the speed of the motor is lower than the set threshold, the slave processor controls the motor to perform safety shutdown .

根据第三方面或或以上第三方面的任意一种可能的实现方式,在所述电机控制方法的第三种可能的实现方式中,从处理器获得电机的转速信息包括:从处理器根据主处理器最后一次传递来的电机转速信号获得电机的转速信息;或者,从处理器通过采集逆变器的相电流或线电压值,从而获取电机的转速信息。According to the third aspect or any possible implementation manner of the above third aspect, in the third possible implementation manner of the motor control method, obtaining the rotational speed information of the motor from the processor includes: The motor speed information is obtained from the motor speed signal transmitted by the processor last time; or, the motor speed information is obtained from the processor by collecting phase current or line voltage values of the inverter.

根据第三方面的第二种可能的实现方式,在所述电机控制方法的第四种可能的实现方式中,当从处理器控制电机进行主动短路后,获取电机转速信息,当电机转速低于设定阈值时,控制电机进行安全关管。According to the second possible implementation of the third aspect, in the fourth possible implementation of the motor control method, after the processor controls the motor to perform an active short circuit, the motor speed information is obtained, and when the motor speed is lower than When the threshold is set, the motor is controlled for safety shutdown.

根据第三方面的第四种可能的实现方式,在所述电机控制方法的第五种可能的实现方式中,从处理器通过采集逆变器的相电流或线电压值,从而获取电机转速信息。According to the fourth possible implementation of the third aspect, in the fifth possible implementation of the motor control method, the slave processor obtains the motor speed information by collecting the phase current or line voltage value of the inverter .

附图说明Description of drawings

为了更清楚地说明本申请提供的技术方案,下面将对附图作简单地介绍。显而易见地,下面描述的附图仅仅是本申请的一些实施例。In order to illustrate the technical solutions provided by the present application more clearly, the accompanying drawings will be briefly introduced below. Apparently, the drawings described below are only some embodiments of the present application.

图1为现有技术提供的一种电机控制装置的电路结构示意图;FIG. 1 is a schematic diagram of a circuit structure of a motor control device provided in the prior art;

图2为现有技术提供的另一种电机控制装置的电路结构示意图Figure 2 is a schematic diagram of the circuit structure of another motor control device provided by the prior art

图3为本申请实施例提供的转矩和母线电压及转速关系示意图;Fig. 3 is a schematic diagram of the relationship between torque, bus voltage and rotational speed provided by the embodiment of the present application;

图4为本申请实施例提供的一种电机控制装置的电路结构示意图;FIG. 4 is a schematic diagram of a circuit structure of a motor control device provided in an embodiment of the present application;

图5为本申请实施例提供的一种电机控制方法的逻辑流程图;FIG. 5 is a logic flow chart of a motor control method provided by an embodiment of the present application;

图6为本申请实施例提供的另一种电机控制装置的电路结构示意图。FIG. 6 is a schematic diagram of a circuit structure of another motor control device provided by an embodiment of the present application.

附图标记:Reference signs:

(现有技术)11-高压电池,12-隔离电源,13-低压电池,14-电机控制器,15-上桥臂驱动电源,16-下桥臂驱动电源,21-高压电池,22-备份电源电路,23-低压电池,24-电机控制器,25-上/下桥臂驱动电源,26-驱动电路,27-逆变器(Prior art) 11-high-voltage battery, 12-isolated power supply, 13-low-voltage battery, 14-motor controller, 15-upper bridge arm driving power, 16-lower bridge arm driving power, 21-high voltage battery, 22-backup Power circuit, 23-low voltage battery, 24-motor controller, 25-upper/lower bridge arm drive power, 26-drive circuit, 27-inverter

(本发明)01-高压电池,02-低压电池,03-电源管理模块,04-控制单元,05-功率模块驱动电源,06-驱动电路,07-逆变器,08-母线取电单元,09-ASC控制逻辑电路,010-主处理器,011-直流变换电路,012-从处理器,013-直流变换电路,014-二极管,015-二极管,016-上桥臂驱动电源,017-下桥臂驱动电源,018-上桥臂驱动电路,019-下桥臂驱动电路,020-上桥臂功率变换模块,021-下桥臂功率变换模块,022-线电压过零点检测电路,023-隔离芯片,024-母线电压信号调理电路,025-线性隔离器,026-相电流检测模块(Invention) 01-high-voltage battery, 02-low-voltage battery, 03-power management module, 04-control unit, 05-power module drive power supply, 06-drive circuit, 07-inverter, 08-bus power extraction unit, 09-ASC control logic circuit, 010-main processor, 011-DC conversion circuit, 012-slave processor, 013-DC conversion circuit, 014-diode, 015-diode, 016-upper bridge arm drive power, 017-down Bridge arm drive power supply, 018-upper bridge arm drive circuit, 019-lower bridge arm drive circuit, 020-upper bridge arm power conversion module, 021-lower bridge arm power conversion module, 022-line voltage zero-crossing detection circuit, 023- Isolation chip, 024-bus voltage signal conditioning circuit, 025-linear isolator, 026-phase current detection module

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请中的附图,对本申请中的技术方案进行完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be fully described below in conjunction with the accompanying drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, and Not all examples. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

本申请的说明书实施例和权利要求书及附图中的术语“第一”、“第二”等仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元。产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些产品或设备固有的其它步骤或单元。The terms "first" and "second" in the description, embodiments, claims and drawings of the present application are only used for the purpose of distinguishing descriptions, and cannot be interpreted as indicating or implying relative importance, nor can they be interpreted as indicating or imply order. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, of a sequence of steps or elements. Products or devices are not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to the products or devices.

本申请实施例提供一种电机控制装置及电机控制方法,该电机控制装置,即电机控制器,用于对车辆、尤其是电动车辆中的驱动电机进行控制。Embodiments of the present application provide a motor control device and a motor control method. The motor control device, that is, a motor controller, is used to control a driving motor in a vehicle, especially an electric vehicle.

在对车辆电机的控制过程中,现有ASC解决方案主要有两种实现方式。In the process of controlling the motor of the vehicle, there are mainly two implementation methods for the existing ASC solution.

现有技术一如图1所示,在图1所提供的电机控制装置硬件结构示意图中,其通过备份低压侧低压蓄电池12V电源,备份电源给整个电机控制器供低压电,主动短路控制逻辑受控于主处理器。具体的,现有技术一提供了一种备份电源电路,为保证电机控制的低压供电,通过增加额外的隔离电源12从高压电池11取电,作为整个系统的备份电源。该隔离电源12的输出电压比低压电池13略低。在低压电池13正常工作时,二极管D反向截止,电机控制器14、上桥臂驱动电源15及下桥臂驱动电源16由低压电池13供电;当低压电池13供电出现故障时,二极管D导通,由作为备份电源的隔离电源12为低压系统(包括电机控制器14、上桥臂驱动电源15及下桥臂驱动电源16)供电,同时电机控制器14发出主动短路信号,控制电机实现主动短路。Prior Art 1 As shown in Figure 1, in the schematic diagram of the hardware structure of the motor control device provided in Figure 1, it backs up the 12V power supply of the low-voltage battery on the low-voltage side, and the backup power supply supplies low-voltage power to the entire motor controller, and the active short-circuit control logic is controlled by controlled by the main processor. Specifically, prior art 1 provides a backup power supply circuit. In order to ensure low-voltage power supply for motor control, an additional isolated power supply 12 is added to obtain power from a high-voltage battery 11 as a backup power supply for the entire system. The output voltage of the isolated power supply 12 is slightly lower than that of the low-voltage battery 13 . When the low-voltage battery 13 works normally, the diode D cuts off in reverse, and the motor controller 14, the upper bridge arm drive power supply 15 and the lower bridge arm drive power supply 16 are powered by the low-voltage battery 13; when the low-voltage battery 13 power supply fails, the diode D leads The low-voltage system (including the motor controller 14, the upper bridge arm drive power supply 15 and the lower bridge arm drive power supply 16) is powered by the isolated power supply 12 as the backup power supply, and the motor controller 14 sends an active short-circuit signal to control the motor to achieve active short circuit.

上述主动短路方案采用额外的隔离电源12来保证控制用电,并通过电机控制器14实现主动短路功能。隔离电源12存在使用器件数量多、成本高、体积大等缺陷,并且在车载工况下存在较大振动风险。同时,如果电机控制器14或电源管理系统或上/下桥臂驱动电源15、16出现单点故障失效,将导致主动短路功能失效。The above-mentioned active short-circuit scheme adopts an additional isolated power supply 12 to ensure control power consumption, and realizes the active short-circuit function through the motor controller 14 . The isolated power supply 12 has defects such as a large number of components used, high cost, and large volume, and there is a greater risk of vibration under vehicle conditions. At the same time, if the motor controller 14 or the power management system or the upper/lower bridge arm drive power supply 15, 16 fails with a single point failure, the active short circuit function will fail.

现有技术二提供了另一种电机驱动电路,其通过备份高压侧驱动电路电源,备份电源给这个电机控制器供低压电,主动短路控制逻辑受控于高压侧从处理器。具体的,参见图2,高压电池21为电机运行提供电能,大功率直流变换电路将高压电池21提供的高压直流电转换为低压直流电并为低压电池23充电,电机控制器24、上桥臂驱动电源和下桥臂驱动电源25由低压电池23供电,电机控制器24根据电机反馈电路从逆变器27获取的反馈电压和反馈电流生成驱动控制信号,驱动电路26根据上述驱动控制信号以及上桥臂驱动电源和下桥臂驱动电源25输出的驱动电压生成驱动脉冲,控制逆变器27将高压电池21输出的高压直流电转换为交流电,以驱动电机运行。当电动汽车出现故障时,由高压侧的从处理器实现主动短路控制,控制备份电源电路22直接输出高电平到逆变器27中的开关管的控制端,使逆变器27的上桥或下桥的开关管置于常开的状态;此外,备份电源电路22的输出也可以提供给驱动电路26,由驱动电路26控制逆变器27的上桥或下桥的开关管处于常开的状态。The second prior art provides another motor drive circuit, which provides low-voltage power to the motor controller by backing up the drive circuit power supply on the high-voltage side, and the active short-circuit control logic is controlled by the high-voltage side slave processor. Specifically, referring to FIG. 2 , the high-voltage battery 21 provides electric energy for the operation of the motor, and the high-power DC conversion circuit converts the high-voltage DC power provided by the high-voltage battery 21 into a low-voltage direct current and charges the low-voltage battery 23. The motor controller 24 and the upper bridge arm drive power supply And lower bridge arm drive power supply 25 is powered by low-voltage battery 23, and motor controller 24 generates drive control signal according to the feedback voltage and feedback current that motor feedback circuit obtains from inverter 27, and drive circuit 26 generates drive control signal according to above-mentioned drive control signal and upper bridge arm The driving power and the driving voltage output by the lower bridge arm driving power 25 generate driving pulses, and control the inverter 27 to convert the high-voltage direct current output by the high-voltage battery 21 into alternating current to drive the motor to run. When the electric vehicle breaks down, the active short-circuit control is realized by the slave processor on the high voltage side, and the backup power supply circuit 22 is controlled to directly output a high level to the control terminal of the switching tube in the inverter 27, so that the upper bridge of the inverter 27 Or the switch tube of the lower bridge is placed in the normally open state; in addition, the output of the backup power supply circuit 22 can also be provided to the drive circuit 26, and the switch tube of the upper bridge or the lower bridge of the inverter 27 is controlled by the drive circuit 26 to be in the normally open state. status.

现有技术二提供的该技术方案,由于高压侧的从处理器需要较高的抗干扰性,因此对电磁抗干扰性有较高要求;另外,从高压侧的从处理器发出主动短路信号,高压侧和低压侧之间需要通过隔离模块实时传递主动短路逻辑入口相关信息,因此,对通讯可靠性要求较高,系统实现比较复杂,并且成本比较高。In the technical solution provided by prior art 2, since the slave processor on the high-voltage side needs higher anti-interference performance, it has higher requirements on electromagnetic anti-interference performance; in addition, the slave processor on the high-voltage side sends an active short-circuit signal, Between the high-voltage side and the low-voltage side, information about the active short-circuit logic entrance needs to be transmitted in real time through the isolation module. Therefore, the communication reliability is high, and the system implementation is relatively complicated and the cost is relatively high.

因此,如何提供一种电机控制装置或电机控制方法,在进行ASC控制时能够更可靠,成为亟待解决的技术问题。Therefore, how to provide a motor control device or a motor control method that can be more reliable when performing ASC control has become an urgent technical problem to be solved.

本申请基于转矩和母线电压及转速的关系,提供了一种电机控制装置及方法,在进行主动短路保护时,具有控制简单、可靠性高、成本低的特点。Based on the relationship between torque, bus voltage and rotational speed, the present application provides a motor control device and method, which have the characteristics of simple control, high reliability and low cost when performing active short circuit protection.

关于电机转矩和母线电压及转速的关系,具体是指,当电机控制器在高转速的状态下进行安全保护时,随着电机转速降低、电机所输出的转矩值会随之变化。对于SPO和ASC两种模式,随着电机转速降低、电机输出转矩值的变化呈现出不同的变化曲线。如图3所示,当启动SPO模式时,在启动的一瞬间(对应图中高转速的位置),反向转矩很大、超过了安全转矩范围,之后反向转矩迅速下降为零。当启动ASC模式时,在启动的一瞬间,反向转矩很小、近似为零,随着转速的下降,反向转矩会不断增大,在转速降低到一定范围时,反向转矩达到最高值、该最高值远超出安全转矩的范围。根据该电机转速和转矩的关系,因此,在电机出现低压掉电或者处理器/电源模块无法工作、并且电机高速运行的状态下需要执行安全保护操作时,如果直接SPO或者ASC则会导致不可预期的过大反向扭矩。这就需要,在转速高时通过ASC模式进行主动短路、在转速降下来之后再切入SPO模式。另一方面,当电机控制器在电机低转速的状态下进行安全保护时,则不需要进行切换、可以直接进入SPO模式。Regarding the relationship between the motor torque and the bus voltage and speed, specifically, when the motor controller performs safety protection at a high speed, the output torque value of the motor will change as the motor speed decreases. For the two modes of SPO and ASC, as the motor speed decreases, the change of the motor output torque value presents different curves. As shown in Figure 3, when the SPO mode is started, at the moment of start (corresponding to the position of high speed in the figure), the reverse torque is very large, exceeding the safe torque range, and then the reverse torque quickly drops to zero. When the ASC mode is started, the reverse torque is very small and approximately zero at the moment of starting. As the speed decreases, the reverse torque will continue to increase. When the speed drops to a certain range, the reverse torque The highest value is reached, which is well outside the safe torque range. According to the relationship between the motor speed and torque, therefore, when the motor has a low-voltage power failure or the processor/power module cannot work, and the motor is running at high speed, if it is necessary to perform safety protection operations, direct SPO or ASC will lead to failure. Excessive reverse torque expected. This requires an active short circuit through the ASC mode when the speed is high, and then cut into the SPO mode after the speed drops. On the other hand, when the motor controller performs safety protection in the state of low motor speed, it does not need to switch and can directly enter the SPO mode.

基于上述特点,在执行安全保护时,电机控制器需要获取电机转速信息,从而判断直接进入SPO模式,或者是先通过ASC模式进行主动短路、并获取电机的实时转速信息、在转速降低至一定范围时再切入SPO模式。Based on the above characteristics, when performing safety protection, the motor controller needs to obtain the motor speed information, so as to judge whether to directly enter the SPO mode, or first perform an active short circuit through the ASC mode, and obtain the real-time speed information of the motor, and then reduce the speed to a certain range. Then switch to SPO mode.

本申请实施例一提供了一种电机控制装置,参见图4。其中,电机控制装置包括:电源管理模块03、控制单元04、功率模块驱动电源05、驱动电路06、逆变器07。向电机控制装置供电的供电系统包括高压电池01和低压电池02,高压电池01通过大功率直流变换电路向低压电池02蓄电。其中,电源管理模块03可以采用电源管理系统基础芯片(SystemBasis.Chip,SBC)。Embodiment 1 of the present application provides a motor control device, as shown in FIG. 4 . Wherein, the motor control device includes: a power management module 03 , a control unit 04 , a power module driving power supply 05 , a driving circuit 06 , and an inverter 07 . The power supply system for supplying power to the motor control device includes a high-voltage battery 01 and a low-voltage battery 02, and the high-voltage battery 01 stores electricity to the low-voltage battery 02 through a high-power DC conversion circuit. Wherein, the power management module 03 may adopt a power management system basis chip (SystemBasis.Chip, SBC).

上述控制单元04包括主处理器010和从处理器012,低压电池02通过电源管理模块03向主处理器010供电,同时,低压电池02经过直流变换电路013和直流变换电路011向从处理器012进行供电。其中,直流变换电路013具体可以采用降压-升压变换器(buck–boostconverter)、单端初级电感式转换器(single ended primary inductor converter,简称SEPIC)或返驰式变换器(Flyback converters)等类型的变换器。直流变换电路11具体可以采用降压-升压变换器(buck–boost converter)、降压变换器(Buck Converter,又称为Buck变换器)或低压差稳压器(Low-dropout regulator,LDO,又称为低压差线性稳压器)。为保障电机控制装置的安全等级,上述主处理器010满足ASILC或ASILD功能,上述从处理器012满足ASILA等级。The above-mentioned control unit 04 includes a main processor 010 and a slave processor 012, the low-voltage battery 02 supplies power to the main processor 010 through the power management module 03, and at the same time, the low-voltage battery 02 supplies power to the slave processor 012 power supply. Wherein, the DC conversion circuit 013 can specifically adopt a buck-boost converter, a single-ended primary inductor converter (single ended primary inductor converter, referred to as SEPIC), or a flyback converter (Flyback converters), etc. type of converter. The DC conversion circuit 11 can specifically adopt a buck-boost converter, a buck converter (Buck Converter, also called a Buck converter) or a low-dropout regulator (Low-dropout regulator, LDO, Also known as low dropout linear regulator). In order to ensure the safety level of the motor control device, the main processor 010 meets the ASILC or ASILD function, and the slave processor 012 meets the ASILA level.

上述功率模块驱动电源05包括上桥臂驱动电源016和下桥臂驱动电源017,低压电池02经过直流变换电路013向上桥臂驱动电源016和下桥臂驱动电源017供电,其中在直流变换电路013和下桥臂驱动电源017之间设置有二极管014。二极管014与下桥臂驱动电源017之间设有节点A,节点A连接直流变换电路011,用于向从处理器012供电。上桥臂驱动电源016和下桥臂驱动电源017分别向上桥臂驱动电路018和下桥臂驱动电路019进行供电。上/下桥臂驱动电源模块016/017是分离的,并且上桥臂驱动电源016的供电仅仅来自直流变换电路013,如果上桥臂驱动电源016负载短路,则直流变换电路013进入保护状态、无输出。The drive power supply 05 for the power module includes an upper bridge arm drive power supply 016 and a lower bridge arm drive power supply 017. The low-voltage battery 02 supplies power to the upper bridge arm drive power supply 016 and the lower bridge arm drive power supply 017 through the DC conversion circuit 013, wherein A diode 014 is arranged between the driver power supply 017 and the lower bridge arm. A node A is provided between the diode 014 and the driving power source 017 of the lower bridge arm, and the node A is connected to the DC conversion circuit 011 for supplying power to the slave processor 012 . The drive power supply 016 for the upper bridge arm and the drive power supply 017 for the lower bridge arm supply power to the drive circuit 018 for the upper bridge arm and the drive circuit 019 for the lower bridge arm respectively. The upper/lower bridge arm drive power modules 016/017 are separated, and the power supply of the upper bridge arm drive power supply 016 only comes from the DC conversion circuit 013. If the load of the upper bridge arm drive power supply 016 is short-circuited, the DC conversion circuit 013 enters the protection state. no output.

电机控制装置还具有母线取电单元08,母线取电单元08分别与高压电池01和上述节点A连接,用于提供备份电源。母线取电单元08与节点A之间设置有二极管015。The motor control device also has a bus power-taking unit 08, which is respectively connected to the high-voltage battery 01 and the above-mentioned node A for providing backup power. A diode 015 is provided between the bus power taking unit 08 and the node A.

电机控制装置中包括一个ASC控制逻辑电路09,该ASC控制逻辑电路09用于在车辆需要进行安全保护时,进行主动短路的控制。ASC控制逻辑电路09连接节点A。The motor control device includes an ASC control logic circuit 09, and the ASC control logic circuit 09 is used for active short-circuit control when the vehicle needs safety protection. ASC control logic circuit 09 is connected to node A.

母线取电单元08从高压电池01取电,将高压电变换变为低于36VDC的低压直流电;直流变换电路013将低压电池02输出的可变的6V~16V电变换为低于36VDC低压直流电;两者再通过由二极管014和二极管015组成的ORING二极管组014/015给下桥臂驱动电源017和ASC控制逻辑电路09供电,同时给从处理器012的直流变换电路011供电;ORING二极管组014/015输出的电源仅仅给下桥臂驱动电源017供电,从而保证备份电源的供电最小环路,以及供电输出功率尽量小。其中,母线取电单元08输出端的电压略低于直流变换电路013输出端的电压,因此,通过ORING二极管组014/015,在正常状态下,由低压电池02经过直流变换电路013对ASC控制逻辑电路09和从处理器012进行供电;当低压掉电或低压电池02或直流变换电路013发生故障时,由高压电池01经过母线取电单元08对ASC控制逻辑电路09和从处理器012进行供电。The bus power taking unit 08 takes power from the high-voltage battery 01, and converts the high-voltage power into a low-voltage direct current lower than 36VDC; the direct-current conversion circuit 013 converts the variable 6V-16V power output by the low-voltage battery 02 into a low-voltage direct current lower than 36VDC ; Both supply power to the lower bridge arm drive power supply 017 and the ASC control logic circuit 09 through the ORING diode group 014/015 composed of diode 014 and diode 015, and simultaneously supply power to the DC conversion circuit 011 of the slave processor 012; ORING diode group The power output from 014/015 only supplies power to the drive power supply 017 of the lower bridge arm, so as to ensure the minimum power supply loop of the backup power supply, and the power supply output power is as small as possible. Among them, the voltage at the output terminal of the bus power taking unit 08 is slightly lower than the voltage at the output terminal of the DC conversion circuit 013, therefore, through the ORING diode group 014/015, under normal conditions, the low-voltage battery 02 passes through the DC conversion circuit 013 to control the logic circuit of the ASC 09 and the slave processor 012 provide power; when the low-voltage power failure or the low-voltage battery 02 or the DC conversion circuit 013 fails, the high-voltage battery 01 supplies power to the ASC control logic circuit 09 and the slave processor 012 through the bus power-taking unit 08.

控制单元04实时获取高压电池01的电压信号;具体的,母线电压信号调理电路024将从高压电池01所获取的母线电压调理到线性隔离器025的输入阈值电压,通过线性隔离器025将高压母线电压隔离后送至主处理器010和从处理器012,这样主处理器010和从处理器012可实时获取母线电压值;作为主动短路的进入条件。其中,线性隔离器025可以采用隔离运放或者线性光耦隔离电路。The control unit 04 obtains the voltage signal of the high-voltage battery 01 in real time; specifically, the bus voltage signal conditioning circuit 024 adjusts the bus voltage obtained from the high-voltage battery 01 to the input threshold voltage of the linear isolator 025, and the high-voltage bus After the voltage is isolated, it is sent to the master processor 010 and the slave processor 012, so that the master processor 010 and the slave processor 012 can obtain the bus voltage value in real time; as the entry condition of the active short circuit. Wherein, the linear isolator 025 may adopt an isolation operational amplifier or a linear optocoupler isolation circuit.

电机控制装置还包括线电压过零点检测电路022,电压过零点检测电路022连接下桥臂功率变换模块021,线电压过零点检测电路022用于将从下桥臂功率变换模块021获取的线电压过零信号通过隔离芯片023隔离后传递给从处理器010,从而在主处理器010失效等主动短路工况时,从处理器012能够实时检测电机的转速信息。其中,隔离芯片023可以采用例如光耦合器来实现。The motor control device also includes a line voltage zero-crossing detection circuit 022, the voltage zero-crossing detection circuit 022 is connected to the lower bridge arm power conversion module 021, and the line voltage zero-crossing detection circuit 022 is used to convert the line voltage obtained from the lower bridge arm power conversion module 021 The zero-crossing signal is isolated by the isolation chip 023 and then transmitted to the slave processor 010, so that the slave processor 012 can detect the speed information of the motor in real time when the master processor 010 fails and other active short-circuit conditions. Wherein, the isolation chip 023 can be realized by using, for example, an optical coupler.

主处理器010和从处理器012分别与ASC控制逻辑电路09信号连接。ASC控制逻辑电路09接收主处理器010或从处理器012发送的安全相关的信号,并作出主动短路控制。The master processor 010 and the slave processor 012 are respectively connected to the ASC control logic circuit 09 by signals. The ASC control logic circuit 09 receives safety-related signals sent by the master processor 010 or the slave processor 012, and performs active short-circuit control.

可以理解的是,图4中只是标注了电机控制装置的主要组成部分及电路连接关系,电机控制装置还包括有其它必要的元器件模块,以及目前图中所示的元器件模块也包括有图中未示出的信号连接关系。图4用于更清楚的表达本申请实施例所要保护的技术方案,因此,对于与本申请实施例无关的元器件模块及信号连接关系,在图4中省略未示出。It can be understood that only the main components and circuit connection relationship of the motor control device are marked in Fig. 4, and the motor control device also includes other necessary component modules, and the component modules shown in the current figure also include Signal connections not shown in the FIG. 4 is used to more clearly express the technical solution to be protected by the embodiment of the present application. Therefore, components, modules and signal connection relationships irrelevant to the embodiment of the present application are omitted in FIG. 4 .

如图5所示,为本申请实施例所提供的电机控制装置在对电机控制时的逻辑流程框图。As shown in FIG. 5 , it is a logic flow diagram of the motor control device provided in the embodiment of the present application when controlling the motor.

步骤一、车辆在正常行驶过程中,主处理器010处于正常工作状态;此时,从处理器012作为备份处理器,为车辆的安全控制提供保障。Step 1. When the vehicle is running normally, the master processor 010 is in a normal working state; at this time, the slave processor 012 serves as a backup processor to provide guarantee for the safety control of the vehicle.

步骤二、从处理器010通过实时或者以一定的频率监测安全信号,判断安全信号是否为低电平(例如出现主处理器010工作异常、或者低压电池02掉电的情况)。如果安全信号为高电平,则判断为主处理器010正常工作;如果安全信号降为低电平,则进入下一步骤,触发从处理器012进入工作。Step 2, the slave processor 010 monitors the safety signal in real time or at a certain frequency, and judges whether the safety signal is at a low level (for example, the main processor 010 works abnormally, or the low-voltage battery 02 loses power). If the safety signal is at a high level, it is judged that the master processor 010 is working normally; if the safety signal is at a low level, then enter the next step to trigger the slave processor 012 to work.

步骤三、从处理器012根据主处理器010最后一次传递过来的电机转速,来判断当前转速是否高于第一阈值转速。如果当前转速低于第一阈值转速,则从处理器012控制上下桥臂开关管全关断(即,控制上、下桥臂驱动电路018、019均断开),进入安全关管(SPO)状态。如果当前转速等于或者高于第一阈值,则从处理器012通过检电机控制器故障,判断故障类型。Step 3: The slave processor 012 judges whether the current speed is higher than the first threshold speed according to the motor speed transmitted by the master processor 010 last time. If the current speed is lower than the first threshold speed, the slave processor 012 controls the upper and lower bridge arm switches to be completely turned off (that is, controls both the upper and lower bridge arm drive circuits 018 and 019 to be disconnected), and enters the safety off (SPO) state. If the current rotational speed is equal to or higher than the first threshold, the slave processor 012 detects a motor controller failure to determine the type of failure.

步骤四、首先判断是否为下桥臂驱动电路019出现故障。如果下桥臂驱动电路019未出现故障,则通过对下桥臂驱动电路019进行短路的方式,实现主动短路(ASC);如果下桥臂驱动电路019出现了故障,则继续判断上桥臂驱动电路018是否出现故障;如果上桥臂驱动电路018未出现故障,则通过对上桥臂驱动电路018进行短路的方式,实现主动短路(ASC);如果上桥臂驱动电路018同时出现了故障,则直接进入安全关管(SPO)状态,因为此时上、下桥臂驱动电路018、019均已出现故障,即全部断开。Step 4, firstly determine whether the lower bridge arm drive circuit 019 is faulty. If the lower bridge arm drive circuit 019 is not faulty, the active short circuit (ASC) is realized by short-circuiting the lower bridge arm drive circuit 019; if the lower bridge arm drive circuit 019 fails, continue to judge the upper bridge arm drive Whether the circuit 018 breaks down; if the upper bridge arm drive circuit 018 does not fail, then the active short circuit (ASC) is realized by short-circuiting the upper bridge arm drive circuit 018; if the upper bridge arm drive circuit 018 fails simultaneously, Then it directly enters the safety off (SPO) state, because at this time the upper and lower bridge arm drive circuits 018, 019 have all failed, that is, they are all disconnected.

步骤五、基于上述步骤四,当进入主动短路(ASC)状态后,从处理器012通过转速检测电路判断电机转速是否降低至第二阈值转速。如果电机转速未降低至第二阈值转速,则保持当前的安全状态。当电机转速当电机转速低于第二阈值时,则进入控制上、下桥臂驱动电路018、019均断开,进入安全关管SPO状态。Step 5. Based on the above step 4, after entering the active short circuit (ASC) state, the slave processor 012 judges whether the motor speed has decreased to the second threshold speed through the speed detection circuit. If the motor speed does not decrease to the second threshold speed, the current safe state is maintained. When the speed of the motor is lower than the second threshold, it enters the control and the upper and lower bridge arm drive circuits 018 and 019 are both disconnected, and enters the SPO state of safety shutdown.

步骤六、电机控制器进入安全关管SPO状态,实现电机和控制器的脱离。Step 6: The motor controller enters the SPO state to separate the motor from the controller.

本申请实施例二提供了另一种电机控制装置,参见图6。与实施例一所提供的电机控制装置的不同之处在于:Embodiment 2 of the present application provides another motor control device, as shown in FIG. 6 . The difference from the motor control device provided in Embodiment 1 lies in:

(1)为从处理器012的直流变换电路011供电的电源来自三个电源输入端:SBC电源模块03、直流变换电路013以及母线取电单元08。(1) The power supply for the DC conversion circuit 011 of the slave processor 012 comes from three power input terminals: the SBC power supply module 03 , the DC conversion circuit 013 and the bus power taking unit 08 .

(2)从处理器012通过相电流检测模块026获取电机转速信息。(2) Obtain the motor speed information from the processor 012 through the phase current detection module 026 .

具体的,通过将SBC电源模块03、直流变换电路013以及母线取电单元08同时作为从处理器012的直流变换电路011的供电输入端,能提高从处理器012工作时的稳定电源输入。当车辆工作出现异常时,即使该三个电源输入端有一个甚至两个出现故障,也不影响从处理器012的供电,提高了系统的鲁棒性。Specifically, by using the SBC power module 03, the DC conversion circuit 013 and the bus power-taking unit 08 as the power supply input end of the DC conversion circuit 011 of the slave processor 012, the stable power input when the slave processor 012 works can be improved. When the vehicle works abnormally, even if one or even two of the three power input terminals fail, the power supply from the processor 012 will not be affected, which improves the robustness of the system.

从处理器012通过相电流检测模块026获取电机转速信息,其中,相电流检测模块026即为转速获取单元,包括相电流传感器和相电流过零检测电路。从处理器012通过采集逆变器07的相电流,从而获取电机转速信息。The motor speed information is obtained from the processor 012 through the phase current detection module 026, wherein the phase current detection module 026 is a speed acquisition unit, including a phase current sensor and a phase current zero-crossing detection circuit. The slave processor 012 acquires the motor speed information by collecting the phase current of the inverter 07 .

以上描述的各个实施例之间相同或相似的部分可相互参考。本申请中的“多个”若无特殊说明,指两个或两个以上,或“至少两个”。本申请中的“A/B”包括三种情况:“A”、“B”和“A和B”。The same or similar parts among the various embodiments described above can be referred to each other. "Multiple" in this application means two or more, or "at least two" unless otherwise specified. "A/B" in this application includes three cases: "A", "B" and "A and B".

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本申请提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in One place, or it can be distributed to multiple network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the device embodiments provided in the present application, the connection relationship between the modules indicates that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. It can be understood and implemented by those skilled in the art without creative effort.

以上所述,仅为本申请的一些具体实施方式,但本申请的保护范围并不局限于此。The above descriptions are only some specific implementation methods of the present application, but the protection scope of the present application is not limited thereto.

Claims (15)

1. A motor control device is connected with an external high-voltage battery (01) and a low-voltage battery (02), and is characterized by comprising: the motor control device comprises a control unit (04), a power module driving power supply (05), a driving circuit (06), an inverter (07) and a first direct current conversion circuit (013), wherein a low-voltage battery (02) is respectively connected with the control unit (04) and the power module driving power supply (05), the control unit (04) is connected with the driving circuit (06), the driving circuit (06) is connected with the inverter (07), the power module driving power supply (05) is connected with the driving circuit (06), the motor control device further comprises a bus electricity taking unit (08) and a safety control circuit (09), wherein one side of the bus electricity taking unit (08) is connected with the high-voltage battery (01), the other side of the bus electricity taking unit is respectively connected with the control unit (04), the power module driving power supply (05) and the safety control circuit (09), the control unit (04) is connected with the safety control circuit (09), and the safety control circuit (09) is connected with the driving circuit (06);
the control unit comprises a main processor (010), a secondary processor (012) and a second direct current conversion circuit (011), wherein the main processor (010) and the secondary processor (012) are respectively connected with the safety control circuit (09);
the low-voltage battery (02) supplies power to the main processor (010) through the power management module (03), and the low-voltage battery (02) supplies power to the sub-processor (012) through the first direct current conversion circuit (013) and the second direct current conversion circuit (011);
the other side of the bus electricity taking unit (08) is connected with the slave processor (012) in the control unit (04) through the second direct current conversion circuit (011).
2. The motor control device according to claim 1, characterized in that the low-voltage battery (02) is connected to the master processor (010) and the bus bar electricity taking unit (08) is connected to the slave processor (012).
3. The motor control device according to claim 2, characterized in that the low-voltage battery (02) is also connected with the slave processor (012), wherein the low-voltage battery (02) and the bus bar electricity taking unit (08) are connected with the slave processor (012) through diode groups (015, 014).
4. The motor control device according to any one of claims 1 to 3, wherein the power module driving power supply (05) comprises an upper bridge arm driving power supply (016) and a lower bridge arm driving power supply (017), wherein the output end of the bus bar electricity-taking unit (08) is connected with the lower bridge arm driving power supply (017), and the low-voltage battery (02) and the bus bar electricity-taking unit (08) supply power to the lower bridge arm driving power supply (017) through diode groups (015, 014).
5. The motor control device according to any one of claims 1 to 4, characterized in that the low-voltage battery (02) is also connected to the safety control circuit (09), wherein the low-voltage battery (02) and the bus bar electricity taking unit (08) supply electricity to the safety control circuit (09) through a diode group (015, 014).
6. The motor control device according to any one of claims 1 to 5, characterized by further comprising a motor rotation speed acquisition unit that connects the inverter (07) and the slave processor (012), respectively.
7. The motor control device according to claim 6, wherein the motor speed obtaining unit includes a line voltage zero-crossing detecting circuit (022) and an isolating chip (023).
8. The motor control apparatus according to claim 6, wherein the motor speed acquisition unit includes a phase current zero-cross detection circuit and a phase current sensor.
9. A vehicle characterized by comprising the motor control apparatus according to any one of claims 1 to 8.
10. A motor control method applied to the motor control device according to any one of claims 1 to 8, comprising:
a slave processor of the motor receives a safety signal sent by a master processor of the motor;
the slave processor obtains the rotating speed information of the motor;
and the slave processor controls the motor to realize active short circuit or realize safe pipe closing according to the rotating speed information.
11. The motor control method according to claim 10, characterized in that:
the safety signal is used for indicating that the main processor loses power supply or has operation failure.
12. The motor control method according to claim 10 or 11, characterized in that: the slave processor controls the motor to realize active short circuit or safety shut-off according to the rotating speed information of the motor, and the method specifically comprises the following steps:
if the rotating speed of the motor is higher than or equal to a set threshold value, the slave processor controls the motor to carry out active short circuit,
and if the rotating speed of the motor is lower than the set threshold, the slave processor controls the motor to carry out safe shutdown.
13. The method of any of claims 10-12, wherein obtaining the speed information of the motor from the processor comprises:
the slave processor obtains the rotating speed information of the motor according to the motor rotating speed signal transmitted by the master processor for the last time; or,
and the slave processor acquires the rotating speed information of the motor by acquiring the phase current or the line voltage value of the inverter.
14. The motor control method according to claim 12, characterized in that:
and when the rotating speed of the motor is lower than the set threshold, controlling the motor to carry out safety shutdown.
15. The motor control method according to claim 14, characterized in that: and the slave processor acquires the motor rotating speed information by acquiring the phase current or the line voltage value of the inverter.
CN202010495834.XA 2020-06-03 2020-06-03 Motor control device and motor control method Active CN111786598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010495834.XA CN111786598B (en) 2020-06-03 2020-06-03 Motor control device and motor control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010495834.XA CN111786598B (en) 2020-06-03 2020-06-03 Motor control device and motor control method

Publications (2)

Publication Number Publication Date
CN111786598A CN111786598A (en) 2020-10-16
CN111786598B true CN111786598B (en) 2022-11-18

Family

ID=72753385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010495834.XA Active CN111786598B (en) 2020-06-03 2020-06-03 Motor control device and motor control method

Country Status (1)

Country Link
CN (1) CN111786598B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114312343A (en) 2021-01-14 2022-04-12 华为数字能源技术有限公司 Motor control systems and automobiles
CN113296022B (en) * 2021-05-31 2023-06-20 一巨自动化装备(上海)有限公司 Real-time diagnosis method for active short-circuit state of motor
CN113555850B (en) * 2021-06-18 2024-04-05 东风汽车集团股份有限公司 Safety control method and system for motor controller function
CN113400941B (en) * 2021-06-24 2022-09-02 中国第一汽车股份有限公司 Active short-circuit signal processing circuit and vehicle
CN113922492A (en) * 2021-10-12 2022-01-11 臻驱科技(上海)有限公司 Internal power supply framework of motor controller, electric vehicle and power supply method
CN114421819A (en) * 2021-12-17 2022-04-29 上海金脉电子科技有限公司 Vehicle-mounted inverter power supply circuit, vehicle-mounted inverter and vehicle
CN114421427B (en) * 2021-12-17 2024-03-26 广东美的白色家电技术创新中心有限公司 Control method, motor controller, storage medium and equipment
CN116330976A (en) * 2021-12-24 2023-06-27 北京车和家汽车科技有限公司 Safety control method, device, equipment and storage medium for electric drive system
CN114614443B (en) * 2022-04-02 2024-06-18 上海威迈斯新能源有限公司 Control circuit for MOSFET short circuit detection and protection
CN115593240B (en) * 2022-09-30 2025-03-14 北京新能源汽车股份有限公司 Motor Controllers and Electric Vehicles

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002952885A0 (en) * 2002-11-25 2002-12-12 Turbocor Inc High speed electric motor power supply
US7023168B1 (en) * 2004-09-13 2006-04-04 General Motors Corporation Field weakening motor control system and method
CN104097586B (en) * 2013-04-11 2015-11-18 陈言平 Vehicle control unit of electric vehicle
US10447195B2 (en) * 2013-07-23 2019-10-15 Atieva, Inc. Electric vehicle motor torque safety monitor
CN209949004U (en) * 2019-06-04 2020-01-14 苏州汇川联合动力系统有限公司 Motor drive system, motor driver and electric automobile
CN110266245B (en) * 2019-06-04 2024-08-02 苏州汇川联合动力系统股份有限公司 Motor driving system and method, motor driver and electric automobile
CN210898512U (en) * 2019-11-18 2020-06-30 上海威迈斯新能源有限公司 Three-phase active short-circuit control circuit of electric vehicle motor system

Also Published As

Publication number Publication date
CN111786598A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN111786598B (en) Motor control device and motor control method
US11458844B2 (en) Power supply system for vehicle
US8487636B2 (en) Malfunction determining apparatus and malfunction determining method for charging system
CA2860940C (en) System and method for high voltage cable detection in hybrid vehicles
US8773065B2 (en) Power supply system for electric powered vehicle, control method thereof, and electric powered vehicle
US10787136B2 (en) Electric power system for controlling pre-charge of vehicle
CN110768213B (en) Control circuit and control method for three-phase active short circuit of electric vehicle motor system
EP3982533A1 (en) Motor control method and circuit for vehicle, motor drive system, and vehicle
CA2863605C (en) High voltage cable detection using rotating machine in hybrid vehicles
CN112693314B (en) Power supply system for vehicle
CN207684680U (en) Band-type brake coil control circuit, band-type brake control power-supply device and elevator
CN101141014A (en) Direct current converting device control method of mixed power vehicle
CN111942177A (en) ASC control device and motor controller
CN111994128A (en) Grid-connected control method and system for auxiliary inverter of urban rail train
CN109334756A (en) A kind of power-assisted steering double drive control system and its control method
CN212400918U (en) ASC control device and motor controller
CN221851715U (en) Vehicle and protection circuit
CN222473926U (en) Integrated motor controller, driving system and vehicle
CN217396456U (en) vehicle power supply system
CN119787925A (en) Power supply control method and system of motor controller
KR102736398B1 (en) Electric power converting apparatus and method
CN118413155A (en) Plug-in type operation system, device and active discharging method
CN106788015A (en) A monitoring and processing method for motor controller DC bus power failure
CN118713541A (en) A control device and method for a motor drive system and a vehicle
KR20210008971A (en) Control method of HEV corresponding to BMS power disconnection

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
TA01 Transfer of patent application right

Effective date of registration: 20211111

Address after: 518043 No. 01, 39th floor, building a, antuoshan headquarters building, No. 33, antuoshan Sixth Road, Xiang'an community, Xiangmihu street, Futian District, Shenzhen, Guangdong Province

Applicant after: Huawei Digital Energy Technology Co.,Ltd.

Address before: 518129 Huawei headquarters office building, Bantian, Longgang District, Shenzhen, Guangdong

Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221124

Address after: 510540 room a505-196, 5 / F, supporting service building, No. 8, Kesheng Road, Guangzhou private science and Technology Park, No. 1633, Beitai Road, Baiyun District, Guangzhou, Guangdong

Patentee after: Huawei Electric Technology Co.,Ltd.

Address before: 518043 No. 01, 39th floor, building a, antuoshan headquarters building, No. 33, antuoshan Sixth Road, Xiang'an community, Xiangmihu street, Futian District, Shenzhen, Guangdong Province

Patentee before: Huawei Digital Energy Technology Co.,Ltd.

TR01 Transfer of patent right