I very much enjoyed this video! Although it took me a while, I was eventually able to get a valid result using this method! However, there is something crucial that stumped me for a while. At 19:24 in the video, you enter the earth's radius in Km. I followed along (not thinking too much of it) and I kept getting invalid results for example I would get a warning flag from the start. But then when I worked back through the model/code and did a bit of manual calculation I found that using the Haversine formula you spoke about, my horizontal distance was ridiculously small, hence why I was getting a warning flag from the beginning of the simulation. So I used meters rather than Kilometres and this fixed the issues I was having. Although I will say, that troubleshooting this problem really did aid my understanding of the full system! So there is a bright side haha. By the way, if what I have said is incorrect, please do let me know. I always like to learn even if it means I am wrong. TLDR: If you are following along and getting invalid results make sure you use meters for the earth's radius (at 19:24) and not kilometres.
Here, these 2 cover most things you need to know ruclips.net/video/X_dGm1mhHsM/видео.html&ab_channel=VDEngineering ruclips.net/video/UdJ0LAkIDqk/видео.html&ab_channel=VDEngineering
Yes, however the goal was to explain the theory in detail, for a complete understanding. In a work setting, the engineer would use the toolbox however he/she must tune it perfectly and use the appropriate initial conditions and parameters!
Thanks for sharing your vids. I think you cover A LOT of VERY interesting topics. However, the reason it's difficult to follow your content is because it always feels like you cram in 5 hours of content into a 20 mins video. As such, if one already was way too familiar with what it is that you are doing, they'd benefit from the quick demonstration. But for those who aren't already very familiar, it doesn't really teach them all that much. But it must take a lot of effort to put all these together. Thanks for taking the time out to do this anyway.
I know, If I had the time to make longer videos I would, I work full time whilst attending school. I also believe most people will get bored watching a 5 hour video, so my channel views will drop and ratings will go down, hope you understand.
@@VDEngineering LMAO! I would never expect a 5 hour long video. That'd be a terrible idea. What I was suggesting is more like the Control Bootcamp series by Steve Brunton. The individual videos in the series are 10-20 mins each. But the total content is 10 hours+. The way you do it seems more like a 20 mins technical presentation on a project. Whatever the case maybe, thank you very much for finding any time to do this. I am already surprised that you even found any time for this considering your studies and work obligations must be very time consuming and stressful.
Hello brother. I'm a a big fan of your stuff. I actually graduated with Aerospace engineering bachelors in India this summer. And applying for masters in Canada. I'm very much struggling to learn proper Matlab. Can you please suggest me where can I master matlab from? Thank you :)
Thanks a bunch for the great work and nice content. would you mind do a video and share the model running (visualization of the same model) with x-plane10. thanks
thank bro very much but Question this model does not include internal chips types of sensors used or any schematics right its not finished project its for learning the principals only right ?
what kind of application would be useful for people who deal with control systems that computes in the cloud? Can you please help what kind of functionalities would be useful?
hi,how could l upload this missile scenery into flightgear software?(where can l download this scenery?)...thank you very much if anyone could reply to me...
Hey Vinayak, I am currently working on a project where I have to connect FG to Matlab/ Simulink. Your videos have been pretty helpful so far, but I was wondering if you have ever tried to connect two instances of FG to the same Simulink model to perform simultanous flight trajectories of two planes via FG Multiplayer mode. The problem I have is about the communication between the two FG instances since there is always a "jitter" in the visualization instead of a fluent movement. I would be really happy for any advice! Other than that: Keep it up! Your videos are great!
heloo sir my name Karthik I want help project work we working project like 3D forward looking sonar for surface platform and UUVs we want build stimulik or matlab code
while implementing the guidance model; x and z are they given in terms of theta or gamma? 'cause the formula you showed mentions theta, but your simulink diagram taps gamma. Thank you so much for the effort put in.
Hey, so the true formula is gamma yes, that was a typo. However, if you run this simulation you'll notice that angle of attack stays at 0, which means theta ~= gamma, (because Az ~= 0), so either will give you the same result. Thanks for spotting that!
yeah, I want to do so. Could we animate two independent moving object in one animation? The data flight of two moving objects are imported from Simulink/Matlab.
This video assumes AOA to be zero when the relation between Velocity and body axes is determined, That's not very accurate as the actual body dynamics are not getting included, it's a good video overall
Very interesting and amazing video. Just took a quick look of the video. How did you get your input (reference (distance from ground data)) into your simulink model? In other words, how did you connect the simulink and google map? If you already mentioned that in the video please let me know thanks!
amazing work, do you recommend any books about GN&C ? I want to start learning about it even though I am in the field of materials and wind energy cause I think GN&C is very interesting field even though at first I really found it awfull due to programming haha but now not so much
It's a very broad applied field so there isn't any book specific to this. The best one which gives a good intro is Aircraft Control and Simulation by Eric Johnson.
Great video, one question though: The formula for the flightpatheangle gamma = theta - alpha is correct, but then the picture beneath is labeled incorrectly (swap theta for gamma), or am I mistaking?
@@VDEngineering Ahh I'm in my final year Mech. Eng but, I have course specifically on embedded controls like this after the basic controls but I'd doesn't look like my coursework will ever go in to practical applications in Simulink. My uni is very theory based. Thanks for uploading these videos, I'll think I'll try em out later one if I never have free time lol.
Excuse me, sir, I'm a newbie so I could miss something. But is it okay that the simulation doesn't work if the rocket and the target are too far away from each other? I mean, it misses completely if the distance is too much.
Hello vinayak sir.. I want to learn realtime simulation.. How u did in this ?..can u explain me plz... I don't know how to start real time.. i gone through some web search but unable to do that... Thank you
Thank you all for the 500+ likes: You can now find the model in the link in the comments
i realize Im pretty randomly asking but does anyone know a good website to watch newly released movies online?
@Rohan Wallace Try Flixzone. Just google for it =)
@Maverick Pierce Definitely, have been watching on flixzone for months myself :D
@Maverick Pierce Thanks, I signed up and it seems to work =) I really appreciate it !!
@Rohan Wallace You are welcome =)
First time seeing a real practical dynamic model of a system being extracted and subjected to control, very useful.
Mr. Vinayak, You are the Ganapati Bappa of My life..Saviour...
hello i am from Iran, thank you for your video, now we making big boom rocket, thank you
😂😂😂😂
lmaoooo
@@ArkonPT no no, I am not chairman Mao - he is from China. I am from great land of Pesia
a compact explanation of such a huge theory. It's wonderful !
Just wanted to say thank you for putting together this video, very inspiring as a student to see what you're able to do.
PLEASE DONT STOP MAKING SUCH AWESOME VIDEOS
As always great content! Thank you very much for spending your free time explaining us such interesting things!
Your lectures / classes are very interesting
You sir are talented af 🤙
I very much enjoyed this video! Although it took me a while, I was eventually able to get a valid result using this method! However, there is something crucial that stumped me for a while. At 19:24 in the video, you enter the earth's radius in Km. I followed along (not thinking too much of it) and I kept getting invalid results for example I would get a warning flag from the start. But then when I worked back through the model/code and did a bit of manual calculation I found that using the Haversine formula you spoke about, my horizontal distance was ridiculously small, hence why I was getting a warning flag from the beginning of the simulation. So I used meters rather than Kilometres and this fixed the issues I was having.
Although I will say, that troubleshooting this problem really did aid my understanding of the full system! So there is a bright side haha.
By the way, if what I have said is incorrect, please do let me know. I always like to learn even if it means I am wrong.
TLDR: If you are following along and getting invalid results make sure you use meters for the earth's radius (at 19:24) and not kilometres.
Oops, my bad, glad you got it working!
The earth’s radius is in meters , he put e3. I’m still unable to get valid results. Wondering where I made mistakes.
@@sampiko9697 In matlab function define R=6371e3, not R=6.371e3
@VDEngineering Is it fixed type or variable type solver used ...I tried it but not getting results..as changed R in meters ...
Can u suggest ??
i can relate to what you encountered... blessing in disguise. haha
Very interesting Thank u, Math part just passed above my head.
Excellent job VD Engineering
Please make a whole video series from basics to use aerospace blockset of MATLAB and simulink
Here, these 2 cover most things you need to know
ruclips.net/video/X_dGm1mhHsM/видео.html&ab_channel=VDEngineering
ruclips.net/video/UdJ0LAkIDqk/видео.html&ab_channel=VDEngineering
Really enjoy the model construction process in the demo, Thanks!
super content anna
Love your content, dude! Super interesting stuff! PS: You're helping me a lot with my paper on quad control systems - thanks so much!
Hi vinayak amazing work . Can you tell me why the missile missed . You said it's the noise but you used kalman filter to filter out the noise
Great content. This can be simplified a whole lot more using the Navigation Toolbox and Sensor Fusion and Tracking Toolbox.
Yes, however the goal was to explain the theory in detail, for a complete understanding. In a work setting, the engineer would use the toolbox however he/she must tune it perfectly and use the appropriate initial conditions and parameters!
@@VDEngineering This. Thanks for doing it.
In case anyone else is wondering: Our target is Pyramid Lake, CA
Thanks for sharing your vids. I think you cover A LOT of VERY interesting topics. However, the reason it's difficult to follow your content is because it always feels like you cram in 5 hours of content into a 20 mins video. As such, if one already was way too familiar with what it is that you are doing, they'd benefit from the quick demonstration. But for those who aren't already very familiar, it doesn't really teach them all that much. But it must take a lot of effort to put all these together. Thanks for taking the time out to do this anyway.
I know, If I had the time to make longer videos I would, I work full time whilst attending school. I also believe most people will get bored watching a 5 hour video, so my channel views will drop and ratings will go down, hope you understand.
@@VDEngineering LMAO! I would never expect a 5 hour long video. That'd be a terrible idea. What I was suggesting is more like the Control Bootcamp series by Steve Brunton. The individual videos in the series are 10-20 mins each. But the total content is 10 hours+. The way you do it seems more like a 20 mins technical presentation on a project.
Whatever the case maybe, thank you very much for finding any time to do this. I am already surprised that you even found any time for this considering your studies and work obligations must be very time consuming and stressful.
@@VDEngineering Fascinating video but your pace is lightning fast. I would need to pause and check and pause again to think. Well done.
thank you for sharing this friend
is there any step that he didn't show in the video because it's not working
If u followed all steps then u r capable to find out urself
Great video sir!! Thank you very much
THANK YOU SO MUCH
YOUR CHANNEL IS SO UNDERRATED I AM GOING TO SUBSCRIBE TO YOUR CHANNEL USING ALL OF MY DEVICES
Found this masterpiece ❤
Thank you very much for the video. I have learned a lot.
Awesome! thanks for sharing
Brilliant!! Thanks for sharing
Really helpful sir
Very informative
Great video, thank you.
OMG! The best video ever!
Thanks. Cute dog
Excellent explanation.
thx bro this is very interesting
Good w.
15:51 How to further add those in and out blocks in the main subsystem? 😮💨 I'm stuck here 😓
So cool, thanks for sharing this work!
Great work
Wow. Nice
Awesome
You are amazing
thanks for this
Great video
Hey Brother ,
Thats Awwwsome ! Keep it up !
Thanks
Thank your very very march! Amazing, just amazing, thank you so much
Thanks For the video, but the github is empty where is the code?
@VDEngineering same here
Hello brother. I'm a a big fan of your stuff. I actually graduated with Aerospace engineering bachelors in India this summer. And applying for masters in Canada. I'm very much struggling to learn proper Matlab. Can you please suggest me where can I master matlab from? Thank you :)
Matlab website is all you need
Hi, Amazing video !!! Thanks !! Do Can you nominate content for the rocket's roll control?
Can this model fit for amateur rocket model with static TVC control I'm doing a master degree "tvc control with linear and non linear commands"
Perfect ...
How about another one where you use pronav. That will be fun.
Thanks a bunch for the great work and nice content. would you mind do a video and share the model running (visualization of the same model) with x-plane10. thanks
Good
how does simulink identify or the Implementation of hardware boards types or does it only support a certain boards ?
how to do that using model predicative control?
Hello and thank you for the video. Can you program a radar that detects moving targets in Alma Talab? Please
Can you help me? I cannot find aircraft model HL21 for FlightGear simulation. Where can I download it? Or can you share it with me?
thank bro very much but Question this model does not include internal chips types of sensors used or any schematics right its not finished project its for learning the principals only right ?
what kind of application would be useful for people who deal with control systems that computes in the cloud?
Can you please help what kind of functionalities would be useful?
Do you have any books you recommend for GN&C?
hi,how could l upload this missile scenery into flightgear software?(where can l download this scenery?)...thank you very much if anyone could reply to me...
4:33. i thinks gama should be eaual to theta plus alph. am i right?
where can i find the model
i tried to make it myself but it's not working
Excellent!
Where to code this, I mean in what hardware or something. I know nothing about this topic and I want to know please help ☺
How you define the blast zone?
Hey Vinayak, I am currently working on a project where I have to connect FG to Matlab/ Simulink. Your videos have been pretty helpful so far, but I was wondering if you have ever tried to connect two instances of FG to the same Simulink model to perform simultanous flight trajectories of two planes via FG Multiplayer mode. The problem I have is about the communication between the two FG instances since there is always a "jitter" in the visualization instead of a fluent movement. I would be really happy for any advice! Other than that: Keep it up! Your videos are great!
Not sure how to do that yet
@@VDEngineering Ok, however thanks for answering. However if you ever have to deal with that problem I would be thankful for any advice or video.
Why so hurry vinayak bro . Your video is very much fast.
Your content are incredible
Please keep the pace of your video slow
Thank you. Yes next time
Can you share file Simulink connect to Flight gear and file .bat for this project please? Thank you so much
the python5 missile does crazy things we cannot simulate by matlab , but how?
heloo sir my name Karthik I want help project work we working project like 3D forward looking sonar for surface platform and UUVs we want build stimulik or matlab code
Could you make a video serie about 6 degree of UAVs simulation step by step?
In the future yes
I did something like this in a game called stormworks search and rescuse, its just that the airdynamics are not that accurate
Hello! Thanks for the vid! I want to implement Kalman filter on inertial navigation system. Can I contact you for help please?
while implementing the guidance model; x and z are they given in terms of theta or gamma? 'cause the formula you showed mentions theta, but your simulink diagram taps gamma.
Thank you so much for the effort put in.
Hey, so the true formula is gamma yes, that was a typo. However, if you run this simulation you'll notice that angle of attack stays at 0, which means theta ~= gamma, (because Az ~= 0), so either will give you the same result. Thanks for spotting that!
Hi can I use the same concept for aircraft error dynamics simulation? In cruise flight
yes, just modify equations accordingly
Can you say , what is your system configuration ?
Meanwhile which processors, RAM, graphics card you use ?
I have this laptop: MSI GP72-2QE leopard pro
Can u send model.m file like u have sent for steering control..
Can you make a video about missile interception? [ like a Patriot missile intercepting a SCUD ballistic missile(predictable trajectory for SCUD ) ].
yeah, I want to do so. Could we animate two independent moving object in one animation? The data flight of two moving objects are imported from Simulink/Matlab.
Hi , excellent video, can you please tell me how to calculate the Y coordinates also? It will be a big help. Thanks in advance
hi aniket, i have some question
Sir shall u please send me the code and simulation because in me it have some error so i cant able to rectify it please help me
This video assumes AOA to be zero when the relation between Velocity and body axes is determined, That's not very accurate as the actual body dynamics are not getting included, it's a good video overall
Yes small angles, I have to keep everything explanable within 25-30mins
Very interesting and amazing video. Just took a quick look of the video.
How did you get your input (reference (distance from ground data)) into your simulink model?
In other words, how did you connect the simulink and google map?
If you already mentioned that in the video please let me know thanks!
Hello, they are not connected. I did it separately
Could we animate two independent moving object in one animation? The data flight of two moving objects are imported from Simulink/Matlab.
Only in Simulink 3D animation
amazing work, do you recommend any books about GN&C ? I want to start learning about it even though I am in the field of materials and wind energy cause I think GN&C is very interesting field even though at first I really found it awfull due to programming haha but now not so much
It's a very broad applied field so there isn't any book specific to this. The best one which gives a good intro is Aircraft Control and Simulation by Eric Johnson.
@@VDEngineering Great , thanks a lot !
Great video, one question though: The formula for the flightpatheangle gamma = theta - alpha is correct, but then the picture beneath is labeled incorrectly (swap theta for gamma), or am I mistaking?
yes typo
Hii, i found ur videos very interesting. Is it possible if u could simulation in autonomous parafoil.
I don't know what that is
@@VDEngineering its a parachute that can be controlled autonomously. If u cud do some simulation related to that i will be very helpful.
@@VDEngineering it will be helpful if possible to model a parachute based on eqn of motion
Vin, is it possible to do staging, fairing separation, etc... of a rocket with flight gear and simulink???
No, however with Simulink 3D animation it is possible
hey vd can you suggest some books to learn GN&C and simulink modeling .
None, this stuff you have to learn on your own
@@VDEngineering
so from where i have to start ?
Vinayak sir can you tell which book is best for MATLAB for Aerospace
None. Matlab website
What stage of your education did you learn this stuff?
Undergraduate degree final year
@@VDEngineering Ahh I'm in my final year Mech. Eng but, I have course specifically on embedded controls like this after the basic controls but I'd doesn't look like my coursework will ever go in to practical applications in Simulink. My uni is very theory based. Thanks for uploading these videos, I'll think I'll try em out later one if I never have free time lol.
I didn't learn at school. I just taught myself.
Excuse me, sir, I'm a newbie so I could miss something. But is it okay that the simulation doesn't work if the rocket and the target are too far away from each other? I mean, it misses completely if the distance is too much.
yes because the error adds over time
I need some flight simulation for rocket or missile launching
I have a rocket one on my channel (STS)
Hello Vinayak I am die hard fan of yours, kindly reply us, or tell us how, we can interact with you and ask question Vinayak
DM on insta
Hello vinayak sir..
I want to learn realtime simulation..
How u did in this ?..can u explain me plz...
I don't know how to start real time..
i gone through some web search but unable to do that...
Thank you
I don't know it myself yet. Need simulink real time
Could you tell us how to go to flightGear in order to simulate this model?
You can watch my part 1,2,3 videos on it
what if the target is moving? what shell we do?
Use Line of Sight guidance, coming in future video
@@VDEngineering waiting for it.. thank u
Can you send me the simulation file?
Check my GitHub
Can this be applied in real life
Yea
@@VDEngineering I mean which language do you use to code this