COSMIIC Pulse Generator Eval Board
Public UnreviewedCOSMIIC PG4 Pulse Generator — AT90CAN128 AVR, 4-channel monopolar stimulation (0–20 mA, 1–255 μs), triple failsafe, CANopen networked. Altium project, Gerbers, STEP, BOM.
3D Model
Open in new tab ↗
README
markdownCOSMIIC Pulse Generator (PG4)
The PG4 is a four-channel implantable pulse generator for electrical stimulation of nerve and muscle tissue. It delivers programmable monopolar stimulation through four independent electrodes, using the device case as the common return path.
How it works
The PG4 receives stimulation parameters over the CANopen network from the Power Module. Its Atmel AT90CAN128 processor converts control signals into precise charge-balanced stimulus pulses according to pre-programmed patterns or real-time commands. The SYNC message from the PM controls pulse frequency.
Three independent failsafe mechanisms protect against overstimulation:
- Hardware limits on total charge per pulse
- Software limits on stimulation parameters
- Magnetic shutdown switches in both PG4 and PM
Hardware
| Parameter | Value |
|---|---|
| Processor | Atmel AT90CAN128 (8-bit AVR) |
| Channels | 4 independent monopolar |
| Pulse Width | 1–255 microseconds |
| Pulse Amplitude | 0–20 mA |
| Inter-Phase Interval | 5–100 μs (default 50) |
| Frequency | 1–50 Hz (via SYNC period) |
| Network | CANopen, 4 ports (1 in + 3 out) |
| Power | Network-powered from PM |
| Case | Titanium with epoxy header |
| Placement | Extremities (upper arm, forearm) |
Stimulation Modes
- Direct PM parameter setting — ~50 Hz update, up to 24 channels
- SDO direct setting — ~4 Hz for 12 channels, ~50 Hz single channel (recommended for testing)
- Pattern-based lookup tables — preloaded, up to 48 patterns per PG4 (recommended for permanent systems)
MATLAB Control
nnp.networkOn;
nnp.setSync(50); % 50ms = 20 Hz
nnp.enterTestStim;
nnp.write(node, '3212', ch, [PW, PA*10]); % pulse width, amplitude
nnp.write(node, '3212', ch, [0, 0]); % stop
nnp.enterWaiting;
Design source
This page publishes the Fusion 360 Electronics molecule for the PG4 (PG4 FRAME MOL).
Fusion Electronics is EAGLE underneath, so the board and schematic ship as EAGLE-format
.brd/.sch, which the Adom viewers render natively — the interactive schematic, PCB
and 3D shown on this page (and in Adom Nucleus) all come from this Fusion export.
- Upstream hardware: COSMIIC-Community/Implantables-PG4-Hardware (Aug 2025)
- Firmware: COSMIIC-Community/Implantables-PG4-App (C, AVR toolchain)
- License: open source under CERN-OHL-P-2.0 (hardware) and MIT (firmware).
Files
| File | Description |
|---|---|
cosmiic-pulse-generator-eval-board-545000.glb |
3D assembly (OCCT step2glb, Z-up) |
pg4.step |
Complete mechanical assembly STEP (titanium case, headers, board) |
pg4.brd |
PCB layout — Fusion 360 Electronics / EAGLE board |
pg4.sch |
Schematic — Fusion 360 Electronics / EAGLE |
pg4.f3d |
Fusion 360 archive (parametric source) |
Created by: COSMIIC · Fusion 360 Electronics export