Detection device of mechanical switch

By designing a mechanical switch detection device including stepper motor, action mechanism, clamping mechanism and moving mechanism, the problem that existing equipment can only detect switches of the same type and size is solved, and efficient detection of switches of different sizes is achieved.

CN222964877UActive Publication Date: 2025-06-10FAW JIEFANG AUTOMOTIVE CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422154158.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2025-06-10
Estimated Expiration
2034-09-03

AI Technical Summary

Technical Problem

Existing mechanical switch detection equipment can only detect one switch of the same type and size at a time, which lacks versatility and efficiency.

Method used

A mechanical switch detection device is designed, including a stepper motor, an action mechanism, a clamping mechanism and a moving mechanism. The stepper motor drives the action mechanism to operate, and combined with the flexible control of the moving mechanism, the detection of mechanical switches of different sizes is realized.

Benefits of technology

The detection efficiency and reliability of the detection device are improved, and one or more mechanical switches can be detected simultaneously, which are suitable for switches of different sizes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222964877U_ABST
    Figure CN222964877U_ABST
Patent Text Reader

Abstract

The utility model discloses a detection device of a mechanical switch. The mechanical switch comprises at least one action contact. The detection device comprises a controller, a driver, a stepping motor, at least one action mechanism, at least one clamping mechanism arranged corresponding to each action mechanism, and at least one moving mechanism arranged corresponding to each clamping mechanism. A transmission shaft of the stepping motor is fixedly connected with the action mechanisms, and the action mechanisms and the clamping mechanism are arranged in the vertical direction. The clamping mechanism is movably connected with the moving mechanism, and the moving mechanism drives the clamping mechanism to move in the horizontal direction or the vertical direction; a motor signal providing end of the controller is connected with a motor control end of the driver, and a motor signal output end of the driver is electrically connected with an input end of the stepping motor. According to the technical scheme of the utility model, the detection efficiency and the detection reliability can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of detection, in particular to a detection device for a mechanical switch. Background Art

[0002] At present, when detecting the mechanical life of a switch (such as a rocker switch or a push-button switch), an automated control device is used to change the on-off state of the switch to improve the detection efficiency.

[0003] The detection device of the prior art can only detect one switch at a time and can only detect switches of the same type and size. How to improve the versatility and detection efficiency of the detection device has become a technical problem that needs to be solved urgently at present. Summary of the Utility Model

[0004] The utility model provides a detection device for a mechanical switch to improve the detection efficiency and detection reliability of the detection device.

[0005] The utility model provides a detection device for a mechanical switch. The mechanical switch includes at least one action contact. The detection device includes a controller, a driver, a stepping motor, at least one action mechanism, at least one clamping mechanism corresponding to each action mechanism, and at least one moving mechanism corresponding to each clamping mechanism.

[0006] The transmission shaft of the stepping motor is fixedly connected to each action mechanism, and the action mechanism and the clamping mechanism are arranged in the vertical direction.

[0007] The clamping mechanism is movably connected to the moving mechanism, and the moving mechanism drives the clamping mechanism to move in the horizontal direction or the vertical direction.

[0008] The motor signal providing end of the controller is connected to the motor control end of the driver, and the motor signal output end of the driver is electrically connected to the input end of the stepping motor.

[0009] Optionally, the moving mechanism includes a first horizontal moving mechanism, a second horizontal moving mechanism, and a height moving mechanism.

[0010] The first horizontal moving mechanism drives the clamping mechanism to move in the first horizontal direction, the second horizontal moving mechanism drives the clamping mechanism to move in the second horizontal direction, and the height moving mechanism drives the clamping mechanism to move in the vertical direction. The first horizontal direction intersects with the second horizontal direction, and both the first horizontal direction and the second horizontal direction are perpendicular to the vertical direction.

[0011] Optionally, the clamping mechanism includes a first clamping rod and a second clamping rod.

[0012] The first clamping rod and the second clamping rod are arranged oppositely.

[0013] Optionally, the actuating mechanism includes a gear, a first rack and a second rack that meshes with the gear;

[0014] The first rack and the second rack are arranged oppositely, and the gear is fixedly connected to the transmission shaft.

