210 likes | 339 Views
Template for the Storyboard stage. 1. Animation Medium : 2D Software : JAVA. 4. Mention what will be your animation medium: 2D or 3D Mention the software to be used for animation development: JAVA, Flash, Blender, Shikav, Maya..etc. ROBOT DYNAMICS & CONTROL SUBJECT : MECHANICAL ENGINEERING
E N D
Animation Medium : 2D Software : JAVA 4 Mention what will be your animation medium: 2D or 3DMention the software to be used for animation development: JAVA, Flash, Blender, Shikav, Maya..etc
ROBOT DYNAMICS & CONTROL SUBJECT : MECHANICAL ENGINEERING NAME: PROF P S GANDHI 5 Title of the concept, subject. Name of the author
1.PID Controller Simulation • 2. Regulation • 3. Tracking PID Controller : Combining all three modes of control(proportional, integral and derivative) enables a controller to be produced which has no offset error and reduces the tendency for oscillations. Regulation : User Select two point (if non interactive: point is already specified) and robot takes end effector from one point to another in two three different ways without bothering about path to go from A to B Tracking : User selects two points and robot takes end effector from one point to another in a straight line (specified) fashion. Or one point is considered centre and another on the circle that the end effector draws. 6 Definitions of the keywords used in the animation
PID Controller Let us consider the Close Loop System e Controller u Plant Y R + - Where, Plant: A system to be controlled Controller: Provides the excitation for the plant; Designed to control the overall system behavior 7
- The transfer function of the PID controller looks like the following: Kp = Proportional gain KI = Integral gain Kd = Derivative gain - The variable (e) represents the tracking error, the difference between the desired input value (R) and the actual output (Y). This error signal (e) will be sent to the PID controller, and the controller computes both the derivative and the integral of this error signal. The signal (u) just past the controller is now equal to the proportional gain (Kp) times the magnitude of the error plus the integral gain (Ki) times the integral of the error plus the derivative gain (Kd) times the derivative of the error. - This signal (u) will be sent to the plant, and the new output (Y) will be obtained. This new output (Y) will be sent back to the sensor again to find the new error signal (e). The controller takes this new error signal and computes its derivative and its integral again. This process goes on and on. 8
The Close Loop System with PID Control Where, KP : Proportional Gain KD: Derivative Gain KI: Integral Gain 9
1. To explain how PID Controller controls manipulator ( Slides 11 to 15) - As gain is varied animation can display how the robot links along with end effector will behave. Graph on the simulation window can be generated as the robot motion evolving in time. Interactive version: Users can change the PID gains, robot parameters interactively and observe the variation in the behavior. 2. Regulation : End effector can reach target through different paths (Slide 18) - User Select two point (if non interactive: point is already specified) and robot takes end effector from one point to another in two three different ways without bothering about path to go from A to B 3. Tracking : End Effector can follow specified path (Slide 19) - User selects two points and robot takes end effector from one point to another in a straight line (specified) fashion. Or one point is considered centre and another on the circle that the end effector draws. 10 Describe the concept chosen and clearly illustrate how you want to explain the concept in the animation.
Let 2DOF manipulator shown below required to move from position 1 to position 2. • In this case if we use different gains we will get different outputs, which we want to demonstrate. 2 Y 1 Manipulator X 11
For example, if we give only proportional gain, then manipulator will not reached to its desired position. It will start vibrating there as like shown below 2 2 Y 1 Y Manipulator X X Fig: Manipulator at initial position, Position 2 => desired output Fig: Output due to proportional gain alone 12
When the input is proportional and derivative gain, then it will stop vibrating but there will be some offset between position of end effector & desired position 2. 2 Y Steady State Error time X 13 Fig.: PD Output ( Steady State offset)
If we use PID controller then it will not vibrate not even there will be any offset in position. It will reached to its desired position. 2 Y X 14
Brief: • (a) => given Position of manipulator • (b) => if press P (vibration) • (c ) => if press PD (no vibration but offset) • (d) => if press PID (no vibration & offset) (a) 15 (b) (c) (d)
Plots • If use PD Controller, there will always be some offset. • Here for different derivative gains we can show its output 16
The variation with integral gain can also be plot. • Here user will specified specific value. 17
Regulation Regulation : User Select two point (if non interactive: point is already specified) and robot takes end effector from one point to another in two three different ways without bothering about path to go from A to B Figure => 1 2 & => User Defined Positions A => manipulator end effector moves from 1 to 2 through path A B => same manipulator end effector moves from 1 to 2 through path B Ie. One manipulator can take number of paths to reached desired target. Y 2 A 1 B Note: It is single manipulator following different paths to reach same targets => Path B X => Path A 18
Tracking Tracking: User selects two points and robot takes end effector from one point to another in a straight line (specified) fashion. Or one point is considered centre and another on the circle that the end effector draws. 2 Y Y θ2' 1 θ1' θ2 θ2 θ1 θ1 X X CASE I CASE II Case I => User Define any two points (let 1 & 2) then manipulator end effector will move from 1 to 2 through straight line by adjusting angles θ1 & θ2 19 Case II=> manipulator end effector will move along circumference of circle by adjusting angles θ1 & θ2 Note: Points and circle are within reachable workplace
User can able to see how different gains have different output. If we combine all gains like proportional, derivative and integral then how the system performed? In slide 15, as mentioned the three press buttons indicates the activation of required gain. User will simply press it with the mouse click and then can able to see its output through animation. Regulation: case 1: manipulator is showing on desktop with given link and joint parameters. user can select any two points on desktop. If points are within reachable workspace then manipulator will work as like explained in slides. Case 2: If points are not within workspace then there should be certain option to ask for changing link parameters to bring points within workspace. Tracking: user will select two points or required path. Manipulator will follow that path. As explained in slide ie either straight line or circular etc 20 List out user interactions that will be there to enhance the understanding of the concept in the animation.
After going thru this animation, the viewer should be able to answer simple questions like: 1) What is PID controller? A) Proportional Integral Derivative (Slide 7 to 9) 2) What will be the output if only proportional controller implements? A) Vibration (slide 12) 3) What will be the output if only proportional & Derivative controller implements? A) Steady state offset (Slide 13) 4) What is Regulation? A) Slide No. : 18 5) What is Tracking? A) Slide No. : 19 21 A small questionnaire with answers based on the concept.
http://nptel.iitm.ac.in/ - link : - NPTEL courses>>Mechanical Engg.>> Robotics(web)>>course content>> Robot Dynamics and control (Lecture 33) http://decibel.ni.com/content/docs/DOC-2781 http://www.engin.umich.edu/group/ctm/PID/PID.html 22 Links for further reading/references
1. Audio support required. 2. Colour changes to be shown. 4. Clear Demonstration of PID Controller output on manipulator 5. Plots for different gains. 6. Theory will come in the left panel of the animation or in response to pressing a 'Theory' button. 7. Keywords should come in 'Glossary' section. 8. 'Help' button should give stepwise instruction of how to operate the animation. (User Friendly Desktop) 23 Further User Specification