CN114719751A - VR lens installation calibration processing method and processing system on VR all-in-one machine - Google Patents

VR lens installation calibration processing method and processing system on VR all-in-one machine Download PDF

Info

Publication number
CN114719751A
CN114719751A CN202210365279.8A CN202210365279A CN114719751A CN 114719751 A CN114719751 A CN 114719751A CN 202210365279 A CN202210365279 A CN 202210365279A CN 114719751 A CN114719751 A CN 114719751A
Authority
CN
China
Prior art keywords
current
lens
mounting hole
real
laser
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.)
Granted
Application number
CN202210365279.8A
Other languages
Chinese (zh)
Other versions
CN114719751B (en
Inventor
韩昕彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dream Bloom Technology Co ltd
Original Assignee
Beijing Dream Bloom Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Dream Bloom Technology Co ltd filed Critical Beijing Dream Bloom Technology Co ltd
Priority to CN202210365279.8A priority Critical patent/CN114719751B/en
Publication of CN114719751A publication Critical patent/CN114719751A/en
Application granted granted Critical
Publication of CN114719751B publication Critical patent/CN114719751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/14Measuring arrangements characterised by the use of optical techniques for measuring distance or clearance between spaced objects or spaced apertures

Abstract

The invention provides a VR lens mounting, calibrating and processing method and a processing system on a VR all-in-one machine, which comprises the following steps: installing a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a ranging acquisition module on an installation main frame; in an initial state, the worker randomly determines the initial installation positions of the left lens and the right lens in the installation holes of the second horizontal installation rack; judging whether the real distance at the initial position is within the range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip; by the aid of the installation and calibration processing method, high-precision and accurate installation processing of the VR lens can be quickly achieved.

Description

VR lens installation calibration processing method and processing system on VR all-in-one machine
Technical Field
The invention belongs to the field of lens processing of VR (virtual reality) integrated machines, and particularly relates to a processing method and a processing system for VR lens mounting and calibration on a VR integrated machine.
Background
At present, the mainstream VR all-in-one machine mainly comprises a main machine housing, a mounting main frame, lenses, a mask and a binding band, which are arranged outside the main machine housing. The installation main frame is mainly arranged in front of a display screen of the shell of the host machine, and is provided with lenses.
Further research shows that for a wide-angle lens, the horizontal installation distance between the left lens and the right lens cannot be too far away, and also cannot be too close, so that the horizontal installation distance at the centers of the two lenses should be within a reasonable range (the reasonable range is the standard visual angle installation distance); however, a mounting hole of a long strip waist-shaped hole is designed at present; the mounting hole can be suitable for mounting a left lens and a right lens, but further research finds that in order to adapt to various lens models, a mounting main frame with three or more lengths is often designed; meanwhile, the length of the mounting hole is different, but the identification by naked eyes is easy to make mistakes, and the standard visual angle mounting intervals of each lens are also different; how to quickly determine the installation position for effective automated installation is an urgent problem to be solved by 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 mounting and calibrating processing method and system on a VR all-in-one machine.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a VR lens mounting and calibrating processing method on a VR machine, which comprises the following operation steps:
designing and preprocessing the installation main frame: the mounting main frame comprises a first horizontal mounting frame and a second horizontal mounting frame which is completely the same as the first horizontal mounting frame and is arranged in parallel; mounting holes with the same length are mounted on 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; installing a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a distance measurement acquisition module on an installation main frame;
the first image acquisition module is arranged at the central line position of the mounting hole of the first horizontal mounting frame, and the two lenses are randomly arranged at the mounting hole on the second horizontal mounting frame; meanwhile, the ranging acquisition module is arranged in the mounting hole of the second horizontal mounting frame; the image acquisition direction of the first image acquisition module faces the two lenses for image acquisition, the first image acquisition module identifies the central points of the two lenses, the central points of the two lenses are locked as central point positioning positions, then the first laser generation module is installed at the central point positioning position of the left lens, and the two laser generation modules are installed at the central point positioning position of the right lens; the distance measurement acquisition module simultaneously measures 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 the 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 worker randomly determines the initial installation positions of the left lens and the right lens in the installation holes of the second horizontal installation rack;
the first laser generation module is aligned to a current mounting hole on a current first horizontal mounting frame to carry out laser ray marking at a first preset angle, and the second laser generation module is aligned to a current mounting hole on a current first horizontal mounting frame to carry out laser ray marking at a first preset angle; the first laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole; the second laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the right lens relative to the real 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 range of the standard visual angle installation distance of the lens of the type;
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 distance measurement acquisition module and the laser reflection identification strip;
and if the judgment result is negative, performing correction operation on the left lens and the right lens.
Preferably, as one possible embodiment; the method comprises the following steps that the main controller obtains the real length of a current mounting hole, the length ratio of the current mark position of the center of a left lens to the real length of the current mounting hole and the length ratio of the current mark position of the center of a 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, and 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 center of the left lens relative 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 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 obtained through calculation;
calculating the real distance between the current left lens and the current right lens at the initial position according to the relative horizontal positions of the current left lens and the current right lens;
and simultaneously calculating the clearance distance of the left lens relative to the left edge of the mounting hole at the initial position, and calculating the clearance distance of the right lens relative to the right edge of the mounting hole at the initial position.
Preferably, as one possible embodiment; the operation of correcting the left lens and the right lens specifically comprises the following operation steps:
adjusting the gap distance of the left lens at the initial position relative to the left edge of the mounting hole and the gap distance of the right lens at the initial position relative to the right edge of the mounting hole;
determining one of the left lens or the right lens as a target adjusting lens according to the gap distance of the left lens at the initial position relative to the left edge of the mounting hole, the gap 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 a mechanical clamping hand to carry out horizontal displacement real-time random adjustment on the target adjusting lens on the second horizontal mounting frame, and executes subsequent judgment processing operation whether the target adjusting lens meets the standard visual angle mounting distance range or not by 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.
Preferably, as one possible embodiment; taking the current randomly adjusted position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time, and executing subsequent judgment processing operation whether the installation distance range meets the standard visual angle or not, wherein the method specifically comprises the following operation steps:
moving the target adjusting lens by the mechanical clamping hand in a preset horizontal moving direction; taking the current random adjustment position of the target adjustment lens and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time; the first laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at a first preset angle, and the second laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at the first preset angle; the first laser generation module acquires a laser reflection identification strip at a current mounting hole on the first horizontal mounting frame in real time to return laser rays, so that current ray position marking is realized; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole; the second laser generation module acquires the laser ray returned by the laser reflection identification strip at the current mounting hole on the first horizontal mounting frame in real time to realize the marking of the current ray position; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the right lens relative to the real 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 in real time to calculate 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 range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip;
if the judgment result is negative, the target adjusting lens is continuously moved in the preset horizontal moving direction, the mechanical clamping hand returns to the step, and the target adjusting lens is continuously moved in the preset horizontal moving direction in an iterative manner.
Preferably, as one possible embodiment; the method comprises the following steps of determining one of a left lens or a right lens as a target adjustment lens according to the gap distance between the left lens at an initial position and the left edge of a mounting hole, the gap distance between the right lens at the initial position and the right edge of the mounting hole, and the thickness distance of a mechanical clamping hand, and specifically comprises the following operation steps:
judging the relation between the gap distance of the left lens relative to the left edge of the mounting hole at the initial position, the gap distance of the right lens relative to the right edge of the mounting hole at the initial position and the thickness distance of the mechanical clamping hand;
if the gap distance of only one lens is larger than the thickness distance of the mechanical clamping hand, determining that the current lens is the target adjusting lens; if the clearance distance between the two lenses is judged to be larger than the thickness distance of the mechanical clamping hand, the current lens with larger clearance distance is determined as a target adjusting lens; and if the clearance distance between the two lenses is judged to be smaller than the thickness distance of the mechanical clamping hand, manually adjusting the target to adjust the lenses.
Preferably, as one possible embodiment; designing and preprocessing the installation main frame, and establishing communication connection with a main controller of the VR all-in-one 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 mode based on a CAN bus mode.
Preferably, as one possible embodiment; after determining that the current initial positions are the target installation positions of the left lens and the right lens, the method also comprises the step that the main controller acquires the target installation positions of the left lens and the right lens and stores the target installation positions in a database; when the user acquires the VR lens mounting correction information in the current database, the information of the target mounting positions of the left lens and the right lens stored in the database is called.
Correspondingly, the invention provides a VR lens mounting and calibrating processing system on a VR machine, which comprises a mounting main frame, a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a distance measurement acquisition module, wherein the first image acquisition module is connected with the first laser generation module;
the mounting main frame comprises a first horizontal mounting frame and a second horizontal mounting frame which is completely the same as the first horizontal mounting frame and is arranged in parallel; mounting holes with the same length are mounted on 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 central line position of the mounting hole of the first horizontal mounting frame, and the two lenses are randomly arranged at the mounting hole on the second horizontal mounting frame; meanwhile, the ranging acquisition module is arranged in the mounting hole of the second horizontal mounting frame;
the image acquisition direction of the first image acquisition module faces the two lenses for image acquisition, the first image acquisition module is used for identifying the central points of the two lenses, the central points of the two lenses are locked as central point positioning positions, then the first laser generation module is installed at the central point positioning position of the left lens, and the two laser generation modules are installed at the central 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 the 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 generation module is aligned to a current mounting hole on a current first horizontal mounting frame to carry out laser ray marking at a first preset angle, and the second laser generation module is aligned to a current mounting hole on a current first horizontal mounting frame to carry out laser ray marking at a first preset angle; the first laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking; the second laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking;
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 the initial installation positions of the left lens and the right lens in the installation holes of the second horizontal installation rack by workers in an initial state;
the first calculating unit is used for obtaining the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole through feedback calculation; the length ratio of the current mark position of the center of the right lens to the real length of the current mounting hole is obtained through feedback calculation;
the second calculation unit is used for acquiring 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 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 range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip; and if the judgment result is negative, performing correction operation on the left lens and the right lens.
Preferably, as one possible embodiment; the second calculating unit is further specifically configured to obtain a current mounting hole real length, a length ratio of a current mark position of the center of the left lens to the current mounting hole real length, and a length ratio of a current mark position of the center of the right lens to the current mounting hole real length, so as to calculate a relative horizontal position of the current left lens and the current right lens; calculating the real distance between the current left lens and the current right lens at the initial position according to the relative horizontal positions of the current left lens and the current right lens; meanwhile, calculating the gap distance of the left lens relative to the left edge of the mounting hole at the initial position, and calculating the gap distance of the right lens relative to the right edge of the mounting hole at the initial position;
the judgment processing unit is further specifically used for the correction operation of the left side lens and the right side lens, and includes a first adjustment subunit and a second adjustment subunit:
the first adjusting subunit is used for adjusting the gap distance of the left lens at the initial position relative to the left edge of the mounting hole and the gap distance of the right lens at the initial position relative to the right edge of the mounting hole; determining one of the left lens or the right lens as a target adjusting lens according to the gap distance of the left lens at the initial position relative to the left edge of the mounting hole, the gap 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 performing real-time random adjustment on horizontal displacement of the target adjusting lens on the second horizontal mounting frame when an operator starts the mechanical clamping hand, and performing subsequent judgment processing operation on whether the target adjusting lens meets the standard visual angle mounting distance range or not by taking the current random adjusting position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time.
Preferably, as one possible embodiment; the second adjusting subunit executes a subsequent judgment processing operation of whether the installation distance range meets the standard visual angle or not by taking the current random adjusting position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time, and the judgment processing operation 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; taking the current random adjustment position of the target adjustment lens and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time; the first laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at a first preset angle, and the second laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at the first preset angle; the first laser generation module acquires a laser reflection identification strip at a current mounting hole on the first horizontal mounting frame in real time to return laser rays, so that current ray position marking is realized; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole; the second laser generation module acquires the laser ray returned by the laser reflection identification strip at the current mounting hole on the first horizontal mounting frame in real time to realize the marking of the current ray position; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the right lens relative to the real length of the current mounting hole;
the calculating subunit is used for acquiring the real length of the current mounting hole, the length ratio of the current mark position of the center of the left lens to the real length of the current mounting hole, and the length ratio of the current mark 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 range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip; and if the judgment result is negative, continuously moving the target adjusting lens in the preset horizontal moving direction to continuously perform iteration.
According to the method for installing, calibrating and processing the VR lens on the VR machine, the double-sided installation main frame is improved, and meanwhile the VR machine is provided with the controller, the first image acquisition module, the first laser generation module, the second laser generation module and the distance measurement acquisition module to realize lens correction processing;
in the concrete operation process, the installation main frame is designed and preprocessed: the mounting main frame comprises a first horizontal mounting frame and a second horizontal mounting frame which is completely the same as the first horizontal mounting frame and is arranged in parallel; mounting holes with the same length are mounted on 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; installing a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a ranging acquisition module on an installation main frame;
the first image acquisition module is arranged at the central 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 the mounting hole of the second horizontal mounting frame; the image acquisition direction of the first image acquisition module faces the two lenses for image acquisition, the first image acquisition module identifies the central points of the two lenses, the central points of the two lenses are locked as central point positioning positions, then the first laser generation module is installed at the central point positioning position of the left lens, and the two laser generation modules are installed at the central point positioning position of the right lens; the distance measurement acquisition module simultaneously measures 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 the 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 worker randomly determines the initial installation positions of the left lens and the right lens in the installation holes of the second horizontal installation rack;
the first laser generation module is aligned to a current mounting hole on a current first horizontal mounting frame to carry out laser ray marking at a first preset angle, and the second laser generation module is aligned to a current mounting hole on a current first horizontal mounting frame to carry out laser ray marking at a first preset angle; the first laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole; the second laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the right lens relative to the real 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 range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip; and if the judgment result is negative, performing correction operation on the left lens and the right lens.
In the specific implementation process of the VR lens mounting and calibrating processing method on the VR all-in-one machine adopted by the embodiment of the application, the current lens position can be quickly judged and processed in a random initial state, so that the current lens position can be quickly judged whether to meet the standard visual angle mounting distance range; if the return is not matched with the standard visual angle, the verification processing is carried out quickly in real time, secondary iteration judgment processing is carried out, whether the standard visual angle installation distance range is met or not is judged quickly by adopting a random moving mode while adjustment and detection are realized, the machine is stopped after the standard visual angle installation distance range is met, and finally the high-precision accurate installation processing of the VR lens can be quickly 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 application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a mounting layout structure diagram of a mounting main frame 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 illustrating main operation steps of a VR lens mounting and calibrating method in a VR all-in-one machine according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating another specific operation step of a VR lens mounting calibration processing method on a VR all-in-one machine according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating still another specific operation step of a VR lens mounting and calibrating processing method in a VR all-in-one machine according to an embodiment of the present disclosure;
fig. 5 is a flowchart illustrating a specific step of a VR lens mounting calibration processing method for a VR all-in-one machine according to an embodiment of the present disclosure;
fig. 6 is a flowchart illustrating a specific step of a VR lens mounting calibration processing method for a VR all-in-one machine according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a VR lens mount calibration processing system on a VR machine in accordance with embodiments of the present application;
reference numbers: installing the 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 light generation module 40; a second laser generation module 50; and a ranging acquisition module 60.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the invention, it should be noted that certain terms indicating orientations or positional relationships are used only for convenience in describing the invention and for simplicity in description, and do not indicate or imply that the indicated devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and therefore should not be construed as limiting the invention.
In the description of the present invention, it should be noted that "connected" is to be understood broadly, for example, it may be fixed, detachable, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The present invention will be described in further detail below with reference to specific embodiments and with reference to the attached drawings.
Example one
As shown in fig. 2, a first embodiment of the present invention provides a VR lens mounting and calibrating method for a VR all-in-one machine, including the following steps:
step S101, designing and preprocessing the 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 mounted on 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; installing a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a ranging acquisition module on an installation main frame; firstly, preprocessing is executed: the first image acquisition module, the first laser generation module, the second laser generation module and the distance measurement 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 installed at the central line position of the installation hole of the first horizontal installation rack, and two lenses (a left lens A and a right lens B) are randomly installed at the installation hole 13 of the second horizontal installation rack 12; meanwhile, the distance measurement acquisition module 60 is arranged in the mounting hole of the second horizontal mounting frame (because the lens on the mounting hole of the second horizontal mounting frame is blocked, the distance measurement acquisition module is not suitable for being arranged in the mounting hole of the first horizontal mounting frame; the specific installation positions are shown in detail in fig. 1;
the image acquisition direction of the first image acquisition module 30 is towards the two lenses for image acquisition, the first image acquisition module 30 identifies the central points of the two lenses, the central points of the two lenses are locked as central point positioning positions, then the first laser generation module is installed at the central point positioning position of the left lens, and the second laser generation module is installed at the central point positioning position of the right lens (the central point positioning position of the left lens can be more accurately acquired by the image acquisition mode of the first image acquisition module, and the technology belongs to the prior art and is not repeated herein by the image processing technology of a gray level histogram mode); the distance measurement acquisition module simultaneously measures 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 the 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, randomly determining initial mounting positions of the mounting holes of the left lens and the right lens on the second horizontal mounting rack by a worker (first, performing a judgment processing operation of the initial mounting positions of the mounting holes of the left lens and the right lens on the second horizontal mounting rack);
step S104, aligning a first laser generation module to a current mounting hole on a current first horizontal mounting frame to perform laser ray marking at a first preset angle, and aligning a second laser generation module to the current mounting hole on the current first horizontal mounting frame to perform laser ray marking at the first preset angle (the preset angle is fixed, and the plane of the laser ray at the first preset angle is perpendicular to the horizontal extension direction of the second horizontal mounting frame; namely, the laser generation module emits a vertical ray to the first horizontal mounting frame at the opposite side); the first laser generation module acquires a laser ray returned by a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame, and realizes current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole; the second laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the right lens relative to the real 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 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;
step S106, judging whether the real distance at the initial position is within the range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip;
and if the judgment result is negative, performing correction operation on the left lens and the right lens.
In the specific implementation process of the VR lens mounting and calibrating processing method on the VR all-in-one machine adopted by the embodiment of the application, the current lens position can be quickly judged and processed in a random initial state, so that the current lens position can be quickly judged whether to meet the standard visual angle mounting distance range; if the return is not matched with the standard visual angle, the verification processing is carried out quickly in real time, secondary iteration judgment processing is carried out, whether the standard visual angle installation distance range is met or not is judged quickly by adopting a random moving mode while adjustment and detection are realized, the machine is stopped after the standard visual angle installation distance range is met, and finally the high-precision accurate installation processing of the VR lens can be quickly realized.
As shown in fig. 2, the main controller obtains the actual length of the current mounting hole, the length ratio of the current mark position of the center of the left side lens to the actual length of the current mounting hole, and the length ratio of the current mark position of the center of the right side lens to the actual length of the current mounting hole, and calculates the actual distance between the current left side lens and the current right side lens at the initial position, specifically including the following operation steps:
step S1051, a main controller obtains the real length of the current mounting hole, the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole, and the length ratio of the current mark position of the center of the right lens relative to the real length of the current mounting hole, so as to calculate the relative horizontal position of the current left lens and the current right lens;
step 1052, calculating the real distance between the current left lens and the current right lens at the initial position according to the relative horizontal positions of the two lenses;
step S1053, calculating the gap distance between the left lens at the initial position and the left edge of the mounting hole, and calculating the gap distance between the right lens at the initial position and the right edge of the mounting hole.
It should be noted that, in the technical solution of the present application, according to the actual length of the current mounting hole, the length ratio of the current mark position at the center of the left side lens to the actual length of the current mounting hole, and the length ratio of the current mark position at the center of the right side lens to the actual length of the current mounting hole, the relative horizontal position of the current left side lens and the current right side lens is calculated; certainly, the calculated numerical value of the relative horizontal position of the current left lens and the current right lens is the real distance between the two lenses at the initial position; then calculating the gap distance of the left lens relative to the left edge of the mounting hole at the initial position, and calculating the gap distance of the right lens relative to the right edge of the mounting hole at the initial position; the purpose is to adjust the distance of the left lens or the right lens in order to facilitate the insertion of a mechanical clamping hand into the gap.
As shown in fig. 3, the operation of correcting the left lens and the right lens specifically includes the following steps:
step S1061, a gap distance of the left lens relative to the left edge of the mounting hole at the initial position and a gap distance of the right lens relative to the right edge of the mounting hole at the initial position are taken;
step S1062, determining one of the left lens or the right lens as a target adjusting lens according to the gap distance between the left lens at the initial position and the left edge of the mounting hole, the gap distance between the right lens at the initial position and the right edge of the mounting hole, and the thickness distance of the mechanical clamping hand;
step S1063, the operator starts the mechanical gripper to perform real-time random adjustment of horizontal displacement of the target adjustment lens on the second horizontal mounting frame, and performs subsequent processing operations to determine whether the installation distance range meets the standard viewing angle in real time by using the current random adjustment position and the initial position of the other unadjusted lens as the initial positions of the two lenses (which is equivalent to returning to step S104 to perform the subsequent operations).
It should be noted that, in the technical solution of the present 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 adjusting lens is calculated continuously in a calculation mode, the mechanical clamping hand can not accurately move to the reasonable target position, so that the method and the device adopt a real-time mode to judge and process, move and correct, verify and detect at the same time, and are better in efficiency and accuracy.
As shown in fig. 4, the subsequent determination processing operation of determining whether the installation distance range meets the standard viewing angle is executed by taking the current randomly adjusted position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time, which specifically includes the following operation steps:
step S1064, moving the target adjusting lens by the mechanical clamping hand in a preset horizontal moving direction; taking the current random adjusting position of the target adjusting lens and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time; the first laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at a first preset angle, and the second laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at the first preset angle; the first laser generation module acquires a laser reflection identification strip at a current mounting hole on the first horizontal mounting frame in real time to return laser rays, so that current ray position marking is realized; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole; the second laser generation module acquires the laser ray returned by the laser reflection identification strip at the current mounting hole on the first horizontal mounting frame in real time to realize the marking of the current ray position; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the right lens relative to the real 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 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 to calculate 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 range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip;
if not, the target adjustment lens is continuously moved in the preset horizontal moving direction, and the process returns to step S1064 for iteration.
It should be noted that, in the technical solution of the present application, the mechanical gripper moves the target to adjust the lens in the preset horizontal movement direction; taking the current random adjusting position of the target adjusting lens and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time; from this, the two initial positions are then determined again, from which the iterative processing calculation is carried out again.
During specific calculation, laser ray marking is carried out again, 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 are obtained again, and the real distance between the current left lens and the current right lens at the initial position is calculated; judging whether the real distance at the initial position is within the range of the standard visual angle installation distance 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 stopping the operation of the mechanical clamping hand; meanwhile, if the result of the determination is no, the target adjustment lens is continuously moved in the preset horizontal moving direction, and the step S1064 is repeated.
As shown in fig. 5, the determining of one of the left lens and 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 gripper specifically includes the following operation steps:
step S10621, judging the relation between the gap distance of the left lens relative to the left edge of the mounting hole at the initial position, the gap distance of the right lens relative to the right edge of the mounting hole at the initial position and the thickness distance of the mechanical clamping hand respectively;
step S10622, if the gap distance of only one lens is judged to be greater than the thickness distance of the mechanical clamping hand, determining that the current lens is the target adjusting lens; if the clearance distance between the two lenses is judged to be larger than the thickness distance of the mechanical clamping hand, the current lens with larger clearance distance is determined as a target adjusting lens; and if the clearance distance between the two lenses is judged to be smaller than the thickness distance of the mechanical clamping hand, manually adjusting the target to adjust the lenses.
It should be noted that, in the technical solution of the present application, a relationship between a gap distance between the left lens at the initial position and the left edge of the mounting hole, and a relationship between a gap distance between the right lens at the initial position and the right edge of the mounting hole and a thickness distance of the mechanical clamping hand are determined; reference factors of convenient movement and larger movement 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 the larger gap distance is determined as a target adjusting lens;
and in a severe case, if the gap distance between the two lenses is judged to be smaller than the thickness distance of the mechanical clamping hand, manually adjusting the target adjusting lens is executed.
Preferably, as one possible embodiment; designing and preprocessing an installation main frame, and establishing communication connection with a main controller of the VR all-in-one 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 mode based on a CAN bus mode.
Preferably, as one possible embodiment; after determining that the current initial positions are the target installation positions of the left lens and the right lens, the method also comprises the step that the main controller acquires the target installation positions of the left lens and the right lens and stores the target installation positions in a database; when the user acquires the VR lens mounting correction information in the current database, the information of the target mounting 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 mounting and calibrating processing system on a VR all-in-one machine, including a mounting 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 distance measurement acquisition module 60;
the mounting main frame comprises a first horizontal mounting frame and a second horizontal mounting frame which is completely the same as the first horizontal mounting frame and is arranged in parallel; mounting holes with the same length are mounted on 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 central line position of the mounting hole of the first horizontal mounting frame, and the two lenses are randomly arranged at the mounting hole on the second horizontal mounting frame; meanwhile, the ranging acquisition module is arranged in the mounting hole of the second horizontal mounting frame;
the first image acquisition module 30 performs image acquisition towards the two lenses, is used for identifying the central points of the two lenses, locks the central points of the two lenses as central point positioning positions, then installs the first laser generation module at the central point positioning position of the left lens, and installs the two laser generation modules at the central 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 the 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 generation module 40 aligns to a current mounting hole on a current first horizontal mounting frame to perform laser ray marking at a first preset angle, and the second laser generation module 50 aligns to the current mounting hole on the current first horizontal mounting frame to perform laser ray marking at the first preset angle; the first laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking; the second laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking;
the main controller 20 comprises an initialization processing unit 21, a first calculating unit 22, a second calculating unit 23 and a judgment processing unit 24;
the initialization processing unit is used for randomly determining the initial installation positions of the left lens and the right lens in the installation holes of the second horizontal installation rack by workers in an initial state;
the first calculating unit is used for obtaining the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole through feedback calculation; the length ratio of the current mark position of the center of the right lens to the real length of the current mounting hole is obtained through feedback calculation;
the second calculation unit is used for acquiring 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 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 range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip; and if the judgment result is negative, performing correction operation on the left lens and the right lens.
Preferably, as one possible embodiment; the second calculating unit is further specifically configured to obtain a real length of the current mounting hole, a length ratio of a current mark position of the center of the left lens to the real length of the current mounting hole, and a length ratio of a current mark position of the center of the right lens to the real length of the current mounting hole, so as to calculate a relative horizontal position of the current left lens and the current right lens; calculating the real distance between the current left lens and the current right lens at the initial position according to the relative horizontal positions of the current left lens and the current right lens; meanwhile, calculating the gap distance of the left lens relative to the left edge of the mounting hole at the initial position, and calculating the gap distance of the right lens relative to the right edge of the mounting hole at the initial position;
the judgment processing unit is further specifically used for the correction operation of the left side lens and the right side lens, and includes a first adjustment subunit and a second adjustment subunit:
the first adjusting subunit is used for adjusting the gap distance of the left lens at the initial position relative to the left edge of the mounting hole and the gap distance of the right lens at the initial position relative to the right edge of the mounting hole; determining one of the left lens or the right lens as a target adjusting lens according to the gap distance of the left lens at the initial position relative to the left edge of the mounting hole, the gap 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 performing real-time random adjustment on horizontal displacement of the target adjusting lens on the second horizontal mounting frame when an operator starts the mechanical clamping hand, and performing subsequent judgment processing operation on whether the target adjusting lens meets the standard visual angle mounting distance range or not by taking the current random adjusting position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time.
Preferably, as one possible embodiment; the second adjusting subunit executes a subsequent judgment processing operation of whether the installation distance range meets the standard visual angle or not by taking the current random adjusting position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time, and the judgment processing operation 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; taking the current random adjusting position of the target adjusting lens and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time; the first laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at a first preset angle, and the second laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at the first preset angle; the first laser generation module acquires a laser reflection identification strip at a current mounting hole on the first horizontal mounting frame in real time to return laser rays, so that current ray position marking is realized; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole; the second laser generation module acquires laser rays returned by the laser reflection identification strip at the current mounting hole on the first horizontal mounting frame in real time to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the right lens relative to the real length of the current mounting hole;
the calculating subunit is used for acquiring the real length of the current mounting hole, the length ratio of the current mark position of the center of the left lens to the real length of the current mounting hole, and the length ratio of the current mark 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 range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip; and if the judgment result is negative, continuously moving the target adjusting lens in the preset horizontal moving direction to continuously perform iteration.
In summary, in the VR lens mounting and calibrating processing method adopted in the embodiment of the present application, in a specific implementation process, rapid determination processing can be performed in a random initial state to lock a current lens position, so that whether the current lens position meets a standard view angle mounting distance range or not can be rapidly determined; if the VR lens is not matched with the standard visual angle, verification processing is carried out quickly in real time, secondary iteration judgment processing is carried out, whether the standard visual angle installation distance range is met or not is judged quickly by adopting a random moving mode while adjustment and detection are achieved, and finally high-precision accurate installation processing of the VR lens can be achieved quickly after the standard visual angle installation distance range is met and shutdown processing is carried out.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A VR lens mounting and calibrating processing method on a VR machine is characterized by comprising the following operation steps:
designing and preprocessing the installation main frame: the mounting main frame comprises a first horizontal mounting frame and a second horizontal mounting frame which is completely the same as the first horizontal mounting frame and is arranged in parallel; mounting holes with the same length are mounted on 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; installing a main controller, a first image acquisition module, a first laser generation module, a second laser generation module and a distance measurement acquisition module on an installation main frame;
the first image acquisition module is arranged at the central line position of the mounting hole of the first horizontal mounting frame, and the two lenses are randomly arranged at the mounting hole on the second horizontal mounting frame; meanwhile, the ranging acquisition module is arranged in the mounting hole of the second horizontal mounting frame; the image acquisition direction of the first image acquisition module faces the two lenses for image acquisition, the first image acquisition module identifies the central points of the two lenses, the central points of the two lenses are locked as central point positioning positions, then the first laser generation module is installed at the central point positioning position of the left lens, and the two laser generation modules are installed at the central point positioning position of the right lens; the distance measurement acquisition module simultaneously measures 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 the 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 left lens and the right lens on the installation holes of the second horizontal installation rack are randomly determined by workers;
the first laser generation module is aligned to a current mounting hole on a current first horizontal mounting frame to carry out laser ray marking at a first preset angle, and the second laser generation module is aligned to a current mounting hole on a current first horizontal mounting frame to carry out laser ray marking at a first preset angle; the first laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole; the second laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the right lens relative to the real 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 range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip;
and if the judgment result is negative, performing correction operation on the left lens and the right lens.
2. The VR lens mounting calibration processing method of claim 1, wherein the main controller obtains a current mounting hole real length, a length ratio of a current mark position of a left lens center to the current mounting hole real length, and a length ratio of a current mark position of a right lens center to the current mounting hole real length to calculate a real distance between a current left lens and a current right lens at an initial position, and the method 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 center of the left lens relative 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 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 obtained through calculation;
calculating the real distance between the current left lens and the current right lens at the initial position according to the relative horizontal positions of the current left lens and the current right lens;
and simultaneously calculating the clearance distance of the left lens relative to the left edge of the mounting hole at the initial position, and calculating the clearance distance of the right lens relative to the right edge of the mounting hole at the initial position.
3. The VR lens mounting calibration processing method of claim 2, wherein the correcting operation for the left lens and the right lens includes the following steps:
adjusting the gap distance of the left lens at the initial position relative to the left edge of the mounting hole and the gap distance of the right lens at the initial position relative to the right edge of the mounting hole;
determining one of the left lens or the right lens as a target adjusting lens according to the gap distance of the left lens at the initial position relative to the left edge of the mounting hole, the gap distance of the right lens at the initial position relative to the right edge of the mounting hole and the thickness distance of a mechanical clamping hand;
and (3) starting a mechanical clamping hand by an operator to carry out real-time random adjustment on the horizontal displacement of the target adjustment lens on the second horizontal mounting frame, and 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 to execute subsequent judgment processing operation on whether the target adjustment lens conforms to the standard visual angle mounting distance range.
4. The method of claim 3, wherein the subsequent processing of determining whether the range of the standard viewing angle installation spacing is met is performed in real time with the current randomly adjusted position and an initial position of another unadjusted lens as initial positions of the two lenses, and includes the following steps:
moving the target adjusting lens by the mechanical clamping hand in a preset horizontal moving direction; taking the current random adjusting position of the target adjusting lens and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time; the first laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at a first preset angle, and the second laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at the first preset angle; the first laser generation module acquires a laser reflection identification strip at a current mounting hole on the first horizontal mounting frame in real time to return laser rays, so that current ray position marking is realized; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole; the second laser generation module acquires the laser ray returned by the laser reflection identification strip at the current mounting hole on the first horizontal mounting frame in real time to realize the marking of the current ray position; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the right lens relative to the real 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 in real time to calculate 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 range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip;
if the judgment result is negative, the target adjusting lens is continuously moved in the preset horizontal moving direction, the mechanical clamping hand returns to the step, and the target adjusting lens is continuously moved in the preset horizontal moving direction in an iterative manner.
5. The method for processing calibration for installing a VR lens on a VR all-in-one machine of claim 4, wherein the step of determining one of the left lens and the right lens as a target adjustment lens according to the gap distance between the left lens and the left edge of the installation hole in the initial position, the gap distance between the right lens and the right edge of the installation hole in the initial position, and the thickness distance of the mechanical clamping hand comprises the following steps:
judging the relation between the gap distance of the left lens at the initial position relative to the left edge of the mounting hole, the gap 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 respectively;
if the gap distance of only one lens is larger than the thickness distance of the mechanical clamping hand, determining that the current lens is the target adjusting lens; if the clearance distance between the two lenses is judged to be larger than the thickness distance of the mechanical clamping hand, the current lens with larger clearance distance is determined as a target adjusting lens; and if the clearance distance between the two lenses is judged to be smaller than the thickness distance of the mechanical clamping hand, manually adjusting the target to adjust the lenses.
6. The method of claim 5, wherein designing and pre-processing the mounting master frame further includes pre-establishing a communication link with a master controller of the VR 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 mode based on a CAN bus mode.
7. The method of claim 6, further comprising the step of the master controller obtaining the target mounting positions of the left lens and the right lens and storing the obtained target mounting positions in a database after the step of determining that the current initial position is the target mounting positions of the left lens and the right lens; when the user acquires the VR lens mounting correction information in the current database, the information of the target mounting positions of the left lens and the right lens stored in the database is called.
8. A VR lens mounting and calibrating processing system on a VR 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 distance measurement acquisition module;
the mounting main frame comprises a first horizontal mounting frame and a second horizontal mounting frame which is completely the same as the first horizontal mounting frame and is arranged in parallel; mounting holes with the same length are mounted on 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 central line position of the mounting hole of the first horizontal mounting frame, and the two lenses are randomly arranged at the mounting hole on the second horizontal mounting frame; meanwhile, the ranging acquisition module is arranged in the mounting hole of the second horizontal mounting frame;
the image acquisition direction of the first image acquisition module faces the two lenses for image acquisition, the first image acquisition module is used for identifying the central points of the two lenses, the central points of the two lenses are locked as central point positioning positions, then the first laser generation module is installed at the central point positioning position of the left lens, and the two laser generation modules are installed at the central 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 generation module is aligned to a current mounting hole on a current first horizontal mounting frame to carry out laser ray marking at a first preset angle, and the second laser generation module is aligned to a current mounting hole on a current first horizontal mounting frame to carry out laser ray marking at a first preset angle; the first laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking; the second laser generation module obtains a laser reflection identification strip at the current mounting hole on the first horizontal mounting frame and returns laser rays to realize current ray position marking;
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 the initial installation positions of the left lens and the right lens in the installation holes of the second horizontal installation rack by workers in an initial state;
the first calculating unit is used for obtaining the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole through feedback calculation; the length ratio of the current mark position of the center of the right lens to the real length of the current mounting hole is obtained through feedback calculation;
the second calculation unit is used for acquiring 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 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 range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip; and if the judgment result is negative, performing correction operation on the left lens and the right lens.
9. The VR lens mounting calibration processing system of claim 8, wherein the second computing unit is further configured to obtain a current mounting hole real length, a length ratio of a current mark position of a left lens center to the current mounting hole real length, and a length ratio of a current mark position of a right lens center to the current mounting hole real length, thereby calculating a relative horizontal position of the current left lens to the current right lens; calculating the real distance between the current left lens and the current right lens at the initial position according to the relative horizontal positions of the current left lens and the current right lens; meanwhile, calculating the gap distance of the left lens relative to the left edge of the mounting hole at the initial position, and calculating the gap distance of the right lens relative to the right edge of the mounting hole at the initial position;
the judgment processing unit is further specifically used for the correction operation of the left side lens and the right side lens, and includes a first adjustment subunit and a second adjustment subunit:
the first adjusting subunit is used for adjusting the gap distance of the left lens at the initial position relative to the left edge of the mounting hole and the gap distance of the right lens at the initial position relative to the right edge of the mounting hole; determining one of the left lens or the right lens as a target adjusting lens according to the gap distance of the left lens at the initial position relative to the left edge of the mounting hole, the gap 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 performing real-time random adjustment on horizontal displacement of the target adjusting lens on the second horizontal mounting frame when an operator starts the mechanical clamping hand, and performing subsequent judgment processing operation on whether the target adjusting lens meets the standard visual angle mounting distance range or not by taking the current random adjusting position and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time.
10. The VR onboard lens mounting calibration processing system of claim 9, wherein the second adjustment subunit performs subsequent processing operations to determine whether the standard viewing angle mounting distance range is met, using the current randomly adjusted position and an initial position of another unadjusted lens as initial positions of the two lenses, in real time, and includes a real-time adjustment subunit, a calculation 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; taking the current random adjusting position of the target adjusting lens and the initial position of the other unadjusted lens as the initial positions of the two lenses in real time; the first laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at a first preset angle, and the second laser generation module is used for aligning the current mounting hole on the current first horizontal mounting frame in real time to carry out laser ray marking at the first preset angle; the first laser generation module acquires a laser reflection identification strip at a current mounting hole on the first horizontal mounting frame in real time to return laser rays, so that current ray position marking is realized; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the left lens relative to the real length of the current mounting hole; the second laser generation module acquires the laser ray returned by the laser reflection identification strip at the current mounting hole on the first horizontal mounting frame in real time to realize the marking of the current ray position; then, feedback calculation is carried out to obtain the length ratio of the current mark position of the center of the right lens relative to the real length of the current mounting hole;
the calculating subunit is used for acquiring the real length of the current mounting hole, the length ratio of the current mark position of the center of the left lens to the real length of the current mounting hole, and the length ratio of the current mark 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 range of the standard visual angle installation distance 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 distance measurement acquisition module and the laser reflection identification strip; and if the judgment result is negative, continuously moving the target adjusting lens in the preset horizontal moving direction to continuously perform iteration.
CN202210365279.8A 2022-04-07 2022-04-07 VR lens installation and calibration processing method and processing system on VR all-in-one machine Active CN114719751B (en)

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 true CN114719751A (en) 2022-07-08
CN114719751B 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 (7)

* Cited by examiner, † Cited by third party
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
US20110026014A1 (en) * 2009-07-31 2011-02-03 Lightcraft Technology, Llc Methods and systems for calibrating an adjustable lens
US20170171464A1 (en) * 2015-12-11 2017-06-15 Industrial Technology Research Institute Wide-angle lens calibration system and method thereof
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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
US20110026014A1 (en) * 2009-07-31 2011-02-03 Lightcraft Technology, Llc Methods and systems for calibrating an adjustable lens
US20170171464A1 (en) * 2015-12-11 2017-06-15 Industrial Technology Research Institute Wide-angle lens calibration system and method thereof
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)

* Cited by examiner, † Cited by third party
Title
朱均超;万丽;张宝峰;李永晨;: "全景立体球视觉装置的镜头位置校准方法研究", 激光与红外, no. 07 *
肖立明;方宇;胡定玉;黄建坊;: "列车轮对内侧距光学快速测量系统设计及实现", 自动化仪表, no. 03 *

Also Published As

Publication number Publication date
CN114719751B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN114220757B (en) Wafer detection alignment method, device and system and computer medium
US20100156896A1 (en) Method of creating three-dimensional model and object recognizing device
JPH08210816A (en) Coordinate system connection method for determining relationship between sensor coordinate system and robot tip part in robot-visual sensor system
CN103163725A (en) Camera module detection device and detection method
WO2008115532A1 (en) Method for measuring center of rotation of a nozzle of a pick and place machine using a collimated laser beam
CN111539943A (en) Multi-camera-based lithium battery pole piece stacking position measuring method, device and system
CN112767338A (en) Assembled bridge prefabricated part hoisting and positioning system and method based on binocular vision
US11967110B2 (en) Assembly and measurement of an assembly for calibrating a camera
CN108020814B (en) OBU positioning method and system
CN114719751A (en) VR lens installation calibration processing method and processing system on VR all-in-one machine
CN212433821U (en) Camera parameter calibration equipment
CN110906867B (en) Line width measuring method and line width measuring machine
CN205220075U (en) Identification code printing device
JPH04242106A (en) Face recognizing apparatus
CN116539638A (en) Doping concentration measuring method, device, electronic equipment and storage medium
CN114332213B (en) Vehicle vision sensor simulation image projection pose determination method and system
CN114322780B (en) Method for monitoring mounting repeated precision on line
CN107978540B (en) Automatic adjusting method and system for measuring machine
CN114841925A (en) Test equipment alignment calculation method, terminal and storage medium
KR20060104304A (en) Recognition method of operation object for automatic welding using three dimensional marker measuring method
CN113744342A (en) Monocular camera external parameter calibration system and method
CN112192274A (en) Key blank positioning method and device applied to key processing machine
CN113808188B (en) Imaging method for element
WO2024050795A1 (en) Size measurement method and apparatus, and computer-readable storage medium
CN215217604U (en) Photoelectric plumb line coordinatograph detection device

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