The invention belongs to the technical field of coaxiality detection, and provides a
motor shaft coaxiality detection device and method based on a contact displacement sensor. The detection device adopts a
modular design, and is integrated with a shaft supporting and
positioning system which can be magnetically attracted and locked in a sliding manner, a rotation driving
system with magnetic force assistance, and a sensing measurement
system with adjustable angle and height. During detection, a
motor shaft to be detected is placed on the supporting bearing, and the measuring heads of the two
contact type displacement sensors are in contact with the surfaces of different shaft sections of the
motor shaft respectively; the driving
system drives the shaft to rotate, and the sensor collects radial run-out data; and the
data processing system adopts a two-channel difference
algorithm to calculate the range of the
radial deviation of the two measuring points in a circle of rotation, and the range is used as a coaxiality error. According to the invention, rapid, high-precision and low-cost detection of the coaxiality of the motor shaft is realized, the method is especially suitable for batch automatic application in a production field, and the method has the outstanding advantages of simple operation, strong adaptability and high efficiency.