Title: Observer-Based Robot Arm Control System
1Observer-Based Robot Arm Control System Nick
Vogel, Ron Gayles, Alex Certa Advised by Dr.
Gary Dempsey
2Outline
- Project Overview
- Project Goals
- Functional Description
- Technical Background Information
- Functional Requirements
- Work Completed
- Conclusions
3Project Overview
- Control of robot arms
- Pendulum 2 DOF arms
- Load Changes
- Observer-based
- Ellis's method
4 Pendulum Arm Configuration
52-DOF Arm Configuration
6Project Goals
- Learn the Quanser software package
- Model the pendulum and horizontal arm
- Design controllers using classical control
- Design controllers using observer-based control
- Evaluate the relative performance of observers to
classical controllers
7Equipment Used
- PC with Matlab, Simulink, and Real Time Workshop
- Motor with Quanser Control System
- Linear Power Amplifier
- Robot arm with Gripper
- SRV-02 Rotary Servo Plant
8Overall Block Diagram
9Ellis's Observer-Based Controller
10Situational Description
- Command of -90 degrees
- Meet specifications for a load of up to 75 grams
- Be able to pass a load back and forth between two
systems - Work with existing arm, sensor, and converters
11Technical Background Information
- Overshoot Amount the system advances past the
target position - Settling Time Time it takes for the system to
complete its response - Steady-State Error Error of system after
completely settling
12Technical Background Information
- Gain Margin How much gain can be added without
instability - Phase Margin how much phase lag can be added to
the system without instability - PM180-system phase lag
13Product Specifications for 2-DOF Arm
- The overshoot of the arm shall be less than or
equal to 15 - The settling time of the arm shall be less than
or equal to 2s - The phase margin shall be at least 50 deg
- The gain margin shall be at least 3.5 dB
- The steady state error of the system shall be at
most 5 degrees
14Product Specifications For Pendulum Arm
- The overshoot of the arm shall be less than or
equal to 15 - The settling time of the arm shall be less than
or equal to 2s - The phase margin shall be at least 50 deg
- The gain margin shall be at least 3.5 dB
- The steady state error of the system shall be at
most 1 degree
15Work Completed Pendulum Arm
- Arm Modeling
- Traditional Arm Control
- Non-Linear Arm Modeling
- Load Testing
- Observer Design
16Modified Estimated DC gain vs Voltage
172nd Order Pole Locations and Model
- System assumed to
- be as shown to right
- Poles at -11, -2.6
- Model results System results
-
18Frequency Response
19Proportional Control
- Used control toolbox to find initial gain value
- Tuned gain 0.14
- For 20 degree input
- O.S.15
- ess 2.5 degrees
- tr0.12 s
- ts 0.41 s
20PID controller
- Form kp(0.09s1)(0.4s1)/s(s/p11)
- Exact 2nd order
- Higher pole is faster
- D/A Converter saturates
- Rate limitation needed
21PID Controller Continued
Pole Location Gain Value Overshoot Settling Time Rate Limitation Rate Limited Settling Time
-40 0.75 14.9 0.20 155 1.16
-80 1.5 15 0.10 148 1.20
-60 1.1 14.9 0.14 151 1.18
Rad/s s deg/s
1 deg input 180 deg input
22PID Results
- 45 deg input
- OS3.3
- Ts0.4 s
23Non-Linear Modeling
24Loaded Testing
- Tested Loaded DC gain approximately 27
degrees/volt (compared to 50 for unloaded model) - Performed Frequency Response and compared to
original model with adjusted DC gain
25Observer Controller Design
26Observer
- Feedback Controller used Parallel PI controller
- Linear System Model Used
27Controller
- Used PID Controller with disturbance rejection
28Unloaded Results
29Loaded Results
30Disturbance Rejection Observer Specifications
- Phase Margin 50 degrees
- Gain Margin 3.5
- Steady state error lt 1 degree
- Rise Time 1.17 s
- Overshoot 3
31How the Others Fail
- All good rise time and overshoot
- Proportional controller bad steady state error
- Observer and PID insufficient phase margin
32Work Completed 2-DOF Arm
- Base Modeling
- Spring Modeling
- Sample Rate
- Controller Design
33Base Modeling
- Model of arm without effect of springs
- Ts4/(??n)
- ??n is the real part of poles
- Gp1500/(s210s)
34Spring Modeling
- Reran test and plotted arm displacement
- Frequency of oscillation is imaginary part
- Settling time is real part
- GDGDdcs/(s28s289)
35Spring Modeling
- Spring effect is instantaneous
- Springs have no steady state effect
- Behaves like differentiator
- GD0.42s/(s28s289)
36Spring and Arm Together
- Modeled as a minor loop disturbance
- Positive feedback because of increasing overshoot
and settling time
Base transfer function remains unchanged
Actual Arm Position
Spring Displacement depends on base movement
37Model and Plant Comparison
Arm Model
38Model and Plant Comparison
- Plant Model
- os41.7 os37.4
- Ts1.12s Ts1.21s
39System Root Locus
40New Sample Rate
- For smooth operation of motor, ?s 6?c
- ?c 10.7rad/s Tc 0.587s
- Tsam max0.0978s
- Tsam chosen to be 0.1s
- Largest sample time spreads out root locus
- Complex poles and zeros dont affect response
41New Plant Root Locus
42Proportional Control
- KP 0.024
- Unloaded
- 0.27 OS
- ? 0.88
- Ts 1.1s
- KG 0.0099
- PM 70.5 deg
- GM 20.5dB
- Loaded
- 3.91 OS
- ? 0.72
- Ts 1.9s
- KG 0.074
- PM 72 deg
- GM 21dB
43PID Control
44PID Control
- KP 0.023
- KI 0.01
- KD 0.01
- Unloaded
- 0 OS
- ? 1
- Ts 1.1s
- PM 75 deg
- Loaded
- 3.3 OS
- ? 0.74
- Ts 1.8s
- PM 75 deg
45Lead Network
- Pole-zero cancellation
- Lead pole chosen to be at zero for fastest
settling time
46Lead Network
- Gain of 0.06 should give Ts of 0.72s with 15OS
47Lead Network
- KP 0.09
- Gcz-0.458/z
- Unloaded
- OS 0
- ?1.0
- Ts 0.9s
- PM 75 deg
- GM 21.3 dB
- Loaded
- OS 0
- ?1.0
- Ts 1.1s
- PM 76 deg
- GM 22.2 dB
48Minor Loop With PI Control Diagram
Position
Velocity
PI Control
49Minor Loop With PI Control
- KP 6.0
- KI 0.05
- Unloaded
- OS 7.0
- Ts 1.0s
- PM 50 deg
- Loaded
- OS 10
- Ts 1.0s
- PM 61 deg
50Classical Control Conclusions
- Proportional and PID control did not handle loads
very well - Minor Loop Performed well but is close to
instability - Lead Network was the best choice by far
51Observer Controller
- GC(s) Our Lead Network (0.2)(z - 0.458)/z
- GPEst(s) Plant Estimator (3.127z 2.246)/(z2
- 1.368z 0.3679) - GCO(s) Observer Compensator (Lead-Network
Controller) (0.06)(z 0.4)/z
52Estimator Output
53- The Observer gave us no overshoot and a settling
time of 0.9 seconds.
54Observer Controller With Disturbance Rejection
55Observer With Disturbance Rejection
- KDD 2
- GCO (z-0.4)/z
- No Load
- OS 9
- Ts 1.2s
- PM 63 deg
- Loaded
- OS 12
- Ts 1.4s
- PM 55 deg
56Comparison Of No Load Results
57Comparison Of Loaded Results
58Spring Inaccuracy
59Results
602-DOF Arm Conclusions
- Observer works best if there is no need for
disturbance rejection - With disturbance rejection, observer was not
better than classical controller methods - Lead Network Controller proved to be the most
effective overall for both loaded and unloaded
conditions
61Inverted Arm Conclusions
- Encoder used was very accurate
- Results mildly are improved
- Useful if computational complexity is cheap
62Questions
63Root Locus with Graphical KProportional control
64Lead Network Root Locus
65Minor Loop Graphical Gain
66Minor Loop Bode Plot
672-DOF Arm Configuration
68Inverted Arm Configuration
692nd Order Step Response
- Proportional gain of 0.45
- O.S.46
- Ts0.58 s
- Tr0.06 s
- Tp0.14 s
70Q8 Acquisition Board Specs
- 14 bit A/D converter -10V
- - 1.22 mV resolution
- - Maximum conversion time 5.2µs
- - Maximum Sample Frequency 192kHz
71Q8 Acquisition Board Specs
- 12 bit D/A converter - 5V
- - 2.44 mV resolution
- - Slew rate 2.5V/µs
- - Max voltage change is from -5 to 5, or 10V
- - Max conversion time 4µs
- - Max sample frequency 250kHz