## GCMC: Circular Slide Rule Scales

The Tektronix Circuit Computer, being a specialized circular slide rule, requires logarithmic scales bent around arcs:

Each decade spans 18°, except for the FL scale’s 36° span to extract the square root of the LC product:

``FL = 1 / (2π · sqrt(LC))``

The tick marks can point inward or outward from their baseline radius, with corresponding scale labels reading either inward or outward.

There being no (easy) way to algorithmically set the tick lengths, I used a (pair of) tables (a.k.a. vector lists):

``````TickScaleNarrow = {
[1.0,TickMajor],
[1.1,TickMinor],[1.2,TickMinor],[1.3,TickMinor],[1.4,TickMinor],
[1.5,TickMid],
[1.6,TickMinor],[1.7,TickMinor],[1.8,TickMinor],[1.9,TickMinor],
[2.0,TickMajor],
[2.2,TickMinor],[2.4,TickMinor],[2.6,TickMinor],[2.8,TickMinor],
[3.0,TickMajor],
… and so on …``````

The first number in each vector is the tick value in the decade, the log of which corresponds to its angular position. The second gives its length, with three constants matching up to the actual lengths on the Tek scales.

The Circuit Computer labels only three ticks within each decade in the familiar (to EE bears, anyhow) 1, 2, 5 sequence. Their logs are 0.0, 0.3, and 0.7, spacing them neatly at the 1/3 decade points.

Pop quiz: If you wanted to label two evenly spaced ticks per decade, you’d mark 1 and …

Generating the L (inductance) scale on the bottom deck goes like this:

``````  Radius = DeckRad - ScaleSpace;

MinLog = -9;
MaxLog = 6;
Arc = -ScaleArc;

dec = 1;
offset = 0deg;
for (logval = MinLog; logval < MaxLog; logval++) {
a = offset + logval * Arc;
dec = (dec == 100) ? 1 : 10 * dec;
}

a = offset + MaxLog * Arc;

The L scale covers 1 nH to 1 MH (!), as set by the `MinLog` and `MaxLog` values. `Arc` sets the angular size of each decade from `ScaleArc`, with the negative sign indicating the values increase in the clockwise direction.

The first decade starts with a tick labeled 1, so `dec` = 1. The next decade has `dec` = 10 and the third has `dec` = 100. Maybe I should have used the log values 0, 1, and 2, but that seemed too intricate.

The angular `offset` is zero because this is the outermost scale, so 1.0 H will be at 0° (the picture is rotated about half a turns, so you’ll find it off to the left). All other scales on the deck have a nonzero offset to put their unit tick at the proper angle with respect to this one.

The scales have legends for each group of three decades, positioned in the middle of the group:

``````  logval = MinLog + 1.5;
a = offset + logval * Arc;
ArcLegend("nH - nanohenry  x10^-9",r,a,INWARD);

logval += 3;
a = offset + logval * Arc;
ArcLegend("μH - microhenry  x10^-6",r,a,INWARD);``````

I wish there were a clean way to draw exponents, as the GCMC Hershey font does not include superscripts, but the characters already live at the small end of what’s do-able with a ballpoint pen cartridge. Engraving will surely work better, but stylin’ exponents are definitely in the nature of fine tuning.

With all that in hand, the scales look just like they should: