The invention relates to the field of gas ejectors, in particular to a valve needle
stroke monitoring device and method.The valve needle
stroke monitoring device comprises a clamping mechanism, a magnetic induction mechanism, a double-guide reset mechanism and a shell mechanism, and the clamping mechanism is used for clamping a valve body of the gas ejector; the magnetic induction mechanism comprises an ejector rod, a
magnet and a
Hall effect sensor, one end of the ejector rod is configured to be in contact with the end part of a valve needle of the gas ejector, the
magnet is arranged at the other end of the ejector rod, and the
Hall effect sensor is arranged opposite to the
magnet to detect the displacement of the magnet; the double-guide reset mechanism is used for providing axial reset force for the ejector rod; the shell mechanism is used for integrating the clamping mechanism, the magnetic induction mechanism and the double-guide reset mechanism. According to the method, the real-time
stroke of the valve needle is calculated according to the difference value between the real-time position
signal and the initial position
signal. By adopting the technical scheme, the stroke of the valve needle can be directly measured in a high-precision, high-reliability and convenient-to-
mount manner.