INTERMEDIATE PROGRAMMING LESSON

Similar documents
BEGINNER EV3 PROGRAMMING LESSON 1

How to Build with the Mindstorm Kit

Chapter 12. Formula EV3: a racing robot

Module 3.5 Limited Spaces Lesson Plan

Selected excerpts from the book: Lab Scopes: Introductory & Advanced. Steven McAfee

DRIVING. Robotic Cars. Questions: Do you like to drive? Why? / Why not? Read the article below and then answer the questions.

ELECTRIC CURRENT. Name(s)

Module 4.2 Curves and Hills

High Plains Raceway Lap Description

An Actual Driving Lesson. Learning to drive a manual car

Proud Member Licensed By Proud Vendor of

An Actual Driving Lesson Learning to drive an automatic car

Overcurrent protection

SCI ON TRAC ENCEK WITH

Lesson Plan: Electricity and Magnetism (~100 minutes)

ECSE-2100 Fields and Waves I Spring Project 1 Beakman s Motor

Safe Braking on the School Bus Advanced BrakingTechniques and Practices. Reference Guide and Test by Video Communications

Building a Fuel Efficient Electrical Generator Using Continuously Varying Transmission

NEW CAR TIPS. Teaching Guidelines

Battery Buggy. Division B

Robot Preparation for the VEX World Championship/ US Open. Lessons learned over the past 6 years by David Kelly 2013 VWC, Teacher of the Year

The Car Tutorial Part 2 Creating a Racing Game for Unity

Bimotion Advanced Port & Pipe Case study A step by step guide about how to calculate a 2-stroke engine.

Safety and Preventitive Cautions for Teenage Drivers

PRESEASON CHASSIS SETUP TIPS

Electricity. Grade: 1 st grade Category: Physical Science NGSS: ETS1.A: Defining and Delimiting Engineering Problems

[0. Title] Biased Weight Alignment Procedure for Bent Axle Alignment by Stan Pope, 4 August 2013

O ring installation guide

CC COURSE 1 ETOOLS - T

Chapter 7: DC Motors and Transmissions. 7.1: Basic Definitions and Concepts

How Regenerative Braking Works

9. The signal check of Intake Air Temperature Sensor

Smart Spinner. Age 7+ Teacher s Notes. In collaboration with NASA

Exploration 2: How Do Rotorcraft Fly?

HOW T O TO B UILD BUILD A F AST F PINEWOOD DERBY C AR CAR Scotten W. Jones

4.2 Friction. Some causes of friction

Objective: Students will investigate rate of change (slope) using spring data from RC cars.

Railbike Chassis Assembly

Lab 4 Constant Acceleration by Drew Von Maluski

reflect energy: the ability to do work

Fuel Strategy (Exponential Decay)

MODULE 4 Seat Belt Systems

ROBOTICS BUILDING BLOCKS

Physics 2048 Test 2 Dr. Jeff Saul Fall 2001

N62 & N62-TU Valve Stem Seal Tool Kit

The purpose of this lab is to explore the timing and termination of a phase for the cross street approach of an isolated intersection.

Experimental Procedure

Balancing the Wheels on a Bench Grinder, version 2

Exploration 4: Rotorcraft Flight and Lift

Roehrig Engineering, Inc.

Safe use of quad bikes

Mash Tun / RIMS Tube Controller

Heat Engines Lab 12 SAFETY

Learning to Set-Up Your Warrior Drive Belt Arizona Warrior (Rev4) BEFORE GETTING STARTED

Stiga Autoclip 200 Series

APPENDIX A: Background Information to help you design your car:

INSTRUCTIONS. #82044 Race Diesel Nitrous System

Section 5 AIR BRAKES. This Section Covers. Air Brake System Parts Dual Air Brake Systems Inspecting Air Brakes Using Air Brakes

Experimental Procedure

Traction changes on uneven ground. Diagonal traction loss

GPS Robot Navigation Bi-Weekly Report 2/07/04-2/21/04. Chris Foley Kris Horn Richard Neil Pittman Michael Willis

Sensors W2 and E2 are optional. Installation guide, 'Pickle Fork' Back-and-Forth Model Train Controller

The challenges of driving

Montana Teen Driver Education and Training. Module 6.4. Dangerous Emotions. Keep your cool and your control

Electric Vehicles as a Grid Resource Lessons Learned for Driving Value from EV Charging Programs

Student Exploration: Advanced Circuits

Using Advanced Limit Line Features

Surge Brake Troubleshooting Tips

Lockpicking Tools: User Guide

Safe Driver Training. Henkels & McCoy Crash Rate. ON-LINE Agenda. FACTS, MYTHS, and URBAN LEGENDS (true or false) Your EXPECTATIONS for Today

Multi-Layer Steel Head Gasket

How to Keep your Treadmill Running

Crash Cart Barrier Project Teacher Guide

The goal of the study is to investigate the effect of spring stiffness on ride height and aerodynamic balance.

Commercial Driver s License Manual SECTION 7. Section-7 Doubles and Triples

Linear Modeling Exercises. In case you d like to see why the best fit line is also called a least squares regression line here ya go!

OVERHEAD CRANE SAFETY:

Operator Manual. The most important component is you. This operator manual. has information for. all models of series. B plus some options and

Cam Motion Case Studies #1 and # 2

Amazing127_RobotCDesignDoc

The Shocking Truth About Electrical Safety Teacher s Guide

Deriving Consistency from LEGOs

9818 FORKLIFT OPERATOR TRAINING

What Are Gears? What Do They Do?

Skills and Sequences for In-Car Instruction

My project: A prototyping test bed complete with 3.3, 5, and 12 volt power supplied, measuring tools, and breadboard.

