Two-phase stepping motor driver

By adding a current sampling and tracking circuit to the two-phase hybrid stepper motor driver, the sampling and feedback of the H-bridge circuit signal is realized, which solves the problem that abnormal current signals cannot be fed back in time, and improves the safety of the driver, especially at high voltages. Effectively reduce safety risks under certain conditions.

CN221862713UActive Publication Date: 2024-10-18NO 47 INST OF CHINA ELECTRONICS TECH GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323181508.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-24
Publication Date
2024-10-18
Estimated Expiration
2033-11-24

AI Technical Summary

Technical Problem

The existing two-phase hybrid stepper motor driver cannot feedback abnormal signals to the main control chip in time when the current is abnormal, which poses safety risks especially under high voltage conditions.

Method used

A current sampling and tracking circuit is added to the two-phase hybrid stepper motor driver, and the signal of the H-bridge circuit is sampled through the sampling resistor and sampling comparator, and the sampled signal is fed back to the CPLD controller to achieve closed-loop control.

Benefits of technology

It can provide timely feedback on abnormal current signals of stepper motors, improve the safety of the driver, and effectively reduce safety risks, especially under high voltage conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221862713U_ABST
    Figure CN221862713U_ABST
Patent Text Reader

Abstract

The utility model relates to a two-phase stepping motor driver, and belongs to the technical field of stepping motor control. The driver is composed of a signal input circuit unit, a control unit, a half-bridge drive circuit, an H-bridge circuit, a current sampling tracking circuit, a bus rectification filter circuit, a power conversion circuit, a temperature detection circuit, a plurality of resistance-capacitance devices and the like. The signal input circuit inputs superior control signals to the control unit, and the control unit outputs eight control signals to control the half-bridge drive circuit and the H-bridge circuit, so that the purpose of controlling the motor is achieved. According to the utility model, the CPLD controller controls and outputs eight paths of control signals to the half-bridge driving circuit chip, and the half-bridge driving circuit chip controls the on and off of the MOS tube so as to control the motor coil in sequence, so that the stepping motor operates according to the setting. And a feedback signal acquired by the current sampling tracking circuit is processed to realize a closed-loop control circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of stepper motor control, in particular to a two-phase hybrid stepper motor driver. Background Art

[0002] The control technology of two-phase hybrid stepper motor drive is widely used in industrial production and aerospace fields.

[0003] The two-phase hybrid stepper motor is powered by a DC power supply. By energizing the coil windings of each phase of the stepper motor in a fixed order, the rotor of the stepper motor can be rotated. According to the different power-on sequences, the stepper motor can be divided into four-beat, eight-beat and other working modes.

[0004] At present, two-phase hybrid stepper motors usually use a control method in which the main control chip controls the half-bridge driver and MOS tube to control the rotation of the motor. The advantages of this control method are simple operation, easy implementation, and easy writing of control software. However, there is also a disadvantage that when the current of the stepper motor is abnormal, the abnormal signal cannot be fed back to the main control chip in time. Especially when the bus input voltage is high, the stepper motor driver has a great safety risk. Utility Model Content

[0005] The purpose of the utility model is to provide a two-phase hybrid stepper motor driver. Aiming at the drawbacks of the stepper motor driver, the two-phase hybrid stepper motor driver adds a current sampling and tracking circuit on the premise of the original design structure to sample the current signal in the circuit and feed the sampled signal back to the main control chip, which processes the sampled feedback signal to realize a closed-loop control circuit.

[0006] The technical solution adopted by the utility model to achieve the above-mentioned purpose is: a two-phase stepper motor driver, characterized in that it includes: a signal input circuit unit, a control unit, a half-bridge drive circuit, an H-bridge circuit, a current sampling and tracking circuit, a bus rectifier filter circuit, a power conversion circuit, and a temperature detection circuit;

[0007] The bus rectifier and filter circuit is connected to the control unit through a power conversion circuit, and the bus rectifier and filter circuit is connected to the motor through an H-bridge circuit; the signal input circuit unit and the temperature detection circuit are both connected to the control unit; the control unit is connected to the H-bridge circuit through a half-bridge drive circuit; and the control unit is connected to the motor via a current sampling and tracking circuit.

[0008] The half-bridge drive circuit and the H-bridge circuit constitute a drive circuit; there are four drive circuits, which are respectively connected to one end of the first phase coil, the other end of the first phase coil, one end of the second phase coil, and the other end of the second phase coil of the motor.

[0009] The signal input circuit unit includes an isolation optocoupler and an inverter;

[0010] The input end of the isolation optocoupler is connected to the external input interface, and the output end is connected to the input end of the inverter;

[0011] The output end of the inverter is connected to the control unit.

[0012] The half-bridge driving circuit adopts a half-bridge driver chip;

[0013] The input end of the half-bridge driver chip is connected to the control unit (2), and the upper output end HO and the lower output end LO are respectively connected to the upper tube gate and the lower tube gate of the MOS tube in the H-bridge circuit.

[0014] The H-bridge circuit includes an upper MOS tube and a lower MOS tube;

[0015] The gate of the upper MOS tube and the gate of the lower MOS tube are respectively connected to the upper output terminal HO and the lower output terminal LO of the half-bridge driver chip in the half-bridge drive circuit through resistors and capacitors; the source of the upper MOS tube and the drain of the lower MOS tube are connected and used as the output terminal of the H-bridge circuit, and connected to a phase of the motor;

[0016] The drain of the upper tube of the MOS tube is connected to the power supply, and the source of the lower tube of the MOS tube is grounded via a sampling resistor in the current sampling and tracking circuit.

[0017] The resistor and capacitor device is a resistor, a capacitor, or a circuit consisting of a resistor and a capacitor.

[0018] The four MOS tubes corresponding to the driving circuits form a complete H-bridge circuit.

[0019] The current sampling and tracking circuit comprises a current sampling and tracking circuit and a sampling comparator;

[0020] The current sampling and tracking circuit adopts a sampling resistor, one end of which is grounded, and the other end is used as the input end of the current sampling and tracking circuit and connected to the source level of the lower tube of the MOS tube in the H-bridge circuit;

[0021] The first input terminal and the second input terminal of the sampling comparator are respectively connected to the input terminal of the current sampling and tracking circuit and the reference voltage source, and the output terminal of the sampling comparator is connected to the control unit.

[0022] The utility model has the following beneficial effects and advantages:

[0023] In the embodiment of the utility model, the CPLD controller controls the output of 8 control signals to the half-bridge drive circuit chip, and the half-bridge drive circuit chip controls the opening and closing of the MOS tube, thereby sequentially controlling the motor coils, so that the stepper motor operates according to the settings. At the same time, a current sampling and tracking circuit is added to sample the signal of the H-bridge circuit, and the sampled signal is fed back to the CPLD controller, and the CPLD controller processes the sampled feedback signal to realize a closed-loop control circuit.

[0024] When the stepper motor has abnormal current, the abnormal signal can be fed back to the main control chip in time, especially when the bus input voltage is high, which can improve the safety of the stepper motor driver.

[0025] Other beneficial effects of the present invention will be described in detail in the subsequent specific implementation sections. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a schematic diagram of the structure of the stepper motor driver of the utility model;

[0027] Among them, 1. signal input circuit unit 1, 2. control unit, 3. half-bridge drive circuit, 4. H-bridge circuit, 5. current sampling and tracking circuit, 6. bus rectifier filter circuit, 7. power conversion circuit, 8. temperature detection circuit;

[0028] Figure 2 The utility model is a schematic diagram of the half-bridge driving circuit of the stepper motor driver and the corresponding H-bridge circuit structure.

[0029] Figure 3 The utility model is a schematic diagram of the structure of the current sampling and tracking circuit of the stepper motor driver.

[0030] Figure 4 The utility model is a schematic diagram of the closed-loop control circuit structure of the stepping motor driver. DETAILED DESCRIPTION

