◀ Back to Note

Tony's Intertwingled Memex • Reference Manual

Robotics and Telemetry Tracking Actuator (Computer & Robotics Engineering) Solution

Formulas & Definitions

Problem Overview

We calculate the angular tracking velocity dθdt\frac{d\theta}{dt}dtdθ​ required of a ground-based robotic servo-camera tracking an autonomous drone flying at a fixed altitude of h=300.0 mh = 300.0\text{ m}h=300.0 m with a constant approach speed of dxdt=−60.0 m/s\frac{dx}{dt} = -60.0\text{ m/s}dtdx​=−60.0 m/s. The tracking elevation angle θ(t)\theta(t)θ(t) is governed by:

tan⁡θ=hx\tan\theta = \frac{h}{x}tanθ=xh​


Step-by-Step Mathematical Solution

Step 1: Formulate the Trigonometric Time Derivative

The governing formula is the Trigonometric Tangent Ratio:

tan⁡θ=hx\tan\theta = \frac{h}{x}tanθ=xh​
(This formula and its time derivative principles are defined in Related Rates.)

The altitude h=300.0 mh = 300.0\text{ m}h=300.0 m is a static constant (dhdt=0\frac{dh}{dt} = 0dtdh​=0). Rewriting the equation:

tan⁡θ=300.0x−1\tan\theta = 300.0 x^{-1}tanθ=300.0x−1

Differentiating both sides implicitly with respect to time ttt using the Chain Rule:

sec⁡2θdθdt=−300.0x−2dxdt=−300.0x2dxdt\sec^2\theta \frac{d\theta}{dt} = -300.0 x^{-2} \frac{dx}{dt} = -\frac{300.0}{x^2}\frac{dx}{dt}sec2θdtdθ​=−300.0x−2dtdx​=−x2300.0​dtdx​

Isolating the angular slew velocity dθdt\frac{d\theta}{dt}dtdθ​:

dθdt=−300.0x2sec⁡2θdxdt=−300.0cos⁡2θx2dxdt\frac{d\theta}{dt} = -\frac{300.0}{x^2 \sec^2\theta} \frac{dx}{dt} = -\frac{300.0 \cos^2\theta}{x^2} \frac{dx}{dt}dtdθ​=−x2sec2θ300.0​dtdx​=−x2300.0cos2θ​dtdx​

Step 2: Snapshot Calculation at x=400.0 mx = 400.0\text{ m}x=400.0 m

  1. Determine the right triangle geometry at x=400.0 mx = 400.0\text{ m}x=400.0 m:
    • Altitude (opposite): h=300.0 mh = 300.0\text{ m}h=300.0 m
    • Horizontal base (adjacent): x=400.0 mx = 400.0\text{ m}x=400.0 m
    • Line-of-sight range (hypotenuse):
      z=x2+h2=400.02+300.02=160000+90000=250000=500.0 mz = \sqrt{x^2 + h^2} = \sqrt{400.0^2 + 300.0^2} = \sqrt{160000 + 90000} = \sqrt{250000} = 500.0\text{ m}z=x2+h2​=400.02+300.02​=160000+90000​=250000​=500.0 m
  2. Evaluate cos⁡θ\cos\thetacosθ and sec⁡2θ\sec^2\thetasec2θ directly from the side lengths:
    cos⁡θ=adjacenthypotenuse=xz=400.0500.0=45=0.80\cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}} = \frac{x}{z} = \frac{400.0}{500.0} = \frac{4}{5} = 0.80cosθ=hypotenuseadjacent​=zx​=500.0400.0​=54​=0.80
    sec⁡2θ=1cos⁡2θ=1(4/5)2=2516=1.5625\sec^2\theta = \frac{1}{\cos^2\theta} = \frac{1}{(4/5)^2} = \frac{25}{16} = 1.5625sec2θ=cos2θ1​=(4/5)21​=1625​=1.5625
  3. Compute the angular velocity dθdt\frac{d\theta}{dt}dtdθ​: The drone is approaching the station, so horizontal distance is decreasing: dxdt=−60.0 m/s\frac{dx}{dt} = -60.0\text{ m/s}dtdx​=−60.0 m/s.
    dθdt=−300.0(400.0)2(25/16)(−60.0)=18000160000⋅(25/16)=18000250000=18250=0.072 rad/s\frac{d\theta}{dt} = -\frac{300.0}{(400.0)^2 (25/16)} (-60.0) = \frac{18000}{160000 \cdot (25/16)} = \frac{18000}{250000} = \frac{18}{250} = 0.072\text{ rad/s}dtdθ​=−(400.0)2(25/16)300.0​(−60.0)=160000⋅(25/16)18000​=25000018000​=25018​=0.072 rad/s
  4. Convert to degrees per second:
    dθdt=0.072 rad/s×(180∘π rad)=12.96∘π≈4.125∘/s\frac{d\theta}{dt} = 0.072\text{ rad/s} \times \left(\frac{180^\circ}{\pi\text{ rad}}\right) = \frac{12.96^\circ}{\pi} \approx 4.125^\circ/\text{s}dtdθ​=0.072 rad/s×(π rad180∘​)=π12.96∘​≈4.125∘/s

Step 3: Limiting Velocity when Directly Overhead (x→0x \to 0x→0)

As the drone passes directly overhead (x→0x \to 0x→0), the line-of-sight hypotenuse approaches altitude z→h=300.0 mz \to h = 300.0\text{ m}z→h=300.0 m, and θ→π2\theta \to \frac{\pi}{2}θ→2π​ (90∘90^\circ90∘). Expressing dθdt\frac{d\theta}{dt}dtdθ​ in terms of zzz:

dθdt=−hz2dxdt\frac{d\theta}{dt} = -\frac{h}{z^2} \frac{dx}{dt}dtdθ​=−z2h​dtdx​
Directly overhead (z=300.0 mz = 300.0\text{ m}z=300.0 m):
dθdt∣overhead=−300.0(300.0)2(−60.0)=60.0300.0=0.20 rad/s≈11.46∘/s\left.\frac{d\theta}{dt}\right|_{\text{overhead}} = -\frac{300.0}{(300.0)^2}(-60.0) = \frac{60.0}{300.0} = 0.20\text{ rad/s} \approx 11.46^\circ/\text{s}dtdθ​​overhead​=−(300.0)2300.0​(−60.0)=300.060.0​=0.20 rad/s≈11.46∘/s


Engineering Conclusion

In autonomous robotics and computer vision telemetry, pan-tilt servo tracking gimbals must rotate smoothly to keep dynamic targets centered inside the high-resolution optical sensor's field of view.

Notice that dθdt=hvx2+h2=hvz2\frac{d\theta}{dt} = \frac{h v}{x^2 + h^2} = \frac{h v}{z^2}dtdθ​=x2+h2hv​=z2hv​. When the drone is far away (x=2000 m,z≈2022 mx = 2000\text{ m}, z \approx 2022\text{ m}x=2000 m,z≈2022 m), the required angular rate is minimal (≈0.0044 rad/s=0.25∘/s\approx 0.0044\text{ rad/s} = 0.25^\circ/\text{s}≈0.0044 rad/s=0.25∘/s). As the target closes in, the required angular rate steadily climbs, reaching its absolute maximum directly overhead (0.20 rad/s=11.46∘/s0.20\text{ rad/s} = 11.46^\circ/\text{s}0.20 rad/s=11.46∘/s).

If the robotics engineer specifies a servo motor based only on the far-field tracking requirement, the motor will stall or lag behind the target as it passes overhead, losing lock. Control engineers use this related rates velocity profile to size servo-motor torque ratings and tune feedforward PID control loops to guarantee continuous lock throughout the flyby corridor.