Unit 2
Unit 2
Unit 2
Contd..
• The pin configuration of HC-SR-04 is as follows,
• VCC – +5 V supply
• TRIG – Trigger input of the sensor. Microcontroller applies 10 us
trigger pulse to the HC-SR04 ultrasonic module.
• ECHO–Echo output of the sensor. Microcontroller reads/monitors this
pin to detect the obstacle or to find the distance.
• GND – Ground
Working principle
• Sound waves can travel through the mediums with specific velocity
depends on the medium of propagation. The sound waves which are
having high frequency reflect from boundaries and produce distinctive
echo patterns.
• Ultrasonic sensors are excellent at suppressing background
interference.
• Virtually all materials which reflect sound can be detected, regardless
of their color even transparent also.
• Microscopic ultrasonic sensors are suitable for target distances from 20
mm to 10 m and as they measure the time of flight they can ascertain a
measurement with pinpoint accuracy.
• Ultrasonic sensors can see through dust-laden air and ink mists. Even
thin deposits on the sensor membrane do not impair its function.
We know that,
Distance= Speed* Time. The speed of sound waves is 343 m/s.
So,
Total Distance= (343 * Time of flight(Echo) pulse)/2
Touch Sensors
• Used to obtain information associated with the contact between a
manipulator hand and objects in the workspace.
• It is subdivided into two principal categories
• Binary sensors
• Basically switches respond to presence or absence of an object
• Analog sensors
• It gives output signal proportional to a local force.
• Binary Sensors
• Contact devices – micro switches
• A switch is placed on inner surface of each finger of a manipulator to determine
if a part is present between the fingers
• Multiple binary sensors can be used inside the surface area of each finger to
provide tactile information
• Also it is mounted on external surface area to guide the manipulator throughout
the workspace
Contd..
• Analog Sensors
• It is a compliant device whose output is proportional to a local force
• Construction of a basic analog touch sensor
• A spring –loaded rod which is mechanically linked to a rotating shaft in a such a way that
the displacement of the rod due to a lateral force results in a proportional rotation of the
shaft. The rotation is measured continuously using a pot or digitally using a code wheel.
• Spring constant should be known
• Accuracy is less
• Only one or two sensor can be used,
• wear and tear more
Artificial Skins
• One more new approach using array of electrodes in electrical contact with a
compliant conductive material(e.g. graphite based substance) whose resistance
varies as a function of compression.
• An object pressing against the surface causes local deformations which are
measured as continuous resistance variations which can be transformed into
electrical signals whose amplitude is proportional to the force being applied at
any given point on the surface of the material
• Several approaches in construction of artificial skins
• Window concept
• Long narrow electrode pairs placed in same substrate plane with active electronic
circuit
• Conductive material is located between two array of thin , flat, flexible electrodes
that intersect perpendicularly
• Use of anisotrophically ( electrically conductive in only one direction) conductive
material
Cameras contd..
• 5 major parameters govern the choice of cameras
• Field of view, resolution, working distance, depth of field and image data
acquisition rate
• Types of camera
• Vidicon camera
• Bulky vacuum tube device, almost extinct today, sensitive to electromagnetic noise
inference and needs high power
• Advantages: High resolution and better light sensitivity
• Digital camera (charge coupled devices or charge integrated devices)
• Solid state technology, solid state silicon wafer area that has photosites printed on it.
• Each small area of wafer called pixel
• Image is projected on pixel surface area, charge is developed proportional to intensity of
light at that location
• Collection of charges -> read sequentially ->image representation
• Output discrete representation of image as a voltage sampled in time
• Image acquisition
• Image acquired by a camera, stored in memory as jpeg or any other format
• It’s a hardware function
• Software control light intensity, focus, camera angle, synchronization etc.
• 4 principle elements
• Light source : ambient or controlled
• Lens
• Image sensor converts light energy to electrical image form
• Electronics reads sensed image process it and transfer to computer for further processing
Image processing
• It is used to enhance, improve or alter an image and to prepare it for
image analysis
• It examines the digitized data to locate and recognize an object within
the image field
• It has several sub process
• Image data reduction
• Histogram analysis
• Thresholding
• Masking
• Edge detection
• Segmentation
• Morphological operations
Image analysis
• Its collection of operations and techniques that are used to extract
information from images
• Some of the analysis techniques are
• Feature extraction
• Object recognition
• Template matching
• structural
• It is the concept in which distance estimates are based on the time elapsed
between the transmission and return of the sonic pulse.
• Range Sensors are used for robot navigation and obstacle avoidance.
• Mainly estimating the distance to the closest objects.
• Two methods are based on lasers
• Method 1
• To determine range is to measure the time it takes an emitted pulse of light to return
coaxially (i.e. along the same path) from a reflecting surface.
• D= c T/2 ; T- pulse transit time , c- speed of light
• Light travels at approximately 1 ft/ns ,the electronic instrument must be 50 ps time
resolution to achieve ± ¼ inch accuracy in range .
• Method 2
• Pulsed laser system produces 2D arrays with values proportional to distance
• 2D scan is accomplished by deflecting laser light via a rotating mirror
• The working range of the device is 1 to 4 m and accuracy ±0.25 cm
• The displayed images in which intensity are proportional the distance between the
sensor and reflecting surface at that point.
• This provides intensity as well as range information
Sensor Selection
• Two type of characteristics for sensor selection
• Static and Dynamic parameters
• Static parameters