WO2022242177A1 - Control method and apparatus for multi-unit motor, and medium and electronic device - Google Patents

Control method and apparatus for multi-unit motor, and medium and electronic device Download PDF

Info

Publication number
WO2022242177A1
WO2022242177A1 PCT/CN2021/141669 CN2021141669W WO2022242177A1 WO 2022242177 A1 WO2022242177 A1 WO 2022242177A1 CN 2021141669 W CN2021141669 W CN 2021141669W WO 2022242177 A1 WO2022242177 A1 WO 2022242177A1
Authority
WO
WIPO (PCT)
Prior art keywords
motor
unit
control
subunit
control unit
Prior art date
Application number
PCT/CN2021/141669
Other languages
French (fr)
Chinese (zh)
Inventor
李帅
唐佩伦
苏瑞涛
师浩浩
Original Assignee
中国第一汽车股份有限公司
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 中国第一汽车股份有限公司 filed Critical 中国第一汽车股份有限公司
Publication of WO2022242177A1 publication Critical patent/WO2022242177A1/en

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
    • H02P5/00Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors
    • H02P5/74Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors controlling two or more ac dynamo-electric motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation

Definitions

  • the present application relates to the technical field of motors, for example, to a control method, device, medium and electronic equipment of a multi-unit motor.
  • the main power source of electric vehicles is the motor, and the hub motor is one of them.
  • a motor with multi-unit sub-motors that can work independently of each other is used.
  • Each unit motor has the same motor parameters and is composed of multiple main control units. The control is carried out separately, and each main control unit controls multiple unit motors.
  • the present application provides a control method, device, medium and electronic equipment for a multi-unit motor, so as to reduce resource occupation of a central processing unit (Central Processing Unit, CPU) of a control unit and improve control efficiency.
  • CPU Central Processing Unit
  • a control method for a multi-unit motor is provided, which is applied to a motor system, and the motor system includes at least a first unit motor unit and a first control unit connected thereto, a second unit motor unit and a second unit unit connected thereto.
  • a control unit, each unit motor group includes at least two sub-unit motors, the method includes:
  • the first control unit generates a torque command for each subunit motor according to the received total torque command
  • the first control unit generates a control instruction for each subunit motor according to the torque instruction for each subunit motor;
  • the first control unit controls each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and sends the control instruction of each subunit motor to the second A control unit, wherein the second control unit is configured to control each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
  • control device for a multi-unit motor, which is configured in a first control unit, and the first control unit is configured in a motor system, wherein the motor system includes at least a first unit motor group and a first motor unit connected thereto.
  • the motor system includes at least a first unit motor group and a first motor unit connected thereto.
  • the torque command generation module is configured to generate a torque command for each subunit motor according to the received total torque command
  • a control instruction generation module configured to generate a control instruction for each subunit motor according to the torque instruction for each subunit motor
  • the control and sending module is configured to control each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and send the control instruction of each subunit motor to the second A control unit, wherein the second control unit is configured to control each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
  • a computer-readable medium is also provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for controlling a multi-unit motor as described in the embodiment of the present application is realized.
  • An electronic device including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, when the processor executes the computer program, the multi-unit motor as described in the embodiment of the present application is realized control method.
  • FIG. 1 is a flow chart of a control method for a multi-unit motor provided in Embodiment 1 of the present application;
  • Fig. 2 is a system block diagram of a four-unit motor provided in Embodiment 2 of the present application;
  • FIG. 3 is a schematic structural diagram of a control device for a multi-unit motor provided in Embodiment 3 of the present application;
  • FIG. 4 is a schematic structural diagram of an electronic device provided in Embodiment 5 of the present application.
  • Some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe steps as sequential processing, many of the steps may be performed in parallel, concurrently, or simultaneously. Additionally, the order of various steps may be rearranged. The process may be terminated when multiple step operations are complete, but may also have additional steps not included in the figure.
  • the processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.
  • Fig. 1 is a flow chart of the control method of the multi-unit motor provided by Embodiment 1 of the present application.
  • This embodiment can be applied to the situation of controlling the multi-unit motor, such as the motor system used for the hub motor in the electric vehicle, the motor
  • the system at least includes a first unit motor group and a first control unit connected thereto, a second unit motor group and a second control unit connected thereto, and each unit motor group includes at least two subunit motors.
  • the method can be executed by the control device of the multi-unit motor provided in the embodiment of the present application, the device can be realized by software and/or hardware, and can be integrated into the electronic equipment for controlling the multi-unit motor.
  • the control method of the multi-unit motor includes the following steps.
  • the first control unit generates a torque command for each sub-unit motor according to the received total torque command.
  • a main control unit can be selected from the first control unit and the second control unit to receive the total torque command.
  • the first control unit is used as the main control unit as an example for description
  • the second control unit may also be selected as the main control unit, which is not limited in this embodiment of the present application.
  • each subunit motor in the above motor system is the same and needs to provide the same torque. Therefore, the first control unit can average the total torque command according to the received total torque command and the number of subunit motors. points to get the torque command of each sub-unit motor. For example, if there are 2 unit motor groups in the motor system, and each unit motor group includes 2 subunit motors, then the total number of subunit motors in the motor system is 4, and the torque command of each subunit motor is The torque value is 1/4 of the torque value in the total torque command.
  • the first control unit generates a control instruction for each subunit motor according to the torque instruction for each subunit motor.
  • the torque command contains the torque value of the expected motor operation, which needs to be converted into a control command for the motor and sent to the motor, and the motor can run according to the control command to achieve the desired torque.
  • the generation operation of the control instruction is completed by the first control unit as the main control unit, thereby reducing resource occupation of the CPU of the control unit and improving control efficiency.
  • the first control unit may generally include: the first control unit generates a current amplitude command and a current phase angle command according to the torque command of each sub-unit motor , or direct-axis current command and quadrature-axis current command, generate corresponding direct-axis voltage command and quadrature-axis voltage command according to the current command value, and generate corresponding 6-channel pulse width modulation (Pulse Width Modulation, PWM) according to the voltage command value Signal, send these 6 PWM signals to each sub-unit motor to control each sub-unit motor to output the corresponding torque.
  • PWM pulse width modulation
  • the process of generating the corresponding direct-axis voltage command and quadrature-axis voltage command according to the current amplitude command and current phase angle command or the direct-axis current command and quadrature-axis current command can be achieved through a proportional-integral (PI) closed-loop regulator
  • PI proportional-integral
  • the control command may include: a current amplitude command and a current phase angle command, or a direct-axis current command and a quadrature-axis current command; or include a direct-axis voltage command and a quadrature-axis voltage command; or include a PWM control signal.
  • intermediate products current-related instructions, voltage-related instructions
  • final products PWM control signals
  • the first control unit controls each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and sends the control instruction of each subunit motor to the second control unit, wherein the second control The unit is used for controlling each subunit motor in the second unit motor group according to the control command of each subunit motor.
  • the first control unit and the second control unit have the same structure and function.
  • the control command is a current amplitude command and a current phase angle command, or a direct axis current command and a quadrature axis current command
  • the first control unit and the second control unit respectively controls each sub-unit motor in the first unit motor group and the second unit motor group, including: generating a corresponding direct-axis voltage command and a quadrature-axis voltage command according to the current-related command, and according to the voltage command value to generate corresponding 6-way PWM signals;
  • the control command is a direct-axis voltage command and a quadrature-axis voltage command
  • the first control unit and the second control unit respectively control each of the first unit motor group and the second unit motor group
  • the control of each sub-unit motor includes: generating corresponding 6-way PWM signals according to the voltage command value; when the control command is 6-way PWM control signals, then the first control unit and the second control unit control the first unit motor group respectively Controlling each sub-unit motor in
  • control unit and unit motor groups have a one-to-one control relationship, and there may be 2 groups of control units or 4 groups of control units, etc., each There can also be 2 or 4 subunit motors in a unit motor group.
  • a control unit is selected as the main control unit to receive the total torque command, and the main control unit generates a control command for each sub-unit motor according to the total torque command, and sends the control command to Other control units, thus, each control unit can control each subunit motor in the unit motor group connected to the control unit according to the control instruction, and at the same time, the operation of generating the control instruction is only completed in the main control unit, while No other control unit is required for processing, thereby reducing resource occupation of the CPU of the control unit and improving control efficiency.
  • Fig. 2 is a system block diagram of a four-unit motor provided in Embodiment 2 of the present application.
  • the motor system includes 2 control units, 2 unit motor groups and each unit motor group Include 2 sub-unit motors as an example for illustration.
  • the four-unit motor system includes a control unit 1, a control unit 2, a drive unit and an insulated gate bipolar transistor (Insulated Gate Bipolar Transistor, IGBT) module 1, a drive unit and an IGBT module 2, a drive unit and IGBT module 3 , drive unit and IGBT module 4 , subunit motor 1 , subunit motor 2 , subunit motor 3 and subunit motor 4 .
  • IGBT Insulated Gate Bipolar Transistor
  • control unit 1 and the control unit 2 send the PWM signal to the sub-unit motor 1-sub-unit motor 4 respectively through the drive unit and the IGBT module 1-IGBT module 4, so as to realize the control of multiple sub-unit motors.
  • the control unit 1 and the The control units 2 are connected through a controller area network (Controller Area Network, CAN) or a serial peripheral interface (Serial Peripheral Interface, SPI) to transmit control instructions.
  • controller area network Controller Area Network, CAN
  • serial peripheral interface Serial Peripheral Interface
  • control unit 1 is used as the main control unit, and the total torque command is received through the CAN bus, and the total torque command is divided into four parts, which are respectively used as the respective torque commands of the sub-unit motor 1-sub-unit motor 4 .
  • the control unit 1 will generate a current amplitude command and a current phase angle command, or a direct-axis current command and a quadrature-axis current command according to the torque command of each subunit motor, and generate a corresponding direct-axis voltage command and a quadrature-axis current command according to the current command value.
  • Voltage command generate corresponding 6-way PWM signals according to the voltage command value, and send these 6-way PWM signals to sub-unit motor 1 and sub-unit motor 2 through the drive unit and IGBT module 1 and drive unit and IGBT module 2 respectively, to complete the control Control of subunit motor 1 and subunit motor 2.
  • the generated control command is sent to the control unit 2 through CAN or SPI, so that the control unit 2 completes the control of the sub-unit motor 3 and the sub-unit motor 4 according to the control command.
  • the control unit 2 has the same structure and function as the control unit 1. If the control command is a current amplitude command and a current phase angle command, or a direct-axis current command and a quadrature-axis current command, then the control unit 2 is based on the current Related commands generate corresponding direct-axis voltage commands and quadrature-axis voltage commands, and generate corresponding 6-way PWM signals according to the voltage command values, and send them to the subunit motor 3 through the drive unit and IGBT module 3 and the drive unit and IGBT module 4 respectively and sub-unit motor 4; if the control command is a direct-axis voltage command and a quadrature-axis voltage command, then the control unit 2 generates corresponding 6-way PWM signals according to the voltage command value, and then passes through the drive unit and IGBT module 3 and drive The unit and the IGBT module 4 are sent to the subunit motor 3 and the subunit motor 4; if the control command is a 6-way PWM control signal, then the control unit 2 is directly sent to the The sub
  • control unit 2 When the control command is a PWM signal, the control unit 2 also includes a programmable logic chip such as a complex programmable logic device (Complex Programmable Logic Device, CPLD) or a field programmable gate array (Field Programmable Gate Array, FPGA), which is used to control the PWM signal.
  • CPLD Complex Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • control unit 1 is selected as the main control unit to receive the total torque command, and the control unit 1 generates control commands for the subunit motor 1-subunit motor 4 according to the total torque command, and sends the The control command is sent to the control unit 2, so that each control unit can control each subunit motor connected to it according to the control command, and at the same time, the operation of generating the control command is only completed in the control unit 1 without the control unit 2 for processing, thereby reducing resource occupation of the CPU of the control unit 2 and improving control efficiency.
  • Fig. 3 is a schematic structural diagram of a control device for a multi-unit motor provided in Embodiment 3 of the present application.
  • the control device is configured in a first control unit, and the first control unit is configured in a motor system, wherein the motor system includes at least The first unit motor group and the first control unit connected thereto, the second unit motor group and the second control unit connected thereto, each unit motor group includes at least two subunit motors, as shown in Figure 3, multiple
  • the control unit for the unit motor consists of the following modules.
  • the torque command generation module 310 is configured to generate a torque command for each subunit motor according to the received total torque command;
  • the control instruction generation module 320 is configured to generate the control instruction of each subunit motor according to the torque instruction of each subunit motor;
  • the control and sending module 330 is configured to control each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and send the control instruction of each subunit motor to the A second control unit, wherein the second control unit is configured to control each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
  • control command generation module 320 is set to:
  • the total torque command is equally divided to obtain the torque command of each sub-unit motor.
  • control instructions include current amplitude instructions and current phase angle instructions, or direct-axis current instructions and quadrature-axis current instructions.
  • control commands include direct-axis voltage commands and quadrature-axis voltage commands.
  • control instruction includes a PWM control signal.
  • the above-mentioned products can execute the multi-unit motor control method provided by the embodiment of the present application, and have corresponding functional modules and effects of the execution method.
  • Embodiment 4 of the present application also provides a medium containing computer-executable instructions.
  • the computer-executable instructions When executed by a computer processor, the computer-executable instructions are used to execute a method for controlling a multi-unit motor for a motor system.
  • the motor The system at least includes a first unit motor group and a first control unit connected thereto, a second unit motor group and a second control unit connected thereto, and each unit motor group includes at least two sub-unit motors, the method include:
  • the first control unit generates a torque command for each subunit motor according to the received total torque command
  • the first control unit generates a control instruction for each subunit motor according to the torque instruction for each subunit motor;
  • the first control unit controls each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and sends the control instruction of each subunit motor to the second A control unit, wherein the second control unit is configured to control each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
  • media any of various types of memory devices or storage devices.
  • the term "media” is intended to include: installation media, such as Compact Disc Read Only Memory (CD-ROM), floppy disks, or tape drives; computer system memory or random access memory, such as dynamic random access memory ( Dynamic Random Access Memory, DRAM), double data rate random access memory (Double Data Rate Random Access Memory, DDR RAM), static random access memory (Static Random-Access Memory, SRAM), extended data output random access memory ( Extended Data Output Random Access Memory, EDO RAM), Rambus (Rambus) RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory components, etc.
  • the media may also include other types of memory, or combinations thereof.
  • the medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network such as the Internet.
  • the second computer system may provide program instructions to the computer for execution.
  • the term "medium" may include two or more media that may reside in different locations, such as in different computer systems connected by a network.
  • a medium may store program instructions (eg, implemented as a computer program) that are executable by one or more processors.
  • the storage medium may be a non-transitory storage medium.
  • a medium containing computer-executable instructions provided by an embodiment of the present application.
  • the computer-executable instructions are not limited to operations in the control method of a multi-unit motor as described above, and can also execute multiple Related operations in the control method of the unit motor.
  • Embodiment 5 of the present application provides an electronic device, and the electronic device can be integrated with the multi-unit motor control device provided in the embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an electronic device provided in Embodiment 5 of the present application. As shown in FIG.
  • this embodiment provides an electronic device 400, which includes: one or more processors 420; a storage device 410 configured to store one or more programs, when the one or more programs are executed
  • the one or more processors 420 execute, so that the one or more processors 420 implement the control method of the multi-unit motor provided in the embodiment of the present application, which is used in a motor system, and the motor system includes at least a first A unit motor group and a first control unit connected thereto, a second unit motor group and a second control unit connected thereto, each unit motor group includes at least two sub-unit motors, the method includes:
  • the first control unit generates a torque command for each subunit motor according to the received total torque command
  • the first control unit generates a control instruction for each subunit motor according to the torque instruction for each subunit motor;
  • the first control unit controls each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and sends the control instruction of each subunit motor to the second A control unit, wherein the second control unit is configured to control each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
  • the processor 420 also implements the technical solution of the method for controlling a multi-unit motor provided in any embodiment of the present application.
  • the electronic device 400 shown in FIG. 4 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.
  • the electronic device 400 includes a processor 420, a storage device 410, an input device 430, and an output device 440; the number of processors 420 in the electronic device may be one or more, and in FIG. As an example; the processor 420, the storage device 410, the input device 430 and the output device 440 in the electronic device may be connected through a bus or in other ways. In FIG. 4, the connection through the bus 450 is taken as an example.
  • the storage device 410 can be used to store software programs, computer executable programs and module units, such as program instructions corresponding to the multi-unit motor control method in the embodiment of the present application.
  • the storage device 410 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal, and the like.
  • the storage device 410 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices.
  • the storage device 410 may include memory located remotely from the processor 420, and these remote memories may be connected through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input device 430 can be used to receive input numbers, character information or voice information, and generate key signal input related to user settings and function control of the electronic device.
  • the output device 440 may include electronic equipment such as a display screen and a speaker.
  • the electronic device provided in the embodiment of the present application can achieve the purpose of reducing resource occupation of the CPU of the control unit and improving control efficiency.
  • the multi-unit motor control device, medium, and electronic equipment provided in the above embodiments can execute the multi-unit motor control method provided in any embodiment of the present application, and have corresponding functional modules and effects for executing the method.
  • the method for controlling a multi-unit motor provided in any embodiment of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Multiple Motors (AREA)

