Timing Differences Between Battleship Guns During a Salvo

Quote of the Day

The better person you become, the better person you attract.

— Pinterest. This is also true for management.


I was looking at this picture (Figure 1) of the USS Missouri firing a six-gun salvo and I thought that I could learn something from it.

Figure 1: Battleship Missouri Firing a Six-Gun Salvo.

Figure 1: Battleship Missouri Firing a Six-Gun Salvo.

In Figure 2, I highlighted the six shells in the air. The shells from each gun on a turret appear to be fired at a different time.

Figure 2: Circle Shows the Salvo Shells in the Air.

Figure 2: Circle Shows the Salvo Shells in the Air.

I started to search around the web and I dug up some information. The following quote was very interesting (Source: Battle Line: The United States Navy, 1919-1939). I have highlighted a particularly interesting piece:

The emphasis on maximizing the number of guns firing in a single salvo led to unexpected problems. The blast from one gun could interfere the accuracy of others fired at the same time if the guns were close together. This would result in increased dispersion and "wild shots" -- shells landing abnormally far from the center of the pattern. Occasionally, shells were even observed to "kiss" - to brush against each other -- in flight on the way to the target. The problem was solved by the introduction of delay coils, electrical devices designed to allow a slight pause in the closure of the firing circuit to ensure that neighboring guns did not fire exactly at the same time. After their introduction, accuracy noticeably improved.

I found the following quote on this web page for the USS New Jersey, a battleship of the same class as the USS Missouri.

GUN FIRING ORDER L, R, C, BARRELS.
FIRING DELAY 0.06 SECOND. THERE IS NO DELAY FOR THE LEFT BARREL.

So it looks like there is 60 msec of delay between the guns.

Posted in Naval History | Comments Off on Timing Differences Between Battleship Guns During a Salvo

Battleship Guns and Danger Space

Quote of the Day

A nation is a society united by a delusion about its ancestry and a common hatred of its neighbors.

— William R. Inge. There are days when this seems very true …


Introduction

Figure 1: Broadside from Iowa-Class Battleship. (Source)

Figure 1: Broadside from the Battleship USS Iowa. (Source)

I have been reading a couple of excellent books about battleships ("Naval Firepower" and "Guns at Sea"). During my reading, I have encountered the term "Danger Space" that appears with nearly every table describing the large naval guns. Of course, I had no idea what danger space was when I began investigating it. It turns out that danger space describes an important metric for battleship guns, and it is worthwhile documenting what I have learned about it here.

There appears to be a number of ways to define danger space. Since my reading is on US battleships, I will focus on the how the US Navy used the term. All the world's navies had closely related definitions for danger space that ended up producing slightly different numerical results. My plan in this post is to:

  • define danger space as used by the US Navy

    Some definitions use the width of the ship (referred to as the beam -- see Appendix D for an example) and some don't. Some use different target height standards (e.g. 20 feet versus 30 feet). I believe that I now understand the need for the different forms -- it has to do with your priorities. For example, if your priority is to blow through the heavily armored regions from the side, the width of the ship is not very important. If you plan on dropping shells down on the deck, the width of the ship becomes important. For more discussion of this topic, see this discussion of the zone of immunity.

  • derive the formula(s) used to compute it

    I am not totally happy with my derivation, but it is what I could come up with. I am sure that the originators were working with approximations and they were trying to get answers that were reasonably close and easily computable by hand.

  • provide evidence that the formula I am using is the same as used by the US Navy

    US Navy range tables do not state the formula used to determine the danger space. I will compare the results using the formula that I found with the US Navy's published results.

I list the references I used at the bottom of the blog post. I should mention that there are numerous synonyms for danger space:

  • danger zone
  • hitting space or zone
  • bestrichener raum ("smear space" – my translation)

Background

The Motivation for Danger Space

Obtaining hits with long-range naval gunnery is closely tied to minimizing errors in determining the target's range. Range errors are usually larger and more difficult to correct than deflection errors (details here). Danger space tells us the amount of range error we can tolerate and still hit our target. Given that there are always errors present in our target range measurements, having a gun with a large danger space means that you have a greater chance of hitting your target for a given number of shells fired.

Definition of Danger Space

Danger space is also tied in with the concept of a citadel. Most analysts only focus on hits to the vital areas of the ship. On battleships, the vital areas were heavily armored and were referred to as the citadel. The US Navy usually assumed a citadel height of 20 feet2 -- the British Navy used 30 feet3. The length of the citadel varied with the type of target. The key concept here is that target range errors less than the danger space will still produce hits on the citadel.

Figure 1:Danger Space Illustration.

Figure 1: Danger Space Illustration.

