Control method of photographing device, control device, photographing device and electronic equipment

By establishing a bias database and biasing the first sampled data of the optical anti-shake controller, the problem of poor low-frequency jitter suppression effect in the prior art is solved, and effective low-frequency jitter suppression of the shooting device is achieved.

CN114745499BActive Publication Date: 2025-04-18VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210278504.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-21
Publication Date
2025-04-18
Estimated Expiration
2042-03-21

AI Technical Summary

Technical Problem

In the prior art, when the optical anti-shake system eliminates bias in the gyroscope output data, it filters out the low-frequency effective signal, resulting in the inability to effectively suppress low-frequency jitter.

Method used

By establishing a bias database, the target bias data is determined using the historical acquisition data of the inertial detection device, and the first sampled data of the optical anti-shake controller is biased to retain more low-frequency effective signals.

Benefits of technology

It realizes effective suppression of low-frequency jitter of the shooting device and improves the performance of the optical anti-shake system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114745499B_ABST
    Figure CN114745499B_ABST
Patent Text Reader

Abstract

The present application discloses a control method for a shooting device, a control device, a shooting device and an electronic device, and belongs to the technical field of electronic devices. The control method for a shooting device includes: determining target bias data in a bias database, the bias database includes historical acquisition data of an inertial detection device; obtaining first sampling data of an optical image stabilization controller; performing offset elimination on the first sampling data through the target bias data; and controlling the operation of a driving device according to the first sampling data after the offset elimination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a control method of a shooting device, a control device, a shooting device and an electronic device. Background Art

[0002] With the popularity of smart mobile devices such as mobile phones, people now have higher and higher requirements for the quality of their photographic images. In the existing technology, the optical image stabilization system uses a high-pass filter to eliminate the bias in the gyroscope output data. During the elimination process, the low-frequency effective signal is also filtered out, resulting in the optical image stabilization system being unable to effectively suppress low-frequency jitter. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a control method, a control device, a camera device and an electronic device for a camera device, so that more low-frequency effective signals of an inertial detection device can be retained during the optical image stabilization process, thereby enabling the optical image stabilization system to effectively suppress the low-frequency jitter of the camera device.

[0004] In a first aspect, an embodiment of the present application provides a control method for a shooting device, wherein the shooting device includes an optical image stabilization controller, an inertial detection device, and a driving device, and the control method includes: determining target bias data in a bias database, wherein the bias database includes historical acquisition data of the inertial detection device; obtaining first sampling data of the optical image stabilization controller; eliminating bias of the first sampling data through the target bias data; and controlling the operation of the driving device according to the first sampling data after the bias is eliminated.

[0005] In a second aspect, an embodiment of the present application provides a control device for a shooting device, wherein the shooting device includes an optical image stabilization controller, an inertial detection device and a driving device, and the control device includes: a determination module, used to determine target bias data in a bias database, the bias database including historical acquisition data of the inertial detection device; an acquisition module, used to acquire first sampling data of the optical image stabilization controller; a processing module, used to offset the first sampling data through the target bias data; and a control module, used to control the operation of the driving device according to the first sampling data after the bias is eliminated.

[0006] In a third aspect, an embodiment of the present application provides a shooting device, including: an inertia detection device; an inertia detection controller connected to the inertia detection device; an optical image stabilization controller connected to the inertia detection device; a storage device connected to the inertia detection controller and the optical image stabilization controller; and a driving device connected to the optical image stabilization controller.

[0007] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method of the first aspect.

[0008] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the control method of the shooting device of the first aspect are implemented.

[0009] In a sixth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the control method of the shooting device as in the first aspect.

[0010] In a seventh aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the control method of the shooting device as in the first aspect.

[0011] In the embodiment of the present application, when the shooting device is in operation, the target bias data in the bias database is determined according to the working parameters of the shooting device, and the target bias data is the historical acquisition data of the inertial detection device. Through the target bias data, the first sampling data of the optical image stabilization controller is offset eliminated, and the offset in the output data of the inertial detection device can be filtered out. Through the first sampling data after the offset is eliminated, the operation of the driving device can be accurately controlled, and the camera movement can be accurately controlled to eliminate the jitter during the shooting process.

[0012] The embodiment of the present application establishes a bias database through the historical collected data of the inertial detection device, and determines the target bias data in the bias database according to the current working condition parameters of the shooting device. After acquiring the first sampling data of the optical image stabilization controller, the first sampling data is offset eliminated through the target bias data, thereby eliminating the bias data in the first sampling data output by the inertial detection device to the optical image stabilization controller while avoiding filtering out the effective low-frequency signal in the first sampling data. Therefore, the driving device can be accurately controlled by the first sampling data after the offset is eliminated, and more low-frequency effective signals of the inertial detection device can be retained during the optical image stabilization process, thereby enabling the optical image stabilization system to effectively suppress the low-frequency jitter of the shooting device. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A schematic diagram showing a flow chart of a method for controlling a photographing device provided in an embodiment of the present application is shown;

[0014] Figure 2A schematic diagram showing a first-order linear regression fitting curve in an embodiment of the present application is shown;

[0015] Figure 3 A schematic diagram of a second-order linear regression fitting curve in an embodiment of the present application is shown;

[0016] Figure 4 A schematic diagram showing a multi-order linear regression fitting curve in an embodiment of the present application is shown;

[0017] Figure 5 A structural block diagram of a control device for a photographing device provided in an embodiment of the present application is shown;

[0018] Figure 6 One of the schematic diagrams of the photographing device provided in the embodiment of the present application is shown;

[0019] Figure 7 A second schematic diagram of a photographing device provided in an embodiment of the present application is shown;

[0020] Figure 8 A third schematic diagram of a photographing device provided in an embodiment of the present application is shown;

[0021] Fig. 9 A structural block diagram of an electronic device provided in an embodiment of the present application is shown;

[0022] Fig.10 A schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0025] The following is combined with Figures 1 to 10, the control method of the shooting device, the control device of the shooting device, the shooting device, the electronic device and the readable storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.

[0026] In an embodiment of the present application, a control method for a photographing device is provided, which is applied to a photographing device, wherein the photographing device includes an optical image stabilization controller, an inertia detection device, and a driving device. Figure 1 A schematic diagram of a control method for a photographing device according to an embodiment of the present application is shown. Figure 1 As shown, the control method of the shooting device includes:

[0027] Step 102, determining target bias data in the bias database;

[0028] Among them, the bias database includes historical collected data of the inertial detection device. The inertial detection device includes an inertial gyroscope. During the operation of the shooting device, the inertial detection device can collect the offset parameters of the camera of the shooting device, and the shooting device can correct the offset parameters. The inertial detection device periodically starts the bias calibration algorithm according to the preset strategy, and calibrates the bias data of the inertial detection device when starting the bias calibration algorithm. When the shooting device is in a standby state, the sampling data of the inertial detection device is obtained, and the sampling data is stored in the bias database. The bias data in the bias database can reflect the current bias situation of the inertial detection device. Specifically, the bias data is the offset of the parameters collected by the inertial detection device under the current working conditions, and the bias data is affected by the hardware characteristics and working environment of the inertial detection device. During the operation of the inertial detection device, the parameters collected by the inertial detection device are corrected by the bias data. Therefore, the bias data can reflect the bias situation of the inertial detection device.

[0029] The bias database also includes the operating parameters of the shooting device. There is a corresponding relationship between the operating parameters and the bias data in the bias database. When the shooting device is in operation, the current operating parameters of the shooting device are collected, and the target bias data in the bias database is determined according to the current operating parameters.

[0030] Exemplarily, the bias data in the bias database includes but is not limited to three-axis acceleration data and three-axis gyroscope data, and the operating parameters include but are not limited to temperature data. Among them, the three-axis acceleration data, the three-axis gyroscope data and the temperature data are stored according to a mapping relationship. When the shooting device is in operation, the current temperature data is collected, and the target bias data can be determined according to the temperature data.

[0031] Step 104, obtaining first sampling data of the optical image stabilization controller;

[0032] Among them, the shooting device has an optical image stabikization (OIS) function. The signal collected by the inertial detection device is filtered and transmitted to the optical image stabikization controller. The data received by the optical image stabikization controller is the first sampling data.

[0033] When the shooting device is in operation, first sampling data in the optical image stabilization controller is acquired, and the data is current sampling data collected by the inertial detection device, that is, the first sampling data.

[0034] Step 106, performing offset elimination on the first sampled data using the target offset data;

[0035] Specifically, since the target bias data is determined based on the current operating parameters of the shooting device, the target bias data can be used to eliminate the bias of the currently collected first sampling data. The first sampling data after bias elimination can retain more low-frequency effective signals output by the inertial detection device, thereby enabling the optical image stabilization system to effectively suppress low-frequency jitters.

[0036] It is worth noting that the low-frequency signal is a signal less than 2 Hz.

[0037] Step 108, controlling the operation of the driving device according to the first sampling data after the offset is eliminated.

[0038] The driving device is selected as a motor, and the motor can drive the camera to move according to the first sampling data after the offset is eliminated, thereby eliminating jitter.

[0039] In the embodiment of the present application, when the shooting device is in operation, the target bias data in the bias database is determined according to the working parameters of the shooting device, and the target bias data is the historical acquisition data of the inertial detection device. Through the target bias data, the first sampling data of the optical image stabilization controller is offset eliminated, and the offset in the output data of the inertial detection device can be filtered out. Through the first sampling data after the offset is eliminated, the operation of the driving device can be accurately controlled, and the camera movement can be accurately controlled to eliminate the jitter during the shooting process.

[0040] It is worth mentioning that the shooting devices include mobile phones, cameras, camcorders, etc.

[0041] In the related art, the data output by the gyroscope in the optical image stabilization system of the shooting device contains a large amount of residual bias data, and a high-pass filter is used to eliminate the bias data. However, in the process of eliminating the bias data through the high-pass filter, some effective low-frequency signals will also be filtered out, resulting in the optical image stabilization system being unable to effectively suppress low-frequency jitter.

