ELG3336 Design of Mechatronics System

Similar documents
ni.com Sensor Measurement Fundamentals Series

MECE 3320 Measurements & Instrumentation. Data Acquisition

Data acquisition and instrumentation. Data acquisition

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5

Developer Techniques Sessions

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

Measurement & Control of energy systems. Teppo Myllys National Instruments

Signal Conditioning Fundamentals for PC-Based Data Acquisition Systems

Signal Conditioning Systems

Ch 5 Hardware Components for Automation

Lab 12 Laboratory 12 Data Acquisition Required Special Equipment: 12.1 Objectives 12.2 Introduction 12.3 A/D basics

CHEMICAL ENGINEERING 2I03

PC-based controller for Mechatronics System

Using Optical Isolation Amplifiers in Power Inverters for Voltage, Current and Temperature Sensing

Analog to Digital Conversion

Biomechanical Instrumentation Considerations in Data Acquisition ÉCOLE DES SCIENCES DE L ACTIVITÉ PHYSIQUE SCHOOL OF HUMAN KINETICS

Differential Amplifier : input. resistance. Differential amplifiers are widely used in engineering instrumentation

P a g e 1. Introduction

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals

Chapter 2 Analog-to-Digital Conversion...

SCXI 8-Channel Isolated Analog Input Modules

Analog-Digital Interface

PAM & SAM System User s Manual

IT.MLD900 SENSORS AND TRANSDUCERS TRAINER. Signal Conditioning

RX1032 PRECISION TEMPERATURE MEASUREMENTS FOR RUGGED ENVIRONMENTS FEATURES. 32-Channel Thermocouple Measurement System

CRN: MET-487 Instrumentation and Automatic Control June 28, 2010 August 5, 2010 Professor Paul Lin

Theoretical 1 Bit A/D Converter

Signal Conditioning Devices

Design and Implementation of Digital Stethoscope using TFT Module and Matlab Visualisation Tool

EKT 314/4 LABORATORIES SHEET

USB-TEMP and TC Series USB-Based Temperature Measurement Devices

Design Implementation Description for the Digital Frequency Oscillator

LINEAR IC APPLICATIONS

Enhancing Analog Signal Generation by Digital Channel Using Pulse-Width Modulation

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition

Hardware Platforms and Sensors

Instrumentation amplifier

TRANSDUCER INTERFACE APPLICATIONS

EX CHANNEL ISOLATED THERMOCOUPLE AND VOLTAGE MEASUREMENT INSTRUMENT

Introduction. These two operations are performed by data converters : Analogue-to-digital converter (ADC) Digital-to-analogue converter (DAC)

Analog front-end electronics

8248AU. 4-Ch Isolated Amplifier with Optional Bridge Conditioning FEATURES TYPICAL APPLICATIONS

EKT 314/4 LABORATORIES SHEET

CHAPTER 7 HARDWARE IMPLEMENTATION

Introduction to NI LabVIEW and Computer-Based Measurements. Elias Nicolas Applications Engineer National Instruments

Microprocessors & Interfacing

APPLICATION BULLETIN PRINCIPLES OF DATA ACQUISITION AND CONVERSION. Reconstructed Wave Form

Making Basic Strain Measurements

Design of Virtual Sphygmomanometer Based on LABVIEWComparison, Reflection, Biological assets, Accounting standard.

12/31/11 Analog to Digital Converter Noise Testing Final Report Page 1 of 10

SIGMA-DELTA CONVERTER

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

CHAPTER 3. Instrumentation Amplifier (IA) Background. 3.1 Introduction. 3.2 Instrumentation Amplifier Architecture and Configurations

BME 701 Lecture 1. Measurement and Instrumentation

Biomedical Sensor Systems Laboratory. Institute for Neural Engineering Graz University of Technology

DT9838. Strain- and Bridge-Based Measurement Module. Key Features: Bridge Configurations. Analog Input Features

AN4995 Application note

