CN106896466B - Automatic focusing method, device and projector - Google Patents

Automatic focusing method, device and projector Download PDF

Info

Publication number
CN106896466B
CN106896466B CN201710264718.5A CN201710264718A CN106896466B CN 106896466 B CN106896466 B CN 106896466B CN 201710264718 A CN201710264718 A CN 201710264718A CN 106896466 B CN106896466 B CN 106896466B
Authority
CN
China
Prior art keywords
motor
camera lens
step number
instruction
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710264718.5A
Other languages
Chinese (zh)
Other versions
CN106896466A (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.)
Chengdu Jimi Technology Co Ltd
Original Assignee
Chengdu XGIMI 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 Chengdu XGIMI Technology Co Ltd filed Critical Chengdu XGIMI Technology Co Ltd
Priority to CN201710264718.5A priority Critical patent/CN106896466B/en
Publication of CN106896466A publication Critical patent/CN106896466A/en
Application granted granted Critical
Publication of CN106896466B publication Critical patent/CN106896466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/282Autofocusing of zoom lenses
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B21/00Projectors or projection-type viewers; Accessories therefor
    • G03B21/14Details
    • G03B21/142Adjusting of projection optics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Lens Barrels (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the present invention provides automatic focusing method, device and projector, in one embodiment, the automatic focusing method includes: that the controller is instructed to motor transmission first, so that the motor control camera lens is moved to first direction, the step number that first instruction controls the motor rotation moves to step number needed for target position as current pose not less than camera lens described in the motor control;The controller sends the second instruction to the motor, so that camera lens described in the motor control moves to the target position along the second direction for being different from first direction.

Description

Automatic focusing method, device and projector
Technical field
The present invention relates to projector control fields, in particular to a kind of automatic focusing method, device and projector.
Background technique
It generally can be first focused before using projector so that the picture projected is more like clear, general processing mode is hand Dynamic adjustment camera lens is clear until projection image.It is more troublesome to manually adjust operation, and takes time and effort.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of automatic focusing method, device and projector.
A kind of automatic focusing method provided in an embodiment of the present invention is applied to projector, is provided with control in the projector Device, motor and the camera lens being connect by linkage with the motor processed, this method comprises:
The controller sends the first instruction to the motor, so that the motor control camera lens is moved to first direction, The step number that first instruction controls the motor rotation is moved to not less than camera lens described in the motor control by current pose Step number needed for target position;
The controller sends the second instruction to the motor, so that camera lens described in the motor control is along being different from the The second direction in one direction moves to the target position.
The embodiment of the present invention also provides a kind of automatic focusing device, be applied to projector, the projector include controller, Motor and the camera lens being connect by linkage with the motor, the automatic focusing device include:
First control module, for sending the first instruction to the motor by controller, so that the motor control mirror Head is moved to first direction, and first instruction controls the step number of the motor rotation not less than camera lens described in the motor control Step number needed for turning to target position as current pose;
Second control module, for sending the second instruction to the motor by the controller, so that the motor control It makes the camera lens and moves to the target position along the second direction for being different from first direction.
The embodiment of the present invention also provides a kind of projector of automatic focusing, which includes:
Shell;
The camera lens of installation on the shell;
The motor being connect by linkage with the camera lens;
Controller;
Wherein, the controller is used to send the first instruction to the motor, so that the motor control camera lens is to first Direction movement, wherein first instruction control the step number of motor rotation not less than camera lens described in the motor control by Step number needed for current pose moves to target position;
The controller is also used to send the second instruction to the motor, so that camera lens described in the motor control is not along The second direction for being same as first direction moves to the target position.
Compared with prior art, automatic focusing method of the invention, device and projector pass through camera lens described in motor control It is adjusted along the rotation of two different directions to target position, can prevent because being directly adjusted to target position, it may be due to Motor and camera lens, which can generate gap when rotating and causes to adjust directed along a direction to the position of target position and needs, one The error of fixed gap.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the block diagram for the projector that present pre-ferred embodiments provide.
Fig. 2 is the flow chart for the automatic focusing method that present pre-ferred embodiments provide.
Fig. 3 is the flow chart for the automatic focusing method that another preferred embodiment of the present invention provides.
Fig. 4 is the detail flowchart of the step S201 in the method for the automatic focusing that present pre-ferred embodiments provide.
Fig. 5 is the functional block diagram for the automatic focusing device that present pre-ferred embodiments provide.
Fig. 6 is the functional module signal of the data computation module for the automatic focusing device that present pre-ferred embodiments provide Figure.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
As shown in Figure 1, being the block diagram of projector 100 provided in an embodiment of the present invention.The projector 100 includes Automatic focusing device 110, memory 111, controller 112, motor 113 and camera lens 114.
The memory 111, controller 112 and motor 113 are directly or indirectly electrically connected between each other, to realize number According to transmission or interaction.For example, these elements can be realized electrically between each other by one or more communication bus or signal wire Connection.The automatic focusing device 110 includes described at least one can be stored in the form of software or firmware (firmware) Software function module in memory 111.The controller 112 is used to execute the executable module stored in memory 111, Such as software function module or computer program that the automatic focusing device 110 includes.
Wherein, the memory 111 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 111 is for storing program, the controller 112 after receiving and executing instruction, Described program is executed, the process that any embodiment of the embodiment of the present invention discloses, which defines method, can be applied in controller 113, or Person is realized by controller 112.
The controller 112 can be a kind of IC chip, the processing capacity with signal.Above-mentioned controller 112 may be, but not limited to, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP), digital signal processor (DSP), specific integrated circuit (ASIC), field-programmable Gate array (FPGA) either appoint by other programmable logic device, discrete gate or transistor logic, discrete hardware components etc. What chip or equipment with data processing and control ability.It may be implemented or execute and is in the embodiment of the present invention disclosed each Method, step and logic diagram.
The motor 113 can refer to a kind of calutron that electric energy conversion or transmitting are realized according to the law of electromagnetic induction. In the present embodiment, the motor 113 is connect by linkage with the camera lens 114.The rotation of the motor 113 can drive The camera lens 114 moves.
It is appreciated that structure shown in FIG. 1 is only to illustrate, projector 100 may also include than shown in Fig. 1 more or more Few component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software or its group It closes and realizes.
Referring to Fig. 2, being the automatic focusing method applied to projector shown in FIG. 1 that present pre-ferred embodiments provide Flow chart.Detailed process shown in Fig. 2 will be described in detail below.
Step S101, the controller sends the first instruction to the motor, so that the motor control camera lens is to first Direction movement.
In the present embodiment, the motor drives the rotation of lens, to realize the camera lens perpendicular to the direction of rotary shaft It is moved forward and backward.
In the present embodiment, first instruction controls the step number of the motor rotation not less than mirror described in the motor control Head moves to step number needed for target position as current pose, so that the camera lens is more than the target position or just resonable in theory Target position in.For example, the target position can when the motor rotates clockwise 100 step the camera lens it is corresponding Position, and the motor current location is to rotate clockwise at the position of 150 steps.It needs to rotate counterclockwise in the motor at this time 50 steps can drive the camera lens to return back to the target position, but since there are gap, institutes with the camera lens for the motor Stating the position that 50 steps that motor turns counterclockwise drive the camera lens to return to only can be regarded as the theoretic target position, The motor may not be able to be returned in fact rotates the corresponding position of camera lens when 100 step.In examples detailed above, the first direction is Counterclockwise.
In one embodiment, the step number that first instruction controls the motor rotation is described in the motor control The sum of camera lens step number as needed for current pose to target position and error step number.In the present embodiment, the error step number may be by It may step number difference in the big ting model difference of projector.By taking examples detailed above as an example, it is assumed that the error step number is 30 steps, theoretical The upper motor, which needs to rotate counterclockwise 50 steps, can return to target position with the camera lens.For example, the first instruction control The step number of the motor rotation can be 80 steps.In an example, the error step number can be stored in advance in the projector In.In the present embodiment, the error step number is greater than the motor and the camera lens is driven to generate required for interstice coverage maximum value Step number.For example, the gap that can be generated during the motor and the camera motion may be the value in 0.1mm-0.5mm, and It is 20 steps that the motor, which drives step number required for the camera motion 0.5mm, then the error step number is not less than 20 steps.
In another embodiment, when the camera lens current pose is rotatable extreme position, described first refers to The step number for controlling the motor rotation is enabled to be equal to camera lens step number as needed for current pose to target position described in the motor control. For example, the extreme position is that the camera lens cannot be further continued for rotating along one of direction.For example, the motor is currently suitable Hour hands rotate 300 steps, and the target position is that the motor rotates clockwise the corresponding position of camera lens when 270 step, and this When motor rotate 300 step when drive the position of the camera motion extremely be the extreme position.At this point, the first instruction control The step number of the motor rotation is equal to camera lens step number as needed for current pose to target position described in the motor control, can also manage Solution is 30 steps at the step number that motor rotates.
Step S102, the controller sends the second instruction to the motor, so that camera lens edge described in the motor control Move to the target position different from the second direction of first direction.
In one embodiment, the step number that first instruction controls the motor rotation is described in the motor control When the sum of camera lens step number as needed for current pose to target position and error step number, second instruction controls the motor rotation Step number be the error step number.
In another embodiment, the step number that first instruction controls the motor rotation is equal to the motor control institute Camera lens is stated as needed for current pose to target position when step number, second instruction can be the fortune of camera lens described in the motor control Dynamic step number is zero.
In the present embodiment, when the first direction is clockwise direction, the second direction is counterclockwise;Instead It, when the first direction is counter clockwise direction, the second direction is clockwise.
In an example, it is assumed that the range that the camera lens can be moved forward and backward is 0mm to 10mm.The motor with it is described The gap that can be generated between camera lens can be any one value in 0.1mm-0.5mm.Below with examples detailed above with regard to focussing process In several situations for being likely to occur be described.
In one embodiment, the target position at a distance from initial position in the interstice coverage, then it is described First instruction is that the motor drives the camera lens to return to initial position, and second instruction is that the motor drives the camera lens Move to the target position.For example, motor drives camera lens to be moved at 2mm by dead-center position 0mm, institute in focussing process Target position is stated at 0.4mm, the target position is to make camera motion distance in interstice coverage, then first instruction is Motor drives camera lens to return at origin 0mm, and second instruction drives the camera lens to be moved at 0.4mm by the position 0mm.
In another embodiment, the target position is in original position, then first instruction is the motor The camera lens is driven to return to initial position, motor rotation step number is zero described in second instruction.For example, in focussing process, Motor drives camera lens to be moved at 2mm by dead-center position 0mm, and the target position is at 0mm, then first instruction is Motor drives camera lens to return at origin 0mm.
In another embodiment, the target position and initial position be more than in the interstice coverage, then and described One instruction is that the motor drives the camera lens to return to first position, and second instruction is that the motor drives the camera lens fortune Move the target position.Wherein the first position is greater than the maximum of the interstice coverage at a distance from the target position Value.For example, motor drives camera lens to be moved at 7mm by dead-center position 0mm, and the target position is in 5mm in focussing process Place, the target position are that camera motion distance is made to be greater than the maximum value in interstice coverage, then first instruction can be electricity Machine drives camera lens to return at 3mm, and second instruction drives the camera lens to be moved at 5mm by the position 3mm.
In another embodiment, the target position is the camera lens movably maximum distance apart from initial position Place, does not adjust at this time.For example, motor drives camera lens to be moved at 10mm by dead-center position 0mm for example, in focussing process, The target position does not need again moving lens at this time at 10mm to focus.
According to the method in the present embodiment, by camera lens described in motor control along two different directions rotations be adjusted to Target position can prevent because being directly adjusted to target position, may cause directly due to generating gap between motor and camera lens It connects and adjusts the error for having a certain distance to the position of target position and needs, further, whole process along a direction Artificial adjustment is not needed, the operation of user is reduced, improves user experience.
Fig. 3 is the automatic focusing method that another preferred embodiment of the present invention provides, method and above-mentioned side in the present embodiment Method embodiment is similar, the difference is that, as shown in figure 3, the method in the present embodiment includes:
When step S201, the controller are calculated camera lens needs and adjust to the target position, the motor The rotation data for needing to rotate.
In the present embodiment, the projector can be connected with camera.In other embodiments, the projector can also be certainly Band camera.
As shown in figure 4, step S201 may include the sub-steps such as following step S2011 to S2014 in the present embodiment, tool Body is described as follows.
S2011, camera motion described in the motor control.
S2012, when receiving the camera and obtaining described every turn of motor and move a step, the image of the projector projects, from And obtain every turn of the motor corresponding image that moves a step.
In the present embodiment, the projector, which is switched on curtain or curtain wall, projects image, and every turn of the motor moves a step, and takes the photograph As head captures the image on the curtain or curtain wall, and described image is transferred to the projector.In other embodiments, if The projector carries camera, and the process that described image is transferred to the projector can be omitted.
S2013 chooses target image according to the image received, obtains the target image and corresponds to the motor rotation Target step number.
In the present embodiment, step S2013 can include: according to the clarity of the image received, select image definition most High image obtains the target step number that the target image corresponds to the motor rotation as the target image.
S2014 obtains the camera lens needs according to the current pose of the target step number and the motor and adjusts to described The rotation data that motor described in target position needs.
In the present embodiment, the rotation data may include the rotation direction and rotation step number.For example, the target position It can be clockwise to the corresponding position of camera lens described in 100 steps in the motor, and the motor current location is clockwise At the position for rotating 150 steps.It is understood that the motor is clockwise to the projection of camera lens described in 100 steps in this example Clarity highest image of image when being preceding 150 in the image of camera lens projection.At this point, the rotation that the rotation data includes Direction is that counterclockwise, rotation step number is 50 steps.
Step S202 obtains first instruction and second instruction according to the rotation data.
Step S203, the controller sends the first instruction to the motor, so that the motor control camera lens is to first Direction movement.
In the present embodiment, first instruction controls the step number of the motor rotation not less than mirror described in the motor control Head moves to step number needed for target position as current pose.
Step S204, the controller sends the second instruction to the motor, so that camera lens edge described in the motor control Move to the target position different from the second direction of first direction.
Step S203-S204 in the present embodiment is similar with the step S101-S102 in embodiment of the method on, closes Can be further with reference to the description in a upper embodiment of the method in other details of step S203-S204, details are not described herein.
According to the method in the present embodiment, the mirror is judged by the clarity of the image obtained according to the camera The relatively good target position of head is driving camera lens to move to the target position by control motor.Further, institute Stating motor drives the camera lens to rotate to both direction, is adjusted to the destination locations, can be adjusted by rotating to both direction Accuracy rate is improved in whole gap.
Referring to Fig. 5, being the functional module for the automatic focusing device shown in FIG. 1 110 that present pre-ferred embodiments provide Schematic diagram.The automatic focusing device 110 includes the first control module 1101, the second control module 1102, data computation module 1103 and directive generation module 1104.
First control module 1101, for sending the first instruction to the motor by controller, so that the electricity Machine control camera lens is moved to first direction, and the step number that first instruction controls the motor rotation is not less than the motor control The camera lens moves to step number needed for target position as current pose;
Second control module 1102, for sending the second instruction to the motor by the controller, so that institute It states camera lens described in motor control and moves to the target position along the second direction for being different from first direction.
The data computation module 1103 is adjusted for the camera lens needs to be calculated by the controller to described When target position, the motor needs the rotation data rotated.
As shown in fig. 6, the data computation module 1103 can include: image receiving unit 11031, target step number obtain single Member 11032 and rotation data acquiring unit 11033.
Described image receiving unit 11031, it is described when moving a step for receiving described described every turn of motor of camera acquisition The image of projector projects, to obtain every turn of the motor corresponding image that moves a step.
The target step number acquiring unit 11032 obtains the mesh for choosing target image according to the image received Logo image corresponds to the target step number of the motor rotation.
The rotation data acquiring unit 11033, for being obtained according to the current pose of the target step number and the motor It needs to adjust the rotation data needed to motor described in the target position to the camera lens.
Described instruction generation module 1104, for obtaining first instruction and second finger according to the rotation data It enables.
Other details of device about the present embodiment can further refer to the description in above method embodiment, This is repeated no more.
According to the device in the present embodiment, by camera lens described in motor control along two different directions rotations be adjusted to Target position can prevent because being directly adjusted to target position, may be led due to that can generate gap when motor is rotated with camera lens It causes to adjust the error for having a certain distance to the position of target position and needs directed along a direction, further, entirely Process does not need artificial adjustment, reduces the operation of user, improves user experience.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access The various media that can store program code such as memory (RAM, Random Access Memory), magnetic or disk.It needs It is noted that herein, relational terms such as first and second and the like are used merely to an entity or operation It is distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation, there are any this Actual relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, article or equipment for including a series of elements not only includes those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, article or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method, article or equipment of element.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. a kind of automatic focusing method, which is characterized in that be applied to projector, be provided with controller, motor in the projector And the camera lens being connect by linkage with the motor, this method comprises:
When the controller is calculated camera lens needs and adjusts to target position, the motor needs the rotation number rotated According to;
The first instruction and the second instruction are obtained according to the rotation data;
The controller sends the first instruction to the motor, so that the motor control camera lens is moved to first direction, it is described The step number that first instruction controls the motor rotation moves to target by current pose not less than camera lens described in the motor control Step number needed for position;
The controller sends the second instruction to the motor, so that camera lens described in the motor control is along different from first party To second direction move to the target position.
2. automatic focusing method as described in claim 1, which is characterized in that the projector is connected with camera, the control When device processed is calculated camera lens needs and adjusts to the target position, the step of the rotation data that the motor needs to rotate Include:
The rotation of camera lens described in the motor control;
When receiving the camera and obtaining described every turn of motor and move a step, the image of the projector projects, to obtain motor The every turn of corresponding image that moves a step;
Target image is chosen according to the image received, obtains the target step number that the target image corresponds to the motor rotation;
The camera lens needs are obtained according to the current pose of the target step number and the motor to adjust to the target position institute State the rotation data of motor needs.
3. automatic focusing method as claimed in claim 2, which is characterized in that target image is chosen according to the image received, It obtains the target image and corresponds to the target step number of motor rotation and include:
According to the clarity of the image received, selects the highest image of image definition as the target image, obtain institute State the target step number that target image corresponds to the motor rotation.
4. automatic focusing method as described in claim 1, which is characterized in that first instruction controls the motor rotation Step number is the sum of camera lens step number as needed for current pose to target position and error step number described in the motor control;Described second The step number that instruction controls the motor rotation is the error step number.
5. automatic focusing method as described in claim 1, which is characterized in that when the camera lens current pose is rotatable pole When extreme position, the step number that first instruction controls the motor rotation is equal to camera lens described in the motor control by current pose To step number needed for target position.
6. a kind of automatic focusing device, be applied to projector, the projector include controller, motor and by linkage with The camera lens of motor connection, which is characterized in that the automatic focusing device includes:
First control module, for by controller to the motor send first instruction so that the motor control camera lens to First direction movement, the step number that first instruction controls the motor rotation are not less than camera lens described in the motor control by working as Step number needed for preceding attitude motion to target position;
Second control module, for sending the second instruction to the motor by the controller, so that motor control institute It states camera lens and moves to the target position along the second direction for being different from first direction;The device further include:
Data computation module, when adjusting for camera lens needs to be calculated by the controller to the target position, The motor needs the rotation data rotated;
Directive generation module, for obtaining first instruction and second instruction according to the rotation data.
7. automatic focusing device as claimed in claim 6, which is characterized in that the data computation module includes:
Image receiving unit, when moving a step for receiving described every turn of motor of camera acquisition, the image of the projector projects, To obtain every turn of the motor corresponding image that moves a step;
Target step number acquiring unit obtains the target image and corresponds to institute for choosing target image according to the image received State the target step number of motor rotation;
Rotation data acquiring unit, for obtaining the camera lens needs according to the current pose of the target step number and the motor Adjust the rotation data needed to motor described in the target position.
8. a kind of projector of automatic focusing, which is characterized in that the projector includes:
Shell;
The camera lens of installation on the shell;
The motor being connect by linkage with the camera lens;
Controller;
Wherein, the controller is used to send the first instruction to the motor, so that the motor control camera lens is to first direction Movement, wherein the step number that first instruction controls the motor rotation is not less than camera lens described in the motor control by current Step number needed for posture turns to target position;
When the controller is also used to be calculated camera lens needs and adjusts to the target position, the motor needs to rotate Rotation data;First instruction and the second instruction are obtained according to the rotation data;Described second is sent to the motor Instruction, so that camera lens described in the motor control moves to the target position along the second direction for being different from first direction.
CN201710264718.5A 2017-04-20 2017-04-20 Automatic focusing method, device and projector Active CN106896466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710264718.5A CN106896466B (en) 2017-04-20 2017-04-20 Automatic focusing method, device and projector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710264718.5A CN106896466B (en) 2017-04-20 2017-04-20 Automatic focusing method, device and projector

