A structure and method for automatic calibration and assembly error detection of a lifting camera
Through the combination of the camera, telescopic rod and 3D Hall sensor, the automatic calibration and assembly error detection of the lifting camera are achieved, solving the problem of abnormal lifting function and improving the production efficiency and automation level.
Patent Information
- Application Number
- CN202210051595.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-17
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2042-01-17
AI Technical Summary
In the prior art, in large-scale production of lifting cameras, due to poor material work and poor assembly work, the lifting function is abnormal, and there is a lack of efficient and automated calibration methods.
Using a camera, telescopic rod and lift control mechanism, combined with 3D Hall sensor and magnet, data is recorded and analyzed through an automated calibration process, calibration status is detected, error code is judged and displayed, and automated calibration and assembly error detection is realized.
The fully automatic calibration of the lifting camera is realized, reducing manual intervention and improving productivity. Users only need to wait for calibration results and check for problems.
Smart Images

Figure CN114430485B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent devices, and in particular to a structure and method for automatic calibration and assembly error detection of a lifting camera. Background Art
[0002] Currently, the lifting parts of mobile phones and tablets with lifting cameras on the market are all high-precision devices, and the number of accessories is also very large. The material and assembly work errors in mass production lead to abnormal lifting functions, and each machine needs to be calibrated. Currently, there is a lack of an efficient and highly automated calibration method. Summary of the invention
[0003] In view of the deficiencies in the prior art, the present invention aims to provide a structure and method for automatic calibration and assembly error detection of a lifting camera.
[0004] In order to achieve the above object, the present invention adopts the following technical solution:
[0005] A structure for automatic calibration and assembly error detection of a lifting camera comprises a camera, a telescopic rod and a lifting control mechanism, wherein the camera is connected to the telescopic rod, and the lifting control mechanism is used to drive the telescopic rod to move so as to drive the camera to lift; magnets with opposite polarities are respectively installed at the upper and lower ends of the telescopic rod, and a 3D Hall sensor is installed on the device where the lifting camera is located; the 3D Hall sensor and the lifting control mechanism are both electrically connected to the main control of the device where they are located;
[0006] The main control is used to send instructions to the lifting control mechanism when starting the calibration, so that the lifting control mechanism directly lowers the telescopic rod to the bottom, then drives the telescopic rod to gradually rise to the middle position, then directly rises to the top position, and then gradually lowers to the middle position; it is used to record the data of the 3D Hall sensor corresponding to the telescopic rod at the bottom, the top, each step from the bottom to the middle position, and each step from the top position to the middle position during the calibration process; it is used to determine whether the data measured by the 3D Hall sensor has the following conditions, if so, the calibration fails and the corresponding error code is displayed to the user through the display screen of the device for the user to check the problem:
[0007] If the data of the 3D Hall sensor read out are all 0, it is necessary to check whether the 3D Hall sensor is damaged;
[0008] If the difference of the 3D Hall sensor data corresponding to each step is within a preset range, it means that the 3D Hall sensor data corresponding to each step are very close. It is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are missing, or whether the telescopic rod has not moved.
[0009] If the 3D Hall sensor data increases or decreases linearly from the bottom to the top, it is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are not installed with opposite polarities;
[0010] If the average value of the obtained 3D Hall sensor data deviates from the preset average calibration data by more than a preset range, it is necessary to detect whether the assembly process has a large difference.
[0011] Furthermore, the calibration status will be recorded in the main control. When the lifting camera is used for the first time, the calibration status is not recorded in the main control, and the calibration process will be automatically triggered.
[0012] Furthermore, the main control records the number of steps that the telescopic rod needs to travel from the bottom to the top, and determines the current position of the telescopic rod according to the number of steps that the telescopic rod has traveled.
[0013] The present invention provides a method using the above structure, the specific process is:
[0014] After starting the calibration, the main control sends a command to the lifting control mechanism, which lowers the telescopic rod directly to the bottom, then drives the telescopic rod to gradually rise to the middle position, then directly rises to the top position, and then gradually lowers to the middle position; the main control records the data of the 3D Hall sensor corresponding to the telescopic rod at the bottom, top, each step from the bottom to the middle position, and each step from the top position to the middle position during the calibration process; the main control determines whether the data measured by the 3D Hall sensor has the following conditions, and if so, the calibration fails and displays the corresponding error code to the user through the display screen of the device for the user to check the problem:
[0015] If the data of the 3D Hall sensor read out are all 0, it is necessary to check whether the 3D Hall sensor is damaged;
[0016] If the difference of the 3D Hall sensor data corresponding to each step is within a preset range, it means that the 3D Hall sensor data corresponding to each step are very close. It is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are missing, or whether the telescopic rod has not moved.
[0017] If the 3D Hall sensor data increases or decreases linearly from the bottom to the top, it is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are not installed with opposite polarities;
[0018] If the average value of the obtained 3D Hall sensor data deviates from the preset average calibration data by more than a preset range, it is necessary to detect whether the assembly process has a large difference.
[0019] The beneficial effect of the present invention is that the calibration of the lifting camera can be automatically triggered by the present invention, and the entire calibration process is fully automatic without the need for manual intervention, and the user only needs to wait for the final calibration result and perform checks according to the corresponding problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is a schematic diagram of the method flow of Example 2 of the present invention. DETAILED DESCRIPTION
[0021] The present invention will be further described below in conjunction with the accompanying drawings. It should be noted that this embodiment is based on the technical solution and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to this embodiment.
[0022] Example 1
[0023] This embodiment provides a structure for automatic calibration and assembly error detection of a lifting camera, including a camera, a telescopic rod, and a lifting control mechanism, wherein the camera is connected to the telescopic rod, and the lifting control mechanism is used to drive the telescopic rod to move so as to drive the camera to lift; magnets with opposite polarities are respectively installed at the upper and lower ends of the telescopic rod, and a 3D Hall sensor is installed on the device where the lifting camera is located; the 3D Hall sensor and the lifting control mechanism are both electrically connected to the main control of the device where they are located;
[0024] The main control is used to send instructions to the lifting control mechanism when starting the calibration, so that the lifting control mechanism directly lowers the telescopic rod to the bottom, then drives the telescopic rod to gradually rise to the middle position, then directly rises to the top position, and then gradually lowers to the middle position; it is used to record the data of the 3D Hall sensor corresponding to the telescopic rod at the bottom, the top, each step from the bottom to the middle position, and each step from the top position to the middle position during the calibration process; it is used to determine whether the data measured by the 3D Hall sensor has the following conditions, if so, the calibration fails and the corresponding error code is displayed to the user through the display screen of the device for the user to check the problem:
[0025] If the data of the 3D Hall sensor read out are all 0, it is necessary to check whether the 3D Hall sensor is damaged;
[0026] If the difference of the 3D Hall sensor data corresponding to each step is within a preset range, it means that the 3D Hall sensor data corresponding to each step are very close. It is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are missing, or whether the telescopic rod has not moved.
[0027] If the 3D Hall sensor data increases or decreases linearly from the bottom to the top, it is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are not installed with opposite polarities;
[0028] If the average value of the obtained 3D Hall sensor data deviates from the preset average calibration data by more than a preset range, it is necessary to detect whether the assembly process has a large difference.
[0029] Furthermore, after the calibration is completed, the calibration status will be recorded in the main control. When the lifting camera is used for the first time, the calibration status is not recorded in the main control, and the calibration process will be automatically triggered.
[0030] Furthermore, the master control records the number of steps required for the telescopic rod to travel from the bottom to the top (e.g. Figure 1 The X in the figure is used to determine the current position of the telescopic rod according to the number of steps the telescopic rod has traveled.
[0031] Example 2
[0032] This embodiment provides a method using the structure described in embodiment 1, such as Figure 1 As shown, the specific process is:
[0033] After starting the calibration, the main control sends a command to the lifting control mechanism, which lowers the telescopic rod directly to the bottom, then drives the telescopic rod to gradually rise to the middle position, then directly rises to the top position, and then gradually lowers to the middle position; the main control records the data of the 3D Hall sensor corresponding to the telescopic rod at the bottom, top, each step from the bottom to the middle position, and each step from the top position to the middle position during the calibration process; the main control determines whether the data measured by the 3D Hall sensor has the following conditions, and if so, the calibration fails and displays the corresponding error code to the user through the display screen of the device for the user to check the problem:
[0034] If the data of the 3D Hall sensor read out are all 0, it is necessary to check whether the 3D Hall sensor is damaged;
[0035] If the difference of the 3D Hall sensor data corresponding to each step is within a preset range, it means that the 3D Hall sensor data corresponding to each step are very close. It is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are missing, or whether the telescopic rod has not moved.
[0036] If the 3D Hall sensor data increases or decreases linearly from the bottom to the top, it is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are not installed with opposite polarities;
[0037] If the average value of the obtained 3D Hall sensor data deviates from the preset average calibration data by more than a preset range, it is necessary to detect whether the assembly process has a large difference.
[0038] For those skilled in the art, various corresponding changes and modifications can be made according to the above technical solutions and concepts, and all of these changes and modifications should be included in the protection scope of the claims of the present invention.
Claims
1. A structure for automatic calibration and assembly error detection of a lifting camera, comprising a camera, a telescopic rod and a lifting control mechanism, wherein the camera is connected to the telescopic rod, and the lifting control mechanism is used to drive the telescopic rod to move so as to drive the camera to lift; characterized in that: The upper and lower ends of the telescopic rod are respectively equipped with magnets with opposite polarities, and a 3D Hall sensor is installed on the device where the lifting camera is located; the 3D Hall sensor and the lifting control mechanism are electrically connected to the main control of the device where they are located; The main control is used to send instructions to the lifting control mechanism when starting the calibration, so that the lifting control mechanism directly lowers the telescopic rod to the bottom, then drives the telescopic rod to gradually rise to the middle position, then directly rises to the top position, and then gradually lowers to the middle position; it is used to record the data of the 3D Hall sensor corresponding to the telescopic rod at the bottom, the top, each step from the bottom to the middle position, and each step from the top position to the middle position during the calibration process; it is used to determine whether the data measured by the 3D Hall sensor has the following conditions, if so, the calibration fails and the corresponding error code is displayed to the user through the display screen of the device for the user to check the problem: If the data of the 3D Hall sensor read out are all 0, it is necessary to check whether the 3D Hall sensor is damaged; If the difference of the 3D Hall sensor data corresponding to each step is within a preset range, it means that the 3D Hall sensor data corresponding to each step are very close. It is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are missing, or whether the telescopic rod has not moved. If the 3D Hall sensor data increases or decreases linearly from the bottom to the top, it is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are not installed with opposite polarities; If the average value of the obtained 3D Hall sensor data deviates from the preset average calibration data by more than a preset range, it is necessary to detect whether the assembly process has a large difference.
2. The structure according to claim 1, characterized in that: The calibration status will be recorded in the main control. When the lifting camera is used for the first time, the calibration status is not recorded in the main control, and the calibration process will be automatically triggered.
3. The structure according to claim 1, characterized in that: The main control records the number of steps the telescopic rod needs to travel from the bottom to the top, and determines the current position of the telescopic rod based on the number of steps the telescopic rod has traveled.
4. A method using the structure according to any one of claims 1 to 3, characterized in that: The specific process is: After starting the calibration, the main control sends a command to the lifting control mechanism, which lowers the telescopic rod directly to the bottom, then drives the telescopic rod to gradually rise to the middle position, then directly rises to the top position, and then gradually lowers to the middle position; the main control records the data of the 3D Hall sensor corresponding to the telescopic rod at the bottom, top, each step from the bottom to the middle position, and each step from the top position to the middle position during the calibration process; the main control determines whether the data measured by the 3D Hall sensor has the following conditions, and if so, the calibration fails and displays the corresponding error code to the user through the display screen of the device for the user to check the problem: If the data of the 3D Hall sensor read out are all 0, it is necessary to check whether the 3D Hall sensor is damaged; If the difference of the 3D Hall sensor data corresponding to each step is within a preset range, it means that the 3D Hall sensor data corresponding to each step are very close. It is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are missing, or whether the telescopic rod has not moved. If the 3D Hall sensor data increases or decreases linearly from the bottom to the top, it is necessary to check whether the magnets at the upper and lower ends of the telescopic rod are not installed with opposite polarities; If the average value of the obtained 3D Hall sensor data deviates from the preset average calibration data by more than a preset range, it is necessary to detect whether the assembly process has a large difference.
Citation Information
Patent Citations
Calibration method and device for motion step number of lifting motor and mobile terminal
CN110602297A
Camera lifting obstacle processing method and device and mobile terminal
CN110602399A
Camera control method, camera control device and storage medium
CN113329124A
Electronic equipment and control method
CN113572895A
Intelligent lifting control method, storage medium and electronic equipment
CN113709446A