[0031] The utility model is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0032] In order to make the purpose, technical scheme and advantages of the utility model clearer, the various embodiments of the utility model will be described in detail below in conjunction with the accompanying drawings. However, it can be understood by those skilled in the art that in the embodiments of the utility model, many details are provided to enable readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented.

[0033] The two-phase hybrid stepper motor driver consists of:

[0034] CPLD controller;

[0035] Half-bridge drive circuit: The core of the half-bridge drive circuit is the half-bridge drive circuit chip, which is divided into the first drive circuit, the second drive circuit, the third drive circuit, and the fourth drive circuit according to the order of connection with the stepper motor. The MOS tube circuits corresponding to the four half-bridge drive circuits constitute an H-bridge circuit.

[0036] The half-bridge driver circuit chip of each driver circuit corresponds to two MOS tubes in the H-bridge circuit. The input end of the half-bridge driver circuit chip is divided into upper and lower input ports HIN and LIN, both of which are connected to the output end of the CPLD controller to receive the control signal sent by the CPLD controller. The output end of the half-bridge driver circuit chip is divided into upper and lower output ports HO and LO, which are respectively connected to the gates of the upper and lower tubes of the MOS tube to send the control signal to the corresponding MOS tube. The drain of the upper tube of the MOS tube is connected to the bus voltage, the source of the lower tube of the MOS tube is connected to the input end of the current sampling and tracking circuit, the output end of the current sampling circuit is connected to the input end of the sampling comparator, and the output end of the sampling comparator is connected to the input end of the CPLD controller.

[0037] Optionally, the H-bridge circuit includes:

[0038] The upper tube source level of the MOS tube corresponding to the first drive circuit is connected to the lower tube drain level of the MOS tube. It is connected to one end of the first phase motor coil of the stepper motor; the upper tube source level of the MOS tube corresponding to the second drive circuit is connected to the lower tube drain level of the MOS tube. It is connected to the other end of the first phase motor coil of the stepper motor; the upper tube source level of the MOS tube corresponding to the third drive circuit is connected to the lower tube drain level of the MOS tube. It is connected to one end of the second phase motor coil of the stepper motor; the upper tube source level of the MOS tube corresponding to the fourth drive circuit is connected to the lower tube drain level of the MOS tube. It is connected to the other end of the second phase motor coil of the stepper motor. The MOS tube receives different levels of the output ports HO and LO of the half-bridge drive circuit chip, thereby controlling the opening and closing of the MOS tube, and then controlling the signal output to the motor coil. During the signal output process, it should be avoided that the upper and lower tube ports of the MOS tube are opened at the same time.

[0039] Optionally, the signal input circuit unit includes an external input interface, an isolation optocoupler and an inverter. During operation, the stepper motor driver needs to receive the control input signal from the superior motor control board through the external input interface. The external input signal can be divided into: speed control signal, direction control signal, enable control signal and driver fault signal based on the control type. Since the speed control signal is a constantly changing PWM pulse waveform control signal, it is very easy to be interfered by the external environment. The interference caused by the superior signal will affect the CPLD controller. Therefore, the control input signal and the CPLD controller need to be isolated by an isolation optocoupler. Since the signal after the optocoupler rises and falls slowly, the optocoupler post-stage needs to be shaped by a Schmidt inverter to form a more ideal digital signal transmitted to the CPLD controller to control the operation and start and stop of the stepper motor.

[0040] Optionally, the current sampling and tracking circuit includes a current sampling and tracking circuit and a sampling comparator. The current sampling and tracking circuit is composed of a sampling resistor, one end of the sampling resistor is grounded, and the other end of the sampling resistor is respectively connected to the source level of the lower tube of the MOS tube in the H-bridge circuit and the protection circuit end of the half-bridge drive circuit. The output end of the current sampling and tracking circuit is connected to the input end of the sampling comparator to sample the signal of the H-bridge circuit. After processing, the reference signal is input to the positive pole of the comparator, and the negative pole of the sampling comparator inputs the sampling signal. After the two are compared, a high level is output. When the current sampling signal is too large, the negative input voltage of the sampling comparator is greater than the positive voltage. After the two are compared, a low level is output. The output of the sampling comparator is connected to the CPLD controller to perform sampling current tracking.

