Multi-station proximity switch sensor detection method and detection device

By adjusting the coaxiality and inclination angle between the sensor and the target in the detection of the proximity switch sensor, and combining the servo control module and the AD signal acquisition unit, the problem of insufficient accuracy and efficiency in the traditional test methods is solved, and the detection effect of high precision and high sensitivity is achieved.

CN119916193AInactive Publication Date: 2025-05-02CONTROLWAY

Patent Information

Application Number
CN202510095940.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-05-02
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional proximity switch sensor testing methods cannot meet the needs of high accuracy and high sensitivity. Manual adjustment is prone to errors, making it difficult to ensure data accuracy and one-to-one query.

Method used

The multi-station proximity switch sensor detection method is adopted. By adjusting the coaxiality and inclination angle between the sensor and the target object, combining the servo control module and the AD signal acquisition unit, the electrical measurement parameters are detected in real time, and the accuracy and efficiency of detection are improved.

Benefits of technology

It significantly improves detection efficiency, reduces measurement errors, and can more comprehensively evaluate the sensor performance status, meeting the testing needs of high accuracy and high sensitivity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119916193A_ABST
    Figure CN119916193A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of proximity switch sensor detection, and particularly relates to a multi-station proximity switch sensor detection method and device, and the method comprises the steps: S1, adjusting the coaxiality between a to-be-detected sensor and a target object at a plurality of detection stations, and adjusting the inclination angle of the target object to a specified angle; s2, driving the target object to move along the axial direction of the to-be-measured sensor according to a specified moving speed, enabling the target object to be close to the front end surface of the to-be-measured sensor, and outputting the sensing distance of the to-be-measured sensor; and S3, analyzing the sensing distance and the measured electrical measurement parameters to obtain a detection result of the sensor to be detected. According to the invention, the detection efficiency of the sensor is greatly improved, and the accuracy and reliability of the detection result are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of proximity switch sensor detection, and in particular to a multi-station proximity switch sensor detection method and a detection device. Background Art

[0002] A proximity switch is a sensor that uses eddy currents to sense metal objects. It can be used well for general stroke control. Its service life, positioning accuracy, operating frequency, ease of installation and adjustment, and adaptability to complex environments are unmatched by ordinary mechanical switches. It is widely used in textile, machine tool, printing, metallurgy, chemical and other industries. In the production process of proximity sensors, the final test confirmation is a very important part of ensuring product accuracy. Traditional testing generally uses manually rotating micrometer differential heads to read the sensing distance when the signal is output; when detecting electrical measurement items, the load resistance, output voltage and current must be manually adjusted. However, this method has some problems in high-precision sensor testing:

[0003] First, the traditional manually adjusted micrometer head cannot accurately read the subtle changes in displacement data and cannot meet the needs of high-precision testing.

[0004] Second, when the sensor detects electrical measurement parameters, the output voltage and current need to be constantly changed, and the load resistance must also be adjusted accordingly. Manual switching is frequent and prone to errors, making it difficult to ensure data accuracy, and it is also difficult to meet one-to-one data query requirements.

[0005] Therefore, it is necessary to develop a new sensor testing system to meet the testing needs of high-precision and high-sensitivity sensors, improve the accuracy and efficiency of the test, and meet the requirements of one-to-one tracking and query of product data. Summary of the invention

[0006] In order to solve the above technical problems, the present invention provides a multi-station proximity switch sensor detection method, the method comprising the following steps:

[0007] S1: At multiple inspection stations, adjust the coaxiality between the sensor to be tested and the target object, and adjust the inclination of the target object to a specified angle;

[0008] The method for adjusting the coaxiality between the sensor to be tested and the target object includes: adjusting the relative position of the sensor to be tested and the target object so that the centers of the sensor to be tested and the target object are located on the same axis, calculating the change in the induced displacement of the sensor to be tested after each adjustment, and determining the coaxiality that needs to be adjusted based on the change;

[0009] The method for adjusting the inclination of a target object to a specified angle includes: obtaining a sensing displacement in a horizontal direction as a reference sensing displacement, gradually increasing the inclination between the sensor to be tested and the target object according to a certain increment, comparing the sensing displacements measured at different inclination angles with the reference sensing displacements, respectively, obtaining influence values ​​of different inclination angles on the sensing displacement, and determining the inclination angle to be adjusted according to the influence values;

