A motor drive interface conversion module

By designing the motor drive interface conversion module in the financial automatic service terminal equipment, the transparent conversion from the stepper motor drive interface to the DC motor drive interface is achieved, which solves the cost and compatibility issues during equipment upgrades and realizes the motor direction, speed and Precise control of position.

CN106301112BActive Publication Date: 2024-10-01CASHWAY FINTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201610740092.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2016-08-26
Publication Date
2024-10-01
Estimated Expiration
2036-08-26

AI Technical Summary

Technical Problem

When the drive motor of existing financial automatic service terminal equipment changes, the control motherboard needs to be redesigned, resulting in high cost and compatibility issues, and it is difficult to achieve transparent conversion from a stepper motor drive interface to a DC motor drive interface.

Method used

Design a motor drive interface conversion module, including signal detection circuit, DC motor drive circuit, position speed detection circuit, main current return circuit and MCU controller, to realize the analysis of stepper motor drive signals and the direction, speed and position of DC motors Control to achieve completely transparent interface conversion.

Benefits of technology

It achieves transparent conversion from unipolar stepper motor drive interface to brushed DC motor drive interface, reduces the cost and time of equipment upgrades, and ensures precise control of motor direction, speed and position.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN106301112B_ABST
    Figure CN106301112B_ABST
Patent Text Reader

Abstract

The present invention relates to a motor drive interface conversion module, comprising: a signal detection circuit, which is used to detect the drive signal of the stepper motor drive interface and convert it into a signal sequence to input into an MCU controller; a DC motor drive circuit, which is used to drive and control the direction of the DC motor; a position speed detection circuit, which is used to detect the speed and position of the DC motor and input the position speed detection signal into the MCU controller; a main current return circuit, which is used to return the DC motor current to the stepper motor drive interface; and an MCU controller, which is used to parse the stepper motor drive signal, determine the stepper motor drive direction and speed, return the main current return circuit, and control the synchronization of the DC motor and the stepper motor drive. The present invention realizes a completely transparent conversion from a unipolar stepper motor drive interface to a brushed DC motor drive interface, which can not only realize the DC motor direction control, but also realize the speed and position control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of motor interface conversion in a financial automatic service terminal, and in particular relates to a motor drive interface conversion module for converting a dual-phase unipolar stepper motor drive interface into a brushed DC motor drive interface. Background Art

[0002] A large number of motors are used in cash handling equipment (banknote counters, circulation machines, sorting machines, etc.) to drive banknotes. The most commonly used are stepper motors. Without losing steps, there is no cumulative error in the position control and speed control of stepper motors, so it is easy to accurately control the position and speed of banknotes in cash handling equipment. Therefore, in the early design, the control motherboard generally provides a stepper motor drive interface for the drive mechanism. In addition, considering the need for future equipment function upgrades, the control motherboard may also reserve some stepper motor drive interfaces. However, if some equipment components are upgraded in the later stage, resulting in changes in the drive motor, if the main control board is redesigned and developed, there will be high price and time costs, and there will be compatibility issues in structure and circuit. Summary of the invention

[0003] The purpose of the present invention is to solve the above technical problems and provide a motor drive interface conversion module for converting a two-phase unipolar stepper motor drive interface into a brushed DC motor drive interface, which realizes a completely transparent conversion from a unipolar stepper motor drive interface to a brushed DC motor drive interface, and can not only realize the direction control of the DC motor, but also realize speed control and position control.

[0004] To achieve the above object, the present invention adopts the following technical solution:

[0005] A motor drive interface conversion module, comprising:

[0006] The signal detection circuit is connected to the stepper motor drive interface and the MCU controller respectively, and is used to detect the drive signal of the stepper motor drive interface and convert it into a signal sequence to be input into the MCU controller;

[0007] The DC motor driving circuit is connected to the DC motor driving interface and the MCU controller respectively, and is used for driving and direction control of the DC motor;

[0008] The position and speed detection circuit is connected to the MCU controller and is used to detect the speed and position of the DC motor and input the position and speed detection signal to the MCU controller;

[0009] The main current return circuit is connected between the DC motor drive circuit and the stepper motor drive interface and is connected to the MCU controller, and is used to return the DC motor current to the stepper motor drive interface through the DC motor drive interface and the DC motor drive circuit;

[0010] The MCU controller is used to analyze the stepper motor drive signal detected by the signal detection circuit to determine the stepper motor drive direction and speed, control the return of the main current return circuit, and control the synchronization of the DC motor and the stepper motor drive according to the position speed detection signal.

[0011] The present invention realizes a completely transparent conversion from a unipolar stepper motor drive interface to a brushed DC motor drive interface, and can not only realize the direction control of the DC motor, but also realize the speed control and the position control. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a system structure diagram of the motor drive interface conversion module provided by the present invention;

[0013] Figure 2 is a circuit diagram of a signal detection circuit provided by the present invention;