[0015] Optionally, the actuating mechanism further includes an actuating rod;

[0016] The actuating rod is detachably connected to the first rack and / or the second rack, and the actuating rod is located on one side of the first rack or the second rack close to the clamping mechanism.

[0017] Optionally, the detection device further includes a first power supply; a first power supply signal providing end of the first power supply is electrically connected to a first power supply signal input end of the controller, and a third power supply signal output end of the controller is electrically connected to an input end of the mechanical switch.

[0018] Optionally, an output end of the mechanical switch is electrically connected to a detection signal input end of the controller.

[0019] Optionally, the detection device further includes an alarm; an alarm input end of the alarm is electrically connected to an alarm output end of the controller.

[0020] Optionally, the detection device further includes a second power supply; a second power supply signal providing end of the second power supply is electrically connected to a power supply input end of the driver.

[0021] Optionally, the detection device further includes a host computer, and the host computer is connected to the controller.

[0022] The technical solution of the present utility model is to fixedly connect the transmission shaft of the stepping motor to each actuating mechanism, so that when the transmission shaft of the stepping motor rotates, each actuating mechanism can be driven to act simultaneously, improving the synchronization of detection. By providing a moving mechanism movably connected to the clamping mechanism, the position of the clamping structure can be flexibly controlled, and then the relative position between the mechanical switch clamped by the clamping structure and the actuating mechanism can be adjusted to detect mechanical switches of different sizes, improving the control accuracy of the actuating mechanism for the on-off state of the mechanical switch and the reliability and practicability of the detection device. By providing at least one moving mechanism, the detection device can detect one or more mechanical switches simultaneously, improving the detection efficiency of the detection device. Description of the Drawings

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, although the following drawings are some specific embodiments of the present invention, for those skilled in the art, according to the basic concepts of the device structure, driving method, and manufacturing method disclosed and prompted by various embodiments of the present invention, they can be extended and extended to other structures and drawings. Undoubtedly, these should all be within the scope of the claims of the present invention.

[0024] Figure 1 Partial structural schematic diagram of a detection device for a mechanical switch provided by an embodiment of the present invention;

[0025] Figure 2 Structural schematic diagram of a mechanical switch provided by an embodiment of the present invention;

[0026] Figure 3 Partial structural schematic diagram of a detection device provided by an embodiment of the present invention;

[0027] Figure 4 Partial structural schematic diagram of another detection device provided by an embodiment of the present invention;

[0028] Figure 5 Partial structural schematic diagram of yet another detection device provided by an embodiment of the present invention;

[0029] Figure 6 Partial structural schematic diagram of another detection device provided by an embodiment of the present invention;

[0030] Figure 7 Partial structural schematic diagram of yet another detection device provided by an embodiment of the present invention;

[0031] Figure 8 Partial structural schematic diagram of still another detection device provided by an embodiment of the present invention. Detailed implementation manners

[0032] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will, with reference to the drawings in the embodiments of the present invention, clearly and completely describe the technical solutions of the present invention through implementation manners. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. Based on the basic concepts disclosed and prompted by the embodiments of the present invention, all other embodiments obtained by those skilled in the art fall within the scope of protection of the present invention.

[0033] Figure 1 Partial structural schematic diagram of a detection device for a mechanical switch provided by an embodiment of the present invention,Figure 3 This is a partial structural schematic diagram of a detection device provided by an embodiment of the present invention. Refer to Figure 1 and Figure 3 , the detection device includes a controller 10, a driver 21, a stepping motor 22, at least one actuating mechanism 30, at least one clamping mechanism 40 correspondingly arranged for each actuating mechanism 30, and at least one moving mechanism 50 correspondingly arranged for each clamping mechanism 40. The transmission shaft 221 of the stepping motor 22 is fixedly connected to each actuating mechanism 30, and the actuating mechanism 30 and the clamping mechanism 40 are arranged along the vertical direction Z. The clamping mechanism 40 is movably connected to the moving mechanism 50, and the moving mechanism 50 drives the clamping mechanism 40 to move along the horizontal direction or the vertical direction Z. The motor signal output end of the controller 10 is connected to the motor control end of the driver 21, and the motor signal output end of the driver 21 is electrically connected to the input end of the stepping motor 22.

[0034] Among them, the clamping mechanism 40 is used to clamp a mechanical switch. The mechanical switch SW includes a rocker switch or a push-button switch, etc. Exemplarily, Figure 2 This is a structural schematic diagram of a mechanical switch provided by an embodiment of the present invention. As Figure 2 shown, the mechanical switch SW includes a rocker switch. The rocker switch includes two actuating contacts, namely a first actuating contact SW1 and a second actuating contact SW2. When the first actuating contact SW1 is pressed, the rocker switch is in the off state. When the second actuating contact SW2 is pressed, the rocker switch is in the on state. The rocker switch includes a self-resetting rocker switch and a non-self-resetting rocker switch. The non-self-resetting rocker switch includes two actuating contacts, and the self-resetting rocker switch includes one switch contact. Taking the rocker switch shown in Figure 2 as an example of a self-resetting rocker switch, at this time, the self-resetting rocker switch only includes the actuating contact SW2. When the actuating contact SW2 is pressed, the self-resetting rocker switch is in the on state. When the actuating contact SW2 is released, the self-resetting rocker switch is in the off state.

[0035] Specifically, when detecting a mechanical switch, it is necessary to first clamp and fix the mechanical switch through the clamping mechanism 40, and then adjust the position of the clamping mechanism 40 through the moving mechanism 50 so that the mechanical switch clamped by the clamping mechanism 40 is disposed opposite to the actuating mechanism 30 in the vertical direction Z. At this time, the actuating mechanism 30 can contact at least one actuating contact of the mechanical switch, or the actuating mechanism 30 maintains a preset distance from at least one actuating contact of the mechanical switch, and the preset distance is greater than zero. When the actuating mechanism 30 moves, the actuating mechanism 30 can contact the actuating contact of the mechanical switch and drive the actuating contact to move, thereby changing the on-off state of the mechanical switch. After the positions of the clamping mechanism 40 and the mechanical switch are adjusted in place through the moving mechanism 50, the controller 10 provides a motor control signal to the driver 21 through the motor signal providing end and the motor control end. The motor control signal includes a pulse control signal for controlling the stepper motor 22 to rotate forward or a pulse control signal for controlling the stepper motor 22 to rotate backward. The driver 21 adjusts the pulse signal input to the stepper motor 22 according to the motor control signal, and the stepper motor 22 rotates a certain angle according to the pulse signal. The transmission shaft 221 of the stepper motor 22 drives each actuating mechanism 30 to rotate, so that the actuating mechanism 30 contacts the actuating contact of the mechanical switch and drives the actuating contact to move, thereby changing the on-off state of the mechanical switch. In this way, by setting the transmission shaft 221 of the stepper motor 22 to be fixedly connected to each actuating mechanism 30, when the transmission shaft 221 rotates, each actuating mechanism 30 can be driven to act simultaneously, improving the synchronization of detection. By setting the moving mechanism 50, the position of the clamping structure 40 can be controlled, and then the relative position between the mechanical switch clamped by the clamping structure 40 and the actuating mechanism 30 can be adjusted to be applicable to detecting mechanical switches of different sizes, improving the control accuracy of the actuating mechanism 30 for the on-off state of the mechanical switch, and improving the practicability of the detection device. In addition, by setting at least one moving mechanism 30, the detection device can detect one or more mechanical switches simultaneously, improving the detection efficiency of the detection device.

[0036] The technical solution provided by the present utility model is to fixedly connect the transmission shaft of the stepper motor to each actuating mechanism, so that when the transmission shaft of the stepper motor rotates, each actuating mechanism can be driven to act simultaneously, improving the synchronization of detection. By setting a moving mechanism movably connected to the clamping mechanism, the position of the clamping structure can be flexibly controlled, and then the relative position between the mechanical switch clamped by the clamping structure and the actuating mechanism can be adjusted to detect mechanical switches of different sizes, improving the control accuracy of the actuating mechanism for the on-off state of the mechanical switch, and improving the reliability and practicability of the detection device. By setting at least one moving mechanism, the detection device can detect one or more mechanical switches simultaneously, improving the detection efficiency of the detection device.

