Signal and power isolation system based on ARM intensive multi-path stepping motor control system

文档序号:1965720 发布日期:2021-12-14 浏览:15次 中文

阅读说明:本技术 基于arm密集多路步进电机控制系统的信号和电源隔离系统 (Signal and power isolation system based on ARM intensive multi-path stepping motor control system ) 是由 吴衔誉 庄嘉权 林忠麟 王威雄 谢琦 徐志翔 黄峰 于 2021-09-10 设计创作,主要内容包括:本发明涉及一种基于ARM密集多路步进电机控制系统的信号和电源隔离系统,包括上位机、第一数字信号隔离模块、ARM处理器、第二数字信号隔离模块、密集多路步进电机驱动模块、电源隔离模块、地隔离模块、N路步进电机*M孔径密集多路运动模块;所述上位机、第一数字信号隔离模块、ARM处理器、第二数字信号隔离模块、密集多路步进电机驱动模块、N路步进电机*M孔径密集多路运动模块依次连接;所述电源隔离模块与ARM处理器密集多路步进电机驱动模块、地隔离模块分别连接;所述地隔离模块还与ARM处理器、密集多路步进电机驱动模块分别连接。本发明有效的提高了步进电机控制系统整体的安全性、独立性、抗干扰性等。(The invention relates to a signal and power isolation system based on an ARM dense multi-path stepping motor control system, which comprises an upper computer, a first digital signal isolation module, an ARM processor, a second digital signal isolation module, a dense multi-path stepping motor driving module, a power isolation module, a ground isolation module and an N-path stepping motor M-aperture dense multi-path motion module, wherein the upper computer is connected with the first digital signal isolation module; the upper computer, the first digital signal isolation module, the ARM processor, the second digital signal isolation module, the dense multi-path stepping motor driving module and the N-path stepping motor M-aperture dense multi-path motion module are sequentially connected; the power isolation module is respectively connected with the ARM processor intensive multi-path stepping motor driving module and the ground isolation module; the ground isolation module is also respectively connected with the ARM processor and the dense multi-path stepping motor driving module. The invention effectively improves the overall safety, independence, anti-interference performance and the like of the stepping motor control system.)

1. A signal and power isolation system based on an ARM dense multi-path stepping motor control system is characterized by comprising an upper computer, a first digital signal isolation module, an ARM processor, a second digital signal isolation module, a dense multi-path stepping motor driving module, a power isolation module, a ground isolation module and an N-path stepping motor M-aperture dense multi-path motion module; the upper computer, the first digital signal isolation module, the ARM processor, the second digital signal isolation module, the dense multi-path stepping motor driving module and the N-path stepping motor M-aperture dense multi-path motion module are sequentially connected; the power isolation module is respectively connected with the ARM processor intensive multi-path stepping motor driving module and the ground isolation module; the ground isolation module is also respectively connected with the ARM processor and the dense multi-path stepping motor driving module.

2. The signal and power isolation system based on the ARM dense multi-path stepping motor control system as claimed in claim 1, wherein the first digital signal isolation module and the second digital signal isolation module have the same structure and each comprise a noise filter, an edge detector, a coding and driving transformer, an isolation screen barrier and a decoder which are connected in sequence.

3. The ARM dense multi-way stepper motor control system based signal and power isolation system as claimed in claim 1, wherein the power isolation module comprises USB and 24V switching power supplies; the USB is a 5V power supply, directly provides a 5V power supply for the ARM processor, and simultaneously converts the 5V power supply into 3.3V voltage through the voltage conversion module to provide a 3.3V power supply for the ARM processor; the 24V switch power supply is converted from 24V voltage to 12V voltage through the dense multi-path DC/DC power supply isolation module, is connected with the dense multi-path stepping motor driving module, provides N paths of individually isolated 12V power supplies for the dense multi-path stepping motor driving module respectively, and supplies power for N paths of stepping motor driving chips in the dense multi-path stepping motor driving module.

4. The ARM dense multi-way stepping motor control system based signal and power isolation system as claimed in claim 1, wherein the ground isolation module comprises DGND for digitally grounding 5V and 3.3V, a 24V power ground GND, a dense multi-way ground isolation module; the N power ground GDNx in the dense multi-ground isolation module are isolated separately.

5. A control method of a signal and power isolation system based on an ARM intensive multi-path stepping motor control system is characterized by comprising the following steps:

step S1, the upper computer sends a control signal to the ARM processor after being processed by the first digital signal isolation module;

step S2, the ARM processor receives and processes the control signal sent by the upper computer, sends a pulse control signal to the dense multi-path stepping motor driving module after being processed by the second digital signal isolation module;

and step S3, the dense multi-path stepping motor driving module sends a driving signal to the N paths of stepping motors M aperture dense multi-path movement module, and the N paths of stepping motors are controlled to realize the control of the M aperture.

6. The method for controlling the signal and power isolation system based on the ARM intensive multi-path stepping motor control system according to claim 5, wherein the digital signal isolation module obtains the signal and then passes through a noise filter to eliminate interference of noise or burrs on the input signal, so that influence on an effective signal in a signal transmission process is effectively reduced, and accidental triggering edge detection is avoided; then inputting the filtered signal into an edge detector, and coding a rising edge signal or a falling edge signal into a single pulse signal or a double pulse signal; the pulse signal output by the edge detector is used for driving the transformer, so that the pulse signal can enter the isolation barrier; the signal output by the isolation barrier is decoded into a rising edge signal or a falling edge signal by a single pulse or double pulse signal, and finally the signal is output.

Technical Field

The invention relates to the field of ARM processor control systems, in particular to a signal and power isolation system based on an ARM intensive multi-path stepping motor control system.

Background

In the field of embedded control, a stepping motor is one of indispensable main execution elements, with the rapid development of embedded technology, the performance of an embedded processor is greatly improved, the embedded real-time control function becomes more complete, and a plurality of stepping motor real-time control systems based on the embedded processor can be more stable and reliable. With the wide application of the universal serial bus and the requirements on the stability and safety of digital signal transmission communication in the industrial field, the digital isolator is widely applied to a control system. In the dense multi-path stepping motor control system, because individual and real-time control of a plurality of stepping motors needs to be realized, compared with a single-path or common multi-path stepping motor control system, the dense multi-path stepping motor control system has higher requirements on the safety and reliability of power supply and digital communication, so that the isolation of signals and power supplies has great significance on the dense multi-path stepping motor control system, and the overall safety and reliability of the circuit and the control system can be effectively improved.

Disclosure of Invention

In view of this, the present invention provides a signal and power isolation system based on an ARM dense multi-path stepping motor control system, which effectively improves the overall safety, independence, anti-interference performance, and the like of the stepping motor control system.

In order to achieve the purpose, the invention adopts the following technical scheme:

a signal and power isolation system based on an ARM dense multi-path stepping motor control system comprises an upper computer, a first digital signal isolation module, an ARM processor, a second digital signal isolation module, a dense multi-path stepping motor driving module, a power isolation module, a ground isolation module and an N-path stepping motor M-aperture dense multi-path motion module; the upper computer, the first digital signal isolation module, the ARM processor, the second digital signal isolation module, the dense multi-path stepping motor driving module and the N-path stepping motor M-aperture dense multi-path motion module are sequentially connected; the power isolation module is respectively connected with the ARM processor intensive multi-path stepping motor driving module and the ground isolation module; the ground isolation module is also respectively connected with the ARM processor and the dense multi-path stepping motor driving module.

Furthermore, the first digital signal isolation module and the second digital signal isolation module have the same structure and respectively comprise a noise filter, an edge detector, a coding and driving transformer, an isolation screen barrier and a decoder which are sequentially connected.

Further, the power isolation module comprises a USB and 24V switching power supply; the USB is a 5V power supply, directly provides a 5V power supply for the ARM processor, and simultaneously converts the 5V power supply into 3.3V voltage through the voltage conversion module to provide a 3.3V power supply for the ARM processor; the 24V switch power supply is converted from 24V voltage to 12V voltage through the dense multi-path DC/DC power supply isolation module, is connected with the dense multi-path stepping motor driving module, provides N paths of individually isolated 12V power supplies for the dense multi-path stepping motor driving module respectively, and supplies power for N paths of stepping motor driving chips in the dense multi-path stepping motor driving module.

Further, the ground isolation module comprises DGND for digitally grounding 5V and 3.3V, a 24V power ground GND, and a dense multi-path ground isolation module; the N power ground GDNx in the dense multi-ground isolation module are isolated separately.

A control method of a signal and power isolation system based on an ARM intensive multi-path stepping motor control system comprises the following steps:

step S1, the upper computer sends a control signal to the ARM processor after being processed by the first digital signal isolation module;

step S2, the ARM processor receives and processes the control signal sent by the upper computer, sends a pulse control signal to the dense multi-path stepping motor driving module after being processed by the second digital signal isolation module;

and step S3, the dense multi-path stepping motor driving module sends a driving signal to the N paths of stepping motors M aperture dense multi-path movement module, and the N paths of stepping motors are controlled to realize the control of the M aperture.

Furthermore, the digital signal isolation module firstly passes through a noise filter after acquiring the signal, so that the interference of noise or burrs on the input signal is eliminated, the influence on the effective signal in the signal transmission process is effectively reduced, and accidental triggering edge detection is avoided; then inputting the filtered signal into an edge detector, and coding a rising edge signal or a falling edge signal into a single pulse signal or a double pulse signal; the pulse signal output by the edge detector is used for driving the transformer, so that the pulse signal can enter the isolation barrier; the signal output by the isolation barrier is decoded into a rising edge signal or a falling edge signal by a single pulse or double pulse signal, and finally the signal is output.

