WO2020024214A1 - Aperture control method and apparatus, aperture device, and photographic device - Google Patents

Aperture control method and apparatus, aperture device, and photographic device Download PDF

Info

Publication number
WO2020024214A1
WO2020024214A1 PCT/CN2018/098303 CN2018098303W WO2020024214A1 WO 2020024214 A1 WO2020024214 A1 WO 2020024214A1 CN 2018098303 W CN2018098303 W CN 2018098303W WO 2020024214 A1 WO2020024214 A1 WO 2020024214A1
Authority
WO
WIPO (PCT)
Prior art keywords
aperture
motor
value
speed
preset
Prior art date
Application number
PCT/CN2018/098303
Other languages
French (fr)
Chinese (zh)
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
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201880041492.5A priority Critical patent/CN110945423B/en
Priority to PCT/CN2018/098303 priority patent/WO2020024214A1/en
Publication of WO2020024214A1 publication Critical patent/WO2020024214A1/en

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
    • G03B7/00Control of exposure by setting shutters, diaphragms or filters, separately or conjointly
    • G03B7/08Control effected solely on the basis of the response, to the intensity of the light received by the camera, of a built-in light-sensitive device
    • G03B7/081Analogue circuits
    • G03B7/085Analogue circuits for control of aperture
    • 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
    • G03B7/00Control of exposure by setting shutters, diaphragms or filters, separately or conjointly
    • G03B7/08Control effected solely on the basis of the response, to the intensity of the light received by the camera, of a built-in light-sensitive device
    • G03B7/091Digital circuits
    • G03B7/095Digital circuits for control of aperture
    • 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
    • G03B7/00Control of exposure by setting shutters, diaphragms or filters, separately or conjointly
    • G03B7/08Control effected solely on the basis of the response, to the intensity of the light received by the camera, of a built-in light-sensitive device
    • G03B7/12Control effected solely on the basis of the response, to the intensity of the light received by the camera, of a built-in light-sensitive device a hand-actuated member moved from one position to another providing the energy to move the setting member, e.g. depression of shutter release button causes a stepped feeler to co-operate with the pointer of the light-sensitive device to set the diaphragm and thereafter release the shutter
    • 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
    • G03B9/00Exposure-making shutters; Diaphragms
    • G03B9/02Diaphragms