Publications (2)

Publication Number Publication Date
CN106896466A CN106896466A (en) 2017-06-27
CN106896466B true CN106896466B (en) 2019-07-09

Family

ID=59196960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710264718.5A Active CN106896466B (en) 2017-04-20 2017-04-20 Automatic focusing method, device and projector

Country Status (1)

Country Link
CN (1) CN106896466B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3933501A4 (en) * 2019-12-26 2022-12-14 Chengdu Xgimi Technology Co., Ltd Projection focusing method and device, projector, and readable storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10349025B2 (en) * 2017-07-27 2019-07-09 Seiko Epson Corporation Projector and method of controlling projector
CN107277477A (en) * 2017-08-16 2017-10-20 成都市极米科技有限公司 Gap compensation method, blank compensation apparatus and projector equipment
CN110244428B (en) * 2018-03-09 2021-11-23 成都极米科技股份有限公司 Lens assembling method and system
CN108710251A (en) * 2018-04-20 2018-10-26 广景视睿科技(深圳)有限公司 A kind of Atomatic focusing method, device and projecting apparatus
JP6780203B2 (en) * 2018-10-29 2020-11-04 ビクター ハッセルブラッド アクチボラーグVictor Hasselblad Ab Control device, imaging device, control method, and program
CN109996005B (en) * 2019-05-24 2020-11-13 重庆紫光华山智安科技有限公司 Focus correction method and device
CN111010556B (en) 2019-12-27 2022-02-11 成都极米科技股份有限公司 Method and device for projection bi-directional defocus compensation and readable storage medium
CN114518631B (en) * 2020-11-19 2023-08-18 成都极米科技股份有限公司 Null back elimination method, device, electronic equipment and computer readable storage medium
CN112866663B (en) * 2020-12-31 2023-05-12 深圳市火乐科技发展有限公司 Focusing calibration method and related device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1188904A (en) * 1996-12-23 1998-07-29 三星航空产业株式会社 Zooming method and apparatus for camera
CN1299986A (en) * 1999-10-26 2001-06-20 三星泰科株式会社 Zoom camera with function of correcting focus error and controlling method thereof
JP2007094023A (en) * 2005-09-29 2007-04-12 Fujifilm Corp Focus adjustment method of focus lens and imaging apparatus
CN101295120A (en) * 2007-04-27 2008-10-29 华硕电脑股份有限公司 Automatic focusing method and electronic device of camera module
CN103986863A (en) * 2013-02-07 2014-08-13 三星泰科威株式会社 Focusing method of photographing apparatus and photographing apparatus adopting the focusing method
CN105049702A (en) * 2014-05-01 2015-11-11 佳能株式会社 Focus adjustment device, method for controlling the same, and image capture apparatus
CN106483740A (en) * 2016-09-30 2017-03-08 北京小米移动软件有限公司 projector focusing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1188904A (en) * 1996-12-23 1998-07-29 三星航空产业株式会社 Zooming method and apparatus for camera
CN1299986A (en) * 1999-10-26 2001-06-20 三星泰科株式会社 Zoom camera with function of correcting focus error and controlling method thereof
JP2007094023A (en) * 2005-09-29 2007-04-12 Fujifilm Corp Focus adjustment method of focus lens and imaging apparatus
CN101295120A (en) * 2007-04-27 2008-10-29 华硕电脑股份有限公司 Automatic focusing method and electronic device of camera module
CN103986863A (en) * 2013-02-07 2014-08-13 三星泰科威株式会社 Focusing method of photographing apparatus and photographing apparatus adopting the focusing method
CN105049702A (en) * 2014-05-01 2015-11-11 佳能株式会社 Focus adjustment device, method for controlling the same, and image capture apparatus
CN106483740A (en) * 2016-09-30 2017-03-08 北京小米移动软件有限公司 projector focusing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3933501A4 (en) * 2019-12-26 2022-12-14 Chengdu Xgimi Technology Co., Ltd Projection focusing method and device, projector, and readable storage medium
US11849263B2 (en) 2019-12-26 2023-12-19 Chengdu Xgimi Technology Co., Ltd. Projection focusing method, projection focusing apparatus, projector, and readable storage medium

Also Published As

Publication number Publication date
CN106896466A (en) 2017-06-27

Similar Documents

Publication Publication Date Title
CN106896466B (en) Automatic focusing method, device and projector
CN103747179B (en) A kind of zoom tracking and system based on focusing evaluation of estimate feedback regulation
US9001263B2 (en) Driver circuit for a camera voice coil motor
US9794466B2 (en) Lens unit, image pickup apparatus, and methods of controlling lens unit and image pickup apparatus
CN104243828A (en) Method, device and terminal for shooting pictures
JP4988673B2 (en) Shooting plan creation system
WO2013055737A1 (en) Focus control for ptz cameras
CN110225235A (en) Zoom follower method and motor-driven lens
CN104902160B (en) A kind of information processing method and electronic equipment
CN104380707A (en) Capturing control apparatus, capturing control method and program
TW201802562A (en) Flashlight module, electronic device with the flashlight module, and method for controlling the flashlight module
US11323609B2 (en) Device for testing autofocus function and method for using device
CN104363376A (en) Continuous focusing method, device and terminal
US20160094780A1 (en) Method and system for adjusting camera focus to facilitate infrared imaging
CN103634524A (en) Control method and control equipment of camera system and camera system
CN104767937A (en) Photographing method
CN106154688B (en) Automatic focusing method and device
TW201337838A (en) System and method for performing depth estimation utilizing defocused pillbox images
CN107942474A (en) Focusing method, device and projector equipment
CN106338807B (en) A kind of Atomatic focusing method, device and terminal
US9883151B2 (en) Apparatus and method for capturing lightfield image
CN111294581A (en) Focusing method for optical zooming, projection device and storage medium
JP4420079B2 (en) Pulse motor control device, control method, control program, and imaging device
CN114845023A (en) Driving method and device
US20220197113A1 (en) Photographing device and focusing method therefor, and computer-readable storage medium therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 610000 Tianfu Software Park Area A, 1129 Century City Road, Chengdu High-tech Zone, Sichuan Province

Patentee after: Chengdu Jimi Technology Co., Ltd.

Address before: No. 1129 Tianfu Software Park A District Century City high tech Zone of Chengdu City, Sichuan Province Road 610000 7 5 storey building No. 501

Patentee before: CHENGDU XGIMI TECHNOLOGY CO., LTD.

CP03 Change of name, title or address