CN113156638A - Circuit control method and device, camera module, terminal equipment and storage medium - Google Patents

Circuit control method and device, camera module, terminal equipment and storage medium Download PDF

Info

Publication number
CN113156638A
CN113156638A CN202110218219.9A CN202110218219A CN113156638A CN 113156638 A CN113156638 A CN 113156638A CN 202110218219 A CN202110218219 A CN 202110218219A CN 113156638 A CN113156638 A CN 113156638A
Authority
CN
China
Prior art keywords
camera module
acceleration
optical filter
driving device
filter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110218219.9A
Other languages
Chinese (zh)
Inventor
谢良瓛
陈文章
魏君竹
张耀中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang OFilm Tech Co Ltd
Nanchang OFilm Optoelectronics Technology Co Ltd
Original Assignee
Nanchang OFilm Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanchang OFilm Optoelectronics Technology Co Ltd filed Critical Nanchang OFilm Optoelectronics Technology Co Ltd
Priority to CN202110218219.9A priority Critical patent/CN113156638A/en
Publication of CN113156638A publication Critical patent/CN113156638A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B26/00Optical devices or arrangements for the control of light using movable or deformable optical elements
    • G02B26/007Optical devices or arrangements for the control of light using movable or deformable optical elements the movable or deformable optical element controlling the colour, i.e. a spectral characteristic, of the light
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B11/00Filters or other obturators specially adapted for photographic purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Astronomy & Astrophysics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Optics & Photonics (AREA)
  • Studio Devices (AREA)
  • Blocking Light For Cameras (AREA)

Abstract

The application discloses a circuit control method and device, a camera module, terminal equipment and a storage medium, and belongs to the technical field of circuits. The circuit control method is applied to a camera module, the camera module comprises a driving device and an optical filter assembly, the optical filter assembly comprises at least two optical filters, the frequency bands of the at least two optical filters for filtering light rays are different, and the driving device is used for providing holding force for the optical filter assembly after the optical filter assembly is driven to be switched from a first optical filter used at present to a second optical filter so as to fix the second optical filter at the switched position; the circuit control method comprises the following steps: after the driving device is controlled to provide the holding force, acquiring the acceleration of the camera module; and when the acceleration of the camera module is smaller than a first preset acceleration, controlling the driving device to stop providing the holding force. This application can control the holding power that drive device stopped providing, reduces ICR's the degree of generating heat, improves the life of camera module.

Description

Circuit control method and device, camera module, terminal equipment and storage medium
Technical Field
The present disclosure relates to the field of circuit technologies, and in particular, to a circuit control method and apparatus, a camera module, a terminal device, and a storage medium.
Background
With the rapid development of scientific technology, more and more functions can be realized in the terminal, for example, more and more terminals can realize functions of shooting, monitoring, video and the like through installed camera modules. The camera modules arranged on some terminals can further comprise various optical filters, and the terminals can shoot under different scenes by controlling the switching of the optical filters. At present, a camera module is often provided with an IR-Cut Filter Removable (ICR), and a terminal can switch optical filters through the ICR, so that the camera module can be used in different environments. When the camera module is in an environment with large vibration, in order to improve the stability of the ICR in daily use, the terminal can also continue to supply power to the ICR after the ICR is controlled to be switched, so that extra external force is added, and the position of the switched optical filter is more stable after the switching.
In the technical scheme shown above, because the ICR is continuously powered after the switching is completed, heat is generated inside the ICR, the temperature of the ICR is too high, the problem of damage of the ICR is caused, and the service life of the camera module is shortened.
Disclosure of Invention
The embodiment of the application provides a circuit control method and device, a camera module, a terminal device and a storage medium, which can prevent the problem of overhigh temperature of the camera module caused by continuously providing retention force for an optical filter assembly after the optical filter is switched, and prolong the service life of the camera module.
In one aspect, an embodiment of the present application provides a circuit control method, where the circuit control method is performed by a camera module in the camera module, where the camera module includes a driving device and at least two filters, where the at least two filters filter light in different frequency bands, and the driving device is configured to provide a holding force to the filter assembly after driving the filter assembly to switch from a first filter currently used to a second filter, so as to fix the second filter in a switched position; the circuit control method includes:
after the driving device is controlled to provide the holding force, acquiring the acceleration of the camera module;
and when the acceleration of the camera module is smaller than a first preset acceleration, controlling the driving device to stop providing the holding force.
In this application embodiment, after control drive device provides the holding power to the second light filter, through the acceleration that acquires the camera module to when the acceleration of camera module is less than first predetermined acceleration, control drive device stops the holding power that provides, makes the camera module break the above-mentioned holding power that provides in more steady environment, reduces ICR's the degree of generating heat, practices thrift ICR's energy consumption, improves the life of camera module.
As an optional implementation manner, in an aspect of the embodiment of the present application, after the acquiring the acceleration of the camera module, the method further includes:
acquiring a sub-acceleration of the acceleration in a first direction according to the acceleration of the camera module, wherein the first direction is a direction opposite to the switching direction of the optical filter;
when the acceleration of camera module is less than first preset acceleration, control drive device stops providing holding power includes:
and when the sub-acceleration is smaller than the first preset acceleration, controlling the driving device to stop providing the holding force.
In the embodiment of the application, after the acceleration of the camera module is judged, the component of the acceleration in the first direction is obtained, and whether to interrupt the provided retention force is determined through the component, so that the misjudgment rate of the external environment is reduced, and the accuracy of judging the external environment is improved.
As an optional implementation manner, in an aspect of the embodiments of the present application, the method further includes:
and when the acceleration of the camera module is not less than a first preset acceleration and less than a second preset acceleration, controlling the driving device to increase the holding force.
In this embodiment, when the acceleration of the camera module that above-mentioned acquireed is in between first preset acceleration and the second preset acceleration, the camera module can increase the holding power that provides, further improves the anti-vibration ability of camera module, reinforcing stability.
As an optional implementation manner, in an aspect of the embodiments of the present application, the camera module further includes a temperature sensor, where the temperature sensor is configured to acquire a temperature of the driving device, and the method further includes:
acquiring temperature data in the temperature sensor;
determining a maximum current increase in the drive device based on the temperature data;
when the acceleration of camera module is not less than first predetermined acceleration, and is less than second predetermined acceleration, control drive device increases the holding power includes:
and when the acceleration of the camera module is not less than a first preset acceleration and less than a second preset acceleration, controlling the driving device to increase the holding force by increasing the current value in the driving device by the maximum current increment.
In this embodiment, the camera module further includes a temperature sensor, and the maximum current increase amount in the driving device is further determined by the acquired temperature data in the temperature sensor, that is, the magnitude of the retention force that needs to be increased is determined, so that the flexibility of providing the retention force by the camera module is improved.
As an optional implementation manner, in an aspect of the embodiment of the present application, the determining a maximum current increase amount in the driving device according to the temperature data includes:
when the temperature data is smaller than the preset temperature threshold, determining the maximum current increment in the driving device according to the temperature data;
after the acquiring temperature data in the temperature sensor, the method further comprises:
and when the temperature data is not less than the preset temperature threshold value, controlling the driving device to stop providing the holding force.
In the embodiment of the application, whether the temperature in the current ICR is too high is judged through the acquired temperature data in the temperature sensor, so that whether the current is increased or interrupted is judged, the situation that the holding force is still provided under the condition of too high temperature is prevented, the heating degree of the ICR is further reduced, and the service life of the camera module is prolonged.
As an optional implementation manner, in an aspect of the embodiments of the present application, the camera module further includes a heat dissipation device, where the heat dissipation device is configured to reduce a temperature of the driving device, and the method further includes:
and when the temperature data is not less than the preset temperature threshold value, controlling the heat dissipation device to work.
In this application embodiment, still including the heat dissipation device in the camera module, when temperature data is not less than preset temperature threshold, control heat dissipation device work, in time with ICR's heat reduction, improve the security that the camera module used.
As an optional implementation, in an aspect of the embodiment of the present application, after the controlling the driving device to stop providing the holding force, the method further includes:
and when the acceleration of the camera module is not less than the first preset acceleration, controlling the driving device to provide the holding force for the second optical filter.
In this application embodiment, the camera module can also control the drive device to provide the holding power to the second light filter when the acceleration of camera module is not less than first predetermined acceleration, promptly, when turning into the great environment of vibration from the less environment of vibration, increases the holding power that provides above-mentioned again, improves the stability of camera module.
As an optional implementation manner, in an aspect of the embodiment of the present application, before the acquiring the acceleration of the camera module, the method further includes:
receiving an optical filter switching signal, and controlling the camera module to switch a first optical filter currently used into a second optical filter according to the optical filter switching signal;
recording a first position of the second optical filter after switching;
and acquiring a second position of the second optical filter in real time, and when the second position is the same as the first position, executing the step of acquiring the acceleration of the camera module after controlling the driving device to provide the holding force.
In this application embodiment, the camera module can also be with the first position record of the second light filter after the switching to acquire the second position of second light filter in real time, in the second position with the acceleration of camera module is just acquireed to the first position is the same, and it is inaccurate to external environment judgement when preventing that the second light filter from taking place the dislocation, has increased the detection to the light filter position, has improved the accuracy of judging to external environment.
As an optional implementation manner, in an aspect of an embodiment of the present application, the acquiring, in real time, a second position of the second filter includes:
acquiring an image picture acquired by the camera module in real time;
and acquiring a second position of the second optical filter in real time according to the image picture.
In this application embodiment, the camera module acquires the second position through combining the image picture that the camera module was gathered, need not detect the light filter position through extra hardware, has simplified circuit design, has improved the utilization ratio of camera module inner space.
As an optional implementation manner, in an aspect of the embodiments of the present application, the method further includes:
when the second position is different from the first position, controlling the driving device to provide a driving force to the optical filter assembly to drive the second optical filter to change from the second position to the first position.
In this application embodiment, when the second position is different from the first position, the camera module can also adjust the position of the second optical filter to the first position, which improves the accuracy of the camera module in judging the external environment.
In another aspect, an embodiment of the present application provides a circuit control apparatus, where the circuit control apparatus is implemented by a camera module in the camera module, the camera module includes a driving device and a filter assembly, the filter assembly includes at least two filters, the at least two filters filter light in different frequency bands, and the driving device is configured to provide a holding force to the filter assembly after driving the filter assembly to switch from a first filter currently used to a second filter, so as to fix the second filter in a switched position; the circuit control device includes:
the acceleration acquisition module is used for acquiring the acceleration of the camera module after controlling the driving device to provide the holding force;
and the holding force control module is used for controlling the driving device to stop providing the holding force when the acceleration of the camera module is smaller than a first preset acceleration and smaller than a second preset acceleration.
In another aspect, an embodiment of the present application provides a camera module, which includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor is enabled to implement the circuit control method according to the above aspect and any optional implementation manner thereof.
In another aspect, an embodiment of the present application provides a terminal device, where the terminal device includes at least one camera module according to the above aspect.
In another aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the circuit control method according to the another aspect and the alternatives thereof.
The technical scheme provided by the embodiment of the application can at least comprise the following beneficial effects:
in this application embodiment, after control drive device provides the holding power to the second light filter, through the acceleration that acquires the camera module to when the acceleration of camera module is less than first predetermined acceleration, control drive device stops the holding power that provides, this application can make the camera module break the above-mentioned holding power that provides in more steady environment, reduces ICR's the degree of generating heat, practices thrift ICR's energy consumption, improves the life of camera module.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a filter switching method according to an exemplary embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of another optical filter switching provided in an exemplary embodiment of the present application;
FIG. 3 is a flow chart of a method of controlling a circuit according to an exemplary embodiment of the present application;
FIG. 4 is a flow chart of a method of controlling a circuit according to an exemplary embodiment of the present application;
fig. 5 is a schematic interface diagram of an image frame acquired by a camera module according to an exemplary embodiment of the present application;
fig. 6 is a schematic structural diagram of a filter switching structure according to an exemplary embodiment of the present disclosure;
fig. 7 is a block diagram of a circuit control device according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
It should be noted that the terms "first", "second", "third" and "fourth", etc. in the description and claims of the present application are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and "having," and any variations thereof, of the embodiments of the present application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The scheme provided by the application can be used in the process of adapting to different use scenes by switching the optical filters when the terminal used by people in daily life comprises the electromagnetic dual-optical-filter switcher, and for convenience of understanding, some terms and application architectures related to the embodiment of the application are briefly introduced below.
The double-Filter switcher (ICR) is characterized in that a group of filters are arranged in a lens module of a camera module, and when an infrared sensing point outside the lens detects the change of the intensity of light, the built-in ICR automatically switches the filters, so that the switching is realized according to the change of the intensity of external light, and the image achieves the best effect.
In daily life, a camera module has been applied to various terminals, and people can take pictures, record videos, and the like by using the camera module. Due to the fact that the quality of the images acquired by the terminal through the camera module is different in different scenes, for example, the quality of the images acquired by the terminal through the camera module is better under the condition that the light intensity is stronger in the daytime, and the quality of the images acquired by the terminal through the camera module is poorer under the condition that the light intensity is weaker at night.
At present, a set of optical filters is arranged in a lens module of the camera module, and the used optical filters are switched according to the light intensity conditions in the daytime and at night, so that the quality of images acquired at night can be improved. Please refer to fig. 1, which shows a schematic structural diagram of a filter switching method according to an exemplary embodiment of the present disclosure. As shown in fig. 1, the filter switching structure 100 includes a filter set 110, a rocker arm 120, a magnet 130, an electromagnetic coil 140, a first electrode 150, and a second electrode 160.
Alternatively, the optical filter switching structure 100 may be applied to a camera module, or may be installed in a terminal. The filter set 110 may at least include a first filter 111 and a second filter 112, the filter set 110 may be mechanically connected to the rocker arm 120, the rocker arm 120 is integrally connected to the magnet 130, and the terminal supplies power to the electromagnetic coil 140 through the first electrode 150 and the second electrode 160, so that the first electromagnetic pole 141 and the second electromagnetic pole 142 are N poles or S poles, respectively, and the electromagnetic coil generates electromagnetic force to push the magnet 130 to rotate. For example, in fig. 1, if the terminal supplies power to the electromagnetic coil 140 through the first electrode 150 and the second electrode 160, the first electromagnetic pole 141 is an S pole, and the second electromagnetic pole 142 is an N pole, the magnet 130 can be pushed to rotate counterclockwise, so as to drive the optical filter to switch.
Please refer to fig. 2, which shows a schematic structural diagram of another optical filter switching method according to an exemplary embodiment of the present application. As shown in fig. 2, the filter switching structure 200 includes a filter set 210, a motor 220, a driving plate 230, and a sliding rail 240.
Alternatively, the filter switching structure 200 may also be applied to a camera module, or installed in a terminal. The filter set 210 may at least include a first filter 211 and a second filter 212, the second filter 212 is embedded in the driving plate 230, the motor 220 may be electrically connected to the driving plate 230, the driving plate 230 is sleeved on the sliding rail 240, and the motor 220 may provide power to the driving plate 230, so that the driving plate 230 slides on the sliding rail 240, thereby implementing switching of the filters. For example, in fig. 2, if the power supplied from the motor 220 to the driving plate 230 is an upward power, the driving plate 230 may be slid upward such that the second filter covers the first filter, thereby implementing a function of using the second filter. If the power provided by the motor 220 to the driving plate 230 is downward power, the driving plate 230 can be made to slide downward, and the second filter previously covering the first filter moves downward, completely exposing the first filter, thereby implementing the function of using the first filter.
In both the electromagnetic filter switching control structure shown in fig. 1 and the motor filter switching control structure shown in fig. 2, after the filter switching is completed, power supply to the electromagnetic coil or the motor is interrupted, and the magnet is held at the switched position by an attractive force between the magnet and the permanent magnet or a frictional force between the driving piece and the slide rail, so that the lens module operates using the switched second filter. For the scheme, if the environmental vibration frequency of the lens module is high, the magnet can be separated from the permanent magnet, or the driving sheet moves on the slide rail, so that the second optical filter after switching is subjected to position deviation, the application scene of the scheme is limited, and the stability of the optical filter after switching is poor.
Therefore, in view of the above-mentioned scheme, a mode of continuously providing a small voltage to the electromagnetic coil after the switching of the optical filter is completed is proposed at present, so that in the structure of electromagnetically controlling the switching of the optical filter, on the basis of the original attraction force between the magnet and the permanent magnet, an additional electromagnetic force is added, so as to improve the anti-vibration capability of the optical filter in the control circuit, reduce the false operation of the optical filter switching circuit in the vibration environment, and enhance the stability of the optical filter in the control circuit after switching. Or after the optical filter is switched, a mode of continuously providing a smaller voltage for the motor is adopted, so that in the structure of controlling the optical filter to be switched in the motor mode, on the basis of the friction force between the original driving sheet and the sliding rail, the mode of adding extra driving force can also improve the stability of the optical filter after being switched.
However, in the above solution, if the vibration amplitude of the external environment becomes weak, the continuously supplied small voltage is mainly converted into heat energy, so that the temperature in the filter switching structure continuously rises, which causes damage to the motor or the electromagnetic coil and reduces the service life of the camera module.
In order to reduce ICR's the degree of generating heat, improve the life of camera module, this application has proposed a solution, can judge whether to continue to provide foretell less voltage through the acceleration of this camera module through the acceleration that acquires the camera module, has realized the flexibility that provides voltage, has avoided ICR's temperature to continuously rise to improve ICR's life.
Referring to fig. 3, a method flowchart of a circuit control method according to an exemplary embodiment of the present application is shown. The circuit control method is applied to a camera module, the camera module comprises a driving device and at least two optical filters, the frequency bands of the at least two optical filters for filtering light rays are different, the driving device is used for providing a holding force for the second optical filter after the camera module is driven to be switched from a first optical filter used at present to a second optical filter, and the second optical filter is fixed at the switched position. As shown in fig. 3, the circuit control method may include several steps as follows.
And step 301, after controlling the driving device to provide the holding force, acquiring the acceleration of the camera module.
Optionally, the camera module provided by the present application may include a driving device and at least two optical filters, where the frequency bands of the at least two optical filters for filtering light are different, for example, one of the at least two optical filters may be a visible light filter, the other is an infrared light filter, and the other may be an ultraviolet light filter. Alternatively, the driving device may be an electromagnetic coil as shown in fig. 1, and the electromagnetic coil generates electromagnetic force after being electrified, so that the optical filter is switched. In the application, the respective working filtering frequency bands of the at least two optical filters are different, so that the optical filter component switches different optical filters according to different external environments.
After the electromagnetic coil drives the camera module to be switched from the currently used first optical filter to the second optical filter, the first voltage can be continuously provided for the electromagnetic coil to increase the electromagnetic force of the electromagnetic coil, so that the second optical filter is fixed at the switched position, and the anti-displacement capability of the switched second optical filter at the fixed position is improved. Here, the electromagnetic force increased by the first voltage may be regarded as a holding force here. Optionally, the driving device may also be the motor shown in fig. 2, and the manner of continuously providing the first voltage to the motor may refer to the description in fig. 2, and is not described herein again, and the driving force increased by the first voltage in this manner may be regarded as the holding force here.
In the present application, after the driving device provides the holding force, the acceleration of the camera module can be acquired. Optionally, in a Printed Circuit Board Assembly (PCBA) of the camera module, a gyroscope or an acceleration sensor may be set, and the camera module may acquire an acceleration of the camera module by acquiring data in the gyroscope or the acceleration sensor.
And step 302, when the acceleration of the camera module is smaller than a first preset acceleration, controlling the driving device to stop providing the holding force.
Optionally, the camera module determines whether to stop providing the holding force by judging a magnitude relation between the acquired acceleration of the camera module and a first preset acceleration. The first preset acceleration may be set by a developer in advance for the camera module. For example, the first predetermined acceleration is 10m/s2(meter per square second), if the obtained acceleration of the camera module is 5m/s2Then, the camera module may control the driving device to stop providing the holding force. The stopping of the supply of the holding force can be regarded as the stopping of the camera module from supplying the first voltage to the driving device, so that the driving device cancels extra holding force.
In summary, in the embodiment of the present application, after the control driving device provides the holding power to the second optical filter, the acceleration of the camera module is obtained, and when the acceleration of the camera module is smaller than the first preset acceleration, the control driving device stops providing the holding power.
In a possible implementation manner, the camera module provided by the application can also detect the position of the optical filter, and if the optical filter is shifted, the optical filter can be driven to a correct position, so that the phenomenon that the position of the optical filter is shifted when the holding force is cancelled is prevented.
Referring to fig. 4, a method flowchart of a circuit control method according to an exemplary embodiment of the present application is shown. The circuit control method is applied to a camera module, the camera module comprises a driving device and at least two optical filters, the frequency bands of the at least two optical filters for filtering light rays are different, the driving device is used for providing a holding force for the second optical filter after the camera module is driven to be switched from a first optical filter used at present to a second optical filter, and the second optical filter is fixed at the switched position. As shown in fig. 4, the circuit control method may include several steps as follows.
Step 401, receiving the optical filter switching signal, and controlling the camera module to switch the currently used first optical filter to the second optical filter according to the optical filter switching signal.
Optionally, the camera module may further receive a filter switching signal, where the filter switching signal is a signal for controlling to switch a currently used first filter to a second filter. That is, in this embodiment of the application, the camera module may receive an optical filter switching signal sent by another processor or sensor, so as to trigger itself to input a voltage to the driving device, thereby implementing switching of the optical filter.
For example, a sensor or other processor may acquire a change in the external environment. In the ICR that this application provided, can detect the change of external environment light through the photo resistance, when the resistance value of photo resistance is less than predetermineeing the threshold value, can regard external environment daytime, when the resistance value of photo resistance is not less than predetermineeing the threshold value, can regard external environment night. When the resistance values of the photoresistors are sequentially switched on two sides of the preset threshold value, the change of the external environment is indicated, and an optical filter switching signal can be sent to the camera module. Alternatively, the filter switcher may use the visible light filter when the external environment is daytime, and the filter switcher may use the infrared light filter when the external environment is nighttime.
That is, when the resistance value of the photoresistor changes from being not less than the preset threshold value to being less than the preset threshold value, it indicates that the optical filter switcher needs to use the visible light optical filter to trigger the optical filter switching signal, so that the camera module controls to switch the optical filter module from the currently used infrared optical filter to the visible light optical filter. When the resistance value of the photoresistor changes from being smaller than the preset threshold value to being not smaller than the preset threshold value, the optical filter switcher needs to use the infrared optical filter to trigger the optical filter switching signal, and therefore the camera module controls the optical filter module to be switched from the currently used visible light optical filter to the infrared optical filter. It should be noted that the detection of the change in the external environment by the photo resistor is exemplary, and the manner of acquiring the filter switching signal is not limited in the present application.
Step 402, recording a first position of the second optical filter after switching.
After the switching of the optical filters is completed, the camera module can record the first position of the second optical filter.
For example, the second optical filter corresponds to a first position identifier, after the switching of the optical filters is completed, the camera module may record the first position identifier corresponding to the second optical filter, where the first position identifier is 1, which may indicate that the second optical filter is the currently used optical filter, and the first position identifier is 0, which may indicate that the second optical filter is not the currently used optical filter. After the camera module controls the driving device to drive the camera module to switch from the first optical filter currently used to the second optical filter, the camera module changes the first position identifier corresponding to the second optical filter from 0 to 1, and records that the first position of the second optical filter is the currently used position through the first position identifier.
For example, the first filter may be a visible light filter, and the second filter may be an infrared light filter. When the optical filter switching signal is a signal for controlling the currently used visible light optical filter to be switched to the infrared optical filter, the camera module switches the currently used visible light optical filter to the infrared optical filter, changes the first position identifier corresponding to the infrared optical filter from 0 to 1, and records that the first position of the infrared optical filter at the moment is the currently used position.
In a possible implementation manner, the camera module may further acquire an image picture captured by one frame after the switching of the optical filter is completed, establish a rectangular coordinate system for the image picture, and record an origin (0, 0) in the rectangular coordinate system as the first position after the switching of the second optical filter.
And 403, acquiring a second position of the second optical filter in real time.
Optionally, in the working process of the camera module, the camera module may further obtain a second position of the second optical filter in real time, where the second position is equivalent to the current position of the second optical filter.
In a possible implementation manner, the camera module can acquire an image picture acquired by the camera module in real time; and acquiring a second position of the second optical filter in real time according to the image picture. For example, after the camera module acquires a frame of image shot by the camera module, the camera module may identify the image, check whether the image includes a color outside the second optical filter operating frequency band, indicate that the position of the second optical filter is shifted if the image includes a color outside the second optical filter operating frequency band, acquire corresponding shift information according to the pixel position of the color outside the second optical filter operating frequency band identified in the image, and adjust the second position identifier. The second position identifier is similar to the first position identifier, and when the second position identifier is 0, the second position identifier may indicate that the actual position of the second optical filter is not the previously recorded current use position, and when the first position identifier is 1, the first position identifier may indicate that the actual position of the second optical filter is the previously recorded current use position.
For example, the second optical filter is an infrared optical filter, colors in an image frame acquired by the camera module after filtering through the infrared optical filter are also image frames corresponding to an infrared light frequency band, when vibration occurs, if the position of the infrared optical filter is shifted, parts of other optical filters are also located at the current working position, and the acquired image frame also includes image contents corresponding to light frequency bands which are permeable by other optical filters. The camera module can determine a pixel position adjacent to a first picture according to a pixel position corresponding to a color outside a working frequency band of a second optical filter in an acquired image picture, acquire the number of pixel points contained between a boundary and the edge of the second picture according to the pixel position, and acquire corresponding offset information from the number of the pixel points, wherein the first picture is a picture corresponding to the infrared optical filter in the image picture, the second picture is a picture corresponding to other optical filters in the image picture, and the boundary is a boundary between the first picture and the second picture.
Please refer to fig. 5, which illustrates an interface diagram of an image frame acquired by a camera module according to an exemplary embodiment of the present application. As shown in fig. 5, the image frame 500 includes a first frame 501, a second frame 502, and a first pixel 503, where the first frame 501 is a frame corresponding to the ir filter in the image frame, and the second frame 502 is a frame corresponding to other filters in the image frame, the camera module can acquire the number of pixels included between the first pixel 503 and the second frame edge 502a, and if the offset information is greater than 0, the camera module changes the second position identifier to 0, which can indicate that the second filter is offset.
Corresponding to one possible implementation manner, the camera module may acquire a position coordinate of a boundary between the first image and the second image in the image, and use the position coordinate of the boundary as the second position of the second filter.
In step 404, when the second position is different from the first position, the driving device is controlled to provide a driving force to the filter assembly to drive the second filter to change from the second position to the first position.
Optionally, the camera module may determine whether the obtained second position identifier is the same as the first position identifier, and when the second position identifier is different from the first position identifier, it indicates that the second position is different from the first position, and at this time, the camera module is required to control the driving device to drive the second optical filter to change from the second position to the first position. When the second location identifier is the same as the first location identifier, indicating that the second location is the same as the first location, step 405 can be directly performed. Optionally, the above situation of determining the form of the position coordinate is the same, and is not described herein again.
Optionally, when the camera module controls the driving device to drive the second optical filter to change from the second position to the first position, the driving device drives the second optical filter to change from the second position to the first position by inputting a current into the first circuit. The first circuit can be a circuit for controlling the switching of the optical filter in the camera module.
For example, please refer to fig. 6, which shows a schematic structural diagram of a filter switching structure according to an exemplary embodiment of the present application. As shown in fig. 6, which includes the current position 601, the second filter 602, and the actual position 603, after the switching is completed, the second filter 602 should be at the current position 601, if the actual position 603 of the second filter 602 is in the above step. As shown in fig. 6, it is explained that the second filter is shifted, and the camera module can input current into the first circuit, so that the driving circuit drives the second filter to change from the actual position 603 to the current use position 601.
And step 405, acquiring the acceleration of the camera module after controlling the driving device to provide the holding force.
Optionally, the manner in which the camera module acquires the acceleration of the camera module may refer to the description in step 301, and is not described herein again.
And step 406, acquiring a sub-acceleration of the acceleration in a first direction according to the acceleration of the camera module, wherein the first direction is a direction opposite to the optical filter switching direction.
Optionally, in this embodiment of the application, the camera module may further acquire a sub-acceleration of the acceleration in the first direction according to the acquired acceleration of the camera module. Wherein the first direction is a direction opposite to the filter switching direction. That is, the camera module decomposes the acquired acceleration of the camera module to obtain an acceleration parallel to the first direction and an acceleration perpendicular to the first direction, and since the acceleration parallel to the first direction may cause the optical filter to be displaced, the camera module performs the determination of the subsequent step by acquiring a sub-acceleration of the acceleration in the first direction.
And step 407, controlling the driving device to stop providing the holding force when the sub-acceleration is smaller than the first preset acceleration.
Optionally, the camera module determines whether to stop providing the holding force by judging the magnitude relation between the sub-acceleration and the first preset acceleration. That is, in practical applications, when the acceleration in the first direction is smaller than the first preset acceleration, the force corresponding to the acceleration is insufficient to shift the switched second filter, and thus, the holding force by which the driving device stops supplying may be controlled. Alternatively, the first preset acceleration may be measured and set in advance by a developer.
For example, in fig. 1, if the acceleration in the first direction is smaller than the first predetermined acceleration, which indicates that the force corresponding to the acceleration is smaller than the attractive force between the magnet and the permanent magnet, no additional electromagnetic force needs to be provided to the electromagnetic coil, and the camera module interrupts the electromagnetic force provided previously. Alternatively, in fig. 2, if the acceleration in the first direction is smaller than the first predetermined acceleration, which indicates that the force corresponding to the acceleration is smaller than the friction force between the driving plate and the sliding rail, no additional voltage needs to be input into the motor, and the camera module interrupts the previously supplied smaller voltage.
In a possible implementation manner, when the acceleration of the camera module is greater than the second preset acceleration, the driving device is controlled to increase the holding force. The second preset acceleration is larger than the first preset acceleration, and the second preset acceleration can be measured in advance by developers and is arranged in the camera module. That is, in practical applications, when the acceleration of the camera module is greater than the second preset acceleration, the external force corresponding to the acceleration of the camera module may cause the second optical filter to shift even when the holding force is provided, and therefore, the provided holding force needs to be increased, so that the camera module may arbitrarily hold the second optical filter at the switched position when the current acceleration is provided.
For example, in fig. 1, if the acceleration of the camera module is greater than the second predetermined acceleration, it is indicated that the external force corresponding to the vibration of the external environment is greater than the sum of the attraction force between the magnet and the permanent magnet and the additional electromagnetic force applied to the electromagnetic coil, so that the camera module can further increase the additional electromagnetic force applied to the electromagnetic coil, and the camera module can resist the external force corresponding to the vibration of the external environment.
In a possible implementation manner, the camera module further includes a temperature sensor, and the temperature sensor is used for acquiring the temperature of the driving device, and the temperature data in the temperature sensor can also be acquired; from the temperature data, the maximum current increase in the drive device is determined. That is, the maximum current increase amount corresponding to the holding force that needs to be increased is determined from the temperature data in the temperature sensor. Optionally, the camera module may also obtain the maximum current increase amount that needs to be increased at this time through the obtained corresponding relationship between the temperature data and the maximum current increase amount. Please refer to table 1, which shows a table of correspondence between temperature intervals and maximum current increase according to an embodiment of the present application.
Temperature interval Maximum current increase
0 to 5 DEG C 5 milliamp
5 to 10 DEG C 3 milliamp
At 11-15 deg.C 1 milliamp
15 to 20 DEG C 0.5 milliamp
…… ……
TABLE 1
As shown in table 1, after the camera module acquires the temperature data, the camera module can acquire the section where the temperature data is located, and look up table 1 to obtain the maximum current increase amount corresponding to the temperature data. For example, if the temperature data obtained is 15 degrees celsius, then the maximum current increase obtained by looking up table 1 is 0.5 milliamps. The camera module may increase the current input to the driving device by a current increase amount (first current increase amount) of any magnitude of 0 to 0.5 ma to increase the provided holding force. When the acceleration of the camera module is greater than the second preset acceleration, the driving device can be controlled to increase the holding force by increasing the current value in the driving device by the first current increment.
Optionally, the first current increment may be obtained by obtaining a difference between the obtained acceleration of the camera module and a second preset acceleration. For example, the difference between the acceleration of the camera module that the camera module can acquire and the second preset acceleration is calculated according to the difference, and most of force needs to be increased on the basis of the original holding force, so that the camera module can resist external force corresponding to the external environment during vibration.
In a possible implementation manner, the camera module may further detect a magnitude relationship between the temperature data and a preset temperature threshold; when the temperature data is smaller than a preset temperature threshold value, executing a step of determining the maximum current increment in the driving device according to the temperature data; and when the temperature data is not less than the preset temperature threshold value, controlling the driving device to stop providing the holding force. The preset temperature preset value may also be measured and set in advance by a developer. The preset temperature threshold may be the highest temperature that the ICR can bear, that is, if the temperature in the camera module is higher than the preset temperature threshold, it indicates that the ICR is likely to be damaged, and the retention force needs to be stopped. If the temperature data is less than the preset temperature threshold, the current may be increased appropriately according to the above steps to improve the holding force.
In a mode that probably realizes, still include the heat dissipation device in the above-mentioned camera module, the heat dissipation device is used for reducing the temperature of drive device, and when temperature data was not less than and predetermines the temperature threshold value, the work of heat dissipation device can also be controlled to the camera module to the realization carries out radiating effect to ICR inside.
In a possible implementation mode, the camera module can also obtain a vibration grade according to the sub-acceleration, wherein the vibration grade is used for representing the vibration degree of the environment where the driving device is located; this step can be replaced by: and controlling the driving device to stop providing the holding force when the vibration level is lower than a first preset level. Optionally, the camera module may also obtain the vibration degree of the environment where the driving device is located through the obtained correspondence between the sub acceleration and the vibration level, and when the vibration level is lower than the first preset level, the driving device may be controlled to stop providing the holding force. Wherein the first preset level may also be measured and set in advance by a developer.
Please refer to table 2, which shows a table of correspondence between acceleration intervals and vibration levels according to an embodiment of the present application.
Interval of acceleration Vibration level
0~4m/s2 First stage
4~6m/s2 Second stage
6~9m/s2 Three-stage
9~13m/s2 Four stages
…… ……
TABLE 2
As shown in table 2, after the camera module acquires the sub-acceleration, the camera module may acquire the interval where the sub-acceleration is located, and look up table 2 to obtain the vibration level corresponding to the sub-acceleration. For example, the sub-acceleration obtained is 5m/s2Then, by referring to table 2, the obtained vibration level is two-level. When the first preset level is level 3, the camera module can control the driving device to stop providing the holding force.
Optionally, when the vibration level is not lower than the first preset level and lower than the second preset level, the camera module may further control the driving device to increase the holding force. Wherein the second vibration level may also be measured and set in advance by a developer. That is, in practical applications, when the vibration level is not lower than the first preset level and lower than the second preset level, the external force corresponding to the vibration level may cause the second filter to shift when the holding force is provided, and therefore, the provided holding force needs to be increased. For example, in fig. 1, if the vibration level is not lower than the first predetermined level and lower than the second predetermined level, it indicates that the external environment vibrates and the corresponding external force is greater than the sum of the attraction force between the magnet and the permanent magnet and the additional electromagnetic force applied to the electromagnetic coil, so that the camera module can further increase the additional electromagnetic force applied to the electromagnetic coil. Alternatively, the manner of increasing the holding force may be referred to the above description and will not be described herein.
And step 408, after controlling the driving device to stop providing the holding force, when the acceleration of the camera module is not less than the first preset acceleration and is less than the second preset acceleration, controlling the driving device to provide the holding force to the second optical filter.
That is, after the above-mentioned holding force provided to the second optical filter is removed, if the obtained acceleration of the camera module is not less than the first preset acceleration and is less than the second preset acceleration, the camera module may also increase the holding force back, that is, the driving device continues to be controlled to provide the holding force to the second optical filter. In this application, when the camera module changes from the less environment of vibration to the great environment of vibration in, the camera module can add back again the holding power that removes before to continue to provide the holding power to the second light filter, improve the stability of light filter. In this step, the determination of the acceleration and the first preset acceleration may refer to the manners in steps 406 to 407, which are not described herein again.
In summary, in the embodiment of the present application, after the control driving device provides the holding power to the second optical filter, the acceleration of the camera module is obtained, and when the acceleration of the camera module is smaller than the first preset acceleration, the control driving device stops providing the holding power.
In addition, in this application embodiment, the camera module can also be with the first position record of the second light filter after the switching to acquire the second position of second light filter in real time, in the second position with the acceleration of camera module is just acquired to the first position is the same, prevents the inaccuracy that external environment judged when the second light filter takes place the dislocation, has increased the detection to the light filter position, has improved the accuracy of external environment judgement.
In addition, in this application embodiment, still include the heat dissipation device in the camera module, when temperature data is not less than preset temperature threshold, control the work of heat dissipation device, in time with ICR's heat reduction, improve the security that the camera module used.
In addition, in this embodiment of the application, the camera module further includes a temperature sensor, and the maximum current increase amount in the driving device is further determined through the acquired temperature data in the temperature sensor, that is, the magnitude of the retention force that needs to be increased is determined, so that the flexibility of providing the retention force by the camera module is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 7, a block diagram of a circuit control apparatus 700 according to an exemplary embodiment of the present disclosure is shown, where the circuit control apparatus 700 may be applied to a camera module in the camera module, where the camera module includes a driving device and at least two filters, where the at least two filters filter light beams in different frequency bands, and the driving device is configured to provide a holding force to a second filter after driving the camera module to switch from a first filter currently used to the second filter, so as to fix the second filter at a switched position; the circuit control device includes:
an acceleration obtaining module 701, configured to obtain an acceleration of the camera module after controlling the driving device to provide the holding force;
a holding force control module 702, configured to control the driving device to stop providing the holding force when the acceleration of the camera module is smaller than a first preset acceleration.
In summary, in the embodiment of the present application, after the control driving device provides the holding power to the second optical filter, the acceleration of the camera module is obtained, and when the acceleration of the camera module is smaller than the first preset acceleration, the control driving device stops providing the holding power.
Optionally, the apparatus further comprises:
a sub-acceleration obtaining module 701, configured to obtain, after the acceleration obtaining module 701 obtains the acceleration of the camera module, a sub-acceleration of the acceleration in a first direction according to the acceleration of the camera module, where the first direction is a direction opposite to a target direction, and the target direction is a moving direction of the second optical filter when the optical filter assembly is switched from the first optical filter currently used to the second optical filter;
the holding force control module 702 is further configured to control the driving device to stop providing the holding force when the sub acceleration is smaller than the first preset acceleration.
Optionally, the apparatus further comprises:
and the holding force increasing module is used for controlling the driving device to increase the holding force when the acceleration of the camera module is greater than a second preset acceleration, and the second preset acceleration is greater than the first preset acceleration. .
Optionally, still include temperature sensor in the camera module, temperature sensor is used for acquireing drive device's temperature, the device still includes:
the temperature acquisition module is used for acquiring temperature data in the temperature sensor;
the current determining module is used for determining the maximum current increment in the driving device according to the temperature data;
the holding force increasing module is used for increasing a current value in the driving device by a first current increment when the acceleration of the camera module is larger than the second preset acceleration so as to control the driving device to increase the holding force, wherein the first current increment is not larger than the maximum current increment.
Optionally, the current determining module is configured to determine, according to the temperature data, a maximum current increase in the driving device when the temperature data is smaller than the preset temperature threshold;
the device further comprises:
and the first control module is used for controlling the driving device to stop providing the holding force when the temperature data is not less than the preset temperature threshold value after the temperature data in the temperature sensor is acquired by the temperature acquisition module.
Optionally, the camera module further includes a heat dissipation device, the heat dissipation device is used to reduce the temperature of the driving device, and the apparatus further includes:
and the second control module is used for controlling the heat dissipation device to work when the temperature data is not less than the preset temperature threshold value.
Optionally, the apparatus further comprises:
and the third control module is used for controlling the driving device to provide the holding force for the second optical filter when the acceleration of the camera module is not less than the first preset acceleration and is less than the second preset acceleration after controlling the driving device to stop providing the holding force.
Optionally, the apparatus further comprises:
a signal receiving module, configured to receive an optical filter switching signal before the acceleration obtaining module 701 obtains the acceleration of the camera module, and control the camera module to switch a currently used first optical filter to a second optical filter according to the optical filter switching signal;
the position recording module is used for recording the first position of the switched second optical filter;
the position acquisition module is used for acquiring a second position of the second optical filter in real time;
and the second execution module is used for executing the step of acquiring the acceleration of the camera module after controlling the driving device to provide the holding force when the second position is the same as the first position.
Optionally, the position obtaining module includes: a picture acquisition unit and a position acquisition unit;
the image acquisition unit is used for acquiring image images acquired by the camera module in real time;
and the position acquisition unit is used for acquiring the second position of the second optical filter in real time according to the image picture.
Optionally, the apparatus further comprises:
and the fourth control module is used for controlling the driving device to provide driving force for the optical filter component when the second position is different from the first position so as to drive the second optical filter to change from the second position to the first position.
In a possible implementation manner, the circuit control method may be applied to a camera module, where the camera module includes a memory and a processor, and the memory stores a computer program, and when the computer program is executed by the processor, the processor is enabled to implement the circuit control method as shown in any one or more of fig. 3 or fig. 4, so as to control the switching of the self-filter.
In a possible implementation manner, the camera module may be applied to a terminal device, and the terminal device may include at least one camera module as described above. Optionally, the terminal device may be a terminal device that can be equipped with a camera module.
For example, the terminal device may be a vehicle-mounted device, for example, a driving computer with a video recording function, or a wireless communication device externally connected to the driving computer.
Alternatively, the terminal device may be a roadside device, for example, a street lamp, a signal lamp or other roadside device with a monitoring function.
Alternatively, the terminal equipment may be user terminal equipment such as mobile telephones (or "cellular" telephones) and computers with mobile terminals, such as portable, pocket, hand-held, computer-included or vehicle-mounted mobile devices. For example, a Station (STA), a subscriber unit (subscriber unit), a subscriber Station (subscriber Station), a mobile Station (mobile), a remote Station (remote Station), an access point (ap), a remote terminal (remote terminal), an access terminal (access terminal), a user equipment (user terminal), a user agent (user agent), a user equipment (user device), or a user terminal (UE). For example, the terminal device 110 may be a mobile phone, a tablet computer, an e-book reader, smart glasses, a smart watch, an MP4(Moving Picture Experts Group Audio Layer IV) player, a notebook computer, a laptop computer, a desktop computer, and the like.
Optionally, the processor in the terminal device may include one or more processing cores. The processor connects various parts within the overall terminal device using various interfaces and lines, performs various functions of the terminal device and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory, and calling data stored in the memory. Alternatively, the processor may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is to be understood that the modem may be implemented by a communication chip without being integrated into the processor.
The Memory in the terminal device may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). The memory may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like. The storage data area may also store data created by the terminal device in use, and the like. It is understood that the terminal device may include more or less structural elements than those shown in the above structural block diagrams, for example, a power module, a speaker, a bluetooth module, a sensor, etc., which are not limited herein.
Taking the terminal device as an example of a vehicle-mounted terminal, the camera module is an Electronic Control Unit (ECU) in the vehicle-mounted terminal. The vehicle-mounted terminal comprises the camera module shown in the figure 1, and the ECU can receive the optical filter switching signal and further control the optical filter to switch. For example, when the external environment changes from daytime to night, the ECU may control the camera module to switch from the currently used visible light filter to the infrared light filter, and provide a holding force to the infrared light filter in order to improve stability, so that the infrared light filter is fixed at the switched position.
ECU judges the magnitude relation between acceleration and the first predetermined acceleration through the acceleration that obtains the camera module, and when the acceleration of camera module was less than first predetermined acceleration, the extra electric current of interruption to solenoid provided stopped providing the holding power, thereby reduces the inside thermal production of ICR, increase of service life. After controlling the solenoid coil to stop providing the holding force, if the acceleration of the camera module becomes not less than the first preset acceleration again, the ECU may control the solenoid coil to provide the holding force by supplying the extra current to the solenoid coil again.
In summary, in the embodiment of the present application, after the control driving device provides the holding power to the second optical filter, the acceleration of the camera module is obtained, and when the acceleration of the camera module is smaller than the first preset acceleration, the control driving device stops providing the holding power.
The embodiment of the application also discloses a computer readable storage medium which stores a computer program, wherein the computer program realizes the method in the embodiment of the method when being executed by a processor.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are all alternative embodiments and that the acts and modules involved are not necessarily required for this application.
In various embodiments of the present application, it should be understood that the size of the serial number of each process described above does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The circuit control method, the circuit control device, the camera module, the terminal device and the storage medium disclosed in the embodiments of the present application are introduced by way of example, and a principle and an implementation manner of the present application are explained in this document by applying an example, and the description of the embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

1. A circuit control method is applied to a camera module, the camera module comprises a driving device and a filter assembly, the filter assembly comprises at least two filters, the frequency bands of the at least two filters for filtering light are different, the driving device is used for providing a holding force for the filter assembly after the filter assembly is driven to be switched from a first filter currently used to a second filter, so as to fix the second filter at the switched position; the circuit control method includes:
after the driving device is controlled to provide the holding force, acquiring the acceleration of the camera module;
and when the acceleration of the camera module is smaller than a first preset acceleration, controlling the driving device to stop providing the holding force.
2. The circuit control method according to claim 1, further comprising, after the obtaining the acceleration of the camera module:
acquiring a sub-acceleration of the acceleration in a first direction according to the acceleration of the camera module, wherein the first direction is a direction opposite to a target direction, and the target direction is a moving direction of the second optical filter when the optical filter assembly is switched from the first optical filter which is currently used to the second optical filter;
when the acceleration of camera module is less than first preset acceleration, control drive device stops providing holding power includes:
and when the sub-acceleration is smaller than the first preset acceleration, controlling the driving device to stop providing the holding force.
3. The circuit control method according to claim 1, further comprising:
and when the acceleration of the camera module is greater than a second preset acceleration, controlling the driving device to increase the holding force, wherein the second preset acceleration is greater than the first preset acceleration.
4. The circuit control method according to claim 3, wherein the camera module further includes a temperature sensor for acquiring a temperature of the driving device, and the method further includes:
acquiring temperature data in the temperature sensor;
determining a maximum current increase in the drive device based on the temperature data;
when the acceleration of camera module is greater than the predetermined acceleration of second, control drive device increases the holding power includes:
when the acceleration of the camera module is larger than the second preset acceleration, the driving device is controlled to increase the holding force by increasing the current value in the driving device by a first current increment, wherein the first current increment is not larger than the maximum current increment.
5. The circuit control method of claim 4, wherein said determining a maximum current increase in said drive device based on said temperature data comprises:
when the temperature data is smaller than a preset temperature threshold value, determining the maximum current increment in the driving device according to the temperature data;
after the acquiring temperature data in the temperature sensor, the method further comprises:
and when the temperature data is not less than the preset temperature threshold value, controlling the driving device to stop providing the holding force.
6. The circuit control method according to claim 5, wherein the camera module further comprises a heat dissipation device for reducing the temperature of the driving device, and the method further comprises:
and when the temperature data is not less than the preset temperature threshold value, controlling the heat dissipation device to work.
7. The circuit control method according to claim 3, wherein after the acceleration of the camera module is acquired, the method further comprises:
and when the acceleration of the camera module is not less than the first preset acceleration and less than the second preset acceleration, controlling the driving device to provide the holding force for the second optical filter.
8. The circuit control method according to any one of claims 1 to 6, further comprising, before the obtaining the acceleration of the camera module:
receiving an optical filter switching signal, and controlling the camera module to switch a first optical filter currently used into a second optical filter according to the optical filter switching signal;
recording a first position of the second optical filter after switching;
acquiring a second position of the second optical filter in real time;
and when the second position is the same as the first position, executing the step of acquiring the acceleration of the camera module after controlling the driving device to provide the holding force.
9. The circuit control method according to claim 8, wherein the acquiring, in real time, the second position of the second filter comprises:
acquiring an image picture acquired by the camera module in real time;
and acquiring a second position of the second optical filter in real time according to the image picture.
10. The circuit control method according to claim 8, further comprising:
when the second position is different from the first position, controlling the driving device to provide a driving force to the optical filter assembly to drive the second optical filter to change from the second position to the first position.
11. The circuit control device is applied to a camera module, the camera module comprises a driving device and a filter assembly, the filter assembly comprises at least two filters, the frequency bands of the at least two filters for filtering light rays are different, the driving device is used for providing a holding force for the filter assembly after the filter assembly is driven to be switched from a first filter currently used to a second filter, so as to fix the second filter at the switched position; the circuit control device includes:
the acceleration acquisition module is used for acquiring the acceleration of the camera module after controlling the driving device to provide the holding force;
and the holding force control module is used for controlling the driving device to stop providing the holding force when the acceleration of the camera module is smaller than a first preset acceleration.
12. A camera module, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to implement the circuit control method according to any one of claims 1 to 10.
13. A terminal device, characterized in that it comprises at least one camera module according to claim 12.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the circuit control method according to any one of claims 1 to 10.
CN202110218219.9A 2021-02-26 2021-02-26 Circuit control method and device, camera module, terminal equipment and storage medium Pending CN113156638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110218219.9A CN113156638A (en) 2021-02-26 2021-02-26 Circuit control method and device, camera module, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110218219.9A CN113156638A (en) 2021-02-26 2021-02-26 Circuit control method and device, camera module, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113156638A true CN113156638A (en) 2021-07-23

Family

ID=76883566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110218219.9A Pending CN113156638A (en) 2021-02-26 2021-02-26 Circuit control method and device, camera module, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113156638A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134524A (en) * 2022-06-24 2022-09-30 深圳市聚芯影像有限公司 Intelligent vehicle-mounted camera control system based on Internet of things

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090028536A1 (en) * 2007-07-24 2009-01-29 Honeywell International, Inc. Apparatus and method for measuring an acceleration to determine a camera dome's required motor holding current
JP2009175184A (en) * 2008-01-21 2009-08-06 Canon Inc Automatic focusing apparatus and automatic focusing method therefor
EP2239832A1 (en) * 2009-04-06 2010-10-13 Koninklijke Philips Electronics N.V. Motor and method of operating a motor
US20120268642A1 (en) * 2011-04-21 2012-10-25 Olympus Imaging Corporation Driving apparatus and imaging apparatus using the same
JP2013051551A (en) * 2011-08-31 2013-03-14 Hoya Corp Imaging device
US20150070563A1 (en) * 2013-09-10 2015-03-12 Arnold & Richter Cine Technik Gmbh & Co. Betriebs Kg Filter device for a camera
CN205490820U (en) * 2015-12-30 2016-08-17 南昌欧菲光电技术有限公司 Camera module and circuit board thereof
CN106937027A (en) * 2015-12-30 2017-07-07 南昌欧菲光电技术有限公司 Electronic installation, control method and control device
US20170269501A1 (en) * 2016-03-18 2017-09-21 Canon Kabushiki Kaisha Image forming apparatus
CN208820877U (en) * 2018-09-25 2019-05-03 三河东方盈动科技发展有限公司 A kind of Internet of Things linkage camera
CN109714529A (en) * 2018-12-24 2019-05-03 浙江大华技术股份有限公司 Optical filter switching method, device and the storage medium of image collecting device
JP2020091453A (en) * 2018-12-07 2020-06-11 キヤノン株式会社 Control device, image capturing apparatus and control method thereof
CN211236530U (en) * 2019-12-30 2020-08-11 杭州海康威视数字技术股份有限公司 Driving assembly for optical filter switching and camera
US20200409241A1 (en) * 2018-04-12 2020-12-31 SZ DJI Technology Co., Ltd. Camera system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090028536A1 (en) * 2007-07-24 2009-01-29 Honeywell International, Inc. Apparatus and method for measuring an acceleration to determine a camera dome's required motor holding current
JP2009175184A (en) * 2008-01-21 2009-08-06 Canon Inc Automatic focusing apparatus and automatic focusing method therefor
EP2239832A1 (en) * 2009-04-06 2010-10-13 Koninklijke Philips Electronics N.V. Motor and method of operating a motor
US20120268642A1 (en) * 2011-04-21 2012-10-25 Olympus Imaging Corporation Driving apparatus and imaging apparatus using the same
JP2013051551A (en) * 2011-08-31 2013-03-14 Hoya Corp Imaging device
US20150070563A1 (en) * 2013-09-10 2015-03-12 Arnold & Richter Cine Technik Gmbh & Co. Betriebs Kg Filter device for a camera
CN205490820U (en) * 2015-12-30 2016-08-17 南昌欧菲光电技术有限公司 Camera module and circuit board thereof
CN106937027A (en) * 2015-12-30 2017-07-07 南昌欧菲光电技术有限公司 Electronic installation, control method and control device
US20170269501A1 (en) * 2016-03-18 2017-09-21 Canon Kabushiki Kaisha Image forming apparatus
US20200409241A1 (en) * 2018-04-12 2020-12-31 SZ DJI Technology Co., Ltd. Camera system
CN208820877U (en) * 2018-09-25 2019-05-03 三河东方盈动科技发展有限公司 A kind of Internet of Things linkage camera
JP2020091453A (en) * 2018-12-07 2020-06-11 キヤノン株式会社 Control device, image capturing apparatus and control method thereof
CN109714529A (en) * 2018-12-24 2019-05-03 浙江大华技术股份有限公司 Optical filter switching method, device and the storage medium of image collecting device
CN211236530U (en) * 2019-12-30 2020-08-11 杭州海康威视数字技术股份有限公司 Driving assembly for optical filter switching and camera

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134524A (en) * 2022-06-24 2022-09-30 深圳市聚芯影像有限公司 Intelligent vehicle-mounted camera control system based on Internet of things
CN115134524B (en) * 2022-06-24 2023-08-18 深圳市聚芯影像有限公司 Intelligent vehicle-mounted camera control system based on Internet of things

