Robotics Errors and compensation

Similar documents
Lecture 19. Measurement of Solid-Mechanical Quantities (Chapter 8) Measuring Strain Measuring Displacement Measuring Linear Velocity

Robotics Intelligent sensors (part 2)

Electronics Resistive Sensors and Bridge Circuits

Biosensors and Instrumentation: Tutorial 2

Resistance and Conductance

Lecture 20. Measuring Pressure and Temperature (Chapter 9) Measuring Pressure Measuring Temperature MECH 373. Instrumentation and Measurements

Instrument types and performance characteristics

Module I Module I: traditional test instrumentation and acquisition systems. Prof. Ramat, Stefano

ME 515 Mechatronics. Overview of Computer based Control System

10 Measurement of Acceleration, Vibration and Shock Transducers

National Exams May 2016

Strain, Force, and Pressure

4/3/2019. Advanced Measurement Systems and Sensors. Dr. Ibrahim Al-Naimi. Chapter one. Introduction to Measurement Systems


STRAIN GAUGE MEASUREMENT

CHAPTER 5. BRIDGES AND THEIR APPLICATION Resistance Measurements. Dr. Wael Salah

III B.Tech. II Semester Regular Examinations, April/May INSTRUMENTATION & CONTROL SYSTEMS (Mechanical Engineering) Time: 3 Hours Max Marks: 75

STRAIN GAUGES YEDITEPE UNIVERSITY DEPARTMENT OF MECHANICAL ENGINEERING

Transducers. EEE355 Industrial Electronics

PANDIAN SARASWATHI YADAV ENGINEERING COLLEGE DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6404-MEASUREMENTS AND INSTRUMENTATION

Sensors and transducers

Bridge Method. Bridge Method

Theory and Design for Mechanical Measurements

Bridge Circuits. DR. GYURCSEK ISTVÁN Classic Electrical Measurements 3

Because the third wire carries practically no current (due to the voltmeter's extremely high internal resistance), its resistance will not drop any

Prof. S.K. Saha. Sensors 1. Lecture 5 June 11, Prof. S.K. Saha. Purpose Classification Internal Sensors. External Sensors.

CHAPTER 5 DC AND AC BRIDGE

ELECTRONIC SENSORS PREAMBLE. This note gives a brief introduction to sensors. The focus is. on sensor mechanisms. It describes in general terms how

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination.

Basic Principle of Strain Gauge Accelerometer. Description of Strain Gauge Accelerometer

Glossary Innovative Measurement Solutions

Errors during the measurement process 3.1 Introduction

COURSE OF Prepared By: MUHAMMAD MOEEN SULTAN Department of Mechanical Engineering UET Lahore, KSK Campus

Strain and Force San José State University A. Mysore Spring 2009

Industrial Instrumentation Prof. Alok Barua Department of Electrical Engineering Indian Institute of Technology - Kharagpur

The Strain Gauge. James K Beard, Ph.D. Rowan Hall Auditorium November 2, 2006

P. Bruschi - Notes on Mixed Signal Design

ME 132, Dynamic Systems and Feedback. Class Notes. Spring Instructor: Prof. A Packard

Feedback Control of Linear SISO systems. Process Dynamics and Control

Temperature Compensation for MEAS Pressure Sensors

2.4 The ASME measurement-uncertainty formulation

INC 331 Industrial Process Measurement. Instrument Characteristics

Transducer. A device to which change or converts physical quantity in a more easily measurable quantity. Transducer. (Input) Sensor.

The output voltage is given by,

Solved Problems. Electric Circuits & Components. 1-1 Write the KVL equation for the circuit shown.

POWER FACTOR IN THE DIGITAL AGE A N E N V I R O N M E N T A L P O T E N T I A L S W H I T E P A P E R. Power Quality For The Digital Age

APPLICATIONS OF VIBRATION TRANSDUCERS

Legacy Calibration of the Automatic Weather Station Model 2 of the United States Antarctic Program

MCT151: Introduction to Mechatronics Lecture 10: Sensors & Transduction Mechanisms

Piezoresistive Sensors

STRAIN INSTRUMENTATION SYSTEM MODELING AND PERFROMANCE ANALYSIS

Exercise 1: Thermocouple Characteristics

EA Guidelines on the Calibration of Temperature Indicators and Simulators by Electrical Simulation and Measurement

Force and Displacement Measurement

Measurements in Mechatronic design. Transducers

Lesson 7. Thermomechanical Measurements for Energy Systems (MENR) Measurements for Mechanical Systems and Production (MMER)

INSTRUMENTATION ECE Fourth Semester. Presented By:- Sumit Grover Lect., Deptt. of ECE

TEMPERATURE COMPENSATION FOR MEAS PRESSURE SENSORS APPLICATION NOTE

Patrick F. Dunn 107 Hessert Laboratory Department of Aerospace and Mechanical Engineering University of Notre Dame Notre Dame, IN 46556

QUESTION BANK DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING UNIT I - INTRODUCTION SYLLABUS

PHYS 2212L - Principles of Physics Laboratory II

Calibrating a Pressure Transducer, Accelerometer, and Spring System

Wheatstone Bridge Nonlinearity

HIGH CURRENT BRIDGE DRIVER and 4-20mA Transmitter

Sensors and Transducers. mywbut.com

Automatic Control Motion planning

Last Revision: August,

St art. rp m. Km /h 1: : : : : : : : : : : : :5 2.5.

AC&ST AUTOMATIC CONTROL AND SYSTEM THEORY SYSTEMS AND MODELS. Claudio Melchiorri

SENSORS AND TRANSDUCERS

Angle estimation using gyros and accelerometers

Chapter 3. Lecture 3 Chapter 3 Basic Principles of Transducers. Chapter 3 - Definitions. Chapter 3. Chapter 3 7/28/2010. Chapter 3 - Definitions.

Sensing and Sensors: Fundamental Concepts

Distinguishing Manufacturing Defects From Variability Induced Faults in Analog Circuits

THE HALL EFFECT AND CURRENT SENSORS. Experiment 3

NAME SID EE42/100 Spring 2013 Final Exam 1

PTB S 16.5 MN HYDRAULIC AMPLIFICATION MACHINE AFTER MODERNIZATION

Strain Measurement. Prof. Yu Qiao. Department of Structural Engineering, UCSD. Strain Measurement

Experimental investigations of different force measuring systems

DESIGN AND SIMULATION OF UNDER WATER ACOUSTIC MEMS SENSOR

Exercise 1: Thermistor Characteristics

FACULTY OF ENGINEERING LAB SHEET. IM1: Wheatstone and Maxwell Wien Bridges

CHAPTER 4 DESIGN AND ANALYSIS OF CANTILEVER BEAM ELECTROSTATIC ACTUATORS

Overview. Sensors? Commonly Detectable Phenomenon Physical Principles How Sensors Work? Need for Sensors Choosing a Sensor Examples

Technical Description

Cecilia Laschi The BioRobotics Institute Scuola Superiore Sant Anna, Pisa

BRIDGE CIRCUITS EXPERIMENT 5: DC AND AC BRIDGE CIRCUITS 10/2/13

1990. Temperature dependence of soft-doped / hard-doped PZT material properties under large signal excitation and impact on the design choice

Switched Mode Power Conversion Prof. L. Umanand Department of Electronics Systems Engineering Indian Institute of Science, Bangalore

Robot Manipulator Control. Hesheng Wang Dept. of Automation

Digital Integrated Circuits A Design Perspective. Semiconductor. Memories. Memories

Mechatronics II Laboratory EXPERIMENT #1: FORCE AND TORQUE SENSORS DC Motor Characteristics Dynamometer, Part I

Control Engineering BDA30703

Overview of the Seminar Topic

ECNG3032 Control and Instrumentation I

UC Berkeley, EECS Department EECS 40/42/100 Lab LAB2: Electronic Scale UID:

E05 Resonator Design

Paroscientific, Inc. Digiquartz Technology Overview. Paroscientific, Inc.

Technology Brief 9: Capacitive Sensors

TRANSDUCERS transducer Measurand

Transcription:

Robotics Errors and compensation Tullio Facchinetti <tullio.facchinetti@unipv.it> Friday 17 th January, 2014 13:17 http://robot.unipv.it/toolleeo

Problems in sensors measurement the most prominent problems of sensors arise from nonlinearity (in the time and frequency domain) noise drift of parameters cross-sensitivity

Nonlinearity the nonlinearity arises from the transfer function that puts into relationship the input value to the measured numerical value it suffices to eliminate the nonlinearity in the desired sensing range the nonlinearity was a worse problem in the era of analog electronics nowadays, discrete electronics components inherently solve most of problems related to nonlinearity

Nonlinearity in the frequency (time) domain usually due to undesired effects of the material used to build the transducer dissipation (resistance) memory effects (condenser) inertial effects (inductance) the above effects produce high derivative terms in the transfer function (more poles and zeros)

Compensation of nonlinearity the compensation is theoretically simple: zeros can be used to compensate undesired poles and vice-versa in practice, the compensation may be tricky due to non-perfect cancellations; it may jeopardize stability sensitivity

Compensation of undesired zeros/poles the construction of a digital filter is simple and automatic procedures are available to do it the mobile average is a simple example of low pass filter the implementation of a filter requires adequate computing power a digital filter requires a model of the sensor, which can be obtained from a theoretical model measurements on the device both methods are inherently approximated

Nonlinearity: compensation techniques based on polynomial functions Lookup Table (LUT)

Nonlinearity: compensation in sample out 0.0 0.00000 0.0 1.0 0.50000 1.0 2.0 0.70711 2.0 3.0 0.86603 3.0 4.0 1.00000 4.0 5.0 1.11803 5.0 6.0 1.22474 6.0 7.0 1.32287 7.0 let us assume that the measurement of the input value in produces the numerical value sample from sample it is possible to obtain the corresponding out value (the measurement) the relationships in-sample and sample-out are nonlinear

Nonlinearity: compensation in sample out 0.0 0.00000 0.0 1.0 0.50000 1.0 2.0 0.70711 2.0 3.0 0.86603 3.0 4.0 1.00000 4.0 5.0 1.11803 5.0 6.0 1.22474 6.0 7.0 1.32287 7.0 the compensation of the nonlinearity of the transfer function can be done using a polynomial function noting that sample = 1 2 in it holds out = 4 sample 2

Problems with polynomial functions however, how can the nonlinearity be compensated if the relationship can not be easily approximated by a polynomial? in sample 4 sample 2 0.0 0.00000 0.00000 1.0 0.45000 0.81000 2.0 0.72711 2.11476 3.0 0.82603 2.72930 4.0 1.10000 4.84000 5.0 1.19803 5.74110 6.0 1.24474 6.19751 7.0 1.42123 8.07957 using the relationship out = 4 sample 2 a wrong measurement is obtained (out in) the function may be approximated by a polynomial function

Example of curve fitting non-linear functions can be approximated by curve fitting source: Wikipedia

The Look-Up Table if the approximation using polynomial functions is not accurate enough, the table can be used as a Look-Up Table (LUT) to associate the right value of sample to that of out the LUT can be filled with values measured in a calibration phase intermediate values in the LUT can be found by interpolation

The Look-Up Table the output of the A/D converter is made by M bits the LUT is an array of 2 N memory cells, where N is an integer value each element of the array stores the expected output value for each digital value provided by the A/D converter in previous examples it was N = 3 since the array was made by 2 N = 8 cells

Using a LUT the steps required to use a LUT are the followings: given a binary data X provided by the A/D converter, a binary mask mask = 1... 10... 0 is applied, i.e., the bit-wise operation X mask = X AND mask is performed the mask is composed by N values 1 and M N values 0 X mask is right-shifted of M N bits, i.e., X shift = X mask >> (M N) X shift is used as an index in the LUT in practice, the N most significant bits of x are used to access the LUT; in other words, the N M less significant bits are discarded

Funzionamento di una LUT: esempio the considered system is composed by a LUT[64] array made by 64 cells, i.e., N = 6 (C language notation: valid indexes are in the interval [0..63]) the A/D converter provides 8 bit values, thus M = 8 let us assume the value X = 10010110 is read from the A/D mask = 11111100 X mask = X AND mask = 10010100 X shift = X mask >> 2 = 00100101 the value 00100101 = 37 is used as index in the LUT in other words, LUT[37] will be the value used in the processing

Considerations on the Lookup Table the dimensioning of a LUT is a trade-off among the following aspects: processing speed accuracy of the conversion (number of bits of the output value) memory footprint of the array

Considerations on the Lookup Table M = N there is one value in the LUT for each digital output value from the A/D converter corresponds to the highest accuracy highest memory footprint N < M saves memory space less accuracy in the input-output mapping in this case, there are two possibilities: the introduced error is neglected no further processing is required more speed adjacent values in the LUT are interpolated the accuracy is improved additional computation and less speed

Dead-band nonlinearity v output input x v = f (x) is the measured voltage as a function of the input value

Dead-band nonlinearity v output input x since e x = e v f (x) a small error e v on the measured value can have a great impact on the accuracy of the measure

Dead-band nonlinearity v output input x this type of nonlinearity is pathological, since it depends on the shape of the tranfer function there are no good compensation techniques even using (computationally) heavy algorithms, large accuracy losses can not be avoided

Noise the noise is made by every undesired signal the noise is associated, in general, with random noise (i.e., white noise) the noise affects every possible measurement, since it is related with the intrinsic thermal agitation of atoms

1/f noise (pink noise) the amplitude of this type of noise is inversely proportional to the frequency of the signal 1 its source is still debated 2 in some cases, it is due to variations in atomic layers of the external boundary of sensor bodies 3 sampling issues are exacerbated when measuring signals having frequency close to 0 4 it is immune to filtering based on averaging, since those latter are essentially low-pass filters

Drift of parameters it is due to small changes in the atomic structure of the material used to build the sensor the crystal structure of the material may change if mechanical stress is applied the atoms of two adjacent materials can diffuse and change the properties of one component the external surface of a transducer is subject to the chemical-physical influence of gases and other fluids (e.g., oxidation)

Drift of parameters in some applications the sensor can not be considered a time-invariant system as could be modeled in a first approximation the drift can affect the offset and/or the gain of a transfer function to compensate the drift of the gain the only possiblity is to perform periodic calibrations, better if they can be done automatically

Drift of parameters output variable gain2 gain1 offset1 time offset2 input variable example of drift that affect both offset and gain

Cross sensitivity sensors are always sensitive to more than one input variable in practice, all sensors are affected by the temperature (at least) temperature variations can produce non-linear variations of both offset and gain in the transfer function

Compensation methods available methods can be classified as follows: structural compensation calibration compensation through monitoring deductive compensation this classification is proposed in J.E. Brignell, Sens. Actuators, 10 249 261

Structural compensation it is based on an adeguate (structural) design and engineering of sensor components one fundamental guideline to achieve structural compensation is to enforce the symmetry of components the idea is that the target variable must produce a differential signal, while undesired variables shall generate a common mode signal e.g.: the design of the unbalanced double T transducer in the MEMS accelerometer compensates the pitch accelerations

The Wheatstone bridge Vs Rt R4 R3 Vt Vt Vs R1 R2 the Wheatstone bridge design leverages structural compensation principle based on the symmetry of its components

The Wheatstone bridge: characteristics Vs Rt R4 R3 Vt Vt Vs R1 R2 it is one of the most common circuits for signal measurement it improves the quality of the measurement by achieving higher sensitivity allows to perform a differential measurement reduces the impact of the common mode signal noise

The Wheatstone bridge: characteristics Vs Rt R4 R3 Vt Vt Vs R1 R2 when the circuit is not balanced: R 1 V t = V s ( R 2 ) R 1 + R 4 R 2 + R 3 in balanced conditions: R 4 R 1 = R 3 R 2 R t = R 2R 3 R 2 + R 3 + R 1R 4 R 1 + R 4 if all resistors have the same value, then V t is null

The Wheatstone bridge: usage let s suppose that the sensor includes a Wheatstone bridge having 4 resistors with nominal resistance R 3 resistors are passive elements the R 1 resistor changes its value of R due to the variation of the measured variable (e.g., strain gauge, potentiometers, etc.) the output voltage becomes ( V t = R 4R + 2 R where V s is the known supply voltage ) V s

The Wheatstone bridge: usage note that the equation ( V t = is non-linear in R... R 4R + 2 R ) V s but if R << R then a linear equation is obtained as a result: V t = R 4R V s

Wheatstone bridge: structural compensation the bridge is used to compensate the effect of the temperature on the measurement it assumes that the temperature affects all the resistors in the same manner there is the same variation of resistance due to the temperature by all resistors even in case of changing environmental temperature, the output of the bridge remains balanced, and only the input variable affect the variation of the output voltage

Compensation through calibration usually the structural compensation is not enough a sensors always presents some defects due to the manufacturing process different items of the same devices are always slightly different each device should be individually calibrated

Compensation through calibration scenario: a manufaccturing line builds devices that should be perfect copies the devices differ due to manufacturing unaccuracies the optimal solution would be the calibration of each single device the compensation through calibration can be an expensive solution

Compensation through calibration to overcome the problem some components are inserted in the device that allow an easy calibration after the manufacturing (i.e., it is chea to be done) in case of intelligent sensors, the device is equipped with programmable memoris (e.g., EPROM) that are loaded with the calibration parameters (e.g., the values of a LUT)

Compensation thought monitoring this method is specific to intelligent sensors the sensor include some components to monitor (measure) the interesting variables usually the temperature in order to compensate their effects once the disturbance has been measured, its effect is compensated using a model derived through calibration performend in the factory e.g.: the temperature compensated oscillators measure the temperature of the crystal to adequately compensate its variation

Deductive compensation deductive compensation is mandatory when the system is not physically reachable examples of such systems are: 1 the explosion room of a motor 2 a nuclear reactor 3 the human body in this case the compensation is necessarily based on a model of the system since all models are somehow approximated (especially in case of complex systems), this method is used as a last solution when other methods do not apply