Abstract

Disclosed in embodiments of the present application are a control method and apparatus for a multi-unit motor, and a medium and an electronic device. The method is applied to a motor system. The motor system comprises a first unit motor set, a first control unit connected to the first unit motor set, a second unit motor set, and a second control unit connected to the second unit motor set, and each unit motor set comprises at least two subunit motors. The method comprises: a first control unit generates a torque instruction of each subunit motor according to a received total torque instruction; the first control unit generates a control instruction of each subunit motor according to the torque instruction of each subunit motor; and the first control unit controls each subunit motor of a first unit motor set according to the control instruction of each subunit motor and sends the control instruction of each subunit motor to a second control unit, wherein the second control unit controls each subunit motor of a second unit motor set.

Description

多单元电机的控制方法、装置、介质和电子设备Control method, device, medium and electronic device of multi-unit motor
本申请要求在2021年05月17日提交中国专利局、申请号为202110536426.9的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with application number 202110536426.9 submitted to the China Patent Office on May 17, 2021, the entire content of which is incorporated in this application by reference.
技术领域technical field
本申请涉及电机技术领域,例如涉及一种多单元电机的控制方法、装置、介质和电子设备。The present application relates to the technical field of motors, for example, to a control method, device, medium and electronic equipment of a multi-unit motor.
背景技术Background technique
随着能源的紧缺、环境的恶化,电动汽车越来越受到人们的重视,电动汽车的主要动力源是电机,而轮毂电机即为其中的一种。With the shortage of energy and the deterioration of the environment, people pay more and more attention to electric vehicles. The main power source of electric vehicles is the motor, and the hub motor is one of them.
针对轮毂电机的应用,基于轮毂电机的安全、结构紧凑及散热要求高等特点,采用具备可以相互独立工作的多单元子电机的电机,每个单元电机具备相同的电机参数,由多个主控单元分别进行控制,每个主控单元控制多个单元电机。For the application of in-wheel motors, based on the safety, compact structure and high heat dissipation requirements of in-wheel motors, a motor with multi-unit sub-motors that can work independently of each other is used. Each unit motor has the same motor parameters and is composed of multiple main control units. The control is carried out separately, and each main control unit controls multiple unit motors.
发明内容Contents of the invention
本申请提供一种多单元电机的控制方法、装置、介质和电子设备,以降低对控制单元的中央处理器(Central Processing Unit,CPU)的资源占用,提高控制效率。The present application provides a control method, device, medium and electronic equipment for a multi-unit motor, so as to reduce resource occupation of a central processing unit (Central Processing Unit, CPU) of a control unit and improve control efficiency.
提供了一种多单元电机的控制方法,应用于电机系统,所述电机系统中至少包括第一单元电机组和与之连接的第一控制单元、第二单元电机组和与之连接的第二控制单元,每个单元电机组中包括至少两个子单元电机,所述方法包括:A control method for a multi-unit motor is provided, which is applied to a motor system, and the motor system includes at least a first unit motor unit and a first control unit connected thereto, a second unit motor unit and a second unit unit connected thereto. A control unit, each unit motor group includes at least two sub-unit motors, the method includes:
所述第一控制单元根据接收的总转矩指令,生成每个子单元电机的转矩指令;The first control unit generates a torque command for each subunit motor according to the received total torque command;
所述第一控制单元根据所述每个子单元电机的转矩指令,生成每个子单元电机的控制指令;The first control unit generates a control instruction for each subunit motor according to the torque instruction for each subunit motor;
所述第一控制单元根据所述每个子单元电机的控制指令对所述第一单元电机组中的每个子单元电机进行控制,并将所述每个子单元电机的控制指令发送至所述第二控制单元,其中,所述第二控制单元用于根据所述每个子单元电机的控制指令对所述第二单元电机组中的每个子单元电机进行控制。The first control unit controls each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and sends the control instruction of each subunit motor to the second A control unit, wherein the second control unit is configured to control each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
还提供了一种多单元电机的控制装置,配置于第一控制单元,所述第一控制单元配置于电机系统,其中,所述电机系统中至少包括第一单元电机组和与之连接的第一控制单元、第二单元电机组和与之连接的第二控制单元,每个单元电机组中包括至少两个子单元电机,所述装置包括:Also provided is a control device for a multi-unit motor, which is configured in a first control unit, and the first control unit is configured in a motor system, wherein the motor system includes at least a first unit motor group and a first motor unit connected thereto. A control unit, a second unit motor group and a second control unit connected thereto, each unit motor group includes at least two sub-unit motors, the device includes:
转矩指令生成模块,设置为根据接收的总转矩指令,生成每个子单元电机的转矩指令;The torque command generation module is configured to generate a torque command for each subunit motor according to the received total torque command;
控制指令生成模块,设置为根据所述每个子单元电机的转矩指令,生成每个子单元电机的控制指令;A control instruction generation module configured to generate a control instruction for each subunit motor according to the torque instruction for each subunit motor;
控制与发送模块,设置为根据所述每个子单元电机的控制指令对所述第一单元电机组中的每个子单元电机进行控制,并将所述每个子单元电机的控制指令发送至所述第二控制单元,其中,所述第二控制单元用于根据所述每个子单元电机的控制指令对所述第二单元电机组中的每个子单元电机进行控制。The control and sending module is configured to control each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and send the control instruction of each subunit motor to the second A control unit, wherein the second control unit is configured to control each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
还提供了一种计算机可读介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如本申请实施例所述的多单元电机的控制方法。A computer-readable medium is also provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for controlling a multi-unit motor as described in the embodiment of the present application is realized.
还提供了一种电子设备,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如本申请实施例所述的多单元电机的控制方法。An electronic device is also provided, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, when the processor executes the computer program, the multi-unit motor as described in the embodiment of the present application is realized control method.
附图说明Description of drawings
图1是本申请实施例一提供的多单元电机的控制方法的流程图;FIG. 1 is a flow chart of a control method for a multi-unit motor provided in Embodiment 1 of the present application;
图2是本申请实施例二提供的四单元电机的系统框图;Fig. 2 is a system block diagram of a four-unit motor provided in Embodiment 2 of the present application;
图3是本申请实施例三提供的多单元电机的控制装置的结构示意图;3 is a schematic structural diagram of a control device for a multi-unit motor provided in Embodiment 3 of the present application;
图4是本申请实施例五提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device provided in Embodiment 5 of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请进行说明。此处所描述的实施例仅仅用于解释本申请,而非对本申请的限定。为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The application will be described below in conjunction with the accompanying drawings and embodiments. The embodiments described here are only used to explain the present application, but not to limit the present application. For ease of description, only some structures related to the present application are shown in the drawings but not all structures.
一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将多个步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,多个步骤的顺序可以被重新安排。当多个步骤操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe steps as sequential processing, many of the steps may be performed in parallel, concurrently, or simultaneously. Additionally, the order of various steps may be rearranged. The process may be terminated when multiple step operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.
实施例一Embodiment one
图1是本申请实施例一提供的多单元电机的控制方法的流程图,本实施例可适用于对多单元电机进行控制的情况,例如用于电动汽车中轮毂电机的电机系统,所述电机系统中至少包括第一单元电机组和与之连接的第一控制单元、第二单元电机组和与之连接的第二控制单元,每个单元电机组中包括至少两个子单元电机。该方法可以由本申请实施例所提供的多单元电机的控制装置执行,该装置可以由软件和/或硬件的方式来实现,并可集成于用于控制多单元电机的电子设备中。Fig. 1 is a flow chart of the control method of the multi-unit motor provided by Embodiment 1 of the present application. This embodiment can be applied to the situation of controlling the multi-unit motor, such as the motor system used for the hub motor in the electric vehicle, the motor The system at least includes a first unit motor group and a first control unit connected thereto, a second unit motor group and a second control unit connected thereto, and each unit motor group includes at least two subunit motors. The method can be executed by the control device of the multi-unit motor provided in the embodiment of the present application, the device can be realized by software and/or hardware, and can be integrated into the electronic equipment for controlling the multi-unit motor.
如图1所示,所述多单元电机的控制方法包括以下步骤。As shown in Fig. 1, the control method of the multi-unit motor includes the following steps.
S110、第一控制单元根据接收的总转矩指令,生成每个子单元电机的转矩指令。S110. The first control unit generates a torque command for each sub-unit motor according to the received total torque command.
在电机系统中,可以从第一控制单元和第二控制单元二者之间选择一个主控单元来接收总转矩指令,本申请实施例中以第一控制单元作为主控单元为例进行描述,在其他实施例中,也可以选择第二控制单元作为主控单元,本申请实施例对此不作任何限定。In the motor system, a main control unit can be selected from the first control unit and the second control unit to receive the total torque command. In the embodiment of this application, the first control unit is used as the main control unit as an example for description , in other embodiments, the second control unit may also be selected as the main control unit, which is not limited in this embodiment of the present application.
通常,上述电机系统中的每个子单元电机都是相同的,需要提供相同的转矩,因此,第一控制单元可以根据接收的总转矩指令和子单元电机的数量,对总转矩指令进行均分,得到每个子单元电机的转矩指令。例如,如果电机系统中有2个单元电机组,且每个单元电机组都包括2个子单元电机,那么,电机系统中子单元电机的总数为4个,每个子单元电机的转矩指令中的转矩值即为总转矩指令中转矩值的四分之一。Usually, each subunit motor in the above motor system is the same and needs to provide the same torque. Therefore, the first control unit can average the total torque command according to the received total torque command and the number of subunit motors. points to get the torque command of each sub-unit motor. For example, if there are 2 unit motor groups in the motor system, and each unit motor group includes 2 subunit motors, then the total number of subunit motors in the motor system is 4, and the torque command of each subunit motor is The torque value is 1/4 of the torque value in the total torque command.
S120、第一控制单元根据每个子单元电机的转矩指令,生成每个子单元电机的控制指令。S120. The first control unit generates a control instruction for each subunit motor according to the torque instruction for each subunit motor.
转矩指令中包含期望电机运行的转矩值,需要将其转化成对电机的控制指令发送给电机,电机依据该控制指令运行才能达到期望的转矩。本申请实施例中,由作为主控单元的第一控制单元完成控制指令的生成操作,从而降低对控制单元的CPU的资源占用,提高控制效率。The torque command contains the torque value of the expected motor operation, which needs to be converted into a control command for the motor and sent to the motor, and the motor can run according to the control command to achieve the desired torque. In the embodiment of the present application, the generation operation of the control instruction is completed by the first control unit as the main control unit, thereby reducing resource occupation of the CPU of the control unit and improving control efficiency.
以第一控制单元对第一单元电机组中的每个子单元电机的控制过程为例, 通常可以包括:第一控制单元根据每个子单元电机的转矩指令生成电流幅值指令和电流相角指令,或者直轴电流指令和交轴电流指令,根据该电流指令值生成对应的直轴电压指令和交轴电压指令,根据该电压指令值生成对应的6路脉冲宽度调制(Pulse Width Modulation,PWM)信号,将这6路PWM信号发送至每个子单元电机,即可控制每个子单元电机输出对应的转矩。其中,根据电流幅值指令和电流相角指令或者直轴电流指令和交轴电流指令生成对应的直轴电压指令和交轴电压指令的过程,可以通过比例积分(Proportion Integration,PI)闭环调节器来实现,根据直轴电压指令和交轴电压指令生成对应的6路PWM信号的过程可以通过PWM调制算法来实现,此处不再赘述。Taking the control process of the first control unit for each sub-unit motor in the first unit motor group as an example, it may generally include: the first control unit generates a current amplitude command and a current phase angle command according to the torque command of each sub-unit motor , or direct-axis current command and quadrature-axis current command, generate corresponding direct-axis voltage command and quadrature-axis voltage command according to the current command value, and generate corresponding 6-channel pulse width modulation (Pulse Width Modulation, PWM) according to the voltage command value Signal, send these 6 PWM signals to each sub-unit motor to control each sub-unit motor to output the corresponding torque. Among them, the process of generating the corresponding direct-axis voltage command and quadrature-axis voltage command according to the current amplitude command and current phase angle command or the direct-axis current command and quadrature-axis current command can be achieved through a proportional-integral (PI) closed-loop regulator To achieve this, the process of generating corresponding 6-channel PWM signals according to the direct-axis voltage command and the quadrature-axis voltage command can be realized through a PWM modulation algorithm, which will not be repeated here.
为了使第二单元电机组中的每个子单元电机也输出相同的转矩,需要由第二控制单元对该每个子单元电机进行控制,而为了降低对第二控制单元中CPU的占用,可以不必由第二控制单元根据总转矩指令生成对应的控制指令,而是直接使用作为主控单元的第一控制单元生成的控制指令。因此,所述控制指令可以包括:电流幅值指令和电流相角指令,或者直轴电流指令和交轴电流指令;或者包括直轴电压指令和交轴电压指令;或者包括PWM控制信号。也就是说,在第一控制单元生成控制指令的过程中,可以将中间产物(电流相关指令、电压相关指令)或最终产物(PWM控制信号)发送至第二控制单元,避免第二控制单元占用更多的CPU资源进行运算。In order to make each sub-unit motor in the second unit motor group output the same torque, each sub-unit motor needs to be controlled by the second control unit, and in order to reduce the occupation of the CPU in the second control unit, it is not necessary to The second control unit generates the corresponding control command according to the total torque command, but directly uses the control command generated by the first control unit as the main control unit. Therefore, the control command may include: a current amplitude command and a current phase angle command, or a direct-axis current command and a quadrature-axis current command; or include a direct-axis voltage command and a quadrature-axis voltage command; or include a PWM control signal. That is to say, in the process of generating control instructions by the first control unit, intermediate products (current-related instructions, voltage-related instructions) or final products (PWM control signals) can be sent to the second control unit to avoid the second control unit from occupying More CPU resources for calculations.
S130、第一控制单元根据每个子单元电机的控制指令对第一单元电机组中的每个子单元电机进行控制,并将每个子单元电机的控制指令发送至第二控制单元,其中,第二控制单元用于根据每个子单元电机的控制指令对第二单元电机组中的每个子单元电机进行控制。S130. The first control unit controls each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and sends the control instruction of each subunit motor to the second control unit, wherein the second control The unit is used for controlling each subunit motor in the second unit motor group according to the control command of each subunit motor.
第一控制单元和第二控制单元具有相同的结构和功能,当控制指令为电流幅值指令和电流相角指令,或者直轴电流指令和交轴电流指令时,那么,第一控制单元和第二控制单元分别对第一单元电机组和第二单元电机组中的每个子单元电机进行控制,都包括:根据该电流相关指令生成对应的直轴电压指令和交轴电压指令,根据该电压指令值生成对应的6路PWM信号;当控制指令为直轴电压指令和交轴电压指令,那么,第一控制单元和第二控制单元分别对第一单元电机组和第二单元电机组中的每个子单元电机进行控制,都包括:根据该电压指令值生成对应的6路PWM信号;当控制指令为6路PWM控制信号,那么,第一控制单元和第二控制单元分别对第一单元电机组和第二单元电机组中的每个子单元电机进行控制,都包括:直接将该6路PWM控制信号发送至每个子单元电机,从而实现对子单元电机的控制,输出期望的转矩。The first control unit and the second control unit have the same structure and function. When the control command is a current amplitude command and a current phase angle command, or a direct axis current command and a quadrature axis current command, then the first control unit and the second control unit The second control unit respectively controls each sub-unit motor in the first unit motor group and the second unit motor group, including: generating a corresponding direct-axis voltage command and a quadrature-axis voltage command according to the current-related command, and according to the voltage command value to generate corresponding 6-way PWM signals; when the control command is a direct-axis voltage command and a quadrature-axis voltage command, then the first control unit and the second control unit respectively control each of the first unit motor group and the second unit motor group The control of each sub-unit motor includes: generating corresponding 6-way PWM signals according to the voltage command value; when the control command is 6-way PWM control signals, then the first control unit and the second control unit control the first unit motor group respectively Controlling each sub-unit motor in the second unit motor group includes: directly sending the 6-way PWM control signal to each sub-unit motor, so as to realize the control of the sub-unit motor and output the desired torque.
由此可知,在多单元电机控制方案中,虽然有多个单元电机组,并且多个 单元电机组对应多个控制单元,但是,可以从中选择一个控制单元作为主控单元,由主控单元完成对控制指令的运算和生成操作,并将中间结果或最终结果发送至其他控制单元,这样,就可以避免其他控制单元对生成控制指令过程的重复运算,从而降低对其他控制单元的CPU的占用,提高子单元电机的控制效率。It can be seen that in the multi-unit motor control scheme, although there are multiple unit motor groups, and the multiple unit motor groups correspond to multiple control units, one control unit can be selected as the main control unit, and the main control unit completes The calculation and generation of control instructions, and the intermediate or final results are sent to other control units, so that other control units can avoid repeated operations on the process of generating control instructions, thereby reducing the CPU usage of other control units. Improve the control efficiency of subunit motors.
本申请实施例对电机系统中控制单元和单元电机组的数量不做任何限定,控制单元和单元电机组为一对一的控制关系,并且可以有2组控制单元或4组控制单元等,每个单元电机组中子单元电机的数量也可以有2个或4个等。The embodiment of the present application does not make any limitation on the number of control units and unit motor groups in the motor system. The control unit and the unit motor groups have a one-to-one control relationship, and there may be 2 groups of control units or 4 groups of control units, etc., each There can also be 2 or 4 subunit motors in a unit motor group.
本申请实施例所提供的技术方案,选择一个控制单元作为主控单元接收总转矩指令,由该主控单元根据总转矩指令为每个子单元电机生成控制指令,并将该控制指令发送至其他控制单元,由此,每个控制单元都能够根据控制指令对与该控制单元连接的单元电机组中的每个子单元电机进行控制,同时,生成控制指令的操作只在主控单元完成,而无需其他控制单元进行处理,从而可降低对控制单元的CPU的资源占用,提高控制效率。In the technical solution provided by the embodiment of the present application, a control unit is selected as the main control unit to receive the total torque command, and the main control unit generates a control command for each sub-unit motor according to the total torque command, and sends the control command to Other control units, thus, each control unit can control each subunit motor in the unit motor group connected to the control unit according to the control instruction, and at the same time, the operation of generating the control instruction is only completed in the main control unit, while No other control unit is required for processing, thereby reducing resource occupation of the CPU of the control unit and improving control efficiency.
实施例二Embodiment two
图2是本申请实施例二提供的四单元电机的系统框图,本实施例二在实施例一的基础上,以电机系统中包括2个控制单元、2个单元电机组且每个单元电机组中包括2个子单元电机为例,进行说明。如图2所示,该四单元电机系统包括控制单元1、控制单元2、驱动单元及绝缘栅双极型晶体管(Insulated Gate Bipolar Transistor,IGBT)模块1、驱动单元及IGBT模块2、驱动单元及IGBT模块3、驱动单元及IGBT模块4、子单元电机1、子单元电机2、子单元电机3和子单元电机4。Fig. 2 is a system block diagram of a four-unit motor provided in Embodiment 2 of the present application. In Embodiment 2, on the basis of Embodiment 1, the motor system includes 2 control units, 2 unit motor groups and each unit motor group Include 2 sub-unit motors as an example for illustration. As shown in Figure 2, the four-unit motor system includes a control unit 1, a control unit 2, a drive unit and an insulated gate bipolar transistor (Insulated Gate Bipolar Transistor, IGBT) module 1, a drive unit and an IGBT module 2, a drive unit and IGBT module 3 , drive unit and IGBT module 4 , subunit motor 1 , subunit motor 2 , subunit motor 3 and subunit motor 4 .
其中,控制单元1、控制单元2分别通过驱动单元及IGBT模块1-IGBT模块4,将PWM信号发送至子单元电机1-子单元电机4,实现对多个子单元电机的控制,控制单元1与控制单元2之间通过控制器局域网络(Controller Area Network,CAN)或者串行外设接口(Serial Peripheral Interface,SPI)连接,用于传递控制指令。Among them, the control unit 1 and the control unit 2 send the PWM signal to the sub-unit motor 1-sub-unit motor 4 respectively through the drive unit and the IGBT module 1-IGBT module 4, so as to realize the control of multiple sub-unit motors. The control unit 1 and the The control units 2 are connected through a controller area network (Controller Area Network, CAN) or a serial peripheral interface (Serial Peripheral Interface, SPI) to transmit control instructions.
示例性的,将控制单元1作为主控单元,并通过CAN总线接收总转矩指令,将总转矩指令均分为四份,分别作为子单元电机1-子单元电机4各自的转矩指令。控制单元1会根据每个子单元电机的转矩指令生成电流幅值指令和电流相角指令,或者直轴电流指令和交轴电流指令,根据该电流指令值生成对应的直轴电压指令和交轴电压指令,根据该电压指令值生成对应的6路PWM信号,将这6路PWM信号分别通过驱动单元及IGBT模块1和驱动单元及IGBT模块2发送至子单元电机1和子单元电机2,完成对子单元电机1和子单元电机2的控 制。同时,还将其中生成的控制指令通过CAN或者SPI发送至控制单元2,以使控制单元2根据该控制指令完成对子单元电机3和子单元电机4的控制。Exemplarily, the control unit 1 is used as the main control unit, and the total torque command is received through the CAN bus, and the total torque command is divided into four parts, which are respectively used as the respective torque commands of the sub-unit motor 1-sub-unit motor 4 . The control unit 1 will generate a current amplitude command and a current phase angle command, or a direct-axis current command and a quadrature-axis current command according to the torque command of each subunit motor, and generate a corresponding direct-axis voltage command and a quadrature-axis current command according to the current command value. Voltage command, generate corresponding 6-way PWM signals according to the voltage command value, and send these 6-way PWM signals to sub-unit motor 1 and sub-unit motor 2 through the drive unit and IGBT module 1 and drive unit and IGBT module 2 respectively, to complete the control Control of subunit motor 1 and subunit motor 2. At the same time, the generated control command is sent to the control unit 2 through CAN or SPI, so that the control unit 2 completes the control of the sub-unit motor 3 and the sub-unit motor 4 according to the control command.
控制单元2与控制单元1具有相同的结构和功能,如果该控制指令是电流幅值指令和电流相角指令,或者直轴电流指令和交轴电流指令时,那么,控制单元2则根据该电流相关指令生成对应的直轴电压指令和交轴电压指令,根据该电压指令值生成对应的6路PWM信号,并分别通过驱动单元及IGBT模块3和驱动单元及IGBT模块4发送至子单元电机3和子单元电机4;如果该控制指令是直轴电压指令和交轴电压指令,那么,控制单元2则根据该电压指令值生成对应的6路PWM信号后,分别通过驱动单元及IGBT模块3和驱动单元及IGBT模块4发送至子单元电机3和子单元电机4;如果该控制指令为6路PWM控制信号,那么,控制单元2则直接通过驱动单元及IGBT模块3和驱动单元及IGBT模块4发送至子单元电机3和子单元电机4,从而实现对子单元电机3和子单元电机4的控制。The control unit 2 has the same structure and function as the control unit 1. If the control command is a current amplitude command and a current phase angle command, or a direct-axis current command and a quadrature-axis current command, then the control unit 2 is based on the current Related commands generate corresponding direct-axis voltage commands and quadrature-axis voltage commands, and generate corresponding 6-way PWM signals according to the voltage command values, and send them to the subunit motor 3 through the drive unit and IGBT module 3 and the drive unit and IGBT module 4 respectively and sub-unit motor 4; if the control command is a direct-axis voltage command and a quadrature-axis voltage command, then the control unit 2 generates corresponding 6-way PWM signals according to the voltage command value, and then passes through the drive unit and IGBT module 3 and drive The unit and the IGBT module 4 are sent to the subunit motor 3 and the subunit motor 4; if the control command is a 6-way PWM control signal, then the control unit 2 is directly sent to the The subunit motor 3 and the subunit motor 4, so as to realize the control of the subunit motor 3 and the subunit motor 4.
当控制指令为PWM信号,控制单元2中还包括复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)或者现场可编程门阵列(Field Programmable Gate Array,FPGA)等可编程逻辑芯片,用于对PWM信号进行校验和故障检测,经可编程逻辑芯片处理后的PWM信号会输出给驱动单元及IGBT模块。When the control command is a PWM signal, the control unit 2 also includes a programmable logic chip such as a complex programmable logic device (Complex Programmable Logic Device, CPLD) or a field programmable gate array (Field Programmable Gate Array, FPGA), which is used to control the PWM signal. The signal is verified and fault detected, and the PWM signal processed by the programmable logic chip will be output to the drive unit and IGBT module.
本申请实施例所提供的技术方案,选择控制单元1作为主控单元接收总转矩指令,由控制单元1根据总转矩指令为子单元电机1-子单元电机4生成控制指令,并将该控制指令发送至控制单元2,由此,每个控制单元都能够根据控制指令对与之连接的每个子单元电机进行控制,同时,生成控制指令的操作只在控制单元1完成,而无需控制单元2进行处理,从而可降低对控制单元2的CPU的资源占用,提高控制效率。In the technical solution provided by the embodiment of the present application, the control unit 1 is selected as the main control unit to receive the total torque command, and the control unit 1 generates control commands for the subunit motor 1-subunit motor 4 according to the total torque command, and sends the The control command is sent to the control unit 2, so that each control unit can control each subunit motor connected to it according to the control command, and at the same time, the operation of generating the control command is only completed in the control unit 1 without the control unit 2 for processing, thereby reducing resource occupation of the CPU of the control unit 2 and improving control efficiency.
实施例三Embodiment Three
图3是本申请实施例三提供的多单元电机的控制装置的结构示意图,该控制装置配置于第一控制单元,所述第一控制单元配置于电机系统,其中,所述电机系统中至少包括第一单元电机组和与之连接的第一控制单元、第二单元电机组和与之连接的第二控制单元,每个单元电机组中包括至少两个子单元电机,如图3所示,多单元电机的控制装置包括以下模块。Fig. 3 is a schematic structural diagram of a control device for a multi-unit motor provided in Embodiment 3 of the present application. The control device is configured in a first control unit, and the first control unit is configured in a motor system, wherein the motor system includes at least The first unit motor group and the first control unit connected thereto, the second unit motor group and the second control unit connected thereto, each unit motor group includes at least two subunit motors, as shown in Figure 3, multiple The control unit for the unit motor consists of the following modules.
转矩指令生成模块310,设置为根据接收的总转矩指令,生成每个子单元电机的转矩指令;The torque command generation module 310 is configured to generate a torque command for each subunit motor according to the received total torque command;
控制指令生成模块320,设置为根据所述每个子单元电机的转矩指令,生成 每个子单元电机的控制指令;The control instruction generation module 320 is configured to generate the control instruction of each subunit motor according to the torque instruction of each subunit motor;
控制与发送模块330,设置为根据所述每个子单元电机的控制指令对所述第一单元电机组中的每个子单元电机进行控制,并将所述每个子单元电机的控制指令发送至所述第二控制单元,其中,所述第二控制单元用于根据所述每个子单元电机的控制指令对所述第二单元电机组中的每个子单元电机进行控制。The control and sending module 330 is configured to control each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and send the control instruction of each subunit motor to the A second control unit, wherein the second control unit is configured to control each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
可选的,控制指令生成模块320是设置为:Optionally, the control command generation module 320 is set to:
根据接收的总转矩指令和所述子单元电机的数量,对所述总转矩指令进行均分,得到每个子单元电机的转矩指令。According to the received total torque command and the number of the sub-unit motors, the total torque command is equally divided to obtain the torque command of each sub-unit motor.
可选的,所述控制指令包括电流幅值指令和电流相角指令,或者直轴电流指令和交轴电流指令。Optionally, the control instructions include current amplitude instructions and current phase angle instructions, or direct-axis current instructions and quadrature-axis current instructions.
可选的,所述控制指令包括直轴电压指令和交轴电压指令。Optionally, the control commands include direct-axis voltage commands and quadrature-axis voltage commands.
可选的,所述控制指令包括PWM控制信号。Optionally, the control instruction includes a PWM control signal.
上述产品可执行本申请实施例所提供的多单元电机的控制方法,具备执行方法相应的功能模块和效果。The above-mentioned products can execute the multi-unit motor control method provided by the embodiment of the present application, and have corresponding functional modules and effects of the execution method.
实施例四Embodiment Four
本申请实施例四还提供一种包含计算机可执行指令的介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种多单元电机的控制方法,用于电机系统,所述电机系统中至少包括第一单元电机组和与之连接的第一控制单元、第二单元电机组和与之连接的第二控制单元,每个单元电机组中包括至少两个子单元电机,所述方法包括:Embodiment 4 of the present application also provides a medium containing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to execute a method for controlling a multi-unit motor for a motor system. The motor The system at least includes a first unit motor group and a first control unit connected thereto, a second unit motor group and a second control unit connected thereto, and each unit motor group includes at least two sub-unit motors, the method include:
所述第一控制单元根据接收的总转矩指令,生成每个子单元电机的转矩指令;The first control unit generates a torque command for each subunit motor according to the received total torque command;
所述第一控制单元根据所述每个子单元电机的转矩指令,生成每个子单元电机的控制指令;The first control unit generates a control instruction for each subunit motor according to the torque instruction for each subunit motor;
所述第一控制单元根据所述每个子单元电机的控制指令对所述第一单元电机组中的每个子单元电机进行控制,并将所述每个子单元电机的控制指令发送至所述第二控制单元,其中,所述第二控制单元用于根据所述每个子单元电机的控制指令对所述第二单元电机组中的每个子单元电机进行控制。The first control unit controls each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and sends the control instruction of each subunit motor to the second A control unit, wherein the second control unit is configured to control each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
介质——任何的多种类型的存储器设备或存储设备。术语“介质”旨在包括:安装介质,例如紧凑磁盘只读存储器(Compact Disc Read Only Memory,CD-ROM)、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如动态随机存取存储器(Dynamic Random Access Memory,DRAM)、双倍速率随 机存取存储器(Double Data Rate Random Access Memory,DDR RAM)、静态随机存取存储器(Static Random-Access Memory,SRAM)、扩展数据输出随机存取存储器(Extended Data Output Random Access Memory,EDO RAM),兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。介质可以还包括其它类型的存储器或其组合。另外,介质可以位于程序在其中被执行的计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到计算机系统。第二计算机系统可以提供程序指令给计算机用于执行。术语“介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多介质。介质可以存储可由一个或多个处理器执行的程序指令(例如实现为计算机程序)。存储介质可以是非暂态(non-transitory)存储介质。media - any of various types of memory devices or storage devices. The term "media" is intended to include: installation media, such as Compact Disc Read Only Memory (CD-ROM), floppy disks, or tape drives; computer system memory or random access memory, such as dynamic random access memory ( Dynamic Random Access Memory, DRAM), double data rate random access memory (Double Data Rate Random Access Memory, DDR RAM), static random access memory (Static Random-Access Memory, SRAM), extended data output random access memory ( Extended Data Output Random Access Memory, EDO RAM), Rambus (Rambus) RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory components, etc. The media may also include other types of memory, or combinations thereof. In addition, the medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network such as the Internet. The second computer system may provide program instructions to the computer for execution. The term "medium" may include two or more media that may reside in different locations, such as in different computer systems connected by a network. A medium may store program instructions (eg, implemented as a computer program) that are executable by one or more processors. The storage medium may be a non-transitory storage medium.
本申请实施例所提供的一种包含计算机可执行指令的介质,其计算机可执行指令不限于如上所述的多单元电机的控制方法中的操作,还可以执行本申请任意实施例所提供的多单元电机的控制方法中的相关操作。A medium containing computer-executable instructions provided by an embodiment of the present application. The computer-executable instructions are not limited to operations in the control method of a multi-unit motor as described above, and can also execute multiple Related operations in the control method of the unit motor.
实施例五Embodiment five
本申请实施例五提供了一种电子设备,该电子设备中可集成本申请实施例提供的多单元电机的控制装置。图4是本申请实施例五提供的一种电子设备的结构示意图。如图4所示,本实施例提供了一种电子设备400,其包括:一个或多个处理器420;存储装置410,设置为存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器420执行,使得所述一个或多个处理器420实现本申请实施例所提供的多单元电机的控制方法,用于电机系统,所述电机系统中至少包括第一单元电机组和与之连接的第一控制单元、第二单元电机组和与之连接的第二控制单元,每个单元电机组中包括至少两个子单元电机,所述方法包括:Embodiment 5 of the present application provides an electronic device, and the electronic device can be integrated with the multi-unit motor control device provided in the embodiment of the present application. FIG. 4 is a schematic structural diagram of an electronic device provided in Embodiment 5 of the present application. As shown in FIG. 4 , this embodiment provides an electronic device 400, which includes: one or more processors 420; a storage device 410 configured to store one or more programs, when the one or more programs are executed The one or more processors 420 execute, so that the one or more processors 420 implement the control method of the multi-unit motor provided in the embodiment of the present application, which is used in a motor system, and the motor system includes at least a first A unit motor group and a first control unit connected thereto, a second unit motor group and a second control unit connected thereto, each unit motor group includes at least two sub-unit motors, the method includes:
所述第一控制单元根据接收的总转矩指令,生成每个子单元电机的转矩指令;The first control unit generates a torque command for each subunit motor according to the received total torque command;
所述第一控制单元根据所述每个子单元电机的转矩指令,生成每个子单元电机的控制指令;The first control unit generates a control instruction for each subunit motor according to the torque instruction for each subunit motor;
所述第一控制单元根据所述每个子单元电机的控制指令对所述第一单元电机组中的每个子单元电机进行控制,并将所述每个子单元电机的控制指令发送至所述第二控制单元,其中,所述第二控制单元用于根据所述每个子单元电机的控制指令对所述第二单元电机组中的每个子单元电机进行控制。The first control unit controls each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and sends the control instruction of each subunit motor to the second A control unit, wherein the second control unit is configured to control each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
处理器420还实现本申请任意实施例所提供的多单元电机的控制方法的技术方案。The processor 420 also implements the technical solution of the method for controlling a multi-unit motor provided in any embodiment of the present application.
图4显示的电子设备400仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。The electronic device 400 shown in FIG. 4 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.
如图4所示,该电子设备400包括处理器420、存储装置410、输入装置430和输出装置440;电子设备中处理器420的数量可以是一个或多个,图4中以一个处理器420为例;电子设备中的处理器420、存储装置410、输入装置430和输出装置440可以通过总线或其他方式连接,图4中以通过总线450连接为例。As shown in FIG. 4, the electronic device 400 includes a processor 420, a storage device 410, an input device 430, and an output device 440; the number of processors 420 in the electronic device may be one or more, and in FIG. As an example; the processor 420, the storage device 410, the input device 430 and the output device 440 in the electronic device may be connected through a bus or in other ways. In FIG. 4, the connection through the bus 450 is taken as an example.
存储装置410作为一种计算机可读介质,可用于存储软件程序、计算机可执行程序以及模块单元,如本申请实施例中的多单元电机的控制方法对应的程序指令。As a computer readable medium, the storage device 410 can be used to store software programs, computer executable programs and module units, such as program instructions corresponding to the multi-unit motor control method in the embodiment of the present application.
存储装置410可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储装置410可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储装置410可包括相对于处理器420远程设置的存储器,这些远程存储器可以通过网络连接。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The storage device 410 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal, and the like. In addition, the storage device 410 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices. In some examples, the storage device 410 may include memory located remotely from the processor 420, and these remote memories may be connected through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置430可用于接收输入的数字、字符信息或语音信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。输出装置440可包括显示屏、扬声器等电子设备。The input device 430 can be used to receive input numbers, character information or voice information, and generate key signal input related to user settings and function control of the electronic device. The output device 440 may include electronic equipment such as a display screen and a speaker.
本申请实施例提供的电子设备,可以达到降低对控制单元的CPU的资源占用,提高控制效率的目的。The electronic device provided in the embodiment of the present application can achieve the purpose of reducing resource occupation of the CPU of the control unit and improving control efficiency.
上述实施例中提供的多单元电机的控制装置、介质及电子设备可执行本申请任意实施例所提供的多单元电机的控制方法,具备执行该方法相应的功能模块和效果。未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的多单元电机的控制方法。The multi-unit motor control device, medium, and electronic equipment provided in the above embodiments can execute the multi-unit motor control method provided in any embodiment of the present application, and have corresponding functional modules and effects for executing the method. For technical details not exhaustively described in the foregoing embodiments, reference may be made to the method for controlling a multi-unit motor provided in any embodiment of the present application.

Claims (10)

  1. 一种多单元电机的控制方法,应用于电机系统,所述电机系统中包括第一单元电机组和与所述第一单元电机组连接的第一控制单元、以及第二单元电机组和与所述第二单元电机组连接的第二控制单元,每个单元电机组中包括至少两个子单元电机,其中,所述方法包括:A control method for a multi-unit motor, which is applied to a motor system, and the motor system includes a first unit motor group and a first control unit connected to the first unit motor group, a second unit motor group and a first control unit connected to the first unit motor group The second control unit connected to the second unit motor group, each unit motor group includes at least two sub-unit motors, wherein the method includes:
    所述第一控制单元根据接收的总转矩指令,生成每个子单元电机的转矩指令;The first control unit generates a torque command for each subunit motor according to the received total torque command;
    所述第一控制单元根据所述每个子单元电机的转矩指令,生成所述每个子单元电机的控制指令;The first control unit generates a control instruction for each subunit motor according to the torque instruction for each subunit motor;
    所述第一控制单元根据所述每个子单元电机的控制指令对所述第一单元电机组中的每个子单元电机进行控制,并将所述每个子单元电机的控制指令发送至所述第二控制单元,以使所述第二控制单元根据所述每个子单元电机的控制指令对所述第二单元电机组中的每个子单元电机进行控制。The first control unit controls each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and sends the control instruction of each subunit motor to the second A control unit, so that the second control unit controls each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
  2. 根据权利要求1所述的方法,其中,所述第一控制单元根据接收的总转矩指令,生成每个子单元电机的转矩指令,包括:The method according to claim 1, wherein the first control unit generates a torque command for each subunit motor according to the received total torque command, comprising:
    所述第一控制单元根据所述接收的总转矩指令和所述子单元电机的数量,对所述总转矩指令进行均分,得到所述每个子单元电机的转矩指令。The first control unit divides the total torque command equally according to the received total torque command and the number of the sub-unit motors to obtain the torque command of each sub-unit motor.
  3. 根据权利要求1所述的方法,其中,所述控制指令包括电流幅值指令和电流相角指令,或者直轴电流指令和交轴电流指令。The method according to claim 1, wherein the control command includes a current amplitude command and a current phase angle command, or a direct-axis current command and a quadrature-axis current command.
  4. 根据权利要求1所述的方法,其中,所述控制指令包括直轴电压指令和交轴电压指令。The method according to claim 1, wherein the control command includes a direct-axis voltage command and a quadrature-axis voltage command.
  5. 根据权利要求1所述的方法,其中,所述控制指令包括脉冲宽度调制PWM控制信号。The method of claim 1, wherein the control command comprises a pulse width modulated (PWM) control signal.
  6. 一种多单元电机的控制装置,配置于第一控制单元,所述第一控制单元配置于电机系统,其中,所述电机系统中包括第一单元电机组和与所述第一单元电机组连接的第一控制单元、以及第二单元电机组和与所述第二单元电机组连接的第二控制单元,每个单元电机组中包括至少两个子单元电机,其中,所述装置包括:A control device for a multi-unit motor, which is configured in a first control unit, and the first control unit is configured in a motor system, wherein the motor system includes a first unit motor group and is connected to the first unit motor group The first control unit, the second unit motor group and the second control unit connected to the second unit motor group, each unit motor group includes at least two subunit motors, wherein the device includes:
    转矩指令生成模块,设置为根据接收的总转矩指令,生成每个子单元电机的转矩指令;The torque command generation module is configured to generate a torque command for each subunit motor according to the received total torque command;
    控制指令生成模块,设置为根据所述每个子单元电机的转矩指令,生成所述每个子单元电机的控制指令;A control instruction generation module configured to generate a control instruction for each subunit motor according to the torque instruction for each subunit motor;
    控制与发送模块,设置为根据所述每个子单元电机的控制指令对所述第一 单元电机组中的每个子单元电机进行控制,并将所述每个子单元电机的控制指令发送至所述第二控制单元,以使所述第二控制单元根据所述每个子单元电机的控制指令对所述第二单元电机组中的每个子单元电机进行控制。The control and sending module is configured to control each subunit motor in the first unit motor group according to the control instruction of each subunit motor, and send the control instruction of each subunit motor to the second A control unit, so that the second control unit controls each subunit motor in the second unit motor set according to the control instruction of each subunit motor.
  7. 根据权利要求6所述的装置,其中,所述控制指令包括电流幅值指令和电流相角指令,或者直轴电流指令和交轴电流指令。The device according to claim 6, wherein the control commands include current amplitude commands and current phase angle commands, or direct-axis current commands and quadrature-axis current commands.
  8. 根据权利要求6所述的装置,其中,所述控制指令包括直轴电压指令和交轴电压指令。The apparatus according to claim 6, wherein the control command includes a direct-axis voltage command and a quadrature-axis voltage command.
  9. 一种计算机可读介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1-5中任一项所述的多单元电机的控制方法。A computer-readable medium storing a computer program, wherein when the computer program is executed by a processor, the method for controlling a multi-unit motor according to any one of claims 1-5 is realized.
  10. 一种电子设备,包括存储器,处理器及存储在所述存储器上并可在所述处理器运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求1-5中任一项所述的多单元电机的控制方法。An electronic device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein, when the processor executes the computer program, any of claims 1-5 is implemented. A method for controlling a multi-unit motor.
