Light sensor durability testing device and method

文档序号:1019352 发布日期:2020-10-27 浏览:5次 中文

阅读说明:本技术 一种光感传感器耐久测试设备及方法 (Light sensor durability testing device and method ) 是由 张林博 林少鹏 黄新康 尹升高 于 2020-06-01 设计创作,主要内容包括:本发明涉及一种光感传感器耐久测试设备包括上位机及动作夹具,上位机与动作夹具连接,动作夹具包括固定支架、电机、密封板、垂直移动机构、水平位移机构及仿真手指,固定支架用于固定产品,电机用于控制垂直移动机构及水平位移机构做位移,密封板用于保持高低测验的密封性,垂直移动机构用于控制仿真手指在与产品相垂直的方向上做位移,水平移动机构用于控制仿真手指在水平的方向上做位移,仿真手指用于模仿人手。一种光感传感器耐久测试方法能验证技术进行人工模拟手势感应。该方法可以根据不同的设置和设计物件大小可以对物件的速度和光感应强度进行控制。该方法研究出在移动过程中如何对中间过程进行判定和验证的情况。(The invention relates to a light sensor durability test device which comprises an upper computer and an action clamp, wherein the upper computer is connected with the action clamp, the action clamp comprises a fixed support, a motor, a sealing plate, a vertical moving mechanism, a horizontal displacement mechanism and a simulation finger, the fixed support is used for fixing a product, the motor is used for controlling the vertical moving mechanism and the horizontal displacement mechanism to displace, the sealing plate is used for keeping the sealing performance of a high-low test, the vertical moving mechanism is used for controlling the simulation finger to displace in the direction vertical to the product, the horizontal moving mechanism is used for controlling the simulation finger to displace in the horizontal direction, and the simulation finger is used for simulating a human hand. The light sensor durability test method can verify that manual simulation gesture induction is carried out by a technology. The method can control the speed and the light induction intensity of the object according to different settings and designed sizes of the object. The method researches the situation of how to judge and verify the intermediate process in the moving process.)

1. A light sensor durability testing apparatus, comprising: an upper computer and an action clamp, wherein the upper computer is connected with the action clamp,

the action clamp comprises a fixed support, a motor, a sealing plate, a vertical moving mechanism, a horizontal displacement mechanism and a simulation finger, wherein the fixed support is used for fixing a product, the motor is used for controlling the vertical moving mechanism and the horizontal displacement mechanism to displace, the sealing plate is used for keeping the tightness of a high-low test, the vertical moving mechanism is used for controlling the simulation finger to displace in the direction perpendicular to the product, the horizontal moving mechanism is used for controlling the simulation finger to displace in the horizontal direction, and the simulation finger is used for simulating a human hand.

2. The durability test equipment for the light sensor as claimed in claim 1, wherein the upper computer comprises an industrial personal computer and a board card, and the industrial personal computer is used for controlling the board card and related hardware and recording and storing data.

3. The light sensor durability test device as claimed in claim 2, wherein the board card comprises PCI-8164, CP-118U, PCI-8513/2, NI-9221 and S300-EX, the PCI-8164 is used for providing output pulse control stepper motors, the CP-118U is used for providing a plurality of serial ports and communicating with temperature and humidity meters, the PCI-8513/2 is used for communicating with the product through CAN, controlling the working state of the product and monitoring the state and output feedback of the product, the NI-9221 is used for monitoring the current working voltage of the product, and the S300-EX is used for monitoring the temperature and humidity states of the product test environment.

4. The apparatus and method for testing durability of a photosensor according to claim 1, wherein the motor is a stepping motor and the sealing plate is an acrylic sealing plate.

5. A durability test method for a light sensor comprises the following steps:

s01: calibrating the first position to obtain a first standard value of the light sensor at the first position, and calibrating the second position to obtain a second standard value of the light sensor at the second position;

s02: setting a preset vertical displacement parameter, a preset horizontal displacement parameter and a preset endurance time;

s03: executing vertical displacement operation, moving the simulated finger to a first position, and reading a first actual value of the light sensor at the first position;

s04: judging whether the first actual value is within a preset range of the first standard value, if so, executing the next operation, and if not, recording as NG once and then executing the next operation;

s05: executing horizontal displacement operation, moving the simulated finger to a second position, and reading a second actual value of the light sensor at the second position;

s06: judging whether the second actual value is within a preset range of the second standard value, if so, executing the next operation, and if not, recording as NG once and then executing the next operation;

s07: executing the simulated finger reset operation, writing the first actual value and the second actual value into a database, and repeatedly executing S03-S06;

s08: judging whether the NG times are larger than or equal to the preset NG times, if so, ending the test, and if not, continuing to execute S03-S06;

s09: and judging whether the endurance times meet the preset endurance times, if so, ending the test, and otherwise, continuing to execute S03-S06.

6. The method as claimed in claim 5, wherein the first standard value is a first standard value of sensing intensity of the sensor at position one and a first standard value of distance corresponding to the first standard value of sensing intensity;

the second standard value is a second induction intensity standard value of the sensor at the second position and a second distance standard value corresponding to the second induction intensity standard value;

the first actual value is a first induction intensity actual value of the sensor at the first position and a first distance actual value corresponding to the first induction intensity actual value;

the second actual value is a second induction intensity actual value of the sensor at the second position and a second distance actual value corresponding to the second induction intensity actual value.

7. The method as claimed in claim 5, wherein the first position is a leftmost position within the range of the sensing intensity area of the photo sensor, and the second position is a rightmost position within the range of the sensing intensity area of the photo sensor.

8. The method as claimed in claim 5, wherein the vertical distance between the first position and the second position and the product is between 50mm and 60 mm.

9. The durability test method for optical sensor as claimed in claim 5, wherein the vertical displacement speed of the predetermined vertical displacement parameter is any value between 50mm/s and 100 mm/s;

the vertical displacement speed of the preset horizontal displacement parameter is any value between 100mm/s and 200 mm/s;

the preset endurance time is any value between 2 ten thousand times and 20 ten thousand times.

10. The method as claimed in claim 5, wherein the predetermined range is any value between-5 and 5, and the predetermined NG times is any value between 20 and 25.

Technical Field

The invention relates to the technical field of sensor durability testing, in particular to light sensation sensor durability testing equipment and a method.

Background

As is well known, in practical applications, the car audio navigation and display screen products with the optical sensors often fail due to the combined action of three load conditions, i.e., the speed, the size and the relative distance of moving objects (most gestures) in the car.

Before type inspection or factory shipment, the light sensor needs to pass through a gesture recognition endurance verification test for simulating an actual use scene of the light sensor so as to verify the functions and the service life of the product under the condition. The invention aims to provide more accurate reference for the control of the three parameters of the speed, the size and the relative product distance of the moving object by the light-sensitive sensor.

Disclosure of Invention

The invention provides the device and the method for testing the durability of the light sensor, which can effectively know the function and the service life of the light sensor in the actual use situation.

A light sensor durability testing apparatus comprising: an upper computer and an action clamp, wherein the upper computer is connected with the action clamp,

the action clamp comprises a fixed support, a motor, a sealing plate, a vertical moving mechanism, a horizontal displacement mechanism and a simulation finger, wherein the fixed support is used for fixing a product, the motor is used for controlling the vertical moving mechanism and the horizontal displacement mechanism to displace, the sealing plate is used for keeping the tightness of a high-low test, the vertical moving mechanism is used for controlling the simulation finger to displace in the direction perpendicular to the product, the horizontal moving mechanism is used for controlling the simulation finger to displace in the horizontal direction, and the simulation finger is used for simulating a human hand.

In one embodiment, the upper computer comprises an industrial personal computer and a board card, and the industrial personal computer is used for controlling the board card and related hardware and recording and storing data.

In one embodiment, the board card comprises PCI-8164, CP-118U, PCI-8513/2, NI-9221 and S300-EX, wherein the PCI-8164 is used for providing output pulses to control a stepping motor, the CP-118U is used for providing a plurality of serial ports and communicating with a temperature and humidity meter, the PCI-8513/2 is used for communicating with the product through a CAN, controlling the working state of the product and monitoring the state and output feedback of the product, the NI-9221 is used for monitoring the current working voltage of the product, and the S300-EX is used for monitoring the temperature and humidity state of the product testing environment.

In one embodiment, the motor is a stepping motor, and the sealing plate is an acrylic sealing plate.

A durability test method for a light sensor comprises the following steps:

s01: calibrating the first position to obtain a first standard value of the light sensor at the first position, and calibrating the second position to obtain a second standard value of the light sensor at the second position;

s02: setting a preset vertical displacement parameter, a preset horizontal displacement parameter and a preset endurance time;

s03: executing vertical displacement operation, moving the simulated finger to a first position, and reading a first actual value of the light sensor at the first position;

s04: judging whether the first actual value is within a preset range of the first standard value, if so, executing the next operation, and if not, recording as NG once and then executing the next operation;

s05: executing horizontal displacement operation, moving the simulated finger to a second position, and reading a second actual value of the light sensor at the second position;

s06: judging whether the second actual value is within a preset range of the second standard value, if so, executing the next operation, and if not, recording as NG once and then executing the next operation;

s07: executing the simulated finger reset operation, writing the first actual value and the second actual value into a database, and repeatedly executing S03-S06;

s08: judging whether the NG times are larger than or equal to the preset NG times, if so, ending the test, and if not, continuing to execute S03-S06;

s09: and judging whether the endurance times meet the preset endurance times, if so, ending the test, and otherwise, continuing to execute S03-S06.

In one embodiment, the first standard value is a first standard value of induction intensity of the sensor at position one and a first standard value of distance corresponding to the first standard value of induction intensity;

the second standard value is a second induction intensity standard value of the sensor at the second position and a second distance standard value corresponding to the second induction intensity standard value;

the first actual value is a first induction intensity actual value of the sensor at the first position and a first distance actual value corresponding to the first induction intensity actual value;

the second actual value is a second induction intensity actual value of the sensor at the second position and a second distance actual value corresponding to the second induction intensity actual value.

In one embodiment, the first position is a leftmost position within the range of the sensing intensity area of the light sensor, and the second position is a rightmost position within the range of the sensing intensity area of the light sensor.

In one embodiment, the vertical distance between the first position and the second position and the product is any value between 50mm and 60 mm.

In one embodiment, the vertical displacement speed of the preset vertical displacement parameter is any value between 50mm/s and 100 mm/s;

the vertical displacement speed of the preset horizontal displacement parameter is any value between 100mm/s and 200 mm/s;

the preset endurance time is any value between 2 ten thousand times and 20 ten thousand times.

In one embodiment, the predetermined range is any value between-5 and 5, and the predetermined NG number is any value between 20 and 25.

Compared with the prior art, the invention has the following beneficial technical effects:

the invention provides a light sensation sensor durability testing method which can verify that the technology is used for manually simulating gesture induction. Secondly, the method can control the speed and the light induction intensity of the object according to different settings and designed sizes of the object. Finally, the method studies out how to determine and verify the intermediate process during the moving process.

Drawings

Fig. 1 is a schematic diagram of a durability testing apparatus for a light sensor according to an embodiment of the present invention.

Fig. 2 is a schematic diagram of a durability testing apparatus for a light sensor according to another embodiment of the present invention.

Fig. 3 is an enlarged view of a photo sensor durability test apparatus shown in fig. 2 at a.

Fig. 4 is a flowchart illustrating a method for testing durability of a photo sensor according to an embodiment of the invention.

The drawings are for illustrative purposes only and are not to be construed as limiting the patent; for the purpose of better illustrating the embodiments, certain features of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted; the same or similar reference numerals correspond to the same or similar parts; the terms describing positional relationships in the drawings are for illustrative purposes only and are not to be construed as limiting the patent.

Detailed Description

The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the invention easier to understand for those skilled in the art and will therefore make the scope of the invention more clearly defined.

Fig. 1 is a schematic diagram of a photo sensor durability testing apparatus 10 according to an embodiment of the present invention. A light sensor durability test device 10 comprises an upper computer (not shown) and an action clamp 100, wherein the upper computer is connected with the action clamp 100, namely, the upper computer is electrically connected with the action clamp, and the upper computer is used for controlling the action clamp to operate.

Referring to fig. 1 and 2, the motion clamp 100 includes a fixing bracket 110 for fixing a product, a motor 120 for controlling the vertical movement mechanism and the horizontal movement mechanism to move, a sealing plate 130 for maintaining the sealing performance of a high-low test, a vertical movement mechanism 150 for controlling the vertical movement of the simulated finger in a direction perpendicular to the product, and a simulated finger 160. The horizontal moving mechanism is used for controlling the simulated finger to move in the horizontal direction, the simulated finger is used for simulating a human hand, that is, the horizontal moving mechanism is used for controlling the horizontal movement of the simulated finger, the product is fixed on the fixed support, the fixed support is fixed with the sealing plate, the sealing plate is provided with a first through hole and a second through hole, the motor is arranged on one side surface of the sealing plate away from the product, the motor comprises a first motor and a second motor, rotating shafts of the first motor and the second motor are respectively penetrated through the first through hole and the second through hole, the rotating shaft of the first motor is used for being connected with the vertical moving mechanism, the rotating shaft of the second motor is used for being connected with the horizontal moving mechanism, and the simulated finger is arranged on the vertical moving mechanism, the vertical moving mechanism is arranged on the horizontal displacement mechanism.

In an embodiment, referring to fig. 2 and fig. 3, the horizontal moving mechanism 150 includes a rotating gear 151, a gear belt 152 and a horizontal mounting plate 153, the rotating gear is fixed to a rotating shaft of the second motor, the rotating shaft of the second motor is used for rotating to drive the rotating gear to rotate, the gear belt is engaged with the rotating gear, the horizontal mounting plate is disposed on the gear belt, and the rotating gear is used for rotating to drive the gear belt to move left or right, so that the horizontal mounting plate moves left or right.

In one embodiment, the upper computer comprises an industrial personal computer and a board card, wherein the industrial personal computer is used for controlling the board card and related hardware and recording and storing data, namely, the industrial personal computer is used for controlling the board card and the related hardware and recording and storing feedback, working voltage and the like output by a product into a database. As another example, the board includes PCI-8164, CP-118U, PCI-8513/2, NI-9221, and S300-EX, the PCI-8164 is used to provide output pulses to control the stepper motor, i.e., the PCI-8164 functions to provide output pulses to control the stepper motor. The CP-118U is used for providing a plurality of serial ports and communicating with the hygrothermograph and the hygrometer, namely, the CP-118U is used for providing a plurality of serial ports and communicating with the hygrothermograph and the hygrometer. The PCI-8513/2 is used for communicating with the product through the CAN, controlling the working state of the product and monitoring the state and output feedback of the product, i.e. the PCI-8513/2 is used for communicating with the product through the CAN, controlling and monitoring the working state of the product and outputting feedback. The NI-9221 is used for monitoring the current working voltage of the product, and the S300-EX is used for monitoring the temperature and humidity states of the product test environment, that is, the S300-EX is used for monitoring the temperature and humidity states of the current product test environment.

In one embodiment, the motor is a stepper motor, and the stepper motor is used for controlling the mechanism to move. The closing plate is ya keli closing plate, inferior gram force closing plate is in order to keep the leakproofness at the test process of high low temperature box, ensures the temperature of environment case the inside, promptly, the test environment and the exterior structure of product, promptly, the motor action does not receive the influence of the inside temperature, and it is actual condition to look over the test that simultaneously can be fine outside the environment case.

A durability test method for a light sensor comprises the following steps:

s01: and calibrating the first position to obtain a first standard value of the light sensor at the first position, and calibrating the second position to obtain a second standard value of the light sensor at the second position.

It should be noted that after initialization, the coordinates of the product, that is, the touch screen, need to be calibrated, and position one and position two are calibrated, after calibration, normal testing can be started, and the product is arranged on the fixed support. In one embodiment, the first position is a leftmost position in the sensing intensity area range of the light sensor, the second position is a rightmost position in the sensing intensity area range of the light sensor, the first position is a position where the sensing intensity of the light sensor is weakest, and the second position is a position where the sensing intensity of the light sensor is strongest. For another example, the vertical distance between each of the first position and the second position and the product is any value between 50mm and 60mm, that is, the vertical distance between the first position and the product is any value between 50mm and 60mm, and preferably, the vertical distance between the first position and the product is 50 mm. The vertical distance between the second position and the product is any value between 50mm and 60mm, and preferably, the vertical distance between the second position and the product is 50 mm. As another example, a centerline between the first location and the second location is aligned with a centerline of the product.

