CN111294581B - Focusing method for optical zooming, projection device and storage medium - Google Patents

Focusing method for optical zooming, projection device and storage medium Download PDF

Info

Publication number
CN111294581B
CN111294581B CN202010342831.2A CN202010342831A CN111294581B CN 111294581 B CN111294581 B CN 111294581B CN 202010342831 A CN202010342831 A CN 202010342831A CN 111294581 B CN111294581 B CN 111294581B
Authority
CN
China
Prior art keywords
focusing
zooming
distance
projection
zoom
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
CN202010342831.2A
Other languages
Chinese (zh)
Other versions
CN111294581A (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.)
Jimi Technology Co ltd
Original Assignee
Chengdu Jimi 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 Jimi Technology Co Ltd filed Critical Chengdu Jimi Technology Co Ltd
Priority to CN202010342831.2A priority Critical patent/CN111294581B/en
Publication of CN111294581A publication Critical patent/CN111294581A/en
Application granted granted Critical
Publication of CN111294581B publication Critical patent/CN111294581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3141Constructional details thereof
    • H04N9/317Convergence or focusing systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3185Geometric adjustment, e.g. keystone or convergence

Abstract

The present application relates to the field of projectors, and in particular, to a focusing method for optical zooming, a projection apparatus, and a storage medium; the method comprises the following steps: acquiring an instruction; controlling a focusing mechanism and a zooming mechanism to adjust the definition and/or size of a projection picture according to the instruction; also included is a projection system; the asynchronous motion of the zooming mechanism and the focusing mechanism is controlled, the image is guaranteed to be clear while the image is zoomed, multiple operations are avoided, and the user experience is improved.

Description

Focusing method for optical zooming, projection device and storage medium
Technical Field
The present disclosure relates to the field of projectors, and in particular, to a focusing method for optical zooming, a projection apparatus, and a storage medium.
Background
On a projection device with optical zoom, the optical zoom mechanism can achieve the size scaling of the whole projection picture, but a new problem is brought by the change of the moving focal length of the lens: the picture becomes blurred. The traditional processing method adopts zooming operation to convert the picture to a proper size and then focus to ensure the picture to be clear; the two operations result in a poor user experience. Therefore, the invention provides an optical zooming focusing method, which ensures that the image is clear while ensuring the zooming of the optical zooming image and improves the user experience.
Disclosure of Invention
An object of the embodiments of the present application is to provide a focusing method for optical zooming, a projection apparatus and a storage medium to solve the above problems.
In a first aspect, an optical zoom focusing method provided in an embodiment of the present application is applied to a projection apparatus, where the projection apparatus includes a processor, a focusing mechanism, and a zooming mechanism, and includes:
acquiring an instruction;
controlling a focusing mechanism and a zooming mechanism to adjust the definition and/or size of a projection picture according to the instruction;
controlling a focusing mechanism and a zooming mechanism to adjust the definition and/or the size of a projection picture according to the instruction comprises the following steps:
and controlling the focusing mechanism and the zooming mechanism to move asynchronously according to the instruction, so that the projection picture can keep clear when the size of the projection picture is changed.
Preferably, the focusing mechanism and the zooming mechanism are controlled to move according to a relational expression in the asynchronous movement of the focusing mechanism and the zooming mechanism.
Preferably, the focusing mechanism and the zooming mechanism are controlled to move asynchronously under a fixed projection distance according to a first relationd=f(b)bIndicates the number of zoom stroke steps of the zoom mechanism,dindicates the number of steps of the focusing stroke of the focusing mechanism,f()indicating between zoom stroke step of zoom mechanism and focus stroke step of focus mechanismAnd (4) functional relation.
Preferably, the focusing mechanism and the zooming mechanism are controlled to move asynchronously under the non-fixed projection distance according to a second relation, the second relation moves, and the second relation is thatz=f'(x,y)yIndicates the number of zoom stroke steps of the zoom mechanism,xthe projected distance is represented as a function of,zindicates the number of steps of the focusing stroke of the focusing mechanism,f'()the projection distance, the number of zoom steps of the zoom mechanism, and the number of focus steps of the focus mechanism are expressed as a functional relationship.
Preferably, the controlling the asynchronous movement of the focusing mechanism and the zooming mechanism under the fixed projection distance comprises controlling the movement of the zooming mechanism according to the first relation and then controlling the movement of the focusing mechanism.
Preferably, the controlling the asynchronous movement of the focusing mechanism and the zooming mechanism under the non-fixed projection distance comprises controlling the focusing mechanism to move according to the second relation and then controlling the zooming mechanism to move or controlling the focusing mechanism to move according to the second relation and then controlling the zooming mechanism to move.
Preferably, the minimum moving unit of the zoom mechanism during the movement of the zoom mechanism and the focus mechanismb min Satisfy the requirement ofb min =b/a,△b Which indicates the distance the zoom mechanism has moved, aa minimum moving unit of the focusing mechanism representing the greatest common divisor of the moving distance of the zooming mechanism and the moving distance of the focusing mechanismd min Satisfy the requirement ofd min =f(b min
Preferably, the minimum moving unit of the zoom mechanism during the movement of the zoom mechanism and the focus mechanismy min Satisfy the requirement ofy min =y/a',△yWhich indicates the distance the zoom mechanism has moved,xthe projected distance is represented as a function of,a'a minimum moving unit of the focusing mechanism representing the greatest common divisor of the moving distance of the zooming mechanism and the moving distance of the focusing mechanismz min Satisfy the requirement ofz min = f'(x, y min
Preferably, the obtaining of the first relation comprises the following steps:
changing the zooming stroke steps of the zooming mechanism under a fixed projection distance, simultaneously recording the focusing stroke steps of the focusing mechanism corresponding to the clear points, and acquiring the zooming stroke steps of the multiple groups of zooming mechanisms and the focusing stroke steps of the focusing mechanism;
and fitting a first relational expression according to the zooming stroke steps of the multiple groups of zooming mechanisms and the focusing stroke steps of the focusing mechanism.
Preferably, the obtaining of the second relation comprises the following steps:
changing the zooming stroke step number of the zooming mechanism under a plurality of projection distances, simultaneously recording the focusing stroke step number of the focusing mechanism corresponding to the clear point, and acquiring a plurality of groups of projection distances, the zooming stroke step number of the zooming mechanism and the focusing stroke step number data of the focusing mechanism;
and fitting a second relational expression according to the multiple groups of projection distances, the zooming stroke step number of the zooming mechanism and the focusing stroke step number data of the focusing mechanism.
In a second aspect, a projection apparatus provided in an embodiment of the present application includes a processor and a motor, where the motor is configured to rotate to achieve focusing or zooming; and the processor is connected with the motor and executes a computer program to realize the focusing method of the optical zoom in the mode of the above or any one of the above embodiments.
In a third aspect, a projection system provided in an embodiment of the present application includes an instruction obtaining module, configured to obtain an instruction; and the control module is used for controlling the focusing mechanism and the zooming mechanism to adjust the definition and/or size of the projection picture according to the instruction, and controlling the focusing mechanism and the zooming mechanism to asynchronously move according to the instruction, so that the projection picture can keep clear when the size is changed. The module is used for realizing the optical zooming focusing method in the above or any one of the above embodiments.
In a fourth aspect, the present application further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed, the method for focusing an optical zoom is implemented as provided in the foregoing first aspect or any optional implementation manner of the first aspect.
The application has the following technical effects:
1. according to the method and the device, the focusing mechanism and the zooming mechanism are triggered to be in asynchronous linkage according to the instruction, so that the operation times of a user are reduced, and the purpose of clearly displaying the image in the zooming process of the projection image is realized;
2. the focusing mechanism and the zooming mechanism carry out different motions according to the situations of fixed projection distance and non-fixed projection distance, and can be suitable for various user scenes;
3. according to the method and the device, the minimum moving unit is adopted to move in the movement process of the focusing mechanism and the zooming mechanism, so that stable adjustment under the condition of user triggering is facilitated, meanwhile, the focusing mechanism and the minimum moving unit of the zooming mechanism are in a mapping relation, more accurate adjustment and stable adjustment are facilitated, and continuous and clear zooming of a picture is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of embodiment 1 of the present application for controlling asynchronous movement of a focusing mechanism and a zooming mechanism according to the instruction;
FIG. 2 is a flow chart of the method of example 1 of the present application;
FIG. 3 is a schematic diagram of a first relation of embodiment 1 of the present application;
FIG. 4 is a diagram illustrating a second relation of embodiment 2 of the present application;
fig. 5 is a schematic view of an optical-mechanical part of a projection apparatus according to an embodiment 6 of the present application;
fig. 6 is a flowchart illustrating a process of controlling the movement of the focusing mechanism after the zooming mechanism is controlled to move according to a detection result of a change in a parameter value indicating a distance in an instruction in the method of the present application in embodiment 5;
FIG. 7 is a flowchart illustrating a process of obtaining a detection result of a change in a parameter value indicating a distance in embodiment 5 of the present application;
fig. 8 is a schematic diagram of the wire connection of the projection device in embodiment 6 of the present application.
Reference numerals: 1-a zoom motor; 2-a light machine; 3-a focus motor; 4-a gear assembly; 5-lens.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Furthermore, it should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The inventor researches and finds that on a projection device with optical zooming, the optical zooming mechanism can realize the size scaling of the whole projection picture, but a new problem is caused by the change of the moving focal length of the lens: the picture becomes blurred. The traditional processing method adopts zooming operation to convert the picture to a proper size and then focus to ensure the picture to be clear; the two operations result in a poor user experience. Therefore, the invention provides an optical zooming focusing method, which ensures that the image is clear while ensuring the zooming of the optical zooming image and improves the user experience.
Based on the research findings, the applicant proposes a focusing method of optical zooming.
Example 1
An electric focusing method for optical zooming, as shown in fig. 2, comprises the following steps:
acquiring an instruction;
and controlling a focusing mechanism and a zooming mechanism to adjust the definition and/or size of the projection picture according to the instruction.
Specifically, as shown in fig. 1, the focusing mechanism and the zooming mechanism are controlled to move asynchronously according to the instruction, so that the projection picture is kept clear or relatively clear when the size is changed.
After receiving the instruction, controlling the focusing mechanism to rotate towards a first direction, and controlling the zooming mechanism to rotate towards the first direction or a second direction opposite to the first direction, wherein the rotation direction is set according to a specific design, and the first direction can be clockwise or anticlockwise; correspondingly, the second direction is counter-clockwise or clockwise.
If the command is a zooming command, the zooming mechanism rotates clockwise or anticlockwise after the focusing mechanism rotates clockwise; if the command is a focusing command, the zooming mechanism rotates clockwise or counterclockwise after the focusing mechanism rotates clockwise. The command includes a zoom command, a focusing command, a screen adjustment command, an up-down key command, or an add-down key command, and may be a command capable of triggering focusing or zooming, which is not limited herein.
The instruction acquisition mode comprises one or more of a remote controller acquisition mode, a voice acquisition mode, a camera acquisition mode and a sensor acquisition mode; for example, a focusing key or a zooming key or a "+"/"-" key is arranged on the remote controller, the key is triggered, the processor generates a command for controlling the motor after acquiring triggering information, and the command includes one or more of command type, rotating direction, rotating angle/each time, linkage speed, minimum moving unit and relational expression; the voice key can be used for replacing a focusing key, the image definition can be collected through the camera to judge whether the image needs to be adjusted or not, or the distance between the camera and the projection plane is detected according to the distance sensor, and the image needs to be adjusted or not is determined according to the size of the image collected by the camera and the distance between the camera and the projection plane. The specific instruction acquisition mode can be selected and set according to actual conditions.
As shown in fig. 5, the focusing mechanism includes a focusing motor or a focusing motor and a gear assembly connected to the focusing motor, the zooming mechanism includes a zooming motor or a zooming motor and a gear assembly connected to the zooming motor, the gear assembly is connected to the lens assembly, the motor is connected to the gear assembly, and the gear assembly is connected to the lens assembly to achieve focusing and zooming.
Control focusing mechanism and zooming mechanismThe asynchronous motion moves according to a first relation under the fixed projection distance, and the first relation isd=f(b)bIndicates the number of zoom stroke steps of the zoom mechanism,dindicates the number of steps of the focusing stroke of the focusing mechanism,f()the functional relationship between the number of zoom stroke steps of the zoom mechanism and the number of focus stroke steps of the focus mechanism is shown.
The obtaining of the first relation comprises the following steps:
changing the zooming stroke steps of the zooming mechanism under a fixed projection distance, simultaneously recording the focusing stroke steps of the focusing mechanism corresponding to the clear points, and acquiring the zooming stroke steps of the multiple groups of zooming mechanisms and the focusing stroke steps of the focusing mechanism;
and fitting a first relational expression according to the zooming stroke steps of the multiple groups of zooming mechanisms and the focusing stroke steps of the focusing mechanism.
As shown in fig. 3, when the first relation d = f (b) is calibrated at the factory stage, the projection distance is fixed at a numerical value or a numerical range, the zoom stroke position (zoom stroke step number) is rotated from the starting point to the first marked point b1, the best point d1 of the focus stroke position (focus stroke step number) is correspondingly found, i.e. the clearest point of the picture, the (b 1, d 1) is used as a point of the first relation, multiple sets of data are obtained through multiple data calibration and tests, and the first relation is obtained through fitting, so that the zoom motor and the focus motor move or rotate along the first relation, and the picture is zoomed and is guaranteed to be clear. The fitting of the first relation may also be obtained by the opto-mechanical structure.
In specific implementation, the total stroke of the zoom motor is 1500 steps, and the stroke of the focus motor is 1800 steps; the distance from the current projection position to the wall surface, namely the projection distance, is 2m, the zoom stroke step number is 850 steps, and the focus stroke step number is 600 steps. If the command is a zoom command, the zoom command is triggered by "+, -" in the remote controller, and which key is specifically set as a zoom trigger key is not limited herein; moving 1% step number, namely +18 steps, according to the step number of the '+' zooming stroke, wherein the step number of the zooming stroke is 868 steps, and the picture is enlarged or reduced, if the picture is clear before adjustment, the picture is changed into clear to fuzzy, fuzzy to clear or clear picture viewed by naked eyes is clear all the time; if the picture is fuzzy before adjustment, the picture is from fuzzy to clear when the size of the picture is changed, an amplified reference point is at the optical center designed by the optical machine, and is particularly related to the design, after the zooming mechanism moves the first minimum moving unit, the step number of the focusing mechanism moving according to the step number of the d = f (b) focusing stroke is +12 steps, namely the position at 612 steps; the asynchronization here may be a time difference corresponding to the minimum mobile unit, or may be an interval smaller than the time difference, which is specifically designed according to an actual scenario. Or moving by 1% step number according to the step number of the zoom stroke, namely-18 steps, wherein the step number of the zoom stroke is 832 steps, and the picture is reduced or enlarged, and the change of the picture definition is as described above; and moving by the steps of d = f (b) the focusing stroke by-12 steps, namely, at the position of 588 steps, and realizing asynchronous movement of the two according to the first relation to finally reach the target position.
The focusing mechanism and the zooming mechanism move asynchronously at a fixed distance according to the instruction, so that the picture is kept relatively clear or always clear in the process of adjusting the picture.
Example 2
The difference between the embodiment and the embodiment is that the focusing mechanism and the zooming mechanism are controlled to move asynchronously under the non-fixed projection distance according to a second relation, and the second relation is that the focusing mechanism and the zooming mechanism move according to the second relationz=f'(x,y)yIndicates the number of zoom stroke steps of the zoom mechanism,xthe projected distance is represented as a function of,zindicates the number of steps of the focusing stroke of the focusing mechanism,f'()the projection distance, the number of zoom steps of the zoom mechanism, and the number of focus steps of the focus mechanism are expressed as a functional relationship.
The obtaining of the second relation comprises the following steps:
changing the zooming stroke step number of the zooming mechanism under a plurality of projection distances, simultaneously recording the focusing stroke step number of the focusing mechanism corresponding to the clear point, and acquiring a plurality of groups of projection distances, the zooming stroke step number of the zooming mechanism and the focusing stroke step number data of the focusing mechanism;
and fitting a second relational expression according to the multiple groups of projection distances, the zooming stroke step number of the zooming mechanism and the focusing stroke step number data of the focusing mechanism.
Specifically, as shown in fig. 4, the projection distance is x, the zoom mechanism zoom stroke step number is y, the focus mechanism focus stroke step number is z, and z = f (x, y). Then, the zoom stroke step number y of the zoom mechanism needs to be changed at each projection distance, that is, x is changed (the projection distance is 40 cm-400 cm), the image is adjusted clearly at each position, the focusing stroke step number z of the focusing mechanism at the time is recorded, and finally, a second relation z = f (x, y) can be obtained, where the second relation can be a curve, for example, a curve that varies with x (40 cm-400 cm) and with y (0-maximum zoom motor stroke step number).
Fitting second relational data: and according to the obtained data, fitting a second relation z = f (x, y) by adopting one or more modes of polynomial approximation, exponential approximation and Gaussian approximation, and selecting the mode in consideration of the mode with the minimum fitting deviation. The second relational expression can be obtained through the structural design of the optical machine.
The instruction fetch in asynchronous motion is consistent with embodiment 1, and will not be described herein.
Under the condition of non-fixed distance, the zooming mechanism and the focusing mechanism move asynchronously, so that the change of a projection picture is realized while the definition is maintained unchanged or is relatively unchanged, the user experience is improved, and the user experience under various use scenes is improved.
Example 3
The difference between this embodiment and embodiment 1 or 2 is that this embodiment optimizes asynchronous motion, and the details are as follows:
under the fixed projection distance, if the projection picture is clear before adjustment, the control of the asynchronous movement of the focusing mechanism and the zooming mechanism comprises the step of controlling the movement of the zooming mechanism according to the first relational expression and then controlling the movement of the focusing mechanism. Namely, under a fixed distance, when a projection picture is clear, zooming and focusing are triggered, the zooming motor moves firstly, and the focusing motor moves secondly; the minimum unit of movement of the movement is described in the following embodiments, and is not limited herein; meanwhile, after or when the size of the picture is changed in the process, the definition is also changed, the definition is changed from clear to fuzzy (the change of the zooming focal length influences the focusing focal point), and then from fuzzy to clear, if the control effect is optimal, the picture observed by naked eyes can be kept clear all the time, and the change of the definition degree is small; the process may be performed by one or more minimum mobile units, and the asynchronous interval may be an asynchronous gap of one step with the minimum mobile unit or a larger step with the minimum mobile unit. The direction of movement needs to be selected on command.
If the projection image is fuzzy before adjustment, the focusing mechanism is controlled to move according to the second relation (when the zooming mechanism is not moved), the clear image at the corresponding projection distance is determined, and the focusing mechanism is controlled to move after the zooming mechanism is controlled to move according to the second relation (such as mapping between the zooming stroke step number and the focusing stroke step number). That is, the focus motor moves first, and after the frame is changed from blurred to clear, the zoom motor and the focus motor move asynchronously again, for example, the zoom motor moves first, and the focus motor moves again, when or after the size of the frame is changed, the frame is changed from clear to blurred and then from blurred to clear, or the visual observation effect of the frame is always clear, and the minimum moving unit of the movement of the zoom motor and the focus motor is as described in embodiment 4; whether the projected picture is clear or not can be acquired by an acquisition tool such as a camera, and the processor judges the picture definition according to the acquired picture.
If the projection distance changes, a frame may be blurred, and therefore, the frame needs to be focused according to the second relation (for example, mapping between the projection distance and the focusing stroke step number), and then zoomed and focused according to the second relation (for example, mapping between the zooming stroke step number and the focusing stroke step number, as in the above embodiment) (zooming and focusing may be synchronous or asynchronous). The method has the advantages that after the projection picture is from fuzzy to clear, the definition is changed when the size of the picture is changed or after the size of the picture is changed, the picture is from clear to fuzzy and then from fuzzy to clear, the change degree of the definition is large, the picture can be observed obviously, the change degree is not large, the picture observed by naked eyes is kept clear all the time, the best effect is achieved, and the picture is kept clear all the time in the picture zooming process.
If the distance is changed, the picture is clear, the zoom motor is controlled to move first according to a second relational expression (such as mapping between the zoom stroke step number and the focusing stroke step number, as in the above embodiment), and the focusing motor moves later, namely, when the picture size is changed or after the picture size is changed, the picture definition is from clear to fuzzy and then from fuzzy to clear, and if the change is small, the picture can be observed to be relatively clear all the time; the zoom motor can move first, and the focus motor can move later.
The command for asynchronous movement may be user-triggered, such as by a remote control, or automatically triggered, such as by a gyro sensor or a distance sensor or a camera, to trigger focusing and zooming by determining a change in distance or orientation or a change in picture sharpness. In order to realize rapid zooming and avoid problems of fitting deviation, unstable distance measuring devices, abrasion of mechanical structures and the like in actual use, the position of a current focusing motor is adopted for scanning in a small range (simultaneously recording focusing position change and acquiring a corresponding projection picture by a camera for definition calculation), the focusing position with the highest definition in the range is selected as a target position, a focusing mechanism is moved to the position, and complete fine-tuning focusing is completed.
And a specific asynchronous control mode is determined according to the definition and the projection distance of the picture, so that the optimal operation is facilitated, the definition duration of the picture is prolonged, and the user experience is improved. Meanwhile, fine adjustment is adopted for focusing, and quick focusing is realized.
Example 4
This embodiment is different from embodiment 1 or 2 or 3 in that the minimum moving unit is optimized in asynchronous movement of the zoom mechanism and the focus adjustment structure.
For example, a user triggers zooming, and a zooming range cannot be predetermined in advance, so that the zooming distance is divided, the entire zooming process is realized by using a plurality of minimum moving units, and the minimum moving unit of the focusing mechanism and the minimum moving unit of the zooming mechanism are in a mapping relationship, for example, the mapping relationship is a first relational expression at a fixed distance.
Minimum movement of zoom mechanism in movement process of zoom mechanism and focusing mechanism under fixed distanceUnit cellb min Satisfy the requirement ofb min =b/a,△b Which indicates the distance the zoom mechanism has moved,athe greatest common divisor of the moving distance of the zoom mechanism and the moving distance of the focus mechanism,a=m(b,d),△dwhich indicates the distance the focusing mechanism has moved,m()the minimum moving unit of the focusing mechanism is represented by taking the greatest common divisor between variables in bracketsd min Satisfy the requirement ofd min =f(b min )。
As shown in fig. 3, it is assumed that the focus motor in the focus mechanism moves 21 steps from d1 to d2, and the zoom motor in the zoom mechanism moves 30 steps from d1 to d 2; the minimum number of steps of the moving unit of the two motors is the number of steps divided by the greatest common divisor, i.e., 7 steps for focusing and 10 steps for zooming. Namely, the focusing motor moves once and walks for 7 steps, the zooming motor moves once and walks for 10 steps, and after three times of movement, the target position is asynchronously reached; the precision and the stability in the motion process can be ensured by accumulating the motion of the stroke through the minimum mobile unit. The asynchronous interval may be a time difference of once moving, or an interval smaller than the time difference, and the specific selection is related to the usage scene, the projection parameters, and the like.
The minimum moving unit of the zooming mechanism in the moving process of the zooming mechanism and the focusing mechanism under the condition of non-fixed distancey min Satisfy the requirement ofy min =y/a',△yWhich indicates the distance the zoom mechanism has moved,xthe projected distance is represented as a function of, a'the greatest common divisor of the moving distance of the zoom mechanism and the moving distance of the focus mechanism,a'=m'(△y,z),m'() Denotes the greatest common divisor between the variables in parentheses, ΔzMeans for indicating the distance of movement of the focusing mechanism, the minimum unit of movement of the focusing mechanismz min Satisfy the requirement ofz min = f'(x, y min
The difference between the fixed distance and the non-fixed distance is that the focusing motor moves first, the zooming motor and the focusing motor move synchronously or asynchronously after the picture is clear, and the minimum moving unit of the focusing motor and the zooming motor is consistent with the minimum moving unit if the projection distance is the same as the fixed distance after the picture is clear.
The control stability of asynchronous motion is ensured by controlling the minimum moving unit of the zooming mechanism and the focusing mechanism.
Example 5
The present embodiment is different from the above-described embodiments in that, as shown in fig. 6, the command includes a parameter indicating the distance, and the movement of the zoom mechanism is controlled based on the detection result of the change in the parameter value indicating the distance in the command, and then the movement of the focus mechanism is controlled.
In particular, the parameter may be a time parameter (using a TOF sensor) or a distance parameter or other parameter enabling the acquisition of a distance.
As shown in fig. 7, the acquisition of the parameter value change detection result indicating the distance includes the steps of:
acquiring a parameter value indicating the distance at fixed time;
judging whether the parameter value difference value of adjacent indication distances exceeds a threshold value or not, and if so, acquiring a change detection result as distance change; if not, the distance is unchanged as the change detection result is obtained. The threshold may be 20cm, which is not limited herein, and may be set according to a specific use scenario. The details of the distance detection are also applicable to the step of distance judgment in the above embodiment.
If the detection result of the parameter value change of the indicated distance is that the distance is not changed, the zoom mechanism is controlled to move according to the first relational expression (as described in the above embodiment), and then the focusing mechanism is controlled to move, so that the zoom mechanism and the focusing mechanism move asynchronously at a fixed distance, the picture is kept clear all the time in the process of the size change of the picture (when the effect is optimal), and if the control has an error, the picture is kept relatively clear. The zoom mechanism and the focus mechanism can also be controlled to move synchronously, so that the movement process meets the first relational expression, the picture change is as described above, and the synchronization here means synchronization with errors, namely asynchronization.
If the detection result of the parameter value change of the indication distance is distance change, the focusing mechanism is controlled to move according to a second relational expression (projection distance-focusing stroke step number) to enable the picture to be clear, then the focusing mechanism and the zooming mechanism are controlled to move synchronously or asynchronously according to the second relational expression (focusing stroke step number-zooming stroke step number), after the picture is from fuzzy to clear, when the picture definition is changed to be large in the process of changing the picture size or in the process of changing the picture size, the picture is from clear to fuzzy and then is from fuzzy to clear, when the picture is changed to be small, the picture is kept clear all the time.
And controlling the zooming mechanism and the focusing mechanism to move synchronously or asynchronously according to the parameter value change detection result of the indication distance in the instruction, so that the size of the picture is kept clear all the time when the size of the picture is changed, multiple operations of a user are avoided, and the user experience is improved.
Example 6
Based on the same inventive concept as the focusing method of the optical zoom, the embodiment of the application also provides a projection device.
Referring to fig. 8 and fig. 5, a projection apparatus provided in an embodiment of the present application includes a motor and a processor, where the motor is used for rotating to achieve focusing or zooming; and the processor is connected with the motor and executes a computer program to realize the focusing method of the optical zooming. The structure schematic diagram is shown in fig. 5, a focusing motor 1 and a zooming motor 3 are arranged on an optical mechanical part, the zooming motor 3 is connected with a lens 5 after being connected with a gear assembly 4, the focusing motor 1 is connected with a transmission assembly (not shown) and is connected with a focusing part lens assembly, the motor and a processor can be driven by a driving module or without the driving module, and the determination is specifically determined according to the type and parameters of the motor and the type and parameters of the processor. A telecommunications device connection diagram is shown in fig. 8. The projection device further comprises a sensor, the sensor adopts a distance sensor, the distance sensor adopts a TOF sensor, the distance between the projection device and the projection surface is detected, and the sensor is electrically connected with the processor to realize transmission of distance data. The distance sensor may also be an ultrasonic sensor, a laser radar sensor, or an infrared sensor, which is prior art and will not be described herein.
It should be understood that the structure shown in fig. 5 or 8 is merely an illustration, and the projection apparatus provided in the embodiment of the present application may also have fewer or more components than those in fig. 5 or 8, or have a different configuration from that shown in fig. 5 or 8, and the embodiment of the present application is not limited thereto.
Example 7
Based on the same inventive concept as the focusing method of the optical zoom, the embodiment of the application also provides a projection system.
The projection system comprises an instruction acquisition module and a control module, wherein the instruction acquisition module is used for acquiring an instruction, and the control module is used for controlling a focusing mechanism and a zooming mechanism according to the instruction module, adjusting the definition and/or the size of a projection picture, and controlling the focusing mechanism and the zooming mechanism to move asynchronously according to the instruction, so that the projection picture is kept clear when the size is changed; the projection system further comprises a distance detection module for detecting the distance between the projection system and the projection surface. The details of controlling the focusing mechanism and the zooming mechanism are the same as the above embodiments, and are not described herein.
In addition, an embodiment of the present application further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed, the method for focusing an optical zoom provided in the foregoing method embodiment is implemented.
In summary, the pass acquisition instruction provided by the present application; controlling a focusing mechanism and a zooming mechanism to adjust the definition and/or size of a projection picture according to the instruction; the asynchronous motion of the zooming mechanism and the focusing mechanism is controlled, the image is guaranteed to be clear while the image is zoomed, multiple operations are avoided, and the user experience is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in each embodiment of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in each embodiment of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), a magnetic disk, or an optical disk.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Moreover, it is noted that, in this document, relational terms such as "first," "second," "third," and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.

Claims (10)

1. A focusing method of optical zooming is characterized in that the method is applied to a projection device, the projection device comprises a processor, a focusing mechanism and a zooming mechanism, and the method comprises the following steps:
acquiring an instruction;
controlling a focusing mechanism and a zooming mechanism to adjust the definition and/or size of a projection picture according to the instruction;
controlling a focusing mechanism and a zooming mechanism to adjust the definition and/or the size of a projection picture according to the instruction comprises the following steps:
controlling the focusing mechanism and the zooming mechanism to move asynchronously according to the instruction, so that the projection picture can keep clear when the size of the projection picture is changed;
the command comprises a parameter indicating the distance, and the movement of the focusing mechanism is controlled after the movement of the zooming mechanism is controlled according to a detection result of the change of the parameter value indicating the distance in the command;
if the detection result of the parameter value change of the indicated distance is that the distance is unchanged, controlling the zoom mechanism to move according to the first relational expression and then controlling the focusing mechanism to move;
if the detection result of the parameter value change of the indicated distance is the distance change, the focusing mechanism is controlled to move firstly according to the second relational expression, and then the focusing mechanism and the zooming mechanism are controlled to move synchronously or asynchronously according to the second relational expression;
when the focusing mechanism is controlled to move according to the second relational expression, scanning in a small range at the position of the current focusing motor, recording the change of a focusing position, collecting a corresponding projection picture by using a camera for definition calculation, selecting the focusing position with the highest definition in the range as a target position, moving the focusing mechanism to the target position, and finishing fine-tuning focusing;
controlling the focusing mechanism and the zooming mechanism to move according to a relational expression in the asynchronous movement of the focusing mechanism and the zooming mechanism;
controlling the focusing mechanism and the zooming mechanism to move asynchronously under the non-fixed projection distance according to a second relational expression, wherein the second relational expression is that z is f '(x, y), y represents the zooming stroke step number of the zooming mechanism, x represents the projection distance, z represents the focusing stroke step number of the focusing mechanism, and f' () represents the functional relation among the projection distance, the zooming stroke step number of the zooming mechanism and the focusing stroke step number of the focusing mechanism;
the minimum moving unit y of the zooming mechanism in the movement process of the zooming mechanism and the focusing mechanismminSatisfy the requirement of
Figure FDA0002607383880000021
Δ y represents the moving distance of the zoom mechanism, x represents the projection distance, Δ z represents the moving distance of the focus mechanism, a' represents the greatest common divisor of the moving distance of the zoom mechanism and the moving distance of the focus mechanism, and the minimum moving unit z of the focus mechanismminSatisfies zmin=f'(x,ymin)。
2. The method according to claim 1, wherein the focus mechanism and the zoom mechanism are controlled to move asynchronously at a fixed projection distance according to a first relation, wherein the first relation is d ═ f (b), b represents the zoom stroke step number of the zoom mechanism, d represents the focus stroke step number of the focus mechanism, and f () represents a functional relationship between the zoom stroke step number of the zoom mechanism and the focus stroke step number of the focus mechanism.
3. The method of claim 1, wherein controlling the focus mechanism and the zoom mechanism to move asynchronously at a fixed throw distance comprises controlling the focus mechanism to move after controlling the zoom mechanism to move according to the first relationship.
4. The method of claim 1, wherein controlling the focus mechanism and the zoom mechanism to move asynchronously at the non-fixed throw distance comprises controlling the focus mechanism to move after controlling the focus mechanism to move according to the second relationship or controlling the focus mechanism to move after controlling the zoom mechanism to move according to the second relationship.
5. The optical zoom focusing method according to claim 2, wherein the minimum focusing mechanism moving unit b during the movement of the zoom mechanism and the focus mechanismminSatisfy the requirement of
Figure FDA0002607383880000031
Δ b represents the moving distance of the zoom mechanism, Δ d represents the moving distance of the focus mechanism, a represents the greatest common divisor of the moving distance of the zoom mechanism and the moving distance of the focus mechanism, and the minimum moving unit d of the focus mechanismminSatisfy dmin=f(bmin)。
6. The method according to claim 2, wherein the obtaining of the first relation comprises:
changing the zooming stroke steps of the zooming mechanism under a fixed projection distance, simultaneously recording the focusing stroke steps of the focusing mechanism corresponding to the clear points, and acquiring the zooming stroke steps of the multiple groups of zooming mechanisms and the focusing stroke steps of the focusing mechanism;
and fitting a first relational expression according to the zooming stroke steps of the multiple groups of zooming mechanisms and the focusing stroke steps of the focusing mechanism.
7. The method according to claim 1, wherein the obtaining of the second relation comprises:
changing the zooming stroke step number of the zooming mechanism under a plurality of projection distances, simultaneously recording the focusing stroke step number of the focusing mechanism corresponding to the clear point, and acquiring a plurality of groups of projection distances, the zooming stroke step number of the zooming mechanism and the focusing stroke step number data of the focusing mechanism;
and fitting a second relational expression according to the multiple groups of projection distances, the zooming stroke step number of the zooming mechanism and the focusing stroke step number data of the focusing mechanism.
8. A projection device, comprising:
a motor for rotating to realize focusing or zooming;
a processor connected to the motor and executing a computer program to implement the focusing method of optical zooming as claimed in any one of claims 1 to 7.
9. A projection system, comprising:
the instruction acquisition module is used for acquiring an instruction;
the control module is used for controlling the focusing mechanism and the zooming mechanism to adjust the definition and/or the size of the projection picture according to the instruction, and controlling the focusing mechanism and the zooming mechanism to asynchronously move according to the instruction so that the projection picture can keep clear when the size is changed;
the command comprises a parameter indicating the distance, and the movement of the focusing mechanism is controlled after the movement of the zooming mechanism is controlled according to a detection result of the change of the parameter value indicating the distance in the command;
if the detection result of the parameter value change of the indicated distance is that the distance is unchanged, controlling the zoom mechanism to move according to the first relational expression and then controlling the focusing mechanism to move;
if the detection result of the parameter value change of the indicated distance is the distance change, the focusing mechanism is controlled to move firstly according to the second relational expression, and then the focusing mechanism and the zooming mechanism are controlled to move synchronously or asynchronously according to the second relational expression;
when the focusing mechanism is controlled to move according to the second relational expression, scanning in a small range at the position of the current focusing motor, recording the change of a focusing position, collecting a corresponding projection picture by using a camera for definition calculation, selecting the focusing position with the highest definition in the range as a target position, moving the focusing mechanism to the target position, and finishing fine-tuning focusing;
controlling the focusing mechanism and the zooming mechanism to move according to a relational expression in the asynchronous movement of the focusing mechanism and the zooming mechanism;
controlling the focusing mechanism and the zooming mechanism to move asynchronously under the non-fixed projection distance according to a second relational expression, wherein the second relational expression is that z is f '(x, y), y represents the zooming stroke step number of the zooming mechanism, x represents the projection distance, z represents the focusing stroke step number of the focusing mechanism, and f' () represents the functional relation among the projection distance, the zooming stroke step number of the zooming mechanism and the focusing stroke step number of the focusing mechanism;
the minimum moving unit y of the zooming mechanism in the movement process of the zooming mechanism and the focusing mechanismminSatisfy the requirement of
Figure FDA0002607383880000051
Δ y represents the moving distance of the zoom mechanism, x represents the projection distance, Δ z represents the moving distance of the focus mechanism, a' represents the greatest common divisor of the moving distance of the zoom mechanism and the moving distance of the focus mechanism, and the minimum moving unit z of the focus mechanismminSatisfies zmin=f'(x,ymin)。
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed, implements a method of focusing an optical zoom according to any one of claims 1 to 7.
CN202010342831.2A 2020-04-27 2020-04-27 Focusing method for optical zooming, projection device and storage medium Active CN111294581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010342831.2A CN111294581B (en) 2020-04-27 2020-04-27 Focusing method for optical zooming, projection device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010342831.2A CN111294581B (en) 2020-04-27 2020-04-27 Focusing method for optical zooming, projection device and storage medium

Publications (2)

Publication Number Publication Date
CN111294581A CN111294581A (en) 2020-06-16
CN111294581B true CN111294581B (en) 2020-12-15

Family

ID=71019459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010342831.2A Active CN111294581B (en) 2020-04-27 2020-04-27 Focusing method for optical zooming, projection device and storage medium

Country Status (1)

Country Link
CN (1) CN111294581B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112650015A (en) * 2020-12-25 2021-04-13 成都极米科技股份有限公司 Small-size automatic optical zoom projector and complete machine stacking method
CN114827558A (en) * 2021-03-10 2022-07-29 成都极米科技股份有限公司 Projection picture adjusting method and device, projection equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629072A (en) * 2012-02-29 2012-08-08 苏州佳世达光电有限公司 Semi-automatic focusing method of projector and projector
CN105372916A (en) * 2014-08-08 2016-03-02 佳能株式会社 Image projection apparatus and method of controlling the same
CN107589625A (en) * 2017-09-30 2018-01-16 歌尔科技有限公司 The automatic zooming method and projecting apparatus of projecting apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4478419B2 (en) * 2003-09-02 2010-06-09 キヤノン株式会社 LENS CONTROL DEVICE, OPTICAL DEVICE, AND LENS CONTROL METHOD
CN104238236B (en) * 2014-09-05 2016-11-16 浙江宇视科技有限公司 A kind of movement camera lens zoom follower method and device
CN105704362A (en) * 2014-11-25 2016-06-22 宁波舜宇光电信息有限公司 Zoom tracking curve acquisition system and method thereof
US10122976B2 (en) * 2014-12-25 2018-11-06 Panasonic Intellectual Property Management Co., Ltd. Projection device for controlling a position of an image projected on a projection surface
CN110225235B (en) * 2018-03-01 2021-03-09 浙江宇视科技有限公司 Zoom following method and electric lens

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629072A (en) * 2012-02-29 2012-08-08 苏州佳世达光电有限公司 Semi-automatic focusing method of projector and projector
CN105372916A (en) * 2014-08-08 2016-03-02 佳能株式会社 Image projection apparatus and method of controlling the same
CN107589625A (en) * 2017-09-30 2018-01-16 歌尔科技有限公司 The automatic zooming method and projecting apparatus of projecting apparatus

Also Published As

Publication number Publication date
CN111294581A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN111294581B (en) Focusing method for optical zooming, projection device and storage medium
CN101776835B (en) Imaging apparatus and its control method
JP2015522959A (en) Systems, methods, and media for providing interactive refocusing in images
JP2008035308A (en) Electronic camera and lens unit
CN110769230B (en) Focusing method and device and projection equipment
CN111787297B (en) Idle stroke calibration method, automatic focusing method, device and storage medium
JP2014211574A (en) Imaging apparatus, and control method and program therefor
JP6066851B2 (en) Stepping motor control device and optical device
CN104853105A (en) Three-dimensional rapid automatic focusing method based on photographing device capable of controlling inclination of lens
US9756236B2 (en) Photographing apparatus and control method for photographing apparatus
WO2021184341A1 (en) Autofocus method and camera system thereof
CN111343443B (en) Optical zooming focusing method, projection device and storage medium
JP7379039B2 (en) Lens device, imaging device, lens device control method, and program
US20070058962A1 (en) Lens apparatus
US10367991B2 (en) Focus adjustment device and control method of focus adjustment device
US9083955B2 (en) Three-dimensional image pickup system
JP2003202488A (en) Zoom lens control system and method
JP7057200B2 (en) Imaging device
JP4721395B2 (en) LENS CONTROL DEVICE, OPTICAL DEVICE, AND LENS CONTROL METHOD
JP6679679B2 (en) Control device, method and program
JP6073114B2 (en) Robot camera control device, program thereof, and multi-viewpoint robot camera system
JP7431607B2 (en) Focus control device, pan focus camera and program
JP2017134322A (en) Lens device
CN115022548A (en) Control method, control device, electronic apparatus, and medium
JP2010224165A (en) Imaging apparatus

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
CP03 Change of name, title or address

Address after: 610000 building 4, zone a, Tianfu Software Park, No. 1129, shijicheng Road, high tech Zone, Chengdu, Sichuan

Patentee after: Jimi Technology Co.,Ltd.

Address before: No.2, floor 2, unit 1, building 4, Tianfu Software Park, no.1129, shijicheng Road, hi tech Zone, Chengdu, Sichuan 610041

Patentee before: Chengdu Jimi Technology Co.,Ltd.

CP03 Change of name, title or address