[0042] The embodiment of the present application establishes a bias database through the historical collected data of the inertial detection device, and determines the target bias data in the bias database according to the current working condition parameters of the shooting device. After acquiring the first sampling data of the optical image stabilization controller, the first sampling data is offset eliminated through the target bias data, thereby eliminating the bias data in the first sampling data output by the inertial detection device to the optical image stabilization controller while avoiding filtering out the effective low-frequency signal in the first sampling data. Therefore, the driving device can be accurately controlled by the first sampling data after the offset is eliminated, and more low-frequency effective signals of the inertial detection device can be retained during the optical image stabilization process, thereby enabling the optical image stabilization system to effectively suppress the low-frequency jitter of the shooting device.

[0043] In some embodiments of the present application, determining target bias data in a bias database includes: acquiring first temperature data of a photographing device; and determining the target bias data according to the first temperature data and the bias database.

[0044] In an embodiment of the present application, the shooting device further includes a temperature acquisition device, which can be integrated in the inertial detection device. The bias data and the temperature data are stored in the bias database, and there is an association relationship between the temperature data and the bias data. During the operation of the shooting device, the temperature acquisition device can acquire the first temperature data of the shooting device, and the target bias data in the bias database can be determined based on the first temperature data and the association relationship stored in the bias database.

[0045] Specifically, the data bias generated by the inertial detection device during data collection is related to the working state of the shooting device. The working state includes the temperature of the shooting device. Therefore, in the process of establishing the bias database, the temperature data is associated with the bias data. During the operation of the shooting device, the first temperature data of the shooting device is collected by the temperature collection device, and the target bias data can be accurately found based on the first temperature data.

[0046] The embodiment of the present application determines the target bias data in the bias database based on the first temperature data collected during the operation of the shooting device, ensures that the found target bias data is consistent with the current temperature of the shooting device, and achieves the effect of accurately finding the target bias data in the bias database.

[0047] In some embodiments of the present application, target bias data is determined according to the first temperature data and the bias database, and the target bias data is determined, including:

[0048] When the first temperature data is stored in the bias database, searching for the corresponding target bias data according to the corresponding relationship;

[0049] When the first temperature data is not stored in the bias database, the temperature range data is searched based on the first temperature data, and the temperature range data is data corresponding to the temperature range of the first temperature data in the bias database; the target bias data is determined based on the temperature data in the temperature range data and the corresponding bias data.

[0050] It is understandable that in order to ensure the accuracy of the bias data in the bias database, in the process of establishing the bias database, the real historical collection data collected by the inertial detection device and the temperature data corresponding to the historical collection data are stored in the bias database.

[0051] In the embodiment of the present application, during the operation of the shooting device, first temperature data of the shooting device is collected, and the collected first temperature data is searched in the bias database.

[0052] When the first temperature data is found in the bias database, the bias data corresponding to the first temperature data in the bias database is used as the target bias data. Since the bias data and temperature data stored in the bias database are both real historical data collected by the inertial detection device, the target bias data found by searching the first temperature data has a higher accuracy.

[0053] In the case where the first temperature data is not found in the bias database, the temperature range data in the bias database can be found based on the first temperature data to ensure that the first temperature data is within the temperature range data. Specifically, the maximum temperature data in the temperature range data is the temperature data in the bias database that is greater than the first temperature data, and the minimum temperature data in the temperature range data is the temperature data in the bias database that is less than the first temperature data.

[0054] Figure 2 A schematic diagram showing a first-order linear regression fitting curve in an embodiment of the present application is shown, Figure 3 Schematic diagram showing a second-order linear regression fitting curve in an embodiment of the present application, Figure 4 A schematic diagram of a multi-order linear regression fitting curve in an embodiment of the present application is shown.

[0055] like Figure 2 , Figure 3 and Figure 4 As shown, the target bias data can be determined according to the obtained temperature range data and the bias data corresponding to the temperature data in the temperature range data. Specifically, the temperature data in the temperature range data and the corresponding bias data can be optionally subjected to a first-order linear regression calculation to obtain the target bias data corresponding to the first temperature data. It is also optional to perform a second-order or multi-order linear regression calculation based on multiple temperature data in the temperature range data and the corresponding multiple bias data to obtain the target bias data corresponding to the first temperature data.

[0056] In some embodiments, the bias data in the bias database includes three-axis gyroscope data and corresponding temperature data, and the bias data and the temperature data are stored in a table format.

[0057] The details are shown in Table 1.

[0058] Table 1

[0059]

[0060] Among them, GX_Offset is the X-axis gyroscope data, GY_Offset is the Y-axis gyroscope data, and GZ_Offset is the Z-axis gyroscope data.

[0061] It is worth noting that the table can also store three-axis acceleration data, which is also stored in a corresponding relationship with the temperature data, so that the corresponding three-axis acceleration data and three-axis gyroscope data can be found through the temperature data. Among them, due to the influence of production process tolerance, the temperature change characteristics of the three-axis acceleration data of different inertial detection devices are different.

