This craft is meant to be a demonstrator of fundamental missile guidance and control techniques for others to learn from and improve.Guidance and control system developed by myself, but the missile body was entirely Frolonov's design (https://www.simplerockets.com/c/IdzsbS/Missile-Basic).Uses Zero-effort-miss true proportional navigation (ZEMtpn) as it's guidance law, with a three loop acceleration autopilot. The guidance law calculates the acceleration command required to hit the target, while the autopilot makes the missile meet this command.To use select a target in the map and then activate AG 1 to launch.Note: missile may appear to miss a target, but only because of issues with hit detection at high speed.Also, if the missile glitches through, it will not be able to reacquire, since the code is as basic as possible.
3 Comments
- Log in to leave a comment
-
450 SMITHY
@SDNS Hi man, there's 4 gains you need to change to fit whatever missile you're using. Also I'd use the script in my most recent missile, as it can turn around and try to re-engage the target if it misses.
The first gain is the "-4.4" one, this will change the magnitude of the guidance command (so a higher value will lead the target more, also it should be >3 to work correctly).
The other gains affect the acceleration autopilot, this is pretty much the same as a PID controller you've seen before. By changing the "0.003" gain you're pretty much changing the D value (a lower gain here will increase the weight of the derivative term relative to the error). The rest are just the PI part of the controller. I'd increase the proportional "0.04" gain as high as I can until the missile starts to jitter, and I'd then do the same to the integral "0.4" gain.
-
Aside from changing the gains, you could also try and improve either the acceleration autopilot or guidance law as well. You could add a target acceleration term for the guidance law (ZEMtpn -> ZEMapn), or you could implement a raytheon autopilot loop (I've never been able to get this to work at both high and low acceleration commands though, maybe it could work better if you had a look-up table of different gains based on your AOA and velocity).