Documente Academic
Documente Profesional
Documente Cultură
BY
Muhammad Adeel (19E2-113010)
Department of Electrical Technology
Preston University Faisalabad
2013-2014
CERTIFICATE
This is to certify Th at this Report entitled STUDY REPORT OF DC
servo motor. submitted by Muhammad Adeel Sarwar in partial
fulfillment of
the
award
of Bachelor of
PENNEL OF EXAMINERS
Assigned by:
____________________________
Internal Examiner:
____________________________
External Examiner:
_________________________
ABSTR
ABSTRACT
ACKNOWLEDGEMENT
We would like to take this opportunity to express my gratitude and
sincere thanks to our respected Prof. Eng Toseef Abid for his
guidance, insight, and support he has provided throughout the course
of this work. We would like to thank all faculty members and
staff of the Department of Electrical Technology, Preston University
Faisalabad for their help throughout the course. We would specially
like to thank to my parents for their time and help with our project.
Contents
Chapter 1. Introduction Of Servo Motor
1) The Servo System8
2) Servo Mechanism9
3) Servo Motor.........14
4) Dc Servo Motor Model........17
5) Analysis of Armature Circuit..........18
6) Mechanical Model of Motor19
7) Electrical Time Constant of a DC Servomotor..21
8) Mechanical Time Constant of a DC Servomotor...22
9) Control Aspects Of Servo Motor.23
10)
Applications...24
11)
Local Speed Control Of DC Servo Motor...25
12)
Running The Motor In Open Loop.26
13)
Model Estimation...................33
14)
Comparison Of The Open Loop Response Of The
Transfer Function And That Of The Motor43
15)
Servo Motor Information..................45
16)
X-ray View Standard Servo Motor...................46
17)
SERVO RATINGS47
18)
SERVO SPEED.48
19)
SERVO TORQUE (Power)...48
20)
SERVO POWER (4.5- 6.0 VDC)...................50
21)
22)
23)
24)
25)
33)
34)
Chapter 4
Conclusion
..95
REFERENCES.
Servo Mechanism
A powered mechanism producing motion or forces at a higher level
of energy than the input level, e.g. in the brakes and steering of
large motor vehicles, especially where feedback is employed to make
the control automatic. servomechanism, automatic device used to
correct the performance of a mechanism by means of an errorsensing feedback. The term servomechanism properly applies only
to systems in which the feedback and error-correction signals
control mechanical position or one of its derivatives such as velocity
or acceleration. Servomechanisms were first used in gunlaying
(aiming) and in fire-control and marine-navigation equipment.
Today, applications of servomechanisms include their use in
automatic machine tools, satellite-tracking antennas, celestialtracking systems on telescopes, automatic navigation systems, and
antiaircraft-gun
control
systems.
In
many
applications,
All
Fig 1.1
FIG 1.2
Uses
Position control
A common type of servo provides position control. Servos are
commonly electrical or partially electronic in nature, using an
electric motor as the primary means of creating mechanical force.
Other types of servos use hydraulics, pneumatics, or magnetic
principles. Servos operate on the principle of negative feedback,
where the control input is compared to the actual position of the
mechanical system as measured by some sort of transducer at the
output. Any difference between the actual and wanted values (an
"error signal") is amplified (and converted) and used to drive the
system in the direction necessary to reduce or eliminate the error.
Speed control
Speed control via a governor is another type of servomechanism.
The steam engine uses mechanical governors; another early
application was to govern the speed of water wheels. Prior to World
War II the constant speed propeller was developed to control engine
speed for maneuvering aircraft. Fuel controls for gas turbine
engines employ either hydromechanical or electronic governing
Other
Positioning servomechanisms were first used in military fire-control
and marine navigation equipment. Today servomechanisms are
used in automatic machine tools, satellite-tracking antennas, remote
control airplanes, automatic navigation systems on boats and
planes, and antiaircraft-gun control systems. Other examples are
fly-by-wire systems in aircraft which use servos to actuate the
aircraft's control surfaces, and radio-controlled models which use
RC servos for the same purpose. Many autofocus cameras also use a
servomechanism to accurately move the lens, and thus adjust the
focus. A modern hard disk drive has a magnetic servo system with
sub-micrometre positioning accuracy. In industrial machines, servos
are used to perform complex motion, in many applications
Servo Motor
A servo motor is an electric motor with a built in rotation sensor,
they are needed for robotics. Say a robot moves its arm by turning a
servo motor, the motor would send information concerning the
degree of rotation on its axis back to the robot so the robot can keep
tabs on the position of its arm, so if something bumps its arm it will
know it and so-on.
Electric motors are the commonly used actuator in electromagnetic
systems of all types. They are made in a variety of configurations
and sizes for applications ranging from activating precision
movements to powering diesel-electric locomotives. The laboratory
motors are small servomotors, which might be used for positioning
and speed control applications in a variety of automated machines.
They are DC (direct current) motors. The armature is driven by an
external DC voltage that produces the motor torque and results in
the motor speed. The armature current produced by the applied
voltage interacts with the permanent magnet field to produce
current and motion. - (Modeling of DC Servo Motor)
FIG 1.3
FIG 1.4
FIG 1.5
DC Servomotor Model
FIG 1.6
Figure 1 depicts a generic model of a DC motor that includes two
windings; a stationary field winding on the stator and a second
winding for the rotating armature. This type of motor can
FIG1.7
Applications
In Automotive Market:
1. Power mirror positioning.
2. Power seats positioning motors.
3. Power door and trunk lock mechanisms.
FIG1.8
Blocks Used:
1. Signal Generator
2. Analog IP/OP
3. Scope
Library
Real-Time Windows Target
Description
The Analog Input block allows us to select and connect specific
analog input channels to our Simulink model. After we add an
Analog Input block to your model, we can enter the parameters for
FIG1.9
In the Sample time box, enter the same value you entered in
the Fixed step size box from the Configuration Parameters
dialog box, or an integer multiple of that value.
In the Input channels box, enter a channel vector that selects
the analog input channels you are using on this board. The
vector can be any valid MATLAB vector form. To select all
Analog Output
Select and connect analog output channels
Library
Real-Time Windows Target
Description
The Analog Output block allows us to select and connect specific
analog output channels to our Simulink model. After we add an
Analog Output block to our model, we can enter the parameters for
its I/O driver. The following procedure is used to configure
Advantech 1716 PCI card:
1. Double-click the Analog Output block. The Block Parameters:
Analog Output dialog box opens:
2. In the Sample time box, enter the same value you entered in the
Fixed step size box from the Configuration Parameters dialog box,
or an integer multiple of that value.
3. In the Output channels box, enter a channel vector that selects
the analog output channels you are using on this board. The vector
can be any valid MATLAB vector form. To select both analog
output channels on the Advantech 1716 board, enter [1,2] or [1:2]
4. From the Output range list, choose the input range for all of the
analog input channels you entered in the Input channels box. The
Advantech 1716 board has input range of 15V to -15V. If you want
the input range to be different for
different analog channels, you need to add an I/O block for each
different input range.
5. From the Block input signal list, choose from the following
options: Same as the Analog IP Block discussed earlier.
6. Enter the initial value for each analog output channel you entered
in the Output channels box. For example, if you entered [1,2] in the
Output channels box, and you want an initial value of 0 volts, enter
[0,0].
7. Enter a final value for each analog channel you entered in the
Output channels box. For example, if you entered [1,2] in the
Output channels box, and you want final values of 0 volts, enter
[0,0].
8. Click OK or Apply.
Model Estimation
For the purpose of any form of analysis on a plant, be it designing a
controller for it, or studying its response, a convenient way is
modeling the plant. In the given case, from the open loop response
of the motor, it is seen that the output of the motor in open loop,
does not track the input. So, the motor needs to be run in closed
loop configuration. To design the controller for closed loop
operation, first, modeling of the plant has been done, as explained in
detail, in the following sub-sections. Transfer function modeling of
The data board contains rectangular icons which show the data
imported into the GUI. The model board contains icons which
represent the models estimated or imported into the GUI. Model
icons can be dragged and dropped in the model board into open
dialog boxes. The current session may be closed by selecting File ->
Close Session. This prompts to save the current session, if it has not
already been saved.
Step-3: In the Import Data dropdown menu, select Time
domain data. The following window opens, where the name of the
input and output To Workspace blocks have been entered. Also,
depending on the starting time of the data in the data acquiesced,
the starting time is entered; and depending on the sampling time set
in the model of the plant, the sampling interval is entered.
Comparison
Of
The
Open
Loop
FIG 1.20:
The analog input and output blocks are se with values as shown
previously. And the transfer function block Is set with the transfer
function obtained in the previous sub-section.
FIG 1.23
FIG 1.24
SERVO RATINGS
The most common details available on a servo are its speed and
torque rating. Nearly all servo packages are listed
with brand name, model name/ number, speed, and torque output at
4.8 volts and 6.0 volts. Some information about
metal, plastic gears or ball bearings may also be listed.
SERVO SPEED
60 Degrees
Servo Speed is defined as the amount of time ( in seconds)
that a servo arm attached to the servo output shaft will SERVO
move from 0 to 60 degrees
.
SPEED
Note: The lower the time (Seconds) the faster the servo
60
can move an attached wheel or arm.Servo Speed is measured by the
amount of time (in seconds) it takes a 1 inch servo arm to sweep left
or right through a 60 degree arc at either 4.8 or 6.0 volts. A servo
Examples:
Servo-A has 42 oz-in of torque
Weight 42 divided by 16 = 2.63 pounds of force on a 1" servo arm
(16 Ounces) Servo-B has 2.5 oz-in of torque 2.5 divided by 2 = 1.25
pounds of force on a 2" servo arm 16 ounces (oz) = 1 pound (lbs)
Servo-C has 36 oz-in of torque 36 divided by 4 = 9 pounds of force
on a 4" servo arm
Note:
If you need to know how many pounds a servo can push or lift on a
1" servo arm, divide the oz-in by the number 16.
Different sized
arms can be used. Use the length of the arm and divide the oz-in
value by the arm length
FIG 1.25
Voltage Regulator
10 uF
Capacitor
Heatsink
FIG 1.26
Servo Type
Positive (+)
Cirrus
Red
White
Black
Futaba - J
Red
Whit
e
Black
JR
Red
Orange
Brown
Red
Yellow
Black
Hitec
Airtronics
Airtronics Z
Fleet
GW
Red
Signal (S)
White
Red
Blue
Red
White
Red
Negative (-)
Blac
k
Black
Black
Orange
Brown
Centering
Servo
FIG 1.27
Carefully remove the servo arm from the servo if not needed for
instillation or place the servo arms on top of the servo shaft, secure
it with servo screw and install the servo as needed. Do not move the
shaft at this point. If it moves, simply repeat the above steps to find
the servo center again.
Torque
Cont.
Nominal Moto
Volts
r
RPM
Peak
Stall
lbin
Nm
lbin
Nm
1.8
1.8
3.1
0.21
0.21
0.35
13
13
19
1.4
1.4
2.1
50
30
50
3500
3000
3500
Motor
Inertia
lb-insec2
KgCm
2
0.0003
0.0003
0.0005
0.35
0.35
0.54
2.1
3.4
3.4
MT-2240 ACYAN
MT-2240-BCYAN
MT-2250-ACYAN
3.1
6.2
6.2
8.8
8.8
11.2
11.2
12.5
12.5
21.5
21.5
28
28
40
40
30
30
30
40
40
40
40
50
50
50
58
58
58
0.35
0.71
0.71
0.99
0.99
1.27
1.27
1.41
1.41
2.43
2.43
3.16
3.16
4.52
4.52
3.39
3.39
3.39
4.52
4.52
4.52
4.52
5.65
5.65
5.65
6.55
6.55
6.55
19
44
44
59
59
75
75
45
45
72
72
125
125
185
185
130
130
130
190
190
190
190
250
250
250
283
283
283
2.1
4.9
4.9
6.7
6.7
8.5
8.5
5.0
5.0
8.1
8.1
14.1
14.1
20.9
20.9
14.7
14.7
14.7
21.5
21.5
21.5
21.5
28.2
28.2
28.2
31.8
31.8
31.8
30
100
50
100
100
100
100
100
100
100
100
100
100
100
100
150
150
150
150
150
150
150
150
150
150
150
150
150
3000
2800
2000
2800
5000
2800
4000
3000
4500
1500
2300
1500
2300
1500
2300
2200
3200
4400
1400
2200
2700
4500
1700
2300
3300
1500
2100
2900
0.0005
0.0016
0.0016
0.0024
0.0024
0.0033
0.0033
0.007
0.007
0.011
0.011
0.014
0.014
0.024
0.024
0.014
0.014
0.014
0.021
0.021
0.021
0.021
0.028
0.028
0.028
0.035
0.035
0.035
0.54
1.84
1.84
2.75
2.75
3.67
3.67
7.91
7.91
12.43
12.43
15.82
15.82
27.12
27.12
15.82
15.82
15.82
23.73
23.73
23.73
23.73
31.64
31.64
31.64
39.55
39.55
39.55
5.5
2.8
5.1
3.8
6
4.9
6.3
5.5
7.9
5
7
6.2
9.2
9
13
6.1
9.2
12
5.7
8.3
11.2
16.4
8
10.6
15.7
8.5
12.1
15.3
MT-2250-BCYAN
MT-3353-BLYAN
MT-3353-DLYAN
MT-3358-BLYAN
MT-3358-CLYAN
MT-3363-BLYAN
MT-3363-CLYAN
MT-4050-ALYBE
MT-4050-BLYBE
MT-4060-ALYBE
MT-4060-BLYBE
MT-4070-ALYBE
MT-4070-BLYBE
MT-4090-ALYBE
MT-4090-BLYBE
MT-4525-BTYCN
MT-4525-CTYCN
MT-4525-DTYCN
MT-4535-ATYCN
MT-4535-BTYCN
MT-4535-CTYCN
MT-4535-DTYCN
MT-4545-ATYCN
MT-4545-BTYCN
MT-4545-CTYCN
MT-4555-ATYCN
MT-4555-BTYCN
MT-4555-CTYCN
the data sheet of each servo motor and can be tested by trying
different PWM signals. To send the signal by software, the MCU
must generate a PWM signal with a duty cycle of 0.5% to 1% and a
period of 200 ms. It is recommended to elaborate a function that has
a position parameter and sets the servo motor to the desired
position to simplify the code (as implemented in the example code
for this document).
System Architecture
The drivers (Figure 5) are implemented for the
MPC560xB to control a servo motor and a DC
motor.
In
the
following
sections,
detailed
Main
motor
control
algorithm
(high
level
driver
(Driver_Servo.c
and
driver
(Driver_Motor.c
and
Servo
motor
Driver_Servo.h)
Main
motor
Driver_Motor.h)
Low level
ADC driver (Driver_ADC.c and Driver_ADC.h)
eMIOS
driver
(Driver_EMIOS.c
Driver_EMIOS.h)
SIU driver (Driver_SIU.c and Driver_SIU.h)
and
Initialization:
Driver_MPC5604B.h
Driver explanation
vfnSet_Servo
Return
Function
vfnInit_Servo
Parameters
Definitions
involved
for SERVO_CTRL
both functions
SERVO_CTRL_PCR
SERVO_MIN_US
SERVO_MAX_US
Functions on Driver_Motor.c
Function
Parameters
Return
Function
Function
vfnSet_Motor_Forward
vfnSet_Motor_Reverse
vfnSet_Motor_Stop
Function
vfnInit_Motor
Definitions involved
MOTOR_MCB_CHANNEL
MOTOR_IN_1_PIN
MOTOR_IN_2_PIN
MOTOR_EN
MOTOR_EN_PCR
MOTOR_SENSE_CH
VELOCIMETER
VELOCIMETER_PCR
MAX_CURRENT
CIRCLE
CONTROL
DELAY
THRES and THRES2
Driver_ADC.c
Function
vfnInit_NormalConversion_Ad
c
Parameters
Return
Function
Parameters
Return
..
Driver_eMIOS.c
vfnSetup_Emios_0 and vfnInit_Emios_0
vfnInit_Emios_0_Mcb
vfnInit_Emios_0_Opwm
vfnInit_Emios_0_Saic
vfnSet_Duty_Opwm
vfnSet_Duty_Perc_Opwm
u16Read_Saic
u16Get_Period_Mcb
SIU is the module that assigns functions to the physical pins. These
drivers were implemented because there are many functions each
pin can have, so there are pad configuration register values for each
pin (refer to MPC5604BCRM Reference Manual available from
https://www.freescale.com ).
Driver_SIU.c
vfnInit_Emios_Output_Pad
Parameter
(0V or 5V).
u8PcrVal which is the SIU pad configuration
register value for a pin selected
.
Setup.c
vfnDisable_Watchdog
vfnInit_Peri_Clk_Gen
vfnInit_Modes_And_Clock
vfnInit_All
Driver_MPC5604B.h
This file has no functions, and contains only useful definitions that
relate modules and make easier the programming. Includes an ADC
channel selection masks, pad configuration register values for ADC
channels, pad configuration register values for eMIOS channels and
pad configuration register values for GPIO. An example to know
when to use them is the following: #define PCR_EMIOS_0_1345
/*PC13*/ This means that Channel 13 of eMIOS 0 can be assigned
to port C13, and the value that the SIU uses to assign that pin is 45
(which is the pad configuration register for that pin). For a complete
reference on how these registers are defined, please refer
to the MPC5604BCRM available from https://www.freescale.com.
Series motors
The series motor has a high starting torque and draws large current
.Speed regulation of this kind of motor is poor . Reversal can be
obtained by reversing the polarity of field voltage with split series
field winding (i.e one winding for direction of rotation). This method
reduces motor efficiency to some extent .
FIG1.29
FIG 1.30
FIG 1.31
DC shunt type servomotor is not different from any other dc shunt
motor . It has two separate windings field windings placed on
stator and armature winding placed on the rotor of the machine .
Both windings are connected to a dc supply source. In a
conventional dc shunt motor , the two windings are connected
inparallel across the dc supply . In case of a servomotor , the
windings are supplied with separate dc source.
know
in
the
next
section.
FIG1.33
longitudinal
angle.
Important
factors,
when
considering
Manipulators
A robot has a limited working range and accessibility, therefore, in
many cases a manipulator has to be considered. A manipulator is a
device holding the work piece and is moved around (typically with
linkages) for better access and welding positions. The advantages of
a manipulator include:
(1) A manipulator can easily be moved around the work piece for
the best welding positions.
(2) A manipulator can reduce the variation in the lead and the lag
angles of the tip.
(3) Welding can be performed in a stable flat welding position by a
synchronized and simultaneous control of a robot and a
manipulator.
(4) Any hard-to-reach positions can be accessed more easily.
FIG1.34
shows more sophisticated manipulators for higher maneuverability,
but with an associated higher cost. In selecting the best type of
manipulator, it is important to consider control types, load carrying
capacity, and working environment. Also, repeatability, accuracy,
mechanical configuration, and degrees of freedom are important
issues that should be considered.
FIG1.35
A decision on the type of control depends on the
condition of the weld that is required. In terms of
FIG1.36
Sensors
Sensor type
Contact type
(Weld seam tracking)
Non-contact type
(Various Purposes)
Sensors
Mechanical Type - Roller Spring.
Electromechanical type:
1) Two probes across the seam line.
2) A probe in the seam line.
Electric control type with probe.
A. Physical type:
1) Acoustic arc length control.
2) Capacitance distance control.
3) Eddy current seam tracking.
4) Induction seam tracking.
5) Infrared radiation penetration control.
6) Ultrasonic penetration and weld quality.
7) Magnetic detecting electromagnetic field.
B. Through-the-arc type:
1) Arc length control (arc voltage).
Optical systems for guiding a weld seam. Figure 6 shows a system that
will detect an upcoming weld joint. This sensor may be used for grooves
such as V and J, lap joints, fillet joints, butt joints, or corner joints.
However, since it is located near the torch there is a limitation in access.
The system in Fig. 7 is used for detecting minor changes of the joints
that lie ahead. This system can be used for thin welds and at high
speeds. The system is good for lap, fillet, or butt joints. However, it
Safety
An arc welding robot system should be on a firm foundation so that any
vibrations will not produce a shaking effect on the system. Also, the
emergency switch button (with colors of yellow and red) should be
located at a position that is easily accessible. The switch should stop the
robot without shutting off the power. There should also be a safety fence
to protect the work force from spatter and arc flash. Figure 12 shows a
complete system of a safety fence. For safety, the robot operator should
have a rigorous training on robot speed, working range, emergency
stopping, and functions of teach pendant. The training should also
provide the operator with the opportunity to become familiar with the
robot system. While designing the robot system, sufficient time for
system modification and operator training is indispensable. Also,
obstacles inside the working area of the operator should be
eliminated and the system should be designed so that the welding is
perfomed at a safe distance from the operator. For this purpose, a
manipulator should be designed with dual stations with safeguards so
that the operator can work safely on loading and unloading. This will
also increase productivity. After the system is designed, installed, and
tested, all the detailed information in the design process should be
documented and transferred to the operator.
Conclusion
The tutorial was able to cover everything I had hoped it would
and we had success in controlling servos which was our main purpose &
goal. I will have more projects coming which use servos so you can see
how they fit into projects which are doing many things at once.
Having now gone over how to control DC Motors & Servo
Motors I'll be able to move onto stepper motors in a future tutorial. So
for those of you who have been waiting to see it, a stepper motor tutorial
is in the works & coming.
REFERENCES
1) ^ Baldor Electric Company - Servo Control Facts. Accessed 25 September 2013
2) Jump up ^ Anaheim Automation: Servo Motor Guide. Accessed 25 September 2013
3) Jump up ^ BusinessDictionary.com definition. Accessed 25 September 2013
4) Jump up ^ Eugine L. Ragonnet, Controlling Mechanism for Locomotives, U.S. Patent
930,225, Aug. 9, 1909.
5) Jump up ^ IEEE Industry Applications Magazine March/April 1996, pg 74
6) Jump up ^ G. W. Younkin, Industrial Servo Control Systems - Fundamentals and Applications
- Second Edition, Taylor and Francis, 2007.
7) J. D. Lane, Robotic Welding, IFS, 1987.
8) H. B. Cary, Modern Welding Technology, Third Edition, Regents/Prentice Hall Book
Company, Inc., Upper Saddle River, New Jersey, 1994.
9) N. S. Seo, Modern Manufacturing Processes, Dongmyungsa, Korea, 2002
10) P. F. Ostwald, and J. Munoz, Manufacturing Processes and Systems, John Wiley and
Sons, Inc., New York, 1997.
11) S. Kalpakjian, Manufacturing Engineering and Technology, Addison Wesley
Publishing Company, Inc., Reading, MA, 1992.
12) J. J. Craig, Introduction to Robotics, Mechanics and Control, Addison Wesley
Publishing Company, Inc., Reading, MA, 1989.
13) K. S. Fu, Robotics, McGraw-Hill International Book Company, Inc., New York, 1987