WO2019062211A1 - 一种成像设备和一种镜头调焦方法 - Google Patents

一种成像设备和一种镜头调焦方法 Download PDF

Info

Publication number
WO2019062211A1
WO2019062211A1 PCT/CN2018/091256 CN2018091256W WO2019062211A1 WO 2019062211 A1 WO2019062211 A1 WO 2019062211A1 CN 2018091256 W CN2018091256 W CN 2018091256W WO 2019062211 A1 WO2019062211 A1 WO 2019062211A1
Authority
WO
WIPO (PCT)
Prior art keywords
electrical signal
level
focus
grating
lens
Prior art date
Application number
PCT/CN2018/091256
Other languages
English (en)
French (fr)
Inventor
袁炜军
Original Assignee
杭州海康威视数字技术股份有限公司
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
Priority claimed from CN201710940346.3A external-priority patent/CN109597263B/zh
Priority claimed from CN201721282426.6U external-priority patent/CN207249317U/zh
Application filed by 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Priority to US16/648,574 priority Critical patent/US11082601B2/en
Priority to EP18863571.8A priority patent/EP3690544A4/en
Publication of WO2019062211A1 publication Critical patent/WO2019062211A1/zh

Links

Images

Classifications

    • 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
    • G03B3/00Focusing arrangements of general interest for cameras, projectors or printers
    • G03B3/10Power-operated focusing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/02Mountings, adjusting means, or light-tight connections, for optical elements for lenses
    • G02B7/04Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/02Mountings, adjusting means, or light-tight connections, for optical elements for lenses
    • G02B7/04Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification
    • G02B7/10Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification by relative axial movement of several lenses, e.g. of varifocal objective lens
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof

Definitions

  • the present application relates to the field of information processing technologies, and in particular, to an imaging device and a lens focusing method.
  • the focusing mode of the lens on the imaging device includes automatic focusing and manual focusing.
  • FIG. 1 is a schematic structural diagram of a focusing device for realizing lens focusing by using an optical gear connection of an imaging device in the related art.
  • the mechanical focus wheel 101 meshes with the gear of the adapter ring 102, and the adapter ring 102 is fixedly coupled to the cam 104 via the pin 103.
  • One end of the positioning pin 105 is located in the guide groove on the cam 104, and the other end of the positioning pin 105 is adjusted.
  • the focal lens barrel 106 is fixedly connected.
  • the lens focusing can be achieved by applying the above device, the number of parts included in the focusing device is large, the machining accuracy is high, and the transmission between the gears is complicated. This not only makes the processing cost of the focusing device high and difficult, but also cannot meet the needs of mass production of the focusing device.
  • Embodiments of the present application provide an imaging apparatus and a lens focusing method for realizing manual focusing of a lens using a photosensor and a grating.
  • the specific technical solutions are as follows:
  • an embodiment of the present application provides an imaging apparatus, including: a focus wheel, two photoelectric sensors, at least three gratings, a processor, a motor component, and a lens, wherein the at least three The gratings in the gratings are distributed on the inner sidewall of the focusing wheel, and there are grating gaps of equal width between adjacent gratings; when the focusing wheel rotates, the gratings in the at least three gratings pass through the grating Two photoelectric sensors;
  • the processor configured to determine a first electrical signal generated by a first one of the two photosensors, wherein a level of the first electrical signal passes through a grating of the at least three gratings Change when the first photosensor is described;
  • the processor configured to determine a second electrical signal generated by a second one of the two photosensors, wherein a level of the second electrical signal passes through a grating in the at least three gratings
  • the second photosensor changes when it is described
  • the processor is configured to determine a current rotation direction of the focus wheel based on the preset parameter table according to the first electrical signal and the second electrical signal, where the parameter table includes the first Corresponding relationship between an electrical signal, the second electrical signal and a direction of rotation of the focus wheel;
  • the processor is configured to determine a current rotation angle of the focus wheel according to a number of level jumps of the first electrical signal or a number of level jumps of the second electrical signal, where The level jumps from a high level to a low level or from a low level to a high level;
  • the processor is configured to drive the motor component to focus the lens based on a current rotation direction of the focus wheel and a current rotation angle of the focus wheel.
  • the processor is specifically configured to:
  • the focusing direction of the lens includes axial zooming and axial pushing;
  • the motor component is driven to focus on the lens based on a current focus direction of the lens and a current focus distance of the lens.
  • the current rotation angle of the focus wheel is equal to the number of the level jumps multiplied by an angle of a grating period, wherein the angle of the grating period is a grating period at the focus wheel An angle on the inner sidewall, the grating period consisting of a grating and an adjacent grating gap.
  • the image forming apparatus further includes a fixing member, and the two photoelectric sensors are mounted on the fixing member;
  • the grating ratio is a preset value, and the current phase difference between the positions of the two photosensors on the fixing member is in accordance with a preset phase difference with respect to the grating period;
  • the ratio of the grating is: a ratio of the width of one grating to the width of one grating period, the grating period consisting of a grating and an adjacent grating gap; the current phase difference is according to an angle of the grating period and Calculated by the angle of the sensor, the angle of the grating period is an angle of a grating period on the inner side wall of the focusing wheel, and the angle between the sensors is the two photoelectric sensors at the focusing wheel The angle on the inner side wall.
  • the preset phase difference ⁇ is: 0 ⁇ 360° and ⁇ 180°;
  • the preset phase difference ⁇ is: 0 ⁇ ⁇ ⁇ d * 360 ° or (1-d) * 360 ° ⁇ ⁇ ⁇ 360 °;
  • the predetermined phase difference ⁇ is: 0 ⁇ ⁇ ⁇ (1-d) * 360 ° or d * 360 ° ⁇ ⁇ ⁇ 360 °.
  • the parameter table includes five consecutive level signals of the first electrical signal, five consecutive level signals of the second electrical signal corresponding to the first electrical signal, and a tone Correspondence between the directions of rotation of the focal wheel.
  • the parameter table includes:
  • a third level state sequence of a low level, a low level, a high level, a high level, and a low level of the first electrical signal, and a low level, a high level, and a high level of the second electrical signal a fourth level state sequence of flat, low level, low level, and a corresponding relationship between three directions of rotation in a counterclockwise direction;
  • the phase of the first photosensor with respect to the grating period is smaller than the phase of the second photosensor with respect to the grating period.
  • the processor is specifically configured to:
  • the first position and the second position are the same, determining that the current rotation direction of the focus wheel is a clockwise direction; the first position is that two adjacent level states of the first electrical signal are in the Determining a position of the first level state sequence, wherein the second position is a position of two adjacent level states in the second electrical signal at the second level state sequence;
  • the third position and the fourth position are the same, determining that the current rotation direction of the focus wheel is a counterclockwise direction; the third position is that two adjacent level states of the first electrical signal are in the The position of the third level state sequence, wherein the fourth position is a position of two adjacent level states in the second electrical signal at the fourth level state sequence.
  • an embodiment of the present application further provides a lens focusing method, which is applied to an imaging device, wherein the imaging device includes: a focus wheel, two photoelectric sensors, at least three gratings, a processor, and a motor. a component and a lens, wherein a grating of the at least three gratings is distributed on an inner sidewall of the focusing wheel, and an equal width grating gap exists between adjacent gratings, when the focusing wheel rotates, A grating of at least three gratings passes through the two photosensors; the method comprising:
  • the processor determines a first electrical signal generated by a first one of the two photosensors, wherein a level of the first electrical signal passes through the first grating in the at least three gratings
  • the photoelectric sensor changes;
  • the motor component is driven to focus on the lens based on a current direction of rotation of the focus wheel and a current angle of rotation of the focus wheel.
  • the step of driving the motor component to focus the lens based on a current rotation direction of the focus wheel and a current rotation angle of the focus wheel includes:
  • the focusing direction includes axial drawing and axial pushing;
  • the motor component is driven to focus the lens based on a focus direction of the lens and a focus distance of the lens.
  • the current rotation angle of the focus wheel is equal to the number of the level jumps multiplied by an angle of a grating period, wherein the angle of the grating period is a grating period at the focus wheel An angle on the inner sidewall, the grating period consisting of a grating and an adjacent grating gap.
  • the image forming apparatus further includes a fixing member, and the two photoelectric sensors are mounted on the fixing member;
  • the grating ratio is a preset value, and the current phase difference of the two photosensors conforms to a preset phase difference with respect to the grating period;
  • the ratio of the grating is: a ratio of the width of one grating to the width of one grating period, the grating period consisting of a grating and an adjacent grating gap; the current phase difference is according to an angle of the grating period and Calculated by the angle of the sensor, the angle of the grating period is an angle of a grating period on the inner side wall of the focusing wheel, and the angle between the sensors is the two photoelectric sensors at the focusing wheel The angle on the inner side wall.
  • the preset phase difference ⁇ is: 0 ⁇ 360° and ⁇ 180°;
  • the preset phase difference ⁇ is: 0 ⁇ ⁇ ⁇ d * 360 ° or (1-d) * 360 ° ⁇ ⁇ ⁇ 360 °;
  • the predetermined phase difference ⁇ is: 0 ⁇ ⁇ ⁇ (1-d) * 360 ° or d ⁇ ⁇ ⁇ 360 °.
  • the parameter table includes five consecutive level signals of the first electrical signal, five consecutive level signals of the second electrical signal corresponding to the first electrical signal, and a tone Correspondence between the directions of rotation of the focal wheel.
  • the parameter table includes:
  • the phase of the first photosensor with respect to the grating period is smaller than the phase of the second photosensor with respect to the grating period.
  • the step of determining a current rotation direction of the focus wheel based on the preset parameter table according to the first electrical signal and the second electrical signal includes:
  • the first position is the same as the second position, determining that the current rotation direction of the focus wheel is a clockwise direction; the first position is that two adjacent level states in the first electrical signal are in the a position of the first level state sequence, wherein the second position is a position of two adjacent level states in the second electrical signal at the second level state sequence;
  • the third position is the same as the fourth position, determining that the current rotation direction of the focus wheel is a counterclockwise direction; the third position is that two adjacent level states in the first electrical signal are in the a position of the third level state sequence, the fourth position being a position of two adjacent level states in the second electrical signal at the fourth level state sequence.
  • an embodiment of the present application further provides an imaging device, including: a focus wheel, two photoelectric sensors, a fixing member, a processor, a motor component, a main lens barrel, a focusing lens barrel, First lens
  • the focusing lens barrel is axially movably disposed in the main lens barrel;
  • the first lens is fixedly disposed in the main lens barrel
  • the inner side wall of the focus wheel is provided with at least two gratings, and the grating gap between two adjacent gratings is equal; the grating passes through the two photoelectric sensors when the focusing wheel rotates;
  • the fixing member is fixed to the outer side wall of the main lens barrel in the direction of the motor component, the two photoelectric sensors are mounted on the fixing member, and the focusing wheel is rotatably mounted on the main mirror An outer side wall of the tube away from the direction of the motor component, a first gap exists between the focus wheel and the fixing member along an axial direction of the main lens barrel;
  • the motor component is mounted on an outer sidewall of the main barrel;
  • the photoelectric sensor is configured to generate an electrical signal, and send the generated electrical signal to the processor; the electrical signal generated by the photoelectric sensor changes when the grating passes through the photoelectric sensor;
  • the processor is electrically connected to the motor component, and the processor is configured to drive the motor to drive the focus lens barrel to move according to an electrical signal sent by the photoelectric sensor.
  • the imaging device further includes: a second lens
  • the second lens is fixedly disposed in the focusing lens barrel.
  • the image forming apparatus further includes: a pin;
  • the motor component and the focusing lens barrel are connected by the pin;
  • the motor component is configured to drive the focus lens barrel to move axially by the pin to adjust a relative position between the second lens and the first lens.
  • the positions of the two photoelectric sensors on the fixing member are at a preset angle.
  • the distance between the positions of the two photosensors on the fixing member is greater than or equal to one grating period, and the grating period is formed by one grating and one adjacent grating gap.
  • the fixing member is fixedly disposed on an outer sidewall of the main lens barrel in a direction close to the motor component;
  • the focus wheel is rotatably sleeved on an outer side wall of the main barrel in a direction away from the motor component;
  • the imaging device further includes: a focus adjustment ring;
  • the focus ring is connected to the fixing member
  • the focus ring is set on an outer sidewall of the main barrel
  • the focus wheel is disposed on an outer sidewall of the focus ring.
  • the imaging device further includes: a PCB board;
  • the PCB board is fixedly mounted on the fixing member; the two photoelectric sensors are mounted on the PCB board.
  • the grating is distributed over the entire circumference of the inner side wall of the focus wheel; or the grating is distributed on a part of the circumference of the inner side wall of the focus wheel.
  • an imaging device and a lens focusing method provided by the embodiments of the present application can determine the current rotation direction of the focus wheel and the current rotation angle by using the photoelectric sensor, so that the current adjustment wheel can be determined according to the current The direction of rotation and the current rotation angle determine the focusing direction and focusing distance of the lens to achieve accurate focusing of the lens.
  • the device using the photoelectric sensor for focusing has a simple structure, a small number of parts, and low processing difficulty, which not only reduces the equipment cost, but also satisfies the needs of mass production.
  • implementing any of the products or methods of the present application necessarily does not necessarily require all of the advantages described above to be achieved at the same time.
  • FIG. 1 is a schematic structural view of a focusing device for realizing lens focusing by using an optical gear connection in an image forming apparatus according to the related art
  • FIG. 2 is a flow chart of a method for determining a lens focusing parameter according to an embodiment of the present application
  • FIG. 3 is a structural diagram of a photoelectric sensor according to an embodiment of the present application.
  • FIG. 4 is a first schematic diagram of electrical signals generated by two photosensors in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a grating and a grating gap according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a position of a photoelectric sensor according to an embodiment of the present application.
  • FIG. 7 is a first schematic diagram of an image forming apparatus according to an embodiment of the present application.
  • FIG. 8 is a second schematic diagram of an image forming apparatus according to an embodiment of the present application.
  • FIG. 9 is a first schematic diagram of a photoelectric sensor component according to an embodiment of the present application.
  • FIG. 10 is a second schematic diagram of a photosensor component according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of electrical connections between a processor and a motor component 4 according to an embodiment of the present application.
  • FIG. 12 is a specific flowchart of step 202 in the embodiment of the present application.
  • FIG. 13 is a second schematic diagram of electrical signals generated by two photosensors in an embodiment of the present application.
  • FIG. 14 is a third schematic diagram of electrical signals generated by two photosensors in an embodiment of the present application.
  • 15 is a fourth schematic diagram of electrical signals generated by two photosensors in an embodiment of the present application.
  • 16 is a fifth schematic diagram of an electrical signal generated by two photosensors in an embodiment of the present application.
  • 17 is a sixth schematic diagram of electrical signals generated by two photosensors in the embodiment of the present application.
  • 18 is a seventh schematic diagram of electrical signals generated by two photosensors in an embodiment of the present application.
  • FIG. 19 is a schematic diagram of an image forming apparatus according to an embodiment of the present application.
  • the embodiment of the present application provides a lens focusing method applied to an imaging device.
  • the imaging device comprises: a focus wheel, two photoelectric sensors, at least three gratings, a processor, a motor component and a lens, wherein the gratings in the at least three gratings are distributed on the inner side wall of the focus wheel, adjacent There are grating gaps of equal width between the gratings.
  • the focus wheel rotates, the grating passes through two photosensors.
  • the grating provided on the inner side wall of the focus wheel 1 is a toothed protrusion, and the toothed protrusion may be a rectangular parallelepiped or a square body. Of course, other shapes may be used.
  • a grating can be used as a tooth on the focus wheel, and the grating gap is the tooth gap.
  • the two photosensors are respectively a first photosensor and a second photosensor.
  • FIG. 2 is a flowchart of a method for determining a lens focusing parameter according to an embodiment of the present application, including the following steps:
  • Step 201 Determine a first electrical signal generated by the first photosensor; and determine a second electrical signal generated by the second photosensor.
  • the first photosensor generates a first electrical signal
  • the level of the first electrical signal changes when the grating of the at least three gratings passes through the first photosensor.
  • the second photosensor generates a second electrical signal that changes in level as the grating in at least three of the gratings passes through the second photosensor.
  • the positions of the first photosensor and the second photosensor are not limited, and it is only necessary to ensure that the grating passes through the two photosensors when the focus wheel rotates.
  • step 201 the processor determines a first electrical signal generated by the first one of the two photosensors, and determines a second electrical signal generated by the second photosensor of the two photosensors.
  • FIG. 3 is a photoelectric sensor provided by the embodiment of the present application. A structural diagram in which an optical axis exists between a light emitting point and a light receiving point on a photosensor.
  • the electrical signal generated by the photoelectric sensor changes, for example, the electrical signal generated by the photoelectric sensor changes from a low level to a high level, or is high The level goes low.
  • At least two identical gratings are disposed on the focus wheel, and there are grating gaps of equal width between adjacent gratings.
  • the duration of the optoelectronic sensor's optic axis is occluded, and the duration of the optoelectronic sensor's optic axis is not blocked, then the duration of the photosensor generating the high level electrical signal is All are equal, and the duration of the electrical signals generated by the photosensors at a low level are equal.
  • FIG. 4 is a first schematic diagram of electrical signals generated by two photosensors in the embodiment of the present application.
  • the grating passes through two photoelectric sensors respectively, the first electrical signal generated by the first photoelectric sensor is pulse A, and the second electrical signal generated by the second photoelectric sensor is pulse B.
  • the level state of the pulse A is in order of time: low level, high level, high level, low level, low level, high level, high level, low level, low level. If 0 is used for low level and 1 is used for high level, the level state of pulse A can be expressed as: 0, 1, 1, 0, 0, 1, 1, 0, 0.
  • the level state of the pulse B is in chronological order: low level, low level, high level, high level, low level, low level, high level, high level, low level. . If 0 is used for low level and 1 is used for high level, the level state of pulse B can be expressed as: 0, 0, 1, 1, 0, 0, 1, 1, 0.
  • 0 represents a low level and 1 represents a high level.
  • Step 202 Determine a current rotation direction of the focus wheel based on the preset parameter table according to the first electrical signal and the second electrical signal.
  • the parameter table includes a correspondence relationship between the first electrical signal, the second electrical signal, and the rotation direction of the focus wheel.
  • the processor of the imaging device determines the current rotation direction of the focus wheel according to the determined electrical signals respectively generated by the two photoelectric sensors and the preset parameter table to further determine the focusing direction of the lens.
  • the rotation directions of the focus wheel are different, the correspondence relationship between the two optical signals respectively generated by the two photoelectric sensors is different, and may be based on the first electrical signal, the second electrical signal and the focus wheel in the parameter table.
  • the corresponding relationship between the directions of rotation determines the current direction of rotation of the focus wheel based on the two electrical signals generated by the two photosensors.
  • Step 203 Determine a current rotation angle of the focus wheel according to a level of the first electrical signal or the second electrical signal.
  • Step 203 is to determine, by the processor, the current rotation angle of the focus wheel according to the number of levels of the first electrical signal or the number of levels of the second electrical signal.
  • the number of level jumps is the number of level jumps.
  • Level transitions include a high-level transition to a low level and a low-level transition to a high level. In this step, when determining the current rotation angle of the focus wheel, the level jump changes from high level to low level or from low level to high level.
  • the processor of the imaging device determines the rotation angle of the focus wheel according to the level jump condition of the electrical signal generated by one of the two photoelectric sensors to further determine the focus distance of the lens.
  • the current rotation angle of the focus wheel is equal to the number of level jumps multiplied by an angle of a grating period, wherein the angle of the grating period is a corresponding period of the grating period on the inner side wall of the focus wheel
  • the angle, the grating period consists of a grating and an adjacent grating gap.
  • the current rotation angle of the focus wheel is determined according to the following formula:
  • is the current rotation angle of the focus wheel
  • n is the number of level jumps of the first electrical signal or the number of level jumps of the second electrical signal
  • is an angle of a grating period
  • FIG. 5 is a schematic diagram of a grating and a grating gap according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of a position of a photoelectric sensor according to an embodiment of the present application.
  • 1 is a focus wheel
  • grating 501 is a block-shaped shaded portion on the focus wheel 1
  • grating gap 502 is the interval between adjacent gratings 501
  • 503 is a grating period.
  • the grating 501 is a circular ring grating
  • is the angle of the grating period, that is, ⁇ is the angle of the tooth period.
  • the quadrilateral uniformly distributed on the radial circle of the grating is the grating 501.
  • the number of level jumps of the first electrical signal or the number of level jumps of the second electrical signal may be calculated according to the number of rising edges or falling edges of the first electrical signal or the second electrical signal.
  • the number of level jumps of the first electrical signal can be calculated based on the number of rising or falling edges of the first electrical signal.
  • the number of level jumps of the second electrical signal can be calculated based on the number of rising or falling edges of the second electrical signal.
  • the number of level jumps is equal to the number of rising edges, or the number of level jumps is equal to the number of falling edges.
  • the more the level jump of the first electrical signal or the more the level jump of the second electrical signal the greater the current rotation angle of the calculated focus wheel, and thus the focus adjustment distance of the lens. The farther it is.
  • the current rotation angle of the focus wheel may be determined by considering the number of rising edges or falling edges of the electrical signals generated by the two photoelectric sensors.
  • the processor can drive the motor component to focus the lens based on the current rotation direction of the focus wheel and the current rotation angle of the focus wheel.
  • the lens focusing method can determine the current rotation direction of the focus wheel and the current rotation angle by using the photoelectric sensor, so that the lens can be determined according to the determined current rotation direction of the focal wheel and the current rotation angle. Focusing direction and focusing distance for focusing on the lens.
  • the device using the photoelectric sensor for lens focusing has a simple structure, a small number of parts, and low processing difficulty, which not only reduces the equipment cost, but also satisfies the needs of mass production.
  • the method further includes: based on a current rotation direction of the focus wheel and a current rotation angle of the focus wheel, The drive motor unit focuses the lens.
  • the driving motor component adjusts the lens, which may include:
  • the motor components are used to focus the lens.
  • the first parameter configuration includes a correspondence relationship between a rotation direction of the focus wheel and a focus direction of the lens.
  • the focus direction of the lens moves along the axial direction.
  • the focusing direction of the lens includes axial zooming and axial pushing.
  • the second parameter configuration includes a correspondence relationship between a rotation angle of the focus wheel and a focus adjustment distance of the lens.
  • the processor may determine a focus direction of the lens along the axial direction according to the first parameter configuration.
  • the first parameter configuration defines a correspondence relationship between a rotation direction of the focus wheel and a focus direction of the lens. For example, when the direction of rotation of the focus wheel is clockwise, the focus direction of the lens is zoomed along the axis; when the direction of rotation of the focus wheel is counterclockwise, the focus direction of the lens is pushed away in the axial direction. .
  • the first parameter configuration may further specify a correspondence between a focusing direction of the lens and a rotating direction of the motor component. For example, when the focusing direction of the lens is zoomed along the axis, the rotation direction of the motor component is clockwise; when the focusing direction of the lens is pushed away in the axial direction, the rotation direction of the motor component is counterclockwise.
  • the processor may determine the focus distance of the lens along the axial direction according to the second parameter configuration.
  • the second parameter configuration defines a correspondence relationship between a rotation angle of the focus wheel and a focus adjustment distance of the lens. For example, if the focus wheel is rotated 5 degrees, the corresponding lens has a focus distance of 0.1 cm. When the angle of rotation of the focus wheel is 10 degrees, the focal length of the corresponding lens is 0.2 cm.
  • the second parameter configuration may further specify a correspondence between a focus distance of the lens and a number of revolutions of the motor component. For example, it is prescribed that the focusing distance of the lens is 0.1 cm, and the motor component is rotated by one turn, so that when the focusing distance of the lens is 0.2 cm, the number of rotations of the motor component is two.
  • the motor component can accurately focus the lens according to the determined focusing distance and focusing direction.
  • the processor determines the rotation direction and the rotation angle of the focus wheel according to the electrical signals generated by the two photoelectric sensors, and then, based on the first parameter configuration and the second parameter configuration, according to the current rotation direction of the focus wheel and the current
  • the rotation angle determines the current focusing direction of the lens and the current focusing distance, so that the motor component can accurately focus the lens according to the determined current focusing direction and the current focusing distance.
  • FIG. 7 is a first schematic diagram of a handheld infrared thermal imaging device according to an embodiment of the present disclosure
  • FIG. 8 is a second schematic diagram of a handheld infrared thermal imaging device according to an embodiment of the present disclosure.
  • FIG. 10 is a second schematic diagram of a photosensor component provided by an embodiment of the present application.
  • the image forming apparatus in the embodiment of the present application is not limited to the image forming apparatus shown in FIGS. 7 to 10.
  • the image forming apparatus includes a focus wheel 1, two photosensors 2, a fixture 3, a motor component 4, a main barrel 5, a focus lens barrel 6, and a first lens 7.
  • the focus lens barrel 6 is disposed in the main barrel 5 in an axially movable manner.
  • the first lens 7 is fixedly disposed within the main barrel 5.
  • the fixing member 3 is fixed on the outer side wall of the main lens barrel 5 in the direction of the motor component 4, and the two photoelectric sensors 2 are mounted on the fixing member 3.
  • the focusing wheel 1 is rotatably mounted on the main lens barrel 5 away from the motor component 4.
  • the outer side wall has a first gap between the focus wheel 1 and the fixing member 3 in the axial direction of the main barrel 5.
  • the motor component 4 is mounted on the outer side wall of the main barrel 5.
  • At least two gratings are disposed on the inner side wall of the focus wheel 1, and the grating gaps between the adjacent two gratings are equal.
  • the grating passes through the two photosensors 2 as the focus wheel 1 rotates.
  • the photosensor 2 is configured to generate an electrical signal and send the generated electrical signal to the processor.
  • the electrical signal generated by the photosensor 2 changes as the grating passes through the photosensor 2.
  • the two photosensors 2 include a first photosensor and a second photosensor.
  • the first photosensor generates a first electrical signal and transmits the generated first electrical signal to a processor
  • the second photosensor generates a second electrical signal, and transmits the generated second electrical signal to a processor.
  • the processor is electrically connected to the motor component 4, and the processor is configured to drive the motor component 4 to drive the focus lens barrel 6 to move according to the electrical signal transmitted by the photosensor 2.
  • the processor drives the motor component 4 to drive the focus lens barrel 6 to move according to the first electrical signal and the second electrical signal.
  • the first lens 7 fixed in the main barrel 5 may be immovable. In this way, the focus lens barrel 6 can be axially moved in the main barrel 5 by the motor component 4 to drive the focus lens barrel 6 to move back and forth along the axial direction of the main barrel 5 to achieve lens focusing.
  • the grating can pass through the photosensor 2, and the axis between the focus wheel 1 and the fixing member 3 along the main barrel 5 There is a first gap in the direction.
  • the grating on the focus wheel 1 passes through the two photosensors 2 in sequence.
  • the two photosensors 2 change after sensing the light and dark changes of the light generated when the grating passes through the opposite optical axis.
  • the optical signal next, the two photosensors 2 respectively generate an electrical signal that is continuous and has a level jump according to the generated optical signal, and sends the generated electrical signal to the processor.
  • the processor determines the rotation direction of the focus wheel 1 according to the level jump condition of the two received electrical signals.
  • FIG. 11 is a schematic diagram of the electrical connection between the processor and the motor component provided by the embodiment of the present application.
  • the photosensor 2 senses that the grating passes through the photosensor 2
  • the electrical signal changes, and the electrical signal is sent to the processor 12, and the processor 12 drives the motor component 4 to drive the focus according to the received electrical signal.
  • the lens barrel 6 moves to achieve lens focusing.
  • the imaging device provided by the embodiment of the present application can perform focusing by using a photoelectric sensor, which is not only simple in structure, but also has a small number of parts, and has low processing difficulty and reduces equipment cost.
  • the image forming apparatus may further include: a second lens 8 .
  • the second lens 8 is fixedly disposed within the focus lens barrel 6.
  • the second lens located in the focus lens barrel 6 can be moved back and forth along the axial direction of the main barrel 5, by changing the second lens 8 and The relative position between the lenses 7 achieves lens focusing.
  • the image forming apparatus may further include: a pin 9.
  • the motor component 4 is connected to the focus lens barrel 6 by a pin 9.
  • the motor component 4 is configured to drive the focus lens barrel 6 to move axially through the pin 9 to adjust the relative position between the second lens 8 and the first lens 7.
  • the motor component 4 can drive the focus lens barrel 6 to move along the axial direction of the main lens barrel 5 through the pin 9, to adjust the second lens 8 and The relative position between the first lenses 7 achieves lens focusing.
  • the first gap existing between the focus wheel 1 and the fixing member 3 along the axial direction of the main barrel 5 is a preset distance, and when the first gap is a preset distance, the focusing wheel 1 rotates.
  • the grating passes through the photosensor 2.
  • the first gap between the focus wheel 1 and the fixing member 3 along the axial direction of the main barrel 5 can be set as a preset distance, which is for the focus wheel 1 to be flexibly rotated, and when the focus wheel 1 is The grating can pass through the photosensor 2 during rotation to cause the photosensor 2 to generate an electrical signal.
  • the fixing member 3 is fixed on the outer side wall of the main lens barrel 5 in the direction of the motor component 4; the rotatable set of the focusing wheel 1 and the outer side wall of the main lens barrel 5 away from the motor component 4 There is a second gap between the focus wheel 1 and the outer side wall of the main barrel 5.
  • the fixing member 3 and the focusing wheel 1 are both mounted on the main barrel 5, and the fixing member 3 can be fixed to the main barrel 5 by a screw structure, a rivet structure or the like.
  • the focus wheel 1 is rotatably mounted on the outer side wall of the main barrel 5, and a second gap exists between the outer side wall of the main barrel 5.
  • the fixing member 3 is closer to the outer side wall of the main barrel 5 than the focus wheel 1.
  • the image forming apparatus may further include: a focus adjusting ring 10 .
  • the focus ring 10 is connected to the fixing member 3.
  • the focus ring 10 is fitted to the outer side wall of the main barrel 5.
  • the focus wheel 1 is placed on the outer side wall of the focus ring 10 .
  • the focus ring 10 and the fixing member 3 can be connected by a screw structure.
  • the focus ring 10 is disposed between the focus wheel 1 and the main barrel 5 through the fixing member 3.
  • the focus ring 10 is used for fixing the focus wheel 1 so that the focus wheel 1 can be flexibly rotated without falling off from the main barrel 5 to ensure that the focus wheel 1 is rotated and on the focus wheel 1
  • the grating can pass through the photosensor 2 accurately.
  • the focus ring 10 and the fixing member 3 are made of a hard material, and may be metal or rigid plastic, or may be other hard materials.
  • the positions of the two photosensors 2 on the fixture 3 are at a predetermined angle.
  • Two photosensors 2 are mounted on the fixture 3, and the positions of the two photosensors 2 on the fixture 3 are adjustable.
  • the distance between the positions of the two photosensors 2 on the fixture 3 is greater than or equal to one grating period, and the grating period includes the sum of the width of one grating and the width of one grating gap.
  • the handheld infrared thermal imaging apparatus further includes: a PCB board 11.
  • the PCB board 11 is fixedly mounted on the fixing member 3.
  • Two photosensors 2 are mounted on the PCB board 11.
  • the photosensor 2 transmits the generated electrical signal to the processor through a circuit on the PCB board 11, wherein the photosensor 2 is electrically connected to the processor through the PCB board 11.
  • the processor can focus the focus lens barrel 6 based on the electrical signal generated by the photosensor 2.
  • the photosensor 2 can define a position by the protrusions present in the PCB board 11.
  • the PCB board 11 has four protrusions, which are fixed on the PCB board 11 by soldering or the like, and the photosensor 2 is fixed at a convex position on the PCB board 11, and the photoelectric sensor can be adjusted according to actual needs. 2 Fixed position on the PCB board 11.
  • the grating is distributed over the entire circumference of the inner side wall of the focus wheel 1; alternatively, the grating may be distributed over a part of the circumference of the inner side wall of the focus wheel 1.
  • the grating when the grating is distributed over the entire circumference of the inner side wall of the focus wheel 1, the plurality of gratings form a toroidal grating. When the grating is distributed over a part of the circumference of the inner side wall of the focus wheel 1, a plurality of gratings form a circular arc grating. In practical applications, the grating can be set according to specific needs.
  • the grating on the focus wheel 1 passes through the two photosensors 2 in sequence.
  • the optical signal changes due to the occlusion of the optical axis by the grating.
  • the photosensor 2 generates an electrical signal whose level state changes according to the changed optical signal, and changes the generated level state.
  • the electrical signal is sent to the processor; then, the processor determines the current direction of rotation and the current angle of rotation of the focus wheel 1 based on the two received electrical signals.
  • FIG. 12 is a specific flowchart of step 202 in the embodiment of the present application.
  • Step 202 in the method for determining a lens focus parameter shown in FIG. 2 may specifically include the following step:
  • Sub-step 11 determining whether the tooth ratio of the grating and the phase difference between the positions of the two photosensors conform to any one of formula (1), formula (2), and formula (3); if yes, execute Sub-step 12.
  • the gear ratio of the grating is the ratio of the grating.
  • the ratio of the grating is: the ratio of the width of one grating to the width of one grating period, and the grating period consists of a grating and an adjacent grating gap.
  • the processor of the imaging device determines whether the grating ratio in the currently used imaging device and the phase difference between the positions of the two photosensors with respect to the grating period are consistent: in the preset parameter table, for the grating The ratio of the phase difference between the position of the two photosensors on the fixture relative to the grating period.
  • the grating ratio is required to be a preset value, and a phase difference between the positions of the two photosensors on the fixing member with respect to the grating period is a preset phase difference.
  • phase difference between the positions of the two photosensors on the fixture relative to the grating period is simply referred to as the phase difference between the two photosensors; the position of the two photosensors on the fixture is
  • the preset phase difference with respect to the grating period is simply referred to as a preset phase difference between the two photosensors.
  • the parameter table may also include a preset phase difference between the two photosensors.
  • the current phase difference between the two photoelectric sensors conforms to a preset phase difference
  • the grating ratio is also a preset value
  • the processor can be based on the first electrical signal and the second electrical
  • the signal based on the reference table, determines the current direction of rotation of the focus wheel.
  • the current phase difference between the two photosensors can be calculated according to the angle between the grating period and the angle between the positions of the two photosensors on the fixing member.
  • Equations (1), (2), and (3) all include preset values of the grating ratio and two photoelectric sensors. Preset phase difference between. As long as the grating ratio and the current phase difference between the two photosensors match the preset value of the grating ratio defined in any of the equations and the preset phase difference, the ratio of the gratings in the currently used imaging device and two The current phase difference between the positions of the photosensors on the fixture relative to the grating period meets the constraints.
  • d represents the grating ratio and ⁇ represents the preset phase difference between the two photosensors.
  • the processor of the imaging device can calculate the relative position of the two photosensors on the fixture, that is, the angle between the positions of the two photosensors on the fixture. The current phase difference between the two photosensors and the position on the fixture.
  • the radius of the radial circle of the grating of the circular ring grating is R.
  • the two photosensors 12 and 13 are located on the radial circle of the grating.
  • the intersection of the opto-optical axis of the photosensor 12 and the radial circle of the grating is P, and the intersection of the opto-optical axis of the photosensor 13 and the radial circle of the grating is Q.
  • the phase P has a phase of ⁇ 1 in the grating period, and the phase of the point Q in the grating period is ⁇ 2.
  • the absolute value of the phase difference between the P point and the Q point is ⁇ 1- ⁇ 2 ⁇ , that is, the photoelectric sensor
  • is hereinafter referred to as the current phase difference between the positions of the two photosensors on the fixture.
  • the angle between the positions of the two photosensors 12 and 13 on the fixture can be expressed as a.
  • the calculation relationship between the angle ⁇ between the positions of the two photosensors 12 and 13 on the fixture and the current phase difference ⁇ between the positions of the two photosensors 12 and 13 on the fixture is as in the formula (4):
  • the processor can calculate the current phase difference between the positions of the two photosensors 12 and 13 on the fixture based on the angle between the positions of the two photosensors 12 and 13 on the fixture, thereby determining the current Whether the phase difference conforms to any of the formulas (1) to (3).
  • Sub-step 12 determining a current rotation direction of the focus wheel based on the preset parameter table according to the first electrical signal and the second electrical signal.
  • the processor of the imaging device determines the grating ratio in the currently used imaging device and the current phase difference between the two photosensors in accordance with formula (1), formula (2), and formula (3)
  • the current rotation direction of the focus wheel can be determined according to the correspondence between the first electrical signal and the second electrical signal in the preset parameter table and the rotation direction of the focus wheel.
  • the parameter table includes five consecutive level signals of the first electrical signal, five consecutive level signals of the second electrical signal corresponding to the first electrical signal, and a direction of rotation of the focus wheel Correspondence between them. Can be referred to Table 1.
  • the focus wheel can be determined based on the parameter table by five consecutive level signals of the first electrical signal and five consecutive level signals of the second electrical signal corresponding to the first electrical signal. Current direction of rotation.
  • the phase of the first photosensor is less than the phase of the second photosensor relative to the grating period. That is, when the focus wheel is rotated clockwise, the grating passes through the first photosensor and then passes through the second photosensor.
  • the parameter table may specifically include:
  • a third level state sequence of a low level, a low level, a high level, a high level, and a low level of the first electrical signal, and a low level, a high level, a high level, and a low level of the second electrical signal The correspondence between the fourth level state sequence of the low level and the rotation direction of the counterclockwise direction.
  • the first case the proportion of the grating in the currently used imaging device and the current phase difference between the two photosensors conform to equation (1).
  • the level state of the first electrical signal changes in a time period
  • the time sequence is a low level, a high level, a high level, a low level, and a low level
  • the second electrical signal is electrically generated during the period of time.
  • the flat state changes according to the chronological order of low level, low level, high level, high level and low level, it is determined that the current rotation direction of the focus wheel is clockwise.
  • FIG. 13 is a second schematic diagram of electrical signals generated by two photosensors in an embodiment of the present application. As shown in FIG. 13, the pulse E is the first electrical signal generated by the first photosensor, and the pulse F is the second electrical signal generated by the second photosensor.
  • the level corresponding to the second electrical signal when the level of the first electrical signal is 0, the level corresponding to the second electrical signal is 0; when the level of the first electrical signal changes from 0 to 1, the level corresponding to the second electrical signal is 0; when the level of the first electrical signal is 1, the level corresponding to the second electrical signal changes from 0 to 1; when the level of the first electrical signal changes from 1 to 0, the level corresponding to the second electrical signal It is 1; when the first electrical signal is 0, the level corresponding to the second electrical signal changes from 1 to 0.
  • the second case the grating ratio in the currently used imaging device and the current phase difference between the two photosensors conform to equation (2).
  • the time sequence is a low level, a high level, a high level, a low level, and a low level, and the second electrical signal is electrically generated during the period of time.
  • the flat state changes according to the chronological order of low level, low level, high level, high level and low level, it is determined that the current rotation direction of the focus wheel is clockwise.
  • FIG. 14 is a third schematic diagram of electrical signals generated by two photosensors in an embodiment of the present application.
  • the electric signal shown in FIG. 14 has the same level jump rule as the electric signal shown in FIG. 13, the only difference being that the interval duration of the level jump of the electric signal is different.
  • the third case the proportion of the grating in the currently used imaging device and the current phase difference between the two photosensors conform to equation (3).
  • the level state of the first electrical signal changes in a time period
  • the time sequence is a low level, a high level, a high level, a low level, and a low level
  • the second electrical signal is electrically generated during the period of time.
  • the flat state changes according to the chronological order of low level, low level, high level, high level and low level, it is determined that the current rotation direction of the focus wheel is clockwise.
  • FIG. 15 A fourth schematic diagram of the electrical signals generated by the photosensors.
  • the jump condition of the electric signal shown in FIG. 15 is the same as the level jump rule of the electric signal shown in FIGS. 13 and 14, the only difference being that the level jump of the electric signal The interval length is different.
  • the fourth case the grating ratio in the currently used imaging device and the current phase difference between the two photosensors conform to equation (1).
  • the level state of the first electrical signal changes in a time period
  • the time sequence is low level, low level, high level, high level, low level
  • the second electrical signal is in the time period
  • the level state changes according to the chronological order of low level, high level, high level, low level, and low level, it is determined that the current rotation direction of the focus wheel is counterclockwise.
  • FIG. 16 A fifth schematic diagram of the electrical signals generated by the photosensors.
  • the level corresponding to the second electrical signal when the level of the first electrical signal is 0, the level corresponding to the second electrical signal is 0; when the level of the first electrical signal is 0, the level corresponding to the second electrical signal changes from 0 to 0. Up to 1; when the level of the first electrical signal changes from 0 to 1, the level corresponding to the second electrical signal is 1; when the level of the first electrical signal is 1, the level corresponding to the second electrical signal changes from 1 to 1. To 0; when the level of the first electrical signal changes from 1 to 0, the level corresponding to the second electrical signal is 0.
  • the fifth case the grating ratio in the currently used imaging device and the current phase difference between the two photosensors conform to the formula (2).
  • the time sequence is a low level, a low level, a high level, a high level, and a low level
  • the second electrical signal is electrically generated during the period of time.
  • the flat state changes according to the chronological order of low level, high level, high level, low level and low level, it is determined that the current rotation direction of the focus wheel is counterclockwise.
  • FIG. 17 A sixth schematic diagram of the electrical signals generated by the photosensors.
  • the jump condition of the electric signal shown in FIG. 17 is the same as the level jump rule of the electric signal shown in FIG. 16, the only difference being the interval duration of the level jump of the electric signal. different.
  • the grating ratio in the currently used imaging device and the current phase difference between the two photosensors conform to the formula (3).
  • the time sequence is a low level, a low level, a high level, a high level, and a low level
  • the second electrical signal is electrically generated during the period of time.
  • the flat state changes according to the chronological order of low level, high level, high level, low level and low level, it is determined that the current rotation direction of the focus wheel is counterclockwise.
  • FIG. 18 A seventh schematic diagram of the electrical signals generated by the photosensors.
  • the jump condition of the electric signal shown in FIG. 18 is the same as the level jump rule of the electric signal shown in FIGS. 16 and 17, except that the level jump of the electric signal is the same.
  • the interval length is different.
  • the grating ratio in the currently used imaging device and the current phase difference between the two photosensors conform to the formula (1).
  • the correspondence between the electrical signals generated by the first photosensor and the second photosensor and the direction of rotation of the focus wheel can be as shown in Table 2.
  • the previous one is the level state of the first electrical signal generated by the first photosensor, and the latter is the level state of the second electrical signal generated by the second photosensor; for example, In the case of the electrical signal 10, 1 is the level state of the first electrical signal and 0 is the level state of the second electrical signal.
  • the electrical signal represented by the form 0, 1 can be converted into a decimal number.
  • the converted signal corresponding to the electrical signal 10 is a decimal number 2.
  • the processor receives the converted signal sent by the PCB board as 0-2-3-1-0, it can be determined that the rotation direction of the focus wheel is clockwise; when the processor receives the converted signal sent by the PCB board When it is 0-1-3-2-0, it can be determined that the direction of rotation of the focus wheel is counterclockwise.
  • the phase of the first photosensor relative to the grating period is smaller than the phase of the second photosensor relative to the grating period, and the angle between the grating period and the current phase difference between the two photosensors is: Arrangement of the case of any of the formulas (1) to (3).
  • the parameter list includes:
  • a third level state sequence of a low level, a low level, a high level, a high level, and a low level of the first electrical signal, and a low level, a high level, a high level, and a low level of the second electrical signal The correspondence between the fourth level state sequence of the low level and the rotation direction of the counterclockwise direction.
  • the processor receives the first electrical signal and the second electrical signal. If the first electrical position and the second electrical position are the same for the first electrical signal and the second electrical signal, determining that the current rotational direction of the focus wheel is Clockwise direction.
  • the first position is a position of two adjacent level states in the first electrical signal in a first level state sequence
  • the second position is a second electrical state in which the two adjacent level states are in the second The position of the flat state sequence.
  • two adjacent level states in the first electrical signal are 0 ⁇ 1
  • two adjacent level states in the first electrical signal are 0 ⁇ 0, as shown in Table 2, when the first power
  • the level state of the signal and the second electrical signal is 00 ⁇ 10, it is determined that the first position is the same as the second position, and the current rotation direction of the focus wheel is determined to be a clockwise direction.
  • two adjacent level states in the first electrical signal are 1 ⁇ 1
  • two adjacent level states in the first electrical signal are 0 ⁇ 1, as shown in Table 2, when the first electrical signal and When the level state of the second electrical signal is 10 ⁇ 11, it is determined that the first position is the same as the second position, and the current rotation direction of the focus wheel is determined to be a clockwise direction.
  • two adjacent level states in the first electrical signal are 1 ⁇ 0, two adjacent level states in the first electrical signal are 1 ⁇ 1, as shown in Table 2, when the first electrical signal and When the level state of the second electrical signal is 11 ⁇ 01, it is determined that the first position is the same as the second position, and the current rotation direction of the focus wheel is determined to be a clockwise direction.
  • two adjacent level states in the first electrical signal are 0 ⁇ 0, two adjacent level states in the first electrical signal are 1 ⁇ 0, as shown in Table 2, when the first electrical signal and When the level state of the second electrical signal is 01 ⁇ 00, it is determined that the first position is the same as the second position, and the current rotation direction of the focus wheel is determined to be a clockwise direction.
  • the processor receives the first electrical signal and the second electrical signal. For the two electrical signals of the first electrical signal and the second electrical signal, if the third position is the same as the fourth position, determining that the current rotation direction of the focus wheel is Counterclockwise.
  • the third position is a position of two adjacent level states in the first electrical signal in a third level state sequence
  • the fourth position is a second level state in the second electrical signal. The position of the sequence.
  • two adjacent level states in the first electrical signal are 0 ⁇ 0
  • two adjacent level states in the first electrical signal are 0 ⁇ 1, as shown in Table 2, when the first power When the level state of the signal and the second electrical signal is 00 ⁇ 01, it is determined that the third position is the same as the fourth position, and the current rotation direction of the focus wheel is determined to be a counterclockwise direction.
  • two adjacent level states in the first electrical signal are 0 ⁇ 1, two adjacent level states in the first electrical signal are 1 ⁇ 1, as shown in Table 2, when the first electrical signal and When the level state of the second electrical signal is 01 ⁇ 11, it is determined that the third position is the same as the fourth position, and the current rotation direction of the focus wheel is determined to be a counterclockwise direction.
  • two adjacent level states in the first electrical signal are 1 ⁇ 1
  • two adjacent level states in the first electrical signal are 1 ⁇ 0, as shown in Table 2, when the first electrical signal and When the level state of the second electrical signal is 11 ⁇ 10, it is determined that the third position is the same as the fourth position, and the current rotation direction of the focus wheel is determined to be a counterclockwise direction.
  • two adjacent level states in the first electrical signal are 1 ⁇ 0, two adjacent level states in the first electrical signal are 0 ⁇ 0, as shown in Table 2, when the first electrical signal and When the level state of the second electrical signal is 10 ⁇ 00, it is determined that the third position is the same as the fourth position, and the current rotation direction of the focus wheel is determined to be a counterclockwise direction.
  • the first photosensor and the second photosensor can be respectively determined to generate an electrical signal and a focus wheel according to the grating ratio in the actually used imaging device and the current phase difference between the two photosensors.
  • Corresponding relationship between the rotation directions in order to determine the current rotation direction of the focus wheel according to the actual generated electrical signals of the first photoelectric sensor and the second photoelectric sensor, thereby achieving precise focusing of the lens.
  • FIG. 19 is a schematic diagram of an imaging device according to an embodiment of the present application.
  • the imaging apparatus includes: a focus wheel 1901, two photosensors 1902, at least three gratings 1903, a processor 1904, a motor component 1905, and a lens 1906, wherein the grating 1903 is distributed on the inner side wall of the focus wheel 1901. There are grating gaps of equal width between adjacent gratings 1903. When the focus wheel 1901 rotates, the grating in at least three gratings 1903 passes through two photosensors 1902;
  • a processor 1904 configured to determine a first electrical signal generated by a first one of the two photosensors 1902, wherein the first electrical signal changes when the grating of the at least three gratings 1903 passes through the first photosensor;
  • a processor 1904 configured to determine a second electrical signal generated by a second one of the two photosensors 1902, wherein the second electrical signal changes when the grating in the at least three gratings 1903 passes through the second photosensor;
  • the processor 1904 is configured to determine a current rotation direction of the focus wheel 1901 based on the preset parameter table according to the first electrical signal and the second electrical signal, where the parameter table includes a first electrical signal, a second telecommunication, and a focus wheel Correspondence between the directions of rotation of 1901;
  • the processor 1904 is configured to determine a current rotation angle of the focus wheel 1901 according to the number of level jumps of the first electrical signal or the number of level jumps of the second electrical signal, where the level jump changes Jump from high level to low level or from low level to high level;
  • the processor 1904 is configured to drive the motor component 1905 to focus the lens 1906 based on the current rotation direction of the focus wheel 1901 and the current rotation angle of the focus wheel 1901.
  • the processor 1904 is further configured to determine a current focus direction of the lens 1906 according to a first parameter configuration of the lens 1906 and a current rotation direction of the focus wheel 1901, where the first parameter configuration includes the focus wheel 1901.
  • a correspondence relationship between the rotation direction and the focusing direction of the lens 1906, and the focusing direction of the lens 1906 includes an axial drawing and an axial pushing distance;
  • the current focus distance of the lens 1906 is determined according to the second parameter configuration of the lens 1906 and the current rotation angle of the focus wheel 1901, wherein the second parameter configuration includes a rotation angle of the focus wheel 1901 and a focus distance of the lens 1906.
  • the drive motor component 1905 Based on the current focus direction of the lens 1906 and the current focus distance of the lens 1906, the drive motor component 1905 focuses the lens 1906.
  • the current rotation angle of the focus wheel 1901 is equal to the number of level jumps multiplied by an angle of a grating period, wherein the angle of the grating period is an angle of a grating period on the inner sidewall of the focus wheel 1901.
  • the grating period is composed of a grating 1903 and an adjacent grating gap.
  • the imaging device further includes a fixing component, and the two photoelectric sensors 1902 are mounted on the fixing component;
  • the grating ratio is a preset value, and the current phase difference between the positions of the two photosensors 1902 on the fixture is in accordance with the preset phase difference with respect to the grating period;
  • the ratio of the grating is: the ratio of the width of one grating to the width of one grating period, and the grating period is composed of a grating and an adjacent grating gap; the current phase difference is calculated according to the angle between the grating period and the angle of the sensor.
  • the angle of the grating period is the angle between the grating period on the inner side wall of the focusing wheel, and the angle between the sensors is the angle between the two photoelectric sensors on the inner side wall of the focusing wheel.
  • the preset phase difference ⁇ is: 0 ⁇ 360° and ⁇ 180°;
  • the preset phase difference ⁇ is: 0 ⁇ ⁇ ⁇ d * 360 ° or (1-d) * 360 ° ⁇ ⁇ ⁇ 360 °;
  • the predetermined phase difference ⁇ is: 0 ⁇ ⁇ ⁇ (1-d) * 360 ° or d * 360 ° ⁇ ⁇ ⁇ 360 °.
  • the parameter table includes five consecutive level signals of the first electrical signal, five consecutive level signals of the second electrical signal corresponding to the first electrical signal, and a direction of rotation of the focus wheel 1901 Correspondence.
  • the parameter table includes: a first level state sequence of a low level, a high level, a high level, a low level, and a low level of the first electrical signal, and a low level and a low level of the second electrical signal a correspondence between the second level state sequence of the flat, high level, high level, and low level, and the direction of rotation in the clockwise direction;
  • phase of the first photosensor with respect to the grating period is smaller than the phase of the second photosensor with respect to the grating period.
  • the processor 1904 is specifically configured to:
  • the first position and the second position are the same, determining that the current rotation direction of the focus wheel is a clockwise direction; the first position is a sequence of two adjacent level states in the first electrical signal in the first level state Position, the second position is a position of two adjacent level states in the second electrical signal in the second level state sequence;
  • the third position and the fourth position are the same, determining that the current rotation direction of the focus wheel is a counterclockwise direction; the third position is a sequence of two adjacent level states in the first electrical signal in the third level state The fourth position is a position of two adjacent level states in the second electrical signal at the fourth level state sequence.
  • the above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processing (DSP), dedicated integration.
  • CPU central processing unit
  • NP network processor
  • DSP digital signal processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the imaging device provided by the embodiment of the present invention can perform focusing by using a photoelectric sensor, and the device for focusing by using the photoelectric sensor has a simple structure, a small number of parts, and low processing difficulty, thereby not only reducing equipment cost, but also satisfying mass production. need.
  • the imaging device embodiment is basically similar to the lens focusing method embodiment, so the description is relatively simple, and the relevant portions can be referred to the partial description of the lens focusing method embodiment shown in FIG. 2 to FIG. 18.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Optics & Photonics (AREA)
  • Human Computer Interaction (AREA)
  • Lens Barrels (AREA)
  • Studio Devices (AREA)

Abstract

一种成像设备和一种镜头调焦方法,成像设备包括:调焦轮(1901)、两个光电传感器(1902)、至少三个光栅(1903)、处理器(1904)、电机部件(1905)和镜头(1906),光栅(1903)分布在调焦轮(1901)的内侧壁上,相邻光栅(1903)之间存在宽度相等的光栅间隙。处理器(1904)首先确定第一光电传感器(1902)生成的第一电信号以及第二光电传感器(1902)生成的第二电信号;然后根据第一电信号和第二电信号,基于预设的参数表,确定调焦轮(1901)的当前转动方向;最后,根据第一电信号或第二电信号的电平跳变个数,确定调焦轮(1901)的当前转动角度,第一电信号或第二电信号的电平跳变包括由高电平跳变为低电平和由低电平跳变为高电平。该设备和方法能够利用光电传感器(1902)实现对镜头(1906)的手动调焦。

Description

一种成像设备和一种镜头调焦方法
本申请要求于2017年9月30日提交中国专利局、申请号为201710940346.3发明名称为“一种成像设备和一种镜头调焦方法”的中国专利申请的优先权,一以及2017年9月30日提交中国专利局、申请号为201721282426.6发明名称为“一种成像设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及信息处理技术领域,特别是涉及一种成像设备和一种镜头调焦方法。
背景技术
实际应用中,成像设备上镜头的调焦方式包括自动调焦和手动调焦。
目前,使用较为广泛的调焦方式为手动调焦方式。手动调焦方式是利用机械齿轮的连接实现镜头调焦的。具体的,参考图1,图1为相关技术中成像设备利用机械齿轮的连接实现镜头调焦的调焦装置的结构示意图。机械调焦轮101与转接圈102的齿轮啮合,通过销钉103将转接圈102与凸轮104固定连接,定位销105的一端位于凸轮104上的导向槽中,定位销105的另一端与调焦镜筒106固定连接。
使用上述调焦装置对镜头调焦过程中,当转动机械调焦轮101时,利用机械调焦轮101与转接圈102的齿轮啮合以及固定在凸轮104上的销钉103,带动凸轮104沿圆周方向旋转,进而通过定位销105驱动调焦镜筒106沿轴向方向前后移动,实现手动调焦。
虽然,应用上述装置可以实现镜头调焦,但是,调焦装置中包括的零件数量多、加工精度高,且齿轮间的传动复杂。这不仅使得调焦装置的加工成本高、难度大,而且无法满足批量生产调焦装置的需要。
发明内容
本申请实施例在于提供一种成像设备和一种镜头调焦方法,以利用光电传感器和光栅实现对镜头的手动调焦。具体技术方案如下:
为实现上述目的,本申请实施例提供了一种成像设备,所述成像设备包括:调焦轮、两个光电传感器、至少三个光栅、处理器、电机部件和镜头,其中,所述至少三个光栅中的光栅分布在所述调焦轮的内侧壁上,相邻光栅之间存在宽度相等的光栅间隙;当所述调焦轮转动时,所述至少三个光栅中的光栅经过所述两个光电传感器;
所述处理器,用于确定所述两个光电传感器中的第一光电传感器生成的第一电信号,其中,所述第一电信号的电平在所述至少三个光栅中的光栅经过所述第一光电传感器时发生变化;
所述处理器,用于确定所述两个光电传感器中的第二光电传感器生成的第二电信号,其中,所述第二电信号的电平在所述至少三个光栅中的光栅经过所述第二光电传感器时发生变化;
所述处理器,用于根据所述第一电信号和所述第二电信号,基于预设的参数表,确定所述调焦轮的当前转动方向,其中,所述参数表包括所述第一电信号、所述第二电信号与调焦轮的转动方向之间的对应关系;
所述处理器,用于根据所述第一电信号的电平跳变的个数或所述第二电信号的电平跳变的个数,确定所述调焦轮的当前转动角度,其中,所述电平跳变为由高电平跳变为低电平或由低电平跳变为高电平;
所述处理器,用于基于所述调焦轮的当前转动方向和所述调焦轮的当前转动角度,驱动所述电机部件对所述镜头进行调焦。
可选的,所述处理器,具体用于:
根据第一参数配置和所述调焦轮的当前转动方向,确定所述镜头的当前调焦方向,其中,所述第一参数配置包括调焦轮的转动方向与镜头的调焦方向之间的对应关系,所述镜头的调焦方向包括轴向拉近和轴向推远;
根据第二参数配置和所述调焦轮的当前转动角度,确定所述镜头的当前调焦距离,其中,所述第二参数配置包括调焦轮的转动角度和镜头的调焦距离之间的对应关系;
基于所述镜头的当前调焦方向和所述镜头的当前调焦距离,驱动所述电 机部件对所述镜头进行调焦。
可选的,所述调焦轮的当前转动角度等于所述电平跳变的个数乘以一个光栅周期夹角,其中,所述光栅周期夹角是一个光栅周期在所述调焦轮的内侧壁上的夹角,所述光栅周期由一个光栅与一个相邻的光栅间隙构成。
可选的,所述成像设备还包括固定件,所述两个光电传感器安装于所述固定件上;
光栅占比为预设值,且相对于光栅周期,所述两个光电传感器在所述固定件上的位置之间的当前相位差符合预设相位差;
其中,所述光栅占比为:一个光栅的宽度与一个光栅周期的宽度的比值,所述光栅周期由一个光栅与一个相邻的光栅间隙构成;所述当前相位差为根据光栅周期夹角和传感器夹角计算得到的,所述光栅周期夹角是一个光栅周期在所述调焦轮的内侧壁上的夹角,所述传感器夹角为所述两个光电传感器在所述调焦轮的内侧壁上的夹角。
可选的,若光栅占比d为d=0.5,则所述预设相位差ω为:0<ω<360°且ω≠180°;
若光栅占比d为0<d<0.5,则所述预设相位差ω为:0<ω<d*360°或(1-d)*360°<ω<360°;
若光栅占比d为0.5<d<1,则所述预设相位差ω为:0<ω<(1-d)*360°或d*360°<ω<360°。
可选的,所述参数表包括所述第一电信号的五个连续的电平信号、与所述第一电信号对应的所述第二电信号的五个连续的电平信号、与调焦轮的转动方向之间的对应关系。
可选的,所述参数表包括:
所述第一电信号的低电平、高电平、高电平、低电平和低电平的第一电平状态序列,所述第二电信号的低电平、低电平、高电平、高电平和低电平的第二电平状态序列,以及顺时针方向的转动方向的三者间的对应关系;
所述第一电信号的低电平、低电平、高电平、高电平和低电平的第三电 平状态序列,所述第二电信号的低电平、高电平、高电平、低电平、低电平的第四电平状态序列,以及逆时针方向的转动方向的三者间的对应关系;
其中,所述第一光电传感器相对于光栅周期的相位小于所述第二光电传感器相对于光栅周期的相位。
可选的,所述处理器,具体用于:
若第一位置与第二位置与相同,则确定所述调焦轮的当前转动方向为顺时针方向;所述第一位置为所述第一电信号中两个相邻的电平状态在所述第一电平状态序列的位置,所述第二位置为所述第二电信号中两个相邻的电平状态在所述第二电平状态序列的位置;
若第三位置与第四位置与相同,则确定所述调焦轮的当前转动方向为逆时针方向;所述第三位置为所述第一电信号中两个相邻的电平状态在所述第三电平状态序列的位置,所述第四位置为所述第二电信号中两个相邻的电平状态在所述第四电平状态序列的位置。
为实现上述目的,本申请实施例还提供了一种镜头调焦方法,应用于成像设备,其中,所述成像设备包括:调焦轮、两个光电传感器、至少三个光栅、处理器、电机部件和镜头,其中,所述至少三个光栅中的光栅分布在所述调焦轮的内侧壁上,相邻光栅之间存在宽度相等的光栅间隙,当所述调焦轮转动时,所述至少三个光栅中的光栅经过所述两个光电传感器;所述方法包括:
所述处理器确定所述两个光电传感器中的第一光电传感器生成的第一电信号,其中,所述第一电信号的电平在所述至少三个光栅中的光栅经过所述第一光电传感器时发生变化;
确定所述两个光电传感器中的第二光电传感器生成的第二电信号,其中,所述第二电信号的电平在所述至少三个光栅中的光栅经过所述第二光电传感器时发生变化;
根据所述第一电信号和所述第二电信号,基于预设的参数表,确定所述调焦轮的当前转动方向,其中,所述参数表包括所述第一电信号、所述第二电信号与调焦轮的转动方向之间的对应关系;
根据所述第一电信号的电平跳变的个数或所述第二电信号的电平跳变的个数,确定所述调焦轮的当前转动角度,其中,所述电平跳变为由高电平跳变为低电平或由低电平跳变为高电平;
基于所述调焦轮的当前转动方向和所述调焦轮的当前转动角度,驱动所述电机部件对所述镜头进行调焦。
可选的,所述基于所述调焦轮的当前转动方向和所述调焦轮的当前转动角度,驱动所述电机部件对所述镜头进行调焦的步骤,包括:
根据第一参数配置和所述调焦轮的当前转动方向,确定所述镜头的当前调焦方向,其中,所述第一参数配置包括调焦轮的转动方向与镜头的调焦方向之间的对应关系,所述调焦方向包括轴向拉近和轴向推远;
根据第二参数配置和所述调焦轮的当前转动角度,确定所述镜头的当前调焦距离,其中,所述第二参数配置包括调焦轮的转动角度和镜头的调焦距离之间的对应关系;
基于所述镜头的调焦方向和所述镜头的调焦距离,驱动所述电机部件对所述镜头进行调焦。
可选的,所述调焦轮的当前转动角度等于所述电平跳变的个数乘以一个光栅周期夹角,其中,所述光栅周期夹角是一个光栅周期在所述调焦轮的内侧壁上的夹角,所述光栅周期由一个光栅与一个相邻的光栅间隙构成。
可选的,所述成像设备还包括固定件,所述两个光电传感器安装于所述固定件上;
光栅占比为预设值,且相对于光栅周期,所述两个光电传感器的当前相位差符合预设相位差;
其中,所述光栅占比为:一个光栅的宽度与一个光栅周期的宽度的比值,所述光栅周期由一个光栅与一个相邻的光栅间隙构成;所述当前相位差为根据光栅周期夹角和传感器夹角计算得到的,所述光栅周期夹角是一个光栅周期在所述调焦轮的内侧壁上的夹角,所述传感器夹角为所述两个光电传感器在所述调焦轮的内侧壁上的夹角。
可选的,若光栅占比d为d=0.5,则所述预设相位差ω为:0<ω<360°且ω≠180°;
若光栅占比d为0<d<0.5,则所述预设相位差ω为:0<ω<d*360°或(1-d)*360°<ω<360°;
若光栅占比d为0.5<d<1,则所述预设相位差ω为:0<ω<(1-d)*360°或d<ω<360°。
可选的,所述参数表包括所述第一电信号的五个连续的电平信号、与所述第一电信号对应的所述第二电信号的五个连续的电平信号、与调焦轮的转动方向之间的对应关系。
可选的,所述参数表包括:
所述第一电信号的低电平、高电平、高电平、低电平和低电平的第一电平状态序列,所述第二电信号的低电平、低电平、高电平、高电平和低电平的第二电平状态序列,以及顺时针方向的转动方向的三者间的对应关系;
所述第一电信号的低电平、低电平、高电平、高电平和低电平的第三电平状态序列,所述第二电信号的低电平、高电平、高电平、低电平和低电平的第四电平状态序列,以及逆时针方向的转动方向的三者间的对应关系;
其中,所述第一光电传感器相对于光栅周期的相位小于所述第二光电传感器相对于光栅周期的相位。
可选的,所述根据所述第一电信号和所述第二电信号,基于预设的参数表,确定所述调焦轮的当前转动方向的步骤,包括:
若第一位置与第二位置相同,则确定所述调焦轮的当前转动方向为顺时针方向;所述第一位置为所述第一电信号中两个相邻的电平状态在所述第一电平状态序列的位置,所述第二位置为所述第二电信号中两个相邻的电平状态在所述第二电平状态序列的位置;
若第三位置与第四位置相同,则确定所述调焦轮的当前转动方向为逆时针方向;所述第三位置为所述第一电信号中两个相邻的电平状态在所述第三电平状态序列的位置,所述第四位置为所述第二电信号中两个相邻的电平状 态在所述第四电平状态序列的位置。
为实现上述目的,本申请实施例还提供了一种成像设备,所述成像设备包括:调焦轮、两个光电传感器、固定件、处理器、电机部件、主镜筒、调焦镜筒、第一镜片;
所述调焦镜筒可轴向移动地设置在所述主镜筒内;
所述第一镜片固定设置在所述主镜筒内;
所述调焦轮的内侧壁上设置有至少两个光栅,相邻两个光栅之间的光栅间隙相等;所述光栅在所述调焦轮转动时,经过所述两个光电传感器;
所述固定件固定于所述主镜筒上靠近所述电机部件方向的外侧壁,所述两个光电传感器安装于所述固定件上,所述调焦轮可转动的安装于所述主镜筒上远离所述电机部件方向的外侧壁,所述调焦轮与所述固定件之间沿所述主镜筒的轴向方向存在第一间隙;
所述电机部件安装在所述主镜筒的外侧壁上;
所述光电传感器,用于生成电信号,并将所生成的电信号发送至所述处理器;所述光电传感器生成的电信号在所述光栅经过所述光电传感器时发生变化;
所述处理器与所述电机部件电连接,所述处理器用于根据所述光电传感器发送的电信号,驱动所述电机带动所述调焦镜筒移动。
可选的,所述成像设备还包括:第二镜片;
所述第二镜片固定设置在所述调焦镜筒内。
可选的,所述成像设备还包括:销钉;
所述电机部件与所述调焦镜筒通过所述销钉相连接;
所述电机部件,用于通过所述销钉驱动所述调焦镜筒轴向移动,以调整所述第二镜片与所述第一镜片之间的相对位置。
可选的,所述两个光电传感器在所述固定件上的位置成预设夹角。
可选的,所述两个光电传感器在所述固定件上的位置之间的距离大于或者等于一个光栅周期,所述光栅周期由一个光栅与一个相邻的光栅间隙构成。
可选的,所述固定件固定套装于所述主镜筒上靠近所述电机部件方向的外侧壁;
所述调焦轮可转动的套装于所述主镜筒上远离所述电机部件方向的外侧壁;
所述调焦轮与所述主镜筒的外侧壁之间存在第二间隙。
可选的,所述成像设备还包括:调焦压圈;
所述调焦压圈和所述固定件相连接;
所述调焦压圈套装于所述主镜筒的外侧壁;
所述调焦轮套装于所述调焦压圈的外侧壁。
可选的,所述成像设备还包括:PCB板;
所述PCB板固定安装在所述固定件上;所述两个光电传感器安装于所述PCB板上。
可选的,所述光栅分布在所述调焦轮的内侧壁的整个圆周上;或,所述光栅分布在所述调焦轮的内侧壁的部分圆周上。
可见,本申请实施例提供的一种成像设备和一种镜头调焦方法,能够利用光电传感器确定调焦轮的当前转动方向以及当前转动角度,这样,就可以根据已确定的调焦轮的当前转动方向以及当前转动角度确定镜头的调焦方向和调焦距离,实现对镜头的准确调焦。利用光电传感器进行调焦的装置,结构简单,零件数量少,加工难度低,不仅降低了设备成本,而且能够满足批量生产的需要。当然,实施本申请的任一产品或方法必不一定需要同时达到以上所述的所有优点。
附图说明
为了更清楚地说明本申请实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面 描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为相关技术中成像设备利用机械齿轮连接实现镜头调焦的调焦装置的结构示意图;
图2为本申请实施例提供的镜头调焦参数的确定方法的一种流程图;
图3为本申请实施例提供的光电传感器的一种结构图;
图4为本申请实施例中两个光电传感器生成的电信号的第一种示意图;
图5为本申请实施例提供的光栅和光栅间隙的一种示意图;
图6为本申请实施例提供的光电传感器的一种位置示意图;
图7为本申请实施例提供的成像设备的第一种示意图;
图8为本申请实施例提供的成像设备的第二种示意图;
图9为本申请实施例提供的光电传感器部件的第一种示意图;
图10为本申请实施例提供的光电传感器部件的第二种示意图;
图11为本申请实施例提供的处理器和电机部件4之间的电连接的一种示意图;
图12为本申请实施例中步骤202的具体流程图;
图13为本申请实施例中两个光电传感器生成的电信号的第二种示意图;
图14为本申请实施例中两个光电传感器生成的电信号的第三种示意图;
图15为本申请实施例中两个光电传感器生成的电信号的第四种示意图;
图16为本申请实施例中两个光电传感器生成的电信号的第五种示意图;
图17为本申请实施例中两个光电传感器生成的电信号的第六种示意图;
图18为本申请实施例中两个光电传感器生成的电信号的第七种示意图;
图19为本申请实施例提供的成像设备的一种示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例提供了一种镜头调焦方法,应用于成像设备。其中,成像设备包括:调焦轮、两个光电传感器、至少三个光栅、处理器、电机部件和镜头,其中,上述至少三个光栅中的光栅分布在调焦轮的内侧壁上,相邻光栅之间存在宽度相等的光栅间隙。当调焦轮转动时,光栅经过两个光电传感器。
调焦轮1的内侧壁上设置的光栅为齿状凸起,齿状凸起可以是长方体,也可以是正方体,当然,也可以是其他形状。一个光栅可以作为调焦轮上的一个齿,光栅间隙即为齿间隙。
上述两个光电传感器分别为第一光电传感器和第二光电传感器。
参见图2,图2为本申请实施例提供的镜头调焦参数的确定方法的一种流程图,包括如下步骤:
步骤201,确定第一光电传感器生成的第一电信号;确定第二光电传感器生成的第二电信号。
其中,第一光电传感器生成第一电信号,第一电信号的电平在至少三个光栅中的光栅经过第一光电传感器时发生变化。第二光电传感器生成第二电信号,第二电信号的电平在至少三个光栅中的光栅经过第二光电传感器时发生变化。这里,不限定第一光电传感器和第二光电传感器的位置,只需保证当调焦轮转动时光栅经过两个光电传感器即可。
在本步骤中,成像设备的处理器确定两个光电传感器所生成电信号。也就是,步骤201为:处理器确定两个光电传感器中的第一光电传感器生成的第一电信号,确定两个光电传感器中的第二光电传感器生成的第二电信号。
这里所说的电信号,只有当光电传感器检测到调焦轮上的光栅遮挡自身 设备的对射光轴时才会发生变化,如图3所示,图3为本申请实施例提供的光电传感器的一种结构图,光电传感器上的光发射点和光接收点之间存在对射光轴。
当光电传感器检测到调焦轮上的光栅遮挡自身设备的对射光轴时,光电传感器生成的电信号发生变化,例如,光电传感器生成的电信号由低电平变为高电平,或由高电平变为低电平。
在一种实现方式中,调焦轮上设置有至少两个相同的光栅,相邻光栅之间存在宽度相等的光栅间隙。
这样,当光栅经过光电传感器时,光电传感器的对射光轴被遮挡的时长相等,且光电传感器的对射光轴不被遮挡的时长也相等,那么,光电传感器生成高电平的电信号的持续时长均相等,光电传感器生成低电平的电信号的持续时长均相等。
比如,如图4所示,图4为本申请实施例中两个光电传感器生成的电信号的第一种示意图。在图4中,当转动调焦轮时,光栅分别经过两个光电传感器,第一光电传感器生成的第一电信号为脉冲A,第二光电传感器生成的第二电信号为脉冲B。脉冲A的电平状态按时间顺序依次为:低电平、高电平、高电平、低电平、低电平、高电平、高电平、低电平、低电平。若用0代表低电平,用1代表高电平,则脉冲A的电平状态可表示为:0、1、1、0、0、1、1、0、0。对应的,脉冲B的电平状态按时间顺序依次为:低电平、低电平、高电平,高电平、低电平、低电平、高电平、高电平、低电平。若用0代表低电平,用1代表高电平,则脉冲B的电平状态可表示为:0、0、1、1、0、0、1、1、0。
在图4中,脉冲A的电平状态和脉冲B的电平状态按时间顺序的变化规律可参考表1。
表1
Figure PCTCN2018091256-appb-000001
表1中,0代表低电平,1代表高电平。
步骤202,根据第一电信号和第二电信号,基于预设的参数表,确定调焦轮的当前转动方向。
其中,参数表包括第一电信号、第二电信号与调焦轮的转动方向之间的对应关系。
在本步骤中,成像设备的处理器根据所确定的两个光电传感器分别生成的电信号,以及预设的参数表,来确定调焦轮的当前转动方向,以进一步确定镜头的调焦方向。
在成像设备中,当调焦轮的转动方向不同时,两个光电传感器分别生成的两个光信号的对应关系不同,可以基于参数表中的第一电信号、第二电信号与调焦轮的转动方向之间的对应关系,根据两个光电传感器分别生成的两个电信号,确定调焦轮的当前转动方向。
步骤203,根据第一电信号或第二电信号的电平跳变个数,确定调焦轮的当前转动角度。
步骤203即为处理器根据第一电信号的电平跳变的个数或第二电信号的电平跳变的个数,确定调焦轮的当前转动角度。
其中,电平跳变个数为电平跳变的个数。电平跳变包括由高电平跳变为低电平和由低电平跳变为高电平。在本步骤中,在确定调焦轮的当前转动角度时,电平跳变为:由高电平跳变为低电平,或由低电平跳变为高电平。
在本步骤中,成像设备的处理器根据两个光电传感器中的一个光电传感器生成电信号的电平跳变情况,确定调焦轮的转动角度,以进一步确定镜头的调焦距离。
在一种实现方式中,调焦轮的当前转动角度等于电平跳变个数乘以一个光栅周期夹角,其中,光栅周期夹角是一个光栅周期在调焦轮的内侧壁上对应的夹角,光栅周期由一个光栅与一个相邻的光栅间隙构成。
具体的,根据以下公式,确定调焦轮的当前转动角度:
β=n*θ;
其中,β为调焦轮的当前转动角度,n为第一电信号的电平跳变个数或第二电信号的电平跳变个数,θ为一个光栅周期夹角。
如图5和图6所示,图5为本申请实施例提供的光栅和光栅间隙的一种示意图,图6为本申请实施例提供的光电传感器的一种位置示意图。在图5中,1为调焦轮,光栅501为调焦轮1上的块状阴影部分,光栅间隙502为相邻光栅501之间的间隔,503为一个光栅周期。在图6中,光栅501为圆环形光栅,θ为光栅周期夹角,即θ为齿周期夹角。
在图6中,光栅中径圆上均匀分布的四边形为光栅501。
具体的,第一电信号的电平跳变个数或第二电信号的电平跳变个数可以根据第一电信号或第二电信号的上升沿或者下降沿的个数来计算。
也就是,第一电信号的电平跳变个数可以根据第一电信号的上升沿或者下降沿的个数来计算。第二电信号的电平跳变个数可以根据第二电信号的上升沿或者下降沿的个数来计算。电平跳变个数等于上升沿的个数,或者电平跳变个数等于下降沿的个数。
这样,第一电信号的电平跳变个数或第二电信号的电平跳变个数越多,计算出的调焦轮的当前转动角度就越大,进而对镜头的调焦距离就越远。
比如,当第一电信号的上升沿个数为10个,光栅周期夹角为3度时,可以确定第一电信号的电平跳变个数为10,调焦轮的当前转动角度为10*3=30度。本申请实施例中,也可以综合考虑两个光电传感器所生成电信号的上升沿或者下降沿的个数,来确定调焦轮的当前转动角度。
在确定调焦轮的当前转动方向和调焦轮的当前转动角度之后,处理器就可以基于调焦轮的当前转动方向和调焦轮的当前转动角度,驱动电机部件对镜头进行调焦。
可见,本申请实施例提供的镜头调焦方法能够利用光电传感器确定调焦轮的当前转动方向以及当前转动角度,这样,就可以根据已确定的焦轮的当前转动方向以及当前转动角度确定镜头的调焦方向和调焦距离,实现对镜头的调焦。利用光电传感器进行镜头调焦的装置结构简单,零件数量少,加工难度低,不仅降低了设备成本,而且能够满足批量生产的需要。
在一种可选的实现方式中,在图2所示的镜头调焦参数的确定方法中的步骤203之后,还可以包括:基于调焦轮的当前转动方向和调焦轮的当前转动角度,驱动电机部件对镜头进行调焦。
具体的,基于调焦轮的当前转动方向和调焦轮的当前转动角度,驱动电机部件对镜头进行调焦,可以包括:
根据第一参数配置和调焦轮的当前转动方向,确定镜头的当前调焦方向;
根据第二参数配置和调焦轮的当前转动角度,确定镜头的当前调焦距离;
基于镜头的当前调焦方向和镜头的当前调焦距离,驱动电机部件对镜头进行调焦。
其中,第一参数配置包括调焦轮的转动方向与镜头的调焦方向之间的对应关系。当调焦轮的转动方向为顺时针或逆时针时,镜头的调焦方向为沿着轴向运动。镜头的调焦方向包括轴向拉近和轴向推远。
第二参数配置包括由调焦轮的转动角度和镜头的调焦距离之间的对应关系。
具体的,处理器在确定调焦轮的当前转动方向之后,可以根据第一参数配置,确定镜头沿轴向的调焦方向。其中,第一参数配置规定了调焦轮的转动方向与镜头的调焦方向之间的对应关系。比如,当调焦轮的转动方向为顺时针方向时,镜头的调焦方向为沿轴拉近;当调焦轮的转动方向为逆时针方向时,镜头的调焦方向为沿轴向推远。
在一种可选的实现方式中,第一参数配置还可以规定镜头的调焦方向与电机部件的转动方向之间的对应关系。比如,当镜头的调焦方向为沿轴拉近,则电机部件的转动方向为顺时针方向;当镜头的调焦方向为沿轴向推远,电机部件的转动方向为逆时针方向。
同样的,处理器在确定调焦轮的当前转动角度之后,可以根据第二参数配置,确定镜头沿轴向的调焦距离。其中,第二参数配置规定了由调焦轮的转动角度和镜头的调焦距离之间的对应关系。比如,规定调焦轮每转动5度,对应的镜头的调焦距离为0.1厘米。当调焦轮的转动角度为10度时,对应的镜 头的调焦距离为0.2厘米。
在一种可选的实现方式中,第二参数配置还可以规定镜头的调焦距离与电机部件的转动圈数之间的对应关系。比如,规定镜头的调焦距离为0.1厘米,电机部件的转动1圈,这样,当镜头的调焦距离为0.2厘米时,电机部件的转动圈数为2圈。
电机部件在处理器确定镜头的调焦方向和调焦距离之后,能够根据已确定的调焦距离和调焦方向,对镜头进行准确调焦。
这样,首先,处理器根据两个光电传感器生成的电信号,确定调焦轮的转动方向和转动角度,随后,基于第一参数配置和第二参数配置,根据调焦轮的当前转动方向和当前转动角度确定镜头的当前调焦方向和当前调焦距离,使得电机部件能够按照确定的当前调焦方向和当前调焦距离,对镜头进行准确调焦。
为了清楚说明本申请实施例提供的镜头调焦方法,下文结合图7至图10对本申请实施例进行说明。图7为本申请实施例提供的手持式红外热成像设备的第一种示意图,图8为本申请实施例提供的手持式红外热成像设备的第二种示意图,图9为本申请实施例提供的光电传感器部件的第一种示意图,图10为本申请实施例提供的光电传感器部件的第二种示意图。本申请实施例中的成像设备不局限于图7至图10所示的成像设备。
如图7和图8所示,成像设备包括:调焦轮1、两个光电传感器2、固定件3、电机部件4、主镜筒5、调焦镜筒6和第一镜片7。
其中,调焦镜筒6可轴向移动地设置在主镜筒5内。
第一镜片7固定设置在主镜筒5内。
固定件3固定于主镜筒5上靠近电机部件4方向的外侧壁,两个光电传感器2安装于固定件3上,调焦轮1可转动的安装于主镜筒5上远离电机部件4方向的外侧壁,调焦轮1与固定件3之间沿主镜筒5的轴向方向存在第一间隙。
电机部件4安装在主镜筒5的外侧壁上。
如图9所示,调焦轮1的内侧壁上设置有至少两个光栅,相邻两个光栅之 间的光栅间隙相等。光栅在调焦轮1转动时经过两个光电传感器2。
光电传感器2,用于生成电信号,并将所生成的电信号发送至处理器。光电传感器2生成的电信号在光栅经过光电传感器2时发生变化。
具体的,两个光电传感器2包括第一光电传感器和第二光电传感器。第一光电传感器生成第一电信号,并将所生成的第一电信号发送至处理器,第二光电传感器生成第二电信号,并将所生成的第二电信号发送至处理器。
处理器与电机部件4电连接,处理器用于根据光电传感器2发送的电信号,驱动电机部件4带动调焦镜筒6移动。
具体的,处理器根据第一电信号和第二电信号驱动电机部件4带动调焦镜筒6移动。
固定在主镜筒5内的第一镜片7可以是不可移动的。这样,调焦镜筒6可以由电机部件4驱动在主镜筒5内轴向移动,以带动调焦镜筒6沿主镜筒5轴向前后移动,实现镜头调焦。
为了使调焦轮1能够套装在主镜筒5外侧壁灵活转动,且当调焦轮1转动时光栅能够经过光电传感器2,调焦轮1与固定件3之间沿主镜筒5的轴向方向存在第一间隙。
调焦轮1在转动时,调焦轮1上的光栅依次经过两个光电传感器2,此时,两个光电传感器2在感应到由于光栅经过对射光轴时产生的光线明暗变化之后,产生变化的光信号,接下来,两个光电传感器2根据产生的光信号分别生成连续且存在电平跳变的电信号,并将生成的电信号发送至处理器。然后,处理器根据接收到的两个电信号的电平跳变情况,确定调焦轮1的转动方向。
处理器和电机部件4之间的电连接关系如图11所示,图11为本申请实施例提供的处理器和电机部件之间的电连接的一种示意图。在图11中,光电传感器2在感应到光栅经过光电传感器2时,电信号发生变化,并将电信号发送至处理器12,处理器12根据接收到的电信号,驱动电机部件4带动调焦镜筒6移动,实现镜头调焦。
可见,本申请实施例提供的成像设备,能够利用光电传感器进行调焦, 不仅结构简单,零件数量少,而且加工难度低,降低了设备成本。
一种实现方式中,如图7和图8所示,成像设备还可以包括:第二镜片8。第二镜片8固定设置在调焦镜筒6内。
这样,当调焦镜筒6沿主镜筒5轴向前后移动时,能够带动位于调焦镜筒6内的第二镜片沿主镜筒5轴向前后移动,通过改变第二镜片8与第一镜片7之间的相对位置,实现镜头调焦。
一种实现方式中,如图7和图8所示,成像设备还可以包括:销钉9。电机部件4与调焦镜筒6通过销钉9相连接。电机部件4,用于通过销钉9,驱动调焦镜筒6轴向移动,以调整第二镜片8与第一镜片7之间的相对位置。
这样,当处理器根据接收到的电信号,驱动电机部件4工作时,电机部件4能够通过销钉9,驱动调焦镜筒6沿主镜筒5的轴向移动,以调整第二镜片8与第一镜片7之间的相对位置,实现镜头调焦。
一种实现方式中,调焦轮1与固定件3之间沿主镜筒5的轴向方向存在的第一间隙为预设距离,当第一间隙为预设距离时,调焦轮1转动时光栅经过光电传感器2。
具体的,调焦轮1与固定件3之间沿主镜筒5的轴向方向的第一间隙可以设置为预设距离,这是为了调焦轮1能够灵活转动,且当调焦轮1转动时光栅能够通过光电传感器2,使光电传感器2生成电信号。
一种实现方式中,固定件3固定套装与主镜筒5上靠近电机部件4方向的外侧壁上;调焦轮1可转动的套装与主镜筒5上远离电机部件4方向的外侧壁上;调焦轮1与主镜筒5的外侧壁之间存在第二间隙。
具体的,固定件3和调焦轮1均安装在主镜筒5上,固定件3可以通过螺钉结构、铆钉结构或其他方式固定在主镜筒上5。为了使调焦轮1能够灵活转动,因此,调焦轮1可转动的安装在主镜筒5的外侧壁上,且与主镜筒5的外侧壁之间存在第二间隙。相比之下,固定件3比调焦轮1更加接近主镜筒5的外侧壁。
一种实现方式中,如图7和图8所示,成像设备还可以包括:调焦压圈10。
调焦压圈10和固定件3相连接。
调焦压圈10套装于主镜筒5的外侧壁。
调焦轮1套装于调焦压圈10的外侧壁。
为了进一步说明调焦压圈10、调焦轮1以及固定件3之间的安装位置,参考图10。如图10所示,调焦压圈10与固定件3可以通过螺钉结构相连接。调焦压圈10通过固定件3,设置于调焦轮1和主镜筒5之间。调焦压圈10用于间隙固定调焦轮1,使调焦轮1既能灵活转动,且不会从主镜筒5上脱落,以保证调焦轮1在转动时,调焦轮1上的光栅能够准确经过光电传感器2。
可选的,调焦压圈10和固定件3均为硬质材质,具体可以是金属,也可以是硬质塑料,当然也可以是其他硬质材质。
一种实现方式中,两个光电传感器2在固定件3上的位置成预设夹角。两个光电传感器2安装于在固定件3上,两个光电传感器2在固定件3上的位置可调。
可选的,两个光电传感器2在固定件3上的位置之间的距离大于或者等于一个光栅周期,光栅周期包括一个光栅的宽度与一个光栅间隙的宽度之和。
如图7、图8和图10所示,手持式红外热成像设备还包括:PCB板11。
PCB板11固定安装在固定件3上。两个光电传感器2安装于PCB板11上。
具体的,光电传感器2将生成的电信号通过PCB板11上的电路发送至处理器,其中,光电传感器2通过PCB板11与处理器电连接。这样,处理器就能够根据光电传感器2生成的电信号对调焦镜筒6进行调焦。
此外,从图10可以看出,光电传感器2可以通过PCB板11存在的凸起来限定位置。例如PCB板11存在四个凸起,这四个凸起通过焊接等方式固定在PCB板11上,且光电传感器2固定在PCB板11上的凸起位置处,并且可根据实际需求调整光电传感器2在PCB板11上的固定位置。
如图9所示,光栅分布在调焦轮1的内侧壁的整个圆周上;或,光栅也可以分布在调焦轮1的内侧壁的部分圆周上。
也就是说,当光栅分布在调焦轮1的内侧壁的整个圆周上时,多个光栅形成圆环光栅。当光栅分布在调焦轮1的内侧壁的部分圆周上时,多个光栅形成圆弧光栅。在实际应用中,可以根据具体需求对光栅进行设置。
调焦轮1在转动时,调焦轮1上的光栅依次经过两个光电传感器2。当光栅经过光电传感器2时,由于对射光轴被光栅遮挡而使光信号发生变化,接下来,光电传感器2根据变化的光信号生成电平状态变化的电信号,并将生成的电平状态变化的电信号发送至处理器;然后,处理器根据接收到的两个电信号,确定调焦轮1的当前转动方向和当前转动角度。
在一种实现方式中,参考图12,图12为本申请实施例中步骤202的一种具体流程图,如图2所示的镜头调焦参数的确定方法中的步骤202具体可以包括如下子步骤:
子步骤11,判断光栅的齿占比以及两个光电传感器的位置之间的相位差是否符合公式(1)、公式(2)、公式(3)中的任一公式;若为是,则执行子步骤12。其中,光栅的齿占比即为光栅占比。光栅占比为:一个光栅的宽度与一个光栅周期的宽度的比值,光栅周期由一个光栅与相邻的光栅间隙构成。
在本步骤中,成像设备的处理器判断当前使用的成像设备中的光栅占比以及两个光电传感器的位置之间相对于光栅周期的相位差是否符合:预设的参数表中,对于光栅占比以及两个光电传感器在固定件上的位置之间相对于光栅周期的相位差的限制条件。具体的,限制条件中要求光栅占比为预设值,且两个光电传感器在固定件上的位置之间相对于光栅周期的相位差为预设相位差。
为便于描述,下面将两个光电传感器在固定件上的位置之间相对于光栅周期的相位差,简称为两个光电传感器之间的相位差;将两个光电传感器在固定件上的位置之间相对于光栅周期的预设相位差,简称为两个光电传感器之间的预设相位差。
也就是说,参数表还可以包括两个光电传感器之间的预设相位差。当两个光电传感器安装于固定件上时,两个光电传感器之间的当前相位差符合预设相位差,且光栅占比也为预设值,处理器才能根据第一电信号和第二电信 号,基于参考表,确定调焦轮的当前转动方向。
本申请实施例中,两个光电传感器之间的当前相位差,可以根据光栅周期夹角和两个光电传感器在固定件上位置之间的夹角计算得到。
限制条件具体如公式(1)、公式(2)、公式(3)所示,公式(1)、公式(2)、公式(3)均包括光栅占比的预设值以及两个光电传感器之间的预设相位差。只要光栅占比和两个光电传感器之间的当前相位差符合其中任一公式中限定的光栅占比的预设值以及预设相位差,就说明当前使用的成像设备中的光栅占比以及两个光电传感器在固定件上的位置之间相对于光栅周期的当前相位差符合限制条件。
Figure PCTCN2018091256-appb-000002
Figure PCTCN2018091256-appb-000003
Figure PCTCN2018091256-appb-000004
其中,d表示光栅占比,ω表示两个光电传感器之间的预设相位差。
针对两个光电传感器之间的当前相位差,成像设备的处理器可以根据两个光电传感器在固定件上的相对位置,也就是两个光电传感器在固定件上的位置之间的夹角,计算出两个光电传感器和在固定件上的位置之间的当前相位差。
如图6所示,在图6中,圆环形光栅的光栅中径圆的半径为R。两个光电传感器12和13位于光栅中径圆上,光电传感器12的对射光轴与光栅中径圆的交点为P,光电传感器13的对射光轴与光栅中径圆的交点为Q。点P在光栅周期内的相位为ω1,点Q在光栅周期内的相位为ω2,那么,P点和Q点之间的相位差的绝对值为∣ω1-ω2∣,也就是说,光电传感器12和光电传感器13对于光栅周期的当前相位差为ω=∣ω1-ω2∣。为了方便说明,下文称ω为两个光电传感器在固定件上的位置之间的当前相位差。
两个光电传感器12和13在固定件上的位置之间的夹角可表示为α。具体的,两个光电传感器12和13在固定件上的位置之间的夹角α与两个光电传感器12和13在固定件上的位置之间的当前相位差ω之间的计算关系如公式(4)所示:
Figure PCTCN2018091256-appb-000005
在公式(4)中,ω为两个光电传感器12和13在固定件上的位置之间的当前相位差;θ为一个光栅周期夹角;α为两个光电传感器12和13在固定件上的位置之间的夹角;i=1,2,3...,i为自然数。
这样,处理器能够根据两个光电传感器12和13在固定件上的位置之间的夹角,计算出两个光电传感器12和13在固定件上的位置之间的当前相位差,进而判断当前相位差是否符合如公式(1)至公式(3)中的任一公式。
子步骤12,根据第一电信号和第二电信号,基于预设的参数表,确定调焦轮的当前转动方向。
在本步骤中,当成像设备的处理器确定当前使用的成像设备中的光栅占比以及两个光电传感器之间的当前相位差符合公式(1)、公式(2)、公式(3)中的任一公式时,可以根据预设的参数表中的第一电信号、第二电信号与调焦轮的转动方向之间的对应关系,来确定调焦轮的当前转动方向。
在一种实现方式中,参数表包括第一电信号的五个连续的电平信号、与第一电信号对应的第二电信号的五个连续的电平信号、与调焦轮的转动方向之间的对应关系。可参考表1所示。
也就是说,可以根据第一电信号的五个连续的电平信号,以及与第一电信号对应的第二电信号的五个连续的电平信号,基于参数表,来确定调焦轮的当前转动方向。
在一种实现方式中,相对于光栅周期,第一光电传感器的相位小于第二光电传感器的相位。也就是,在顺时针旋转调焦轮时,光栅先经过第一光电传感器之后再经过第二光电传感器。此时,参数表具体可以包括:
第一电信号的低电平、高电平、高电平、低电平和低电平的第一电平状 态序列,第二电信号的低电平、低电平、高电平、高电平和低电平的第二电平状态序列,以及顺时针方向的转动方向的三者间的对应关系;
第一电信号的低电平、低电平、高电平、高电平和低电平的第三电平状态序列,第二电信号的低电平、高电平、高电平、低电平和低电平的第四电平状态序列,以及逆时针方向的转动方向的三者间的对应关系。
下面结合公式(1)至公式(3),对参数表中的对应关系进行详细说明:
第一种情况:当前使用的成像设备中的光栅占比以及两个光电传感器之间的当前相位差符合公式(1)。当第一电信号的电平状态变化在一时间段内按照时间顺序为低电平、高电平、高电平、低电平和低电平,且在该时间段内第二电信号的电平状态变化按照时间顺序为低电平、低电平、高电平、高电平和低电平时,确定调焦轮的当前转动方向为顺时针方向。
用0代表低电平,用1代表高电平。那么,当第一光电传感器和第二光电传感器所生成电信号如图13所示时,可以确定对应的调焦轮的当前转动方向为顺时针方向。图13为本申请实施例中两个光电传感器生成的电信号的第二种示意图。如图13所示,脉冲E为第一光电传感器生成的第一电信号,脉冲F为第二光电传感器生成的第二电信号。
从图13可以看出,第一电信号的电平为0时对应第二电信号的电平为0;第一电信号的电平从0跳变为1时对应第二电信号的电平为0;第一电信号的电平为1时对应第二电信号的电平从0跳变为1;第一电信号的电平从1跳变为0时对应第二电信号的电平为1;第一电信号为0时对应第二电信号的电平从1跳变为0。
第二种情况:当前使用的成像设备中的光栅占比以及两个光电传感器之间的当前相位差符合公式(2)。当第一电信号的电平状态变化在一时间段内按照时间顺序为低电平、高电平、高电平、低电平和低电平,且在该时间段内第二电信号的电平状态变化按照时间顺序为低电平、低电平、高电平、高电平和低电平时,确定调焦轮的当前转动方向为顺时针方向。
当第一光电传感器和第二光电传感器所生成电信号的电平跳变情况如图14所示时,可以确定调焦轮的当前转动方向为顺时针方向。图14为本申请实 施例中两个光电传感器生成的电信号的第三种示意图。从图14可以看出,图14中所示的电信号与图13所示的电信号的电平跳变规律相同,唯一不同的是,电信号的电平跳变的间隔时长不同。
第三种情况:当前使用的成像设备中的光栅占比以及两个光电传感器之间的当前相位差符合公式(3)。当第一电信号的电平状态变化在一时间段内按照时间顺序为低电平、高电平、高电平、低电平和低电平,且在该时间段内第二电信号的电平状态变化按照时间顺序为低电平、低电平、高电平、高电平和低电平时,确定调焦轮的当前转动方向为顺时针方向。
当第一光电传感器和第二光电传感器所生成电信号的电平跳变情况如图15所示时,可以确定调焦轮的当前转动方向为顺时针方向,图15为本申请实施例中两个光电传感器生成的电信号的第四种示意图。从图15可以看出,图15中所示的电信号的跳变情况与图13和图14所示的电信号的电平跳变规律相同,唯一不同的是,电信号的电平跳变的间隔时长不同。
第四种情况:当前使用的成像设备中的光栅占比以及两个光电传感器之间的当前相位差符合公式(1)。当第一电信号的电平状态变化在一时间段内按照时间顺序为低电平、低电平、高电平、高电平、低电平,且在该时间段内第二电信号的电平状态变化按照时间顺序为低电平、高电平、高电平、低电平、低电平时,确定调焦轮的当前转动方向为逆时针方向。
当第一光电传感器和第二光电传感器所生成电信号的电平跳变情况如图16所示时,可以确定调焦轮的当前转动方向为逆时针方向,图16为本申请实施例中两个光电传感器生成的电信号的第五种示意图。
从图16可以看出,第一电信号的电平为0时对应第二电信号的电平为0;第一电信号的电平为0时对应第二电信号的电平从0跳变至1;第一电信号的电平从0跳变至1时对应第二电信号的电平为1;第一电信号的电平为1时对应第二电信号的电平从1跳变至0;第一电信号的电平从1跳变至0时对应第二电信号的电平为0。
第五种情况:当前使用的成像设备中的光栅占比以及两个光电传感器之间的当前相位差符合公式(2)。当第一电信号的电平状态变化在一时间段内 按照时间顺序为低电平、低电平、高电平、高电平和低电平,且在该时间段内第二电信号的电平状态变化按照时间顺序为低电平、高电平、高电平、低电平和低电平时,确定调焦轮的当前转动方向为逆时针方向。
当第一光电传感器和第二光电传感器所生成电信号的电平跳变情况如图17所示时,可以确定调焦轮的当前转动方向为逆时针方向,图17为本申请实施例中两个光电传感器生成的电信号的第六种示意图。
从图17可以看出,图17中所示的电信号的跳变情况与图16所示的电信号的电平跳变规律相同,唯一不同的是,电信号的电平跳变的间隔时长不同。
第六种情况:当前使用的成像设备中的光栅占比以及两个光电传感器之间的当前相位差符合公式(3)。当第一电信号的电平状态变化在一时间段内按照时间顺序为低电平、低电平、高电平、高电平和低电平,且在该时间段内第二电信号的电平状态变化按照时间顺序为低电平、高电平、高电平、低电平和低电平时,确定调焦轮的当前转动方向为逆时针方向。
当第一光电传感器和第二光电传感器所生成电信号的电平跳变情况如图18所示时,可以确定调焦轮的当前转动方向为逆时针方向,图18为本申请实施例中两个光电传感器生成的电信号的第七种示意图。
从图18可以看出,图18中所示的电信号的跳变情况与图16和图17所示的电信号的电平跳变规律相同,唯一不同的是,电信号的电平跳变的间隔时长不同。
综上所述,根据图13至图18所示的电平跳变情况,可以确定,在当前使用的成像设备中的光栅占比以及两个光电传感器之间的当前相位差符合公式(1)至公式(3)中的任一公式的前提下,第一光电传感器和第二光电传感器所生成电信号,与调焦轮的转动方向之间的对应关系可以如表2所示。
表2
Figure PCTCN2018091256-appb-000006
在表2中,每对电信号中,前一个为第一光电传感器生成的第一电信号的电平状态,后一个为第二光电传感器生成的第二电信号的电平状态;比如,对于电信号10来说,1为第一电信号的电平状态,0为第二电信号的电平状态。
为了方便处理器对电信号的电平跳变情况进行处理,可以以将以0、1形式表示的电信号转换为十进制数字,比如,电信号10对应的转换后的信号为十进制数字2。这样,当处理器接收到PCB板发送的转换后信号为0-2-3-1-0时,可以确定调焦轮的转动方向为顺时针;当处理器接收到PCB板发送的转换后信号为0-1-3-2-0时,可以确定调焦轮的转动方向为逆时针。
在一种可能的实现方式中,第一光电传感器相对于光栅周期的相位小于第二光电传感器相对于光栅周期的相位,且光栅周期夹角和两个光电传感器之间的当前相位差为:按照公式(1)-(3)中任一公式的情况布置。此时,参数表包括:
第一电信号的低电平、高电平、高电平、低电平和低电平的第一电平状态序列,第二电信号的低电平、低电平、高电平、高电平和低电平的第二电平状态序列,以及顺时针方向的转动方向的三者间的对应关系;
第一电信号的低电平、低电平、高电平、高电平和低电平的第三电平状态序列,第二电信号的低电平、高电平、高电平、低电平和低电平的第四电平状态序列,以及逆时针方向的转动方向的三者间的对应关系。
处理器接收到第一电信号和第二电信号,对于第一电信号和第二电信号这两个电信号,若第一位置与第二位置相同,则确定调焦轮的当前转动方向为顺时针方向。其中,第一位置为第一电信号中两个相邻的电平状态在第一电平状态序列的位置,第二位置为第二电信号中两个相邻的电平状态在第二电平状态序列的位置。
例如,若第一电信号中两个相邻的电平状态为0→1,第一电信号中两个相邻的电平状态为0→0,即如表2所示,当第一电信号和第二电信号的电平状态为00→10时,确定第一位置与第二位置相同,确定调焦轮的当前转动方向为顺时针方向。
若第一电信号中两个相邻的电平状态为1→1,第一电信号中两个相邻的 电平状态为0→1,即如表2所示,当第一电信号和第二电信号的电平状态为10→11时,确定第一位置与第二位置相同,确定调焦轮的当前转动方向为顺时针方向。
若第一电信号中两个相邻的电平状态为1→0,第一电信号中两个相邻的电平状态为1→1,即如表2所示,当第一电信号和第二电信号的电平状态为11→01时,确定第一位置与第二位置相同,确定调焦轮的当前转动方向为顺时针方向。
若第一电信号中两个相邻的电平状态为0→0,第一电信号中两个相邻的电平状态为1→0,即如表2所示,当第一电信号和第二电信号的电平状态为01→00时,确定第一位置与第二位置相同,确定调焦轮的当前转动方向为顺时针方向。
处理器接收到第一电信号和第二电信号,对于第一电信号和第二电信号这两个电信号,若第三位置与第四位置相同,则确定调焦轮的当前转动方向为逆时针方向。第三位置为第一电信号中两个相邻的电平状态在第三电平状态序列的位置,第四位置为第二电信号中两个相邻的电平状态在第四电平状态序列的位置。
例如,若第一电信号中两个相邻的电平状态为0→0,第一电信号中两个相邻的电平状态为0→1,即如表2所示,当第一电信号和第二电信号的电平状态为00→01时,确定第三位置与第四位置相同,确定调焦轮的当前转动方向为逆时针方向。
若第一电信号中两个相邻的电平状态为0→1,第一电信号中两个相邻的电平状态为1→1,即如表2所示,当第一电信号和第二电信号的电平状态为01→11时,确定第三位置与第四位置相同,确定调焦轮的当前转动方向为逆时针方向。
若第一电信号中两个相邻的电平状态为1→1,第一电信号中两个相邻的电平状态为1→0,即如表2所示,当第一电信号和第二电信号的电平状态为11→10时,确定第三位置与第四位置相同,确定调焦轮的当前转动方向为逆时针方向。
若第一电信号中两个相邻的电平状态为1→0,第一电信号中两个相邻的电平状态为0→0,即如表2所示,当第一电信号和第二电信号的电平状态为10→00时,确定第三位置与第四位置相同,确定调焦轮的当前转动方向为逆时针方向。
可见,在本申请实施例中,能够根据实际使用的成像设备中光栅占比以及两个光电传感器之间的当前相位差,确定第一光电传感器和第二光电传感器分别生成电信号与调焦轮的转动方向之间的对应关系,以便根据第一光电传感器和第二光电传感器实际所生成电信号,确定调焦轮的当前转动方向,进而实现镜头的精准调焦。
基于相同的发明构思,与上述镜头调焦方法实施例对应,本申请实施例还提供了一种成像设备,参考图19,图19为本申请实施例提供的成像设备的一种示意图,如图19所示,成像设备包括:调焦轮1901、两个光电传感器1902、至少三个光栅1903、处理器1904、电机部件1905和镜头1906,其中,光栅1903分布在调焦轮1901的内侧壁上,相邻光栅1903之间存在宽度相等的光栅间隙。当调焦轮1901转动时,至少三个光栅1903中的光栅经过两个光电传感器1902;
处理器1904,用于确定两个光电传感器1902中的第一光电传感器生成的第一电信号,其中,第一电信号在至少三个光栅1903中的光栅经过第一光电传感器时发生变化;
处理器1904,用于确定两个光电传感器1902中的第二光电传感器生成的第二电信号,其中,第二电信号在至少三个光栅1903中的光栅经过第二光电传感器时发生变化;
处理器1904,用于根据第一电信号和第二电信号,基于预设的参数表,确定调焦轮1901的当前转动方向,其中参数表包括第一电信号、第二电信与调焦轮1901的转动方向之间的对应关系;
处理器1904,用于根据第一电信号的电平跳变的个数或第二电信号的电平跳变的个数,确定调焦轮1901的当前转动角度,其中,电平跳变为由高电平跳变为低电平或由低电平跳变为高电平;
处理器1904,用于基于调焦轮1901的当前转动方向和调焦轮1901的当前转动角度,驱动电机部件1905对镜头1906进行调焦。
可选的,处理器1904,还用于根据镜头1906的第一参数配置和调焦轮1901的当前转动方向,确定镜头1906的当前调焦方向,其中,第一参数配置包括调焦轮1901的转动方向与镜头1906的调焦方向之间的对应关系,镜头1906的调焦方向包括轴向拉近和轴向推远;
根据镜头1906的第二参数配置和调焦轮1901的当前转动角度,确定镜头1906的当前调焦距离,其中,第二参数配置包括调焦轮1901的转动角度和镜头1906的调焦距离之间的对应关系;
基于镜头1906的当前调焦方向和镜头1906的当前调焦距离,驱动电机部件1905对镜头1906进行调焦。
可选的,调焦轮1901的当前转动角度等于电平跳变的个数乘以一个光栅周期夹角,其中,光栅周期夹角是一个光栅周期在调焦轮1901的内侧壁上的夹角,光栅周期是由一个光栅1903与一个相邻的光栅间隙构成。
可选的,成像设备还包括固定件,两个光电传感器1902安装于固定件上;
光栅占比为预设值,且相对于光栅周期,两个光电传感器1902在固定件上的位置之间的当前相位差符合预设相位差;
其中,光栅占比为:一个光栅的宽度与一个光栅周期的宽度的比值,光栅周期由一个光栅与一个相邻的光栅间隙构成;当前相位差为根据光栅周期夹角和传感器夹角计算得到的,光栅周期夹角是一个光栅周期在调焦轮的内侧壁上的夹角,传感器夹角为两个光电传感器在调焦轮的内侧壁上的夹角。
可选的,若光栅占比d为d=0.5,则所述预设相位差ω为:0<ω<360°且ω≠180°;
若光栅占比d为0<d<0.5,则所述预设相位差ω为:0<ω<d*360°或(1-d)*360°<ω<360°;
若光栅占比d为0.5<d<1,则所述预设相位差ω为:0<ω<(1-d)*360°或d*360°<ω<360°。
可选的,参数表包括第一电信号的五个连续的电平信号、与第一电信号对应的第二电信号的五个连续的电平信号、与调焦轮1901的转动方向之间的对应关系。
可选的,参数表包括:第一电信号的低电平、高电平、高电平、低电平和低电平的第一电平状态序列,第二电信号的低电平、低电平、高电平、高电平和低电平的第二电平状态序列,以及顺时针方向的转动方向的三者间的对应关系;
第一电信号的低电平、低电平、高电平、高电平和低电平的第三电平状态序列,且第二电信号的低电平、高电平、高电平、低电平和低电平的第四电平状态序列,以及逆时针方向的转动方向的三者间的对应关系;
其中,第一光电传感器相对于光栅周期的相位小于第二光电传感器相对于光栅周期的相位。
可选的,处理器1904,具体可以用于:
若第一位置与第二位置与相同,则确定调焦轮的当前转动方向为顺时针方向;第一位置为第一电信号中两个相邻的电平状态在第一电平状态序列的位置,第二位置为第二电信号中两个相邻的电平状态在第二电平状态序列的位置;
若第三位置与第四位置与相同,则确定调焦轮的当前转动方向为逆时针方向;第三位置为第一电信号中两个相邻的电平状态在第三电平状态序列的位置,第四位置为第二电信号中两个相邻的电平状态在第四电平状态序列的位置。
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
可见,本申请实施例提供的成像设备,能够利用光电传感器进行调焦, 利用光电传感器进行调焦的装置结构简单,零件数量少,加工难度低,不仅降低了设备成本,而且能够满足批量生产的需要。
本说明书中,成像设备实施例基本相似于镜头调焦方法实施例,所以描述的比较简单,相关之处参见图2-图18所示的镜头调焦方法实施例的部分说明即可。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于成像设备实施例而言,由于其基本相似于镜头调焦方法实施例,所以描述的比较简单,相关之处参见镜头调焦方法实施例的部分说明即可。
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。

Claims (15)

  1. 一种成像设备,其特征在于,所述成像设备包括:调焦轮、两个光电传感器、至少三个光栅、处理器、电机部件和镜头,其中,所述至少三个光栅中的光栅分布在所述调焦轮的内侧壁上,相邻光栅之间存在宽度相等的光栅间隙;当所述调焦轮转动时,所述至少三个光栅中的光栅经过所述两个光电传感器;
    所述处理器,用于确定所述两个光电传感器中的第一光电传感器生成的第一电信号,其中,所述第一电信号的电平在所述至少三个光栅中的光栅经过所述第一光电传感器时发生变化;
    所述处理器,用于确定所述两个光电传感器中的第二光电传感器生成的第二电信号,其中,所述第二电信号的电平在所述至少三个光栅中的光栅经过所述第二光电传感器时发生变化;
    所述处理器,用于根据所述第一电信号和所述第二电信号,基于预设的参数表,确定所述调焦轮的当前转动方向,其中,所述参数表包括所述第一电信号、所述第二电信号与调焦轮的转动方向之间的对应关系;
    所述处理器,用于根据所述第一电信号的电平跳变的个数或所述第二电信号的电平跳变的个数,确定所述调焦轮的当前转动角度,其中,所述电平跳变为由高电平跳变为低电平或由低电平跳变为高电平;
    所述处理器,用于基于所述调焦轮的当前转动方向和所述调焦轮的当前转动角度,驱动所述电机部件对所述镜头进行调焦。
  2. 根据权利要求1所述的成像设备,其特征在于,所述处理器,具体用于:
    根据第一参数配置和所述调焦轮的当前转动方向,确定所述镜头的当前调焦方向,其中,所述第一参数配置包括调焦轮的转动方向与镜头的调焦方向之间的对应关系,所述镜头的调焦方向包括轴向拉近和轴向推远;
    根据第二参数配置和所述调焦轮的当前转动角度,确定所述镜头的当前调焦距离,其中,所述第二参数配置包括调焦轮的转动角度和镜头的调焦距 离之间的对应关系;
    基于所述镜头的当前调焦方向和所述镜头的当前调焦距离,驱动所述电机部件对所述镜头进行调焦。
  3. 根据权利要求1所述的成像设备,其特征在于,所述调焦轮的当前转动角度等于所述电平跳变的个数乘以一个光栅周期夹角,其中,所述光栅周期夹角是一个光栅周期在所述调焦轮的内侧壁上的夹角,所述光栅周期由一个光栅与一个相邻的光栅间隙构成。
  4. 根据权利要求1所述的成像设备,其特征在于,所述成像设备还包括固定件,所述两个光电传感器安装于所述固定件上;
    光栅占比为预设值,且相对于光栅周期,所述两个光电传感器在所述固定件上的位置之间的当前相位差符合预设相位差;
    其中,所述光栅占比为:一个光栅的宽度与一个光栅周期的宽度的比值,所述光栅周期由一个光栅与一个相邻的光栅间隙构成;所述当前相位差为根据光栅周期夹角和传感器夹角计算得到的,所述光栅周期夹角是一个光栅周期在所述调焦轮的内侧壁上的夹角,所述传感器夹角为所述两个光电传感器在所述调焦轮的内侧壁上的夹角。
  5. 根据权利要求4所述的成像设备,其特征在于,
    若光栅占比d为d=0.5,则所述预设相位差ω为:0<ω<360°且ω≠180°;
    若光栅占比d为0<d<0.5,则所述预设相位差ω为:0<ω<d*360°或(1-d)*360°<ω<360°;
    若光栅占比d为0.5<d<1,则所述预设相位差ω为:0<ω<(1-d)*360°或d*360°<ω<360°。
  6. 根据权利要求1所述的成像设备,其特征在于,
    所述参数表包括所述第一电信号的五个连续的电平信号、与所述第一电信号对应的所述第二电信号的五个连续的电平信号、与调焦轮的转动方向之间的对应关系。
  7. 根据权利要求6所述的成像设备,其特征在于,所述参数表包括:
    所述第一电信号的低电平、高电平、高电平、低电平和低电平的第一电平状态序列,所述第二电信号的低电平、低电平、高电平、高电平和低电平的第二电平状态序列,以及顺时针方向的转动方向的三者间的对应关系;
    所述第一电信号的低电平、低电平、高电平、高电平和低电平的第三电平状态序列,所述第二电信号的低电平、高电平、高电平、低电平、低电平的第四电平状态序列,以及逆时针方向的转动方向的三者间的对应关系;
    其中,所述第一光电传感器相对于光栅周期的相位小于所述第二光电传感器相对于光栅周期的相位。
  8. 根据权利要求7所述的成像设备,其特征在于,所述处理器,具体用于:
    若第一位置与第二位置与相同,则确定所述调焦轮的当前转动方向为顺时针方向;所述第一位置为所述第一电信号中两个相邻的电平状态在所述第一电平状态序列的位置,所述第二位置为所述第二电信号中两个相邻的电平状态在所述第二电平状态序列的位置;
    若第三位置与第四位置与相同,则确定所述调焦轮的当前转动方向为逆时针方向;所述第三位置为所述第一电信号中两个相邻的电平状态在所述第三电平状态序列的位置,所述第四位置为所述第二电信号中两个相邻的电平状态在所述第四电平状态序列的位置。
  9. 一种镜头调焦方法,其特征在于,应用于成像设备,其中,所述成像设备包括:调焦轮、两个光电传感器、至少三个光栅、处理器、电机部件和镜头,其中,所述至少三个光栅中的光栅分布在所述调焦轮的内侧壁上,相邻光栅之间存在宽度相等的光栅间隙,当所述调焦轮转动时,所述至少三个光栅中的光栅经过所述两个光电传感器;所述方法包括:
    所述处理器确定所述两个光电传感器中的第一光电传感器生成的第一电信号,其中,所述第一电信号的电平在所述至少三个光栅中的光栅经过所述第一光电传感器时发生变化;
    确定所述两个光电传感器中的第二光电传感器生成的第二电信号,其中,所述第二电信号的电平在所述至少三个光栅中的光栅经过所述第二光电传感器时发生变化;
    根据所述第一电信号和所述第二电信号,基于预设的参数表,确定所述调焦轮的当前转动方向,其中,所述参数表包括所述第一电信号、所述第二电信号与调焦轮的转动方向之间的对应关系;
    根据所述第一电信号的电平跳变的个数或所述第二电信号的电平跳变的个数,确定所述调焦轮的当前转动角度,其中,所述电平跳变为由高电平跳变为低电平或由低电平跳变为高电平;
    基于所述调焦轮的当前转动方向和所述调焦轮的当前转动角度,驱动所述电机部件对所述镜头进行调焦。
  10. 一种成像设备,其特征在于,所述成像设备包括:调焦轮、两个光电传感器、固定件、处理器、电机部件、主镜筒、调焦镜筒、第一镜片;
    所述调焦镜筒可轴向移动地设置在所述主镜筒内;
    所述第一镜片固定设置在所述主镜筒内;
    所述调焦轮的内侧壁上设置有至少两个光栅,相邻两个光栅之间的光栅间隙相等;所述光栅在所述调焦轮转动时,经过所述两个光电传感器;
    所述固定件固定于所述主镜筒上靠近所述电机部件方向的外侧壁,所述两个光电传感器安装于所述固定件上,所述调焦轮可转动的安装于所述主镜筒上远离所述电机部件方向的外侧壁,所述调焦轮与所述固定件之间沿所述主镜筒的轴向方向存在第一间隙;
    所述电机部件安装在所述主镜筒的外侧壁上;
    所述光电传感器,用于生成电信号,并将所生成的电信号发送至所述处理器;所述光电传感器生成的电信号在所述光栅经过所述光电传感器时发生变化;
    所述处理器与所述电机部件电连接,所述处理器用于根据所述光电传感器发送的电信号,驱动所述电机带动所述调焦镜筒移动。
  11. 根据权利要求10所述的成像设备,其特征在于,所述成像设备还包括:第二镜片和销钉;
    所述第二镜片固定设置在所述调焦镜筒内;
    所述电机部件与所述调焦镜筒通过所述销钉相连接;
    所述电机部件,用于通过所述销钉驱动所述调焦镜筒轴向移动,以调整所述第二镜片与所述第一镜片之间的相对位置。
  12. 根据权利要求10所述的成像设备,其特征在于,
    所述两个光电传感器在所述固定件上的位置成预设夹角;
    所述两个光电传感器在所述固定件上的位置之间的距离大于或者等于一个光栅周期,所述光栅周期由一个光栅与一个相邻的光栅间隙构成;
    所述光栅分布在所述调焦轮的内侧壁的整个圆周上;或,所述光栅分布在所述调焦轮的内侧壁的部分圆周上。
  13. 根据权利要求10所述的成像设备,其特征在于,
    所述固定件固定套装于所述主镜筒上靠近所述电机部件方向的外侧壁;
    所述调焦轮可转动的套装于所述主镜筒上远离所述电机部件方向的外侧壁;
    所述调焦轮与所述主镜筒的外侧壁之间存在第二间隙。
  14. 根据权利要求10所述的成像设备,其特征在于,所述成像设备还包括:调焦压圈;
    所述调焦压圈和所述固定件相连接;
    所述调焦压圈套装于所述主镜筒的外侧壁;
    所述调焦轮套装于所述调焦压圈的外侧壁。
  15. 根据权利要求10所述的成像设备,其特征在于,所述成像设备还包括:PCB板;所述PCB板固定安装在所述固定件上;所述两个光电传感器安装于所述PCB板上。
