From b28f97f3526859633fde603764b827389279d10f Mon Sep 17 00:00:00 2001 From: Denis Chevalier Date: Mon, 10 Aug 2026 22:32:38 +0200 Subject: extract figures in separate files --- ...electric-absorption-noise-typical-magnitude.typ | 98 + charts/crosstalk-mathematical-model.typ | 63 + charts/opamp-voltage-noise-typical-magnitudes.typ | 57 + ...wer-supply-noise-coupling-typical-magnitude.typ | 68 + diagrams/backplane-connector-diagram.typ | 127 + diagrams/cassette-external-dimensions.typ | 221 ++ diagrams/cassette-ventilation.typ | 364 +++ diagrams/chassis-dimensional-requirements.typ | 477 +++ diagrams/db-25-connector-cutout.typ | 297 ++ diagrams/front-panel.typ | 252 ++ diagrams/l-channel-chassis.typ | 422 +++ diagrams/panels-grid.typ | 342 ++ diagrams/u-channel-cover.typ | 197 ++ electrical-specifications.typ | 266 +- listings/example-calibration-log.typ | 12 + mechanical-specifications.typ | 3264 +------------------- module-design.typ | 743 +---- tables/backplane-connector.typ | 22 + ...electric-absorption-noise-typical-magnitude.typ | 15 + tables/cassette-construction-parameters.typ | 12 + tables/cassette-external-dimensions.typ | 32 + tables/cassette-internal-dimensions.typ | 12 + tables/cassette-ventilation.typ | 18 + tables/chassis-capacity.typ | 14 + tables/chassis-cassette-rails-geometry.typ | 18 + tables/chassis-cassette-rails-retention.typ | 12 + tables/chassis-compliance.typ | 10 + tables/chassis-cooling-method.typ | 10 + tables/chassis-emi-shielding.typ | 15 + tables/chassis-front-panel-elements.typ | 33 + tables/chassis-grounding.typ | 13 + tables/chassis-mains-isolation.typ | 13 + tables/chassis-material.typ | 13 + tables/chassis-module-interface-dimensions.typ | 17 + tables/chassis-ventilation.typ | 14 + tables/circuit-and-component-parameters.typ | 32 + tables/crosstalk-typical-magnitude.typ | 16 + tables/db-25-connector-cutout.typ | 26 + tables/drift-rate-derivation.typ | 14 + tables/electrical-quantities.typ | 21 + tables/error-and-precision-quantities.typ | 28 + tables/error-budgeting-introduction.typ | 14 + tables/examples-of-error-gates.typ | 12 + tables/fundamental-constants.typ | 13 + ...ses-and-parasitic-effects-typical-magnitude.typ | 30 + tables/loading-error.typ | 13 + tables/mathematical-operators-and-functions.typ | 22 + tables/noise-quantities.typ | 23 + tables/opamp-current-noise-typical-magnitude.typ | 14 + tables/opamp-voltage-noise-typical-magnitudes.typ | 16 + tables/out-of-domain-handling-strategies.typ | 16 + tables/panels-geometry.typ | 15 + tables/panels-grid-component-placement-rules.typ | 14 + tables/panels-grid-origin.typ | 15 + tables/panels-grid-positions.typ | 25 + tables/panels-jacks-color-coding.typ | 16 + tables/panels-labbeling.typ | 17 + tables/panels-zones.typ | 14 + tables/pcb-board-stackup.typ | 28 + tables/pcb-earth-ring-geometry.typ | 13 + tables/pcb-electrical-testing-requirements.typ | 15 + tables/pcb-ground-planes-agnd-plane.typ | 13 + tables/pcb-ground-planes-dgnd-zone.typ | 13 + ...cb-interconnect-zones-zone-a-pin-assignment.typ | 21 + tables/pcb-interconnect-zones-zone-a.typ | 19 + tables/pcb-interconnect-zones-zone-b.typ | 14 + .../pcb-keep-out-zones-mounting-holes-keep-out.typ | 11 + tables/pcb-keep-out-zones-perimeter-keep-out.typ | 13 + ...cb-mounting-strategy-mounting-holes-pattern.typ | 14 + ...-mounting-strategy-mounting-holes-positions.typ | 13 + tables/pcb-mounting-strategy.typ | 13 + tables/pcb-power-planes.typ | 16 + tables/pcb-silkscreen-requirements-l1.typ | 14 + tables/pcb-silkscreen-requirements-l4.typ | 12 + tables/pcb-standard-dimensions.typ | 16 + tables/pcb-surface-finish.typ | 18 + ...eter-wiper-noise-and-wear-typical-magnitude.typ | 30 + tables/power-distribution-board-functions.typ | 24 + tables/power-distribution-board-power-entry.typ | 14 + ...wer-supply-noise-coupling-typical-magnitude.typ | 12 + .../precision-measurements-conditions-summary.typ | 30 + tables/precision-tiers-summary.typ | 23 + tables/protective-earth.typ | 13 + tables/selv-circuits.typ | 12 + tables/snr-and-noise-floor-resolution.typ | 12 + tables/thermal-quantities.typ | 22 + tables/time-domain-and-modulation-quantities.typ | 17 + tables/unit-prefixes.typ | 17 + .../voltage-and-current-subscript-conventions.typ | 22 + 89 files changed, 4339 insertions(+), 4174 deletions(-) create mode 100644 charts/capacitor-dielectric-absorption-noise-typical-magnitude.typ create mode 100644 charts/crosstalk-mathematical-model.typ create mode 100644 charts/opamp-voltage-noise-typical-magnitudes.typ create mode 100644 charts/power-supply-noise-coupling-typical-magnitude.typ create mode 100644 diagrams/backplane-connector-diagram.typ create mode 100644 diagrams/cassette-external-dimensions.typ create mode 100644 diagrams/cassette-ventilation.typ create mode 100644 diagrams/chassis-dimensional-requirements.typ create mode 100644 diagrams/db-25-connector-cutout.typ create mode 100644 diagrams/front-panel.typ create mode 100644 diagrams/l-channel-chassis.typ create mode 100644 diagrams/panels-grid.typ create mode 100644 diagrams/u-channel-cover.typ create mode 100644 listings/example-calibration-log.typ create mode 100644 tables/backplane-connector.typ create mode 100644 tables/capacitor-dielectric-absorption-noise-typical-magnitude.typ create mode 100644 tables/cassette-construction-parameters.typ create mode 100644 tables/cassette-external-dimensions.typ create mode 100644 tables/cassette-internal-dimensions.typ create mode 100644 tables/cassette-ventilation.typ create mode 100644 tables/chassis-capacity.typ create mode 100644 tables/chassis-cassette-rails-geometry.typ create mode 100644 tables/chassis-cassette-rails-retention.typ create mode 100644 tables/chassis-compliance.typ create mode 100644 tables/chassis-cooling-method.typ create mode 100644 tables/chassis-emi-shielding.typ create mode 100644 tables/chassis-front-panel-elements.typ create mode 100644 tables/chassis-grounding.typ create mode 100644 tables/chassis-mains-isolation.typ create mode 100644 tables/chassis-material.typ create mode 100644 tables/chassis-module-interface-dimensions.typ create mode 100644 tables/chassis-ventilation.typ create mode 100644 tables/circuit-and-component-parameters.typ create mode 100644 tables/crosstalk-typical-magnitude.typ create mode 100644 tables/db-25-connector-cutout.typ create mode 100644 tables/drift-rate-derivation.typ create mode 100644 tables/electrical-quantities.typ create mode 100644 tables/error-and-precision-quantities.typ create mode 100644 tables/error-budgeting-introduction.typ create mode 100644 tables/examples-of-error-gates.typ create mode 100644 tables/fundamental-constants.typ create mode 100644 tables/inductor-losses-and-parasitic-effects-typical-magnitude.typ create mode 100644 tables/loading-error.typ create mode 100644 tables/mathematical-operators-and-functions.typ create mode 100644 tables/noise-quantities.typ create mode 100644 tables/opamp-current-noise-typical-magnitude.typ create mode 100644 tables/opamp-voltage-noise-typical-magnitudes.typ create mode 100644 tables/out-of-domain-handling-strategies.typ create mode 100644 tables/panels-geometry.typ create mode 100644 tables/panels-grid-component-placement-rules.typ create mode 100644 tables/panels-grid-origin.typ create mode 100644 tables/panels-grid-positions.typ create mode 100644 tables/panels-jacks-color-coding.typ create mode 100644 tables/panels-labbeling.typ create mode 100644 tables/panels-zones.typ create mode 100644 tables/pcb-board-stackup.typ create mode 100644 tables/pcb-earth-ring-geometry.typ create mode 100644 tables/pcb-electrical-testing-requirements.typ create mode 100644 tables/pcb-ground-planes-agnd-plane.typ create mode 100644 tables/pcb-ground-planes-dgnd-zone.typ create mode 100644 tables/pcb-interconnect-zones-zone-a-pin-assignment.typ create mode 100644 tables/pcb-interconnect-zones-zone-a.typ create mode 100644 tables/pcb-interconnect-zones-zone-b.typ create mode 100644 tables/pcb-keep-out-zones-mounting-holes-keep-out.typ create mode 100644 tables/pcb-keep-out-zones-perimeter-keep-out.typ create mode 100644 tables/pcb-mounting-strategy-mounting-holes-pattern.typ create mode 100644 tables/pcb-mounting-strategy-mounting-holes-positions.typ create mode 100644 tables/pcb-mounting-strategy.typ create mode 100644 tables/pcb-power-planes.typ create mode 100644 tables/pcb-silkscreen-requirements-l1.typ create mode 100644 tables/pcb-silkscreen-requirements-l4.typ create mode 100644 tables/pcb-standard-dimensions.typ create mode 100644 tables/pcb-surface-finish.typ create mode 100644 tables/potentiometer-wiper-noise-and-wear-typical-magnitude.typ create mode 100644 tables/power-distribution-board-functions.typ create mode 100644 tables/power-distribution-board-power-entry.typ create mode 100644 tables/power-supply-noise-coupling-typical-magnitude.typ create mode 100644 tables/precision-measurements-conditions-summary.typ create mode 100644 tables/precision-tiers-summary.typ create mode 100644 tables/protective-earth.typ create mode 100644 tables/selv-circuits.typ create mode 100644 tables/snr-and-noise-floor-resolution.typ create mode 100644 tables/thermal-quantities.typ create mode 100644 tables/time-domain-and-modulation-quantities.typ create mode 100644 tables/unit-prefixes.typ create mode 100644 tables/voltage-and-current-subscript-conventions.typ diff --git a/charts/capacitor-dielectric-absorption-noise-typical-magnitude.typ b/charts/capacitor-dielectric-absorption-noise-typical-magnitude.typ new file mode 100644 index 0000000..d15bfb4 --- /dev/null +++ b/charts/capacitor-dielectric-absorption-noise-typical-magnitude.typ @@ -0,0 +1,98 @@ +#import "../lib/unify.typ": qty, unit +#import "@preview/cetz:0.5.2" +#import "@preview/cetz-plot:0.1.4": plot + +#figure( + cetz.canvas({ + import cetz.draw: * + + plot.plot( + size: (12, 9), + y-mode: "log", + x-label: [Time $t$ ($unit("s")$)], + y-label: [Residual Voltage $V_upright("DA")$ ($unit("mV")$)], + x-min: 0.001, + x-max: 9, + y-min: 0.01, + y-max: 500, + x-grid: "minor", + y-grid: "minor", + { + // 200 uV (0.2 mV) Metrologic systematic error budget limit + plot.add( + ((0.001, 0.2), (10, 0.2)), + style: ( + stroke: (paint: luma(120), thickness: 0.8pt, dash: "dash-dotted"), + ), + label: [Budget limit ($qty(200, "uV")$)], + ) + // Ceramic X7R (DA = 2.5%, 10 V step -> 250 mV initial soakage peak) + plot.add( + style: (stroke: (dash: "solid")), + label: [Ceramic (X7R / Class 2)], + domain: (0.001, 10), + samples: 10000, + t => ( + 250 + * ( + 0.5 * calc.exp(-t / 0.01) + 0.3 * calc.exp(-t / 0.1) + 0.2 * calc.exp(-t / 1.0) + ) + ), + ) + // Polypropylene PP (DA = 0.05%, 10 V step -> 5 mV initial soakage peak) + plot.add( + style: (stroke: (dash: "dotted")), + label: [Polypropylene (PP)], + domain: (0.001, 10), + samples: 10000, + t => ( + 5 + * ( + 0.5 * calc.exp(-t / 0.01) + 0.3 * calc.exp(-t / 0.1) + 0.2 * calc.exp(-t / 1.0) + ) + ), + ) + // Polystyrene PP (DA = 0.002, 10 V step -> 2 mV initial soakage peak) + plot.add( + style: (stroke: (dash: "dashed")), + label: [Polystyrene (PS)], + domain: (0.001, 10), + samples: 10000, + t => ( + 2 + * ( + 0.5 * calc.exp(-t / 0.01) + 0.3 * calc.exp(-t / 0.1) + 0.2 * calc.exp(-t / 1.0) + ) + ), + ) + // Teflon PTFE (DA = 0.001, 10 V step -> 1 mV initial soakage peak) + plot.add( + style: (stroke: (dash: "dash-dotted")), + label: [Teflon (PTFE)], + domain: (0.001, 10), + samples: 10000, + t => ( + 1 + * ( + 0.5 * calc.exp(-t / 0.01) + 0.3 * calc.exp(-t / 0.1) + 0.2 * calc.exp(-t / 1.0) + ) + ), + ) + // Class 1 C0G/NP0 Ceramic (DA = 0.005%, 10 V step -> 0.5 mV initial soakage peak) + plot.add( + style: (stroke: (dash: (6pt, 2pt, 2pt, 2pt))), + label: [Class 1 (C0G/NP0)], + domain: (0.001, 10), + samples: 10000, + t => ( + 0.5 + * ( + 0.5 * calc.exp(-t / 0.01) + 0.3 * calc.exp(-t / 0.1) + 0.2 * calc.exp(-t / 1.0) + ) + ), + ) + }, + ) + }), + caption: [Capacitor dielectric absorption residual voltage relaxation ($V_upright("DA")$) over time following a $qty(10, "V")$ step voltage reset, comparing dielectric classes against the $qty(200, "uV")$ systematic error budget], +) diff --git a/charts/crosstalk-mathematical-model.typ b/charts/crosstalk-mathematical-model.typ new file mode 100644 index 0000000..7701ed9 --- /dev/null +++ b/charts/crosstalk-mathematical-model.typ @@ -0,0 +1,63 @@ +#import "../lib/unify.typ": qty, unit +#import "@preview/cetz:0.5.2" +#import "@preview/cetz-plot:0.1.4": plot + +#figure( + cetz.canvas({ + import cetz.draw: * + + plot.plot( + size: (12, 6), + x-mode: "log", + x-label: [Frequency $f$ ($unit("Hz")$)], + y-label: [Coupled Voltage $V_"coupled"$ ($unit("mV")$)], + x-min: 10, + x-max: 100000, + y-min: 0.001, + y-max: 65, + x-grid: "minor", + y-grid: "minor", + { + // 20 kHz System Bandwidth limit vertical reference line + plot.add( + ((20000, 0.001), (20000, 100)), + style: ( + stroke: (paint: luma(120), thickness: 0.8pt, dash: "dashed"), + ), + label: none, + ) + + // Unshielded PCB trace: C_mutual = 1 pF, Z_victim = 10 kOhm + plot.add( + style: (stroke: (dash: "solid")), + label: [Unshielded trace \ + ($qty(1, "pF"), qty(10, "kilo ohm")$)], + domain: (10, 100000), + samples: 8000, + f => 2 * calc.pi * f * 1e-12 * 10000 * 10 * 1000, // in mV + ) + + // Low-impedance node: C_mutual = 1 pF, Z_victim = 1 kOhm + plot.add( + style: (stroke: (dash: "dashed")), + label: [Low-impedance node \ + ($qty(1, "pF"), qty(1, "kilo ohm")$)], + domain: (10, 100000), + samples: 8000, + f => 2 * calc.pi * f * 1e-12 * 1000 * 10 * 1000, // in mV + ) + + // Guard trace shielding: C_mutual = 0.05 pF, Z_victim = 10 kOhm + plot.add( + style: (stroke: (dash: "dotted")), + label: [Guard trace shielded \ + ($qty(0.05, "pF"), qty(10, "kilo ohm")$)], + domain: (10, 100000), + samples: 8000, + f => 2 * calc.pi * f * 0.05e-12 * 10000 * 10 * 1000, // in mV + ) + }, + ) + }), + caption: [Capacitive crosstalk coupled voltage ($V_"coupled"$) vs. frequency across different PCB layout conditions, demonstrating the $qty(20, "decibel per decade")$ slope up to the $qty(20, "kHz")$ system bandwidth boundary], +) diff --git a/charts/opamp-voltage-noise-typical-magnitudes.typ b/charts/opamp-voltage-noise-typical-magnitudes.typ new file mode 100644 index 0000000..2e926dd --- /dev/null +++ b/charts/opamp-voltage-noise-typical-magnitudes.typ @@ -0,0 +1,57 @@ +#import "../lib/unify.typ": qty, unit +#import "@preview/cetz:0.5.2" +#import "@preview/cetz-plot:0.1.4": plot + +#figure( + cetz.canvas({ + import cetz.draw: * + + plot.plot( + size: (12, 6), + x-mode: "log", + x-label: [Frequency $f$ ($unit("Hz")$)], + y-label: [$e_n(f)$ ($unit("nano volt per shertz")$)], + x-min: 0.1, + x-max: 100000, + y-min: 0.5, + y-max: 50, + x-grid: "minor", + y-grid: "minor", + { + // General purpose (TL072): e_white = 18 nV/sqrt(Hz), fc = 200 Hz + plot.add( + style: (stroke: (dash: "solid")), + label: [TL07x], + domain: (0.1, 100000), + samples: 8000, + f => 18 * calc.sqrt(1 + 200 / f), + ) + // Low noise (OPA211): e_white = 1.1 nV/sqrt(Hz), fc = 10 Hz + plot.add( + style: (stroke: (dash: "dashed")), + label: [OPA211], + domain: (0.1, 100000), + samples: 8000, + f => 1.1 * calc.sqrt(1 + 10 / f), + ) + // Precision low noise (LT1028): e_white = 0.85 nV/sqrt(Hz), fc = 3.5 Hz + plot.add( + style: (stroke: (dash: "dotted")), + label: [LT1028], + domain: (0.1, 100000), + samples: 8000, + f => 0.85 * calc.sqrt(1 + 3.5 / f), + ) + // Chopper stabilized (LTC2057): e_white = 7 nV/sqrt(Hz), fc = 1 Hz + plot.add( + style: (stroke: (dash: "dash-dotted")), + label: [LTC2057], + domain: (0.1, 100000), + samples: 8000, + f => 7 * calc.sqrt(1 + 1 / f), + ) + }, + ) + }), + caption: [Comparison of operational amplifier voltage noise spectral density curves across frequency], +) diff --git a/charts/power-supply-noise-coupling-typical-magnitude.typ b/charts/power-supply-noise-coupling-typical-magnitude.typ new file mode 100644 index 0000000..6a3a8d8 --- /dev/null +++ b/charts/power-supply-noise-coupling-typical-magnitude.typ @@ -0,0 +1,68 @@ +#import "../lib/unify.typ": qty, unit +#import "@preview/cetz:0.5.2" +#import "@preview/cetz-plot:0.1.4": plot + +#figure( + cetz.canvas({ + import cetz.draw: * + + plot.plot( + size: (12, 6), + x-mode: "log", + y-mode: "linear", + x-label: [Frequency $f$ ($unit("Hz")$)], + y-label: [$upright("PSRR")(f)$ ($unit("dB")$)], + x-min: 1, + x-max: 1000000, + y-min: 0, + y-max: 140, + x-grid: "minor", + y-grid: "minor", + { + // 500 kHz PWAM Carrier vertical reference line + plot.add( + ((500000, 0), (500000, 140)), + style: (stroke: (paint: luma(120), thickness: 0.8pt, dash: "dashed")), + label: none, + ) + // General purpose (TL07x): PSRR_DC = 100 dB, fp1 = 1 kHz, fp2 = 100 kHz + plot.add( + style: (stroke: (dash: "solid")), + label: [TL07x], + domain: (1, 1000000), + samples: 8000, + f => ( + 100 + - 10 * calc.log(1 + calc.pow(f / 1000, 2), base: 10) + - 10 * calc.log(1 + calc.pow(f / 100000, 2), base: 10) + ), + ) + // Low noise (OPA211): PSRR_DC = 130 dB, fp1 = 300 Hz, fp2 = 50 kHz + plot.add( + style: (stroke: (dash: "dotted")), + label: [OPA211], + domain: (1, 1000000), + samples: 8000, + f => ( + 130 + - 10 * calc.log(1 + calc.pow(f / 300, 2), base: 10) + - 10 * calc.log(1 + calc.pow(f / 50000, 2), base: 10) + ), + ) + // Precision low noise (LT1028): PSRR_DC = 120 dB, fp1 = 300 Hz, fp2 = 100 kHz + plot.add( + style: (stroke: (dash: "dashed")), + label: [LT1028], + domain: (1, 1000000), + samples: 8000, + f => ( + 120 + - 10 * calc.log(1 + calc.pow(f / 300, 2), base: 10) + - 10 * calc.log(1 + calc.pow(f / 100000, 2), base: 10) + ), + ) + }, + ) + }), + caption: [Power supply rejection ratio ($upright("PSRR")$) degradation across frequency, highlighting the reduced rejection at the $qty(500, "kHz")$ PWAM carrier frequency], +) diff --git a/diagrams/backplane-connector-diagram.typ b/diagrams/backplane-connector-diagram.typ new file mode 100644 index 0000000..0b2d254 --- /dev/null +++ b/diagrams/backplane-connector-diagram.typ @@ -0,0 +1,127 @@ +#import "../lib/unify.typ": qty +#import "@preview/cetz:0.5.2" + +#figure( + cetz.canvas({ + import cetz.draw: * + + let dx = 1.0 + let top-y = 0.55 + let bot-y = -0.55 + + // Outer mounting flange / metal ears + rect( + (-2.0, -1.4), + (14.0, 1.4), + rx: 0.2, + fill: luma(245), + stroke: 1pt + luma(100), + ) + + // Left and right chassis mounting screw holes + circle((-1.3, 0), radius: 0.35, fill: luma(220), stroke: 1pt + luma(120)) + circle((-1.3, 0), radius: 0.20, fill: white, stroke: 0.8pt + luma(100)) + circle((13.3, 0), radius: 0.35, fill: luma(220), stroke: 1pt + luma(120)) + circle((13.3, 0), radius: 0.20, fill: white, stroke: 0.8pt + luma(100)) + + // D-Sub trapezoidal shroud outline + line( + (-0.7, 1.15), + (12.7, 1.15), + (12.2, -1.15), + (-0.2, -1.15), + close: true, + fill: luma(230), + stroke: 1.5pt + black, + ) + + // Shell Earth ground connection reference + line((-0.45, -1.15), (-0.45, -2.0), stroke: ( + paint: luma(120), + thickness: 0.7pt, + dash: "dashed", + )) + content( + (-0.45, -2.05), + text(size: 7.5pt, weight: "bold")[Shell: Chassis Earth], + angle: -50deg, + anchor: "north-west", + ) + + // Top row pins (Pins 1 to 13) + let top-pins = ( + ("1", [$plus qty(15.00, "V")$]), + ("2", [$plus qty(15.00, "V")$]), + ("3", [$qty(-15.00, "V")$]), + ("4", [$qty(-15.00, "V")$]), + ("5", [AGND]), + ("6", [AGND]), + ("7", [AGND]), + ("8", [$plus qty(10.0000, "V")$ Force]), + ("9", [$plus qty(10.0000, "V")$ Sense]), + ("10", [$qty(-10.0000, "V")$ Force]), + ("11", [$qty(-10.0000, "V")$ Sense]), + ("12", [AGND]), + ("13", [AGND]), + ) + + // Bottom row pins (Pins 14 to 25) + let bot-pins = ( + ("14", [AGND]), + ("15", [AGND]), + ("16", [AGND]), + ("17", [DGND]), + ("18", [DGND]), + ("19", [$plus qty(5.0, "VD")$]), + ("20", [$qty(-5.0, "VD")$]), + ("21", [Stagger]), + ("22", [_Reserved_]), + ("23", [_Reserved_]), + ("24", [_Reserved_]), + ("25", [Chassis Earth]), + ) + + // Draw Top Pins (1-13) + for (i, p) in top-pins.enumerate() { + let x = i * dx + let p-num = p.at(0) + let p-sig = p.at(1) + + circle((x, top-y), radius: 0.26, fill: white, stroke: 1pt + black) + content((x, top-y), text(size: 7pt, weight: "bold")[#p-num]) + + line((x, top-y + 0.26), (x, 1.8), stroke: ( + paint: luma(120), + thickness: 0.6pt, + )) + content( + (x, 1.85), + text(size: 7.5pt)[#p-sig], + angle: 50deg, + anchor: "south-west", + ) + } + + // Draw Bottom Pins (14-25) + for (j, p) in bot-pins.enumerate() { + let x = (j + 0.5) * dx + let p-num = p.at(0) + let p-sig = p.at(1) + + circle((x, bot-y), radius: 0.26, fill: white, stroke: 1pt + black) + content((x, bot-y), text(size: 7pt, weight: "bold")[#p-num]) + + line((x, bot-y - 0.26), (x, -1.8), stroke: ( + paint: luma(120), + thickness: 0.6pt, + )) + content( + (x, -1.85), + text(size: 7.5pt)[#p-sig], + angle: -50deg, + anchor: "north-west", + ) + } + }), + caption: [DB-25 backplane connector physical pinout and signal allocation diagram.], +) diff --git a/diagrams/cassette-external-dimensions.typ b/diagrams/cassette-external-dimensions.typ new file mode 100644 index 0000000..61b0877 --- /dev/null +++ b/diagrams/cassette-external-dimensions.typ @@ -0,0 +1,221 @@ +#import "../lib/unify.typ": qty +#import "@preview/cetz:0.5.2" + +#figure( + cetz.canvas({ + import cetz.draw: * + + // Scale factor: 1 mm = 0.06 drawing units + let s = 0.06 + + let h-panel = 177.8 * s // 6.223 + let h-body = 165.1 * s // 5.7785 + let h-lip = 6.35 * s // 0.22225 + let w-panel = 38.0 * s // 1.33 + let d-body = 152.4 * s // 5.334 + let t-panel = 3.0 * s // 0.105 (exaggerated slightly for visual clarity) + + let y-center = 0 + let y-top-panel = h-panel / 2 + let y-bot-panel = -h-panel / 2 + let y-top-body = h-body / 2 + let y-bot-body = -h-body / 2 + + // --- FRONT ELEVATION --- + let x-front-left = 0 + let x-front-right = w-panel + let x-front-mid = w-panel / 2 + + // View Title + content((x-front-mid, y-top-panel + 0.8), text( + size: 9pt, + weight: "bold", + )[FRONT ELEVATION]) + + // Front Panel Outline + rect( + (x-front-left, y-bot-panel), + (x-front-right, y-top-panel), + fill: luma(250), + stroke: 1.2pt + black, + ) + + // Hidden Body Transition Lines (Dashed) + line( + (x-front-left, y-top-body), + (x-front-right, y-top-body), + stroke: (paint: luma(130), thickness: 0.7pt, dash: "dashed"), + ) + line( + (x-front-left, y-bot-body), + (x-front-right, y-bot-body), + stroke: (paint: luma(130), thickness: 0.7pt, dash: "dashed"), + ) + + // Panel Mounting Screw Holes (Top and Bottom Lips) + circle( + (x-front-mid, y-top-panel - h-lip / 2), + radius: 0.08, + fill: white, + stroke: 0.8pt + black, + ) + circle( + (x-front-mid, y-bot-panel + h-lip / 2), + radius: 0.08, + fill: white, + stroke: 0.8pt + black, + ) + + // Dimension: Panel Width (38.0 mm) + line( + (x-front-left, y-bot-panel), + (x-front-left, y-bot-panel - 0.6), + stroke: 0.5pt + luma(120), + ) + line( + (x-front-right, y-bot-panel), + (x-front-right, y-bot-panel - 0.6), + stroke: 0.5pt + luma(120), + ) + line( + (x-front-left, y-bot-panel - 0.6), + (x-front-right, y-bot-panel - 0.6), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.12, + stroke: 0.7pt + black, + ) + content((x-front-mid, y-bot-panel - 0.9), text( + size: 7.5pt, + )[$qty(38.0, "mm")$]) + + // Dimension: Panel Height (177.8 mm / 4U) + line( + (x-front-left, y-top-panel), + (x-front-left - 0.6, y-top-panel), + stroke: 0.5pt + luma(120), + ) + line( + (x-front-left, y-bot-panel), + (x-front-left - 0.6, y-bot-panel), + stroke: 0.5pt + luma(120), + ) + line( + (x-front-left - 0.6, y-bot-panel), + (x-front-left - 0.6, y-top-panel), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.12, + stroke: 0.7pt + black, + ) + content( + (x-front-left - 0.95, y-center), + text(size: 7.5pt)[$qty(177.8, "mm")$ ($qty(4, "U")$)], + angle: 90deg, + ) + + // --- SIDE ELEVATION --- + let x-side-start = 2.8 + let x-panel-back = x-side-start + t-panel + let x-body-rear = x-panel-back + d-body + let x-side-mid = (x-side-start + x-body-rear) / 2 + + // View Title + content((x-side-mid, y-top-panel + 0.8), text( + size: 9pt, + weight: "bold", + )[SIDE ELEVATION]) + + // Cassette Steel Body + rect( + (x-panel-back, y-bot-body), + (x-body-rear, y-top-body), + fill: luma(235), + stroke: 1.2pt + black, + ) + + // Front Panel Plate Attached to Body + rect( + (x-side-start, y-bot-panel), + (x-panel-back, y-top-panel), + fill: luma(210), + stroke: 1.2pt + black, + ) + + // Rear DB-25 Connector Standoff / Bezel Projection + rect( + (x-body-rear, y-center - 0.6), + (x-body-rear + 0.25, y-center + 0.6), + fill: luma(240), + stroke: 0.8pt + black, + ) + + // Dimension: Depth (152.4 mm) + line( + (x-panel-back, y-top-panel), + (x-panel-back, y-top-panel + 0.2), + stroke: 0.5pt + luma(120), + ) + line( + (x-body-rear, y-top-panel - 0.4), + (x-body-rear, y-top-panel + 0.2), + stroke: 0.5pt + luma(120), + ) + line( + (x-panel-back, y-top-panel + 0.2), + (x-body-rear, y-top-panel + 0.2), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.12, + stroke: 0.7pt + black, + ) + content(((x-panel-back + x-body-rear) / 2, y-top-panel + 0.4), text( + size: 7.5pt, + )[$qty(152.4, "mm")$]) + + // Dimension: Body Height (165.1 mm) + line( + (x-body-rear, y-top-body), + (x-body-rear + 0.6, y-top-body), + stroke: 0.5pt + luma(120), + ) + line( + (x-body-rear, y-bot-body), + (x-body-rear + 0.6, y-bot-body), + stroke: 0.5pt + luma(120), + ) + line( + (x-body-rear + 0.6, y-bot-body), + (x-body-rear + 0.6, y-top-body), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.12, + stroke: 0.7pt + black, + ) + content( + (x-body-rear + 0.9, y-center), + text(size: 7.5pt)[$qty(165.1, "mm")$], + angle: -90deg, + ) + + // Dimension: Top Lip Height (6.35 mm) + line( + (x-panel-back, y-top-panel), + (x-body-rear + 1.8, y-top-panel), + stroke: 0.4pt + luma(160), + ) + line( + (x-panel-back, y-top-body), + (x-body-rear + 1.8, y-top-body), + stroke: 0.4pt + luma(160), + ) + line( + (x-body-rear + 1.65, y-top-body), + (x-body-rear + 1.65, y-top-panel), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.10, + stroke: 0.7pt + black, + ) + content( + (x-body-rear + 2.2, (y-top-panel + y-top-body) / 2), + text(size: 7.0pt)[$qty(6.35, "mm")$], + ) + }), + caption: [Cassette enclosure orthographic projections (front and side elevation) detailing external physical dimensions and lip offsets], +) diff --git a/diagrams/cassette-ventilation.typ b/diagrams/cassette-ventilation.typ new file mode 100644 index 0000000..c353d4c --- /dev/null +++ b/diagrams/cassette-ventilation.typ @@ -0,0 +1,364 @@ +#import "../lib/unify.typ": qty +#import "@preview/cetz:0.5.2" + +#figure( + cetz.canvas({ + import cetz.draw: * + + // Scale factor: 1 mm = 0.045 drawing units + let s = 0.045 + + let face-d = 152.4 * s // Depth = 152.4 mm + let face-w = 35.7 * s // Width = 35.7 mm + + // Slot parameters + let slot-w = 2.5 * s // Slot width = 2.5 mm + let slot-l = 10.0 * s // Slot length = 10.0 mm + let slot-r = slot-w / 2 // Full corner radius = 1.25 mm + let row-pitch = 5.0 * s // 5 rows across width + let col-pitch = 12.0 * s // 12 columns across depth + + // Calculate array offsets to center slots on face + let row-start = (face-w - (4 * row-pitch)) / 2 + let col-start = (face-d - (11 * col-pitch + slot-l)) / 2 + + // ========================================== + // 1. TOP / BOTTOM FACE VENTILATION PATTERN (152.4 mm x 35.7 mm) + // ========================================== + let x-top-start = -0.5 + let y-top-start = 5.2 + let x-top-end = x-top-start + face-d + let y-top-end = y-top-start + face-w + let x-top-mid = (x-top-start + x-top-end) / 2 + let y-top-mid = (y-top-start + y-top-end) / 2 + + // View Title + content((x-top-mid, y-top-end + 0.7), text( + size: 9pt, + weight: "bold", + )[TOP / BOTTOM FACE VENTILATION PATTERN]) + content((x-top-mid, y-top-end + 0.35), text( + size: 7pt, + fill: luma(90), + )[(60 Slots per face: $5$ rows $times 12$ columns)]) + + // Main Plate Outline + rect( + (x-top-start, y-top-start), + (x-top-end, y-top-end), + fill: luma(250), + stroke: 1.2pt + black, + ) + + // 5 Rows x 12 Columns Slot Array with Full Corner Radius + for r in range(0, 5) { + let sy = y-top-start + row-start + r * row-pitch + for c in range(0, 12) { + let sx = x-top-start + col-start + c * col-pitch + rect( + (sx, sy - slot-w / 2), + (sx + slot-l, sy + slot-w / 2), + radius: slot-r, + fill: white, + stroke: 0.5pt + black, + ) + } + } + + // Depth Dimension (152.4 mm) + line( + (x-top-start, y-top-start), + (x-top-start, y-top-start - 0.5), + stroke: 0.4pt + luma(140), + ) + line( + (x-top-end, y-top-start), + (x-top-end, y-top-start - 0.5), + stroke: 0.4pt + luma(140), + ) + line( + (x-top-start, y-top-start - 0.45), + (x-top-end, y-top-start - 0.45), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.10, + stroke: 0.6pt + black, + ) + content((x-top-mid, y-top-start - 0.75), text( + size: 7.5pt, + )[$qty(152.4, "mm")$]) + + // Width Dimension (35.7 mm) + line( + (x-top-end, y-top-start), + (x-top-end + 0.5, y-top-start), + stroke: 0.4pt + luma(140), + ) + line( + (x-top-end, y-top-end), + (x-top-end + 0.5, y-top-end), + stroke: 0.4pt + luma(140), + ) + line( + (x-top-end + 0.45, y-top-start), + (x-top-end + 0.45, y-top-end), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.10, + stroke: 0.6pt + black, + ) + content( + (x-top-end + 0.75, y-top-mid), + text(size: 7.5pt)[$qty(35.7, "mm")$], + angle: -90deg, + ) + + // Column Pitch Indicator (12.0 mm) + let c0-x = x-top-start + col-start + slot-l / 2 + let c1-x = c0-x + col-pitch + line((c0-x, y-top-start), (c0-x, y-top-start - 1.2), stroke: ( + paint: luma(140), + thickness: 0.4pt, + dash: "dashed", + )) + line((c1-x, y-top-start), (c1-x, y-top-start - 1.2), stroke: ( + paint: luma(140), + thickness: 0.4pt, + dash: "dashed", + )) + line( + (c0-x, y-top-start - 1.15), + (c1-x, y-top-start - 1.15), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.5pt + black, + ) + content(((c0-x + c1-x) / 2, y-top-start - 1.35), text( + size: 6.5pt, + )[Column pitch: $qty(12.0, "mm")$ ($12$ cols)]) + + // Row Pitch Indicator (5.0 mm) + let r0-y = y-top-start + row-start + let r1-y = r0-y + row-pitch + line((x-top-start, r0-y), (x-top-start - 0.8, r0-y), stroke: ( + paint: luma(140), + thickness: 0.4pt, + dash: "dashed", + )) + line((x-top-start, r1-y), (x-top-start - 0.8, r1-y), stroke: ( + paint: luma(140), + thickness: 0.4pt, + dash: "dashed", + )) + line( + (x-top-start - 0.75, r0-y), + (x-top-start - 0.75, r1-y), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.5pt + black, + ) + content( + (x-top-start - 0.85, (r0-y + r1-y) / 2), + text(size: 6.5pt)[Row pitch: $qty(5.0, "mm")$ ($5$ rows)], + anchor: "east", + ) + + // ========================================== + // 2. SINGLE SLOT GEOMETRY DETAIL (Enlarged View) + // ========================================== + let x-detail-center = -1.0 + let y-detail-center = 1.8 + let detail-l = 2.8 // Magnified length (10.0 mm) + let detail-w = 0.7 // Magnified width (2.5 mm) + let detail-r = detail-w / 2 // Full radius (1.25 mm) + + let sx1 = x-detail-center - detail-l / 2 + let sx2 = x-detail-center + detail-l / 2 + let sy1 = y-detail-center - detail-w / 2 + let sy2 = y-detail-center + detail-w / 2 + + // View Title + content((x-detail-center, y-detail-center + 1.2), text( + size: 8.5pt, + weight: "bold", + )[SINGLE SLOT GEOMETRY DETAIL]) + content((x-detail-center, y-detail-center + 0.85), text( + size: 7pt, + fill: luma(90), + )[(Enlarged view: $qty(2.5, "mm") times qty(10.0, "mm")$ slot)]) + + // Centerlines + line( + (sx1 - 0.4, y-detail-center), + (sx2 + 0.4, y-detail-center), + stroke: (paint: luma(120), thickness: 0.4pt, dash: "dash-dotted"), + ) + line( + (x-detail-center, sy1 - 0.4), + (x-detail-center, sy2 + 0.4), + stroke: (paint: luma(120), thickness: 0.4pt, dash: "dash-dotted"), + ) + + // Magnified Rounded Stadium Slot Contour + rect( + (sx1, sy1), + (sx2, sy2), + radius: detail-r, + fill: white, + stroke: 1.2pt + black, + ) + + // Slot Length Dimension (10.0 mm) + line((sx1, sy1), (sx1, sy1 - 0.5), stroke: 0.4pt + luma(140)) + line((sx2, sy1), (sx2, sy1 - 0.5), stroke: 0.4pt + luma(140)) + line( + (sx1, sy1 - 0.45), + (sx2, sy1 - 0.45), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content((x-detail-center, sy1 - 0.7), text( + size: 7pt, + )[$qty(10.0, "mm")$ (parallel to depth)]) + + // Slot Width Dimension (2.5 mm) + line((sx2, sy1), (sx2 + 0.5, sy1), stroke: 0.4pt + luma(140)) + line((sx2, sy2), (sx2 + 0.5, sy2), stroke: 0.4pt + luma(140)) + line( + (sx2 + 0.45, sy1), + (sx2 + 0.45, sy2), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content( + (sx2 + 0.55, y-detail-center), + text(size: 7pt)[$qty(2.5, "mm")$], + anchor: "west", + ) + + // Full Corner Radius Callout (R = 1.25 mm) + let arc-px = sx1 + detail-r * 0.29 + let arc-py = y-detail-center + detail-r * 0.71 + line( + (arc-px - 0.8, arc-py + 0.3), + (arc-px, arc-py), + mark: (end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content( + (arc-px - 0.85, arc-py + 0.35), + text(size: 6.5pt)[$R = qty(1.25, "mm")$], + anchor: "east", + ) + + // ========================================== + // 3. CONVECTIVE COOLING & EMI SHIELDING CONCEPT + // ========================================== + let x-phys-center = 6.5 + let y-phys-center = 1.8 + let phys-w = 3.6 + let phys-t = 0.12 + + // View Title + content((x-phys-center, y-phys-center + 1.2), text( + size: 8.5pt, + weight: "bold", + )[CONVECTIVE COOLING & EMI SHIELDING]) + content((x-phys-center, y-phys-center + 0.85), text( + size: 7pt, + fill: luma(90), + )[(Cross-sectional thermal & RF attenuation concept)]) + + // Top Face Metal Plate with 4 Slot Openings + let top-y = y-phys-center + 0 + rect( + (x-phys-center - phys-w / 2, top-y), + (x-phys-center + phys-w / 2, top-y + phys-t), + fill: luma(220), + stroke: 0.8pt + black, + ) + + // Bottom Face Metal Plate with 4 Slot Openings + let bot-y = y-phys-center - 1.2 + rect( + (x-phys-center - phys-w / 2, bot-y - phys-t), + (x-phys-center + phys-w / 2, bot-y), + fill: luma(220), + stroke: 0.8pt + black, + ) + + // Slot Apertures Cut into Plates + let ap-offsets = (-1.2, -0.4, 0.4, 1.2) + for dx in ap-offsets { + rect( + (x-phys-center + dx - 0.15, top-y - 0.02), + (x-phys-center + dx + 0.15, top-y + phys-t + 0.02), + fill: white, + stroke: none, + ) + rect( + (x-phys-center + dx - 0.15, bot-y - phys-t - 0.02), + (x-phys-center + dx + 0.15, bot-y + 0.02), + fill: white, + stroke: none, + ) + + // Convective Natural Airflow Lines (Dashed Vertical Lines) + line( + (x-phys-center + dx, bot-y - 0.4), + (x-phys-center + dx, top-y + 0.4), + stroke: (paint: black, thickness: 0.8pt, dash: "dashed"), + mark: (end: "stealth"), + mark-size: 0.08, + ) + } + + // Plate Labels + content( + (x-phys-center + phys-w / 2 + 0.15, top-y + phys-t / 2), + text(size: 6.5pt, weight: "bold")[Top face], + anchor: "west", + ) + content( + (x-phys-center + phys-w / 2 + 0.15, bot-y - phys-t / 2), + text(size: 6.5pt, weight: "bold")[Bottom face], + anchor: "west", + ) + + // Convective Airflow Center Annotation + content((x-phys-center, y-phys-center - 0.6), text( + size: 7pt, + weight: "bold", + )[Natural convection airflow]) + + // Incident RF Wave Attenuation Annotation (Wave Bouncing off Metal Face) + let wave-x0 = x-phys-center - 1.5 + line( + (wave-x0, top-y - 0.2), + (wave-x0 + 0.15, top-y - 0.4), + (wave-x0 + 0.3, top-y - 0.2), + (wave-x0 + 0.45, top-y - 0.4), + (wave-x0 + 0.6, top-y - 0.25), + stroke: 0.8pt + black, + ) + line( + (wave-x0 + 0.6, top-y - 0.25), + (wave-x0 + 0.3, top-y - 0.05), + stroke: 0.8pt + black, + mark: (end: "stealth"), + mark-size: 0.07, + ) + content( + (wave-x0 - 0.1, top-y - 0.1), + text(size: 6pt, weight: "bold")[Incident RF wave], + anchor: "east", + ) + content( + (wave-x0 - 0.1, top-y - 0.35), + text(size: 5.5pt, fill: luma(100))[(Attenuated $> qty(20, "dB")$)], + anchor: "east", + ) + }), + caption: [Cassette ventilation system details detailing full $5 times 12$ slot top elevation array, magnified single slot geometry with $R = qty(1.25, "mm")$ corner radius, and cross-sectional natural convective cooling / RF electromagnetic shielding concept], +) diff --git a/diagrams/chassis-dimensional-requirements.typ b/diagrams/chassis-dimensional-requirements.typ new file mode 100644 index 0000000..9168a7d --- /dev/null +++ b/diagrams/chassis-dimensional-requirements.typ @@ -0,0 +1,477 @@ +#import "../lib/unify.typ": qty +#import "@preview/cetz:0.5.2" + +#figure( + cetz.canvas({ + import cetz.draw: * + + // Scale factor: 1 mm = 0.04 drawing units + let s = 0.04 + + // ========================================================================= + // VIEW A: SIDE ELEVATION CUTAWAY (Chassis & Module Clearance) + // ========================================================================= + let x-side-start = -3.8 + let y-side-bot = 0 + let h-panel = 177.8 * s // 4.2672 + let h-body = 165.1 * s // 3.9624 + let h-lip = 6.35 * s // 0.1524 + let d-body = 152.4 * s // 3.6576 + let d-cable = 28.0 * s // 0.672 (>= 25 mm cable bend zone) + + let y-side-top = y-side-bot + h-panel + let y-body-bot = y-side-bot + h-lip + let y-body-top = y-side-top - h-lip + let x-panel-front = x-side-start + let x-body-start = x-panel-front + 3.0 * s + let x-body-rear = x-body-start + d-body + let x-chassis-rear = x-body-rear + d-cable + + // View Title + content((x-body-start + (d-body + d-cable) / 2, y-side-top + 1.5), text( + size: 8.5pt, + weight: "bold", + )[VIEW A: SIDE ELEVATION CUTAWAY]) + content((x-body-start + (d-body + d-cable) / 2, y-side-top + 1.15), text( + size: 7pt, + fill: luma(90), + )[(Chassis enclosure & module interface clearance)]) + + // Chassis Steel Structure Outline (1.5 mm / 2.0 mm outer shell) + rect( + (x-body-start - 2.0 * s, y-side-bot - 2.0 * s), + (x-chassis-rear + 2.0 * s, y-side-top + 2.0 * s), + fill: luma(250), + stroke: 1.2pt + black, + ) + + // Cassette Guide Rails (Top and Bottom Channels) + rect( + (x-body-start, y-side-top - 8.0 * s), + (x-body-rear, y-side-top), + fill: luma(210), + stroke: 0.8pt + black, + ) + rect( + (x-body-start, y-side-bot), + (x-body-rear, y-side-bot + 8.0 * s), + fill: luma(210), + stroke: 0.8pt + black, + ) + + // Installed Cassette Outer Body (White fill inside chassis) + rect( + (x-body-start, y-body-bot), + (x-body-rear, y-body-top), + fill: white, + stroke: 1pt + black, + ) + + // Front Panel Attached to Cassette Lip + rect( + (x-panel-front, y-side-bot), + (x-body-start, y-side-top), + fill: luma(225), + stroke: 1.2pt + black, + ) + + // DB-25 Backplane Connector (Mating Pair at Rear of Cassette) + let db-h = 50.0 * s + rect( + (x-body-rear - 2.0 * s, y-side-bot + (h-panel - db-h) / 2), + (x-body-rear + 8.0 * s, y-side-bot + (h-panel + db-h) / 2), + fill: luma(180), + stroke: 0.9pt + black, + ) + + // Cable Bend & Wiring Harness Zone (Dashed hatched path behind backplane) + line( + (x-body-rear + 8.0 * s, y-side-bot + h-panel / 2), + (x-chassis-rear - 4.0 * s, y-side-bot + h-panel / 2), + (x-chassis-rear - 4.0 * s, y-side-bot + 15.0 * s), + stroke: (paint: luma(120), thickness: 0.8pt, dash: "dashed"), + ) + + // Dimensions for View A + // Total Panel Height (177.8 mm / 4U) + line( + (x-panel-front, y-side-bot), + (x-panel-front - 0.5, y-side-bot), + stroke: 0.4pt + luma(140), + ) + line( + (x-panel-front, y-side-top), + (x-panel-front - 0.5, y-side-top), + stroke: 0.4pt + luma(140), + ) + line( + (x-panel-front - 0.45, y-side-bot), + (x-panel-front - 0.45, y-side-top), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content( + (x-panel-front - 0.75, (y-side-bot + y-side-top) / 2), + text(size: 6.5pt, weight: "bold")[$qty(177.8, "mm")$ ($qty(4, "U")$)], + angle: 90deg, + ) + + // Lip Height (6.35 mm) + line( + (x-body-start, y-side-top), + (x-body-start + 0.4, y-side-top), + stroke: 0.4pt + luma(140), + ) + line( + (x-body-start, y-body-top), + (x-body-start + 0.4, y-body-top), + stroke: 0.4pt + luma(140), + ) + line( + (x-body-start + 0.35, y-body-top), + (x-body-start + 0.35, y-side-top), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.06, + stroke: 0.6pt + black, + ) + content((x-body-start + 0.65, (y-body-top + y-side-top) / 2), text( + size: 5.5pt, + )[$qty(6.35, "mm")$]) + + // Body Height (165.1 mm) + line( + (x-body-start + 0.8, y-body-bot), + (x-body-start + 0.8, y-body-top), + stroke: (paint: luma(140), thickness: 0.4pt, dash: "dashed"), + ) + line( + (x-body-start + 0.8, y-body-bot), + (x-body-start + 0.8, y-body-top), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content( + (x-body-start + 1.1, (y-body-bot + y-body-top) / 2), + text(size: 6.5pt)[$qty(165.1, "mm")$ body], + angle: -90deg, + ) + + // Cassette Depth (152.4 mm) + line( + (x-body-start, y-side-top + 2.0 * s), + (x-body-start, y-side-top + 0.5), + stroke: 0.4pt + luma(140), + ) + line( + (x-body-rear, y-side-top + 2.0 * s), + (x-body-rear, y-side-top + 0.5), + stroke: 0.4pt + luma(140), + ) + line( + (x-body-start, y-side-top + 0.45), + (x-body-rear, y-side-top + 0.45), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content(((x-body-start + x-body-rear) / 2, y-side-top + 0.65), text( + size: 6.5pt, + )[$qty(152.4, "mm")$]) + + // Cable Zone Depth (>= 25.0 mm) + line( + (x-chassis-rear, y-side-top + 2.0 * s), + (x-chassis-rear, y-side-top + 0.5), + stroke: 0.4pt + luma(140), + ) + line( + (x-body-rear, y-side-top + 0.45), + (x-chassis-rear, y-side-top + 0.45), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content(((x-body-rear + x-chassis-rear) / 2, y-side-top + 0.65), text( + size: 6pt, + )[$gt.eq qty(25.0, "mm")$]) + + // Callout Annotations for View A + line( + (x-body-rear + 3.0 * s, y-side-bot + h-panel / 2), + (x-body-rear + 1.2, y-side-bot + h-panel / 2 + 0.6), + stroke: 0.5pt + black, + ) + content( + (x-body-rear + 1.25, y-side-bot + h-panel / 2 + 0.6), + text(size: 6pt)[DB-25 backplane \ + (grounded via shell & pin 25)], + anchor: "south-west", + ) + + line( + (x-chassis-rear - 2.0 * s, y-side-bot + 20.0 * s), + (x-chassis-rear + 0.5, y-side-bot - 0.3), + stroke: 0.5pt + black, + ) + content( + (x-chassis-rear + 0.55, y-side-bot - 0.3), + text(size: 6pt)[Cable bend & wiring zone], + anchor: "west", + ) + + // ========================================================================= + // VIEW B: FRONT ELEVATION (Module Pitch Alignment) + // ========================================================================= + let x-front-view = 7.2 + let w-module = 38.0 * s // 0.912 + let pitch-module = 38.1 * s // 0.9144 + + // View Title + content((x-front-view + 1.5 * pitch-module, y-side-top + 1.5), text( + size: 8.5pt, + weight: "bold", + )[VIEW B: FRONT ELEVATION]) + content((x-front-view + 1.5 * pitch-module, y-side-top + 1.15), text( + size: 7pt, + fill: luma(90), + )[(Module pitch & slot interface alignment)]) + + // Chassis Front Frame + rect( + (x-front-view - 0.2, y-side-bot - 2.0 * s), + (x-front-view + 3 * pitch-module + 0.2, y-side-top + 2.0 * s), + fill: luma(240), + stroke: 1.2pt + black, + ) + + // Module Slot 1 (Module 1 Installed) + let m1-x = x-front-view + rect( + (m1-x, y-side-bot), + (m1-x + w-module, y-side-top), + fill: luma(250), + stroke: 1pt + black, + ) + circle( + (m1-x + w-module / 2, y-side-bot + h-lip / 2), + radius: 1.2 * s, + fill: white, + stroke: 0.6pt + black, + ) + circle( + (m1-x + w-module / 2, y-side-top - h-lip / 2), + radius: 1.2 * s, + fill: white, + stroke: 0.6pt + black, + ) + content((m1-x + w-module / 2, y-side-bot + h-panel / 2), text( + size: 6.5pt, + weight: "bold", + )[Module 1]) + + // Module Slot 2 (Module 2 Installed) + let m2-x = x-front-view + pitch-module + rect( + (m2-x, y-side-bot), + (m2-x + w-module, y-side-top), + fill: luma(250), + stroke: 1pt + black, + ) + circle( + (m2-x + w-module / 2, y-side-bot + h-lip / 2), + radius: 1.2 * s, + fill: white, + stroke: 0.6pt + black, + ) + circle( + (m2-x + w-module / 2, y-side-top - h-lip / 2), + radius: 1.2 * s, + fill: white, + stroke: 0.6pt + black, + ) + content((m2-x + w-module / 2, y-side-bot + h-panel / 2), text( + size: 6.5pt, + weight: "bold", + )[Module 2]) + + // Module Slot 3 (Empty Slot showing chassis guide rails) + let m3-x = x-front-view + 2 * pitch-module + rect( + (m3-x, y-side-bot), + (m3-x + w-module, y-side-top), + fill: white, + stroke: 0.8pt + black, + ) + rect( + (m3-x, y-side-top - h-lip), + (m3-x + w-module, y-side-top), + fill: luma(210), + stroke: 0.5pt + black, + ) + rect( + (m3-x, y-side-bot), + (m3-x + w-module, y-side-bot + h-lip), + fill: luma(210), + stroke: 0.5pt + black, + ) + content((m3-x + w-module / 2, y-side-bot + h-panel / 2), text( + size: 6pt, + fill: luma(100), + )[Empty slot \ (rails visible)]) + + // Centerlines for Module Center Pitch + line( + (m1-x + w-module / 2, y-side-bot - 0.4), + (m1-x + w-module / 2, y-side-top + 0.4), + stroke: (paint: luma(120), thickness: 0.4pt, dash: "dash-dotted"), + ) + line( + (m2-x + w-module / 2, y-side-bot - 0.4), + (m2-x + w-module / 2, y-side-top + 0.4), + stroke: (paint: luma(120), thickness: 0.4pt, dash: "dash-dotted"), + ) + line( + (m3-x + w-module / 2, y-side-bot - 0.4), + (m3-x + w-module / 2, y-side-top + 0.4), + stroke: (paint: luma(120), thickness: 0.4pt, dash: "dash-dotted"), + ) + + // Dimension: Module Pitch (38.1 mm / 1.5") + line( + (m1-x + w-module / 2, y-side-top + 0.35), + (m2-x + w-module / 2, y-side-top + 0.35), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content(((m1-x + m2-x + w-module) / 2, y-side-top + 0.55), text( + size: 6.5pt, + )[$qty(38.1, "mm")$ ($qty(1.5, "inch")$) pitch]) + + // ========================================================================= + // VIEW C: CASSETTE RAIL GEOMETRY & RETENTION (ENLARGED DETAIL) + // ========================================================================= + let x-rail-center = 4.8 + let y-rail-center = -3.6 + let rail-w = 38.1 * 0.08 // Magnified channel width (38.1 mm) + let rail-h = 6.35 * 0.08 // Magnified rail height (6.35 mm) + let lip-t = 1.2 * 0.08 // Sheet metal thickness (1.2 mm) + + let rx1 = x-rail-center - rail-w / 2 + let rx2 = x-rail-center + rail-w / 2 + let ry1 = y-rail-center - rail-h / 2 + let ry2 = y-rail-center + rail-h / 2 + + // View Title + content((x-rail-center, y-rail-center + 2.2), text( + size: 8.5pt, + weight: "bold", + )[VIEW C: CASSETTE RAIL GEOMETRY & RETENTION]) + content((x-rail-center, y-rail-center + 1.85), text( + size: 7pt, + fill: luma(90), + )[(Cross-section of guide rail channel - scale enlarged)]) + + // Main Chassis Guide Channel (U-shaped metal guide track) + line( + (rx1 - 0.4, ry2 + 0.4), + (rx1 - 0.4, ry1 - lip-t), + (rx2 + 0.4, ry1 - lip-t), + (rx2 + 0.4, ry2 + 0.4), + stroke: 1.2pt + black, + ) + line( + (rx1, ry2 + 0.4), + (rx1, ry1), + (rx2, ry1), + (rx2, ry2 + 0.4), + stroke: 1.2pt + black, + ) + + // Inserted Cassette Front Panel Lip (Mating into Channel) + rect( + (rx1 + 0.05, ry1 + 0.05), + (rx2 - 0.05, ry2), + fill: luma(230), + stroke: 0.8pt + black, + ) + + // Optional Spring Clip / Retention Latch (Contact spring on left side) + line( + (rx1 - 0.3, ry1 + 0.2), + (rx1 - 0.05, ry1 + 0.25), + (rx1 + 0.2, ry1 + 0.2), + stroke: 0.8pt + black, + ) + circle((rx1 - 0.3, ry1 + 0.2), radius: 0.04, fill: black) + + // Centerline + line( + (x-rail-center, ry1 - 0.6), + (x-rail-center, ry2 + 0.6), + stroke: (paint: luma(120), thickness: 0.4pt, dash: "dash-dotted"), + ) + + // Dimension: Channel Width (38.1 mm +0.2/-0.0 mm) + line((rx1, ry2 + 0.1), (rx1, ry2 + 0.7), stroke: 0.4pt + luma(140)) + line((rx2, ry2 + 0.1), (rx2, ry2 + 0.7), stroke: 0.4pt + luma(140)) + line( + (rx1, ry2 + 0.6), + (rx2, ry2 + 0.6), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content((x-rail-center, ry2 + 0.85), text( + size: 7pt, + )[Channel width: $qty(38.1, "mm") +0.2/(-0.0)$]) + + // Dimension: Rail Height (6.35 mm / 0.25") + line((rx2 + 0.1, ry1), (rx2 + 0.7, ry1), stroke: 0.4pt + luma(140)) + line((rx2 + 0.1, ry2), (rx2 + 0.7, ry2), stroke: 0.4pt + luma(140)) + line( + (rx2 + 0.6, ry1), + (rx2 + 0.6, ry2), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content( + (rx2 + 0.8, (ry1 + ry2) / 2), + text( + size: 6.5pt, + )[$qty(6.35, "mm")$ ($qty(0.25, "inch")$) rail height], + anchor: "west", + ) + + // Callout Annotations for View C + line( + (rx1 - 0.15, ry1 + 0.2), + (rx1 - 1.2, ry1 - 0.4), + stroke: 0.5pt + black, + ) + content( + (rx1 - 1.25, ry1 - 0.4), + text( + size: 6pt, + )[Optional positive retention \ (spring clip / latch mechanism)], + anchor: "east", + ) + + line( + (rx2 - 0.3, ry1 + 0.1), + (rx2 + 1.2, ry1 - 0.4), + stroke: 0.5pt + black, + ) + content( + (rx2 + 1.25, ry1 - 0.4), + text( + size: 6pt, + )[Metal-to-metal grounding contact \ (cassette lip insertion clearance)], + anchor: "west", + ) + }), + caption: [Chassis dimensional requirements and module loading interface specifications detailing Side Elevation Cutaway (View A), Front Elevation Module Pitch Alignment (View B), and enlarged Cassette Rail Geometry & Retention Cross-Section (View C).], +) diff --git a/diagrams/db-25-connector-cutout.typ b/diagrams/db-25-connector-cutout.typ new file mode 100644 index 0000000..d8d2bc3 --- /dev/null +++ b/diagrams/db-25-connector-cutout.typ @@ -0,0 +1,297 @@ +#import "../lib/unify.typ": qty +#import "@preview/cetz:0.5.2" + +#figure( + cetz.canvas({ + import cetz.draw: * + + // Scale factor: 1 mm = 0.06 drawing units + let s = 0.06 + + let panel-w = 35.7 * s // 1.6065 units + let panel-h = 165.1 * s // 7.4295 units + let cx-panel = panel-w / 2 + let cy-panel = panel-h / 2 // 82.5 mm from top/bottom + + // DB-25 Cutout Dimensions (Scale for Detail View) + let ds = 0.12 // Magnified detail scale + + let d-width = 33.3 * ds // Overall cutout width (33.3 mm) + let d-height = 12.5 * ds // Cutout height (12.5 mm) + let hole-spacing = 24.99 * ds // Mounting hole spacing from center / pitch + let hole-r = (3.2 / 2) * ds // 3.2 mm diameter (1.6 mm radius) + + // ========================================== + // 1. REAR PANEL CUTOUT PLACEMENT VIEW (35.7 mm x 165.1 mm) + // ========================================== + let x-panel-start = 0 + let y-panel-start = 0 + + // View Title + content((cx-panel, panel-h + 0.8), text( + size: 8.5pt, + weight: "bold", + )[REAR PANEL PLACEMENT]) + content((cx-panel, panel-h + 0.45), text( + size: 7pt, + fill: luma(90), + )[(Centered Position)]) + + // Rear Closure Plate Outline + rect( + (x-panel-start, y-panel-start), + (x-panel-start + panel-w, y-panel-start + panel-h), + fill: luma(245), + stroke: 1.2pt + black, + ) + + // Centerlines on Rear Panel + line( + (x-panel-start - 0.4, cy-panel), + (x-panel-start + panel-w + 0.4, cy-panel), + stroke: (paint: luma(120), thickness: 0.4pt, dash: "dash-dotted"), + ) + line( + (cx-panel, y-panel-start - 0.4), + (cx-panel, y-panel-start + panel-h + 0.4), + stroke: (paint: luma(120), thickness: 0.4pt, dash: "dash-dotted"), + ) + + // Small DB-25 D-Sub Cutout Representation in Center + let sm-w = 26.0 * s + let sm-h = 11.0 * s + rect( + (cx-panel - sm-w / 2, cy-panel - sm-h / 2), + (cx-panel + sm-w / 2, cy-panel + sm-h / 2), + fill: white, + stroke: 0.8pt + black, + ) + circle( + (cx-panel - 12.5 * s, cy-panel), + radius: 1.6 * s, + fill: white, + stroke: 0.6pt + black, + ) + circle( + (cx-panel + 12.5 * s, cy-panel), + radius: 1.6 * s, + fill: white, + stroke: 0.6pt + black, + ) + + // Center X Dimension Callout (17.85 mm) + line( + (x-panel-start, y-panel-start), + (x-panel-start, y-panel-start - 0.5), + stroke: 0.4pt + luma(140), + ) + line( + (cx-panel, y-panel-start), + (cx-panel, y-panel-start - 0.5), + stroke: 0.4pt + luma(140), + ) + line( + (x-panel-start, y-panel-start - 0.45), + (cx-panel, y-panel-start - 0.45), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content((cx-panel / 2, y-panel-start - 0.7), text( + size: 6.5pt, + weight: "bold", + )[$qty(17.85, "mm")$]) + + // Center Y Dimension Callout (82.5 mm) + line( + (x-panel-start, y-panel-start), + (x-panel-start - 0.5, y-panel-start), + stroke: 0.4pt + luma(140), + ) + line( + (x-panel-start, cy-panel), + (x-panel-start - 0.5, cy-panel), + stroke: 0.4pt + luma(140), + ) + line( + (x-panel-start - 0.45, y-panel-start), + (x-panel-start - 0.45, cy-panel), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content( + (x-panel-start - 0.75, cy-panel / 2), + text(size: 6.5pt, weight: "bold")[$qty(82.5, "mm")$], + angle: 90deg, + ) + + // ========================================== + // 2. MAGNIFIED DB-25 CUTOUT GEOMETRY DETAIL + // ========================================== + let x-det-center = 6.2 + let y-det-center = cy-panel + + // View Title + content((x-det-center, y-det-center + 2.2), text( + size: 8.5pt, + weight: "bold", + )[CUTOUT GEOMETRY DETAIL]) + content((x-det-center, y-det-center + 1.85), text( + size: 7pt, + fill: luma(90), + )[(Standard D-Shaped DB-25 Profile)]) + + // Centerlines + line( + (x-det-center - 2.5, y-det-center), + (x-det-center + 2.5, y-det-center), + stroke: (paint: luma(120), thickness: 0.4pt, dash: "dash-dotted"), + ) + line( + (x-det-center, y-det-center - 1.5), + (x-det-center, y-det-center + 1.5), + stroke: (paint: luma(120), thickness: 0.4pt, dash: "dash-dotted"), + ) + + // D-Sub Trapezoidal Shroud Profile (Closed Path) + let tw = 25.0 * ds // Top wider width + let bw = 22.5 * ds // Bottom narrower width + let hh = d-height / 2 + + line( + (x-det-center - tw / 2, y-det-center + hh), + (x-det-center + tw / 2, y-det-center + hh), + (x-det-center + bw / 2, y-det-center - hh), + (x-det-center - bw / 2, y-det-center - hh), + close: true, + fill: white, + stroke: 1.2pt + black, + ) + + // Mounting Holes (Left & Right, Diameter 3.2 mm) + let hole-left-x = x-det-center - hole-spacing / 2 + let hole-right-x = x-det-center + hole-spacing / 2 + + circle( + (hole-left-x, y-det-center), + radius: hole-r, + fill: white, + stroke: 0.8pt + black, + ) + circle( + (hole-right-x, y-det-center), + radius: hole-r, + fill: white, + stroke: 0.8pt + black, + ) + + // Hole Center Crosshairs + line( + (hole-left-x - 0.2, y-det-center), + (hole-left-x + 0.2, y-det-center), + stroke: 0.3pt + luma(120), + ) + line( + (hole-left-x, y-det-center - 0.2), + (hole-left-x, y-det-center + 0.2), + stroke: 0.3pt + luma(120), + ) + line( + (hole-right-x - 0.2, y-det-center), + (hole-right-x + 0.2, y-det-center), + stroke: 0.3pt + luma(120), + ) + line( + (hole-right-x, y-det-center - 0.2), + (hole-right-x, y-det-center + 0.2), + stroke: 0.3pt + luma(120), + ) + + // Overall D-Opening Width Dimension (33.3 mm) + let x-left-edge = x-det-center - d-width / 2 + let x-right-edge = x-det-center + d-width / 2 + + line( + (x-left-edge, y-det-center + hh), + (x-left-edge, y-det-center + hh + 0.6), + stroke: 0.4pt + luma(140), + ) + line( + (x-right-edge, y-det-center + hh), + (x-right-edge, y-det-center + hh + 0.6), + stroke: 0.4pt + luma(140), + ) + line( + (x-left-edge, y-det-center + hh + 0.6), + (x-right-edge, y-det-center + hh + 0.6), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content((x-det-center, y-det-center + hh + 0.3), text( + size: 7pt, + )[Opening width: $qty(33.3, "mm")$]) + + // D-Opening Height Dimension (12.5 mm) + line( + (x-left-edge, y-det-center - hh), + (x-left-edge - 0.5, y-det-center - hh), + stroke: 0.4pt + luma(140), + ) + line( + (x-left-edge, y-det-center + hh), + (x-left-edge - 0.5, y-det-center + hh), + stroke: 0.4pt + luma(140), + ) + line( + (x-left-edge - 0.5, y-det-center - hh), + (x-left-edge - 0.5, y-det-center + hh), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.08, + stroke: 0.6pt + black, + ) + content( + (x-l