[0014] Figure 3 It is a circuit diagram of a DC motor driving circuit provided by the present invention;

[0015] Figure 4 It is a circuit diagram of a position speed detection circuit provided by the present invention;

[0016] Figure 5 It is a circuit diagram of a main current return circuit provided by the present invention;

[0017] Figure 6 The invention discloses a circuit diagram of an MCU controller and peripheral circuits. DETAILED DESCRIPTION

[0018] The essential features and advantages of the present invention are further described below in conjunction with examples, but the present invention is not limited to the listed embodiments.

[0019] See also Figure 1 As shown, a motor drive interface conversion module includes:

[0020] The signal detection circuit is connected to the stepper motor drive interface and the MCU controller respectively, and is used to detect the drive signal of the stepper motor drive interface, convert it into a signal sequence and input it into the MCU controller, and determine the drive direction and speed of the stepper motor after being processed by the MCU controller;

[0021] The DC motor driving circuit is connected to the DC motor driving interface and the MCU controller respectively, and is used for driving and direction control of the DC motor;

[0022] The position and speed detection circuit is connected to the MCU controller and is used to detect the speed and position of the DC motor and input the position and speed detection signal to the MCU controller to achieve synchronization with the stepper motor drive;

[0023] The main current return circuit is connected between the DC motor drive circuit and the stepper motor drive interface and is connected to the MCU controller, and is used to return the DC motor current to the stepper motor drive interface through the DC motor drive interface and the DC motor drive circuit, that is, to return the DC motor current to the stepper motor drive circuit;

[0024] The MCU controller is used to analyze the stepper motor drive signal detected by the signal detection circuit to determine the stepper motor drive direction and speed, control the return of the main current return circuit, and control the synchronization of the DC motor and the stepper motor drive according to the position speed detection signal.

[0025] The present invention is a circuit module capable of freely converting the motor drive interface, which can realize the conversion of the motor drive interface, and this conversion is completely transparent to the main controller, or in other words, the main controller can regard it as a stepper motor, while the actual drive is a brushed DC motor.

[0026] The present invention realizes a completely transparent conversion from a unipolar stepper motor drive interface to a brushed DC motor drive interface, and can not only realize the direction control of the DC motor, but also realize the speed control and the position control.

[0027] As an embodiment, the signal detection circuit may be implemented as follows: Figure 2 The circuit shown includes four transistors, the emitters of the transistors are grounded, the collectors are respectively connected to AP_SIG, AN_SIG, BP_SIG, BN_SIG and connected to the pull-up resistor simulation coils, the bases are respectively connected to the stepper drive interfaces AP, AN, BP, BN, the pull-up resistor simulation coils are connected to the stepper drive interfaces AP, AN, BP, BN, as shown. Figure 2 shown.

[0028] The unipolar stepper motor is negatively driven. When working normally, one end of the stepper motor coil is connected to the power supply 24V, and the other end is connected to the drive interface AP, AN, BP, BN. However, there is no stepper motor in the present invention, so a pull-up resistor is used to simulate the coil. When the stepper motor is driven, a square wave signal with Vpp of 24V can be collected here, and then the signal voltage conversion is realized through the triode, and finally enters the MCU controller. When the stepper motor is driven, the stepper motor drive interface turns on AP, AN, BP, and N in turn to realize its conduction to the power ground, so a square wave signal with Vpp=24V can be collected here, and then the signal voltage conversion is realized through the triode, and finally collected by the MCU. In the full-step two-phase drive mode, if the current AP is turned on, if the next step is BP turned on, it is forward rotation, and if the next step is BN turned on, it is reverse rotation. In addition, generally speaking, a full step corresponds to a 1.8 degree rotation of the motor shaft and a single step corresponds to a 0.9 degree rotation of the motor, thereby determining the target speed of the drive.

[0029] As an embodiment, the DC motor drive circuit can be used Figure 3 The circuit shown uses PMOS and NMOS to form a full-bridge drive circuit to achieve the drive and direction control of the DC motor, including two PMOS, namely Q4A and Q5A, and two NMOS, namely Q4B and Q5B. Among them, Q4A is connected to Q5A and connected to MOTOR+, Q4B is connected to Q5B and connected to MOTOR-, Q5B is connected to Q5A and connected to MOTOR_G through RSGND, and the 2nd and 4th pins of Q5B and Q5A are connected to resistors R191 and R192 respectively, and then grounded and connected to INR and INL terminals respectively. It includes two transistors V15 and V16. The emitter of transistor V15 is grounded, and the collector is connected to the 4th pin of Q4A through resistor R59. The 4th pin of Q4A is connected to the resistor R57. Pin 3 of Q4A and pin 1 of Q4B are connected, resistor R57 is connected in series with resistor R58, resistor R58 is connected to pin 2 of Q4B and to resistor R60, resistor R60 is connected to the collector of V16, and the emitter of V16 is grounded; the resistor R57 and resistor R58 are connected to the 24 volt voltage terminal through the fuse F4, and the fuse F4 and the 24 volt voltage terminal are grounded through the capacitor C74; the base of the transistor V16 is connected to the capacitor C90, the resistor R56 and the resistor R55, the capacitor C90 and the resistor R56 are connected in parallel and then connected to the INR terminal, and the other end of the resistor R55 is grounded; the base of the transistor V15 is connected to the capacitor C89, the resistor R53 and the resistor R54, the resistor R53 and the capacitor C89 are connected in parallel and then connected to the INL terminal, and the other end of the resistor R54 is grounded.