Compared with the prior art, the invention has the following beneficial effects:

the invention isolates the circuits and signals in the control system circuit on the basis of ensuring that each stepping motor in the dense multi-path stepping motor system is independently controlled, isolates different power supplies in the circuits independently and different digital and analog grounds, and adopts the digital isolator to isolate the signals, thereby effectively improving the overall safety, independence, anti-interference performance and the like of the stepping motor control system.

Drawings

FIG. 1 is a schematic diagram of the system architecture of the present invention;

in the figure: 1-an upper computer, 2-a digital signal isolation module, 3-an ARM processor (3), 4-a voltage conversion module, 5-USB, 6-a digital signal isolation module 2, 7-24V switching power supply, 8-an intensive multi-path DC/DC isolation module, 9-an intensive multi-path motor driving module, 10-24V power supply ground GND, 11-an intensive multi-path ground isolation module, 12-3.3V and 5V power supply ground, 13-a power supply isolation module, 14-a ground isolation module and 15-N stepping motors M aperture intensive multi-path motion module.

Detailed Description

The invention is further explained below with reference to the drawings and the embodiments.

Referring to fig. 1, the invention provides a signal and power isolation system based on an ARM dense multi-path stepping motor control system, which comprises an upper computer (1), a digital signal isolation module 1 (2), an ARM processor (3), a voltage conversion module (4), a USB (5), a digital signal isolation module 2 (6), a 24V switching power supply (7), a dense multi-path DC/DC isolation module (8), a dense multi-path motor driving module (9), a 24V power ground GND (10), a dense multi-path ground isolation module (11), 3.3V and 5V power grounds (12), a power isolation module (13), a ground isolation module (14) and an N-path stepping motor M-aperture dense multi-path motion module (15).

In the embodiment, the upper computer (1) is connected with the digital signal isolation module (2), the digital signal isolation module (2) is connected with the ARM processor (3), and the upper computer (1) sends a control signal to the ARM processor (3) through the digital signal isolation module (2) for receiving and processing; the ARM processor (3) is connected with the digital signal isolation module (2) (6), the digital signal isolation module (2) (6) is connected with the dense multi-path motor driving module (9), the dense multi-path motor driving module (9) is connected with the N stepping motors M aperture dense multi-path motion module (15), the ARM processor (3) sends motor pulse control signals to the dense multi-path motor driving module (9) through the digital signal isolation module (2) (6), the dense multi-path motor driving module (9) sends multi-path individual motor control signals to each corresponding motor, the N-path stepping motor-M-aperture dense multi-path motion module (15) comprises N-path motors and M-aperture, and each aperture is controlled by a plurality of stepping motors to form an N-M-aperture dense multi-path stepping motor control system. The power isolation module (13) comprises a USB (5) and a 24V switching power supply (7) to independently supply power to the ARM processor (3) and the dense multi-path stepping motor driving module (9); the USB (5) is a 5V power supply, can directly provide a 5V power supply for the ARM processor (3), and simultaneously converts the 5V power supply into 3.3V voltage through the voltage conversion module (4) to provide a 3.3V power supply for the ARM processor (3); the 24V switch power supply (7) is converted from 24V voltage to 12V voltage through the dense multi-path DC/DC power supply isolation module (8), is connected with the dense multi-path stepping motor driving module (9), provides N paths of independently isolated 12V power supplies for the dense multi-path stepping motor driving module (9) respectively, and supplies power for N paths of stepping motor driving chips in the dense multi-path stepping motor driving module (9). The ground isolation module (14) comprises 3.3V and 5V power ground DGND (12), dense multipath ground isolation module (11) and 24V power ground GDN (10).

Preferably, in the embodiment, the ARM processor (3) adopts an STM32F407ZGT6 processor, the voltage conversion module (4) adopts an ASM1117 chip, the dense multi-path DC/DC isolation module (8) adopts a TDK30-24S12W chip, the dense multi-path motor driving module (9) adopts a DRV8818 chip, and the N-path stepping motor is a 42-series stepping motor in the M-aperture dense multi-path motion module (15).

