Anti-shake control system for mobile phone lens

Through the anti-shake control system that works in a multi-module collaborative manner, the jitter parameters are collected and optimized in real time, and the problem of poor anti-shake effect of mobile phone lenses in the existing technology is solved, and the rapid response and high-precision anti-shake effect is achieved to ensure the clear and stable shooting image.

CN120264141AActive Publication Date: 2025-07-04BAOTOU JIANGXIN MICRO-MOTOR TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510623409.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2025-07-04
Estimated Expiration
2045-05-15

AI Technical Summary

Technical Problem

The anti-shake effect of the existing technology mobile phone lens is poor, especially in low-light environments or telephoto shooting. The traditional anti-shake system has a slow response speed and insufficient compensation accuracy, making it difficult to deal with complex and changeable jitter scenes.

Method used

The anti-shake control system that works in a coordinated manner by multiple modules, including a collection module, a jitter processing module, a speed adjustment module and a distance adjustment module, collects jitter parameters in real time, calculates the movement speed and distance of the ball motor based on the jitter direction, speed and offset amplitude, and achieves precise anti-shake through multi-parameter collaborative optimization.

Benefits of technology

It significantly improves the shooting stability and picture clarity of the mobile phone lens, responds quickly to jitter changes, adapts to different jitter scenes, and ensures that the shooting effect is clear and stable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120264141A_ABST
    Figure CN120264141A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of lens adjustment, and discloses an anti-shake control system for a mobile phone lens, and the system comprises a collection module which collects the shooting state of a mobile phone, and collects the shake parameter of the mobile phone if the mobile phone shakes during shooting; the shaking processing module controls the balls in the ball motor to move in the direction opposite to the shaking direction according to the shaking direction, the initial speed of the balls is obtained according to the shaking speed, and the initial moving distance of the balls is obtained according to the shaking deviation amplitude; the speed adjusting module is used for determining an adjusting coefficient of the initial speed according to the jitter offset amplitude change value and adjusting the initial speed through the adjusting coefficient; the distance adjusting module is configured to adjust the initial moving distance according to the jitter acceleration; and the decision module controls the balls to move in the direction opposite to the shaking direction at the final speed and the final moving distance. Through multi-parameter collaborative optimization, the anti-shake effect is remarkably improved, and it is ensured that a shot picture is clear and stable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lens adjustment, and more particularly, to an anti-shake control system for a mobile phone lens. Background Art

[0002] With the popularization of the photography function of smart phones, users have higher and higher requirements for the shooting image quality. However, when shooting handheld, it is inevitable that the image will be blurred due to hand shaking, especially in low-light environments or when shooting with a telephoto lens. To solve this problem, optical image stabilization (OIS) technology has been widely applied to mobile phone lenses.

[0003] Traditional anti-shake systems usually detect shaking through sensors and drive the lens or image sensor for compensation, but there are problems such as slow response speed and insufficient compensation accuracy. In addition, existing technologies mostly rely on a single parameter for compensation, making it difficult to cope with complex and changeable shaking scenarios.

[0004] Therefore, it is necessary to provide an anti-shake control system for a mobile phone lens to solve the problem of poor anti-shake effect of the mobile phone lens in the prior art. Summary of the Invention

[0005] In view of this, the present invention proposes an anti-shake control system for a mobile phone lens, aiming to solve the problem of poor anti-shake effect of the mobile phone lens in the prior art.

[0006] The present invention proposes an anti-shake control system for a mobile phone lens, including:

[0007] An acquisition module, configured to acquire the shooting state of the mobile phone. If shaking occurs during mobile phone shooting, the shaking parameters of the mobile phone are acquired; wherein, the shaking parameters include the shaking direction, the shaking speed, and the shaking offset amplitude;

[0008] A shaking processing module, configured to control the ball in the ball motor to move in the direction opposite to the shaking direction according to the shaking direction, obtain the initial speed of the ball according to the shaking speed, and obtain the initial moving distance of the ball according to the shaking offset amplitude;

[0009] A speed adjustment module, configured to calculate the shaking offset amplitude per unit time, calculate the change value of the shaking offset amplitude between two adjacent unit times, determine whether to adjust the initial speed according to the change value of the shaking offset amplitude. If it is determined that adjustment is required, determine the adjustment coefficient of the initial speed according to the change value of the shaking offset amplitude, and adjust the initial speed through the adjustment coefficient to obtain the final speed;

[0010] A distance adjustment module, configured to obtain a jitter acceleration according to the jitter speed, determine whether to adjust the initial moving distance of the ball according to the jitter acceleration, and if it is determined that adjustment is required, adjust the initial moving distance according to the jitter acceleration to obtain a final moving distance;