[0010] S2: Drive the target object to move along the axial direction of the sensor to be tested at a specified moving speed, so that the target object is close to the front end surface of the sensor to be tested, and output the sensing distance of the sensor to be tested;

[0011] S3: Analyze the sensing distance and the measured electrical measurement parameters to obtain a detection result of the sensor to be tested;

[0012] Among them, the electrical measurement parameters include leakage current, power-on delay time, short-circuit current, current consumption and critical voltage; the leakage current is used to detect whether the insulation test of the sensor to be tested is qualified, the power-on delay time is used to detect whether the instantaneous output signal delay of the sensor to be tested is qualified, the short-circuit current is used to detect the current protection capability of the sensor to be tested in the case of a circuit short circuit, the current consumption is used to detect the working current of the sensor to be tested under the standard power supply voltage, and the critical voltage is used to determine the minimum power supply voltage of the sensor to be tested when it is working normally.

[0013] In one embodiment of the present invention, the method for obtaining the leakage current includes: applying an insulation test voltage to the housing of the sensor to be tested, measuring the leakage current, and considering the sensor whose leakage current does not exceed a preset threshold as a product that has passed the insulation test.

[0014] In one embodiment of the present invention, the method for obtaining the power-on delay time includes: providing a power supply voltage of a certain magnitude to the sensor to be tested, setting multiple target response positions between the sensor to be tested and the target object, and obtaining the time from power-on to sensor output signal at different target response positions, that is, the power-on delay time.

[0015] In one embodiment of the present invention, the method for obtaining the short-circuit current includes: providing a maximum voltage or a minimum voltage to the sensor to be tested, so that the switch of the sensor to be tested is in an on state, and gradually reducing the load resistance until the sensor to be tested enters a short-circuit protection state, and in the short-circuit protection state, measuring the short-circuit current flowing through the load at its output end, and comparing the short-circuit current with a preset short-circuit current threshold to obtain a sensor whose current protection capability meets the requirements.

[0016] In one embodiment of the present invention, the method for obtaining the current consumption includes: providing a standard power supply voltage to the sensor to be tested, connecting a 50K resistor in series under no-load conditions, and measuring the current flowing through the sensor when the sensor to be tested is in an on state, i.e., the current consumption.

[0017] In one embodiment of the present invention, the method for obtaining the critical voltage includes: gradually reducing the power supply voltage of the sensor to be tested, and obtaining the minimum power supply voltage at which the sensor changes from a normal on and off state to a state where it cannot be on and off, that is, the critical voltage.

[0018] In one embodiment of the present invention, the specified moving speed does not exceed 1 mm / s.

[0019] The present invention also provides a multi-station proximity switch sensor detection device, the device is used to implement the multi-station proximity switch sensor detection method, and the device includes:

[0020] A frame, a plurality of linear modules, a control unit and a servo control module, wherein the control unit and the plurality of linear modules are arranged in a housing of the frame, and the control unit controls the connection between the linear modules and the servo control module;

[0021] Wherein, each of the linear modules corresponds to a detection station for detecting a proximity switch sensor, including:

[0022] Screw rod;

[0023] A slide, the slide being arranged on the lead screw;

[0024] A clamping mechanism for an object to be tested, wherein the clamping mechanism for an object to be tested is used to clamp the sensor to be tested;

[0025] A target fixing mechanism, the target fixing mechanism is arranged on the slide along the length direction of the screw rod, and the target fixing mechanism is used to clamp the target;

[0026] and a first driving module, wherein the first driving module is connected to the lead screw;

[0027] The servo control module includes an AD signal acquisition unit, which detects the electrical measurement parameters of the sensor to be tested in real time and sends the electrical measurement parameters to the control unit for analysis;

[0028] Among them, the electrical measurement parameters include leakage current, power-on delay time, short-circuit current, current consumption and critical voltage; the leakage current is used to detect whether the insulation test of the sensor to be tested is qualified, the power-on delay time is used to detect whether the instantaneous output signal delay of the sensor to be tested is qualified, the short-circuit current is used to detect the current protection capability of the sensor to be tested in the case of a circuit short circuit, the current consumption is used to detect the working current of the sensor to be tested under the standard power supply voltage, and the critical voltage is used to determine the minimum power supply voltage of the sensor to be tested when it is working normally.

[0029] In one embodiment of the present invention, the target fixing mechanism includes a target clamp and a zeroing locking assembly, wherein the zeroing locking assembly is connected to the target clamp and is used to drive the target clamp to return to an initial position after each sensor to be tested completes a detection operation;

[0030] The zero return locking assembly includes a spring, a slider, an extension rod and a second drive module. The spring is sleeved on the extension rod, and one end of the spring abuts against the slider, and the other end abuts against the second drive module. The slider is connected to the target object clamp.

[0031] In one embodiment of the present invention, the servo control module also includes a color recognition sensing unit and an instrument control unit; wherein the color recognition sensing unit collects brightness data of the linear module during operation during the test, and obtains a detection result of the working line switching by comparing the brightness data with a preset threshold, and sends the detection result to the control unit; the instrument control unit is connected to the control unit, and the control unit remotely controls the peripheral test instrument through the instrument control unit.

[0032] In addition, the present invention also provides a proximity switch sensor, and the multi-station proximity switch sensor detection device is used to perform quality detection on the proximity switch sensor.

[0033] The above technical solution of the present invention has the following advantages compared with the prior art:

[0034] 1. The same console with multiple serial ports is used to control multiple inspection stations to operate simultaneously, which significantly improves the inspection efficiency. Especially in production lines or automated testing environments, it can greatly shorten the inspection cycle and speed up product circulation.

[0035] 2. Considering the influence of coaxiality and inclination on the electrical measurement distance output by the sensor, accurately adjusting the coaxiality and inclination between the sensor to be tested and the target object to the specified angle can minimize the measurement error caused by position deviation, thereby improving the accuracy and reliability of detection.

[0036] 3. Combining the key parameter of sensing distance with electrical measurement parameters (such as voltage, current, etc.) for comprehensive analysis can more comprehensively evaluate the performance status of the sensor. By discovering potential problems of the sensor under various complex conditions and different working states, it provides improvement directions for subsequent optimization of sensor design. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein

[0038] Figure 1 It is a flow chart of an implementation method of a multi-station proximity switch sensor detection method provided in an embodiment of the present invention;

[0039] Figure 2 (a) is a schematic diagram showing that the sensor to be tested placed in the V-groove of the clamping mechanism of the object to be tested and the center of the target object are located on the same axis; (b) is a schematic diagram showing that after the pad is added, the center of the sensor to be tested and the center of the target object are offset from the same axis;

[0040] Figure 3 A schematic diagram showing a block placed under a target object to change the inclination angle of the front face of the target object;

[0041] Figure 4 (a) shows the output signal of the sensor changing with time when it is in the on state; (b) shows the output signal of the sensor changing with time when it is in the off state;

[0042] Figure 5 It is a structural schematic diagram of a multi-station proximity switch sensor detection device provided in an embodiment of the present invention;

[0043] Figure 6 yes Figure 5 A front view of the linear module in FIG.

[0044] Figure 7 yes Figure 5 A top view of the linear module in FIG.

[0045] Description of the accompanying drawings in the specification: 1. frame;

[0046] 2. Linear module; 21. Screw rod; 22. Slide; 23. Detection object clamping mechanism; 24. Target object fixing mechanism; 241. Target object clamping member; 242. Zero return locking assembly; 2421. Spring; 2422. Sliding block; 2423. Extension rod; 2424. Second drive module; 25. First drive module;

[0047] 3. Control unit; 4. Servo control module. DETAILED DESCRIPTION

[0048] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.

[0049] Embodiment 1

[0050] Reference Figure 1 As shown, the present invention provides a multi-station proximity switch sensor detection method, the method comprising the following steps:

[0051] S1: At multiple inspection stations, adjust the coaxiality between the sensor to be tested and the target object, and adjust the inclination of the target object to a specified angle;

[0052] The method for adjusting the coaxiality between the sensor to be tested and the target object includes: adjusting the relative position of the sensor to be tested and the target object so that the centers of the sensor to be tested and the target object are located on the same axis, calculating the change in the induced displacement of the sensor to be tested after each adjustment, and determining the coaxiality that needs to be adjusted based on the change;

[0053] The method for adjusting the inclination of a target object to a specified angle includes: obtaining a sensing displacement in a horizontal direction as a reference sensing displacement, gradually increasing the inclination between the sensor to be tested and the target object according to a certain increment, comparing the sensing displacements measured at different inclination angles with the reference sensing displacements, respectively, obtaining influence values ​​of different inclination angles on the sensing displacement, and determining the inclination angle to be adjusted according to the influence values;

[0054] S2: Drive the target object to move along the axial direction of the sensor to be tested at a specified moving speed, so that the target object is close to the front end surface of the sensor to be tested, and output the sensing distance of the sensor to be tested;

[0055] S3: Analyze the sensing distance and the measured electrical measurement parameters to obtain a detection result of the sensor to be tested.

[0056] In this embodiment, fine adjustment of the relative position (i.e., coaxiality and inclination) between the sensor to be tested and the target object is implemented at multiple preset inspection stations, so it is necessary to conduct test experiments to explore the influence of coaxiality and inclination on the induced displacement.

[0057] First, the coaxiality of the two is fine-tuned through manual intervention, the induced displacement changes caused by axis offset are simulated and measured, and relying on data analysis technology, the coaxiality deviation that needs to be corrected is accurately calculated to achieve the optimal configuration of coaxiality.

[0058] To this end, four thicknesses of pads were used to explore the effect of coaxiality on induced displacement, such as Figure 2As shown in (a), the sensor to be tested is placed in the V-shaped groove of the object to be tested clamping mechanism 23, and the center of the sensor to be tested and the target object are located on the same axis. Figure 2 As shown in (b), one or more pads are added to the V-shaped groove or the thickness of the pads is increased so that the center of the sensor to be tested and the target object are offset from the same axis. The change in the induced displacement is shown in Table 1.

[0059] Table 1

[0060]

[0061] Through the above data comparison, it is found that the coaxiality deviation has little effect on the measurement results. When the pad is raised by 0.26mm, the change in the measurement result is only 1%; when the pad is raised by 0.45mm, the change is about 0.5%.

[0062] In this embodiment, the method for adjusting the inclination angle of the target object to a specified angle includes: obtaining the sensing displacement in the horizontal direction as the reference sensing displacement, gradually increasing the inclination angle between the sensor to be tested and the target object according to a certain increment, and recording the changes in the sensing displacement at each inclination angle in real time. The sensing displacements measured at different inclination angles are compared with the reference sensing displacements, and the influence of the inclination angle change on the sensing performance is quantified to obtain the influence values ​​of different inclination angles on the sensing displacement, and the inclination angle to be adjusted is determined according to the influence values.

[0063] Specifically, Figure 3 As shown in the figure, a pad is placed under the target to change the inclination angle of the front face of the target, and a thickness gauge is used to accurately measure the relative height or distance between the front face of the sensor and a reference plane (such as a horizontal plane), thereby indirectly calculating the inclination angle. After each adjustment of the inclination angle, the sensor is used to detect the target and record its detection distance. By comparing the detection distances at different inclination angles, the effect of the inclination change on the detection distance can be observed. The experimental results are shown in Table 2.

[0064] Table 2

[0065]

[0066] In Table 2, "0.05 not rounded" means that if the last decimal place of the thickness to be measured is 0.05, no rounding is performed; "0.08 rounded, 0.09 not rounded" means that when the last decimal place of the thickness to be measured is 0.08, it is not directly rounded to 0.1, but rounded to a value smaller than 0.1 but larger than 0.08, and when the last decimal place of the thickness to be measured is 0.09, no rounding is performed, and the same applies to the others. The above data comparison shows that when the inclination angle changes by 0.5°, the impact on the detection distance is about 5%. It fully explains that the coaxiality has little effect. The inclination angle has a greater impact on the measurement distance. Before automatic testing, the machine should be adjusted to ensure that the front section of the sensor is flat with the target.

[0067] Furthermore, various relays are controlled by a PLC control program to switch electrical circuits and obtain the electrical measurement parameters, which include leakage current, power-on delay time, short-circuit current, current consumption and critical voltage. These key electrical measurement parameters are comprehensively considered to build a comprehensive performance evaluation system.

[0068] Among them, the leakage current is used to detect whether the insulation test of the sensor to be tested is qualified, the power-on delay time is used to detect whether the instantaneous output signal delay of the sensor to be tested is qualified, the short-circuit current is used to detect the current protection capability of the sensor to be tested in the case of a circuit short circuit, the current consumption is used to detect the working current of the sensor to be tested under the standard supply voltage, and the critical voltage is used to determine the minimum supply voltage of the sensor to be tested when it is working normally.

[0069] Furthermore, the method for obtaining the leakage current includes: through a control program, a relay is controlled to short-connect the output end of the sensor to the ground of the insulation tester, a 500V insulation test voltage is applied to the housing of the sensor to be tested, and the leakage current is measured. The sensor whose leakage current does not exceed a preset threshold (1mA) is regarded as a product that has passed the insulation test.

