Photographing method, chip, and electronic device

By dividing the drive signal into multiple small step signals and using a closed-loop feedback system to control the motor movement, the problem of video instability caused by lens shake was solved, and the lens was quickly stabilized and the clarity was improved at the target position.

WO2025260594A1PCT designated stage Publication Date: 2025-12-26SHANGHAI AWINIC TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/130142
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-20
Filing Date
2024-11-06
Publication Date
2025-12-26

AI Technical Summary

Technical Problem

When shooting videos on mobile phones and other electronic devices, lens shake causes unstable video images. Existing optical image stabilization technology is ineffective in scenes with large lens displacement and cannot guarantee clarity.

Method used

The drive signal is divided into multiple consecutive small step signals, and the motor is controlled to move from the first target position to the second target position through a closed-loop feedback system, so as to avoid lens overshoot and improve the accuracy and stability of lens movement.

Benefits of technology

By breaking down large step signals into multiple smaller step signals, lens overshoot is avoided, ensuring the lens quickly stabilizes at the target position and improving the clarity and stability of the video image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024130142_26122025_PF_FP_ABST
    Figure CN2024130142_26122025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of photography. Disclosed are a photographing method, a chip, and an electronic device. The photographing method of the present application comprises: acquiring a drive signal, and on the basis of the drive signal, determining a first target position and a second target position of a motor of an electronic device; and dividing the drive signal into a plurality of consecutive sub-drive signals, and on the basis of the plurality of consecutive sub-drive signals, controlling the motor to move from the first target position to the second target position. In the present application, a drive signal is divided into a plurality of consecutive sub-drive signals, thereby avoiding overshoot when making a response to the plurality of consecutive sub-drive signals, and enabling a lens to be quickly stabilized at a target position.
Need to check novelty before this filing date? Find Prior Art

Description

Photographing method, chip and electronic device

[0001] The present application claims priority to the Chinese patent application No. 202410807014.8, filed on June 20, 2024, and entitled "Photographing method, chip and electronic device", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] The present application relates to the technical field of photographing, in particular to a photographing method, a chip and an electronic device. BACKGROUND

[0003] With the popularization of mobile phone photographing function, users have higher and higher requirements for mobile phone lens photographing. In the scene of walking, running and the like, when a user holds a mobile phone to shoot a video, there is often a problem that the video image shot is unstable and has poor definition due to mobile phone shaking.

[0004] Currently, optical image stabilization (OIS) can be used to perform anti-shaking processing on the mobile phone. The OIS refers to moving a lens to a target position by using a motor, so as to offset the lens displacement caused by mobile phone shaking. However, for a scene with large lens displacement, the actual position to which the lens moves may exceed the target position, the anti-shaking effect is poor, and the definition of the video image cannot be guaranteed.

[0005] SUMMARY

[0006] In order to avoid the case that the actual position to which the lens moves exceeds the target position, the present application provides a photographing method, a chip and an electronic device.

[0007] In a first aspect, the present application provides a photographing method applied to an electronic device, the photographing method comprising: obtaining a driving signal, and determining a first target position and a second target position of a motor of the electronic device based on the driving signal; dividing the driving signal into a plurality of continuous sub-driving signals, and controlling the motor to move from the first target position to the second target position based on the plurality of continuous sub-driving signals.

[0008] It can be understood that the driving signal can be a large step signal in the present application, and the plurality of sub-driving signals can be a plurality of small step signals in the present application.

[0009] The present application divides the driving signal into a plurality of continuous sub-driving signals, so as to avoid overshoot when the closed-loop controller of the electronic device responds to the sub-driving signal, and make the lens quickly stabilize at the second target position.

[0010] In a possible implementation, the driving signal is divided into a plurality of continuous sub-driving signals, including: dividing the driving signal into a plurality of continuous sub-driving signals corresponding to the amplitude of the driving signal being greater than a target threshold.

[0011] In a possible implementation, the electronic device includes a closed-loop feedback system, and the motor is controlled to move from the first target position to the second target position based on the plurality of continuous sub-driving signals, including: the closed-loop feedback system acquires the plurality of continuous sub-driving signals, and controls the motor to move from the first target position to the second target position based on the plurality of sub-driving signals.

