Home     Contact     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS     Terms of services     Privacy policy  
   
 Home      Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science   

2 August 2010
Author: Giorgos Lazaridis
A Microstepping Driver with the Sanyo STK672-080


My precious steppers!

The stepper motor controllers removed from the PCB

A few weeks ago, i had the extreme luck to get an old color photo-copy machine for my chopshop. Except some problems that it had with the heater, it worked perfectly fine. Yet, the company that owned this machine wanted to get rid of it, and as i was kinda "passing by the neighbor", i picked it up for free! The top side of the machine had 5 stepper motors, each one different, but all had 200 steps per cycle. Quickly i removed all the useful parts from the machine, and then i started fooling around with the steppers.

I made a couple of controllers (that i may present later), some with a PIC and others without microcontroller. A few days later, i took a more "scientific" look on the PCBs that i had carefully removed, and more specific on the one that the 4 steppers where connected to. And then i noticed two parts with the number STK672-110 and another two with the number STK672-080. I googled for the second one, and the first result was "Stepping Motor Driver (Sine Wave Drive) Output Current: 2.8 A (No Heat Sink*)"!!!

Within a few minutes, i had the soldering iron hot and ready for removing the stepper motor controllers from the PCB!





The circuit

Following the instructions from within the STK672 080 datasheet, i present you the micro-stepping circuit schematic:






The circuit on a breadbord for test. The chip has 2mm pin spacing thus cannot be plugged directly on the breadboard (which has 0.1'' spacing)

Hopefully you will agree with me: The circuit is ridiculously simple for what it does! If you are not quite familiar with the stepper motors and the micro-stepping excitation itself, then i would suggest that you read the stepper motor theory first, and then you will understand what i mean. This hybrid chip requires only a clock input to operate as a microstepping controller! The frequency of this signal will eventually determine the speed of the rotation.

Moreover, this hybrid chip can change the rotation direction of the motor with a single wire! If the input CBW (pin 10) is 1, then the motor rotates clockwise, otherwise if this input is 0 it rotates counterclockwise! No other circuitry required! The "ENABLED" pin will enable or disable the controller. If the pin is held HIGH (1), the controller operates normally, while if held LOW (0), the controller will be deactivated. At this point i should mention that if the controller is deactivated, the motor is NOT powered, and thus the shaft can be rotated freely, only by overcoming the detent torque. For the motor to maintain the full breaking torque while not rotating, the controller must NOT me deactivated. Instead, you should better stop the clock pulses. This way the motor will be stopped with full break torque.

As far as the clock input is concerned, i use my homemade function generator to provide the pulses. You can use instead any other oscillator circuit - with respect to the maximum frequency input of the chip (50 KHz). For example, a simple 555 astable multivibrator will do just fine, or even a very simple transistor oscillator. I use a NPN transistor to interface the clock signal pulses.


The STK672-080 hybrid chip

Finally, the RoX Input. This input must be between 0 and VCC/2 Volts, in our case 0 to 2.5 Volts. R2 is recommended from the manufacturer to be 100 ohms. The voltage on this pin has an effect when the chip uses micro stepping to control the motor (as in our case). I have add a potentiometer (R6) to set the voltage according to your motor. To do this, you should run the motor in very low speed -about 1 revolution per 5 seconds- and change the potentiometer until you get full torque on the shaft, but without step-loosing. The motor must run smoothly with minimum vibrations, in low as well as in high speeds.

The large capacitor C1 on the circuit is very important! Without this capacitor, the circuit will NOT work and the controller will overheat very fast! The motor that i use runs at 3.3 volts and draws 2 amperes. This particular controller can control up to 45 volts @ 2.8 amperes. The motor must be -of course- a unipolar 2-phase motor. The connectors 1 through 4 are connected to the coil edges, while the connector C goes to the middle of the coils. A unipolar 2-phase stepper motor has 5 or 6 wires. 4 wires comes from the beginning and the ending of the two coils. There are also 2 more wires from the middle of the coils. Some unipolar motors have these two wires interconnected -and thus have 5 wires at the output-, while others have these 2 wires directly at the output thus having 6 wires. It is just the same! In the second case with the 6 wires, do not forget to connect both the middle (common) wires to the connector C.




Even more capabilities!

There are 3 more pins to discuss. The M1 through M3 inputs. This controller supports 5 different excitation methods for the coils, full step, half step and 3 more microstepping excitations. If you read the datasheet of this chip, it has a complete explanation of the excitation modes and the pin configuration. So, this chip is even more powerful!




