Control Bootcamp: Cruise Control Example with Proportional-Integral (PI) control

  Рет қаралды 32,434

Steve Brunton

Steve Brunton

Күн бұрын

Пікірлер: 16
@krisjk999
@krisjk999 4 жыл бұрын
Hello Prof. I have a request. A bootcamp on digital control would be greatly helpful as almost all controllers are implemented in digital domain. Direct digital design accounting for sampling and hold delays would be a great additional topic. Do you have any recommendations for resources to consult for the same?
@reik2006
@reik2006 5 ай бұрын
18:50 also setting Ki >> Kp for the PI control shows the oscillation around the reference due to the intergral term very nicely
@indramal
@indramal 4 жыл бұрын
X dot equation last part should be +Kp.r not -Kp.r
@kevinallen9106
@kevinallen9106 3 жыл бұрын
Agreed. However his Matlab code did correctly have +K [17:02] B = [K; 1].
@biodynamoininnopolisuniver3096
@biodynamoininnopolisuniver3096 4 жыл бұрын
There is a small mistake with coefficients when Steve writes equation of d([x z]^T)/dt. There should be 1 instead of -1 in second row first column. In the matlab it is okay
@Eigensteve
@Eigensteve 4 жыл бұрын
Thanks for catching this!
@patriciowhittingslow1553
@patriciowhittingslow1553 4 жыл бұрын
Think you mean the first row of the B matrix, Kp should be positive as it is in matlab. Thanks for the heads up!
@indramal
@indramal 4 жыл бұрын
Where is matlab code?
@indramal
@indramal 4 жыл бұрын
Why it is not -1? Z dot = r - x so it is -1.
@pnadukandi
@pnadukandi 3 жыл бұрын
Thanks for sharing your videos. What is the procedure when the control output falls outside the physical bounds of the control variable (which is input as forcing function to the system; in your example it's the pedal-depth)? I guess something in the lines of "stop if out-of-bound event occurs, rewind one time step, rerun with min-max bound of control variable, reinitialise the augmented state variables, carry on as usual" is done (I guess likewise for any linear controller). I believe going through an example where these details are considered will help. Will you please share any references/notes you might be aware of that deals with these details?
@pnadukandi
@pnadukandi 3 жыл бұрын
Or is the controller designed in such a way that such out of bound errors do not occur?
@necatimertcelen801
@necatimertcelen801 4 жыл бұрын
Hello Professor, when you wrote the equation u=Kp * (r-x) + Ki * z, also can we write the equation like this u = Kp * z_dot + Ki * z?
@indramal
@indramal 4 жыл бұрын
clear all, close all, clc % Create a car model sysCar = ss(-1,1,1,0); % A matrix -1, B matrix 1, C matrix 1 and D matrix 0 K = 5; sysPROP = ss(-1-K,K,1,0); % Proposional control %% t = 0:.01:10; [yCAR,tCAR,xCAR] = step(sysCar,t); plot(tCAR,yCAR) hold on [yPROP,tPROP,xPROP] = step(sysPROP,t); plot(tPROP,yPROP) % need integral action to reduce steady state error % stabilizetion! % Proposional + Integral A = [-1-K K; -1 0]; B = [K; 1]; C = [1 0]; D = 0; sysPI = ss(A,B,C,D); [yPI,tPI,xPI] = step(sysPI,t); plot(tPI,yPI) legend('step','Proportional','PI') %% % Plot control expenditure figure plot(t,0*t + 1) hold on plot(tPROP,K*(1-xPROP)); xPIminusRef = xPI; xPIminusRef(:,1) = 1-xPI(:,1); plot(tPI,(xPIminusRef)*[K; K]) legend("Set Point","Proportional","PI");
@patriciowhittingslow1553
@patriciowhittingslow1553 4 жыл бұрын
*wget **faculty.washington.edu/sbrunton/control_bootcamp_code.zip* also works
@indramal
@indramal 4 жыл бұрын
Patricio Whittingslow there are no code for PI controller
@8cold8hot
@8cold8hot Жыл бұрын
@@patriciowhittingslow1553 U rock, bro!
Control Bootcamp:  Sensitivity and Complementary Sensitivity
11:20
Steve Brunton
Рет қаралды 44 М.
Control Bootcamp:  Benefits of Feedback on Cruise Control Example
14:47
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 201 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 129 МЛН
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 8 МЛН
What is a PID Controller? | DigiKey
22:19
DigiKey
Рет қаралды 94 М.
Control Bootcamp:  Loop Shaping Example for Cruise Control
12:21
Steve Brunton
Рет қаралды 27 М.
PIDs Simplified
13:07
SiieeFPV
Рет қаралды 305 М.
Control systems with non-minimum phase dynamics
8:33
Steve Brunton
Рет қаралды 34 М.
PID Balance+Ball | full explanation & tuning
13:13
Electronoobs
Рет қаралды 759 М.
Control Bootcamp:  Limitations on Robustness
9:02
Steve Brunton
Рет қаралды 23 М.
Control Bootcamp:  Sensitivity and Robustness
9:57
Steve Brunton
Рет қаралды 33 М.
PID vs. Other Control Methods: What's the Best Choice
10:33
RealPars
Рет қаралды 131 М.
Final Value Theorem and Steady State Error
12:46
Brian Douglas
Рет қаралды 328 М.
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 201 МЛН