Variable aperture control method, variable aperture, camera module and electronic equipment
Intermittent power supply is provided based on the exposure state of the image sensor, which solves the problem of high power consumption in the traditional variable aperture control method and achieves the effect of reducing power consumption without affecting imaging.
Patent Information
- Application Number
- CN202310623068.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-05-29
AI Technical Summary
The traditional variable aperture control method leads to an increase in power consumption, especially the closed-loop multi-speed control that requires a position sensor and continuous current, which is costly and consumes a lot of power. Although the open-loop two-speed control reduces the cost, it still needs to provide stable current at all times, and the power consumption is high. has not been properly resolved.
Intermittent power supply is provided based on the exposure status of the image sensor. Power is only supplied during the exposure phase and is powered off during the non-exposure phase. The frame signal is used to control the power supply status of the variable aperture in real time to ensure that imaging is not affected.
It effectively reduces power consumption and avoids the increase in current consumption of traditional control methods while ensuring imaging quality.
Smart Images

Figure CN117724281B
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the technical field of electronic equipment, and in particular to a variable aperture control method, a variable aperture, a camera module, and an electronic device. Background Art
[0002] With the development of electronic equipment technology and the increasing requirements of users for electronic equipment photography, camera modules with variable apertures have emerged. The variable aperture can control the amount of light entering the camera lens to achieve different quality images.
[0003] The traditional variable aperture control method is closed-loop control with multiple adjustable gears. It usually requires a position sensor to detect the position of the variable aperture and provide a stable current, which not only increases the cost but also increases the power consumption. In order to solve this problem, an open-loop two-gear variable aperture came into being.
[0004] The open-loop two-speed control variable aperture can only be fixed in two gears by mechanical limit. Therefore, the open-loop two-speed control variable aperture does not need to set a position sensor to avoid cost increase. However, it also needs to provide a stable current at all times to keep the aperture in the corresponding gear position, so there is still the problem of increased power consumption. Summary of the invention
[0005] The embodiments of the present application provide a variable aperture control method, a variable aperture, a camera module and an electronic device, which are used to solve the problem of increased power consumption caused by the current consumption of the aperture motor.
[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0007] In a first aspect, a variable aperture control method is provided, the method comprising: controlling the variable aperture to move to a target position; after the variable aperture moves to the target position, intermittently powering the variable aperture according to the exposure state of the image sensor; wherein the exposure state comprises an exposure stage and a non-exposure stage, the variable aperture is powered in the exposure stage, and the power supply of the variable aperture is stopped in the non-exposure stage. Thus, the variable aperture is powered only in the exposure stage of the image sensor to ensure the stability of the aperture, and compared with continuously providing current, the current in the non-exposure stage can be saved. Moreover, since the non-exposure stage is not in the image acquisition stage, it does not affect the imaging. Therefore, by using an intermittent power supply method of powering on in the exposure stage and powering off in the non-exposure stage, it is possible to reduce power consumption while ensuring that imaging is not affected.
[0008] In a possible implementation of the first aspect, intermittent power supply is provided to the variable aperture according to the exposure state of the image sensor, including: periodically reading a frame signal of the image sensor; wherein the frame signal is used to reflect the exposure state of the image sensor and is formed by the image sensor based on a frame rate, an exposure duration, and a readout duration; and a control signal is sent to the variable aperture based on the frame signal, and intermittent power supply is provided to the variable aperture through the control signal. Therefore, since the frame signal can reflect the exposure state of the image sensor in real time, intermittent power supply of the variable aperture is implemented by sending control information based on the frame signal, which can improve the accuracy of intermittent power supply.
[0009] In another possible implementation of the first aspect, controlling the variable aperture to move to a target position includes: receiving a gear adjustment operation of the variable aperture; outputting a gear current of an aperture gear corresponding to the gear adjustment operation, and driving the variable aperture to move to a target position corresponding to the aperture gear through the gear current.
[0010] In another possible implementation of the first aspect, a gear current corresponding to the aperture gear corresponding to the gear adjustment operation is output, and the variable aperture is driven to move to a target position corresponding to the aperture gear by the gear current, including: when the aperture gear corresponding to the gear adjustment operation is a first gear, a first gear current corresponding to the first gear is output, and the variable aperture is controlled to move to the target position corresponding to the first gear by the first gear current; when the aperture gear corresponding to the gear adjustment operation is a second gear, a second gear current corresponding to the second gear is output, and the variable aperture is controlled to move to the target position corresponding to the second gear by the second gear current; wherein the first gear and the second gear are different, and the current directions of the first gear current and the second gear current are different. Thus, different gear currents are given to the variable aperture based on different aperture gears to ensure the accuracy of gear control.
[0011] In a second aspect, the present application provides an aperture power supply chip, which stores a control program. The aperture power supply chip executes the control program to implement the variable aperture control method as described in any one of the first aspects above.
[0012] In a third aspect, the present application provides a variable aperture, which is an open-loop two-speed control, including: an aperture power supply chip, an aperture motor and aperture blades as in the second aspect above; the aperture power supply chip is connected to the aperture motor, and the aperture motor is connected to the aperture blades.
[0013] In a fourth aspect, the present application provides a camera module, comprising: a variable aperture and a camera assembly as described in the third aspect above; wherein the variable aperture is arranged on the front side of the camera assembly to control the amount of light entering the camera assembly.
[0014] In a fifth aspect, the present application provides an electronic device, comprising: a housing and a camera module as described in the fourth aspect above, wherein the camera module is connected to the housing.
[0015] In a sixth aspect, the present application provides an electronic device, comprising: one or more processors and a memory, the memory being coupled to the processor; one or more computer program codes being stored in the memory, the computer program codes comprising computer instructions; when the processor executes the computer instructions, the electronic device performs the following steps: controlling the variable aperture to move to a target position; after the variable aperture moves to the target position, intermittently powering the variable aperture according to the exposure state of the image sensor; wherein the exposure state comprises an exposure stage and a non-exposure stage, the variable aperture is powered in the exposure stage, and the power supply to the variable aperture is stopped in the non-exposure stage.
[0016] In a possible implementation of the sixth aspect, when the processor executes computer instructions, the electronic device performs the following steps: periodically reading a frame signal of the image sensor; wherein the frame signal is used to reflect the exposure state of the image sensor, and is formed by the image sensor based on a frame rate, exposure duration, and readout duration; and sending a control signal to the variable aperture based on the frame signal, and intermittently powering the variable aperture through the control signal.
[0017] In a possible implementation of the sixth aspect, when the processor executes computer instructions, the electronic device performs the following steps: receiving a gear adjustment operation of the variable aperture; outputting a gear current of the aperture gear corresponding to the gear adjustment operation, and driving the variable aperture to move to a target position corresponding to the aperture gear through the gear current.
[0018] In a possible implementation of the sixth aspect, when the processor executes the computer instructions, the electronic device performs the following steps: when the aperture gear corresponding to the gear adjustment operation is the first gear, outputting a first gear current corresponding to the first gear, and controlling the variable aperture to move to a target position corresponding to the first gear by the first gear current; when the aperture gear corresponding to the gear adjustment operation is the second gear, outputting a second gear current corresponding to the second gear, and controlling the variable aperture to move to a target position corresponding to the second gear by the second gear current; wherein the first gear and the second gear are different, and current directions of the first gear current and the second gear current are different.
[0019] In a seventh aspect, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor in an electronic device, the electronic device executes the variable aperture control method as in the first aspect and any possible design thereof.
[0020] In an eighth aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method of the first aspect and any possible design thereof. For example, the computer may be the electronic device described above.
[0021] It can be understood that the beneficial effects that can be achieved by the aperture power supply chip of the second aspect, the variable aperture of the third aspect, the camera module of the fourth aspect, the electronic device of the fifth aspect, the electronic device of any possible design of the sixth aspect, the computer-readable storage medium of the seventh aspect, and the computer program product of the eighth aspect can be referred to the beneficial effects in the first aspect and any possible design of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application;
[0023] Figure 2 A schematic diagram of the disassembled structure of a camera module 120 provided in an embodiment of the present application;
[0024] Figure 3 A schematic diagram of a top view of a camera module 120 provided in an embodiment of the present application;
[0025] Figure 4 A schematic diagram of a photographing interface of an electronic device provided in an embodiment of the present application;
[0026] Figure 5 An application scenario diagram of a variable aperture control method provided in an embodiment of the present application;
[0027] Figure 6 A flow chart of a variable aperture control method provided in an embodiment of the present application;
[0028] Figure 7 The principle flow chart of an open-loop two-speed variable aperture control method provided in the embodiment of the present application Figure 1 ;
[0029] Figure 8 The principle flow chart of an open-loop two-speed variable aperture control method provided in the embodiment of the present application Figure 2 ;
[0030] Fig. 9 A block diagram of the principle relationship between imaging and variable aperture control provided in an embodiment of the present application;
[0031] Fig.10 A timing diagram of a variable aperture control method provided in an embodiment of the present application;
[0032] Fig.11A schematic diagram of the structure of another electronic device 200 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The technical scheme of the embodiment of the present application will be described below in conjunction with the accompanying drawings of the embodiment of the present application. Among them, in the description of the embodiment of the present application, the terms used in the following embodiments are only for the purpose of describing a specific embodiment, and are not intended to limit the present application. In addition, in order to facilitate the clear description of the technical scheme of the embodiment of the present application, in the embodiment of the present application, the words "first", "second" and the like are used to define the same or similar items with substantially the same functions and effects. It can be understood by those skilled in the art that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit necessarily different. And, in the description of the embodiment of the present application, unless otherwise specified, the meaning of "multiple" means two or more.
[0034] The aperture is a device used to control the brightness of the light entering the photosensitive surface of the camera body through the lens. It is currently divided into fixed aperture and variable aperture. Among them, the size of the fixed aperture cannot be adjusted, and the amount of light entering is fixed. The aperture size of the variable aperture can be adjusted, which usually includes an aperture motor and aperture blades (can be simply called blades).
[0035] The aperture adjustment of the variable aperture is mainly achieved by passing current through the aperture motor to control the aperture motor to drive the aperture blades to move to form light inlets of different sizes (the light inlet can also be called the clear aperture, clear diameter or through-hole diameter), and then controlling the amount of light entering the image through the light inlet. For example, the larger the light inlet, the more light passes through the light inlet. The smaller the light inlet, the less light passes through the light inlet. Therefore, the amount of light entering depends on the size of the light inlet. In general, the larger the aperture (the larger the light inlet), the more light enters the lens, and the brighter the image (the shallower the depth of field). Conversely, the smaller the aperture (the smaller the light inlet), the less light enters, and the darker the image (the deeper the depth of field).
[0036] The traditional variable aperture is generally closed-loop controlled and has multiple aperture gears that can be adjusted. In order to ensure the accuracy of the gear position control, the variable aperture with closed-loop multi-gear control needs to feedback the position of the variable aperture by setting a position sensor. At the same time, in order to ensure the stability of the aperture, a stable current needs to be provided at all times. For example, after the variable aperture is adjusted to a certain value (the variable aperture is adjusted to a certain aperture gear), the aperture motor of the variable aperture detects the position of the aperture blades through the position sensor, and then stabilizes the aperture blades at the target position (the position corresponding to the target aperture gear) through closed-loop control. At the same time, in order to ensure the normal operation of the variable aperture, it is necessary to continuously provide current to the aperture motor during this process. It can be seen that the variable aperture with closed-loop multi-gear control has to be equipped with a position sensor and provide a stable current at all times, which increases the cost and the power consumption due to current consumption.
[0037] Based on this, in order to stabilize the cost of the variable aperture and avoid cost increases, an open-loop two-speed control variable aperture that can reduce costs has emerged. The variable aperture does not need to be equipped with a position sensor, and the aperture can only be fixed by mechanical limits, and can only be fixed in two gears (which can be called the maximum gear and the minimum gear, or the large aperture gear and the small aperture gear). For example, after receiving the user's gear adjustment operation on the open-loop two-speed variable aperture, a positive current or a negative current is directly passed through the aperture motor, so that the aperture blades move to the position of the mechanical limit. Among them, the positive current can be understood as the current required for the maximum gear / large aperture gear, and the negative current can be understood as the current required for the minimum gear / small aperture gear. That is, if the gear corresponding to the gear adjustment operation is the maximum gear / large aperture gear, a positive current is passed through the aperture motor, so that the aperture blades move to the position corresponding to the mechanical limit of the maximum gear / large aperture gear. If the gear position corresponding to the gear adjustment operation is the minimum gear position / small aperture gear position, a negative current is passed through the aperture motor to move the aperture blades to the position of the mechanical limit corresponding to the minimum gear position / small aperture gear position.
[0038] However, although the open-loop two-speed variable aperture has lower costs than the closed-loop multi-speed variable aperture, it is open-loop controlled and has no position feedback. Therefore, if you want to control the aperture to the mechanical limit position, you still need to provide a stable current at all times. Therefore, the problem of increased power consumption caused by providing a stable current at all times has not been properly solved.
[0039] In order to solve the above problems, an embodiment of the present application provides a variable aperture control method. The variable aperture control method can be applied to electronic devices. In the following, the variable aperture control method of the embodiment of the present application is described by taking electronic devices as an example.
[0040] Specifically, when the electronic device receives the user's gear adjustment operation on the variable aperture, the electronic device responds to the gear adjustment operation, supplies current to the aperture motor of the variable aperture, and drives the aperture blades of the variable aperture to the position corresponding to the aperture gear of the gear adjustment operation through the aperture motor. Afterwards, the electronic device intermittently supplies power to the variable aperture according to the exposure state of the image sensor. The exposure state of the image sensor includes an exposure stage and a non-exposure stage. That is, in the embodiment of the present application, the electronic device supplies power to the variable aperture in the exposure stage, and stops supplying power to the variable aperture in the non-exposure stage.
[0041] Therefore, compared with continuously providing a stable current, the electronic device can reduce a certain amount of current consumption by intermittent power supply, thereby reducing power consumption. In addition, since image acquisition in the electronic device is mainly performed in the exposure stage of the image sensor, even if the variable aperture is powered only in the exposure stage in the embodiment of the present application, it will not affect the imaging. Because even if the aperture size of the variable aperture changes or fluctuates due to power failure after the variable aperture is powered off, affecting the amount of light entering, the image sensor is in a non-exposure stage (not in the image acquisition stage) at this time, so it will not affect the imaging.
[0042] Exemplarily, the electronic device described in the embodiments of the present application may be an intelligent terminal device with imaging functions (such as photo taking and video recording functions). The intelligent terminal device includes at least one of a mobile phone, a camera, a video camera, a foldable electronic device, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PAD), or an artificial intelligence (AI) device.
[0043] The embodiment of the present application does not impose any special limitation on the specific type of the electronic device.
[0044] like Figure 1 As shown, an embodiment of the present application provides a structural diagram of an electronic device 100. Figure 1 The electronic device 100 includes a housing 110 , a camera module 120 and a display screen 130 .
[0045] The housing 110 is the housing of the electronic device, for example, it can be understood as the housing of a mobile phone. The electronic device 100 can form a certain accommodation space through the housing, which can accommodate the devices required by the electronic device 100. Based on this, the camera module 120 and the display screen 130 are arranged inside the accommodation space formed by the housing 110, and are connected to the housing 110, and can be directly seen on the surface of the housing 110.
[0046] The camera module 120 can be used to collect color image data and depth data of the object.
[0047] In some embodiments, Figure 2 As shown, the present application embodiment provides a schematic diagram of the disassembly structure of a camera module 120. Figure 2 The camera module 120 may include a camera assembly 121 and a variable aperture 122. The variable aperture 122 is disposed on the front side of the camera assembly 121 (eg, it may be covered on the camera), and the variable aperture 122 controls the amount of light entering the camera assembly 121. Figure 2 The dotted arrow in the figure can be understood as the direction in which light penetrates (the direction in which light enters).
[0048] In some embodiments, the camera assembly 121 may include a camera, an image sensor, etc.
[0049] In some embodiments, the variable aperture 122 is an open-loop two-speed controlled aperture, which may include an aperture motor, aperture blades, and an aperture power supply chip, etc. Among them, the aperture power supply chip is connected to the aperture motor, and the aperture motor is connected to the aperture blades. The aperture power supply chip is used to control the aperture motor to drive the aperture blades to move, so that light inlets of different sizes can be formed, thereby controlling the amount of light entering the camera assembly 121, so that the camera assembly 121 can obtain images of different brightness (different depths of field).
[0050] At the same time, the aperture power supply chip stores a control program, and can execute the control program to implement the variable aperture control method provided in the embodiment of the present application. That is, after the electronic device 100 receives the gear adjustment operation of the user on the display screen 130, the aperture power supply chip passes current to the aperture motor to control it to drive the aperture blades to the target position corresponding to the aperture gear corresponding to the gear adjustment operation. Then, the aperture power supply chip intermittently supplies power to the aperture motor of the variable aperture according to the exposure state of the image sensor. Specifically, the exposure state includes an exposure stage and a non-exposure stage. The aperture power supply chip supplies power to the aperture motor of the variable aperture in the exposure stage, and stops supplying power to the aperture motor of the variable aperture in the non-exposure stage, thereby reducing current consumption to reduce the power consumption of the electronic device 100.
[0051] like Figure 3 As shown, an embodiment of the present application provides a schematic diagram of the top view structure of a camera module 120.
[0052] in, Figure 3 As shown in FIG. A, the aperture blades 1221 of the variable aperture 122 of the camera module 120 form a light inlet 1222 . Figure 3The aperture blades 1221 of the variable aperture 122 shown in FIG. 122 forms a light inlet 1223. The size of the light inlet 1223 is larger than that of the light inlet 1222, so Figure 3 The amount of light entering the camera module 120 shown in FIG. Figure 3 The amount of light entering the camera module 120 is shown in Figure A.
[0053] For the open-loop two-speed variable aperture control, Figure 3 The A figure in the middle can be understood as corresponding to the maximum gear / large aperture gear. Figure 3 The B figure in the middle can be understood as corresponding to the minimum gear / small aperture gear. For a variable aperture that can control multiple (more than two) aperture gears, in addition to Figure 3 In addition to the two aperture positions shown in FIG. A and FIG. B, other aperture positions C may also be included. For example, the aperture position C may form a light inlet that is larger than the light inlet 1223 and smaller than the light inlet 1222 .
[0054] In some embodiments, the camera module 120 may also be composed of two or more cameras. The two or more cameras may include a color camera, which can be used to collect color image data of the photographed object. The two or more cameras may use stereo vision technology to collect depth data of the photographed object. Stereo vision technology is based on the principle of human eye parallax. Under natural light, two or more cameras are used to capture images of the same object from different angles, and then triangulation and other operations are performed to obtain the distance information between the electronic device 100 and the photographed object, that is, depth information.
[0055] In some embodiments, the electronic device 100 may include one or more camera modules 120. Specifically, the electronic device 100 may include one front camera module 120 and one rear camera module 120. The front camera module 120 may be used to collect color image data and depth data of the photographer facing the display screen 130, and the rear camera module 120 may be used to collect color image data and depth data of the subject (such as a person, scenery, etc.) facing the photographer.
[0056] The display screen 130 is used to display images, videos, etc., for example, to display images captured by the camera module 120. The display screen 130 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-OLED, a quantum dot light emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or more display screens 130.
[0057] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, such as a processor, memory, battery, audio module, buttons, etc.
[0058] In addition, the gear adjustment operation described in the embodiment of the present application is used to trigger the adjustment of the aperture gear of the variable aperture, and the user can implement the gear adjustment operation in the camera interface of the electronic device. For example, in response to the user opening the camera interface of the electronic device, the electronic device (such as a mobile phone) can display Figure 4 Then, the mobile phone responds to the user's Figure 4 Clicking the "aperture" button / control in the photo taking interface shown in the figure displays the adjustable aperture positions, such as Figure 5 Then, the mobile phone responds to the user's Figure 5 In the photo taking interface shown, click the button / control corresponding to the aperture level to be adjusted. Figure 5 The aperture gears shown include large aperture and small aperture, so the mobile phone can adjust the variable aperture to "large aperture" or "small aperture" in response to the user clicking on "large aperture" or "small aperture".
[0059] The following, combined Figure 6 The flow chart of the variable aperture control method shown in FIG. 1 is used to illustrate the variable aperture control method provided by the embodiment of the present application. Figure 6 The variable aperture control method of the embodiment of the present application includes steps S601 to S603.
[0060] S601, receiving a gear adjustment operation of the variable aperture.
[0061] S602, outputting a gear current corresponding to the aperture gear of the gear adjustment operation, and driving the variable aperture to move to a target position corresponding to the aperture gear by the gear current.
[0062] S603, after the variable aperture moves to the target position, the variable aperture is intermittently powered according to the exposure state of the image sensor, wherein the exposure state includes an exposure stage and a non-exposure stage, the variable aperture is powered in the exposure stage, and the power supply of the variable aperture is stopped in the non-exposure stage.
[0063] Specifically, after receiving the user's gear adjustment operation on the variable aperture, the electronic device can output a gear current corresponding to the aperture gear of the gear adjustment operation, and control the variable aperture to move to the target position corresponding to the aperture gear by the gear current. That is, the gear current corresponding to the aperture gear of the gear adjustment operation is connected to the aperture motor of the variable aperture, and the gear current is used to control the aperture motor to drive the aperture blades of the variable aperture to move to the position corresponding to the aperture gear.
[0064] Then, the electronic device can intermittently power the variable aperture according to the exposure state of the image sensor. The exposure state of the image sensor includes an exposure stage and a non-exposure stage. The exposure stage can be understood as the image acquisition stage of the image sensor. The non-exposure stage is a stage other than the image acquisition stage, and can include the calculation output stage of the image sensor, such as the readout stage of the image sensor. Based on this, the electronic device powers the variable aperture in the exposure stage and turns off the power to the variable aperture in the non-exposure stage.
[0065] It can be seen that in the embodiment of the present application, the electronic device provides current to the aperture motor of the variable aperture during the exposure phase of the image sensor, and the aperture motor drives the blades to stabilize, so that the variable aperture is stabilized at the position corresponding to the aperture gear of the gear adjustment operation, ensuring normal imaging. In the non-exposure phase of the image sensor, the current is stopped from being supplied to the aperture motor of the variable aperture, thereby achieving intermittent power supply. Therefore, it is possible to reduce the power consumption of the electronic device by reducing the current consumption while ensuring that the imaging will not be affected.
[0066] In simple terms, imaging is generally performed by first collecting and then calculating the output, so the image output time of the electronic device is generally equal to the sum of the exposure time and the readout time. In addition, during the imaging process, the image sensor collects images frame by frame rather than continuously. Therefore, the exposure state of the image sensor can be determined by parameters such as the frame rate, exposure time, and readout time of the image sensor. Then, during the acquisition phase of the image sensor, that is, the exposure phase, the variable aperture is passed with current. When the image sensor enters the calculation readout phase, that is, the non-exposure phase, the current of the variable aperture is cut off.
[0067] For example, assuming that the frame rate of the image sensor (the frame rate refers to the frequency at which images in frames appear continuously on the display) is 30 frames per second, the duration of each frame is 20 milliseconds. If the exposure duration and readout duration each take 10 milliseconds, then within the 20 milliseconds corresponding to this frame, the variable aperture can be powered on within the 10 milliseconds corresponding to the exposure to ensure normal image acquisition. The variable aperture can be powered off within the 10 milliseconds corresponding to the readout to save this part of the current. Based on this, compared to providing a stable current at all times, the current of the image sensor when it is not collecting can be saved, thereby reducing the consumption of part of the current and reducing power consumption.
[0068] In some embodiments, although the frame rate is usually fixed on the image sensor, different imaging modes may have different corresponding frame rates based on different imaging requirements. For example, imaging modes may include taking pictures, recording videos, and taking pictures / recording videos for preview. Since the imaging requirements for preview are usually lower than those for taking pictures and recording videos, the frame rate used for preview may usually be lower than the frame rate for taking pictures and recording videos. In addition, parameters such as exposure time and readout time are not necessarily fixed. In particular, the exposure time can usually be adjusted according to user needs. For example, the exposure time can be adjusted according to the shutter speed. Therefore, if the intermittent power supply of the variable aperture is achieved by directly determining the exposure state of the image sensor through parameters such as frame rate, exposure time, and readout time, there may be a risk of affecting the accuracy of the intermittent power supply.
[0069] However, since the image sensor performs image acquisition in real time based on parameters such as frame rate, exposure time, and readout time, the image sensor usually forms a certain frame signal based on parameters such as frame rate, exposure time, and readout time. The frame signal can be understood as the image acquisition signal of the image sensor. Therefore, the frame signal of the image sensor can reflect the exposure state of the image sensor in real time and accurately. Therefore, the embodiment of the present application can realize intermittent power supply of the variable aperture by reading the frame signal of the image sensor to improve the accuracy of the intermittent power supply.
[0070] Specifically, intermittently supplying power to the variable aperture according to the exposure state of the image sensor in S603 may include: periodically reading a frame signal of the image sensor; sending a control signal to the variable aperture based on the frame signal, and intermittently supplying power to the variable aperture through the control signal.
[0071] That is, during the control process of intermittent power supply, the electronic device periodically reads the frame signal of the image sensor. In order to ensure that the gear state of the variable aperture does not affect image acquisition, the period of reading the frame signal can be shortened as much as possible, for example, the frame signal of the image sensor can be read in real time. Then, a control signal synchronized with the frame signal is sent to the variable aperture. The control signal is synchronized with the frame signal, and it can be understood that the signal representing the power-on in the control signal corresponds to the signal representing the exposure stage of the image sensor in the frame signal. And the signal representing the power-off in the control signal corresponds to the signal representing the non-exposure stage of the image sensor in the frame signal.
[0072] For example, assuming that "1" in the digital signal represents exposure and power-on, and "0" represents non-exposure and power-off, then when the frame signal is "1110011", the electronic device can synchronously output a control signal of "1110011" to the aperture motor of the variable aperture, thereby being able to implement intermittent power-on of the variable aperture "power-off-power-on" based on the "exposure stage-non-exposure stage-exposure stage" state of the image sensor.
[0073] It can be seen that in the embodiment of the present application, intermittent power supply to the variable aperture is achieved based on the frame signal of the image sensor, and its exposure state is directly determined by the signal state of the image sensor. Therefore, no matter what imaging mode is used, the variable aperture can be powered in real time and accurately during the exposure stage of the image sensor, and the variable aperture can be powered off during the non-exposure stage of the image sensor, thereby improving the accuracy of the intermittent power supply.
[0074] In some embodiments, since different aperture gears require different currents, when the variable aperture is controlled to move to the target position of the target gear according to the output current of the gear adjustment operation, the corresponding gear current needs to be output. In addition, the method of determining the gear current required for each gear of the variable aperture is adapted to its control method. For example, for the variable aperture of traditional closed-loop control, the current is adaptively adjusted mainly according to the position feedback from the position sensor. When the position of the blade has not reached the target position corresponding to the gear, the current continues to increase. When the position of the blade exceeds the target position corresponding to the gear, the current is appropriately reduced by a certain amount. For the open-loop two-gear variable aperture, since the aperture gear is a mechanical limit, it is sufficient to continuously pass a positive current or a negative current through the variable aperture so that the blade is stuck to the limit position.
[0075] Therefore, outputting a gear current corresponding to the aperture gear position of the gear adjustment operation, and driving the variable aperture to move to the target position corresponding to the aperture gear position by the gear current, includes: when the aperture gear position corresponding to the gear adjustment operation is the first gear position, outputting a first gear current corresponding to the first gear position, and controlling the variable aperture to move to the position corresponding to the first gear position by the first gear current; when the aperture gear position corresponding to the gear adjustment operation is the second gear position, outputting a second gear current corresponding to the second gear position, and controlling the variable aperture to move to the position corresponding to the second gear position by the second gear current. The first gear position and the second gear position are different, and the current directions of the first gear current and the second gear current are different.
[0076] Specifically, when the user's gear adjustment control points to the first gear, the first gear current corresponding to the first gear is output, and the variable aperture is controlled to move to the target position corresponding to the first gear by the first gear current. Similarly, when the gear adjustment control points to the second gear, the second gear current corresponding to the second gear is output, and the variable aperture is controlled to move to the target position corresponding to the second gear by the second gear current. Taking the variable aperture with open-loop two-gear control as an example, the first gear can be regarded as its maximum gear / large aperture gear, then the first gear current is the large aperture current, that is, the positive current is input to drive the blades to open and close to the position corresponding to the large aperture (mechanical maximum position). The second gear can be regarded as its minimum gear / small aperture gear, then the second gear current is the small aperture current, that is, the negative current opposite to the positive current is input, so that the aperture blades are closed to the position corresponding to the small aperture (mechanical minimum position).
[0077] like Figure 7-Figure 8 As shown, the present application embodiment provides a principle flow chart of an open-loop two-speed variable aperture control method. Figure 7-Figure 8 The open-loop two-step variable aperture control method is described.
[0078] refer to Figure 7 When the electronic device receives the user's input of the large aperture operation on the camera interface and adjusts the variable aperture to the large aperture, the aperture power supply chip outputs the large aperture current, and controls the aperture motor to drive the aperture blades to open to the large aperture through the large aperture current. The state of the large aperture can be referred to Figure 3 Then, the aperture power supply chip reads the frame signal of the image sensor and intermittently supplies power to the aperture motor according to the frame signal, so that the blades maintain the position of the large aperture during the exposure phase of the image sensor.
[0079] refer to Figure 8 When the electronic device receives the small aperture operation input by the user in the camera interface and adjusts the variable aperture to a small aperture, the aperture power supply chip outputs a small aperture current, and controls the aperture motor to drive the aperture blades to open to a small aperture through the small aperture current. The state of the small aperture can be referred to Figure 3Then, the aperture power supply chip reads the frame signal of the image sensor and intermittently supplies power to the aperture motor according to the frame signal, so that the blades maintain the position of the small aperture during the exposure phase of the image sensor.
[0080] In addition, if Fig. 9 As shown, taking the electronic device as a mobile phone and the user adjusting the large aperture on the mobile phone as an example, a block diagram of the principle relationship between imaging and variable aperture control is provided.
[0081] refer to Fig. 9 After the mobile phone receives the large aperture operation input by the user in the photo interface and adjusts the variable aperture to a large aperture, the aperture power supply chip of the camera module in the mobile phone starts to read the frame signal of the image sensor in real time. Then, when the user clicks on the mobile phone to start taking pictures or recording videos, the image sensor of the camera module in the mobile phone responds to the user's photo or video operation at this time, and outputs a frame signal for exposure according to parameters such as the frame rate and exposure time of the photo or video, so the aperture power supply chip can read the frame signal. Then, the aperture power supply chip can send a control signal to the aperture motor in response to the frame signal to intermittently supply power, realize the synchronization of the exposure stage and the power supply, save the current input to the variable aperture in the non-exposure stage, and reduce the power consumption of the mobile phone.
[0082] In summary, since the variable aperture of the open-loop two-speed control is limited by mechanical limits, both the large aperture position and the small aperture position are the mechanical limit positions of the aperture blades. Therefore, as long as the current is passed at the mechanical limit position to ensure that the aperture is always at the mechanical limit position, the size of the aperture will remain very stable. Even if the aperture size fluctuates due to gravity or shaking during the interval period when no power is supplied, it will not affect the imaging because the image sensor is in the non-exposure stage at the same time.
[0083] Another embodiment of the present application further provides an aperture power supply chip, which stores a control program. When the aperture power supply chip executes the control program, the aperture power supply chip implements the variable aperture control method recorded in any of the above embodiments.
[0084] Another embodiment of the present application also provides a variable aperture, which is an open-loop two-speed controlled aperture, including an aperture power supply chip, aperture blades and an aperture motor. The aperture power supply chip is connected to the aperture motor, and the aperture motor is connected to the aperture blades. The aperture power supply chip is used to energize the aperture motor to control the aperture motor to drive the aperture blades to move to form a light inlet. The aperture power supply chip stores a control program, and when the aperture power supply chip executes the control program, the variable aperture implements the variable aperture control method recorded in any of the above embodiments.
[0085] Another embodiment of the present application also provides a camera module, which includes a variable aperture and a camera assembly.
[0086] Among them, the camera assembly includes a camera, an image sensor, etc. The variable aperture is an open-loop two-speed control, including an aperture power supply chip, an aperture blade, and an aperture motor. The aperture power supply chip is connected to the aperture motor, and the aperture motor is connected to the aperture blade. The aperture power supply chip is used to power the aperture motor to control the aperture motor to drive the aperture blade to move to form a light inlet. The aperture power supply chip stores a control program, and when the aperture power supply chip executes the control program, the camera module implements the variable aperture control method recorded in any of the above embodiments.
[0087] like Fig.10 As shown, taking the aperture power supply chip, aperture blades, aperture motor and image sensor in the camera module as an example, the embodiment of the present application provides a timing diagram of a variable aperture control method. Fig.10 The variable aperture control method according to the embodiment of the present application is described.
[0088] Specifically, the aperture power supply chip receives the user's gear adjustment operation on the variable aperture, outputs the gear current of the aperture gear corresponding to the gear adjustment operation to the aperture motor, and controls the aperture motor to drive the aperture blades to move to the position of the aperture gear corresponding to the gear adjustment operation. Among them, the gear adjustment operation includes a large aperture and a small aperture, and the gear current includes a positive current corresponding to the large aperture and a negative current corresponding to the small aperture. Then, the aperture power supply chip reads the frame signal of the image sensor, and sends a control signal to the aperture motor according to the frame signal, so that the aperture motor can be powered on during the exposure stage to drive the aperture blades to stabilize at the position of the aperture gear corresponding to the gear adjustment operation. In the non-exposure stage, the aperture motor is powered off to save this part of the current and increase power consumption.
[0089] In some embodiments, Fig.11 As shown, the embodiment of the present application also provides a structural schematic diagram of another electronic device 200.
[0090] refer to Fig.11The electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) connector 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera module 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. Among them, the sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.
[0091] The camera module 293 may include a camera assembly and a variable aperture. The camera assembly includes a camera, an image sensor, etc. In some embodiments, the electronic device 200 may include one or more camera modules 293. The camera module 293 may also be composed of two or more cameras. In some embodiments, the variable aperture includes an aperture motor and aperture blades, and the aperture motor is connected to the aperture blades.
[0092] The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0093] The processor 210 can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions, thereby realizing the variable aperture control method provided in the embodiment of the present application.
[0094] Exemplarily, after the electronic device 200 receives the user's gear adjustment operation on the variable aperture in the camera module 293 on the display screen 294, the processor 210 can control the aperture motor to drive the aperture blades to move to the target position corresponding to the aperture gear corresponding to the gear adjustment operation. Thereby, the variable aperture in the camera module 293 can form light inlets of different sizes, so that the camera assembly can obtain images with different brightness (different depths of field). Afterwards, the processor 210 can further intermittently power the aperture motor of the variable aperture according to the exposure state of the image sensor. The exposure state includes an exposure stage and a non-exposure stage. That is, the processor 210 powers the aperture motor of the variable aperture in the exposure stage, and stops powering the aperture motor of the variable aperture in the non-exposure stage, thereby reducing current consumption to reduce power consumption.
[0095] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 may be a cache memory. The memory may store instructions or data that have been used or are frequently used by the processor 210. If the processor 210 needs to use the instruction or data, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0096] In some embodiments, the processor 210 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc. The processor 210 may be connected to the touch sensor 280K, the audio module 270, the wireless communication module 260, the display screen 294, the camera module 293 and other modules through at least one of the above interfaces.
[0097] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0098] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music and videos are stored in the external memory card. Or files such as music and videos are transferred from the electronic device to the external memory card.
[0099] The internal memory 221 can be used to store computer executable program codes, which include instructions. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 200 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 210 executes various functional methods or data processing of the electronic device 200 by running instructions stored in the internal memory 221, and / or instructions stored in a memory provided in the processor.
[0100] The USB connector 230 is an interface that complies with USB standard specifications and can be used to connect the electronic device 200 and peripheral devices. Specifically, it can be a Mini USB connector, a Micro USB connector, a USB Type C connector, etc. The USB connector 230 can be used to connect a charger to enable the charger to charge the electronic device 100, and can also be used to connect other electronic devices to enable data transmission between the electronic device 200 and other electronic devices. It can also be used to connect headphones to output audio stored in the electronic device through the headphones. The connector can also be used to connect other electronic devices, such as VR devices. In some embodiments, the standard specifications of the universal serial bus can be USB1.x, USB2.0, USB3.x and USB4.
[0101] The charging management module 240 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger via a USB connector 230. In some wireless charging embodiments, the charging management module 240 may receive wireless charging input via a wireless charging coil of the electronic device 200. While the charging management module 240 is charging the battery 242, it may also power the electronic device via the power management module 241.
[0102] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 294, the camera module 293 and the wireless communication module 260. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 241 can also be set in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 can also be set in the same device.
[0103] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.
[0104] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0105] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the same device as at least some of the modules of the processor 210.
[0106] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through a display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 250 or other functional modules.
[0107] The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), bluetooth low energy (BLE), ultra wide band (UWB), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 200. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0108] In some embodiments, the antenna 1 of the electronic device 200 is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the electronic device 200 can communicate with the network and other electronic devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0109] The electronic device 200 can realize the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.
[0110] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 200 may include one or more display screens 294.
[0111] The electronic device 200 can realize the camera function through the camera module 293, ISP, video codec, GPU, display screen 294, application processor AP, neural network processor NPU, etc.
[0112] The camera module 293 can be used to collect color image data and depth data of the photographed object. The ISP can be used to process the color image data collected by the camera module 293. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera module 293.
[0113] In some embodiments, the camera module 293 may be composed of a color camera module and a 3D sensing module.
[0114] In some embodiments, the photosensitive element of the camera of the color camera module can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
[0115] In some embodiments, the 3D sensing module may be a time of flight (TOF) 3D sensing module or a structured light 3D sensing module. Among them, structured light 3D sensing is an active depth sensing technology, and the basic components of the structured light 3D sensing module may include an infrared emitter, an IR camera module, etc. The working principle of the structured light 3D sensing module is to first emit a light spot of a specific pattern to the object being photographed, and then receive the light spot pattern coding (light coding) on the surface of the object, and then compare the similarities and differences with the original projected light spot, and use the triangulation principle to calculate the three-dimensional coordinates of the object. The three-dimensional coordinates include the distance between the electronic device 100 and the object being photographed. Among them, TOF 3D sensing may be an active depth sensing technology, and the basic components of the TOF 3D sensing module may include an infrared emitter, an IR camera module, etc. The working principle of the TOF 3D sensing module is to calculate the distance (i.e., depth) between the TOF 3D sensing module and the object being photographed by the time when the infrared rays return to obtain a 3D depth map.
[0116] The structured light 3D sensing module can also be applied to face recognition, somatosensory game consoles, industrial machine vision inspection and other fields. The TOF 3D sensing module can also be applied to game consoles, augmented reality (AR) / virtual reality (VR) and other fields.
[0117] In some embodiments, the CPU or GPU or NPU in the processor 210 can process the color image data and depth data collected by the camera module 293. In some embodiments, the NPU can identify the color image data collected by the camera module 293 (specifically the color camera module) through a neural network algorithm based on the skeleton point recognition technology, such as a convolutional neural network algorithm (CNN), to determine the skeleton points of the photographed person. The CPU or GPU can also run a neural network algorithm to determine the skeleton points of the photographed person according to the color image data. In some embodiments, the CPU or GPU or NPU can also be used to confirm the figure of the photographed person (such as body proportions, fatness and thinness of body parts between skeleton points) according to the depth data collected by the camera module 293 (which can be a 3D sensing module) and the identified skeleton points, and can further determine the body beautification parameters for the photographed person, and finally process the photographed image of the photographed person according to the body beautification parameters, so that the body shape of the photographed person in the photographed image is beautified. The subsequent embodiments will describe in detail how to perform body beautification processing on the image of the photographed person based on the color image data and depth data collected by the camera module 293, which will not be described in detail here.
[0118] The digital signal processor is used to process digital signals and can also process other digital signals. For example, when the electronic device 200 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0119] Video codecs are used to compress or decompress digital videos. The electronic device 200 may support one or more video codecs. Thus, the electronic device 200 may play or record videos in a variety of coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0120] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 200 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0121] The electronic device 200 can implement audio functions such as music playing and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.
[0122] The key 290 may include a power key, a volume key, etc. The key 290 may be a mechanical key or a touch key. The electronic device 200 may receive key input and generate key signal input related to user settings and function control of the electronic device 200.
[0123] Motor 291 can generate vibration prompts. Motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 294, motor 291 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0124] Indicator 292 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0125] The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 200 by inserting it into the SIM card interface 295 or pulling it out from the SIM card interface 295. The electronic device 200 can support one or more SIM card interfaces. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of multiple cards can be the same or different. The SIM card interface 295 can also be compatible with different types of SIM cards. The SIM card interface 295 can also be compatible with external memory cards. The electronic device 200 interacts with the network through the SIM card to realize functions such as calls and data communications. In some embodiments, the electronic device 200 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 200 and cannot be separated from the electronic device 200.
[0126] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0127] Another embodiment of the present application provides an electronic device, which includes one or more processors and a memory, wherein the memory is coupled to the processor. The memory stores one or more computer programs, and when the processor executes the computer program, the electronic device can execute the variable aperture control method described in any of the above embodiments. The structure of the electronic device can refer to Fig.11 The structure of the electronic device 200 is shown.
[0128] Another embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor in an electronic device, the electronic device implements the variable aperture control method described in any of the above embodiments.
[0129] The embodiment of the present application further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute each function or step in the variable aperture control method recorded in any of the above embodiments.
[0130] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0131] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0132] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0133] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0134] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0135] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A variable aperture control method, characterized in that: include: Control the variable aperture to move to the target position; After the variable aperture moves to the target position, the variable aperture is intermittently powered according to the exposure state of the image sensor; wherein the exposure state includes an exposure stage and a non-exposure stage, the variable aperture is powered during the exposure stage, and the power supply to the variable aperture is stopped during the non-exposure stage; The intermittently supplying power to the variable aperture according to the exposure state of the image sensor comprises: Periodically reading a frame signal of the image sensor; wherein the frame signal is used to reflect the exposure state of the image sensor and is formed by the image sensor based on a frame rate, an exposure duration, and a readout duration; A control signal is sent to the variable aperture based on the frame signal, and the variable aperture is intermittently powered by the control signal.
2. The method according to claim 1, characterized in that The step of controlling the variable aperture to move to a target position comprises: receiving a gear adjustment operation of the variable aperture; A gear current corresponding to an aperture gear of the gear adjustment operation is output, and the variable aperture is driven to move to a target position corresponding to the aperture gear by the gear current.
3. The method according to claim 2, characterized in that The outputting a gear current corresponding to the aperture gear of the gear adjustment operation, and driving the variable aperture to move to a target position corresponding to the aperture gear by the gear current, comprises: When the aperture gear corresponding to the gear adjustment operation is the first gear, outputting a first gear current corresponding to the first gear, and controlling the variable aperture to move to a target position corresponding to the first gear by the first gear current; When the aperture gear corresponding to the gear adjustment operation is the second gear, outputting a second gear current corresponding to the second gear, and controlling the variable aperture to move to a target position corresponding to the second gear by the second gear current; The first gear position and the second gear position are different, and the current directions of the first gear current and the second gear current are different.
4. An aperture power supply chip, characterized in that: The aperture power supply chip stores a control program, and the aperture power supply chip executes the control program to implement the variable aperture control method according to any one of claims 1 to 3.
5. A variable aperture, characterized in that: The variable aperture is open-loop two-speed control, including: the aperture power supply chip, aperture motor and aperture blades as described in claim 4; the aperture power supply chip is connected to the aperture motor, and the aperture motor is connected to the aperture blades.
6. A camera module, characterized in that: The camera module includes: a variable aperture and a camera assembly as described in claim 5; wherein the variable aperture is arranged on the front side of the camera assembly to control the amount of light entering the camera assembly.
7. An electronic device, characterized in that: include: A shell and a camera module as described in claim 6, wherein the camera module is connected to the shell.
8. An electronic device, characterized in that: include: One or more processors and a memory, wherein the memory is coupled to the processor; one or more computer program codes are stored in the memory, and the computer program codes include computer instructions; when the processor executes the computer instructions, the electronic device executes the variable aperture control method as described in any one of claims 1 to 3.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor of an electronic device, the electronic device executes the variable aperture control method according to any one of claims 1 to 3.
