Advertisement

Blog

Units, Pseudo-Units, Scaling Factors, and Units Conversion

Physical quantities are represented mathematically by numbers indicating their amount . Depending on whether the quantity is discrete or continuous, integers, rational numbers, or real numbers are used. Quantities such as the complex frequency, s , require complex numbers. All of these numbers, however, are incomplete in themselves in that they do not adequately represent physical quantities. The additional connection between numbers and the physical world is achieved through the use of units .

A unit is the amount of a quantity that is one of it, the “unity” amount – hence the name for “unit”. A unit is something that exists in the physical world, not in mathematics as such, and is brought into math as a symbol that is attached to the number representing the amount of the quantity. For instance, through physical description, an ampere of current is a certain amount of the familiar quantity, with a standard abbreviation of A. If the amount of current in amperes is a number, n , then n A is a complete mathematical description of the value of the quantity.

Units and Computer Math

The mathematical relationship between the amount and unit is essentially that of multiplication. Although the unit is not a number and thus cannot be multiplied, it can be treated as though it were a number, to allow mixing amounts and units in units conversion. More precisely, the amount and unit form a couple defining the value of the quantity. Computer math programs have necessitated the refinement of mathematical notation in that a more rigorous way to specify the quantity is n x A. This is n times the amount of one ampere, which has an unambiguous physical value.

Units are thus able to be accounted for mathematically and regarded as constants. Their actual values must come from physical interpretation and cannot be computed or derived mathematically. This does not prevent us from combining them mathematically, and even defining them using predefined units. Systems of units, such as the metric (MKS, or the present refinement, the SI) or English, reduce the number of independent units to only a few, such as length, time, mass, and charge. The metric system includes mass as a fundamental quantity and force is expressed in fundamental quantities. In the English system, force is regarded as fundamental, leading to pounds-force (lbf) as a distinct quantity from pounds-mass (lbm) or slugs.

Pseudo-Units and Scaling Indicators

Some mathematical constructs are sometimes made to appear as units but they are scale factors instead. The decibel (dB) is defined as

where x is expressed in dB. Although “dB” is written after the number x indicating how many dBs, dB is not really a unit. It cannot be expressed in the fundamental units of the SI system. It can only be applied to unitless quantities, or numbers; x must be unitless. Sometimes “dB” is written in parentheses after the symbol for the quantity to show that “dB” is not a unit but that the quantity is scaled (logarithmically) in dB, as defined above. It can be used with quantities that have units, such as power, p , measured in units of watts, W, but only as ratios;

where p (dB) is power, expressed in decibels with respect to P , the reference amount of power that is 0 dB. Logarithmic scaling is used to compress quantities that range over many decades into a more convenient scale, allowing us to think of amounts in powers of ten rather than the amounts themselves.

To be consistent with the above use of the dB scale to scale power, then voltage or current, x , both of which vary as the square with respect to power are expressed in a consistent logarithmic scale as

where X is the reference (0 dB) value of x . In all cases, x and X must be in the same (or convertible) units so that their ratio is unitless.

It is not necessary to use dB for logarithmic scaling. In electrical engineering, it has become commonplace, but logarithmic scaling of quantities can be presented in the more natural scale of octaves or decades. This avoids confusion with reference quantities. (Is it 10 or 20 dB per decade?) I have quit using dB and have reverted to the less cumbersome decade (dec) or octave (oct) for logarithmic scaling, where “orders of magnitude” are decades . Please join me in reviving the decade as the logarithmic scale factor in preference to dB.

Another quantity that is not really a unit either is the radian (rad). There are 2π radians per revolution or cycle of a circle. In trigonometry, the measure of angle is defined based on the unit circle, a circle of radius one with center at the origin, (x , y ) = (0, 0) of the coordinate system. Then the definition of sine and cosine of angle θ is: x = cosθ and y = sinθ . This is basic trigonometry and does not involve physical quantities directly. The distance along the circumference of the circle equal to the radius is subtended by an arc having an angle of 1 radian, by definition. Yet there is nothing requiring that a unit of angular measure be introduced. The angle subtended is a ratio of lengths, of that along the circumference over the radius.

The motivation to call this ratio a unit arises because of other angular measures. I know of three. Besides the grad, which is a kind of decimal degree and a European measure that divides the circle into 400 parts (an even 100 per quadrant), there are revolutions (or cycles) and degrees. The degree is an angular measure shrouded in ancient history, going back to the Chaldeans, with their dual base-6, base-10 mathematics and 360-day year. The year is, of course, associated with the earth going around the sun in the circle of its orbit, and it is not unexpected that the circle would be divided into 360 degrees of angle. This is more of a physically derived unit of angle – indeed, a geocentric measure – than purely mathematical. Consequently, the degree as an angular scaling indicator, despite how deeply entrenched it is in engineering and science, is an artificial and somewhat arbitrary measure. I have begun to disabuse myself of it, preferring instead the more natural measures of radian and revolution.

In both DSP and control theory, for instance, these arise naturally, and to think in them simplifies conceptual understanding by eliminating an unnecessary construct, the degree. The obvious disadvantage in abandoning degrees is that decimal radians are not as simple to remember as degrees. However, rational fractions of π are, so that π /6, for instance, is no more awkward than 30o once you become used to it. Trying to remember decimal π /6 ≈ 0.5236 is not the way to go; 30o is easier to remember, but so is π /6. And it is as easy to calculate that π /6 is 1/12 of a revolution of 2π than is 30o of 360o .

In electrical engineering, frequency is expressed in inverse seconds, s−1 , though sometimes rad/s is used for radians per second. However, in carrying out math on units, there is often nothing to cancel the radians “unit”. It is a pseudo-unit, a scaling factor given a name to distinguish it from degrees and revolutions. In this use, it functions well, but to apply it as a unit can lead to puzzlement and confusion. It is better to not introduce it as a unit into engineering calculations. It functions as a scale factor for angles. Hence, natural frequency is expressed in units of s−1 .

As a scaling factor, the relationship between radians and revolutions is simply that there are π rad/rev and

where a revolution (rev), as used more commonly in mechanical engineering, is the same as a cycle in electrical engineering.

One occurrence of the need to resolve angular units (again, involving frequency) are in transfer functions in the s -domain. In normalized form, however, transfer functions are written as a ratio of frequencies. For instance,

has a zero at ωz and a pole at the origin. The origin pole crosses the unity-gain (0 dec) axis at a frequency of ω0 . Although ω0 is not a break frequency, it is the frequency to use in the ratio of the pole at the origin because at s = ω0 (or more properly, at s = jω = jω0 ), ||s / ω|| = 1 just as the zero is at s = ωz . The s -dependent factor of G (s ) (the rational function in parentheses) is thereby reduced to one at zero frequency (s = 0 s −1 ) whenever there are no poles or zeros at the origin. Poles at the origin make the value of the transfer function magnitude infinite at 0 Hz or 0 s −1 , and it makes no sense in that case to talk of the static (dc) gain. It is not G0 ; it is infinite. However, by setting the value of the “static gain”, G0 , as the value at G(ω0 ), the transfer function in its normalized form still has a useful meaning when the s -dependent factor is equal to one.

With frequency ratios in use, the convention of using ω to represent frequency in s −1 and f in Hz (≡ rev/s) is somewhat of an artifice of convenience and not really a necessity. ω and f represent the same quantity, though the different symbols indicate which scaled unit for frequency is used. In any engineering equation, units must be reconciled, and in transfer functions for which quantities of frequency always occur in ratios, they can be either in s −1 or Hz (or even degrees/second), as long as both quantities of the ratio have the same scale factors which cancel.

Units Conversions

Conversion from one unit to another for a given physical quantity can sometimes be perplexing. Most units differ from each other by a multiplier. Exceptions are temperature units of Celsius, o C, and Kelvin, K, or Fahrenheit, o F, and Rankine, R; both pairs differ by a difference, not a scale factor. (This drives math programs such as MathCAD slightly berserk.) Perhaps this is another case where it might be best to settle for the natural units, K (and R), which in thermodynamics are natural units that fall out of the theory itself. (Display manufacturers could get behind this, for electronic displays of ambient temperature in Kelvin or Rankine would require an additional digit, thereby increasing per-digit display sales for this market sector by 50 %.)

Returning to Hz and s −1 in math programs, both units reduce to the fundamental unit of time, s . The 2π is a scale factor, and, in MathCAD,

Alternatively, defining s −1 in Hz can cause trouble because Hz is not a fundamental unit.

