Robotic Notes
Robotic Notes
■ Sensors categories
■ sensor and actuator theory of operation
■ sensor and actuator in robotic application
SENSORS
What is a Sensor?
■ A sensor is a device that measures physical input from its
environment and converts it into data that can be interpreted by either
a human or a machine.
■ Most sensors are electronic (the data is converted into electronic
data), but some are more simple, such as a glass thermometer, which
presents visual data.
■ People use sensors to measure temperature, gauge distance, detect
smoke, regulate pressure and a myriad of other uses.
How does the sensors work?
Sensor is a module or chip that observes the changes happening in the physical world and sends the
feedback to the microcontroller or microprocessor. Excitation (Power supply) and Grounding must be provided
to the sensor for the proper working.
Classification of Sensors
■ Microcontroller accepts two types of inputs depending up on the type
of sensor
– Analog sensor
– Digital sensor
■ Digital sensors are also classified as many types and few of those
to be described as follows:
– Digital accelerometers
– Digital temperature sensor
Application of Digital Sensors
■ Implemented in mobile phones and other internet equipment’s
■ Used in-game controllers and computer components
■ Used in the health care industry
■ Also implemented in personal navigation equipment
Passive and Active Sensor
A Passive Sensor requires an external source of power to operate while an
Active Sensor does not.
Passive Sensor Example
A Resistance Temperature Detector (RTD) is a Passive Sensor. It is a device
that’s resistance will change with a change in temperature. To take advantage
of this change in resistance, an external supply, or an excitation circuit is
required to produce a change in voltage. Another example of a Passive sensor is
a Strain Gauge.
Active Sensor Example
As a thermocouple is exposed to an increase in temperature, it will develop an
increasing voltage across it. Another example of an Active sensor is a
piezoelectric sensor.
ACTUATOR
■ An Actuator is a device that makes something move or operate.
■ An Actuator can move something in a straight line, referred to
as linear, or in a circular motion, referred to as rotary.
■ An Actuator receives a source of energy and uses it to move
something. In other words, it converts the source of energy into
physical-mechanical motion.
■ Typical actuators include:
– Pneumatic Control Valve
– Electric Motor (DC Motor, Stepper Motor, Servo Motor)
– Hydraulic Motor
Sensor Theory of Operation
■ The ultrasonic sensor emits high-frequency sound waves towards the target object
■ Target object picks up the sound waves
■ Sound waves are then bounced off and reflected back towards the ultrasonic sensor
■ The time it took for the sound wave to return is used as the measurement of the distance between
■ In robotics, the ultrasonic sensors are used in applications such as:
– object detection
– detect the position of an object
– tracking an object
Orientation or velocity sensor – Accelerometer Sensor
■ Accelerometers can be used to measure static and dynamic
acceleration in different axis. You can use them on your robot as
tilt sensor or to track its velocity profile.
■ Accelerometers are very important in the sensor world because they can
sense such a wide range of motion.
■ Possible uses for accelerometers in robotics:
a. DC motor
b. Stepper motor
c. Servo motor
DC Motor
Stepper Motor
■ A stepper motor is an electric motor whose main feature is that
its shaft rotates by performing steps, that is, by moving by a
fixed amount of degrees.
■ This feature is obtained thanks to the internal structure of the
motor, and allows to know the exact angular position of the
shaft by simply counting how may steps have been performed,
with no need for a sensor.
■ This feature also makes it fit for a wide range of applications.
Servo Motor
Methods to control motor speed or direction
in mobile robots
a. Motor speed control – Pulse Width Modulation (PWM)
b. Motor direction control – H-Bridge
Pulse Width Modulation (PWM)- Motor
Speed Control
■ Pulse-width modulation (PWM) or duty-cycle variation methods are commonly
used in speed control of DC motors.
■ The duty cycle is defined as the percentage of digital ‘high’ to digital ‘low’ plus
digital ‘high’ pulse-width during a PWM period. Fig. 1 shows the 5V pulses with
0% through
■ The average DC voltage value for 0% duty cycle is zero; with 25% duty cycle the
average value is 1.25V (25% of 5V).
■ With a 50% duty cycle the average value is 2.5V, and if the duty cycle is 75%,
the average voltage is 3.75V and so on.
■ The maximum duty cycle can be 100%, which is equivalent to a DC waveform.
Thus by varying the pulse-width, we can vary the average voltage across a DC
motor and hence its speed. 50% duty cycle.
H Bridge – Motor Direction Control
■ H Bridge is a simple electronic circuit which enables us to apply voltage to
load in either direction. It is commonly used in robotics application to control
DC Motors.
■ By using H Bridge we can run DC Motor in
clockwise or anticlockwise directions.
This circuit is also used to produce
alternating waveforms in inverters.
■ You normally use it with a microcontroller,
such as an Arduino, to control motors.
Clockwise Direction Anti Clockwise Direction
THANKS YOU