[0011] A decision-making module, configured to control the ball to move in a direction opposite to the jitter direction at the final speed and the final moving distance.

[0012] Further, when the jitter processing module is configured to obtain the initial speed of the ball according to the jitter speed and obtain the initial moving distance of the ball according to the jitter offset amplitude, it includes:

[0013] Calculate the average jitter speed of the mobile phone jitter according to the jitter speed when the mobile phone jitters, and use the average jitter speed as the initial speed of the ball;

[0014] Use the jitter offset amplitude as the initial moving distance of the ball.

[0015] Further, when the speed adjustment module is configured to determine whether to adjust the initial speed according to the change value of the jitter offset amplitude, it includes:

[0016] Calculate the average offset change value of the jitter offset amplitude change value, and determine an adjustment coefficient according to the average offset change value;

[0017] If the average offset change value is greater than zero, the adjustment coefficient is a positive value;

[0018] If the average offset change value is less than zero, the adjustment coefficient is a negative value;

[0019] If the average offset change value is zero, the adjustment coefficient is zero.

[0020] Further, when if the average offset change value is greater than zero, the adjustment coefficient is a positive value, it includes:

[0021] Set a first average offset change value and a second average offset change value, the first average offset change value is less than the second average offset change value, and the first average offset change value is greater than zero;

[0022] If the average offset change value is greater than zero and less than or equal to the first average offset change value, adjust the initial speed through a first adjustment coefficient;

[0023] If the average offset change value is greater than the first average offset change value and less than or equal to the second average offset change value, adjust the initial speed through a second adjustment coefficient;

[0024] If the average value of the offset change is greater than the second average value of the offset change, the initial speed is adjusted by a third adjustment coefficient;

[0025] Wherein, the first adjustment coefficient is less than the second adjustment coefficient, the second adjustment coefficient is less than the third adjustment coefficient, and the first adjustment coefficient is greater than zero.

[0026] Further, when the average value of the offset change is less than zero and the adjustment coefficient is negative, it includes:

[0027] Set a third average value of the offset change and a fourth average value of the offset change, the third average value of the offset change is less than the fourth average value of the offset change, and the third average value of the offset change is less than zero;

[0028] If the average value of the offset change is less than zero and the average value of the offset change is greater than or equal to the third average value of the offset change, the initial speed is adjusted by a fourth adjustment coefficient;

[0029] If the average value of the offset change is less than the third average value of the offset change and greater than or equal to the fourth average value of the offset change, the initial speed is adjusted by a fifth adjustment coefficient;

[0030] If the average value of the offset change is less than the fourth average value of the offset change, the initial speed is adjusted by a sixth adjustment coefficient;

[0031] Wherein, the fourth adjustment coefficient is greater than the fifth adjustment coefficient, the fifth adjustment coefficient is greater than the sixth adjustment coefficient, and the fourth adjustment coefficient is less than zero.

[0032] Further, when the speed adjustment module is configured to adjust the initial speed by the adjustment coefficient to obtain the final speed, it includes:

[0033] Calculate the final speed by the following formula:

[0034] V2 = V1 * (1 + ki);

[0035] In the above formula, V2 represents the final speed, V1 represents the initial speed, ki represents the i-th adjustment coefficient, where i = 1, 2, 3, 4, 5, 6.

[0036] Further, when the distance adjustment module is configured to obtain the jitter acceleration according to the jitter speed and determine whether to adjust the initial moving distance of the ball according to the jitter acceleration, it includes:

[0037] Calculate the jitter acceleration per unit time, and set a jitter acceleration threshold. If the absolute value of the jitter acceleration is greater than or equal to the jitter acceleration threshold, it is determined that the initial moving distance of the ball needs to be adjusted;

[0038] Otherwise, it is determined that the initial moving distance of the ball is not adjusted.

[0039] Further, when the distance adjustment module is configured to adjust the initial moving distance according to the jitter acceleration to obtain the final moving distance, it includes:

[0040] Set a number of speed acquisition time points, obtain the jitter acceleration at the speed acquisition time points, and calculate the change value of the jitter acceleration between adjacent two speed acquisition time points;

[0041] Calculate the average acceleration change value of the jitter acceleration change value, and calculate the standard deviation of the acceleration change according to the jitter acceleration change value and the average acceleration change value;

[0042] Adjust the initial moving distance according to the standard deviation of the acceleration change and the average acceleration change value.

[0043] Further, when adjusting the initial moving distance according to the standard deviation of the acceleration change and the average acceleration change value, it includes:

