Device and method for measuring expected test point in lamp box
Through the dual-axis displacement table and brightness measuring instrument combined with attenuation coefficient formula and particle swarm optimization algorithm, we automatically find the expected test points in the light box, solving the test error problem caused by uneven light intensity of the light box, and achieving high-precision and rapid testing.
Patent Information
- Application Number
- CN202510451631.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-11
- Publication Date
- 2025-07-11
AI Technical Summary
In the prior art, the light intensity output of the light box after a long period of use is uneven, resulting in large errors in the test results and lack of general devices to find the desired test points, resulting in low test accuracy and long-term consumption.
Using a biaxial displacement table and a brightness measuring instrument, by establishing an attenuation coefficient formula and a particle swarm optimization algorithm, we automatically find the expected test points in the light box, use the moving trajectory of the biaxial displacement table to obtain brightness value information, and quickly determine the expected test points based on the central difference method and particle swarm optimization algorithm.
It improves testing accuracy, shortens equipment testing time, reduces manual errors, and improves testing efficiency.
Smart Images

Figure CN120293488A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of light box testing for electronic devices, and particularly to a measuring device and a measuring method for measuring desired test points in a light box. Background Art
[0002] In the field of electronic information, for devices that can sense, measure ambient light, and quantify ambient light data, using a light box that can generate light with specific characteristics for testing and acceptance is a key link to ensure that the device performance meets the standards. The test follows strict quantization standards, requiring that under the specified test environment, the accuracy error of the test results must be less than 3%. However, during the long-term use of the light box, it is significantly affected by aging factors. As the usage time increases, the luminous efficiency of the lamp tube gradually decreases, and the performance of the optical materials inside it also deteriorates, which causes an obvious deviation between the desired test light intensity output by the light box and the actual light intensity. For example, when a new light box is initially used, it can output the set light intensity relatively accurately. However, after long-term frequent use, even if the set light intensity parameter remains unchanged, the actual output light intensity may decrease by 10%-30% or even more, depending on the quality and usage frequency of the light box. Moreover, this change in light intensity is not evenly distributed in the internal space of the light box, and different positions are affected to different degrees, further exacerbating the uncertainty of the light intensity inside the light box.
[0003] In the prior art, to overcome the above defects, the light box is usually calibrated regularly. However, during the device testing between two calibration cycles, there will still be certain errors during the test process due to the aging of the light box or other factors. Therefore, to improve the test accuracy, it is usually necessary to find the desired test points (the desired test points are the points in the test environment with the smallest difference from the desired test light, which play a decisive role in improving the test accuracy) before the test for testing.
[0004] Currently, due to the uniqueness of the relevant test scenarios, there is no general-purpose test device on the market, and only the test personnel can find the desired test points by manually checking the points, that is, the operator obtains the brightness values of each point in the light box by holding a brightness measuring instrument to complete the search for the desired test points. Therefore, there are defects such as a large difference between the actual test points and the desired points, low credibility of the test results, and relatively long time consumption.
[0005] Therefore, a measuring device and a measuring method for measuring desired test points in a light box are needed to solve the above problems. Summary of the Invention
[0006] The object of the present invention is to provide a measuring device and a measuring method for measuring desired test points in a light box, so as to quickly obtain the desired test points in the light box, thereby improving the test accuracy of subsequent devices and shortening the time consumed for testing a single device.
[0007] To solve the above technical problems, the present invention provides a measuring device for desired test points in a light box, including a biaxial displacement stage and a brightness measuring instrument;
[0008] The biaxial displacement stage has an installation station, and the installation station can move under the action of the biaxial displacement stage, and the movement trajectory is a planar rectangle;
[0009] The installation station is used to install the brightness measuring instrument;
[0010] Wherein, when the installation station is located at the vertex of the planar rectangle and at the set coordinate position within the planar rectangle, the brightness measuring instrument acquires the brightness value information of the point where it is located.
[0011] Further, the biaxial displacement stage includes an X-axis displacement seat and a Y-axis displacement seat;
[0012] The Y-axis displacement seat is detachably and slidably installed on the X-axis displacement seat;
[0013] The installation station is arranged on the Y-axis displacement seat.
[0014] Further, the X-axis displacement seat includes two laterally arranged guide rails;
[0015] On one side of the two laterally arranged guide rails close to each other, there are fixed connecting pieces;
[0016] On one side of the two laterally arranged guide rails far from each other, there are waist-shaped grooves for limiting the movement of the Y-axis displacement seat.
[0017] Further, the Y-axis displacement seat is slidably inserted on the two laterally arranged guide rails, and a driving motor is slidably and fixedly installed on the lower surface of the Y-axis displacement seat;
[0018] The output end of the driving motor is provided with a roller;
[0019] Wherein, the roller can extend into the waist-shaped groove or be separated from the waist-shaped groove, and when the roller extends into the waist-shaped groove, it can be in contact and fit with the inner surface of the waist-shaped groove.
[0020] Further, the Y-axis displacement seat includes a longitudinal guide rail and a slider for forming the installation station;
[0021] The longitudinal guide rail is arranged on the X-axis displacement seat;
[0022] The slider is slidably installed on the upper surface of the longitudinal guide rail through a driving component.
[0023] Further, the driving component is a lead screw transmission component.
[0024] Further, a plurality of suction cups for adsorbing and fixing the luminance measuring instrument are embedded in the upper surface of the slider.
[0025] On the other hand, the present invention also provides a method for measuring the desired test points in the light box, which is realized by using the device for measuring the desired test points in the light box described in the above embodiment, and specifically includes the following steps:
[0026] Control the light box to output a theoretical luminance value Lux0 that meets the test requirements, and place the two-axis displacement stage in the middle area of the light box;
[0027] Taking a vertex of the plane rectangle formed by the displacement of the two-axis displacement stage as a base point, generate an X-Y axis coordinate system, and set the coordinates of each vertex as (x0, y0), (x0, y max ), (x max , y0) and (x max , y max );
[0028] Control the two-axis displacement stage to drive the installation station to move to the four vertex positions of the plane rectangle respectively, and measure the actual luminance values measured at each vertex position through the luminance measuring instrument
[0029] Compare the actual luminance value with the theoretical luminance value Lux0 to obtain the constructed luminance point (x x , y x );
[0030] Control the two-axis displacement stage to move to the constructed luminance point (x x , y x ), and taking the constructed luminance point (x x , y x ) as the center, search and obtain the desired test point (x z , y z ) within a set range.
[0031] Further, the method for obtaining the constructed luminance point (x x , y x ) includes the following steps:
[0032] Obtain the actual luminance values measured at each vertex and the attenuation coefficient between the theoretical luminance value Lux0
[0033] Construct an attenuation formula with the attenuation coefficients of each vertex, and the attenuation formula is
[0034]
[0035] Obtain the partial derivative of x through r4(x, y) and the partial derivative of y and set the partial derivatives to 0 to obtain the constructed brightness point (x x , y x ).
[0036] Furthermore, it also includes the following steps:
[0037] With the constructed brightness point (x x , y x ) as the center, control the two-axis displacement stage to displace a rough measurement set distance Δ in the positive and negative directions of the X-axis and the Y-axis respectively l , and record four coordinate points as (x x + Δ l , y x ), (x x , y x + Δ l ), (x x - Δ l , y x ) and (x x , y x - Δ l ) of the rough measurement ambient brightness value
[0039] Calculate the partial derivative according to the central difference method Obtain the change trends of the light intensity on the X-axis and the Y-axis, and map the rough measurement set distance Δ l on the X-axis and the Y-axis according to the change trends to obtain the rough measurement displacement distance Δ lx of the X-axis and the rough measurement displacement distance Δ ly of the Y-axis, and correspondingly obtain the rough measurement brightness point (x y , y y ) = (x x + Δ lx , y x + Δ ly );
[0040] With the rough measurement brightness point (x y , y y ) as the center, delimit a set area, and determine the expected test point (x z , y z ) through the particle swarm optimization algorithm
[0041] Compared with the prior art, the present invention has at least the following beneficial effects:
[0042] By setting a biaxial displacement stage and a brightness measuring instrument arranged at the installation station of the biaxial displacement stage, with the operation of the biaxial displacement stage, the brightness measuring instrument can measure the brightness value information of each vertex position within the moving track (plane rectangle) of the installation station, and establish an attenuation coefficient formula based on the brightness value information of each vertex position. Then, through the central difference method and the particle swarm optimization algorithm, the constructed brightness points and the roughly measured brightness points are sequentially searched. Finally, the brightness measuring instrument measures the brightness value information of the coordinate positions around the constructed brightness points and the roughly measured brightness points. Combining the measurement data, the rapid acquisition of the expected test points in the light box is completed, achieving the purpose of improving the test accuracy of subsequent equipment and shortening the time required for testing a single device. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 FIG. is a structural sectional view of the device for measuring the expected test points in the light box in the first embodiment of the present invention;
[0044] Figure 2 FIG. is an exploded view of the structure of the device for measuring the expected test points in the light box in the first embodiment of the present invention;
[0045] Figure 3 FIG. is a schematic structural view of the device for measuring the expected test points in the light box in the first embodiment of the present invention.
[0046] Reference numerals in the drawings: 1, brightness measuring instrument; 2, X-axis displacement base; 21, horizontal guide rail; 22, fixed connecting piece; 23, waist-shaped groove; 3, Y-axis displacement base; 31, longitudinal guide rail; 32, slider; 321, suction cup; 4, driving motor; 41, roller; 5, driving assembly. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0047] The device and method for measuring the expected test points in the light box of the present invention will be described in more detail below with reference to the schematic diagrams. The preferred embodiments of the present invention are shown, and it should be understood that those skilled in the art can modify the present invention described herein while still achieving the advantageous effects of the present invention. Therefore, the following description should be understood as a broad guidance for those skilled in the art and not as a limitation to the present invention.
[0048] In the following paragraphs, the present invention will be described more specifically by way of example with reference to the drawings. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the drawings are all in a very simplified form and use non-precise scales, only for the purpose of conveniently and clearly assisting in explaining the purpose of the embodiments of the present invention.
[0049] Embodiment 1
[0050] As Figures 1 to 3 shown, the first embodiment of the present invention proposes a device for measuring the expected test points in the light box, including a biaxial displacement stage and a brightness measuring instrument 1.
[0051] Among them, the biaxial displacement stage has an installation station, and the installation station can move under the action of the biaxial displacement stage, and the movement trajectory is a planar rectangle. By means of the planar rectangle, a coordinate system is generated to facilitate subsequent marking of the desired test points, which is beneficial to the subsequent testing of the device under test.
[0052] The installation station is used to install the luminance measuring instrument 1 for obtaining the luminance value information of this point.
[0053] It should be noted that the installation station is also used to install the device under test, that is, after the determination of the desired test point is completed, the device under test can be installed at this point for testing. Compared with the method of artificial measurement points, it can effectively eliminate the errors brought by humans, achieving the purpose of improving the testing accuracy and testing speed of the subsequent device under test.
[0054] Among them, when the installation station is located at the vertex of the planar rectangle and at the set coordinate position within the planar rectangle, the luminance measuring instrument 1 obtains the luminance value information of the point where it is located.
[0055] It should also be noted that the set coordinate position is a range set artificially, and its specific coordinate position is set according to the constructed luminance points and the roughly measured luminance points obtained during the testing process. The constructed luminance points and the roughly measured luminance points are points generated by the attenuation coefficient formula, the central difference method, and the particle swarm optimization algorithm during the process of determining the desired test points.
[0056] This device, by setting the biaxial displacement stage and the luminance measuring instrument 1 installed on the installation station of the biaxial displacement stage, with the operation of the biaxial displacement stage, enables the luminance measuring instrument 1 to measure the luminance value information of each vertex position within the movement trajectory (planar rectangle) of the installation station, and based on the luminance value information of each vertex position, establish the attenuation coefficient formula, and through the central difference method and the particle swarm optimization algorithm, to sequentially find the constructed luminance points and the roughly measured luminance points. Finally, the luminance measuring instrument 1 measures the luminance value information of the coordinate positions around the constructed luminance points and the roughly measured luminance points, and combines the measurement data to quickly obtain the desired test points in the light box, achieving the purpose of improving the testing accuracy of the subsequent device and shortening the time required for testing a single device.
[0057] In a further embodiment, a specific biaxial displacement stage is also proposed to facilitate carrying and transporting to different light boxes for application.
[0058] Specifically, the biaxial displacement stage includes an X-axis displacement base 2 and a Y-axis displacement base 3.
[0059] The Y-axis displacement seat 3 is detachably and slidably installed on the X-axis displacement seat 2, and the installation station is arranged on the Y-axis displacement seat 3. By setting the X-axis displacement seat 2 and the Y-axis displacement seat 3 as a detachable structure, the purpose of convenient handling, carrying and transportation is achieved. Moreover, it can also be replaced according to requirements (such as the internal structure size of the light box) to achieve the purpose of stronger applicability.
[0060] Among them, the X-axis displacement seat 2 includes two horizontally arranged transverse guide rails 21 arranged in parallel.
[0061] On one side of the two transverse guide rails 21 close to each other, there is a fixed connecting piece 22 for positioning the two transverse guide rails 21.
[0062] In other embodiments, the fixed connecting piece 22 can also be replaced with a retractable and fixed structure to adjust the distance between the two transverse guide rails 21 to achieve the purpose of stronger applicability.
[0063] It should be noted that for the convenience of connecting and limiting the Y-axis displacement seat 3 and the X-axis displacement seat 2, waist-shaped slots 23 are arranged on one side of the two transverse guide rails 21 away from each other for the movement limit of the Y-axis displacement seat 3.
[0064] Specifically, the Y-axis displacement seat 3 is slidably inserted on the two transverse guide rails 21, and a driving motor 4 is slidably and fixedly installed on the lower surface of the Y-axis displacement seat 3, and a roller 41 is arranged at the output end of the driving motor 4.
[0065] Among them, the roller 41 can extend into the waist-shaped slot 23 or be separated from the waist-shaped slot 23, and when the roller 41 extends into the waist-shaped slot 23, it can be in contact and fit with the inner surface of the waist-shaped slot 23.
[0066] That is, when assembling the double-axis displacement table, only need to insert the Y-axis displacement seat 3 vertically on the two transverse guide rails 21, and then control the driving motor 4 to move along the length direction of the Y-axis displacement seat 3, so that the roller 41 can be placed in the waist-shaped slot 23 to complete the limit. And under the action of the driving motor 4, the roller 41 can also be made to move along the waist-shaped slot 23 to realize the movement and feeding in the X-axis direction.
[0067] Correspondingly, when it is necessary to separate the Y-axis displacement seat 3 from the X-axis displacement seat 2, only need to control the driving motor 4 to move so that the roller 41 is separated from the waist-shaped slot 23, and then take the Y-axis displacement seat 3 vertically to realize the separation of the two.
[0068] It should be specifically noted that in this embodiment, when the roller 41 extends into the kidney-shaped groove 23, the outer wall of the roller 41 is in close contact with the top wall of the inner cavity of the kidney-shaped groove 23, so as to realize the limit function while ensuring that the roller 41 can complete the function of moving and feeding the Y-axis displacement seat 3 relative to the X-axis displacement seat 2 in the X-axis direction under the action of the driving motor 4.
[0069] In a specific example, an L-shaped support frame is arranged on the lower surface of the Y-axis displacement seat 3, and a driving motor 4 is installed on one side surface of the L-shaped support frame. A key groove parallel to the length direction of the Y-axis displacement seat 3 is arranged on the other side, and a fastening bolt is arranged in the key groove. The fastening bolt is threadedly connected to the lower surface of the Y-axis displacement seat 3, so that when the position of the driving motor 4 needs to be adjusted, only the gap between the fastening bolt and the L-shaped support frame needs to be controlled, and after pushing the L-shaped support frame to the required position, the fastening bolt is tightened, so as to achieve the purpose of convenient adjustment.
[0070] In a further embodiment, the Y-axis displacement seat 3 includes a longitudinal guide rail 31 and a slider 32 for forming the installation station.
[0071] The longitudinal guide rail 31 is arranged on the X-axis displacement seat 2, and the slider 32 is slidably installed on the upper surface of the longitudinal guide rail 31 through a driving component 5.
[0072] Among them, the driving component 5 is a lead screw transmission component, which is an existing technology, so it will not be elaborated here.
[0073] In addition, a plurality of suckers 321 for adsorbing and fixing the luminance measuring instrument 1 are embedded on the upper surface of the slider 32, so as to improve the placement and bearing effect of the luminance measuring instrument 1.
[0074] Embodiment Two
[0075] On the basis of Embodiment One, this embodiment also proposes a method for measuring the desired test points in the light box, which is realized by using the device for measuring the desired test points in the light box described in Embodiment One. The specific steps are as follows:
[0076] Control the light box to output a theoretical luminance value Lux0 that meets the test requirements, and place the biaxial displacement table in the middle area of the light box;
[0077] Taking a vertex of the plane rectangle formed by the displacement of the biaxial displacement table as the base point, generate an X-Y axis coordinate system, and set the coordinates of each vertex as (x0, y0), (x0, y max ), (x max , y0) and (x max , y max );
[0078] Control the two-axis displacement stage to drive the installation station to move to the four vertex positions of the plane rectangle respectively, and measure the actual brightness values measured at each vertex position with the brightness measuring instrument 1
[0079] According to the actual brightness value Compare with the theoretical brightness value Lux0 to obtain the constructed brightness point (x x , y x );
[0080] Control the two-axis displacement stage to move to the constructed brightness point (x x , y x ), and with the constructed brightness point (x x , y x ) as the center, search and obtain the expected test point (x z , y z ) within the set range.
[0081] Through the above steps, compared with the method of manually holding the brightness measuring instrument 1 to find the expected test point in the prior art, it can effectively shorten the time required to determine the expected test point, correspondingly achieve the purpose of shortening the time required for testing a single device, and has higher accuracy, achieving the purpose of improving the test accuracy of subsequent devices.
[0082] In this embodiment, the method for obtaining the constructed brightness point (x x , y x ) includes the following steps:
[0083] Obtain the actual brightness values measured at each vertex The attenuation coefficient between the actual brightness value and the theoretical brightness value Lux0
[0084] Construct an attenuation formula with the attenuation coefficients of each vertex, and the attenuation formula is
[0085]
[0086] Obtain the partial derivative of x through r4(x, y) And the partial derivative of y And set the partial derivatives to 0 to obtain the constructed brightness point (x x , y x ).
[0087] In other embodiments, a method for measuring the expected test point in a light box further includes the following steps:
[0088] With the constructed brightness point (x x , y xCentered around l , control the biaxial displacement stage to displace roughly by a set distance Δ in the positive and negative directions of the X-axis and Y-axis respectively x , and record four coordinate points as (x l + Δ x , y x ), (x x , y l + Δ x ), (x l - Δ x , y x ), and (x x , y l - Δ
[0090] Calculate the partial derivatives according to the central difference method Obtain the change trends of the light intensity on the X-axis and Y-axis, and map the set distance Δ l According to the change trends on the X-axis and Y-axis, obtain the roughly measured displacement distance Δ lx on the X-axis and the roughly measured displacement distance Δ ly on the Y-axis, and correspondingly obtain the roughly measured brightness point (x y , y y ) = (x x + Δ lx , y x + Δ ly );
[0091] Delimit a set area centered around the roughly measured brightness point (x y , y y ), and determine the expected test point (x z , y z ) through the particle swarm optimization algorithm.
[0092] Among them, the set area can be set as the area within ±3 cm centered around the roughly measured brightness point (x y , y y ).
[0093] It should be noted that in this embodiment, the parameter configuration information in the particle swarm optimization algorithm is as follows: the population size is 30, the inertia weight ω = 0.7, the acceleration constants c1 = c2 = 2.0. Under this parameter configuration information, the rate of determining the expected test point (x z , y z ) can be effectively improved.
[0094] In this embodiment, by establishing an attenuation coefficient formula and using the central difference method and the particle swarm optimization algorithm, the construction of brightness points and the rough measurement of brightness points are sequentially searched. Finally, the brightness value information at the coordinate positions (i.e., the set coordinate positions) around the constructed brightness points and the roughly measured brightness points is measured by the brightness measuring instrument 1. Combining the measurement data, the rapid acquisition of the expected test points in the light box is completed, achieving the purpose of improving the test accuracy of subsequent equipment and shortening the time required for the test of a single equipment.
[0095] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.
Claims
1. A measuring device for expected test points inside a light box, characterized in that, It includes a biaxial displacement stage and a brightness measuring instrument; The biaxial displacement stage has an installation station, and the installation station can move under the action of the biaxial displacement stage, and the movement trajectory is a planar rectangle; The installation station is used to install the brightness measuring instrument; Wherein, when the installation station is located at the vertex of the planar rectangle and at the set coordinate position within the planar rectangle, the brightness measuring instrument obtains the brightness value information of the corresponding point.
2. The measuring device for the expected test points in the light box according to claim 1, characterized in that, The biaxial displacement stage includes an X-axis displacement seat and a Y-axis displacement seat; The Y-axis displacement seat is detachably and slidably installed on the X-axis displacement seat; The installation station is arranged on the Y-axis displacement seat.
3. The measuring device for the expected test points inside the light box according to claim 2, characterized in that, The X-axis displacement seat includes two laterally arranged guide rails; Fixed connectors are arranged on one side of the two laterally arranged guide rails close to each other; Waist-shaped grooves are arranged on one side of the two laterally arranged guide rails far from each other for movement limit of the Y-axis displacement seat.
4. The desired test point measuring device in the light box according to claim 3, characterized in that, The Y-axis displacement seat is slidably inserted on the two laterally arranged guide rails, and a driving motor is slidably and fixedly installed on the lower surface of the Y-axis displacement seat; A roller is arranged at the output end of the driving motor; Wherein, the roller can extend into the waist-shaped groove or be separated from the waist-shaped groove, and when the roller extends into the waist-shaped groove, it can be in contact and fit with the inner surface of the waist-shaped groove.
5. The light box internal desired test point measuring device according to claim 3 or 4, characterized in that, The Y-axis displacement seat includes a longitudinal guide rail and a slider for forming the installation station; The longitudinal guide rail is arranged on the X-axis displacement seat; The slider is slidably installed on the upper surface of the longitudinal guide rail through a driving component.
6. The desired test point measuring device inside the light box according to claim 5, characterized in that, The driving component is a screw drive component.
7. The measuring device for the expected test points inside the light box according to claim 5, wherein, A plurality of suction cups for adsorbing and fixing the brightness measuring instrument are embedded on the upper surface of the slider.
8. A method for measuring expected test points in a light box, characterized in that, It is realized by using the measuring device for the expected test point in the light box according to any one of claims 1-7, and specifically includes the following steps: Control the light box to output the theoretical brightness value Lux0 that meets the test requirements, and place the biaxial displacement stage in the middle area of the light box; Taking a vertex of the plane rectangle formed by the displacement of the biaxial displacement stage as the base point, an X-Y axis coordinate system is generated, and the coordinates of each vertex are set to (x0, y0), (x0, y max ), (x max , y0) and (x max , y max ); Control the biaxial displacement stage to drive the installation station to move to the four vertex positions of the plane rectangle respectively, and measure the actual brightness values measured at each vertex position by a brightness measuring instrument According to the actual brightness value Compare with the theoretical brightness value Lux0 to obtain the constructed brightness point (x x , y x ); Control the biaxial displacement stage to move to the constructed brightness point (x x , y x ), and centered on the constructed brightness point (x x , y x ), search and obtain the desired test point (x z , y z ) within the set range.
9. The measuring method of the expected test points in the light box according to claim 8, wherein, The method for obtaining the constructed brightness point position (x x , y x ) comprises the following steps: Obtain the actual brightness values measured at each vertex The attenuation coefficient with respect to the theoretical brightness value Lux0 Construct an attenuation formula with the attenuation coefficients of each vertex, and the attenuation formula is Obtain the partial derivative of x through r4(x, y) and the partial derivative of y and set the partial derivative to 0 to obtain the constructed brightness point (x x , y x ).
10. The measurement method of the expected test points in the light box according to claim 8, characterized in that, It also includes the following steps: With the constructed brightness point (x x , y x ) as the center, control the biaxial displacement stage to displace roughly by a set distance Δ l in the positive and negative directions of the X-axis and Y-axis respectively, and record four coordinate points as (x x + Δ l , y x ), (x x , y x + Δ l ), (x x - Δ l , y x ) and (x x , y x - Δ l ), and measure the rough environmental brightness values Calculate the partial derivative according to the central difference method Obtain the change trends of the light intensity on the X-axis and Y-axis, and set the roughly measured distance Δ l Map the change trends on the X-axis and Y-axis to obtain the roughly measured displacement distance Δ on the X-axis lx and the roughly measured displacement distance Δ on the Y-axis ly , and correspondingly obtain the roughly measured brightness point position (x y , y y ) = (x x + Δ lx , y x + Δ ly ); Taking the roughly measured brightness point position (x y , y y ) as the center, a set area is delimited, and the expected test point position (x z , y z ) is determined through the particle swarm optimization algorithm.