OFF
MIKROE-3714
18 g
Status:
Silent Step Click is the complete integrated bipolar step motor driver solution, rich with many features that allow extremely smooth and silent operation of the connected motor while being able to provide up to 2.5A peak motor current and withstand up to 46V supply voltage. The specialized TMC5130 IC driver from Analog Devices far exceeds the capabilities of similar step motor drivers that are commonly used. Thereby, the Silent Step click is basically the “intelligence and power” between the main MCU, as a motion controller, and the two-phase stepper motor. The device achieves outstanding performance with a wide range of various step motors, thanks to several technologies featured, such as stallGuard2™, spreadCycle™, stealthChop™, microPlayer™ and many more.
Silent Step click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
This product is no longer in stock
Availability date:
Besides these advanced technologies, the TMC5130 driver employs a set of other features: very high-power density - wide input voltage range and high output current, full output protection and diagnostics, highly efficient low RDSON output MOSFETs, integrated pulse generator for standalone operation, a SPI and simple STEP/DIR GPIO interfaces for driving the motor, and more. All these features allow the developing of a highly integrated and reliable step motor driving solution with outstanding performances. It can be used as a direct substitution for many complex motion controllers for various industrial motion control purposes, such as CNC, textile or sewing Machines, ATMs/Cash recyclers, pumps, valves, printers, scanners, medical devices, and many more.
Silent Step click uses the TMC5130 - the universal high voltage controller/driver for two-phase bipolar stepper motor, from Analog Devices. As already mentioned, this device features many different features, which allow using the driver almost autonomously. There are two control interfaces: the SPI serial interface and the STEP/DIR interface. The SPI interface is used to write control information to the chip and read back status information. This interface must be used to initialize the parameters and modes necessary to enable driving the motor. The motion of the motor can be controlled by using the STEP and DIR signals, or through the SPI interface alone. Technologies, such stallGuard2™ - high precision sensorless motor load detection; spreadCycle™ - highly dynamic motor current control; stealthChop™ - extremely quiet operation and smooth motion, microPlayer™ - interpolation with 256 microsteps, help to achieve high autonomy and smooth motion of the driven motor, even by using the STEP and DIR input pins to set the direction and step propagation. The internal microstep table maps the sine function from 0° to 90°. Symmetries allow mapping the sine and cosine functions from 0° to 360° with this table.
The TMC5130 supports two motor driver control modes: STEP/DIR mode and SPI mode. STEP/DIR mode is also referred to as the legacy mode. The device is operated similar to other pin-driven step motor controllers/drivers – the step propagation is controlled by pulses on the STEP input, and the direction is determined by the DIR pin. In SPI mode, user has direct access to motor current sign and magnitude, by setting the parameters in DRVCTRL Register. All working parameters can be configured and controlled via the SPI interface in both modes, and also the power and thermal data can be provided back to the MCU for further analysis and optimization.
In STEP/DIR mode, the microPlyer STEP pulse interpolator brings the smooth motor operation of high-resolution microstepping to applications originally designed for coarser stepping and reduces pulse bandwidth. MicroPlyer produces 16 microsteps at 256x resolution, for each active edge on STP pin of the Silent Step click. For a better explanation, the diagram of the motor angle dependence on the step pulses is given:
The application may need to change the microstepping resolution to get the best performance from the motor. For example, on an CNC machine, high-resolution microstepping may be used for precision operations on a workpiece, and then full stepping may be used for maximum torque at maximum velocity to advance to the next workpiece. That is also possible, but attention should be paid to the exact moment of resolution changing, which should occur at or near positions that correspond to steps in the lower resolution.
The currents through both motor coils are controlled using choppers, which work independently of each other. There are two chopper modes available: a new high-performance chopper algorithm called spreadCycle and a proven constant off-time chopper mode. The constant off-time mode cycles through three phases: on, fast decay, and slow decay. The spreadCycle mode cycles through four phases: on, slow decay, fast decay, and a second slow decay. For more details about the chopper modes, phases and the parameters that are used for controlling the choppers, refer to the TMC5130 datasheet.
In order to achieve all the previously mentioned features working, the current through the motor coils have to be measured. Because of the high power output of the TMC5130, it is recommended to use the external shunt resistors. Therefore, the Silent Step click has onboard carefully selected, low-inductance type 0.1 Ohm shunt resistors. This minimizes measurement imperfections caused by the switching spikes from the MOSFET bridges for example and maximizes the efficiency of the TMC5130.
The STEP, DIR, SD_MODE, and SPI_MODE pins of the TMC5130 are directly routed to the mikroBUS™ pins PWM, INT, RST, and AN, and marked as STP, DIR, SDM, and SPM respectively. The logic levels of the digital I/O pins is easily adjustable by setting the desired voltage to the VCC_IO pin. Therefore, the interface logic level on the Silent Step click can be easily configured for 3.3 V or 5 V logic by moving VSEL jumper to the respective voltage, which allows both 3.3V and 5V MCUs to be interfaced with this Click board™.
The power supply for the connected bipolar stepper motor can be connected between the VM and GND inputs of the terminal. The connected voltage should stay within the range between 5V and 46V. The rest of the terminals allow bipolar stepper motor coils to be connected: A1 and A2 terminal inputs are used to connect the first coil, while the B1 and B2 inputs are used to connect the second motor coil.
Note that while driving the motor with higher currents, the TMC5130 might get warm, affecting its reliability. In that case, proper heat sinks should be used, or the driving current should be reduced.
Type
Stepper
Applications
This Click board™ is a perfect solution for building various applications that require precise and reliable stepper motor control, such as the CNC, textile or sewing Machines, ATMs/Cash recyclers, pumps, valves, printers, scanners, medical devices, and many more
On-board modules
TMC5130, a highly integrated bipolar step motor power driver, with the UART interface from Analog Devices
Key Features
StallGuard2™, coolStep™, spreadCycle™, and microPlayer™ advanced technologies, full output protection and diagnostics, wide input voltage range and reasonably high currents, highly efficient output MOSFETs, etc.
Interface
GPIO,SPI
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V
This table shows how the pinout on Silent Step click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
PWR | PWR | - | Power LED Indicator |
TB1 | VM | - | The external power supply connector |
TB2 | A1,A2 | - | Stepper motor coil A connector |
TB3 | B1,B2 | - | Stepper motor coil B connector |
JP1 | VSEL | Left | Logic voltage level selection: left position - 3.3V; right position - 5V |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
External power supply voltage | 5 | - | 46 | V |
I/O supply voltage | 3 | - | 5.25 | V |
Current limit (RMS) per channel | - | - | 2 | A |
We provide a library for the Silent Step Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Library Description
This library contains API for Silent Step Click driver.
Key functions
silentstep_set_step_res
This function sets the microstep resolution bits in CHOPCONF register.
silentstep_set_direction
This function sets the motor direction by setting the DIR pin logic state.
silentstep_drive_motor
This function drives the motor for the specific number of steps at the selected speed.
Example Description
This example demonstrates the use of the Silent Step Click by driving the motor in both directions for a desired number of steps.
void application_task ( void )
{
log_printf ( &logger, " Move 200 full steps clockwise, speed: slowrnn" );
silentstep_set_direction ( &silentstep, SILENTSTEP_DIR_CW );
silentstep_set_step_res ( &silentstep, SILENTSTEP_MRES_FULLSTEP );
silentstep_drive_motor ( &silentstep, 200, SILENTSTEP_SPEED_SLOW );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
log_printf ( &logger, " Move 200 half steps counter-clockwise, speed: mediumrnn" );
silentstep_set_direction ( &silentstep, SILENTSTEP_DIR_CCW );
silentstep_set_step_res ( &silentstep, SILENTSTEP_MRES_2 );
silentstep_drive_motor ( &silentstep, 200, SILENTSTEP_SPEED_MEDIUM );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
log_printf ( &logger, " Move 400 quarter steps counter-clockwise, speed: fastrnn" );
silentstep_set_direction ( &silentstep, SILENTSTEP_DIR_CCW );
silentstep_set_step_res ( &silentstep, SILENTSTEP_MRES_4 );
silentstep_drive_motor ( &silentstep, 400, SILENTSTEP_SPEED_FAST );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Other MIKROE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MIKROE compilers.
This Click board™ is supported with mikroSDK - MIKROE Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.