[0044] Set a first standard deviation and a second standard deviation, and the first standard deviation is less than the second standard deviation;

[0045] If the standard deviation of the acceleration change is less than the first standard deviation, adjust the initial moving distance with a first adjustment coefficient;

[0046] If the standard deviation of the acceleration change is greater than or equal to the first standard deviation and less than or equal to the second standard deviation, adjust the initial moving distance with a second adjustment coefficient;

[0047] If the standard deviation of the acceleration change is greater than the second standard deviation, adjust the initial moving distance with a third adjustment coefficient;

[0048] Wherein, the first adjustment coefficient is less than the second adjustment coefficient, the second adjustment coefficient is less than the third adjustment coefficient, and the value ranges of the first adjustment coefficient, the second adjustment coefficient and the third adjustment coefficient are all (0, 1).

[0049] Further, when adjusting the initial moving distance according to the standard deviation of the acceleration change and the average acceleration change value, it further includes:

[0050] If the average acceleration change is greater than or equal to zero, the final moving distance is calculated by the following formula:

[0051] S2 = S1 * (1 + tj);

[0052] In the above formula, S2 represents the final moving distance, S1 represents the initial moving distance, and tj represents the j-th adjustment coefficient;

[0053] If the average acceleration change is less than zero, the final moving distance is calculated by the following formula:

[0054] S2 = S1 * (1 - tj);

[0055] In the above formula, S2 represents the final moving distance, S1 represents the initial moving distance, and tj represents the j-th adjustment coefficient.

[0056] Compared with the prior art, the beneficial effects of the present invention are as follows: Through the collaborative work of multiple modules, the present invention can effectively improve the stability of the mobile phone lens during shooting. First, the acquisition module collects the jitter parameters in real time, providing accurate data support for subsequent processing. The jitter processing module controls the reverse movement of the ball screw motor according to the jitter direction, and calculates the initial speed and moving distance of the ball screw in combination with the jitter speed and offset amplitude, quickly responding to jitter changes. The speed adjustment module dynamically adjusts the ball screw speed by analyzing the change value of the jitter offset amplitude, further improving the response speed and stability of the system. The distance adjustment module optimizes the moving distance of the ball screw according to the jitter acceleration, ensuring that the lens can accurately cancel the jitter. Finally, the decision-making module synthesizes the final speed and moving distance, controlling the ball screw motor to complete precise anti-shake. The advantages of the present invention are: strong real-time performance, capable of quickly responding to jitter changes; flexible dynamic adjustment mechanism, adapting to different jitter scenarios; significantly improving the anti-shake effect through the collaborative optimization of multiple parameters, ensuring clear and stable shooting images. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] By reading the detailed description of the preferred embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present invention. Moreover, throughout the drawings, the same reference numerals are used to represent the same components. In the drawings:

[0058] Figure 1 It is a functional block diagram of the anti-shake control system for a mobile phone lens provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0059] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be fully conveyed to those skilled in the art. It should be noted that, without conflict, the embodiments in the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the drawings and in conjunction with the embodiments.

[0060] In some embodiments of the present application, referring to Figure 1 as shown, this embodiment provides an anti-shake control system for a mobile phone lens, including:

[0061] An acquisition module, configured to acquire the shooting state of the mobile phone. If the mobile phone shakes during shooting, the shaking parameters of the mobile phone are acquired; wherein, the shaking parameters include the shaking direction, the shaking speed, and the shaking offset amplitude;

[0062] A shaking processing module, configured to control the ball in the ball screw motor to move in the direction opposite to the shaking direction according to the shaking direction, obtain the initial speed of the ball according to the shaking speed, and obtain the initial moving distance of the ball according to the shaking offset amplitude;

[0063] A speed adjustment module, configured to calculate the shaking offset amplitude per unit time, calculate the change value of the shaking offset amplitude between two adjacent unit times, determine whether to adjust the initial speed according to the change value of the shaking offset amplitude. If it is determined that adjustment is needed, determine the adjustment coefficient of the initial speed according to the change value of the shaking offset amplitude, and adjust the initial speed through the adjustment coefficient to obtain the final speed;

[0064] A distance adjustment module, configured to obtain the shaking acceleration according to the shaking speed, determine whether to adjust the initial moving distance of the ball according to the shaking acceleration. If it is determined that adjustment is needed, adjust the initial moving distance of the ball according to the shaking acceleration to obtain the final moving distance;

[0065] A decision-making module, configured to control the ball to move in the direction opposite to the shaking direction at the final speed and the final moving distance.

