Universal motor control system and method

文档序号:721053 发布日期:2021-04-16 浏览:9次 中文

阅读说明:本技术 一种通用电机控制系统和方法 (Universal motor control system and method ) 是由 刘婧妮 严涛 邓林 王家学 王波 吴凌蛟 于 2020-12-17 设计创作,主要内容包括:本发明属于电动机控制技术领域,公开了一种通用电机控制系统和方法。通过一套通用的控制系统和方法,可用一种通用控制器同时支持系统内多种被控对象的控制,并且可以在被控对象升级或更换的情况下,不重新进行控制器硬件和软件的研发,即可完成对新增或更换被控对象的扩展支持,具备很强的通用性和扩展性,同时也能大幅降低整个控制系统的开发及维护成本。(The invention belongs to the technical field of motor control, and discloses a universal motor control system and a universal motor control method. Through a set of universal control system and method, a universal controller can simultaneously support the control of various controlled objects in the system, and can complete the expansion support of newly added or replaced controlled objects without newly researching and developing the hardware and software of the controller under the condition of upgrading or replacing the controlled objects, so that the universal control system and the method have strong universality and expansibility, and can also greatly reduce the development and maintenance cost of the whole control system.)

1. A universal motor control system, characterized by: the system comprises: the system comprises a controller, an upper computer, a plurality of controlled motors and a plurality of sensors arranged in the controlled motors;

the controller is connected with the upper computer through a bus and used for receiving the ID number, the control instruction and the updating data from the upper computer;

the controller is internally provided with a configuration table, and the configuration table stores ID numbers of a plurality of controlled motors;

the controller is connected with the controlled motors, identifies specific controlled motors based on the ID numbers, and controls the identified controlled motors according to the control instructions.

2. A universal motor control system as claimed in claim 1, wherein: the configuration table also stores corresponding control parameters of a plurality of controlled motors; the control parameters include: operating parameters of the motor; the controller is also connected with the sensors and collects the working parameters of the motor stored in the configuration table through various sensors based on the identified ID number.

3. A universal motor control method for a universal motor control system as claimed in claim 1 or 2, characterized in that: the method comprises the following steps:

the method comprises the following steps: the controller receives the ID number and the control instruction from the upper computer;

step two: the controller identifies a specific controlled motor through a configuration table according to the ID number;

step three: the controller controls the identified controlled motor according to the control instruction, collects working parameters of the controlled motor and monitors the working state of the controlled motor.

4. A universal motor control method as claimed in claim 3, wherein: the operating parameters of the motor include: different types of parameters and corresponding parameter constraints that each motor needs to monitor.

5. The universal motor control method according to claim 4, wherein:

the third step further comprises: the controller acquires corresponding data through corresponding sensors according to different types of parameters to be monitored by the controlled motor.

6. The universal motor control method according to claim 5, wherein: the third step further comprises: and if the corresponding data acquired by the controller through the sensor exceeds the corresponding limit conditions, the controller sends corresponding warning to the upper computer.

7. A universal motor control method as claimed in claim 3, wherein: in the first step, the controller also receives a configuration table updating instruction and configuration table updating data from the upper computer;

and when the controller receives the configuration table updating command, replacing the original configuration table data with the configuration table updating data.

8. A universal motor control method as claimed in claim 3, wherein: in the first step, the controller also receives a master control program upgrading instruction and an upgrading program from an upper computer;

and after the controller receives the main control program upgrading instruction, replacing the original program with the upgrading program.

Technical Field

The invention belongs to the technical field of motor control, and particularly relates to a universal motor control system and a universal motor control method.

Background

The accurate control of the speed and the position of various loads in the existing airborne equipment is realized by controlling the rotation of a motor generally, and the motors and position/speed sensors with different types and different power grades can be selected according to the application requirements of the electromechanical subsystem, and the control methods of the motors are different.

The existing airborne machine comprises a plurality of subsystems, each subsystem comprises a plurality of types of motor systems, each motor is realized by adopting a special controller, and each special controller runs a respective special embedded software and control algorithm, so that the universality is not high, the expansibility is poor, and the development and maintenance cost of software and hardware is high.

Disclosure of Invention

The purpose of the invention is as follows: a configuration table based universal motor control system and method that is scalable online is presented.

The technical scheme of the invention is as follows:

a universal motor control system comprising: the system comprises a controller, an upper computer, a plurality of controlled motors and a plurality of sensors arranged in the controlled motors;

the controller is connected with the upper computer through a bus and used for receiving the ID number, the control instruction and the updating data from the upper computer;

the controller is internally provided with a configuration table, and the configuration table stores ID numbers of a plurality of controlled motors;

the controller is connected with the controlled motors, identifies specific controlled motors based on the ID numbers, and controls the identified controlled motors according to the control instructions.

Further, the configuration table also stores corresponding control parameters of a plurality of controlled motors; the control parameters include: operating parameters of the motor; the controller is also connected with the sensors and collects the working parameters of the motor stored in the configuration table through various sensors based on the identified ID number.

A universal motor control method for said one universal motor control system, said method comprising the steps of:

the method comprises the following steps: the controller receives the ID number and the control instruction from the upper computer;

step two: the controller identifies a specific controlled motor through a configuration table according to the ID number;

step three: the controller controls the identified controlled motor according to the control instruction, collects working parameters of the controlled motor and monitors the working state of the controlled motor.

Further, the operating parameters of the motor include: different types of parameters and corresponding parameter constraints that each motor needs to monitor.

Further, the third step further includes: the controller acquires corresponding data through corresponding sensors according to different types of parameters to be monitored by the controlled motor.

Further, the third step further includes: and if the corresponding data acquired by the controller through the sensor exceeds the corresponding limit conditions, the controller sends corresponding warning to the upper computer.

Further, in the first step, the controller also receives a configuration table updating instruction and configuration table updating data from the upper computer;

and when the controller receives the configuration table updating command, replacing the original configuration table data with the configuration table updating data.

Further, in the first step, the controller also receives a master control program upgrading instruction and an upgrading program from the upper computer;

and after the controller receives the main control program upgrading instruction, replacing the original program with the upgrading program.

Compared with the traditional system scheme, the invention can perfectly support the control of various controlled objects of a plurality of subsystems through a set of universal controller software and hardware, can complete the expansion support of newly added or replaced controlled objects without researching and developing controller hardware and software again under the condition of upgrading or replacing the controlled objects, has strong universality and expansibility, and can also greatly reduce the development and maintenance cost of the system

Drawings

FIG. 1 is a schematic block diagram of a general motor control system;

FIG. 2 is a flow chart of a general motor control method;

fig. 3 is a configuration representation.

Detailed Description

The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings, and all other embodiments obtained by those skilled in the art without any creative work belong to the protection scope of the present invention.

The general motor control system of the invention is shown in a schematic diagram in fig. 1, and comprises a controller, an upper computer, one or more controlled motors and a built-in sensor, wherein the controller comprises general control software. The general control software comprises three parts which are respectively: BOOT program, main control program and configuration table. The BOOT program completes the online upgrade of the configuration table or the main control program; the main control program completes the selection of the control architecture and the control parameters and the main control function; the configuration table stores the ID numbers and corresponding parameter information of all controlled objects in the whole system.

The general motor control method flow of the invention is shown in fig. 2, after the controller completes power-on initialization, whether to update the configuration table is determined according to the current instruction received from the upper computer, and the storage of the configuration table is shown in fig. 3. If the controller receives a configuration table updating instruction and updating content, the configuration table is programmed again through the BOOT program, and after the configuration table is updated, the controller is electrified and initialized again and then enters the next step of program; if the controller does not receive the configuration table updating instruction, the next procedure is directly entered. Similarly, the controller judges whether to carry out the main control program upgrading and then enters the next program according to the instruction of the upper computer. After the configuration table of the current state and the main control program are determined, the controller reads an externally input ID number to identify the current specific type of the controlled motor. And the controller selects a corresponding control algorithm framework according to the read ID number and loads corresponding control parameters from the configuration table according to the ID number. The controller further realizes the functions of supplying power to the motor, collecting sensor data, giving an alarm to the upper computer according to the corresponding data limit conditions and the like, thereby completing the control of the controlled motor and the load.

When the control system needs to replace the controlled object and the motor type specification of the control system is within the system control range, the controller is only required to be reconnected with a new controlled motor, the ID number corresponding to the new controlled motor is input into the controller from the outside, and the controller can select the control algorithm structure of the corresponding type according to the ID number after power-on initialization, read the corresponding control parameter in the configuration table and realize the control of the new controlled motor.

When the control system needs to change one or more configuration parameters or main control programs of the controlled motor types within the system control range, such as changing the types or the number of the acquired sensor parameters, changing the rotating speed control strategy of the motor and the like, the update instruction and the update data of the configuration table or the main control program can be directly sent by the upper computer, and the original configuration table and the original main control program data are replaced by the update data. After the software of the controller is upgraded on line, the controller can meet the new control requirement of the system.

When the control system needs to newly add a controlled motor type which is not in the system control range, the upgrading instruction and the updating data of the configuration table or the main control program can be sent by the upper computer, and when the storage capacity of the controller is enough, the newly added configuration table item and the main control program are programmed into the controller software by the controller. After the online upgrade of the controller software is completed, the control requirement of the new type of controlled motor can be met.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:高精度旋转变压器控制解码系统及方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!