A multi-channel stepping motor driving circuit
By designing a multi-channel stepper motor drive circuit and using the power supply structure of the control component and the drive component, the problems of complexity and maintenance difficulty of multiple motor drives in the existing technology are solved, and simple control and maintenance of multiple stepper motors are realized. maintain.
Patent Information
- Application Number
- CN201811185972.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-10-11
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2038-10-11
AI Technical Summary
The existing motor drive circuit is mainly used for a single motor, and it is difficult to effectively control multiple motors, making the motor drive circuit complex and inconvenient for later operation and maintenance.
A multi-channel stepper motor drive circuit is designed, including a control component, a drive component and a power supply component. The control component and drive component operate normally through the power supply component. The control component receives external input and outputs control signals, and the stepper driver chip receives signals and drives motors, simplifying control and maintenance of multiple stepper motors.
It achieves convenient control and maintenance of multiple stepper motors, reduces maintenance complexity, and improves the flexibility and scalability of the system.
Smart Images

Figure CN109245638B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of motor driving, and in particular to a multi-channel stepping motor driving circuit. Background Art
[0002] At present, motors are widely used as actuators in various automatic control systems. If only a constant voltage is connected to the motor terminals during operation, the working parameters of the motor cannot be controlled. In practice, the motor needs to control the speed, torque, position, etc., and the voltage and current need to be adjusted at any time.
[0003] If you need to control the working parameters of the motor, you need to generate a control signal. This control signal is given by the controller (such as MCU or DSP) and cannot directly change the voltage and current. Therefore, you need to add a motor drive circuit to actually convert the control signal into a voltage and current signal applied to the motor.
[0004] The above-mentioned existing technical solutions have the following defects: the existing motor driver generally drives only one motor, but when multiple motors need to be driven, a large number of motor drivers are required, which makes the entire motor drive circuit more complicated and inconvenient for subsequent operation and maintenance. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention provides a multi-channel stepper motor drive circuit, which is convenient for subsequent operation and maintenance.
[0006] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a multi-channel stepper motor drive circuit, comprising a control component for receiving external input, the control component is electrically connected to a drive component for driving a stepper motor to work, and also includes a power supply component for powering the control component and the drive component, the drive component and the control component are both electrically connected to the power supply component, the drive component includes a plurality of stepper drive chips and a peripheral setting circuit electrically connected to the stepper drive chip, and the stepper drive chip is electrically connected to the control component.
[0007] By adopting the above technical solution, the power supply component supplies power to the control component and the drive component, so that the control component and the drive component can operate normally. The control component receives external input and processes the external input. After processing the external input, the control component outputs a control signal to the drive component. The stepper drive chip receives the control signal and drives the stepper motor, thereby controlling multiple stepper motors. When there is a problem with the operation of the stepper motor, the worker only needs to repair the drive component, which facilitates the subsequent operation and maintenance.
[0008] The present invention is further configured as follows: the control component includes a single-chip microcomputer chip, a peripheral circuit electrically connected to the single-chip microcomputer chip, a transceiver circuit electrically connected to the single-chip microcomputer chip, a pulse output circuit electrically connected to the single-chip microcomputer chip and electrically connected to the stepper drive chip, and a control signal output circuit electrically connected to the single-chip microcomputer chip and electrically connected to the stepper drive chip.
[0009] By adopting the above technical solution, the transceiver circuit receives external input and transmits it to the single-chip microcomputer chip, so that the single-chip microcomputer chip can process external signals. After processing, the single-chip microcomputer chip outputs control signals to the pulse output circuit and the control signal output circuit, thereby controlling the stepper drive chip and realizing the operation of the stepper motor.
[0010] The present invention is further configured as follows: the transceiver circuit includes an eight-pin transceiver chip electrically connected to the single-chip chip, a capacitor C124 electrically connected to pin 8 of the transceiver chip, a resistor R173 and a resistor R181 connected in series to pin 7 of the transceiver chip, and a resistor R174 and a resistor R182 connected in series to pin 6 of the transceiver chip; pins 1 to 4 of the transceiver chip are all electrically connected to the single-chip chip, pin 5 of the transceiver chip is grounded, and pin 8 is connected to a power supply component.
[0011] By adopting the above technical solution, the transceiver chip receives external input and converts it into a data form that can be processed by the single-chip microcomputer chip, so that the single-chip microcomputer chip can output corresponding control signals according to the external input in a timely manner.
[0012] The present invention is further configured as follows: the controlled signal output circuit includes a pulse signal circuit arranged between the single-chip microcomputer chip and the stepper drive chip, a direction signal circuit arranged between the pulse signal circuit and the stepper drive chip, and an enable signal circuit arranged between the pulse signal circuit and the stepper drive chip.
[0013] By adopting the above technical solution, under the action of the pulse signal circuit, the enable signal circuit and the direction signal circuit, the stepper motor can perform corresponding work according to different control signals.
[0014] The present invention is further configured as follows: the pulse signal circuit includes a first Schmitt-trigger inverter, a second Schmitt-trigger inverter and a third Schmitt-trigger inverter; the first Schmitt-trigger inverter, the second Schmitt-trigger inverter and the third Schmitt-trigger inverter are all 6-way Schmitt-trigger inverters; the 6-way input terminals of the first Schmitt-trigger inverter are connected to a single-chip microcomputer chip, and the 6-way output terminals are connected to a stepper drive chip; the 6-way input terminals of the second Schmitt-trigger inverter are connected to a single-chip microcomputer chip, and the 6-way output terminals are connected to a stepper drive chip; the 6-way input terminals of the third Schmitt-trigger inverter are connected to a single-chip microcomputer chip, and 4-way output terminals are connected to a stepper drive chip; and the remaining two channels are connected to the direction signal circuit and the enable signal circuit.
[0015] By adopting the above technical solution, the first Schmitt trigger inverter, the second Schmitt trigger inverter and the third Schmitt trigger inverter convert the slowly changing input signal into a clear and jitter-free output signal, thereby making the control of the stepper motor more precise.
[0016] The present invention is further configured as follows: the first Schmitt trigger inverter, the second Schmitt trigger inverter and the third Schmitt trigger inverter are electrically connected to the stepper drive chip via a photoelectric coupler.
[0017] By adopting the above technical solution, the electrical isolation effect of the photoelectric coupler makes it difficult for circuits to interfere with each other, thereby making the control of the stepper motor more precise.
[0018] The present invention is further configured as follows: the direction signal circuit includes a photoelectric coupler P2, a resistor R8, a resistor R11 and a capacitor C12, the positive electrode of the light-emitting diode in the photoelectric coupler P2 is electrically connected to the resistor R8, the resistor R8 is electrically connected to the power supply component, the negative electrode of the light-emitting diode in the photoelectric coupler P2 is electrically connected to the output end of the third Schmitt trigger inverter, the collector of the photosensitive transistor in the photoelectric coupler P2 is electrically connected to the power supply component, the emitter is electrically connected to the resistor R11 and the capacitor C12, the resistor R11 and the capacitor C12 are grounded, and the end of the capacitor C12 away from the ground end is the direction signal output end, which is electrically connected to the stepping drive chip.
[0019] By adopting the above technical solution, when the cathode of the light-emitting diode in the photocoupler P2 is at a low level, the light-emitting diode emits light, thereby turning on the phototransistor, so that the direction signal output end outputs a voltage to the stepper drive chip, so that the stepper drive chip generates a control action to control the rotation direction of the stepper motor.
[0020] The present invention is further configured as follows: the enable signal circuit includes a photocoupler P1, a resistor R4, a resistor R5 and a capacitor C7, the positive electrode of the light-emitting diode in the photocoupler P1 is electrically connected to the resistor R4, the resistor R4 is electrically connected to the power supply component, the negative electrode of the light-emitting diode in the photocoupler P1 is electrically connected to the output end of the third Schmitt trigger inverter, the collector of the phototransistor in the photocoupler P1 is electrically connected to the power supply component, the emitter is electrically connected to the resistor R5 and the capacitor 7, the resistor 5 and the capacitor C7 are grounded, and the end of the capacitor C7 away from the ground end is the enable signal output end, which is electrically connected to the stepper drive chip.
[0021] By adopting the above technical solution, when the cathode of the light-emitting diode in the photocoupler P1 is at a low level, the light-emitting diode emits light, thereby turning on the phototransistor, so that the enable signal output terminal outputs a voltage to the stepper drive chip, so that the stepper drive chip generates a control action, enabling the stepper motor to run.
[0022] The present invention is further configured as follows: the power supply component includes a first voltage output circuit and a second voltage output circuit, the first voltage output circuit includes a first step-down chip and a first voltage stabilizing chip, the first step-down chip is electrically connected to the first voltage stabilizing chip, the second voltage output circuit includes a second step-down chip and a second voltage stabilizing chip, the second step-down chip is electrically connected to the second voltage stabilizing chip.
[0023] By adopting the above technical solution, the first voltage output circuit and the second voltage output circuit output different voltage signals, so as to supply power to chips with different voltage requirements, thereby enabling the stepper motor to operate normally.
[0024] In summary, the present invention has the following beneficial effects:
[0025] By setting up a drive component and a control component, the control component transmits a control signal to the drive component, and the drive component controls the stepper motor through the control signal. When the number of stepper motors increases, only the number of drive components needs to be increased, thereby facilitating subsequent operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a structural block diagram of the present invention;
[0027] Figure 2 A system block diagram showing a first voltage output circuit and a second voltage output circuit;
[0028] Figure 3 is a circuit diagram of a first voltage output circuit;
[0029] Figure 4 is a circuit diagram of a second voltage output circuit;
[0030] Figure 5 To reflect the system block diagram of the microcontroller chip and peripheral circuits;
[0031] Figure 6 A circuit diagram for the control component;
[0032] Figure 7 A circuit diagram of a transceiver circuit;
[0033] Figure 8 is a circuit diagram of a pulse output circuit;
[0034] Fig. 9 A circuit diagram of a control signal output circuit;
[0035] Fig.10 A system block diagram of the drive components;
[0036] Fig.11 The circuit diagram of the drive component.
[0037] Figure numerals: 1. control component; 11. single-chip microcomputer chip; 12. peripheral circuit; 13. transceiver circuit; 14. pulse output circuit; 15. control signal output circuit; 151. pulse signal circuit; 152. direction signal circuit; 153. enable signal circuit; 2. drive component; 21. stepper drive chip; 22. peripheral setting circuit; 23. photocoupler; 3. power supply component; 31. first voltage output circuit; 311. first step-down chip; 312. first voltage stabilizing chip; 32. second voltage output circuit; 321. second step-down chip; 322. second voltage stabilizing chip. DETAILED DESCRIPTION
[0038] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0039] Reference Figure 1 , is a multi-channel stepper motor drive circuit disclosed in the present invention, including a control component 1, a drive component 2 and a power supply component 3, the control component 1 is electrically connected to the drive component 2, and the drive component 2 and the control component 1 are both electrically connected to the power supply component 3.
[0040] refer to Figure 2 and Figure 3The power supply component 3 includes a first voltage output circuit 31 and a second voltage output circuit 32. The first voltage output circuit 31 includes a first buck chip 311 and a first voltage regulator chip 312. The model of the first buck chip 311 is XL7005A, and the signal of the first voltage regulator chip 312 is LM2576HVS-5.0. There are seven capacitors and a transient suppression diode in parallel on the 1st and 7th pins of the first buck chip 311. The model of the transient suppression diode is SMCJ58CA. The 5th, 6th, and 7th pins of the first buck chip 311 are connected and grounded. The end of the transient suppression diode away from the ground end is connected to a Schottky rectifier tube, model MBRD20100CT. The transient suppression diode is electrically connected to the 3rd pin of the Schottky rectifier tube. The 1st and 2nd pins of the Schottky rectifier tube are connected and then connected to the input Vin1. The end of the transient suppression diode away from the ground end outputs a 24.1V voltage. Pin 4 and pin 8 of the first buck chip 311 are connected to ground, and pin 2 of the first buck chip 311 is electrically connected to a diode D1 and an inductor L1, the positive electrode of the diode D1 is grounded, and the end of the inductor L1 away from the diode D1 is connected in series with a resistor R156 and a resistor R157, the end of the resistor R157 away from the resistor R156 is grounded, and the end of the resistor R156 away from the resistor R157 is electrically connected to a capacitor C109, and the two ends of the capacitor C109 are respectively located at the connection midpoint of the resistor R156, the resistor R156 and the resistor R157. The end of the inductor L1 away from the diode D1 is also electrically connected to four capacitors connected in parallel and grounded, and the four capacitors are capacitor C110, capacitor C111, capacitor C112 and capacitor C113, and the end of the capacitor C113 away from the ground end outputs a 5V voltage.
[0041] Pin 1 of the first voltage regulator chip 312 is connected to 24.1V, pins 5 and 3 are grounded, pin 2 is electrically connected to a diode D5 with a grounded positive electrode and an inductor L4, the end of the inductor L4 away from the diode D5 is electrically connected to a capacitor CE40, and the capacitor CE40 is grounded, pin 4 is electrically connected to pin 2, and is also electrically connected to the midpoint of the connection between the inductor L4 and the capacitor CE40, and the end of the capacitor CE40 away from the ground end outputs a 5V voltage.
[0042] refer to Figure 2 and Figure 4The second voltage output circuit 32 includes a second buck chip 321 and a second voltage regulator chip 322. The model of the second buck chip 321 is XL7005A, and the signal of the second voltage regulator chip 322 is LM2576S-3.3. Capacitors C115 and CE39 are connected in parallel to pins 1 and 7 of the second buck chip 321. Capacitors C115 and CE39 are grounded at the same time, and the end of capacitor CE39 away from the ground end outputs a voltage of 24.2V. The two ends of capacitor CE39 are connected to common mode inductor L3, pins 3 and 4 of common mode inductor L3 are electrically connected to the two ends of capacitor CE39, pins 1 and 2 of common mode inductor L3 are connected to transient suppression diode, the model of transient suppression diode is SMBJ48CA, one end of transient suppression diode is electrically connected to diode D4 and the first fuse, the other end is electrically connected to the second fuse, one end of the first fuse away from the transient suppression diode is connected to input Vin2, and one end of the second fuse away from the transient suppression diode is connected to input Vss2. Pins 5, 6, and 7 of the second buck chip 321 are connected and grounded. The 4th and 8th pins of the second buck chip 321 are connected to the ground, and the 2nd pin of the second buck chip 321 is electrically connected to the diode D2 and the inductor L2, the positive electrode of the diode D2 is grounded, and the end of the inductor L2 away from the diode D2 is connected in series with the resistor R158 and the resistor R159, the end of the resistor R158 away from the resistor R159 is grounded, and the end of the resistor R158 away from the resistor R159 is electrically connected to the capacitor C116, and the two ends of the capacitor C116 are respectively located at the connection midpoint of the resistor R158, the resistor R158 and the resistor R159. The end of the inductor L2 away from the diode D2 is also electrically connected to four capacitors connected in parallel and grounded, and the four capacitors are capacitor C117, capacitor C118, capacitor C119 and capacitor C120, and the end of the capacitor C120 away from the ground end outputs a 3.3V voltage.
[0043] Pin 1 of the second voltage regulator chip 322 is connected to 24.2V, pins 5 and 3 are grounded, pin 2 is electrically connected to a diode D6 and an inductor L5 with their positive poles grounded, the end of the inductor L5 away from the diode D6 is electrically connected to a capacitor CE41, and the capacitor CE41 is grounded, pin 4 is electrically connected to pin 2, and is also electrically connected to the midpoint of the connection between the inductor L5 and the capacitor CE41, and the end of the capacitor CE41 away from the ground end outputs a 3.3V voltage.
[0044] refer to Figure 5 and Figure 6, the control component 1 includes a single-chip microcomputer chip 11, a peripheral circuit 12, a transceiver circuit 13, a pulse output circuit 14 and a control signal output circuit 15. The model of the single-chip microcomputer chip 11 is STM32F446RC, and the peripheral circuit 12 includes an 8MHZ crystal oscillator Y1, a capacitor C2, a capacitor C3, a resistor R2, a capacitor C5, a capacitor C6, a capacitor C11, a capacitor C10, a resistor R7, a capacitor C8, a capacitor C9, a capacitor C4, a capacitor C1 and a resistor R1, and the two ends of the crystal oscillator Y1 are electrically connected to the 5th and 6th pins of the single-chip microcomputer chip 11, respectively, and the two ends of the crystal oscillator Y1 are electrically connected to the capacitor C2 and the capacitor C3 respectively, and the capacitor C2 and the capacitor C3 are grounded at one end away from the crystal oscillator Y1. After the resistor R2 is electrically connected to the 7th pin of the single-chip microcomputer chip 11, a 3.3V voltage is connected, and the 12th pin of the single-chip microcomputer chip 11 is grounded, and the two ends of the capacitor C5 are electrically connected to the 7th and 12th pins of the single-chip microcomputer chip 11. Pin 13 of the single-chip microcomputer chip 11 is connected to 3.3V, and pin 13 of the single-chip microcomputer chip 11 is electrically connected to capacitor C6, and one end of capacitor C6 away from pin 13 is grounded. Pin 18 of the single-chip microcomputer chip 11 is grounded, and pin 19 is connected to 3.3V voltage, and both ends of capacitor C11 are electrically connected to pins 18 and 19 of the single-chip microcomputer chip 11. Capacitor C10 and resistor R7 are both electrically connected to pin 20 of the single-chip microcomputer chip 11, and one end of capacitor C10 and resistor R7 away from pin 20 of the single-chip microcomputer chip 11 is grounded. Capacitor C9 is electrically connected to pin 30 of the single-chip microcomputer chip 11 and is grounded, and both ends of capacitor C8 are electrically connected to pins 31 and 32 of the single-chip microcomputer chip 11, respectively, and pin 31 of the single-chip microcomputer chip 11 is grounded, and pin 32 is connected to 3.3V. The two ends of capacitor C4 are electrically connected to pins 47 and 48 of the single-chip microcomputer chip 11, respectively. Pin 47 of the single-chip microcomputer chip 11 is grounded, and pin 48 is connected to 3.3V. The two ends of capacitor C1 are electrically connected to pins 63 and 64 of the single-chip microcomputer chip 11, respectively. Pin 63 of the single-chip microcomputer chip 11 is grounded, and pin 64 is connected to 3.3V. Resistor R1 is electrically connected to pin 60 of the single-chip microcomputer chip 11.
[0045] refer to Figure 5 and Figure 7 , the transceiver circuit 13 is provided with two groups, and the circuit structures of the two groups of transceiver circuits 13 are the same. The transceiver circuit 13 includes a transceiver chip, a capacitor C124, a resistor R173, a resistor R181, a resistor R174 and a resistor R182. The model of the transceiver chip is SN65HVD08D, and the 5th pin of the transceiver chip is grounded, and the 8th pin is connected to a 3.3V voltage. The 1st to 4th pins of the transceiver chip are electrically connected to the single-chip microcomputer chip 11, the capacitor C124 is electrically connected to the 8th pin of the transceiver chip, the resistor R173 and the resistor R181 are connected in series to the 7th pin of the transceiver chip, and the resistor R174 and the resistor R182 are connected in series to the 6th pin of the transceiver chip.
[0046] refer to Figure 5 and Figure 8, the pulse output circuit 14 includes a resistor R190, a resistor R178, a capacitor C130, an operational amplifier U24, a capacitor C128, a resistor R180, a photocoupler P19, a photocoupler P20, a photocoupler U27, an operational amplifier U25, a resistor R177, a capacitor C129, a resistor R191, a resistor R192 and a resistor R179, the model of the operational amplifier U24 is LMV358IDR, and the model of the operational amplifier U25 is LMV358IDR. One end of the resistor R178 is electrically connected to the single-chip microcomputer chip 11, and the other end is electrically connected to the 3rd pin of the operational amplifier U24, and the capacitor C130 is electrically connected to the 3rd pin of the operational amplifier U24 and then grounded. The two ends of the capacitor C128 are electrically connected to the 1st pin and the 2nd pin of the operational amplifier U24 respectively, and the resistor R190 is electrically connected to the 2nd pin of the operational amplifier U24 and then grounded. One end of the resistor R180 is electrically connected to pin 1 of the operational amplifier U24, and the other end is electrically connected to pin 1 of the photocoupler P19 and pin 2 of the photocoupler U27. The end of the capacitor C128 away from pin 1 of the operational amplifier U24 is electrically connected to pin 3 of the photocoupler P19 and pin 4 of the photocoupler U27. Pin 4 of the photocoupler is connected to 3.3V, pin 2 is connected to pin 1 of the photocoupler P20, pin 4 of the photocoupler P20 is connected to 5V, pin 2 is grounded, and pin 3 is connected to pin 5 of the photocoupler U27. Pin 1 of the photocoupler U27 is grounded, pin 3 is connected to 3.3V, and pin 6 is connected to 5V. Pin 3 of the operational amplifier U25 is electrically connected to pin 5 of the photocoupler U27 and pin 3 of the photocoupler P20. The resistor R177 and the capacitor C129 are both electrically connected to pin 5 of the photocoupler U27 and grounded. Pin 2 of the operational amplifier U25 is electrically connected to pin 1, resistors R191 and R192 are connected in series and then grounded, and the end of resistor R191 away from resistor R192 is electrically connected to pin 1 of the operational amplifier U25. Pin 5 of the operational amplifier is electrically connected to the midpoint of the connection between resistors R191 and R192, pins 6 and 7 of the operational amplifier are electrically connected, and resistor R179 is electrically connected to pin 7 of the operational amplifier and then connected to drive component 2.
[0047] refer to Figure 5 and Fig. 9The control signal output circuit 15 includes a pulse signal circuit 151, a direction signal circuit 152 and an enable signal circuit 153. The pulse signal circuit 151 includes a first Schmitt trigger inverter, a second Schmitt trigger inverter and a third Schmitt trigger inverter. The first Schmitt trigger inverter, the second Schmitt trigger inverter and the third Schmitt trigger inverter are all 6-way Schmitt trigger inverters. The 6-way input terminal of the first Schmitt trigger inverter is connected to the single-chip chip 11, and the 6-way output terminal is connected to the driving component 2. The 7-pin of the first Schmitt trigger inverter is grounded, the 14-pin is connected to 3.3V, and the 14-pin is electrically connected to the capacitor C121. The 6-way input terminal of the second Schmitt trigger inverter is connected to the single-chip chip 11, the 6-way output terminal is connected to the driving component 2, the 7-pin of the second Schmitt trigger inverter is grounded, the 14-pin is connected to 3.3V, and the 14-pin is electrically connected to the capacitor C122. The 6 input terminals of the third Schmitt-trigger inverter are connected to the single-chip microcomputer chip 11, the 4 output terminals are connected to the driving component 2, and the remaining two are connected to the direction signal circuit 152 and the enable signal circuit 153. The 7th pin of the third Schmitt-trigger inverter is grounded, the 14th pin is connected to 3.3V, and the 14th pin is electrically connected to the capacitor C123.
[0048] The direction signal circuit 152 includes a photocoupler P2, a resistor R8, a resistor R11 and a capacitor C12. The positive electrode of the light-emitting diode in the photocoupler P2 is electrically connected to the resistor R8, the resistor R8 is electrically connected to the power supply component 3, the negative electrode of the light-emitting diode in the photocoupler P2 is electrically connected to the output end of the third Schmitt trigger inverter, the collector of the phototransistor in the photocoupler P2 is electrically connected to the power supply component 3, and the emitter is electrically connected to the resistor R11 and the capacitor C12. The resistor R11 and the capacitor C12 are grounded, and the end of the capacitor C12 away from the ground end is the direction signal output end, which is electrically connected to the drive component 2.
[0049] The enable signal circuit 153 includes a photocoupler P1, a resistor R4, a resistor R5 and a capacitor C7. The positive electrode of the light-emitting diode in the photocoupler P1 is electrically connected to the resistor R4, the resistor R4 is electrically connected to the power supply component 3, the negative electrode of the light-emitting diode in the photocoupler P1 is electrically connected to the output end of the third Schmitt trigger inverter, the collector of the phototransistor in the photocoupler P1 is electrically connected to the power supply component 3, and the emitter is electrically connected to the resistor R5 and the capacitor 7. The resistor 5 and the capacitor C7 are grounded, and the end of the capacitor C7 away from the ground end is the enable signal output end, which is electrically connected to the drive component 2.
[0050] refer to Fig.10 and Fig.11, the driving component 2 includes 16 stepper drive chips 21 and a peripheral setting circuit 22 of the stepper drive chip, and the model of the stepper drive chip 21 is TB67S109AFTG. The first Schmitt trigger inverter is electrically connected to 4 stepper drive chips 21 through a photoelectric coupler 23, the second Schmitt trigger inverter is electrically connected to 4 stepper drive chips 21 through a photoelectric coupler 23, and the third Schmitt trigger inverter is electrically connected to 4 stepper drive chips 21 through a photoelectric coupler 23, and the model of the photoelectric coupler 23 is TLP2309. A resistor is electrically connected to pin 1 of the photoelectric coupler 23, and the resistor is electrically connected to the pulse signal circuit 151. Pin 3 of the photoelectric coupler 23 is grounded, pin 4 is connected to 0V, pin 5 is electrically connected to the stepper drive chip 21, and pin 6 is connected to 5V. Pin 6 of the photoelectric coupler 23 is electrically connected to a capacitor, and the capacitor is connected to 0V. Pin 5 of the photoelectric coupler 23 is electrically connected to a resistor, and the resistor is connected to 5V.
[0051] The implementation principle of this embodiment is: the power supply component 3 supplies power to the control component 1 and the drive component 2, so that the control component 1 and the drive component 2 can operate normally, the control component 1 receives external input and processes the external input, and the control component 1 outputs a control signal to the drive component 2 after processing the external input, and the stepper drive chip receives the control signal and drives the stepper motor, thereby controlling multiple stepper motors. When there is a problem with the operation of the stepper motor, the worker only needs to repair the drive component 2, which facilitates the subsequent operation and maintenance.
[0052] The embodiments of this specific implementation method are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A multi-channel stepper motor drive circuit, characterized in that: The invention comprises a control component (1) for receiving external input, the control component (1) being electrically connected to a drive component (2) for driving a stepper motor, and a power supply component (3) for supplying power to the control component (1) and the drive component (2), the drive component (2) and the control component (1) being electrically connected to the power supply component (3), the drive component (2) comprising a plurality of stepper drive chips and a peripheral setting circuit electrically connected to the stepper drive chips, and the stepper drive chips being electrically connected to the control component (1); The control component (1) comprises a single-chip microcomputer chip (11), a peripheral circuit (12) electrically connected to the single-chip microcomputer chip (11), a transceiver circuit (13) electrically connected to the single-chip microcomputer chip (11), a pulse output circuit (14) electrically connected to the single-chip microcomputer chip (11) and electrically connected to the stepper drive chip, and a control signal output circuit (15) electrically connected to the single-chip microcomputer chip (11) and electrically connected to the stepper drive chip; The controlled signal output circuit (15) comprises a pulse signal circuit (151) arranged between the single-chip microcomputer chip (11) and the stepping drive chip, a direction signal circuit (152) arranged between the pulse signal circuit (151) and the stepping drive chip, and an enable signal circuit (153) arranged between the pulse signal circuit (151) and the stepping drive chip; The pulse signal circuit (151) comprises a first Schmitt-trigger inverter, a second Schmitt-trigger inverter and a third Schmitt-trigger inverter; the first Schmitt-trigger inverter, the second Schmitt-trigger inverter and the third Schmitt-trigger inverter are all 6-way Schmitt-trigger inverters; the 6-way input terminals of the first Schmitt-trigger inverter are connected to a single-chip microcomputer chip (11), and the 6-way output terminals are connected to a driving component (2); the 6-way input terminals of the second Schmitt-trigger inverter are connected to a single-chip microcomputer chip (11), and the 6-way output terminals are connected to a driving component (2); the 6-way input terminals of the third Schmitt-trigger inverter are connected to a single-chip microcomputer chip (11), and the 4-way output terminals are connected to the driving component (2); and the remaining two are respectively connected to the direction signal circuit (152) and the enable signal circuit (153).
2. The multi-channel stepper motor driving circuit according to claim 1, characterized in that: The transceiver circuit (13) comprises an eight-pin transceiver chip electrically connected to the single-chip microcomputer chip (11), a capacitor C124 electrically connected to pin 8 of the transceiver chip, a resistor R173 and a resistor R181 connected in series to pin 7 of the transceiver chip, and a resistor R174 and a resistor R182 connected in series to pin 6 of the transceiver chip, pins 1 to 4 of the transceiver chip are all electrically connected to the single-chip microcomputer chip (11), pin 5 of the transceiver chip is grounded, and pin 8 is connected to a power supply component (3).
3. The multi-channel stepper motor driving circuit according to claim 1, characterized in that: The first Schmitt trigger inverter, the second Schmitt trigger inverter and the third Schmitt trigger inverter are electrically connected to the stepper drive chip through a photoelectric coupler.
4. The multi-channel stepper motor driving circuit according to claim 1, characterized in that: The direction signal circuit (152) comprises a photoelectric coupler P2, a resistor R8, a resistor R11 and a capacitor C12, wherein the positive electrode of the light-emitting diode in the photoelectric coupler P2 is electrically connected to one end of the resistor R8, the other end of the resistor R8 is electrically connected to the power supply component (3), the negative electrode of the light-emitting diode in the photoelectric coupler P2 is electrically connected to one output end of the third Schmitt trigger inverter, the collector of the photosensitive transistor in the photoelectric coupler P2 is electrically connected to the power supply component (3), the emitter is electrically connected to one end of the resistor R11 and one end of the capacitor C12, the other end of the resistor R11 and the other end of the capacitor C12 are grounded, and the end of the capacitor C12 away from the ground end is the direction signal output end, which is electrically connected to the stepping drive chip.
5. The multi-channel stepper motor driving circuit according to claim 1, characterized in that: The enable signal circuit (153) comprises a photoelectric coupler P1, a resistor R4, a resistor R5 and a capacitor C7, wherein the positive electrode of the light emitting diode in the photoelectric coupler P1 is electrically connected to one end of the resistor R4, the other end of the resistor R4 is electrically connected to the power supply component (3), the negative electrode of the light emitting diode in the photoelectric coupler P1 is electrically connected to one output end of the third Schmitt trigger inverter, the collector of the photosensitive transistor in the photoelectric coupler P1 is electrically connected to the power supply component (3), the emitter is electrically connected to one end of the resistor R5 and one end of the capacitor C7, the other end of the resistor R5 and the other end of the capacitor C7 are grounded, and the end of the capacitor C7 away from the ground end is the enable signal output end, which is electrically connected to the stepper drive chip.
6. The multi-channel stepper motor driving circuit according to claim 1, characterized in that: The power supply component (3) comprises a first voltage output circuit (31) and a second voltage output circuit (32); the first voltage output circuit (31) comprises a first voltage-step-down chip (311) and a first voltage-stabilizing chip (312); the first voltage-step-down chip (311) is electrically connected to the first voltage-stabilizing chip (312); the second voltage output circuit (32) comprises a second voltage-step-down chip (321) and a second voltage-stabilizing chip (322); the second voltage-step-down chip (321) is electrically connected to the second voltage-stabilizing chip (322).
Citation Information
Patent Citations
Driving control circuit of stepping motor
CN103580567A
Multi-path stepping motor driving circuit
CN208971427U
