Switch testing system and testing method

By designing a switch test system and using the detection module and displacement calculation module to evaluate the initial state, on-off switching state and thrust information of the switch, the problem of insufficient detection efficiency and comprehensiveness in the existing technology is solved, and efficient and accurate detection of the switch is achieved. detection.

CN110617957BActive Publication Date: 2024-09-20SUZHOU RS TECH
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN201911050043.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-31
Publication Date
2024-09-20
Estimated Expiration
2039-10-31

AI Technical Summary

Technical Problem

The existing detection methods of push switches have low detection efficiency and poor detection comprehensiveness, and cannot effectively evaluate the internal structure and performance of the switch.

Method used

A switch test system is designed, including an actuator, a detection module and a displacement calculation module. By detecting the initial state, on-off switching state and thrust information of the switch, it can determine whether the switch is a good product and achieve a comprehensive detection of the internal structure and performance of the switch. .

Benefits of technology

It improves the detection efficiency and comprehensiveness, can quickly determine whether the switch is a good product, and evaluates the performance of the reset mechanism and buffer mechanism, improving the accuracy of the detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110617957B
    Figure CN110617957B
Patent Text Reader

Abstract

The present invention relates to the technical field of switch testing equipment, and specifically to a switch testing system and testing method, which aims to solve the problems of low detection efficiency and poor detection comprehensiveness of the detection method of the press switch in the prior art. The technical key points are to detect the position of the pressing mechanism in the switch to be detected when the switch to be detected is in the initial state, and obtain the first position information; detect the position of the pressing mechanism when the switch to be detected is converted from the initial state to the on-off switching state, and obtain the second position information; detect the thrust applied to the pressing mechanism when the pressing mechanism is kept in the second position, and obtain the first thrust information; obtain the first displacement information according to the first position information and the second position information; and judge whether the switch to be detected is a good product according to the first displacement information and the first thrust information. The present invention detects the internal structure of the switch to be detected, and the detection can be realized by only pressing the pressing mechanism twice by the detection mechanism, and the detection efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of switch testing equipment, and in particular to a switch testing system and a testing method. Background Art

[0002] A push switch is a special switch, specifically an electrical appliance that connects or disconnects a circuit for a short time, mainly including a normally open (dynamically closed) push switch and a normally closed (dynamically disconnected) push switch. Specifically, when the pressing mechanism of the normally open push switch is not pressed, the contact and the terminal are disconnected, and when pressed, the contact and the terminal are closed and connected, and when the pressing mechanism is released, the switch is reset and disconnected under the action of a reset spring; when the pressing mechanism of the normally closed switch is not pressed, the contact and the terminal are closed, and when pressed, the contact and the terminal are disconnected, and when the pressing mechanism is released, the switch is reset and closed under the action of a reset spring. In addition, a composite push switch that combines a normally open and a normally closed push switch is also included. However, as a type of switch, like other switches, the commonly used detection method for existing push switches is also a sample life detection method, which has low detection efficiency and poor detection comprehensiveness. Summary of the invention

[0003] Therefore, the technical problem to be solved by the present invention is to overcome the defects of low detection efficiency and poor detection comprehensiveness of the detection method of the push switch in the prior art, thereby providing a switch testing system and testing method.

[0004] The above technical objectives of the present invention are achieved through the following technical solutions:

[0005] A switch testing system, comprising:

[0006] An actuator, used to perform conduction, high voltage and function tests on the switch to be detected;

[0007] A first detection module, used to detect the position of the pressing mechanism in the switch to be detected when the switch to be detected is in an initial state, and obtain first position information, wherein the initial state refers to a state in which the detection mechanism contacts the pressing mechanism;

[0008] A second detection module is used to detect the position of the pressing mechanism when the switch to be detected is converted from an initial state to an on-off switching state, and obtain second position information;

[0009] A third detection module, used for detecting a thrust applied to the pressing mechanism when the pressing mechanism is maintained at the second position, and obtaining first thrust information;

[0010] a displacement calculation module, connected to the first detection module and the second detection module, and configured to obtain first displacement information according to the first position information and the second position information;

[0011] The switch detection module is connected to the third detection module and the displacement calculation module, and is used to determine whether the switch to be detected is a good product according to the first displacement information and the first thrust information.

[0012] Optionally, the execution element includes:

[0013] A positioning mechanism is arranged on the conveyor belt;

[0014] The continuity test mechanism is located at the first station of the conveyor belt;

[0015] High voltage testing mechanism, located at the second station of the conveyor belt;

[0016] Functional testing mechanism, located at the third station of the conveyor belt;

[0017] The detection control mechanism, the positioning mechanism, the conduction test mechanism, the high-voltage test mechanism, and the functional test mechanism are all electrically coupled to the detection control mechanism; computer instructions are stored in the detection control mechanism, and the operation of the positioning mechanism, the conduction test mechanism, the high-voltage test mechanism, and the functional test mechanism is controlled by executing the computer instructions.

[0018] A testing method based on the switch testing system of the present invention comprises:

[0019] The switch to be tested is transported by a conveyor belt and positioned by a positioning mechanism when it reaches the station of the conduction test mechanism, the high voltage test mechanism, and the functional test mechanism;

[0020] Detecting the position of the pressing mechanism in the switch to be detected when the switch to be detected is in an initial state to obtain first position information; the initial state refers to a state in which the detection mechanism contacts the pressing mechanism;

[0021] Detecting the position of the pressing mechanism when the switch to be detected is converted from an initial state to an on-off switching state to obtain second position information;

[0022] detecting a thrust applied to the pressing mechanism when the pressing mechanism is maintained at the second position, and obtaining first thrust information;

[0023] Obtaining first displacement information according to the first position information and the second position information;

[0024] Whether the switch to be detected is a good product is determined according to the first displacement information and the first thrust information.

[0025] Optionally, it also includes:

[0026] Obtaining the maximum displacement of the pressing mechanism;

[0027] detecting a thrust applied to the pressing mechanism when the pressing mechanism is maintained at the position corresponding to the maximum displacement, to obtain second thrust information;

[0028] Whether the switch to be detected is a good product is determined according to the second thrust information.

[0029] Optionally, it also includes:

[0030] After the pressing mechanism is restored to the initial state from the state of being maintained at the position corresponding to the maximum displacement, the position of the pressing mechanism in the initial state is detected again to obtain third position information;

[0031] detecting again the position of the pressing mechanism when the pressing mechanism is switched from the initial state to the on-off switching state, to obtain fourth position information;

[0032] Obtaining second displacement information according to the third position information and the fourth position information;

[0033] Whether the switch to be inspected is a good product is determined according to the first displacement information and the second displacement information.

[0034] Optionally, the detection control mechanism is a voice coil motor, and the step of detecting the thrust applied to the pressing mechanism when the pressing mechanism is maintained at the second position to obtain the first thrust information includes:

[0035] Controlling the voice coil motor to move to the second position in a position mode, and acquiring a current operating current of the voice coil motor to obtain a first operating current;

[0036] Obtaining a conversion relationship between the operating current and thrust of the voice coil motor;

[0037] The first thrust information is obtained according to the first operating current and the conversion relationship.

[0038] Optionally, the step of obtaining a conversion relationship between the operating current and the thrust of the voice coil motor includes:

[0039] Sequentially using a plurality of preset current values ​​as operating currents, controlling the voice coil motor to apply thrust to the force sensor, and obtaining a plurality of corresponding thrust values;

[0040] According to the multiple current values ​​and the corresponding multiple thrust values, a conversion relationship between the operating current and the thrust of the voice coil motor is obtained.

[0041] The technical solution of the present invention has the following advantages:

[0042] 1. The detection mechanism detects the first displacement information between the initial state and the on-off switching state of the switch to be detected (that is, the displacement required to move the pressing mechanism to complete the on-off switching of the switch) and the first thrust information applied to the pressing mechanism when the pressing mechanism is maintained in the second position (that is, the minimum force required to achieve the on-off switching of the switch, that is, the reverse elastic force generated by the reset mechanism when the switch is located at the critical point of the on-off switching state), and determines whether the switch to be detected is a good product based on the first displacement information and the first thrust information. The detection of the relative position relationship (through the first displacement information) and the performance (through the first thrust information) of the internal structure of the switch to be detected can be realized, and the detection only needs the detection mechanism to press the pressing mechanism twice to achieve (obtaining the first displacement information and the first thrust information respectively), and the detection efficiency is high. Therefore, all switches can be detected as switches to be detected to achieve comprehensive detection.

[0043] 2. By detecting the second thrust information applied to the pressing mechanism when the pressing mechanism is maintained at the position corresponding to the maximum displacement, that is, by detecting the reverse elastic force generated by the reset mechanism (including the buffer mechanism when there is a normally open switch) in the switch to be detected at the maximum deformation, it is determined whether the switch to be detected is a good product, and the performance of the mechanism (mainly the reset mechanism and the buffer mechanism) inside the switch to be detected can be further detected, thereby improving the comprehensiveness of the detection of each switch to be detected and improving the accuracy of the detection results.

[0044] 3. After the pressing mechanism in the switch to be detected is restored to the initial state from being pressed to the maximum displacement, the displacement of the pressing mechanism from the initial state to the on-off switching state is detected again, and the second displacement information obtained by this detection is compared with the first displacement information to determine whether the switch to be detected is a good product, thereby realizing the detection of the reset performance of the reset mechanism in the switch to be detected, that is, realizing the detection of the reusable performance of the switch to be detected, thereby further improving the comprehensiveness of the detection of each switch to be detected and improving the accuracy of the detection result.

