CN114719751B - VR lens installation and calibration processing method and processing system on VR all-in-one machine - Google Patents
VR lens installation and calibration processing method and processing system on VR all-in-one machine Download PDFInfo
- Publication number
- CN114719751B CN114719751B CN202210365279.8A CN202210365279A CN114719751B CN 114719751 B CN114719751 B CN 114719751B CN 202210365279 A CN202210365279 A CN 202210365279A CN 114719751 B CN114719751 B CN 114719751B
- Authority
- CN
- China
- Prior art keywords
- current
- lens
- mounting hole
- laser
- installation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000009434 installation Methods 0.000 title claims abstract description 144
- 238000012545 processing Methods 0.000 title claims abstract description 60
- 238000003672 processing method Methods 0.000 title claims abstract description 14
- 230000000007 visual effect Effects 0.000 claims abstract description 35
- 238000000034 method Methods 0.000 claims abstract description 31
- 238000005259 measurement Methods 0.000 claims abstract description 14
- 238000012937 correction Methods 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 8
- 238000007781 pre-processing Methods 0.000 claims description 7
- 238000006073 displacement reaction Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007689 inspection Methods 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/14—Measuring arrangements characterised by the use of optical techniques for measuring distance or clearance between spaced objects or spaced apertures
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mounting And Adjusting Of Optical Elements (AREA)
- Laser Beam Processing (AREA)
Abstract
The invention provides a VR lens installation and calibration processing method and a processing system on a VR integrated machine, wherein the method comprises the following steps: the method comprises the steps that a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a distance measurement acquisition module are arranged on a mounting main frame; in an initial state, the initial installation positions of the installation holes of the left lens and the right lens on the second horizontal installation frame are randomly determined by staff; judging whether the real distance at the initial position is within the standard visual angle installation distance range of the model of the lens; if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip; by using the mounting calibration processing method, high-precision accurate mounting processing of the VR lens can be realized rapidly.
Description
Technical Field
The invention belongs to the field of lens processing of VR (virtual reality) integrated machines, and particularly relates to a method and a system for mounting, calibrating and processing VR lenses on a VR integrated machine.
Background
Currently, a mainstream VR integrated machine mainly comprises a main machine housing, a mounting main frame, a lens, a mask and a strap, which are disposed outside the main machine housing. The installation main frame is mainly arranged in front of the display screen of the host shell, and meanwhile, the installation lens is installed.
Further studies have found that for wide angle lenses, the horizontal mounting distance between the left and right lenses should not be too far, nor too close, so that the horizontal mounting spacing at the center of both lenses should be within a reasonable range (the reasonable range is the standard viewing angle mounting spacing); however, a mounting hole of a strip-shaped waist-shaped hole is designed at present; the mounting hole can be suitable for mounting left and right lenses, but further research finds that in order to adapt to various lens models, three or more lengths of mounting main frames are designed; meanwhile, the lengths of the mounting holes are different, but the visual recognition is easy to make mistakes, and the standard visual angle mounting interval of each lens is also different; how to quickly determine the installation location to achieve efficient automated installation is a matter of urgent need for those skilled in the art.
Disclosure of Invention
In order to solve the technical problems in the prior art, the application provides a VR lens installation and calibration processing method and processing system on a VR integrated machine.
In order to achieve the above purpose, the technical scheme of the application is realized as follows:
the application provides a VR lens installation and calibration processing method on a VR integrated machine, which comprises the following operation steps:
designing and preprocessing an installation main frame: the mounting main frame comprises a first horizontal mounting frame and second horizontal mounting frames which are identical to the first horizontal mounting frame and are arranged in parallel; mounting holes with the same length are formed in the first horizontal mounting frame and the second horizontal mounting frame, and the first horizontal mounting frame is positioned on the inner side of the second horizontal mounting frame; the method comprises the steps that a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a distance measurement acquisition module are arranged on a mounting main frame;
the first image acquisition module is arranged at the center line position of the mounting hole of the first horizontal mounting frame, and the two lenses are randomly arranged at the mounting hole of the second horizontal mounting frame; meanwhile, the ranging acquisition module is arranged in a mounting hole of the second horizontal mounting frame; the first image acquisition module acquires images towards the two lenses in the image acquisition direction, the first image acquisition module recognizes the center points of the two lenses, locks the center points of the two lenses as center point positioning positions, then installs the first laser generation module at the center point positioning position of the left lens, and installs the two laser generation modules at the center point positioning position of the right lens; the distance measurement acquisition module is used for simultaneously measuring the length of the mounting hole on the current first horizontal mounting frame to obtain the real length of the mounting hole; installing a laser reflection identification strip at a current installation hole on the first horizontal installation frame, wherein a laser signal reflector is installed on the laser reflection identification strip;
In an initial state, the initial installation positions of the installation holes of the left lens and the right lens on the second horizontal installation frame are randomly determined by staff;
the first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to carry out laser ray marking of a first preset angle, and the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to carry out laser ray marking of the first preset angle; the first laser generation module acquires a laser reflection identification strip returned laser ray at a current mounting hole on the first horizontal mounting frame to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the second laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame to return laser rays, so that current ray position marks are realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole;
the main controller obtains the real length of the current mounting hole, the length ratio of the current marking position of the center of the left lens to the real length of the current mounting hole and the length ratio of the current marking position of the center of the right lens to the real length of the current mounting hole, and calculates the real distance between the current left lens and the current right lens at the initial position;
Judging whether the real distance at the initial position is within the standard visual angle installation distance range of the model of the lens;
if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip;
and if the judgment result is negative, correcting the left lens and the right lens.
Preferably, as one possible embodiment; the main controller obtains the actual length of the current mounting hole, the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole, and the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole, and calculates the actual distance between the current left lens and the current right lens at the initial position, and the main controller specifically comprises the following operation steps:
the main controller obtains the real length of the current mounting hole, the length ratio of the current marking position of the left lens center relative to the real length of the current mounting hole and the length ratio of the current marking position of the right lens center relative to the real length of the current mounting hole, and therefore the relative horizontal position of the current left lens and the current right lens is calculated;
Calculating the actual distance between the current left lens and the current right lens at the initial position according to the relative horizontal position of the current left lens and the current right lens;
and simultaneously calculating the clearance distance of the left side lens at the initial position relative to the left side edge of the mounting hole, and calculating the clearance distance of the right side lens at the initial position relative to the right side edge of the mounting hole.
Preferably, as one possible embodiment; the correction operation for the left lens and the right lens specifically comprises the following operation steps:
the clearance distance of the left side lens at the initial position relative to the left side edge of the mounting hole and the clearance distance of the right side lens at the initial position relative to the right side edge of the mounting hole are called;
determining one lens of the left lens or the right lens as a target adjusting lens according to the clearance distance of the left lens at the initial position relative to the left edge of the mounting hole, the clearance distance of the right lens at the initial position relative to the right edge of the mounting hole and the thickness distance of the mechanical clamping hand;
and an operator starts the mechanical clamping hand to perform horizontal displacement real-time random adjustment on the target adjustment lens on the second horizontal mounting frame, takes the current random adjustment position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time, and executes the subsequent judgment processing operation whether the installation interval range of the standard visual angle is met.
Preferably, as one possible embodiment; the method comprises the following steps of:
the mechanical clamping hand moves the target adjusting lens in a preset horizontal moving direction; the current random adjustment position of the target adjustment lens and the initial position of the other unadjusted lens are taken as the initial positions of the two lenses in real time; the first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of a first preset angle, and the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of the first preset angle; the first laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame in real time to return laser rays, so that current ray position marks are realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the second laser generation module acquires the laser reflection identification bar returned laser rays at the current mounting hole on the first horizontal mounting frame in real time, so that the current ray position mark is realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole;
The main controller acquires the real length of the current mounting hole, the length ratio of the current marking position of the center of the left lens to the real length of the current mounting hole and the length ratio of the current marking position of the center of the right lens to the real length of the current mounting hole in real time, and calculates the real distance between the current left lens and the current right lens at the initial position;
judging whether the real distance at the initial position is within the standard visual angle installation distance range of the model of the lens;
if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip;
if the judgment result is negative, continuing to move the target adjustment lens in the preset horizontal movement direction, returning to the step of moving the target adjustment lens in the preset horizontal movement direction by the mechanical clamping hand, and continuing to iteratively execute the target adjustment lens.
Preferably, as one possible embodiment; the method for adjusting the lens of the left lens or the right lens according to the gap distance of the left lens at the initial position relative to the left side edge of the mounting hole, the gap distance of the right lens at the initial position relative to the right side edge of the mounting hole and the thickness distance of the mechanical clamping hand comprises the following steps:
Judging the relation between the gap distance of the left side lens at the initial position relative to the left side edge of the mounting hole and the gap distance of the right side lens at the initial position relative to the right side edge of the mounting hole and the thickness distance of the mechanical clamping hand respectively;
if the gap distance of only one lens is judged to be larger than the thickness distance of the mechanical clamping hand, determining the current lens as a target adjusting lens; if the gap distance between the two lenses is larger than the thickness distance of the mechanical clamping hand, determining the current lens with larger gap distance as a target adjusting lens; and if the gap distance between the two lenses is smaller than the thickness distance of the mechanical clamping hand, executing manual adjustment to adjust the lenses.
Preferably, as one possible embodiment; designing and preprocessing an installation main frame, and establishing communication connection with a main controller of the VR integrated machine in advance; the main controller is respectively connected with the first image acquisition module, the first laser generation module, the second laser generation module and the ranging acquisition module in a wireless communication manner based on a CAN bus mode.
Preferably, as one possible embodiment; after determining that the current initial position is the target mounting positions of the left lens and the right lens, the method further comprises the steps that the main controller obtains the target mounting positions of the left lens and the right lens and stores the target mounting positions into a database; when a user acquires VR lens installation correction information in a current database, information of target installation positions of the left lens and the right lens stored in the database is called.
Correspondingly, the invention provides a VR lens installation and calibration processing system on a VR all-in-one machine, which comprises an installation main frame and a main controller, wherein a first image acquisition module, a first laser generation module, a second laser generation module and a distance measurement acquisition module;
the mounting main frame comprises a first horizontal mounting frame and second horizontal mounting frames which are identical to the first horizontal mounting frame and are arranged in parallel; mounting holes with the same length are formed in the first horizontal mounting frame and the second horizontal mounting frame, and the first horizontal mounting frame is positioned on the inner side of the second horizontal mounting frame; the first image acquisition module is arranged at the center line position of the mounting hole of the first horizontal mounting frame, and the two lenses are randomly arranged at the mounting hole of the second horizontal mounting frame; meanwhile, the ranging acquisition module is arranged in a mounting hole of the second horizontal mounting frame;
the image acquisition direction of the first image acquisition module is towards the two lenses for image acquisition, the first image acquisition module is used for identifying the center points of the two lenses, locking the center points of the two lenses as center point positioning positions, then installing the first laser generation module at the center point positioning position of the left lens, and installing the two laser generation modules at the center point positioning position of the right lens; the distance measurement acquisition module is used for measuring the length of the mounting hole on the current first horizontal mounting frame to obtain the real length of the mounting hole; installing a laser reflection identification strip at a current installation hole on the first horizontal installation frame, wherein a laser signal reflector is installed on the laser reflection identification strip;
The first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to perform laser ray marking of a first preset angle, and the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to perform laser ray marking of the first preset angle; the first laser generation module acquires a laser reflection identification strip returned laser ray at a current mounting hole on the first horizontal mounting frame to realize current ray position marking; the second laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame to return laser rays, so that current ray position marks are realized;
the main controller comprises an initialization processing unit, a first calculating unit, a second calculating unit and a judging processing unit;
the initialization processing unit is used for randomly determining initial installation positions of the installation holes of the left lens and the right lens on the second horizontal installation frame by workers in an initial state;
the first calculation unit is used for carrying out feedback calculation to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the method is also used for obtaining the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole through feedback calculation;
The second calculating unit is used for obtaining the real length of the current mounting hole, the length ratio of the current marking position of the left lens center relative to the real length of the current mounting hole and the length ratio of the current marking position of the right lens center relative to the real length of the current mounting hole, and calculating the real distance between the current left lens and the current right lens at the initial position;
the judging and processing unit is used for judging whether the real distance at the initial position is within the standard visual angle installation distance range of the lens of the model; if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip; and if the judgment result is negative, correcting the left lens and the right lens.
Preferably, as one possible embodiment; the second calculating unit is further specifically configured to obtain a length ratio of a current marking position of the center of the left lens to a current mounting hole real length and a length ratio of a current marking position of the center of the right lens to a current mounting hole real length, thereby calculating a relative horizontal position of the current left lens and the current right lens; calculating the actual distance between the current left lens and the current right lens at the initial position according to the relative horizontal position of the current left lens and the current right lens; meanwhile, calculating the gap distance of the left side lens at the initial position relative to the left side edge of the mounting hole, and calculating the gap distance of the right side lens at the initial position relative to the right side edge of the mounting hole;
The judging and processing unit is also specifically configured to perform the correction operation on the left lens and the right lens, and includes a first adjustment subunit and a second adjustment subunit:
the first adjusting subunit is used for adjusting the clearance distance of the left side lens at the initial position relative to the left side edge of the mounting hole and the clearance distance of the right side lens at the initial position relative to the right side edge of the mounting hole; determining one lens of the left lens or the right lens as a target adjusting lens according to the clearance distance of the left lens at the initial position relative to the left edge of the mounting hole, the clearance distance of the right lens at the initial position relative to the right edge of the mounting hole and the thickness distance of the mechanical clamping hand;
the second adjusting subunit is used for starting the mechanical clamping hand by an operator to perform horizontal displacement real-time random adjustment on the target adjusting lens on the second horizontal mounting frame, taking the current random adjustment position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time, and executing subsequent judging and processing operation whether the range of the standard visual angle mounting interval is met.
Preferably, as one possible embodiment; the second adjusting subunit executes the judgment processing operation of whether the follow-up standard visual angle installation interval range is met or not in real time by taking the current random adjusting position and the initial position of the other unadjusted lens as the initial positions of the two lenses, and comprises a real-time adjusting subunit, a calculating subunit and an iteration subunit:
The real-time adjusting subunit is used for adjusting the lens after the mechanical clamping hand moves the target in the preset horizontal moving direction; the current random adjustment position of the target adjustment lens and the initial position of the other unadjusted lens are taken as the initial positions of the two lenses in real time; the first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of a first preset angle, and the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of the first preset angle; the first laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame in real time to return laser rays, so that current ray position marks are realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the second laser generation module acquires the laser reflection identification bar returned laser rays at the current mounting hole on the first horizontal mounting frame in real time, so that the current ray position mark is realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole;
The calculating subunit is used for obtaining the real length of the current mounting hole, the length ratio of the current marking position of the center of the left lens to the real length of the current mounting hole and the length ratio of the current marking position of the center of the right lens to the real length of the current mounting hole in real time, and calculating the real distance between the current left lens and the current right lens at the initial position;
the iteration subunit is used for judging whether the real distance at the initial position is within the standard visual angle installation distance range of the lens of the model; if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip; if the judgment result is negative, continuing to move the target adjusting lens in the preset horizontal moving direction, and continuing to iteratively execute.
According to the VR lens installation and calibration processing method on the VR all-in-one machine, the double-sided installation main frame is improved, meanwhile, the VR all-in-one machine is provided with the controller, and the first image acquisition module, the first laser generation module, the second laser generation module and the distance measurement acquisition module are assisted to realize lens correction processing;
In a specific operation process, the installation main frame is designed and preprocessed: the mounting main frame comprises a first horizontal mounting frame and second horizontal mounting frames which are identical to the first horizontal mounting frame and are arranged in parallel; mounting holes with the same length are formed in the first horizontal mounting frame and the second horizontal mounting frame, and the first horizontal mounting frame is positioned on the inner side of the second horizontal mounting frame; the method comprises the steps that a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a distance measurement acquisition module are arranged on a mounting main frame;
the first image acquisition module is arranged at the center line position of the mounting hole of the first horizontal mounting frame, and the two lenses are randomly arranged at the mounting hole of the second horizontal mounting frame; meanwhile, the ranging acquisition module is arranged in a mounting hole of the second horizontal mounting frame; the first image acquisition module acquires images towards the two lenses in the image acquisition direction, the first image acquisition module recognizes the center points of the two lenses, locks the center points of the two lenses as center point positioning positions, then installs the first laser generation module at the center point positioning position of the left lens, and installs the two laser generation modules at the center point positioning position of the right lens; the distance measurement acquisition module is used for simultaneously measuring the length of the mounting hole on the current first horizontal mounting frame to obtain the real length of the mounting hole; installing a laser reflection identification strip at a current installation hole on the first horizontal installation frame, wherein a laser signal reflector is installed on the laser reflection identification strip;
In an initial state, the initial installation positions of the installation holes of the left lens and the right lens on the second horizontal installation frame are randomly determined by staff;
the first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to carry out laser ray marking of a first preset angle, and the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to carry out laser ray marking of the first preset angle; the first laser generation module acquires a laser reflection identification strip returned laser ray at a current mounting hole on the first horizontal mounting frame to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the second laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame to return laser rays, so that current ray position marks are realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole;
the main controller obtains the real length of the current mounting hole, the length ratio of the current marking position of the center of the left lens to the real length of the current mounting hole and the length ratio of the current marking position of the center of the right lens to the real length of the current mounting hole, and calculates the real distance between the current left lens and the current right lens at the initial position;
Judging whether the real distance at the initial position is within the standard visual angle installation distance range of the model of the lens; if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip; and if the judgment result is negative, correcting the left lens and the right lens.
According to the VR lens installation and calibration processing method on the VR integrated machine, in a specific implementation process, quick judgment processing can be carried out in a random initial state to lock the current lens position so as to quickly judge whether the current lens position meets the standard visual angle installation interval range; if the standard visual angle installation interval range is not met, the verification processing is rapidly carried out in real time, the secondary iteration judgment processing is carried out, the adjustment and detection at the same time is realized, the random movement mode is also adopted to rapidly judge whether the standard visual angle installation interval range is met, the shutdown processing is carried out after the standard visual angle installation interval range is met, and finally the high-precision accurate installation processing of the VR lens can be rapidly realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
Fig. 1 is a diagram of a mounting main frame mounting layout involved in a VR lens mounting calibration processing method on a VR all-in-one machine according to an embodiment of the present application;
FIG. 2 is a flowchart of the main operation steps of a VR lens mounting calibration method on a VR all-in-one machine in accordance with an embodiment of the present application;
FIG. 3 is a flowchart illustrating steps in another exemplary method for performing a VR lens mounting calibration process on a VR all-in-one machine in accordance with an embodiment of the present application;
FIG. 4 is a flowchart illustrating further exemplary steps in a VR lens mounting calibration process on a VR all-in-one machine in accordance with an embodiment of the present application;
FIG. 5 is a flowchart illustrating one embodiment of a method for performing a VR lens mounting calibration process on a VR all-in-one machine in accordance with embodiments of the present application;
FIG. 6 is a flowchart illustrating one specific step of a VR lens mounting calibration method on a VR all-in-one machine in accordance with an embodiment of the present application;
FIG. 7 is a schematic diagram of a VR lens mounting calibration processing system on a VR all-in-one machine in accordance with an embodiment of the present application;
reference numerals: mounting a main frame 10; a main controller 20; an initialization processing unit 21; a first calculation unit 22; a second calculation unit 23; a judgment processing unit 24; a first image acquisition module 30; a first laser generating module 40; a second laser generating module 50; a ranging acquisition module 60.
Detailed Description
The following description of the embodiments of the present invention will be made apparent and fully in view of the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be noted that certain terms indicating orientations or positional relationships are merely used to facilitate the description of the present invention and to simplify the description, and are not meant to indicate or imply that the devices or elements being referred to must be oriented, configured and operated in a particular orientation, and are not to be construed as limiting the invention.
In the description of the present invention, it should be noted that "connected" is to be understood in a broad sense, for example, may be a fixed connection, may be a detachable connection, or may be integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
The invention will now be described in further detail by way of specific examples of embodiments in connection with the accompanying drawings.
Example 1
As shown in fig. 2, a first embodiment of the present invention provides a VR lens installation calibration processing method on a VR integrated machine, which includes the following operation steps:
step S101, designing and preprocessing an installation main frame: the mounting main frame 10 comprises a first horizontal mounting frame 11 and a second horizontal mounting frame 12 which is identical to the first horizontal mounting frame and is arranged in parallel; mounting holes 13 with the same length are formed in the first horizontal mounting frame and the second horizontal mounting frame, and the first horizontal mounting frame is positioned on the inner side of the second horizontal mounting frame; the method comprises the steps that a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a distance measurement acquisition module are arranged on a mounting main frame; first, preprocessing is performed: the first image acquisition module, the first laser generation module, the second laser generation module and the ranging acquisition module are arranged to realize communication connection with a main controller on the VR all-in-one machine;
step S102, the first image acquisition module is arranged at the center line position of the mounting hole of the first horizontal mounting frame, and two lenses (a left lens A and a right lens B) are randomly arranged at the mounting hole 13 on the second horizontal mounting frame 12; meanwhile, the ranging acquisition module 60 is arranged in the mounting hole of the second horizontal mounting frame (the lens on the mounting hole of the second horizontal mounting frame is shielded, so that the ranging acquisition module is not suitable for being mounted in the mounting hole of the first horizontal mounting frame, and the length of the mounting hole on the current first horizontal mounting frame is measured through the ranging acquisition module to obtain the real length of the mounting hole); the specific installation position is shown in fig. 1;
The image acquisition direction of the first image acquisition module 30 is towards two lenses to acquire images, the first image acquisition module 30 recognizes the center points of the two lenses, locks the center points of the two lenses as center point positioning positions, then installs the first laser generation module at the center point positioning position of the left lens, installs the second laser generation module at the center point positioning position of the right lens (the center point positioning position of the left lens can be acquired more accurately by the image acquisition mode of the first image acquisition module, and the technology belongs to the image processing technology of the gray histogram mode, which is not repeated in the prior art); the distance measurement acquisition module is used for simultaneously measuring the length of the mounting hole on the current first horizontal mounting frame to obtain the real length of the mounting hole; installing a laser reflection identification strip at a current installation hole on the first horizontal installation frame, wherein a laser signal reflector is installed on the laser reflection identification strip;
step S103, in an initial state, the initial installation positions of the installation holes of the left lens and the right lens on the second horizontal installation frame are randomly determined by a worker (firstly, the judgment processing operation of the initial installation positions of the installation holes of the left lens and the right lens on the second horizontal installation frame is executed);
Step S104, the first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to perform laser ray marking of a first preset angle, the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to perform laser ray marking of the first preset angle (the preset angle is fixed, the plane of the laser ray of the first preset angle is perpendicular to the horizontal extending direction of the second horizontal mounting frame; namely, the laser generating module emits a ray in the vertical direction to the opposite first horizontal mounting frame); the first laser generation module acquires a laser reflection identification strip returned laser ray at a current mounting hole on the first horizontal mounting frame to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the second laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame to return laser rays, so that current ray position marks are realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole;
Step S105, the main controller obtains the real length of the current mounting hole, the length ratio of the current marking position of the left lens center relative to the real length of the current mounting hole, and the length ratio of the current marking position of the right lens center relative to the real length of the current mounting hole, and calculates the real distance between the current left lens and the current right lens at the initial position;
step S106, judging whether the real distance at the initial position is within the standard visual angle installation distance range of the model lens;
if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip;
and if the judgment result is negative, correcting the left lens and the right lens.
According to the VR lens installation and calibration processing method on the VR integrated machine, in a specific implementation process, quick judgment processing can be carried out in a random initial state to lock the current lens position so as to quickly judge whether the current lens position meets the standard visual angle installation interval range; if the standard visual angle installation interval range is not met, the verification processing is rapidly carried out in real time, the secondary iteration judgment processing is carried out, the adjustment and detection at the same time is realized, the random movement mode is also adopted to rapidly judge whether the standard visual angle installation interval range is met, the shutdown processing is carried out after the standard visual angle installation interval range is met, and finally the high-precision accurate installation processing of the VR lens can be rapidly realized.
As shown in fig. 2, the main controller obtains the actual length of the current mounting hole, the length ratio of the current marking position of the left lens center to the actual length of the current mounting hole, and the length ratio of the current marking position of the right lens center to the actual length of the current mounting hole, and calculates the actual distance between the current left lens and the current right lens at the initial position, and specifically includes the following steps:
step S1051, the main controller obtains the real length of the current mounting hole, the length ratio of the current marking position of the left lens center relative to the real length of the current mounting hole, and the length ratio of the current marking position of the right lens center relative to the real length of the current mounting hole, thereby calculating the relative horizontal positions of the current left lens and the current right lens;
step S1052, calculating the actual distance between the current left lens and the current right lens at the initial position according to the relative horizontal position of the two lenses;
in step S1053, the gap distance of the left lens at the initial position with respect to the left edge of the mounting hole is calculated, and the gap distance of the right lens at the initial position with respect to the right edge of the mounting hole is calculated.
In the technical scheme of the application, according to the actual length of the current mounting hole, the length ratio of the current marking position of the left lens center relative to the actual length of the current mounting hole and the length ratio of the current marking position of the right lens center relative to the actual length of the current mounting hole, the relative horizontal positions of the current left lens and the current right lens are calculated; of course, the calculated value of the relative horizontal position of the current left lens and the current right lens is the actual distance between the two at the initial position; then calculating the clearance distance of the left side lens at the initial position relative to the left side edge of the mounting hole, and calculating the clearance distance of the right side lens at the initial position relative to the right side edge of the mounting hole; the purpose is to facilitate the mechanical clamping hand to insert into the gap to adjust the distance between the left side lens or the right side lens.
As shown in fig. 3, the correction operation on the left lens and the right lens specifically includes the following operation steps:
step S1061, a gap distance between the left side lens and the left side edge of the mounting hole in the initial position and a gap distance between the right side lens and the right side edge of the mounting hole in the initial position are called;
step S1062, determining one lens of the left lens or the right lens as a target adjustment lens according to the gap distance between the left lens and the left edge of the mounting hole at the initial position, the gap distance between the right lens and the right edge of the mounting hole at the initial position, and the thickness distance of the mechanical clamping hand;
in step S1063, the operator starts the mechanical gripper to perform the horizontal displacement real-time random adjustment on the second horizontal mounting frame on the target adjustment lens, uses the current random adjustment position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time, and performs the subsequent judgment processing operation (corresponding to returning to step S104 to perform the subsequent operation) if the subsequent operation meets the standard viewing angle installation interval range.
It should be noted that, in the technical scheme of the application, the random processing operation is still adopted to facilitate the inspection, and the execution is more convenient and faster. If the reasonable target position of the target adjustment lens is calculated in a calculation mode, the mechanical clamping hand can not accurately move to the reasonable target position, so that the application adopts a real-time mode to carry out judgment processing, performs verification and detection while moving correction, and has better efficiency and better accuracy.
As shown in fig. 4, the present random adjustment position and the initial position of the other unadjusted lens are taken as the initial positions of the two lenses in real time, and the subsequent judging and processing operation of whether the standard viewing angle installation space range is met is executed, which specifically comprises the following steps:
step S1064, the mechanical clamping hand moves the target adjusting lens in a preset horizontal moving direction; the current random adjustment position of the target adjustment lens and the initial position of the other unadjusted lens are taken as the initial positions of the two lenses in real time; the first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of a first preset angle, and the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of the first preset angle; the first laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame in real time to return laser rays, so that current ray position marks are realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the second laser generation module acquires the laser reflection identification bar returned laser rays at the current mounting hole on the first horizontal mounting frame in real time, so that the current ray position mark is realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole;
Step S1065, the main controller acquires the real length of the current mounting hole, the length ratio of the current marking position of the left lens center relative to the real length of the current mounting hole and the length ratio of the current marking position of the right lens center relative to the real length of the current mounting hole in real time, and calculates the real distance between the current left lens and the current right lens at the initial position;
step S1066, judging whether the real distance at the initial position is within the standard visual angle installation distance range of the model lens;
if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip;
if the judgment result is no, the moving target adjusting lens in the preset horizontal moving direction is continued to return to the step S1064 for iterative execution.
In the technical scheme of the application, the mechanical clamping hand adjusts the lens in the preset horizontal moving direction by the moving target; the current random adjustment position of the target adjustment lens and the initial position of the other unadjusted lens are taken as the initial positions of the two lenses in real time; the two initial positions are then thereby redetermined, whereby the iterative process calculation is redefined.
During specific calculation, re-marking the laser rays, re-obtaining the real length of the current mounting hole, the length ratio of the current marking position of the left lens center relative to the real length of the current mounting hole, and the length ratio of the current marking position of the right lens center relative to the real length of the current mounting hole, and calculating the real distance between the current left lens and the current right lens at the initial position; judging whether the real distance at the initial position is within the standard visual angle installation distance range of the model of the lens;
if the judgment result is yes, determining that the current initial position is the target mounting position of the left lens and the right lens, and stopping the mechanical clamping hand to operate; and if the judgment result is that the target adjustment lens is not moved in the preset horizontal movement direction, the step S1064 is returned to be executed iteratively.
As shown in fig. 5, the determining the target adjusting lens according to the gap distance between the left lens and the left edge of the mounting hole at the initial position, the gap distance between the right lens and the right edge of the mounting hole at the initial position, and the thickness distance of the mechanical clamping hand specifically includes the following steps:
Step S10621, judging the relation between the gap distance of the left side lens at the initial position relative to the left side edge of the mounting hole and the gap distance of the right side lens at the initial position relative to the right side edge of the mounting hole and the thickness distance of the mechanical clamping hand;
step S10622, if it is determined that the gap distance of only one lens is greater than the thickness distance of the mechanical clamping hand, determining the current lens as the target adjustment lens; if the gap distance between the two lenses is larger than the thickness distance of the mechanical clamping hand, determining the current lens with larger gap distance as a target adjusting lens; and if the gap distance between the two lenses is smaller than the thickness distance of the mechanical clamping hand, executing manual adjustment to adjust the lenses.
In the technical scheme of the application, the relation between the gap distance of the left side lens at the initial position relative to the left side edge of the mounting hole and the gap distance of the right side lens at the initial position relative to the right side edge of the mounting hole and the thickness distance of the mechanical clamping hand is judged; the reference factors which are convenient to move and have larger moving space need to be considered, so that if the gap distance of the two lenses is judged to be larger than the thickness distance of the mechanical clamping hand, the current lens with larger gap distance is determined to be the target adjusting lens;
In a severe case, of course, if it is determined that the gap distance between the two lenses is smaller than the thickness distance of the mechanical gripper, the manual adjustment is performed to adjust the lenses.
Preferably, as one possible embodiment; designing and preprocessing an installation main frame, and establishing communication connection with a main controller of the VR integrated machine in advance; the main controller is respectively connected with the first image acquisition module, the first laser generation module, the second laser generation module and the ranging acquisition module in a wireless communication manner based on a CAN bus mode.
Preferably, as one possible embodiment; after determining that the current initial position is the target mounting positions of the left lens and the right lens, the method further comprises the steps that the main controller obtains the target mounting positions of the left lens and the right lens and stores the target mounting positions into a database; when a user acquires VR lens installation correction information in a current database, information of target installation positions of the left lens and the right lens stored in the database is called.
Example two
Correspondingly, referring to fig. 7, a second embodiment of the present invention provides a VR lens installation and calibration processing system on a VR integrated machine, which includes an installation main frame 10, a main controller 20, a first image acquisition module 30, a first laser generation module 40, a second laser generation module 50, and a ranging acquisition module 60;
The mounting main frame comprises a first horizontal mounting frame and second horizontal mounting frames which are identical to the first horizontal mounting frame and are arranged in parallel; mounting holes with the same length are formed in the first horizontal mounting frame and the second horizontal mounting frame, and the first horizontal mounting frame is positioned on the inner side of the second horizontal mounting frame; the first image acquisition module is arranged at the center line position of the mounting hole of the first horizontal mounting frame, and the two lenses are randomly arranged at the mounting hole of the second horizontal mounting frame; meanwhile, the ranging acquisition module is arranged in a mounting hole of the second horizontal mounting frame;
the image acquisition direction of the first image acquisition module 30 is towards the two lenses for image acquisition, the first image acquisition module is used for identifying the center points of the two lenses, locking the center points of the two lenses as the center point positioning positions, then installing the first laser generation module at the center point positioning position of the left lens, and installing the two laser generation modules at the center point positioning position of the right lens; the distance measurement acquisition module 60 is used for measuring the length of the mounting hole on the current first horizontal mounting frame to obtain the real length of the mounting hole; installing a laser reflection identification strip at a current installation hole on the first horizontal installation frame, wherein a laser signal reflector is installed on the laser reflection identification strip;
The first laser generating module 40 is aligned with the current mounting hole on the current first horizontal mounting frame to perform laser ray marking of a first preset angle, and the second laser generating module 50 is aligned with the current mounting hole on the current first horizontal mounting frame to perform laser ray marking of the first preset angle; the first laser generation module acquires a laser reflection identification strip returned laser ray at a current mounting hole on the first horizontal mounting frame to realize current ray position marking; the second laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame to return laser rays, so that current ray position marks are realized;
the main controller 20 comprises an initialization processing unit 21, a first calculation unit 22, a second calculation unit 23 and a judgment processing unit 24;
the initialization processing unit is used for randomly determining initial installation positions of the installation holes of the left lens and the right lens on the second horizontal installation frame by workers in an initial state;
the first calculation unit is used for carrying out feedback calculation to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the method is also used for obtaining the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole through feedback calculation;
The second calculating unit is used for obtaining the real length of the current mounting hole, the length ratio of the current marking position of the left lens center relative to the real length of the current mounting hole and the length ratio of the current marking position of the right lens center relative to the real length of the current mounting hole, and calculating the real distance between the current left lens and the current right lens at the initial position;
the judging and processing unit is used for judging whether the real distance at the initial position is within the standard visual angle installation distance range of the lens of the model; if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip; and if the judgment result is negative, correcting the left lens and the right lens.
Preferably, as one possible embodiment; the second calculating unit is further specifically configured to obtain a length ratio of a current marking position of the center of the left lens to a current mounting hole real length and a length ratio of a current marking position of the center of the right lens to a current mounting hole real length, thereby calculating a relative horizontal position of the current left lens and the current right lens; calculating the actual distance between the current left lens and the current right lens at the initial position according to the relative horizontal position of the current left lens and the current right lens; meanwhile, calculating the gap distance of the left side lens at the initial position relative to the left side edge of the mounting hole, and calculating the gap distance of the right side lens at the initial position relative to the right side edge of the mounting hole;
The judging and processing unit is also specifically configured to perform the correction operation on the left lens and the right lens, and includes a first adjustment subunit and a second adjustment subunit:
the first adjusting subunit is used for adjusting the clearance distance of the left side lens at the initial position relative to the left side edge of the mounting hole and the clearance distance of the right side lens at the initial position relative to the right side edge of the mounting hole; determining one lens of the left lens or the right lens as a target adjusting lens according to the clearance distance of the left lens at the initial position relative to the left edge of the mounting hole, the clearance distance of the right lens at the initial position relative to the right edge of the mounting hole and the thickness distance of the mechanical clamping hand;
the second adjusting subunit is used for starting the mechanical clamping hand by an operator to perform horizontal displacement real-time random adjustment on the target adjusting lens on the second horizontal mounting frame, taking the current random adjustment position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time, and executing subsequent judging and processing operation whether the range of the standard visual angle mounting interval is met.
Preferably, as one possible embodiment; the second adjusting subunit executes the judgment processing operation of whether the follow-up standard visual angle installation interval range is met or not in real time by taking the current random adjusting position and the initial position of the other unadjusted lens as the initial positions of the two lenses, and comprises a real-time adjusting subunit, a calculating subunit and an iteration subunit:
The real-time adjusting subunit is used for adjusting the lens after the mechanical clamping hand moves the target in the preset horizontal moving direction; the current random adjustment position of the target adjustment lens and the initial position of the other unadjusted lens are taken as the initial positions of the two lenses in real time; the first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of a first preset angle, and the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of the first preset angle; the first laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame in real time to return laser rays, so that current ray position marks are realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the second laser generation module acquires the laser reflection identification bar returned laser rays at the current mounting hole on the first horizontal mounting frame in real time, so that the current ray position mark is realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole;
The calculating subunit is used for obtaining the real length of the current mounting hole, the length ratio of the current marking position of the center of the left lens to the real length of the current mounting hole and the length ratio of the current marking position of the center of the right lens to the real length of the current mounting hole in real time, and calculating the real distance between the current left lens and the current right lens at the initial position;
the iteration subunit is used for judging whether the real distance at the initial position is within the standard visual angle installation distance range of the lens of the model; if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip; if the judgment result is negative, continuing to move the target adjusting lens in the preset horizontal moving direction, and continuing to iteratively execute.
In summary, in the implementation process of the VR lens installation calibration processing method on the VR integrated machine adopted in the embodiment of the application, the fast judgment processing can be performed in a random initial state to lock the current lens position so as to fast judge whether the current lens position meets the standard viewing angle installation interval range; if the standard visual angle installation interval range is not met, the verification processing is rapidly carried out in real time, the secondary iteration judgment processing is carried out, the adjustment and detection at the same time is realized, the random movement mode is also adopted to rapidly judge whether the standard visual angle installation interval range is met, the shutdown processing is carried out after the standard visual angle installation interval range is met, and finally the high-precision accurate installation processing of the VR lens can be rapidly realized.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.
Claims (10)
1. The VR lens installation and calibration processing method on the VR all-in-one machine is characterized by comprising the following operation steps:
designing and preprocessing an installation main frame: the mounting main frame comprises a first horizontal mounting frame and second horizontal mounting frames which are identical to the first horizontal mounting frame and are arranged in parallel; mounting holes with the same length are formed in the first horizontal mounting frame and the second horizontal mounting frame, and the first horizontal mounting frame is positioned on the inner side of the second horizontal mounting frame; the method comprises the steps that a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a distance measurement acquisition module are arranged on a mounting main frame;
The first image acquisition module is arranged at the center line position of the mounting hole of the first horizontal mounting frame, and the two lenses are randomly arranged at the mounting hole of the second horizontal mounting frame; meanwhile, the ranging acquisition module is arranged in a mounting hole of the second horizontal mounting frame; the first image acquisition module acquires images towards the two lenses in the image acquisition direction, the first image acquisition module recognizes the center points of the two lenses, locks the center points of the two lenses as center point positioning positions, then installs the first laser generation module at the center point positioning position of the left lens, and installs the two laser generation modules at the center point positioning position of the right lens; the distance measurement acquisition module is used for simultaneously measuring the length of the mounting hole on the current first horizontal mounting frame to obtain the real length of the mounting hole; installing a laser reflection identification strip at a current installation hole on the first horizontal installation frame, wherein a laser signal reflector is installed on the laser reflection identification strip;
in an initial state, the initial installation positions of the installation holes of the left lens and the right lens on the second horizontal installation frame are randomly determined by staff;
the first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to carry out laser ray marking of a first preset angle, and the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to carry out laser ray marking of the first preset angle; the first laser generation module acquires a laser reflection identification strip returned laser ray at a current mounting hole on the first horizontal mounting frame to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the second laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame to return laser rays, so that current ray position marks are realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole;
The main controller obtains the real length of the current mounting hole, the length ratio of the current marking position of the center of the left lens to the real length of the current mounting hole and the length ratio of the current marking position of the center of the right lens to the real length of the current mounting hole, and calculates the real distance between the current left lens and the current right lens at the initial position;
judging whether the real distance at the initial position is within the standard visual angle installation distance range of the model of the lens;
if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip;
and if the judgment result is negative, correcting the left lens and the right lens.
2. The VR lens installation calibration processing method of claim 1, wherein the main controller obtains a real length of a current installation hole, a length ratio of a current mark position of a left lens center to a real length of the current installation hole, and a length ratio of a current mark position of a right lens center to a real length of the current installation hole, calculates a real distance between the current left lens and the current right lens at an initial position, and specifically comprises the following steps:
The main controller obtains the real length of the current mounting hole, the length ratio of the current marking position of the left lens center relative to the real length of the current mounting hole and the length ratio of the current marking position of the right lens center relative to the real length of the current mounting hole, and therefore the relative horizontal position of the current left lens and the current right lens is calculated;
calculating the actual distance between the current left lens and the current right lens at the initial position according to the relative horizontal position of the current left lens and the current right lens;
and simultaneously calculating the clearance distance of the left side lens at the initial position relative to the left side edge of the mounting hole, and calculating the clearance distance of the right side lens at the initial position relative to the right side edge of the mounting hole.
3. The VR lens installation calibration method of claim 2, wherein the correction operation for the left lens and the right lens specifically comprises the following steps:
the clearance distance of the left side lens at the initial position relative to the left side edge of the mounting hole and the clearance distance of the right side lens at the initial position relative to the right side edge of the mounting hole are called;
determining one lens of the left lens or the right lens as a target adjusting lens according to the clearance distance of the left lens at the initial position relative to the left edge of the mounting hole, the clearance distance of the right lens at the initial position relative to the right edge of the mounting hole and the thickness distance of the mechanical clamping hand;
And an operator starts the mechanical clamping hand to perform horizontal displacement real-time random adjustment on the target adjustment lens on the second horizontal mounting frame, takes the current random adjustment position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time, and executes the subsequent judgment processing operation whether the installation interval range of the standard visual angle is met.
4. The VR lens installation calibration method of claim 3, wherein the determining process of whether the following standard viewing angle installation pitch range is met is performed in real time by taking the current random adjustment position and the initial position of the other unadjusted lens as the initial positions of the two lenses, and specifically comprises the following steps:
the mechanical clamping hand moves the target adjusting lens in a preset horizontal moving direction; the current random adjustment position of the target adjustment lens and the initial position of the other unadjusted lens are taken as the initial positions of the two lenses in real time; the first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of a first preset angle, and the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of the first preset angle; the first laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame in real time to return laser rays, so that current ray position marks are realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the second laser generation module acquires the laser reflection identification bar returned laser rays at the current mounting hole on the first horizontal mounting frame in real time, so that the current ray position mark is realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole;
The main controller acquires the real length of the current mounting hole, the length ratio of the current marking position of the center of the left lens to the real length of the current mounting hole and the length ratio of the current marking position of the center of the right lens to the real length of the current mounting hole in real time, and calculates the real distance between the current left lens and the current right lens at the initial position;
judging whether the real distance at the initial position is within the standard visual angle installation distance range of the model of the lens;
if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip;
if the judgment result is negative, continuing to move the target adjustment lens in the preset horizontal movement direction, returning to the step of moving the target adjustment lens in the preset horizontal movement direction by the mechanical clamping hand, and continuing to iteratively execute the target adjustment lens.
5. The VR lens installation calibration method of claim 4, wherein the determining one of the left lens or the right lens as the target adjusting lens according to the gap distance between the left lens and the left edge of the mounting hole in the initial position, the gap distance between the right lens and the right edge of the mounting hole in the initial position, and the thickness distance of the mechanical gripper specifically includes the following steps:
Judging the relation between the gap distance of the left side lens at the initial position relative to the left side edge of the mounting hole and the gap distance of the right side lens at the initial position relative to the right side edge of the mounting hole and the thickness distance of the mechanical clamping hand respectively;
if the gap distance of only one lens is judged to be larger than the thickness distance of the mechanical clamping hand, determining the current lens as a target adjusting lens; if the gap distance between the two lenses is larger than the thickness distance of the mechanical clamping hand, determining the current lens with larger gap distance as a target adjusting lens; and if the gap distance between the two lenses is smaller than the thickness distance of the mechanical clamping hand, executing manual adjustment to adjust the lenses.
6. The VR lens installation calibration method of claim 5, wherein the steps of designing and preprocessing the installation main frame further comprise pre-establishing a communication connection with a master controller of the VR integrated machine itself; the main controller is respectively connected with the first image acquisition module, the first laser generation module, the second laser generation module and the ranging acquisition module in a wireless communication manner based on a CAN bus mode.
7. The VR lens installation calibration method of claim 6, further comprising the main controller acquiring the target installation positions of the left lens and the right lens and storing the target installation positions in the database after determining that the current initial positions are the target installation positions of the left lens and the right lens; when a user acquires VR lens installation correction information in a current database, information of target installation positions of the left lens and the right lens stored in the database is called.
8. The VR lens mounting, calibrating and processing system on the VR all-in-one machine is characterized by comprising a mounting main frame, a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a ranging acquisition module;
the mounting main frame comprises a first horizontal mounting frame and second horizontal mounting frames which are identical to the first horizontal mounting frame and are arranged in parallel; mounting holes with the same length are formed in the first horizontal mounting frame and the second horizontal mounting frame, and the first horizontal mounting frame is positioned on the inner side of the second horizontal mounting frame; the first image acquisition module is arranged at the center line position of the mounting hole of the first horizontal mounting frame, and the two lenses are randomly arranged at the mounting hole of the second horizontal mounting frame; meanwhile, the ranging acquisition module is arranged in a mounting hole of the second horizontal mounting frame;
the image acquisition direction of the first image acquisition module is towards the two lenses for image acquisition, the first image acquisition module is used for identifying the center points of the two lenses, locking the center points of the two lenses as center point positioning positions, then installing the first laser generation module at the center point positioning position of the left lens, and installing the two laser generation modules at the center point positioning position of the right lens; the distance measurement acquisition module is used for measuring the length of the mounting hole on the current first horizontal mounting frame to obtain the real length of the mounting hole; installing a laser reflection identification strip at a current installation hole on the first horizontal installation frame, wherein a laser signal reflector is installed on the laser reflection identification strip;
The first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to perform laser ray marking of a first preset angle, and the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame to perform laser ray marking of the first preset angle; the first laser generation module acquires a laser reflection identification strip returned laser ray at a current mounting hole on the first horizontal mounting frame to realize current ray position marking; the second laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame to return laser rays, so that current ray position marks are realized;
the main controller comprises an initialization processing unit, a first calculating unit, a second calculating unit and a judging processing unit;
the initialization processing unit is used for randomly determining initial installation positions of the installation holes of the left lens and the right lens on the second horizontal installation frame by workers in an initial state;
the first calculation unit is used for carrying out feedback calculation to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the method is also used for obtaining the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole through feedback calculation;
The second calculating unit is used for obtaining the real length of the current mounting hole, the length ratio of the current marking position of the left lens center relative to the real length of the current mounting hole and the length ratio of the current marking position of the right lens center relative to the real length of the current mounting hole, and calculating the real distance between the current left lens and the current right lens at the initial position;
the judging and processing unit is used for judging whether the real distance at the initial position is within the standard visual angle installation distance range of the lens of the model; if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip; and if the judgment result is negative, correcting the left lens and the right lens.
9. The VR lens installation calibration processing system of claim 8, wherein the second computing unit is further specifically configured to obtain a real length of the current installation hole, a length ratio of the current mark position of the center of the left lens to the real length of the current installation hole, and a length ratio of the current mark position of the center of the right lens to the real length of the current installation hole, thereby computing a relative horizontal position of the current left lens and the current right lens; calculating the actual distance between the current left lens and the current right lens at the initial position according to the relative horizontal position of the current left lens and the current right lens; meanwhile, calculating the gap distance of the left side lens at the initial position relative to the left side edge of the mounting hole, and calculating the gap distance of the right side lens at the initial position relative to the right side edge of the mounting hole;
The judging and processing unit is also specifically configured to perform the correction operation on the left lens and the right lens, and includes a first adjustment subunit and a second adjustment subunit:
the first adjusting subunit is used for adjusting the clearance distance of the left side lens at the initial position relative to the left side edge of the mounting hole and the clearance distance of the right side lens at the initial position relative to the right side edge of the mounting hole; determining one lens of the left lens or the right lens as a target adjusting lens according to the clearance distance of the left lens at the initial position relative to the left edge of the mounting hole, the clearance distance of the right lens at the initial position relative to the right edge of the mounting hole and the thickness distance of the mechanical clamping hand;
the second adjusting subunit is used for starting the mechanical clamping hand by an operator to perform horizontal displacement real-time random adjustment on the target adjusting lens on the second horizontal mounting frame, taking the current random adjustment position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time, and executing subsequent judging and processing operation whether the range of the standard visual angle mounting interval is met.
10. The VR lens installation calibration processing system of claim 9, wherein the second adjusting subunit performs a real-time determination processing operation of determining whether the following standard viewing angle installation pitch range is met by using the current random adjustment position and the initial position of the other unadjusted lens as the initial positions of the two lenses, and includes a real-time adjusting subunit, a calculating subunit, and an iterating subunit:
The real-time adjusting subunit is used for adjusting the lens after the mechanical clamping hand moves the target in the preset horizontal moving direction; the current random adjustment position of the target adjustment lens and the initial position of the other unadjusted lens are taken as the initial positions of the two lenses in real time; the first laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of a first preset angle, and the second laser generating module is aligned with the current mounting hole on the current first horizontal mounting frame in real time to perform laser ray marking of the first preset angle; the first laser generation module acquires laser reflection identification strips at the current mounting holes on the first horizontal mounting frame in real time to return laser rays, so that current ray position marks are realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the left lens relative to the actual length of the current mounting hole; the second laser generation module acquires the laser reflection identification bar returned laser rays at the current mounting hole on the first horizontal mounting frame in real time, so that the current ray position mark is realized; then, feedback calculation is carried out to obtain the length ratio of the current marking position of the center of the right lens relative to the actual length of the current mounting hole;
The calculating subunit is used for obtaining the real length of the current mounting hole, the length ratio of the current marking position of the center of the left lens to the real length of the current mounting hole and the length ratio of the current marking position of the center of the right lens to the real length of the current mounting hole in real time, and calculating the real distance between the current left lens and the current right lens at the initial position;
the iteration subunit is used for judging whether the real distance at the initial position is within the standard visual angle installation distance range of the lens of the model; if the judgment result is yes, determining that the current initial position is the target installation position of the left lens and the right lens, and disassembling the first image acquisition module, the first laser generation module, the second laser generation module, the ranging acquisition module and the laser reflection identification strip; if the judgment result is negative, continuing to move the target adjusting lens in the preset horizontal moving direction, and continuing to iteratively execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210365279.8A CN114719751B (en) | 2022-04-07 | 2022-04-07 | VR lens installation and calibration processing method and processing system on VR all-in-one machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210365279.8A CN114719751B (en) | 2022-04-07 | 2022-04-07 | VR lens installation and calibration processing method and processing system on VR all-in-one machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114719751A CN114719751A (en) | 2022-07-08 |
CN114719751B true CN114719751B (en) | 2023-11-14 |
Family
ID=82240979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210365279.8A Active CN114719751B (en) | 2022-04-07 | 2022-04-07 | VR lens installation and calibration processing method and processing system on VR all-in-one machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114719751B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
BE729708A (en) * | 1968-03-12 | 1969-09-11 | ||
CA2063383A1 (en) * | 1989-07-07 | 1991-01-08 | John M. J. Madey | Laser-based wheel alignment system |
EP1225441A2 (en) * | 2001-01-23 | 2002-07-24 | Menicon Co., Ltd. | Method of obtaining particulars of ophthalmic lens |
CN113263267A (en) * | 2021-07-07 | 2021-08-17 | 深圳市杰普特光电股份有限公司 | Laser marking machine and control method |
WO2022057117A1 (en) * | 2020-09-15 | 2022-03-24 | 成都极米科技股份有限公司 | Testing method and apparatus for picture correction, and testing system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011014340A2 (en) * | 2009-07-31 | 2011-02-03 | Lightcraft Technology, Llc | Methods and systems for calibrating an adjustable lens |
TWI591377B (en) * | 2015-12-11 | 2017-07-11 | 財團法人工業技術研究院 | Wide-angle lens calibration system and method thereof |
-
2022
- 2022-04-07 CN CN202210365279.8A patent/CN114719751B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
BE729708A (en) * | 1968-03-12 | 1969-09-11 | ||
CA2063383A1 (en) * | 1989-07-07 | 1991-01-08 | John M. J. Madey | Laser-based wheel alignment system |
EP1225441A2 (en) * | 2001-01-23 | 2002-07-24 | Menicon Co., Ltd. | Method of obtaining particulars of ophthalmic lens |
WO2022057117A1 (en) * | 2020-09-15 | 2022-03-24 | 成都极米科技股份有限公司 | Testing method and apparatus for picture correction, and testing system |
CN113263267A (en) * | 2021-07-07 | 2021-08-17 | 深圳市杰普特光电股份有限公司 | Laser marking machine and control method |
Non-Patent Citations (2)
Title |
---|
全景立体球视觉装置的镜头位置校准方法研究;朱均超;万丽;张宝峰;李永晨;;激光与红外(第07期);全文 * |
列车轮对内侧距光学快速测量系统设计及实现;肖立明;方宇;胡定玉;黄建坊;;自动化仪表(第03期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114719751A (en) | 2022-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108363508B (en) | Mark positioning non-contact visual detection method for mobile phone touch screen | |
CN114220757B (en) | Wafer detection alignment method, device and system and computer medium | |
WO2024021063A1 (en) | Method and device for detecting stability of vision system | |
JPH08210816A (en) | Coordinate system connection method for determining relationship between sensor coordinate system and robot tip part in robot-visual sensor system | |
KR940007899B1 (en) | Three dimensional position measuring method and acquiring method for work | |
CN111932605B (en) | Size detection method, size detection device, electronic equipment and readable storage medium | |
CN111351431B (en) | Correction method of detection system for multi-hole sites on PCB | |
CN112505663B (en) | Calibration method for multi-line laser radar and camera combined calibration | |
CN103191958A (en) | Optical detection method for plate material forming and springback | |
CN110695520A (en) | Vision-based full-automatic galvanometer field calibration system and calibration method thereof | |
CN114719751B (en) | VR lens installation and calibration processing method and processing system on VR all-in-one machine | |
CN115035031A (en) | Defect detection method and device for PIN (personal identification number) PIN, electronic equipment and storage medium | |
CN104034259A (en) | Method for correcting image measurement instrument | |
US20090259431A1 (en) | Electron beam writing apparatus and position displacement amount correcting method | |
CN108020814B (en) | OBU positioning method and system | |
CN111652947A (en) | Visual normal vector solving method for automatic hole making and automatic drilling and riveting of airplane wallboard | |
US20240157568A1 (en) | System for welding at least a portion of a piece and related methods | |
CN113744342B (en) | Monocular camera external parameter calibration system and method | |
CN107978540B (en) | Automatic adjusting method and system for measuring machine | |
EP3563983B1 (en) | Method of, as well as a system for, performing a welding step on a work piece | |
CN110625614B (en) | 2D laser positioning method for train body door and window | |
KR20060104304A (en) | Recognition method of operation object for automatic welding using three dimensional marker measuring method | |
CN110524237A (en) | A kind of musical box machine core assembly method based on machine vision | |
CN115235340B (en) | Rapid correction method for arm-mounted vision sensor | |
JP5065779B2 (en) | Evaluation method for X-ray baggage inspection equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |