Motor built-in controller driving software upgrading compatible circuit and motor equipment

文档序号:424151 发布日期:2021-12-21 浏览:6次 中文

阅读说明:本技术 电机内置控制器驱动软件升级兼容电路及电机设备 (Motor built-in controller driving software upgrading compatible circuit and motor equipment ) 是由 林立雄 陈兰兰 王颜章 漆凌君 曹姣容 王琰 于 2021-09-02 设计创作,主要内容包括:本申请涉及一种电机内置控制器驱动软件升级兼容电路及电机设备,电机内置控制器驱动软件升级兼容电路包括第一连接元件、第二连接元件、第一接点、第二接点、第三接点和第四接点。当电机内置控制器未封装,第一连接元件与第二连接元件未接在对应接点时,可直接通过电机内置控制器的VSP引脚和FG引脚对电机内置控制器的驱动软件进行功能升级和仿真调试。在电机内置控制器封装前将第一连接元件与第二连接元件接在对应接点,当电机内置控制器封装后可通过VSP调速电路和FG反馈电路对电机内置控制器的驱动软件进行更新和优化,实现电机内置控制器的引脚复用,无需拆开电机,提高了电机内置控制器驱动软件的升级便利性。(The application relates to a compatible circuit for upgrading drive software of a built-in motor controller and motor equipment. When the motor built-in controller is not packaged, and the first connecting element and the second connecting element are not connected with the corresponding connection points, the function upgrading and the simulation debugging can be directly carried out on the driving software of the motor built-in controller through the VSP pin and the FG pin of the motor built-in controller. The first connecting element and the second connecting element are connected to corresponding contacts before the motor built-in controller is packaged, and after the motor built-in controller is packaged, the driving software of the motor built-in controller can be updated and optimized through the VSP speed regulating circuit and the FG feedback circuit, so that the pin multiplexing of the motor built-in controller is realized, the motor does not need to be disassembled, and the upgrading convenience of the driving software of the motor built-in controller is improved.)

1. A motor built-in controller driving software upgrading compatible circuit is characterized by comprising a first connecting element, a second connecting element, a first connecting point, a second connecting point, a third connecting point and a fourth connecting point, wherein the first connecting point is connected with a VSP speed regulating circuit, the second connecting point is connected with a VSP pin of a motor built-in controller, the third connecting point is connected with an FG feedback circuit, and the fourth connecting point is connected with an FG pin of the motor built-in controller; the first connecting element is used for connecting the first contact and the second contact, and the second connecting element is used for connecting the third contact and the fourth contact.

2. The motor internal controller driving software upgrade compatible circuit according to claim 1, wherein the first connection element is a 0 ohm resistor.

3. The motor internal controller driver software upgrade compatible circuit according to claim 1, wherein the second connection element is a 0 ohm resistor.

4. The motor built-in controller driver software upgrade compatible circuit according to claim 1, further comprising a VSP throttle circuit connected to the first contact.

5. The controller-driver-software-upgrade compatible circuit for an electric machine according to claim 1, further comprising an FG feedback circuit connected to the third contact.

6. An electric motor apparatus comprising an electric motor, an in-motor controller, and the in-motor controller driver software upgrade compatible circuit according to any one of claims 1 to 5, the in-motor controller connecting the electric motor and the in-motor controller driver software upgrade compatible circuit.

7. The electromechanical machine of claim 6, wherein the electric machine is a DC brushless motor.

8. The electromechanical machine of claim 7, wherein the in-motor controller is a non-inductive vector, DC, brushless in-motor controller.

9. The motor apparatus according to claim 8, wherein a VSP pin and an FG pin of the sensorless vector DC brushless motor built-in controller are connected to the second contact and the fourth contact, respectively, a VCC pin of the sensorless vector DC brushless motor built-in controller is connected to a power supply line, and a GND pin of the sensorless vector DC brushless motor built-in controller is connected to a ground line.

10. The electromechanical machine of claim 6, further comprising a motor software upgrade tool connecting the VSP speed regulation circuit and the FG feedback circuit.

Technical Field

The application relates to the technical field of motor driving, in particular to a compatible circuit for upgrading drive software of a built-in motor controller and motor equipment.

Background

The non-inductive vector direct current brushless motor is a motor without a position detection circuit, the position of a motor rotor is estimated through a software algorithm, and a built-in motor controller estimates the position of the motor rotor through U, V, W three-phase current sampling of the motor and an algorithm. A control chip of the motor acquires the position information of a rotor of the motor, and drives the motor to rotate through a software algorithm and various current and voltage conversion, and the motor driving mode needs a software driving program.

The traditional motor driving software upgrading method is used for researchers to upgrade driving software and debug the driving software through two motor driving software upgrading interfaces reserved on a main control chip. If the motor is abnormal or the motor steering needs to be changed, a researcher cannot directly upgrade the driving software of the motor, and can only disassemble the end cover of the motor and upgrade the driving software of the built-in controller of the motor, which is very inconvenient.

Disclosure of Invention

Therefore, it is necessary to provide a compatible circuit for upgrading drive software of a controller built in a motor and a motor device, which can effectively achieve the effect of improving the convenience of upgrading the drive software of the controller built in the motor, aiming at the problem that the traditional method for upgrading the drive software of the motor is inconvenient.

A driver software upgrading compatible circuit of a motor built-in controller comprises a first connecting element, a second connecting element, a first connecting point, a second connecting point, a third connecting point and a fourth connecting point, wherein the first connecting point is connected with a VSP speed regulating circuit, the second connecting point is connected with a VSP pin of the motor built-in controller, the third connecting point is connected with an FG feedback circuit, and the fourth connecting point is connected with an FG pin of the motor built-in controller; the first connecting element is used for connecting the first contact and the second contact, and the second connecting element is used for connecting the third contact and the fourth contact.

In one embodiment, the first connection element is a 0 ohm resistor.

In one embodiment, the second connection element is a 0 ohm resistor.

In one embodiment, the motor built-in controller driver software upgrade compatible circuit further comprises a VSP speed regulation circuit connected to the first contact.

In one embodiment, the motor built-in controller driving software upgrade compatible circuit further comprises an FG feedback circuit connected to the third contact.

The motor equipment comprises a motor, a built-in motor controller and the upgrade compatible circuit of the drive software of the built-in motor controller, wherein the built-in motor controller is connected with the motor and the upgrade compatible circuit of the drive software of the built-in motor controller.

In one embodiment, the motor is a brushless dc motor.

In one embodiment, the built-in motor controller is a non-inductive vector direct current brushless motor built-in controller.

In one embodiment, the VSP pin and the FG pin of the built-in controller of the non-inductive vector dc brushless motor are respectively connected to the second contact and the fourth contact, the VCC pin of the built-in controller of the non-inductive vector dc brushless motor is connected to the power supply line, and the GND pin of the built-in controller of the non-inductive vector dc brushless motor is connected to the ground line.

In one embodiment, the motor apparatus further comprises a motor software upgrade tool connected to the VSP speed regulation circuit and the FG feedback circuit.

According to the upgrade compatible circuit for the drive software of the motor built-in controller and the motor device, when the motor built-in controller is not packaged, and the first connecting element and the second connecting element are not connected with the corresponding connecting points, the function upgrade and the simulation debugging can be directly performed on the drive software of the motor built-in controller through the VSP pin and the FG pin of the motor built-in controller. The first connecting element and the second connecting element are connected to corresponding contacts before the motor built-in controller is packaged, and after the motor built-in controller is packaged, the driving software of the motor built-in controller can be updated and optimized through the VSP speed regulating circuit and the FG feedback circuit, so that the pin multiplexing of the motor built-in controller is realized, the motor does not need to be disassembled, and the upgrading convenience of the driving software of the motor built-in controller is improved.

Drawings

FIG. 1 is a block diagram of an embodiment of a compatible circuit for upgrading a driver software of a controller built in a motor;

FIG. 2 is a pin diagram of an exemplary motor controller;

FIG. 3 is a schematic diagram of an embodiment of on-line simulation and upgrade of controller driver software built in a motor;

fig. 4 is a schematic flow chart of online simulation and upgrade of the driving software of the motor built-in controller in an embodiment.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or be connected to the other element through intervening elements. The "connection" in the following embodiments is understood as "electrical connection", "communication connection", or the like if the connected circuits, modules, units, or the like have electrical signals or data transmission therebetween.

As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Also, the terminology used in this specification includes any and all combinations of the associated listed items.

In one embodiment, a driver software upgrade compatible circuit for a built-in motor controller is provided, which is suitable for driver software upgrade of a built-in sensorless vector DC brushless motor controller. The circuit comprises a first connecting element, a second connecting element, a first connecting point, a second connecting point, a third connecting point and a fourth connecting point, wherein the first connecting point is connected with a VSP speed regulating circuit, the second connecting point is connected with a VSP (speed control port) pin of a built-in motor controller, the third connecting point is connected with an FG feedback circuit, and the fourth connecting point is connected with an FG (feedback output port) pin of the built-in motor controller; the first connecting element is used for connecting the first contact and the second contact, and the second connecting element is used for connecting the third contact and the fourth contact.

Specifically, the specific type of the first connection element and the second connection element is not exclusive, and a resistor or a jumper cap or the like may be used. As shown in fig. 1, in one embodiment, the first connection element is a 0 ohm resistor. Further, the second connection element also adopts a resistance of 0 ohm. The VSP speed regulation circuit and the FG feedback circuit can be independent circuits or integrated on the same circuit board and are respectively connected with one end of the corresponding 0 ohm resistor through the VSP circuit interface and the FG circuit interface. A VSP pin and an FG pin of a built-in controller of the motor are used as upgrade interfaces of driving software and are respectively connected with the other end corresponding to the 0 ohm resistor. As shown in fig. 2, the motor may be a dc brushless motor. Correspondingly, the built-in motor controller may be a non-inductive vector dc brushless motor built-in controller. VSP pin and FG pin of the built-in controller of the non-inductive vector direct current brushless motor are respectively connected with the second contact and the fourth contact, VCC pin of the built-in controller of the non-inductive vector direct current brushless motor is connected with the power line, and GND pin of the built-in controller of the non-inductive vector direct current brushless motor is connected with the ground wire.

In one embodiment, the motor built-in controller driver software upgrade compatible circuit further comprises a VSP throttle circuit coupled to the first contact. Further, in one embodiment, the motor built-in controller driving software upgrade compatible circuit further comprises an FG feedback circuit connected to the third contact. The VSP speed regulation circuit and the FG feedback circuit are not unique in structure, and the existing circuit of the direct current brushless motor can be adopted. The first contact, the second contact, the third contact and the fourth contact may be specifically welding points provided on a circuit board, and used for welding and fixing a 0 ohm resistor. When the two 0 ohm resistors are not welded, the first contact and the second contact are disconnected, and the third contact and the fourth contact are disconnected. After two 0-ohm resistors are welded, the VSP speed regulation circuit is connected with a VSP pin of a built-in motor controller through one 0-ohm resistor, and the FG feedback circuit is connected with an FG pin of the built-in motor controller through the other 0-ohm resistor.

By adopting the circuit design, the built-in controller of the motor can be installed in the motor and then drive software of the controller can be upgraded. The two 0 ohm resistors are removed, the drive software upgrading function and the online simulation function can be normally used, after the performance of the motor is optimized and debugged, the two 0 ohm resistors are welded back, the VSP speed regulating circuit and the FG feedback circuit can be normally used by the motor, and when the motor needs to be optimized and upgraded, the drive software upgrading circuit can be compatibly used. Through the circuit compatible with the drive software upgrading, the motor can be debugged without disassembling the motor, the drive software is analyzed and upgraded according to the abnormal condition of the load, the performance of the motor cannot be influenced, the field debugging is convenient, and the debugging efficiency is improved.

