The plan... CSE 6324 From control to actuators Michael Jenkin Office Hours: Sherman 1028 Wed 3-4. From the bottom up...

Similar documents
Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Programming 2 Servos. Learn to connect and write code to control two servos.

The Torxis Linear Servo meets the following environmental conditions:

100UF CAPACITOR POTENTIOMETER SERVO MOTOR MOTOR ARM. MALE HEADER PIN (3 pins) INGREDIENTS

FABO ACADEMY X ELECTRONIC DESIGN

Experiment #3: Micro-controlled Movement

Servos A Brief Guide

Directions for Wiring and Using The GEARS II (2) Channel Combination Controllers

INSTRUCTIONS. 3DR Plane CONTENTS. Thank you for purchasing a 3DR Plane!


Understanding the Arduino to LabVIEW Interface

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

DA DA 10 Technical Specification. Page 1/14. Volz Servos GmbH & Co. KG servos.com

Programming a Servo. Servo. Red Wire. Black Wire. White Wire

Using Servos with an Arduino

RC Servo Interface. Figure Bipolar amplifier connected to a large DC motor

Exercise 2. Point-to-Point Programs EXERCISE OBJECTIVE

In this activity, you will program the BASIC Stamp to control the rotation of each of the Parallax pre-modified servos on the Boe-Bot.

Introducing the Quadrotor Flying Robot

acknowledgments...xv introduction...xvii 1 LEGO MINDSTORMS NXT 2.0: people, pieces, and potential getting started with the NXT 2.0 set...

EQ-ROBO Programming : bomb Remover Robot

DA 20 Technical Specification

Experiment 5.B. Multifunction Wireless Control. ECEN 2270 Electronics Design Laboratory 1

Project Proposal. Underwater Fish 02/16/2007 Nathan Smith,

Quick Start Guide V1.1

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

About New FT-SCServo (Smart Control Servo)

Coding with Arduino to operate the prosthetic arm

EE 314 Spring 2003 Microprocessor Systems

Megamark Arduino Library Documentation

EEL 4665/5666 Intelligent Machines Design Laboratory. Messenger. Final Report. Date: 4/22/14 Name: Revant shah

Hobby Servo Tutorial. Introduction. Sparkfun:

MASTER SHIFU. STUDENT NAME: Vikramadityan. M ROBOT NAME: Master Shifu COURSE NAME: Intelligent Machine Design Lab

Sensors and Sensing Motors, Encoders and Motor Control

Figure 1. Digilent DC Motor

Learning Objectives. References 10/26/11. Using servos with an Arduino. EAS 199A Fall 2011

TETRIX PULSE Workshop Guide

B Robo Claw 2 Channel 25A Motor Controller Data Sheet

SC16A SERVO CONTROLLER

Viper 2x35 Operating Modes

Veyron Servo Driver (24 Channel) (SKU:DRI0029)

Marine Debris Cleaner Phase 1 Navigation

DIY KITS FRAME KIT. Thank you for purchasing a 3DR Y6 DIY Kit!

Sensors and Sensing Motors, Encoders and Motor Control

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018

Adafruit 16-Channel Servo Driver with Arduino

Rx62H Linear 5 Channel Brick

Series SRX SURVEYING INSTRUMENTS QUICK START GUIDE 1 PREPARATION 2. MEASUREMENT SETTINGS. Auto Tracking PROCEDURE

Module: Arduino as Signal Generator

Servo 8 Torque Board Doc V 1.2

I 2 C RedBot & DC Motor Servo Motor Control

DC motor control using arduino

Electronics Design Laboratory Lecture #6. ECEN2270 Electronics Design Laboratory

J. La Favre Using Arduino with Raspberry Pi February 7, 2018

Feed-back loop. open-loop. closed-loop

Attribution Thank you to Arduino and SparkFun for open source access to reference materials.

CONSTRUCTION GUIDE Robotic Arm. Robobox. Level II

Programming PIC Microchips

Manual for Hyperion Receivers 1. Binding Step 1. Power up the receiver in bind mode

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech

YS-S4 Multi-rotor Autopilot User Manual V1.4

Chroma Servo Board v3 for Raspberry Pi. (Firmware 0.1 and 0.2)

B RoboClaw 2 Channel 30A Motor Controller Data Sheet

Experiment 4.B. Position Control. ECEN 2270 Electronics Design Laboratory 1

Jaguar speed controllers

ARKBIRD-Tiny Product Features:

Built-in soft-start feature. Up-Slope and Down-Slope. Power-Up safe start feature. Motor will only start if pulse of 1.5ms is detected.

Study of M.A.R.S. (Multifunctional Aero-drone for Remote Surveillance)

Arduino Control of Tetrix Prizm Robotics. Motors and Servos Introduction to Robotics and Engineering Marist School