[0030] In order to realize the forward and reverse rotation of the DC motor, an H-bridge drive circuit is used. When INL is high and INR is low, the PMOS and NMOS of the upper left bridge arm and the lower right bridge arm are turned on, and the current flows from MOTOR+ to MOTOR-. Conversely, the current flows from MOTOR- to MOTOR+, thereby realizing the control of the motor direction. In addition, INL and INR can use PWM pulse width control to adjust the motor speed.

[0031] As an embodiment, the position speed detection circuit can be used as follows Figure 4 The circuit shown connects the U_SIG pin through the pin 2 of the B02B-XASK-1 pin J22 to transmit the collected signal to the MCU controller, the pins 1 and 2 are connected to the VCC terminal through parallel resistors R122 and R123, and the pin 4 is grounded.

[0032] Among them, the position and speed detection uses a grating code disk, with an infrared U-shaped sensor, to convert the position and speed signals into electrical signals and transmit them to the MCU controller. When blocked, the signal is pulled up to the power supply by the resistor, and when not blocked, the signal is forced to be pulled down to the ground, thereby realizing the conversion of the position and speed signals into electrical signals.

[0033] As an embodiment, the main current return circuit can adopt Figure 5 The circuit shown includes four NMOS tubes: Q8A, Q8B, Q9A, and Q9B, which are respectively connected to the positive pole of the motor current and the negative pole of the drive AP, AN, BP, and BN, wherein both ends of Q8B are connected to AP and AP_CTL, both ends of Q8A are connected to AN and AN_CTL, both ends of Q9B are connected to BP and BP_CTL, both ends of Q9A are connected to BN and BN_CTL, and the 3rd pin of Q8B is connected to the 1st pin of Q8A, the 3rd pin of Q9B, and the 1st pin of Q9A, and then connected to the MOTOR_G pin. Each NMOS tube is grounded through a resistor, such as resistors R91-R94.

[0034] The stepper motor interface does not provide power ground, it only provides current positive pole and driving negative pole AP, AN, BP, BN, so the current of the DC motor must eventually flow back to the power ground of the mainboard through the driving negative pole of the stepper motor interface. The driving negative pole of the stepper motor changes frequently during normal operation, so the present invention adopts four NMOS, which are turned on in turn under the control of the MCU controller to realize the return of the DC motor current.

[0035] As an embodiment, the MCU adopts a general 8-bit or 16-bit single-chip microcomputer, which is mainly used to collect stepper motor drive interface signals, control the duty cycle PWM of the DC motor drive circuit, detect the position and speed of the DC motor, control the NMOS conduction of the main current return circuit, and finally realize the control logic of the system. The circuit of the MCU controller and peripheral circuits can be found in Figure 6 shown.

[0036] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A motor drive interface conversion module, characterized in that: For financial self-service terminals; including: The signal detection circuit is connected to the stepper motor drive interface and the MCU controller respectively, and is used to detect the drive signal of the stepper motor drive interface and convert it into a signal sequence to be input into the MCU controller; The DC motor driving circuit is connected to the DC motor driving interface and the MCU controller respectively, and is used for driving and direction control of the DC motor; The position and speed detection circuit is connected to the MCU controller and is used to detect the speed and position of the DC motor and input the position and speed detection signal to the MCU controller; The main current return circuit is connected between the DC motor drive circuit and the stepper motor drive interface and is connected to the MCU controller, and is used to return the DC motor current to the stepper motor drive interface through the DC motor drive interface and the DC motor drive circuit; An MCU controller is used to analyze the stepper motor drive signal detected by the signal detection circuit to determine the stepper motor drive direction and speed, control the return of the main current return circuit, and control the synchronization of the DC motor and the stepper motor drive according to the position speed detection signal; The signal detection circuit includes four transistors.

2. The motor drive interface conversion module according to claim 1, characterized in that: The DC motor driving circuit adopts a full-bridge driving circuit.

3. The motor drive interface conversion module according to claim 2, characterized in that: The full-bridge driving circuit is an H-shaped full-bridge driving circuit.

4. The motor drive interface conversion module according to claim 3, characterized in that: The position speed detection circuit is connected to the grating code disk and the infrared sensor.

5. The motor drive interface conversion module according to any one of claims 1 to 4, characterized in that: The MCU controller is an 8-bit or 16-bit single-chip microcomputer.