Introduction to Discrete-Time Control Systems

MEP 382: Design of Applied Measurement Systems Lecture 5: Signal Conditioning

Embedded Systems Lecture 2: Interfacing with the Environment. Björn Franke University of Edinburgh

Analog to Digital Conversion

USB4. Encoder Data Acquisition USB Device Page 1 of 8. Description. Features

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12.

The Battle for Data Fidelity:Understanding the SFDR Spec

Measurement, Sensors, and Data Acquisition in the Two-Can System

Isolated, Frequency Input 5B45 / 5B46 FEATURES APPLICATIONS PRODUCT OVERVIEW FUNCTIONAL BLOCK DIAGRAM

ME 4447 / ME 6405 MICROPROCESSOR CONTROL OF MANUFACTURING SYSTEMS / INTRODUCTION TO MECHATRONICS

FTMS Booster X1 High-performance data acquisition system for FT-ICR MS

EMG Sensor Shirt. Senior Project Written Hardware Description April 28, 2015 ETEC 474. By: Dylan Kleist Joshua Goertz

Analog Input and Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

A DSP IMPLEMENTED DIGITAL FM MULTIPLEXING SYSTEM

Digital to Analog Conversion. Data Acquisition

Telecommunication Electronics

DT9838 Strain Measurement Module

Isolated, Linearized Thermocouple Input 5B47 FEATURES APPLICATIONS PRODUCT OVERVIEW

DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS

Ch 8. Analog Interface

Electronic Instrumentation and Measurements

Working with ADCs, OAs and the MSP430

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Introduction. ELCT903, Sensor Technology Electronics and Electrical Engineering Department 1. Dr.-Eng. Hisham El-Sherif

How to Monitor Sensor Health with Instrumentation Amplifiers

The University of Texas at Arlington Lecture 10 ADC and DAC

Signal Conditioning 1

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Linear Integrated Circuits Applications

Lecture 14 Interface Electronics (Part 2) ECE 5900/6900 Fundamentals of Sensor Design

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

MICROPROCESSORS AND MICROCONTROLLER 1

AD8232 EVALUATION BOARD DOCUMENTATION

Power Meter PW3335. Ken Sakai Engineering Division 4, Engineering Department. Power Meter PW3335

Multiple Instrument Station Module

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

AERO2705 Space Engineering 1 Week 7 The University of Sydney

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

LV-Link 3.0 Software Interface for LabVIEW

COVENANT UNIVERSITY NIGERIA TUTORIAL KIT OMEGA SEMESTER PROGRAMME: MECHANICAL ENGINEERING

EE445L Spring 2018 Final EID: Page 1 of 7

10. Chapter: A/D and D/A converter principles

WebSeminar: Sept. 24, 2003

Transcription:

ELG3336 Design of Mechatronics System

Elements of a Data Acquisition System 2

Analog Signal Data Acquisition Hardware Your Signal Data Acquisition DAQ Device System Computer Cable Terminal Block Data Acquisition System turns your PC into a Measurement and Automation System Computer Bus

Designing a Mechatronics System: Factors to Consider Is it a fixed or a mobile application? Type of input/output signal: digital or analog? Frequency of input signal? Resolution, range, and gain? Continuous operation? Compatibility between hardware and software. Are the drivers available? Price! Functions: A/D, D/A, Digital I/O, signal conditioning (amplification, prefiltering), timer, trigger, buffer Features Like: A/D resolution (Number of bits used) Maximum sampling rate Number of channels Total throughput Aperture time

Analog Inputs (A/D) Analog to digital (A/D) conversion changes analog voltage or current levels into digital information. The conversion is necessary to enable the computer to process or store the signals. The most significant criteria when selecting A/D hardware are: 1. Number of input channels 2. Single-ended or differential input signals 3. Sampling rate (in samples per second) 4. Resolution (usually measured in bits of resolution) 5. Input range (specified in full-scale volts) 6. Noise and nonlinearity

