Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Comparison between manual calculation methods and the use of calculators  





2 Types of algorithms  





3 Programs for general navigation  



3.1  Coordinate conversion subroutine  







4 Programs for astronomical navigation  



4.1  Programs for the "Nautical Almanac"  





4.2  CelestialFix  





4.3  Magnetic declination  







5 See also  





6 References  





7 External links  














Navigational algorithms






Català
Español
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Obtaining the height line Marcq St. Hilaire

The navigational algorithms are the quintessence of the executable software on portable calculators or Smartphone as an aid to the art of navigation, this attempt article describe both algorithms and software for "PC-Smartphone" implementing different calculation procedures for navigation . The calculation power obtained by the languages: Basic, "C", Java, etc. .., from portable calculators or Smartphones, has made it possible to develop programs that allow calculating the position without the need for tables, in fact they have some basic tables with the correction factors for each year and calculate the values "on the fly" at runtime .

Comparison between manual calculation methods and the use of calculators[edit]

Hs..Corrections ..

Types of algorithms[edit]

Programs for general navigation[edit]

Programs on the nautical chart, directions, coastal navigation and beacons, nautical publications. The astronomical navigation section includes the resolution of the position triangle, the usefulness of a height line, the recognition of stars and the determinant of the height line, in addition to other topics of interest in nautical: tides, naval kinematics, meteorology and hurricanes, and oceanography. All heading measurements made with a magnetic compass or compass must be corrected for magnetic declination or local variation.

Coordinate conversion subroutine[edit]

sub Rectang2Polar (a () as double, b () as double) static
 '----- Subprograma para convertir un vector de estado coord.cartesianas
 '----- En vector de estado en coord.polars.
 '----- De entrada: vector de estado en coord.cartesianes
 '----- De salida: vector de estado en coord.polars.
 '----- NOTA: El vector de velocidad polar es el de la velocidad total,
 '----- Corregido por el efecto de la latitud.
 '------------------------------------------------- ------------------------
 mar x as double
 mar y as double
 mar z as double
 mar x_dot as double
 mar y_dot as double
 mar z_dot as double
 mar rho as double
 mar r as double
 mar lambda as double
 mar beta as double
 mar lambda_dot as double
 mar beta_dot as double
 mar r_dot as double
 x = a (1)
 y = a (2)
 z = a (3)
 x_dot = a (4)
 y_dot = a (5)
 z_dot = a (6)
 rho = sqr (x * x+y * y)
 r = sqr (rho * rho+z * z)
 lambda = atan2 (y, x)
 beta = atan2 (z, rho)
 if (z <0 #) then beta = beta - TWOPI
 yf rho = 0 # then
   lambda_dot = 0 #
     beta_dot = 0 #
 else
   lambda_dot = (x * y_dot - y * x_dot)/(rho * rho)
     beta_dot = (z_dot * rho * rho - z * (x * x_dot+_
                  y * y_dot))/(r * r * rho)
 end if
 r_dot = (x * x_dot+y * y_dot+z * z_dot)/r
 '----- Componentes del vector de posición
 b (1) = lambda
 if b (1)> = TWOPI then b (1) = b (1) - TWOPI
 b (2) = beta
 b (3) = r
 '----- Componentes del vector velocidad total
 b (4) = r * lambda_dot * cuerpo (beta)
 b (5) = r * beta_dot
 b (6) = r_dot
end sub

Programs for astronomical navigation[edit]

Advanced navigation algorithms include piloting and astronomical navigation: loxodromia and orthodromia. Height correction of the sextant . Astronomical position with calculator, template and blank mercantile chart. Position by 2 Lines of Height. Position from n Height Lines. Vector equation of the Height Circle. Position for vector solution from two observations. Position by Height Circles: matrix solution. And articles related to ancient procedures such as obtaining latitude by the pole star, the meridian, the method of lunar distances , etc.

Programs for the "Nautical Almanac"[edit]

Example Nautical Almanac Program

Ephemerides of the celestial bodies used in navigation.

CelestialFix[edit]

They solve the problem of calculating the position from observations of the stars made with the sextant in Astronomical Navigation.

Algorithm implementation:

For n = 2 observations

For n ≥ 2 observations

Magnetic declination[edit]

Any measure of course made with a magnetic compass must be corrected because of the magnetic declination or local variation.

See also[edit]

References[edit]

  1. ^ An analytical solution of the two star sight problem of celestial navigation. James A. Van Allen. NAVIGATION Vol. 28, No. 1, 1981
  • ^ Vector Solution for the Intersection of Two Circles of Equal Altitude. Andrés Ruiz González. Journal of Navigation, Volume 61, Issue 02, April 2008, p. 355-365.The Royal Institute of Navigation
  • ^ Determining the Position and Motion of a Vessel from Celestial Observations, Kaplan, G. H. Navigation, Vol. 42, No. 4, 1995, pp. 631–648
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Navigational_algorithms&oldid=1189953598"

    Categories: 
    Navigation
    Celestial navigation
     



    This page was last edited on 15 December 2023, at 01:22 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki