circuit-simulation
This skill checks early electrical reasonableness for robot-dog virtual prototypes. It consumes a circuit metadata contract, then writes deterministic circuit, power, thermal, and protection reports.
When To Use
Use this skill for:
- Battery, fuse, emergency-stop, reverse-polarity, TVS, and undervoltage checks.
- Power rail current and power margin checks.
- Motor driver peak/continuous current checks.
- Thermal risk estimates for regulators, motor drivers, and MOSFETs.
- Producing
circuit_check.json,power_budget.json, andthermal_report.jsonforrobot-dog-digital-twingates.
Workflow
- Read
<project>/circuit_requirements.yaml. - Check ERC/DRC status when provided.
- Check battery voltage/current limits and total power budget.
- Check each power rail for current margin and regulator thermal risk.
- Check motor driver current margin.
- Check protection coverage.
- Write reports into
<project>/reports/.
Commands
python skills/circuit-simulation/scripts/check_power_budget.py skills/circuit-simulation/examples/quadruped_mvp
python skills/circuit-simulation/scripts/check_protection.py skills/circuit-simulation/examples/quadruped_mvp
python skills/circuit-simulation/scripts/write_report.py skills/circuit-simulation/examples/quadruped_mvp
Rules
- Keep MVP checks deterministic and conservative.
- Treat any failed ERC/DRC, missing emergency stop, missing fuse, or current margin below 20% as a blocker.
- Treat estimated component temperature above its declared limit as a blocker.
- Do not place orders, energize hardware, or claim physical safety from this report alone.
- Do not import sibling subskill code. Read files only.
References
references/input-contract.mdforcircuit_requirements.yamlfields.references/power-rails.mdfor power budget rules.references/protection-rules.mdfor safety/protection checks.references/thermal-rules.mdfor MVP heat estimates.references/output-contract.mdfor report fields.references/examples.mdfor sample project layout.