Outline Introduction to sensors

Slides:



Advertisements
Similar presentations
Aaron Burg Azeem Meruani Michael Wickmann Robert Sandheinrich
Advertisements

Lecture 2: Pressure Measurements
Variable Capacitance Transducers The Capacitance of a two plate capacitor is given by A – Overlapping Area x – Gap width k – Dielectric constant Permitivity.
Ryan Roberts Gyroscopes.
Measurement of force torque and pressure
Dr. Shanker Balasubramaniam
[HW] 2015 – sensors purpose of a sensor:
Accelerometers Richard Manning. Accelerometers in General In general, an accelerometer is a device that is used to measure its own acceleration in comparison.
Ksjp, 7/01 MEMS Design & Fab Sensors Resistive, Capacitive Strain gauges, piezoresistivity Simple XL, pressure sensor ADXL50 Noise.
RAISE Teachers Polytechnic University Monday August 29, 2005 Introduction to Sensors Sookram Sobhan.
SENSORS AND TRANSDUCERS
ST13 – (Complex) Sensor systems 1 (Complex) sensor systems Lecturer: Smilen Dimitrov Sensors Technology – MED4.
Introduction Definitions, classifications, general requirements.
Fiber Optic Sensors David Gunther Applied Optics 10 March 2005.
EKT314/4 Electronic Instrumentation
Introduction to Robotics Principles of Robotics. What is a robot? The word robot comes from the Czech word for forced labor, or serf. It was introduced.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 3.2: Sensors Jürgen Sturm Technische Universität München.
Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.
SENSORS MEETING THE NEEDS OF THE DAY  A device which converts energy or information in one form to another  In other words, a device which provides.
Slide # 1 Velocity sensor Specifications for electromagnetic velocity sensor Velocity sensors can utilize the same principles of displacement sensor, and.
Sensing self motion Key points: Why robots need self-sensing Sensors for proprioception in biological systems in robot systems Position sensing Velocity.
感測器原理與應用.
Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics  TEMA  IEETA  Sensors.
Seminar ON SMART SENSOR Submitted by : SUBIR KUMAR GHOSH Roll No. IN-14/04 Electrical & Instrumentation Deptt. B.E 7th Semester JORHAT ENGINEERING COLLEGE,
Robot sensors MVRT 2010 – 2011 season. Analog versus Digital Analog Goes from 0 to 254 Numerous values Similar to making waves because there are not sudden.
EKT 451/4 SEM 2 Chapter 6 SENSOR & TRANSDUCER SHAIFUL NIZAM MOHYAR
Accelerometers EE 587 By: David Jackson. Accelerometers Types of Accelerometers How Surface Micromachined Capacitive Accelerometers Work Tilt Sensing.
Sensors Por: Flora Gibson.
EE 495 Modern Navigation Systems Inertial Sensors Monday, Feb 09 EE 495 Modern Navigation Systems Slide 1 of 19.
EE 495 Modern Navigation Systems
Gonzales, Jamil M. Tengedan, Billy R.
EE 495 Modern Navigation Systems Inertial Sensors Wed, Feb 17 EE 495 Modern Navigation Systems Slide 1 of 18.
ROBOTICS 01PEEQW Basilio Bona DAUIN – Politecnico di Torino.
The sensors guide fingerprint sensors rate monitor gyroscope camera
EKT 451 CHAPTER 6 Sensor & Transducers.
1 Transducers EKT 451 CHAPTER 6. 2 Definition of a Transducers   Transducer is any device that converts energy in one form to energy in another.  
1 Sensors and Transducers. 2 Physical Process Measurand Signal variable Display X S Measurement M Simple Instrument Model Physical Measurement variable.
1 TRANSDUCER. 2 Contents To understand the basic concept of Transducer To learn about Block diagram of transducer Different Applications of transducers.
Electric Pressure Transducer
CNC FEED DRIVES.
Instrumentation & Measurement
Mechanical Measurements and Metrology
MECH 373 Instrumentation and Measurements
Electrical circuits, power supplies and passive circuit elements
Recall Our TWR-K60D100M Primary SW1 Connector SW2 SW3(Reset) Secondary
TRANSDUCERS PRESENTATION BY: Dr.Mohammed Abdulrazzaq
INTRODUCTION TO ELECTRONIC INSTRUMENTATION
Speed, Power, Torque & DC Motors
Chapter Electromechanical Systems 6. Chapter Electromechanical Systems 6.
Introduction to Smart Systems
Measurement of Pressure , Velocity, Acceleration Mass and Weight
Accelerometry.
Expt 1 STUDY OF GENERALIZED MEASUREMENT SYSTEM & ITS COMPONRNT WITH EXAMPLE OF BOURDON PRESSURE GAUGE.
By: Thomas Thao EE 4611: Introduction to Semiconductors
Engineering Measurements
Electrical circuits, power supplies and passive circuit elements
Variable Capacitance Transducers
CS4101 Introduction to Embedded Systems Lab 11: Sensors
Definitions, classifications, general requirements
Robotics Sensors and Vision
MEMs Sensors Max Tesch.
David Gunther Applied Optics 10 March 2005
MEMs Sensors Max Tesch.
Introduction COURSE OBJECTIVE:
ECE699 – 004 Sensor Device Technology
Robotics System Lecture 4: Gyro Sensor
Robotics System Lecture 4: Gyro Sensor
gyroscope Prof Varsha Degaonkar Assistant Professor
UNIT 8 OTHER SENSORS.
Definitions, classifications, general requirements
Presentation transcript:

CS4101 嵌入式系統概論 Sensors Prof. Chung-Ta King Department of Computer Science National Tsing Hua University, Taiwan

Outline Introduction to sensors Accelerometer Gyroscope NuMaker TRIO sensor controller MPU-6050

What Are Sensors? A sensor is a device that detects either an absolute value or a change in a physical or electrical quantity, and converts that change into a useful input signal (often analog signals) for a decision making center Data Processing, Control, Connectivity Sensor Input Actuator or Output What is a Sensor? A Sensor is a device that detects a physical or electrical quantity and converts this characteristic into a value for a decision making center such as an MCU. From this the MCU can decide on events, and trigger an additional output. Some examples of physical quantities that our sensors measure include: Temperature Pressure Flow rate Acceleration Vibration Tilt Touch

Sensors For capturing physical data Sensors can be designed for virtually every physical and chemical stimulus Heat, light, sound, weight, velocity, acceleration, electrical current, voltage, pressure, … chemical compounds Many physical effects can be used for constructing sensors Law of induction (generation of voltages in an electric field), light-electric effects. …

Sensor Applications Acceleration Gesture detection Tilt to control Tap detection Position detection Orientation Gyroscopic Magnetic Ambient light sensing Temperature/humidity Motion detection Pressure Medical Barometer/altimeter Engine control/tire pressure HVAC applications Water level Accelerometers include measurements of Gesture detection, Tilt, Tap and Orientation. Pressure sensors measure Automotive engine control parameters, medical health monitoring, and have lots of industrial applications. Touch sensors can be utilized in button replacement and be designed for custom applications. Multiple sensors working together for next generation applications… Touch Touch detection Appliance control panels Touch panels

Accelerometers Devices that are used to measure acceleration Common accelerometer types Resistive: strain gauge, piezoresistive, thin-film Capacitive: fiber optic, servo or force balance, vibrating quartz, piezoelectric MEMS accelerometers: MEMS (Micro ElectroMechanical Systems): small silicon devices that perform the same function as larger mechanical systems There is always 1 g downward due to gravity

Accelerometer Types Capacitive: utilizes frequency modulation technique through varying capacitor bridge Power Ground Signal Built-In Electronics Fixed Capacitors ~ Insulator Sensing Capacitor #1 Mass Flexure Sensing Capacitor #2 Insulator

Piezoelectric Material Accelerometer Types Piezoelectric: Force on self-generating crystal provides charge output proportional to acceleration Signal/Power Ground F Piezoelectric Material + + + 壓電材料 + + + + - - - - - - Voltage or Charge Amplifier - Preload Ring Mass Piezoelectric Crystal F Base 7

MEMS Accelerometer Suspension arms Proof mass Substrate with circuitry Axis of response 8

Accelerometer at Work: X, Y, Z Movement X-axis Y-axis Notice how the g-cell moves in X, Y and Z axes. The change in the distance between the plates or fingers determines the capacitance. This relates to the acceleration in each axis. Silicon has no fatigue, so can repetitively move back and forth for extended periods. Bump stops are used to control maximum movement. Z-axis

Accelerometer Application: Pedometer Pedometer or Step Counter: count number of steps When the person starts moving, x-axis value will increase and y-axis value will tell the relative change in the height Can recognize behaviors (rises from the ground or touches the ground) according to this trend value y-axis x-axis z-axis

Gyroscopes Devices that are used to determine orientation and measure angular velocity Common gyroscope types Mechanical gyroscopes Fiber optic gyroscope(FOG): precise rotational rate information MEMS gyroscopes Principle of operation is instead based on the vibration