[0062] By storing the temperature data and the bias data according to the association relationship between the two, it is convenient to search for the target bias data in the bias database according to the first temperature data.

[0063] In the embodiment of the present application, when the first temperature data is obtained, the first temperature data is searched in the bias database. When the bias data corresponding to the first temperature data is found, the bias data is used as the target bias data. When the first temperature data is not found, the target bias data is calculated by the temperature range data corresponding to the first temperature data and the corresponding bias data. The target bias data is made to correspond to the first temperature data collected during the operation of the shooting device, thereby improving the accuracy of the determined target temperature data.

[0064] In some embodiments of the present application, the photographing device further includes an inertia detection controller, and the inertia detection controller is connected to the inertia detection device.

[0065] Before determining the target bias data in the bias database, the method also includes: obtaining second sampling data of the inertial detection controller; obtaining second temperature data of the shooting device when the current posture of the shooting device is in a preset posture; and establishing a bias database according to the second temperature data and second sampling data corresponding to the second temperature data.

[0066] When the camera is in standby mode, that is, the camera has not started to operate, the inertia detection device continuously sends the second sampling data to the inertia detection controller. The inertia detection device is connected to the inertia detection controller, and the second sampling data is the sampling data transmitted from the inertia detection device to the inertia detection controller. Before being transmitted to the inertia detection controller, the second sampling data is filtered by the filter.

[0067] It is worth noting that when the shooting device is a portable smart terminal such as a mobile phone, the second sampling data is used to control the operation of the mobile phone. Specifically, when the mobile phone runs other applications, the mobile phone operates according to the second sampling data, for example: running game programs, running map programs, etc.

[0068] When the shooting device is in motion, that is, when the user carries the shooting device, the inertial detection device can continuously collect the second sampling data and transmit the second sampling data to the inertial detection controller. Since the shooting device is in motion at this time, the collected second sampling data is associated with the operating state of the shooting device.

[0069] In the embodiment of the present application, before storing the collected second sampling data in the bias database, it is necessary to determine whether the current posture of the camera device is in a preset posture, wherein the preset posture is that the camera device is in a stationary state. When the camera device is in a stationary state, the second sampling data collected by the inertial detection device at this time is the bias data of the inertial detection device. Since the bias data is related to the ambient temperature of the camera device, the second temperature data is collected when it is detected that the camera device is in a stationary state. An association relationship is established between the second temperature data collected when the camera device is in a stationary state and the second sampling data, and the second database and the second sampling data are stored in the bias database according to the association relationship, thereby completing the establishment of the bias database.

[0070] It is worth noting that the temperature change characteristics of the bias data will change with the use of the inertial detection device. When the shooting device is in standby or stopped, the second temperature data and the second sampling data are continuously collected to ensure that the correspondence between the bias data and the temperature in the bias database remains updated, thereby improving the accuracy of bias elimination during the shooting process.

[0071] It is worth noting that the bias database is established when the shooting device is in the standby state, that is, when the shooting device is in the standby state, the inertial detection device continuously collects the second sampling data and transmits it to the inertial detection controller.

[0072] In some possible implementations, the inertial detection device can collect the second sampled data in real time.

[0073] In some other possible implementations, the inertial detection device can collect the second sampled data according to a preset rule, that is, collect the second sampled data at intervals of a preset time length.

[0074] It can be understood that the second sampling data includes the collected three-axis acceleration data and three-axis gyroscope data.

[0075] In an embodiment of the present application, when the shooting device is in a standby state, the inertial detection device continuously collects the second sampling data and transmits it to the inertial detection controller. The inertial detection controller monitors the posture of the shooting device according to the second sampling data. When the posture of the shooting device is a preset posture, the current second sampling data and the corresponding temperature data are recorded, thereby realizing the establishment of a bias database and the continuous updating of the bias database when the shooting device is in a standby state.

[0076] In some embodiments of the present application, when the current posture of the shooting device is in a preset posture, before acquiring the second temperature data of the shooting device, it also includes: determining the current posture of the shooting device according to the second sampling data.

[0077] In the embodiment of the present application, the second sampling data includes but is not limited to three-axis acceleration data of the shooting device and three-axis gyroscope data, so the current posture of the shooting device can be monitored based on the collected second sampling data.

[0078] Specifically, the shooting device is a mobile phone, and the inertia detection device is set in the mobile phone. When the shooting function of the mobile phone is not turned on, the inertia detection device in the mobile phone continuously collects the second sampling data. The mobile phone can determine the current posture of the mobile phone based on the collected second sampling data.

[0079] The embodiment of the present application monitors the current posture of the shooting device based on the second sampling data collected by the inertial detection device, so that the shooting device can not only determine whether the shooting device is in a preset posture based on the second sampling data, but also establish a bias database based on the second sampling data when the shooting device is in the preset posture.

[0080] In some embodiments of the present application, the inertial detection device includes an acceleration detection device and a gyroscope, and the target bias data includes one or a combination of the following: three-axis acceleration data, three-axis gyroscope data.

[0081] In the embodiment of the present application, the inertial detection device includes a deceleration detection device for detecting acceleration data, and a gyroscope for detecting three-axis gyroscope data. It can be understood that the three-axis gyroscope data is the posture data of the camera. That is, the posture of the camera can be determined based on the three-axis gyroscope data, and the motion state of the camera can be determined based on the three-axis acceleration data.

[0082] It is worth noting that the bias data in the bias database are collected by an inertial detection device, and therefore, the bias data in the bias database are all three-axis acceleration data and three-axis gyroscope data.

[0083] The control method of the shooting device provided in the embodiment of the present application can be executed by the control device of the shooting device. In the embodiment of the present application, the control method of the shooting device performed by the control device of the shooting device is taken as an example to illustrate the control device of the shooting device provided in the embodiment of the present application.

[0084] In some embodiments of the present application, a control device for a photographing device is provided. Figure 5 The structure block diagram of the control device of the shooting device provided in the embodiment of the present application is shown as follows: Figure 5 As shown, the control device 500 of the shooting device includes:

[0085] A determination module 502 is used to determine target bias data in a bias database, where the bias database includes historical acquisition data of an inertial detection device;

[0086] An acquisition module 504 is used to acquire first sampling data of an optical image stabilization controller;

[0087] A processing module 506, configured to perform offset elimination on the first sampled data using target offset data;

[0088] The control module 508 is used to control the operation of the driving device according to the first sampling data after the offset is eliminated.

[0089] In the embodiment of the present application, when the shooting device is in operation, the target bias data in the bias database is determined according to the working parameters of the shooting device, and the target bias data is the historical acquisition data of the inertial detection device. Through the target bias data, the first sampling data of the optical image stabilization controller is offset eliminated, and the offset in the output data of the inertial detection device can be filtered out. Through the first sampling data after the offset is eliminated, the operation of the driving device can be accurately controlled, and the camera movement can be accurately controlled to eliminate the jitter during the shooting process.

[0090] It is worth mentioning that the shooting devices include mobile phones, cameras, camcorders, etc.

[0091] In the related art, the data output by the gyroscope in the optical image stabilization system of the shooting device contains a large amount of residual bias data, and a high-pass filter is used to eliminate the bias data. However, in the process of eliminating the bias data through the high-pass filter, some effective low-frequency signals will also be filtered out, resulting in the optical image stabilization system being unable to effectively suppress low-frequency jitter.

[0092] The embodiment of the present application establishes a bias database through the historical collected data of the inertial detection device, and determines the target bias data in the bias database according to the current working condition parameters of the shooting device. After acquiring the first sampling data of the optical image stabilization controller, the first sampling data is offset eliminated through the target bias data, thereby eliminating the bias data in the first sampling data output by the inertial detection device to the optical image stabilization controller while avoiding filtering out the effective low-frequency signal in the first sampling data. Therefore, the driving device can be accurately controlled by the first sampling data after the offset is eliminated, and more low-frequency effective signals of the inertial detection device can be retained during the optical image stabilization process, thereby enabling the optical image stabilization system to effectively suppress the low-frequency jitter of the shooting device.

[0093] In some embodiments of the present application, the acquisition module 504 is further used to acquire first temperature data of the shooting device;

[0094] The determination module 502 is further configured to determine target bias data according to the first temperature data and the bias database.

[0095] The embodiment of the present application determines the target bias data in the bias database based on the first temperature data collected during the operation of the shooting device, ensures that the found target bias data is consistent with the current temperature of the shooting device, and achieves the effect of accurately finding the target bias data in the bias database.

[0096] In some embodiments of the present application, the control device of the photographing device further includes:

[0097] A search module, used for searching corresponding target bias data according to the corresponding relationship when the first temperature data is stored in the bias database;

[0098] The search module is further used to search for temperature range data according to the first temperature data when the first temperature data is not stored in the bias database, the temperature range data being data corresponding to the temperature range in which the first temperature data is located in the bias database;

[0099] The determination module 502 is further configured to determine target offset data according to the temperature data in the temperature range data and the corresponding offset data.

[0100] In the embodiment of the present application, when the first temperature data is obtained, the first temperature data is searched in the bias database. When the bias data corresponding to the first temperature data is found, the bias data is used as the target bias data. When the first temperature data is not found, the target bias data is calculated by the temperature range data corresponding to the first temperature data and the corresponding bias data. The target bias data is made to correspond to the first temperature data collected during the operation of the shooting device, thereby improving the accuracy of the determined target temperature data.

[0101] In some embodiments of the present application, the photographing device further includes an inertia detection controller, and the inertia detection controller is connected to the inertia detection device.

[0102] The acquisition module is further used to acquire second sampling data of the inertia detection controller;

[0103] The acquisition module 504 is further used to acquire second temperature data of the camera when the current posture of the camera is in a preset posture;

[0104] The control device of the shooting device also includes:

[0105] The establishing module is used to establish a bias database according to the second temperature data and second sampling data corresponding to the second temperature data.

[0106] In an embodiment of the present application, when the shooting device is in a standby state, the inertial detection device continuously collects the second sampling data and transmits it to the inertial detection controller. The inertial detection controller monitors the posture of the shooting device according to the second sampling data. When the posture of the shooting device is a preset posture, the current second sampling data and the corresponding temperature data are recorded, thereby realizing the establishment of a bias database and the continuous updating of the bias database when the shooting device is in a standby state.

[0107] In some embodiments of the present application, the determination module 502 is used to determine the current posture of the camera according to the second sampling data.

[0108] The embodiment of the present application monitors the current posture of the shooting device based on the second sampling data collected by the inertial detection device, so that the shooting device can not only determine whether the shooting device is in a preset posture based on the second sampling data, but also establish a bias database based on the second sampling data when the shooting device is in the preset posture.

[0109] In some embodiments of the present application, the inertial detection device includes an acceleration detection device and a gyroscope, and the target bias data includes one or a combination of the following: three-axis acceleration data, three-axis gyroscope data.

[0110] In the embodiment of the present application, the inertial detection device includes a deceleration detection device for detecting acceleration data, and a gyroscope for detecting three-axis gyroscope data. It can be understood that the three-axis gyroscope data is the posture data of the camera. That is, the posture of the camera can be determined based on the three-axis gyroscope data, and the motion state of the camera can be determined based on the three-axis acceleration data.

[0111] It is worth noting that the bias data in the bias database are collected by an inertial detection device, and therefore, the bias data in the bias database are all three-axis acceleration data and three-axis gyroscope data.

[0112] The control device of the shooting device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0113] The control device of the shooting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0114] The control device of the shooting device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.

[0115] In some embodiments of the present application, a photographing device is provided. Figure 6 One of the schematic diagrams of the photographing device 600 provided in the embodiment of the present application is shown. Figure 6As shown, the photographing device 600 includes: an inertia detection device 604 , an inertia detection controller 606 , an optical image stabilization controller 608 , a storage device 610 and a driving device 612 .

[0116] The inertia detection controller 606 is connected to the inertia detection device 604 , the optical image stabilization controller 608 is connected to the inertia detection device 604 , the storage device 610 is connected to the inertia detection controller 606 and the optical image stabilization controller 608 , and the driving device 612 is connected to the optical image stabilization controller 608 .

[0117] In the embodiment of the present application, the shooting device is a shooting device with an optical image stabilization function, which can be specifically a mobile phone, a camera, a video camera, etc. The shooting device also includes a camera, which is connected to a driving device 612, and the driving device 612 can drive the camera to move.

[0118] Specifically, during the shooting process, the inertial detection device 604 can collect the first sampling data collected by the shooting device and transmit it to the optical image stabilization controller 608, the second sampling data can reflect the current posture of the shooting device, and the optical image stabilization controller 608 can control the operation of the driving device 612 according to the received first sampling data. Before controlling the operation of the driving device 612 according to the first sampling data, the optical image stabilization controller 608 can receive the target bias data from the storage device 610, and the optical image stabilization controller 608 can eliminate the offset of the first sampling data according to the target bias data in the bias database stored in the storage device 610. The optical image stabilization controller 608 controls the driving device 612 to drive the operation of the camera according to the first sampling data after the offset is eliminated.

[0119] The embodiment of the present application establishes a bias database through the historical collected data of the inertial detection device 604, and determines the target bias data in the bias database according to the current working condition parameters of the shooting device. After acquiring the first sampling data of the optical image stabilization controller 608, the first sampling data is offset eliminated through the target bias data, thereby eliminating the bias data in the first sampling data output by the inertial detection device 604 to the optical image stabilization controller 608, and avoiding filtering out the effective low-frequency signal in the first sampling data. Therefore, the driving device 612 can be accurately controlled by the first sampling data after the offset is eliminated, so that more low-frequency effective signals of the inertial detection device 604 can be retained during the optical image stabilization process, thereby enabling the optical image stabilization system to effectively suppress the low-frequency jitter of the shooting device.

[0120] like Figure 6 As shown, the inertia detection controller 606 and the storage device 610 are integrated on the circuit board, and the optical image stabilization controller 608, the inertia detection device 604 and the driving device 612 are separately provided.

[0121] Figure 7 The second schematic diagram of the photographing device 600 provided in the embodiment of the present application is shown. Figure 7 As shown, in some embodiments of the present application, the optical image stabilization controller 608, the inertia detection controller 606 and the storage device 610 are integrated on a circuit board. The inertia detection device 604 and the driving device 612 are separately provided.

[0122] Figure 8 The third schematic diagram of the photographing device 600 provided in the embodiment of the present application is shown. Figure 7 As shown, in some embodiments of the present application, the inertial detection controller 606 and the storage device 610 are integrated on a circuit board, and the optical image stabilization controller 608 is integrated in a driving device 612 .

[0123] In some embodiments of the present application, the photographing device 600 further includes: a first filter and a second filter.

[0124] The first filter is provided between the inertia detection device 604 and the inertia detection controller 606, and is used to filter the signal of the second sampling data transmitted to the inertia detection controller 606. The second filter is provided between the inertia detection device 604 and the optical image stabilization controller 608, and is used to filter the signal of the first sampling data transmitted to the optical image stabilization controller 608.

[0125] It is worth noting that the first sampled data is the sampled data filtered by the second filter, and the first sampled data is transmitted to the optical image stabilization controller 608 to control the driving device to realize the image stabilization function of the shooting device. The second sampled data is the sampled data filtered by the first filter, and the second sampled data is transmitted to the inertia detection controller 606 for controlling the shooting device 600 to run other functions (non-shooting functions).

[0126] Optionally, an embodiment of the present application further provides an electronic device, Fig. 9 A structural block diagram of an electronic device according to an embodiment of the present application is shown. Fig. 9 As shown, the electronic device 900 includes a processor 902 and a memory 904. The memory 904 stores programs or instructions that can be executed on the processor 902. When the program or instructions are executed by the processor 902, the various steps of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0127] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0128] Fig.10A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0129] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

[0130] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The structure of the electronic device shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0131] The processor 1010 is used to determine target bias data in a bias database, where the bias database includes historical collection data of an inertial detection device;

[0132] Processor 1010, configured to obtain first sampling data of an optical image stabilization controller;

[0133] The processor 1010 is configured to perform offset elimination on the first sample data using the target offset data;

[0134] Processor 1010, used to control the operation of the driving device according to the first sampling data after the offset is eliminated

[0135] The embodiment of the present application establishes a bias database through the historical collected data of the inertial detection device, and determines the target bias data in the bias database according to the current working condition parameters of the shooting device. After acquiring the first sampling data of the optical image stabilization controller, the first sampling data is offset eliminated through the target bias data, thereby eliminating the bias data in the first sampling data output by the inertial detection device to the optical image stabilization controller while avoiding filtering out the effective low-frequency signal in the first sampling data. Therefore, the driving device can be accurately controlled by the first sampling data after the offset is eliminated, and more low-frequency effective signals of the inertial detection device can be retained during the optical image stabilization process, thereby enabling the optical image stabilization system to effectively suppress the low-frequency jitter of the shooting device.

[0136] Further, the processor 1010 is used to obtain first temperature data of the shooting device;

[0137] The processor 1010 is configured to determine target bias data according to the first temperature data and the bias database.

[0138] The embodiment of the present application determines the target bias data in the bias database based on the first temperature data collected during the operation of the shooting device, ensures that the found target bias data is consistent with the current temperature of the shooting device, and achieves the effect of accurately finding the target bias data in the bias database.

[0139] Further, the processor 1010 is used to search for corresponding target bias data according to the corresponding relationship when the first temperature data is stored in the bias database;

[0140] The processor 1010 is configured to search for temperature range data according to the first temperature data when the first temperature data is not stored in the bias database, the temperature range data being data corresponding to the temperature range in which the first temperature data is located in the bias database;

[0141] The processor 1010 is used to determine target bias data according to the temperature data in the temperature range data and the corresponding bias data.

[0142] In the embodiment of the present application, when the first temperature data is obtained, the first temperature data is searched in the bias database. When the bias data corresponding to the first temperature data is found, the bias data is used as the target bias data. When the first temperature data is not found, the target bias data is calculated by the temperature range data corresponding to the first temperature data and the corresponding bias data. The target bias data is made to correspond to the first temperature data collected during the operation of the shooting device, thereby improving the accuracy of the determined target temperature data.

[0143] Furthermore, the photographing device also includes an inertia detection controller, and the inertia detection controller is connected to the inertia detection device.

[0144] Processor 1010, configured to obtain second sampling data of the inertia detection controller;

[0145] The processor 1010 is configured to obtain second temperature data of the camera when the current posture of the camera is in a preset posture;

[0146] The processor 1010 is configured to establish a bias database according to the second temperature data and second sampling data corresponding to the second temperature data.

[0147] In an embodiment of the present application, when the shooting device is in a standby state, the inertial detection device continuously collects the second sampling data and transmits it to the inertial detection controller. The inertial detection controller monitors the posture of the shooting device according to the second sampling data. When the posture of the shooting device is a preset posture, the current second sampling data and the corresponding temperature data are recorded, thereby realizing the establishment of a bias database and the continuous updating of the bias database when the shooting device is in a standby state.

[0148] Further, the processor 1010 is used to determine the current posture of the camera according to the second sampling data.

[0149] The embodiment of the present application monitors the current posture of the shooting device based on the second sampling data collected by the inertial detection device, so that the shooting device can not only determine whether the shooting device is in a preset posture based on the second sampling data, but also establish a bias database based on the second sampling data when the shooting device is in the preset posture.

[0150] Further, the inertial detection device includes an acceleration detection device and a gyroscope, and the target bias data includes one or a combination of the following: three-axis acceleration data, three-axis gyroscope data.

[0151] The inertial detection device includes a deceleration detection device for detecting acceleration data, and a gyroscope for detecting triaxial gyroscope data. It can be understood that the triaxial gyroscope data is the posture data of the camera. That is, the posture of the camera can be determined based on the triaxial gyroscope data, and the motion state of the camera can be determined based on the triaxial acceleration data.

[0152] It is worth noting that the bias data in the bias database are collected by an inertial detection device, and therefore, the bias data in the bias database are all three-axis acceleration data and three-axis gyroscope data.

[0153] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0154] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0155] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.

[0156] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the control method embodiment of the above-mentioned shooting device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0157] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0158] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the control method embodiment of the above-mentioned shooting device, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0159] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0160] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the control method embodiment of the above-mentioned shooting device, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0161] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0162] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0163] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for controlling a photographing device, characterized in that: The shooting device includes an optical image stabilization controller, an inertia detection device, a driving device and a camera, and the control method includes: Determining target offset data in an offset database, wherein the offset database includes historically collected data of the inertial detection device; When the shooting device is in a running state, acquiring first sampling data in the optical image stabilization controller, where the first sampling data is current sampling data collected by the inertial detection device; Eliminating the bias of the first sampling data by using the target bias data; Controlling the driving device to drive the camera to move according to the first sampling data after the offset is eliminated; The shooting device further includes an inertia detection controller, which is connected to the inertia detection device. Before determining the target offset data in the offset database, the method further includes: When the photographing device is in a standby state, the inertia detection device continuously sends the second sampling data to the inertia detection controller; Acquiring the second sampling data of the inertia detection controller; determining the current posture of the camera according to the second sampling data, When the current posture of the camera is in a preset posture, acquiring second temperature data of the camera, wherein the preset posture includes that the camera is in a stationary state; The bias database is established according to the second temperature data and the second sampling data corresponding to the second temperature data.

2. The control method of the photographing device according to claim 1, characterized in that: The determining target bias data in the bias database comprises: Acquiring first temperature data of the photographing device; The target offset data is determined according to the first temperature data and the offset database.

3. The control method of the photographing device according to claim 2, characterized in that: The step of determining the target bias data according to the first temperature data and the bias database comprises: In the case where the first temperature data is stored in the bias database, searching for the corresponding target bias data according to the corresponding relationship; In the case that the first temperature data is not stored in the bias database, searching for temperature range data according to the first temperature data, the temperature range data being data corresponding to the temperature range in which the first temperature data is located in the bias database; The target offset data is determined according to the temperature data in the temperature range data and the corresponding offset data.

4. The control method of the photographing device according to any one of claims 1 to 3, characterized in that: The inertial detection device includes an acceleration detection device and a gyroscope. The target bias data includes one or a combination of the following: three-axis acceleration data, three-axis gyroscope data.

5. A control device for a photographing device, characterized in that: The shooting device includes an optical image stabilization controller, an inertia detection device, a driving device and a camera, and the control device includes: A determination module, used to determine target offset data in an offset database, wherein the offset database includes historical acquisition data of the inertial detection device; an acquisition module, configured to acquire first sampling data in the optical image stabilization controller when the shooting device is in operation, wherein the first sampling data is current sampling data collected by the inertial detection device; A processing module, configured to perform offset elimination on the first sampling data by using the target offset data; A control module, configured to control the driving device to drive the camera to move according to the first sampling data after the offset is eliminated; The photographing device further includes an inertia detection controller, and the inertia detection controller is connected to the inertia detection device; When the photographing device is in a standby state, the inertia detection device continuously sends the second sampling data to the inertia detection controller; The acquisition module is further used to acquire second sampling data of the inertia detection controller; A determination module, configured to determine a current posture of the camera according to the second sampling data; The acquisition module is further used to acquire second temperature data of the camera when the current posture of the camera is in a preset posture, and the preset posture includes that the camera is in a stationary state; The establishing module is used to establish a bias database according to the second temperature data and second sampling data corresponding to the second temperature data.

6. A photographing device, comprising the control device for the photographing device according to claim 5, characterized in that: The inertia detection controller is connected to the inertia detection device; The optical image stabilization controller is connected to the inertia detection device; A driving device connected to the optical image stabilization controller; The photographing device also includes: a storage device, connected to the inertial detection controller and the optical image stabilization controller, and used to store the target bias data; a first filter, disposed between the inertia detection device and the inertia detection controller, for filtering a signal of second sampling data transmitted to the inertia detection controller; The second filter is disposed between the inertial detection device and the optical image stabilization controller, and is used for filtering the signal of the first sampling data transmitted to the optical image stabilization controller.

7. An electronic device, characterized in that: include: A memory on which programs or instructions are stored; A processor, configured to implement the steps of the control method of the shooting device according to any one of claims 1 to 6 when executing the program or instruction.

Citation Information

Patent Citations

  • Image anti-shake method, electronic equipment and storage medium

    CN111711756A