Streamlining Motion Control: 19 Stepper Motors
Precision motion control system managing 19 stepper motors simultaneously via CAN bus with real-time displacement and temperature monitoring.
The Challenge
A Swiss industrial instruments company needed a robust motion control system to simultaneously manage 19 stepper motors for a manufacturing application. The system required precise motor control, reliable CAN bus communication, accurate displacement measurement, and real-time temperature monitoring — all within a user-friendly interface.
Our Approach
We built a complete embedded motion control solution centered on the STM32L series MCU.
Central Control
The STM32L series MCU provides efficient integration and simultaneous control of all 19 stepper motors with precise positioning capabilities.
Communication
CAN bus ensures real-time control and feedback from each motor, enabling reliable and synchronized operation across the entire system. EEPROM stores key module parameters for easy retrieval and configuration.
Custom Motor Driver
A custom motion driver for the 17HS081004S stepper motors features effective heat dissipation to prevent overheating during prolonged operations.
Sensor Integration
VCNL4020 displacement sensors provide precise position feedback. PT100 temperature sensors enable real-time thermal monitoring. A DC-DC converter ensures stable power supply in industrial environments.
User Interface
Buttons and status LEDs aid in system debugging and troubleshooting, providing a straightforward control interface.
Technical Stack
- MCU: STM32L series
- Motor: 17HS081004S stepper motors, custom driver
- Communication: CAN bus, EEPROM
- Sensors: VCNL4020 (displacement), PT100 (temperature)
- Tools: Altium, Embedded Linux, GCC
Results
- Simultaneous precision control of 19 stepper motors
- Reliable CAN bus communication across all modules
- Real-time displacement and temperature monitoring
- Stable operation in industrial environments