Mechanical Gyroscopes A gyroscope is a spinning wheel. When rotating, the orientation of the axis is unaffected according to the conservation of angular momentum, and thus it can measure or maintain orientation. 想像一個陀螺在一本書上旋轉,書雖然轉動, 但陀螺總是保持一個固定方向

Fiber Optic Gyroscopes Two beams injected into same fiber in opposite directions. The beam travelling against the rotation runs a shorter path, resulting in differential phase shift Its principle of operation is based on the interference of light, which has passed through a coil of optical fiber which can be as long as 5 km. (http://www.neubrex.com/htm/applications/gyro-principle.htm)

A drive arm vibrates in a certain direction MEMS Gyroscopes MEMS gyroscopes use the Coriolis effect, e.g., A drive arm vibrates in a certain direction When the gyro is rotated, the Coriolis force produces vertical vibration Stationary part bends due to vertical drive arm vibration, producing a sensing motion in sensing arms (http://www5.epsondevice.com/en/information/technical_info/gyro/)

3-axis MEMS Gyroscope

Gyroscope Applications Smartphone can rotate the view of screen automatically when the user rotate the device A smartphone game (balance ball) in which the user need to rotate the device to make the ball arrive at the destination area

Accelerometers versus Gyroscopes An accelerometer has the ability to measure the orientation of a stationary platform relative to the earth’s surface. A gyroscope has the capability of measuring the rate of rotation around a particular axis. In other words, an accelerometer gets the direction of motion of an object and a gyroscope gets the degree of rotation.

Outline Introduction to Sensors Accelerometer Gyroscope NuMaker TRIO sensor controller MPU-6050

MPU-6050

MPU-6050: Accelerometer Two bytes (high and low) to present each axis Read_MPU6050_AccY(void): LowByte =MPU6050_ReadByte(MPU6050_ACCEL_YOUT_L); HighByte =MPU6050_ReadByte(MPU6050_ACCEL_YOUT_H); AccY = (HighByte<<8) | LowByte ;

MPU6050 - Gyroscope Similar to the accelerometer Read_MPU6050_GyroX(void): LowByte = MPU6050_ReadByte(MPU6050_GYRO_XOUT_L); HighByte = MPU6050_ReadByte(MPU6050_GYRO_XOUT_H); GyroX = (HighByte<<8) | LowByte ;

MPU6050.h/.c (Library/NuMakerLib/Include,Source) #define MPU6050_I2C_SLA 0xD0 #define MPU6050_I2C_PORT I2C1 void MPU6050_WriteByte(uint8_t MPU6050_reg, uint8_t MPU6050_data) { uint8_t data[1]; data[0]=MPU6050_data; I2C_writeBytes(MPU6050_I2C_PORT, MPU6050_I2C_SLA, MPU6050_reg, 1, data); } uint8_t MPU6050_ReadByte(uint8_t MPU6050_reg){ I2C_readBytes(MPU6050_I2C_PORT, MPU6050_I2C_SLA, return(data[0]);

smpl_I2C_MPU6050 (SampleCode/NuMaker-TRIO) int32_t main(){ int16_t accX, accY, accZ; int16_t gyroX, gyroY, gyroZ; SYS_Init(); I2C_Open(I2C1, I2C1_CLOCK_FREQUENCY); Init_MPU6050(); while(1) { accX = Read_MPU6050_AccX(); accY = Read_MPU6050_AccY(); accZ = Read_MPU6050_AccZ(); printf("Acc: %6d, %6d, %6d, ", accX,accY,accZ); gyroX = Read_MPU6050_GyroX(); gyroY = Read_MPU6050_GyroY(); gyroZ = Read_MPU6050_GyroZ(); printf("Gyro: %6d, %6d, %6d", gyroX,gyroY,gyroZ); }

smpl_I2C_MPU6050_Tilt (SampleCode/NuMaker-TRIO) while(1) { accX = Read_MPU6050_AccX(); accY = Read_MPU6050_AccY(); accZ = Read_MPU6050_AccZ(); printf("Acc: %6d, %6d, %6d, ", accX, accY, accZ); // calculate tilt (degree = radians *180 / PI) theta=atan(accX/sqrt(pow(accY,2)+pow(accZ,2)))*180/PI; psi=atan(accY/sqrt(pow(accX,2)+pow(accZ,2)))*180/PI; phi=atan(sqrt(pow(accX,2)+pow(accY,2))/accZ)*180/PI; printf("theta=%d, psi=%d, phi=%d\n", (int) theta, (int) psi, (int) phi); }