In this embodiment, the digital signal isolation module 1 (2) and the digital signal isolation module 2 (6) are consistent in structural principle. After the control signal is input into the digital isolation module, the control signal passes through the noise filter, so that the interference of noise or burrs on the input signal can be eliminated, the influence on the effective signal in the signal transmission process can be effectively reduced, and the accidental starting edge detection is avoided; the noise filter is connected with the edge detector, and the filtered signal is input into the edge detector to encode the rising edge signal or the falling edge signal into a single pulse signal or a double pulse signal; the edge detector is connected with the coding and driving transformer, and the pulse signal output by the edge detector is used for driving the transformer so that the pulse signal can enter the isolation barrier; the signal output by the isolation barrier is decoded into a rising edge signal or a falling edge signal by a single pulse or double pulse signal, and finally the signal is output. When step change is generated in the bridge voltage of the motor control circuit, noise may be generated due to common-mode voltage change on the isolation gate, a differential input structure is adopted by a transformer in the digital signal isolation module, different transmission paths are provided for input signals and noise, the common-mode noise immunity is higher, and the operation under a high-noise environment can be realized.

Compared with the traditional optical coupler, the digital signal isolation method has the advantages that power supply does not need to be continuously supplied to the device, a circuit can be refreshed in the device to be used for periodically updating the direct current level, so that the power consumption is 10 times to 100 times lower than that of the optical coupler, the digital signal isolation module uses a more advanced circuit to encode and decode data signals, the data transmission speed of a faster element is supported, and complicated bidirectional interfaces such as USB or I2C are processed. Digital isolators have significant advantages over optical couplers in terms of size, speed, ease of use and reliability.

In this embodiment, the power isolation module (13) is characterized by comprising a USB (5) and a 24V switching power supply (7); the USB (5) directly provides a 5V power supply for the ARM processor (3) and provides a 3.3V power supply through the voltage conversion module (4) so as to meet the power supply requirement of the ARM processor (3); the 24V switch power supply (7) is connected with the N DC/DC isolations, voltage conversion can be realized, 24V voltage is converted into 12V voltage, each DC/DC isolation is respectively and independently connected with the corresponding stepping motor driving chip after voltage conversion output, namely, each driving chip has independent 12V power supply for power supply. The DC/DC isolation power supply can be repeatedly switched on and off to convert direct current voltage or current into high-frequency square wave voltage or current, the high-frequency square wave voltage or current is converted into direct current power supply output after being rectified and smoothed, direct electrical connection does not exist between an input loop and an output loop, the input loop and the output loop are in an insulated high-resistance state, no current loop exists, and the high-frequency square wave DC/DC isolation power supply has strong anti-jamming capability. Through the design of the power isolation circuit, each motor driving circuit is completely isolated from other motor driving circuits, each motor driving circuit cannot influence other circuits, and the independence, the anti-interference performance and the safety of the driving circuit are effectively improved. In the motion process of the dense multi-path motor, if one or a plurality of motors break down or under other conditions, other motor parts in the circuit cannot be affected, the safety is high, and when the power supply is abnormal, the damage to the load is small. The ARM processor (3) is isolated from the power supply of the stepping motor driving module (9), so that the independence of the control circuit part and the motor driving execution part is effectively protected, the control circuit part and the motor driving execution part are not interfered with each other, and the stability and the safety of the system are improved.

In the embodiment, the ground isolation module (14) is characterized by comprising a step of digitally isolating the 5V and 3.3V ground DGND (12), a 24V power ground GND (10), and N power grounds GDNx in the dense multi-ground isolation module (11) separately, so that digital ground and analog ground isolation are realized, and analog ground isolation is realized between different voltage direct current circuits. The 5V and 3.3V digital DGND is isolated from the 24V power ground GND (10) and the dense multi-path ground isolation module (11), so that the influence of noise brought in among a plurality of power ground GNDx circuits in the 24V power ground GND (10) and the dense multi-path ground isolation module (11) on the 5V and 3.3V digital DGND (12) can be prevented, the indexes of small signals in an analog circuit are effectively kept normal and normal operation is effectively kept, and the control signal for controlling the stepping motor can be transmitted normally without interference. The GND (10) of the 24V power ground and the GDNx of the N power grounds in the dense multi-ground isolation module (11) are isolated independently, so that the situation that when a system fails, high voltage is injected into a low-voltage system can be effectively prevented, the pressure resistance of the 12V power ground is weak compared with that of the 24V power ground, the safety of the dense multi-path stepping motor driving module (9) can be guaranteed when the system fails, the dense multi-path stepping motor driving module cannot be burnt easily, and meanwhile electromagnetic interference is prevented from being connected in series commonly. The GDNx power supply grounds of the N power supply grounds in the dense multi-ground isolation module (11) are isolated independently, so that each stepping motor driving chip in the dense multi-path stepping motor driving module (9) is isolated in power supply and also isolated in power supply ground, each motor driving circuit is independent, each motor driving circuit cannot influence other driving circuits, the safety of a motor control system is effectively ensured when the motor driving chip fails, the influence of other driving circuits on control signals is also reduced, and the whole system is more stable in operation.

The above description is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention should be covered by the present invention.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:航空柱塞泵用内嵌式永磁同步电机的多重抗扰控制方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!