Report
Report
This report consists of design of a stepper motor control circuit for a two phase full step
configuration.Control circuit was designed using JK flip flops, Darlington pair, diodes and resistors.
Logic sequence generator is designed using JK flip flop.Boolean equations were created based on truth
tables that were constructed to represent the operation of the state machine.The equations were
translated into a schematic diagram and a circuit was built based on the schematic.The resultant circuit
was able to start and stop the motor.
Contents
1 General Introduction 4
1.1 Stepper motor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Control Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Calculations 11
3.1 Calculations for Logic Sequence Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2 Calculations for Current Limiting Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5 Conclusion 19
1
List of Figures
2
List of Tables
3.1 Present(n) and Next(n+1) sequences calculation for JK flip flop output . . . . . . . . . . 11
3.2 Present(n) and Next(n+1) sequences states for JK flip flop . . . . . . . . . . . . . . . . . 12
3
Chapter 1
General Introduction
Often referred to as a ”tin can” or ”can stock” motor the permanent magnet step motor is a low
cost and low resolution type motor with typical step angles of 7.5 to 15 (48 - 24 steps/revolution).
PM motors as the name implies have permanent magnets added to the motor structure. The rotor
no longer has teeth as with the VR motor. Instead the rotor is magnetized with alternating north
and south poles situated in a straight line parallel to the rotor shaft. These magnetized rotor poles
provide an increased magnetic flux intensity and because of this the PM motor exhibits improved
torque characteristics when compared with the VR type. (Figure 1.1)
This type of stepper motor has been around for a long time. It is probably the easiest to un-
derstand from a structural point of view. This type of motor consists of a soft iron multi-toothed
rotor and a wound stator. When the stator windings are energized with DC current the poles
become magnetized. Rotation occurs when the rotor teeth are attracted to the energized stator
poles.(Figure 1.2)
The hybrid stepper motor is more expensive than the PM stepper motor but provides better per-
formance with respect to step resolution, torque and speed. Step angles for the typical HB stepper
motor range from 3.6 to 0.9 (100 - 400 steps per revolution). The hybrid stepper motor combines
the best features of both the PM and VR type stepper motors. The rotor is multi-toothed like the
VR motor and contains an axially magnetized concentric magnet around its shaft. The teeth on
the rotor provide an even better path which helps guide the magnetic flux to preferred locations in
the air gap. This further increases the detent, holding and dynamic torque characteristics of the
motor when compared with both the VR and PM types.(Figure 1.3)
4
Figure 1.1: Typical PM Stepper Motor view
5
Figure 1.3: Typical HB Stepper Motor cross sectional view
Stepper motors are most widely used in both the industrial and commercial application. Here are a
few applications where stepper motors are often found:
• Hard drives
• Printers
• CNC machines
• 3D printer/prototyping machines
• Linear actuators
• Laser cutters
There are so many advantages in using the stepper motor. Advantages are as follows:
• Precise positioning
• Low cost
6
1.2 Control Circuit
In a control circuit of the stepper motor consists of,
Generates programmed logic sequences required for operation of a stepper motor. It is possible
to design a logic sequence generator using logic gates, JK flip flop or microcontrollers.
• Power Drivers
Output of the logic sequence generator is connected to the power driver circuit which ensure fast
rise of current through the phase winding which are to be turn on at a particular step in the logic
sequence.
These are meant to ensure rapid decay of current in the phase winding that is turned off at a
particular step in the logic sequence.
7
Chapter 2
2.1 Introduction
Control circuit design procedure was carried-out for the Unipolar Stepper Motor using JK flip - flop,
Darlington pairs, Diode, Resistors and timer.
Soyo 12V 0.4A 36oz-in Unipolar Stepper Motor (double shaft) Specifications:
8
• Dimension
• Wiring Diagram
9
• Operating Curve
2.3 Components
10
Chapter 3
Calculations
Qn Qn+1
A B C D A B C D Qx Qy
1 0 0 1 1 1 0 0 0 0
1 1 0 0 0 1 1 0 0 1
0 1 1 0 0 0 1 1 1 1
0 0 1 1 1 0 0 1 1 0
Table 3.1: Present(n) and Next(n+1) sequences calculation for JK flip flop output
11
Qx(n) Qy(n) Qx(n+1) Qy(n+1) Jx Kx Jy Ky
0 0 0 1 0 x 1 x
0 1 1 1 1 x x 0
1 1 1 0 x 0 x 1
1 0 0 0 x 1 0 x
Table 3.2: Present(n) and Next(n+1) sequences states for JK flip flop
12
3.2 Calculations for Current Limiting Circuitry
Calculations using theoretical values
T imeConstant(ON ) = Lm /Rm
= 0.03/30
= 1ms
T imeConstant(OF F ) = Lm /(Rm + Rf )
= 0.03/(30 + Rf )
Rf = 90ohm
= 2.4mJ
= 1.8mJ
13
Chapter 4
Circuit was designed and simulated using proteus 7 proffesional software. We attached the
figures which are related to the simulation of the design of a stepper motor control circuit
for a two phase full step configuration.
14
• Logic Sequence Generator
15
• Power Driver and Current Limiting Circuitry
Figure 4.4: Simulation Circuit of The Power Driver and Current Limiting Circuitry
16
Figure 4.5: Voltage Pulse Sequences
Output voltage of the logic sequence generator is indicated in red and output voltage
of the power drive and current limiting circuit is indicated in blue.
17
• Final Design
18
Chapter 5
Conclusion
The designed circuit was performed as we expected. The above chapter 4 shows how the
simulation was carried out. There were some limitations during implementation of the cir-
cuit. Though the rated voltage was 12 V, here we designed for 11V to avoid large voltage
spikes. Those spikes are due to the back emf of the motor and it will be harmful to the other
components of the system. And also in theoretically it is possible to reduce rise time using
a suppression resistor, but practically there is no point of including any resistor as no any
significant reduction was happened in rise time. However by adding a freewheeling resistor
of 90 ohms decay time was reduced from 5ms to 2ms theoreticaly. But it has been deviated
from that theoretical value to 1.25ms. Also, for rising time we obtained value 6ms which
is more than theoretical value 1ms. Though we tested the decay time by increasing the
freewheeling resistance beyond 90 ohms, no any significant reduction was occurred. There-
fore we designed our circuit without a suppression resistor and 90 ohm freewheeling resistor.
By improving the logic sequence it is possible to add more features such as changing the
direction of rotation of the motor, increasing the speed of the motor but the circuit be-
comes complicated. If JK flip flops are replaced by a Programmable IC, the task gets easier.
Through this design assignment we obtained practical knowledge about designing a stepper
motor controller and improved our software based skills such as dealing with Proteous. And
also we were able to learn a professional report writing method, Latex beyond Microsoft
word.
19