Perhaps we are at an advantage being electronics engineers instead of mechanical or chemical engineers, for we rarely have to deal with the plethora of units for pressure. It can be measured in inches or mm or μm of water or mercury, in psi, in torr or atmospheres or bars, or in pascals (Pa), the basic metric unit that is N/m2 , where N is a newton, the basic metric unit of force, with units of kg x m/s2 . Electricity and magnetism as subjects of study, having arrived relatively recently in human history, have no English units and are traditionally metric (though CGS ab-quantities are still around among some physicists). With the accelerated pace of conversion to metric (SI, that is), even circuit boards are now being laid out with a metric scale and as IC packages shrink, they shrink in conformance with metric pin pitches. In a few more years, the whole world will have a single system of measure. Future generations will not be (as) troubled with having to carry out tedious and conceptually unproductive units conversions.

Are There Divinely Given Units?

As a historical side-note only tangentially related to electronics (yet bound to be interesting to some electronics engineers), the metric and English units of length are related exactly, historically. Over the last few hundred years, refinement of the definition of an inch has caused it to change by about 0.1 % from its ancient source, rooted in the cubit, as derived from accurate length measurements of the Great Pyramid at Giza in Egypt. There are 25 pyramid inches per cubit. (One rather extensive work in print, Great Pyramid Passages , by John and Morton Edgar (www.artisanpublishers.com), has a section, “The Great Pyramid unit of measure”, page 21 ff , that begins discussion of length units.) The cubit is defined as 1/10,000,000 the radius of the earth. The meter was originally defined as 1/10,000,000 the distance from the North Pole to the equator through a meridian that included Paris. There are 104 km per one-quarter the earth’s circumference, if we lay the imperfect sphericity of the earth aside. Given that both the cubit, for which

and the meter are based on the size of the earth, then the conversion from meters to cubits is exactly

Because the inch traces back to very ancient times, Britain was reticent to adopt the metric system in the 19th century. A couple of knighted astronomers who were advisors to the government believed that, because of the geometrical encoding of the Great Pyramid at Giza, the cubit and inch units were divinely given and chose to stay with them. (Britain’s progeny in America have held onto them the longest.) The Great Pyramid is itself a fascinating mystery of the ancient world which has an intricate geometric interrelationship of constructs that only in the last two centuries have been coming to light. Yet previous discoveries were made, such as that by Isaac Newton, who found two different units of area used in its construction. Various planetary parameters are encoded as length ratios in the pyramid, such as the average density of the earth and its average land elevation, to fairly accurate values. Modern pyramidologists – those who study the geometry of the Great Pyramid – are left to ponder how such geological information could have existed in the middle of the third millennium BCE. But whether the inch is a divinely-given unit or not, I leave that to you to decide. Yet the geometric encoding, no less its accuracy of construction, leaves the Great Pyramid as one of the mysteries of antiquity that stands today as evidence that the present classics-driven theory of ancient history is in need of major revision. But the persistence of units will remain.

2 comments on “Units, Pseudo-Units, Scaling Factors, and Units Conversion

  1. j.sinnett
    February 21, 2018

    Growing up, I never took any music courses, so when I got into college and the instructor in my introductory EE course started talking about “octave” ratios I was completely mystified.  I knew that “oct-” meant “eight” as in octagon, octopus, etc., but clearly the instructor was not talking about a ratio of 8:1.  So what was it about?  Eventually I doped out that it's a term pulled over from music theory, where one octave is a ratio of 2:1 in frequency.  But even there it's confusing!  The standard Western musical scale actually recognizes 12 equal increments of frequency (on a logarithmic scale) between a given note and its factor-of-two “octave”.  Some of these intervals are called “full steps” and some “half steps” so playing music in a “major scale” or a “minor scale” will use predominantly eight out of the twelve possible notes – but not always!  If it were up to me, I'd eliminate this confusing term from the EE's vocabulary, replacing it with a term that more clearly conveys the concept of a factor of two.

  2. D Feucht
    February 27, 2018

    J.,

    Your comment about “octave” being a misnomer pushes one of my hot-buttons – that of some other bad language in E.E. – namely the obsolete and ambiguous expressions dc and ac . (Is a “dc voltage” a current or a voltage? And what is so “direct” about it? Is it constant or merely unipolar?)

    So let's use decade and let octave , which like ac and dc is heavily embedded in the literature, be replaced by … what? What is your recommendation? With neologisms, one has to convince fellow E.E.s to change language habits, and that can be difficult.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.