Control.

Slides:



Advertisements
Similar presentations
Introductory Control Theory I400/B659: Intelligent robotics Kris Hauser.
Advertisements

Chapter 4 Continuous Time Signals Time Response Continuous Time Signals Time Response.
Chapter 4: Basic Properties of Feedback
CHE 185 – PROCESS CONTROL AND DYNAMICS
The City College of New York 1 Jizhong Xiao Department of Electrical Engineering City College of New York Manipulator Control Introduction.
Process Control Instrumentation II
Mobile Robotics: 11. Kinematics 2
Review last lectures.
LECTURE#11 PID CONTROL AUTOMATION & ROBOTICS
Chapter 7 PID Control.
Lecture 4: Basic Concepts in Control CS 344R: Robotics Benjamin Kuipers.
Feedback Control Systems (FCS) Dr. Imtiaz Hussain URL :
Proportional/Integral/Derivative Control
Motion Control (wheeled robots)
1 CMPUT 412 Motion Control – Wheeled robots Csaba Szepesvári University of Alberta TexPoint fonts used in EMF. Read the TexPoint manual before you delete.
Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.
Ch. 6 Single Variable Control
DNT Control Principle Root Locus Techniques DNT Control Principle.
سیستمهای کنترل خطی پاییز 1389 بسم ا... الرحمن الرحيم دکتر حسين بلندي- دکتر سید مجید اسما عیل زاده.
Control 1 Keypoints: The control problem Forward models: –Geometric –Kinetic –Dynamic Process characteristics for a simple linear dynamic system.
Introduction to ROBOTICS
Chapter 5 Transient and Steady State Response “I will study and get ready and someday my chance will come” Abraham Lincoln.
Low Level Control. Control System Components The main components of a control system are The plant, or the process that is being controlled The controller,
Control of Robot Manipulators
Feedback Control system
Lecture 5: Basic Dynamical Systems CS 344R: Robotics Benjamin Kuipers.
PID CONTROLLERS By Harshal Inamdar.
Subsea Control and Communications Systems
City College of New York 1 John (Jizhong) Xiao Department of Electrical Engineering City College of New York Mobile Robot Control G3300:
Control 3 Keypoints: PID control
Chapter 4 A First Analysis of Feedback Feedback Control A Feedback Control seeks to bring the measured quantity to its desired value or set-point (also.
Control. 3 Motion Control (kinematic control) for mobile platform The objective of a kinematic controller is to follow a trajectory described by its position.
Flow of signal So you have a sensor, now to process data taken from a sensor you will need a processing unit and that is your controller. sensorcontroller.
Intelligent Robot Lab Pusan National University Intelligent Robot Lab Chapter 7. Forced Response Errors Pusan National University Intelligent Robot Laboratory.
SKEE 3143 Control Systems Design Chapter 2 – PID Controllers Design
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
EEN-E1040 Measurement and Control of Energy Systems Control I: Control, processes, PID controllers and PID tuning Nov 3rd 2016 If not marked otherwise,
Automatic Control Theory CSE 322
PID Control Systems (Proportional, Integral, Derivative)
Dynamic Behavior Chapter 5
Youngjune, Han Chapter 4 Time Response Youngjune, Han
Control Response Patterns
Control Systems EE 4314 Lecture 12 March 17, 2015
Chapter 7 The Root Locus Method The root-locus method is a powerful tool for designing and analyzing feedback control systems The Root Locus Concept The.
Automatic control systems I
Control Design and Analysis of Chained Systems
PID Controllers Jordan smallwood.
Control Loops Nick Schatz FRC 3184.
CSCI1600: Embedded and Real Time Software
University of Bridgeport
Dynamic Behavior Chapter 5
PID Controller.
Linear Control Systems
Basic Design of PID Controller
University of Virginia
UNIT-II TIME RESPONSE ANALYSIS
Compensators.
Control Response Patterns
Digital and Non-Linear Control
Homework 9 Refer to the last example.
Dynamical Systems Basics
Root Locus Techniques CH 8: Islamic University of Gaza
Chapter 4. Time Response I may not have gone where I intended to go, but I think I have ended up where I needed to be. Pusan National University Intelligent.
Root Locus Techniques CH 8: Islamic University of Gaza
Chapter 4 . Trajectory planning and Inverse kinematics
The Design of Feedback Control Systems
Dynamic Behavior Chapter 5
Chapter 7 Inverse Dynamics Control
Time Response, Stability, and
By: Nafees Ahamad, AP, EECE, Dept. DIT University, Dehradun
Presentation transcript:

Control

Motion Control: Feedback Control! • Set intermediate positions lying on the requested path ! • Given a goal how to compute the control commands for moving on the path ! • Linear and angular velocities to reach the desired configuration!

Loops Open loop current state + model = resulting position Closed loop feedback

Microwave Cold Food 90 secs on high Hot Food

Smart Microwave Popcorn Kernels Apply heat Is steam? Popped Popcorn Yes No Popped Popcorn

Control System Physical System Actuators Sensors Controller Movement New World NOISE Actuators Sensors Controller Actions Feedback

A Simple System Robot state: x Desired state: x' Error = (x-x')2 Action: u Goal: Reach error =0

Bang Bang Controller Action in direction of error error = x-x' If e<0, u=on If e>0, u=off

Proportional Control Action proportional to error u = -Kpe + p0 Kp=Proportional gain p0 = Output with zero error

Ballcock José Antonio de Alzate y Ramírez, Mexican priest and scientist -1790

Proportional Control - Kp The proportional term produces an output value that is proportional to the current error value. Constant Kp, is the proportional gain constant. High proportional gain results in a large change in the output for a given change in the error. If the proportional gain is too high, the system can become unstable a small gain results a less responsive or less sensitive controller. If the proportional gain is too low, the control action may be too small when responding to system disturbances. In a real system, proportional-only control will leave an offset error in the final steady-state condition. Integral action is required to eliminate this error.

Integral Control Actions proportional to magnitude and duration of error Ki ∫e(t)dt The integral term accelerates the movement of the process towards the setpoint and eliminates the residual steady-state error that occurs with a pure proportional controller. However, since the integral term responds to accumulated errors from the past, it can cause the present value to overshoot the setpoint value.

Derivative Control Actions considering future overshooting u = -Kpe(t) - Kd e'(t) "Pull less when heading in the right direction" Derivative action predicts system behavior and thus improves settling time and stability of the system.

PID Controller u = -Kpe(t) - Ki ∫e(t)dt - Kde'(t)

Some terminology Damping: Overdamped The system returns (exponentially decays) to equilibrium without oscillating. Critically damped The system returns to equilibrium as quickly as possible without oscillating. Underdamped The system oscillates (at reduced frequency with the amplitude gradually decreasing to zero.

Transient response (behavior of system in response to transition of one stable state to another) Td delay time: time required to reach 50 % of target Ts settling time: time required to achieve and maintain ± 5 % of the target Tp peak time: time at which the largest value above target is reached M peak overshoot : largest value above target

Transient response cont’ed Steady state error: the system’s percent of error in the limit Rise time:  the time taken  to change from a specified low value to a specified high value (usually 10% and 90%) of the output A system is stable, if its response to a bounded input is itself bounded.

Effects of increasing a parameter Rise time Overshoot Settling time Steady-state error Stability Kp Decrease Increase Small change Degrade Ki Eliminate Kd Minor change No effect in theory Improve if small https://en.wikipedia.org/wiki/PID_controller (demo of effects of varying PID parameters on the step response of a system) http://diydrones.com/page/pid-tuning-demos

Basic issues for designing control systems Linear dynamical system: System state equations Output equations For the robot control problem y(t) = x(t) X set of states of the system and the environment. • Y set of outputs. Information available to the controller, since the information about the entire state is often not available to the controller. • U set of control actions.

Basic issues for designing control systems Controllability: In set point regulation problem the objective is to achieve and obtain a particular state (or set of states) starting from any initial state. Can we reach the target set points or any target set points from the initial state ? Observability Is it possible to observe state x(t0) by observing y(t) for t0 < t < t1 Stability Small changes in input or initial conditions do not result in large changes in system behavior. Asymptotically stable:  the variables of an asymptotically stable control system always decrease from their initial value and do not show permanent oscillations

Motion Control (kinematic control) for mobile platform The objective of a kinematic controller is to follow a trajectory described by its position and/or velocity profiles as function of time. Motion control is not straight forward because mobile robots are typically non-holonomic systems. However, it has been studied by various research groups and some adequate solutions for (kinematic) motion control of a mobile robot system are available. Most controllers are not considering the dynamics of the system

Motion Control: Open Loop Control trajectory (path) divided in motion segments of clearly defined shape: straight lines and segments of a circle. control problem: pre-compute a smooth trajectory based on line and circle segments Disadvantages: It is not at all an easy task to pre-compute a feasible trajectory limitations and constraints of the robots velocities and accelerations does not adapt or correct the trajectory if dynamical changes of the environment occur. The resulting trajectories are usually not smooth 3 - Mobile Robot Kinematics

Motion Control: Feedback Control! • Set intermediate positions lying on the requested path. • Given a goal how to compute the control commands for linear and angular velocities to reach the desired configuration!

Problem statement Given arbitrary position and orientation of the robot [x, y,θ] how to reach desired goal orientation and position [xg , yg,θg ]

Motion Control: Feedback Control, Problem Statement Find a control matrix K, if exists with kij=k(t,e) such that the control of v(t) and w(t) drives the error e to zero. 3 - Mobile Robot Kinematics

Motion Control: Kinematic Position Control The kinematics of a differential drive mobile robot described in the initial frame {xI, yI, q} is given by, where and are the linear velocities in the direction of the xI and yI of the initial frame. Let α denote the angle between the xR axis of the robots reference frame and the vector connecting the center of the axle of the wheels with the final position. We set the goal at the origin of the inertial frame Dy 3 - Mobile Robot Kinematics

Kinematic Position Control: Coordinates Transformation Dy Coordinates transformation into polar coordinates with its origin at goal position: System description in new polar coordinates For α for

Kinematic Position Control: Remarks The coordinates transformation is not defined at x = y = 0; as in such a point the determinant of the Jacobian matrix of the transformation is not defined, i.e. it is unbounded For the forward direction of the robot points toward the goal, for it is the backward direction. By properly defining the forward direction of the robot at its initial configuration, it is always possible to have at t=0. However this does not mean that a remains in I1 for all time t. Dy

Kinematic Position Control: The Control Law It can be shown, that with the feedback controlled system will drive the robot to The control signal v has always constant sign, the direction of movement is kept positive or negative during movement parking maneuver is performed always in the most natural way and without ever inverting its motion. 3 - Mobile Robot Kinematics

Kinematic Position Control: Resulting Path 3 - Mobile Robot Kinematics Kinematic Position Control: Resulting Path The goal is in the center and the initial position on the circle.

Kinematic Position Control: Stability Issue 3 - Mobile Robot Kinematics Kinematic Position Control: Stability Issue It can further be shown, that the closed loop control system is locally exponentially stable if Proof: linearize around the center, compute eigenvalues for small x -> cosx = 1, sinx = x and the characteristic polynomial of the matrix A of all roots have negative real parts.