A detection method and device for a lifting camera

By collecting the displacement and image information of the camera, combining the preset sampling interval, the abnormality of the lifting camera is judged, which solves the problem of inaccurate detection in the prior art, and achieves high-accurate lifting and abnormality detection.

CN116320374BActive Publication Date: 2025-07-04JIANGXI SHENGTAI PRECISION OPTICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211734702.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2025-07-04
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

The prior art is difficult to accurately detect lifting abnormalities of lifting cameras, resulting in insufficient customer experience.

Method used

By controlling the camera's two-stage or three-stage lifting, displacement and image information are collected, combined with the preset sampling interval and time, we can determine whether there is any abnormality in the camera's lifting, and use the marking board and the elevator to collect measurement information, and make judgments through the upper computer.

Benefits of technology

Accurate detection of abnormalities of lifting cameras is achieved, reducing the re-response rate and missed judgment rate, improving the accuracy of detection, and ensuring the imaging effect of the camera on the top.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116320374B_ABST
    Figure CN116320374B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of camera testing, and specifically to a detection method and device for a lifting camera. The method includes the following steps: Step 2: Control the two-stage rising of the camera, sample according to the preset number of sampling intervals and sampling interval time to obtain a plurality of rising displacement information, and record the rising detection information of the two-stage rising; Step 3: After the camera rises to the top, control the camera to perform image acquisition to obtain image information, and judge whether the camera is overly offset according to the image information. If so, the test ends; Step 4: Judge whether there is an abnormality in the rising of the camera according to the rising displacement information and the rising detection information. If there is an abnormality, control the camera to descend, and repeat Steps 2-4. If there is no abnormality, sample the top displacement information of the camera at the top. By adopting this solution, the lifting abnormality of the lifting camera can be accurately detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of camera testing, and specifically provides a detection method and device for a lifting camera. Background Art

[0002] With the development of the camera module industry and the combined design of the front camera and the display screen, customers are increasingly pursuing a higher screen-to-body ratio for tablets, mobile phones, in-vehicle rear headrest screens, etc. To maintain the integrity of the screen, the prior art achieves this through the use of a lifting camera.

[0003] A lifting camera generally consists of a motor, a motor driver, a camera, a silicone sleeve, a Hall sensor, a magnet, etc. For camera module manufacturers, to ensure the integrity of the lifting camera function on the terminal platform, the detection of the lifting camera is particularly important.

[0004] For a lifting camera, there may be many abnormal lifting problems. For example, the design of the lifting mechanism causes the support surface to be at the tail of the camera, resulting in a slight tilt of the camera under the influence of gravity during the lifting process, problems with the friction of the silicone sleeve, large tolerance coefficients of devices such as screws, device assembly problems, external force obstruction, etc., which lead to abnormal lifting, such as failure to lift, jamming during lifting, inability to reach the top, jittering when reaching the top, too long lifting time, jittering when descending to the bottom, etc., resulting in insufficient customer experience. For the above-mentioned abnormal lifting situations, currently, the vast majority of detection methods can only solve a small part of them, or use manual screening or have design defects themselves and cannot optimize the detection methods. Therefore, there is an urgent need for a detection method and device for a lifting camera that can accurately detect abnormal lifting of the lifting camera. Summary of the Invention

[0005] One of the objectives of the present invention is to provide a detection method for a lifting camera that can accurately detect abnormal lifting of the lifting camera.

[0006] The first basic solution provided by the present invention: A detection method for a lifting camera includes the following steps:

[0007] Step 1: Adjust the calibration plate and the lifting platform, and control the camera to be in the initial position, and collect the initial displacement information at the initial position.

[0008] Step 2: Control the camera to rise in two stages, sample according to the preset sampling interval times and sampling interval time to obtain multiple rising displacement information, and record the rising detection information of the two-stage rise.

[0009] Step 3: After the camera rises to the top, control the camera to perform image acquisition to obtain image information, and judge whether the camera is overly offset according to the image information. If so, the test ends.

[0010] Step 4: Determine whether there is an abnormality in the upward movement of the camera based on the upward displacement information and the upward detection information. If there is an abnormality, control the camera to move downward, and repeat Steps 2 - 4. If there is no abnormality, sample the top displacement information when the camera is at the top.

[0011] Furthermore, it also includes the following:

[0012] Step 5: Control the camera to move downward in three stages according to the sampling interval times, the sampling interval time, and the upward detection information. During the downward movement, sample multiple downward displacement information, the bottom displacement information when the camera is at the bottom, and the downward detection information;

[0013] Step 6: Determine whether there is an abnormality in the lifting of the camera based on the upward displacement information, the downward displacement information, the upward detection information, and the downward detection information. If there is an abnormality, repeat Steps 2 - 6.

[0014] Furthermore, in Step 4, determining whether there is an abnormality in the upward movement of the camera based on the upward displacement information and the upward detection information includes the following:

[0015] The two - stage upward movement includes the first - stage upward movement and the second - stage upward movement. The second - stage upward movement has a preset sampling interval time , and the upward detection information includes the time required in the second - stage upward movement and the number of sampling times . According to the sampling interval time , the time , and the number of sampling times , calculate the actual time of the second - stage upward movement, and compare the actual time with the preset threshold to determine whether there is an abnormality.

[0016] Furthermore, in Step 4, determining whether there is an abnormality in the upward movement of the camera based on the upward displacement information and the upward detection information includes the following:

[0017] The two - stage upward movement includes the first - stage upward movement and the second - stage upward movement. The upward detection information includes the time required in the first - stage upward movement , the time required in the second - stage upward movement . According to the time and the time , compare with the preset threshold to determine whether there is an abnormality.

[0018] Furthermore, in Step 4, determining whether there is an abnormality in the upward movement of the camera based on the upward displacement information and the upward detection information includes the following:

[0019] The ascending displacement information includes the displacement measurement information of the x, y, and z axes. According to the displacement measurement information of the x, y, and z axes, analyze the offset degrees of XY, XZ, and YZ corresponding to the extreme values at the corresponding time, and determine whether the offset degrees exceed the preset offset degree.

[0020] Further, in step 2, the two-stage ascent includes a first-stage ascent and a second-stage ascent, and the sampling interval time corresponding to the first ascent stage is greater than the sampling interval time corresponding to the second ascent stage.

[0021] Further, in step 6, it is determined whether there is an abnormality in the lifting of the camera according to the ascending displacement information, the descending displacement information, the ascending detection information, and the descending detection information, including the following:

[0022] Both the ascending displacement information and the descending displacement information include the displacement measurement information of the x, y, and z axes. Determine whether the displacement measurement information of the x, y, and z axes is symmetrically set according to the ascending displacement information and the descending displacement information.

[0023] Beneficial effects:

[0024] Adopting this solution, detect the time, displacement, etc. during the lifting process of the camera, and perform analysis and processing based on this to determine whether there are abnormalities such as jams during lifting. In the judgment of lifting abnormalities, by means of continuous testing and multiple rejudgments, reduce the rejudgment rate and the missed judgment rate. At the same time, environmental impacts can also be excluded, improving the accuracy of the judgment of the lifting abnormalities of the camera. At the same time, when the camera rises to the top, through the visual effect of the camera, determine whether there are situations such as jitter when the camera rises to the top, which affects the imaging effect of the camera.

[0025] The second object of the present invention is to provide a detection device for a lifting camera.

[0026] The present invention provides the second basic solution: A detection device for a lifting camera, applying the above detection method for a lifting camera, includes:

[0027] A target board, on which a target pattern is provided,

[0028] A lifting platform, used to control the lifting of the camera, and also used to collect and upload the measurement information during the lifting process of the camera. The measurement information includes displacement information, detection information, and image information;

