Motor drive control method applied to multi-interface motor control box

文档序号:1115818 发布日期:2020-09-29 浏览:9次 中文

阅读说明:本技术 一种应用于多接口电机控制盒的电机驱动控制方法 (Motor drive control method applied to multi-interface motor control box ) 是由 项乐宏 刘树 殷立晋 于 2020-07-24 设计创作,主要内容包括:本发明所公开的一种应用于电机控制盒的电机驱动控制方法,其特征在于,具体控制步骤如下:S1、利用控制器对电机控制盒上的接口处进行检测并读取电平信号;S2、利用所检测得到的电平信号来判断接口是否接有电机;S3、对判定当前接口未接有电机的接口进行供电,以检测其电流值是否超出设定电流阈值来判定当前未接有电机的接口是否接有电机;S4、确定接有电机,并对接口接入的电机进行驱动运行。解决了目前多接口控制盒在有接口中缺失电机接入的情况下控制盒无法进行正常工作的技术问题,以进一步实现一控制盒多用途的性能。(The invention discloses a motor drive control method applied to a motor control box, which is characterized by comprising the following specific control steps: s1, detecting an interface on the motor control box by using the controller and reading a level signal; s2, judging whether the interface is connected with a motor or not by using the detected level signal; s3, supplying power to the interface which judges that the current interface is not connected with the motor, and judging whether the interface which is not connected with the motor is connected with the motor by detecting whether the current value exceeds a set current threshold value; and S4, determining that the motor is connected, and driving the motor connected with the interface to run. The technical problem that the control box cannot normally work under the condition that the existing multi-interface control box lacks the motor access in an interface is solved, and the multi-purpose performance of the control box is further realized.)

1. A motor drive control method applied to a multi-motor interface motor control box is characterized by comprising the following specific control steps:

s1, the controller detects the level of two Hall signal ends in each motor interface in a plurality of motor interfaces on the motor control box;

s2, if the level of two Hall signal ends of a certain motor interface is detected to be a high level and a low level, the judgment result is that the interface is connected with a motor;

if the level of the two Hall signal ends is detected to be two low levels, the judgment result is that the interface is connected with the motor;

if the level of the two Hall signal ends is detected to be two low levels, the judgment result is that whether the interface is connected with the motor is uncertain, and the next step is carried out;

s3, supplying power to a motor power supply end of an interface of the motor, detecting and judging whether a current value exceeds a set current threshold range after supplying power, if so, judging that the interface is not connected with the motor, and if not, judging that the interface is connected with the motor, wherein the current threshold range is a current value range when the motor runs, and the current threshold range is a set value;

and S4, after all the interfaces on the motor control box are detected, determining whether all the interfaces on the motor control box are connected with the motor.

2. The motor driving control method applied to the multi-interface motor control box according to claim 1, further comprising the steps of: and S5, sending the motor access number and position information of the interface on the motor control box to the controller, and operating a motor driving program by the controller according to the information to enable the motor accessed to the interface to work.

3. The motor drive control method applied to the multi-interface motor control box according to claim 1, wherein the step S3 is replaced with: the method comprises the steps of detecting a current value under the condition that power is supplied to an interface which is not determined to be connected with a motor, carrying out delayed power supply after a current threshold range is set by a setter according to a detected current value motor control parameter, continuously detecting a current value of the interface which is not determined to be connected with the motor by a current acquisition system in the delayed power supply process to judge whether the current value detected by the delayed power supply exceeds the current threshold value, if so, judging that the interface is not connected with the motor, if not, judging that the interface is connected with the motor, wherein the current threshold range is the current value range when the motor runs, and the current threshold range is a set value.

4. The motor driving control method applied to the multi-interface motor control box according to claim 1, 2 or 3, wherein the current threshold range is set to a minimum value only, and if the detected current value is greater than the set minimum value, it is determined that the motor is connected to the interface of the motor control box;

and if the detected current value is smaller than the set lowest value, determining that the motor is not connected to the interface on the motor control box.

5. The motor drive control method applied to the multi-interface motor control box according to claim 4, wherein the step S1 is replaced with: and the controller is used for respectively and sequentially detecting the levels of the two Hall signal ends in the plurality of interfaces on the motor control box one by one.

6. The motor drive control method applied to the multi-interface motor control box according to claim 4, wherein the step S1 is replaced with: the controller is used for simultaneously detecting the levels of two Hall signal ends in a plurality of interfaces on the motor control box, and the two Hall signal ends in each interface are respectively provided with the controller.

7. The motor driving control method applied to the multi-interface motor control box according to claim 5 or 6, wherein the controller comprises a central processing module MCU, a level detection system, a delayed power supply system, a current acquisition system, and a system for judging whether the motor is connected by using the detected level and judging whether the motor is connected by comparing the detected current value with a set current threshold range, wherein the central processing module MCU is powered on and then operates.

Technical Field

The invention relates to a motor drive control method, in particular to a motor drive control method applied to a multi-interface motor control box.

Background

At present, a multi-interface motor control box for controlling a plurality of linear motors is generally set to be respectively and completely connected with the motors at each interface in the multi-interface motor control box, the control box can be normally started and controlled by the program in the control box, for example, only two motors are connected into the four-interface motor control box, the internal program judges that the control box is abnormal and can not normally start control, which easily happens in the electric appliance with two motors, the control box which can only control the two motors (the control box which can normally start control when the two motors are fully connected) is required to be equipped, therefore, when the control box is applied to an electric appliance with multi-motor control, the control box needs to be developed continuously to normally start and control two motors in full access, or to normally start and control three motors in full access, and the like, so that the defect of high enterprise research and development cost is caused.

Disclosure of Invention

The invention aims to solve the technical defects and provides a motor drive control method applied to a motor control box, which can start other connected motors to normally work under the condition that the motor is not connected into an interface in a multi-interface control box.

The invention designs a motor drive control method applied to a multi-interface motor control box, which is characterized by comprising the following specific control steps:

s1, the controller detects the level of two Hall signal ends in each motor interface in a plurality of motor interfaces on the motor control box;

s2, if the level of two Hall signal ends of a certain motor interface is detected to be a high level and a low level, the judgment result is that the interface is connected with a motor;

if the level of the two Hall signal ends is detected to be two low levels, the judgment result is that the interface is connected with the motor;

if the level of the two Hall signal ends is detected to be two low levels, the judgment result is that whether the interface is connected with the motor is uncertain, and the next step is carried out;

s3, supplying power to a motor power supply end of an interface of the motor, detecting and judging whether a current value exceeds a set current threshold range after supplying power, if so, judging that the interface is not connected with the motor, and if not, judging that the interface is connected with the motor, wherein the current threshold range is a current value range when the motor runs, and the current threshold range is a set value;

and S4, after all the interfaces on the motor control box are detected, determining whether all the interfaces on the motor control box are connected with the motor.

Preferably, the method further comprises the following steps: and S5, sending the motor access number and position information of the interface on the motor control box to the controller, and operating a motor driving program by the controller according to the information to enable the motor accessed to the interface to work.

Preferably, step S3 is replaced with: the method comprises the steps of detecting a current value under the condition that power is supplied to an interface which is not determined to be connected with a motor, carrying out delayed power supply after a current threshold range is set by a setter according to a detected current value motor control parameter, continuously detecting a current value of the interface which is not determined to be connected with the motor by a current acquisition system in the delayed power supply process to judge whether the current value detected by the delayed power supply exceeds the current threshold value, if so, judging that the interface is not connected with the motor, if not, judging that the interface is connected with the motor, wherein the current threshold range is the current value range when the motor runs, and the current threshold range is a set value.

Preferably, the current threshold range is set to be a minimum value only, and if the detected current value is greater than the set minimum value, it is determined that the interface on the motor control box is connected with the motor;

and if the detected current value is smaller than the set lowest value, determining that the motor is not connected to the interface on the motor control box.

Preferably, step S1 is replaced with: and the controller is used for respectively and sequentially detecting the levels of the two Hall signal ends in the plurality of interfaces on the motor control box one by one.

Preferably, step S1 is replaced with: the controller is used for simultaneously detecting the levels of two Hall signal ends in a plurality of interfaces on the motor control box, and the two Hall signal ends in each interface are respectively provided with the controller.

Preferably, the controller comprises a central processing module MCU, a level detection system, a delayed power supply system and a current acquisition system of the controller, and the functions of judging whether the motor is connected or not by using the detected level and judging whether the motor is connected or not by comparing the detected current value with a set current threshold range are realized by electrifying and then running the central processing module MCU.

The invention designs a motor drive control method applied to a motor control box, which realizes the number of interface access motors and the positions of the motor access interfaces on a multi-interface motor control box by detecting level signals and current values so as to further judge the number of the motors needing to be driven, thereby selecting different motor drive programs, respectively inputting drive signals to the motors accessed at the interfaces and achieving the technical effect of driving the accessed motors; the technical problem that the control box cannot normally work under the condition that the existing multi-interface control box lacks the motor access in the interface is solved, the multi-purpose performance of the control box is further realized, and compared with an enterprise, the multi-interface control box does not need to correspondingly equip the control boxes corresponding to the electric appliances with different motor quantities (the control box can normally start and control the motors after being fully accessed in the plurality of interfaces).

Drawings

Fig. 1 is a flowchart block diagram of a drive control method of the embodiment;

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.

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

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!