Drone Simulation and Control, Part 5: Tuning the PID controller

  Рет қаралды 85,316

MATLAB

MATLAB

Күн бұрын

Пікірлер: 66
@BrianBDouglas
@BrianBDouglas 6 жыл бұрын
Hi everyone! I hope you enjoyed this video. If you have any questions or comments you'd like me to see, please leave them on this comment so that I get notified and can respond. Cheers!
@jeffersonpimentamelo
@jeffersonpimentamelo 6 жыл бұрын
Brian, how about apply control in power electronics? A current source circuit, buck converter, boost converter. I miss the integration between both subjects. Thanks!
@BrianBDouglas
@BrianBDouglas 6 жыл бұрын
Hi @@jeffersonpimentamelo. Great suggestions! Control within power electronics is actually one of the topics that Mathworks would like me to cover in the future (maybe Spring-ish). The video list changes over time as we think of more interesting topics to cover but for now, it's in the queue!
@suhaylpatel9471
@suhaylpatel9471 6 жыл бұрын
Hey Brian. I'm a mechanical engineering student and for a UAS competition me and my team have to build a drone that is fairly autonomous (be able to drop a payload and go to certain check points in a field by detecting targets). Which of your videos do you recommend watching to help achieve this?
@abdelhakimamer6989
@abdelhakimamer6989 6 жыл бұрын
Brian i am done with the series It was awesome, thank you. I want to do some kind of exercise or practice to test my understanding. What do you recommend? I wish to eventually to be able to be able to design the whole simulink model from scratch....
@3Triskellion3
@3Triskellion3 6 жыл бұрын
It'd be great if you could go a little into using this stuff on homebuilt drones, rather than commerical ones (perhaps those running on arduinos?)
@OrangeDurito
@OrangeDurito 2 жыл бұрын
I truly feel short of words to express my gratitude for this video series. This gave me so much clarification regarding the model-based design and control of a real hardware system. You are an incredible teacher. Thank you for inspiring and helping us be a better control system engineer.
@40NoNameFound-100-years-ago
@40NoNameFound-100-years-ago 3 жыл бұрын
I was about to feel so depressed when Brian said 'I don't have time ' after the drone experiment failed and then I felt so excited when Brian came again and said' okay I changed my mind I don't wanna leave this vido with a failed experiment'. 👍👍👍😃
@fernando.liozzi.41878
@fernando.liozzi.41878 6 жыл бұрын
Can you share a link to the modified project ?, Since I can not follow you, it goes very fast. Greetings.
@saadfareed1075
@saadfareed1075 3 жыл бұрын
That series was very great and helpful.Thanks @Brian Douglas....By the way, i am also working on quadcopter control but rather then using Parrot Mini drone, i have developed my own f450 quadcopter running on Arduino due which is then interfaced with Simulink...And its flying great.
@yakovhammer5739
@yakovhammer5739 Жыл бұрын
Hey! I am trying to do that exact same project. I am having some trouble. Think you would be able to give me some help?
@yuanxinshen8259
@yuanxinshen8259 5 жыл бұрын
6:28, why the P signal minus the D signal ? is that supposed to be added?
@k1ngjulien_
@k1ngjulien_ 5 жыл бұрын
maybe D produces a negative output
@yuanxinshen8259
@yuanxinshen8259 5 жыл бұрын
@@k1ngjulien_ maybe,I'm still very confused
@teocardoso7237
@teocardoso7237 5 жыл бұрын
Probably because the z-axis negative is up. So the error derivative is the opposite. And the minus fixes it.
@brunopinto1832
@brunopinto1832 4 жыл бұрын
Because the d term is acting on the measured value. Its called derivative on measurement, thats why its negative.
@fernando.liozzi.41878
@fernando.liozzi.41878 6 жыл бұрын
WOW!, I was able to connect the Parrot to simulink, I am already with the initiation examples. Excellent thank you very much.
@ShivaniSingh-jc4pg
@ShivaniSingh-jc4pg 5 жыл бұрын
Fernando Liozzi I also need link to simulate this . I am facing samd problem
@fernando.liozzi.41878
@fernando.liozzi.41878 6 жыл бұрын
Please, you could make a video making the identification of the system, with the input and output data. I have looked and made several control problems identifying systems, but I would like you to make the identification of this drone. I already have it working with Simulink and I'm doing everything you've done so far in the videos. Many thanks.
@brianblasius
@brianblasius 5 жыл бұрын
I support this idea too. We need to learn system identification in matlab.
@Reglrtv
@Reglrtv 6 жыл бұрын
@Brian Dounglas: Suppose the On-board hardware system is based on FPGA and DSP where the FPGA is in charge for the low-level algorithm and DSP for the high-level algorithms, but both devices communicate through a UART interface. Would Matlab still make the work easier for FPGA?
@kranthikumardeveerasetty2012
@kranthikumardeveerasetty2012 5 жыл бұрын
Dear Brian, I am getting the following error. Data type mismatch. Input port 4 of 'controller_tuning/ControlMixer' expects a signal of data type 'double'. However, it is driven by a signal of data type 'single'. Component:Simulink Control Design | Category:Linearization error Data type mismatch. Output port 1 of 'controller_tuning/altitude controller' is a signal of data type 'single'. However, it is driving a signal of data type 'double'.
@sohailali3466
@sohailali3466 3 жыл бұрын
Hello. Same Problem Here. Did you manage to fix it?
@francescosavino5281
@francescosavino5281 2 жыл бұрын
@@sohailali3466 same problem, have you solved it?
@adrieloliveira3348
@adrieloliveira3348 5 жыл бұрын
Hello Brian, can you help me solve this mistake? I did exactly as video though this error occurred: Data type mismatch. Input port 4 of 'untitled/ControlMixer' expects a signal of data type 'double'. However, it is driven by a signal of data type 'single'. Component:Simulink | Category:Model error Data type mismatch. Output port 1 of 'untitled/Controle de Altitude' is a signal of data type 'single'. However, it is driving a signal of data type 'double'.
@sohailali3466
@sohailali3466 3 жыл бұрын
Hello. Same Problem Here. Did you manage to fix it?
@francescosavino5281
@francescosavino5281 2 жыл бұрын
@@sohailali3466 same problem, have you solved it?
@khoanguyenntk9302
@khoanguyenntk9302 Жыл бұрын
Bravo, matlab is the best!
@wailkerjack7979
@wailkerjack7979 4 жыл бұрын
I have met the model linearization problem, include the port type mismatch. I just turn the data type from 'single' from ' double'.And it works.
@varian_teknologi
@varian_teknologi 4 жыл бұрын
can you tell me which block should I change the data type to double? thank you
@fernando.liozzi.41878
@fernando.liozzi.41878 6 жыл бұрын
Hello, I bought a Parrot Mambo Fly, a Bluetooth dongle CSR 4.0, I installed the harmony driver that you left in a link. The bluetooth works well, I can connect devices, transfer files and music. But when it comes to connecting the drone, only one icon appears, and it will not let me connect it.
@fernando.liozzi.41878
@fernando.liozzi.41878 6 жыл бұрын
la.mathworks.com/help/supportpkg/parrot/ug/connect-parrot-mambo-minidrone-to-computer-using-bluetooth.html?searchHighlight=connect%20parrot%20bluetooth&s_tid=doc_srchtitle
@fernando.liozzi.41878
@fernando.liozzi.41878 6 жыл бұрын
I have not tried this option yet, when I get home I will try, and comment. la.mathworks.com/help/supportpkg/parrot/ug/minidrone-not-found-by-bluetooth-scan.html
@jackbosshard4502
@jackbosshard4502 5 жыл бұрын
Is it possible to use my Matlab/Simulink home edition for the Experiments with the Parrot hardware support? The number of the virtual blocks is limited to 1000 with this licence.
@TnInventor
@TnInventor 4 жыл бұрын
the package that i have does not have the same model why? i am using matlab 2019, i cant find the mambo
@TnInventor
@TnInventor 4 жыл бұрын
ah it works , just type asbQuadcopterStart dont open it from simulink block
@xXKM4UXx
@xXKM4UXx 4 жыл бұрын
Were you still able to tune?
@TnInventor
@TnInventor 4 жыл бұрын
@@xXKM4UXx nope :D
@mertaygun4091
@mertaygun4091 6 жыл бұрын
Sorry if I missed that part but what do you use as a hardware for this project? What is the drone you use for example? Thx in advance.
@BrianBDouglas
@BrianBDouglas 6 жыл бұрын
Ah, yeah, I go over it in the first part but don't repeat it again in the other videos. This is the Parrot Mambo mindrone and I've connected it to Simulink with the Parrot Minidron Hardware Support Package. www.mathworks.com/hardware-support/parrot-minidrones.html
@abdullaheraslan7905
@abdullaheraslan7905 6 жыл бұрын
Hi Brian I am student at Istanbul Technical University. My friend and I are working on parrot mambo as a graduation project. We have a problem. We can fly parrot mambo but it is drifting. Two days ago we noticed something under the parrot to put colored objects in the drifting is disappearing. It is about marker but we cannot understand what is the marker and how can parrot mambo detect a marker in simulink blocks. How can we understand parrot mambo detect a marker in simulink blocks?
@hellsgone
@hellsgone 5 жыл бұрын
Optical flow, altta kamera var, yerin detayli olmasi gerekiyor yani siyah bant ile x isaretleri koyun etrafina boylece drone kalktiginda isaretleri algilayip sabit durabilir oldugu yerde. 100% kipirdamayacak degil tabii.
@xXKM4UXx
@xXKM4UXx 4 жыл бұрын
Are you still working on this project? I am currently and would like some help
@mathurhp
@mathurhp 6 жыл бұрын
Thank you
@adrieloliveira3348
@adrieloliveira3348 5 жыл бұрын
If you were able to make the same modifications to the video, please send me a link with the modified project. I followed the same steps and it did not work.
@marofe
@marofe 5 жыл бұрын
Amazing!
@chun-weikong7086
@chun-weikong7086 4 жыл бұрын
Like how you end the video!
@고경서-m3z
@고경서-m3z 5 жыл бұрын
awesome!!
@perceptrongaming4290
@perceptrongaming4290 4 жыл бұрын
when is the next video releasing ????
@quinn6152730
@quinn6152730 3 жыл бұрын
finally make it through...
@FernandoGarcia-hc9mn
@FernandoGarcia-hc9mn 4 жыл бұрын
You must have a NASA computer if you can handle so many Simulink windows simultaneously.
@mehmeteminm
@mehmeteminm 3 жыл бұрын
I hate when he goes back to simulink :(
@jobaidulislam7506
@jobaidulislam7506 3 жыл бұрын
Could you please help me to establish UAVs mathematical model? Please save my life please Sir please
@gokergayretli813
@gokergayretli813 5 жыл бұрын
KRALLLLLL
How to Tune a PID Controller - Made Simple!
14:34
PID Explained
Рет қаралды 6 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
What is a PID Controller? | DigiKey
22:19
DigiKey
Рет қаралды 103 М.
What Is PID Control? | Understanding PID Control, Part 1
11:42
MATLAB
Рет қаралды 1,8 МЛН
Modeling and Simulation of Advanced Amateur Rockets
17:10
Lafayette Systems
Рет қаралды 146 М.
Everything You Need to Know About Control Theory
16:08
MATLAB
Рет қаралды 588 М.
PID Controller Implementation in Software - Phil's Lab #6
20:06
Phil’s Lab
Рет қаралды 215 М.
PIDs Simplified
13:07
SiieeFPV
Рет қаралды 310 М.