PCT/CN2021/141669 2021-05-17 2021-12-27 Control method and apparatus for multi-unit motor, and medium and electronic device WO2022242177A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110536426.9 2021-05-17
CN202110536426.9A CN113179052A (en) 2021-05-17 2021-05-17 Multi-unit motor control method, device, medium, and electronic apparatus

Publications (1)

Publication Number Publication Date
WO2022242177A1 true WO2022242177A1 (en) 2022-11-24

Family

ID=76929323

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/141669 WO2022242177A1 (en) 2021-05-17 2021-12-27 Control method and apparatus for multi-unit motor, and medium and electronic device

Country Status (2)

Country Link
CN (1) CN113179052A (en)
WO (1) WO2022242177A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113179052A (en) * 2021-05-17 2021-07-27 中国第一汽车股份有限公司 Multi-unit motor control method, device, medium, and electronic apparatus
CN113824357A (en) * 2021-11-22 2021-12-21 之江实验室 Robot multi-motor driving system and control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104300844A (en) * 2014-11-06 2015-01-21 北京合康亿盛变频科技股份有限公司 Multi-motor synchronization control system
CN106655971A (en) * 2017-03-17 2017-05-10 安徽马钢自动化信息技术有限公司 Multi-transmission load balancing control system
CN108183635A (en) * 2017-12-29 2018-06-19 南京埃斯顿自动控制技术有限公司 A kind of hypotactic motor synchronous control method
CN110138283A (en) * 2019-06-27 2019-08-16 上海雷诺尔科技股份有限公司 Multi-inverter synchronisation control means, device and system
CN110285017A (en) * 2019-05-31 2019-09-27 许昌许继风电科技有限公司 A kind of control method and device of bi-motor pitch-controlled system
CN113179052A (en) * 2021-05-17 2021-07-27 中国第一汽车股份有限公司 Multi-unit motor control method, device, medium, and electronic apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201264413Y (en) * 2008-10-16 2009-07-01 西安德高印染自动化工程有限公司 Unit modularization shaftless control system for printer
JP7027808B2 (en) * 2016-11-11 2022-03-02 株式会社デンソー Rotating electric machine control device and electric power steering device using this
CN206541137U (en) * 2016-11-29 2017-10-03 中国航天空气动力技术研究院 Electromechanical Actuator Controller
CN108621862B (en) * 2017-03-15 2020-11-17 华为技术有限公司 Electric drive control system, electric vehicle and electric drive control method
CN110032165B (en) * 2019-01-17 2020-10-30 上海大学 Intelligent measurement and control system for multi-disk axial flux permanent magnet synchronous motor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104300844A (en) * 2014-11-06 2015-01-21 北京合康亿盛变频科技股份有限公司 Multi-motor synchronization control system
CN106655971A (en) * 2017-03-17 2017-05-10 安徽马钢自动化信息技术有限公司 Multi-transmission load balancing control system
CN108183635A (en) * 2017-12-29 2018-06-19 南京埃斯顿自动控制技术有限公司 A kind of hypotactic motor synchronous control method
CN110285017A (en) * 2019-05-31 2019-09-27 许昌许继风电科技有限公司 A kind of control method and device of bi-motor pitch-controlled system
CN110138283A (en) * 2019-06-27 2019-08-16 上海雷诺尔科技股份有限公司 Multi-inverter synchronisation control means, device and system
CN113179052A (en) * 2021-05-17 2021-07-27 中国第一汽车股份有限公司 Multi-unit motor control method, device, medium, and electronic apparatus