[0037] Optionally, continue to refer to Figure 3, the moving mechanism 50 includes a first horizontal moving mechanism 51, a second horizontal moving mechanism 52, and a height moving mechanism 53. The first horizontal moving mechanism 51 drives the clamping mechanism 40 to move along the first horizontal direction X, the second horizontal moving mechanism 52 drives the clamping mechanism 40 to move along the second horizontal direction Y, and the height moving mechanism 53 drives the clamping mechanism 40 to move along the vertical direction Z. The first horizontal direction X intersects with the second horizontal direction Y, and both the first horizontal direction X and the second horizontal direction Y are perpendicular to the vertical direction Z.

[0038] Among them, the first horizontal moving mechanism 51, the second horizontal moving mechanism 52, and the height moving mechanism 53 may include slide rails, etc., which can be set according to actual needs.

[0039] Specifically, along the first horizontal direction X, if the mechanical switch clamped by the clamping mechanism 40 is on the left or right side of the actuating mechanism 30, the first horizontal moving mechanism 51 can drive the clamping mechanism 40 to move along the first horizontal direction X towards the side close to the actuating mechanism 30, so that the mechanical switch clamped by the clamping mechanism 40 is arranged opposite to the actuating mechanism 30. Along the second horizontal direction Y, if the mechanical switch clamped by the clamping mechanism 40 is on the left or right side of the actuating mechanism 30, the second horizontal moving mechanism 52 can drive the clamping mechanism 40 to move along the second horizontal direction Y towards the side close to the actuating mechanism 30, so that the mechanical switch clamped by the clamping mechanism 40 is arranged opposite to the actuating mechanism 30. After controlling the mechanical switch clamped by the clamping mechanism 30 to be arranged opposite to the actuating structure 30 through the first horizontal moving mechanism 51 and the second horizontal moving mechanism 52, in order to keep a certain distance or contact between the moving mechanism 30 and the action contact of the mechanical switch, the height moving mechanism 53 can drive the clamping structure 40 to move along the vertical direction Z, so that the actuating mechanism 30 can accurately control the on-off state of the mechanical switch and improve the detection accuracy.

[0040] Optionally, continue to refer to Figure 3 , the clamping mechanism 40 includes a first clamping rod 41 and a second clamping rod 42; the first clamping rod 41 and the second clamping rod 42 are arranged opposite to each other.

[0041] Specifically, the distance between the first clamping rod 41 and the second clamping rod 42 can be adjusted by the first horizontal movement mechanism 51. The first horizontal movement mechanism 51 can drive only the first clamping rod 41 to move along the first horizontal direction X, or the first horizontal movement mechanism 51 can drive only the second clamping rod 42 to move along the first horizontal direction X, or the first horizontal movement mechanism 51 can drive both the first clamping rod 41 and the second clamping rod 42 to move simultaneously, thereby increasing or decreasing the distance between the first clamping rod 41 and the second clamping rod 42. When the distance between the first clamping rod 41 and the second clamping rod 42 is relatively large, the mechanical switch is placed between the first clamping rod 41 and the second clamping rod 42, and then the distance between the first clamping rod 41 and the second clamping rod 42 is made less than or equal to the size of the mechanical switch, so that the first clamping rod 41 and the second clamping rod 42 clamp the mechanical switch, preventing the mechanical switch from falling off during the detection process and affecting the detection efficiency, and improving the clamping stability.

[0042] Optionally, referring further to Figure 3 , the actuating mechanism 30 includes a gear 33, and a first rack 31 and a second rack 32 that mesh with the gear 33; the first rack 31 and the second rack 32 are disposed opposite to each other, and the gear 33 is fixedly connected to the transmission shaft 221.

[0043] Wherein, the lengths of the first rack 31 and the second rack 32 can be the same or different, and can be set according to actual needs, and no specific limitation is made here.

