SENIOR DESIGN 10/16.

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

Basic Electronics Part 7: Actuators
Transducers PHYS3360/AEP3630 Lecture 33.
EMS1EP Lecture 8 Pulse Width Modulation (PWM)
Smart lighting control Done by : Haya Salah Esraa Nabulsi Eman Dwikat Under the supervision of: Dr. Kamil Subhi.
Controlling Motors OBEY ME!. On-Off Control 1. Switch control.
Encoders, Motors, Power, Mini Project #1 10/24/2014.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
Part 1: Introduction FRC Introduction  FRC 2907 since 2008  Each area of the robot has a team assigned  The Electronics team is headed this year.
L.
COMP3221: Microprocessors and Embedded Systems Lecture 20: Analog Output Lecturer: Hui Wu Session 2, 2004.
Arduino. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source.
Secret Door Knock Detector
Digital I/O Connecting to the Outside World
Introduction.
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
Pulse Width Modulation (PWM) LED Dimmer Circuit
Microprocessors Tutorial 2: Arduino Robotics
Pulse Width Modulation (PWM) LED Dimmer Circuit
1 Motors & Motor Controllers ECE AC or DC Motors AC –Few robots use AC except in factories –Most of those that use AC first convert to DC DC –Dominates.
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.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
ENGR 6806 – Motor Control Prepared By: Rob Collett September 15, Office: EN2074.
1  Actuators are used in order to produce mechanical movement in robots.
Sensors are mostly electronic devices used to monitor or capture something.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Hybrid I/O – Pulses.
ELECTRONICS PRIMER II.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Motors & Motor Drivers ECE 450.
Electrical Actuation System Lecture 9 (Chapter 9).
STEPPER MOTORS Name: Mr.R.Anandaraj Designation: Associate. Professor Department: Electrical and Electronics Engineering Subject code :EC 6252 Year: II.
DC Motor Control The material presented is taken from a variety of sources including: ponents/inductor001.html#howworks,
BM-305 Mikrodenetleyiciler Güz 2015 (3. Sunu) (Yrd. Doç. Dr. Deniz Dal)
Microprocessors Tutorial 2: Arduino Robotics. Agenda 1. Robot Anatomy 2. Sensor Review 3. PWM 4. MAKE: Fade 5. Motors 6. H Bridge 7. Robot Control library.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
AUTOMATIC RAILWAY GATE CONTROLLING AND TRACK SWITCHING
Data Acquisition Device (DAQ) A DAQ is a cool little device that allows you to interface hardware to a computer. Here is what we will do:  Create a square.
SMV Electric Tutorials
18240 Element two - Components INPUTS OUTPUTS PURPOSE TYPICAL USE.
PIC18F4431. PIC18F1330 Infrared Encoder/Decoder.
PWM: Pulse Width Modulation © 2014 Project Lead The Way, Inc.Digital Electronics.
1. 2 Meghanathi Gaurang k ( ) Pandey Prashant D ( ) Mishra sandip R ( )
Arduino Based DC Motor Speed Control
DC motor principles Speed control Direction Stepper motor principles
Pulse-Width Modulation: Simulating variable DC output
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Motors & Motor Controllers
Application Case Study Christmas Lights Controller
BM-305 Mikrodenetleyiciler Güz 2016 (3. Sunu)
Introduction to Motors, servos and steppers
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
MICROCONTROLLER AND INTERFACING
SENIOR DESIGN PROJECT 1/23/06.
SENIOR DESIGN PROJECT 1/30/06.
Arduino - Introduction
Principles & Applications and Simple Interfacing
DC MOTOR SPEED CONTROL 1. Introduction
Electric Motors.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Analog Input through POT
Auto-Control street lights
Secret Door Knock Detector
Presentation of Robotics (3)
Sensors and actuators Sensors Resistive sensors
UNIT 11: RC-SERVOMOTOR CONTROL
UNIT 5 Analog signals.
Applications of Basic Electronics Components
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Presentation transcript:

SENIOR DESIGN 10/16

Pulse Width Modulation (PWM) PWM is a way of digitally encoding analog signal levels. Through the use of high-resolution counters, the duty cycle of a square wave is modulated to encode a specific analog signal level. The PWM signal is still digital because, at any given instant of time, the full DC supply is either fully on or fully off. The voltage or current source is supplied to the analog load by means of a repeating series of on and off pulses. The on-time is the time during which the DC supply is applied to the load, and the off-time is the period during which that supply is switched off. Given a sufficient bandwidth, any analog value can be encoded with PWM.

Pulse Width Modulation (PWM) Three different PWM signals. Figure 1a shows a PWM output at a 10% duty cycle. That is, the signal is on for 10% of the period and off the other 90%. Figures 1b and 1c show PWM outputs at 50% and 90% duty cycles, respectively. These three PWM outputs encode three different analog signal values, at 10%, 50%, and 90% of the full strength. If, for example, the supply is 9V and the duty cycle is 10%, a 0.9V analog signal results.

Motors

Relays and Solenoids

MOTORS DC DC MOTOR COMMUTATOR BRUSHES

MOTORS servo Hobby Servo: Built in Encoder -- Built in Servo Controller +V, GND, Signal Give the signal line a PWM value. (like PWM) ATT: Pulse Width DEFINES POSITION, NOT SPEED Pulse Width Signal created by Built Servo Controller. [the above is true for hobby servos. It allows for cheap Motors. Industrial servos, use different control Techniques….]

MOTORS Stepper Stepper Motor [Electro-Magnets]

RELAYS Microcontroller->Transistor->Solenoid

RELAYS

RELAYS solid state Solid State Relays (SSR) DC Solid State: opto-isolation, very fast (PWM), very low power, drive directly from Microcontroller. AC Solid State: same as above, may not be able to switch faster than the AC Signal frequency. (used in light dimmers)

RELAYS vs. Transistor Switch Mechanical Relay: cheap, makes little noise, visible Mechanical motion. Solid State Relay: opto-isolation, very fast (PWM), very low power, drive directly from microcontroller. Transistor Switch: very cheap, small, fast.

SENSORS RESISTIVE SENSORS: CAPACITIVE: PIEZO ELECTRIC PYRO ELECTRIC (change resistance) “Photocell” “Bend Sensors” “CO sensor” CAPACITIVE: (change capacitance) “Condenser microphones” “Touch Sensors” PIEZO ELECTRIC PYRO ELECTRIC SONARS

SENSORS PIEZO ELECTRIC: PYRO ELECTRIC Create voltage when bent / when voltage across they bend… . some capacitive sensors have digital-out built in. PYRO ELECTRIC Warps when exposed to heat. => change capacitance (“Motion Infrared Sensors”)

SENSORS SONARS PHOTOTRANSISTOR Light controlled switches Emit sound and record time it takes for sound waves to return. (reflection, angle, complications…) PHOTOTRANSISTOR Light controlled switches (base current created with photons)

SENSORS INFRARED REFLECTION SENSORS IR OPTICAL SWITCH Transmitter / Receiver in one package or two. (record reflection time, similar to sonars; can be used as collision detection sensors or data link.) IR OPTICAL SWITCH IR LED + PHOTOTRANSISTOR

SENSORS BARCODES, RFID, ACCELEROMETERS, THERMISTORS, HUMIDITY, SENSORS, GYROSCOPES (how fast you’re turning)… .

H-Bridge and Power

H-Bridge and Power C Motor Control with a TIP120 TransistorThis example assumes you're using a DC motor that runs on low voltage DC, in the 5-15V range. Connect leads to Its terminals, and run if from a benchtop power supply if you have one. Try changing the voltage on it, and seeing what effect it has. Don't go over the motor's rated voltage. Connect a switch in series with the motor and use it to turn on the motor. Connect the base of a TIP120 transistor to one pin of your microcontroller. Note the second power supply. Most motors take a great deal more current than a microprocessor , and need their own supply. The example below uses a 9V battery as a separate power source. Whatever motor you use, make sure the power source is compatible (i.e. don't use a 9V battery f or a 3V motor!). Although the example shown is on a BX-24, you can use it with any microcontroller. Just connect the 1K resistor to the output pin of your microcontroller.

H-Bridge and Power This circuit drives small DC motors up to about 100 watts or 5 amps or 40 volts, whichever comes first. Using bigger parts could make it more powerful. Using a real H-bridge IC makes sense for this size of motor, but hobbyists love to do it themselves, and I thought it was about time to show a tested H-bridge motor driver that didn't use exotic parts.

http://www.allegromicro.com/ H-Bridge and Power

H-Bridge and Power

H-Bridge and Power

H-Bridge and Power PWM MOTOR DRIVER

Translating Rotational Movement WORM GEAR

Translating Rotational Movement Linkages

Translating Rotational Movement Belt Drive

Translating Rotational Movement Mechanical Movements

Robotic Mechanisms http://www.beatrizdacosta.net/projects.html

Motor Positioning

Motor Positioning

OUR ASSIGNMENTS Light to vary motor speed. Heat to set off siren.

Light to Speed Mapping data… AND redefine your baseline each time...

Heat to Sound Define Threshold… AND redefine your baseline each time..

ANALOG VOLTAGES on ARDUINO analogRead: -- reads an analog voltage at any of the ADC pins (you have 6). analogWrite: -- writes a PWM pulse to the PWM enabled digital pins (you have 3). Sensor “Calibration”

READING/WRITING Global Issues, question 1&2. 2 pages max. Due: October 30th, beginning of Lecture. No lecture next week.