[0029] An upper computer, used to perform a lifting abnormality judgment on the camera according to the measurement information and generate a judgment result.

[0030] Further, the target pattern is a black circle. When the camera rises to the top, the theoretical optical center of the camera falls on the center of the target pattern.

[0031] Beneficial effects:

[0032] Adopt this solution to realize the judgment of the abnormal lifting of the camera and the setting of the target board. According to the set physical distance of the camera, determine that the optical center of the camera falls on the center of the black circle. Through the image information collected by the camera when it rises to the top, judge whether the image center falls on the black circle, so as to analyze and judge the imaging effect after the camera rises. Description of the Drawings

[0033] Figure 1 It is a schematic connection diagram of an embodiment of a detection device for a lifting camera according to the present invention;

[0034] Figure 2 It is a schematic spatial projection diagram of an embodiment of a detection method and device for a lifting camera according to the present invention;

[0035] Figure 3 It is a curve pattern diagram of the x-axis displacement measurement information in step 4 of the example of the present invention;

[0036] Figure 4 It is a curve pattern diagram of the y-axis displacement measurement information in step 4 of the example of the present invention;

[0037] Figure 5 It is a curve pattern diagram of the z-axis displacement measurement information in step 4 of the example of the present invention;

[0038] Figure 6 It is a curve pattern diagram of the x-axis displacement measurement information in step 6 of the example of the present invention;

[0039] Figure 7 It is a curve pattern diagram of the y-axis displacement measurement information in step 6 of the example of the present invention;

[0040] Figure 8 It is a curve pattern diagram of the z-axis displacement measurement information in step 6 of the example of the present invention;

[0041] Figure 9 It is a curve pattern diagram of the XY-axis displacement measurement information in step 6 of the example of the present invention;

[0042] Figure 10 It is a curve pattern diagram of the XZ-axis displacement measurement information in step 6 of the example of the present invention;

[0043] Figure 11 It is a curve pattern diagram of the YZ-axis displacement measurement information in step 6 of the example of the present invention. Detailed Description of the Invention

[0044] The following is a further detailed description through specific embodiments:

[0045] Embodiment

[0046] A detection device for a lifting camera applies the following detection method for a lifting camera, as shown in the attached...Figure 1 As shown in the figure, it includes:

[0047] A calibration board with a target pattern on it. The target pattern is a black circle. When the camera rises to the top, the theoretical optical center of the camera falls on the center of the target pattern.

[0048] Mainly according to the resolution of the camera chip, the physical distance between the calibration board and the lifting camera during testing (generally, there is no need to add a teleconverter to simulate the actual distance here, that is, the required distance is generally less than 1 meter, so the machine can fully achieve this), and the FOV (field of view) angle, the minimum size of the corresponding calibration board diagram is obtained.

[0049]

[0050] Among them, and are the length and width of the calibration board diagram corresponding to the physical distance between the current calibration board and the lifting camera during testing. Since the actual purpose is to calculate whether the optical center falls within the black circular block, that is, the calibration board diagram involved only needs to be larger than the required size of the black circular block. is the physical distance between the calibration board and the lifting camera during testing, is the field of view angle, is pi, 、 are the length and height resolutions of the camera chip respectively.

[0051] Determine the offset angle according to the optical center offset distance required by the project or customer to design the black circular pattern.

[0052]

[0053] Among them is the radius of the black circular block, is the optical center offset distance required by the project or customer.

[0054] A light source, which is set in front of or behind the calibration board to ensure appropriate color temperature and illuminance.

[0055] A lifting platform, which is used to control the lifting of the camera and also used to collect and upload the measurement information during the lifting process of the camera. The measurement information includes displacement information, detection information, and image information. Specifically, the lifting platform includes a motor, a motor driver, a camera, a camera connection cable, a camera test box, a Hall sensor, a magnet, an MCU, and a USB serial port driver. The camera test box is connected to the upper computer to capture image information; the USB serial port connection board is connected to the USB interface of the upper computer to control the motor and obtain displacement information and detection information, and upload them.