[0041] Optionally, the bus rectifier filter circuit and the power conversion circuit include a rectifier bridge and a power conversion module. The bus rectifier filter circuit mainly converts the input AC220V AC voltage of the mains power into a DC310V DC voltage through two thermistors and a rectifier bridge. To meet the research and development requirements, the current after the rectifier bridge rectification can reach 20A. The DC310V DC voltage output after the rectifier bridge rectification is divided into two paths, one of which is used as the bus voltage to drive the motor, and the maximum current reaches more than 7A. The other path generates 12V and 5V DC voltages through the power conversion circuit. The 12V voltage is used to power the half-bridge drive circuit chip, the 5V voltage is used to power the sampling comparator and the logic circuit, and is converted to a 3.3V voltage through the LDO to power the CPLD controller. In order to suppress external interference on the power supply, the power conversion unit adopts an integrated power conversion module instead of building a transformer conversion circuit.

[0042] Optionally, the temperature detection circuit is composed of a temperature detection switch, the output port of the temperature detection switch is connected to the data port of the CPLD controller, and when the temperature of the driver circuit board is too high, the temperature detection switch sends a high level signal to the CPLD controller. The CPLD controller stops the motor by controlling the half-bridge drive circuit signal, thereby playing a protective role.

[0043] like Figure 1 As shown, the stepper motor driver includes: a signal input circuit unit 1, a control unit (CPLD) 2, a half-bridge drive circuit 3, an H-bridge circuit 4, a current sampling and tracking circuit 5, a bus rectifier and filter circuit 6, a power conversion circuit 7, and a temperature detection circuit 8.

[0044] The core of the stepper motor driver is the control unit (CPLD) 2, and all other circuits are designed around the control unit (CPLD) 2.

[0045] The input end of the half-bridge drive circuit chip in the half-bridge drive circuit 3 is divided into upper and lower input ports HIN and LIN, which are respectively connected to the output end of the CPLD controller 2. Since there are four half-bridge drive circuits in the stepper motor driver, the output end of the CPLD controller 2 sends 8 control signals. The output end of the half-bridge drive circuit chip in the half-bridge drive circuit 3 is divided into upper and lower output ports HO and LO, which are respectively connected to the gates of the upper and lower tubes of the corresponding MOS tubes in the H-bridge circuit 4, so there are 8 MOS tubes in the stepper motor driver.

[0046] The upper tube source level of the MOS tube corresponding to the first driving circuit in the H-bridge circuit 4 is connected to the lower tube drain level of the MOS tube. It is connected to one end of the first phase motor coil of the stepper motor; the upper tube source level of the MOS tube corresponding to the second driving circuit is connected to the lower tube drain level of the MOS tube. It is connected to the other end of the first phase motor coil of the stepper motor; the upper tube source level of the MOS tube corresponding to the third driving circuit is connected to the lower tube drain level of the MOS tube. It is connected to one end of the second phase motor coil of the stepper motor; the upper tube source level of the MOS tube corresponding to the fourth driving circuit is connected to the lower tube drain level of the MOS tube. The upper tube drain level of all MOS tubes in the H-bridge circuit 4 is connected to the bus voltage, and the lower tube source level of all MOS tubes is connected to the input end of the current sampling and tracking circuit.

[0047] The external input signals in the signal input circuit unit 1 are divided into speed control signals, direction control signals, enable control signals and driver fault signals. The four control signals are connected to the input ends of the corresponding four isolation optocouplers, the output ends of the four isolation optocouplers are connected to the input ends of the Schmidt inverters, and the output ends of the Schmidt inverters are connected to the input ends of the CPLD controller 2 as the upper signal input port of the CPLD controller 2.

[0048] One end of the sampling resistor of the current sampling and tracking circuit 5 is grounded, and the other end of the sampling resistor is respectively connected to the source of the lower tube of the MOS tube in the H-bridge circuit 4. The output end of the sampling resistor is connected to the negative input end of the sampling comparator to sample the signal of the H-bridge circuit 4, the positive input end of the sampling comparator is connected to the reference signal, and the output end of the sampling comparator is connected to the CPLD controller 2 to perform sampling current tracking.

[0049] The busbar rectifier filter circuit 6 is externally connected to AC220V alternating current, the positive and negative poles of the alternating current are connected to the input end of the rectifier bridge through two thermistors, and the output end of the rectifier bridge outputs a DC voltage of about DC310V.

[0050] The core of the power conversion circuit 7 is the power conversion module. The input end of the power conversion module inputs a DC voltage of about 310V, and outputs 12V and 5V DC voltages through the power conversion module. The 5V DC voltage is connected to the input end of the LDO, and the LDO converts the 5V DC voltage into a 3.3V DC voltage. The output end of the LDO is connected to the CPLD controller, and the 3.3V DC voltage is used to power the CPLD controller 2.

[0051] The output port of the temperature detection circuit 8 is connected to the data port of the CPLD controller 2. When the temperature of the driver circuit board is too high, the temperature detection circuit 8 sends a high level signal to the CPLD controller 2. The CPLD controller 2 stops the motor by controlling the signal of the half-bridge drive circuit 3, thereby playing a protective role.

[0052] Embodiment 1:

[0053] In this embodiment, the power supply of all devices can be divided into: DC12V, DC5V, DC3.3V according to the digital voltage. According to the digital voltage power supply device, the DC12V voltage is used to power the half-bridge drive circuit chip, the DC5V voltage is used to power the sampling comparator and the logic circuit, and the DC3.3V voltage is used to power the inverter, the temperature detection switch and the CPLD controller. All digital grounds need to be interconnected inside the driver.

[0054] In this example, the exemplary CPLD controller can be AGRV2K64 produced by Aogwin Microelectronics, and in the stepper motor driver with general military requirements, the CPLD controller can be HWD570MCQFP100 produced by Chengdu Sino Microelectronics Technology Co., Ltd. The power supply voltage of the two CPLD controllers is 3.3V. Although the package size, number of pins and pin definition are different, they are compatible with each other in terms of function.

[0055] In this example, the half-bridge drive circuit and the corresponding H-bridge circuit are as follows: Figure 2 shown.

[0056] An exemplary half-bridge driver chip can be selected from SLM21867 or SLM2106 produced by several semiconductor manufacturers. The driver power supply voltage of the two half-bridge driver chips is 12V, and the number of package pins, pin definitions, and package sizes are exactly the same, so they can be replaced in situ. It should be noted that the driving capability of SLM2106 is relatively weak. When it is selected as a half-bridge driver chip, the peripheral circuit of the half-bridge driver chip needs to be appropriately increased to improve the driving capability of the half-bridge driver chip.

[0057] The MOS tube in the exemplary H-bridge circuit can be TPW80R250A produced by Wuxi Ziguang Microelectronics Co., Ltd., and in the stepper motor driver with military requirements, the MOS tube can be JHCS15N80E1A produced by Jilin Huawei Electronics Co., Ltd. The two MOS tube packages have exactly the same number of pins, pin definitions, and package sizes, and can be replaced in situ.

[0058] In this example, the current sampling tracking circuit is as follows Figure 3 shown.

[0059] For example, the sampling comparator can be LM239 produced by Huaguan, and in the stepper motor driver with general military requirements, the sampling comparator can be CYJ139g produced by Chaoyang Microelectronics Co., Ltd. The supply voltage of the two comparators is 5V, the number and definition of package pins are the same, the package size is different, and the functions can be partially replaced.

[0060] In this example, the control method is as follows Figure 4 As shown, the driver control mode is closed-loop control. After the external control signal unit circuit is transmitted to the control unit, the control unit controls the half-bridge drive circuit to control the on and off of the MOS tube, thereby controlling the rotation of the stepper motor. At the same time, the current signal through the MOS tube is input to the negative input of the sampling comparator through the current sampling tracking circuit, and the reference signal is input to the positive input of the sampling comparator after processing. After the two are compared, they are fed back to the CPLD controller through the output end of the sampling comparator to form a closed-loop control.

[0061] Those skilled in the art will appreciate that the above-mentioned embodiments are combined embodiments of the present invention, and in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A two-phase stepper motor driver, characterized in that: include: A signal input circuit unit (1), a control unit (2), a half-bridge driving circuit (3), an H-bridge circuit (4), a current sampling and tracking circuit (5), a bus rectifier and filter circuit (6), a power conversion circuit (7), and a temperature detection circuit (8); The busbar rectifier filter circuit (6) is connected to the control unit (2) via a power conversion circuit (7), and the busbar rectifier filter circuit (6) is connected to the motor via an H-bridge circuit (4); the signal input circuit unit (1) and the temperature detection circuit (8) are both connected to the control unit (2); the control unit (2) is connected to the H-bridge circuit (4) via a half-bridge drive circuit (3); the control unit (2) is connected to the motor via a current sampling and tracking circuit (5); The half-bridge drive circuit (3) and the H-bridge circuit (4) form a drive circuit; there are four drive circuits, which are respectively connected to one end of the first phase coil, the other end of the first phase coil, one end of the second phase coil, and the other end of the second phase coil of the motor.

2. A two-phase stepper motor driver according to claim 1, characterized in that: The signal input circuit unit (1) comprises an isolation optical coupler and an inverter; The input end of the isolation optocoupler is connected to the external input interface, and the output end is connected to the input end of the inverter; The output end of the inverter is connected to the control unit (2).

3. A two-phase stepper motor driver according to claim 1, characterized in that: The half-bridge driving circuit (3) adopts a half-bridge driver chip; The input end of the half-bridge driver chip is connected to the control unit (2), and the upper output end HO and the lower output end LO are respectively connected to the upper tube gate and the lower tube gate of the MOS tube in the H-bridge circuit (4).

4. A two-phase stepper motor driver according to claim 1, characterized in that: The H-bridge circuit (4) comprises a MOS tube upper tube and a MOS tube lower tube; The gate of the upper tube of the MOS tube and the gate of the lower tube of the MOS tube are respectively connected to the upper output terminal HO and the lower output terminal LO of the half-bridge driver chip in the half-bridge driving circuit (3) through resistor and capacitor devices; the upper tube source of the MOS tube and the lower tube drain of the MOS tube are connected and serve as the output terminal of the H-bridge circuit (4); the upper tube source of the MOS tube corresponding to the first driving circuit and the lower tube drain of the MOS tube are connected and connected to one end of the first phase motor coil of the stepping motor; the upper tube source of the MOS tube corresponding to the second driving circuit and the lower tube drain of the MOS tube are connected and connected to the other end of the first phase motor coil of the stepping motor; the upper tube source of the MOS tube corresponding to the third driving circuit and the lower tube drain of the MOS tube are connected and connected to one end of the second phase motor coil of the stepping motor; the upper tube source of the MOS tube corresponding to the fourth driving circuit and the lower tube drain of the MOS tube are connected and connected to the other end of the second phase motor coil of the stepping motor; The drain of the upper tube of the MOS tube is connected to the power supply, and the source of the lower tube of the MOS tube is grounded via a sampling resistor in the current sampling and tracking circuit.

5. A two-phase stepper motor driver according to claim 4, characterized in that: The resistor and capacitor device is a resistor, a capacitor, or a circuit consisting of a resistor and a capacitor.

6. A two-phase stepper motor driver according to claim 1, characterized in that: The four MOS tubes corresponding to the driving circuits form a complete H-bridge circuit.

7. A two-phase stepper motor driver according to claim 1, characterized in that: The current sampling and tracking circuit (5) comprises a current sampling and tracking circuit and a sampling comparator; The current sampling and tracking circuit uses a sampling resistor, one end of which is grounded, and the other end of which serves as an input end of the current sampling and tracking circuit and is connected to the source of the lower tube of the MOS tube in the H-bridge circuit (4); The first input terminal and the second input terminal of the sampling comparator are respectively connected to the input terminal of the current sampling and tracking circuit and the reference voltage source, and the output terminal of the sampling comparator is connected to the control unit (2).