Connecting the rear fog light on the A4 Jetta, while keeping the 5 Light Mod

Speakers and Motors. Three feet of magnet wire to make a coil (you can reuse any of the coils you made in the last lesson if you wish)

G203V / G213V MANUAL STEP MOTOR DRIVE

LUBRICATION SYSTEM B-17 Technical Session for Flight Engineers 10/14/2017

3. What is the most important aspect of social skills as a driver?

Building Robots with Lo-tech Materials

Common House Hold Batteries?

What is electricity?

CRANE OPERATION INSTRUCTION AND GUIDELINES

Agricultural Machinery Illumination and Safety Act (AMISA)

TEACHING MY TEENAGER TO DRIVE

PORSCHE V r Valve Timing Instructions. Copyright 2009 Written by Mike Frye Edited my Adam G.

Concepts of One Dimensional Kinematics Activity Purpose

What is Autocross? Credits: Most slides from Justin Chen Photos courtesy of Richard Viard [1]

Transcription:

INTERMEDIATE PROGRAMMING LESSON DIFFERENT WAYS OF MOVING: SYNCHRONIZATION, REGULATED POWER, RAMP UP & DOWN By Sanjay and Arvind Seshan

Objectives 1) Learn about different blocks for moving the robot and when to use which block 2) Learn about power regulation, motor synchronization, and ramp up/down 2

Different Ways To Move 1 2 How are these different from each other in terms of the following? Power Regulation Motor Synchronization Ramp up/ramp down 3 4 3

Regulated Power Regulated power tries to move the robot at a fixed target speed. It uses PID control internally to achieve this goal. When the robot has trouble moving because it is heavy, it is moving uphill, its battery is dead, or it is blocked, power regulation gives more power to the motor to reach its target speed This is good for ensuring that the robot is moving at a predictable speed Why would you want to use unregulated power ever? If you want the robot to push against something and stall (give up) If you are implementing your own custom PID Control you probably don t want the built in PID control to interfere with yours. 4

Data: Regulated Motors Speed (Degrees/10sec) 10000 9000 8000 7000 6000 5000 4000 3000 2000 1000 0 Unregulated Motors (Unregulated Motor Blocks) 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 Power Motor B Motor C The input to the unregulated motor block specifies the power given to the motor. The two motors perform differently at the same power because no two motors are alike (note the gap between the lines). As the battery power goes down, all speeds go down (the slope will decrease for both lines) Speed (Degrees/10sec) 10000 9000 8000 7000 6000 5000 4000 3000 2000 1000 0 Regulated Motors (2 Large Motor Blocks) 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 Motor B Power Motor C The input specifies speed. Power regulation adjusts power to achieve the requested speed (note that lines overlap mostly). This works up to the limit (max speed) of each individual motor (note lines split at max power). This is true regardless of battery level. The max speed will decrease at lower battery levels but the slope will stay the same. 5

Synchronized Motors Synchronized motors makes sure that both motors turn the same amount (or at some fixed ratio) If one wheel gets stuck, it prevents the other wheel from spinning If you have the motors turning the same amount, it helps ensure that the robot moves straight when one wheel is slowed by friction or anything else When you have synchronized motors with a ratio, it makes the robot make predictable and smooth turns Videos on next slide 6

Synchronized vs. Unsynchronized Click to Watch Videos Synchronized motors One motor getting stuck causes other motor to stop Unsynchronized motors Second motor continues when first gets stuck 7

Data: Synchronized Motors Speed (Degrees/10 sec) 10000 8000 6000 4000 2000 0 Synchronized Motors (Move Steering Block) Speed (Degrees/10 sec) 10000 8000 6000 4000 2000 0 Unsynchronized Motors (2 Large Motor Blocks) 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 Power Motor B Motor C 0 5 10 15 20 25 30 35 40 Motor B 45 50 Power 55 60 65 Motor C 70 75 80 85 90 95 100 Both motors go the same distance. The two lines overlap. One motor is not able to keep up with the other. But this isn t fixed because they are unsynchronized. 8

Ramp Up / Ramp Down Ramp up makes the robot speed up gradually at the beginning of a move Ramp down makes the robot brake gradually at the end Without ramp up/ramp down you might see the robot jerk at the beginning or end The robot will still adjust its motors after a brake to reach that target rotation sensor value but this may still be less accurate 9

Data: Ramping Up/Down Degrees bump Time Move 2 rotations (green line) incorporates ramp up and ramp down to nicely stops after 2 rotations. Move + Wait (orange line) has a hard stop which causes the robot to go past 2 rotations and then back up (notice the bump in the graph) Move + Wait Move 2 rotation 10

Different Ways To Move Regulated Power Synchronized Motors Ramp Up / Ramp Down 1 2 3 4 11

Moving Degrees vs. Seconds Move Degrees/Rotations Block does not complete until the target degree rotation is reached So what if the robot gets stuck somewhere on the mat? Program stalls and never goes to next block You will have to save the robot and take a touch penalty Move Seconds Less accurate for robot movement Distance traveled depends on speed, battery level, weight of robot You have to remember this when deciding if move secs should be used. However, can help avoid stalls E.g. Can be useful if your attachment arm gets stuck Videos on next slide 12

Moving Degrees vs. Seconds Click to Watch Videos Stalled Robot Robot gets stuck. Finishes only when released. Unstalled Robot Robot gets stuck but still finishes (you can hear the sound) 13

Discussion Guide Fill in the chart below: Regulated Power Synchronized Motors Ramp Up / Ramp Down 1 2 3 4 14

Credits This tutorial was created by Sanjay Seshan and Arvind Seshan More lessons are available at www.ev3lessons.com This work is licensed under a Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International License. 15