Also Published As

Publication number Publication date
CN113179052A (en) 2021-07-27

Similar Documents

Publication Publication Date Title
WO2022242177A1 (en) Control method and apparatus for multi-unit motor, and medium and electronic device
JP7031180B2 (en) AC motor control device
JP5644854B2 (en) Motor control device and control method
EP3020128A1 (en) Motor control system of electric vehicle and controlling method for motor control system of electric vehicle and electric vehicle
US11581831B2 (en) Method for braking permanent magnet synchronous motor and related device
CN103812422A (en) Control system for AC electric motor
CN108621862B (en) Electric drive control system, electric vehicle and electric drive control method
CN105059136A (en) Processing method and device for vehicle control data and controller
WO2021204118A1 (en) Driving electric motor control system and method for ensuring safety thereof
WO2022213674A1 (en) Dual-motor control system and method
WO2021249556A1 (en) Method and apparatus for controlling interference torque, controller, device, program, and medium
US9929688B2 (en) Electric machine torque capability determination
CN109532815A (en) Torque distribution method and storage medium for multiple motors
EP4354726A1 (en) Linear brake control method and apparatus applied to competition-level remote-controlled model vehicle
CN107303827B (en) Method and system for controlling a converter of a vehicle
US11482954B2 (en) System and method for generating heating AC current
JP2009201250A (en) Controller of electric motor
US20170225589A1 (en) Software-defined vehicular powertrain and method of operation
JP2019170019A (en) Motor drive device
KR20160122443A (en) Apparatus for controlling pwm signal of inverter and method thereof
WO2023240959A1 (en) Dual-battery driving method and apparatus for vehicle steering system, vehicle, and storage medium
CN204696971U (en) A kind of motor vector control system of Single-Chip Integration
CN114559929A (en) Vehicle control method and device based on external intervention torque
JP2000037100A (en) Voltage vector overmodulation method taking account of counter electromotive force of motor
JP2580940Y2 (en) Dynamometer control panel for shiyashi dynamometer

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21940619

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21940619

Country of ref document: EP

Kind code of ref document: A1