This application is intended to lead to a modular design idea that combines the traditional stepper motor controller, driver, and arithmetic algorithm into a module, or For the Black Box, users do not need to understand the circuit design and program architecture in the Box. They only need to care about the interface. This interface can adapt to a variety of host (Host) controls, such as PC, MCU, FPGA, PLC. class. Black Box can do more than 95% of the work for users, users can complete the system setup quickly by completing less than 5% of the workload.
At the same time, this application also verifies the anti-interference and stability of the system of GD32 . There is no isolation between MCU and Driver. The start and stop of the motor does not affect the MCU work. At the beginning of the design, the solution was conceived from the perspective of the user, so the function was fully met with the predetermined requirements:
1, the interface is simple --- RS232 (Tx, Rx, GND)
2, the instruction is simple --- command + parameter
3, the operation is simple - command operation motor start and stop, acceleration and deceleration control
4, the structure is simple - small, with heat sink
Performance is not inferior:
1. System stability---interface isolation, overcurrent protection, high temperature shutdown
2, intelligent algorithm - automatically select trapezoidal or triangular acceleration and deceleration waveform, 42 motor no load up to 2500RPM or more
The integrated stepper motor drive controller scheme is as follows:
Physical size characteristics
Miniaturized design, small size 45 mm x 45 mm x 15mm
Positioning hole: Φ3mm x5mm: 37.8mm x 37.8mm
Efficient cooling system
2. Motor drive characteristics
Wide voltage input 12 ~ 24VDC
20-stage adjustable phase current output, maximum 2A peak current, command online adjustment
1, 2, 4, 8, 16, 32 microstep subdivision, instruction online adjustment
Dual H-bridge constant current control, command online adjustable release/enable
Automatic low current lock function to reduce power consumption
Suitable for two-phase four-wire stepper motor of 57 and below
Suitable for 1.8° and 0.9° step angle motors
No-load speeds up to 2500 RPM
Maximum running steps 1 ~ 4294967295
Over temperature, over current protection
3. Communication characteristics
RS232 three-wire serial communication
Communication baud rate 19200
Communication interface optocoupler isolation
4. Function
Control, drive, algorithm three-in-one
Instruction control for easy debugging and simplified application
Intelligent acceleration and deceleration algorithm to improve motor performance
Compact structure for easy installation and system integration
Advanced motion control algorithm, intelligent linear acceleration and deceleration control
Configuration parameters can be commanded to control save, and can be read and viewed.
Easy to operate instructions
Fool-type user interface, easy to operate and transplant development
5. Test the video:
http://v.youku.com/v_show/id_XNTk0MTgyNDYw.html
6. Physical picture:



Miniature High Voltage Film Capacitor
High Voltage Capacitor,xian high voltage capacitor,power capacitor
XIAN STATE IMPORT & EXPORT CORP. , https://www.shvcomponents.com