[0045] 4. By sequentially using several preset current values ​​as the operating current, the voice coil motor is controlled to apply thrust to the force sensor to obtain several corresponding thrust values, and then the (actual) conversion relationship between the operating current and the thrust of the voice coil motor is obtained according to the several current values ​​and the corresponding several thrust values. The (actual) conversion relationship can be used to replace the theoretical conversion relationship between the operating current and the thrust of the voice coil motor, and the conversion relationship between the operating current and the thrust of the voice coil motor can be corrected, thereby improving the accuracy of the detection result obtained by detecting the switch to be detected based on the voice coil motor. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1A-Figure 1D A schematic diagram of an application scenario of an embodiment of the present invention;

[0048] Figure 2A A schematic diagram of a first state of a 2-terminal normally closed switch provided in an embodiment of the present invention;

[0049] Figure 2B A schematic diagram of a second state of a 2-terminal normally closed switch provided in an embodiment of the present invention;

[0050] Figure 3 A 2-terminal normally open switch provided in an embodiment of the present invention;

[0051] Figure 4 This is a principle block diagram of the switch detection system in Example 2 of the present invention.

[0052] 1- Vehicle;

[0053] 2-positioning mechanism; 21-pressing mechanism; 211-pressing member; 212-pressing driving member; 22-limiting mechanism; 221-limiting member; 2211-claw; 222-limiting driving member;

[0054] 3-conduction test mechanism; 31-first probe group; 32-second probe group; 33-first probe driving mechanism; 34-second probe driving mechanism;

[0055] 4-detection mechanism; 41-detection probe; 42-probe driving member;

[0056] 51-first rack; 52-second rack;

[0057] 61-fixed terminal; 62-pressing mechanism; 63-resetting mechanism; 64-base; 65-movable terminal; 66-buffering mechanism. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0059] Embodiment 1:

[0060] A switch test system, such as Figure 4 As shown, it includes an actuator for performing conduction, high voltage and function tests on the switch to be detected; a first detection module, used to detect the position of the pressing mechanism in the switch to be detected when the switch to be detected is in an initial state, and obtain first position information, wherein the initial state refers to a state in which the detection mechanism contacts the pressing mechanism; a second detection module, used to detect the position of the pressing mechanism when the switch to be detected is converted from the initial state to the on-off switching state, and obtain second position information; a third detection module, used to detect the thrust applied to the pressing mechanism when the pressing mechanism is maintained in the second position, and obtain first thrust information; a displacement calculation module, connected to the first detection module and the second detection module, and used to obtain first displacement information based on the first position information and the second position information; a switch detection module, connected to the third detection module and the displacement calculation module, and used to determine whether the switch to be detected is a good product based on the first displacement information and the first thrust information. Among them, the actuator includes a positioning mechanism, which is arranged on the conveyor belt; a conduction test mechanism, which is located at the first station of the conveyor belt; a high-voltage test mechanism, which is located at the second station of the conveyor belt; a functional test mechanism, which is located at the third station of the conveyor belt; a detection control mechanism, wherein the positioning mechanism, the conduction test mechanism, the high-voltage test mechanism, and the functional test mechanism are all electrically coupled to the detection control mechanism; computer instructions are stored in the detection control mechanism, and the operation of the positioning mechanism, the conduction test mechanism, the high-voltage test mechanism, and the functional test mechanism are controlled by executing the computer instructions.

[0061] In this embodiment of the present invention, Figure 1A-Figure 1D A schematic diagram of an application scenario is shown, in which a functional test mechanism is used as an example to illustrate the device, which includes a carrier 1, a positioning mechanism 2, a conduction test mechanism 3 and a detection mechanism 4. Figure 1A As shown, the carrier 1, the positioning mechanism 2, and the detection mechanism 4 are all directly or indirectly fixed on the first frame 51, and the continuity test mechanism 3 is fixed on the second frame 52. Among them, the carrier 1 is used to carry the switch to be detected, and the carrier 1 is formed with an installation space suitable for installing switches to be detected of different sizes. The positioning mechanism 2 is arranged corresponding to the carrier 1, and is used to stably position the switch to be detected on the carrier 1, thereby limiting the movement of the switch to be detected, and preventing the switch to be detected from being deflected when the detection mechanism 4 and the continuity test mechanism 3 test the switch to be detected, resulting in inaccurate test data.

