Skip to main content

Practical assignment #2 (Geospatial navigation)



Gate
The gate for practical assignment is OPEN.
Gate name: ntuu.kpi@ukr.net

Requirements
Implement the algorithm identifying Receiver's location (latitude, longitude) out of the position of four GPS satellites given per variant. Identify the name of a city from its coordinates using the table of world capitals (List of capitals)

Considerations
Receiver's location is approximated by solving a system of equations for specific satellite coordinates:
(xA1)2+(yB1)2+(zC1)2(c(t1))2(xA2)2+(yB2)2+(zC2)2(c(t2))2(xA3)2+(yB3)2+(zC3)2(c(t3))2(xA4)2+(yB4)2+(zC4)2(c(t4))2=0=0=0=0
where x, y, and z are the rectangular coordinates of the receiver, A, B, and C are the coordinates of the satellites and t is the travel time for the signal from the satellite to the receiver, c is speed of light (299792 km/s).
Satellite equations can be solved e.g. by Cauchy minimization:
f(x,y,z) -> min
vk+1= vk - grad(f(vk))*alphak,
where alphak is the step length unique for every iteration k
  • Prepare minimization function by taking absolute values of each equation and adding four equations together;
  • Start the search from equating initial guess vector v0 to (0,0,0);
  • To find alphak substitute vk+1 value into function f(v) and do linear search incrementing alpha until minimal value of function f(vk+1) is found: start with alphak equal to 0 and increment on a some small step (e.g. 0.0001);
  • When optimal alphak is found (usually in 100 iterations) proceed to a new iteration equating vvk+1
Note 1:
Satellite positions (Ai, Bi, Ci) can be found from spherical coordinates (ρi, φi, θi) as:
          Ai = ρcos(φi)cos(θi)
          Bi = ρcos(φi)sin(θi)
          Ci = ρsin(φi)
where ρ is the radius 26'551km made by the GPS orbit height 20'180km + the Radius of the planet Earth that equals 6'371km. Define radius in thousands of kilometers, otherwise target function may overflow.
During conversion take the Northern hemisphere with plus sign of latitude angle and Southern hemisphere with negative sign. Treat East longitude with plus sign and West longitude with negative sign.

Note 2:
Conversion from Cartesian system back to spherical system can be made as follows:

22
Variants

block 1

block 2

block 3


Comments

Popular posts from this blog

Practical assignment #1 (Cartographic projections)

Gate The gate for practical assignment is  OPEN : Gate name: ntuu.kpi@ukr.net Prerequisites The credit module is based on 3djs library implemented in JavaScript programming language. Suggested IDE for JavaScript is VisualStudio Code. How to start Use example  Equirectangular projection   as the skeleton of your practical assignment. Utilize World Tour example   as an inspiration for rendering route animation. Link to handbook The book of map projections I The book of map projections II *the password equals to the login of e-mail address you send assignments to Requirements Visualize a map of the Earth as per individual variant. Visualize two animated routes between source and destination cities. The first route has to follow shortest path route (Great circle route), the second has to be a rhumb line (the line in Mercator projection). Variants block 1 Mercator projection Transverse Mercator projection Oblique Merca...

Format of the letter with practical assignment presentation

The gate to present practical assignments: ntuu.kpi@ukr.net Example Subject: Marko Gnat, Group #TB-61, Variant #1, PA #2 Message ________________________________________________ Attachments:   Assignment1.js, Screenshot1.png, Screenshot2.png Important details 1. English language  is the official language of communication. 2. Deadline  for presenting results comes in  two weeks  starting from the date when the assignment was claimed. The assignment having results sent  after the deadline  is automatically treated as  Failed . 3. E-mail channel is the way of presenting results. Use auditorium classes to clarify questions. 4. Plagiarism Plagiarism includes collaboration between students as evidenced by structure, sources or short blocks of copied text (including copied text subjected to minor linguistic changes) or similar bibliographies. Plagiarism goes across the values of NTUU KPI student scientific society. The assign...