Calibration method, positioning method, positioning device and photoelectric turntable
Through the calibration method and positioning method of the photoelectric turntable, using the calibration array and zero angle calibration, the problem of high equipment cost of the photoelectric turntable when improving the positioning accuracy is solved, and the improvement of high-precision positioning and low-cost control are achieved, which is suitable for low-cost applications. equipment.
Patent Information
- Application Number
- CN202211736614.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-12-30
AI Technical Summary
When improving the positioning accuracy of the existing photoelectric turntable, the equipment cost is high, and it is difficult to achieve high-precision position sensing and machining without significantly increasing the cost. Especially for low-cost equipment, the existing technology is difficult to effectively solve this problem. question.
Through a calibration method and positioning method of the photoelectric turntable, the calibration array and zero angle calibration are used to improve the positioning accuracy of the photoelectric turntable. The method includes concentrically installing the photoelectric turntable on the reference turntable, and calibrating the output angle through the target and the collimator. Generate calibration array and zero angle to improve positioning accuracy.
It improves the positioning accuracy of the photoelectric turntable, simplifies the calibration steps, has good applicability, does not require adding or changing existing hardware, ensures low-cost control, and significantly improves the positioning accuracy index of the photoelectric turntable.
Smart Images

Figure CN116428971B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of photoelectric turntables, and in particular relates to a calibration method, a positioning method, a positioning device and a photoelectric turntable of a photoelectric turntable. Background Art
[0002] Positioning accuracy is the core indicator of the optoelectronic turntable. The positioning accuracy of a small optoelectronic turntable is ≤10mrad, and the positioning accuracy of a medium and large optoelectronic turntable is ≤1mrad. In some special fields, the positioning accuracy is even ≤0.1mrad. However, the higher the positioning accuracy, the higher the equipment cost. But for some low-cost equipment, it is impossible to use high-precision position sensors or to achieve high-precision machining and assembly. How to improve the positioning accuracy of the optoelectronic turntable without significantly increasing the equipment cost has been the focus of research in the industry in recent years. Summary of the invention
[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a calibration method, a positioning method, a positioning device and a photoelectric turntable, which have simple calibration steps, are easy to implement and have good applicability.
[0004] In a first aspect, the present application provides a method for calibrating an optoelectronic turntable, the method comprising:
[0005] Install the photoelectric turntable to be calibrated concentrically on the reference turntable;
[0006] Control the photoelectric turntable to rotate from an initial position to a target aligned with a target position, and obtain an output angle α1 of the reference turntable and an output angle β1 of the photoelectric turntable;
[0007] Control the reference turntable to rotate to the target angle α i+1 , and after each rotation to a target angle, the photoelectric turntable is controlled to rotate to align with the target, and n-1 output angles β of the photoelectric turntable are obtained i+1 , 1≤i≤n-1;
[0008] Based on α1, α i+1 , β1 and β i+1 , and obtain the calibration array α[n] and the calibration array β[n] for calibrating the output angle of the photoelectric turntable.
[0009] According to the calibration method of the optoelectronic turntable of the present application, by setting the calibration array α[n] and the calibration array β[n] for calibrating the output angle of the optoelectronic turntable, on the one hand, the calibration steps are simple and easy to implement; on the other hand, there is no need to add or change the existing hardware, and the applicability is good.
[0010] According to one embodiment of the present application, the difference between any two adjacent numbers in the calibration array α[n] is the same.
[0011] According to one embodiment of the present application, the target is located in a collimator, and the axis of the collimator passes through the center of the optoelectronic turntable.
[0012] In a second aspect, the present application provides a method for positioning a photoelectric turntable, the method comprising:
[0013] Get the initial output angle β of the current photoelectric turntable j ;
[0014] Based on the calibration array α[n] and the calibration array β[n], the initial output angle β is calibrated j , and obtain the positioning angle θ.
[0015] According to the positioning method of the photoelectric turntable of the present application, through the setting of the above-mentioned data processing method, the calibration of the feedback position of the photoelectric turntable and the acquisition of the actual position of the photoelectric turntable are realized. On the one hand, the positioning accuracy index of the photoelectric turntable is significantly improved; on the other hand, there is no need for major modifications to the equipment, ensuring low-cost control.
[0016] According to one embodiment of the present application, the initial output angle β is calibrated based on the calibration array α[n] and the calibration array β[n]. j , get the positioning angle θ, including:
[0017] Determine the initial output angle β j The position number in the calibration array β[n];
[0018] Based on the position number and the zero angle of the photoelectric turntable, calibrate the initial output angle β j , and obtain the positioning angle θ.
[0019] According to one embodiment of the present application, the initial output angle β is calibrated based on the position number and the zero angle of the photoelectric turntable. j , get the positioning angle θ, including:
[0020] The positioning angle θ is obtained by the following formula:
[0021] ,
[0022] Where j is the position number, and β[j-1]≤β j ≤β[j],θ zeros is the zero angle.
[0023] According to one embodiment of the present application, the θ zerosDetermined by:
[0024] The zero angle θ zeros The initial value of is set to 0;
[0025] When the photoelectric turntable rotates to the mechanical zero position, the value of the current positioning angle θ is assigned to the zero position angle θ zeros .
[0026] In a third aspect, the present application provides a positioning device for an optoelectronic turntable, the device comprising:
[0027] The acquisition module is used to obtain the initial output angle β of the current photoelectric turntable j ;
[0028] A processing module, configured to calibrate the initial output angle β based on a calibration array α[n] and a calibration array β[n]. j , and obtain the positioning angle θ.
[0029] According to the positioning device of the optoelectronic turntable of the present application, the calibration of the feedback position of the optoelectronic turntable and the acquisition of the actual position of the optoelectronic turntable are realized through the setting of the above-mentioned acquisition module and the processing module. On the one hand, the positioning accuracy index of the optoelectronic turntable is significantly improved; on the other hand, there is no need for major modifications to the equipment, ensuring low-cost control.
[0030] According to one embodiment of the present application, the processing module includes:
[0031] Determine the initial output angle β j The position number in the calibration array β[n];
[0032] Based on the position number and the zero angle of the photoelectric turntable, calibrate the initial output angle β j , and obtain the positioning angle θ.
[0033] According to one embodiment of the present application, the initial output angle β is calibrated based on the position number and the zero angle of the photoelectric turntable. j , get the positioning angle θ, including:
[0034] The positioning angle θ is obtained by the following formula:
[0035] ,
[0036] Where j is the position number, and β[j]≤β j ≤β[j+1],θ zeros is the zero angle.
[0037] According to one embodiment of the present application, the θ zerosDetermined by:
[0038] The zero angle θ zeros The initial value of is set to 0;
[0039] When the photoelectric turntable rotates to the mechanical zero position, the value of the current positioning angle θ is assigned to the zero position angle θ zeros .
[0040] In a fourth aspect, the present application provides an optoelectronic turntable, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the positioning method of the optoelectronic turntable as described in the second aspect above is implemented.
[0041] In a fifth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the positioning method of the optoelectronic turntable as described in the second aspect above is implemented.
[0042] In a sixth aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the positioning method of the optoelectronic turntable as described in the second aspect.
[0043] In a seventh aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the positioning method of the optoelectronic turntable as described in the second aspect above.
[0044] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0046] Figure 1 It is a flow chart of a calibration method of a photoelectric turntable provided in an embodiment of the present application;
[0047] Figure 2 It is a schematic diagram of the flow of the positioning method of the photoelectric turntable provided in the embodiment of the present application;
[0048] Figure 3 It is a structural schematic diagram of a positioning device of a photoelectric turntable provided in an embodiment of the present application;
[0049] Figure 4 It is a schematic diagram of the structure of the optoelectronic turntable provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0051] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0052] In combination with the accompanying drawings, the calibration method of the optoelectronic turntable, the positioning method of the optoelectronic turntable, the positioning device of the optoelectronic turntable, the optoelectronic turntable and the readable storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0053] Among them, the calibration method of the photoelectric turntable and the positioning method of the photoelectric turntable can be applied to the terminal, and can be specifically executed by hardware or software in the terminal.
[0054] The terminal includes, but is not limited to, a portable communication device such as a mobile phone or a tablet computer having a touch-sensitive surface (e.g., a touch screen display and / or a touch pad). It should also be understood that in some embodiments, the terminal may not be a portable communication device, but a desktop computer having a touch-sensitive surface (e.g., a touch screen display and / or a touch pad).
[0055] In the following various embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, a mouse and a joystick.
[0056] The calibration method of the optoelectronic turntable and the positioning method of the optoelectronic turntable provided in the embodiments of the present application may be executed by an electronic device or a functional module or functional entity in the electronic device that can implement the calibration method of the optoelectronic turntable and the positioning method of the optoelectronic turntable. The electronic devices mentioned in the embodiments of the present application include but are not limited to mobile phones, tablet computers, computers, cameras, wearable devices, etc. The calibration method of the optoelectronic turntable and the positioning method of the optoelectronic turntable provided in the embodiments of the present application are described below using the electronic device as an example of the execution subject.
[0057] The following first introduces the calibration method of the optoelectronic turntable provided in this application.
[0058] like Figure 1 As shown, the calibration method of the photoelectric turntable includes: step 110, step 120, step 130 and step 140.
[0059] Step 110: Install the photoelectric turntable to be calibrated concentrically on the reference turntable.
[0060] The reference turntable may be a turntable with a higher precision level, and the photoelectric turntable to be calibrated may rotate by using the turntable with a higher precision level as a reference.
[0061] In actual implementation, the reference turntable is located on a horizontal plane, the optoelectronic turntable to be calibrated is placed on the upper surface of the reference turntable, and the geometric center of the optoelectronic turntable to be calibrated coincides with the geometric center of the reference turntable in the projection on the horizontal plane, that is, the center of the circle of the lower surface of the optoelectronic turntable to be calibrated corresponds to the circular position on the upper surface of the reference turntable. After adjusting the position of the optoelectronic turntable to be calibrated, the optoelectronic turntable to be calibrated and the reference turntable are fixed.
[0062] The connection between the photoelectric turntable to be calibrated and the reference turntable can be a detachable connection, and the detachable connection can include a bolt connection, a rivet connection or a pin connection, etc. For example, in some embodiments, the connection between the photoelectric turntable to be calibrated and the reference turntable is a bolt connection.
[0063] Step 120 , control the photoelectric turntable to rotate from the initial position to the target aligned with the target position, and obtain the output angle α1 of the reference turntable and the output angle β1 of the photoelectric turntable.
[0064] The target may be a cross target, the initial position of the photoelectric turntable to be calibrated may be any position, and the initial position of the reference turntable may also be any position.
[0065] In actual implementation, the target is arranged at a suitable position, the photoelectric turntable to be calibrated and the reference turntable are fixedly installed, and the photoelectric turntable to be calibrated can be rotated on the reference turntable. After the photoelectric turntable to be calibrated is connected to an external power supply, the photoelectric turntable to be calibrated is rotated to align with the target. At this time, the angle output by the reference turntable is α1, and the angle output by the photoelectric turntable to be calibrated is β1.
[0066] Step 130: Control the reference turntable to rotate to the target angle α i+1 , and after each rotation to a target angle, the photoelectric turntable is controlled to rotate to align with the target, and the n-1 output angles β of the photoelectric turntable are obtained i+1 , 1≤i≤n-1.
[0067] In actual execution, the reference turntable is controlled to rotate once to the first target angle α2, and after rotating to the first target angle α2, the photoelectric turntable is controlled to rotate to align with the target, so as to obtain the first output angle β2 of the photoelectric turntable; the reference turntable is controlled to rotate twice to the second target angle α3, and after rotating to the second target angle α3, the photoelectric turntable is controlled to rotate to align with the target, so as to obtain the second output angle β3 of the photoelectric turntable; the reference turntable is controlled to rotate three times to the third target angle α4, and after rotating to the third target angle α4, the photoelectric turntable is controlled to rotate to align with the target, so as to obtain the third output angle β4 of the photoelectric turntable, and so on.
[0068] Step 140: Based on α1, α i+1 , β1 and β i+1 , and obtain the calibration array α[n] and calibration array β[n] used to calibrate the output angle of the optoelectronic turntable.
[0069] It should be noted that the above α1, α2, α3, ... α i+1 can be assembled into a calibration array α[n] for calibrating the output angle of the photoelectric turntable, that is, the above α1, α2, α3, ... α i+1 are all subsets of the calibration array α[n]; the above β1, β2, β3, ... β i+1 can be assembled into a calibration array β[n] for calibrating the output angle of the photoelectric turntable, that is, the above β1, β2, β3, ... β i+1 are all subsets of the calibration array β[n].
[0070] Among them, n≥2. It can be understood that the larger the value of n is, the more times the reference turntable is controlled to rotate, the more subsets of the calibration array α[n] and the calibration array β[n] are obtained, and the higher the calibration accuracy of the photoelectric turntable is.
[0071] In the related technology, the photoelectric turntable is placed on the reference turntable to ensure that the photoelectric turntable is concentric with the reference turntable, and the zero positions of the photoelectric turntable and the reference turntable are aligned. A collimator is placed in front of the photoelectric turntable, and a cross target is set in the collimator and the cross target is exactly in the center of the field of view of the photoelectric turntable image. The reference turntable rotates α=[0, α1, α2, ... α i ], control the photoelectric turntable to realign to the cross target, and the output angle of the photoelectric turntable is β=[0, β1, β2, ... β i ]. The output angle β of the photoelectric turntable is then calculated by table lookup or linear interpolation. i The actual angle α i , and output.
[0072] However, the inventors have found that, firstly, before the calibration process begins, the high-precision turntable and the photoelectric turntable must be zero-aligned, and the cross target must be exactly in the center of the field of view of the photoelectric turntable image, which makes the operation more complicated; secondly, if the zero position of the photoelectric turntable changes, re-calibration is required.
[0073] It is understandable that if the above method is directly used in the solution of the present application, it is necessary to adjust α1 and β1 to zero first, and the zero points of α1 and β1 are difficult to find, which makes the starting point of the early data calibration very complicated. The solution of the present application firstly does not require the zero position alignment of the reference turntable and the photoelectric turntable before calibration, and does not require the target to be exactly in the center of the field of view of the photoelectric turntable, which simplifies the calibration process; secondly, after the zero position of the photoelectric turntable changes, there is no need to recalibrate.
[0074] The calibration method of the optoelectronic turntable provided in the embodiment of the present application, through the setting of the calibration array α[n] and the calibration array β[n] for calibrating the output angle of the optoelectronic turntable, on the one hand, has simple calibration steps and is easy to implement; on the other hand, it does not require the addition or change of existing hardware and has good applicability.
[0075] In some embodiments, the difference between any two adjacent numbers in the calibration array α[n] may be the same.
[0076] It can be understood that, during the process of the reference turntable rotating n-1 times, the angle of each rotation can be equal, and the value of the angle of each rotation is equal to the difference between any two adjacent numbers in the above calibration array α[n].
[0077] The angle measurement in the two-dimensional plane can be 360°, and the angle value of each rotation can be an integer divisor of 360°. For example, in some embodiments, the angle value of each rotation is 5°, that is, the difference between any two adjacent numbers in the above calibration array α[n] is also 5°.
[0078] At this time, the values of the calibration array α[n] and the calibration array β[n] are recorded in the following table:
[0079] Table 1
[0080]
[0081] It can be seen from Table 1 that the reference turntable changes from an output angle of α1 to an output angle of α 72 It needs to go through 71 rotations, and the angle value of each rotation is 5°, and the reference turntable is output from the angle α 72 It takes 72 rotations to restore the output angle to α1, and the angle value of the 72nd rotation is consistent with the angle value of the previous 71 rotations, both of which are 5°.
[0082] It should be noted that the angle value of each rotation is not limited to 5° in the above embodiment, and the angle value of each rotation can also be 6°, 8°, 9° or 10°, etc. The angle value of each rotation is different, and the corresponding number of times the reference turntable needs to rotate is also different.
[0083] According to the calibration method of the optoelectronic turntable provided in the embodiment of the present application, by setting the difference between any two adjacent numbers in the above-mentioned calibration array α[n], it is achieved that the angle of each rotation of the reference turntable in multiple rotations is equal, and the 360° in the two-dimensional space is successfully divided into multiple areas, which is convenient for subsequent data processing.
[0084] In some embodiments, the target is located in a collimator, and the axis of the collimator passes through the center of the optoelectronic turret.
[0085] In actual implementation, a collimator is placed at a suitable position in front of the photoelectric turntable, a target is set in the collimator, the photoelectric turntable is connected to an external power supply, the photoelectric turntable is controlled to align with the target in the collimator, the output angle α1 of the reference turntable and the position β1 of the photoelectric turntable output are recorded, and then the reference turntable is controlled to make the first rotation, the photoelectric turntable is controlled to realign with the target in the collimator, the output angle α2 of the reference turntable and the position β2 of the photoelectric turntable output are recorded, and the above operation is repeated multiple times.
[0086] According to the calibration method of the optoelectronic turntable provided in the embodiment of the present application, through the setting of the above-mentioned parallel light tube and target, the angle of the optoelectronic turntable after each rotation is based on the target aligned in the parallel light tube, thereby ensuring the consistency of the benchmark of the output angle of the optoelectronic turntable in the entire solution process, thereby ensuring the accuracy of the calibration.
[0087] The positioning method of the optoelectronic turntable provided in this application is introduced below.
[0088] like Figure 2As shown, the positioning method of the optoelectronic turntable includes: step 210 and step 220.
[0089] Step 210: Obtain the initial output angle β of the current photoelectric turntable j .
[0090] Initial output angle β j The angle value output by the photoelectric turntable at this time can be the initial output angle β of the photoelectric turntable at this time. j There is a certain deviation from the actual angle.
[0091] In actual implementation, when the object monitored by the photoelectric turntable is at a certain position, the photoelectric turntable obtains the current position of the monitored object, and the encoder feeds back the initial output angle β to the superior controller. j , so that users can know the current specific location of the monitored object.
[0092] Step 220: Calibrate the initial output angle β based on the calibration array α[n] and the calibration array β[n]. j , and obtain the positioning angle θ, wherein the calibration array is obtained by any of the above-mentioned calibration methods of the photoelectric turntable.
[0093] The positioning angle θ may be the actual angle at which the optical axis of the photoelectric turntable deviates.
[0094] It should be noted that the photoelectric turntable realizes angular position measurement and return by installing a position sensor, and ensures that the position sensor is parallel to the visual axis through structural parts and installation accuracy, so that the angle measured by the sensor is equal to the angle of deviation from the visual axis. However, due to the measurement error of the position sensor itself and the position sensor is not level with the visual axis when the equipment is installed, the sensor output angle deviates from the actual visual axis angle.
[0095] In the above embodiment, the calibration array α[n] and the calibration array β[n] divide the 360° of the two-dimensional space into multiple regions, and the initial output angle β j can fall into the corresponding value range.
[0096] In actual execution, the initial output angle β of the current photoelectric turntable is obtained j After that, determine the initial output angle β of the photoelectric turntable j Between which two adjacent subsets in the calibration array β[n] belong, the initial output angle β of the photoelectric turntable is calibrated by corresponding data processing means. j After calibration, the final positioning angle θ is obtained.
[0097] The positioning method of the optoelectronic turntable provided in the embodiment of the present application realizes the calibration of the feedback position of the optoelectronic turntable and the acquisition of the actual position of the optoelectronic turntable through the setting of the above-mentioned data processing method. On the one hand, it significantly improves the positioning accuracy index of the optoelectronic turntable; on the other hand, it does not require major modifications to the equipment, ensuring low-cost control.
[0098] In some embodiments, step 220, based on the calibration array α[n] and the calibration array β[n], calibrate the initial output angle β j , the positioning angle θ can be obtained by:
[0099] Determine the initial output angle β j Position number in the calibration array β[n]; based on the position number and the zero angle of the photoelectric turntable, calibrate the initial output angle β j , and obtain the positioning angle θ.
[0100] Taking the angle value of each rotation as 5° as an example, the calibration array α[n] and the calibration array β[n] are shown in the above table.
[0101] At this time, the position sequence number between β1 and β2 may be 1, the position sequence number between β2 and β3 may be 2, the position sequence number between β3 and β4 may be 3, and so on.
[0102] In actual execution, the initial output angle β of the current photoelectric turntable is obtained j After that, determine the initial output angle β of the photoelectric turntable j The position number in the calibration array β[n], for example, when the initial output angle β of the photoelectric turntable j When the value is between β2 and β3, the initial output angle β of the photoelectric turntable j The position number is 2. According to the above position number and the zero angle of the photoelectric turntable, the initial output angle β of the photoelectric turntable is j Calibrate and finally get the positioning angle θ.
[0103] According to the positioning method of the photoelectric turntable provided in the embodiment of the present application, the initial output angle β of the photoelectric turntable is quickly locked by setting the above position sequence number and the zero angle of the photoelectric turntable. j On the one hand, there is no need to zero the reference turntable and the photoelectric turntable, and the data calibration method is used to improve work efficiency; on the other hand, the positioning angle θ is obtained through numerical calculation, which improves the positioning accuracy of the photoelectric turntable.
[0104] In some embodiments, the initial output angle β is calibrated based on the position number and the zero angle of the photoelectric turntable. j , get the positioning angle θ, including:
[0105] The positioning angle θ is obtained by the following formula:
[0106] ,
[0107] Where j is the position number, and β[j-1]≤β j ≤β[j],θ zeros is the zero angle.
[0108] It can be understood that the initial output angle β of the photoelectric turntable j The value of can be between β[j-1] and β[j], β[j] can correspond to α[j], and β[j-1] can correspond to α[j-1].
[0109] In actual execution, the initial output angle β of the current photoelectric turntable is obtained j After that, determine the initial output angle β of the photoelectric turntable j The position number in the calibration array β[n] is used to calculate the initial output angle β of the photoelectric turntable based on the position number through the linear interpolation formula. j The value after linear interpolation is finally subtracted from the zero angle θ of the photoelectric turntable. zeros , and obtain the positioning angle θ.
[0110] According to the positioning method of the photoelectric turntable provided in the embodiment of the present application, through the setting of the above formula, the linear interpolation formula is used to replace the direct output angle of the photoelectric turntable, thereby reducing the error between the angular position measurement of the photoelectric turntable and the directly returned data, thereby improving the positioning accuracy of the photoelectric turntable.
[0111] In some embodiments, θ zeros Determined by:
[0112] The zero angle θ zeros The initial value of is set to 0; when the photoelectric turntable rotates to the mechanical zero position, the current positioning angle θ is assigned to the zero position angle θ zeros .
[0113] In actual implementation, when preparing to use the photoelectric turntable, you can first customize a mechanical zero position and set θ zeros Assign a value of 0, and use the above formula to calculate the positioning angle θ at this time, and use the calculated positioning angle θ as θ zeros , and θ zeros Substitute the value of into the above formula to get the final formula. When the photoelectric turntable is used later, the final formula can be used to calculate the initial output angle β of the photoelectric turntable. j Perform calibration.
[0114] According to the positioning method of the photoelectric turntable provided in the embodiment of the present application, through the above θ zeros The setting eliminates the influence of the misalignment of the zero position of the reference turntable and the photoelectric turntable, ensuring that the calibration starting point at any position will not cause an error in the final positioning angle θ, thereby simplifying the implementation steps and improving the applicability of the solution.
[0115] The photoelectric turntable positioning method provided in the embodiment of the present application can be performed by a photoelectric turntable positioning device. In the embodiment of the present application, the photoelectric turntable positioning method performed by the photoelectric turntable positioning device is taken as an example to illustrate the photoelectric turntable positioning device provided in the embodiment of the present application.
[0116] The embodiment of the present application also provides a positioning device for a photoelectric turntable.
[0117] like Figure 3 As shown, the positioning device of the photoelectric turntable includes: an acquisition module and a processing module.
[0118] The acquisition module is used to obtain the initial output angle β of the current photoelectric turntable j .
[0119] A processing module, used to calibrate the initial output angle β based on the calibration array α[n] and the calibration array β[n] j , and obtain the positioning angle θ, wherein the calibration array is obtained by any of the above-mentioned calibration methods for the photoelectric turntable.
[0120] According to the positioning device of the optoelectronic turntable provided in the embodiment of the present application, the calibration of the feedback position of the optoelectronic turntable and the acquisition of the actual position of the optoelectronic turntable are realized through the setting of the above-mentioned acquisition module and the processing module. On the one hand, the positioning accuracy index of the optoelectronic turntable is significantly improved; on the other hand, there is no need for major modifications to the equipment, ensuring low-cost control.
[0121] In some embodiments, the processing module includes:
[0122] Determine the initial output angle β j The position number in the calibration array β[n];
[0123] Based on the position number and the zero angle of the photoelectric turntable, calibrate the initial output angle β j , and obtain the positioning angle θ.
[0124] According to the positioning device of the photoelectric turntable provided in the embodiment of the present application, the initial output angle β of the photoelectric turntable is quickly locked by setting the above position number and the zero angle of the photoelectric turntable. jOn the one hand, there is no need to zero the reference turntable and the photoelectric turntable, and the data calibration method is used to improve work efficiency; on the other hand, the positioning angle θ is obtained through numerical calculation, which improves the positioning accuracy of the photoelectric turntable.
[0125] In some embodiments, the initial output angle β is calibrated based on the position number and the zero angle of the photoelectric turntable. j , get the positioning angle θ, including:
[0126] The positioning angle θ is obtained by the following formula:
[0127] ,
[0128] Where j is the position number, and β[j-1]≤β j ≤β[j],θ zeros is the zero angle.
[0129] According to the positioning device of the photoelectric turntable provided in the embodiment of the present application, through the setting of the above formula, the linear interpolation formula is used to replace the direct output angle of the photoelectric turntable, thereby reducing the error between the angular position measurement of the photoelectric turntable and the directly returned data, thereby improving the positioning accuracy of the photoelectric turntable.
[0130] In some embodiments, θ zeros Determined by:
[0131] The zero angle θ zeros The initial value of is set to 0;
[0132] When the photoelectric turntable rotates to the mechanical zero position, the current positioning angle θ is assigned to the zero position angle θ. zeros .
[0133] According to the positioning device of the photoelectric turntable provided in the embodiment of the present application, through the above θ zeros The setting eliminates the influence of the misalignment of the zero position of the reference turntable and the photoelectric turntable, ensuring that the calibration starting point at any position will not cause an error in the final positioning angle θ, thereby simplifying the implementation steps and improving the applicability of the solution.
[0134] The positioning device of the photoelectric turntable in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
[0135] The positioning device of the photoelectric turntable in the embodiment of the present application may be a device having an operating system. The operating system may be a Microsoft (Windows) operating system, an Android (Android) operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0136] The positioning device of the photoelectric turntable provided in the embodiment of the present application can achieve Figure 2 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0137] In some embodiments, Figure 4 As shown, an embodiment of the present application also provides an optoelectronic turntable 400, including a processor 401, a memory 402, and a computer program stored in the memory 402 and executable on the processor 401. When the program is executed by the processor 401, each process of the above-mentioned optoelectronic turntable positioning method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0138] It should be noted that the optoelectronic turntable 400 in the embodiment of the present application may include the mobile electronic device and the non-mobile electronic device mentioned above.
[0139] An embodiment of the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned optoelectronic turntable positioning method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0140] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0141] An embodiment of the present application also provides a computer program product, including a computer program, which implements the positioning method of the above-mentioned optoelectronic turntable when executed by a processor.
[0142] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0143] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned optoelectronic turntable positioning method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0144] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0145] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0146] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0147] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
[0148] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0149] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. A method for positioning a photoelectric turntable, It is characterized in that include: Install the photoelectric turntable to be calibrated concentrically on the reference turntable; Control the photoelectric turntable to rotate from the initial position to the target aligned with the target position, and obtain the output angle α of the reference turntable 1 and the output angle β of the photoelectric turntable 1 ; Control the reference turntable to rotate to the target angle α i+1 , and after each rotation to a target angle, the photoelectric turntable is controlled to rotate to align with the target, and n-1 output angles β of the photoelectric turntable are obtained i+1 , 1≤i≤n-1; Based on α 1 , α i+1 , β 1 and β i+1 , obtaining a calibration array α[n] and a calibration array β[n] for calibrating the output angle of the photoelectric turntable; The target is located in a collimator, and the axis of the collimator passes through the center of the photoelectric turntable; Get the initial output angle β of the current photoelectric turntable j ; Based on the calibration array α[n] and the calibration array β[n], the initial output angle β is calibrated j , get the positioning angle θ; The initial output angle β is calibrated based on the calibration array α[n] and the calibration array β[n]. j , get the positioning angle θ, including: Determine the initial output angle β j The position number in the calibration array β[n]; Based on the position number and the zero angle of the photoelectric turntable, calibrate the initial output angle β j , get the positioning angle θ; The initial output angle β is calibrated based on the position number and the zero angle of the photoelectric turntable. j , get the positioning angle θ, including: The positioning angle θ is obtained by the following formula: , Where j is the position number, and β[j-1]≤β j ≤β[j],θ zeros is the zero angle.
2. The method for positioning the photoelectric turntable according to claim 1, It is characterized in that The difference between any two adjacent numbers in the calibration array α[n] is the same.
3. The method for positioning the photoelectric turntable according to claim 1, It is characterized in that The θ zeros Determined by: The zero angle θ zeros The initial value of is set to 0; When the photoelectric turntable rotates to the mechanical zero position, the value of the current positioning angle θ is assigned to the zero position angle θ zeros .
4. A positioning device for a photoelectric turntable, It is characterized in that Install the photoelectric turntable to be calibrated concentrically on the reference turntable; The control module is used to control the photoelectric turntable to rotate from the initial position to the target aligned with the target position, and obtain the output angle α of the reference turntable. 1 and the output angle β of the photoelectric turntable 1 ; The control module is also used to control the reference turntable to rotate to a target angle α i+1 , and after each rotation to a target angle, the photoelectric turntable is controlled to rotate to align with the target, and n-1 output angles β of the photoelectric turntable are obtained i+1 , 1≤i≤n-1; Based on α 1 , α i+1 , β 1 and β i+1 , obtaining a calibration array α[n] and a calibration array β[n] for calibrating the output angle of the photoelectric turntable; The target is located in a collimator, and the axis of the collimator passes through the center of the photoelectric turntable; The acquisition module is used to obtain the initial output angle β of the current photoelectric turntable j ; A processing module, configured to calibrate the initial output angle β based on a calibration array α[n] and a calibration array β[n]. j , get the positioning angle θ; The processing module is also used to: determine the initial output angle β j The position number in the calibration array β[n]; Based on the position number and the zero angle of the photoelectric turntable, calibrate the initial output angle β j , get the positioning angle θ; The processing module is also used to obtain the positioning angle θ by the following formula: , Where j is the position number, and β[j-1]≤β j ≤β[j],θ zeros is the zero angle.
5. An optoelectronic turntable, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the positioning method of the optoelectronic turntable as described in any one of claims 1-3 is implemented.
6. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the positioning method of the optoelectronic turntable as described in any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Rotary table error measuring device and compensation method
CN112747694A