[0062] like Figure 1B As shown, the positioning mechanism 2 includes a clamping mechanism 21, specifically, as Figure 1CAs shown, the clamping mechanism 21 includes a clamping member 211 and a clamping driving member 212 for driving the clamping member 211 to move, wherein the clamping driving member 212 drives the clamping member 211 to abut against the surface of the switch to be detected, wherein the power output end of the clamping driving member 212 is connected to the clamping member 211, and under the drive of the clamping driving member 212, the clamping member 211 is tightly abutted against the surface of the switch to be detected, thereby realizing the stable installation of the switch to be detected on the carrier 1, wherein the clamping driving member 212 is a common driving member, which can be a cylinder or a driving motor.

[0063] In this embodiment, if Figure 1B and Figure 1C As shown, the positioning mechanism 2 may also include a limiting mechanism 22, which is used to position the switch to be detected when the switch to be detected is small and not enough to extend to the clamping mechanism 21. Specifically, the limiting mechanism 22 includes a limiting member 221 and a limiting driving member 222. The limiting member 221 is arranged along the outer periphery of the switch to be detected (when the switch to be detected is arranged on the carrier 1, it is close to the outer peripheral edge of the clamping member 211). A claw 2211 is arranged at the end of the limiting member 221, and accordingly, an elastic lock is arranged on the carrier 1 corresponding to the outer periphery of the switch to be detected (not shown in the figure). Under the drive of the limiting driving member 222, the claw 2211 can move toward the carrier 1 and engage with the elastic lock on the carrier 1, thereby realizing the limitation of the switch to be detected. Here, it should be noted that the elastic lock is connected to the carrier 1 through a spring arranged inside the carrier 1. When the spring is in the initial state, the elastic lock protrudes from the surface of the carrier 1, so that the switch to be detected is smaller and not enough to extend to the clamping mechanism 21 (that is, when the switch to be detected is not pressed onto the elastic lock), the claw 2211 can engage with the protruding elastic lock, thereby limiting the switch to be detected, and when the switch to be detected is larger and can extend to the clamping mechanism 21, the switch to be detected is pressed on the elastic lock, and the elastic lock will be pressed into the interior of the carrier 1, and the switch to be detected can be stably positioned on the carrier 1 by the clamping mechanism 21.

[0064] like Figure 1D As shown, the detection mechanism 4 includes a detection probe 41 and a probe driving member 42 for driving the detection probe 41 to move. Here, the probe driving member 42 may be a motor, and specifically, the probe driving member 42 may be a voice coil motor.

[0065] like Figure 1AAs shown, the conduction test mechanism 3 includes at least one probe group and a first probe driving mechanism 33 corresponding to the probe group. The first probe driving mechanism 33 is used to drive the probe group to move in the direction toward the switch to be detected on the carrier 1, so as to couple with the fixed terminal 61 in the switch to be detected, and test whether the switch to be detected is switched on and off. Here, the number of probes in a probe group and the positional relationship between the probes in a probe group can be set according to the position of the fixed terminal 61 in the switch to be detected. For example, when the switch to be detected is as shown in FIG. Figure 2A and 2B 2-terminal normally closed switch as shown or as Figure 3 When the 2-terminal normally open switch is shown, the probe group can be a first probe group 31 having 2 probes, and when the switch to be detected is a 4-terminal normally closed switch or a 4-terminal normally open switch or a 4-terminal open-closed switch (the structure of the 4-terminal switch can be understood by referring to the figure and the 2-terminal switch shown in the figure), the probe group can be a second probe group 32 having 4 probes, without any limitation.

[0066] In this embodiment, in order to further improve the detection efficiency and realize the detection of two switches to be detected during one detection, the carrier 1, the positioning mechanism 2 and the detection mechanism 4 can be set to 2 respectively, and accordingly, the probe groups in the continuity test mechanism 3 can also be 2. In addition, in order to enable the continuity test mechanism 3 to detect different types of switches to be detected, a probe group can also be set as a layer, for example, Figure 1A As shown, the conduction test mechanism 3 may include a first probe layer composed of two first probe groups 31 and a second probe layer composed of two second probe groups 32 (of course, the specific number of probe layers and the specific structure of the probe groups in each layer can be set according to actual needs and are not limited here). At the same time, in order to be able to switch different probe layers as needed to detect the switch to be detected, the conduction test device also includes a second probe driving mechanism 34, which is used to drive the probe layer to move in a direction perpendicular to the plane where the probe is located, thereby switching the probe layer corresponding to the switch to be detected, which is used to couple with the fixed terminal 61 in the switch to be detected.