S02: and setting a preset vertical displacement parameter, a preset horizontal displacement parameter and a preset endurance time.

It should be noted that a preset vertical displacement parameter, a preset horizontal displacement parameter and a preset endurance time are set on the upper computer. In one embodiment, the vertical displacement speed of the preset vertical displacement parameter is any value between 50mm/s and 100 mm/s; the vertical displacement speed of the preset horizontal displacement parameter is any value between 100mm/s and 200 mm/s; the preset endurance times are any value between 2 ten thousand times and 20 ten thousand times, and it should be noted that the vertical displacement speed of the preset vertical displacement parameter, the vertical displacement speed of the preset horizontal displacement parameter and the preset endurance times need to be determined according to different models of different product types. And entering a test setting interface at the beginning of clicking, wherein the interface is used for setting the product type, the product model, the product number, the test number and the motor parameter setting, namely setting the moving speed, the distance and the staying time, wherein the staying time is 500 ms. And after the product parameters and the action parameters are confirmed to be set, performing gesture endurance normal test.

S03: and executing vertical displacement operation, moving the simulated finger to a first position, and reading a first actual value of the light sensor at the first position.

It should be noted that the motor drives the vertical movement mechanism to perform vertical displacement operation, so as to move the simulated finger to the first position, and the upper computer reads the first actual value of the light sensor at the first position.

S04: and judging whether the first actual value is within a preset range of the first standard value, if so, executing the next operation, and if not, recording as NG once and then executing the next operation.

S05: and executing horizontal displacement operation, moving the simulated finger to the second position, and reading a second actual value of the light sensor at the second position.

It should be noted that the motor drives the horizontal displacement mechanism to execute horizontal displacement operation, so as to move the simulated finger to the second position, and the upper computer reads the second actual value of the light sensor at the second position.

S06: and judging whether the second actual value is within a preset range of the second standard value, if so, executing the next operation, and if not, recording as NG once and then executing the next operation.

In one embodiment, the first standard value is a first standard value of the sensing intensity of the sensor at the first position and a first standard value of the distance corresponding to the first standard value of the sensing intensity; the second standard value is a second induction intensity standard value of the sensor at the second position and a second distance standard value corresponding to the second induction intensity standard value; the first actual value is a first induction intensity actual value of the sensor at the first position and a first distance actual value corresponding to the first induction intensity actual value; the second actual value is a second induction intensity actual value of the sensor at the second position and a second distance actual value corresponding to the second induction intensity actual value.

S07: and executing the simulated finger reset operation, writing the first actual value and the second actual value into a database, and repeatedly executing S03-S06.

S08: and judging whether the NG times are larger than or equal to the preset NG times, if so, ending the test, and if not, continuing to execute S03-S06.

S09: and judging whether the endurance times meet the preset endurance times, if so, ending the test, and otherwise, continuing to execute S03-S06.

In one embodiment, the predetermined range is any value between-5 and 5, the predetermined NG number is any value between 20 and 25, and preferably, the predetermined NG number is 20. For another example, if the first standard value and the second standard value are both 5, the preset range of the first standard value and the preset range of the second standard value are both 0 to 10, that is, as long as the obtained first actual value is within the range of 0 to 10, the horizontal displacement operation needs to be executed, and if the obtained first actual value is not within the range of 0 to 10, the horizontal displacement operation is recorded as being executed after NG for one time; if the second actual value is not within the range of 0-10, recording that the simulated finger resetting operation is executed after the second actual value is NG again, if the NG times are more than or equal to 20, stopping the test operation, and if the NG times are less than 20 in the test process, running the test until all test data are obtained after the preset endurance times are finished, and then writing the test data into a database for reference. In addition, the software development platform adopted by the gesture durable equipment is LabVIEW graphic programming language.

Compared with the prior art, the invention has the following beneficial technical effects:

the invention provides a light sensation sensor durability testing method which can verify that the technology is used for manually simulating gesture induction. Secondly, the method can control the speed and the light induction intensity of the object according to different settings and designed sizes of the object. Finally, the method studies out how to determine and verify the intermediate process during the moving process.

It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种隧道降噪监测系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!