
Aac
thewonderidiot/cdu
Tools for reverse-engineering, simulating, and interfacing with the Coupling Data Unit (CDU), one of Apollo's most infamous boxes

Tools for reverse-engineering, simulating, and interfacing with the Coupling Data Unit (CDU), one of Apollo's most infamous boxes
Agc is an open-source printed circuit board by thewonderidiot, from the thewonderidiot/cdu repository on GitHub, published under the MIT licence. It is a 4-layer board of 158.7 × 121.9 mm with 196 parts on 219 nets, routed with 1,432 tracks and 86 vias.
It is built around the MMBT2222 and PPPC241LFBN-RC. Its parts include 99 resistors, 24 transistors, 16 capacitors, 16 diodes and 4 connectors.
This repository contains documentation for, simulations of, and boards for powering and interfacing with the Coupling Data Unit (CDU) from Apollo spacecraft. The CDU performed most analog-to-digital and digital-to-analog conversions for the Apollo Guidance Computer, including resolver-to-digital conversions for the IMU, Command Module optics, and Lunar Module Rendezvous Radar. A breakdown in these conversions was the cause of the 1201 and 1202 program alarms during the Apollo 11 landing. The goal of this project is to replicate that condition on an original CDU, and explain exactly what happened.
The main connector of the CDU consists of 300 Malco Mini-Wasp contacts -- not easy to interface with. The connector plate uses Samtec replica contacts to break this connector out into several D-Sub connectors and a bank of test points, enabling much easier interfacing. Each of the five dual resolvers, the Apollo Guidance Computer (AGC), and the Power & Servo Assembly (PSA) get their own dedicated connector. The remaining spacecraft-interfacing signals are placed on one additional connector.
The resolver used for Apollo is unfortunately essentially unobtainable. It was a dual-speed 1x / 16x resolver driven by 28Vrms at 800Hz. The 1X outputs had amplitudes of approximately 26Vrms, and the 16X outputs had amplitudes of around 5Vrms. Lacking such a resolver, I've cobbled together substitues using modern single-speed resolvers geared together with a 16:1 planetary gearbox, at the cost of some backlash between the speeds. The resolver adapter board connects these two single-speed resolvers to the dual-resolver connectors of the connector plate. It contains compensation capacitors for each resolver, as well as series potentiometers on the reference inputs to fine-tune output amplitudes.
The AGC Simulator contains headers for a [cmod_agc], and adds to it all of the I/O circuits required to fully drive the CDU and the PSA.
The power supply, given 28VDC power in and synchronization signals from the AGC simulator, generates the 28Vrms @ 800Hz and 5Vrms @ 800Hz needed to power the resolvers and the CDU. A second nearly identical power supply chain generates the 15Vrms @ 800Hz representing the ATCA reference. It also incorporates a copy of the PSA's relay logic for startup and mode switching of the CDU. Lastly, it contains some switches from the Lunar Module's control panels relevant to CDU operation, including the fateful Rendezvous Radar mode switch.
In the spirit of the original PSA, the power supply is built with a modular design.
This module uses two out-of-phase 800Hz synchronization pulse trains from the AGC to discipline a multivibrator, which chops a reference voltage to produce a square wave. This square wave is passed through a low-pass filter to output a relatively clean ~1Vrms sine wave. The reference voltage is steered by an automatic amplitude control (AAC) circuit connected to the output of the 1% amplifier, boosting or reducing the output until exactly 28Vrms is achieved. The design is almost identical to the original PSA module, with two key exceptions:
This is an original Block I PSA module that is used to boost the ~1Vrms 800Hz output from the AAC, Filter, and Multivibrator Module up to 28Vrms. It can deliver a good bit of power. So far I've been unable to find suitable replacements for its output transformer; so for now I'm simply using the original hardware. This gives the added benefit of driving the CDU and resolvers with AC waveforms of very similar character to the real spacecraft.
This module contains a transformer to step down the 28Vrms reference generated by the 1% amplifier down to around 5.6Vrms, as well as an inductor to lightly shift the phase. This lower reference is used to drive the 16X resolvers, which need to have lower outputs than the 1X resolvers.
This module combines subsets of the PSA IMU Auxiliary Module and the Relay Module onto a single board. It has all of the relay logic required to correctly sequence on the CDU and handle mode switching. It also contains some switches to stimulate discrete inputs to the CDU, including the CAGE switch from one of the LM panels.
This module contains a simple implementation of the all-important Rendezvous Radar mode switch. The switch changes the rendezvous radar resolver reference voltage outputs from the 28Vrms chain to the 15Vrms chain. The module also includes compensation capacitors to make up for the aging film capacitors in the original 1% amplifiers, and small dummy loads to keep the power supplies happy while not driving anything.
The sim folder contains Verilog models of a single channel of the CDU. Digital modules are represented with gate-accurate logical implementations; analog modules are mathematically modeled. Gains for the analog modules have been taken from the appropriate procurement specifications, for maximum accuracy.
The simulator requires Icarus Verilog. It can be built and run with:
make runfrom the sim directory. Simulation results can be viewed using GTKWave, with
gtkwave dump.fst cdu.gtkwThe docs folder contains stitched drawings and reassembled procurement specifications, pieced together from invidividual aperture card scans from the National Archives at Fort Worth.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 43 | 2000 | Resistor_SMD:R_0603_1608Metric | R1, R3, R14, R16, R17, R18, R19, R20, R21, R22, R23, R29, R30, R31, R32, R33 +27 |
| 26 | 2:1 | cdu:Vigortronix_VTX-111 | T1, T2, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23 +10 |
| 24 | MMBT2222 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2, Q10, Q11, Q12, Q13, Q14, Q15, Q16, Q17, Q18, Q19, Q20, Q21, Q22, Q23 +8 |
| 16 | 1000 | Resistor_SMD:R_0603_1608Metric | R39, R40, R41, R42, R55, R56, R57, R58, R68, R69, R71, R73, R85, R86, R87, R88 |
| 16 | 1N4148 | cdu:D_SOD-323 | D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16 |
| 16 | 200 | Resistor_SMD:R_0603_1608Metric | R35, R36, R37, R38, R51, R52, R53, R54, R67, R70, R72, R74, R81, R82, R83, R84 |
| 14 | 6.8uF | Capacitor_Tantalum_SMD:CP_EIA-7343-31_Kemet-D | C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C16 |
| 10 | 20k | Resistor_SMD:R_0603_1608Metric | R2, R4, R6, R8, R15, R50, R60, R66, R80, R96 |
| 10 | 51 | Resistor_SMD:R_0603_1608Metric | R9, R10, R11, R12, R13, R24, R25, R26, R27, R28 |
| 6 | MountingHole | cdu:MountingHole_4-40 | H1, H2, H3, H4, H5, H6 |
| 4 | 100uH | cdu:API_Delevan_1812R | L1, L2, L3, L4 |
| 2 | Conn_01x24 | Connector_PinSocket_2.54mm:PinSocket_1x24_P2.54mm_Vertical | J2, J4 |
| 1 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C14 |
| 1 | 13k | Resistor_SMD:R_0603_1608Metric | R98 |
| 1 | 1uF | Capacitor_SMD:C_0603_1608Metric | C15 |
| 1 | 30k | Resistor_SMD:R_0603_1608Metric | R97 |
| 1 | 500 | Resistor_SMD:R_0603_1608Metric | R90 |
| 1 | 5100 | Resistor_SMD:R_0603_1608Metric | R89 |
| 1 | Conn_02x13_Top_Bottom | cdu:HARTING_HD26_RA | J3 |
| 1 | Conn_02x31_Top_Bottom | cdu:HARTING_HD62_RA | J1 |
| 1 | LM317L_SO8 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |

thewonderidiot/cdu
Tools for reverse-engineering, simulating, and interfacing with the Coupling Data Unit (CDU), one of Apollo's most infamous boxes

thewonderidiot/cdu
Tools for reverse-engineering, simulating, and interfacing with the Coupling Data Unit (CDU), one of Apollo's most infamous boxes

thewonderidiot/cdu
Tools for reverse-engineering, simulating, and interfacing with the Coupling Data Unit (CDU), one of Apollo's most infamous boxes

thewonderidiot/cdu
Tools for reverse-engineering, simulating, and interfacing with the Coupling Data Unit (CDU), one of Apollo's most infamous boxes

thewonderidiot/cdu
Tools for reverse-engineering, simulating, and interfacing with the Coupling Data Unit (CDU), one of Apollo's most infamous boxes

thewonderidiot/cdu
Tools for reverse-engineering, simulating, and interfacing with the Coupling Data Unit (CDU), one of Apollo's most infamous boxes

thewonderidiot/cdu
Tools for reverse-engineering, simulating, and interfacing with the Coupling Data Unit (CDU), one of Apollo's most infamous boxes

thewonderidiot/lachesis
Portable, safe readers for Apollo Guidance Computer core rope memory modules

ademuri/colordance-circle
An art project that uses arrays of colored lights around a circle to create kaleidoscopic colored shadows.

PacktPublishing/Hands-On-Embedded-Programming-with-CPP-17
Hands-On Embedded Programming with CPP 17, published by Packt

RichardRozehnal/Gotek-Floppy-Disk-Emulator-V2
Floppy disk emulator for old computers and machines, Amiga, Atari ST, etc.



alexthomazo/remora
Contrôleur fil pilote permettant de contrôler 7 zones et un relai.

bklemencz/Shutter_RF
STM8 Shutter Controller with RS485 and EV1527 433Mhz interface
It measures 158.7 × 121.9 mm and has 4 copper layers, 1.6 mm thick.
196 parts, built around the MMBT2222 and PPPC241LFBN-RC. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the thewonderidiot/cdu repository on GitHub, at the commit this page was made from: the board is boards/agc/agc.kicad_pcb and its schematic boards/aac/aac.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).