Professional Documents
Culture Documents
Servo Motor
Servo Motor
Servo Motor
SERVO MOTOR
The servo motor is most commonly used for high technology devices in the
industrial application like automation technology.
It is a self contained electrical device, that rotate parts of a machine with high
efficiency and great precision.
The output shaft of this motor can be moved to a particular angle.
Servo motors are mainly used in home electronics, toys, cars, airplanes, etc.
A servo motor is a rotary actuator that allows for precise control of angular
position.
SERVO MOTOR
Servo motors have been around for a long time and are utilized in many
applications.
They are small in size but pack a big punch and are very energy-efficient.
These features allow them to be used to operate remote-controlled or
radio-controlled toy cars, robots and airplanes. Servo motors are also used
in industrial applications, robotics, in-line manufacturing, pharmaceutics
and food services.
The servo circuitry is built right inside the motor unit and has a
positionable shaft, which usually is fitted with a gear .
The motor is controlled with an electric signal which determines the
amount of movement of the shaft.
Types of Servo Motor
Servo motors are classified into different types based on their application, such
as AC servo motor, DC servo motor, brushless DC servo motor, positional
rotation, continuous rotation and linear servo motor etc.
Typical servo motors comprise of three wires namely, power control and ground.
The shape and size of these motors depend on their applications.
RC servo motor is the most common type of servo motor used in hobby
applications, robotics due to their simplicity, affordability and reliability of control
by microprocessors.
DC Servo Motor
AC servo motor is an AC motor that includes encoder is used with controllers for
giving closed loop control and feedback.
This motor can be placed to high accuracy and also controlled precisely as
compulsory for the applications.
Frequently these motors have higher designs of tolerance or better bearings and
some simple designs also use higher voltages in order to accomplish greater
torque.
Applications of an AC motor mainly involve in automation, robotics,, and other
applications a high level of precision and needful versatility.
AC Servo Motor
Positional Rotation Servo Motor
A unique design for servo motors are proposed in controlling the robotics and for
control applications.
They are basically used to adjust the speed control at high torques and accurate
positioning.
Parts required are motor position sensor and a highly developed controller.
These motors can be categorized according the servo motor controlled by
servomechanism. If DC motor is controlled using this mechanism, then it is
named as a DC servo motor.
Servo motors are available in power ratings from fraction of a watt to 100 watts.
The rotor of a servo motor is designed longer in length and smaller in diameter
so that it has low inertia.
SG90
SG 90
Weight: 9 g
Dimension: 22.2 x 11.8 x 31 mm approx.
Operating speed: 0.1 s/60 degree
Operating voltage: 4.8 V (~5V)
Temperature range: 0 ºC – 55 ºC
SG90
Servo library
Servo library
This library allows an Arduino board to control RC servo motors. Servos have integrated
gears and a shaft that can be precisely controlled.
Standard servos allow the shaft to be positioned at various angles, usually between 0
and 180 degrees.
Continuous rotation servos allow the rotation of the shaft to be set to various speeds.
The Servo library supports up to 12 motors on most Arduino boards and 48 on the
Arduino Mega.
On boards other than the Mega, use of the library disables analogWrite() (PWM)
functionality on pins 9 and 10, whether or not there is a Servo on those pins.
On the Mega, up to 12 servos can be used without interfering with PWM functionality;
use of 12 to 23 motors will disable PWM on pins 11 and 12.
Circuit
Attach the Servo variable to a pin. Note that in Arduino 0016 and earlier, the Servo library supports only
servos on only two pins: 9 and 10.
Syntax
servo.attach(pin)
servo.attach(pin, min, max)
Parameters
servo: a variable of type Servo
pin: the number of the pin that the servo is attached to
min (optional): the pulse width, in microseconds, corresponding to the minimum (0-degree) angle on the
servo (defaults to 544)
max (optional): the pulse width, in microseconds, corresponding to the maximum (180-degree) angle on the
servo (defaults to 2400)
write()
Writes a value to the servo, controlling the shaft accordingly. On a standard servo, this will
set the angle of the shaft (in degrees), moving the shaft to that orientation. On a
continuous rotation servo, this will set the speed of the servo (with 0 being full-speed in
one direction, 180 being full speed in the other, and a value near 90 being no movement).
Syntax
servo.write(angle)
Parameters
servo: a variable of type Servo
angle: the value to write to the servo, from 0 to 180
read()
Read the current angle of the servo (the value passed to the last call to write()).
Syntax
servo.read()
Parameters
servo: a variable of type Servo
Returns
The angle of the servo, from 0 to 180 degrees.
attached()
Detach the Servo variable from its pin. If all Servo variables are
detached, then pins 9 and 10 can be used for PWM output with
analogWrite().
Syntax
servo.detach()
Parameters
servo: a variable of type Servo
writeMicroseconds()
Writes a value in microseconds (uS) to the servo, controlling the shaft accordingly. On a standard servo,
this will set the angle of the shaft. On standard servos a parameter value of 1000 is fully counter-
clockwise, 2000 is fully clockwise, and 1500 is in the middle.
Note that some manufactures do not follow this standard very closely so that servos often respond to
values between 700 and 2300. Feel free to increase these endpoints until the servo no longer continues to
increase its range. Note however that attempting to drive a servo past its endpoints (often indicated by a
growling sound) is a high-current state, and should be avoided.
Continuous-rotation servos will respond to the writeMicrosecond function in an analogous manner to
the writefunction.
Syntax
servo.writeMicroseconds(uS)
Parameters
servo: a variable of type Servo
uS: the value of the parameter in microseconds (int)
Thank you