Jump to content

Sign in to follow this  
n4gix

Smoother HDG-NAV Intercept

Recommended Posts

I'm wanting to smooth out the autopilot when in a HDG-NAV intercept mode.The scenerio is that when within 5nm of the desired GPS Track (DTK), the ap will command an aileron roll towards the DTK, and when within 2.5 nm control will be handed over to NAV/GPSS (GPS Steering mode).Using the algorithim below, up to 90

Share this post


Link to post
Share on other sites

Thanks for playing anyway. I found help elsewhere and managed to developed a function that works a treat...

Share this post


Link to post
Share on other sites

>Sorry, was over my head.No problem. All I wound up doing was adapting a function to calculate the "entry point" for a turn to GPSS based on ground speed and angle of intercept.Once at the calculated DistanceToTurn, the ap will command a shallow aileron roll left or right based on the sign of the entry angle: negative angle means turn left, positive angle means turn right.What happens is the a/c will track a parabolic turn rather than a constant rate turn, sort of like an easement on railroad tracks before a curve... ;)A picture is worth a thousand words. The red track represents what the default NAV+GPS does. The green line represents what my PID Nav+GPSS controller code will do:http://img513.imageshack.us/img513/1181/in...ptanglesby0.jpg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...