[0044] Specifically, the transmission shaft 221 is fixedly connected to the gear 33. When the transmission shaft 221 rotates, the transmission shaft 221 drives each gear 33 to rotate synchronously. The first rack 31 and the second rack 32 meshing with the gear 33 will move along the vertical direction Z. The moving directions of the first rack 31 and the second rack 32 are opposite. Exemplarily, when the first rack 31 moves along the vertical direction Z towards the side close to the mechanical switch, the second rack 32 moves along the vertical direction Z towards the side away from the mechanical switch. Thus, when the mechanical switch is a non-self-resetting mechanical switch and includes two action contacts, the lengths of the first rack 31 and the second rack 32 can be set to be the same, so that when the first rack 31 presses one action contact of the mechanical switch, the second rack 32 does not contact the other action contact of the mechanical switch or the second rack 32 contacts the action contact but does not press the action contact, thereby improving the control reliability of the mechanical switch. When the mechanical switch includes one action contact, the lengths of the first rack 31 and the second rack 32 can be set to be different. Taking the length of the first rack 31 being greater than the length of the second rack 32 as an example, the side of the first rack 31 close to the mechanical switch contacts or maintains a preset distance from the action contact of the mechanical switch. When the transmission shaft 221 drives the gear 33 to rotate, the first rack 31 will press or release the action contact of the mechanical switch to adjust the on-off state of the mechanical switch. When the transmission shaft 221 drives the gear 33 to rotate, the second rack 32 will also move along the vertical direction Z. However, due to the shorter length of the second rack 32, the second rack 32 will not squeeze the clamping mechanism 40, improving the clamping stability and detection reliability.

[0045] Optionally, Figure 4 is a partial structural schematic diagram of another detection device provided by an embodiment of the present invention. As Figure 4 shown, the action mechanism 30 further includes an action rod 34; the action rod 34 is detachably connected to the first rack 31 and / or the second rack 32, and the action rod 34 is located on the side of the first rack 31 or the second rack 32 close to the clamping mechanism 40.

[0046] Specifically, by setting the action rod 34 to be detachably connected to the first rack 31 and / or the second rack 32, the length of the action rod 34 inserted into the first rack 31 or the second rack 32 can be adjusted to adjust the distance between the action rod 34 and the action contact of the mechanical switch, improving the action reliability of the action rod 34 in controlling the mechanical switch.

[0047] Optionally, Figure 5 is a partial structural schematic diagram of yet another detection device provided by an embodiment of the present invention. As Figure 5 shown, the detection device further includes a first power supply 61; the first power supply signal providing end P1 of the first power supply 61 is electrically connected to the first power supply signal input end P2 of the controller 10, and the third power supply signal output end P3 of the controller 10 is electrically connected to the input end of the mechanical switch SW.

[0048] Among them, the first power supply signal provided by the first power supply 61 and the third power supply signal provided by the third power supply signal output terminal P3 of the controller 10 can be set according to actual needs. Exemplarily, the first power supply signal provided by the first power supply 61 is 5V, and the third power supply signal provided by the third power supply signal output terminal P3 of the controller 10 is 24V.

[0049] Specifically, the first power supply 61 is used to provide a power supply signal to the controller 10 to make the controller 10 in a working state. A voltage regulating module is provided inside the controller 10, and then the first power supply signal provided by the first power supply 61 is converted into a third power supply signal, and then the third power supply signal is input to the input end of the mechanical switch SW through the third power supply signal output terminal P3, so as to detect the electrical signal at the output end of the mechanical switch SW to determine the on / off state of the mechanical switch SW.

[0050] Optionally, continue to refer to Figure 5 , the output end of the mechanical switch SW is electrically connected to the detection signal input terminal T1 of the controller 10. In this way, when the controller 10 detects that the difference between the pulsed electrical signal input from the detection signal input terminal T1 and the third power supply signal is within the first preset range within the preset time, it is determined that the mechanical switch SW is in the on state, and the on times of the current mechanical switch SW are counted. If it is detected that the difference between the pulsed electrical signal input from the detection signal input terminal T1 and the third power supply signal is within the second preset range within the preset time, it is determined that the mechanical switch SW is in the off state, and the off times of the current mechanical switch SW are counted. If no pulsed electrical signal with a difference within the first preset range or the second preset range from the third power supply signal is detected within the preset time, it is determined that the currently detected mechanical switch is abnormal, and the controller 10 stops counting and retains the current count value to determine the service life of the mechanical switch based on the current count value. Among them, the preset time is greater than the sum of the time for the mechanical switch SW to remain on once and the time for it to turn off once. The first preset range and the second preset range can be set according to actual needs. Exemplarily, when the third power supply signal is 24V, the first preset range is -2V to 2V, and the second preset range is -22V to -27V.

[0051] Optionally, Figure 6 is a partial structural schematic diagram of another detection device provided by an embodiment of the present invention. As Figure 6 shown, the detection device further includes an alarm 70; the alarm input end of the alarm 70 is electrically connected to the alarm output end of the controller 10.

[0052] Among them, the alarm 70 includes a buzzer and / or a light-emitting element, etc., which can be set according to actual needs and will not be specifically limited here.

[0053] Specifically, when the controller 10 detects an abnormality in the pulse signal input from the output end of the mechanical switch, the controller 10 can provide a control signal for controlling the alarm 70 to alarm through the alarm output end and the alarm input end, so that the alarm 70 alarms according to the control signal output by the controller 10 to warn the staff that the currently detected mechanical switch is abnormal.

[0054] It should be noted that the number of alarms 70 can be the same as the number of clamping mechanisms 40. When each clamping mechanism 40 clamps each mechanical switch at the same time, each alarm can correspond to each mechanical switch one by one. When a certain alarm 70 alarms, it can be determined that the mechanical switch corresponding to the alarm 70 is abnormal, which is convenient for the staff to identify. When all the mechanical switches clamped by each clamping mechanism 40 are abnormal, at this time, the usage times of each mechanical switch have been determined. While the controller 10 controls each alarm 70 to alarm, it can adjust the motor control signal output to the driver 21 to control the stepping motor 22 to stop running and reduce energy consumption.

[0055] Optionally, Figure 7 As shown in the partial structural schematic diagram of another detection device provided by an embodiment of the present invention, Figure 7 The detection device further includes a second power supply 62; the second power supply signal providing end P4 of the second power supply 62 is electrically connected to the power input end P5 of the driver 21.

[0056] Among them, the second power supply signal provided by the second power supply 62 can be set according to actual needs. Exemplarily, the second power supply signal provided by the second power supply 62 is 36V.

[0057] Specifically, the second power supply 62 transmits the second power supply signal to the driver 21 through the second power supply signal providing end P4 and the power input end P5. The driver 21 provides the second power supply signal to the stepping motor 22 according to the motor control signal input by the controller 10 to adjust the working state of the stepping motor 22, such as controlling the stepping motor 22 to rotate forward or reverse, etc., and then driving the moving mechanism 30 to move.

[0058] Optionally, Figure 8 As shown in the partial structural schematic diagram of yet another detection device provided by an embodiment of the present invention, Figure 8 The detection device further includes a host computer 80; the host computer 80 is connected to the controller 10.

