Metric System Anomalies In Engineering and Tech

Mixed abbreviations
Mixed abbreviations

The International System of units (SI) defined many ways to express measurements in print.  Yet, hardware developers should be ready to encounter some variations on the SI system from time to time.  Below are 3 common examples that electronics developers and programmers should be aware of.

External Links: Links to external web pages have been provided as a convenience and for informational purposes only. Unboxing Tomorrow and Voxidyne Media bear no responsibility for the accuracy, legality, or content of the external site or for that of subsequent links. Contact the external site for answers to questions regarding its content.

RKM Code

RKM code notation replaces decimal points with a unit of measure.  That’s to say: everything normally located left of the decimal place is printed left of the unit, and the rest is placed on the right.  The method is frequently associated with resistors and capacitors (per IEC 60062:2016 “Marking codes for resistors and capacitors”) .  Yet, engineering documentation (especially schematics) may apply it to other measurable quantities such as voltage.

SI UNITSRKM EQUIVALENT
0.1 Ω0R1
100 Ω100R
3.3 kΩ3k3
33 kΩ33k
33 MΩ33M
3.3 V+3V3
2.7 V+2V7
1.8 V+1V8
Table 1: RKM code examples

The notation was created to address at least two problems in schematic capture.  The first deals with typography/fidelity problems caused by decimal point characters.  A decimal point’s small size makes it prone to loss during photocopying, compression, and other lossy image-transfer processes.  Secondly, not every text encoding standard has a code point for the omega symbol (Ω) of resistance; so RKM code represents electrical resistance an uppercase R.  RKM code is not mandatory by any means.

Decimal Prefix vs. Binary Prefix

The metric prefix system is based on exponential increases in the number 1000…

ENGLISHNOTATIONEXPONENTMULTIPLICAND
kilo1 k100011 000
Mega1 M100021 000 000
Giga1 G100031 000 000 000
Tera1 T100041 000 000 000 000
Table 2: Decimal-based prefixes

Digital data storage is usually structured in exponents of two.  The SI system’s letter prefixes were not made for this purpose, and can lead to confusion when applied to digital storage.  For example: a sales brochure may inaccurately express the amount of storage as “64 kB” which would mean 64,000 bytes under the SI system.  A trained student or professional may tacitly understand the storage will actually be 65,536 (which is 216).  But ultimately, this is open to interpretation.

The binary prefix system was created to address this discrepancy.

ENGLISHNOTATIONEXPONENTMULTIPLICAND
kibi1 ki102411 024
Megi1 Mi102421 048 576
Gibi1 Gi102431 073 741 824
Tebi1 Ti102441 099 511 627 776
Table 3: Binary-based prefixes

The two systems are still applied somewhat inconsistently between industries.  Even departments within the same organization may use different prefixes, so when in doubt: consider going straight to the source to ask for clarification.

Ad Hoc Prefixes in SPICE

SPICE (meaning: Simulation Program with Integrated Circuit Emphasis) was developed in the 20th century, and occasionally it diverges from the modern SI system.  Consequentially, the SPICE engine accepts (and expects) a few non-standard prefixes.

PLAIN ENGLISHQUANTITYSI SYSTEMSPICE System
Mega106MMEG
milli10-3mM
micro10-6µu
Table 4: Differences Between SI System and SPICE Metric Prefixes

Additionally, many modern SPICE simulators are case-insensitive.  Not only are “m” and “M” considered the same prefix; but typing “F” for “farad” will be read as “femto” (meaning 10-15).  So be mindful of SPICE prefixes when using the application.

Interestingly, LTspice XVII (version 17.0.35.0) appears to recognize RKM notation.

References

[1]National Institute of Standards and Technology, “NIST Special Publication 330: The International System of Units (SI),” 2019. [Online]. Available: https://doi.org/10.6028/NIST.SP.330-2019. [Accessed 20 Nov. 2019].

Important Notice: This article and its contents (the “Information”) belong to Unboxing-tomorrow.com and Voxidyne Media LLC. No license is granted for the use of it other than for information purposes. No license of any intellectual property rights is granted.  The Information is subject to change without notice. The Information supplied is believed to be accurate, but Voxidyne Media LLC assumes no responsibility for its accuracy or completeness, any error in or omission from it or for any use made of it.  Liability for loss or damage resulting from any reliance on the Information or use of it (including liability resulting from negligence or where Voxidyne Media LLC was aware of the possibility of such loss or damage arising) is excluded.