Anti-shake detection method and device
By using vibration analog signals and gyroscope gain coefficients, the anti-shake amplitude and compression ratio of the camera module are calculated, and detection error problems caused by differences in vibration table accuracy are solved, achieving higher detection accuracy and cost savings.
Patent Information
- Application Number
- CN202111622235.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2041-12-28
AI Technical Summary
In the prior art, the accuracy difference of the vibration stage during OIS testing of the camera module leads to inaccurate detection results.
By using vibration analog signals, the gyroscope gain coefficient of the camera module and the imaging reference coordinates, the anti-shake amplitude of the camera module in the on-shake state is obtained, and the compression ratio is calculated based on the anti-shake amplitude and the preset target vibration angle to verify the anti-shake performance.
This method avoids detection errors caused by differences in vibration table accuracy, improves detection accuracy, and saves detection costs.
Smart Images

Figure CN114339206B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of testing technology, and in particular to an anti-shake detection method and device. Background Art
[0002] At present, the camera modules of mobile phones all have anti-shake functions, so that the mobile phone can take clear photos even when it is shaking or swaying. The camera module is generally equipped with an OIS (Optical Image Stabilizer) anti-shake module. Before the camera module is assembled to other electronic devices such as mobile phones, the OIS anti-shake module of the camera module needs to be tested to ensure that the OIS anti-shake module operates normally. In the traditional testing process, the camera module needs to be installed on a vibration table with a gyroscope first, and the vibration table is used to simulate the vibration environment. After the gyroscope is corrected, the camera module shoots the test chart (chart chart) to obtain the static line width when the vibration table is static, the line width without anti-shake when the vibration table is turned on and there is no OIS, and the line width with anti-shake when the vibration table is turned on and OIS is turned on; finally, the compression ratio is calculated based on the static line width, the line width without anti-shake and the line width with anti-shake. According to the compression ratio, it can be judged whether the anti-shake of the camera module meets the requirements. However, it is difficult to make the vibration standards of the vibration table completely consistent during production, which will lead to inaccurate OIS test data of camera modules when using different vibration tables.
[0003] Therefore, when performing OIS testing on camera modules, differences in vibration platforms will cause large errors in the OIS test results. Summary of the invention
[0004] In view of the above problems, the present invention proposes an anti-shake detection method and device, which no longer relies on a vibration table when performing OIS detection of a camera module; the detection error caused by the difference in the accuracy of the vibration table during OIS detection can be avoided, thereby improving the detection accuracy.
[0005] In the first aspect, the present application provides the following technical solution through an embodiment:
[0006] An anti-shake detection method, comprising:
[0007] According to the vibration simulation signal, the gyro gain coefficient of the camera module and the reference coordinates of the camera module imaging, the anti-shake amplitude of the camera module when the anti-shake is turned on is obtained; the vibration simulation signal is a signal of a standard vibration table vibrating at a preset target vibration angle; according to the anti-shake amplitude and the preset target vibration angle, the compression ratio of the camera module is obtained; the compression ratio is used to verify the anti-shake performance of the camera module.
[0008] Optionally, obtaining the anti-shake amplitude of the camera module in an anti-shake on state according to the vibration simulation signal, the gyro gain coefficient of the camera module, and the reference coordinates of the camera module imaging includes:
[0009] The gyro gain coefficient is loaded, and an offset coordinate is obtained according to the vibration simulation signal; the offset coordinate is a coordinate corresponding to the reference coordinate after compensation based on the gyro gain coefficient; and the anti-shake amplitude is obtained according to the reference coordinate and the offset coordinate.
[0010] Optionally, obtaining the compression ratio of the camera module according to the anti-shake amplitude and a preset target vibration angle includes:
[0011] According to the anti-shake amplitude, an anti-shake vibration angle is obtained; according to the anti-shake vibration angle and the target vibration angle, a compression ratio of the camera module is obtained.
[0012] Optionally, obtaining the compression ratio of the camera module according to the anti-shake amplitude and a preset target vibration angle includes:
[0013] According to the target vibration angle, a target amplitude is obtained; according to the anti-shake amplitude and the target amplitude, a compression ratio of the camera module is obtained.
[0014] Optionally, obtaining a target amplitude according to the target vibration angle includes:
[0015] The target amplitude is obtained according to the target vibration angle and a preset imaging distance; the target vibration angle is the upper limit of the vibration angle of the camera module.
[0016] Optionally, obtaining the compression ratio of the camera module according to the anti-shake amplitude and the target amplitude includes:
[0017] According to the formula The compression ratio is obtained; wherein SR is the compression ratio, B is the anti-shake amplitude, and T is the target amplitude.
[0018] Optionally, the reference coordinates are the center coordinates of imaging by the camera module.
[0019] In the second aspect, based on the same inventive concept, the present application provides the following technical solution through an embodiment:
[0020] An anti-shake detection device, comprising:
[0021] A jitter response module, used to obtain the anti-shake amplitude of the camera module when the anti-shake is turned on according to the vibration simulation signal, the gyro gain coefficient of the camera module and the reference coordinates of the camera module imaging; the vibration simulation signal is a signal of the standard vibration table vibrating at a preset target vibration angle;
[0022] The performance evaluation module is used to obtain the compression ratio of the camera module according to the anti-shake amplitude and a preset target vibration angle; the compression ratio is used to verify the anti-shake performance of the camera module.
[0023] In the third aspect, based on the same inventive concept, the present application provides the following technical solution through an embodiment:
[0024] An electronic device comprises a processor and a memory, wherein the memory is coupled to the processor and stores instructions, and when the instructions are executed by the processor, the electronic device executes the steps of any one of the methods described in the first aspect.
[0025] In the fourth aspect, based on the same inventive concept, the present application provides the following technical solution through an embodiment:
[0026] A readable storage medium stores a computer program, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect above.
[0027] An anti-shake detection method and device provided by an embodiment of the present invention obtains the anti-shake amplitude of the camera module when the anti-shake is turned on according to the vibration simulation signal, the gyro gain coefficient of the camera module and the reference coordinates of the camera module imaging; the vibration simulation signal is a signal of the standard vibration table vibrating according to the preset target vibration angle; then, according to the anti-shake amplitude and the preset target vibration angle, the compression ratio of the camera module is obtained; the compression ratio is used to verify the anti-shake performance of the camera module. As a result, when using this method to perform anti-shake detection on the camera module, it is no longer dependent on the vibration table, avoiding the accuracy difference between different vibration tables and improving the detection accuracy; at the same time, it also saves the detection cost.
[0028] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0030] Figure 1 A flowchart showing a flowchart of an anti-shake detection method provided by an embodiment of the present invention;
[0031] Figure 2 A schematic diagram of the vibration waveform of a standard vibration table in an embodiment of the present invention is shown;
[0032] Figure 3 A schematic diagram showing the trigonometric function relationship between the vibration amplitude, the vibration angle and the imaging distance in an embodiment of the present invention is shown;
[0033] Figure 4 A schematic diagram of the functional module structure of an anti-shake detection device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0034] The 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 accompanying 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 to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0035] See also Figure 1 , shows a flow chart of an anti-shake detection method provided by a first embodiment of the present invention; the anti-shake detection method comprises:
[0036] Step S10: obtaining the anti-shake amplitude of the camera module when the anti-shake is turned on according to the vibration simulation signal, the gyro gain coefficient of the camera module and the reference coordinates of the camera module imaging; the vibration simulation signal is a signal of the standard vibration table vibrating according to a preset target vibration angle;
[0037] Step S20: obtaining a compression ratio of the camera module according to the anti-shake amplitude and a preset target vibration angle; the compression ratio is used to verify the anti-shake performance of the camera module.
[0038] An anti-shake detection method in this embodiment is applied to perform OIS detection on a camera module. It can be executed in a driver IC of the camera module, or a hardware module for execution can be separately set. In this embodiment, execution based on the driver chip is used as an example. The method in this embodiment changes the existing conventional detection method. During the entire detection process, a vibration table is no longer used for vibration detection. Instead, a vibration simulation signal collected in advance based on a standard vibration table is used to make the tested camera module perform an anti-shake response to obtain an anti-shake amplitude; finally, the compression ratio can be determined based on the anti-shake amplitude and the target vibration angle. Therefore, the entire detection process can ensure the high consistency of the detection basis and eliminate the detection error problem caused by the difference in the vibration table. The specific embodiments of each step of this embodiment are elaborated and explained in detail below.
[0039] Step S10: According to the vibration simulation signal, the gyro gain coefficient of the camera module and the reference coordinates of the camera module imaging, the anti-shake amplitude of the camera module when the anti-shake is turned on is obtained; the vibration simulation signal is a signal of the standard vibration table vibrating according to a preset target vibration angle.
[0040] In step S10, the vibration simulation signal is a vibration waveform obtained by using a preset detection unit to perform vibration detection on a standard vibration table, and vibrating at a standard vibration angle and standard frequency used in the test of the camera module to be tested. The detection unit can at least detect the vibration waveform of the standard vibration table in the X-axis and Y-axis directions, such as Figure 2 As shown; Figure 2 The figure shows the vibration waveform detected by the detection unit when the standard vibration table is vibrated at a standard frequency of 4HZ and a standard vibration angle of 1°. The X-axis and Y-axis are the two vibration directions on the standard vibration table, which can be defined based on the actual vibration direction of the vibration table. The standard vibration table refers to a vibration table with qualified vibration error, which does not need to be corrected, and its various parameters are optimal or close to optimal.
[0041] The detection unit can be a standard gyroscope or a Hall sensor capable of detecting vibration signals, without limitation. The vibration simulation signal detected by the detection unit can be stored in a memory and sent to the driving chip of the camera module through a signal transmitter when needed.
[0042] Gyro Gain is the compensation coefficient for the reverse anti-shake of the IC motor driven by the gyroscope when it senses external shaking. It is used to convert the shaking angle into the code value that the motor needs to respond to and compensate after the camera module sends the shaking. After the motor compensates for the shaking angle, it is possible to ensure that the final camera module imaging is not blurred.
[0043] The reference coordinates are one or more coordinates selected by the camera module after shooting a test chart or other images for testing. The reference coordinates can be used as a reference basis after the camera module is shaken to identify the offset of the camera module's response vibration simulation signal and gyro gain coefficient, that is, the anti-shake amplitude. The test chart in this embodiment can be a commonly used black cross chart. Furthermore, the position of the reference coordinates is not limited. In this embodiment, it can be preferably the center coordinates of the camera module imaging to avoid the influence of factors such as camera module imaging distortion and improve the test accuracy.
[0044] A specific implementation method for obtaining the anti-shake amplitude can be referred to as follows:
[0045] First, the gyro gain coefficient can be loaded, and the offset coordinates can be obtained according to the vibration simulation signal; the offset coordinates are the coordinates corresponding to the reference coordinates after compensation based on the gyro gain coefficient; then, the anti-shake amplitude is obtained according to the reference coordinates and the offset coordinates. Specifically, after the driver chip loads the gyro gain coefficient, it can respond based on the vibration simulation signal transmitted by the signal transmitter to generate an adjustment signal for the lens part of the camera module; the motor of the camera module can control the movement of the lens part of the camera module based on the adjustment signal. At this time, since the camera module is not installed on the vibration table, it only responds and adjusts based on the vibration simulation signal; therefore, after the camera module responds to the vibration simulation signal, its reference coordinates will be offset when it images again, that is, the offset coordinates are obtained. Since the imaging distance is known, the anti-shake amplitude can be determined according to the reference coordinates and the offset coordinates. This amplitude is the amplitude generated by compensating the vibration simulation signal based on the gyro gain coefficient after the camera module turns on OIS.
[0046] Step S20: obtaining a compression ratio of the camera module according to the anti-shake amplitude and a preset target vibration angle; the compression ratio is used to verify the anti-shake performance of the camera module.
[0047] In step S20, the target vibration angle is the upper limit of the angle at which the camera module vibrates when performing an OIS test on the camera module, that is, the maximum angle. It can be understood that the target vibration angle is the upper limit of the anti-shake performance requirement of the camera module. In this embodiment, at least two implementation methods are provided for step S20:
[0048] 1. Determine the compression ratio based on the amplitude. The specific steps are as follows:
[0049] First, the target amplitude is obtained according to the target vibration angle. Since the imaging distance of the camera module is known, the target amplitude can be calculated according to the target vibration angle and the imaging distance; that is, the ratio of the target amplitude to the imaging distance is the tangent of the target vibration angle, such as Figure 3 shown.
[0050] Then, the compression ratio of the camera module is obtained based on the anti-shake amplitude and the target amplitude. Specifically, it can be based on the formula The compression ratio is obtained; wherein SR is the compression ratio, B is the anti-shake amplitude, and T is the target amplitude; when the anti-shake performance of the camera module is better, the anti-shake amplitude and the target amplitude are closer, therefore, the above compression ratio calculation method can replace the existing solution.
[0051] Through the above processing, the compression ratio can be determined by using the anti-shake amplitude and the target amplitude. There is no need to actually install the camera module on a vibration table for shooting tests, thus avoiding errors in the test results caused by differences in the accuracy of the vibration table. Furthermore, based on the test method of this embodiment, there is no need to install the camera on a vibration table, nor is there any need to obtain the static line width of the camera module in a static state, and there is no need to start the vibration table to obtain the line width of the camera module with OIS started and without OIS started. Therefore, the anti-shake test method of this embodiment also saves process steps.
[0052] 2. Determine the compression ratio based on the vibration angle. The specific steps are as follows:
[0053] First, the anti-shake vibration angle is obtained according to the anti-shake amplitude. Since the imaging distance of the camera module is known, the anti-shake vibration angle can be calculated according to the anti-shake amplitude and the imaging distance; that is, the ratio of the anti-shake amplitude to the imaging distance is the anti-shake vibration angle, which can also be referred to Figure 3 The principle shown, then, the anti-shake vibration angle can be determined through inverse trigonometric functions.
[0054] Then, the compression ratio of the camera module is obtained according to the anti-shake vibration angle and the target vibration angle. Specifically, the compression ratio of the camera module can be obtained based on the formula The compression ratio is obtained; wherein SR is the compression ratio, B′ is the anti-shake vibration angle, and T′ is the target vibration angle; when the anti-shake performance of the camera module is better, the anti-shake vibration angle and the target vibration angle are closer, therefore, the above compression ratio calculation method can replace the existing solution.
[0055] Finally, the optical image stabilization effect of the camera module can be determined based on the obtained compression ratio. The larger the compression ratio, the better the optical image stabilization effect. The compression ratio threshold can be set according to the needs to screen the camera modules that meet the requirements. The camera module with a compression ratio greater than the compression ratio threshold is a qualified camera module.
[0056] Furthermore, in this embodiment, the first method mentioned above can be preferably used to implement; in the actual test process, the target vibration angle is generally 1° to 2°, and the corresponding anti-shake vibration angle is also near the value range of the target vibration angle; therefore, a large error may be generated when performing inverse trigonometric function processing and logarithmic processing. Therefore, in this embodiment, the first method mentioned above can further reduce the error and improve the test accuracy.
[0057] In summary, the anti-shake detection method provided in this implementation obtains the anti-shake amplitude of the camera module when the anti-shake is turned on according to the vibration simulation signal, the gyro gain coefficient of the camera module and the reference coordinates of the camera module imaging; the vibration simulation signal is a signal of the standard vibration table vibrating according to the preset target vibration angle; then, according to the anti-shake amplitude and the preset target vibration angle, the compression ratio of the camera module is obtained; the compression ratio is used to verify the anti-shake performance of the camera module. As a result, when using this method to perform anti-shake detection on the camera module, it is no longer dependent on the vibration table, avoiding the accuracy difference between different vibration tables and improving the detection accuracy; at the same time, it also saves the detection cost.
[0058] See also Figure 4 Based on the same inventive concept, another embodiment of the present invention further provides an anti-shake detection device 300, comprising:
[0059] The jitter response module 301 is used to obtain the anti-shake amplitude of the camera module when the anti-shake is turned on according to the vibration simulation signal, the gyro gain coefficient of the camera module and the reference coordinates of the camera module imaging; the vibration simulation signal is a signal of the standard vibration table vibrating according to a preset target vibration angle; the performance evaluation module 302 is used to obtain the compression ratio of the camera module according to the anti-shake amplitude and the preset target vibration angle; the compression ratio is used to verify the anti-shake performance of the camera module.
[0060] As an optional implementation manner, the jitter response module 301 is specifically configured to:
[0061] The gyro gain coefficient is loaded, and an offset coordinate is obtained according to the vibration simulation signal; the offset coordinate is a coordinate corresponding to the reference coordinate after compensation based on the gyro gain coefficient; and the anti-shake amplitude is obtained according to the reference coordinate and the offset coordinate.
[0062] As an optional implementation, the performance evaluation module 302 is specifically used to:
[0063] According to the anti-shake amplitude, an anti-shake vibration angle is obtained; according to the anti-shake vibration angle and the target vibration angle, a compression ratio of the camera module is obtained.
[0064] As an optional implementation, the performance evaluation module 302 is specifically used to:
[0065] According to the target vibration angle, a target amplitude is obtained; according to the anti-shake amplitude and the target amplitude, a compression ratio of the camera module is obtained.
[0066] As an optional implementation, the performance evaluation module 302 is further specifically configured to:
[0067] The target amplitude is obtained according to the target vibration angle and a preset imaging distance; the target vibration angle is the upper limit of the vibration angle of the camera module.
[0068] As an optional implementation, the performance evaluation module 302 is further specifically configured to:
[0069] According to the formula The compression ratio is obtained; wherein SR is the compression ratio, B is the anti-shake amplitude, and T is the target amplitude.
[0070] As an optional implementation, the reference coordinates are the center coordinates of imaging by the camera module.
[0071] It should be noted that the anti-shake detection device 300 provided in the embodiment of the present invention has the same specific implementation and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0072] Based on the same inventive concept, another embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory is coupled to the processor, and the memory stores instructions, and when the instructions are executed by the processor, the electronic device executes the steps of the method described in any one of the aforementioned embodiments. It should be noted that, in the electronic device provided in the embodiment of the present invention, when the instructions are executed by the processor, the specific implementation of each step and the technical effect produced are the same as those in the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0073] Based on the same inventive concept, another embodiment of the present invention further provides a readable storage medium on which a computer program is stored, characterized in that when the program is executed by a processor, the steps of the method described in any one of the aforementioned method embodiments are implemented. It should be noted that in the readable storage medium provided in the embodiment of the present invention, when the program is executed by a processor, the specific implementation of each step and the technical effect produced are the same as those in the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference can be made to the corresponding contents in the aforementioned method embodiment.
[0074] The term "and / or" that appears in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship; the word "comprising" does not exclude the existence of elements or steps that are not listed in the claims. The word "one" or "an" placed before an element does not exclude the existence of multiple such elements. The present invention can be implemented with the aid of hardware including several different elements and with the aid of appropriately programmed computers. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
[0075] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may 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.
[0076] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0077] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0078] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0079] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0080] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for detecting anti-shake, characterized in that: include: Obtaining the anti-shake amplitude of the camera module when the anti-shake is turned on according to the vibration simulation signal, the gyro gain coefficient of the camera module and the reference coordinates of the camera module imaging; The vibration simulation signal is a signal of a standard vibration table vibrating at a preset target vibration angle; Obtaining a compression ratio of the camera module according to the anti-shake amplitude and a preset target vibration angle; The compression ratio is used to verify the anti-shake performance of the camera module; The method of obtaining the anti-shake amplitude of the camera module in the anti-shake on state according to the vibration simulation signal, the gyro gain coefficient of the camera module and the reference coordinate of the camera module imaging includes: Loading the gyro gain coefficient, and obtaining offset coordinates according to the vibration simulation signal; the offset coordinates are coordinates corresponding to the reference coordinates after compensation based on the gyro gain coefficient; The anti-shake amplitude is obtained according to the reference coordinates and the offset coordinates.
2. The method according to claim 1, characterized in that The step of obtaining the compression ratio of the camera module according to the anti-shake amplitude and a preset target vibration angle includes: Obtaining an anti-shake vibration angle according to the anti-shake amplitude; The compression ratio of the camera module is obtained according to the anti-shake vibration angle and the target vibration angle.
3. The method according to claim 1, characterized in that The step of obtaining the compression ratio of the camera module according to the anti-shake amplitude and a preset target vibration angle includes: According to the target vibration angle, a target amplitude is obtained; The compression ratio of the camera module is obtained according to the anti-shake amplitude and the target amplitude.
4. The method according to claim 3, characterized in that: The step of obtaining a target amplitude according to the target vibration angle includes: The target amplitude is obtained according to the target vibration angle and a preset imaging distance; the target vibration angle is the upper limit of the vibration angle of the camera module.
5. The method according to claim 3, characterized in that: The obtaining the compression ratio of the camera module according to the anti-shake amplitude and the target amplitude includes: According to the formula The compression ratio is obtained; wherein SR is the compression ratio, B is the anti-shake amplitude, and T is the target amplitude.
6. The method according to any one of claims 1 to 5, characterized in that: The reference coordinates are the center coordinates of the imaging module.
7. An anti-shake detection device, characterized in that: include: A jitter response module, used to obtain the anti-shake amplitude of the camera module when the anti-shake is turned on according to the vibration simulation signal, the gyro gain coefficient of the camera module and the reference coordinates of the camera module imaging; the vibration simulation signal is a signal of the standard vibration table vibrating at a preset target vibration angle; The jitter response module is specifically used for: Loading the gyro gain coefficient, and obtaining an offset coordinate according to the vibration simulation signal; the offset coordinate is a coordinate corresponding to the reference coordinate after compensation based on the gyro gain coefficient; obtaining the anti-shake amplitude according to the reference coordinate and the offset coordinate; A performance evaluation module, used for obtaining a compression ratio of the camera module according to the anti-shake amplitude and a preset target vibration angle; The compression ratio is used to verify the anti-shake performance of the camera module.
8. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory is coupled to the processor and stores instructions, and when the instructions are executed by the processor, the electronic device executes the steps of the method according to any one of claims 1 to 6.
9. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Vibration prevention control circuit of imaging device
CN101470313A
Mobile terminal-based OIS camera module test system and test method
CN105049839A