This invention aims to provide a testing device and method for testing magnetic displacement curves. The invention includes a frame housing a
camera module, a measurement module, and a carrier module. The measurement module includes a moving component, the moving component's actuating end of which is equipped with a
pressure sensor. The
pressure sensor is connected to a mounting plate, and the mounting plate houses a
magnet carrier. The carrier module includes a rotary motor, the top of which is equipped with a mounting base. The mounting base houses a fixed
magnet, and the
magnet carrier is positioned above the mounting base. The magnet carrier has a mounting groove, and movable magnets are arranged on all four side walls of the mounting groove. The fixed magnet is located inside the mounting groove. The
camera module calibrates the position between the movable and fixed magnets, and the
pressure sensor detects the force between the movable and fixed magnets. This invention applies to the technical field of electronic
testing equipment.