Lecture 7 Curve Turn.

Slides:



Advertisements
Similar presentations
Motion in One Dimension
Advertisements

Lecture 20 Dimitar Stefanov. Microprocessor control of Powered Wheelchairs Flexible control; speed synchronization of both driving wheels, flexible control.
ABS Control Project Ondrej Ille Pre-bachelor Project.
Rotary Motion Physics Montwood High School. Rotary motion is the motion of a body around an internal axis. –Rotary motion – axis of rotation is inside.
Physics 2 Rotational Motion Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Rotational Dynamics Torque & Rotational Kinematics Presentation 2003 R. McDermott.
Physics 111: Mechanics Lecture 09
Understand the football simulation source code. Understand the football simulation source code. Learn all the technical specifications of the system components.
ME 224 Experimental Engineering: Professor Espinosa 2005 TEAM : Jamie Charles Carlo Niko Javier.
Physics 106: Mechanics Lecture 01
Using the “Clicker” If you have a clicker now, and did not do this last time, please enter your ID in your clicker. First, turn on your clicker by sliding.
Circular motion.
Rotation of a Rigid Body (Chapter 10)
PH 201 Dr. Cecilia Vogel Lecture 17. REVIEW  CM with holes  Thrust OUTLINE  Rotational Motion  angular displacement  angular velocity  angular acceleration.
Halliday/Resnick/Walker Fundamentals of Physics 8th edition
Lecture 3: The Controller PID Control and Speed Profile.
Physics 6A Rotational Motion Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Degrees, Minutes, Seconds
ELECTRICAL CIRCUIT ET 201 Define and explain characteristics of sinusoidal wave, phase relationships and phase shifting.
Cutnell/Johnson Physics 8th edition Reading Quiz Questions
Part 2 Graphs of Motion. Part 2 Graphs of Motion.
Rotational Motion and The Law of Gravity 1. Pure Rotational Motion A rigid body moves in pure rotation if every point of the body moves in a circular.
1. Also known as rotation Definition: Occurs when a body moves on a circular path about a central line so that all parts of the body move through the.
Mousetrap powered cars!. Why?? Mousetrap powered cars! Physics: Potential and kinetic energies and kinetic friction. Critical Skills: Critical thinking.
SECTION 3.3 EQ: How are linear and angular speeds calculated?
David GiandomenicoFeedback Control for your FIRST Robot’s DrivetrainDec 2010 WRRF Workshops #1 David Giandomenico Team mentor for Lynbrook Robotics – Team.
PSAA Curriculum Unit Physical Science Systems. Problem Area Energy and Power Systems.
1.To summarise the relationship between degrees and radians 2.To understand the term angular displacement 3.To define angular velocity 4.To connect angular.
PHY131H1F - Class 8 Today, finishing off Chapter 4: Circular Motion Rotation.
Circular Motion By: Heather Britton. Circular Motion Uniform circular motion - the motion of an object traveling at constant speed along a circular path.
Chapter 10 Rotational Motion.
Rotational Motion & Torque. Angular Displacement Angular displacement is a measure of the angle a line from the center to a point on the outside edge.
Unit 1: Linear Motion Mrs. Jennings Physics.
Copyright © Cengage Learning. All rights reserved. CHAPTER Radian Measure 3.
Acceleration- Change in Velocity occurs when an object _____________________ occurs when an object ______________ in speed. occurs when an object __________.
Section 1Motion Bellringer, continued 1. For each of the devices above, indicate whether it measures distance, time, or speed. 2. For each of the devices.
Introduction to Kinematics
Motion in Circles  1 Circular Motion  2 Centripetal Force  3 Universal Gravitation and Orbital Motion.
Acceleration Acceleration – the rate at which velocity changes  Can be an: Increase in speed Decrease in speed Change in direction.
What is acceleration? – Probably heard it mean: “the process of speeding up” – More specifically: the rate at which velocity changes. Remember that velocity.
Rotational Kinematics Chapter 10 Herriman High AP Physics C.
Circular Motion. Rotational Quantities A O r  dAdA A point on an object, located a distance r from a fixed axis of rotation, rotates in such a way that.
CHAPTER 8 Rotational Kinematics. Go to this page on your laptop or computer: ◦ ms/Labs/ClassicCircularForceLab/index.html.
In mathematics and physics, a specific form of measurement is used to describe revolution and fractions of revolutions. In one revolution, a point on.
Plan for Today (AP Physics I) Notes/Lecture on Rotational Motion.

Lesson 2 1. Angles can be measured in both degrees & radians : The angle  in radians is defined as the arc length / the radius For a whole circle, (360°)
RADIAN AND DEGREE MEASURE Objectives: 1. Describe angles 2. Use radian measure 3. Use degree measure 4. Use angles to model and solve real-life problems.
Chapter 2 Motion in One Dimension. Quantities in Motion Any motion involves three concepts Displacement Velocity Acceleration These concepts can be used.
Radian application Problems What is angular speed? How is it used to solve problems? What t is linear speed?
In this chapter you will:  Learn how to describe and measure rotational motion.  Learn how torque changes rotational velocity.  Explore factors that.
Chapter 4 Linear Motion. Position, Distance, and Displacement Position: being able to describe an object’s location is important when things start to.
Motion in One Dimension: Position vs Time
Physics 2 Rotational Motion Prepared by Vince Zaccone
Motion in One Dimension
Rotational Motion WHS Lee Wignall.
Circular Motion How do we work out the velocity of something which is moving at constant speed in a circle ? Answer: We use the simple formula: But in.
Objectives Calculate angular speed in radians per second.
Circular Motion - Objectives
HW #7 cancelled HW #8 available later today
MATH 1330 Section 4.2.
Rotation As you come in, please set clicker to channel 44 and then answer the following question (before the lecture starts). Quiz – You are building.
FeMaidens Programming
Foundations of Physical Science
Acceleration Changing velocity (non-uniform) means an acceleration is present Acceleration is the rate of change of the velocity Units are m/s² (SI)
8.1 Circular Motion 1.
Homework: See Handout. Turn in Lab #1Wednesday
Unit Physical Science Systems
Chapter 4 Linear Motion.
Presentation transcript:

Lecture 7 Curve Turn

Basic Concepts Keep speed with certain ratio between 2 wheels for mouse to make mouse turn at certain angular velocity However this is not possible in real word When on straight, VLs=VRs When turn VLt>VRt Motor can’t suddenly change speed from VLs to VLt, and VRs to VRt

Diagram view This is not possible in real world!

Alternative solution Make one wheel accelerate, the other wheel decelerate to reach different speed gradually

How to maintain same turn angle in this way? All you need to do is just to keep the grey area equals to the sum of red and blue area to maintain the same turning angle

Some facts The center speed of mouse remains constant when turning since VC = (VL + VR)/2 VR – VL is still the rotational feedback when turning You can use the feedback from gyro to replace VR-VL to prevent slippage, however needs to be scale to fit the system with encoder ticks

The view of angular velocity W(omega) = VR – VL in our system Diagram in angular velocity form is more straight forward since the center linear velocity of mouse doesn’t change during the turn

Keep the area same As long you keep the area same between ideal and actual angular velocity, the mouse will turn with same angle you desired Some extra time is usually needed for actual turn

How to design your profile? Decide the max angular velocity W(omega) Decide the angular acceleration (alpha) Calculate the area for idea turn, make the actual turn area equals to it Use matlab, excel to make your profile, and keep track of the position of the mouse at each millisecond, keep adjusting the input parameters, until the actual output curve for mouse exits at same location with idea curve Apply the parameter decided from simulation profile to your mouse

An example with excel

Demo with the simulation profile

How to make it work on mouse? Center forward linear velocity, turn angle, angular acceleration, max angular velocity are all know in this case. Assume T1 = T3 to simplify the case where the slope(angular acceleration rate) are same Calculate the corresponding angular velocity with T1, slope or max angular velocity at T1 and T3 The angular velocity is max angular velocity at T2

Sample code Having this is your controller: If currentSpeedW < targetSpeedW { currentSpeedW += accW if currentSpeedW > targetSpeedW currentSpeedW = targetSpeedW } else If currentSpeedW > targetSpeedW currentSpeedW -= accW if currentSpeedW < targetSpeedW

Sample cont. The code for your turn function Void turn(void) { if(is at T1 or T2) targetSpeedW = maxAngularVelocity; else if(is at T3) targetSpeedW = 0; }

Things need to know The angular velocity has different sign between left turn and right turn Record the system time in millisecond to keep track of you current time for curve turn. The angular velocity you generate from provided excel profile generator is in degree/s unit, you need to convert to recognizable unit of mouse

Unit conversion for speed profile Angular velocity in encoder format equals to: wheelDistance*angularVelocity*Pi*oneCellDistance/cellLength/180/1000 Where wheelDistance is distance between centers of the wheels angularVelocity is the angular velocity in degree/s OneCellDistance is the encoder counts per cell for one wheel CellLength is the length of each cell, which is 180mm /180 is divide 180 degree /1000 converts from /s to /ms

How to convert for gyro feedback The intermediate unit between gyro and encoder is distance(meter) Use pivot turn method to make conversion, where VL = -VR Record the angle output from gyro when make a 180 degree turn(either directions), as “a” Get distance value of 2*Pi*R which is Pi*W in SI unit then convert to encoder counts, as “b”

Unit Conversion (cont.) You get the ratio between b and a as “Ratio” = a/b (usually a > b) Now you can apply the ratio to the angular velocity read from gyro and have it easily convert to encoder format: angularFeedback = aSpeed/Ratio angularFeedback also equals VR-VL by definition in controller lecture - Now you can only use gyro as rotational feedback for curve turn

Question?