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


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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...


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites
Guest Patrick_Waugh

Sorry, was over my head.Patrick

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


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...