[0059] Specifically, the host computer 80 can be communicatively connected or electrically connected to the controller 10, so that after the staff inputs an instruction on the host computer 80, the controller 10 controls the working states of components such as the driver 21 according to the instruction input by the host computer 80. Exemplarily, the instructions input by the host computer 80 to the controller 10 include that the duration of the mechanical switch being in the on state within one trigger cycle is 2 s, the duration of the mechanical switch being in the off state within one trigger cycle is 1 s, the number of times the mechanical switch is detected to be on is 100,000 times, the number of times the mechanical switch is detected to be off is 100,000 times, the detection period is greater than the duration of one trigger cycle of the mechanical switch, the detection period is 5 s, and the controller 10 provides corresponding motor control signals to the driver 21 according to the on duration of 2 s and the off duration of 1 s, so that the stepping motor 22 rotates and maintains a certain duration, thereby realizing that the duration of the mechanical switch being in the on state is 2 s and the duration of being in the off state is 1 s. If the controller 10 can continuously obtain the pulse signal of the mechanical switch being in the on state and the pulse signal of the mechanical switch being in the off state within one detection period of 5 s, it is considered that the mechanical switch works normally, and the controller 10 can continuously count the on-off times of the mechanical switch until the counting times reach 100,000 times. Then the controller 10 adjusts the motor control signal provided to the driver 21 to make the stepping motor 22 stop working, and the detection ends. If the controller 10 does not continuously obtain the pulse signal of the mechanical switch being in the on state and the pulse signal of the mechanical switch being in the off state within one detection period of 5 s, it is considered that the mechanical switch works abnormally. The controller 10 stops timing the on-off times of the mechanical switch and transmits the currently saved counting value to the host computer 80 for the staff to view. The instructions input by the host computer 80 to the controller 10 also include start instructions and stop instructions, etc. The controller 10 inputs a motor control signal for controlling the stepping motor 22 to rotate to the driver 21 according to the start instruction, and the controller 10 inputs a motor control signal for controlling the stepping motor 22 to stop rotating to the driver 21 according to the stop instruction. By connecting the host computer 80 and the controller 10, the operation convenience is improved.

[0060] Note that the above is only a preferred embodiment of the present invention and the applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments, mutual combinations and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments. Without departing from the concept of the present invention, more other equivalent embodiments can be included, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A detection device for a mechanical switch, the mechanical switch comprising at least one actuating contact; characterized in that: include: A controller, a driver, a stepper motor, at least one action mechanism, at least one clamping mechanism corresponding to each of the action mechanisms, and at least one moving mechanism corresponding to each of the clamping mechanisms; The transmission shaft of the stepper motor is fixedly connected to each of the action mechanisms, and the action mechanisms and the clamping mechanisms are arranged in a vertical direction; The clamping mechanism is movably connected to the moving mechanism, and the moving mechanism drives the clamping mechanism to move in the horizontal direction or the vertical direction; The motor signal supply end of the controller is connected to the motor control end of the driver, and the motor signal output end of the driver is electrically connected to the input end of the stepper motor.

2. The detection device according to claim 1, characterized in that: The moving mechanism comprises: a first horizontal moving mechanism, a second horizontal moving mechanism and a height moving mechanism; The first horizontal moving mechanism drives the clamping mechanism to move along the first horizontal direction, the second horizontal moving mechanism drives the clamping mechanism to move along the second horizontal direction, and the height moving mechanism drives the clamping mechanism to move along the vertical direction; the first horizontal direction intersects with the second horizontal direction, and the first horizontal direction and the second horizontal direction are both perpendicular to the vertical direction.

3. The detection device according to claim 1, characterized in that: The clamping mechanism comprises: a first clamping rod and a second clamping rod; The first clamping rod and the second clamping rod are arranged opposite to each other.

4. The detection device according to claim 1, characterized in that: The action mechanism comprises: a gear, and a first rack and a second rack meshing with the gear; The first rack and the second rack are arranged opposite to each other, and the gear is fixedly connected to the transmission shaft.

5. The detection device according to claim 4, characterized in that: The action mechanism further comprises: an action rod; The actuating rod is plug-in-pull connected to the first rack and / or the second rack, and the actuating rod is located on a side of the first rack or the second rack close to the clamping mechanism.

6. The detection device according to claim 1, characterized in that: Also includes: a first power supply; The first power supply signal providing end of the first power supply is electrically connected to the first power supply signal input end of the controller, and the third power supply signal output end of the controller is electrically connected to the input end of the mechanical switch.

7. The detection device according to claim 1, characterized in that: The output end of the mechanical switch is electrically connected to the detection signal input end of the controller.

8. The detection device according to claim 1, characterized in that: Also includes: Alarm; The alarm input terminal of the alarm device is electrically connected to the alarm output terminal of the controller.

9. The detection device according to claim 1, characterized in that: Also includes: A second power supply; The second power supply signal providing terminal of the second power supply is electrically connected to the power input terminal of the driver.

10. The detection device according to claim 1, characterized in that: Also includes: Host computer; The host computer is connected to the controller.