# Mathematical discussion of rangekeeping

In naval gunnery, when long-range guns became available, an enemy ship would move some distance after the shells were fired. It became necessary to figure out where the enemy ship, the target, was going to be when the shells arrived. The process of keeping track of where the ship was likely to be was called rangekeeping, because the distance to the target—the range—was a very important factor in aiming the guns accurately. As time passed, train (also called bearing), the direction to the target, also became part of rangekeeping, but tradition kept the term alive.

Rangekeeping is an excellent example of the application of analog computing to a real-world mathematical modeling problem. Because nations had so much money invested in their capital ships, they were willing to invest enormous amounts of money in the development of rangekeeping hardware to ensure that the guns of these ships could put their projectiles on target. This article presents an overview of the rangekeeping as a mathematical modeling problem. To make this discussion more concrete, the Ford Mk 1 Rangekeeper is used as the focus of this discussion. The Ford Mk 1 Rangekeeper was first deployed on the USS Texas in 1916 during World War I. This is a relatively well documented rangekeeper that had a long service life.[1] While an early form of mechanical rangekeeper, it does illustrate all the basic principles.[2] The rangekeepers of other nations used similar algorithms for computing gun angles, but often differed dramatically in their operational use.[3]

In addition to long range gunnery, the launching of torpedoes also requires a rangekeeping-like function.[4] The US Navy during World War II had the TDC, which was the only World War II-era submarine torpedo fire control system to incorporate a mechanical rangekeeper (other navies depended on manual methods). There were also rangekeeping devices for use with surface ship-launched torpedoes. For a view of rangekeeping outside that of the US Navy, there is a detailed reference that discusses the rangekeeping mathematics associated with torpedo fire control in the Imperial Japanese Navy. [5]

The following discussion is patterned after the presentations in World War II US Navy gunnery manuals.[6]

## Analysis

### Coordinate System

Figure 1: Rangekeeper Coordinate System. The coordinate system has the target as its origin. The y axis value range to the target.

US Navy rangekeepers during World War II used a moving coordinate system based on the line of sight (LOS) between the ship firing its gun (known as the "own ship") and the target (known as the "target"). As is shown in Figure 1, the rangekeeper defines the "y axis" as the LOS and the "x axis" as a perpendicular to the LOS with the origin of the two axes centered on the target.

An important aspect of the choice of coordinate system is understanding the signs of the various rates. The rate of bearing change is positive in the clockwise direction. The rate of range is positive for increasing target range.

### General Approach

During World War II, tracking a target meant knowing continuously the target's range and bearing. These target parameters were sampled periodically by sailors manning gun directors[7] and radar systems, who then fed the data into a rangekeeper. The rangekeeper performed an linear extrapolation of the target range and bearing as a function of time based on the target information samples.

In addition to ship-board target observations, rangekeepers could also take input from spotting aircraft or even manned balloons tethered to the own ship. These spotting platforms could be launched and recovered from large warships, like battleships. In general, target observations made by shipboard instruments were preferred for targets at ranges of less than 20,000 yards and aircraft observations were preferred for longer range targets.[8] After World War II, helicopters became available and the need to conduct the dangerous operations of launching and recovering spotting aircraft or balloons was eliminated (see Iowa-class battleship for a brief discussion).

During World War I, target tracking information was often presented on a sheet of paper.[9] During World War II, the tracking information could be displayed on electronic displays (see Essex-class aircraft carrier for a discussion of the common displays).

### Range to Target

Early in World War II, the range to the target was measured by optical rangefinders. Though some night operations were conducted using searchlights and star shells, in general optical rangefinders were limited to daytime operation.[10] During the latter part of World War II, radar was used to determine the range to the target. Radar proved to be more accurate [11] than the optical rangefinders (at least under operational conditions)[12] and was the preferred way to determine target range during both night and day.[13]

### Speed of the Target