Sensors and Motor Control Lab Individual lab report #1 October 16, 2015

Industrial Automation Training Academy. Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours)

combine regular DC-motors with a gear-box and an encoder/potentiometer to form a position control loop can only assume a limited range of angular

Chroma. Bluetooth Servo Board

Project 27 Joystick Servo Control

Scorpion HX User Manual R/C Version

Laboratory Exercise 1 Microcontroller Board with Driver Board

Nebraska 4-H Robotics and GPS/GIS and SPIRIT Robotics Projects

Flight control Set and Kit

AUTOPILOT QUICK START GUIDE

EXMITTER -- Professional Remote Control Products Expert

STPDRV-1 Stepper Motor Driver Data Sheet (R1.0) BFF Design Ltd

For Experimenters and Educators

High Speed Continuous Rotation Servo (# )

INS TRUC T I ON M A NU A L

Arduino. AS220 Workshop. Part II Interactive Design with advanced Transducers Lutz Hamel

Turtle Shell Racer High Power Edition Michael Curry DistractedArchitect.com Electronics Supplement

Electrical connection

University of Texas at El Paso Electrical and Computer Engineering Department

Blue Point Engineering

Internet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker

Object Detection for Collision Avoidance in ITS

Introduction to the EXPANSION HUB

Service Information System

MTC-2 highlight features: ACU highlight features: Contents. MTC-2 and ACU User Manual V4.0

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

Two Hour Robot. Lets build a Robot.

Operator s Manual Ride-On Remote Controlled Car

RB-Rop-08 Scorpion XXL Dual 20A 6V to 28V R/C DC Motor Driver

Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

Transcription:

The plan... CSE 6324 From control to actuators Michael Jenkin jenkin@cse.yorku.ca Office Hours: Sherman 1028 Wed 3-4 Lectures this week No class next week Start building the week after (i) Need to sort into 2-3 groups (ii) Need to get your emails (iii) The 26th -> lab Lecture 2 From the bottom up... There are two kinds of motors on our robot DC Servo motor Steering DC motor Drive Basically, it is a controllable motor. Typically low speed, reasonable torque, ok accuracy We need to power both of them We need to control both of them

RC servo motor Externally three wires Potentiometer monitors rotational angle of the motor. Some backlash on the gear train Inaccuracies in the potentiometer Externally the servo motor presents three wires Different standards, ours (probably) uses Japan Radio Standard Two wires provide power and ground Third provides control Typically not capable of continuous rotation. RC servo motor Arduino Basic control mechanism is known as pulse width modulation. Basic idea is to send a signal along the signal control and the motor moves to the associated position. Electrically this works on a modified version of PWC (pulse width modulation) Fortunately we (probably) don t care. Just use a standard library (servo library) on the Arduino Send a square wave where the on duty cycle defines the commanded position. One servo (NB: we will wire it differently)

Arduino But what about the other motor? The drive motor drives continually Not a servo position device like rudder. RC electronic speed control (ESC) works by pulsing a motor on/off very quickly (higher duty cycle -> more power). From a control point of view looks like an RC servo This means we can control it like a RC servo RC ESC control Wiring Caveat: ESC s are designed to power up safe Need to arm the ESC. Drive it full (180). Wait. Drive to off (0). Then it should operate the way you want 0 - off 180 - full We will need to experiment with this... One last detail... We have a BEC (battery eliminator circuit) on the boat. 3 channels from the ESC (BEC) include +5 and gnd. So... Wire +5 from BEC to Arduino Vin Wire GND to Arduino GND Then wire the RC servo to +5 and GND, and two signals to digital input-output lines

So what else is needed at the bottom end? Charger for our batteries (it has not yet arrived, looks like the order got lost). Two Japanese wiring harness compatible connectors Headers for the Arduino Programming for the Arduino.. Your task (2 weeks) Get an Arduino from me Get the software for your machine www.arduino.cc Design software library (tty simulation) Command sequence, prompt (*, error, etc.) I (init) H <heading> (H 0..180) T <throttle> (T 0..180) C <compass> returns string K (kill) Compass Compass Basically two groups of digital compasses Tilt-compensated Non-tilt-compensated Given our application, we want tilt-compensated. Many units available...will have one sourced in 2 weeks Roughly $130 (each) Uses the wire library to talk to the unit (think serial communication) Another option is to buy a USB version of this thing..depends on pricing and availability

So, when this is done... USV autopilots Have a USB device that emulates a serial port Send it commands (I, H, T, K) to drive the robot Have some way of getting heading (C?) Want to provide closed-loop control Huge literature on this Will post some examples on the course web page but a quick google will get you many. Most are commercial Often integrated with GPS given their application Here we are looking at heading based ones So lets start simply Have a desired heading - setpoint (θ) Have a current heading Have a current rudder angle How do we manipulate the rudder to reduce the error to zero?