10-27-2010 01:50 AM
good day every one.. i am trying to simulate a rocket/ missile flight. the rocket will be set to hit a target in the simulation. it is about the same as the car backward parking example in labview 2009. can anyone tell me where and how to get started??
tq
10-27-2010 09:16 AM
Hello,
First of all, if you are interested in creating a simulation of rocket, you probably will need to have the LabVIEW Control Design and Simulation Module installed on your machine. This package will help you define the equations that describe the motion easier than try to use only the LabVIEW PID and Fuzzy Logic Toolkit.
If you have this software already installed, then launch the example finder "Help >> Find Examples..." and navigate to "Toolkits and Modules >> Control and Simulation >> Case Studies >> Aerospace", In this folder we have several examples that would apply to rocket simulation. In special I would point to
- "Rocket Simulation (1D).vi" where it simulates the vertical motion of the rocket and how this behaves as you "burn" fuel
- "F15 Six DoF Simulation.vi" where we present a 6 degree of freedom model that describe the motion of a airplane as we have torque and forces applied to the center of mass
Hope this helps
10-31-2010 07:17 AM
03-09-2011 04:54 AM
I had manage to create a vi, simulating the rocket movement. If I am to insert wind parameters ( wind speed and wind direction) into the vi, would it be a big changes to the vi I had created? And how is it possible to insert these parameters? thank you
03-09-2011 11:54 AM
Take a look at the F14 example (also in the aerospace examples). This model also includes a Dryden wind gust driven by Gaussian noise.
03-10-2011 06:35 AM
These are the image file for the rocket and the target
03-10-2011 06:50 AM
thanks dbhol, but i think that is to complex for me as i only have 2 weeks to finish this project. is there any way for me to insert vertical pointer as the input to wind speed, and link it to the angle calculated by the vi? and how is the simplest way to bring the wind parameter into the simulation??
03-10-2011 10:41 AM
If you open the example:
C:\Users\abarp\Documents\Development\cdsim2011_G_2010\dist\examples\Control and Simulation\Case Studies\Aerospace\Rocket Simulation\Rocket Simulation (1D).vi
I actually modelled the air friction that resists the moviment on the rocket. I call it "Aerodynamic Force" and this is a subVI that relates the Velocify, altitude, density of air, diameter of the rocket and coefficient of drag into it. However, this equation is only good for vertical motion with no lateral wind and drag and you probably will want to use drag related to the angle of attack of the rocket. But that can give you an idea on how to implement it.
Notice that dbhols pointed out the wind gust model is pretty good for you to study and find out how to this into your model directly when you are dealing with dynamic systems. The Rocket Simulation 1D also shows you that.
Now, on the animation, the arrow can be done by using the "Draw Line.vi" on the picture control to define the speed.
03-12-2011 07:37 AM
If I am about to use the subVI in my VI, what changes should be made? Can you help me as I am not really that good in using LabVIEW. Thank you
03-13-2011 05:02 PM
Hello,
That equation is valid for the vertical moviment. For horizontal, you need to have a similar equation, but with the decomposed forces related to that. I found this link on the web:
http://stackoverflow.com/questions/3231541/simple-2d-rocket-dynamics
I also find those other links that are very good:
http://my.execpc.com/~culp/rockets/rckt_sim.html
http://www.rocketmime.com/rockets/rckt_eqn.html
Hope this helps