Early in World War II, target range and bearing measurements were taken over a period of time and plotted manually on a chart. [14] The speed and course of the target could be computed using the distance the target traveled over an interval of time. During the latter part of World War II, the speed of the target could be measured using radar data. Radar provided accurate bearing rate, range, and radial speed, which was converted to target course and speed.

In some cases, such as with submarines, the target speed could be estimated using sonar data. For example, the sonar operator could measure the propeller turn rate acoustically and, knowing the ship's class, compute the ship's speed (see TDC for more information).

### Course of the Target

Figure 2: Determining the Angle on the Bow. This illustration shows how the Imperial Japanese Navy used the measurement of the angle subtended by a ship to estimate the ship's angle on the bow.

The target course was the most difficult piece of target data to obtain. In many cases, instead of measuring target course many systems measured a related quantity called angle on the bow. Angle on the bow is the angle made by the ship's course and the line of sight (see Figure 1).

The angle on the bow was usually estimated based on the observational experience of the observer. In some cases, the observers improved their estimation abilities by practicing against ship models mounted on a "lazy Susan".[15] The Imperial Japanese Navy had a unique tool, called Sokutekiban (測的盤),[16] that was used to assist observers with measuring angle on the bow. The observer would first use this device to measure the angular width of the target. Knowing the angular width of the target, the range to the target, and the known length of that ship class, the angle on the bow of the target can be computed using equations shown in Figure 2.

Human observers were required to determine the angle on the bow. To confuse the human observers, ships often used dazzle camouflage, which consisted of painting lines on a ship in an effort to make determining a target's angle on the bow difficult. While dazzle camouflage was useful against some types of optical rangefinders, this approach was useless against radar and it fell out of favor during World War II.

## Position Prediction

The prediction of the target ship's position at the time of projectile impact is critical because that is the position at which the own ship's guns must be directed. During World War II, most rangekeepers performed position prediction using a linear extrapolation of the target's course and speed. While ships are maneuverable, the large ships maneuver slowly and linear extrapolation is a reasonable approach in many cases.[17]

During World War I, rangekeepers were often referred to as "clocks" (e.g. see range and bearing clocks in the Dreyer Fire Control Table). These devices were called clocks because they regularly incremented the target range and angle estimates using fixed values. This approach was of limited use because the target bearing changes are a function of range and using a fixed change causes the target bearing prediction to quickly become inaccurate.[18]

### Predicted Range

Figure 3: Rangekeeper Determination of Range Rate. This illustration shows how the rangekeeper determines the rate of range change.

The target range at the time of projectile impact can be estimated using Equation 1, which is illustrated in Figure 3.