Definitions

  • the present invention relates to the field of photographing technology, and in particular, to a method, a device, an aperture device, and a photographing device for controlling an aperture.
  • An aperture is usually provided inside the lens to control the amount of light that passes through the lens and enters the photosensitive surface in the camera.
  • the aperture size is expressed by the aperture value.
  • the aperture device usually includes two parts: an aperture controller and an aperture driving mechanism.
  • the aperture controller changes the position of the blade in the aperture through the aperture driving mechanism, thereby changing the area of the hole-shaped grating formed by the blade, so as to change the amount of light.
  • the aperture driving mechanism has errors in processing, assembly, and work deformation, which causes the accuracy of the aperture control to be limited.
  • the invention provides an aperture control method, a device, an aperture device, and a photographing device, which improve the accuracy of the aperture control and reduce the cost of the aperture device.
  • the present invention provides a method for controlling aperture, including:
  • an aperture setting instruction where the aperture setting instruction includes a target aperture value and a speed value of the motor
  • the aperture characteristic data includes: a plurality of preset motor positions, and a plurality of preset motor positions Setting a speed value and a plurality of aperture values, and the aperture value is an aperture value corresponding to when the motor moves to the preset motor position at the preset speed value;
  • the present invention provides an aperture control device, including: a memory and a processor;
  • the memory is used to store program instructions
  • the processor is configured to call the program instructions stored in the memory to execute the following method:
  • an aperture setting instruction where the aperture setting instruction includes a target aperture value and a speed value of the motor
  • the aperture characteristic data includes: a plurality of preset motor positions, and a plurality of preset motor positions Setting a speed value and a plurality of aperture values, and the aperture value is an aperture value corresponding to when the motor moves to the preset motor position at the preset speed value;
  • the present invention provides an aperture device, including: a driving mechanism, a blade, and an aperture control device provided by an embodiment of the present invention.
  • the present invention provides a photographing device, including an aperture device provided by an embodiment of the present invention.
  • the present invention provides a storage medium including a readable storage medium and a computer program, where the computer program is used to implement the aperture control method provided by any one of the embodiments of the aspect.
  • the invention provides an aperture control method, a device, an aperture device, and a photographing device, which can obtain an aperture setting instruction, determine a target motor position of the motor according to a target aperture value, a speed value of the motor, and preset aperture characteristic data, and control the motor to operate at a speed The value moves to the target motor position. Since the preset aperture characteristic data can reflect the accurate correspondence between the motor position, the speed value of the motor, and the aperture value, the accuracy of determining the target motor position is improved, and the accuracy of the aperture control is further improved. In addition, the hardware implementation difficulty is reduced, and the cost of the aperture device is reduced.
  • FIG. 1 is a flowchart of an aperture control method according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of an aperture control method according to a second embodiment of the present invention.
  • FIG. 3 is a flowchart of an aperture control method according to a third embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an aperture control device according to Embodiment 1 of the present invention.
  • FIG. 1 is a flowchart of an aperture control method according to a first embodiment of the present invention.
  • an execution body may be an aperture controller, and the aperture controller may be provided in an aperture device.
  • the aperture control method provided in this embodiment may include:
  • the aperture setting instruction may include a target aperture value and a speed value of the motor.
  • an aperture device is generally provided with an aperture driving mechanism and an aperture blade.
  • the aperture drive mechanism usually includes a motor.
  • This embodiment does not limit the specific structures of the aperture driving mechanism and the aperture blade.
  • This embodiment does not limit the type of the motor.
  • the motor can move the aperture blades at a certain speed, so as to adjust the aperture value.
  • the target aperture value indicates the size of the aperture value desired to be set.
  • the speed value of the motor indicates the speed of the motor during the process of adjusting the aperture value. After obtaining the aperture setting instruction, the motor can be controlled to move at the speed of the motor, thereby adjusting the aperture value of the aperture device to the target aperture value.
  • a method for acquiring the target aperture value and the speed value of the motor is not limited.
  • the target aperture value and the speed of the motor may be entered by the user.
  • the target aperture value and the speed value of the motor may be output to the aperture device by a controller in the shooting device. This embodiment does not limit how the controller in the shooting device obtains the target aperture value and the speed value of the motor, and an existing algorithm may be used.
  • the preset aperture characteristic data may include multiple preset motor positions, multiple preset speed values and multiple aperture values of the motor.
  • the aperture value is the corresponding aperture value when the motor moves to a preset motor position at a preset speed value.
  • the target motor position is a motor position when the motor moves at the speed value of the motor such that the aperture value is the target aperture value.
  • the preset aperture characteristic data may be stored in a memory in advance.
  • the aperture controller can obtain preset aperture characteristic data from the memory.
  • the memory may be a memory provided in the aperture device.
  • the memory may be a memory provided in the aperture controller.
  • the motor will eventually move to a position.
  • the target motor position of the motor may be determined according to the target aperture value, the speed value of the motor, and preset aperture characteristic data. In this way, when the motor moves to the target motor position at the speed value of the motor, the aperture value of the aperture device can be adjusted to the target aperture value.
  • preset aperture characteristic data can reflect the accurate correspondence between the motor position, the speed value of the motor, and the aperture value, the accuracy of determining the target motor position of the motor is improved, and the accuracy of the aperture control is improved.
  • the specific values of the preset motor position, preset speed value, and aperture value are not limited in this embodiment, and may be data obtained by measuring the aperture device before leaving the factory and stored in the aperture device in advance. Set in memory.
  • the preset motor position and the preset speed value can be determined by a method of big data analysis according to the target aperture value and the speed value of the motor that are often set by the user.
  • multiple preset motor positions can evenly cover the value range of the motor position, and multiple preset speed values can even cover the value range of the motor's speed value.
  • the aperture device before the factory when the control motor is moved to the preset motor position at a preset speed value, the corresponding aperture value is measured using an aperture area meter or other instruments.
  • the storage space of the memory is limited, and the aperture feature data stored in the memory in advance may be a part of all the aperture feature data obtained through measurement.
  • the target motor position needs to be determined according to the preset aperture feature data, more aperture feature data can be obtained by interpolation based on the preset aperture feature data.
  • the preset aperture characteristic data is described in detail below through Table 1.
  • Pos indicates the preset motor position. Specifically, Pos 0 ... Pos N represents N + 1 preset motor positions.
  • Speed indicates the preset speed value of the motor. Specifically, Speed 0 ... Speed M represents M + 1 preset speed values of the motor.
  • Val is the aperture value.
  • Val Pos i_Speed j represents a corresponding aperture value when the motor moves at a preset speed value Speed j to a preset motor position Pos i, 0 ⁇ i ⁇ N, 0 ⁇ j ⁇ M.
  • Val Pos 1_Speed M represents the corresponding aperture value when the motor moves at a preset speed value Speed M to a preset motor position Pos 1.
  • Val Pos N_Speed 1 represents a corresponding aperture value when the motor moves at a preset speed value Speed 1 to a preset motor position PosN.
  • the control motor moves to a target motor position at a speed value.
  • the aperture control method provided in this embodiment may determine the target motor position of the motor according to the target aperture value, the speed value of the motor, and preset aperture characteristic data.
  • the aperture value of the aperture device can be adjusted to the target aperture value. Since the preset aperture characteristic data can reflect the accurate correspondence between the motor position, the speed value of the motor and the aperture value, the accuracy of determining the target motor position is improved, and the accuracy of the aperture control is improved.
  • errors such as processing, assembling, and working deformation of the aperture driving mechanism are reduced, the difficulty of hardware implementation is reduced, and the cost of the aperture equipment is reduced.
  • the aperture characteristic data may further include an aperture movement direction.
  • the aperture movement direction includes a direction in which the aperture value becomes larger and / or smaller.
  • the direction of movement of the motor is the direction in which the aperture value becomes larger.
  • the through-hole formed by the diaphragm blade becomes smaller.
  • the direction of movement of the motor is the direction in which the aperture value becomes smaller.
  • the through-hole formed by the diaphragm blade becomes larger.
  • the aperture value is specifically the aperture value when the motor moves to the preset motor position at a preset speed value according to the direction of the aperture movement.
  • Table 2 shows the aperture characteristic data corresponding to the direction in which the aperture value is increased.
  • Table 3 shows the aperture characteristic data corresponding to the direction in which the aperture value becomes smaller.
  • Val represents an aperture value. Specifically, Val Pos i_Speed j_OC represents a corresponding aperture value when the motor moves at a preset speed value Speed j to a preset motor position Pos i in a direction of increasing the aperture value.
  • Val represents the aperture value. Specifically, Val Pos i_Speed j_CO represents a corresponding aperture value when the motor moves at a preset speed value Speed j to a preset motor position Pos i in a direction that makes the aperture value smaller.
  • Val Pos N_Speed 1_OC in Table 3 may be the same Val Pos N_Speed 1_CO.
  • Val Pos 1_Speed M_OC in Table 3 Val Pos 1_Speed M_CO may be different.
  • the preset aperture feature data is specifically the aperture feature data corresponding to the direction in which the aperture movement direction is to make the aperture value larger.
  • the preset aperture feature data is specifically aperture feature data corresponding to a direction in which the aperture movement direction is made smaller.
  • the target aperture value is greater than the current aperture value, it means that the aperture value of the aperture device needs to be increased. Therefore, when determining the target click position, it is necessary to use the aperture characteristic data corresponding to the direction in which the aperture value becomes larger. If the target aperture value is smaller than the current aperture value, it means that the aperture value of the aperture device needs to be reduced. Therefore, when determining the target click position, it is necessary to use the aperture characteristic data corresponding to the direction in which the aperture value becomes smaller.
  • the accuracy of determining the position of the target motor is further improved, and the accuracy of the aperture control is improved.
  • This embodiment provides an aperture control method, including: acquiring an aperture setting instruction, determining a target motor position of the motor according to a target aperture value, a motor speed value, and preset aperture characteristic data, and controlling the motor to move to the target motor position at a speed value .
  • the preset aperture characteristic data can reflect the accurate correspondence between the motor position, the speed value of the motor, and the aperture value.
  • the aperture characteristic data determines the target motor position of the motor, which improves the accuracy of determining the target motor position, and further improves the accuracy of the aperture control.
  • the hardware implementation difficulty is reduced, and the cost of the aperture device is reduced.
  • FIG. 2 is a flowchart of an aperture control method according to a second embodiment of the present invention. Based on the first embodiment shown in FIG. 1, this embodiment provides a specific implementation manner of the aperture control method, and specifically provides an implementation manner of S102. As shown in FIG. 2, in the aperture control method provided in this embodiment, in S102, determining a target motor position of a motor according to a target aperture value, a speed value, and preset aperture characteristic data may include:
  • the preset aperture characteristic data includes only a limited number of preset speed values, preset motor positions, and aperture values.
  • the multiple preset speed values may or may not include the speed value of the motor.
  • the corresponding relationship may be a function relationship with the motor position as an independent variable and the aperture value as a dependent variable.
  • the interpolation can be performed according to the preset aperture characteristic data to obtain an accurate motor position and aperture value.
  • the corresponding relationship between them can further obtain the accurate target motor position, which improves the accuracy of the aperture control.
  • this embodiment does not limit the method for performing interpolation based on the aperture characteristic data, and may be an existing difference algorithm.
  • interpolation is performed according to the aperture characteristic data to obtain the correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor, which may include:
  • the corresponding relationship between the speed value and the aperture value corresponding to the multiple preset motor positions is obtained.
  • the actual aperture values corresponding to the motors respectively moving to the multiple preset motor positions at the speed values of the motor are obtained.
  • the correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor is obtained according to a plurality of preset motor positions and corresponding actual aperture values.
  • the implementation manner of obtaining the correspondence between the speed value and the aperture value, and the correspondence between the motor position and the aperture value is not limited, as long as two input quantities are obtained based on discrete data
  • Corresponding algorithms are applicable. For example, interpolation algorithms, fitting algorithms, and so on.
  • the corresponding relationship between the speed value and the aperture value may be a speed value-aperture value fitting curve
  • the corresponding relationship between the motor position and the aperture value may be a motor position-aperture value fitting curve
  • the target aperture value is greater than the current aperture value.
  • the preset aperture feature data is specifically aperture feature data corresponding to a direction in which the aperture movement direction is a direction in which the aperture value becomes larger.
  • the aperture control method provided in this embodiment may include:
  • Step 1 According to the Speed j and Val Pos i_Speed j_OC corresponding to each Pos i in Table 2, the speed-aperture value fitting curve corresponding to each Pos i is obtained by interpolation. And, according to the speed-aperture value fitting curve corresponding to each Pos i, the actual aperture value Val Pos i_Speed X_OC corresponding to each Pos i under Speed X (speed value of the motor) is obtained .
  • the speed value-aperture value corresponding to Pos 1 can be obtained Curve fitting.
  • the actual aperture value (labeled as Val Pos 1_Speed M_OC ) can be obtained when the speed value is Speed X (the speed value of the motor). Or it is understood that a pair of (Pos 1, Speed X, Val Pos 1_Speed M_OC ) is obtained.
  • N + 1 preset motor positions (Pos 0 ...
  • Step 2 According to each Pos i and its corresponding actual aperture value Val Pos i_Speed X_OC , the motor position-aperture value fitting curve when the motor moves at Speed X (speed value of the motor) is obtained through interpolation. And, according to the motor position-aperture value fitting curve, the target motor position Pos Y corresponding to the target aperture value Y is obtained.
  • a motor position-aperture value fitting curve when the motor moves at the motor speed value (Speed X) can be obtained through interpolation.
  • the target motor position Pos Y corresponding to the target aperture value Y can be obtained.
  • Step 3 Control the motor to move to the target motor position Pos Y at Speed X.
  • the target aperture value is smaller than the current aperture value.
  • the preset aperture feature data is specifically aperture feature data corresponding to a direction in which the aperture movement direction is a direction in which the aperture value becomes smaller.
  • the aperture control method provided in this embodiment may include:
  • Step 1 According to Speed j and Val Pos i_Speed j_CO corresponding to each Pos i in Table 3, a speed-aperture value fitting curve corresponding to each Pos i is obtained by interpolation. And, according to the speed-aperture value fitting curve corresponding to each Pos i, the actual aperture value Val Pos i_Speed X_CO corresponding to each Pos i under Speed X (speed value of the motor) is obtained .
  • Step 2 According to each Pos i and its corresponding actual aperture value Val Pos i_Speed X_CO , the motor position-aperture value fitting curve when the motor moves at Speed X (speed value of the motor) is obtained through interpolation. And, according to the motor position-aperture value fitting curve, the target motor position Pos Y corresponding to the target aperture value Y is obtained.
  • Step 3 Control the motor to move to the target motor position Pos Y at Speed X.
  • obtaining the corresponding relationship between the speed value and the aperture value corresponding to the multiple preset motor positions according to the speed value and the aperture value corresponding to the multiple preset motor positions may include:
  • a speed value-aperture value fitting algorithm corresponding to the speed value of the motor is determined.
  • the speed value-aperture value fitting algorithm is adopted, and the speed value-aperture value fitting curve corresponding to the preset motor position is obtained according to the aperture characteristic data.
  • the correspondence between the motor speed and the fitting algorithm can be stored in the memory in advance. Different motor moving speeds may have different fitting algorithms. According to the correspondence relationship and the obtained speed value of the motor, a fitting algorithm for obtaining a speed value-aperture value fitting curve corresponding to the speed value of the motor can be determined, and then the speed value-aperture value simulation is obtained according to the fitting algorithm. ⁇ ⁇ Curve.
  • the fitting algorithm used to obtain the speed-aperture value fitting curve is determined, which improves the flexibility and accuracy of the fitting algorithm, and further improves the accuracy of the aperture control.
  • obtaining the correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor according to a plurality of preset motor positions and corresponding actual aperture values may include:
  • a motor position-aperture value fitting algorithm corresponding to the motor speed value is determined.
  • the motor position-aperture value fitting algorithm is used to obtain the motor position-aperture value fitting curve according to the preset motor position and the actual aperture value.
  • the correspondence between the motor speed and the fitting algorithm can be stored in the memory in advance. Different motor moving speeds may have different fitting algorithms. According to the corresponding relationship and the obtained speed value of the motor, a fitting algorithm for obtaining a motor position-aperture value fitting curve corresponding to the speed value of the motor can be determined, and then the motor position-aperture value simulation is obtained according to the fitting algorithm. ⁇ ⁇ Curve.
  • the fitting algorithm used when obtaining the motor position-aperture value fitting curve is determined according to the speed value of the motor, which improves the flexibility and accuracy of the fitting algorithm, and further improves the accuracy of the aperture control.
  • This embodiment provides an aperture control method, which is applied to a scenario in which the preset aperture characteristic data does not include the speed value of the motor.
  • the aperture characteristic data the correspondence between the motor position and the aperture value when the motor moves at the motor speed value is obtained.
  • the target motor position corresponding to the target aperture value is determined, and the determination of the target motor is improved. The accuracy of the position improves the accuracy of the aperture control.
  • FIG. 3 is a flowchart of an aperture control method according to a third embodiment of the present invention. Based on the first embodiment shown in FIG. 1, this embodiment provides another specific implementation manner of the aperture control method, and specifically provides an implementation manner of S102. As shown in FIG. 3, in the aperture control method provided in this embodiment, in S102, determining a target motor position of a motor according to a target aperture value, a speed value, and preset aperture characteristic data may include:
  • the multiple preset speed values include the speed value of the motor, determine whether the aperture characteristic data corresponding to the speed value of the motor includes the target aperture value.
  • the aperture characteristic data corresponding to the speed value of the motor includes the target aperture value, determine the preset motor position corresponding to the speed value and the target aperture value of the motor as the target motor position.
  • the preset aperture characteristic data includes only a limited number of preset speed values, preset motor positions, and aperture values.
  • the preset aperture characteristic data can reflect the accurate correspondence between the preset motor position, the preset speed value, and the aperture value, when multiple preset speed values include the speed value of the motor, and the speed of the motor
  • the target motor position can be directly determined based on the preset aperture characteristic data, which improves the accuracy of the target motor position and thus the accuracy of the aperture control.
  • the aperture control method provided in this embodiment may further include:
  • the correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor is obtained according to the aperture characteristic data corresponding to the speed value of the motor.
  • the target motor position corresponding to the target aperture value is determined.
  • This embodiment provides an aperture control method, which is applied to a scenario in which preset aperture characteristic data includes a speed value of a motor. If the aperture characteristic data corresponding to the speed value of the motor includes the target aperture value, the preset motor position corresponding to the speed value and the target aperture value of the motor is determined as the target motor position, thereby improving the accuracy of determining the target motor position. This improves the accuracy of the aperture control.
  • FIG. 4 is a schematic structural diagram of an aperture control device according to Embodiment 1 of the present invention.
  • the aperture control device provided in this embodiment is configured to execute the aperture control method provided in any one of the embodiments of FIG. 1 to FIG. 3.
  • the aperture control device provided in this embodiment may include: a memory 11 and a processor 12.
  • the memory 11 is configured to store a program instruction.
  • the processor 12 is configured to call a program instruction stored in the memory 11 to execute the following method:
  • the aperture setting instruction includes the target aperture value and the speed of the motor.
  • the aperture characteristic data includes: multiple preset motor positions, multiple preset speed values and multiple aperture values of the motor, and the aperture value is the corresponding aperture value when the motor moves to the preset motor position at the preset speed value.
  • the control motor moves to the target motor position at the speed value.
  • the processor 12 is specifically configured to:
  • interpolation is performed according to the aperture characteristic data to obtain the correspondence between the position of the motor and the aperture value when the motor moves at the speed value of the motor.
  • the target motor position corresponding to the target aperture value is determined.
  • the processor 12 is specifically configured to:
  • the corresponding relationship between the speed value and the aperture value corresponding to the multiple preset motor positions is obtained.
  • the actual aperture values corresponding to the motors respectively moving to the multiple preset motor positions at the speed values of the motor are obtained.
  • the correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor is obtained according to a plurality of preset motor positions and corresponding actual aperture values.
  • the corresponding relationship between the speed value and the aperture value is a speed value-aperture value fitting curve
  • the corresponding relationship between the motor position and the aperture value is a motor position-aperture value fitting curve
  • the processor 12 is specifically configured to:
  • a speed value-aperture value fitting algorithm corresponding to the speed value of the motor is determined.
  • the speed value-aperture value fitting algorithm is adopted, and the speed value-aperture value fitting curve corresponding to the preset motor position is obtained according to the aperture characteristic data.
  • the processor 12 is specifically configured to:
  • a motor position-aperture value fitting algorithm corresponding to the motor speed value is determined.
  • the motor position-aperture value fitting algorithm is used to obtain the motor position-aperture value fitting curve according to the preset motor position and the actual aperture value.
  • the processor 12 is specifically configured to:
  • the aperture characteristic data corresponding to the speed value of the motor includes the target aperture value.
  • the preset motor position corresponding to the speed value and the target aperture value of the motor is determined as the target motor position.
  • the processor 12 is further configured to:
  • the corresponding relationship between the motor position and the aperture value is obtained according to the aperture characteristic data corresponding to the speed value of the motor.
  • the target motor position corresponding to the target aperture value is determined.
  • the aperture characteristic data further includes an aperture moving direction, and the aperture moving direction includes a direction that makes the aperture value larger and / or smaller.
  • the aperture value is specifically the aperture value when the motor moves to the preset motor position at a preset speed value according to the direction of the aperture movement.
  • the aperture characteristic data is specifically aperture characteristic data corresponding to a direction in which the aperture moves in a direction that makes the aperture value larger.
  • the aperture characteristic data is specifically the aperture characteristic data corresponding to the direction in which the aperture movement direction is to make the aperture value smaller.
  • the target motor position is a motor position when the aperture value is the target aperture value when the motor moves at a speed value.
  • the aperture control device provided in this embodiment is configured to execute the aperture control method provided in any one of FIG. 1 to FIG. 3.
  • the principle and technical effect are similar, and details are not described herein again.
  • An embodiment of the present invention further provides an aperture device, which includes a driving mechanism, a blade, and an aperture control device provided in the embodiment shown in FIG. 4.
  • An embodiment of the present invention further provides a photographing device, including an aperture device provided by an embodiment of the present invention.
  • a person of ordinary skill in the art may understand that all or part of the steps of implementing the foregoing method embodiments may be implemented by a program instructing related hardware.
  • the aforementioned program may be stored in a computer-readable storage medium.
  • the steps including the foregoing method embodiments are executed; and the foregoing storage medium includes: various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disc.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)
  • Diaphragms For Cameras (AREA)

Abstract

An aperture control method and apparatus, an aperture device, and a photographic device. The aperture control method comprises: acquiring an aperture configuration instruction (S101), the aperture configuration instruction comprising a target aperture value and a speed value of a motor; determining a target motor position of the motor on the basis of the target aperture value, the speed value of the motor, and preset aperture feature data (S102), wherein the aperture feature data comprises a plurality of preset motor positions, a plurality of preset speed values of the motor and a plurality of aperture values, the aperture value being a corresponding aperture value used when the motor moves to a preset motor position at a preset speed value; and controlling the motor to move to the target motor position at the speed value (S103). The aperture control method is used to facilitate accurate aperture control and reduce costs of aperture devices.

Description

