Häufig gestellte Fragen

Ist der SilentStepStick 100% kompatibel mit einem StepStick oder Pololu A4988?

Die SilentStepSticks sind Hardware-/Pin-kompatibel mit StepStick und Pololu A4988 Treibern. Wobei die Trinamic TMCxxxx Treiber jedoch andere und weitere Einstellmöglichkeiten haben, die über die CFG/MS-Pins eingestellt werden können.

Die größte Kompatibilität zu einfachen Treibern (z.B. A4988 oder DRV8825) bietet der TMC2209, da die wichtigsten Einstellungen per Pin vorgenommen werden können.

Die Drehrichtung ist bei TMC2xxx SilentStepSticks invertiert (DIR-Pin invertiert) und kann entweder in der Software oder durch Drehen des Motorsteckers um 180° angepasst werden.

SilentStepSticks mit variabler Logikspannung (3-5V) erfordern besondere Sorgfalt bei den Versorgungsspannungen, weitere Informationen hier.

Konfiguration

  • TMC2100 SilentStepStick: CFG Pins mit drei Zuständen: low (GND), high (VIO) und offen (unbeschaltet)
  • TMC2130 SilentStepStick: CFG Pins oder SPI
  • TMC220x SilentStepStick: CFG Pins oder UART
  • TMC5160 SilentStepStick: SPI (kein Standalone-Modus)

Welchen Betriebsmodus soll ich verwenden?

Für die meisten Fälle (mit Ausnahme eines direkt angetriebenen Extruders eines 3D-Druckers) eignet sich der nahezu geräuschlose stealthChop Modus. Bitte beachten, die TMC22xx Treiber verfügen über einen verbesserten stealthChop2-Modus, der bei schnellen Beschleunigungen/Verzögerungen besser funktioniert. Wenn es Probleme wie Schrittverluste gibt, dann kann man eine langsamere Beschleunigung oder eine etwas höhere Stromeinstellung im stealthChop-Modus verwenden oder man kann den leistungsstärkeren und lauteren spreadCycle Modus verwenden.

  • 116 stealthChop
    • TMC2100: CFG1=offen, CFG2=offen
    • TMC2208: MS1=VIO, MS2=VIO
    • TMC2209: MS1=VIO, MS2=VIO, SPREAD=GND
  • 116 spreadCycle
    • TMC2100: CFG1=GND, CFG2=offen
    • TMC2208: Konfiguration über UART
    • TMC2209: MS1=VIO, MS2=VIO, SPREAD=VIO

Detaillierte Informationen zu den Betriebsarten: stealthChop (silent mode) and spreadCycle.

Weitere Informationen sind hier zu finden SilentStepStick Schaltpläne (PDF Dateien) and TMC2100 Datenblatt, TMC2130 Datenblatt, TMC2208 Datenblatt, TMC2209 Datenblatt, TMC5160 Datenblatt, TMC5161 Datenblatt.

Boards mit USB Stromversorgung

Only applicable for SilentStepSticks with variable 3-5V logic voltage (VIO): If you use a control board with USB power supply (like Arduino + RAMPS) then always ensure that the motor supply voltage (VM) is present, when you connect the board via USB. Otherwise the TMCxxxx is not powered via the internal voltage regulator and a high current can flow into VIO or the IOs and this can damage the internal logic. As safety workaround you can disconnect the 5V signal in the USB cable, so that the board cannot be powered over USB.

RAMPS und RUMBA Hinweise

For most cases the 116 stealthChop mode is suitable and we recommend the TMC2100 SilentStepStick with 5V or TMC2209 SilentStepStick for RAMPS and RUMBA boards. If you remove all jumpers (or open all switches) for MS1+MS2+MS3 on the RAMPS/RUMBA, then the SilentStepStick TMC2100 driver will be in 116 spreadCycle mode (CFG1=GND CFG2=open), because there is a pull-down resistor on MS1 on the RAMPS/RUMBA. The pull-down is 100k and in most cases it will set the driver in spreadCycle mode correctly. However if there are problems then short CFG1 to GND or replace the resistor with one which is 30k or less.

For a SilentStepStick TMC220x the jumpers have to be set for MS1+MS2 then the TMC220x will be in 116 stealthChop mode. For further infos have a look at the pinout and step config.

If you have not an original RAMPS 1.4 or RUMBA, then your schematics can be different and you have to check the MS-Pin configurations on you board.

Wie stellt man den Motorstrom ein?

The best way to set the motor current on TMC2xxx SilentStepSticks with a potentiometer is by measuring the voltage on the Vref pin (0…2.5V) and adjusting the voltage with the potentiometer. The maximum settable motor current is 1.77A RMS (0.11Ohm sense resistors), but the TMC21xx/TMC2208 SilentStepSticks can only be used up to 1.2A RMS.

  Irms = (Vref * 1.77A) / 2.5V = Vref * 0.71

  Vref = (Irms * 2.5V) / 1.77A = Irms * 1.41 = Imax

  Vref -> Spannung am Vref-Pin

  Irms -> RMS (Root Mean Square) Strom pro Phase (Irms = Imax / 1.41)

  Imax -> Maximaler Strom pro Phase (Imax = Irms * 1.41)

Kalkulator:

RMS Strom (A): Referenzspannung (V):

Hinweise:

  • On some stepper motor drivers the maximum current (e.g. A4988) is set via Vref and on others the RMS current (e.g. TMC2xxx).
  • Do not set the drivers to the maximum rated current of the respective stepper motor. A good point to start is half of the rated current.
  • The Trinamic drivers have an automatic thermal shutdown if the chip gets to hot (at about 150°C). But always ensure a good cooling of the drivers, because if the temperature rises to fast then the driver can also get damaged.
  • For NEMA 17 motors from 3D printers the current is in general in the range of 0.5A to 0.8A RMS, which is a reference voltage (Vref) of 0.7V to 1.1V. At first use 0.5A (0.7V) and if there are problems (like step losses) then set a higher current in 0.1A steps till everythings works.
  • On 3D printers sometimes two stepper motors are used for the Z axis and connected to one stepper driver. A series connection of the motors is in most cases better than a parallel connection. Only for motors with a high phase voltage (>6V) a parallel connection should be used and the double current has to be set for a parallel connection.

Wie kühlt man die SilentStepSticks?

Always ensure a good air circulation around the drivers, so that heat can be dissipated.

TMC21x0/TMC2208: A small heat sink placed on the top PCB side is suitable for currents up to 850mA RMS. For higher currents use a heat sink that nearly fills the top PCB side and a cooling fan.

TMC2209: A small heat sink placed on the top PCB side is suitable for currents up to 1A RMS. For higher currents use a heat sink that nearly fills the top PCB side and a cooling fan.

TMC5160: For currents up to 2A RMS a good air circulation is enough and for higher currents a cooling fan is needed. On the TMC5160 the external MosFets and shunt resistors have to be cooled.

Wie steuert man den Trinamic Schrittmotortreiber an?

The SilentStepSticks have a standard step+direction interface. You set the direction with the DIR pin and on every pulse on the STEP pin the motor will move one step. Here you can find Arduino examples and an Arduino library (interface=DRIVER).

Kann man einen Schrittmotor mit einer niedrigeren Spannung als der Versorgungsspannung des Treibers verwenden?

Yes, because the Trinamic TMCxxxx drivers use a chopper drive circuit to generate a constant current in each winding (motor phase) rather than applying a constant voltage. The motor supply voltage has to be also a few times higher than the motor phase/coil voltage. Otherwise the torque at higher speeds can not be achieved. So it is recommended to use motors with a low phase voltage <=4V. Guide: Choosing stepper motors.

Was für ein Netzteil wird benötigt?

A power supply (Psup) with a few times higher voltage than the motor phase voltage and a current of roughly the power of the motor (Pmot) plus the mechanical output power (Pout) is at least needed.

For example 3 stepper motors with 2 coils/phases and every phase has a resistance (R) of 2.2 Ohm and a current rating (I) of 1.8 A . The phase resistance can be also calculated from the phase voltage (V) with R = V / I, e.g. 4 V / 1.8 A = 2.2 Ohm. In general stepper motors are not driven with the maximum current and so the calculation is done with 50% of the rated current: 0.9 A.

  • 3 motors with 2 coils with
    •   R = 2.2Ohm
    •   I = 0.9A (50% of 1.8A)
    •   V = R * I = 2.2Ohm * 0.9A = 2V

  Pmot = 2 coils * V * I = 2 * 2V * 0.9A = 3.6W (standstill power without load)

  Pout = 0.20Nm * (2pi * 1000rpm / 60) = 20.9W (mechanical power)

  Psup = 3 motors * (Pmot + Pout) = 3 * (3.6W + 20.9W) = 73.5W (electrical input power)

At 24V (Vsup) this is a current of 3.1A (I = Psup / Vsup = 73.5W / 24V).

Was ist beim Ein- oder Ausschalten der Stromversorgung zu beachten?

If the motor is running/moving, then it is not allowed to switch off the power supply. Always make sure that the motor stands still and the motor outputs are deativated on shutting down, otherwise the driver IC can get damaged (because of back EMF). An emergency stop can be realized, when the EN pin is set to VIO (high). This will switch off all motor output drivers and will put the motor into freewheeling.

SilentStepSticks mit variabler 3-5V Logikspannung

At power-up the motor supply voltage VM should come up first and then the logic supply voltage VIO. On power-down the logic supply voltage VIO should turned off at first and then the motor supply voltage VM, because the internal logic of the TMCxxxx driver is powered from VM. To ensure the correct powering a schottky diode from VIO (anode) to VM (cathode) can be added. The v2 Protectors for SilentStepSticks include this schottky diode.

SilentStepSticks mit 5V Logikspannung