(Equation 1) ${\displaystyle {\begin{array}{lcr}R_{TP}&=&R_{T}+{\frac {dR_{T}}{dt}}\cdot t_{TOF'}\\&=&R_{T}+{\frac {dR_{T}}{dt}}\cdot \left(t_{TOF}+t_{Delay}\right)\end{array}}}$

where

• ${\displaystyle R_{TP}\,}$ is the range to the target at the time of projectile impact.
• ${\displaystyle R_{T}\,}$ is the range to the target at the time of gun firing.
• ${\displaystyle t_{TOF'}\,}$ is the projectile time of flight ${\displaystyle \left(t_{TOF}\right)\,}$ plus system
firing delays[19] ${\displaystyle \left(t_{Delay}\right)\,}$, i.e. ${\displaystyle t_{TOF'}=t_{TOF}+t_{Delay}\,}$.

The exact prediction of the target range at the time of projectile impact is difficult because it requires knowing the projectile time of flight, which is a function of the projected target position. While this calculation can be performed using a trial and error approach, this was not a practical approach with the analog computer hardware available during World War II. In the case of the Ford Rangekeeper Mk 1, the time of flight was approximated by assuming the time of flight was linearly proportional to range, as is shown in Equation 2.[20]

(Equation 2) ${\displaystyle R_{TP}=R_{T}+{\frac {dR_{T}}{dt}}\cdot \left(k_{TOF}\cdot R_{T}+t_{Delay}\right)\,\!}$

where

• ${\displaystyle k_{TOF}\,}$ is the constant of proportionality between time of flight (TOF) and target range.

The assumption of TOF being linearly proportional to range is a crude one and could be improved through the use of more sophisticated means of function evaluation.

Range prediction requires knowing the rate of range change. As is shown in Figure 3, the rate of range change can be expressed as shown in Equation 3.

(Equation 3) ${\displaystyle {\frac {dR_{T}}{dt}}=-s_{Oy}-s_{Ty}\,\!}$

where

• ${\displaystyle s_{Oy}\,}$ is the own ship speed along the LOS where ${\displaystyle v_{Oy}=\lVert v_{O}\rVert \cdot \cos(\theta _{T})}$.
• ${\displaystyle s_{Ty}\,}$ is the target ship speed along the LOS where ${\displaystyle v_{Ty}=\lVert v_{T}\rVert \cdot \cos(\theta _{AOB})}$.

Equation 4 shows the complete equation for the predicted range.

(Equation 4) ${\displaystyle R_{TP}=R_{T}+\left(-s_{Oy}-s_{Ty}\right)\cdot \left(k_{TOF}\cdot R_{T}+t_{Delay}\right)\,\!}$

### Predicted Azimuth (Train)

Figure 4: Rangekeeper Determination of Angular Rate. The calculation of angular rate requires knowledge of the target and own ship course, speed, and range.

The prediction of azimuth[21] is performed similarly to the range prediction.[1] Equation 5 is the fundamental relationship, whose derivation is illustrated in Figure 4.

(Equation 5) ${\displaystyle {\begin{array}{lcr}\theta _{TP}&=&\theta _{T}+{\frac {d\theta _{T}}{dt}}\cdot t_{TOF'}\\&=&\theta _{T}+{\frac {d\theta _{T}}{dt}}\cdot \left(t_{TOF}+t_{Delay}\right)\\\end{array}}}$

where

• ${\displaystyle \theta _{T}\,}$ is the azimuth to the target at the time of gun firing.
• ${\displaystyle \theta _{TP}\,}$ is the azimuth to the target at the time of projectile impact.

The rate of bearing change can be computed using Equation 6, which is illustrated in Figure 4.

(Equation 6) ${\displaystyle {\frac {d\theta _{T}}{dt}}={\frac {s_{Tx}+s_{Ox}}{R_{T}}}\,\!}$

where

• ${\displaystyle s_{Ox}\,}$ is the own ship speed along the x axis, i.e. ${\displaystyle s_{Ox}=\lVert v_{O}\rVert \cdot \sin(\theta _{T})\,}$.
• ${\displaystyle s_{Tx}\,}$ is the target speed along the x axis, i.e. ${\displaystyle s_{Tx}=\lVert v_{T}\rVert \cdot \sin(\theta _{AOB})\,}$.

Substituting ${\displaystyle t_{TOF}{\dot {=}}k_{TOF}\cdot R_{T}}$, Equation 7 shows the final formula for the predicted bearing.

(Equation 7) ${\displaystyle \theta _{TP}=\theta _{T}+\left({\frac {s_{Tx}+s_{Ox}}{R_{T}}}\right)\cdot \left(k_{TOF}\cdot R_{T}+t_{Delay}\right)}$

## Ballistic Correction

Figure 5: Illustration of a Cam-Based Function During World War II, cams were precisely machined to represent the firing tables for long range artillery.

Firing artillery at targets beyond visual range historically has required computations based on firing tables.[22] The impact point of a projectile is a function of many variables:[23]

• Air temperature
• Air density
• Wind
• Range
• Earth rotation
• Projectile, fuze, weapon characteristics
• Muzzle velocity
• Propellant temperature
• Drift
• Parallax between the guns and the rangefinders and radar systems
• Elevation difference between target and artillery piece

The firing tables provide data for an artillery piece firing under standardized conditions and the corrections required to determine the point of impact under actual conditions.[24] There were a number of ways to implement a firing table using cams. Consider Figure 5 for example. In this case the gun angle as a function of target's range and the target's relative elevation is represented by the thickness of the cam at a given axial distance and angle. A gun direction officer would input the target range and relative elevation using dials. The pin height then represents the required gun angle. This pin height could be used to drive cams or gears that would make other corrections, such as for propellant temperature and projectile type.

The cams used in a rangekeeper needed to be very precisely machined in order to accurately direct the guns. Because these cams were machined to specifications composed of data tables, they became an early application of CNC machine tools. [25]

In addition to the target and ballistic corrections, the rangekeeper must also correct for the ships undulating motion. The warships had a gyroscope with its spin axis vertical. This gyro determined two angles that defined the tilt of the ship's deck with respect to the vertical. Those two angle were fed to the rangekeeper, which applied a correction based on these angles.[26]

While the rangekeeper designers spent an enormous amount of time working to minimize the sources of error in the rangekeeper calculations, there were errors and information uncertainties that contributed to projectiles missing their targets on the first shot.[25] The rangekeeper had dials that allowed manual corrections to be incorporated into the rangekeeper firing solution. When artillery spotters would call in a correction, the rangekeeper operators would manually incorporate the correction using these dials.[1]

## Notes

1. ^ a b c Mindell, David (2002). Between Human and Machine. Baltimore: Johns Hopkins. Appendix A. ISBN 0-8018-8057-2.
2. ^ The improvements in rangekeeper technology for long range gunnery mainly came in the areas of automated gun steering and the incorporation of better sensors, like radar. The basic equations of fire control remained the same.
3. ^ Bradley Fischer (2003-09-09). "Overview of USN and IJN Warship Ballistic Computer Design". NavWeaps. Retrieved 2006-08-26.
4. ^ The torpedo and long range gun rangekeeping functions are different in terms of scale. For example, a torpedo's time of flight is much longer than that of battleship's main gun projectile. The projectile's advantages in terms of speed and rate of fire make ranging shots possible. A torpedo's time of flight is so long that ranging shots are not feasible. Some papers do address these issues.
5. ^ Jackson, USNR, Lt.(jg) J.G. (February 1946). Japanese Torpedo Fire Control (PDF). US Naval Technical Mission to Japan. Fascicle O-1, Target O-32. Archived from the original (PDF) on 2007-07-20.
6. ^ "Chapter 19: Surface Fire Control Problem". Naval Ordnance and Gunnery. Annapolis, MA: United States Naval Academy. 1958 [1950]. NavPers 10798-A. Retrieved 2006-08-26.
7. ^ "Chapter 20: Gun Directors". Naval Ordnance and Gunnery. Annapolis, MA: United States Naval Academy. 1958 [1950]. NavPers 10798-A. Retrieved 2006-10-15.
8. ^ Jurens, William (2004-12-24). "The Evolution of Battleship Gunnery in the U.S. Navy, 1920-1945". Navweaps.com. Archived from the original on 2006-11-20. Retrieved 2006-10-18. Generally air spot was expected to have little effect at ranges under 20,000 yards, where visual spotting remained supreme. The advantage of air spot increased markedly thereafter. In 1935 the Naval War College estimated that at 29,000 yards air spot would be expected to deliver six times as many hits as observation from spotters aloft.
9. ^ The plotting was either done manually or by a mechanical plotter in the case of the Dreyer Table.
10. ^ For example, the article Battle of Savo Island has a photograph that shows a ship illuminated by a searchlight.
11. ^ Norman, Friedman (1981). Naval Radar. Conway Maritime Press. ISBN 0-85177-238-2. Retrieved 2006-10-20. Mk 8 Radar: Range Accuracy: 15 yards (5 m)
12. ^ Lienau, Peter; Tony DiGiulian (2001-07-16). "German Optical Rangefinders". Navweps.com. Retrieved 2006-10-20. To take another example, the US Battleships of the North Carolina, South Dakota and Iowa classes had main director rangefinders of 25X power with a base length of 26 feet 6 inches (8.0772 m)... For example, to find the error at 20,000 m, simply multiply 0.97 m by 20,000 / 2,000 = 9.7 m.
13. ^ The available data indicates that optical rangefinders and radar accuracy levels were comparable under ideal optical conditions. However, an optical rangefinder's performance degraded rapidly under weather conditions, while radar was unaffected. The robustness of radar was a critical factor in its popularity with naval forces.
14. ^ "Chapter 19C1". Naval Ordnance and Gunnery: Volume 2 Fire Control. Bureau of Naval Personnel. 1958 [1950]. NavPers 10798-A.
15. ^ O'Kane, Richard H. (1989) [1987]. "Part 4: Chapter 1". Wahoo: The Patrols of America's Most Famous World War II Submarine (Bantam ed.). New York: Bantam. pp. 108–109. ISBN 0-553-28161-5. The opportunity and sharing of responsibility was new within our submarine forces. I answered with a simple, 'I appreciate your confidence, Captain,' and I told him I was off to Sperry [a submarine tender] to make a lazy Susan for our ship models. I would need them to sharpen the ability to call angles on the bow quickly and accurately ... Through one barrel of a pair of 7x35 binoculars inverted, I called angles from the pantry scuttle on a realistic target.
16. ^ Bradley Fischer (2003-09-09). "Overview of USN and IJN Warship Ballistic Computer Design". NavWeaps. Retrieved 2006-08-26. If the target’s length is known as well as the present range, the operator measures apparent length of the ship in the form of a bearing measurement (using the stern as the reference point). The formula is: inclinometer angle = L × Cos Ø / R, where: L is the length of ship, Ø is target angle and R is present range.
17. ^ To some extent, the accuracy of this approximation depends on the time of flight of a projectile. At maximum range, the 16-in guns of an Iowa-class battleship had a time of flight of ~95 seconds. Ships engaging at this range, however, would be very unusual. In fact, the longest successful between two warships occurred at ~26,500 yards. The projectile in this case would have had a time of flight of ~40 seconds (based on the 16 inch guns of the Iowa class).
18. ^ "Dreyer Fire Control Table". http://www.dreadnoughtproject.org/. The Dreadnought Project. Retrieved 2006-10-30. The bearing clock was primarily used within the dumaresq, and it could allow a constant bearing rate to be dialed in ... The range clock's constant speed output went into a differential device called the Spotting Corrector, whose gearing multiplexed it out to three further destinations. External link in |work= (help)
19. ^ This delay is the interval of time between the commanded firing time and the actual firing time. This time interval includes any delays because of data transmission time to the turret and mechanical activity required to fire the weapon.
20. ^ Mindell, David (2002). Between Human and Machine. Baltimore: Johns Hopkins. p. 325. ISBN 0-8018-8057-2. The Ford rangekeeper treats the time of flight as linearly proportional to range, which is only an approximation.
21. ^ The US Army uses azimuth and the US Navy uses train. These are two words for the same concept, which is the horizontal target angle.
22. ^ A.A. Range Table for 16-inch 50 Caliber Guns. Bureau of Ordnance. 1944-03-11. Ordnance Pamphlet No. 1091. Retrieved 2006-10-29.
23. ^ "US Army Field Manual 6-40 Chapter 7". US Army. 2003-09-09. Retrieved 2006-10-13.
24. ^ "Chapter 17". Volume 2 Fire Control (1958 ed.). Annapolis, MA: United States Naval Academy. 1958 [1950]. NavPers 10798-A. Retrieved 2006-08-26.
25. ^ a b A. Ben Clymer (1993). "The Mechanical Analog Computers of Hannibal Ford and William Newell" (pdf). 15 (2). IEEE Annals of the History of Computing. Retrieved 2006-08-26.
26. ^ "Chapter 19". Surface Fire Control Problem (1958 ed.). Annapolis, MA: United States Naval Academy. 1958 [1950]. NavPers 10798-A. Retrieved 2006-08-26.