Transducers and Actuators A transducer (sensor) converts temperature, pressure, level, length, position, etc. into voltage, current, frequency, pulses or other signals. Signal An actuator is a device that activates process control equipment by using pneumatic, hydraulic, or electrical power. For example, a valve actuator opens and closes a valve to control fluid rate.

Pressure Sensors Fuel Fluid Air Tire Blood Altitude, etc. Temperature Sensors Thermocouples Thermistors, etc. Accelerometers Acceleration Vibration Mechanical shock, etc. Strain Gages/Load Cells Weighting of cargo Tension measurement Acoustic Sensors Avalanche warning Ocean graphic data collection, etc. Types of Sensors

Signal Conditioning Amplification + Filtering + Isolation + Linearization Signal conditioning circuits improve the quality of signals generated by transducers (sensors) before they are converted into digital signals by the data-acquisition hardware. Examples of signal conditioning are signal scaling, amplification, linearization, cold-junction compensation, filtering, attenuation, excitation, common-mode rejection, and so on. One of the most common signal conditioning functions is amplification. For maximum resolution, the voltage range of the input signals should be approximately equal to the maximum input range of the A/D converter. Amplification expands the range of the transducer signals so that they match the input range of the A/D converter.

Amplification Used on low-level signals (for example, thermocouples) Maximizes use of Analog-to-Digital Converter (ADC) range and increases accuracy Increases Signal to Noise Ratio (SNR) Noise Instrumentation Amplifier + _ Lead Wires ADC Low-Level Signal External Amplifier

Multiplexing Multiplexing is a set of techniques that allows the simultaneous transmission of multiple signals across a single data link. Multiplexer combines the incoming lines into one [single stream]. Demultiplexer (DEMUX) separates the stream back into its component transmissions (one to many) and directs them to their corresponding lines.

A/D Convertion Aliasing. Acquired signal gets distorted if sampling rate is too small.

Analog-to-Digital Conversion (ADC) To convert analog signals into digital signals Sample & Hold; Quantization; Resolution; Coding Quantization: Transformation of a continuous analog input into a set of discrete output state: Coding: the assignment of a digital code word or number to each output states Number of possible state: N=2 n, n is # of bits Quantization resolution: Q=(V max -V min )/N Quantization Error. Sampling: Numerical evaluate the signal at discrete distance in time, y k =y(kdt) Digitized Signal: a sequence of numbers that is an approximation to an analog signal Sampling time/period: time duration between two consecutive samples, Dt Sampling rate (Hz): 1/Dt Nyquist frequency: 2f max Sampling theory: f s > Nyquist Frequency Sample and hold circuit is needed to arrest change in an input while A/D conversion is being performed.

Resolution 3-bit resolution can represent 8 voltage levels 16-bit resolution can represent 65,536 voltage levels 16-Bit Versus 3-Bit Resolution (5kHz Sine Wave) Amplitude (volts) 10.00 8.75 7.50 6.25 5.00 3.75 2.50 1.25 0 # of levels 101 = 2 resolution = 2 12 = 4,096 levels 0 111 110 100 011 010 001 000 50 100 150 200 Time (ms) 16-bit resolution 3-bit resolution

Nyquist Theorem You must sample at greater than 2 times the maximum frequency component of your signal to accurately represent the frequency of your signal

Data Acquisition Software It may be the most critical factor in obtaining reliable, high performance operation. Transforms the PC and DAQ hardware into a complete DAQ, analysis, and display system. Different alternatives: Programmable software. Data acquisition software packages. Involves the use of a programming language, such as: C++, visual C++; BASIC, Visual Basic + Add-on tools (such as VisuaLab with VTX); Fortran; Pascal. Or does not require programming. Examples includes TestPoint, SnapMaster, LabView, DADISP, DASYLAB, etc.

Anti-aliasing Filter A way of avoiding the problem of aliasing is to apply an anti-aliasing filter to the signal, prior to the sampling stage, to remove any frequency components above the "folding" or Nyquist frequency (half the sampling frequency). An anti-aliasing filter is a low-pass filter.

ELG3336: Midterm 2 Design of a Mechatronics System Assuming a Case Study Draw the block diagram and design each subsystem (Amplifier; Filter; Sample and Hold; ADC; DAC) and set up specifications of other subsystems (Sensor; Multiplexer; Microcontroller; Actuator). Draw the circuit diagram and specify the specification of each subsystem! Subsystems that cannot be designed should be technically specified through search in the Internet and/or books. (Maximum 10 pages) Design a Mechatronics system (identify it) to sense 4 analog input signals and produce 4 analog outputs. The inputs come from sensors that produce signals with a bandwidth of 1 khz, but are known to pick up higher-frequency noise. These signals are to be measured to an accuracy of at least 1%. The output signals are to drive actuators with maximum operating bandwidth of 300 Hz, but which are affected by higher-frequency signals. The actuators require signals to an accuracy of at least 1%.

Another Case Study Design of Myoelectrically Controlled Partial-Hand Prosthesis System Draw the block diagram and design each subsystem based on the given information. Draw the circuit diagram of each subsystem! Suppose you are asked to design myoelectrically controlled partial-hand prosthesis system. The proposed prosthesis consists of three main parts: 1) electromyogram (EMG) signal-processing circuits; 2) the microcontroller and the embedded program; and 3) the prosthesis mechanism. The typical amplitude of EMG ranges from 10 1000 mv. The EMG signals generated from a contracting muscle and detected by physiological signal electrodes are first sent to the instrumentation amplifier, then to bandpass filter, and a precision rectifier circuits. Three electrodes are required to acquire the EMG. Two of these electrodes (electrodes I and II) are attached to the bicepps and serve as the differential inputs to the instrumentation amplifier, while the third (ground, GND) is arbitrarily attached to a different location on the arm as a ground reference and is connected to the ground of the system. The resulting signals are used as inputs to a microcontroller and are converted to digital ones by a comparator embedded in the microcontroller. According to the digital signals, the program built in the microcontroller can make precise decisions and then output PWM signals to control the servomotor to drive the prosthesis. The amplifier is used as a first stage differential amplifier with a gain of 20. This amplifier exhibits a high common-mode rejection ratio (CMRR) and effectively reduces noise. This component is also selected for its compactness. Differential inputs allow the direct current (dc) component to be eliminated from the electrodes.

A bandpass filter with a gain 100, consisting of a high-pass and a low-pass filter, was designed with a low power op amp. The cutoff frequency of the low-pass filter was 500 Hz while that of the high-pass filter was 50 Hz. Meanwhile, the total gain of the combination of the instrument amplifier and the bandpass filter is 3000. This gain is high enough to amplify the obtained EMG signals to a level suitable for processing during the subsequent precision rectifier stage. After the signal passes through the bandpass filter, the precision rectifier reshapes the pulses that can be fed successively into the comparator embedded in the microcontroller. To save energy and for convenience, a 9-V is used to power the entire system. However the available voltage is 12-V. Moreover, a resistor divider is utilized to generate 4.5 and 4.5 V dc; both can serve as dc sources for op amps in a signalprocessing circuit. The 4.5-V source also supplies the microprocessor and the servomotor. The power consumption and compactness must be considered so that selecting a motor is challenging. A servomotor commonly used for control applications consumes much current and is oversized and expensive. Because a stepping motor loses step under some conditions, it unsuitable in this application. Following a survey of products, an R/C servomotor is adopted herein to drive the prosthesis mechanism. The R/C servomotor, equipped with a position feedback control circuit and a decelerating gearbox assembly, provides a simple control mechanism. The R/C servomotor is controlled by a PWM signal, which can drive the motor to a desired position according to the width of the pulse. In this design, the Mitsubishi M51660L control chip is adopted as an R/C servomotor controller.