[0012] In a possible implementation, in the process of controlling the motor to move from the first target position to the second target position based on the plurality of continuous sub-driving signals, when the control of any sub-driving signal in the plurality of continuous sub-driving signals is completed, the position signal of the motor is updated, and the motor is controlled to generate movement based on the updated position signal of the motor and the next sub-driving signal.

[0013] In the embodiments of the present application, the motor is controlled to generate movement based on the updated position signal of the motor and the next sub-driving signal, which can improve the accuracy of the movement of the motor.

[0014] In a possible implementation, the motor is controlled to generate movement based on the updated position signal of the motor and the next sub-driving signal, including: updating the updated position signal of the motor to the position signal before the step of the next sub-driving signal; and controlling the motor to generate movement based on the updated next sub-driving signal.

[0015] In a possible implementation, the amplitudes of the sub-driving signals in the plurality of continuous sub-driving signals are less than or equal to the target threshold.

[0016] In a possible implementation, the driving time corresponding to the plurality of sub-driving signals is less than or equal to the driving time corresponding to the driving signal.

[0017] In a possible implementation, the driving signal is divided into a plurality of continuous sub-driving signals, including: dividing the driving signal into a plurality of continuous sub-driving signals according to a division condition, wherein the division condition includes at least one of the number of sub-driving signals and the holding time of the sub-driving signals.

[0018] In a possible implementation, the driving signal is acquired, including: acquiring the driving signal in a case where the electronic device is in a shaking scene; and wherein the shaking scene includes any one of a running scene, a walking scene, and a performance scene.

[0019] In a second aspect, an embodiment of the present application provides a chip, the chip comprising a processor and a data interface, the processor reading instructions stored on a memory through the data interface to execute any one of the photographing methods provided in the first aspect and various possible implementations of the first aspect.

[0020] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory for storing instructions executed by one or more processors of the electronic device, and a processor, which is one of the one or more processors of the electronic device, for implementing any one of the photographing methods provided in the first aspect and various possible implementations of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0021] FIG. 1 shows a schematic diagram of a change of a jitter distance over time according to an embodiment of the present application;

[0022] FIG. 2 shows a schematic diagram of an actual response signal and an excitation signal according to an embodiment of the present application;

[0023] FIG. 3 shows a schematic diagram of a shaped excitation signal according to an embodiment of the present application;

[0024] FIG. 4 shows a schematic diagram of a connection relationship between a phased waveform shaping and a closed-loop feedback system according to an embodiment of the present application;

[0025] FIG. 5 shows a schematic diagram of dividing a large step signal into small step signals according to an embodiment of the present application;

[0026] FIG. 6 shows a schematic diagram of a small step signal according to an embodiment of the present application;

[0027] FIG. 7 shows a flowchart of a photographing method according to an embodiment of the present application;

[0028] FIG. 8 shows a structural schematic diagram of an electronic device 1300 according to an embodiment of the present application. DETAILED DESCRIPTION

[0029] Illustrative embodiments of the present application include, but are not limited to, a photographing method, a chip and an electronic device.

[0030] It can be understood that the technical solutions of the present application are applicable to electronic devices with lenses, for example, including but not limited to mobile phones, smart watches, televisions, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc., and the specific type of electronic device is not limited by the embodiments of the present application.

[0031] It can be understood that in the process of a user using an electronic device such as a mobile phone to shoot a video while running, the user's arm will vibrate with the running, causing the lens of the mobile phone to vibrate with the vibration of the user's arm, and in some cases, the shooting object in the video frame can be out of frame.

[0032] In some embodiments, the amount of vibration of the lens of the mobile phone, such as the vibration distance and the vibration angle, can be obtained by a position sensor, a gyroscope or an accelerometer, and then the motor is driven based on the vibration amount to push the lens to move in the opposite direction, thereby compensating for the vibration amount of the lens.

[0033] FIG. 1 shows a schematic diagram of the compensated vibration distance varying with time obtained by compensating for the vibration distance caused by camera vibration by a closed-loop driving control chip, wherein the horizontal axis is time and the vertical axis is vibration distance. As shown in FIG. 1, the vibration distance caused by camera vibration is continuously compensated by the closed-loop driving control chip, so that the vibration distance caused by camera vibration constantly tends to 0. As can be seen from the schematic diagram shown in FIG. 1, the motion trajectory of the lens driven by the closed-loop driving control chip is not only related to the vibration amount of the camera, but in some scenarios, after compensating for the vibration amount, the lens needs to be driven to a specific position and maintained for a certain period of time, and then the lens is driven to move according to the camera vibration amount.