According to the upgrade compatible circuit for the drive software of the motor built-in controller and the motor device, when the motor built-in controller is not packaged, and the first connecting element and the second connecting element are not connected with the corresponding connecting points, the function upgrade and the simulation debugging can be directly performed on the drive software of the motor built-in controller through the VSP pin and the FG pin of the motor built-in controller. The first connecting element and the second connecting element are connected to corresponding contacts before the motor built-in controller is packaged, and after the motor built-in controller is packaged, the driving software of the motor built-in controller can be updated and optimized through the VSP speed regulating circuit and the FG feedback circuit, so that the pin multiplexing of the motor built-in controller is realized, the motor does not need to be disassembled, and the upgrading convenience of the driving software of the motor built-in controller is improved.

In one embodiment, the motor device comprises a motor, a built-in motor controller and the built-in motor controller driving software upgrade compatible circuit, wherein the built-in motor controller is connected with the motor and the built-in motor controller driving software upgrade compatible circuit. The motor and the controller can be packaged in the same shell, and the built-in design of the controller is achieved. The motor may be a dc brushless motor. Correspondingly, the built-in motor controller may be a non-inductive vector dc brushless motor built-in controller.

The specific type of first and second connecting elements is not exclusive and, as shown in fig. 1, in one embodiment the first connecting element is a 0 ohm resistor. Further, the second connection element also adopts a resistance of 0 ohm. The VSP speed regulation circuit and the FG feedback circuit can be independent circuits or integrated on the same circuit board and are respectively connected with one end of the corresponding 0 ohm resistor through the VSP circuit interface and the FG circuit interface. A VSP pin and an FG pin of a built-in controller of the motor are used as upgrade interfaces of driving software and are respectively connected with the other end corresponding to the 0 ohm resistor.

In one embodiment, the motor built-in controller driver software upgrade compatible circuit further comprises a VSP throttle circuit coupled to the first contact. Further, the motor built-in controller driving software upgrading compatible circuit further comprises an FG feedback circuit connected with the third contact. The first contact, the second contact, the third contact and the fourth contact may be specifically welding points provided on a circuit board, and used for welding and fixing a 0 ohm resistor. When the two 0 ohm resistors are not welded, the first contact and the second contact are disconnected, and the third contact and the fourth contact are disconnected. After two 0-ohm resistors are welded, the VSP speed regulation circuit is connected with a VSP pin of a built-in motor controller through one 0-ohm resistor, and the FG feedback circuit is connected with an FG pin of the built-in motor controller through the other 0-ohm resistor.

By adopting the circuit design, the built-in controller of the motor can be installed in the motor and then drive software of the controller can be upgraded. The two 0 ohm resistors are removed, the drive software upgrading function and the online simulation function can be normally used, after the performance of the motor is optimized and debugged, the two 0 ohm resistors are welded back, the VSP speed regulating circuit and the FG feedback circuit can be normally used by the motor, and when the motor needs to be optimized and upgraded, the drive software upgrading circuit can be compatibly used. Through the circuit compatible with the drive software upgrading, the motor can be debugged without disassembling the motor, the drive software is analyzed and upgraded according to the abnormal condition of the load, the performance of the motor cannot be influenced, the field debugging is convenient, and the debugging efficiency is improved.

In one embodiment, a VSP pin and an FG pin of the built-in controller of the non-inductive vector direct current brushless motor are respectively connected with the second contact and the fourth contact, a VCC pin of the built-in controller of the non-inductive vector direct current brushless motor is connected with a power supply line, and a GND pin of the built-in controller of the non-inductive vector direct current brushless motor is connected with a ground line.

In one embodiment, the motor apparatus further comprises a motor software upgrade tool coupled to the VSP throttle circuit and the FG feedback circuit. The motor software upgrading tool can adopt a motor drive controller or a motor control panel, and update and optimize the drive software of the motor built-in controller through an application program. Further, when the built-in motor controller is a non-inductive vector brushless direct current motor built-in controller, the motor software upgrading tool is correspondingly a non-inductive vector brushless motor driving software upgrading tool.

In addition, when the built-in controller of the direct current brushless motor needs to use an online simulation function in a development stage, the motor software upgrading tool can be directly connected with a VSP pin and an FG pin of the built-in controller of the direct current brushless motor, the two 0-ohm resistors do not need to be welded at the moment, and the motor software upgrading tool can normally use an online debugging function. After the controller is debugged, the two 0-ohm resistors are welded back, and a motor control researcher can optimize and upgrade driving software of the direct current brushless motor through the VSP speed regulating circuit and the FG feedback circuit.

In order to better understand the upgrade compatible circuit for the driver software of the embedded motor controller and the motor device, the following detailed explanation is made with reference to specific embodiments.

As described in the background art, the existing method for upgrading driving software of a dc brushless motor generally uses two interfaces for upgrading and debugging driving software of a researcher through two reserved driving software interfaces of a main control chip. The drive software upgrading mode is only used in the development stage of the drive software of the direct current brushless motor controller, and once the drive controller is installed in the motor, the drive software of the motor cannot be upgraded. If the motor is abnormal or the motor steering needs to be changed, a researcher cannot directly upgrade the driving software of the motor, and only can upgrade the driving software of the built-in motor controller by detaching the end cover of the motor. The motor researcher needs to match the load to debug the motor, and once the motor driving software is upgraded by disassembling and assembling the motor, the performance of the motor can not be ensured, and the load is disassembled and assembled for many times, so that the working efficiency of the researcher and the rapidity of solving the problem are greatly reduced. Therefore, a method for upgrading the driving software of the motor without assembling and disassembling the motor is needed.

The conventional direct current brushless motor driving software upgrading circuit is characterized in that a driving software upgrading interface is directly led out from a control chip to upgrade the motor controller software, then two pins are additionally arranged on a VSP voltage speed regulating circuit and an FG rotating speed feedback circuit to realize the functions of the driving software upgrading circuit, the conventional design occupies pin resources of the chip, and the number of pins required by the chip is large. According to the motor five-wire power line interface, two wires in the motor five-wire power line, the Vsp wire and the FG wire serve as interfaces compatible with driver software upgrading, and the Vsp wire and the FG wire are connected with driver software upgrading pins of a main control chip (namely a motor built-in controller) through 0 ohm resistors respectively. The circuit design can lead the built-in controller of the motor to be installed in the motor and then can upgrade the driving software of the controller. Two 0 ohm resistors are removed, and a driving software upgrading function and an online simulation function can be normally used. After the performance of the motor is optimized and debugged, the two 0-ohm resistors are welded back, the VSP speed regulating circuit and the FG feedback circuit can be normally used by the motor, and when the motor needs to be optimized and upgraded, the driving software upgrading circuit can be compatibly used. The compatible drive software upgrading circuit can debug the motor without disassembling the motor, analyze and upgrade the drive software according to the abnormal condition of the load, can not influence the performance of the motor, is convenient for field debugging and improves the debugging efficiency.

As shown in fig. 1, the two pins of the main control chip of the motor controller for upgrading the driving software of the dc brushless motor controller are respectively connected to the VSP speed adjusting circuit and the FG feedback circuit through two 0-ohm resistors, and the built-in controller of the motor still has five external connection lines: VDC, GND, VCC, VSP and FG, as shown in FIG. 2. When the direct current brushless motor controller needs to use an online simulation function in a development stage, the two 0-ohm resistors do not need to be welded, and the motor control board can normally use an online debugging function. After the controller is debugged, the two 0-ohm resistors on the controller are welded back, and a motor control researcher can optimize and upgrade the driving software of the direct current brushless motor through the VSP speed regulating circuit and the FG feedback circuit, as shown in FIG. 3, without repeatedly disassembling and assembling the motor for debugging and upgrading.

