Robotics Research Laboratory Louisiana State University.

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

1 Signals, Circuits, and Computers John Athanasiou Part B Spring 2010.
Basic DC Motor Circuits
Indian Institute of Technology Hyderabad ROBOTICS LINE FOLLOWER HARI KISHAN TANDEY – ES12B1008 DILIP KONDAPARTHI – ES12B1010 SAI KARTIK – CE12B1015.
MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable.
Robotics Research Laboratory Louisiana State University.
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.
Components of a servomotor are: - a DC electric motor, - gears with an output shaft; - position-sensing mechanism; - control circuitry. Robotics and Automation.
L.
The Solar Tracker. Solar Tracking Project Team Members: –Cristian Ruvalcaba –Ken Seal –David Clark –Mark McKinley –Richard DeJarnatt.
ACTIVE SUSPENSION TEST PLATFORM BRANDON NAYDEN & CHIAO LIU BY ADVISED BY: STEVEN GUTSCHLAG.
1 Eric Taseski, Yihe Huang, Ronak Mehta H-Bridges and Stepper Motors 2.
SPEED CONTROL OF THREE PHASE INDUCTION MOTOR WITH ENERGY SAVING
September 15, 2007 D.Giandomenico PWM Motor Control with IFI Robotics Victor884 Electronic Speed Controller David Giandomenico Lynbrook High School Robotics.
Robotics Research Laboratory Louisiana State University.
LECTURE 9 INTRO TO POWER ELECTRONICS
Robotics Research Laboratory Louisiana State University.
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.
September, 2007ENGR Low-Level Robot Control Mechatronics: Motors, sensors & embedded controls.
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
Wall-E Prototype I Team 1 Xin Jin
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Hybrid I/O – Pulses.
PWM Circuit Based on the 555 Timer. Introduction In applications LED Brightness Control we may want to vary voltage given to it. Most often we use a variable.
Robotics Research Laboratory Louisiana State University.
Motors & Motor Drivers ECE 450.
603 A DIGITAL PROGRAMMABLE ROBOT OVERVIEW: BASED ON CONCEPT OF PLC. IS PROGRAMMABLE USING A KEYPAD. POWERED BY A 9 VOLT BATTERY. INSTRUCTIONS CAN BE PROGRAMMED.
DC Motor Control The material presented is taken from a variety of sources including: ponents/inductor001.html#howworks,
Robotics Research Laboratory Louisiana State University.
MOTORS. Definition Of Motor That powered by electricity or internal combustion, that supplies motive power for a vehicle or for some other device. A device.
PROMGRAMING YOUR ROBOT How Servos Work: How to control your robot.
NATCAR SUMMER CLASS II 6 July 2004 Chung Hsieh. Topic of Discussion Power Supply Motor Drive Circuits Braking.
PIC18F4431. PIC18F1330 Infrared Encoder/Decoder.
Solar Powered LED Blinds Group 28: Austin Estes and Kerr Oliva TA: Katherine O’Kane.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
Arduino Based DC Motor Speed Control
Arduino DC Motor Motion Control Instructor: Dr Matthew Khin Yi Kyaw.
Istituto Tecnico Industriale A.Monaco EURLAB Moving a robot simple example program to control a DC-Motor Next - Press the button (left)
Istituto Tecnico Industriale A.Monaco EURLAB Control a Servo Motor If you want to swing an robot arm or … steer a robot you need a special motor (Servo).
Sitarambhai Naranjibhai Patel Institute Of Technology & R.C.
Limited rotation servo basics David Hall output shaft servo horn red wire = 5V + black wire = Gnd - white wire = control signal standard servo.
INTERNET OF EVERYTHING SDU 2016 Week 9. Physical Output  Make things move by controlling motors with Arduino  Servo-motors  Rotary actuator that allows.
DC motor principles Speed control Direction Stepper motor principles
ECE 445 Group 20 4/23/2012 Kevin Dluzen Jonathan Hall Diyang Qiu.
Microcontroller basics Embedded systems for mortals.
ARM CORTEX (STM32) BASED MOTOR SPEED CONTROL SUBMITTED BY EDGEFX TEAM.
Arduino Application: Speed control of small DC Motors
INTERFACING HARDWARE WITH MICROCONTROLLER GUIDED BY: Prof. ASIF SIR 1. AKSHAY KIRAN 2. DEEP PARIKH 3. JIGAR PATEL 4. TILAK PATEL ,05,D2D06,09.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Motors & Motor Controllers
Introduction to Motors, servos and steppers
DC MOTOR INTERFACING WITH 8051 MICROCONTROLLER PRESENTED BY
RF Controlled Robotic Vehicle with Laser Beam Arrangement
MICROCONTROLLER AND INTERFACING
Servos Elementary Robotics with Servos
Wireless Power Driven Car or Train
Application Case Study Security Camera Controller
connect a DC-Motor with an arduino
Visit for more Learning Resources
A lecture for Arduino Course, Winter 2017/18
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Arduino Application: Speed control of small DC Motors
Controlling YOUR ROBOT
DC motor and PWM.
TPIC0107B H-Bridge And DC Motor
Hitec HS 303: Robotic Servo Motor
Robotics System Lecture 11_12: DC Motor
Presentation transcript:

Robotics Research Laboratory Louisiana State University

 Pulse-width Modulation ◦ What for ◦ How it works ◦ Applications ◦ How to make it  Servo Motor Control ◦ What is servo motor ◦ How it works ◦ Set position of servo head  Simple Hexabot ◦ Walking ◦ Turning ◦ Control hexbot

 How to make it? ◦ Digital Out (PINx) ◦ Special Function I/O Regiser (SFR/SFIOR) ◦ Using a main program  ns_spin( int delay_time ) ; TOGGLE_PIN(PINxx) ◦ Using interrupts  Timers  PORTB – PINB5 (OCA1), PINB6 (OC1B), PINB7 (OC2)  PORTE – PINE3 (OC3C), PINE4 (OC3B), PINE5 (OC3A)

 What is it? ◦ Robotic Arms, RC-Airplane, etc. ◦ Mechanical position change  How does it work? ◦ Position Reader (Potentiometer) ◦ DC-Motor ◦ PWM DC-Motor Controller ◦ Body Frame ◦ Gears ◦ Servo Head

 How to set position of a servo head ◦ /home/csc2700/csc2700/10-PWM-Servo-01 int count = 0; while (1){ switch (count++ % 4){ case(0): OCR3A = 1000; break;// OCR3A is PINE3, 1000 is 1ms == left (0 degree) case(1): OCR3A = 3000; break;// OCR3A is PINE3, 3000 is 3ms == middle (90 degree) case(2): OCR3A = 5000; break;// OCR3A is PINE3, 5000 is 5ms == right (180 degree) case(3): OCR3A = 3000; break;// OCR3A is PINE3 } ms_spin(1000); }

MOSFET-based H-bridges

 MOSFET-based H-bridges  Recommended motor voltage (VMOT): 4.5 – 13.5 V  Logic voltage (VCC): 2.7 – 5.5 V  Output current maximum: 3 A per channel  Output current continuous: 1 A per channel (can be paralleled to deliver 2 A continuous)  Maximum PWM frequency: 100 kHz  Built-in thermal shutdown circuit  Filtering capacitors on both supply lines  Reverse-power protection on the motor supply

 The metal–oxide–semiconductor field-effect transistor

 An H bridge is an electronic circuit that enables a voltage to be applied across a load in either direction

int main(void){ InitHardware(); initPWM(); MC_HI(STANBY); MC_LO(LEFT0); MC_LO(LEFT1); MC_LO(RIGHT0); MC_LO(RIGHT1); int speed = 1000; int delay = 100; while (1){ MC_LO(LEFT0);MC_HI(LEFT1); SetPWM( PWM_PINE3, speed); SetPWM( PWM_PINE4, speed); ms_spin(delay); MC_LO(RIGHT0);MC_HI(RIGHT1); SetPWM( PWM_PINE3, speed); SetPWM( PWM_PINE4, speed); ms_spin(delay); speed += 1000; if (speed > 40000){ speed = 1000; }

 Create a DC motor speed control program, which has a clockwise button, an anti-clockwise button, and a stop button ◦ The clockwise button is for increasing speed of Motor controller toward clockwise (speed down for anti-clockwise) ◦ The anti-clockwise button is for increasing speed of Motor controller toward anti-clockwise (speed down for clockwise) ◦ The stop button is for stop DC motor