[0034] It can be understood that by driving the lens to a specific position and maintaining it for a certain period of time, the lens can be more stable when moving and turning, reducing misalignment and abruptness, and making the lens movement more natural and smooth.

[0035] It can be understood that, in the application process of OIS optical image stabilization, for a large-span step signal, for example, the amplitude s2 between the tth frame and the t+1th frame in the driving signal is greater than the target threshold, for example, as shown in FIG. 2, for a case where the amplitude s2 between the tth frame and the t+1th frame needs to be compensated, the closed-loop driving control chip will have an overshoot in the response process. As shown in the actual response signal in FIG. 2, the peak value of the actual response signal will exceed the excitation signal with the mapped amplitude s2, resulting in that, in the process of compensating the jitter amount, the actual distance of the lens movement (the distance corresponding to the actual response signal) will exceed the theoretical moving distance corresponding to the excitation signal, that is, the actual position of the lens will exceed the target position, and the time for the lens to stabilize to the target position under the closed-loop control is long, so that the captured image is still not clear.

[0036] To avoid the case where the actual position of the lens movement exceeds the target position, an embodiment of the present application provides a photographing method, which comprises: obtaining a driving signal, and determining a first target position and a second target position of a motor of an electronic device based on the driving signal; dividing the driving signal into a plurality of continuous sub-driving signals, and controlling the motor to move from the first target position to the second target position based on the plurality of continuous sub-driving signals. The amplitude of the sub-driving signal obtained by the division is less than or equal to a target threshold.

[0037] For example, as shown in FIG. 3, the excitation signal (corresponding to the driving signal) mapping the tth frame first target position and the t+1th frame second target position can be divided into a plurality of small step signals (corresponding to a plurality of sub-driving signals) in a continuous multi-stage ladder shape as shown in the reshaped excitation signal.

[0038] It can be understood that, in the application process of OIS optical image stabilization, for a small-span step signal, for example, the amplitude s2 between the tth frame and the t+1th frame in the driving signal is less than or equal to the target threshold, the closed-loop controller will not have an overshoot in the response process, therefore, the actual response signal driving the lens movement is consistent with the trajectory of the excitation signal with the mapped amplitude s2, and the actual position of the lens will not exceed the target position.

[0039] In an embodiment of the present application, the driving signal can be divided according to a division condition; wherein the division condition comprises the number of sub-driving signals and / or the holding time of each sub-driving signal.

[0040] For example, the amplitude of the driving signal is s2, the holding time of the motor of the electronic device at the second target position is t1 based on the driving signal, and the number of sub-driving signals is n1, then the amplitude of each sub-driving signal is (s2 / n1), and the holding time of the signal after the step of each sub-driving signal is (t1 / n1). Wherein n1 is a positive integer greater than or equal to 2.

[0041] For example, the amplitude of the driving signal is s2, the holding time of the motor of the electronic device at the second target position is t1 based on the driving signal, the holding time of each sub-driving signal is t2, and the number of sub-driving signals is (t1 / t2). The amplitude of each sub-driving signal is (s2×t2 / t1).

[0042] For example, the amplitude of the driving signal is s2, the holding time of the motor of the electronic device at the second target position is t1 based on the driving signal, the number of sub-driving signals is n1, the holding time of each sub-driving signal is t2, and (n1×t2)≤t1. The amplitude of each sub-driving signal is (s2 / n1).

[0043] In the embodiments of the present application, the amplitude of each sub-driving signal is less than or equal to the target threshold.

[0044] It can be understood that (n1×t2)≤t1 can avoid the time of stabilizing the lens to the second target position (the sum of the holding times of the sub-driving signals is n1×t2) exceeding the holding time of the second target position, avoid the lens not being stabilized to the second target position when the next input signal is obtained, and prolong the time of stabilizing the lens to the second target position.

[0045] It can be understood that the number n1 of sub-driving signals obtained by division and the holding time t2 of each sub-driving signal can be set according to actual conditions.

