CBC Fundamentals Lecture is based on material from Robotic Explorations: A Hands-on Introduction to Engineering, Fred Martin, Prentice Hall, 2001.

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

EMS1EP Lecture 8 Pulse Width Modulation (PWM)
Analog to Digital Conversion (ADC)
Ch8 Inverters (converting DC to AC)
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Digital to Analog and Analog to Digital Conversion
Analog to Digital Conversion. Introduction  An analog-to-digital converter (ADC, A/D, or A to D) is a device that converts continuous signals to discrete.
Lecture 9: D/A and A/D Converters
Analogue to Digital Conversion
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 26.1 Data Acquisition and Conversion  Introduction  Sampling  Signal Reconstruction.
Introduction to D/A and A/D conversion Professor: Dr. Miguel Alonso Jr.
Introduction to Data Conversion
Discussion #25 – ADCECEN 3011 Conversion Mosiah 5:2 2 And they all cried with one voice, saying: Yea, we believe all the words which though has spoken.
COMP3221: Microprocessors and Embedded Systems Lecture 20: Analog Output Lecturer: Hui Wu Session 2, 2004.
Department of Electrical Engineering Southern Taiwan University of Science and Technology Robot and Servo Drive Lab. 2015/7/2 Digital Control Strategy.
SENIOR DESIGN 10/16.
Digital to Analog Converters
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
Power Electronics DC to AC Converters
Servo Motors # A servo is a motor that you can position at any angle very accurately. # Servos have a limited servo range; most servos have a range of.
ELECTRONICS PRIMER. Assignment: WEB-based Electronics Tutorial Basic definitions Components Ohm's Law LEDs and Transistors Additional electronics tutorials.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
A/D Conversion No. 1  Seattle Pacific University Analog to Digital Conversion Based on Chapter 5 of William Stallings, Data and Computer Communication.
Electronics Involves the use of devices and circuits to control the flow of electric current to achieve some purpose. These circuits contain: Resistors,
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Hybrid I/O – Pulses.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
ELECTRONICS PRIMER II.
STEPPER MOTORS Name: Mr.R.Anandaraj Designation: Associate. Professor Department: Electrical and Electronics Engineering Subject code :EC 6252 Year: II.
V. Rouillard  Introduction to measurement and statistical analysis DIGITAL SAMPLING - DIGITISATION Digital sampling is mainly used in data acquisition.
EML 2023 – Motor Control Lecture 1 – Closed Loop Motor Control.
NATCAR SUMMER CLASS II 6 July 2004 Chung Hsieh. Topic of Discussion Power Supply Motor Drive Circuits Braking.
SMV Electric Tutorials
PWM: Pulse Width Modulation © 2014 Project Lead The Way, Inc.Digital Electronics.
Computer Fundamentals 14 © 2013 Pearson Higher Education, Inc. Pearson Prentice Hall - Upper Saddle River, NJ Advanced Automotive Electricity and.
Throttle Arduino RC Receiver Stock Golf Cart Motor Controller Motor 1 PWM signal: Voltage: 0 – 5V Period = 22ms Positive Pulse Width: 1ms – 2ms Digital.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
5-2-3 Analogue to Digital Converters (ADC). Analogue to Digital Conversion The process is now the opposite of that studied in Topic Now we wish.
Introduction to VEX® components
ELECTRONICS PRIMER.
MECH 373 Instrumentation and Measurements
Introduction to Motors, servos and steppers
UNIT-IV Application of Special I.C’s.
EI205 Lecture 13 Dianguang Ma Fall 2008.
Fri. Oct 13 Announcements Lab practical next week
A lecture for Arduino Course, Winter 2017/18
PCM (Pulse Code Modulation)
Inverters Dr John Fletcher.
DC MOTOR SPEED CONTROL 1. Introduction
Pulse Width Modulation (PWM) Motor Feedback - Shaft Encoder
Chapter 2 Signal Sampling and Quantization
Lesson 6: Sampling Analog Signals
Power Electronic Drives - DC to AC converter / Inverter
General Licensing Class
UNIT-8 INVERTERS 11/27/2018.
Digital Control Systems Waseem Gulsher
PULSE-WIDTH-MODULATED OUTPUT
Chapter 3: BASEBAND PULSE AND DIGITAL SIGNALING
Presentation of Robotics (3)
Conversation between Analogue and Digital System
Sensors and actuators Sensors Resistive sensors
Chapter 3: BASEBAND PULSE AND DIGITAL SIGNALING
Hitec HS 303: Robotic Servo Motor
Introduction to Motors
Equalizing Average Source Power with Pattern Swapping
Robotics System Lecture 11_12: DC Motor
Automotive Technology Principles, Diagnosis, and Service
Computer Fundamentals
Presentation transcript:

CBC Fundamentals Lecture is based on material from Robotic Explorations: A Hands-on Introduction to Engineering, Fred Martin, Prentice Hall, 2001.

Copyright Prentice Hall, 2001 CBC Features Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 CBC Sensor Ports Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 CBC Digital Input 47K for CBC digital port 15K for CBC analog port WARNING: Mechanical switches BOUNCE!!!!! A few milliseconds. Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 Digital Function Call Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 Analog Input 47K for CBC digital port 15K for CBC analog port The 15K resistor can be disabled!!! Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 Analog Signals An analog voltage can take on any value between 0 and 3.3 Volts. An Analog-to-Digital Converter (ADC) within the CBC, however, will quantize the analog signal. The CBC’s ADC is 10 bits wide. Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 Quantization Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 Sampling Theorm In order to avoid a non-linear phenomenon known as aliasing, an electrical signal must be sampled at a rate of at least TWICE the highest frequency component present in the signal. Fs > 2 * Fh Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 Complex Signals Complex signals (like square waves) are actually linear combinations of sinusoids. Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 Bandlimiting Once a sampling rate has been determined, the input must be bandlimited. This means that the incoming electrical signal is filtered so that all frequency components above one-half the sampling frequency are removed! Copyright Prentice Hall, 2001

Analog Input Function Call Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 Using Motors & Servos Copyright Prentice Hall, 2001

How do you connect motors to computers? Computers operate at constant voltage and very low current Motors draw high current and their speed and direction depends on the voltage Robot controllers use: H-Bridge circuit to handle current and direction PWM to control speed Copyright Prentice Hall, 2001

H-Bridge - Separate Logic Current from Motor Current + + V - Pulse On SF1 SR2 + + V - Motor - SR1 SF2 Copyright Prentice Hall, 2001

H-Bridge (reversed) - Separate Logic Current from Motor Current + Pulse On SF1 SR2 + - V + Motor - SR1 SF2 Copyright Prentice Hall, 2001

Pulse Width Modulation Pulse motor at fixed frequency Maintains voltage level supplied to motor Duty cycle governs speed Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 Back EMF XBC can measure EMF generated back from spinning motor BEMF is proportional to actual motor speed from acroname.com Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 Wheel Encoders Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 Servos Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 CBC Servo Ports Copyright Prentice Hall, 2001

Copyright Prentice Hall, 2001 CBC Servo Ports Copyright Prentice Hall, 2001