Position-free dual-motor controller and control method thereof

文档序号:1616713 发布日期:2020-01-10 浏览:19次 中文

阅读说明:本技术 一种无位置双电机控制器及其控制方法 (Position-free dual-motor controller and control method thereof ) 是由 周伟波 汤朝政 于 2019-10-21 设计创作,主要内容包括:本发明涉及电机控制领域,具体涉及一种无位置双电机控制器及其控制方法。本发明提供的无位置控制器用一个MCU同时控制两个电机,节省了制造成本。同时其利用计时器触发方式获取电机电流数据,仅需使用二分之一个PWM周期进行数据采样,使用二分之一个PWM周期进行计算,实现在当前周期计算获得FOC数据,在下一个周期更新应用FOC数据,对电机控制精确度更高。(The invention relates to the field of motor control, in particular to a position-free dual-motor controller and a control method thereof. The position-free controller provided by the invention uses one MCU to simultaneously control two motors, thereby saving the manufacturing cost. Meanwhile, the motor current data is acquired by a timer triggering mode, only one half PWM period is needed for data sampling, and one half PWM period is used for calculation, so that the FOC data is calculated and acquired in the current period, the FOC data is updated and applied in the next period, and the motor control accuracy is higher.)

1. A position-free dual-motor controller is characterized by comprising,

the input end of the switching power supply is connected with the low-voltage storage battery and receives power supply, and the switching power supply further comprises a first low-voltage output end, a first high-voltage output end and a second high-voltage output end;

the first low-voltage output end is connected with the isolated CAN transceiver and used for supplying power to the isolated CAN transceiver; the first high-voltage output end is connected with the driving circuit and supplies power to the driving circuit;

the second high-voltage output end is connected with the MCU through a voltage stabilizing circuit; the input end of the MCU is connected with the isolated CAN transceiver;

and the MCU is respectively connected with the first drive IC and the second drive IC through 6 paths of PWM output and is respectively used for controlling the first motor and the second motor.

2. The controller of claim 1, wherein the voltage regulator circuit is a low dropout linear regulator, DCDC, or a system on a chip.

3. The controller of claim 1, wherein the MCU is connected to an ADC voltage acquisition circuit for acquiring bus voltage.

4. The controller of claim 3, wherein the ADC voltage acquisition circuit is a single resistor sampling circuit.

5. A method of controlling a position-less dual motor by using a controller according to any of claims 1-4, comprising the steps of:

step 1, acquiring current data and voltage data of a first motor bus in a half PWM period in a timer triggering mode;

step 2, in the next half PWM period, combining the acquired current and voltage data of the first motor, and carrying out FOC calculation on the first motor to obtain the output duty ratio of the first motor and the sampling time point of the next period; meanwhile, acquiring current and voltage data of the two motors in a timer triggering mode;

step 3, in the next half PWM period, combining the acquired current and voltage data of the second motor, and carrying out FOC calculation on the second motor to obtain the output duty ratio of the second motor and the sampling time point of the next period; meanwhile, current and voltage data of a motor are acquired in a timer triggering mode;

and 4, repeatedly executing the step 2 and the step 3.

6. The method as claimed in claim 5, wherein the first motor and the second motor are respectively provided with a single sampling resistor on the bus, and the current data of the corresponding motor is calculated by collecting the voltage at two ends of the single sampling resistor and combining the resistance value of the single sampling resistor.

Technical Field

The invention relates to the field of motor control, in particular to a position-free dual-motor controller and a control method thereof

Background