[0070] Specifically, Figure 4 (a) and Figure 4 As shown in (b), t0 represents the start time of power on, t1 represents the start time of the error signal, t2 represents the end time of the error signal, which is also the start time of the delay phase, t3 represents the end time of the delay, and t4 represents the maximum delay time.

[0071] The method for obtaining the power-on delay time includes: providing a certain power supply voltage (24V) to the sensor to be tested, setting multiple target response positions between the sensor to be tested and the target object, and obtaining the time from power-on (connecting the power supply) to the sensor output signal at different target response positions, that is, the power-on delay time. Sensors whose power-on delay time does not exceed the preset delay time (300ms) are considered qualified products.

[0072] The method for obtaining the short-circuit current includes: providing a maximum voltage (30V) or a minimum voltage (10V) to the sensor to be tested, so that the switch of the sensor to be tested is in an on state, and gradually reducing the load resistance until the sensor to be tested enters a short-circuit protection state (i.e., a short-circuit pulse appears). In the short-circuit protection state, measuring the short-circuit current flowing through the load at its output end, comparing the short-circuit current with a preset short-circuit current threshold, and obtaining a sensor whose current protection capability meets the requirements.

[0073] The method for obtaining the current consumption includes: providing a standard power supply voltage (24V) to the sensor to be tested, connecting a 50K resistor in series under no-load conditions, and measuring the current flowing through the sensor when the sensor to be tested is in an on state, that is, the current consumption.

[0074] The method for obtaining the critical voltage includes: gradually reducing the power supply voltage of the sensor to be tested, and obtaining the minimum power supply voltage at which the sensor changes from a normal on and off state to a state in which the sensor cannot be on and off, that is, the critical voltage.

[0075] In this embodiment, the specified moving speed does not exceed 1 mm / s.

[0076] Embodiment 2

[0077] The present invention also provides a multi-station proximity switch sensor detection device, which is used to implement the multi-station proximity switch sensor detection method described in the first embodiment. Figures 5 to 7 As shown, the detection device comprises:

[0078] A rack 1, a plurality of linear modules 2, a control unit 3 and a servo control module 4, wherein the control unit 3 and the plurality of linear modules 2 are arranged in a housing of the rack 1, and the control unit 3 controls the connection between the linear modules 2 and the servo control module 4;

[0079] Among them, Figures 6-7 As shown, each of the linear modules 2 corresponds to a detection station for detecting a proximity switch sensor, including: a screw 21, a slide 22, a to-be-tested object clamping mechanism 23, a target object fixing mechanism 24 and a first driving module 25, wherein the slide 22 is arranged on the screw 21; the to-be-tested object clamping mechanism 23 is used to clamp the to-be-tested sensor; the target object fixing mechanism 24 is arranged on the slide 22 along the length direction of the screw 21, and the target object fixing mechanism 24 is used to clamp the target object; the first driving module 25 is connected to the screw 21;

[0080] The servo control module 4 includes an AD signal acquisition unit, which detects the electrical measurement parameters of the sensor to be measured in real time and sends the electrical measurement parameters to the control unit for analysis;

[0081] Among them, the electrical measurement parameters include leakage current, power-on delay time, short-circuit current, current consumption and critical voltage; the leakage current is used to detect whether the insulation test of the sensor to be tested is qualified, the power-on delay time is used to detect whether the instantaneous output signal delay of the sensor to be tested is qualified, the short-circuit current is used to detect the current protection capability of the sensor to be tested in the case of a circuit short circuit, the current consumption is used to detect the working current of the sensor to be tested under the standard power supply voltage, and the critical voltage is used to determine the minimum power supply voltage of the sensor to be tested when it is working normally.

[0082] In this embodiment, one linear module 2 corresponds to an independent detection station. The present invention integrates multiple linear modules 2 in the detection device to realize parallel detection operations, which not only significantly improves work efficiency, but also optimizes the overall detection process, making large-scale and efficient detection tasks possible. Furthermore, in order to ensure the stability and precise positioning of the object to be tested during the detection process, the object to be tested clamping mechanism 23 is a cylinder V-shaped self-centering clamping mechanism, and the sensor to be tested is set in the V-shaped groove of the cylinder V-shaped self-centering clamping mechanism. When the cylinder V-shaped self-centering clamping mechanism is in action, it clamps the middle part of the cylindrical sensor.

[0083] In this embodiment, the target fixing mechanism 24 includes a target clamping member 241 and a zeroing locking assembly 242, wherein the zeroing locking assembly 242 is connected to the target clamping member 241 and is used to drive the target clamping member 241 back to the initial position after the detection work of each sensor to be tested is completed; wherein, the zeroing locking assembly 242 includes a spring 2421, a slider 2422, an extension rod 2423 and a second driving module 2424, wherein the spring 2421 is sleeved on the extension rod 2423, and one end of the spring 2421 abuts against the slider 2422, and the other end abuts against the second driving module 2424, and the slider 2422 is connected to the target clamping member 241.

[0084] Furthermore, the selection elements of the first driving module 25 include but are not limited to stepper motors and cylinders. The selection elements of the second driving module 2424 include but are not limited to tightening cylinders.

[0085] Before testing, adjust the relative position between the sensor to be tested and the target object, manually adjust the position of the clamping mechanism 23 of the object to be tested, ensure that the clamping mechanism 23 of the object to be tested is coaxial with the center of the target object (that is, the center of the sensor to be tested and the center of the target object are located on the same axis), and the end face of the product to be tested is flat with the surface of the target object without inclination, the clamping mechanism 23 of the object to be tested can move up and down simultaneously, the opening size is adjusted with a step block, and its center position remains unchanged.

[0086] During the test, the first drive module 25 drives the screw 21 to rotate. Under the driving action of the screw 21, the zeroing locking assembly 242 can move to the left. When the target object contacts the end face of the sensor, it continues to move about 1.5 mm. The spring 2421 begins to deform under force. At this time, the second drive module 2424 acts to press down the extension rod 2423. The extension rod 2423 and the friction force of the lower pressure head fix the position of the target object, so that the end face of the product is flat with the target object, and the zeroing action is completed. Subsequently, the first drive module 25 is started again, driving the target object to move to the right, so that the target object leaves the front face of the sensor. When the sensor outputs a signal, the action stops. The moving distance at this time is recorded as the detection distance of the product.

[0087] like Figure 3 As shown, a pad is placed at a suitable position below the target object to change the inclination angle of the front end surface of the target object. The thickness and position of the pad should be selected according to the expected adjustment of the inclination angle.

[0088] Furthermore, the servo control module 4 also includes a color recognition sensing unit and an instrument control unit; wherein, the control unit 3 controls the color recognition sensing unit to move to a designated test position through the servo control module 4, and the color recognition sensing unit collects the brightness data of the linear module 2 during the working process of the test through a CCD camera, and obtains the detection result of the working line switching by comparing the brightness data with a preset threshold value, thereby avoiding the outflow of defective products due to differences in manual brightness recognition, and sending the detection result to the control unit 3.

[0089] The instrument control unit is connected to the control unit 3, and the control unit 3 communicates with the peripheral test instrument through the instrument control unit using VISA, links according to the communication methods of different devices, and performs remote control using TCP / IP, RS485, USB, etc. For example, the operating speed and torque of the clamping mechanism 23 of the object to be tested are set through RS485 communication to meet the clamping force requirements of different products.

[0090] In addition, the control unit 3 is the control center, which controls various relays through the PLC hardware control program, executes the switching of electrical circuits, inputs the parameters of various measuring instruments into the control program through the data acquisition card, and outputs them to the display interface after analysis and conversion.

[0091] The following further describes the working process of each linear module 2 in the detection device:

[0092] Before testing, the coaxiality of the sensor to be tested and the target object and the inclination of the target object need to be adjusted, including: manually adjusting the position of the clamping mechanism 23 of the test object to ensure that the clamping mechanism 23 of the test object is coaxial with the center of the target object, and the end face of the product to be tested is flat with the surface of the target object without inclination;

[0093] During the test, the first driving module 25 drives the screw rod 21 to rotate. Under the driving action of the screw rod 21, the zeroing locking assembly 242 moves to the left. When the target object contacts the sensor end face, the zeroing locking assembly 242 continues to move to the left by about 1.5 mm. At this time, the spring 2421 is subjected to pressure and deforms. As the spring 2421 deforms, the second driving module 2424 starts, presses down the extension rod 2423, and uses the friction between the extension rod 2423 and the pressing head and the target object to fix the position of the target object, ensure that the product end face and the target object are closely fitted, and complete the zeroing position locking. Subsequently, the first driving module 25 drives the target object to move to the right again, taking the target object away from the front end face of the sensor. When the sensor detects the movement of the target object and outputs a signal (manifested as the sensor signal light is on), the moving action stops immediately. At this time, the recorded moving distance is the detection distance of the product. During the movement process, the program automatically switches the control relay to test the parameters at different positions. All test data are recorded and output, so as to obtain the detection distance of the target object at different positions. During the entire process, the moving speed of the target is strictly controlled to ensure that it does not exceed 1mm / s to ensure the accuracy and stability of the test.

[0094] In order to facilitate the operation of the operators and improve the test efficiency, during the detection process, the control unit 3 reads the peripheral DIO signal in real time for the operation safety of the equipment and the data interaction processing of the operators, and performs operation processing of different functional modules through the operation buttons on the front panel of the equipment, including real-time monitoring of the electrical measurement parameters of the sensor to be tested, and the electrical measurement parameters include but are not limited to the leakage current, power-on delay time, short-circuit current, current consumption and critical voltage of the insulation test. Key electrical measurement parameters, in order to avoid redundancy, refer to the method for obtaining these key electrical measurement parameters in Example 1, which will not be repeated here.

[0095] In addition, the control unit 3 will drive the color recognition sensing unit to move to the specified test position with the help of the servo control module 4, automatically identify the on and off status and brightness of the working line switching indicator light of the linear module 2 during operation, and read the corresponding brightness parameters through the TCP / IP protocol.

[0096] Finally, the control unit 3 analyzes the various types of data obtained and evaluates the sensor to be tested from multiple dimensions to obtain accurate test results. Subsequently, the control unit 3 displays the test results of different component parts on the control panel for the operator's reference so that they can optimize the product.

[0097] Embodiment 3

[0098] The present invention further provides a proximity switch sensor, and the multi-station proximity switch sensor detection device described in the second embodiment is used to perform quality detection on the proximity switch sensor.

[0099] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0100] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0101] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0103] Obviously, the above embodiments are merely examples for 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 from these are still within the protection scope of the invention.

Claims

1. A multi-station proximity switch sensor detection method, characterized in that: The following steps are involved: S1: At multiple inspection stations, adjust the coaxiality between the sensor to be tested and the target object, and adjust the inclination of the target object to a specified angle; The method for adjusting the coaxiality between the sensor to be tested and the target object includes: adjusting the relative position of the sensor to be tested and the target object so that the centers of the sensor to be tested and the target object are located on the same axis, calculating the change in the induced displacement of the sensor to be tested after each adjustment, and determining the coaxiality that needs to be adjusted based on the change; The method for adjusting the inclination of a target object to a specified angle includes: obtaining a sensing displacement in a horizontal direction as a reference sensing displacement, gradually increasing the inclination between the sensor to be tested and the target object according to a certain increment, comparing the sensing displacements measured at different inclination angles with the reference sensing displacements, respectively, obtaining influence values ​​of different inclination angles on the sensing displacement, and determining the inclination angle to be adjusted according to the influence values; S2: Drive the target object to move along the axial direction of the sensor to be tested at a specified moving speed, so that the target object is close to the front end surface of the sensor to be tested, and output the sensing distance of the sensor to be tested; S3: Analyze the sensing distance and the measured electrical measurement parameters to obtain a detection result of the sensor to be tested; Among them, the electrical measurement parameters include leakage current, power-on delay time, short-circuit current, current consumption and critical voltage; the leakage current is used to detect whether the insulation test of the sensor to be tested is qualified, the power-on delay time is used to detect whether the instantaneous output signal delay of the sensor to be tested is qualified, the short-circuit current is used to detect the current protection capability of the sensor to be tested in the case of a circuit short circuit, the current consumption is used to detect the working current of the sensor to be tested under the standard power supply voltage, and the critical voltage is used to determine the minimum power supply voltage of the sensor to be tested when it is working normally.

2. The multi-station proximity switch sensor detection method according to claim 1, characterized in that: The method for obtaining the leakage current includes: applying an insulation test voltage to the housing of the sensor to be tested, measuring the leakage current, and considering the sensor whose leakage current does not exceed a preset threshold as a product that has passed the insulation test.

3. The multi-station proximity switch sensor detection method according to claim 1, characterized in that: The method for obtaining the power-on delay time includes: providing a certain power supply voltage to the sensor to be tested, setting multiple target response positions between the sensor to be tested and the target object, and obtaining the time from power-on to sensor output signal at different target response positions, that is, the power-on delay time.

4. The multi-station proximity switch sensor detection method according to claim 1, characterized in that: The method for obtaining the short-circuit current includes: providing a maximum voltage or a minimum voltage to the sensor to be tested, so that the switch of the sensor to be tested is in an on state, and gradually reducing the load resistance until the sensor to be tested enters a short-circuit protection state. In the short-circuit protection state, measuring the short-circuit current flowing through the load at its output end, and comparing the short-circuit current with a preset short-circuit current threshold to obtain a sensor whose current protection capability meets the requirements.

5. The multi-station proximity switch sensor detection method according to claim 1, characterized in that: The method for obtaining the current consumption includes: providing a standard power supply voltage to the sensor to be tested, connecting a 50K resistor in series under no-load conditions, and measuring the current flowing through the sensor when the sensor to be tested is in an on state, that is, the current consumption.

6. The multi-station proximity switch sensor detection method according to claim 1, characterized in that: The method for obtaining the critical voltage includes: gradually reducing the power supply voltage of the sensor to be tested, and obtaining the minimum power supply voltage at which the sensor changes from a normal on and off state to a state in which the sensor cannot be on and off, that is, the critical voltage.

7. A multi-station proximity switch sensor detection device, characterized in that: The device is used to implement the multi-station proximity switch sensor detection method according to any one of claims 1 to 6, and the device includes: A frame, a plurality of linear modules, a control unit and a servo control module, wherein the control unit and the plurality of linear modules are arranged in a housing of the frame, and the control unit controls the connection between the linear modules and the servo control module; Wherein, each of the linear modules corresponds to a detection station for detecting a proximity switch sensor, including: Screw rod; A slide, the slide being arranged on the screw rod; A clamping mechanism for an object to be tested, wherein the clamping mechanism for an object to be tested is used to clamp the sensor to be tested; A target fixing mechanism, the target fixing mechanism is arranged on the slide along the length direction of the screw rod, and the target fixing mechanism is used to clamp the target; and a first driving module, wherein the first driving module is connected to the lead screw; The servo control module includes an AD signal acquisition unit, which detects the electrical measurement parameters of the sensor to be tested in real time and sends the electrical measurement parameters to the control unit for analysis; Among them, the electrical measurement parameters include leakage current, power-on delay time, short-circuit current, current consumption and critical voltage; the leakage current is used to detect whether the insulation test of the sensor to be tested is qualified, the power-on delay time is used to detect whether the instantaneous output signal delay of the sensor to be tested is qualified, the short-circuit current is used to detect the current protection capability of the sensor to be tested in the case of a circuit short circuit, the current consumption is used to detect the working current of the sensor to be tested under the standard power supply voltage, and the critical voltage is used to determine the minimum power supply voltage of the sensor to be tested when it is working normally.

8. The multi-station proximity switch sensor detection device according to claim 7, characterized in that: The target fixing mechanism comprises a target clamp and a zeroing locking assembly, wherein the zeroing locking assembly is connected to the target clamp and is used to drive the target clamp to return to an initial position after each sensor to be tested completes its detection work; The zero return locking assembly includes a spring, a slider, an extension rod and a second drive module. The spring is sleeved on the extension rod, and one end of the spring abuts against the slider, and the other end abuts against the second drive module. The slider is connected to the target object clamp.

9. The multi-station proximity switch sensor detection device according to claim 7, characterized in that: The servo control module also includes a color recognition sensing unit and an instrument control unit; wherein the color recognition sensing unit collects the brightness data of the linear module during operation during the test, and obtains the detection result of the working line switching by comparing the brightness data with a preset threshold, and sends the detection result to the control unit; the instrument control unit is connected to the control unit, and the control unit remotely controls the peripheral test instrument through the instrument control unit.

10. A proximity switch sensor, characterized in that: The quality of the proximity switch sensor is tested using the multi-station proximity switch sensor testing device as described in any one of claims 7 to 9.

Citation Information

Patent Citations

  • Proximity switch sensor tester

    CN102680015A

  • Direct-current two-wire type proximity sensor fault detection circuit

    CN104266672A

  • Proximity switch test system

    CN108008293A

  • Proximity sensor angle adjusting method and device and storage medium

    CN113671512A

  • Color ring inductor sensibility reciprocal testing arrangement

    CN206832892U

Cited By

  • Magnetic switch detection device and detection method

    CN120405402A

  • Measuring device of displacement sensor

    CN120609318A