[0046] It can be understood that by driving the lens to a specific position and maintaining for a certain time (corresponding to the holding time of the lens at the second target position), the lens can be more stable when moving and turning, the misalignment and the sense of abruptness can be reduced, and the lens movement can be more natural and smooth.

[0047] In this way, by dividing the large step signal into a plurality of small step signals in the form of continuous multi-stage steps, the overshoot of the closed-loop controller when responding to the step signal is avoided, and the time of stabilizing the lens to the target position can be set according to actual application scenarios, so that the lens can be quickly stabilized at the target position.

[0048] The structure of the photographing device provided in the embodiments of the present application will be introduced below. As shown in FIG. 4, the photographing device includes a stage waveform shaping, a closed-loop feedback system (or a closed-loop feedback system), a motor, and a lens. The output end of the stage waveform shaping is connected to the input end of the closed-loop feedback system.

[0049] In the embodiments of the present application, the phased waveform shaping is used to determine whether the amplitude s2 between the tth frame and the (t+1)th frame is greater than a target threshold, if the determination result is yes, the large step signal between the tth frame and the (t+1)th frame is split into multiple small step signals (multiple sub-driving signals) in multiple steps; if the determination result is no, the large step signal between the tth frame and the (t+1)th frame is sent to the closed-loop feedback system.

[0050] For example, after the large step signal between the tth frame and the (t+1)th frame as shown in FIG. 5(a) is input to the phased waveform shaping, when it is determined that the amplitude s2 of the large step signal between the tth frame and the (t+1)th frame is greater than the target threshold, the large step signal between the tth frame and the (t+1)th frame is split into multiple small step signals as shown in FIG. 5(b).

[0051] It can be understood that the number of steps (as shown in FIG. 6) in which the large step signal is split by the phased waveform shaping, i.e., the number of small step signals and the holding time of each step (as shown in FIG. 6), can be set according to actual conditions.

[0052] For example, the amplitude of the large step signal is s2, the holding time of the motor of the electronic device at the second target position determined based on the large step signal is t1, and the number of small step signals is n1, then the amplitude of each small step signal is (s2 / n1), and the holding time of the signal after each small step signal is (t1 / n1). Wherein, n1 is a positive integer greater than or equal to 2.

[0053] For example, the amplitude of the large step signal is s2, the holding time of the motor of the electronic device at the second target position determined based on the large step signal is t1, and the holding time of each small step signal is t2, then the number of small step signals is (t1 / t2), and the amplitude of each small step signal is (s2×t2 / t1).

[0054] For example, the amplitude of the large step signal is s2, the holding time of the motor of the electronic device at the second target position determined based on the large step signal is t1, the number of small step signals is n1, and the holding time of each small step signal is t2, and (n1×t2)≤t1, then the amplitude of each small step signal is (s2 / n1).

[0055] In the embodiments of the present application, the amplitude of each small step signal is less than or equal to the target threshold.

[0056] It can be understood that the closed-loop controller in the closed-loop control system has a small overshoot when responding to a small amplitude step signal, and by adjusting the number of split stages and the step time, a large step signal is divided into a plurality of small step signals in the form of continuous multiple steps, thereby avoiding overshoot of the closed-loop controller when responding to a step signal. The working principle of the closed-loop control system is described below and will not be repeated here.

[0057] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and exhaustively below with the video recording scene as an example and in conjunction with the drawings.

[0058] FIG. 7 shows a schematic diagram of a shooting method according to an embodiment of the present application. It can be understood that the execution subjects of the schematic diagram shown in FIG. 7 are all electronic devices 100. In order to simplify the description, the execution subjects of each step will not be repeated when introducing the schematic diagram shown in FIG. 7. As shown in FIG. 7, the shooting method includes:

[0059] 101: Obtain a driving signal, and determine a first target position and a second target position of a motor of the electronic device based on the driving signal.

[0060] In the embodiments of the present application, the stage waveform shaping can obtain the driving signal of the motor during the user uses the electronic device 100 to shoot, wherein the driving signal is a signal representing the target position of the motor of the electronic device changing with time. The first target position of the motor of the electronic device at the tth frame can be determined according to the signal before the step in the driving signal, and the second target position of the motor of the electronic device at the t+1th frame can be determined according to the signal after the step in the driving signal. Wherein, the waveform diagram of the first target position at the tth frame and the second target position at the t+1th frame is shown in the excitation signal in FIG. 3.

[0061] In some embodiments, the stage waveform shaping can obtain the driving signal in the case of determining that the electronic device 100 is in a shaking scene; wherein the shaking scene includes any one of a running scene, a walking scene, and a performance scene.

[0062] It can be understood that the electronic device 100 can obtain the shaking data through the position sensor in the closed-loop feedback system, and determine the scene in which the electronic device 100 is currently located according to the shaking data. For example, if it is determined that the shaking amplitude of the shaking signal corresponding to the shaking data is greater than a first amplitude, and the variance of the shaking signal is greater than a first variance, it is determined that the electronic device 100 is in a shaking scene.

[0063] 102: Divide the driving signal into a plurality of continuous sub-driving signals.

[0064] In the embodiment of the present application, the phased waveform shaping can first determine whether the amplitude s2 of the driving signal is greater than a target threshold (a preset distance). If the amplitude s2 of the driving signal is less than or equal to the target threshold, the phased waveform shaping does not process the driving signal, and directly outputs the driving signal to the closed-loop feedback system, so as to drive the motor to drive the lens to move according to the driving signal through the closed-loop feedback system. If the amplitude s2 of the driving signal is greater than the target threshold, the phased waveform shaping divides the driving signal into a plurality of continuous sub-driving signals, and then sends the plurality of continuous sub-driving signals to the closed-loop feedback system, so as to drive the motor to drive the lens to move according to the plurality of sub-driving signals through the closed-loop feedback system in stages.

[0065] In the embodiment of the present application, the driving signal can be divided into a plurality of continuous sub-driving signals according to the division condition, wherein the division condition includes at least one of the number of sub-driving signals and the holding time of the sub-driving signal.

[0066] In the embodiment of the present application, the driving signal can be divided according to the division condition; wherein the division condition includes the number of sub-driving signals and / or the holding time of each sub-driving signal.

[0067] For example, the amplitude of the driving signal is s2, the holding time of the motor of the electronic device at the second target position is t1 based on the driving signal, and the number of sub-driving signals is n1, then the amplitude of each sub-driving signal is (s2 / n1), and the holding time of the signal after each sub-driving signal is stepped is (t1 / n1). Wherein n1 is a positive integer greater than or equal to 2.

[0068] For example, the amplitude of the driving signal is s2, the holding time of the motor of the electronic device at the second target position is t1 based on the driving signal, and the holding time of each sub-driving signal is t2, then the number of sub-driving signals is (t1 / t2), and the amplitude of each sub-driving signal is (s2×t2 / t1).

[0069] For example, the amplitude of the driving signal is s2, the holding time of the motor of the electronic device at the second target position is t1 based on the driving signal, the number of sub-driving signals is n1, and the holding time of each sub-driving signal is t2, and (n1×t2)≤t1, then the amplitude of each sub-driving signal is (s2 / n1).

[0070] In the embodiment of the present application, the amplitude of each sub-driving signal in the plurality of continuous sub-driving signals is less than or equal to the target threshold.

[0071] It can be understood that the driving time corresponding to the plurality of sub-driving signals is less than or equal to the driving time corresponding to the driving signal, that is, the sum of the holding times of the plurality of continuous sub-driving signals is less than or equal to the holding time of the motor at the second target position.

[0072] It can be understood that the closed-loop controller in the closed-loop control system has a small overshoot when responding to a small-amplitude step signal (e.g., an amplitude less than or equal to a target threshold value), and by adjusting the number of split stages and the step time, a large step signal is divided into a plurality of small step signals in the form of continuous multiple steps, thereby avoiding overshoot of the closed-loop controller when responding to a step signal.

[0073] 103: controlling the motor to move from the first target position to the second target position based on the plurality of continuous sub-driving signals.

[0074] In the embodiments of the present application, the plurality of continuous sub-driving signals can be obtained through a closed-loop feedback system, and the motor is controlled to move based on the plurality of continuous sub-driving signals. As shown in FIG. 4, the closed-loop feedback system includes a subtracter, a closed-loop controller, a current / voltage driver, and a position sensor.

[0075] The position sensor is configured to obtain a current position of the motor and generate a position signal of the current position of the motor, and feed back the position signal of the current position of the motor to the subtracter.