[0067] Figure 2A and Figure 2B The schematic diagram of the structure of a two-terminal normally closed switch that can be detected by the switch detection method according to the embodiment of the present invention is shown, wherein Figure 2A and Figure 2B 1 and 2 respectively show a schematic diagram of a first state when the pressing mechanism 62 in the normally closed switch is in an initial state and a schematic diagram of a second state when the pressing mechanism 62 is pressed to a maximum displacement. Figure 2A and Figure 2BAs shown, the 2-terminal normally closed switch includes: two fixed terminals 61, a pressing mechanism 62 and a reset mechanism 63 (a spring is used as an example in the figure), wherein one end of the reset mechanism 63 extends to the outside of the base 64 of the normally closed switch when no external force is applied, and is used as a carrier to which the external force is applied (when the detection mechanism 4 applies a thrust to the pressing mechanism 62, it contacts the end of the pressing mechanism 62), and the other end of the reset mechanism 63 is connected to the base 64 through the reset mechanism 63, and the reset mechanism 63 is used to restore the pressing mechanism 62 to its initial state by its own elastic force when the external force on the pressing mechanism 62 is cancelled. Here, the pressing mechanism 62 is provided with a movable terminal 65 corresponding to the two fixed terminals 61, and the movable terminal 65 is coupled with the fixed terminal 61 when the pressing mechanism 62 is in the initial state, so that the switch is in the on state, and is separated from the fixed terminal 61 when the pressing mechanism 62 is applied with an external force and moves toward the reset mechanism 63 by a certain displacement, so that the switch is in the off state.

[0068] Figure 3 The switch detection method in the embodiment of the present invention can detect a two-terminal normally open switch (at this time, the normally open switch is in a closed and conductive state when an external force is applied). As shown in the figure, the normally open switch and Figure 2A as well as Figure 2B The structure of the normally closed switch in the embodiment is similar to that of the normally closed switch in the embodiment. The difference between the two is that the movable terminal in the switch is connected to the pressing mechanism 62 through a buffer mechanism 66 (shown as a spring in the figure), and the movable terminal 65 is separated from the fixed terminal 61 when the pressing mechanism 62 is in the initial state, so that the switch is in the off state. When the pressing mechanism 62 is applied with an external force and moves a certain displacement toward the reset mechanism 63, it is coupled with the fixed terminal 61, so that the switch is in the on state. After the buffer mechanism 66 closes and turns on the switch by applying an external force, the pressing mechanism 62 can still continue to buffer and move a certain distance toward the reset mechanism 63 under the action of the external force. The other identical mechanisms are not repeated here.

[0069] Embodiment 2:

[0070] A test method for a switch test system, such as Figure 4 As shown, the method comprises the following steps:

[0071] The switch to be tested is transported by a conveyor belt, and is positioned by a positioning mechanism when it reaches the station of the conduction test mechanism, the high voltage test mechanism, and the functional test mechanism; in this embodiment of the present invention, the functional test mechanism is used as an example for explanation;

[0072] S401: Detect the position of the pressing mechanism in the switch to be detected when the switch to be detected is in an initial state, and obtain first position information. Here, the initial state refers to the state where the detection mechanism contacts the pressing mechanism.

[0073] Here, the switch to be detected is as follows Figure 2A and Figure 2B Taking the two-terminal normally closed switch shown in the figure as an example, the initial state refers to the state in which the detection probe in the detection mechanism contacts the pressing mechanism in the switch to be detected, but the pressing mechanism does not move. That is, in the initial state, the switch to be detected is still in Figure 2A Status shown.

[0074] Here, taking the voice coil motor as an example of the probe driving part in the detection mechanism, the voice coil motor is controlled to operate in speed mode, and a very small thrust is used to drive the detection probe to approach the pressing mechanism at a constant speed. When the detection probe contacts the pressing mechanism, the detection probe begins to receive the reverse thrust from the pressing mechanism, and the moving speed of the detection probe will be greatly reduced. Therefore, when the moving speed of the detection probe begins to be greatly reduced, the position of the detection probe is the position of the pressing mechanism in the switch to be detected when it is in the initial state. By recording this position, the first position information can be obtained.

[0075] S402: Detect the position of the pressing mechanism when the switch to be detected is converted from the initial state to the on-off switching state, and obtain second position information.

[0076] Here, following the above example, the voice coil motor is still controlled to run in speed mode. Of course, during the conversion from the initial state to the on-off state, the reset mechanism in the pressing mechanism is deformed, and the degree of deformation continues to increase, and the reverse thrust generated is also continuously increased. Therefore, during this process, the voice coil motor is controlled to generate a thrust greater than that in step S201 to drive the detection probe to push the pressing mechanism (if necessary, the thrust generated by the voice coil motor can also be controlled to gradually increase) until the on-off state of the switch to be detected is changed through the conduction test mechanism, and the position of the detection probe at this time is recorded to obtain the second position information. Specifically, the on-off state of the switch to be detected can be detected by the conduction test mechanism by directly coupling the probe group in the conduction test mechanism with the processor that executes the switch detection method in the embodiment of the present invention (when the corresponding port of the processor receives an electrical signal, the switch to be detected is in the on state, otherwise, it is in the off state). The on-off state of the switch to be detected can also be detected by connecting the probe group to a load circuit provided with an ammeter and then coupling the ammeter with the processor that executes the switch detection method in the embodiment of the present invention (when the processor receives the current value sent by the ammeter, the switch to be detected is in the on state, otherwise, it is in the off state).