PCT/CN2018/091256 2017-09-30 2018-06-14 一种成像设备和一种镜头调焦方法 WO2019062211A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/648,574 US11082601B2 (en) 2017-09-30 2018-06-14 Imaging device and lens focusing method
EP18863571.8A EP3690544A4 (en) 2017-09-30 2018-06-14 IMAGING DEVICE AND LENS FOCUSING METHOD

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201721282426.6 2017-09-30
CN201710940346.3A CN109597263B (zh) 2017-09-30 2017-09-30 一种成像设备和一种镜头调焦方法
CN201721282426.6U CN207249317U (zh) 2017-09-30 2017-09-30 一种成像设备
CN201710940346.3 2017-09-30

Publications (1)

Publication Number Publication Date
WO2019062211A1 true WO2019062211A1 (zh) 2019-04-04

Family

ID=65900583

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/091256 WO2019062211A1 (zh) 2017-09-30 2018-06-14 一种成像设备和一种镜头调焦方法

Country Status (3)

Country Link
US (1) US11082601B2 (zh)
EP (1) EP3690544A4 (zh)
WO (1) WO2019062211A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110941074B (zh) * 2018-09-21 2023-04-07 佳能株式会社 配备有旋转环的摄像设备、光学装置和配件装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1176395A (zh) * 1996-08-20 1998-03-18 富士写真胶片株式会社 变焦透镜装置
US20120141103A1 (en) * 2010-12-03 2012-06-07 Chiang Cheng-Nan Auto focus module of image capture device
CN102538609A (zh) * 2012-01-06 2012-07-04 东北林业大学 高精度数显式螺旋测微器
CN202533643U (zh) * 2012-01-20 2012-11-14 中国科学院上海技术物理研究所 一种光学遥感仪器的高精度调焦装置
US20140043526A1 (en) * 2012-08-08 2014-02-13 Canon Kabushiki Kaisha Encoder, lens apparatus, and camera capable of detecting position of object
CN207249317U (zh) * 2017-09-30 2018-04-17 杭州海康威视数字技术股份有限公司 一种成像设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5408332A (en) * 1988-03-18 1995-04-18 Hitachi, Ltd. Focusing apparatus for video camera or the like
US6963366B2 (en) * 1996-06-19 2005-11-08 Canon Kabushiki Kaisha Image pickup apparatus
JP3572061B2 (ja) * 2002-07-09 2004-09-29 キヤノン株式会社 撮像装置、その電源制御方法、及び制御プログラム
WO2012169284A1 (ja) * 2011-06-08 2012-12-13 オリンパスイメージング株式会社 カメラシステム及びレンズ鏡筒
JP5722134B2 (ja) * 2011-06-23 2015-05-20 オリンパスイメージング株式会社 光学機器
WO2016052418A1 (ja) * 2014-09-29 2016-04-07 富士フイルム株式会社 レンズ鏡筒及びカメラ本体並びに撮影装置
CN107111094B (zh) * 2014-12-26 2018-07-10 富士胶片株式会社 透镜镜筒及其控制方法、相机主体及其控制方法以及摄影装置及其控制方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1176395A (zh) * 1996-08-20 1998-03-18 富士写真胶片株式会社 变焦透镜装置
US20120141103A1 (en) * 2010-12-03 2012-06-07 Chiang Cheng-Nan Auto focus module of image capture device
CN102538609A (zh) * 2012-01-06 2012-07-04 东北林业大学 高精度数显式螺旋测微器
CN202533643U (zh) * 2012-01-20 2012-11-14 中国科学院上海技术物理研究所 一种光学遥感仪器的高精度调焦装置
US20140043526A1 (en) * 2012-08-08 2014-02-13 Canon Kabushiki Kaisha Encoder, lens apparatus, and camera capable of detecting position of object
CN207249317U (zh) * 2017-09-30 2018-04-17 杭州海康威视数字技术股份有限公司 一种成像设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3690544A4

Also Published As

Publication number Publication date
EP3690544A4 (en) 2020-11-25
EP3690544A1 (en) 2020-08-05
US20200275013A1 (en) 2020-08-27
US11082601B2 (en) 2021-08-03

Similar Documents

Publication Publication Date Title
JP5782568B2 (ja) レンズ鏡胴に着脱自在な駆動装置,その処理制御を行う方法および調整方法
JP6172955B2 (ja) 光量調整装置、レンズ鏡筒および撮像装置
US20170223257A1 (en) Lens driving apparatus and lens driving method
JP2011061372A (ja) バックフォーカス調整機構を具えた撮像装置
WO2013084489A1 (ja) 露光制御装置
CN109597263B (zh) 一种成像设备和一种镜头调焦方法
US20170153412A1 (en) Lens barrel and optical apparatus
US10133172B2 (en) Lens module and projector using the same
WO2019062211A1 (zh) 一种成像设备和一种镜头调焦方法
US11300867B2 (en) Projection apparatus, backlash detecting system and method thereof
WO2019085260A1 (zh) 自动调焦系统、方法以及投影设备
US20150260947A1 (en) Light amount adjusting apparatus, lens barrel, optical apparatus, and imaging apparatus
CN104297884A (zh) 一种便携式视频检耳镜cmos摄像头焦距精确调整机构
CN207249317U (zh) 一种成像设备
JP2014016582A (ja) 光量調節装置及び光学機器
CN203825343U (zh) 一种自聚焦电动变焦镜头及摄像设备
JP2013222000A (ja) レンズ装置
JP2010276990A (ja) 撮像装置のバックフォーカス調整機構
JP2009008985A (ja) 焦点調節装置および撮像装置
JPH02217828A (ja) 自動露出調整装置
CN213690202U (zh) 一种投影仪光机焦距调节锁紧机构
JP2006163060A (ja) 投射表示装置及びそのピント補正方法
CN115755326A (zh) 投影镜头对焦方法、装置及系统
WO2018135451A1 (ja) 撮像装置
JP2019028140A (ja) 撮像装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18863571

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2018863571

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2018863571

Country of ref document: EP

Effective date: 20200430