Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf ·...

48
Mechatronics System Design - Sensors

Transcript of Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf ·...

Page 1: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Mechatronics System

Design - Sensors

Page 2: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

1. The functional role of the sensor?

2. Displacement, velocity and visual

sensors?

3. An integrated example-smart car with

visual and displacement sensors.

Aim of this class

Grouping?

Page 3: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Car Sensors

Page 4: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Sensors in Animal

Eye Ear stone

Lateral line

Page 5: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Apollo 10:

Rocket part --- 2077 sensors

Spaceship part --- 1218 sensors

Acceleration, temperature, pressure, vibration, flow speed, strain stress etc.

Spacecraft:

185 sets of integrated

instrument

Sensor in Aircraft

Page 6: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Growing sensing technology in our daily life

Sensor around us

Page 7: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

1 Sensor function, classification

2

4

Displacement Sensors

Sensing devices

An integrated example

3 Vision Sensor

5 Our project

Page 8: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

o “Recent scientific progress is closely related to the development

of cutting-edge sensor technology”.- Nobel prize winner RR

Ernst.

o In recent 80 years, 38 people win Nobel Prize because of their

original contribution of sensor.

• Significance of the sensor

Page 9: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

9

What is a sensor?

A device that is able convert measurement

variables into electrical signals, and then been

digitalized by computer.

Sensor definition

Page 10: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

What are sensors consist of

• Sensor is generally composed of three parts:

sensing element, transition element, conversion

circuit.

Digital

Output

Physical

Input

sensing

element

Amplificati

on element

conversion

circuit

Sensor definition

Page 11: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Sensor function, classification and basic requirements

• Course equipment sensors

Page 12: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Encoder

Encoder

Page 13: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Optical limit switch

Limitation switch sensor

Page 14: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Sensor function, classification and basic requirements

• Classification according to the nature of the output signal:

Sensor

Switch type

(Binary type):

Analog:

Digital:

Contact (micro switch, touch switches, etc.)

Non-contact (optical switches, proximity switches,

etc.)

Resistance type (potentiometers, strain gauges, etc.)

Voltage and current type (thermocouple, photovoltaic

cells, piezoelectric element, etc.)

Inductance, capacitance type (inductive, capacitive

displacement sensors, etc.)

Count type (binary + counter)

Code type (encoders, magnetic tape, etc.)

Page 15: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Measurement

categoryBe measured

Thermal value

Temperature, heat, heat; pressure,

pressure, vacuum; flow, velocity,

wind

Mechanical

value

Displacement (linear displacement,

angular displacement), the size,

shape; force, moment, stress; weight,

quality; speed, line speed; vibration

amplitude, frequency, acceleration,

noise

Sensor classification

Page 16: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Measurement

categoryBe measured

Physical

properties and

composition

The chemical composition of gas,

liquid chemical composition; acidity

(PH value), salinity, density, viscosity;

density, specific gravity

Status

calculation

Color, transparency and the amount of

wear, cracks or defects within the

material, gas leakage, surface quality

Sensor classification

Page 17: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Sensor basic requirements

1. Small size, light weight, good adaptability to the

machine.

2. Greater sensitivity and tolerate to the

environmental noise.

3. Nice stability.

Page 18: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

一Sensor function, classification and basic

requirements

Displacement measurement sensors

Selection principles and precautions

Sensing devices

Measurement circuit and computer

interface

三 Vision Sensors

Page 19: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Displacement measurement sensors

Category:

• Linear displacement: linear potentiometers, grating, magnetic

foot

• Angular displacement: Rotary potentiometer, encoder, resolver,

circular grating, a round magnetic feet

Page 20: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

• The analog (displacement) of the mechanical rotation into an

electric signal in the form of a digital code, this type of sensor is

called encoder. Encoder for it’s high precision, high resolution and

high reliability are widely used in various displacement

measurements.

• There are many different types of encoder; divided pulsed disc

(incremental encoder) and the code disc encoder (absolute

encoder), the relationship is as follows:

Encoder

Pulsed disc encoder

(incremental encoder)

Code disc encoder

(absolute encoder)

Contactless Encoder

Magnetic Encoder

Optical encoder

Displacement measurement sensors - Encoders

Page 21: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Displacement measurement sensors - Encoders

Page 22: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Displacement measurement sensors - Encoders

Page 23: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Displacement measurement sensors - Encoders

Page 24: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Displacement measurement sensors - Encoders

Page 25: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Displacement measurement sensors – Encoders

Page 26: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Displacement measurement sensors –

Measurement Frequency

Page 27: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Displacement measurement sensors – Pulse width

measurement method

Page 28: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

1Roll, classification, and basic

requirement of sensor.

2

4

5

Displacement sensor

Selection principles and

