Sensor test platform, test system and test method
By designing cross-set guide rail components and switching components, combined with limiters and sensing components, the sensor can be tested in the X, Y, and Z axis directions, which solves the problem of the traditional test platform being unable to evaluate the three-dimensional performance of the sensor and improves test accuracy. The degree and coverage meet the offset requirements of the sensor in practical applications.
Patent Information
- Application Number
- CN202410778699.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional sensor test platform cannot test in the Y-axis and Z-axis directions, cannot effectively evaluate the three-dimensional performance of the sensor, and has limitations in test accuracy and coverage.
A sensor test platform is designed, which includes a first guide rail component, a second guide rail component and a switching component arranged in a crosswise manner. The sensor can be moved in the X, Y and Z axis directions through the driving parts and sliders on the first guide rail and the second guide rail. The test combines the limit parts and sensing parts for data detection, and is equipped with short circuit protection, cut-off state detection, voltage sag, power supply polarity reversal, thermal stability test and target detection modules.
It achieves precise testing of the sensor in the X, Y, and Z axis directions, covers the left and right offset and up and down offset requirements of the sensor in practical applications, improves the test efficiency and parameter reliability, and meets the requirements for sensor performance and quality. Accurate assessment.
Smart Images

Figure CN118623928A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of sensor technology, and specifically relates to a sensor testing platform, a testing system and a testing method. Background Art
[0002] As a detection device, the sensor usually includes a through-beam photoelectric sensor and a reflective photoelectric sensor, which can detect whether there is an object in the detection area. The sensor usually needs to be tested on a sensor test bench to ensure the performance and quality of the sensor.
[0003] Traditional sensor testing platforms have few test items and simple test functions. They can only meet the requirements of simple tests in the product development process. They can only test in the X-axis direction, but not in the Y-axis and Z-axis directions. They are even more unable to combine the test data in the X-axis, Y-axis and Z-axis directions to effectively evaluate the performance of the sensor. Therefore, they have certain limitations. Summary of the invention
[0004] The present application provides a sensor testing platform, a testing system and a testing method, which can solve the problem of how to test the sensor in the Y-axis and Z-axis directions to improve the testing accuracy of the sensor.
[0005] In order to solve the above technical problems, the present application provides a sensor testing platform, which includes a first guide rail assembly, a second guide rail assembly and a switching assembly arranged crosswise;
[0006] The first guide rail assembly includes a first guide rail and a first driving member, the first guide rail is provided with a fixing bracket and a first sliding block capable of moving along a first direction on the first guide rail;
[0007] The second guide rail assembly includes a second guide rail and a second driving member, and the second guide rail is provided with a second sliding block capable of moving along a second direction on the second guide rail;
[0008] The switching assembly is disposed on both the fixed bracket and the second sliding block, so as to switch the sensors to be detected disposed on the fixed bracket and the second sliding block from a first state to a second state during testing.
[0009] As a further improvement of the present application, a first limiting member and a second limiting member for limiting the first sliding block are provided on the first guide rail, and a first sensing member is provided between the first limiting member and the second limiting member;
[0010] During the test, the sensor to be detected is in the first state and is placed on the fixed bracket and the first slider respectively. The first driving member drives the first slider to move between the first limiting member and the second limiting member to detect the one-dimensional data of the sensor to be detected.
[0011] As a further improvement of the present application, a third limiting member and a fourth limiting member for limiting the second sliding block are provided on the second guide rail, a fifth limiting member is provided between the third limiting member and the fourth limiting member, and a second sensing member is provided between the third limiting member and the fifth limiting member;
[0012] During the test, the sensor to be detected is in the first state and is placed on the fixed bracket and the second slider respectively. The second driving member drives the second slider to move between the third limit member and the fourth limit member to detect the two-dimensional data of the sensor to be detected.
[0013] As a further improvement of the present application, the first state is that the transmitting end and the receiving end of the sensor to be detected are both in a vertical state, and the second state is that the transmitting end and the receiving end of the sensor to be detected are both in a horizontal state. The switching component is used to rotate the sensor to be detected on the fixed bracket and the second slider from the vertical state to the horizontal state during testing, and drive the second slider to move between the third limit member and the fourth limit member through the second driving member to detect the three-dimensional data of the sensor to be detected.
[0014] As a further improvement of the present application, the sensor to be detected is any one of a through-beam photoelectric sensor and a diffuse reflection photoelectric sensor;
[0015] When the sensor to be detected is a through-beam photoelectric sensor, the transmitting end and the receiving end of the through-beam photoelectric sensor are respectively arranged on the fixed bracket and the first slider, or respectively arranged on the fixed bracket and the second slider;
[0016] When the sensor to be detected is a diffuse reflection photoelectric sensor, the diffuse reflection photoelectric sensor and the target baffle are respectively arranged on the fixed bracket and the first sliding block, or are respectively arranged on the fixed bracket and the second sliding block.
[0017] The present application also provides a sensor testing system, the sensor testing system comprising any of the above-mentioned sensor testing platforms, the sensor testing platform being used to detect one-dimensional data, two-dimensional data and three-dimensional data of a sensor to be detected;
[0018] Among them, the one-dimensional data includes any one or more data of sensing distance, sensing hysteresis and sensing blind area, the two-dimensional data includes the offset distance of the sensor to be detected in the Y-axis direction, and the three-dimensional data includes the offset distance of the sensor to be detected in the Z-axis direction.
[0019] As a further improvement of the present application, the sensor testing system further includes:
[0020] A short-circuit protection current module is used to detect the limit current when the sensor to be detected enters short-circuit protection;
[0021] A cut-off state detection current module is used to detect the current output when the sensor to be detected is not sensing;
[0022] The voltage sag module is used to detect whether the sensing output of the sensor to be detected will be misjudged when the power supply voltage of the sensor to be detected drops to a preset voltage;
[0023] The voltage interruption module is used to detect whether the sensing output of the sensor to be detected will be misjudged when the power supply voltage of the sensor drops to 0V.
[0024] As a further improvement of the present application, the sensor testing system further includes:
[0025] A power polarity reversal module is used to detect whether the sensor to be detected will be damaged when the power polarity is reversed;
[0026] The high and low voltage detection module is used to detect the output working current of the sensor to be detected when the power supply voltage of the sensor to be detected is high voltage or low voltage respectively;
[0027] Thermal stability test module, used to detect the thermal stabilization time required for the sensor to be tested to perform stable detection after being connected to the power supply, as well as the repeatability after entering the stabilization time;
[0028] The target detection module is used to detect the minimum target size that can be detected when the sensor to be detected is at a rated distance under different preset percentages.
[0029] As a further improvement of the present application, the sensor testing system also includes an output distance detection module, which is applied to the diffuse reflection photoelectric sensor to provide a number of target baffles of different sizes and detect the sensing output distance of the diffuse reflection photoelectric sensor corresponding to target baffles of different sizes.
[0030] Based on the above sensor testing platform, the present application also provides a testing method based on the sensor testing platform, and the testing method comprises the following steps:
[0031] The sensor to be detected is respectively arranged on the fixed bracket and the first slider, and the first slider is driven to move in a direction close to the fixed bracket. When the sensor to be detected senses something, the movement stops, and the position of the sensing point is output;
[0032] The first slider is driven to continue to move in a direction close to the fixed bracket to determine whether the sensor to be detected is disconnected from sensing during the movement; if not, the first slider is driven to move to the first limiter and then stops, and the first slider is driven to move to the second limiter again, and stops when the sensor to be detected is disconnected from sensing, and outputs the disconnection point position;
[0033] If so, the sensor to be detected stops moving and outputs the disconnection point position, drives the first slider to move to the first limit piece and then stops, drives the first slider to move toward the second limit piece again, stops when the detection device starts to sense, outputs the sensing point position, drives the second slider to move toward the second limit piece again, stops moving when the sensor to be detected disconnects the sensing, and outputs the disconnection point position.
[0034] As a further improvement of the present application, the output protection module further includes a short circuit protection unit;
[0035] When the load current provided by the output control transistor exceeds the preset load current, the short-circuit protection transistor is controlled to be turned on, the collector of the short-circuit protection transistor is connected to the main control module, and a short-circuit protection signal is sent to the main control module so that the main control module controls the shutdown of the output signal according to the short-circuit protection signal until the load current is lower than the preset load current.
[0036] Based on the above sensor testing platform, the present application also provides a photoelectric sensor control method, which includes the following steps:
[0037] Identify the external charging type, and convert the grid voltage connected to the external charging line into the working voltage for power supply;
[0038] The control signal transmission module transmits an optical signal with a fixed period and duty cycle, receives the laser signal through a dual PD receiving tube, converts the received two optical signals into voltage signals, and transmits the voltage signals to the main control module after filtering and differential amplification;
[0039] The differentially amplified voltage signal is compared with a preset threshold value to determine whether a target detection object exists, and the light-emitting state of the output indicator diode is adjusted according to the result of whether a target detection object exists.
[0040] The sensor testing platform, testing system and testing method provided in this application have the following beneficial effects:
[0041] In the present application, the sensor to be detected is arranged on a fixed bracket, a first slider and a second slider according to needs. When testing is required in the X-axis direction, the first driving member drives the first slider to move relative to the fixed bracket. When testing is required in the Y-axis direction, the second driving member drives the second slider to move relative to the fixed bracket. In addition, a switching component is arranged on both the fixed bracket and the second slider. When testing is required in the Z-axis direction, the switching component switches the sensor to be detected arranged on the fixed bracket and the second slider from the first state to the second state, and the second driving member drives the second slider to move relative to the fixed bracket, which can meet the requirements of left and right offset and up and down offset of the sensor in actual applications. The present application covers a wide range of test parameters. By replacing manual transmission testing with automatic testing, the test efficiency is improved, the reliability of the test parameters is increased, and accurate evaluation of sensor performance and quality is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only part of the embodiments of the present application, rather than all the embodiments. For ordinary technicians in this field, without paying creative work, other drawings obtained based on these drawings all fall within the scope of protection of this application.
[0043] Figure 1 A schematic diagram of the structure of the sensor testing platform provided in the embodiment of the present application;
[0044] Figure 2 for Figure 1 A schematic structural diagram of a first guide rail assembly 10 in the sensor testing platform shown;
[0045] Figure 3 for Figure 1 A schematic diagram of the structure of the second guide rail assembly 20 in the sensor testing platform shown;
[0046] Figure 4 for Figure 1 The first application embodiment of the sensor testing platform shown;
[0047] Figure 5 for Figure 1 The second application embodiment of the sensor testing platform shown;
[0048] Figure 6 for Figure 1 The third application embodiment of the sensor testing platform shown;
[0049] Figure 7 for Figure 1 The structural schematic diagram of the control box 3 in the sensor test platform shown;
[0050] Figure 8 for Figure 1 The communication connection diagram of the upper computer 1 and the lower computer in the sensor test platform shown;
[0051] Fig. 9 for Figure 1 The hardware schematic diagram of the signal input interface in the sensor test platform shown;
[0052] Fig.10 for Figure 1 The hardware schematic diagram of mode switching in the sensor test platform shown;
[0053] Fig.11 A schematic diagram of the structure of a sensor testing system provided in an embodiment of the present application;
[0054] Fig.12 for Figure 1 The schematic diagram of the structure of detecting one-dimensional data in the sensor test platform shown;
[0055] Fig.13 for Figure 1 A schematic diagram of the process of detecting one-dimensional data in the sensor testing platform shown;
[0056] Fig.14 for Fig.11 A schematic diagram showing the relationship between the detection distance and the offset distance in the sensor test system;
[0057] Fig.15 for Fig.11 The schematic diagram of the process of the cut-off state detection current module in the sensor test system shown;
[0058] Fig.16 for Fig.11 The schematic diagram of the process of the short-circuit protection current module in the sensor test system shown;
[0059] Fig.17 for Fig.11 The schematic diagram of the flow of the voltage sag module and the voltage interruption module in the sensor test system shown;
[0060] Fig.18 for Fig.11 The schematic diagram of the process of high and low voltage detection module in the sensor test system shown;
[0061] Fig.19 for Fig.11 The hardware schematic diagram of the power polarity reversal module in the sensor test system shown;
[0062] Fig. 20 for Fig.11 The structural diagram of the output distance detection module in the sensor test system shown;
[0063] Fig.21 A flow chart of a test method applied to a sensor test platform provided in an embodiment of the present application;
[0064] Description of reference numerals:
[0065] 1-host computer; 2-test bench; 3-control box; 4-photoelectric protector;
[0066] 10-first guide rail assembly; 11-fixed bracket; 12-first guide rail; 13-first driving member; 14-first slider; 15-first limit member; 16-second limit member; 17-first induction member; 18-first belt; 19-first coupling;
[0067] 20-second guide rail assembly; 21-second guide rail; 22-second driving member; 23-second slider; 24-third limiting member; 25-fourth limiting member; 26-fifth limiting member; 27-second induction member; 28-second belt; 29-second coupling;
[0068] 31-Servo power supply area; 311-Air switch; 312-Filter; 313-Relay; 32-Servo control area; 321-First servo driver; 322-Second servo driver; 33-Lower computer control area; 331-Input interface mother socket; 332-Input interface mother socket; 333-Four-wire interface; 334-Main control chip; 335-Sensor signal output interface; 336-Voltage output interface; 34-Programmable control area; 341-Programmable electronic load; 342-Programmable DC load. DETAILED DESCRIPTION
[0069] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0070] In order to make the description of the disclosed content more detailed and complete, the following is an illustrative description of the implementation methods and specific examples of the present application; however, this is not the only form of implementing or applying the specific embodiments of the present application. The implementation methods cover the features of multiple specific embodiments and the method steps and their sequences for constructing and operating these specific embodiments. However, other specific embodiments can also be used to achieve the same or equal functions and step sequences. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0071] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.
[0072] In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" refers to two or more than two, and other quantifiers are similar. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application, and the embodiments of the present application and the features in the embodiments may be combined with each other without conflict.
[0073] Please refer to Figure 1-Figure 21 The embodiments of the present application propose a sensor testing platform, a testing system and a testing method, which can solve the problem of how to test the sensor in the Y-axis and Z-axis directions, and improve the testing accuracy of the sensor; please refer to Figure 1 , is a structural schematic diagram of a sensor testing platform provided in an embodiment of the present application, wherein the detection system includes a first guide rail assembly 10, a second guide rail assembly 20 and a switching assembly (not shown in the figure) arranged crosswise.
[0074] In the embodiments of this application, please refer to Figure 2 ,for Figure 1 The structural schematic diagram of the first guide rail assembly 10 in the sensor testing platform is shown. The first guide rail assembly 10 provided in the present application includes a first guide rail 12 and a first driving member 13. The first guide rail 12 is provided with a fixed bracket 11 and a first slider 14 capable of moving along a first direction on the first guide rail 12.
[0075] Please refer to Figure 3 ,for Figure 1 The schematic diagram of the structure of the second guide rail assembly 20 in the sensor test platform shown in the figure, the second guide rail assembly 20 includes a second guide rail 21 and a second driving member 22, and a second slider 23 is arranged on the second guide rail 21 and can move on the second guide rail 21 along the second direction.
[0076] As an optional implementation, please continue to refer to Figure 1The first guide rail 12 and the second guide rail 21 provided in the present application need to satisfy a cross-setting positional relationship. The cross-setting relationship can be a vertical cross-setting, or a cross-setting with an angle between the first guide rail 12 and the second guide rail 21. The first guide rail 12 and the second guide rail 21 can be set to the same horizontal plane height, or the height of the first guide rail 12 can be set slightly higher than the height of the second guide rail 21, or the height of the first guide rail 12 can be set slightly lower than the height of the second guide rail 21. However, in principle, the orthographic projections of the first guide rail 12 and the second guide rail 21 need to satisfy the cross-setting positional relationship.
[0077] The present application preferably sets the first guide rail 12 to be perpendicular to the second guide rail 21, and sets the height of the second guide rail 21 to be slightly higher than the height of the first guide rail 12. Of course, the positions of the first guide rail 12 and the second guide rail 21 can also be adaptively adjusted according to actual needs, and the present application does not impose further restrictions on this.
[0078] Please continue to refer to Figure 2 and Figure 3 In the present application, a first belt 18 is arranged on the first guide rail 12, and the first belt 18 is driven to move by the first driving member 13, and further drives the first slider 14 to move horizontally; similarly, in the present application, a second belt 28 is arranged on the second guide rail 21, and the second slider 23 is driven to realize horizontal movement by the second driving member 22.
[0079] Furthermore, the present application provides a switching component on both the fixed bracket 11 and the second slider 23 , and the switching component can switch the sensor to be detected provided on the fixed bracket 11 and the second slider 23 from the first state to the second state during testing.
[0080] It should be noted that the sensor testing platform provided by the present application can be used to test common photoelectric sensors on the market, such as through-beam photoelectric sensors and diffuse reflection photoelectric sensors, wherein the through-beam photoelectric sensor includes a transmitter and a receiver, and the transmitter and the receiver are separately arranged. During detection, the target object needs to be placed between the transmitter and the receiver to block the light signal emitted from the transmitter to the receiver. The diffuse reflection photoelectric sensor also includes a transmitter and a receiver, but the transmitter and the receiver are usually integrated on the same side. During detection, the light signal emitted by the transmitter is reflected by the target baffle and then acquired by the receiver. Regarding the working principles of other aspects of the above-mentioned through-beam photoelectric sensors and diffuse reflection photoelectric sensors, the present application will not go into details here.
[0081] Furthermore, the present application is provided with a first limiter 15 and a second limiter 16 on the first guide rail 12, which can limit the first slider 14, and a first sensor 17 is provided between the first limiter 15 and the second limiter 16, so as to sense whether the first slider 14 passes through the position of the first sensor 17; preferably, the first limiter 15 is provided close to the fixed bracket 11, the second limiter 16 is provided at the end of the first guide rail 12 away from the fixed bracket 11, and the first sensor 17 is provided close to the first limiter 15, because in practice During the detection process, the first slider 14 needs to be moved from the end away from the fixed bracket 11 to the position of the fixed bracket 11 at a certain speed. Due to the different performances of the sensors to be detected, a sensing blind spot may appear in the process of approaching the fixed bracket 11. Therefore, the present application sets the first limit member 15 close to the fixed bracket 11, sets the second limit member 16 at the end of the first guide rail 12 away from the fixed bracket 11, and sets the first sensing member 17 close to the first limit member 15. Of course, other settings are also feasible, and the present application does not impose further restrictions on this.
[0082] When actually testing on the first guide rail assembly 10, it is necessary to keep the sensor to be detected in the first state, and place the sensor to be detected on the fixed bracket 11 and the first slider 14 respectively. When the sensor to be detected is a diffuse reflection type photoelectric sensor, it is necessary to place the integrated transmitting end and receiving end on the fixed bracket 11, and set the target baffle on the first slider 14. When the sensor to be detected is a through-beam photoelectric sensor, the transmitting end and the receiving end are respectively set on the fixed bracket 11 and the first slider 14. Those skilled in the art should know this.
[0083] It can be understood that when the sensor to be detected is a through-beam photoelectric sensor, the transmitting end can be set on the fixed bracket 11, and the receiving end needs to be set on the first slider 14. The receiving end can also be set on the fixed bracket 11, and the transmitting end needs to be set on the first slider 14. In principle, the transmitting end and the receiving end need to satisfy a relative position relationship so that the receiving end can receive the light signal emitted by the transmitting end. The present application does not impose further restrictions on the specific setting method of the above-mentioned through-beam photoelectric sensor.
[0084] In the embodiments of this application, please refer to Figure 4 ,for Figure 1 The first application embodiment of the sensor testing platform shown in the figure can effectively detect the one-dimensional data of the sensor to be detected by placing the sensor to be detected on the first slider 14 and the fixed bracket 11 of the first guide rail assembly 10 respectively.
[0085] Specifically, since the first driving member 13 is provided on the first guide rail assembly 10, the first driving member 13 can drive the first slider 14 to move between the first limit member 15 and the second limit member 16, so as to detect the sensing distance, sensing hysteresis and sensing blind area of the sensor to be detected.
[0086] As an optional embodiment, the present application provides a third limit member 24 and a fourth limit member 25 for limiting the second slider 23 at both ends of the second guide rail 21, a fifth limit member 26 is provided between the third limit member 24 and the fourth limit member 25, and a second sensing member 27 is provided between the third limit member 24 and the fifth limit member 26, so as to sense whether the second slider 23 passes through the position of the second sensing member 27.
[0087] Specifically, the fifth limiter 26 is preferably disposed at a middle position between the third limiter 24 and the fourth limiter 25 , and the second sensing member 27 is also preferably disposed at a middle position between the third limiter 24 and the fifth limiter 26 , and the present application does not impose any further restrictions on this.
[0088] Please refer to Figure 5 ,for Figure 1 In the second application embodiment of the sensor testing platform shown, when detecting the two-dimensional data of the sensor to be detected, it is also necessary to keep the sensor to be detected in the first state, and place the sensor to be detected on the fixed bracket 11 and the second slider 23 respectively. When the sensor to be detected is a diffuse reflection type photoelectric sensor, it is necessary to place the integrated transmitting end and receiving end on the fixed bracket 11, and set the target baffle on the second slider 23. When the sensor to be detected is a through-beam photoelectric sensor, the transmitting end and the receiving end are respectively set on the fixed bracket 11 and the second slider 23.
[0089] Similarly, when the sensor to be detected is a through-beam photoelectric sensor, the transmitting end can be set on the fixed bracket 11, and the receiving end needs to be set on the second slider 23. The receiving end can also be set on the fixed bracket 11, and the transmitting end needs to be set on the second slider 23. In principle, the transmitting end and the receiving end need to satisfy a relative position relationship so that the receiving end can receive the optical signal emitted by the transmitting end. This application does not impose further restrictions on the specific setting method of the above-mentioned through-beam photoelectric sensor.
[0090] Specifically, since the second driving member 22 is provided on the second guide rail assembly 20, the fifth limiting member 26 is provided at the middle position of the third limiting member 24 and the fourth limiting member 25, and since the first guide rail 12 and the second guide rail 21 are cross-arranged, the position of the fifth limiting member 26 should be set relative to the position of the fixed bracket 11. In actual testing, the second slider 23 can be placed at the position of the fifth limiting member 26 first, and the second driving member 22 drives the second slider 23 to move in the direction close to the third limiting member 24 and the fourth limiting member 25 respectively with the position of the fifth limiting member 26 as the starting point, so as to detect the offset distance of the sensor to be detected in the Y-axis direction, and realize the detection of the two-dimensional data of the sensor to be detected.
[0091] As an optional implementation, the sensor testing platform provided in the present application can also detect the three-dimensional data of the sensor to be detected. It is also necessary to place the sensor to be detected on the fixed bracket 11 and the second slider 23 respectively. Since the fixed bracket 11 and the second slider 23 are both provided with switching components, it is necessary to use the switching component to switch the sensor to be detected thereon from the first state to the second state.
[0092] In a specific embodiment provided in the present application, the above-mentioned first state is that the transmitting end and the receiving end of the sensor to be detected are both in a vertical state, and the second state is that the transmitting end and the receiving end of the sensor to be detected are both in a horizontal state. In order to realize the detection of three-dimensional data of the sensor to be detected in the related technology, it is necessary to set a telescopic structure under the transmitting end and the receiving end of the sensor to be detected. Taking the receiving end as an example, it is necessary to further control the movement of the receiving end in the Z-axis direction through the telescopic structure, so as to obtain the offset distance that the sensor to be detected can achieve in the Z-axis direction.
[0093] However, the method of adding a telescopic structure is costly, and can only enable the receiving end to telescope in the direction above the second guide rail 21, but cannot enable the receiving end to telescope in the direction below the second guide rail 21, and thus cannot fully detect the offset distance of the sensor to be detected in the Z-axis direction. Therefore, the present application, based on the position structure of the first guide rail 12 and the second guide rail 21, sets a switching component on the fixed bracket 11 and the second slider 23, through which the sensor to be detected can be switched from vertical detection to horizontal detection, and the sensor to be detected on the fixed bracket 11 and the second slider 23 can be rotated from a vertical state to a horizontal state, thereby expanding the traditional one-dimensional detection parameter items of the sensor to be detected to three-dimensional detection, which can meet the requirements of the sensor for left and right offset and up and down offset in actual applications, and the test parameters are also more complete and accurate.
[0094] It should be noted that the switching component provided in the present application can be a rotating cylinder, which can be connected to the clamping mechanism by rotating the piston rod of the rotating cylinder, so that the clamping mechanism can be connected to the sensor to be detected. When the clamping mechanism rotates, it will further drive the sensor to be detected to switch from a vertical state to a horizontal state. Of course, other mechanical structures can also be used to realize the detection of the sensor to be detected from the first state to the second state. If necessary, the transmitting end and the receiving end of the sensor to be detected can be placed in a horizontal state through manual adjustment. The above switching methods are all feasible, and the present application does not impose any restrictions on the specific setting form of the switching component.
[0095] Please refer to Figure 6 ,for Figure 1 In the third application embodiment of the sensor testing platform shown in the figure, when the transmitting end and the receiving end of the sensor to be detected are both set to a horizontal state, the second slider 23 is driven by the second driving member 22 to move in the direction close to the third limit member 24 and the fourth limit member 25 with the position of the fifth limit member 26 as the starting point, which is equivalent to moving the sensor to be detected in the Z-axis direction, thereby testing the offset distance of the sensor to be detected in the Z-axis direction.
[0096] The present application does not need to set a guide rail in the Z-axis direction. Instead, on the basis of the original first guide rail 12 and the second guide rail 21, a switching component is set on the fixed bracket 11 and the second slider 23 to switch the sensor to be detected from a vertical state to a horizontal state, thereby converting the movement of the sensor to be detected in the Y-axis direction into movement in the Z-axis direction, effectively saving testing costs and control difficulty.
[0097] In a specific embodiment provided in the present application, the first limit member 15, the second limit member 16, the third limit member 24, the fourth limit member 25 and the fifth limit member 26 can be set in the form of slot-type photoelectric sensors, the first driving member 13 and the second driving member 22 can be set in the form of servo motors, and the first sensing member 17 and the second sensing member 27 can be set in the form of limit slot-type photoelectric sensor sensing members. Of course, other settings are also feasible, and the present application does not impose further restrictions on this.
[0098] Preferably, the present application is provided with a first coupling 19 between the first driving member 13 and the first belt 18, and a second coupling 29 is provided between the second driving member 22 and the second belt 28. The first coupling 19 ensures that the first driving member 13 can drive the first belt 18 to move when it moves, and the second coupling 29 ensures that the second driving member 22 can drive the second belt 28 to move when it moves, to ensure that they will not disengage in the working state, and to smoothly transmit power to the first belt 18 and the second belt 28, thereby further driving the first slider 14 or the second slider 23 to move as required. Such a configuration can protect the connected parts of the structure from damage, and improve the stability and service life of the first driving member 13 and the second driving member 22.
[0099] Please refer to Figure 7 ,for Figure 1 The structural schematic diagram of the control box 3 in the sensor test platform shown in the figure, the sensor test platform provided by the present application also includes a host computer 1, a control box 3, a test bench 2 and a photoelectric protector 4. It can be observed that the above-mentioned first guide rail assembly 10, the second guide rail assembly 20 and the switching assembly are all arranged on the test bench 2, and the photoelectric protector 4 is arranged around the test bench 2 to prevent the staff from accidentally entering the test area during the formal test. By setting the photoelectric protector 4, the emergency stop protection can be triggered to stop the test work, thereby avoiding harm to the test personnel and protecting the safety of the staff.
[0100] As an optional implementation, the above-mentioned photoelectric protector 4 can be set in the form of a safety grating or a safety light curtain; wherein, the safety grating is composed of a group of transmitters and receivers, the transmitter transmits a group of infrared light beams, and the receiver includes many light sensors. If the staff enters between the transmitter and the receiver, the receiver cannot receive the complete signal and will send an emergency stop command to the upper computer 1 to stop the test work in time to avoid personal injury.
[0101] Please continue to refer to Figure 7 In the present application, four areas A, B, C, and D are set inside the control box 3, wherein area A is a servo power supply area 31, specifically including an air switch 311, a filter 312, and a relay 313; area B is a servo control area 32, including a first servo driver 321 and a second servo driver 322, wherein the first servo driver 321 is used to control the first guide rail assembly 10, and the second servo driver 322 is used to control the second guide rail assembly 20.
[0102] Area C is the lower computer control area 33, which is used to communicate with the upper computer 1, including an input interface socket 331, an input interface socket 332, a four-wire interface 333, a main control chip 334, a sensor signal output interface 335 and a voltage output interface 336, wherein the four-wire interface 333 is a 24V interface, a GND interface, an NPN signal line and a PNP signal line from left to right. The lower computer control area 33 is used to connect to the sensor to be detected, sense the state of the sensor to be detected and transmit it to the upper computer 1, and transmit the instructions sent by the upper computer 1 to other devices in the control box 3 to cooperate in completing the detection work.
[0103] Area D is the programmable area 34, which includes a programmable electronic load 341 and a programmable DC load 342. The programmable electronic load 341 is a highly automated and programmable test equipment, which is mainly used to simulate different load conditions to test the output performance, stability and reliability of power supplies, batteries, chargers and other DC power supply equipment; the programmable DC load 342 is a DC power supply whose output voltage and current can be controlled by a program. It can be precisely controlled and adjusted through a built-in microprocessor. It has the characteristics of programmability, good stability, high output accuracy, etc., and is widely used in various electronic equipment tests and circuit experiments.
[0104] The present application sets up a control box 3 to receive instructions from the host computer 1, and internally encapsulates a programmable electronic load 341, a programmable DC load 342, a first servo driver 321, a second servo driver 322 and various signal interfaces, so that the staff can use the control box 3 for testing without opening the inside of the control box 3, thereby improving the convenience of the test. The present application does not make further restrictions on the specific structure inside the above-mentioned control box 3. The above is only an example implementation method, and those skilled in the art should be aware of it.
[0105] Preferably, the upper computer 1, the lower computer, the first servo driver 321 and the second servo driver 322 provided in the present application communicate with each other using MODBUS (Modicon Communication Protocol). Of course, the upper computer 1 can also communicate with the lower computer directly through USB, and can also indirectly communicate with the programmable electronic load 341 and the programmable DC load 342 through the lower computer bridge.
[0106] As an optional implementation, please refer to Figure 8 ,for Figure 1The communication connection diagram of the upper computer 1 and the lower computer in the sensor test platform is shown. In the present application, the lower computer communicates with the programmable electronic load 341 and the programmable DC load 342 via RS232. At this time, the lower computer plays a forwarding role in the communication between the upper computer 1 and the programmable electronic load 341 and the programmable DC load 342, which can reduce the number of serial port connections with the upper computer 1.
[0107] Furthermore, the present application arranges for communication and control between the host computer 1 and the first servo driver 321 and the second servo driver 322 via USB to RS485. One end of the connection between the host computer 1 and the first servo driver 321 and the second servo driver 322 is an RJ-45 network interface. The first servo driver 321 and the second servo driver 322 are connected via a double-headed RJ-45 network interface. The above-mentioned communication connection method can reduce the number of serial port communications connected to the host computer 1 to two, and ensure mutual communication between the host computer 1, the slave computer and the first servo driver 321 and the second servo driver 322. Of course, other wiring methods are also feasible, and the present application does not impose further restrictions on this.
[0108] As an optional implementation, please refer to Fig. 9 ,for Figure 1 The hardware schematic diagram of the signal input interface in the sensor test platform is shown. The present application identifies whether the sensor to be detected outputs induction and obtains the working current of the sensor to be detected by setting the sensor signal input interface. It can be observed that an interface J33 is set in the hardware schematic diagram. The present application connects NPNOUT and PNPOUT to the GPIO pin of the main control chip 334. For the NPN type sensor, when the sensor to be detected does not output, the NPNOUT sensor signal line is pulled high, and the main control chip 334 recognizes it as a high level. When the sensor to be detected outputs, the NPNOUT sensor signal line outputs 0V, and the main control chip 334 recognizes it as a low level, thereby realizing the detection of whether the NPN type sensor outputs induction.
[0109] For the PNP type, when the sensor to be detected does not output, the transistor Q22 is not conducting, and the transistor Q23 is conducting. At this time, the PNPOUT sensor signal line is connected to GND, and the main control chip 334 recognizes it as a low level. When the sensor to be detected outputs, the transistor Q22 is conducting, and the transistor Q23 is not conducting. The PNPOUT sensor signal line is pulled up to 5V, and the main control chip 334 recognizes it as a high level, thereby realizing the detection of whether the PNP type sensor outputs induction. J4 is a voltage and current integrated digital display DC dual display meter interface, which can display the current voltage and current consumption in real time, so as to obtain the working current of the sensor to be detected.
[0110] Please refer to Fig.10 ,for Figure 1 The hardware schematic diagram of the mode switching in the sensor test platform shown in the figure, the present application connects the NPNPNP_Mode_SW signal line and the NPNPNP_DCLoad_SW signal line to the GPIO pin of the main control chip 334, K8 and K6 in the figure are relays 313, and the level flip control relay 313 is switched to NPN or PNP mode according to the type of sensor to be detected through the level flip control relay 313 of the NPNPNP_Mode_SW signal line, and the load connection mode of NPN or PNP is switched according to the type of sensor to be detected through the level flip control relay 313 of the NPNPNP_DCLoad_SW signal line. For the specific wiring method of each component, please refer to Fig.10 , this application will not go into details here.
[0111] Based on the above sensor testing platform, this application also provides a sensor testing system, please refer to Fig.11 , which is a structural schematic diagram of a sensor testing system provided in an embodiment of the present application, and the sensor testing system includes the above-mentioned sensor testing platform, as well as a short-circuit protection current module, a cut-off current detection module, a voltage sag module, a voltage interruption module, a power supply polarity reversal module, a high and low voltage detection module, a thermal stability test module, a target object detection module and an output distance detection module.
[0112] In an embodiment of the present application, the above-mentioned sensor testing platform is capable of detecting one-dimensional data, two-dimensional data and three-dimensional data of the sensor to be detected; wherein the one-dimensional data includes any one or more data of sensing distance, sensing hysteresis and sensing blind area, the two-dimensional data includes the offset distance of the sensor to be detected in the Y-axis direction, and the three-dimensional data includes the offset distance of the sensor to be detected in the Z-axis direction.
[0113] Please refer to Fig.12 ,for Figure 1 The structural schematic diagram of detecting one-dimensional data in the sensor testing platform shown in the figure, the present application takes the diffuse reflection photoelectric sensor as an example, at this time, the transmitting end and the receiving end of the diffuse reflection photoelectric sensor are arranged on the fixed bracket 11, and the target baffle is arranged on the first slider 14, and the diffuse reflection photoelectric sensor and the target baffle both need to be maintained in the first state, that is, vertically arranged on the first guide rail 12.
[0114] Exemplarily, the target baffle can be set as a 200mm*200mm matte black target baffle, and the light signal emitted by the transmitting end is preferably set perpendicular to the target baffle to further detect the distance between the target baffle and the diffuse reflection photoelectric sensor when it changes from a distant light-shielding state to a light-incoming state.
[0115] In actual testing, the first slider 14 and the target baffle plate provided on the first slider 14 need to be gradually moved from the position of the second stopper 16 to the position of the first stopper 15, so as to Fig.12 Taking the direction in as an example, the target baffle needs to be moved to the left.
[0116] Furthermore, the sensor to be detected and the target baffle need to be respectively arranged on the fixed bracket 11 and the first slider 14, please refer to Fig.13 ,for Figure 1 The schematic diagram of the process of detecting one-dimensional data in the sensor testing platform shown in the figure shows that the present application drives the first slider 14 to move in the direction close to the fixed bracket 11, stops moving when the sensor to be detected senses, and outputs the position of the sensing point, which is the position where the sensor to be detected starts to sense, corresponding to the sensing point 3 in the figure.
[0117] As an optional implementation, the first slider 14 is driven to continue to move in the direction close to the fixed bracket 11, and after passing the first sensing member 17, it continues to move in the direction of the fixed bracket 11 to determine whether the sensor to be detected is disconnected from sensing during the movement; if not, it means that there is no sensing blind area for the sensor to be detected, and the first slider 14 is continued to be driven to move to the first limit member 15 and then stopped, and the first slider 14 is driven again to move in the direction of the second limit member 16. When the sensor to be detected is disconnected from sensing, it stops moving and outputs the disconnection point position. The disconnection point position is the critical point when the sensor to be detected goes from near to far, from output to no output, corresponding to Fig.12 The sensing point 4 in the figure, the distance S3 between the sensing point 3 and the sensing point 4 is the required sensing hysteresis.
[0118] If so, that is, the sensor to be detected loses its sensing during the process of moving toward the first limit member 15, it means that the sensor to be detected has a sensing blind spot, and it is necessary to stop moving and output the disconnection point position, which corresponds to the sensing point 5 on the right side of the sensing blind spot S2 in the figure. Then, the first slider 14 is driven to move to the first limit member 15 and then stop. The distance S2 between the first limit member 15 and the sensing point 5 is the required sensing blind spot.
[0119] The first slider 14 is driven again to move toward the second limiter 16, and stops when the detection device starts sensing, and outputs the sensing point position, which corresponds to the sensing point 5. By outputting the sensing point 5 again, the distance of the sensing blind area S2 can be checked, and then the second slider 23 is driven again to move toward the second limiter 16, and stops when the sensor to be detected disconnects the sensing, and outputs the disconnection point position, which is also the critical point when the sensor to be detected goes from near to far, from output to no output, corresponding to Fig.12The sensing point 4 in the figure, at this time, the distance S3 between the sensing point 3 and the sensing point 4 is the required sensing hysteresis.
[0120] It is understandable that the better the performance of the sensor to be detected, the shorter the distance of the sensing blind area S2 will be or even it will not exist. If the sensor to be detected does not have a sensing blind area, the sensing distance is Fig.12 The inductive hysteresis is S1 in the figure, and the inductive hysteresis is S3 in the figure; if the sensor to be detected has a sensing blind area, the sensing distance is Fig.12 The inductive blind area is S2 in the figure, and the inductive hysteresis is S3 in the figure.
[0121] Through the sensor testing platform provided in the present application, the one-dimensional data of the sensor to be detected can be detected, and the sensing distance, sensing blind area and sensing hysteresis of the sensor to be detected in the X-axis direction can be tested, so as to intuitively reflect the performance of the sensor to be detected.
[0122] As an optional implementation, the sensor testing platform can also detect the offset distance of the sensor to be detected on the Y-axis and the Z-axis to meet the requirements of left-right offset and up-down offset of the sensor.
[0123] Please continue to refer to Figure 5 and Figure 6 Taking the through-beam photoelectric sensor as an example, when the present application detects the two-dimensional data of the sensor to be detected, it is necessary to keep the transmitting end and the receiving end in the first state at the same time, and respectively set them on the fixed bracket 11 and the second slider 23. First, the second slider 23 is set at the position of the fifth limiter 26, and the second slider 23 is moved in the direction close to the third limiter 24. If the sensing stops during the movement, the point is determined as the first deviation value, and the second slider 23 continues to be moved in the direction close to the fifth limiter 26. If the sensing of the sensor to be detected stops during the movement, the point is determined as the second deviation value. The difference between the first deviation value and the second deviation value is the offset distance of the sensor to be detected in the Y-axis direction.
[0124] Of course, a curve diagram between the detection distance and the offset distance of the sensor to be detected in the Y-axis direction can also be drawn with the detection distance as the horizontal coordinate and the offset distance in the Y-axis direction as the vertical coordinate, such as Fig.14 As shown, Fig.11 The schematic diagram of the relationship between the detection distance and the offset distance in the sensor test system shown is that the present application obtains the offset distance in the Y-axis direction corresponding to different detection distances through testing. The above methods are all feasible and the present application does not impose any further restrictions on this.
[0125] When detecting the three-dimensional data of the sensor to be detected, it is necessary to set the transmitting end and the receiving end on the fixed bracket 11 and the second slider 23 respectively, and switch the transmitting end and the receiving end from the first state to the second state through the switching component. At this time, the transmitting end and the receiving end are both set parallel to the horizontal plane. Similarly, the second slider 23 is set at the position of the fifth limiter 26. First, the second slider 23 is moved in the direction close to the third limiter 24. If the sensing stops during the movement, the point is determined as the first deviation value. Continue to move the second slider 23 in the direction close to the fifth limiter 26. If the sensing of the sensor to be detected stops during the movement, the point is determined as the second deviation value. The difference between the first deviation value and the second deviation value is the offset distance of the sensor to be detected in the Z-axis direction.
[0126] Of course, you can also use the detection distance as the horizontal coordinate and the offset distance in the Z-axis direction as the vertical coordinate to draw a curve graph between the detection distance and the offset distance of the sensor to be detected in the Z-axis direction. The offset distances in the Z-axis direction corresponding to different detection distances can be obtained through testing. Without adding a guide rail and a telescopic structure in the Z-axis direction, the existing second guide rail assembly 20 is used to realize the detection of the three-dimensional data of the sensor to be detected, thereby reducing the cost and obtaining the corresponding offset distances in the Y-axis and Z-axis directions at different detection distances.
[0127] It can be understood that although the above process is explained by taking the transmitting end and the receiving end of the through-beam photoelectric sensor as an example, when actually detecting the diffuse reflection photoelectric sensor, it is only necessary to set the transmitting end and the receiving end of the diffuse reflection photoelectric sensor on the fixed bracket 11, and set the corresponding target baffle on the first slider 14 or the second slider 23. The detection methods of the two are the same, and this application will not elaborate on this.
[0128] As an optional implementation, please refer to Fig.15 ,for Fig.11 The flowchart of the cut-off state detection current module in the sensor test system shown is a schematic diagram. The cut-off state detection current module can detect the current output when the sensor to be detected is not sensing, that is, when the receiving end cannot receive the light signal emitted by the transmitting end, it is considered that there is no sensing in the current situation. The required cut-off state current can be obtained by reading the current value of the current programmable DC load 342.
[0129] As an optional implementation, the short-circuit protection current module can detect the limit current when the sensor to be detected enters short-circuit protection. Fig.16 ,for Fig.11The flow chart of the short-circuit protection current module in the sensor test system shown in the figure shows that in actual testing, the sensor to be tested needs to be moved to a sensing position where it can output normally, the voltage is evenly increased to the sensor to be tested, the current current is read and recorded until the short-circuit protection of the sensor to be tested is triggered, and the load current that triggers the short-circuit protection of the sensor to be tested is recorded as the required short-circuit protection current.
[0130] In the embodiment of the present application, the short-circuit protection current is the limiting current that triggers the sensor to be detected to enter short-circuit protection. The short-circuit protection detection is set to prevent large current breakdown and damage to the sensor. The principle is to increase the current through the programmable electronic load 341 to trigger the short-circuit protection of the sensor.
[0131] As an optional implementation, the voltage sag module is used to detect whether the sensing output of the sensor to be detected will be misjudged when the power supply voltage of the sensor to be detected drops to a preset voltage; for details, please refer to Fig.17 ,for Fig.11 The flow chart of the voltage sag module and the voltage interruption module in the sensor test system is shown, which determines whether the sensor sensing output will cause misjudgment by reducing the supply voltage of the sensor to a certain percentage voltage.
[0132] As an optional implementation, the voltage interruption module, please continue to refer to Fig.17 In this application, a voltage interruption module is set to detect whether the sensing output of the sensor to be detected will be misjudged when the power supply voltage of the sensor drops to 0V, thereby performing a more comprehensive test on the output performance of the sensor.
[0133] As an optional implementation, the high and low voltage detection module is used to detect the output working current of the sensor to be detected when the power supply voltage of the sensor to be detected is high voltage and low voltage respectively; for details, please refer to Fig.18 ,for Fig.11 The flow chart of the high and low voltage detection module in the sensor test system shown in the figure, the present application moves the sensor to a position where it can sense the output normally, sets the DC power supply of the programmable DC load 342 to 5V, reads the current working current, and realizes the detection of the working current under low voltage conditions, sets the DC power supply of the programmable DC load 342 to 24V, reads the current working current, and realizes the detection of the working current under high voltage conditions.
[0134] As an optional implementation, the above-mentioned thermal stability test module is used to detect the thermal stabilization time required for the sensor to be tested to perform stable detection after being connected to the power supply, as well as the repeatability accuracy after entering the stabilization time; specifically, the preheating stabilization time refers to how long it takes for the test sensor to enter the stable detection after being connected to the power supply, and the repeatability accuracy refers to the difference in detection distance that the test sensor can achieve after the stable detection. In principle, the smaller the repeatability accuracy value of the sensor, the better the performance.
[0135] As an optional implementation, the power polarity reversal module is used to detect whether the sensor to be detected will be damaged when the power polarity is reversed; please refer to Fig.19 ,for Fig.11 The hardware schematic diagram of the power polarity reversal module in the sensor test system shown in the figure, the power polarity reversal module provided by the present application includes a relay 313, by connecting the positive and negative poles of the programmable DC load 342 to the first pin 1 and the third pin 3 of J23 respectively, so as to provide power to the power polarity reversal module, and connect Polarity_change to the GPIO pin of the relay 313, and switch the relay 313 through IO flip control, and further control the circuit to reverse the output positive and negative polarities, so as to realize the polarity reversal test of the power supply.
[0136] As an optional implementation, the target detection module is used to detect the minimum target size that can be detected when the sensor to be detected is at a rated distance under different preset percentages; specifically, taking a diffuse reflection photoelectric sensor as an example, target baffles of different sizes can be set at 10%, 50%, and 90% of the rated distance, and different speeds can be switched to determine whether the sensor to be detected can output normally and the minimum target size that can be detected; illustratively, the size of the target can be tested between 0.1mm and 5mm.
[0137] As an optional implementation, the present application also provides an output distance detection module, which is applied to a diffuse reflection photoelectric sensor to provide a plurality of target baffles of different sizes and detect the sensing output distance of the diffuse reflection photoelectric sensor corresponding to target baffles of different sizes.
[0138] Please refer to Fig. 20 ,for Fig.11 The schematic diagram of the structure of the output distance detection module in the sensor test system shown in the figure shows that the present application sets a plurality of target baffles of different sizes on the second guide rail 21 at intervals, and sets the distance between each target baffle to be large enough to avoid other target baffles from interfering with the target baffle currently in the testing state.
[0139] Exemplarily, the sizes of the target baffles can be set to 1*1cm, 2*2cm, 3*3cm, 5*5cm, 7.5*7.5cm, 10*10cm, 20*20cm, 30*30cm and the like. During the test, the corresponding target baffle is controlled by the second driving member 22 to move to the position corresponding to the diffuse reflection photoelectric sensor as required, thereby detecting the sensing output distance of target baffles of different sizes.
[0140] For other details about how the above technical solutions are implemented by each module in the above sensor testing system, please refer to the description of the sensor testing platform provided in the above application embodiment, which will not be repeated here.
[0141] Based on the above sensor testing platform, this application also provides a testing method applied to the sensor testing platform, please refer to Fig.21 , is a flow chart of a test method applied to a sensor test platform provided in an embodiment of the present application, the method comprising the following steps:
[0142] S1: The sensor to be detected is respectively arranged on the fixed bracket and the first slider, and the first slider is driven to move in a direction close to the fixed bracket. When the sensor to be detected senses something, the movement stops, and the position of the sensing point is output;
[0143] S2: driving the first slider to continue to move in a direction close to the fixed bracket, and determining whether the sensor to be detected is disconnected from sensing during the movement;
[0144] S3: If not, drive the first slider to move to the first limiter and then stop, and drive the first slider to move to the second limiter again, and stop moving when the sensor to be detected disconnects the sensing, and output the disconnection point position;
[0145] If so, the sensor to be detected stops moving and outputs the disconnection point position, drives the first slider to move to the first limit piece and then stops, drives the first slider to move toward the second limit piece again, stops when the detection device starts to sense, outputs the sensing point position, drives the second slider to move toward the second limit piece again, stops moving when the sensor to be detected disconnects the sensing, and outputs the disconnection point position.
[0146] For other details about each step in the above-mentioned sensor testing system for implementing the above-mentioned technical solution, please refer to the description of the sensor testing platform provided in the above-mentioned application embodiment, which will not be repeated here.
[0147] In the several embodiments provided in the present application, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0148] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0149] The sensor testing platform, testing system and testing method provided by the present application arrange the sensor to be detected on a fixed bracket, a first slider and a second slider according to needs. When testing is required in the X-axis direction, the first driving member drives the first slider to move relative to the fixed bracket. When testing is required in the Y-axis direction, the second driving member drives the second slider to move relative to the fixed bracket. In addition, a switching component is provided on both the fixed bracket and the second slider. When testing is required in the Z-axis direction, the switching component switches the sensor to be detected arranged on the fixed bracket and the second slider from a first state to a second state, and the second driving member drives the second slider to move relative to the fixed bracket, which can meet the requirements of left and right offset and up and down offset of the sensor in actual applications. The present application covers a wide range of test parameters. By replacing manual transmission testing with automatic testing, the test efficiency is improved, the reliability of the test parameters is increased, and accurate evaluation of sensor performance and quality is achieved.
[0150] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A sensor testing platform, characterized in that: It includes a first guide rail assembly, a second guide rail assembly and a switching assembly which are cross-arranged; The first guide rail assembly includes a first guide rail and a first driving member, the first guide rail is provided with a fixing bracket and a first sliding block capable of moving along a first direction on the first guide rail; The second guide rail assembly includes a second guide rail and a second driving member, and the second guide rail is provided with a second sliding block capable of moving along a second direction on the second guide rail; The switching assembly is disposed on both the fixed bracket and the second sliding block, so as to switch the sensors to be detected disposed on the fixed bracket and the second sliding block from a first state to a second state during testing.
2. The sensor testing platform according to claim 1, characterized in that: The first guide rail is provided with a first limiting member and a second limiting member for limiting the first sliding block, and a first sensing member is provided between the first limiting member and the second limiting member; During the test, the sensor to be detected is in the first state and is placed on the fixed bracket and the first slider respectively. The first driving member drives the first slider to move between the first limiting member and the second limiting member to detect the one-dimensional data of the sensor to be detected.
3. The sensor testing platform according to claim 1, characterized in that: The second guide rail is provided with a third limiting member and a fourth limiting member for limiting the second sliding block, a fifth limiting member is provided between the third limiting member and the fourth limiting member, and a second sensing member is provided between the third limiting member and the fifth limiting member; During the test, the sensor to be detected is in the first state and is placed on the fixed bracket and the second slider respectively. The second driving member drives the second slider to move between the third limit member and the fourth limit member to detect the two-dimensional data of the sensor to be detected.
4. The sensor testing platform according to claim 3, characterized in that: The first state is that the transmitting end and the receiving end of the sensor to be detected are both in a vertical state, and the second state is that the transmitting end and the receiving end of the sensor to be detected are both in a horizontal state. The switching component is used to rotate the sensor to be detected on the fixed bracket and the second slider from the vertical state to the horizontal state during testing, and drive the second slider to move between the third limit member and the fourth limit member through the second driving member to detect the three-dimensional data of the sensor to be detected.
5. The sensor testing platform according to claim 1, characterized in that: The sensor to be detected is any one of a through-beam photoelectric sensor and a diffuse reflection photoelectric sensor; When the sensor to be detected is a through-beam photoelectric sensor, the transmitting end and the receiving end of the through-beam photoelectric sensor are respectively arranged on the fixed bracket and the first slider, or respectively arranged on the fixed bracket and the second slider; When the sensor to be detected is a diffuse reflection photoelectric sensor, the diffuse reflection photoelectric sensor and the target baffle are respectively arranged on the fixed bracket and the first sliding block, or are respectively arranged on the fixed bracket and the second sliding block.
6. A sensor testing system, characterized in that: The sensor testing system comprises the sensor testing platform according to any one of claims 1 to 5, wherein the sensor testing platform is used to detect one-dimensional data, two-dimensional data and three-dimensional data of the sensor to be detected; Among them, the one-dimensional data includes any one or more data of sensing distance, sensing hysteresis and sensing blind area, the two-dimensional data includes the offset distance of the sensor to be detected in the Y-axis direction, and the three-dimensional data includes the offset distance of the sensor to be detected in the Z-axis direction.
7. The sensor testing platform according to claim 1, characterized in that: The sensor testing system also includes: A short-circuit protection current module is used to detect the limit current when the sensor to be detected enters short-circuit protection; A cut-off state detection current module is used to detect the current output when the sensor to be detected is not sensing; The voltage sag module is used to detect whether the sensing output of the sensor to be detected will be misjudged when the power supply voltage of the sensor to be detected drops to a preset voltage; The voltage interruption module is used to detect whether the sensing output of the sensor to be detected will be misjudged when the power supply voltage of the sensor drops to 0V.
8. The sensor testing system according to claim 1, characterized in that: The sensor testing system also includes: A power polarity reversal module is used to detect whether the sensor to be detected will be damaged when the power polarity is reversed; The high and low voltage detection module is used to detect the output working current of the sensor to be detected when the power supply voltage of the sensor to be detected is high voltage or low voltage respectively; Thermal stability test module, used to detect the thermal stabilization time required for the sensor to be tested to perform stable detection after being connected to the power supply, as well as the repeatability after entering the stabilization time; The target detection module is used to detect the minimum target size that can be detected when the sensor to be detected is at a rated distance under different preset percentages.
9. The sensor testing platform according to claim 1, characterized in that: The sensor testing system also includes an output distance detection module, which is applied to the diffuse reflection photoelectric sensor and is used to provide a plurality of target baffles of different sizes and detect the sensing output distance of the diffuse reflection photoelectric sensor corresponding to the target baffles of different sizes.
10. A testing method applied to the sensor testing platform according to any one of claims 2 to 5, characterized in that: The method comprises the following steps: The sensor to be detected is respectively arranged on the fixed bracket and the first slider, and the first slider is driven to move in a direction close to the fixed bracket. When the sensor to be detected senses something, the movement stops, and the position of the sensing point is output; The first slider is driven to continue to move in a direction close to the fixed bracket to determine whether the sensor to be detected is disconnected from sensing during the movement; if not, the first slider is driven to move to the first limiter and then stops, and the first slider is driven to move to the second limiter again, and stops when the sensor to be detected is disconnected from sensing, and outputs the disconnection point position; If so, the sensor to be detected stops moving and outputs the disconnection point position, drives the first slider to move to the first limit piece and then stops, drives the first slider to move toward the second limit piece again, stops when the detection device starts to sense, outputs the sensing point position, drives the second slider to move toward the second limit piece again, stops moving when the sensor to be detected disconnects the sensing, and outputs the disconnection point position.
Citation Information
Patent Citations
Gap sensor dynamic test platform and static test equipment
CN107894221A
Opposite irradiation type photoelectric sensor and target detection system
CN107966741A
High-precision testing device and method for multi-channel-signal-output photoelectric sensor
CN110426070A
Vibration displacement sensor metering device and metering method thereof, and bifunctional metering device and metering method thereof
CN110967056A
Test turntable and test system
CN115754493A