[0077] Specifically, the switch to be detected is still as follows Figure 2A and 2BTaking the normally closed switch shown as an example, when the movable terminal on the pressing mechanism is separated from the fixed terminal, the switch to be tested reaches an on-off switching state, specifically, a state of switching from an on state to an off state.

[0078] S403: Detecting the thrust applied to the pressing mechanism when the pressing mechanism is maintained at the second position, and obtaining first thrust information.

[0079] Here, following the above example, the probe driving component in the detection mechanism is still a voice coil motor. In this step, the voice coil motor is controlled to operate in position mode, and the voice coil motor is controlled to drive the detection probe to stop when it runs to the second position. The thrust output by the voice coil motor at this time is recorded to obtain the first thrust information.

[0080] S404: Obtain first displacement information according to the first position information and the second position information.

[0081] S405: Determine whether the switch to be inspected is a good product according to the first displacement information and the first thrust information.

[0082] Here, the first displacement information is compared with the first preset displacement (the displacement of the pressing mechanism from the initial state to the on-switching state when the switch to be detected is preset to be good), and the first thrust information is compared with the first preset thrust (the thrust that needs to be applied to keep the pressing mechanism in the on-switching state when the switch to be detected is preset to be good). When the difference between the first displacement information and the first preset displacement is less than the first difference threshold, and the difference between the first thrust information and the first preset thrust is less than the second difference threshold, the switch to be detected is determined to be good; otherwise, the switch to be detected is determined to be defective. Here, both the first difference threshold and the second difference threshold can be set according to the specific application scenario, and no restrictions are made here.

[0083] Here, when the switch to be detected is Figure 3 When the 2-terminal normally open switch or other 4-terminal type switch is shown, the specific implementation method of the embodiment of the present invention can be understood with reference to the above-mentioned 2-terminal normally closed switch, and will not be repeated here.

[0084] In the embodiment of the present invention, the detection mechanism detects the first displacement information between the initial state and the on-off switching state of the switch to be detected (that is, the displacement required to move the pressing mechanism to complete the on-off switching of the switch) and the first thrust information applied to the pressing mechanism when the pressing mechanism is maintained in the second position (that is, the minimum force required to achieve the on-off switching of the switch, that is, the reverse elastic force generated by the reset mechanism when the switch is located at the critical point of the on-off switching state) through the detection mechanism, and judges whether the switch to be detected is a good product based on the first displacement information and the first thrust information, so that the relative position relationship (through the first displacement information) and performance (through the first thrust information) of the internal structure of the switch to be detected can be detected, and the detection only needs the detection mechanism to press the pressing mechanism twice to achieve (obtaining the first displacement information and the first thrust information respectively), and the detection efficiency is high. Therefore, all switches can be detected as switches to be detected to achieve comprehensive detection.

[0085] As an optional implementation of the embodiment of the present invention, Figure 4 As shown, the switch detection method may further include the following steps:

[0086] S406: Obtain the maximum displacement of the pressing mechanism. Here, the maximum displacement is a preset value.

[0087] S407: Detect the thrust applied to the pressing mechanism when the pressing mechanism is maintained at the position corresponding to the maximum displacement, and obtain second thrust information.

[0088] Here, following the above example, the probe driving member in the detection mechanism is still a voice coil motor. In this step, the voice coil motor is controlled to operate in position mode, and the voice coil motor is controlled to drive the detection probe to stop when it reaches the position corresponding to the maximum displacement. The thrust output by the voice coil motor at this time is recorded to obtain the second thrust information. Specifically, if the switch to be detected is a 2-terminal normally closed switch, when the detection probe runs to the position corresponding to the maximum displacement, the switch to be detected is Figure 2B Status shown.

[0089] S408: Determine whether the switch to be inspected is a good product according to the second thrust information.

[0090] Here, the second thrust information is compared with the second preset thrust (the thrust that needs to be applied to keep the pressing mechanism in the maximum displacement state when the switch to be detected is a good product). When the difference between the second displacement information and the second preset displacement is less than the third difference threshold, the switch to be detected is determined to be a good product; otherwise, the switch to be detected is determined to be a defective product. Here, the third difference threshold can be set according to the specific application scenario and is not limited here.

[0091] Here, it should be noted that when it is determined in step S405 that the switch to be inspected is a good product, steps S406 to S408 are executed.

[0092] In an embodiment of the present invention, by detecting the second thrust information applied to the pressing mechanism when the pressing mechanism is maintained at the position corresponding to the maximum displacement, that is, by detecting the reverse elastic force generated by the reset mechanism (including the buffer mechanism when there is a normally open switch) in the switch to be detected at the maximum deformation, it is determined whether the switch to be detected is a good product, and the performance of the mechanism (mainly the reset mechanism and the buffer mechanism) inside the switch to be detected can be further detected, thereby improving the comprehensiveness of the detection of each switch to be detected and improving the accuracy of the detection result.

[0093] As an optional implementation of the embodiment of the present invention, Figure 4 As shown, the switch detection method may further include the following steps:

[0094] S409: After the pressing mechanism is restored to the initial state from the state of being maintained at the position corresponding to the maximum displacement, the position of the pressing mechanism in the initial state is detected again to obtain the third position information. The specific content of this step can be understood with reference to step S401, and will not be repeated here.

[0095] S410: Detect the position of the pressing mechanism again when the pressing mechanism switches from the initial state to the on-off switching state, and obtain fourth position information. The specific content of this step can be understood with reference to step S402, and will not be repeated here.

[0096] S411: Obtain second displacement information according to the third position information and the fourth position information.

[0097] S412: Determine whether the switch to be inspected is a good product according to the first displacement information and the second displacement information.

[0098] Here, the second displacement information is compared with the first displacement information, and when the difference between the second displacement information and the first displacement information is less than the fourth difference threshold, the switch to be detected is determined to be a good product; otherwise, the switch to be detected is determined to be a defective product. Here, the fourth difference threshold can be set according to the specific application scenario, and no limitation is made here.

[0099] Here, steps S409 to S412 can be performed after step S405. In this case, when it is determined in step S405 that the switch to be tested is a good product, steps S409 to S412 are performed. Of course, steps S409 to S412 can also be performed after step S408. In this case, when it is determined in step S405 that the switch to be tested is a good product, and it is also determined in step S408 that the switch to be tested is a good product, steps S409 to S412 are performed.

[0100] In the embodiment of the present invention, after the pressing mechanism in the switch to be detected is restored to the initial state from being pressed to the maximum displacement, the displacement of the pressing mechanism from the initial state to the on-off switching state is detected again, and the second displacement information obtained by this detection is compared with the first displacement information to determine whether the switch to be detected is a good product, thereby realizing the detection of the reset performance of the reset mechanism in the switch to be detected, that is, realizing the detection of the reusable performance of the switch to be detected, thereby further improving the comprehensiveness of the detection of each switch to be detected and improving the accuracy of the detection result.

[0101] As an optional implementation of the embodiment of the present invention, the switch detection method in the embodiment of the present invention is described by taking the probe driving member in the detection mechanism as a voice coil motor as an example, then step S403 may include the following steps:

[0102] S501: Control the voice coil motor to move to a second position in a position mode, and obtain a current operating current of the voice coil motor to obtain a first operating current.

[0103] S502: sequentially using a plurality of preset current values ​​as operating currents to control the voice coil motor to apply thrust to the force sensor, thereby obtaining a plurality of corresponding thrust values. Here, the number of preset current values ​​is at least three.

[0104] S503: Obtaining a conversion relationship between the operating current and the thrust of the voice coil motor according to the plurality of current values ​​and the corresponding plurality of thrust values.

[0105] Here, it should be noted that the conversion relationship can be obtained in advance before step S501, that is, steps S502-S503 can be executed before step S501. In fact, in a specific application, the determination of the conversion relationship as the calculation basis of the first thrust information in step S504 only needs to be executed before step S504, and even steps S502-S503 can be executed before step S401.

[0106] S504: Obtain first thrust information according to the first operating current and a conversion equation.

[0107] Here, it should be noted that the second thrust information in step S407 can also be detected by referring to the above-mentioned first thrust information.

[0108] In the embodiment of the present invention, by sequentially using several preset current values ​​as the operating current, the voice coil motor is controlled to apply thrust to the force sensor to obtain several corresponding thrust values, and then the (actual) conversion relationship between the operating current and the thrust of the voice coil motor is obtained according to the several current values ​​and the corresponding several thrust values, so that the (actual) conversion relationship can be used to replace the theoretical conversion relationship between the operating current and the thrust of the voice coil motor, and the conversion relationship between the operating current and the thrust of the voice coil motor is corrected, thereby improving the accuracy of the detection result obtained by detecting the switch to be detected based on the voice coil motor.

[0109] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.

Claims