Fig. 4 is a schematic flow chart of online simulation and upgrade of driving software of the motor built-in controller, which can detect whether a 0 ohm resistor is welded through the motor driving controller, and if the 0 ohm resistor is not welded, the online simulation function of the driving software of the motor built-in controller can be directly performed through a program download interface, or the driving software upgrade function of the driving software of the motor built-in controller can be directly performed through the program download interface; after 0 ohm resistance welding, performing a driving software upgrading function on driving software of a built-in motor controller through VSP and FG interfaces of the motor; therefore, the updating and upgrading of the driving software of the built-in controller of the motor are completed, and the motor is optimized and debugged.

Specifically, the drive software upgrading circuit compatible with VSP speed regulation and FG feedback of the sensorless vector direct current brushless motor is used for upgrading drive software of a built-in controller of the motor through a VSP speed regulation circuit and an FG feedback circuit led out by a researcher, and two pins of a main control chip for upgrading the drive software are respectively connected to the VSP speed regulation circuit and the FG feedback circuit through two 0-ohm resistors. When the controller is matched with a motor in a development stage, the two 0-ohm resistors can not be welded, the drive software upgrading function and the online simulation debugging function of the main control chip are normally used, after the no-load performance of the motor is optimized through online matching debugging, the two 0-ohm resistors are welded, then the controller is installed in the motor, and the VSP speed regulating circuit and the FG feedback circuit led out from the motor are used for updating and optimizing debugging the drive software of the built-in controller of the motor.

Wherein the function of the two 0 ohm resistors is: when the two 0-ohm resistors are not welded, a researcher can normally use the drive software upgrading function and the online simulation debugging function of the main control chip; when the two 0 ohm resistors are welded, a researcher can update and upgrade the driving software of the built-in controller of the motor through the VSP speed regulating circuit and the FG feedback circuit led out from the motor. In the research and development stage before leaving the factory, the motor is not assembled, and 0 ohm resistor is not welded at the moment, and software upgrading and online simulation debugging are directly carried out through five wires of the controller; after two 0 ohm resistors are welded and motor assembly is completed, the driving software of a built-in controller of the motor is updated and upgraded by utilizing the extracted VSP speed regulating circuit and the FG feedback circuit.

It should be noted that, in the prior art, the VSP pin and the FG pin are separately connected to the chip, two data pins required for programming are also configured additionally, and the software upgrading circuit multiplexes the two data pins required for programming into the VSP and FG, where the external VSP and FG need to be connected to the chip. The two 0 ohm resistors are connected, are similar to jumper caps, are welded when being connected with the outside and are not required to be disconnected, and the control board does not have much space for arranging the jumper caps, so that the space is saved by selectively utilizing the two 0 ohm resistors. When the driving software of the controller needs to be updated and optimized, the software upgrading tool is connected with the VSP speed regulating circuit and the FG feedback circuit, so that the driving software of the motor built-in controller is updated and optimized and debugged through the VSP speed regulating circuit and the FG feedback circuit, and the motor can update and debug the driving software without disassembling a rear end cover.

According to the drive software upgrading circuit compatible with VSP speed regulation and FG feedback of the non-inductive vector brushless DC motor, two 0-ohm resistors are removed, the drive software upgrading function and the online simulation function can be normally used, after the performance of the motor is optimized and debugged, the two 0-ohm resistors are welded back, the VSP speed regulation circuit and the FG feedback circuit can be normally used by the motor, and when the motor needs to be optimized and upgraded, the drive software upgrading circuit can be compatibly used. Through the design, the upgrading circuit of the direct current brushless motor driving software in the development stage can be reserved, the online simulation circuit of the direct current brushless motor driving software in the development stage can be reserved, the motor can be upgraded under the condition that the motor is not disassembled, two pin resources of a motor main control chip can be saved, and manpower and material resources for processing when the motor is abnormal can be saved.

The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电机检测方法、装置、系统及工业机器人系统

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!