There is no special power-up or power-down sequence needed. If the SilentStepStick is only powered with 5V (logic) then a current can flow backwards to VM. In this case it is not allowed to enable the driver (motor outputs) and no loads (e.g. fans) should be on VM (<=4V), because the current will be drawn from the logic supply VIO.

Was ist der Unterschied zwischen SilentStepSticks mit 3-5V und 5V Logikspannung?

The SilentStepSticks with a variable logic voltage (VIO) of 3-5V use the internal linear regulator of the TMCxxxx to generate from the motor supply voltage (VM) a 5V voltage for the internal digital and analog circuit (about 20mA). Because it is a linear voltage regulator the power dissipation depends on the motor supply voltage (high voltage = high power dissipation/heat). The 5V logic SilentStepSticks do not use the internal voltage regulator of TMCxxxx and therefor only a 5V supply voltage for VIO is possible and VM has not to be present before VIO. Further infos about power-up and down can be found here.

Power dissipation of the internal voltage regulator of TMC21xx:

  • 0.1W @ VM=12V
  • 0.3W @ VM=24V
  • 0.6W @ VM=36V
  • 0.8W @ VM=45V

Ist der TMC2130 SilentStepStick im Standalone-Modus wie ein TMC2100 SilentStepStick?

The configuration for TMC2130 in standalone mode (SPI jumper closed) is set via the CFG pins like the TMC2100. On the TMC2100 SilentStepSticks the CFG0 pin is set to GND as default and this sets the chopper off time to 140 Tclk (most universal choice). In contrast on the TMC2130 SilentStepSticks the CFG0 pin (also SDO) is open as default and this sets the chopper off time to 332 Tclk. On the TMC2130 SilentStepSticks the CFG3 pin is also connected to the pin header and should be left unconnected/open (external reference voltage on AIN) in standalone mode.

Was ist der Unterschied zwischen TMC5160 und TMC2130 SilentStepSticks?

  • TMC5160 SilentStepSticks have no standalone mode and no internal pull-up resistor on the CS/SS pin (SPI configuration is always needed).
  • TMC5160 SilentStepSticks have no potentionmeter and Vref pin.
  • The direction is not inverted on TMC5160 SilentStepSticks.
  • The software configuration is mostly the same, except the motor current calculation is different.
  • TMC5160 SilentStepSticks have an improved stealthChop mode (stealthChop2) and a higher motor current rating.
  • On TMC5160 SilentStepStick v1.3 the CLK pin has to be connected to GND.

Was ist der Unterschied zwischen TMC2208 und TMC2209 SilentStepSticks?

  • TMC2209 SilentStepSticks have output drivers with a lower resistance (RDSon), which gives a lower power dissipation and a higher current is possible.
  • TMC2209 SilentStepSticks feature coolStep and stallGuard4 (optimized for stealthChop), which can be used for sensorless homing for 3D printers.
  • TMC2209 SilentStepSticks can be switched between stealthChop and spreadCycle mode via a configuration pin (SPREAD).
  • TMC2209 SilentStepSticks drivers have the v2 pinout (Vref and DIAG0 swapped).
  • The slave address of the TMC2209 is selected by the pins MS1 (bit 0) and MS2 (bit 1). (SLAVEADDR=0 on TMC2208 as default)

Ist es möglich die CFG-Pins von verschiedenen SilentStepSticks zu verbinden?

It is possible to connect the CFG pins from two or more driver boards. However then the pin state can only be GND (low) or VIO (high). The open state (unconnected) on TMC21xx drivers is not possible in this configuration.

Warum befindet sich der Trinamic Treiberchip auf der Leiterplattenunterseite?

The TMC2xxx chip has a thermal pad on the bottom which is soldered to the PCB. So the thermal resistance via the chip bottom is better than via the chip top. That is why the chip is on the bottom PCB side. A heat sink can be placed directly on the PCB. Further infos here.

Der Motor macht im spreadCycle-Modus Geräusche, wenn er sich nicht bewegt?

A motor supply voltage of 12V is in most cases to low and in general the sound gets quieter if the motor supply voltage is above 18V. The noise also depends on the used stepper motors. We recommend motors with a phase voltage <=4V and inductance <=4mH. Guide: Choosing stepper motors, Troubleshooting by Alex Kenis.

The nearly silent operating mode is stealthChop.

Der Treiber funktioniert nicht oder hat aufgehört zu funktionieren. Was soll ich tun?

On problems, check the wiring and power supply. If this is okay, check the resistance (when the driver is not connected) of the logic supply VIO against GND, the digital pins EN, DIR, STEP against GND + VIO and the motor pins M1A, M1B, M2A, M2B against GND + VM. When the resistance of the logic supply or a digital input is very low (<10k Ohm), then in general there is a problem with the power-up or power-down sequence. Or if the resistance of a motor pin is very low (<100k Ohm) then there could be a problem with the motor wiring (loose connection) or the motor power supply was removed during operation/moving. Because of back electromotive force (EMF) the motor output drivers can get defective, when the motor power supply or the motor is removed during operation.