[0066] It is understandable that through the collaborative work of multiple modules, the present invention can effectively improve the stability of the mobile phone lens during shooting. First, the acquisition module collects jitter parameters in real time, providing accurate data support for subsequent processing. The jitter processing module controls the reverse movement of the ball motor according to the jitter direction, and calculates the initial speed and moving distance of the ball based on the jitter speed and offset amplitude, quickly responding to jitter changes. The speed adjustment module dynamically adjusts the ball speed by analyzing the change value of the jitter offset amplitude, further improving the response speed and stability of the system. The distance adjustment module optimizes the moving distance of the ball according to the jitter acceleration to ensure that the lens can accurately cancel the jitter. Finally, the decision-making module synthesizes the final speed and moving distance to control the ball motor to complete precise anti-shake. The advantages of the present invention are: strong real-time performance, capable of quickly responding to jitter changes; flexible dynamic adjustment mechanism, adapting to different jitter scenarios; significantly improving the anti-shake effect through multi-parameter collaborative optimization, ensuring clear and stable shooting images.

[0067] Specifically, a ball motor is an electric mechanism commonly used to eliminate the jitter effect generated by a camera or a mobile phone lens during shooting. It adopts ball technology and realizes image stabilization by controlling the position and movement of rolling balls. The following is the structure and working principle of the ball motor: Structure: The ball motor includes a magnet, a ball track, and a vibration sensor. The magnet is an electromagnet used to generate a magnetic field, and a ball bearing. The ball bearing is directly installed on the module of the camera or mobile phone and consists of rolling balls and a support ring. The axial movement of the ball bearing is achieved through the position and movement of the balls, thereby eliminating the jitter of the camera or mobile phone lens. The vibration sensor is used to detect the jitter of the camera or mobile phone and transmit the signals of the movement direction and amplitude of these jitters to the magnet, causing the ball bearing to generate a reverse movement to cancel the jitter of the camera or mobile phone. Principle: The ball motor utilizes the interaction between the magnetic field and the ball bearing to eliminate the jitter of the camera or mobile phone. When the vibration sensor detects the jitter of the camera or mobile phone, it transmits these signals to the magnet through a circuit. Under the action of the magnetic field, the ferromagnetic balls in the ferromagnetic ball bearing will be magnetized and generate an adsorption force, thus moving to a certain distance under the action of the magnetic field to cancel the jitter of the camera or mobile phone. The moving distance and speed are determined by the magnitude and direction of the current controlling the magnetic field. As the jitter direction and intensity of the camera or mobile phone change, the ball bearing also moves accordingly. Therefore, the jitter effect of the camera or mobile phone is eliminated, and a more stable image is obtained.

[0068] In summary, the ball motor is an electric motor that eliminates the jitter effect of a camera or mobile phone lens by electromagnetically controlling the position and movement of a ferromagnetic ball bearing. It can sense the jitter of the photographic equipment, adjust the reverse jitter to balance the image, and thus provide a clearer and more stable image shooting effect.

[0069] In some embodiments of the present application, when the jitter processing module is configured to obtain the initial speed of the ball according to the jitter speed and obtain the initial moving distance of the ball according to the jitter offset amplitude, it includes:

[0070] According to the jitter speed when the mobile phone jitters, calculate the average jitter speed of the mobile phone jitter, and use the average jitter speed as the initial speed of the ball;

[0071] Use the jitter offset amplitude as the initial moving distance of the ball.

[0072] It can be understood that by calculating the average jitter speed of the mobile phone jitter and using it as the initial speed of the ball, the noise in the instantaneous jitter speed can be effectively smoothed, and the stability and reliability of the ball motor control can be improved. At the same time, directly using the jitter offset amplitude as the initial moving distance of the ball simplifies the calculation process, reduces the system complexity, and ensures that the ball can quickly respond to jitter changes and achieve precise compensation. This design not only improves the real-time performance and adaptability of the anti-shake system, but also reduces the risk of over-adjustment or insufficient compensation, thus significantly improving the stability and image quality clarity of the mobile phone lens during shooting.

[0073] In some embodiments of the present application, when the speed adjustment module is configured to determine whether to adjust the initial speed according to the change value of the jitter offset amplitude, it includes:

[0074] Calculate the average offset change value of the jitter offset amplitude change value, and determine the adjustment coefficient according to the average offset change value;

[0075] If the average offset change value is greater than zero, the adjustment coefficient is positive;

[0076] If the average offset change value is less than zero, the adjustment coefficient is negative;

[0077] If the average offset change value is zero, the adjustment coefficient is zero.