1. A switch testing system, characterized in that: include: Actuator, used to perform conduction, high voltage and functional tests on the switch to be detected; A first detection module, used to detect the position of the pressing mechanism in the switch to be detected when the switch to be detected is in an initial state, and obtain first position information, wherein the initial state refers to a state in which the detection mechanism contacts the pressing mechanism; A second detection module is used to detect the position of the pressing mechanism when the switch to be detected is converted from an initial state to an on-off switching state, and obtain second position information; A third detection module, used for detecting a thrust applied to the pressing mechanism when the pressing mechanism is maintained at the second position, and obtaining first thrust information; a displacement calculation module, connected to the first detection module and the second detection module, and configured to obtain first displacement information according to the first position information and the second position information; a switch detection module, connected to the third detection module and the displacement calculation module, and configured to determine whether the switch to be detected is a good product according to the first displacement information and the first thrust information; The third detection module is also used to detect the thrust applied to the pressing mechanism when the pressing mechanism is maintained at the position corresponding to the maximum displacement, and obtain second thrust information; The switch detection module is also used to determine whether the switch to be detected is a good product according to the second thrust information; When the pressing mechanism is restored to the initial state from the state of being maintained at the position corresponding to the maximum displacement, the first detection module is further used to detect the position of the pressing mechanism in the initial state again to obtain third position information; The second detection module is also used to detect again the position of the pressing mechanism when the pressing mechanism is converted from the initial state to the on-off switching state, to obtain fourth position information; The displacement calculation module is also used to obtain second displacement information according to the third position information and the fourth position information; The switch detection module is further used to determine whether the switch to be detected is a good product according to the first displacement information and the second displacement information.

2. A switch testing system according to claim 1, characterized in that: The executive parts include: A positioning mechanism is arranged on the conveyor belt; The continuity test mechanism is located at the first station of the conveyor belt; High voltage testing mechanism, located at the second station of the conveyor belt; Functional testing mechanism, located at the third station of the conveyor belt; The detection control mechanism, the positioning mechanism, the conduction test mechanism, the high-voltage test mechanism, and the functional test mechanism are all electrically coupled to the detection control mechanism; computer instructions are stored in the detection control mechanism, and the operation of the positioning mechanism, the conduction test mechanism, the high-voltage test mechanism, and the functional test mechanism is controlled by executing the computer instructions.

3. A test method for a switch test system, characterized in that: Based on the switch testing system as claimed in claim 2, the method includes: The switch to be tested is transported by a conveyor belt and positioned by a positioning mechanism when it reaches the station of the conduction test mechanism, the high voltage test mechanism, and the functional test mechanism; Detecting the position of the pressing mechanism in the switch to be detected when the switch to be detected is in an initial state to obtain first position information; the initial state refers to a state in which the detection mechanism contacts the pressing mechanism; Detecting the position of the pressing mechanism when the switch to be detected is converted from an initial state to an on-off switching state to obtain second position information; detecting a thrust applied to the pressing mechanism when the pressing mechanism is maintained at the second position, and obtaining first thrust information; Obtaining first displacement information according to the first position information and the second position information; judging whether the switch to be detected is a good product according to the first displacement information and the first thrust information; Obtaining the maximum displacement of the pressing mechanism; detecting a thrust applied to the pressing mechanism when the pressing mechanism is maintained at the position corresponding to the maximum displacement, to obtain second thrust information; judging whether the switch to be detected is a good product according to the second thrust information; After the pressing mechanism is restored to the initial state from the state of being maintained at the position corresponding to the maximum displacement, the position of the pressing mechanism in the initial state is detected again to obtain third position information; detecting again the position of the pressing mechanism when the pressing mechanism is switched from the initial state to the on-off switching state, to obtain fourth position information; Obtaining second displacement information according to the third position information and the fourth position information; Whether the switch to be inspected is a good product is determined according to the first displacement information and the second displacement information.

4. A switch test system testing method according to claim 3, characterized in that: The detection control mechanism is a voice coil motor, and the step of detecting the thrust applied to the pressing mechanism when the pressing mechanism is maintained at the second position to obtain first thrust information includes: Controlling the voice coil motor to move to the second position in a position mode, and acquiring a current operating current of the voice coil motor to obtain a first operating current; Obtaining a conversion relationship between the operating current and thrust of the voice coil motor; The first thrust information is obtained according to the first operating current and the conversion relationship.

5. A switch test system testing method according to claim 4, characterized in that: The step of obtaining a conversion relationship between the operating current and the thrust of the voice coil motor comprises: sequentially using a plurality of preset current values ​​as operating currents to control the voice coil motor to apply thrust to the force sensor, thereby obtaining a plurality of corresponding thrust values; According to the plurality of preset current values ​​and the corresponding plurality of thrust values, a conversion relationship between the operating current and the thrust of the voice coil motor is obtained.

Citation Information

Patent Citations

  • A button force measurement curvometer

    CN105258934A

  • Rapid detector of automobile pedal switch

    CN109633424A

  • Aviation push switch test device

    CN110243583A

  • A check out test set for pressing down test

    CN205157185U

  • Testing arrangement of bonding force and displacement is pressed to switch

    CN206248324U