Bill Of Materials
Resistors
R1-2Resistor 100 Ohm 1/4 Watt 5% Carbon Film 
R3-4Resistor 330 Ohm 1/4 Watt 5% Carbon Film 
R5Resistor 2.2 KOhm 1/4 Watt 5% Carbon Film 
R62.2K potentiometer
R7Resistor 1 KOhm 1/4 Watt 5% Carbon Film 
Capacitors
C1470 uF 16V Electrolytic capacitor
C210 uF 16V Electrolytic capacitor
Semiconductors
LED1LED 3mm red 
D11N4148 Switching Diode 
Transistors
T1BC548 Switching and Applications NPN Epitaxial Transistor 
Integrated Circuits
U1STK672-080 Stepping Motor Driver (Sine Wave Drive) Output Current 2.8 A (No Heat Sink) 




Relative pages
  • 555 timer basic circuits
  • Basic transistor circuits
  • How Brushless Motors Work (BLDC Motors)
  • How are DC motors made and how they work
  • How the Stepper Motors work
  • A simple and basic unipolar full step stepper motor controller
  • Closed Loop high frequency PWM PC Fan Controller





  • Comments

      Name

      Email (shall not be published)

      Website

    Notify me of new posts via email


    Write your comments below:
    BEFORE you post a comment:You are welcome to comment for corrections and suggestions on this page. But if you have questions please use the forum instead to post it. Thank you.


          

  • At 10 July 2014, 2:10:52 user Mohamed Ghitas wrote:   [reply @ Mohamed Ghitas]
    • Hi
      i would like to know how did you disassemble the component from the Machine PCB board
      thanks in advance


  • At 8 July 2014, 0:16:17 user Mohamed Ghitas wrote:   [reply @ Mohamed Ghitas]
    • thanks
      but i have other problem
      i have got same board you got
      i cant pick the STK672-330 out of the machine board
      How did you do that ??


  • At 7 July 2014, 21:08:14 user Mohamed Ghitas wrote:   [reply @ Mohamed Ghitas]
    • hi
      this is amazing article thank you
      my problem is that i cant get the IC STK672-330 out from the board as its soldered in the board from double face could you tell me how could you get the ic`s out?
      Thanks in advance
      Mohamed Ghitas


  • At 7 July 2014, 20:37:11 user Mohamed Ghitas wrote:   [reply @ Mohamed Ghitas]
    • hi
      this is amazing article thank you
      but i need some help
      i have claimed copier machine such as that you have got and i picked out the circuit board from it
      my problem is that i cant get the IC STK672-330 out from it as its soldered in the board from double face could you tell me how could you get the ic`s out?
      Thanks in advance
      Mohamed Ghitas


  • At 7 July 2014, 19:35:47 user Mohamed Ghitas wrote:   [reply @ Mohamed Ghitas]
    • hi
      this is amazing article thank you
      but i need some help
      i have claimed copier machine such as that you have got and i picked out the circuit board from it
      my problem is that i cant get the IC STK672-330 out from it as its soldered in the board from double face could you tell me how could you get the ic`s out?
      Thanks in advance
      Mohamed Ghitas


  • At 26 February 2011, 23:30:55 user Akura wrote:   [reply @ Akura]
    • Best site ever about electronics!!!!

      Everything is so well explained.

      THANK YOU!!!


  • At 5 August 2010, 20:17:33 user Kammenos wrote:   [reply @ Kammenos]
    • Here is one very very simple... IMO is the simplest:
      http://pcbheaven.com/circuitpages/Simple_Unipolar_Stepper_Motor_Full_Step_Controller
      Yet, can ONLY full step. Micro stepping with discrete components is somehow difficult. The circuit in this very page with the sanyo controller is the best. Provide yourself an STK672-080 and you will save a lot of time.

      Also, do not forget to read the theory of steppers for your own ease...
      http://pcbheaven.com/wikipages/How_Stepper_Motors_Work


  • At 5 August 2010, 19:26:55 user aisea wrote:   [reply @ aisea]
    • I have couple of stepper motors which I pulled out from a photo copy machine and for the life of me I have not idea of how to get it to spin.
      It has 5 wires coming out of the motor.
      Can always tell a quality junk when you see one. It'll be an ideal slow speed controller for tuning a loop antenna.
      There must be a circuit made out of discrete components out there somewhere.
      Any pointers would be appreciated.

      Aisea



    delicious
    digg
    reddit this Reddit this
    Faves



     HOT in heaven!


    NEW in heaven!



    New Theory: AC electric motor working principle



     Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS   

    Site design: Giorgos Lazaridis
    © Copyright 2008
    Please read the Terms of services and the Privacy policy