Similar Documents

Publication Publication Date Title
CN113362783B (en) Refresh rate switching method and electronic equipment
US11722449B2 (en) Notification message preview method and electronic device
CN108241422B (en) Electronic device and thermal control method based on battery temperature in electronic device
CN107544842B (en) Applied program processing method and device, computer equipment, storage medium
CN113890989B (en) Shooting method and electronic device
CN106027905B (en) A kind of method and mobile terminal for sky focusing
CN104134230A (en) Image processing method, image processing device and computer equipment
WO2014177049A1 (en) Method and device for adjusting frame rate of video recording
CN106020423A (en) Screen control device and method for terminal
CN105915673B (en) A kind of method and mobile terminal of special video effect switching
CN105472246B (en) Camera arrangement and method
CN109741288A (en) Image processing method, device, storage medium and electronic equipment
CN104935810A (en) Photographing guiding method and device
CN103473804A (en) Image processing method, device and terminal equipment
CN108513069B (en) Image processing method, image processing device, storage medium and electronic equipment
CN109842723A (en) Terminal and its screen brightness control method and computer readable storage medium
CN113873161B (en) Shooting method and device and electronic equipment
CN104036536A (en) Generating method and apparatus of stop motion animation
CN105187692A (en) Video recording method and device
CN106028098A (en) Video recording method, device, and terminal
CN105320402A (en) Method of managing data and electronic device for processing the same
CN108427586A (en) Using push terminal, method and the computer readable storage medium of theme
CN108965697A (en) A kind of filming control method, terminal and computer readable storage medium
CN114237646A (en) Game trial playing method and related device
CN113156638A (en) Circuit control method and device, camera module, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210723