Motor control panel device
阅读说明:本技术 电机控制板装置 (Motor control panel device ) 是由 许卫春 曾理 魏海洋 孙飞 朱元生 贾振宏 张国秀 高阳 孙家振 于 2019-11-12 设计创作,主要内容包括:本发明涉及电机控制技术领域,尤其是涉及一种医疗器械电机控制板装置。本发明提供的一种电机控制板装置,在电机控制板上进行了硬件的合理布局,通过硬件驱动层、电机控制应用程序编程接口设计层和应用层这三层逻辑层在电机控制板上的线路通信得以实现。所述电机控制板装置支持最多六通道双相步进电机运行,内部运用T型加减速控制机制,驱动模式支持整步、半步和细分。本发明简单新颖,模块化设计尺寸小,节约空间,便于仪器的小型化制造,且支持多种驱动模块和驱动模式,应用场景适应能力和扩展兼容性更强。(The invention relates to the technical field of motor control, in particular to a motor control panel device of a medical instrument. The motor control panel device provided by the invention has the advantages that the reasonable layout of hardware is carried out on the motor control panel, and the circuit communication of three logic layers, namely a hardware driving layer, a motor control application program programming interface design layer and an application layer, on the motor control panel is realized. The motor control panel device supports the operation of a six-channel two-phase stepping motor at most, a T-shaped acceleration and deceleration control mechanism is applied inside the motor control panel device, and a driving mode supports whole step, half step and subdivision. The invention has the advantages of simplicity, novelty, small modular design size, space saving, convenience for miniaturized manufacture of instruments, support of various driving modules and driving modes, and stronger application scene adaptability and expansion compatibility.)
1. A motor control panel apparatus, comprising: the system comprises a hardware driving layer, a motor control application programming interface design layer and an application layer;
the hardware driving layer is positioned at the bottom layer of the system and comprises a central processing unit, a module platform and an interface set;
the module platform comprises a pump control module, a driving module, a sensor module and a controller local area network module;
the interface assembly comprises a pump valve control interface, a liquid level detection and serial port transparent transmission interface, a sensor interface, a controller local area network interface, an encoder interface, an SPI/I2C interface, an input/output interface and a power supply interface;
the motor control application programming interface design layer is positioned in the system middle layer and comprises a stepping motor operation high-level application programming interface layer and a hardware abstraction layer;
the application layer is positioned at the top layer of the system and comprises a main application module, a motor management module, a connection validity module and other compatible modules.
2. The motor control board device of claim 1, wherein the number of the driving modules is 6, the position of the driving modules can be adjusted at will, and 1 stepping motor interface is connected behind each driving module.
3. The motor control board apparatus of claim 1, wherein the pump valve control interface is a 24V pump valve control interface, each interface controlling a 4-way pump or valve.
4. The motor control board apparatus of claim 1, wherein the liquid level detection and serial pass-through interface supports 2-way signals.
5. The motor control board apparatus of claim 1, wherein each of said sensor interfaces 3 sensors.
6. The motor control board apparatus of claim 1, wherein the controller area network interface supports 2-way controller area network 1 signals.
7. The motor control board apparatus of claim 1, wherein each of the encoder interfaces supports a 2-way timer to capture an encoder count pulse input signal.
8. The motor control board apparatus of claim 1, wherein the SPI/I2C interface 125 supports SPI1, SPI4 and I2C2, I2C3 interface signals.
9. The motor control board apparatus of claim 1, wherein the hardware abstraction layer comprises a motor drive hardware abstraction layer and other compatible drive hardware abstraction layers.
10. The motor control board apparatus of claim 1, wherein the connection between the stepper motor running high-level application programming interface layer and the hardware abstraction layer employs a T-type acceleration and deceleration control mechanism.
Technical Field
The invention relates to the technical field of motor control, in particular to a motor control panel device of a medical instrument.
Background
The motor control board is an indispensable component in the instrument equipment, and the system is the centralized embodiment of the working mode of the motor control board. However, most of the existing motor control panel devices are complex in design, small in hardware size, low in space utilization rate, too single in supported driving working mode and poor in expansion compatibility.
Disclosure of Invention
The invention aims to provide a motor control panel device, which can effectively solve the problems of complex design and poor expansion compatibility of the traditional motor control panel.
The invention provides a motor control panel device, comprising: the system comprises a hardware driving layer, a motor control application program programming interface design layer and an application layer.
The hardware driving layer is positioned at the bottom layer of the system and comprises a central processing unit, a module platform and an interface set and is responsible for a hardware interface and other driving parts related to compatible functions. The module platform comprises a pump valve control module, driving modules, a sensor module and a controller local area network module, the number of the driving modules can be six, the position can be adjusted at will, and 1 stepping motor interface is connected behind each driving module. The interface assembly comprises a pump valve control interface, a liquid level detection and serial port transparent transmission interface, a sensor interface, a controller local area network interface, an encoder interface, an SPI/I2C interface, an input/output interface and a power supply interface.
The motor control application programming interface design layer is positioned in the system middle layer and comprises a stepping motor operation high-level application programming interface layer and a hardware abstraction layer and is responsible for a T-shaped acceleration and deceleration motor control mechanism and function design of a related control application programming interface. The hardware abstraction layer comprises a motor drive hardware abstraction layer and other compatible drive hardware abstraction layers.
The application layer is positioned at the top layer of the system, comprises a main application module, a motor management module, a connection validity module and other compatible modules, is responsible for development of functional services, and supports plug-in extension.
The motor control panel device provided by the invention has the advantages that the reasonable layout of hardware is carried out on the motor control panel, and the circuit communication of three logic layers, namely a hardware driving layer, a motor control application program programming interface design layer and an application layer, on the motor control panel is realized. The motor control panel device supports the operation of a six-channel two-phase stepping motor at most, a T-shaped acceleration and deceleration control mechanism is applied inside the motor control panel device, and a driving mode supports whole step, half step and subdivision. The invention has the advantages of simplicity, novelty, small modular design size, space saving, convenience for miniaturized manufacture of instruments, support of various driving modules and driving modes, and stronger application scene adaptability and expansion compatibility.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are embodiments of the present invention, and it is obvious for those skilled in the art to obtain other compatible drawings without creative efforts.
Fig. 1 is a schematic diagram of a frame of a motor control board apparatus according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a hardware structure of a motor control board according to an embodiment of the present invention.
Icon: 1-hardware driver layer; 10-a central processing unit; 100-a generic interface; 11-a modular platform; 110-pump valve control module; 111-a drive module; 112-a sensor module; 113-controller area network module; 12-interface set; 120-pump valve control interface; 121-liquid level detection and serial port transparent transmission interface; 122-a sensor interface; 123-controller area network interface; 124-encoder interface; 125-SPI/I2C interface; 126-input/output interface; 127-a power interface; 2-a motor control application programming interface design layer; 20-the stepper motor runs the advanced application programming interface layer; 21-a hardware abstraction layer; 210-a motor drive hardware abstraction layer; 211 — other compatible drive hardware abstraction layer; a control mechanism of a 22-T type acceleration and deceleration motor; 3-application layer; 30-a master application module; 31-a motor management module; 32-a connection validity module; 33-other compatible modules; 34-an insert; 35-callback mechanism.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are only one embodiment of the present invention, and not all embodiments. All other compatible embodiments obtained by a person skilled in the art based on the embodiments of the present invention without any creative efforts shall fall within the protection scope of the present invention.
As shown in fig. 1, the present invention provides a motor control board apparatus, including: a
As shown in fig. 1 and fig. 2, the
Wherein, the
The interface set 12 includes: pump valve control interface 120, liquid level detection and serial transparent transmission interface 121, sensor interface 122, controller area network interface 123, encoder interface 124, SPI/I2C interface 125, input/output interface 126, and
The pump valve control interface 120 is a 24V pump valve control interface, and each interface controls 4 pumps or valves.
The liquid level detection and serial port transparent transmission interface 121 supports 2 paths of signals, and the liquid level detection function of the motor control panel device can be realized.
Each of the sensor interfaces 122 interfaces with 3 sensors.
The controller area network interface 123 supports 2-way
Each of the encoder interfaces 124 supports a 2-way timer to capture the encoder count pulse input signal.
The SPI/I2C interface 125 supports SPI1, SPI4 and I2C2, I2C3 interface signals.
The input/output interface 126 supports 4 output signals.
The
The pump valve control interface 120, the sensor interface 122, and the controller area network interface 123 correspond to the pump
As shown in fig. 1, the motor control board apparatus provided in the present invention, where the motor control application programming
The
As shown in fig. 1, the motor control board apparatus provided in the present invention, where the
The motor control panel device provided by the invention has the advantages that the reasonable layout of hardware is carried out on the motor control panel, and the circuit communication of three logic layers, namely a
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种步进电机驱动方法及驱动设备