Figure 1 illustrates how the danger space is about putting a projectile through the citadel our a range interval. Given this viewpoint, Algier1 gives the following definition for danger space. A similar definition is presented here.

By the term “danger space” is meant an interval of space, between the point of fall and the gun, such that the target will be hit if situated at any point in that space. In other words, it is the distance from the point of fall through which a target of the given height can be moved directly towards the gun and still have the projectile pass through the target. Therefore, within the range for which the maximum ordinate of the trajectory does not exceed the height of the target, the danger space is equal to the range, and such range is known as the “ danger range.”

Note that the focus of this definition is on the projectile passing through the target (i.e. the vertical face of the citadel), not dropping onto the target (i.e. the top of the citadel). You see the effect of this viewpoint by examining how US Navy towed gunnery targets were constructed (Figure 2). There were a number of different size targets used (Figure 3). Because the US Navy was less interested in hits on the top of the citadel, the targets were very narrow in thickness.

Figure 2: Example of a World War 2 Towed Gunnery Target.

Figure 2: Example of a World War 2 Towed Gunnery Target.

Figure 3: Sizes of US Navy Towed Gunnery Targets.

Figure 3: Sizes of US Navy Towed Gunnery Targets.

There are some important observations that you need to make about this definition of danger space.

  • Long range engagements are miss-prone because at long-range the projectiles have large fall angles, resulting in small danger spaces.
  • Short range engagements tend to have more hits because projectiles have shallow fall angles, resulting in large danger spaces.
  • At some short range, your danger space will equal your range because the projectile is traveling with such a shallow angle that a hit is guaranteed.

Analysis

Danger Space Equation

Algier1 gives Equation 1 for danger space. I make an attempt at a derivation for Equation 1 in Appendix A. Deriving Equation 1 requires making an approximation for the change in fall angle over the danger space interval.

Eq. 1 \displaystyle \delta =h\cdot \cot \left( \theta \right)\cdot \frac{R}{R-\delta }

where

  • δ is the danger space.
  • θ is the fall angle (i.e. the projectile's angle of descent at the point of impact).
  • R is the target range.
  • h is the target height.

There are a couple of special points worth making about Equation 1:

  • The only target characteristic present in Equation 1 is height.

    The US Navy was only interested in side penetration of the citadel. I have seen the danger spaces for guns of other navies listed where the width of the ship appeared to be included the calculation. Note that I drew Figure 1 showing the projectile striking the citadel broadside. The tactics of the day would have preferred to cross the T (i.e. target bow is facing the attacker). Citadel height is still the important parameter in this case. However, the citadel length now would be important for strikes on the top of the citadel.

  • In the case where \displaystyle R\gg \delta , Equation 1 reduces to \delta \doteq h\cdot \cot \left( \theta \right).

    Some authors do mention \delta \doteq h\cdot \cot \left( \theta \right) as a useful approximation. This approximation is equivalent to assuming that the path of the shell over the danger space is a perfectly straight line. See Appendix C for a reference example from a Royal Navy document.

Equation 1 can be solved for danger space to give a quadratic. The solution for the quadratic is given by Equation 2.

Eq. 2 \displaystyle \delta=\frac{-R\cdot \text{tan}\left( \theta \right)+\sqrt{R\cdot \text{tan}\left( \theta \right)\cdot \left( R\cdot \text{tan}\left( \theta \right)-4\cdot h \right)}}{2\cdot \text{tan}\left( \theta \right)}

Because of the hand computation difficulties associated with Equation 2, we can approximate the term R/(R-δ) in Equation 1 using a one-term series expansion to obtain Equation 3 (derivation shown in Appendix B). However, the result is not particularly accurate at short ranges. Equation 3 is also given by Algier1.

Eq. 3 \displaystyle \delta =h\cdot \cot \left( \theta \right)\cdot \left( 1+\frac{h\cdot \cot \left( \theta \right)}{R} \right)

Comparison with World War 2 Publications

I have worked numerous examples from various books. I have included two here that are representative. They come from this document. For those who are interested, my spreadsheet is included here.

Comparison with 16 in/45 or 50 Caliber Range Table for 2700 lb Shell

I am mainly interested in Iowa and South Dakota classes of battleships, which used 16-in guns (50 caliber and 45 caliber respectively). I will use their range tables for examples.

Figure 4 shows a screenshot of an Excel worksheet using both Equation 2 (quadratic solution) and Equation 3 (approximate solution). Equation 2 gave me very nearly the same results as listed in the reference publication.

Figure 4: Duplication of Results From Abridged U.S. Navy Range Table (2700 lb Shell, 45/50 caliber).

Figure 4: Duplication of Results From Abridged U.S. Navy Range Table (2700 lb Shell, 45/50 Caliber).

Comparison with 16 in/45 Caliber Range Table for 1900 lb Shell

Figure 5 shows a screenshot of an Excel worksheet using both Equation 1 (quadratic solution) and Equation 2 (approximate solution). Equation 1 gave me very nearly the same results as listed in the reference publication.

Figure 5: Duplication of Results From Abridged U.S. Navy Range Table (1900 lb Shell, 45 caliber).

Figure 5: Duplication of Results From Abridged U.S. Navy Range Table (1900 lb Shell, 45 Caliber).

Conclusion

I believe that I have shown how the danger space was computed by the US Navy during World War 2. Danger space is most often seen today in the context of small arms.

References

1Philip Algier, The Groundwork of Practical Naval Gunnery, Annapolis, MD: The United States Naval Institute, 1917, pp 59-65.

2Abridged Range Tables for U. S. Naval Guns. Washington, D.C.: Navy Department Bureau of Ordnance, 1944, p59.

3Friedman, Norman. Naval Firepower: Battleship Guns and Gunnery in the Dreadnaught Era. Annapolis: Naval Institute Press, 2008.

Appendix A: Derivation of Equation 1

Figure 6 shows the basic geometry associated with my derivation of Equation 1. I have no idea if this is how Equation 1 was originally derived, but this is the approach I chose to use.

Figure 6: Graphic Illustrating the Danger Space Geometry.

Figure 6: Graphic Illustrating the Danger Space Geometry.

Figure 7 shows the actual mathematical details of the derivation.

Figure 7: My Derivation of Equation 1.

Figure 7: My Derivation of Equation 1.

Appendix B: Simplification of Equation 1 into Equation 3

Figure 8 shows how the approximations used to derive Equation 3 from Equation 1.

Figure 8: Derivation of Equation 2.

Figure 8: Derivation of Equation 2.

Appendix C: Royal Navy Excerpt on Danger Space

Early Royal Navy documents referred to "dangerous distance" instead of "danger space". Figure 9 shows an excerpt from the "Textbook of Gunnery" dated 1902.

Figure 9: Royal Navy Reference on Danger Space.

Figure 9: Royal Navy Reference on Danger Space.

Appendix D: US Navy Excerpt That Uses the Beam of the Ship

Figure 10 shows a snippet from an old US Navy document. This one is unusual in that it includes the beam of the ship in the equation.

Figure 10: One Form of Danger Space That Uses Ship's Beam.

Figure 10: One Form of Danger Space That Uses Ship's Beam.

Posted in History of Science and Technology, Military History, Naval History | 7 Comments

Questions That Don't Need to Be Asked

Figure 1: Cruise Ship Millenium – my favorite. (Source)

Figure 1: Cruise Ship Millennium – my favorite. (Source)

Some "interesting" questions come my way -- one just rolled in about my plans for dealing with an electromagnetic pulse attack (I don't have any plans for that situation). When I say interesting, I mean that this question really did not need to be asked. The best example of this type of question is one I heard when I was on a cruise ship. When I am on a cruise ship, I always ask if I can get a tour of the bridge -- they often do host a tour. During this tour, the ship’s navigator will sometimes offer to host a seminar on how the ship navigates. This actually happened and a number of passengers attended. During this seminar, the navigator mentioned that the ship normally navigated using GPS, but was equipped for celestial navigation if it was needed. The navigator then sheepishly added that his celestial navigation was very rusty because it had been so long since he had used it. A passenger than very seriously asked, “What if global thermonuclear war broke out and all the GPS satellites were destroyed – how would we find our way home?” The audience sat in stunned silence. I don't think that question needed to be asked.

Posted in Military History, Navigation | Comments Off on Questions That Don't Need to Be Asked

TSA Has No Sense of Humor

Quote of the Day

Love all, trust a few, do wrong to none.

- William Shakespeare

Figure 1: Example of a TSA Line. I hat standing in these lines. (Source)

Figure 1: Example of a TSA Line. I really do not like standing in these lines. (Source)

I was having a discussion with some other engineering managers when I heard the following travel horror story. Engineering managers are always talking about Bills of Materials (BOMs), which we pronounce as "bombs". An engineer was on his phone at an airport and was discussing part problems with a contract manufacturer. He used the term "bomb" many times during that conversation. Another passenger heard his use of the term "bomb" and turned him in to TSA, who promptly apprehended him. He then spent the next several hours explaining to the nice TSA people what a bill of materials is. Having to go through tight security checks is one of the worst things about flying commercially and it's no wonder so many people would prefer to chart a private plane through a company like Jettly.com. I wouldn't be surprised if this engineer opts to fly privately next time, especially if he needs to discuss his work again. While the TSA folks were very nice, he did miss his plane and got to spend an enjoyable evening in Little Rock, Arkansas. Did you know many things there are named after Bill and Hillary Clinton? This engineer got to visit a number of these places.

I actually know the engineer that this happened to. He is the last guy on Earth that you would expect this sort of thing to happen to. I have had my TSA issues too. I once tried to drag an oscilloscope through security. They would have none of it. I had forgotten that my portable scope had a lead-acid battery in it that their x-ray machine could not penetrate.

Posted in Management | Tagged , | Comments Off on TSA Has No Sense of Humor

Conversion Cost Mathematics in Mathcad

Introduction

Normally, I use Excel for analyzing financial data. Today, I encountered a financial problem for which Mathcad seemed appropriate-- there was a bit of algebra involved. Let's see what you think ...

Background

Before I can state my problem, we need to establish a common vocabulary. A few definitions are in order.

Some Definitions

Factory Cost
The cost of a fully assembled, tested, and shipped product.
Freight
The cost of shipping the product to our distribution center. For example, if you are using an express freight service across europe the cost will be varied.
Bill of Materials (BOM)
The list of all the components that make up the product, such as whether they need shipping warmers to ensure they stay at a constant temperature during transportation.
BOM Cost
The cost of all the components that make up the product. BOM cost does not include any freight or assembly charges.
Conversion Cost
The cost of assembling the components into the product. Conversion cost (by agreement with our contract manufacturer [CM] ) does not include shipping cost.
Markup
The difference between factory cost and BOM cost. Markup includes freight.
Conversion Cost Percentage
Conversion cost as a percentage of factory cost minus freight. Freight varies for each product and final customer. The efficiency of a factory is often measured in terms of its conversion cost percentage. I am VERY interested in conversion cost.
Markup Percentage
Markup as a percentage of factory cost. Markup includes freight.

My Problem

I had a large number of products for which I wanted to evaluate their conversion cost percentage. Normally, our CM lists the conversion cost percentage for each product on a spreadsheet they send to us, which I then use as a way of comparing my manufacturer's efficiency against other manufacturers. Unfortunately, my CM did not list the conversion cost percentage of each of the products I was interested in. Instead, they gave me the following information:

  • Factory Cost
  • Markup Percentage
  • Freight (listed on another spreadsheet)

There is a tiny bit of algebra involved in computing the conversion cost percentage, so I decided to use Mathcad's symbolic solver to perform that function. I could do it manually, but it is late Friday afternoon, I am tired, and I do not want to make any errors.

Analysis

Figure 1 shows my solution of this problem in Mathcad.

Figure 1: Determination of Conversion Cost for a List of Products.

Figure 1: Determination of Conversion Cost for a List of Products.


I have attached a zip file containing the Mathcad15 file here.

Conclusion

My quick analysis showed that I was being charged a higher conversion cost than I had expected. A bit of investigation soon explained the issue, which I can now deal with.

Posted in Financial | Comments Off on Conversion Cost Mathematics in Mathcad

A Couple of Examples of Characteristic Impedance Calculations in Mathcad

Introduction

I have been doing some work that involves computing the characteristic impedances of cables. The work has involved creating some tables in Mathcad for comparison with tables from a government specification. Since I am always looking for real-life computations to use as Mathcad training examples for my staff, I thought I would blog about this work. This blog post shows a couple of different ways that I computed a table of characteristic impedances for wire pairs of different gauges and at different frequencies. I used Mathcad range variables to create my table. I then compared my computed results with the results listed by the US government in a table put out by the Rural Elecrification Administration (REA), which is now known as the Rural Utility Service (RUS).

My plan is to use this post as an example for a class that I plan to teach in a few months.

Background

REA has many specifications that control how phone lines are connected in the United States. Figure 1 is an excerpt from one of their specifications that lists the characteristic impedances for insulated wires of various gauges and at various frequencies. This particular wire is referred to as polyolefin-insulated cable (PIC). This insulation is similar in performance to polyethylene.

Figure 1: Characteristic Impedance Excerpt for Polefin Insulated Conductors (PIC).

Figure 1: Characteristic Impedance Table Excerpt for Polefin Insulated Conductors (PIC).

This table is from an old paper specification that was filled with markups. It is the only copy I have.

Analysis

Derivation of Key Relationships

Figure 2 shows my derivation of a couple of equations that relate Z0 (characteristic impedance) and vSignal (signal speed) to L0 (unit inductance) and C0 (unit capacitance). We need L0 and C0 to compute the characteristic impedance of the cable.

Figure 2: Derivation of Unit Capacitance and Inductance in Terms of Signal Velocity (vSpeed) and Impedance (Z0)

Figure 2: Derivation of Unit Capacitance and Inductance in Terms of Signal Velocity (vSpeed) and Impedance (Z0)

Figure 3 shows how we can compute L0 and C0 using the physical dimensions of the cable (s: conductor separation, and d: conductor diameter) and the dielectric constant of the insulation (ϵR: relative permittivity)(Source).

Figure 3: Formulas for the Impedance and Signal Velocity on a Wire Pair.

Figure 3: Formulas for the Impedance and Signal Velocity on a Wire Pair.

Calculation When Given Unit Capacitance

Figure 4 is a rather dense illustration of how I used the formulas of Figures 2 and 3 to compute the characteristic impedances for the same cable type as is documented in the REA document. The REA document specifies the unit capacitance of the cable and I have to assume a signal velocity. Most cables that I know of have a signal velocity of ~66% of the speed of light.

Figure 4: Calculation When Given Capacitance Per Unit Length.

Figure 4: Calculation When Given Capacitance Per Unit Length.

Calculation When Given Wire Construction

Figure 5 is another dense illustration that estimates the characteristic impedance versus frequency and wire gauge using the cable dimensions and the relative permittivity of the insulation. To vary things a bit, I presented the output using an Excel component.

Figure 5: Characteristic Impedance Calculaton Using Wire Geometry Specifications.

Figure 5: Characteristic Impedance Calculation Using Wire Geometry Specifications.

Conclusion

The impedances I obtained by both methods agree fairly well with the values listed by the REA. The largest differences are at low frequency. The differences are small enough not be significant for my work. I want to be able to use computed values rather than tables because they are more convenient for me to work with in Mathcad and Excel.

Posted in Electronics | Comments Off on A Couple of Examples of Characteristic Impedance Calculations in Mathcad

Epidemiology and Cell Towers

Introduction

I received a phone call from a cancer epidemiologist last Friday. He had received my name from a co-worker in his department who knows me. This researcher is in the process of researching a cancer cluster near a cell tower. Local residents have been speculating about whether that cell tower has played any role in the formation of this cluster. I wouldn't be surprised if the owners start looking into cell tower lease buyouts round about now. I have done a fair number of measurements of RF power levels in the vicinity of antennas and that is why he contacted me.

The researcher had done a very good job of familiarizing himself with the basics of Radio-Frequency (RF) electronics by doing some googling, and has even come across some terms such as dirty electricity and the like. Now he wanted to confirm his information with an RF practitioner -- I fit the bill. We talked about a number of interesting subjects. In this post, I will discuss how I go about collecting some basic information on a cell tower -- height, power, frequency -- something I need to regularly do. I thought some of you may find this process interesting. I am always surprised at the number of radio antennas that are registered in an area. I will discuss other parts of our discussion in later posts.

There are four web sites that I regular use to find information on towers and the antennas that populate them:

  • http://www.antennasearch.com

    This site supports separate searches for tower and antennas. You can also access aerial photos of the locations.

  • http://wireless2.fcc.gov/UlsApp/AsrSearch/asrRegistrationSearch.jsp

    The government's Antenna Structure Registration (ASR) system. The government makes the licenses it grants accessible on the web.

  • http://wireless2.fcc.gov/UlsApp/UlsSearch/searchLicense.jsp

    The government provides a means for looking up information on their Universal Licensing System (ULS). This is useful when you know the transmitter's call sign.

  • http://radioreference.com

    This site is similar to antenna search -- works best when you have a radio call sign to search for. This site is nice because it makes radiated power easily available.

Remember that most antennas are mounted on towers owned by someone different than the antenna owners.

I will show you some examples of some recent searches I did near my workplace. This is NOT the area that the cancer researcher was asking me about. These are just examples of what you can find "out in the cloud".

Figure 1 shows the output for a recent tower search that I did at www.antennasearch.com (the antenna is on a tower in Brooklyn Park, MN -- not far from where I grew up).

Figure 2: Tower search option from antennasearch.com.

Figure 2: Tower search option from antennasearch.com.

Figure 2 shows the output for the antenna search option from www.antennasearch.com.

Figure 1: Search for Antennas at antennasearch.com.

Figure 1: Search for Antennas at antennasearch.com.

Figure 3 shows the output for an arbitrarily chosen FCC license for the tower near me from http://wireless2.fcc.gov/UlsApp/AsrSearch/asrRegistrationSearch.jsp.

Figure 3: Example of an FCC license for a tower in Brooklyn Park, MN.

Figure 3: Example of an FCC license for a tower in Brooklyn Park, MN.

Figure 4 shows that we can even get an aerial photograph of a nearby tower from the web at www.antennasearch.com.

Figure 4: Image of the Tower.

Figure 4: Image of the Tower.

Figure 5 shows the licensing information for a specific antenna on the tower from http://wireless2.fcc.gov/UlsApp/AsrSearch/asrRegistrationSearch.jsp.

Figure 5: Example of a Specific License for an Antenna

Figure 5: Example of a Specific License for an Antenna

Figure 6 shows some detailed technical information for an arbitrarily chosen radio call sign from http://radioreference.com.

Figure 6: Radioreference Info on an FCC License Holder.

http://www.radioreference.com/apps/db/?fccCallsign=WPXN226

Posted in Electronics, Osseo | 2 Comments

Neat photos from the International Space Station

Neat photos from the International Space Station

Some co-workers and I are practicing speaking German while at work. One of these co-workers found some great photos on the Der Spiegel web site, which is a site we use for practice. The notations for the photos are in German, but the pictures are very worthwhile.

Posted in Astronomy | Tagged | Comments Off on Neat photos from the International Space Station

Phone Line Impedance Levels: 600 Ohms and 900 Ohms

Quote of the Day

Is it really a sport? Is it a sport if one team doesn't know its going on?

— Bill Maher on hunting


Introduction

Figure 1: Old Phone Central Office. (Source)

Figure 1: Old Phone Central Office. (Wikipedia)

Engineering is a pretty conservative profession -- I have been accused of "abhorring change". Once something gets standardized it stays in place even when it does not make sense. This morning provided me a good example of this. Phone lines in the United States are usually characterized as having a characteristic impedance of 600 Ω or 900 Ω. These impedance levels go back to the early days of telephony (Figure 1). However, all the phone cables we work with are Category 3 and therefore have identical characteristic impedance (~725 Ω). So why the different impedance levels? I had a discussion with one of our telephony engineers about it this morning and all we could do is speculate. I thought I would document this speculation here.

Analysis

Assumptions

Our speculations are based on certain assumptions.

  • In the old days, 26 AWG wire was used for central office wiring.
  • In the old days, 22 AWG wire was used for connecting central offices to homes.
  • Telephony circuits were characterized at 1 kHz.
  • I normally hear test engineers assuming characteristic impedances of 600 Ω for home wiring and 900 Ω for central office wiring.

When I work with customers, I do see 22 AWG and 26 AWG cables used in older homes and central offices, respectively. We can compute the characteristic impedance of these cables at 1 kHz to see if that explains the 600 Ω and 900 Ω terminations.

Characteristic Impedance Calculation

Figure 2 shows my calculation of the characteristic impedance of 22 AWG and 26 AWG wire at 1 kHz.

Figure 1: Characteristic Impedance Calculations for 22 AWG and 26 AWG cables.

Figure 2: Characteristic Impedance Calculations for 22 AWG and 26 AWG cables.

So we see that the old wiring standards did have 600 Ω and 900 Ω values. Note that the impedances are complex, but we normally speak of them as being real in the US. Some countries, like Australia, recognize that the impedances are complex (see this blog post for further discussion).

Conclusion

I have no idea if this is why the 600 Ω and 900 Ω values are used, but it seems reasonable. The interesting thing to me is how we keep designing systems assuming 600 Ω and 900 Ω values even when we know those numbers are not correct. It reminds me of the old story I have included here (Source).

The U.S. Standard railroad gauge (distance between the rails) is 4 feet, 8.5 inches. That's an exceedingly odd number. Why was that gauge used? Because that's the way they built them in England, and the U.S. railroads were built by English expatriates. Why did the English people build them like that? Because the first rail lines were built by the same people who built the pre-railroad tramways, and that's the gauge they used.
Why did ''they'' use that gauge then? Because the people who built the tramways used the same jigs and tools that they used for building wagons, which used that wheel spacing.
Okay! Why did the wagons use that odd wheel spacing? Well, if they tried to use any other spacing the wagons would break on some of the old, long distance roads, because that's the spacing of the old wheel ruts.
So who built these old rutted roads? The first long distance roads in Europe were built by Imperial Rome for the benefit of their legions. The roads have been used ever since. And the ruts? The initial ruts, which everyone else had to match for fear of destroying their wagons, were first made by Roman war chariots. Since the chariots were made for or by Imperial Rome they were all alike in the matter of wheel spacing.
Thus, we have the answer to the original questions. The United States standard railroad gauge of 4 feet, 8.5 inches derives from the original specification (Military Spec) for an Imperial Roman army war chariot. Military specs and bureaucracies live forever. So, the next time you are handed a specification and wonder what horse's ass came up with it, you may be exactly right. Because the Imperial Roman chariots were made to be just wide enough to accommodate the back-ends of two war horses.

Save

Posted in Electronics, Telephones | 6 Comments

Engineering Application of Conformal Mapping

Introduction

I have a project that I am working on that involves the use of conformal mappings. I have long found the use of complex numbers in electrical engineering interesting. My first contact with an engineering application of conformal mappings occurred over 30 years ago when I was working at Hewlett-Packard in Ft. Collins, CO (now an Avago facility). At that time, I saw an article in one of the engineering trade journals (EDN, I think) that used conformal mapping to create a matching network for a telephone hybrid. This article gave me some ideas on how I could use complex variables in my work, and I thought it might be useful to review it here. Unfortunately, my copy of the article is not great and does not include the publication date and the journal name. I include a copy of the article here. This article is very similar to an application note from National Semiconductor by the same author.

I thought it would be worthwhile reviewing this article here. While designing a telephone hybrid is not often done today, the basic problem solving approach can be applied to other electronic problems. As was common back in the 1980s, the article includes the source for a BASIC program that can be used to numerically solve the problem. I will focus, instead, on solving the problem using a computer algebra program (Mathcad).

This article review will provide a nice demonstration of a number of items:

  • Simple application of complex numbers in an electrical engineering application.
  • Use of the properties of a conformal mapping in an optimization problems.
  • Application of a computer algebra system (Mathcad) in computing optimal component values.

Background

Basic Telephone Engineering

Here are the telephone basics you need to know to understand this discussion:

  • One line of telephone service is delivered to a home over a single pair of wires (2 wires total).
  • The phone line (one wire pair) must carry signals in both directions -- to and from the home.
  • Inside the phone there are actually two wire pairs (4 wires total) -- one for the handset microphone and the other for the handset speaker.
  • The interface between the 2 wire pairs in the handset and the one wire pair feeding the phone is called a hybrid. It performs a function called 2 wire-to-4 wire conversion.

Definitions

2-wire/4-wire conversion
Inside your phone, the microphone (aka. transmit) and speaker (aka. receive) signals are carried by separate wire pairs. However, only a single wire pair comes to your home -- that wire pair simultaneously carries the transmit and receive signals. Today, the operation of combining and separating the transmit and receiver signals is often done digitally. However, historically this function has been done by an analog circuit called a hybrid. Much woe has been attributed to the lowly hybrid. For example, many of the echo problems people experience are due to a bad hybrid somewhere in the system.
Hybrid
A device that transforms a 4-wire phone circuit (1 transmit wire pair and 1 receive wire pair) into a 2-wire phone circuit (transmit and receive signals on a single wire pair). Since the phone line coming to our home carries both transmit and receive signals, we will drive our phone's speaker with this combined signal minus our transmit signal. It turns out we can perform this subtraction very accurately digitally, but historically it has been done by an analog circuit that has frequency-dependent errors. To be completely accurate, we generally like to let a bit of our own transmit signal "leak" into our receive path because it sounds more pleasant. This leakage is referred to as sidetone. We will not worry about sidetone in this blog post.
Data Access Arrangement (DAA)
A circuit designed to interface safely to a standard, single wire-pair phone line. It usually contains a transformer and surge protection circuits.
Line Impedance
The wire pair that enters your home (i.e. phone line or line) has an impedance that varies based on a number of factors (wire gauge, length, loads, etc). We generally assume the line impedance to be 600 Ω (real), but this is a very crude working assumption. It actually varies significantly, yet we expect our phones to work acceptably no matter where we plug them in. This post is about how to minimize the phone's performance variation with line impedance. If you want to understand the 600 Ω from a bit more theoretical standpoint, see this excellent discussion.
Conformal Mapping
A mathematical mapping that transforms circles to circles and straight lines to straight lines.

Problem Statement

Figure 1 shows the circuit that we will be discussing here.

Figure 1: Schematic of the Hybrid Circuit Under Consideration.

Figure 1: Schematic of the Hybrid Circuit Under Consideration.

Given this circuit, the basic problem statement is simple.

Select component values for R1, R2 and C2 in the circuit of Figure 1 that will minimize the maximum amount of transmit signal that will "leak" onto the receive wire pair.

Approach

The basic approach is simple.

  • For a given range of phone line impedances, find the input impedance of the DAA.

    We will draw a circle around the range of line impedances that we want to ensure good phone operation. Because the DAA transfer function is a conformal mapping, this circular region of phone line impedances will translate to a circular region of DAA impedances.

  • For a given range of DAA impedances and an assumed gain between the transmit amplifier and the receive amplifier, compute the overall gain from the transmit amplifier to the receive amplifier.

    The gain between the transmit amplifier to the receive amplifier is the system parameter we are concerned with minimizing. Figure 4 illustrates how this calculation is performed. In this case, we are minimizing the circuit gain and are not considering components at all.

  • Vary the assumed amplifier gain until we find the gain that minimized the transmit gain to receive gain value.

    This is the gain that we want to ensure that its maximum value is as small as we can make it.

  • Compute the component values required to generate the minimum transmit-to-receiver gain.

    This is a simple algebra problem.

Analysis

Range of Phone Line Impedances

Figures 2 and 3 show the range of phone line impedances at 1 kHz and 3 kHz (respectively) we will be working. These figures contain the following information:

  • The filled irregularly shaped regions represent the range of phone line impedances and how often we expect to encounter them. Three levels of occurrence frequency are represented: (dark blue) very common, (white) moderate occurrence, and (light blue) rarely occur.
  • The red axis were inserted by me in Dagra, a program that I use to digitize graphic data. I used Dagra to help me position the purple impedance circles.
  • The purple circles mark the range of impedances that my Mathcad routine will be minimizing the transmit-to-receive path gain.

Figure 2: Phone Line Impedance Likelihoods at 1 kHz.

Figure 2: Phone Line Impedance Likelihoods at 1 kHz.

Figure 3: Phone Line Impedance Likelihoods at 3 kHz.

Figure 3: Phone Line Impedance Likelihoods at 3 kHz.

Mapping from Line Impedance to DAA Impedance

In the article, the author actually measures the DAA impedances when it is attached to three impedances that equal the three phone line impedances that we used to define our circular region of phone line impedances. All we need to do is convert the line phone line impedances to resistor and capacitor values that will generate the equal impedance values at the chosen frequency. I generate the phone line equivalent impedances using the component values computed in Figure 4.

Figure 4: Passive Components Required to Generate Equivalent Phone Line Impedances.

Figure 4: Passive Components Required to Generate Equivalent Phone Line Impedances.

These resistor and capacitor value combinations are connected to the DAA as phone line impedance simulators.

Mapping from DAA Impedance to Gain Values

Rather than working with component values directly, we can model the system using a transmit-to-receive path transfer function A(j·ω). We can then determine the complex gain at specific frequencies that we require to minimize the transmit-to-receive path gain. Figure 5 shows the circuit model for this approach.

Figure 5: Block Diagram of the Hybrid Circuit Using a Gain Model.

Figure 5: Block Diagram of the Hybrid Circuit Using a Gain Model.

We will find the value of A(j·ω) at specific frequencies that will minimize the transmit-to-receive path gain using Equation 1.

Eq. 1 {{G}_{T2R}}\left( j\cdot \omega \right)=2\cdot A\left( j\cdot \omega \right)-\frac{{{Z}_{DAA}}\left( j\cdot \omega ,{{Z}_{PhoneLine}} \right)}{600\Omega +{{Z}_{DAA}}\left( j\cdot \omega ,{{Z}_{PhoneLine}} \right)}

where

  • A(j·w) is the complex transformation applied to the transmit signal (unitless)
  • ZDAA is the impedance of the DAA (Ω), which is a function of frequency and the phone line impedance (ZPhoneLine).

Finding Optimum Gain and Computing the Associated Component Values

Figure 6 is an excerpt from the article that shows how the maximum gain for a given set of DAA impedances is computed. We are just computing the magnitude of the largest complex gain we can generate.

Figure 6: Geometric View of Determining Maximum Gain.

Figure 6: Geometric View of Determining Maximum Gain.

For details on how I compute the center point and radius of the circle generated by the three gain point, see Appendix A.

Once we have the maximum gain computed, we can compute the component values that will minimize this gain. Figure 7 shows how I derived equations for the passive component values as a function of the complex gain A(j·ω).

Figure 7: Development of Equations to Solve for Passive Component Values.

Figure 7: Develop of Equations to Solve for Passive Component Values.

Figure 8 shows the calculation of the specific component values.

Figure 8: Determination of Specific Component Values for the Hybrid.ues

Figure 8: Determination of Specific Component Values for the Hybrid.ues

Conclusion

I reworked the example from this paper using Mathcad and have duplicated the paper's original results. I will be using a routine very similar to this one to solve an actual problem that I am working on right now.

Appendix A: Circle Parameters from Three Points

Figure 9 show my derivation of the equations for computing the center coordinates and radius of a circle given three points on the circumference.

Figure 9: Determine a Circle's Center and Radius Using 3 Points.

Figure 9: Determine a Circle's Center and Radius Using 3 Points.

Posted in Electronics | 4 Comments