component
COSMIIC Pulse Generator Eval Board
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.
{
"schema_version": 1,
"type": "component",
"slug": "cosmiic-pulse-generator-eval-board-545000",
"title": "COSMIIC Pulse Generator Eval Board",
"brief": "COSMIIC PG4 Pulse Generator — AT90CAN128 AVR, 4-channel monopolar stimulation (0–20 mA, 1–255 μs), triple failsafe, CANopen networked. Altium project, Gerbers, STEP, BOM.",
"version": "1.0.0",
"tags": [],
"license": "MIT",
"component": {
"mpn": "COSMIIC Pulse Generator Eval Board",
"manufacturer": "",
"package": "",
"pin_count": null,
"category": "other",
"subcategory": "",
"body_size": null,
"parts": {},
"distributor_links": {},
"molecule_id": 1829602329178545000
},
"readme": "# COSMIIC Pulse Generator (PG4)\n\nThe 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.\n\n## How it works\n\nThe 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.\n\nThree independent failsafe mechanisms protect against overstimulation:\n1. **Hardware limits** on total charge per pulse\n2. **Software limits** on stimulation parameters\n3. **Magnetic shutdown switches** in both PG4 and PM\n\n## Hardware\n\n| Parameter | Value |\n|-----------|-------|\n| Processor | Atmel AT90CAN128 (8-bit AVR) |\n| Channels | 4 independent monopolar |\n| Pulse Width | 1–255 microseconds |\n| Pulse Amplitude | 0–20 mA |\n| Inter-Phase Interval | 5–100 μs (default 50) |\n| Frequency | 1–50 Hz (via SYNC period) |\n| Network | CANopen, 4 ports (1 in + 3 out) |\n| Power | Network-powered from PM |\n| Case | Titanium with epoxy header |\n| Placement | Extremities (upper arm, forearm) |\n\n## Stimulation Modes\n\n- **Direct PM parameter setting** — ~50 Hz update, up to 24 channels\n- **SDO direct setting** — ~4 Hz for 12 channels, ~50 Hz single channel (recommended for testing)\n- **Pattern-based lookup tables** — preloaded, up to 48 patterns per PG4 (recommended for permanent systems)\n\n## MATLAB Control\n\n```matlab\nnnp.networkOn;\nnnp.setSync(50); % 50ms = 20 Hz\nnnp.enterTestStim;\nnnp.write(node, '3212', ch, [PW, PA*10]); % pulse width, amplitude\nnnp.write(node, '3212', ch, [0, 0]); % stop\nnnp.enterWaiting;\n```\n\n## Build\n\n**Source:** [COSMIIC-Community/Implantables-PG4-Hardware](https://github.com/COSMIIC-Community/Implantables-PG4-Hardware) (Aug 2025)\n\n**EDA:** Altium Designer (PcbDoc + SchDoc format)\n\n**Firmware:** [COSMIIC-Community/Implantables-PG4-App](https://github.com/COSMIIC-Community/Implantables-PG4-App) (C, AVR toolchain)\n\n## Source\n\nAll design files are open source under CERN-OHL-P-2.0 (hardware) and MIT (firmware).\n\n## Files\n\n| File | Description |\n|------|-------------|\n| `cosmiic-pg4-altium-project.zip` | Altium project — PcbDoc, PcbLib, 8-page schematic (SchDoc), PrjPCB |\n| `cosmiic-pg4-gerbers.zip` | Gerber fabrication files |\n| `cosmiic-pg4-schematic.pdf` | Full schematic PDF (8 pages) |\n| `cosmiic-pg4-assembly.step` | Complete mechanical assembly STEP (titanium case, headers, capthroughs) |\n| `cosmiic-pg4-bom.xlsx` | Bill of Materials (Excel) |\n\n## Altium Project Structure\n\nThe Altium project (`PG4D`) contains:\n- **PCB layout** (`PG4D.PcbDoc`) + component library (`PG4D.PcbLib`)\n- **8-page schematic** covering stimulation DACs, current sources, CAN interface, AVR MCU, safety circuits, and electrode connectors\n\n## NSF Relevance\n\nThe PG4 is a four-channel implantable stimulator module capable of delivering programmable monopolar stimulation through four independent electrodes using the device case as the return path. Powered and networked through a single cable, the PG4 incorporates an Atmel AT90CAN128 MCU for precise waveform generation and incorporates triple-layer failsafe protections, including hardware charge limits, software safety checks, and magnetic shutdown control.\n\n## Science Drivers\n\nimplantable_healthcare\n\nCreated by: adonis\nVersion: v1\nCategory: stimulation\n",
"author": {
"id": "695820315b5f1e4db2fcf602",
"name": "Kyle Bergstedt",
"email": "[email protected]"
},
"visibility": {
"public": true
},
"hero": null,
"sample_prompts": [],
"discovery_triggers": [],
"discovery_pitch": null,
"metadata": {},
"created_at": "2026-05-28T05:30:52.099Z",
"updated_at": "2026-05-28T05:30:52.099Z"
}