Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding coordinates of a point using two theodolites 1

Status
Not open for further replies.

fredlmc

Mechanical
Dec 18, 2003
5
Here is a topography problem that is currently stumping me.

Theo2D_mqfwqb.jpg


The problem statement simple:

Given:
Angles a[sub]1[/sub] to a[sub]4[/sub] (or slopes m[sub]1[/sub] to m[sub]4[/sub], same thing)​
Distance L​

Find:
Distance l​

The real life situation is that I have two theodolites at points P[sub]0[/sub] and P[sub]3[/sub].
I also have a length of steel bar with two points (P[sub]1[/sub] and P[sub]2[/sub]) marked on it for which I know the precise spacing (L). I place this bar on the ground at a suitable but unknown distance from my two theodolites.
I colimate both theodolites to establish base angle 0 deg and proceed to measure all 4 horizontal angles a[sub]1[/sub] to a[sub]4[/sub] as measured from that baseline.
Precise colimation is important here to maintain accuracy.
By calculation, I then find l.

Once I found l, I'll be able to point both theodolites on any other point Px, read the two horizontal angles and figure 2D coordinates of Px by simple triangulation.
Some of you may suggest to simply measure the distance between my theos, but I dont want to do this. Lose to much accuracy.

The next step will be to figure out the 3D solution for this problem by adding in the vertical angle readings.
Ultimate goal is to figure out 3D coords of Px.

I am sure this is a problem that has been solved many times.

So this is what ive done so far:

Write the equations of all 4 lines in the usual form y=mx+b:

Y[sub]1[/sub]=m[sub]1[/sub]X[sub]1[/sub]+0 (1)
Y[sub]1[/sub]=m[sub]3[/sub]X[sub]1[/sub]+b[sub]3[/sub] (2)
Y[sub]2[/sub]=m[sub]2[/sub]X[sub]2[/sub]+0 (3)
Y[sub]2[/sub]=m[sub]4[/sub]X[sub]4[/sub]+b[sub]4[/sub] (4)

From (2) at X=0:
l= -b[sub]3[/sub]/m[sub]3[/sub] (5)

From (4) at x=0:
l= -b[sub]4[/sub]/m[sub]4[/sub] (6)

From (5) = (6):
b[sub]3[/sub]/b[sub]4[/sub] = m[sub]3[/sub]/m[sub]4[/sub] (7)

From (1) = (2):
(m[sub]1[/sub]-m[sub]3[/sub])X[sub]1[/sub] = b[sub]3[/sub] (8)

From (3) = (4):
(m[sub]2[/sub]-m[sub]4[/sub])X[sub]2[/sub] = b[sub]4[/sub] (9)

Plug (8) and (9) in (7):
X[sub]1[/sub]/X[sub]2[/sub] = [m[sub]3[/sub](m[sub]2[/sub]-m[sub]1[/sub])] / [m[sub]4[/sub](m[sub]1[/sub]-m[sub]3[/sub])] (10)

So now down to 1 equation (10) and 2 unknowns (X[sub]1[/sub], X[sub]2[/sub]).

Try introducing L:

L[sup]2[/sup] = (X[sub]2[/sub]-X[sub]1[/sub])[sup]2[/sup] + (Y[sub]2[/sub]-Y[sub]1[/sub])[sup]2[/sup] (11)

Now have 2 equations: (10) and (11), 4 unknowns: X[sub]1[/sub], Y[sub]1[/sub], X[sub]2[/sub], Y[sub]2[/sub].

So adding in a bit of trig:

X[sub]1[/sub] = l[sub]1[/sub] Cos(a[sub]1[/sub]) (12)
Y[sub]1[/sub] = l[sub]1[/sub] Sin(a[sub]1[/sub]) (13)

l-X[sub]2[/sub] = l[sub]4[/sub] Cos(a[sub]3[/sub]) (14)
Y[sub]2[/sub] = l[sub]4[/sub] Sin (a[sub]3[/sub]) (15)

Now have 6 equations: (10) to (15), 7 unknowns: X[sub]1[/sub], Y[sub]1[/sub], X[sub]2[/sub], Y[sub]2[/sub], l[sub]1[/sub], l[sub]4[/sub] and l.

Still short 1 equation to be able to solve...
I've looked at introducing scalene triangle rules (Law of cosines, Law of sines) but that just seems to add more and more unknowns (lengths).

I believe I am missing an obvious equation to tie everything together.

Any suggestions anyone?

Thanks and Happy Holidays!
 
Replies continue below

Recommended for you

With the good help of people at Math Forums I found the solution:

For everyone's benefit, here it the complete solution:

A bit of trig:
(Note: Angles a[sub]3[/sub] and a[sub]4[/sub] below are the complementary angles to those shown on the sketch above)

X[sub]1[/sub] = l[sub]1[/sub] cos (a[sub]1[/sub])
Y[sub]1[/sub] = l[sub]1[/sub] sin (a[sub]1[/sub])
X[sub]2[/sub] = l[sub]2[/sub] cos (a[sub]2[/sub])
Y[sub]2[/sub] = l[sub]2[/sub] sin (a[sub]2[/sub])

Find angles:
Angle P0P1P3 : Call it b[sub]1[/sub] = 180 - a[sub]1[/sub] - a[sub]4[/sub]
Angle P0P2P3 : Call it b[sub]2[/sub] = 180 - a[sub]2[/sub] - a[sub]3[/sub]