[0078] It can be understood that by calculating the average offset change value of the jitter offset amplitude change value and determining the sign of the adjustment coefficient according to its positive or negative situation, the change trend of the jitter can be more accurately reflected. When the average offset change value is positive, the adjustment coefficient is positive, indicating that the ball speed needs to be increased to cope with the intensification of the jitter; when the average offset change value is negative, the adjustment coefficient is negative, indicating that the ball speed needs to be reduced to adapt to the weakening of the jitter; when the average offset change value is zero, the adjustment coefficient is zero, indicating that no adjustment is required. This design enables the system to dynamically adapt to the change trend of the jitter, avoiding both the energy waste caused by over-adjustment and the decline in the anti-shake effect caused by insufficient compensation, thus significantly improving the accuracy and efficiency of the anti-shake control.

[0079] In some embodiments of the present application, when the average offset change is greater than zero and the adjustment coefficient is positive, it includes:

[0080] Set a first average offset change and a second average offset change, where the first average offset change is less than the second average offset change, and the first average offset change is greater than zero;

[0081] If the average offset change is greater than zero and the average offset change is less than or equal to the first average offset change, adjust the initial velocity by a first adjustment coefficient;

[0082] If the average offset change is greater than the first average offset change and less than or equal to the second average offset change, adjust the initial velocity by a second adjustment coefficient;

[0083] If the average offset change is greater than the second average offset change, adjust the initial velocity by a third adjustment coefficient;

[0084] Wherein, the first adjustment coefficient is less than the second adjustment coefficient, the second adjustment coefficient is less than the third adjustment coefficient, and the first adjustment coefficient is greater than zero.

[0085] In some embodiments of the present application, when the average offset change is less than zero and the adjustment coefficient is negative, it includes:

[0086] Set a third average offset change and a fourth average offset change, where the third average offset change is less than the fourth average offset change, and the third average offset change is less than zero;

[0087] If the average offset change is less than zero and the average offset change is greater than or equal to the third average offset change, adjust the initial velocity by a fourth adjustment coefficient;

[0088] If the average offset change is less than the third average offset change and greater than or equal to the fourth average offset change, adjust the initial velocity by a fifth adjustment coefficient;

[0089] If the average offset change is less than the fourth average offset change, adjust the initial velocity by a sixth adjustment coefficient;

[0090] Wherein, the fourth adjustment coefficient is greater than the fifth adjustment coefficient, the fifth adjustment coefficient is greater than the sixth adjustment coefficient, and the fourth adjustment coefficient is less than zero.

[0091] In some embodiments of the present application, when the speed adjustment module is configured to adjust the initial speed through the adjustment coefficient to obtain the final speed, it includes:

[0092] Calculate the final speed through the following formula:

[0093] V2 = V1 * (1 + ki);

[0094] In the above formula, V2 represents the final speed, V1 represents the initial speed, and ki represents the i-th adjustment coefficient, where i = 1, 2, 3, 4, 5, 6.

[0095] It can be understood that in this embodiment, by introducing a multi-level adjustment coefficient (the first to sixth adjustment coefficients) and a segmented judgment mechanism, the initial speed of the ball can be more finely adjusted dynamically according to different ranges of the average value of the jitter offset change. For the positive offset change average value, the system is divided into three intervals according to its magnitude, and the first, second, and third adjustment coefficients are respectively used to ensure that the ball speed is gradually increased when the jitter intensifies; for the negative offset change average value, the system is also divided into three intervals, and the fourth, fifth, and sixth adjustment coefficients are respectively used to ensure that the ball speed is gradually decreased when the jitter weakens. This segmented adjustment mechanism not only improves the adaptability of the system but also effectively avoids problems of insufficient compensation or over-compensation caused by too large or too small adjustment amplitudes. By calculating the final speed, the system can quickly and accurately respond to jitter changes, significantly improving the real-time performance and stability of anti-shake control, while optimizing energy consumption and extending the device battery life.

[0096] In some embodiments of the present application, when the distance adjustment module is configured to obtain the jitter acceleration according to the jitter speed and determine whether to adjust the initial moving distance of the ball according to the jitter acceleration, it includes:

[0097] Calculate the jitter acceleration per unit time and set a jitter acceleration threshold. If the absolute value of the jitter acceleration exists and is greater than or equal to the jitter acceleration threshold, it is determined that the initial moving distance of the ball needs to be adjusted;

[0098] Otherwise, it is determined not to adjust the initial moving distance of the ball.

[0099] In some embodiments of the present application, when the distance adjustment module is configured to adjust the initial moving distance according to the jitter acceleration to obtain the final moving distance, it includes:

[0100] Set several speed acquisition time points, obtain the jitter acceleration at the speed acquisition time points, and calculate the change value of the jitter acceleration between two adjacent speed acquisition time points;