光圈控制方法、装置、光圈设备和拍摄设备Aperture control method, device, aperture device, and photographing device 技术领域Technical field
本发明涉及拍摄技术领域,尤其涉及一种光圈控制方法、装置、光圈设备和拍摄设备。The present invention relates to the field of photographing technology, and in particular, to a method, a device, an aperture device, and a photographing device for controlling an aperture.
背景技术Background technique
镜头内部通常设置有光圈,用于控制透过镜头进入相机内感光面的光量的大小。光圈大小采用光圈值进行表示。An aperture is usually provided inside the lens to control the amount of light that passes through the lens and enters the photosensitive surface in the camera. The aperture size is expressed by the aperture value.
光圈装置通常包括光圈控制器和光圈驱动机构两大部分。光圈控制器根据接收到的命令,通过光圈驱动机构改变光圈中叶片的位置,从而改变叶片形成的孔状光栅的面积,达到改变通光量的目的。光圈驱动机构存在加工、装配、工作形变等误差,导致光圈控制的准确度受到一定限制。The aperture device usually includes two parts: an aperture controller and an aperture driving mechanism. According to the received command, the aperture controller changes the position of the blade in the aperture through the aperture driving mechanism, thereby changing the area of the hole-shaped grating formed by the blade, so as to change the amount of light. The aperture driving mechanism has errors in processing, assembly, and work deformation, which causes the accuracy of the aperture control to be limited.
目前,为了提高光圈控制的准确度,可以减小光圈驱动机构加工、装配、工作形变等误差来实现。但是,误差每减小一个数量级,都会带来光圈装置制造成本的急剧上升。并且,误差的减小也存在极限,导致光圈控制的准确度较低。At present, in order to improve the accuracy of the aperture control, it can be achieved by reducing errors such as processing, assembly, and work deformation of the aperture drive mechanism. However, reducing the error by an order of magnitude leads to a sharp rise in the manufacturing cost of the aperture device. In addition, there is a limit to the reduction of errors, resulting in a lower accuracy of the aperture control.
发明内容Summary of the invention
本发明提供一种光圈控制方法、装置、光圈设备和拍摄设备,提高了光圈控制的准确性,降低了光圈设备的成本。The invention provides an aperture control method, a device, an aperture device, and a photographing device, which improve the accuracy of the aperture control and reduce the cost of the aperture device.
第一方面,本发明提供一种光圈控制方法,包括:In a first aspect, the present invention provides a method for controlling aperture, including:
获取光圈设置指令,所述光圈设置指令包括目标光圈值和电机的速度值;Obtaining an aperture setting instruction, where the aperture setting instruction includes a target aperture value and a speed value of the motor;
根据所述目标光圈值、所述速度值和预设的光圈特征数据确定所述电机的目标电机位置;其中,所述光圈特征数据包括:多个预设电机位置,所述电机的多个预设速度值和多个光圈值,所述光圈值为所述电机以所述预设速度值运动到所述预设电机位置时对应的光圈值;Determining the target motor position of the motor according to the target aperture value, the speed value, and preset aperture characteristic data; wherein the aperture characteristic data includes: a plurality of preset motor positions, and a plurality of preset motor positions Setting a speed value and a plurality of aperture values, and the aperture value is an aperture value corresponding to when the motor moves to the preset motor position at the preset speed value;
控制所述电机以所述速度值运动到所述目标电机位置。Controlling the motor to move to the target motor position at the speed value.
第二方面,本发明提供一种光圈控制装置,包括:存储器和处理器;In a second aspect, the present invention provides an aperture control device, including: a memory and a processor;
所述存储器,用于存储程序指令;The memory is used to store program instructions;
所述处理器,用于调用所述存储器中存储的所述程序指令以执行下述方法:The processor is configured to call the program instructions stored in the memory to execute the following method:
获取光圈设置指令,所述光圈设置指令包括目标光圈值和电机的速度值;Obtaining an aperture setting instruction, where the aperture setting instruction includes a target aperture value and a speed value of the motor;
根据所述目标光圈值、所述速度值和预设的光圈特征数据确定所述电机的目标电机位置;其中,所述光圈特征数据包括:多个预设电机位置,所述电机的多个预设速度值和多个光圈值,所述光圈值为所述电机以所述预设速度值运动到所述预设电机位置时对应的光圈值;Determining the target motor position of the motor according to the target aperture value, the speed value, and preset aperture characteristic data; wherein the aperture characteristic data includes: a plurality of preset motor positions, and a plurality of preset motor positions Setting a speed value and a plurality of aperture values, and the aperture value is an aperture value corresponding to when the motor moves to the preset motor position at the preset speed value;
控制所述电机以所述速度值运动到所述目标电机位置。Controlling the motor to move to the target motor position at the speed value.
第三方面,本发明提供一种光圈设备,包括:驱动机构、叶片和本发明实施例提供的光圈控制装置。In a third aspect, the present invention provides an aperture device, including: a driving mechanism, a blade, and an aperture control device provided by an embodiment of the present invention.
第四方面,本发明提供一种拍摄设备,包括本发明实施例提供的光圈设备。In a fourth aspect, the present invention provides a photographing device, including an aperture device provided by an embodiment of the present invention.
第五方面,本发明提供一种存储介质,包括:可读存储介质和计算机程序,所述计算机程序用于实现第方面任一实施方式提供的光圈控制方法。According to a fifth aspect, the present invention provides a storage medium including a readable storage medium and a computer program, where the computer program is used to implement the aperture control method provided by any one of the embodiments of the aspect.
本发明提供一种光圈控制方法、装置、光圈设备和拍摄设备,可以获取光圈设置指令,根据目标光圈值、电机的速度值和预设的光圈特征数据确定电机的目标电机位置,控制电机以速度值运动到目标电机位置。由于预设的光圈特征数据可以反映出电机位置、电机的速度值与光圈值之间的准确的对应关系,提高了确定目标电机位置的准确性,进而提高了光圈控制的准确性。并且,降低了硬件实现难度,降低了光圈设备的成本。The invention provides an aperture control method, a device, an aperture device, and a photographing device, which can obtain an aperture setting instruction, determine a target motor position of the motor according to a target aperture value, a speed value of the motor, and preset aperture characteristic data, and control the motor to operate at a speed The value moves to the target motor position. Since the preset aperture characteristic data can reflect the accurate correspondence between the motor position, the speed value of the motor, and the aperture value, the accuracy of determining the target motor position is improved, and the accuracy of the aperture control is further improved. In addition, the hardware implementation difficulty is reduced, and the cost of the aperture device is reduced.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without paying creative labor.
图1为本发明实施例一提供的光圈控制方法的流程图;FIG. 1 is a flowchart of an aperture control method according to a first embodiment of the present invention;
图2为本发明实施例二提供的光圈控制方法的流程图;2 is a flowchart of an aperture control method according to a second embodiment of the present invention;
图3为本发明实施例三提供的光圈控制方法的流程图;3 is a flowchart of an aperture control method according to a third embodiment of the present invention;
图4为本发明实施例一提供的光圈控制装置的结构示意图。FIG. 4 is a schematic structural diagram of an aperture control device according to Embodiment 1 of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1为本发明实施例一提供的光圈控制方法的流程图。本实施例提供的光圈控制方法,执行主体可以为光圈控制器,所述光圈控制器可以设置在光圈设备中。如图1所示,本实施例提供的光圈控制方法,可以包括:FIG. 1 is a flowchart of an aperture control method according to a first embodiment of the present invention. In the aperture control method provided in this embodiment, an execution body may be an aperture controller, and the aperture controller may be provided in an aperture device. As shown in FIG. 1, the aperture control method provided in this embodiment may include:
S101、获取光圈设置指令。S101. Obtain an aperture setting instruction.
其中,光圈设置指令可以包括目标光圈值和电机的速度值。The aperture setting instruction may include a target aperture value and a speed value of the motor.
具体的,光圈设备中通常设置有光圈驱动机构和光圈叶片。光圈驱动机构通常包括电机。本实施例对于光圈驱动机构和光圈叶片的具体结构不做限定。本实施例对于电机的类型不做限定。电机可以按照一定的速度带动光圈叶片移动,从而实现调整光圈值的大小。当光圈叶片形成的通光孔变大时,光圈设备的光圈值变小。当光圈叶片形成的通光孔变小时,光圈设备的光圈值变大。在本实施例中,目标光圈值指示了期望设置的光圈值大小。电机的速度值指示了调整光圈值大小的过程中电机的运动速度。获取光圈设置指令之后,可以控制电机以电机的速度值运动,从而将光圈设备的光圈值调整到目标光圈值。Specifically, an aperture device is generally provided with an aperture driving mechanism and an aperture blade. The aperture drive mechanism usually includes a motor. This embodiment does not limit the specific structures of the aperture driving mechanism and the aperture blade. This embodiment does not limit the type of the motor. The motor can move the aperture blades at a certain speed, so as to adjust the aperture value. When the aperture formed by the aperture blade becomes larger, the aperture value of the aperture device becomes smaller. When the aperture formed by the aperture blade becomes smaller, the aperture value of the aperture device becomes larger. In this embodiment, the target aperture value indicates the size of the aperture value desired to be set. The speed value of the motor indicates the speed of the motor during the process of adjusting the aperture value. After obtaining the aperture setting instruction, the motor can be controlled to move at the speed of the motor, thereby adjusting the aperture value of the aperture device to the target aperture value.
需要说明的是,本实施例对于目标光圈值和电机的速度值的具体取值不做限定。It should be noted that, in this embodiment, specific values of the target aperture value and the speed value of the motor are not limited.
需要说明的是,本实施例对于目标光圈值和电机的速度值的获取方式不做限定。可选的,目标光圈值和电机的速度值可以为用户输入的。可选的,目标光圈值和电机的速度值可以为拍摄设备中的控制器输出给光圈设备的。本实施例对于拍摄设备中的控制器如何获得目标光圈值和电机的速度值不做限定,可以采用现有的算法。It should be noted that, in this embodiment, a method for acquiring the target aperture value and the speed value of the motor is not limited. Optionally, the target aperture value and the speed of the motor may be entered by the user. Optionally, the target aperture value and the speed value of the motor may be output to the aperture device by a controller in the shooting device. This embodiment does not limit how the controller in the shooting device obtains the target aperture value and the speed value of the motor, and an existing algorithm may be used.
S102、根据目标光圈值、电机的速度值和预设的光圈特征数据确定电机的目标电机位置。S102. Determine a target motor position of the motor according to the target aperture value, the speed value of the motor, and preset aperture characteristic data.
其中,预设的光圈特征数据可以包括:多个预设电机位置,电机的多个预设速度值和多个光圈值。光圈值为电机以预设速度值运动到预设电机位置时对应的光圈值。The preset aperture characteristic data may include multiple preset motor positions, multiple preset speed values and multiple aperture values of the motor. The aperture value is the corresponding aperture value when the motor moves to a preset motor position at a preset speed value.
可选的,目标电机位置为电机以电机的速度值运动时使得光圈值为目标光圈值时的电机位置。Optionally, the target motor position is a motor position when the motor moves at the speed value of the motor such that the aperture value is the target aperture value.
具体的,预设的光圈特征数据可以预先存储在存储器中。光圈控制器可以从存储器中获取预设的光圈特征数据。本实施例对于存储器的类型和位置不做限定。可选的,存储器可以为设置在光圈设备中的存储器。可选的,存储器可以为设置在光圈控制器中的存储器。在调整光圈值大小的过程中,为了使光圈设备的光圈值为期望设置的光圈值,电机将最终运动到一个位置。在本实施例中,可以根据目标光圈值、电机的速度值和预设的光圈特征数据确定电机的目标电机位置。这样,电机以电机的速度值运动到所述目标电机位置时,可以将光圈设备的光圈值调整到目标光圈值。Specifically, the preset aperture characteristic data may be stored in a memory in advance. The aperture controller can obtain preset aperture characteristic data from the memory. This embodiment does not limit the type and location of the memory. Optionally, the memory may be a memory provided in the aperture device. Optionally, the memory may be a memory provided in the aperture controller. In the process of adjusting the aperture value, in order to make the aperture value of the aperture device the desired aperture value, the motor will eventually move to a position. In this embodiment, the target motor position of the motor may be determined according to the target aperture value, the speed value of the motor, and preset aperture characteristic data. In this way, when the motor moves to the target motor position at the speed value of the motor, the aperture value of the aperture device can be adjusted to the target aperture value.
光圈设备中的光圈驱动机构在加工、装配、工作形变时存在误差,导致光圈控制的准确性较低。在本实施例中,根据目标光圈值和电机的速度值确定目标电机位置时,考虑了预设的光圈特征数据。由于预设的光圈特征数据可以反映出电机位置、电机的速度值与光圈值之间的准确的对应关系,因此,提高了确定电机的目标电机位置的准确性,进而提高了光圈控制的准确性。There is an error in the aperture driving mechanism of the aperture device during processing, assembly, and work deformation, resulting in a lower accuracy of the aperture control. In this embodiment, when determining the target motor position according to the target aperture value and the speed value of the motor, preset aperture characteristic data is considered. Since the preset aperture characteristic data can reflect the accurate correspondence between the motor position, the speed value of the motor, and the aperture value, the accuracy of determining the target motor position of the motor is improved, and the accuracy of the aperture control is improved. .
需要说明的是,本实施例对于预设电机位置、预设速度值和光圈值的具体取值不做限定,可以是对出厂前的光圈设备进行测量获得的数据,并预先存储在光圈设备中设置的存储器中。可选的,可以根据用户经常设置的目标光圈值和电机的速度值,通过大数据分析的方法确定预设电机位置和预设速度值。可选的,多个预设电机位置可以均匀覆盖电机位置的取值范围,多个预设速度值可以均匀覆盖电机的速度值的取值范围。可选的,利用出厂前的光圈设备,控制电机以预设速度值运动到预设电机位置时,使用光圈面积计或者其他仪器测量得到对应的光圈值。It should be noted that the specific values of the preset motor position, preset speed value, and aperture value are not limited in this embodiment, and may be data obtained by measuring the aperture device before leaving the factory and stored in the aperture device in advance. Set in memory. Optionally, the preset motor position and the preset speed value can be determined by a method of big data analysis according to the target aperture value and the speed value of the motor that are often set by the user. Optionally, multiple preset motor positions can evenly cover the value range of the motor position, and multiple preset speed values can even cover the value range of the motor's speed value. Optionally, when the aperture device before the factory is used, when the control motor is moved to the preset motor position at a preset speed value, the corresponding aperture value is measured using an aperture area meter or other instruments.
需要说明的是,存储器的存储空间有限,存储器中预先存储的光圈特征数据,可以为测量得到的所有光圈特征数据中的一部分。当需要根据预设的 光圈特征数据确定目标电机位置时,可以基于预设的光圈特征数据采用插值的方法获得更多的光圈特征数据。It should be noted that the storage space of the memory is limited, and the aperture feature data stored in the memory in advance may be a part of all the aperture feature data obtained through measurement. When the target motor position needs to be determined according to the preset aperture feature data, more aperture feature data can be obtained by interpolation based on the preset aperture feature data.
下面通过表1详细说明预设的光圈特征数据。The preset aperture characteristic data is described in detail below through Table 1.
表1Table 1
Figure PCTCN2018098303-appb-000001
Figure PCTCN2018098303-appb-000001
在表1中,Pos表示预设电机位置。具体的,Pos 0…Pos N表示N+1个预设电机位置。Speed表示电机的预设速度值。具体的,Speed 0…Speed M表示电机的M+1个预设速度值。Val表示光圈值。具体的,Val Pos  i_Speed  j表示电机以预设速度值Speed j运动到预设电机位置Pos i时对应的光圈值,0≤i≤N,0≤j≤M。例如,Val Pos  1_Speed  M表示电机以预设速度值Speed M运动到预设电机位置Pos 1时对应的光圈值。又例如,Val Pos  N_Speed  1表示电机以预设速度值Speed 1运动到预设电机位置PosN时对应的光圈值。 In Table 1, Pos indicates the preset motor position. Specifically, Pos 0 ... Pos N represents N + 1 preset motor positions. Speed indicates the preset speed value of the motor. Specifically, Speed 0 ... Speed M represents M + 1 preset speed values of the motor. Val is the aperture value. Specifically, Val Pos i_Speed j represents a corresponding aperture value when the motor moves at a preset speed value Speed j to a preset motor position Pos i, 0 ≦ i ≦ N, 0 ≦ j ≦ M. For example, Val Pos 1_Speed M represents the corresponding aperture value when the motor moves at a preset speed value Speed M to a preset motor position Pos 1. For another example, Val Pos N_Speed 1 represents a corresponding aperture value when the motor moves at a preset speed value Speed 1 to a preset motor position PosN.
S103、控制电机以速度值运动到目标电机位置。S103. The control motor moves to a target motor position at a speed value.
可见,本实施例提供的光圈控制方法,在获取目标光圈值和电机的速度值之后,可以根据目标光圈值、电机的速度值和预设的光圈特征数据确定电机的目标电机位置,从而,电机以电机的速度值运动到目标电机位置时,可以将光圈设备的光圈值调整到目标光圈值。由于预设的光圈特征数据可以反映出电机位置、电机的速度值与光圈值之间的准确的对应关系,因此,提高了确定目标电机位置的准确性,进而提高了光圈控制的准确性。而且,避免了减小光圈驱动机构加工、装配、工作形变等误差,降低了硬件实现难度,降低了光圈设备的成本。It can be seen that after obtaining the target aperture value and the speed value of the motor, the aperture control method provided in this embodiment may determine the target motor position of the motor according to the target aperture value, the speed value of the motor, and preset aperture characteristic data. When moving to the target motor position with the speed value of the motor, the aperture value of the aperture device can be adjusted to the target aperture value. Since the preset aperture characteristic data can reflect the accurate correspondence between the motor position, the speed value of the motor and the aperture value, the accuracy of determining the target motor position is improved, and the accuracy of the aperture control is improved. In addition, errors such as processing, assembling, and working deformation of the aperture driving mechanism are reduced, the difficulty of hardware implementation is reduced, and the cost of the aperture equipment is reduced.
可选的,光圈特征数据还可以包括光圈移动方向。光圈移动方向包括使光圈值变大和/或变小的方向。例如,光圈值从f/1.4调整为f/2时电机的运动方向即为使光圈值变大的方向。此时,光圈叶片形成的通光孔变小。反之, 光圈值从f/2调整为f/1.4时电机的运动方向即为使光圈值变小的方向。此时,光圈叶片形成的通光孔变大。光圈值具体为电机按照光圈移动方向以预设速度值运动到预设电机位置时对应的光圈值。Optionally, the aperture characteristic data may further include an aperture movement direction. The aperture movement direction includes a direction in which the aperture value becomes larger and / or smaller. For example, when the aperture value is adjusted from f / 1.4 to f / 2, the direction of movement of the motor is the direction in which the aperture value becomes larger. At this time, the through-hole formed by the diaphragm blade becomes smaller. Conversely, when the aperture value is adjusted from f / 2 to f / 1.4, the direction of movement of the motor is the direction in which the aperture value becomes smaller. At this time, the through-hole formed by the diaphragm blade becomes larger. The aperture value is specifically the aperture value when the motor moves to the preset motor position at a preset speed value according to the direction of the aperture movement.
下面通过示例进行说明。The following uses examples to illustrate.
表2示出了使光圈值变大的方向对应的光圈特征数据。表3示出了使光圈值变小的方向对应的光圈特征数据。Table 2 shows the aperture characteristic data corresponding to the direction in which the aperture value is increased. Table 3 shows the aperture characteristic data corresponding to the direction in which the aperture value becomes smaller.
表2(光圈值变大的方向)Table 2 (the direction in which the aperture value becomes larger)
Figure PCTCN2018098303-appb-000002
Figure PCTCN2018098303-appb-000002
表3(光圈值变小的方向)Table 3 (Aperture direction becomes smaller)
Figure PCTCN2018098303-appb-000003
Figure PCTCN2018098303-appb-000003
相比于表1,在表2中,Val表示光圈值。具体的,Val Pos  i_Speed  j_OC表示电机按照使光圈值变大的方向,以预设速度值Speed j运动到预设电机位置Pos i时对应的光圈值。 Compared to Table 1, in Table 2, Val represents an aperture value. Specifically, Val Pos i_Speed j_OC represents a corresponding aperture value when the motor moves at a preset speed value Speed j to a preset motor position Pos i in a direction of increasing the aperture value.
相比于表1,在表3中,Val表示光圈值。具体的,Val Pos  i_Speed  j_CO表示电机按照使光圈值变小的方向,以预设速度值Speed j运动到预设电机位置Pos i时对应的光圈值。 Compared to Table 1, in Table 3, Val represents the aperture value. Specifically, Val Pos i_Speed j_CO represents a corresponding aperture value when the motor moves at a preset speed value Speed j to a preset motor position Pos i in a direction that makes the aperture value smaller.
需要说明的是,由于光圈驱动机构加工、装配、工作形变等误差,光圈移动方向不同时,电机按照光圈移动方向以相同的预设速度值运动到相 同的预设电机位置时对应的光圈值,可能相同,也可能不相同。通过具体示例进行说明。表2中的Val Pos  N_Speed  1_OC与表3中的Val Pos  N_Speed  1_CO可能相同。表2中的Val Pos  1_Speed  M_OC与表3中的Val Pos  1_Speed  M_CO可能不同。 It should be noted that due to errors in the processing, assembly, and work deformation of the aperture drive mechanism, when the aperture movement direction is different, the corresponding aperture value when the motor moves at the same preset speed value according to the aperture movement direction to the same preset motor position. May be the same or different. Explain with specific examples. In Table 2 Val Pos N_Speed 1_OC in Table 3 may be the same Val Pos N_Speed 1_CO. In Table 2 Val Pos 1_Speed M_OC in Table 3 Val Pos 1_Speed M_CO may be different.
可选的,若目标光圈值大于当前光圈值,S102中,预设的光圈特征数据具体为与光圈移动方向为使光圈值变大的方向对应的光圈特征数据。Optionally, if the target aperture value is greater than the current aperture value, in S102, the preset aperture feature data is specifically the aperture feature data corresponding to the direction in which the aperture movement direction is to make the aperture value larger.
可选的,若目标光圈值小于当前光圈值,S102中,预设的光圈特征数据具体为与光圈移动方向为使光圈值变小的方向对应的光圈特征数据。Optionally, if the target aperture value is smaller than the current aperture value, in S102, the preset aperture feature data is specifically aperture feature data corresponding to a direction in which the aperture movement direction is made smaller.
具体的,如果目标光圈值大于当前光圈值,说明需要将光圈设备的光圈值调大。因此,在确定目标点击位置时,需要根据使光圈值变大的方向对应的光圈特征数据。如果目标光圈值小于当前光圈值,说明需要将光圈设备的光圈值调小。因此,在确定目标点击位置时,需要根据使光圈值变小的方向对应的光圈特征数据。Specifically, if the target aperture value is greater than the current aperture value, it means that the aperture value of the aperture device needs to be increased. Therefore, when determining the target click position, it is necessary to use the aperture characteristic data corresponding to the direction in which the aperture value becomes larger. If the target aperture value is smaller than the current aperture value, it means that the aperture value of the aperture device needs to be reduced. Therefore, when determining the target click position, it is necessary to use the aperture characteristic data corresponding to the direction in which the aperture value becomes smaller.
通过在确定目标电机位置时考虑光圈移动方向对应的光圈特征数据,进一步提升了确定目标电机位置的准确性,提升了光圈控制的准确性。By considering the aperture characteristic data corresponding to the direction of aperture movement when determining the position of the target motor, the accuracy of determining the position of the target motor is further improved, and the accuracy of the aperture control is improved.
本实施例提供一种光圈控制方法,包括:获取光圈设置指令,根据目标光圈值、电机的速度值和预设的光圈特征数据确定电机的目标电机位置,控制电机以速度值运动到目标电机位置。本实施例提供的光圈控制方法,由于预设的光圈特征数据可以反映出电机位置、电机的速度值与光圈值之间的准确的对应关系,根据目标光圈值、电机的速度值和预设的光圈特征数据确定电机的目标电机位置,提高了确定目标电机位置的准确性,进而提高了光圈控制的准确性。并且,降低了硬件实现难度,降低了光圈设备的成本。This embodiment provides an aperture control method, including: acquiring an aperture setting instruction, determining a target motor position of the motor according to a target aperture value, a motor speed value, and preset aperture characteristic data, and controlling the motor to move to the target motor position at a speed value . According to the aperture control method provided in this embodiment, the preset aperture characteristic data can reflect the accurate correspondence between the motor position, the speed value of the motor, and the aperture value. According to the target aperture value, the speed value of the motor, and the preset The aperture characteristic data determines the target motor position of the motor, which improves the accuracy of determining the target motor position, and further improves the accuracy of the aperture control. In addition, the hardware implementation difficulty is reduced, and the cost of the aperture device is reduced.
图2为本发明实施例二提供的光圈控制方法的流程图。本实施例在图1所示实施例一的基础上,提供了光圈控制方法的一种具体实现方式,具体提供了S102的一种实现方式。如图2所示,本实施例提供的光圈控制方法,S102中,根据目标光圈值、速度值和预设的光圈特征数据确定电机的目标电机位置,可以包括:FIG. 2 is a flowchart of an aperture control method according to a second embodiment of the present invention. Based on the first embodiment shown in FIG. 1, this embodiment provides a specific implementation manner of the aperture control method, and specifically provides an implementation manner of S102. As shown in FIG. 2, in the aperture control method provided in this embodiment, in S102, determining a target motor position of a motor according to a target aperture value, a speed value, and preset aperture characteristic data may include:
S201、若多个预设速度值不包括电机的速度值,则根据光圈特征数据进行插值,获得电机以电机的速度值运动时电机位置与光圈值之间的对应关系。S201. If the plurality of preset speed values do not include the speed value of the motor, perform interpolation based on the aperture characteristic data to obtain the correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor.
S202、根据电机位置与光圈值之间的对应关系,确定目标光圈值对应的 目标电机位置。S202. Determine the target motor position corresponding to the target aperture value according to the corresponding relationship between the motor position and the aperture value.
具体的,预设的光圈特征数据仅包括了有限数目的预设速度值、预设电机位置和光圈值。多个预设速度值可能包括电机的速度值,也可能不包括电机的速度值。当多个预设速度值不包括电机的速度值时,需要以预设的光圈特征数据为基础进行插值,获得电机以电机的速度值(标记为Speed X)运动时对应的电机位置与光圈值之间的对应关系。可选的,所述对应关系可以为以电机位置为自变量,以光圈值为因变量的函数关系。可选的,所述对应关系可以为以光圈值为自变量,以电机位置为因变量的函数关系。从而,可以根据该对应关系获得Val=Y(目标光圈值)时对应的目标电机位置(标记为Pos Y)。Specifically, the preset aperture characteristic data includes only a limited number of preset speed values, preset motor positions, and aperture values. The multiple preset speed values may or may not include the speed value of the motor. When multiple preset speed values do not include the speed value of the motor, it is necessary to perform interpolation based on the preset aperture characteristic data to obtain the corresponding motor position and aperture value when the motor moves at the speed value of the motor (labeled Speed X) Correspondence between. Optionally, the corresponding relationship may be a function relationship with the motor position as an independent variable and the aperture value as a dependent variable. Optionally, the corresponding relationship may be a function relationship with an aperture value as an independent variable and a motor position as a dependent variable. Therefore, the corresponding target motor position (labeled Pos Y) when Val = Y (target aperture value) can be obtained according to the corresponding relationship.
由于预设的光圈特征数据可以反映出预设电机位置、预设速度值与光圈值之间的准确的对应关系,因此,根据预设的光圈特征数据进行插值可以获得准确的电机位置与光圈值之间的对应关系,进而可以获得准确的目标电机位置,提升了光圈控制的准确性。Since the preset aperture characteristic data can reflect the accurate correspondence between the preset motor position, the preset speed value and the aperture value, the interpolation can be performed according to the preset aperture characteristic data to obtain an accurate motor position and aperture value. The corresponding relationship between them can further obtain the accurate target motor position, which improves the accuracy of the aperture control.
需要说明的是,本实施例对于根据光圈特征数据进行插值的方法不做限定,可以为现有的差值算法。It should be noted that this embodiment does not limit the method for performing interpolation based on the aperture characteristic data, and may be an existing difference algorithm.
可选的,S201中,根据光圈特征数据进行插值,获得电机以电机的速度值运动时电机位置与光圈值之间的对应关系,可以包括:Optionally, in S201, interpolation is performed according to the aperture characteristic data to obtain the correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor, which may include:
根据多个预设电机位置分别对应的速度值与光圈值,获得多个预设电机位置分别对应的速度值与光圈值之间的对应关系。According to the speed value and the aperture value corresponding to the multiple preset motor positions, the corresponding relationship between the speed value and the aperture value corresponding to the multiple preset motor positions is obtained.
根据多个预设电机位置分别对应的速度值与光圈值之间的对应关系,获得电机以电机的速度值分别运动到多个预设电机位置时对应的实际光圈值。According to the corresponding relationship between the speed values and the aperture values corresponding to the multiple preset motor positions, the actual aperture values corresponding to the motors respectively moving to the multiple preset motor positions at the speed values of the motor are obtained.
根据多个预设电机位置和对应的实际光圈值获得电机以电机的速度值运动时电机位置与光圈值之间的对应关系。The correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor is obtained according to a plurality of preset motor positions and corresponding actual aperture values.
需要说明的是,本实施例对于获得速度值与光圈值之间的对应关系、获得电机位置与光圈值之间的对应关系的实现方式不做限定,只要是根据离散数据获得两个输入量之间的对应关系的算法均适用。例如,插值算法、拟合算法,等等。It should be noted that, in this embodiment, the implementation manner of obtaining the correspondence between the speed value and the aperture value, and the correspondence between the motor position and the aperture value is not limited, as long as two input quantities are obtained based on discrete data Corresponding algorithms are applicable. For example, interpolation algorithms, fitting algorithms, and so on.
可选的,速度值与光圈值之间的对应关系可以为速度值-光圈值拟合曲线,电机位置与光圈值之间的对应关系可以为电机位置-光圈值拟合曲线。Optionally, the corresponding relationship between the speed value and the aperture value may be a speed value-aperture value fitting curve, and the corresponding relationship between the motor position and the aperture value may be a motor position-aperture value fitting curve.
下面通过示例对本实施例提供的光圈控制方法进行说明。The following describes the aperture control method provided by this embodiment through an example.
在一个示例中,目标光圈值大于当前光圈值。预设的光圈特征数据具体为光圈移动方向为使光圈值变大的方向对应的光圈特征数据。结合表2,本实施例提供的光圈控制方法,可以包括:In one example, the target aperture value is greater than the current aperture value. The preset aperture feature data is specifically aperture feature data corresponding to a direction in which the aperture movement direction is a direction in which the aperture value becomes larger. With reference to Table 2, the aperture control method provided in this embodiment may include:
步骤1:根据表2中每个Pos i对应的Speed j和Val Pos  i_Speed  j_OC,通过插值获得每个Pos i对应的速度值-光圈值拟合曲线。并且,根据每个Pos i对应的速度值-光圈值拟合曲线,得到每个Pos i在Speed X(电机的速度值)下对应的实际光圈值Val Pos  i_Speed  X_OCStep 1: According to the Speed j and Val Pos i_Speed j_OC corresponding to each Pos i in Table 2, the speed-aperture value fitting curve corresponding to each Pos i is obtained by interpolation. And, according to the speed-aperture value fitting curve corresponding to each Pos i, the actual aperture value Val Pos i_Speed X_OC corresponding to each Pos i under Speed X (speed value of the motor) is obtained .
具体的,如表2所示,针对Pos 0,根据Pos 0对应的速度值(Speed 0…Speed M)和光圈值(Val Pos  0_Speed  j…Val Pos  0_Speed  j,0≤j≤M),通过插值可以获得Pos 0对应的速度值-光圈值拟合曲线。根据该速度值-光圈值拟合曲线,可以获得当速度值为Speed X(电机的速度值)时对应的实际光圈值(标记为Val Pos  0_Speed  M_OC)。或者理解为获得了(Pos 0,Speed X,Val Pos  0_Speed  M_OC)数对。针对Pos 1,根据Pos 1对应的速度值(Speed 0…Speed M)和光圈值(Val Pos  1_Speed  j…Val Pos  1_Speed  j,0≤j≤M),可以获得Pos 1对应的速度值-光圈值拟合曲线。根据该速度值-光圈值拟合曲线,可以获得当速度值为Speed X(电机的速度值)时对应的实际光圈值(标记为Val Pos  1_Speed  M_OC)。或者理解为获得了(Pos 1,Speed X,Val Pos  1_Speed  M_OC)数对。类似的,针对表2中的N+1个预设电机位置(Pos 0…Pos N),可以获得N+1条速度值-光圈值拟合曲线和N+1个数对(Pos i,Speed X,Val Pos  i_Speed  M_OC),0≤i≤N。这样,就得到了每个Pos i在Speed X(电机的速度值)下对应的实际光圈值Val Pos  i_Speed  X_OCSpecifically, as shown in Table 2, for Pos 0, according to the speed value (Speed 0 ... Speed M) and aperture value (Val Pos 0_Speed j ... Val Pos 0_Speed j , 0≤j≤M) corresponding to Pos 0, interpolation is performed. A speed-aperture value fitting curve corresponding to Pos 0 can be obtained. According to the speed value-aperture value fitting curve, the actual aperture value (labeled as Val Pos 0_Speed M_OC ) can be obtained when the speed value is Speed X (the speed value of the motor). Or it is understood that a pair of (Pos 0, Speed X, Val Pos 0_Speed M_OC ) is obtained. For Pos 1, according to the speed value (Speed 0 ... Speed M) and aperture value (Val Pos 1_Speed j ... Val Pos 1_Speed j , 0≤j≤M) corresponding to Pos 1, the speed value-aperture value corresponding to Pos 1 can be obtained Curve fitting. According to the speed value-aperture value fitting curve, the actual aperture value (labeled as Val Pos 1_Speed M_OC ) can be obtained when the speed value is Speed X (the speed value of the motor). Or it is understood that a pair of (Pos 1, Speed X, Val Pos 1_Speed M_OC ) is obtained. Similarly, for N + 1 preset motor positions (Pos 0 ... Pos N) in Table 2, N + 1 speed value-aperture value fitting curves and N + 1 number pairs (Pos i, Speed X, Val Pos i_Speed M_OC ), 0 ≦ i ≦ N. In this way, the actual aperture value Val Pos i_Speed X_OC corresponding to each Pos i under Speed X (speed value of the motor) is obtained .
步骤2:根据每个Pos i及其对应的实际光圈值Val Pos  i_Speed  X_OC,通过插值得到电机以Speed X(电机的速度值)运动时的电机位置-光圈值拟合曲线。并且,根据该电机位置-光圈值拟合曲线得到目标光圈值Y对应的目标电机位置Pos Y。 Step 2: According to each Pos i and its corresponding actual aperture value Val Pos i_Speed X_OC , the motor position-aperture value fitting curve when the motor moves at Speed X (speed value of the motor) is obtained through interpolation. And, according to the motor position-aperture value fitting curve, the target motor position Pos Y corresponding to the target aperture value Y is obtained.
具体的,根据N+1个数对(Pos i,Speed X,Val Pos  i_Speed  M_OC),通过插值可以获得电机以电机的速度值(Speed X)运动时的电机位置-光圈值拟合曲线。这样,根据该电机位置-光圈值拟合曲线,可以得到目标光圈值Y对应的目标电机位置Pos Y。 Specifically, according to N + 1 number pairs (Pos i, Speed X, Val Pos i_Speed M_OC ), a motor position-aperture value fitting curve when the motor moves at the motor speed value (Speed X) can be obtained through interpolation. In this way, according to the motor position-aperture value fitting curve, the target motor position Pos Y corresponding to the target aperture value Y can be obtained.
步骤3:控制电机以Speed X运动到目标电机位置Pos Y。Step 3: Control the motor to move to the target motor position Pos Y at Speed X.
在另一个示例中,目标光圈值小于当前光圈值。预设的光圈特征数据具体为光圈移动方向为使光圈值变小的方向对应的光圈特征数据。结合表3,本实施例提供的光圈控制方法,可以包括:In another example, the target aperture value is smaller than the current aperture value. The preset aperture feature data is specifically aperture feature data corresponding to a direction in which the aperture movement direction is a direction in which the aperture value becomes smaller. With reference to Table 3, the aperture control method provided in this embodiment may include:
步骤1:根据表3中每个Pos i对应的Speed j和Val Pos  i_Speed  j_CO,通过插值获得每个Pos i对应的速度值-光圈值拟合曲线。并且,根据每个Pos i对应的速度值-光圈值拟合曲线,得到每个Pos i在Speed X(电机的速度值)下对应的实际光圈值Val Pos  i_Speed  X_COStep 1: According to Speed j and Val Pos i_Speed j_CO corresponding to each Pos i in Table 3, a speed-aperture value fitting curve corresponding to each Pos i is obtained by interpolation. And, according to the speed-aperture value fitting curve corresponding to each Pos i, the actual aperture value Val Pos i_Speed X_CO corresponding to each Pos i under Speed X (speed value of the motor) is obtained .
步骤2:根据每个Pos i及其对应的实际光圈值Val Pos  i_Speed  X_CO,通过插值得到电机以Speed X(电机的速度值)运动时的电机位置-光圈值拟合曲线。并且,根据该电机位置-光圈值拟合曲线得到目标光圈值Y对应的目标电机位置Pos Y。 Step 2: According to each Pos i and its corresponding actual aperture value Val Pos i_Speed X_CO , the motor position-aperture value fitting curve when the motor moves at Speed X (speed value of the motor) is obtained through interpolation. And, according to the motor position-aperture value fitting curve, the target motor position Pos Y corresponding to the target aperture value Y is obtained.
步骤3:控制电机以Speed X运动到目标电机位置Pos Y。Step 3: Control the motor to move to the target motor position Pos Y at Speed X.
可选的,根据多个预设电机位置分别对应的速度值与光圈值,获得多个预设电机位置分别对应的速度值与光圈值之间的对应关系,可以包括:Optionally, obtaining the corresponding relationship between the speed value and the aperture value corresponding to the multiple preset motor positions according to the speed value and the aperture value corresponding to the multiple preset motor positions may include:
根据预设的电机运动速度与拟合算法之间的对应关系,确定与电机的速度值对应的速度值-光圈值拟合算法。According to the preset correspondence between the motor motion speed and the fitting algorithm, a speed value-aperture value fitting algorithm corresponding to the speed value of the motor is determined.
采用速度值-光圈值拟合算法,根据光圈特征数据获得预设电机位置对应的速度值-光圈值拟合曲线。The speed value-aperture value fitting algorithm is adopted, and the speed value-aperture value fitting curve corresponding to the preset motor position is obtained according to the aperture characteristic data.
具体的,存储器中可以预先存储电机运动速度与拟合算法之间的对应关系。电机运动速度不同,对应的拟合算法可以不同。根据该对应关系和获得的电机的速度值,可以确定与电机的速度值对应的用于获得速度值-光圈值拟合曲线的拟合算法,进而根据该拟合算法获得速度值-光圈值拟合曲线。Specifically, the correspondence between the motor speed and the fitting algorithm can be stored in the memory in advance. Different motor moving speeds may have different fitting algorithms. According to the correspondence relationship and the obtained speed value of the motor, a fitting algorithm for obtaining a speed value-aperture value fitting curve corresponding to the speed value of the motor can be determined, and then the speed value-aperture value simulation is obtained according to the fitting algorithm.合 结果。 Curve.
根据电机的速度值确定获得速度值-光圈值拟合曲线时采用的拟合算法,提升了拟合算法的灵活性和准确性,进而提升了光圈控制的准确性。According to the speed value of the motor, the fitting algorithm used to obtain the speed-aperture value fitting curve is determined, which improves the flexibility and accuracy of the fitting algorithm, and further improves the accuracy of the aperture control.
可选的,根据多个预设电机位置和对应的实际光圈值获得电机以电机的速度值运动时电机位置与光圈值之间的对应关系,可以包括:Optionally, obtaining the correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor according to a plurality of preset motor positions and corresponding actual aperture values may include:
根据预设的电机运动速度与拟合算法之间的对应关系,确定与电机的速度值对应的电机位置-光圈值拟合算法。According to the preset correspondence between the motor speed and the fitting algorithm, a motor position-aperture value fitting algorithm corresponding to the motor speed value is determined.
采用电机位置-光圈值拟合算法,根据预设电机位置和实际光圈值获得电 机位置-光圈值拟合曲线。The motor position-aperture value fitting algorithm is used to obtain the motor position-aperture value fitting curve according to the preset motor position and the actual aperture value.
具体的,存储器中可以预先存储电机运动速度与拟合算法之间的对应关系。电机运动速度不同,对应的拟合算法可以不同。根据该对应关系和获得的电机的速度值,可以确定与电机的速度值对应的用于获得电机位置-光圈值拟合曲线的拟合算法,进而根据该拟合算法获得电机位置-光圈值拟合曲线。Specifically, the correspondence between the motor speed and the fitting algorithm can be stored in the memory in advance. Different motor moving speeds may have different fitting algorithms. According to the corresponding relationship and the obtained speed value of the motor, a fitting algorithm for obtaining a motor position-aperture value fitting curve corresponding to the speed value of the motor can be determined, and then the motor position-aperture value simulation is obtained according to the fitting algorithm.合 结果。 Curve.
根据电机的速度值确定获得电机位置-光圈值拟合曲线时采用的拟合算法,提升了拟合算法的灵活性和准确性,进而提升了光圈控制的准确性。The fitting algorithm used when obtaining the motor position-aperture value fitting curve is determined according to the speed value of the motor, which improves the flexibility and accuracy of the fitting algorithm, and further improves the accuracy of the aperture control.
本实施例提供了一种光圈控制方法,应用于预设的光圈特征数据中不包括电机的速度值的场景。根据光圈特征数据获得电机以电机的速度值运动时电机位置与光圈值之间的对应关系,根据电机位置与光圈值之间的对应关系确定目标光圈值对应的目标电机位置,提升了确定目标电机位置的准确性,进而提升了光圈控制的准确性。This embodiment provides an aperture control method, which is applied to a scenario in which the preset aperture characteristic data does not include the speed value of the motor. According to the aperture characteristic data, the correspondence between the motor position and the aperture value when the motor moves at the motor speed value is obtained. According to the correspondence between the motor position and the aperture value, the target motor position corresponding to the target aperture value is determined, and the determination of the target motor is improved The accuracy of the position improves the accuracy of the aperture control.
图3为本发明实施例三提供的光圈控制方法的流程图。本实施例在图1所示实施例一的基础上,提供了光圈控制方法的另一种具体实现方式,具体提供了S102的一种实现方式。如图3所示,本实施例提供的光圈控制方法,S102中,根据目标光圈值、速度值和预设的光圈特征数据确定电机的目标电机位置,可以包括:FIG. 3 is a flowchart of an aperture control method according to a third embodiment of the present invention. Based on the first embodiment shown in FIG. 1, this embodiment provides another specific implementation manner of the aperture control method, and specifically provides an implementation manner of S102. As shown in FIG. 3, in the aperture control method provided in this embodiment, in S102, determining a target motor position of a motor according to a target aperture value, a speed value, and preset aperture characteristic data may include:
S301、若多个预设速度值包括电机的速度值,确定与电机的速度值对应的光圈特征数据中是否包括目标光圈值。S301. If the multiple preset speed values include the speed value of the motor, determine whether the aperture characteristic data corresponding to the speed value of the motor includes the target aperture value.
S302、若与电机的速度值对应的光圈特征数据中包括目标光圈值,则将与电机的速度值和目标光圈值对应的预设电机位置确定为目标电机位置。S302. If the aperture characteristic data corresponding to the speed value of the motor includes the target aperture value, determine the preset motor position corresponding to the speed value and the target aperture value of the motor as the target motor position.
下面结合表1进行示例说明。An example is described below with reference to Table 1.
预设的光圈特征数据仅包括了有限数目的预设速度值、预设电机位置和光圈值。多个预设速度值(Speed 0…Speed M)包括电机的速度值(Speed X)。假设,Speed X=Speed 1。则需要进一步确定与电机的速度值对应的光圈特征数据(Val Pos  i_Speed  1…Val Pos  i_Speed  1,0≤i≤N)中是否包括目标光圈值(Y)。如果与电机的速度值对应的光圈特征数据中包括目标光圈值(假设Y=Val Pos  N_Speed  1),则将与电机的速度值和目标光圈值对应的预设电机位置(Pos N)确定为目标电机位置。 The preset aperture characteristic data includes only a limited number of preset speed values, preset motor positions, and aperture values. The multiple preset speed values (Speed 0 ... Speed M) include the speed value (Speed X) of the motor. It is assumed that Speed X = Speed 1. Then it is necessary to further determine whether the aperture characteristic data (Val Pos i_Speed 1 … Val Pos i_Speed 1 , 0 ≦ i ≦ N) corresponding to the speed value of the motor includes the target aperture value (Y). If the aperture characteristic data corresponding to the speed value of the motor includes the target aperture value (assuming Y = Val Pos N_Speed 1 ), the preset motor position (Pos N) corresponding to the speed value and the target aperture value of the motor is determined as the target Motor position.
由于预设的光圈特征数据可以反映出预设电机位置、预设速度值与光圈值之间的准确的对应关系,因此,当多个预设速度值包括电机的速度值,且与电机的速度值对应的光圈特征数据中包括目标光圈值时,可以直接根据预设的光圈特征数据确定目标电机位置,提升了目标电机位置的准确性,进而提升了光圈控制的准确性。Because the preset aperture characteristic data can reflect the accurate correspondence between the preset motor position, the preset speed value, and the aperture value, when multiple preset speed values include the speed value of the motor, and the speed of the motor When the target aperture value is included in the aperture characteristic data corresponding to the value, the target motor position can be directly determined based on the preset aperture characteristic data, which improves the accuracy of the target motor position and thus the accuracy of the aperture control.
可选的,本实施例提供的光圈控制方法,还可以包括:Optionally, the aperture control method provided in this embodiment may further include:
若与电机的速度值对应的光圈特征数据中不包括目标光圈值,则根据与电机的速度值对应的光圈特征数据获得电机以电机的速度值运动时电机位置与光圈值之间的对应关系。If the aperture characteristic data corresponding to the speed value of the motor does not include the target aperture value, the correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor is obtained according to the aperture characteristic data corresponding to the speed value of the motor.
根据电机位置与光圈值之间的对应关系,确定目标光圈值对应的目标电机位置。According to the corresponding relationship between the motor position and the aperture value, the target motor position corresponding to the target aperture value is determined.
可以具体参见图2所示实施例中的描述,原理和技术效果相似,此处不再赘述。For details, refer to the description in the embodiment shown in FIG. 2. The principle and technical effect are similar, and details are not described herein again.
本实施例提供了一种光圈控制方法,应用于预设的光圈特征数据中包括电机的速度值的场景。若与电机的速度值对应的光圈特征数据中包括目标光圈值,则将与电机的速度值和目标光圈值对应的预设电机位置确定为目标电机位置,提升了确定目标电机位置的准确性,进而提升了光圈控制的准确性。This embodiment provides an aperture control method, which is applied to a scenario in which preset aperture characteristic data includes a speed value of a motor. If the aperture characteristic data corresponding to the speed value of the motor includes the target aperture value, the preset motor position corresponding to the speed value and the target aperture value of the motor is determined as the target motor position, thereby improving the accuracy of determining the target motor position. This improves the accuracy of the aperture control.
图4为本发明实施例一提供的光圈控制装置的结构示意图。本实施例提供的光圈控制装置,用于执行图1-图3任一实施例提供的光圈控制方法。如图4所示,本实施例提供的光圈控制装置,可以包括:存储器11和处理器12。FIG. 4 is a schematic structural diagram of an aperture control device according to Embodiment 1 of the present invention. The aperture control device provided in this embodiment is configured to execute the aperture control method provided in any one of the embodiments of FIG. 1 to FIG. 3. As shown in FIG. 4, the aperture control device provided in this embodiment may include: a memory 11 and a processor 12.
存储器11,用于存储程序指令。The memory 11 is configured to store a program instruction.
处理器12,用于调用存储器11中存储的程序指令以执行下述方法:The processor 12 is configured to call a program instruction stored in the memory 11 to execute the following method:
获取光圈设置指令,光圈设置指令包括目标光圈值和电机的速度值。Get the aperture setting instruction. The aperture setting instruction includes the target aperture value and the speed of the motor.
根据目标光圈值、速度值和预设的光圈特征数据确定电机的目标电机位置。其中,光圈特征数据包括:多个预设电机位置,电机的多个预设速度值和多个光圈值,光圈值为电机以预设速度值运动到预设电机位置时对应的光圈值。Determine the target motor position of the motor according to the target aperture value, speed value, and preset aperture characteristic data. The aperture characteristic data includes: multiple preset motor positions, multiple preset speed values and multiple aperture values of the motor, and the aperture value is the corresponding aperture value when the motor moves to the preset motor position at the preset speed value.
控制电机以速度值运动到目标电机位置。The control motor moves to the target motor position at the speed value.
可选的,处理器12具体用于:Optionally, the processor 12 is specifically configured to:
若多个预设速度值不包括电机的速度值,则根据光圈特征数据进行插值,获得电机以电机的速度值运动时电机位置与光圈值之间的对应关系。If the plurality of preset speed values do not include the speed value of the motor, interpolation is performed according to the aperture characteristic data to obtain the correspondence between the position of the motor and the aperture value when the motor moves at the speed value of the motor.
根据电机位置与光圈值之间的对应关系,确定目标光圈值对应的目标电机位置。According to the corresponding relationship between the motor position and the aperture value, the target motor position corresponding to the target aperture value is determined.
可选的,处理器12具体用于:Optionally, the processor 12 is specifically configured to:
根据多个预设电机位置分别对应的速度值与光圈值,获得多个预设电机位置分别对应的速度值与光圈值之间的对应关系。According to the speed value and the aperture value corresponding to the multiple preset motor positions, the corresponding relationship between the speed value and the aperture value corresponding to the multiple preset motor positions is obtained.
根据多个预设电机位置分别对应的速度值与光圈值之间的对应关系,获得电机以电机的速度值分别运动到多个预设电机位置时对应的实际光圈值。According to the corresponding relationship between the speed values and the aperture values corresponding to the multiple preset motor positions, the actual aperture values corresponding to the motors respectively moving to the multiple preset motor positions at the speed values of the motor are obtained.
根据多个预设电机位置和对应的实际光圈值获得电机以电机的速度值运动时电机位置与光圈值之间的对应关系。The correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor is obtained according to a plurality of preset motor positions and corresponding actual aperture values.
可选的,速度值与光圈值之间的对应关系为速度值-光圈值拟合曲线,电机位置与光圈值之间的对应关系为电机位置-光圈值拟合曲线。Optionally, the corresponding relationship between the speed value and the aperture value is a speed value-aperture value fitting curve, and the corresponding relationship between the motor position and the aperture value is a motor position-aperture value fitting curve.
可选的,处理器12具体用于:Optionally, the processor 12 is specifically configured to:
根据预设的电机运动速度与拟合算法之间的对应关系,确定与电机的速度值对应的速度值-光圈值拟合算法。According to the preset correspondence between the motor motion speed and the fitting algorithm, a speed value-aperture value fitting algorithm corresponding to the speed value of the motor is determined.
采用速度值-光圈值拟合算法,根据光圈特征数据获得预设电机位置对应的速度值-光圈值拟合曲线。The speed value-aperture value fitting algorithm is adopted, and the speed value-aperture value fitting curve corresponding to the preset motor position is obtained according to the aperture characteristic data.
可选的,处理器12具体用于:Optionally, the processor 12 is specifically configured to:
根据预设的电机运动速度与拟合算法之间的对应关系,确定与电机的速度值对应的电机位置-光圈值拟合算法。According to the preset correspondence between the motor speed and the fitting algorithm, a motor position-aperture value fitting algorithm corresponding to the motor speed value is determined.
采用电机位置-光圈值拟合算法,根据预设电机位置和实际光圈值获得电机位置-光圈值拟合曲线。The motor position-aperture value fitting algorithm is used to obtain the motor position-aperture value fitting curve according to the preset motor position and the actual aperture value.
可选的,处理器12具体用于:Optionally, the processor 12 is specifically configured to:
若多个预设速度值包括电机的速度值,确定与电机的速度值对应的光圈特征数据中是否包括目标光圈值。If the plurality of preset speed values include the speed value of the motor, it is determined whether the aperture characteristic data corresponding to the speed value of the motor includes the target aperture value.
若包括,则将与电机的速度值和目标光圈值对应的预设电机位置确定为目标电机位置。If so, the preset motor position corresponding to the speed value and the target aperture value of the motor is determined as the target motor position.
可选的,处理器12还用于:Optionally, the processor 12 is further configured to:
若不包括,则根据与电机的速度值对应的光圈特征数据获得电机以电机的速度值运动时电机位置与光圈值之间的对应关系。If it is not included, the corresponding relationship between the motor position and the aperture value is obtained according to the aperture characteristic data corresponding to the speed value of the motor.
根据电机位置与光圈值之间的对应关系,确定目标光圈值对应的目标电机位置。According to the corresponding relationship between the motor position and the aperture value, the target motor position corresponding to the target aperture value is determined.
可选的,光圈特征数据还包括光圈移动方向,光圈移动方向包括使光圈值变大和/或变小的方向。光圈值具体为电机按照光圈移动方向以预设速度值运动到预设电机位置时对应的光圈值。Optionally, the aperture characteristic data further includes an aperture moving direction, and the aperture moving direction includes a direction that makes the aperture value larger and / or smaller. The aperture value is specifically the aperture value when the motor moves to the preset motor position at a preset speed value according to the direction of the aperture movement.
可选的,若目标光圈值大于当前光圈值,光圈特征数据具体为与光圈移动方向为使光圈值变大的方向对应的光圈特征数据。Optionally, if the target aperture value is greater than the current aperture value, the aperture characteristic data is specifically aperture characteristic data corresponding to a direction in which the aperture moves in a direction that makes the aperture value larger.
若目标光圈值小于当前光圈值,光圈特征数据具体为与光圈移动方向为使光圈值变小的方向对应的光圈特征数据。If the target aperture value is smaller than the current aperture value, the aperture characteristic data is specifically the aperture characteristic data corresponding to the direction in which the aperture movement direction is to make the aperture value smaller.
可选的,目标电机位置为电机以速度值运动时使得光圈值为目标光圈值时的电机位置。Optionally, the target motor position is a motor position when the aperture value is the target aperture value when the motor moves at a speed value.
本实施例提供的光圈控制装置,用于执行图1-图3任一实施例提供的光圈控制方法,原理和技术效果类似,此处不再赘述。The aperture control device provided in this embodiment is configured to execute the aperture control method provided in any one of FIG. 1 to FIG. 3. The principle and technical effect are similar, and details are not described herein again.
本发明实施例还提供一种光圈设备,包括:驱动机构、叶片和图4所示实施例提供的光圈控制装置。An embodiment of the present invention further provides an aperture device, which includes a driving mechanism, a blade, and an aperture control device provided in the embodiment shown in FIG. 4.
本发明实施例还提供一种拍摄设备,包括本发明实施例提供的光圈设备。An embodiment of the present invention further provides a photographing device, including an aperture device provided by an embodiment of the present invention.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art may understand that all or part of the steps of implementing the foregoing method embodiments may be implemented by a program instructing related hardware. The aforementioned program may be stored in a computer-readable storage medium. When the program is executed, the steps including the foregoing method embodiments are executed; and the foregoing storage medium includes: various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disc.
最后应说明的是:以上各实施例仅用以说明本发明实施例的技术方案,而非对其限制;尽管参照前述各实施例对本发明实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to describe the technical solutions of the embodiments of the present invention, but not limited thereto; although the embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art It should be understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to replace some or all of the technical features equivalently; and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the embodiments of the present invention The scope of the technical solution.