[0076] The subtracter is configured to obtain a signal after a step in a driving signal of the motor (or a preset target position signal) and receive the position signal of the current position of the motor fed back from the position sensor, and calculate a difference between the signal after the step in the driving signal of the motor and the position signal of the current position of the motor to obtain an amplitude s1 of an actual driving signal. The driving signal is configured to drive the motor to compensate for an amount of shaking of the lens, and the driving signal is a signal representing a target position of the motor of the electronic device changing with time.

[0077] In some embodiments, the signal after the step in the driving signal of the motor can be generated by an upper computer, a microcontroller, or a motion controller in a control system and input to the subtracter; in other embodiments, the signal after the step in the driving signal of the motor can also be sent to the subtracter by an external device, such as a programmable logic controller or a computer through a communication interface.

[0078] The closed-loop controller is configured to generate a control signal according to the amplitude s1 of the actual driving signal.

[0079] The current / voltage driver is configured to drive the motor based on the control signal to push the lens to move, thereby compensating for an amount of shaking due to shaking of the camera.

[0080] For example, in the process of controlling the motor to move from the first target position to the second target position based on the continuous multiple sub-driving signals, when the control of any one of the continuous multiple sub-driving signals is completed, the position sensor acquires the position signal of the current position of the motor, and determines the first amplitude according to the position signal of the current position of the motor and the signal after the current sub-driving signal step.

[0081] In some embodiments, controlling the motor to move based on the updated position signal of the motor (the first control signal) and the next sub-driving signal comprises: updating the updated position signal of the motor to the position signal before the step of the next sub-driving signal; and controlling the motor to generate movement based on the updated next sub-driving signal.

[0082] In the embodiments of the present application, the position signal of the current position of the motor can be acquired periodically in the process of controlling the motor to move based on the sub-driving signal.

[0083] In the embodiments of the present application, controlling the motor to generate movement based on the updated position signal of the motor (i.e. the actual position of the motor) and the next sub-driving signal can improve the accuracy in the process of moving the motor.

[0084] In this way, by dividing the large step signal into continuous multiple sub-driving signals in a stepped manner, the overshoot generated when the closed-loop controller responds to the step signal is reduced, the time for the lens to move to the target position is shortened, and the lens is quickly stabilized at the target position.

[0085] The embodiments of the present application also provide a chip, which comprises a processor and a data interface, and the processor reads instructions stored on a memory through the data interface to execute the above-mentioned photographing method.

[0086] The embodiments of the present application also provide an electronic device, which comprises a memory for storing instructions executed by one or more processors of the electronic device, and a processor, which is one of the processors of the electronic device and is configured to execute the instructions stored in the memory to implement the above-mentioned photographing method.

[0087] According to embodiments of the present application, FIG. 8 shows a block diagram of a system on a chip (SOC)-based electronic device 1300. In FIG. 8, like components have the same reference numbers. Additionally, the dashed lined boxes are optional features of a more advanced SOC. In FIG. 8, the electronic device 1300 includes an interconnect unit 1350 coupled to a processor 1315; a system agent unit 1370; a bus controller unit 1380; an integrated memory controller unit 1340; a set or one or more coprocessors 1320 which can include integrated graphics logic, an image processor, an audio processor, and a video processor; a static random access memory (SRAM) unit 1330; a direct memory access (DMA) unit 1360. In one embodiment, the coprocessors 1320 include a special-purpose processor, such as for example a network or communication processor, compression engine, embedded processor, etc.

[0088] In some cases, the disclosed embodiments can be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments can also be implemented as instructions carried by or stored on a transitory or non-transitory machine-readable (e.g., computer-readable) medium, which can be read and executed by one or more processors. For example, the instructions can be distributed over the network or other computer- readable media and can be executed by one or more processing units on various devices. Thus, a machine-readable medium can include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including floppy diskettes, optical disks, optical fiber disks, CD-ROMs, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic or optical cards, flash memory, or a tangible, machine-readable storage used in the transmission of information over the Internet via electrical, optical, acoustical or other forms of propagated signals (e.g., carrier waves, infrared signals digital signals, etc.). Accordingly, a machine-readable medium includes any type of medium for storing or transmitting information that is readable by a machine (e.g., a computer).

[0089] In the drawings, some of the structures or method features can be shown in particular arrangements and / or orders. However, it should be understood that such specific arrangements and / or orders can not be required. Instead, these features can be arranged in a different manner and / or order than shown in the illustrative drawings, in some embodiments. Additionally, the inclusion of a structural or method feature in a particular figure is not meant to imply that such feature is needed in all embodiments, and in some embodiments, such feature can not be included or can be combined with other features.

[0090] It should be noted that each unit / module mentioned in the embodiments of the devices of the present application is a logical unit / module, and in physical form, one logical unit / module can be a physical unit / module, or a part of a physical unit / module, or realized in a combination of multiple physical unit / modules, and the physical realization of these logical units / modules is not the most important, and the combination of the functions realized by these logical units / modules is the key to solving the technical problems proposed in the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned embodiments of the devices of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed in the present application, which does not mean that the above-mentioned embodiments of the devices do not have other units / modules.

[0091] It should be noted that in the examples and descriptions of the present patent, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the statement "includes one" does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0092] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it should be understood by those skilled in the art that various changes in form and detail can be made therein without departing from the spirit and scope of the application.

Claims

1. A photographing method characterized by comprising: The photographing method is applied to an electronic device and includes: obtaining a driving signal and determining a first target position and a second target position of a motor of the electronic device based on the driving signal; dividing the driving signal into a plurality of continuous sub-driving signals and controlling the motor to move from the first target position to the second target position based on the plurality of continuous sub-driving signals.

2. The photographing method according to claim 1, wherein The dividing of the driving signal into the plurality of continuous sub-driving signals includes: corresponding to a determination that a magnitude of the driving signal is greater than a target threshold, dividing the driving signal into the plurality of continuous sub-driving signals.

3. The photographing method according to claim 1, wherein The electronic device includes a closed-loop feedback system, and the controlling of the motor to move from the first target position to the second target position based on the plurality of continuous sub-driving signals includes: The closed-loop feedback system obtains the plurality of continuous sub-driving signals and controls the motor to move from the first target position to the second target position based on the plurality of sub-driving signals.

4. The photographing method according to claim 3, wherein includes: During the controlling of the motor to move from the first target position to the second target position based on the plurality of continuous sub-driving signals, when the control of any one of the plurality of continuous sub-driving signals is completed, updating a position signal of the motor and controlling the motor to generate movement based on the updated position signal of the motor and a next sub-driving signal.

5. The photographing method according to claim 4, wherein The controlling of the motor to generate movement based on the updated position signal of the motor and the next sub-driving signal includes: updating the updated position signal of the motor to a position signal before a step of the next sub-driving signal; controlling the motor to generate movement based on the updated next sub-driving signal.

6. The photographing method according to any one of claims 1 to 3, characterized by, A magnitude of each of the plurality of continuous sub-driving signals is less than or equal to a target threshold.

7. The photographing method according to claim 1, wherein A driving time corresponding to the plurality of sub-driving signals is less than or equal to a driving time corresponding to the driving signal.

8. The photographing method according to claim 1, wherein The dividing of the driving signal into the plurality of continuous sub-driving signals includes: dividing the driving signal into the plurality of continuous sub-driving signals according to a division condition, wherein the division condition includes at least one of a number of sub-driving signals and a holding time of sub-driving signals.

9. The photographing method according to claim 1, wherein The obtaining of the driving signal includes: in a case where the electronic device is in a shaking scenario, obtaining the driving signal; wherein the shaking scenario includes any one of a running scenario, a walking scenario, and a performing scenario.

10. A chip, characterized by The chip includes a processor and a data interface, and the processor reads instructions stored on a memory through the data interface to execute the photographing method according to any one of claims 1 to 9.

11. An electronic device, comprising: The memory is configured to store instructions executed by one or more processors of an electronic device, and the processor is one of the processors of the electronic device and is configured to execute the instructions stored in the memory to implement the photographing method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Motor linearity detection method, device and computer-readable storage medium

    CN108989791A

  • Zoom method and device

    CN114079708A

  • Camera module control method and device, medium and electronic equipment

    CN115604564A

  • Shooting method, chip and electronic equipment

    CN118524288A

  • Image-pickup device, its control method, storage medium and lens controller

    JP1998164417A