From Law of Sines:
l / sin (b[sub]1[/sub]) = l[sub]1[/sub] / sin (a[sub]4[/sub]) ==> l / l[sub]1[/sub] = sin (b[sub]1[/sub]) / sin (a[sub]4[/sub]) = K[sub]1[/sub] ==> l[sub]1[/sub] = l / K[sub]1[/sub]
l / sin (b[sub]2[/sub]) = l[sub]2[/sub] / sin (a[sub]3[/sub]) ==> l / l[sub]2[/sub] = sin (b[sub]2[/sub]) / sin (a[sub]3[/sub]) = K[sub]2[/sub] ==> l[sub]2[/sub] = l / K[sub]2[/sub]

Combine Law of Sines and trig:
X[sub]1[/sub] = l/K[sub]1[/sub] * cos(a[sub]1[/sub]) ==> Say F[sub]1[/sub] = cos(a[sub]1[/sub])/K[sub]1[/sub] ==> X[sub]1[/sub]= l * F[sub]1[/sub]
Y[sub]1[/sub] = l/K[sub]1[/sub] * sin(a[sub]1[/sub]) ==> similarly Y[sub]1[/sub] = l * F[sub]2[/sub]
X[sub]2[/sub] = l/K[sub]2[/sub] * cos(a[sub]2[/sub]) ==> similarly X[sub]2[/sub] = l * F[sub]3[/sub]
Y[sub]2[/sub] = l/K[sub]2[/sub] * sin(a[sub]2[/sub]) ==> similarly Y[sub]2[/sub] = l * F[sub]4[/sub]

A bit of Pythagora's Theorem with X[sub]1[/sub], X[sub]2[/sub], Y[sub]1[/sub] and Y[sub]2[/sub]:
L[sup]2[/sup] = (X[sub]2[/sub] - X[sub]1[/sub])[sup]2[/sup] + (Y[sub]2[/sub]-Y[sub]1[/sub])[sup]2[/sup]

Substitute and rearrange:
L[sup]2[/sup] = l[sup]2[/sup] (F1[sup]2[/sup] + F2[sup]2[/sup] + F3[sup]2[/sup] + F[sub]4[/sub][sup]2[/sup]) - l (F[sub]1[/sub]F[sub]2[/sub]+F[sub]3[/sub]F[sub]4[/sub])

Say:
C[sub]1[/sub] = (F[sub]1[/sub][sup]2[/sup] + F[sub]2[/sub][sup]2[/sup] + F[sub]3[/sub][sup]2[/sup] + F[sub]4[/sub][sup]2[/sup])
C[sub]2[/sub] = (F[sub]1[/sub]F[sub]2[/sub]+F[sub]3[/sub]F[sub]4[/sub])

Then solution for l is this quadratic equation:
C[sub]1[/sub] l[sup]2[/sup] - C[sub]2[/sub] l - L[sup]2[/sup] = 0

Now I need to step this up a notch by adding a Z dimension to the problem.

Given:
Horizontal angles a1 to a4
Vertical Angles b1 to b4
Vertical angle between P0P3 and X axis
And distance L (length of P1P2)

Find:
Distance l (length P0P3)

I'll get cracking on that.
Will likely follow same logic as for 2D solution.
Will welcome anybody who wants to pitch in any additional suggestions.

Solution to that will allow me to establish 3D coordinates of any point is space using two theodolites.
 
I was going to suggest, for your original approach, 1 additional equation:
I=I1 + I4 +x2 - x1
Not sure if it’s an independent equation.
L is given, but are you certain it’s a 2d distance, that bar is level?
 
Good catch regarding the bar comment.
Yes, I have put some thoughts about the levelness of the bar.
Being that this is being done indoors and that the bar is set on the floor I consider it to be level enough.

Thanks,
 
It seems to me that using two theodolites is a bit of an overkill; with sufficient control points, a single theodolite is sufficient, particularly if it's equipped with a laser distance meter.

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! faq731-376 forum1529 Entire Forum list
 
It absolutely is overkill.
Especially with today's laser scanning equipment, range finders and all other equipment.

However, if you want to scan a relatively complexe geometry, dont need too dense a point cloud and all you have is a pair of vintage T2s and time on your hands, that's the way to go!

The solution to the 2D calculation above was just a stepping stone to what I really need which is a solution to the 3D equivalent of the above problem.
 
Leveling of the theodilites is always important and a standard step when using a theodolite. This will affect precision of the results in this case.

However, being at equal heights, I firmly believe, is of no importance at all in both the 2D and 3D scenarios.

In 2D, you would be shooting the points and considering only the horizontal angle readings from the theodilites and all resulting distances would be in the horizontal plane only. Picture observing the scene from above. Height and vertical angles would be invisible to you. This also highlights the importance of having that bar flat when establishing the coord system since you are using the actual distance between the points on that bar. If its not flat, there would be no way of easily knowing g the horizontal distance between them.

In 3D, (once i figure out the equations to establish the coor system), you'll be considering the vertical angles from each theo and you will also consider the vertical angle between the two theodolites when doing the math to establish the coord system.

The one important step in both scenarios will be the proper collimation of the theodolites. This has to be correctly done in order to precisely establish the base 0-deg horizontal angle from which all other horizontal angles are measured.

Pretty certain my logic is right here. Let me know if you think im wrong.
 
You can solve the problem in CAD, too...

Rather than think climate change and the corona virus as science, think of it as the wrath of God. Feel any better?

-Dik
 
I have twice tried in the field to resolve a total station setup on an unknown point, back sighting two previously known / set points. Neither time was I successful. For myself, it was faster to just do another setup on a known and set out the new control.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor