VCU V0.02–V0.07.1 / development simulator
Vehicle simulation lab
A browser reconstruction of the Pico 2 electric-bike VCU simulation: electrical, vehicle physics, thermal, trip, sensor, charging and telemetry logic. No hardware is connected.
LIVE SIMULATED STATE
BATTERY MODE
Simulated elapsed time: 0 sBattery and energy
30S14P / 56 Ah / 13.4 mΩ. 900 A and 300 A are simulation ceilings only.
Dynamic thermal model
Controller derates 60–80°C; motor 150–180°C; battery discharge 50–60°C. Simulation-only protective behavior.
Charging & contactor
20 A simulated charging, drive interlock, SOC cutoff, thermal cutoff, fault opening and 60-second watchdog. No GPIO or physical contactor output.
Vehicle physics
Trip computer
Rolling samples at approximately 25 m, capped at 202; 5% SOC reserve for estimated range.
30 series-group voltages
Sensor telemetry
Firmware detected five DS18B20 probes on the bench; the browser shows synthetic readings only. No connection to your sensors.
Serial commands and diagnostics
Try CURRENT 300, SOC 95, CHARGE 100, KELLY 75, MOTOR 165, THERMAL AUTO, TEMPRESCAN, TRIPRESET or HELP. The commands are local emulations, not a live serial connection.
Telemetry history
Last 120 logged seconds · red power / blue speed / green SOC. Normalized scales; zero at the midline.
Browser implementation derived from the saved VCU007.1 sketch and VehicleSim, ThermalSim, TripComputer and TemperatureSensors modules. VCU calculations, safety states and hardware IO are not certified or validated here. The 5.57:1 ratio belongs to the original firmware simulation model, not the QS direct-drive hub hardware.
Development stages
V0.01 · bring-up
PING/PONG, START/STOP, telemetry and heartbeat concepts.
V0.02 · pack
OCV curve, current limits, series-group offsets, voltage sag, SOC and energy.
V0.03 · driving
Drive modes, gradient, aero, acceleration, regenerative and mechanical braking.
V0.04 · thermal
Automatic thermal integration, manual fault-injection, controller and motor derating.
V0.05 · trip
Distance, energy, consumption, range, rolling history.
V0.06 · sensors / charging
Five probe inputs and virtual charging contactor with safety interlocks.
V0.07.1 · telemetry
Serial-style commands, fault events, sampled logging and CSV export.