A planar camera automatic leveling device and control method thereof
Through the automatic leveling device and control method, the motor and the ball head bolt rod end joint bearing are used to realize the automatic leveling of the camera, which solves the parallelism error and time-consuming problems caused by manual adjustment, and improves the accuracy and efficiency of camera leveling. , enhanced user experience.
Patent Information
- Application Number
- CN202210433666.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-24
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-04-24
AI Technical Summary
In the existing technology, the camera angle and position are manually adjusted to achieve parallelism errors, which results in poor hand-eye calibration accuracy, is time-consuming and cumbersome, and affects the user experience and the promotion and application of tooling fixtures.
Design an automatic leveling device for a flat camera, including a leveling base plate, a mounting base plate and a camera mounting bracket. It uses a motor with a self-locking function, a ball head bolt rod end spherical bearing and a rotating connector to achieve automatic leveling and fixation. Combined with the automatic leveling The flat control method automatically adjusts the camera angle through target plane image collection and Euler angle calculation.
Quickly complete camera leveling without manual intervention, ensuring angle accuracy, improving user experience and leveling efficiency, and promoting the promotion and application of the device in the field of robot vision technology.
Smart Images

Figure CN114700989B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of robot vision, and in particular to an automatic leveling device for a plane camera and a control method thereof. Background Art
[0002] Robot is the common name for automatic control machines. Automatic control machines include all machines that simulate human behavior or thoughts and simulate other organisms (such as robot dogs, robot cats, etc.). There are many classifications and controversies in the narrow definition of robots. Some computer programs are even called robots. In contemporary industry, robot refers to an artificial machine device that can perform tasks automatically to replace or assist human work. It is the product of advanced integrated cybernetics, mechatronics, computers, materials and bionics, and has important uses in industry, medicine, agriculture, construction and even military fields.
[0003] Hand-eye calibration is a necessary step for vision-guided robot operation, and planar camera leveling is a key step in hand-eye calibration, which determines the accuracy of hand-eye calibration.
[0004] In the prior art, technicians make corresponding tooling fixtures and repeatedly adjust the positioning fixtures to change the angle and position of the camera, thereby achieving relative parallelism between the camera and the working plane.
[0005] However, manual adjustment methods can easily lead to parallelism errors, which in turn leads to poor accuracy of hand-eye calibration results. In addition, this method is time-consuming and cumbersome, which increases the workload of on-site technicians, affects the user experience, and is not conducive to the promotion and application of the above-mentioned tooling fixtures in the market. Summary of the invention
[0006] In order to overcome the defects in the above-mentioned prior art, the first invention purpose of the present invention is to provide an automatic leveling device for a planar camera, which can quickly complete the camera leveling work without human intervention, while ensuring the accuracy of the adjustment angle, enhancing the user's experience, and facilitating the promotion and application of the above-mentioned leveling device in the field of robot vision technology. The second invention purpose of the present invention is to provide a control method for an automatic leveling device for a planar camera, which is used to control the above-mentioned automatic leveling device, ensure the automation and high efficiency of the leveling device, and also enhance the user's experience.
[0007] The above-mentioned automatic leveling device for a planar camera and a control method for the automatic leveling device for a planar camera are technically related to each other and belong to the same inventive concept.
[0008] In order to achieve the above-mentioned first invention purpose, the present invention adopts the following technical scheme: an automatic leveling device for a plane camera, used for leveling and fixing an industrial plane camera with an industrial camera lens; comprising a leveling base plate, a mounting base plate and a camera mounting bracket, the industrial plane camera is mounted on the leveling base plate through the camera mounting bracket, and the lens surface of the industrial camera lens is arranged parallel to the leveling base plate; also comprising a leveling locking device for leveling and fixing the leveling base plate, the leveling locking device comprising a motor with a self-locking function, a ball stud rod end joint bearing and a rotating connector, the motor is fixed to the mounting base plate, the rotating connector is installed at the output end of the motor, and the ball stud rod end joint bearing connects the rotating connector and the leveling base plate.
[0009] As a preferred solution of the present invention, the camera mounting bracket is installed at the center position of the leveling base plate.
[0010] As a preferred solution of the present invention, a leveling bottom plate hole for the industrial plane camera to pass through is further provided at the center of the leveling bottom plate.
[0011] As a preferred solution of the present invention, a mounting base plate hole for the industrial plane camera to pass through is further opened at the center of the mounting base plate, and the mounting base plate hole is arranged opposite to the leveling base plate hole.
[0012] As a preferred solution of the present invention, there are two leveling locking devices, and the two leveling locking devices are respectively arranged at the diagonal positions of the leveling base plate.
[0013] As a preferred solution of the present invention, the motors in the two leveling locking devices are both stepping motors.
[0014] As a preferred solution of the present invention, there are four leveling locking devices, and the four leveling locking devices are respectively arranged at four corners of the leveling base plate.
[0015] As a preferred solution of the present invention, two of the motors in the four leveling locking devices are stepping motors.
[0016] As a preferred solution of the present invention, the ball stud rod end joint bearing is a C-type ball stud joint bearing.
[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: an automatic leveling device for a plane camera in the present invention, by setting a leveling base plate, a mounting base plate and a camera mounting bracket, fixes an industrial plane camera on the leveling base plate through the camera mounting bracket, and then uses a leveling locking device to level and fix the leveling base plate, thereby realizing the leveling and fixing operation of the above-mentioned industrial plane camera, without the need for manual intervention by an operator, and can quickly complete the camera leveling work, thereby enhancing the user experience, and is conducive to the promotion and application of the above-mentioned leveling device in the field of robot vision technology.
[0018] In order to achieve the above-mentioned second invention purpose, the present invention adopts the following technical scheme: a control method of a plane camera automatic leveling device, which is used to control the above-mentioned plane camera automatic leveling device; comprising the following steps: S1, assembling the above-mentioned automatic leveling device, fixing the industrial plane camera with an industrial camera lens on a camera mounting bracket; S2, placing the target plane within the field of view of the industrial plane camera; S3, collecting the target plane image through the industrial plane camera; S4, calculating the transformation matrix between the target plane coordinate system and the industrial plane camera coordinate system according to the feature points of the target plane; S5, converting the transformation matrix into Euler angles (EZ, EY, EX); S6, calculating the displacement adjusted by the motor according to the values of EX and EY; S7, repeating S3 to S6 until EX and EY meet the threshold.
[0019] Compared with the prior art, the beneficial effects of the present invention are: A control method for a planar camera automatic leveling device in the present invention is used to control the above-mentioned planar camera automatic leveling device. Through the above-mentioned method, the accuracy of the camera adjustment angle can be guaranteed, and there is no need to adjust the camera multiple times. The adjustment rate can be improved, thereby enhancing the user experience, which is conducive to the promotion and application of the above-mentioned leveling device in the field of robot vision technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a schematic diagram of the installation of an automatic leveling device for a planar camera and a target plane in the present invention;
[0021] Figure 2 It is a schematic diagram of the positional relationship between the camera coordinate system and the target plane coordinate system in the present invention;
[0022] Figure 3 It is a schematic diagram of the adjustment range of an industrial plane camera in an automatic leveling device for a plane camera in the present invention;
[0023] Figure numerals: 1. leveling base plate; 2. camera mounting bracket; 3. industrial plane camera; 4. industrial camera lens; 5. target plane; 6. motor; 7. ball stud rod end joint bearing; 8. rotating connector; 9. mounting base plate. DETAILED DESCRIPTION
[0024] The present invention will be described in detail below in conjunction with the accompanying drawings.
[0025] like Figures 1 to 3 As shown, an automatic leveling device for a plane camera is used for leveling and fixing an industrial plane camera 3 having an industrial camera lens 4; it includes a leveling base plate 1, a mounting base plate 9 and a camera mounting bracket 2. The industrial plane camera 3 is fixedly mounted on the leveling base plate 1 through the camera mounting bracket 2. In order to be able to level and fix the industrial camera lens 4 by leveling and fixing the leveling base plate 1, the lens surface of the industrial camera lens 4 is arranged parallel to the leveling base plate 1. After manual adjustment, mechanical locking is often required, which can easily cause the camera posture to change during the locking process. In order to avoid jitter errors caused by manual fixation, the automatic leveling device in the present invention is also provided with a leveling locking device for leveling and fixing the above-mentioned leveling base plate 1. The above-mentioned leveling locking device is mainly composed of a motor 6 with a self-locking function, a ball stud rod end joint bearing 7 and a rotating connector 8. One end of the above-mentioned motor 6 is fixedly mounted on or fixedly connected to the above-mentioned mounting base plate 9, and the above-mentioned rotating connector 8 is installed at the output end of the above-mentioned motor 6. The above-mentioned ball stud rod end joint bearing 7 connects the above-mentioned rotating connector 8 and the above-mentioned leveling base plate 1 to achieve leveling and fixing of the leveling base plate 1, thereby achieving leveling and fixing of the industrial plane camera 3. After the industrial plane camera 3 is installed, the industrial plane camera 3 can be automatically adjusted to be parallel to the working plane through the leveling locking device without human intervention, thereby reducing the error in the manual adjustment process, ensuring the accuracy of the camera adjustment angle, and enhancing the user experience.
[0026] In order to ensure the stability of the structure of the automatic leveling device, the camera mounting bracket 2 is installed at the center of the leveling base plate 1. In order to facilitate the upward movement of the industrial plane camera 3 to achieve leveling, a leveling base plate hole for the industrial plane camera 3 to pass through is opened at the center of the leveling base plate 1. Furthermore, a mounting base plate hole for the industrial plane camera 3 to pass through is opened at the center of the mounting base plate 9, and the mounting base plate hole is arranged opposite to the leveling base plate hole.
[0027] Furthermore, in order to ensure the performance of the automatic leveling device, the leveling locking device may be two, and the two leveling locking devices are respectively arranged at the diagonal positions of the leveling base plate 1, and the motors 6 in the two leveling locking devices are stepper motors or servo motors. Alternatively, in order to further ensure the stability of the leveling device, the leveling locking device may be four, and the four leveling locking devices are respectively arranged at the four corners of the leveling base plate 1, and the two motors 2 in the four leveling locking devices are stepper motors or servo motors. In the present invention, by setting two high-precision stepper motors, the pitch angle and roll angle of the industrial plane camera 3 can be adjusted, and the stepper motor can realize precise position control, ensuring that the industrial plane camera 3 is adjusted to the desired angle, avoiding the jitter error caused by manual adjustment.
[0028] The ball stud rod end joint bearing 7 is a C-type ball stud joint bearing. The joint bearing is a spherical sliding bearing, and its sliding contact surface is an inner spherical surface and an outer spherical surface. It can rotate and swing at any angle during movement. It is made by surface phosphating, blasting, inserting, spraying and other special processing methods. The joint bearing has the characteristics of large load capacity, impact resistance, corrosion resistance, wear resistance, self-aligning, good lubrication, etc., which can reduce the difficulty of adjusting the leveling base plate 1, thereby facilitating the angle adjustment of the industrial plane camera 3 and enhancing the user experience.
[0029] The technical principle implemented by the present invention is:
[0030] like Figure 2 As shown, the purpose and standard of camera leveling is the target plane coordinate system (Coordinate system 1) and industrial camera coordinate system (Coordinate System 2) Parallel.
[0031] The imaging model of industrial plane camera 3 is:
[0032]
[0033] in, , It is called the equivalent focal length; is a 3×4 projection matrix; Completely by Five parameters determine The five parameters are only related to the intrinsic parameters of the industrial flat camera 3, which we call the composition is the intrinsic parameter matrix of the camera; is the camera's extrinsic parameter matrix.
[0034] External parameter matrix Describes the position and posture of the camera in the world coordinate system, that is, exist In which, represents the rotation matrix, Represents the translation matrix. Since coordinate translation has no effect on the camera's posture, only That's it.
[0035]
[0036] The corresponding Euler angle is:
[0037]
[0038]
[0039]
[0040] Setting the detection threshold ,when or When Figure 3 As shown in FIG. 1 , the angle to be adjusted is converted into the displacement of the motor 6, and the leveling base plate 1 can be adjusted within ±3° until it is adjusted to the desired angle. and When and The X and Y coordinate axes are parallel to each other.
[0041] A control method of a planar camera automatic leveling device in the present invention is used to control the above-mentioned planar camera automatic leveling device; the specific implementation process is as follows:
[0042] S1, assembling the above-mentioned automatic leveling device, fixing the industrial plane camera 3 with the industrial camera lens 4 on the camera mounting bracket 2;
[0043] S2, placing the target plane 5 within the field of view of the industrial plane camera 3;
[0044] S3, collecting the target plane 5 image by the industrial plane camera 3;
[0045] S4, calculating the transformation matrix between the target plane 5 coordinate system and the industrial plane camera 3 coordinate system according to the feature points of the target plane 5;
[0046] S5, convert the transformation matrix into Euler angle (EZ, EY, EX);
[0047] S6. Calculate the displacement adjusted by the motor 6 according to the values of EX and EY. S7. Repeat S3 to S6 until EX and EY meet a certain threshold.
[0048] The above method for calculating the leveling angle of a planar camera establishes the relationship between the camera coordinate system and the target plane coordinate system through the camera's external parameter model. By calculating the transformation relationship between the two coordinate systems, the required adjustment angle of the camera is obtained, which is then converted into the displacement of the motor to achieve the leveling of the camera. There is no need to manually level the camera, thereby ensuring the accuracy of the camera leveling angle. At the same time, the leveling efficiency of industrial cameras is improved, and the user experience is enhanced.
[0049] An automatic leveling device for a plane camera in the present invention is provided with a leveling base plate 1, a mounting base plate 9 and a camera mounting bracket 2, and an industrial plane camera 3 is fixedly mounted on the leveling base plate 1 through the camera mounting bracket 2, and then the leveling base plate 1 is leveled and fixed by a leveling locking device, thereby realizing the leveling and fixing operation of the above-mentioned industrial plane camera 3, without the need for manual intervention by an operator, and the camera leveling work can be completed quickly, thereby enhancing the user experience, and being conducive to the promotion and application of the above-mentioned leveling device in the field of robot vision technology.
[0050] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention; therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0051] Although the following terms are used more frequently in this article: 1. leveling base plate; 2. camera mounting bracket; 3. industrial plane camera; 4. industrial camera lens; 5. target plane; 6. motor; 7. ball stud rod end joint bearing; 8. rotating connector; 9. mounting base plate, the possibility of using other terms is not excluded. These terms are used only to more conveniently describe and explain the essence of the present invention; interpreting them as any additional limitation is contrary to the spirit of the present invention.
Claims
1. An automatic leveling device for a flat camera, used for leveling and fixing an industrial flat camera (3) having an industrial camera lens (4); characterized in that: The invention comprises a leveling base plate (1), a mounting base plate (9) and a camera mounting bracket (2), wherein the industrial plane camera (3) is mounted on the leveling base plate (1) via the camera mounting bracket (2), the camera mounting bracket (2) is mounted at the center of the leveling base plate (1), and the lens surface of the industrial camera lens (4) is arranged parallel to the leveling base plate (1); and further comprises a leveling locking device for leveling and fixing the leveling base plate (1), the leveling locking device comprising a motor (6) with a self-locking function, a ball stud rod end joint bearing (7) and a rotating connecting piece (8), one end of the motor (6) being fixedly mounted on the mounting base plate (9), the output end of the motor (6) being located outside the leveling base plate (1) and connected to the ball stud rod end joint bearing (7) via the rotating connecting piece (8), the ball stud rod end joint bearing (7) being used to connect the rotating connecting piece (8) and the leveling base plate (1).
2. The automatic leveling device for a planar camera according to claim 1, characterized in that: A leveling bottom plate hole is also provided at the center of the leveling bottom plate (1) for the industrial plane camera (3) to pass through.
3. The automatic leveling device for a planar camera according to claim 2, characterized in that: A mounting base plate hole for the industrial plane camera (3) to pass through is also provided at the center of the mounting base plate (9), and the mounting base plate hole is arranged opposite to the leveling base plate hole.
4. The automatic leveling device for a planar camera according to claim 1 or 3, characterized in that: There are two leveling locking devices, which are arranged at opposite corners of the leveling base plate (1).
5. The automatic leveling device for a planar camera according to claim 4, characterized in that: The motors (6) in the two leveling locking devices are both stepping motors.
6. The automatic leveling device for a planar camera according to claim 1 or 3, characterized in that: There are four leveling locking devices, which are arranged at four corners of the leveling base plate (1).
7. The automatic leveling device for a planar camera according to claim 6, characterized in that: Two of the motors (6) in the four leveling locking devices are stepper motors.
8. The automatic leveling device for a planar camera according to claim 1, characterized in that: The ball stud rod end joint bearing (7) is a C-type ball stud joint bearing.
9. A control method for an automatic leveling device for a planar camera, used to control an automatic leveling device for a planar camera according to any one of claims 1 to 8; characterized in that: The following steps are involved: S1, assembling the above-mentioned automatic leveling device, fixing the industrial plane camera (3) with the industrial camera lens (4) on the camera mounting bracket (2); S2, placing the target plane (5) within the field of view of the industrial plane camera (3); S3, collecting the image of the target plane (5) through the industrial plane camera (3); S4, calculating the transformation matrix between the target plane (5) coordinate system and the industrial plane camera (3) coordinate system based on the feature points of the target plane (5); S5, converting the transformation matrix into Euler angles (EZ, EY, EX); S6, calculating the displacement adjusted by the motor (6) based on the values of EX and EY; S7, repeating S3 to S6 until EX and EY meet the threshold.
Citation Information
Patent Citations
Overall measurement system calibration method based on vision calibration and coordinate transformation
CN105067011A
Marking point coupling method based on robot motion parameters and characteristic vectors
CN105447856A
Single-camera hand-eye calibration method of manipulator end
CN107808401A
Automatic leveling device of binocular stereo camera, and leveling control system and control method thereof
CN107896326A
Satellite attitude rapid leveling device
CN107908192A
