Spark Timing and the Pressure–Crank Angle Curve
Interactive slider-crank engine simulator: adjust spark advance, combustion duration and compression ratio and watch the cylinder pressure-vs-crank-angle curve, peak-pressure location and knock risk respond in real time.
A spark-ignition engine never fires the plug when the piston is at top dead centre. Because combustion is a flame front that takes tens of crank degrees to spread through the cylinder, the spark has to be advanced so that peak cylinder pressure lands a little after TDC, where the piston still has good leverage on the crankshaft. This simulator drives a real slider-crank mechanism and a first-law-of-thermodynamics pressure model with a Wiebe combustion function, so moving the spark-advance, combustion-duration and compression-ratio sliders visibly reshapes the pressure-vs-crank-angle curve, shifts the peak-pressure location, and flags when the timing has drifted into knock-risk or torque-losing territory.
Drive a real slider-crank engine model and reshape the cylinder pressure-vs-crank-angle curve by adjusting spark advance, combustion duration and compression ratio, watching the peak-pressure location and knock risk respond live.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install