State space control - observer design using Matlab and Simulink

  Рет қаралды 21,304

Ahmad Hably

Ahmad Hably

4 жыл бұрын

This video is intended to help you understand implementation a linear observer in a Matlab/Simulink environment.
I invite you also to see these nice videos:
A Conceptual Approach to Controllability and Observability: • A Conceptual Approach ...
and
Understanding Kalman Filters, Part 2: State Observers:
• State Observers | Unde...

Пікірлер: 55
@gavindundee1317
@gavindundee1317 2 жыл бұрын
You are amazing! Thank you for this extremely high quality and easy to understand video.
@ogunsadebenjaminadeiyin2729
@ogunsadebenjaminadeiyin2729 3 жыл бұрын
This video is very good, thanks for sharing prof. Very very very nice video:
@johnjoseph6634
@johnjoseph6634 Жыл бұрын
Awsome...........loved your content. make more videos sir
@ketz108932
@ketz108932 3 жыл бұрын
Nice, Well eplained
@mahmadkhachfe9089
@mahmadkhachfe9089 6 ай бұрын
@sagarjha6043
@sagarjha6043 2 жыл бұрын
The video is amazing
@josephkessel9535
@josephkessel9535 3 жыл бұрын
Hi! Dear, thanks a lot for this helpfull video on linear observer. Pls, can you also have some matirials which can help to design an obsever with disturbance rejection with a state feedback control law? Thanks a lot.
@vighneshshenoy1462
@vighneshshenoy1462 2 жыл бұрын
Thanks a lot!!! can u please do a video on non-linear time variant system observer design.
@ahmadhably80
@ahmadhably80 2 жыл бұрын
I have to prepare something for September
@ahmedelnahas8933
@ahmedelnahas8933 3 жыл бұрын
Hello Mr Ahmed , I'am working on a MBBR ( Micro ball balancing robot ) system and i already design the control for the system but i don't know how to choose the poles of the observer which will satisfy my system and gives the appropriate state error can u guide me ?
@ahmadhably80
@ahmadhably80 3 жыл бұрын
Of course. You can email me please with your problem
@anne-sophieg4488
@anne-sophieg4488 3 жыл бұрын
Hello Mr Ahmad, First of all, thank you for your video. It helped me a lot! But I have a question, why the system is diverging at 4:26? Thank you in advance for your answer. Have a great day!
@ahmadhably80
@ahmadhably80 3 жыл бұрын
Because the system is already unstable. Please see the Eigen values of A
@anne-sophieg4488
@anne-sophieg4488 3 жыл бұрын
@@ahmadhably80 Thank you for your quick answer! Indeed, the system is instable. So on the next part of the video, you changed the value of A? Thank you advance for your answer.
@ahmadhably80
@ahmadhably80 3 жыл бұрын
No I am showing that the error between the estimated state and the real state is converging to zero
@anne-sophieg4488
@anne-sophieg4488 3 жыл бұрын
So it is possible to create an observer even if the system is diverging ?
@anne-sophieg4488
@anne-sophieg4488 3 жыл бұрын
Thank you!
@theyeah132
@theyeah132 3 жыл бұрын
How did you get the state vector from the state space blocks? Mine only outputs y!
@ahmadhably80
@ahmadhably80 3 жыл бұрын
The matrix C must be identity and D has to zeros of an appropriate size
@theyeah132
@theyeah132 3 жыл бұрын
@@ahmadhably80 Ah of course! Thank you for the help, the videos are awesome by the way.
@ahmadhably80
@ahmadhably80 3 жыл бұрын
Thank you. Please spread the word
@younesshmd9852
@younesshmd9852 2 жыл бұрын
@Ahmaad Halby Thank you Professor for this course, can you please tell me how I can make a discreet time luenberger observer? I can send you with your permission the problem that I have by email.
@mohammedabbad5938
@mohammedabbad5938 3 жыл бұрын
I have DC-DC converter and I need to design observer based-controller for the converter I used PID controller to control the output voltage to be be same as the reference voltage but I don't know how to design the observer
@ahmadhably80
@ahmadhably80 3 жыл бұрын
Can you give your system’s equation?
@mohammedabbad5938
@mohammedabbad5938 3 жыл бұрын
@@ahmadhably80 The state space you mean sir ?
@chamounmichel3602
@chamounmichel3602 3 жыл бұрын
Thank you Prof. for this video. Unfortunately, when I run the simulation i get different results than yours. In fact, if i extend the simulation time to 30 seconds, the observer will diverge COMPLETELY! what could be the problem? (i am using the state space representation bloc)
@ahmadhably80
@ahmadhably80 3 жыл бұрын
Could you share your code with me?
@chamounmichel3602
@chamounmichel3602 3 жыл бұрын
@@ahmadhably80 yes sure can you please share your email with me? Or if you prefer not to share it publicly, please send me an email to micho_chamoun@outlook.com
@ahmadhably80
@ahmadhably80 3 жыл бұрын
Ahmad.hably@gmail.com
@ahmadhably80
@ahmadhably80 3 жыл бұрын
I examined your code. Remember an observer is a software sensor. if your system is unstable, the observer will follow the system and show this instability. use a stable system instead. Use this A = [-2 3;-1 -4]; It will work :-)
@chamounmichel3602
@chamounmichel3602 3 жыл бұрын
@@ahmadhably80 ah i see! Thank you!
@gorillacapers
@gorillacapers 3 жыл бұрын
I followed all the steps in the StateSpace representation, but my errors are very large; to the order of 10^11 within the first 10 seconds My matrices are the same as yours. What could be going on?
@ahmadhably80
@ahmadhably80 3 жыл бұрын
A sign problem?
@gorillacapers
@gorillacapers 3 жыл бұрын
@@ahmadhably80 Signs are same as you have in your video. I double checked. The Step function Step-time is 1. When I change it to 0 I see a difference too. Either case my plots do not match yours.
@ahmadhably80
@ahmadhably80 3 жыл бұрын
Send me your files
@yizhou5230
@yizhou5230 3 жыл бұрын
Does anyone know why the scope has two lines? What's the difference between blue line and yellow line.
@ahmadhably80
@ahmadhably80 3 жыл бұрын
On the scope we show the system's real state and the observed state from the observer
@sagarjha6043
@sagarjha6043 2 жыл бұрын
Hi! I have a system. Can you help me for designing observer matrix.
@ahmadhably80
@ahmadhably80 2 жыл бұрын
?,
@ahmadhably80
@ahmadhably80 3 жыл бұрын
An answer on a question nothing is going wrong. You have just to change the solver to a "stiff" one. The idea is to have a small error between the real and estimated state. The system is already unstable. If it is diverging, the observer will follow it.
@Cghxjccy
@Cghxjccy Жыл бұрын
Plz what is matrix D Zeroes ( 2 .. What’s after 2
@ahmadhably80
@ahmadhably80 Жыл бұрын
Lust respect the number of outputs and inputs
@zemalizakaria7694
@zemalizakaria7694 3 жыл бұрын
What is the name of this observer
@ahmadhably80
@ahmadhably80 3 жыл бұрын
Luenberger Observer
@zemalizakaria7694
@zemalizakaria7694 3 жыл бұрын
@@ahmadhably80 thanks very much teacher please Would U give us un example of observer filter kalman and unknown input if U can of cours
@zemalizakaria7694
@zemalizakaria7694 3 жыл бұрын
Teacher please can U give me the différence between thees observers
@akibiftakher9892
@akibiftakher9892 2 жыл бұрын
@Ahmed Hably Please check your email.
@ahmadhably80
@ahmadhably80 2 жыл бұрын
Here is a part for the correction: A11 = [-2 3; -1 -4]; B11= [0; 1]; C11 = [1 0]; D11 = 0; L1 = acker(A11',C11',[-1;-1])' Aobs1 = [A11-L1*C11]; Bobs1 = [B11 L1]; Cobs1 = eye(2); Dobs1 = zeros(2,2); For the Simulink I cannot open it since I have an older version
@akibiftakher9892
@akibiftakher9892 2 жыл бұрын
@@ahmadhably80 Thank you
ECE 463.22 Reduced Order Observers
13:09
Jacob Glower
Рет қаралды 7 М.
В ДЕТСТВЕ СТРОИШЬ ДОМ ПОД СТОЛОМ
00:17
SIDELNIKOVVV
Рет қаралды 3,9 МЛН
IS THIS REAL FOOD OR NOT?🤔 PIKACHU AND SONIC CONFUSE THE CAT! 😺🍫
00:41
Как быстро замутить ЭлектроСамокат
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 13 МЛН
State variable control 29: Observer design, Part 1
7:55
Corné van Daalen
Рет қаралды 16 М.
Luenberger observer
23:51
Luc Jaulin
Рет қаралды 9 М.
State space observer 3 - observer design by pole placement
12:36
John Rossiter
Рет қаралды 22 М.
Control Design via State space
38:03
Professor Essam Hamdi
Рет қаралды 76 М.
Analog Chip Design is an Art. Can AI Help?
15:48
Asianometry
Рет қаралды 184 М.
Observer design in Matlab simulink
12:17
The World of Engineers
Рет қаралды 41 М.
What Are Phased Arrays?
17:36
MATLAB
Рет қаралды 96 М.
В ДЕТСТВЕ СТРОИШЬ ДОМ ПОД СТОЛОМ
00:17
SIDELNIKOVVV
Рет қаралды 3,9 МЛН