With the improvement of living standard, the conservation quantity of domestic automobiles in China rises year by year, but the quantity of automobiles rises, a series of crises such as pollution and energy consumption are caused by excessive emission of tail gas of traditional fuel automobiles and excessive use of non-renewable energy, the environmental problems facing China in the great automobile country are more serious, and development of new energy automobiles becomes imperative, so that various technologies applied to the new energy automobiles are brought forward, wherein a steering power-assisted oil pump and a braking air pump on the new energy automobiles are important components of the new energy automobiles, and the operation of the new energy automobiles needs a power source, and usually electricity is obtained from a high-voltage storage battery and converted into mechanical energy through a motor to drive the pumps to work. However, in the conventional current reconstruction in motor control, a complete PWM control period is used for current data sampling, the FOC is calculated in the second PWM period, and the calculated data is valid in the third PWM period. That is, the resistance voltage data obtained in the current period can only play a role after two PWM periods, so that the motor control accuracy is affected. In addition, the conventional dual-motor control circuit usually needs two MCUs to control one motor respectively, which results in high cost of the control circuit.

Disclosure of Invention

To solve the above problems. The invention provides a double-motor controller circuit for simultaneously controlling two motors of a new energy automobile by using only one MCU.

A position-free dual-motor controller comprises,

the Power Supply comprises a Switching Power Supply (SMPS Switching Mode Power Supply), an input end of the Switching Power Supply is connected with a low-voltage storage battery and receives Power Supply, and the Power Supply further comprises a first low-voltage output end, a first high-voltage output end and a second high-voltage output end;

the first low-voltage output end is connected with the isolated CAN transceiver and used for supplying power to the isolated CAN transceiver; the first high-voltage output end is connected with the driving circuit and supplies power to the driving circuit;

the second high-voltage output end is connected with the MCU through a voltage stabilizing circuit; the input end of the MCU is connected with the isolated CAN transceiver;

and the MCU is respectively connected with the first drive IC and the second drive IC through 6 paths of PWM output and is respectively used for controlling the first motor and the second motor.

Further, the voltage stabilizing circuit is a low dropout regulator (LDO) low dropout voltage regulator, a switching power supply (DCDC), or a System Base Chip (SBC).

Furthermore, the MCU is connected with an ADC voltage acquisition circuit and used for acquiring the bus voltage of the motor.

Further, the ADC voltage acquisition circuit is a single-resistor sampling circuit.

The invention also provides a method for controlling the double motors without positions by applying the controller, which comprises the following steps:

step 1, acquiring current and voltage data of a motor in a way of triggering a timer in a half PWM period; the specific acquisition mode is that the voltage at two ends of a single sampling resistor arranged on a motor bus is acquired, and the current of the motor bus is calculated according to the resistance value of the single sampling resistor.

Step 2, in the next half PWM period, combining the acquired current and voltage data of the first motor, and carrying out FOC calculation on the first motor to obtain the output duty ratio of the first motor and the sampling time point of the next period; meanwhile, acquiring current and voltage data of the two motors in a timer triggering mode;

step 3, in the next half PWM period, combining the acquired current and voltage data of the second motor, and carrying out FOC calculation on the second motor to obtain the output duty ratio of the second motor and the sampling time point of the next period; meanwhile, current and voltage data of a motor are acquired in a timer triggering mode;

and 4, repeatedly executing the step 2 and the step 3.

Furthermore, a single sampling resistor is arranged on a bus of the first motor and a bus of the second motor, and current data of the corresponding motor are calculated by collecting voltages at two ends of the single sampling resistor and combining resistance values of the single sampling resistor.

The invention has the beneficial effects that: the position-free controller provided by the invention uses one MCU to simultaneously control two motors, thereby saving the manufacturing cost. Meanwhile, the motor current data is acquired by a timer triggering mode, only one half PWM period is needed for data sampling, and one half PWM period is used for calculation, so that the FOC data is calculated and acquired in the current period, the FOC data is updated and applied in the next period, and the motor control accuracy is higher.

Description of the drawings:

fig. 1 is a circuit diagram of a position-less dual-motor controller provided by the present invention.

Fig. 2 is an IGBT three-phase bridge circuit in the invention.

FIG. 3 is a schematic diagram of an embodiment of the FOC calculation timing sequence in the present invention.

Detailed Description

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:马达控制装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!