The invention relates to the field of diesel engine fault diagnosis, and discloses a diesel engine instantaneous rotational speed measurement and cylinder flameout fault diagnosis device and method. The device mainly comprises a detection unit, a central processing unit, a display unit, an input unit and an auxiliary power supply, wherein the detection unit detects and acquires a instantaneous rotational speed signal and a top dead center signal of a diesel engine flywheel; the central processing unit calculates the instantaneous rotational speed according to the received signals, performs cylinder flameout fault diagnosis based on a PSO-BP diesel engine cylinder flameout fault recognition algorithm, determines the position of the fault cylinder, and sends the position information to the display unit, wherein the algorithm rapidity meets the utilization requirement of a test instrument based on an embedded mobile computing platform; the input unit inputs the flywheel tooth number of the diesel engine; and the auxiliary power supply supplies power to all the modules. According to the device, the rotational speed is accurately measured, and the cylinder flameout fault judgment is correct; and the device is utilized in large and medium diesel engines, tests the instantaneous rotational speed of the diesel engines on line, accurately diagnoses the diesel engine cylinder flameout faults, and can achieve digital measurement and remote monitoring management.