precautions

Sensor

Measurement circuit and

computer interface

3 Vision sensor

Page 29: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Principles and Applications of Vision Sensor

Page 30: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Classification

Depending on the working principle, vision sensors

can be divided into the following three categories:

Photoconductive vision sensor

CCD vision sensor

CMOS vision sensor

Principles and Applications of Vision Sensor

Page 31: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

CCD vision sensorCCD sensor, also known as charge-coupled device, is a special semiconductor material, which is consist of a large number of independent photosensitive diodes.

Principles and Applications of Vision Sensor

Page 32: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

CCD vision sensor-characteristic

1. Small size, light weight, low power consumption,

high reliability, long life.

2. High spatial resolution.

3. High optical sensitivity, wide dynamic range

4. Analog or digital output; with easy computer

interface.

Principles and Applications of Vision Sensor

Page 33: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Smart car

An integrated example

Page 34: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Slide 2

Smart Car Camera System Overview.

Resource allocation in microcontroller chip.

Camera and image processing.

An example of vision Sensor application

Page 35: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Smart Car with Camera

CCD Camera

ColdFire family of MCU

MCF52259 Minimum System

Futaba S3010 servo

Smart car system board

Optical encoder

Driver module and DC motor

Principles and Applications of Vision Sensor

Page 36: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Slide 36

MCF52259

Controller

Power Management

Module

CCD image

acquisition module

Bluetooth serial

communication module

Servo Steering wheel

BTS7960 driver module

DC motor Wheels

Optical encoder

Block diagram of the system

Principles and Applications of Vision Sensor

Smart Car Camera System Overview.

Page 37: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

How Smart car works:

• Camera captures the image of the runway, and

transferred to the microcontroller;

• MCU which is an embedded controller for image

processing, to control the motor voltage output, car head angle

etc. according to the control strategy.

• Encoder emits pulses to the microcontroller by following the

running car. MCU records the number of pulses by pulse

counting module to calculate the motor speed, and adjust the

speed;

Slide 37

Principles and Applications of Vision Sensor

Smart Car Camera System Overview.

Page 38: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Resource allocation in microcontroller chip.

The car function

moduleSignal type

Corresponding

MCU module

Transmission

direction *

Image acquisition

CCD (for example)

Analog

(image info)

Digital

(interrupt signal)

AD, ECT input

capture

(or INT interrupt)

Input

Optical encoder Digital (pulse)ECT pulse

accumulate PAInput

Servo Digital(PWM) PWM module Output

Motor driver

moduleDigital(PWM) PWM module Output

Bluetooth serial

Comm. moduleDigital SCI module Input and output

* Transfer direction refers to MCU

Principles and Applications of Vision Sensor

Page 39: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Camera and image processing

Selection of camera

Classification according photosensitive device unit, there are two

types of cameras: CCD and CMOS, both compared as follows:

High sensitivity determines the image dynamic, high-resolution

determines the forward distance. Therefore CCD camera is a better

choice.

CCD CMOS

Sensitivity High Low

Cost High Low

Resolution High Low

Noise ratio Low High

Power

dissipationHigh Low

Principles and Applications of Vision Sensor

Page 40: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Slide 40

CMOS CCD

Camera and image processing

Principles and Applications of Vision Sensor

Page 41: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Divided by the output signal type, the camera can

be divided into analog and digital.

Analog can be seen in the CCD

and CMOS, only CMOS is

available in digital currently.

OV7620 digital camera

Principles and Applications of Vision Sensor

Camera and image processing

Page 42: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Image processing

Slide 42

Track picture

Black line

White background

Irrelevant information

Curve

Straights

Cross

Principles and Applications of Vision Sensor

Page 43: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Video

Page 44: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Image processing

Slide 44

Binarized black and white image

Principles and Applications of Vision Sensor

Page 45: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Image capture module

Module Schematic

Slide 45

LM1881

LM393

MCU

Line breaks

Market

disruption

ECT

TLC5615

I/OCCD

Function: hardware binary,

dynamic threshold DA converter chip

Principles and Applications of Vision Sensor

Page 46: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Sensors in my projects

Page 47: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Question time

Prof. Wang Email: [email protected]

Prof. Li Wen Email: [email protected]

Class room:(一)307

Hand-on experiments room: New main building B307

Course duration: 1-17 week Tuesday (1. 2) 14:00-15:45

TA:Mamoon: 13260495830;Pan:13126522848;

Courseware Download:[email protected]

Password: xdjdkz2014Homework submission:

[email protected]

Page 48: Mechatronics System Design - Sensorssoftrobotics.buaa.edu.cn/PPT/Chapter 3 Sensors.pdf · Displacement measurement sensors Selection principles and precautions Sensing devices Measurement

Thank you