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.
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.
Here, these 2 cover most things you need to know ua-cam.com/video/X_dGm1mhHsM/v-deo.html&ab_channel=VDEngineering ua-cam.com/video/UdJ0LAkIDqk/v-deo.html&ab_channel=VDEngineering
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 ?
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 :)
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!
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?
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,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...
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.
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?
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
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
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
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.
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!
@@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.
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
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 !
PLEASE DONT STOP MAKING SUCH AWESOME VIDEOS
Just wanted to say thank you for putting together this video, very inspiring as a student to see what you're able to do.
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
As always great content! Thank you very much for spending your free time explaining us such interesting things!
You sir are talented af 🤙
Your lectures / classes are very interesting
Very interesting Thank u, Math part just passed above my head.
Love your content, dude! Super interesting stuff! PS: You're helping me a lot with my paper on quad control systems - thanks so much!
Excellent job VD Engineering
15:51 How to further add those in and out blocks in the main subsystem? 😮💨 I'm stuck here 😓
Really enjoy the model construction process in the demo, Thanks!
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 video sir!! Thank you very much
Thank you very much for the video. I have learned a lot.
Really helpful sir
Very informative
THANK YOU SO MUCH
YOUR CHANNEL IS SO UNDERRATED I AM GOING TO SUBSCRIBE TO YOUR CHANNEL USING ALL OF MY DEVICES
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.
Hey Brother ,
Thats Awwwsome ! Keep it up !
super content anna
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.
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
ua-cam.com/video/X_dGm1mhHsM/v-deo.html&ab_channel=VDEngineering
ua-cam.com/video/UdJ0LAkIDqk/v-deo.html&ab_channel=VDEngineering
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
Brilliant!! Thanks for sharing
OMG! The best video ever!
Thanks. Cute dog
So cool, thanks for sharing this work!
thank you for sharing this friend
Found this masterpiece ❤
4:33. i thinks gama should be eaual to theta plus alph. am i right?
Excellent explanation.
Great video, thank you.
Awesome! thanks for sharing
Thank your very very march! Amazing, just amazing, thank you so much
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 ?
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
thx bro this is very interesting
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?
Where to code this, I mean in what hardware or something. I know nothing about this topic and I want to know please help ☺
Thanks For the video, but the github is empty where is the code?
@VDEngineering same here
how does simulink identify or the Implementation of hardware boards types or does it only support a certain boards ?
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"
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.
Great work
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?
Hello and thank you for the video. Can you program a radar that detects moving targets in Alma Talab? Please
Hi, Amazing video !!! Thanks !! Do Can you nominate content for the rocket's roll control?
where can i find the model
i tried to make it myself but it's not working
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!
Great video
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...
Hello! Thanks for the vid! I want to implement Kalman filter on inertial navigation system. Can I contact you for help please?
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
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
In case anyone else is wondering: Our target is Pyramid Lake, CA
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
You are amazing
Hi can I use the same concept for aircraft error dynamics simulation? In cruise flight
yes, just modify equations accordingly
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
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
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
Do you have any books you recommend for GN&C?
the python5 missile does crazy things we cannot simulate by matlab , but how?
Wow. Nice
how to do that using model predicative control?
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
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
Can you share file Simulink connect to Flight gear and file .bat for this project please? Thank you so much
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
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 !
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
How about another one where you use pronav. That will be fun.
Awesome
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
Vinayak sir can you tell which book is best for MATLAB for Aerospace
None. Matlab website
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 ?
How you define the blast zone?
Could you make a video serie about 6 degree of UAVs simulation step by step?
In the future yes
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
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 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.
thanks for this
Can u send model.m file like u have sent for steering control..
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
Good w.
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
Perfect ...
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.
Sir I am getting error at matrix multiply X_hat *K
Please please help
Tomorrow I will upload this file to GitHub
@@VDEngineering ok sir just please add the link of uploaded code here. please........
I did something like this in a game called stormworks search and rescuse, its just that the airdynamics are not that accurate
Good
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
Can this be applied in real life
Yea
@@VDEngineering I mean which language do you use to code this
I need some flight simulation for rocket or missile launching
I have a rocket one on my channel (STS)
the model is not on github
github.com/Vinayak-D/GNCAirstrike
anyway i redid everything in simulink and it works.
great content
@@dutuzeremy5544 Got Discord?
Thanks
Sir what type of guidance are you implementing in this? Thank you for the response :)
Pure pursuit