[0056] The host computer is used to judge the abnormal lifting of the camera according to the measurement information and generate a judgment result. Specifically, the host computer is equipped with a displacement measurement information judgment and image acquisition and processing system, and judges through the displacement information obtained by driving through the USB serial port and the image information collected by the camera test box, and completes the abnormal lifting analysis of the lifting camera. For example, it is judged based on the obtained three-axis displacement measurement information, mainly including the x-axis, y-axis, z-axis, XY angle, XZ angle, and YZ angle information.

[0057] A detection method for a lifting camera includes the following:

[0058] Step 1: Adjust the calibration plate and the lifting platform, and control the camera to be in the initial position, and collect the initial displacement information at the initial position.

[0059] Step 2: Control the camera to rise in two stages, sample according to the preset sampling interval times and sampling interval time to obtain multiple rising displacement information, and record the rising detection information of the two-stage rise;

[0060] Step 3: After the camera rises to the top, control the camera to perform image acquisition to obtain image information, and judge whether the camera is offset too much according to the image information. If so, the test ends.

[0061] Step 4: Judge whether there is an abnormality in the rise of the camera according to the rising displacement information and the rising detection information. If there is an abnormality, control the camera to descend, and repeat steps 2-4. If there is no abnormality, sample the top displacement information when the camera is at the top.

[0062] Step 5: Control the camera to descend in three stages according to the sampling interval times, sampling interval time, and rising detection information. During the descent, sample to obtain multiple descending displacement information, the bottom displacement information when the camera is at the bottom, and the descending detection information.

[0063] Step 6: Judge whether there is an abnormality in the lifting of the camera according to the rising displacement information, descending displacement information, rising detection information, and descending detection information. If there is an abnormality, repeat steps 2-6.

[0064] Step 1 specifically includes the following:

[0065] Set control parameters, including parameters related to the stepping mode of the motor drive, the pause time for rising to the top and descending to the bottom , the number of rising and falling test times , the number of rest intervals per interval , the rest time per interval and the control parameters corresponding to the displacement information obtained by the Hall sensor.

[0066] Adjust the physical distance between the calibration plate and the lift table, and adjust the center point of the black circular block on the calibration plate and the theoretical optical center point position when the camera on the lift table reaches the top. According to the theoretical simulation, as shown in the appendix Figure 2 As shown, the center of the camera chip coincides with the optical center of the lens, and the three points of the center of the black circle on the calibration plate diagram are in a straight line. The camera chip, the optical axis plane of the lens, and the calibration plate surface are parallel, and the three surfaces are parallel.

[0067] Camera reset judgment, detect the initial position information of the camera to ensure that it is at the bottom. If it is detected that it does not fall to the bottom, control the camera to the bottom and sample the initial displacement information of the initial position of the camera , including the x-axis, y-axis, z-axis, XY angle, XZ angle, and YZ angle. Perform the descending action, and collect the displacement information of the x-axis, y-axis, and z-axis at each interval time , where is a positive integer, and judge the previous and subsequent times The differences in the x-axis, y-axis, and z-axis are within the control range respectively. If all are satisfied, it means that the current state is that the lifting camera is at the bottom, and stop the descending action.

[0068]

[0069] Among them, , , are the respective control threshold values. , If the displacement information sampled at the

[0070] Step 2, the two-stage ascent includes the first-stage ascent and the second-stage ascent. The sampling interval time corresponding to the first ascent stage is greater than the sampling interval time corresponding to the second ascent stage. The specific content is as follows:

[0071] Preset the sampling interval times according to the motor drive mode and stroke , and sample at equal interval time to obtain the respective ascending displacement information corresponding to the first-stage ascent Complete the first-stage ascending stroke and record the time required . The first-stage ascending stroke is the stroke when the camera ascends to a position not close to the top. In actual application, there will be sampling time, printing information time, etc. in the middle, so .

[0072] Interval time Sample to obtain the respective ascending displacement information corresponding to the second-stage ascent Among them is a positive integer, complete the second upward stroke, determine whether it reaches the top (the method of determining whether it reaches the top is the same as in step 1), and record the time required and the number of sampling times . After determining that it reaches the top, set the pause time to rise to the top according to step 1 Perform the sleep time processing on the motor. The second upward stroke is the stroke when the camera rises close to the top and the time to determine whether it reaches the bottom, where , , that is, the first upward stroke is coarse sampling, and the second upward stroke is fine sampling.

[0073] Step 3 specifically includes the following contents:

[0074] Capture the image information when reaching the top , and determine whether the geometric center of the image falls within the black circle. If it does not fall within the black circle, it means that the three-axis offset of the lifting camera is too large, the test ends, and the camera is controlled to directly perform the descending action.

[0075] , where generally , Generally determined according to the image bit depth. For example, for 10 bits Generally less than about 80; for example, for 8 bits Generally less than about 20.

[0076] Step 4 specifically includes the following contents:

[0077] According to the interval time in step 2 The respective upward displacement information obtained by sampling 、Record the time required and 、Record the time required and the number of sampling times , determine whether the lifting camera is abnormal. The determination includes the following three methods.

[0078] Method 1: The preset sampling interval time for the second upward movement , the upward detection information includes the time required during the second upward movement and the number of sampling times , according to the sampling interval time 、Time and the number of sampling times Calculate the actual time of the second upward movement, and compare the actual time with the preset threshold to determine whether there is an abnormality. Specifically:

[0079] According to the time required recorded in step 2 and the number of sampling times and using equally spaced time continuously times to calculate the actual time of the second rising stroke and compare it with the preset parameter threshold;

[0080]

[0081] wherein is the time threshold for the second rising stroke, is the sampling times threshold for the second rising stroke. It is necessary to simultaneously meet the conditions of this formula to indicate that the test of Method 1 is normal.

[0082] Method 2: The rising detection information includes the time required for the first rising , and the time required for the second rising . According to the time and the time compare with the preset threshold to determine whether there is an abnormality. Specifically:

[0083]

[0084] Judge the time required for recording in Step 2 and compare with the preset rising time threshold . If it is lower than this threshold, it indicates that the test of Method 2 is normal.

[0085] Method 3: The rising displacement information includes the displacement measurement information of the x, y, and z axes. Analyze the offset degrees of XY, XZ, and YZ corresponding to the time when the extreme values are reached according to the displacement measurement information of the x, y, and z axes, and judge whether the offset degree exceeds the preset offset degree. Specifically:

[0086] Method 3: Analyze the curve rules of the displacement measurement information of the x, y, and z axes, respectively obtain the offset degrees of XY, XZ, and YZ corresponding to the time when the extreme values are reached, and judge whether it exceeds the set offset degree; that is, find the extreme value points at the sampling times , and at the same time consider the motor precision error to judge the adjacent deviation degree of the extreme values to determine whether the offset degrees of XY, XZ, and YZ exceed the set offset degree. Taking as an example, and and so on.

[0087]

[0088] On the premise of meeting one of the above formulas, analyze the XY, XZ included angle information, where XSpec, YSpec, and ZSpec are their respective control threshold values.

[0089]

[0090] When one of the two conditions in ① and one of the two conditions in ② are met, it indicates that the lifting camera shakes abnormally when it reaches the top. Otherwise, it indicates that the test of Method 3 is normal. Among them and are the extreme points of the X-axis, XY angle, and XZ angle respectively. and are the thresholds of the XY angle and XZ angle respectively. Similarly Find the extreme values and make judgments and for the angle deviation degree at the extreme values; Find the extreme values and make judgments and for the angle deviation degree at the extreme values.

[0091] Only when all of Methods 1-3 are judged to be normal in the test, it indicates that the lifting camera is normal in this stage of judgment.

[0092] Step 5 specifically includes the following contents:

[0093] According to the time recorded in Step 2 , perform sampling at the first descending position for the time , and obtain its descending displacement information to complete the first stage of the descent.

[0094] According to the sampling interval times in Step 2 , and at equal interval times sample to obtain each displacement measurement information to complete the second stage of the descent, and record the time required , similarly, so .

[0095] According to the interval time in Step 2 sample to obtain each displacement measurement information where is a positive integer, complete the third stage of the descent, judge whether the bottom is reached (the method of judging whether the top is reached here is the same as that in Step 1), and sample the bottom displacement information when the lifting camera reaches the bottom , record the time required and the sampling times , .

[0096] Step 6 specifically includes the following contents:

[0097] Judge whether there is an abnormality in the lifting of the camera according to the following three methods.

[0098] Method 1: Analyze the curve rules of the displacement measurement information of the x, y, and z axes, as well as the XY angle and XZ angle or XY angle and YZ angle or XZ angle and YZ angle, and determine whether there is any abnormality in the displacement measurement information when the lifting camera rises to the top;

[0099] First, judge the number of extreme values of each displacement measurement information data, and use this to judge whether there is a serious deviation in a certain axis direction, whether there is jamming, whether the magnet and Hall sensor are abnormal, etc.; Second, when the lifting camera is near the bottom, it is an extreme point, and judge whether the corresponding all meet the threshold value, so as to judge whether the lifting camera reaches the top. Note that the extreme value range here is not the position of, and according to the actual situation and the accuracy of the Hall sensor, its extreme value is above,

[0100] Method 2: Both the upward displacement information and the downward displacement information include the displacement measurement information of the x, y, and z axes. Judge whether the displacement measurement information of the x, y, and z axes is symmetrically set according to the upward displacement information and the downward displacement information. Specifically:

[0101] Analyze whether the upward and downward displacement measurement information of the x, y, and z axes conforms to the symmetry principle. Judge whether there is any jamming phenomenon during the operation according to the upward and downward displacement measurement information of each of the x, y, and z axes.

[0102]

[0103] Meeting all the above conditions indicates that the test of Method 2 is normal, where the threshold values x_sym_spec, y_sym_spec, and z_sym_spec are set according to the project situation.

[0104] Method 3: Analyze the time difference between the time taken for upward and downward movements and compare it with the threshold value of the lifting time difference.

[0105]

[0106] Meeting all the above conditions indicates that the test of Method 3 is normal, where the threshold value is set according to the project situation.

[0107] Only when all of Methods 1 - 3 are judged to be normal in the test, it indicates that there is no abnormality in the lifting and lowering process of the lifting camera.

[0108] The specific implementation process is as follows:

[0109] The resolution of the camera chip 、 is 3280 and 2464 respectively, The field of view angle is 129°, and the physical distance between the calibration plate and the lifting camera for testing is set to 50 cm. Therefore, it is calculated that and are 1676.25 mm and 1259.23 mm respectively. The project requires the optical center offset distance to be 160 um. Therefore, the radius of the black circular block is calculated to be 81.77 mm, that is, the length and width of the designed calibration plate are at least 163.54 mm and 163.54 mm. Considering the actual situation, the calibration plate diagram is designed with a black circular block radius of 81.77 mm and a calibration plate size of 200 cm * 180 cm. The motor is driven by AW8646 of AWinic, outputting a PWM waveform. It mainly needs to involve a prescaler of 9, a duty cycle of 0.4, and a pulse number of 0, that is, it keeps pushing until the algorithm determines that the lifting camera reaches the top or bottom before stopping the push. The pause time when rising to the top and falling to the bottom is 1000 ms, the number of rising and falling test times is 100 (for reliability testing, continuous multiple tests will be carried out under the same material to check the probability of jamming events. For actual production, this parameter will be relatively small, such as 2 or 5. In this case, the parameters 、 are useless), the number of rest intervals per is 50, and the rest time per interval is 15 s. The interval time is 100 ms, and the continuous number is 3, that is, it is continuously determined that the displacement measurement information of the x-axis, y-axis, and z-axis is within the control range for 3 consecutive times, 、 、 The values are set to 100, 100, and 80 respectively according to the accuracy of the Hall sensor and the actual situation. The sampling interval number is 14 times. The rising second-stage travel time threshold in Step 4 is set to 180 ms, and the rising second-stage travel sampling number threshold is 20 times.

[0110] The rising first-stage travel time of a certain lifting camera is 1481 ms, , 1481 > 14 * 100. The rising second-stage travel interval time is 10 ms, and the time required for a certain test is recorded as 120 ms ( ), and the sampling number is 15. It is also determined that the optical center of the lifting camera when reaching the top falls within the black circular block, meeting the requirements. The rising time threshold is 1680 ms, as shown in the appendix Figures 3 - 5As shown, by analyzing the curve rules of the displacement measurement information on the x, y, and z axes, it is found that the deviation degrees of XY, XZ, and YZ corresponding to the extreme values do not exceed the set deviation degree, indicating that methods 1, 2, and 3 in step 4 all judge no abnormality.

[0111] Combined with the above description, there are a total of 31 coarse sampling points in step 6, as shown in the appendix Figures 6 - 11 As shown, the numbers of extreme values of the normal lifting camera on the x, y, z axes, XY angle, XZ angle, and YZ angle are 5, 3, 3, 1, 1, and 3 respectively; secondly, the displacement measurement information values of the lifting camera near the top value and the starting point are within a reasonable range. For example, the absolute value of the difference between the and is less than 20000, and the absolute value of the difference between them is less than 200, etc. Methods 2 and 3 in step 6 will not be further exemplified.

[0112] The above are only embodiments of the present invention. Common knowledge such as specific structures and characteristics known in the art are not described in detail here. Those of ordinary skill in the art know all the common technical knowledge in the technical field to which the invention belongs before the application date or priority date, can know all the existing technologies in this field, and have the ability to apply the conventional experimental means before this date. Those of ordinary skill in the art can, under the inspiration given in this application, combine their own abilities to improve and implement this solution. Some typical known structures or known methods should not become obstacles for those of ordinary skill in the art to implement this application. It should be noted that for those skilled in the art, without departing from the structure of the present invention, several deformations and improvements can still be made, and these should also be regarded as the protection scope of the present invention, which will not affect the implementation effect of the present invention and the practicality of the patent. The protection scope required by this application should be based on the content of its claims, and the specific implementation manners described in the specification can be used to interpret the content of the claims.

Claims

1. A detection method for a lifting camera, characterized in that, It includes the following: Step 1: Adjust the target board and the lift table, control the camera to be in the initial position, and collect the initial displacement information at the initial position. Step 2: Control the camera to rise in two stages, sample according to the preset number of sampling intervals and sampling interval time to obtain multiple rising displacement information, and record the rising detection information of the two-stage rise. Step 3: After the camera rises to the top, control the camera to perform image acquisition to obtain image information, and judge whether the camera is overly offset according to the image information. If so, the test ends. Step 4: Judge whether there is an abnormality in the rise of the camera according to the rising displacement information and the rising detection information. If there is an abnormality, control the camera to descend, and repeat Steps 2-4. If there is no abnormality, sample the top displacement information when the camera is at the top. In Step 4, judging whether there is an abnormality in the rise of the camera according to the rising displacement information and the rising detection information includes the following: The rising displacement information includes the displacement measurement information of the x, y, and z axes. Analyze the offset degrees of XY, XZ, and YZ corresponding to the time when the extreme values are reached according to the displacement measurement information of the x, y, and z axes, and judge whether the offset degree exceeds the preset offset degree, including: Analyze the curve laws of the displacement measurement information on the x, y, and z axes, respectively obtain the offset degrees of XY, XZ, and YZ corresponding to the time of the extreme values, and determine whether the set offset degree is exceeded; that is, find the extreme value points at the sampling times and at the same time consider the motor precision error to judge the adjacent deviation degree of the extreme values to determine whether the offset degrees of XY, XZ, and YZ exceed the set offset degree; Under the premise of satisfying one of the above formulas, analyze the XY and XZ included angle information, where XSpec, YSpec, and ZSpec are their respective control threshold values. When one of the two conditions in ① and one of the two conditions in ② are met, it indicates that the lifting camera jitters abnormally when it reaches the top. Otherwise, it indicates that the test is normal. Among them and are the extreme points of the X-axis, XY angle, and XZ angle respectively, and are the thresholds of the XY angle and XZ angle respectively; similarly find the extreme values and judge and the angular deviation degree at the extreme values; find the extreme values and judge and the angular deviation degree at the extreme values.