[0101] Calculate the average acceleration change value of the jitter acceleration change value, and calculate the standard deviation of the acceleration change according to the jitter acceleration change value and the average acceleration change value;

[0102] Adjust the initial moving distance according to the standard deviation of the acceleration change and the average acceleration change value.

[0103] It can be understood that by introducing an analysis mechanism for the jitter acceleration and its change value, it is possible to more accurately judge and adjust the initial moving distance of the ball, thereby improving the performance of the anti-shake system. First, the distance adjustment module calculates the jitter acceleration of each unit time and compares it with a preset jitter acceleration threshold to determine whether it is necessary to adjust the initial moving distance of the ball. This threshold judgment mechanism can effectively filter out small jitters, avoid unnecessary adjustments, and ensure timely response when the jitter is severe. Secondly, the module sets multiple speed acquisition time points, calculates the change value of the jitter acceleration between adjacent time points, and further calculates the average acceleration change value and the standard deviation, so as to comprehensively reflect the dynamic change trend of the jitter. Finally, the initial moving distance is adjusted based on the average acceleration change value and the standard deviation, so that the system can dynamically optimize the moving distance of the ball according to the intensity and volatility of the jitter. Through the threshold judgment and dynamic adjustment mechanism, the real-time performance and adaptability of the system are improved; by using the average acceleration change value and the standard deviation, the complex changes of the jitter can be more accurately reflected, avoiding over-compensation or under-compensation; the segmented adjustment strategy optimizes the energy consumption and extends the battery life of the device. Overall, this embodiment significantly improves the accuracy and stability of the anti-shake control, providing a clearer shooting experience for users.

[0104] In some embodiments of the present application, when adjusting the initial moving distance according to the standard deviation of the acceleration change and the average acceleration change value, it includes:

[0105] Set a first standard deviation and a second standard deviation, where the first standard deviation is less than the second standard deviation;

[0106] If the standard deviation of the acceleration change is less than the first standard deviation, adjust the initial moving distance using a first adjustment coefficient;

[0107] If the standard deviation of the acceleration change is greater than or equal to the first standard deviation and less than or equal to the second standard deviation, adjust the initial moving distance using a second adjustment coefficient;

[0108] If the standard deviation of the acceleration change is greater than the second standard deviation, adjust the initial moving distance using a third adjustment coefficient;

[0109] Among them, the first adjustment coefficient is less than the second adjustment coefficient, the second adjustment coefficient is less than the third adjustment coefficient, and the value ranges of the first adjustment coefficient, the second adjustment coefficient, and the third adjustment coefficient are all (0, 1).

[0110] It can be understood that by introducing a segmented adjustment mechanism for the standard deviation of acceleration change, the initial moving distance of the ball can be more finely adjusted dynamically according to the volatility of jitter, thereby significantly improving the performance and adaptability of the anti-shake system. Specifically, the system sets two standard deviation thresholds (the first standard deviation and the second standard deviation), divides the standard deviation of acceleration change into three intervals, and for each interval, the system adopts different adjustment coefficients, and the adjustment coefficients increase in sequence. This segmented adjustment mechanism can flexibly adjust the moving distance of the ball according to the intensity of jitter volatility: when the standard deviation is small, a small adjustment coefficient is adopted to avoid over-adjustment; when the standard deviation is large, a large adjustment coefficient is adopted to ensure that the system can effectively offset severe jitter. In addition, the value range of the adjustment coefficient is limited to (0, 1), ensuring the rationality and controllability of the adjustment amplitude. Through the segmented adjustment mechanism, the system can respond more precisely to jitters of different intensities, improve the anti-shake effect; avoid problems of over-compensation or under-compensation caused by a single adjustment strategy; optimize energy consumption and extend the battery life of the device. Overall, this embodiment significantly improves the accuracy and stability of anti-shake control, providing users with a clearer shooting experience.

[0111] In some embodiments of the present application, when adjusting the initial moving distance according to the standard deviation of acceleration change and the average value of acceleration change, it further includes:

[0112] If the average value of acceleration change is greater than or equal to zero, the final moving distance is calculated by the following formula:

[0113] S2 = S1 * (1 + tj);

[0114] In the above formula, S2 represents the final moving distance, S1 represents the initial moving distance, and tj represents the jth adjustment coefficient;

[0115] If the average value of acceleration change is less than zero, the final moving distance is calculated by the following formula:

[0116] S2 = S1 * (1 - tj);

[0117] In the above formula, S2 represents the final moving distance, S1 represents the initial moving distance, and tj represents the jth adjustment coefficient.

[0118] It can be understood that by combining the average acceleration change and the adjustment coefficient, the calculation of the final moving distance of the ball is further optimized, thereby improving the accuracy and adaptability of the anti-shake system. Specifically, the system adopts different calculation formulas according to the positive or negative situation of the average acceleration change: when the average acceleration change is greater than or equal to zero, it indicates that the jitter trend is intensifying, and the system increases the moving distance of the ball through the formula to more effectively counteract the jitter; when the average acceleration change is less than zero, it indicates that the jitter trend is weakening, and the system reduces the moving distance of the ball through the formula to avoid overcompensation. Through the positive or negative judgment of the average acceleration change, the system can more accurately reflect the dynamic trend of the jitter and achieve more reasonable adjustment; combined with the adjustment coefficient, the system can flexibly adjust the moving distance according to the volatility intensity of the jitter (determined by the standard deviation) to ensure the optimization of the anti-shake effect; it avoids the problems of energy waste or insufficient compensation caused by a single adjustment strategy and improves the efficiency and stability of the system. Overall, this embodiment significantly improves the real-time performance and accuracy of anti-shake control, providing users with a clearer and more stable shooting experience.

[0119] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0120] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of processes and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0121] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1The functions specified in one or more boxes.

[0122] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide for implementing the steps of the functions specified in one Figure 1 process or multiple processes and / or boxes Figure 1 or more boxes.

[0123] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: the specific implementation manners of the present invention can still be modified or equivalently replaced, and any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered by the protection scope of the claims of the present invention.

Claims

1. An anti-shake control system for a mobile phone lens, characterized in that, Including: A collection module, configured to collect the shooting state of the mobile phone. If the mobile phone shakes during shooting, the shaking parameters of the mobile phone are collected. Among them, the shaking parameters include the shaking direction, the shaking speed, and the shaking offset amplitude; A shaking processing module, configured to control the ball in the ball motor to move in the direction opposite to the shaking direction according to the shaking direction, obtain the initial speed of the ball according to the shaking speed, and obtain the initial moving distance of the ball according to the shaking offset amplitude; A speed adjustment module, configured to calculate the shaking offset amplitude per unit time, calculate the change value of the shaking offset amplitude between two adjacent unit times, determine whether to adjust the initial speed according to the change value of the shaking offset amplitude. If it is determined that adjustment is required, determine the adjustment coefficient of the initial speed according to the change value of the shaking offset amplitude, and adjust the initial speed through the adjustment coefficient to obtain the final speed; A distance adjustment module, configured to obtain the shaking acceleration according to the shaking speed, determine whether to adjust the initial moving distance of the ball according to the shaking acceleration. If it is determined that adjustment is required, adjust the initial moving distance of the ball according to the shaking acceleration to obtain the final moving distance; A decision-making module, configured to control the ball to move in the direction opposite to the shaking direction at the final speed and the final moving distance.

2. The anti-shake control system for a mobile phone lens according to claim 1, characterized in that, When the shaking processing module is configured to obtain the initial speed of the ball according to the shaking speed and obtain the initial moving distance of the ball according to the shaking offset amplitude, it includes: Calculating the average shaking speed of the mobile phone shaking according to the shaking speed when the mobile phone shakes, and using the average shaking speed as the initial speed of the ball; Using the shaking offset amplitude as the initial moving distance of the ball.

3. The anti-shake control system for a mobile phone lens according to claim 2, characterized in that, When the speed adjustment module is configured to determine whether to adjust the initial speed according to the change value of the shaking offset amplitude, it includes: Calculating the average offset change value of the shaking offset amplitude change value, and determining the adjustment coefficient according to the average offset change value; If the average offset change value is greater than zero, the adjustment coefficient is a positive value; If the average offset change value is less than zero, the adjustment coefficient is a negative value; If the average offset change value is zero, the adjustment coefficient is zero.

4. The anti-shake control system for a mobile phone lens according to claim 3, characterized in that, When if the average offset change value is greater than zero, the adjustment coefficient is a positive value, it includes: Setting a first average offset change value and a second average offset change value, the first average offset change value is less than the second average offset change value, and the first average offset change value is greater than zero; If the average offset change value is greater than zero and less than or equal to the first average offset change value, adjust the initial speed through the first adjustment coefficient; If the average offset change value is greater than the first average offset change value and less than or equal to the second average offset change value, adjust the initial speed through the second adjustment coefficient; If the average offset change value is greater than the second average offset change value, adjust the initial speed through the third adjustment coefficient; Among them, the first adjustment coefficient is less than the second adjustment coefficient, the second adjustment coefficient is less than the third adjustment coefficient, and the first adjustment coefficient is greater than zero.