Claims (25)

  1. 一种光圈控制方法,其特征在于,包括:An aperture control method, which includes:
    获取光圈设置指令,所述光圈设置指令包括目标光圈值和电机的速度值;Obtaining an aperture setting instruction, where the aperture setting instruction includes a target aperture value and a speed value of the motor;
    根据所述目标光圈值、所述速度值和预设的光圈特征数据确定所述电机的目标电机位置;其中,所述光圈特征数据包括:多个预设电机位置,所述电机的多个预设速度值和多个光圈值,所述光圈值为所述电机以所述预设速度值运动到所述预设电机位置时对应的光圈值;Determining the target motor position of the motor according to the target aperture value, the speed value, and preset aperture characteristic data; wherein the aperture characteristic data includes: a plurality of preset motor positions, and a plurality of preset motor positions Setting a speed value and a plurality of aperture values, and the aperture value is an aperture value corresponding to when the motor moves to the preset motor position at the preset speed value;
    控制所述电机以所述速度值运动到所述目标电机位置。Controlling the motor to move to the target motor position at the speed value.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述目标光圈值、所述速度值和预设的光圈特征数据确定所述电机的目标电机位置,包括:The method according to claim 1, wherein determining the target motor position of the motor according to the target aperture value, the speed value, and preset aperture characteristic data comprises:
    若所述多个预设速度值不包括所述电机的速度值,则根据所述光圈特征数据进行插值,获得所述电机以所述电机的速度值运动时电机位置与光圈值之间的对应关系;If the plurality of preset speed values do not include the speed value of the motor, interpolation is performed according to the aperture characteristic data to obtain a correspondence between the position of the motor and the aperture value when the motor moves at the speed value of the motor relationship;
    根据所述电机位置与光圈值之间的对应关系,确定所述目标光圈值对应的所述目标电机位置。According to the correspondence between the motor position and the aperture value, the target motor position corresponding to the target aperture value is determined.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述光圈特征数据进行插值,获得所述电机以所述电机的速度值运动时电机位置与光圈值之间的对应关系,包括:The method according to claim 2, wherein the performing interpolation based on the aperture characteristic data to obtain a correspondence between a motor position and an aperture value when the motor moves at a speed value of the motor, comprises:
    根据所述多个预设电机位置分别对应的速度值与光圈值,获得所述多个预设电机位置分别对应的速度值与光圈值之间的对应关系;Obtaining the corresponding relationship between the speed value and the aperture value corresponding to the multiple preset motor positions according to the speed values and the aperture values corresponding to the multiple preset motor positions;
    根据所述多个预设电机位置分别对应的速度值与光圈值之间的对应关系,获得所述电机以所述电机的速度值分别运动到所述多个预设电机位置时对应的实际光圈值;According to the corresponding relationship between the speed value and the aperture value respectively corresponding to the plurality of preset motor positions, the actual apertures corresponding to the motors respectively moving to the plurality of preset motor positions at the speed values of the motor are obtained. value;
    根据所述多个预设电机位置和对应的所述实际光圈值获得所述电机以所述电机的速度值运动时电机位置与光圈值之间的对应关系。The correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor is obtained according to the plurality of preset motor positions and the corresponding actual aperture value.
  4. 根据权利要求3所述的方法,其特征在于,所述速度值与光圈值之间的对应关系为速度值-光圈值拟合曲线,所述电机位置与光圈值之间的对应关系为电机位置-光圈值拟合曲线。The method according to claim 3, wherein the corresponding relationship between the speed value and the aperture value is a speed value-aperture value fitting curve, and the corresponding relationship between the motor position and the aperture value is a motor position -Aperture value fits the curve.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述多个预设电机位置分别对应的速度值与光圈值,获得所述多个预设电机位置分别对应的 速度值与光圈值之间的对应关系,包括:The method according to claim 4, wherein the speed and aperture values corresponding to the plurality of preset motor positions are obtained according to the speed values and aperture values corresponding to the plurality of preset motor positions, respectively. The correspondence between them includes:
    根据预设的电机运动速度与拟合算法之间的对应关系,确定与所述电机的速度值对应的速度值-光圈值拟合算法;Determining a speed value-aperture value fitting algorithm corresponding to the speed value of the motor according to a preset correspondence between a motor speed and a fitting algorithm;
    采用所述速度值-光圈值拟合算法,根据所述光圈特征数据获得所述预设电机位置对应的速度值-光圈值拟合曲线。The speed value-aperture value fitting algorithm is used to obtain a speed value-aperture value fitting curve corresponding to the preset motor position according to the aperture characteristic data.
  6. 根据权利要求4所述的方法,其特征在于,所述根据所述多个预设电机位置和对应的所述实际光圈值获得所述电机以所述电机的速度值运动时电机位置与光圈值之间的对应关系,包括:The method according to claim 4, wherein the motor position and the aperture value obtained when the motor moves at the speed value of the motor are obtained according to the plurality of preset motor positions and the corresponding actual aperture value. The correspondence between them includes:
    根据预设的电机运动速度与拟合算法之间的对应关系,确定与所述电机的速度值对应的电机位置-光圈值拟合算法;Determining a motor position-aperture value fitting algorithm corresponding to the speed value of the motor according to a preset correspondence between a motor speed and a fitting algorithm;
    采用所述电机位置-光圈值拟合算法,根据所述预设电机位置和所述实际光圈值获得所述电机位置-光圈值拟合曲线。The motor position-aperture value fitting algorithm is adopted to obtain the motor position-aperture value fitting curve according to the preset motor position and the actual aperture value.
  7. 根据权利要求1所述的方法,其特征在于,所述根据所述目标光圈值、所述速度值和预设的光圈特征数据确定所述电机的目标电机位置,包括:The method according to claim 1, wherein determining the target motor position of the motor according to the target aperture value, the speed value, and preset aperture characteristic data comprises:
    若所述多个预设速度值包括所述电机的速度值,确定与所述电机的速度值对应的光圈特征数据中是否包括所述目标光圈值;If the plurality of preset speed values include the speed value of the motor, determining whether the aperture characteristic data corresponding to the speed value of the motor includes the target aperture value;
    若包括,则将与所述电机的速度值和所述目标光圈值对应的预设电机位置确定为所述目标电机位置。If so, the preset motor position corresponding to the speed value of the motor and the target aperture value is determined as the target motor position.
  8. 根据权利要求7所述的方法,其特征在于,还包括:The method according to claim 7, further comprising:
    若不包括,则根据与所述电机的速度值对应的光圈特征数据获得所述电机以所述电机的速度值运动时电机位置与光圈值之间的对应关系;If not, obtaining the correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor according to the aperture characteristic data corresponding to the speed value of the motor;
    根据所述电机位置与光圈值之间的对应关系,确定所述目标光圈值对应的所述目标电机位置。According to the correspondence between the motor position and the aperture value, the target motor position corresponding to the target aperture value is determined.
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,所述光圈特征数据还包括光圈移动方向,所述光圈移动方向包括使光圈值变大和/或变小的方向;所述光圈值具体为所述电机按照所述光圈移动方向以所述预设速度值运动到所述预设电机位置时对应的光圈值。The method according to any one of claims 1 to 8, wherein the aperture characteristic data further includes an aperture moving direction, and the aperture moving direction includes a direction in which an aperture value becomes larger and / or smaller; and The aperture value is specifically an aperture value when the motor moves to the preset motor position at the preset speed value according to the aperture moving direction.
  10. 根据权利要求9所述的方法,其特征在于,The method according to claim 9, characterized in that:
    若所述目标光圈值大于当前光圈值,所述光圈特征数据具体为与光圈移动方向为使光圈值变大的方向对应的光圈特征数据;If the target aperture value is greater than the current aperture value, the aperture characteristic data is specifically aperture characteristic data corresponding to a direction in which the aperture moves in a direction that makes the aperture value larger;
    若所述目标光圈值小于当前光圈值,所述光圈特征数据具体为与光圈移动方向为使光圈值变小的方向对应的光圈特征数据。If the target aperture value is smaller than the current aperture value, the aperture characteristic data is specifically aperture characteristic data corresponding to a direction in which the aperture movement direction is to make the aperture value smaller.
  11. 根据权利要求1-10中任一项所述的方法,其特征在于,所述目标电机位置为所述电机以所述速度值运动时使得光圈值为所述目标光圈值时的电机位置。The method according to any one of claims 1 to 10, wherein the target motor position is a motor position when the motor moves at the speed value such that the aperture value is the target aperture value.
  12. 一种光圈控制装置,其特征在于,包括:存储器和处理器;An aperture control device, comprising: a memory and a processor;
    所述存储器,用于存储程序指令;The memory is used to store program instructions;
    所述处理器,用于调用所述存储器中存储的所述程序指令以执行下述方法:The processor is configured to call the program instructions stored in the memory to execute the following method:
    获取光圈设置指令,所述光圈设置指令包括目标光圈值和电机的速度值;Obtaining an aperture setting instruction, where the aperture setting instruction includes a target aperture value and a speed value of the motor;
    根据所述目标光圈值、所述速度值和预设的光圈特征数据确定所述电机的目标电机位置;其中,所述光圈特征数据包括:多个预设电机位置,所述电机的多个预设速度值和多个光圈值,所述光圈值为所述电机以所述预设速度值运动到所述预设电机位置时对应的光圈值;Determining the target motor position of the motor according to the target aperture value, the speed value, and preset aperture characteristic data; wherein the aperture characteristic data includes: a plurality of preset motor positions, and a plurality of preset motor positions Setting a speed value and a plurality of aperture values, and the aperture value is an aperture value corresponding to when the motor moves to the preset motor position at the preset speed value;
    控制所述电机以所述速度值运动到所述目标电机位置。Controlling the motor to move to the target motor position at the speed value.
  13. 根据权利要求12所述的装置,其特征在于,所述处理器具体用于:The apparatus according to claim 12, wherein the processor is specifically configured to:
    若所述多个预设速度值不包括所述电机的速度值,则根据所述光圈特征数据进行插值,获得所述电机以所述电机的速度值运动时电机位置与光圈值之间的对应关系;If the plurality of preset speed values do not include the speed value of the motor, interpolation is performed according to the aperture characteristic data to obtain a correspondence between the position of the motor and the aperture value when the motor moves at the speed value of the motor relationship;
    根据所述电机位置与光圈值之间的对应关系,确定所述目标光圈值对应的所述目标电机位置。According to the correspondence between the motor position and the aperture value, the target motor position corresponding to the target aperture value is determined.
  14. 根据权利要求13所述的装置,其特征在于,所述处理器具体用于:The apparatus according to claim 13, wherein the processor is specifically configured to:
    根据所述多个预设电机位置分别对应的速度值与光圈值,获得所述多个预设电机位置分别对应的速度值与光圈值之间的对应关系;Obtaining the corresponding relationship between the speed value and the aperture value corresponding to the multiple preset motor positions according to the speed values and the aperture values corresponding to the multiple preset motor positions;
    根据所述多个预设电机位置分别对应的速度值与光圈值之间的对应关系,获得所述电机以所述电机的速度值分别运动到所述多个预设电机位置时对应的实际光圈值;According to the corresponding relationship between the speed value and the aperture value respectively corresponding to the plurality of preset motor positions, the actual apertures corresponding to the motors respectively moving to the plurality of preset motor positions at the speed values of the motor are obtained. value;
    根据所述多个预设电机位置和对应的所述实际光圈值获得所述电机以所述电机的速度值运动时电机位置与光圈值之间的对应关系。The correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor is obtained according to the plurality of preset motor positions and the corresponding actual aperture value.
  15. 根据权利要求14所述的装置,其特征在于,所述速度值与光圈值之 间的对应关系为速度值-光圈值拟合曲线,所述电机位置与光圈值之间的对应关系为电机位置-光圈值拟合曲线。The device according to claim 14, wherein the correspondence between the speed value and the aperture value is a speed value-aperture value fitting curve, and the correspondence between the motor position and the aperture value is a motor position -Aperture value fits the curve.
  16. 根据权利要求15所述的装置,其特征在于,所述处理器具体用于:The apparatus according to claim 15, wherein the processor is specifically configured to:
    根据预设的电机运动速度与拟合算法之间的对应关系,确定与所述电机的速度值对应的速度值-光圈值拟合算法;Determining a speed value-aperture value fitting algorithm corresponding to the speed value of the motor according to a preset correspondence between a motor speed and a fitting algorithm;
    采用所述速度值-光圈值拟合算法,根据所述光圈特征数据获得所述预设电机位置对应的速度值-光圈值拟合曲线。The speed value-aperture value fitting algorithm is used to obtain a speed value-aperture value fitting curve corresponding to the preset motor position according to the aperture characteristic data.
  17. 根据权利要求15所述的装置,其特征在于,所述处理器具体用于:The apparatus according to claim 15, wherein the processor is specifically configured to:
    根据预设的电机运动速度与拟合算法之间的对应关系,确定与所述电机的速度值对应的电机位置-光圈值拟合算法;Determining a motor position-aperture value fitting algorithm corresponding to the speed value of the motor according to a preset correspondence between a motor speed and a fitting algorithm;
    采用所述电机位置-光圈值拟合算法,根据所述预设电机位置和所述实际光圈值获得所述电机位置-光圈值拟合曲线。The motor position-aperture value fitting algorithm is adopted to obtain the motor position-aperture value fitting curve according to the preset motor position and the actual aperture value.
  18. 根据权利要求12所述的装置,其特征在于,所述处理器具体用于:The apparatus according to claim 12, wherein the processor is specifically configured to:
    若所述多个预设速度值包括所述电机的速度值,确定与所述电机的速度值对应的光圈特征数据中是否包括所述目标光圈值;If the plurality of preset speed values include the speed value of the motor, determining whether the aperture characteristic data corresponding to the speed value of the motor includes the target aperture value;
    若包括,则将与所述电机的速度值和所述目标光圈值对应的预设电机位置确定为所述目标电机位置。If so, the preset motor position corresponding to the speed value of the motor and the target aperture value is determined as the target motor position.
  19. 根据权利要求18所述的装置,其特征在于,所述处理器还用于:The apparatus according to claim 18, wherein the processor is further configured to:
    若不包括,则根据与所述电机的速度值对应的光圈特征数据获得所述电机以所述电机的速度值运动时电机位置与光圈值之间的对应关系;If not, obtaining the correspondence between the motor position and the aperture value when the motor moves at the speed value of the motor according to the aperture characteristic data corresponding to the speed value of the motor;
    根据所述电机位置与光圈值之间的对应关系,确定所述目标光圈值对应的所述目标电机位置。According to the correspondence between the motor position and the aperture value, the target motor position corresponding to the target aperture value is determined.
  20. 根据权利要求12-19中任一项所述的装置,其特征在于,所述光圈特征数据还包括光圈移动方向,所述光圈移动方向包括使光圈值变大和/或变小的方向;所述光圈值具体为所述电机按照所述光圈移动方向以所述预设速度值运动到所述预设电机位置时对应的光圈值。The device according to any one of claims 12 to 19, wherein the aperture characteristic data further includes a direction of aperture movement, and the direction of aperture movement includes a direction in which the aperture value becomes larger and / or smaller; and The aperture value is specifically an aperture value when the motor moves to the preset motor position at the preset speed value according to the aperture moving direction.
  21. 根据权利要求20所述的装置,其特征在于,The device according to claim 20, wherein:
    若所述目标光圈值大于当前光圈值,所述光圈特征数据具体为与光圈移动方向为使光圈值变大的方向对应的光圈特征数据;If the target aperture value is greater than the current aperture value, the aperture characteristic data is specifically aperture characteristic data corresponding to a direction in which the aperture moves in a direction that makes the aperture value larger;
    若所述目标光圈值小于当前光圈值,所述光圈特征数据具体为与光圈移 动方向为使光圈值变小的方向对应的光圈特征数据。If the target aperture value is smaller than the current aperture value, the aperture characteristic data is specifically aperture characteristic data corresponding to a direction in which the aperture movement direction is such that the aperture value becomes smaller.
  22. 根据权利要求12-21中任一项所述的装置,其特征在于,所述目标电机位置为所述电机以所述速度值运动时使得光圈值为所述目标光圈值时的电机位置。The device according to any one of claims 12-21, wherein the target motor position is a motor position when the motor moves at the speed value such that the aperture value is the target aperture value.
  23. 一种光圈设备,其特征在于,包括:驱动机构、叶片和如权利要求12-22中任一项所述的光圈控制装置。An aperture device, comprising: a driving mechanism, a blade, and the aperture control device according to any one of claims 12-22.
  24. 一种拍摄设备,其特征在于,包括:如权利要求23所述的光圈设备。A photographing device, comprising: the aperture device according to claim 23.
  25. 一种存储介质,其特征在于,包括:可读存储介质和计算机程序,所述计算机程序用于实现如权利要求1-11中任一项所述的光圈控制方法。A storage medium, comprising: a readable storage medium and a computer program, wherein the computer program is used to implement the aperture control method according to any one of claims 1-11.
PCT/CN2018/098303 2018-08-02 2018-08-02 Aperture control method and apparatus, aperture device, and photographic device WO2020024214A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880041492.5A CN110945423B (en) 2018-08-02 2018-08-02 Diaphragm control method and device, diaphragm equipment and shooting equipment
PCT/CN2018/098303 WO2020024214A1 (en) 2018-08-02 2018-08-02 Aperture control method and apparatus, aperture device, and photographic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/098303 WO2020024214A1 (en) 2018-08-02 2018-08-02 Aperture control method and apparatus, aperture device, and photographic device

Publications (1)

Publication Number Publication Date
WO2020024214A1 true WO2020024214A1 (en) 2020-02-06

Family

ID=69231352

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/098303 WO2020024214A1 (en) 2018-08-02 2018-08-02 Aperture control method and apparatus, aperture device, and photographic device

Country Status (2)

Country Link
CN (1) CN110945423B (en)
WO (1) WO2020024214A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269235A (en) * 2020-11-09 2021-01-26 中国航空工业集团公司洛阳电光设备研究所 Iris diaphragm device for low-illumination camera and automatic iris diaphragm adjusting method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1834766A (en) * 2005-03-16 2006-09-20 三星电机株式会社 Dynamic aperture driving apparatus and method for reducing vibration
CN102135700A (en) * 2010-01-22 2011-07-27 杭州海康威视软件有限公司 Automatic aperture adjusting method and device
CN104883502A (en) * 2015-05-19 2015-09-02 广东欧珀移动通信有限公司 Focusing method and apparatus for mobile terminal
CN105827944A (en) * 2015-11-25 2016-08-03 维沃移动通信有限公司 Focusing method and mobile terminal
WO2017113150A1 (en) * 2015-12-30 2017-07-06 深圳市大疆创新科技有限公司 Zooming control method, system and device, memory, and aerial vehicle
CN107370950A (en) * 2017-08-09 2017-11-21 广东欧珀移动通信有限公司 Focusing process method, apparatus and mobile terminal

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2187130A5 (en) * 1971-03-24 1974-01-11 Eastman Kodak Co
US3984847A (en) * 1973-09-29 1976-10-05 Olympus Optical Co., Ltd. Electric eye exposure apparatus for use in a camera having a bladed shutter mechanism
DE3100376A1 (en) * 1981-01-09 1982-08-12 Ernst Leitz Wetzlar Gmbh, 6330 Wetzlar DEVICE FOR COMPENSATING THE BUMBLE IN A PHOTOGRAPHIC LENS WITH SPRING PANEL
JPS59148003A (en) * 1983-02-14 1984-08-24 Matsushita Electric Ind Co Ltd Piezoelectric light shielding device
JP2989725B2 (en) * 1993-03-19 1999-12-13 キヤノン電子株式会社 Light control device
US5430519A (en) * 1993-03-04 1995-07-04 Canon Denshi Kabushiki Kaisha Light-amount controlling apparatus
JP3542316B2 (en) * 2000-05-15 2004-07-14 日本電産コパル株式会社 Camera shutter device
JP4614143B2 (en) * 2008-01-18 2011-01-19 カシオ計算機株式会社 Imaging apparatus and program thereof
CN102472952A (en) * 2009-07-17 2012-05-23 Nec显示器解决方案株式会社 Diaphragm control circuit, projector device, diaphragm control program, and diaphragm control method
JP5495841B2 (en) * 2010-02-22 2014-05-21 オリンパスイメージング株式会社 Camera and camera control method
KR20130012758A (en) * 2011-07-26 2013-02-05 삼성전자주식회사 Light amount adjusting device and photographing apparatus with the same
CN103188447B (en) * 2013-01-18 2016-01-20 北京中远通科技有限公司 A kind of industrial aperture control system, device
CN105187712B (en) * 2014-03-03 2018-04-24 努比亚技术有限公司 Image pickup method applied to mobile terminal
CN104333750B (en) * 2014-11-06 2018-04-06 上海斐讯数据通信技术有限公司 Photometric system and its applicable light measuring method and smart mobile phone
JP6560030B2 (en) * 2015-06-10 2019-08-14 オリンパス株式会社 Lens unit and aperture control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1834766A (en) * 2005-03-16 2006-09-20 三星电机株式会社 Dynamic aperture driving apparatus and method for reducing vibration
CN102135700A (en) * 2010-01-22 2011-07-27 杭州海康威视软件有限公司 Automatic aperture adjusting method and device
CN104883502A (en) * 2015-05-19 2015-09-02 广东欧珀移动通信有限公司 Focusing method and apparatus for mobile terminal
CN105827944A (en) * 2015-11-25 2016-08-03 维沃移动通信有限公司 Focusing method and mobile terminal
WO2017113150A1 (en) * 2015-12-30 2017-07-06 深圳市大疆创新科技有限公司 Zooming control method, system and device, memory, and aerial vehicle
CN107370950A (en) * 2017-08-09 2017-11-21 广东欧珀移动通信有限公司 Focusing process method, apparatus and mobile terminal

Also Published As

Publication number Publication date
CN110945423B (en) 2021-07-02
CN110945423A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
US7979143B2 (en) Apparatus and method for proportional-integral-derivative control
EP2818947A1 (en) Method for automatically setting controller bandwidth
JPWO2018151215A1 (en) Control apparatus and control method
US11592789B2 (en) Output device, control device, and method for outputting evaluation functions and machine learning results
CN109946911B (en) Focusing method and device, computer equipment and storage medium
US20200133226A1 (en) Output device, control device and method of outputting learning parameter
WO2014201919A1 (en) Automatic iris control method and system
KR101849464B1 (en) Automatic Tuning Method for PID controllers
US20190317456A1 (en) Adjusting device and adjusting method
JP6702765B2 (en) Focus adjusting device and control method thereof, imaging device, program, storage medium
JP2015011112A5 (en)
WO2020024214A1 (en) Aperture control method and apparatus, aperture device, and photographic device
CN111552237B (en) Machine learning device, control device, and method for setting search range for machine learning
US11914334B2 (en) Output device, control device and method of outputting evaluation function value
CN110300252B (en) Lens inclination correction method and device
JP2021047556A (en) Object moving device, machine tool, information processing apparatus, information processing method, and information processing program
US20230324885A1 (en) Control assistance device, control system, and control assistance method
JP7381751B2 (en) Control support device, control device, and control support method
JP2023071092A5 (en)
JP6592359B2 (en) Lens apparatus and imaging apparatus having the same
JP6234170B2 (en) Program, generating method, generating apparatus, driving apparatus, processing apparatus, lithographic apparatus, and article manufacturing method
JP6870284B2 (en) Plant control regulator
JP2020148841A (en) Lens device and imaging device
WO2023067787A1 (en) Stability margin setting support device, control system, and setting support method
CN113759698B (en) Source network congestion transmission control method

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: 18928940

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18928940

Country of ref document: EP

Kind code of ref document: A1