2. The detection method of a lifting camera according to claim 1, wherein, It also includes the following: Step 5: Control the camera to descend in three stages according to the number of sampling intervals, sampling interval time, and rising detection information. During the descent, sample to obtain multiple descending displacement information, the bottom displacement information when the camera is at the bottom, and the descending detection information. Step 6: Judge whether there is an abnormality in the lifting of the camera according to the rising displacement information, descending displacement information, rising detection information, and descending detection information. If there is an abnormality, repeat Steps 2-6.

3. The detection method of a lifting camera according to claim 1, characterized in that: In Step 4, judging whether there is an abnormality in the rise of the camera according to the rising displacement information and the rising detection information includes the following: The two-stage rise includes a first-stage rise and a second-stage rise, and a preset sampling interval time is set for the second-stage rise. The rise detection information includes the time required in the second-stage rise. and the number of samplings. Based on the sampling interval time , the time and the number of samplings calculate the actual time of the second-stage rise, and compare the actual time with a preset threshold to determine whether there is an abnormality.

4. The detection method of a lifting camera according to claim 1, wherein: In Step 4, judging whether there is an abnormality in the rise of the camera according to the rising displacement information and the rising detection information includes the following: The two-stage rise includes the first-stage rise and the second-stage rise, and the rise detection information includes the time required for the first-stage rise , the time required for the second-stage rise , according to the time and the time is compared with a preset threshold to determine whether there is an abnormality 5. The detection method of a lifting camera according to claim 1, characterized in that: In Step 2, the two-stage rise includes the first-stage rise and the second-stage rise. The sampling interval time corresponding to the first rising stage is greater than the sampling interval time corresponding to the second rising stage.

6. The detection method of a lifting camera according to claim 2, wherein: In Step 6, judging whether there is an abnormality in the lifting of the camera according to the rising displacement information, descending displacement information, rising detection information, and descending detection information includes the following: Both the rising displacement information and the descending displacement information include the displacement measurement information of the x, y, and z axes. Judge whether the displacement measurement information of the x, y, and z axes is symmetrically set according to the rising displacement information and the descending displacement information.

7. A detection device for a lifting camera, characterized in that: Applying the detection method of the lifting camera according to any one of claims 1-6, including: A target board, on which a target pattern is provided. A lift table, used to control the lifting of the camera, and also used to collect and upload the measurement information during the lifting of the camera. The measurement information includes displacement information, detection information, and image information. An upper computer, used to judge the lifting abnormality of the camera according to the measurement information and generate a judgment result.

8. The detection device for a lifting camera according to claim 7, characterized in that: The target pattern is a black circle. When the camera rises to the top, the theoretical optical center of the camera falls on the center of the target pattern.

Citation Information

Patent Citations

  • Intelligent lifting control method, storage medium and electronic equipment

    CN113709446A