5. The anti-shake control system for a mobile phone lens according to claim 4, wherein When the average value of the offset change is less than zero and the adjustment coefficient is negative, it includes: Set the third average offset change value and the fourth average offset change value, the third average offset change value is less than the fourth average offset change value, and the third average offset change value is less than zero; If the average value of the offset change is less than zero and the average value of the offset change is greater than or equal to the third average offset change value, adjust the initial speed by the fourth adjustment coefficient; If the average value of the offset change is less than the third average offset change value and greater than or equal to the fourth average offset change value, adjust the initial speed by the fifth adjustment coefficient; If the average value of the offset change is less than the fourth average offset change value, adjust the initial speed by the sixth adjustment coefficient; Among them, the fourth adjustment coefficient is greater than the fifth adjustment coefficient, the fifth adjustment coefficient is greater than the sixth adjustment coefficient, and the fourth adjustment coefficient is less than zero.

6. The anti-shake control system for a mobile phone lens according to claim 5, wherein, When the speed adjustment module is configured to adjust the initial speed by the adjustment coefficient to obtain the final speed, it includes: Calculate the final speed by the following formula: V2 = V1 * (1 + ki); In the above formula, V2 represents the final speed, V1 represents the initial speed, ki represents the i-th adjustment coefficient, where i = 1, 2, 3, 4, 5, 6.

7. The anti-shake control system for a mobile phone lens according to claim 6, characterized in that, When the distance adjustment module is configured to obtain the jitter acceleration according to the jitter speed and determine whether to adjust the initial moving distance of the ball according to the jitter acceleration, it includes: Calculate the jitter acceleration per unit time and set a jitter acceleration threshold. If the absolute value of the jitter acceleration is greater than or equal to the jitter acceleration threshold, it is determined that the initial moving distance of the ball needs to be adjusted; Otherwise, it is determined not to adjust the initial moving distance of the ball.

8. The anti-shake control system for a mobile phone lens according to claim 7, wherein When the distance adjustment module is configured to adjust the initial moving distance according to the jitter acceleration to obtain the final moving distance, it includes: Set several speed acquisition time points, obtain the jitter acceleration at the speed acquisition time points, and calculate the change value of the jitter acceleration between two adjacent speed acquisition time points; Calculate the average acceleration change value of the jitter acceleration change value, and calculate the standard deviation of the acceleration change according to the jitter acceleration change value and the average acceleration change value; Adjust the initial moving distance according to the standard deviation of the acceleration change and the average acceleration change value.

9. The anti-shake control system for a mobile phone lens according to claim 8, characterized in that, When adjusting the initial moving distance according to the standard deviation of the acceleration change and the average acceleration change value, it includes: Set the first standard deviation and the second standard deviation, the first standard deviation is less than the second standard deviation; If the standard deviation of the acceleration change is less than the first standard deviation, adjust the initial moving distance by the first adjustment coefficient; If the standard deviation of the acceleration change is greater than or equal to the first standard deviation and less than or equal to the second standard deviation, the initial moving distance is adjusted using the second adjustment coefficient; If the standard deviation of the acceleration change is greater than the second standard deviation, the initial moving distance is adjusted using the third adjustment coefficient; Among them, the first adjustment coefficient is less than the second adjustment coefficient, the second adjustment coefficient is less than the third adjustment coefficient, and the value ranges of the first adjustment coefficient, the second adjustment coefficient, and the third adjustment coefficient are all (0, 1).

10. The anti-shake control system for a mobile phone lens according to claim 9, characterized in that, When adjusting the initial moving distance according to the standard deviation of the acceleration change and the average value of the acceleration change, it further includes: If the average value of the acceleration change is greater than or equal to zero, the final moving distance is calculated by the following formula: S2 = S1 * (1 + tj); In the above formula, S2 represents the final moving distance, S1 represents the initial moving distance, and tj represents the jth adjustment coefficient; If the average value of the acceleration change is less than zero, the final moving distance is calculated by the following formula: S2 = S1 * (1 - tj); In the above formula, S2 represents the final moving distance, S1 represents the initial moving distance, and tj represents the jth adjustment coefficient.

Citation Information

Patent Citations

  • Anti-shake stroke adjustment method and apparatus, mobile device and computer storage medium

    CN107181914A

  • Lens anti-shake method and device, computer equipment and storage medium

    CN113542612A

  • Optical anti-shake module, optical anti-shake method and electronic equipment

    CN116761074A

  • Precise lens anti-shake base

    CN218734550U

  • Optical equipment and imaging system

    JP2011164654A