Control circuit, camera module, terminal, method, device and storage medium

By providing a continuous voltage to the electromagnetic device after the filter is switched, the electromagnetic force is increased, which solves the problem of the filter falling off in a vibrating environment and achieves higher stability and vibration resistance.

CN112788220BActive Publication Date: 2026-04-14NANCHANG O FILM OPTICAL ELECTRONICS TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-21
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In environments with high vibration frequencies, the filter in the camera is prone to detaching from its fixed position, resulting in poor switching stability.

Method used

By providing a continuous second voltage to the electromagnetic device after the switching is completed, the electromagnetic force of the electromagnetic device is increased, thus fixing the filter in the position after the switching.

Benefits of technology

It improves the stability after filter switching, reduces malfunctions in vibration environments, and enhances the vibration resistance of the control circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112788220B_ABST
    Figure CN112788220B_ABST
Patent Text Reader

Abstract

The application discloses a control circuit, a camera module, a terminal, a method, an apparatus and a storage medium, and belongs to the technical field of circuits. The control circuit is applied to the camera module, the camera module contains a filter assembly, the filter assembly comprises an electromagnetic device and at least two filters; the control circuit comprises a switching circuit and a maintaining circuit; the switching circuit is used for providing a first voltage to the electromagnetic device, so as to drive the at least two filters to switch from a currently used first filter to a second filter through the electromagnetic device; and the maintaining circuit is used for continuously providing a second voltage to the electromagnetic device after the electromagnetic device drives the at least two filters to switch from the currently used first filter to the second filter, so as to increase the electromagnetic force of the electromagnetic device, and make the second filter be in a fixed position. The application can reduce the misoperation of the filter switching circuit in a vibration environment, and enhance the stability of the control circuit after the filter is switched.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of circuit technology, and in particular to a control circuit, camera module, terminal, method, device and storage medium. Background Technology

[0002] With the rapid development of science and technology, terminals can perform an increasing number of functions. For example, more and more terminals can use installed cameras to perform functions such as shooting, monitoring, and video recording. Some terminals even have cameras that include two types of filters, allowing the terminal to control the switching of these filters to achieve shooting in different scenarios. Currently, the most common type of camera is the electromagnetic dual filter switcher (IR-Cut Filter Removable, ICR). Terminals can use this electromagnetic ICR to switch filters for use in different environments. The working principle of the electromagnetic ICR for controlling filter switching is as follows: by providing a voltage in the opposite direction to an electromagnetic coil for a period of time, the filter switching action is achieved. After the switching is completed, the supplied voltage is interrupted, and a permanent magnet attracts the filter to a fixed position, thus enabling the use of the filter.

[0003] In the above-mentioned scheme of using a permanent magnet to attract the filter to a fixed position, when the terminal or camera is in an environment with a high vibration frequency, the filter may fall off the fixed position due to vibration, causing the filter to shift and reducing the stability of the filter during operation. Summary of the Invention

[0004] This application provides a control circuit, camera module, terminal, method, device, and storage medium that enable the filter to remain in a fixed position after switching, preventing displacement and thus improving the stability of the filter after switching.

[0005] In one aspect, embodiments of this application provide a control circuit applied to a camera module, the camera module including a filter assembly, the filter assembly including an electromagnetic device and at least two filters, the at least two filters filtering light at different frequency bands; the control circuit includes: a switching circuit and a sustaining circuit;

[0006] The switching circuit is electrically connected to the electromagnetic device, and the sustaining circuit is electrically connected to the electromagnetic device.

[0007] The switching circuit is used to provide a first voltage to the electromagnetic device to drive the at least two filters to switch from the currently used first filter to the second filter.

[0008] The sustaining circuit is used to continuously supply a second voltage to the electromagnetic device after the electromagnetic device is driven to switch from the currently used first filter to the second filter, so as to increase the electromagnetic force of the electromagnetic device and keep the second filter in a fixed position.

[0009] In this embodiment, the aforementioned maintaining circuit can provide a continuous second voltage to the electromagnetic device after the filter switching is completed, thereby increasing the electromagnetic force of the electromagnetic device and further fixing the second filter. This increases the electromagnetic force of the electromagnetic device in addition to the attraction of the permanent magnet in the circuit controlling the filter switching, improving the vibration resistance of the control circuit and enhancing its stability.

[0010] As an optional implementation, in one aspect of the embodiments of this application, the control circuit further includes a circuit control module;

[0011] The circuit control module is electrically connected to the switching circuit, and the circuit control module is electrically connected to the sustaining circuit;

[0012] The circuit control module is used to input a pulse signal to the switching circuit, and the pulse signal is used to trigger the switching circuit to provide a first voltage to the electromagnetic device.

[0013] The circuit control module is also used to input a first level signal to the sustaining circuit, the first level signal being used to trigger the sustaining circuit to continuously provide a second voltage to the electromagnetic device.

[0014] In this embodiment, the control circuit controls the switching circuit to provide a first voltage to the electromagnetic device by inputting a pulse signal to the switching circuit through the circuit control module, and controls the sustaining circuit to provide a second voltage to the electromagnetic device by inputting a first level signal to the sustaining circuit through the circuit control module, thereby increasing the controllability and flexibility of the control circuit.

[0015] As an optional implementation, in one aspect of the embodiments of this application, the circuit control module is further configured to receive a filter switching signal;

[0016] The filter switching signal is used to control the switching of the currently used first filter to the second filter.

[0017] In this embodiment, the control circuit receives a filter switching signal to control the switching of the currently used first filter to the second filter, so that the control circuit provided in this application can be applied to a camera that provides scene switching, thus expanding the application scenarios of the control circuit.

[0018] As an optional implementation, in one aspect of the embodiments of this application, the switching circuit is also electrically connected to the sustaining circuit;

[0019] The circuit control module is further configured to input a second level signal to the sustaining circuit while inputting the pulse signal to the switching circuit, so that the switching circuit provides the first voltage to the electromagnetic device through the sustaining circuit;

[0020] The circuit control module is further configured to input the first level signal to the sustaining circuit after stopping the input of the pulse signal to the switching circuit.

[0021] In this embodiment, the switching circuit is also electrically connected to the sustaining circuit. By inputting a pulse signal to the switching circuit and a second level signal to the sustaining circuit at the same time, the first voltage provided by the switching circuit passes through the sustaining circuit, reducing the number of circuit designs and making the control circuit simpler.

[0022] As an optional implementation, in one aspect of the embodiments of this application, the switching circuit further includes a first power supply, and the sustaining circuit further includes a switching unit and a second power supply;

[0023] The sustaining circuit is further configured to, when receiving a second level signal input from the circuit control module, have the switching unit in a first conducting state, thereby connecting the switching circuit and the electromagnetic device through the switching unit, so that the first power supply in the switching circuit provides the first voltage to the electromagnetic device;

[0024] The sustaining circuit is further configured to, when receiving a first level signal input from the circuit control module, have the switching unit in a second conducting state, thereby connecting the second power supply and the electromagnetic device through the switching unit to supply the second voltage output by the second power supply to the electromagnetic device.

[0025] In this embodiment, the sustaining circuit is further refined to include a switching unit. The control circuit uses the switching unit to turn on the first voltage supplied by the switching circuit to the electromagnetic device, and uses the switching unit to turn on the second voltage supplied by the sustaining circuit to the electromagnetic device. The switching unit switches between multiple conduction loops, simplifying the control circuit.

[0026] As an optional implementation, in one aspect of the embodiments of this application, the sustaining circuit includes a first input terminal, a second input terminal, a third input terminal, a fourth input terminal, a fifth input terminal, a sixth input terminal, a first output terminal, and a second output terminal; the switching circuit includes a third output terminal and a fourth output terminal; and the switching unit includes a first switching component and a second switching component.

[0027] The circuit control module is electrically connected to the first input terminal and the second input terminal respectively; the third input terminal is electrically connected to the third output terminal, the fourth input terminal is electrically connected to the fourth output terminal, the fifth input terminal and the sixth input terminal are electrically connected to the second power supply respectively, and the first output terminal and the second output terminal are electrically connected to the electromagnetic device respectively.

[0028] When the switching unit is in the first conducting state, the third input terminal is connected to the first output terminal through the first switching component, and the fourth input terminal is connected to the second output terminal through the second switching component;

[0029] The second conduction state includes a first sub-state and a second sub-state;

[0030] When the switching unit is in the first sub-state, the fifth input terminal is connected to the first output terminal through the first switching component, and the fourth input terminal is connected to the second output terminal through the second switching component;

[0031] When the switching unit is in the second sub-state, the third input terminal is connected to the first output terminal through the first switching component, and the sixth input terminal is connected to the second output terminal through the second switching component.

[0032] In this embodiment, the connection of several ports of the sustaining circuit is detailed. The sustaining circuit realizes its function through the conduction state of the aforementioned switching unit, thereby improving the diversity and flexibility of the sustaining circuit.

[0033] As an optional implementation, in one aspect of the embodiments of this application, the second level signal includes a low level signal, and the circuit control module is further configured to input the low level signal to the first input terminal and the second input terminal after the circuit control module receives the filter switching signal, so as to switch the switching unit to the first conduction state.

[0034] In this embodiment of the application, in conjunction with the port of the sustaining circuit, the second level signal is refined to be the circuit control module inputting a low level signal to the first input terminal and inputting a low level signal to the second input terminal, so as to realize the switching unit switching to the first conduction state, so that the sustaining circuit, while the first input terminal and the second input terminal are kept at a low level, conducts the first voltage provided by the switching circuit to the electromagnetic device.

[0035] As an optional implementation, in one aspect of the embodiments of this application, the first level signal includes a high level signal and a low level signal. The circuit control module is further configured to input a high level signal to the first input terminal and a low level signal to the second input terminal after the circuit control module stops inputting the pulse signal to the switching circuit, so that the switching unit switches to the first sub-state.

[0036] In this embodiment of the application, in conjunction with the port of the sustaining circuit, one case of refining the first level signal is that the circuit control module inputs a high-level signal to the first input terminal and a low-level signal to the second input terminal to realize the switching unit switching to the first sub-state, so that the sustaining circuit conducts the second voltage provided by the sustaining circuit to the electromagnetic device while the first input terminal is at a high level and the second input terminal is at a low level.

[0037] As an optional implementation, in one aspect of the embodiments of this application, the first level signal includes a high level signal and a low level signal. The circuit control module is further configured to input a high level signal to the second input terminal and a low level signal to the first input terminal after the circuit control module stops inputting the pulse signal to the switching circuit, so that the switching unit switches to the second sub-state.

[0038] In this embodiment of the application, in conjunction with the port of the sustaining circuit, another case of the first level signal is refined: the circuit control module inputs a low level signal to the first input terminal and a high level signal to the second input terminal to realize the switching unit switching to the second sub-state, so that the sustaining circuit conducts the second voltage provided by the sustaining circuit to the electromagnetic device when the first input terminal is kept at a low level and the second input terminal is kept at a high level.

[0039] As an optional implementation, in one aspect of the embodiments of this application, the circuit control module is further configured to acquire physical parameters of the control circuit, the physical parameters being used to indicate the physical indicators of the environment in which the control circuit is located;

[0040] The circuit control module is further configured to determine the second power supply based on the physical parameters after receiving the physical parameters.

[0041] The circuit control module is also used to control the fifth input terminal and the sixth input terminal to be electrically connected to the second power supply, respectively.

[0042] In this embodiment, the circuit control module can determine the second power supply based on physical parameters, making the second power supply selected by the control circuit more suitable for the environment in which the control circuit is located, thereby improving the adaptability of the control circuit.

[0043] As an optional implementation, in one aspect of the embodiments of this application, the physical parameters include any one or more of vibration parameters and heat dissipation parameters, wherein the vibration parameters are used to indicate the degree of vibration of the environment in which the control circuit is located, and the heat dissipation parameters are used to indicate the heat dissipation capacity of the environment in which the control circuit is located.

[0044] In this embodiment, the physical parameters are refined to include vibration parameters and heat dissipation parameters, so that the second power supply selected by the control circuit is more in line with the vibration and heat dissipation levels of the environment in which the control circuit is located, thereby improving the adaptability of the control circuit.

[0045] As an optional implementation, in one aspect of the embodiments of this application, the control circuit further includes a first feedback circuit, which is electrically connected to the circuit control module and the sustaining circuit respectively, and is used to obtain the output voltage of the sustaining circuit.

[0046] The first feedback circuit is further configured to send a first feedback signal to the circuit control module when the output voltage of the maintaining circuit is equal to the first voltage;

[0047] The circuit control module is further configured to input the first level signal to the sustaining circuit based on the first feedback signal.

[0048] In this embodiment, when the output voltage of the sustaining circuit is detected to be the first voltage, it indicates that the first voltage provided by the switching circuit is supplied to the electromagnetic device. At this time, the first level signal can be input to the sustaining circuit, which improves the accuracy of the control circuit sending the first level signal.

[0049] As an optional implementation, in one aspect of the embodiments of this application, the control circuit further includes a second feedback circuit, which is electrically connected to the electromagnetic device and the circuit control module respectively. The second feedback circuit is used to obtain the reversal state of the electromagnetic device, and the reversal state is used to indicate whether the polarity of the electromagnetic device has been reversed.

[0050] The second feedback circuit is further configured to send a second feedback signal to the circuit control module when the reversal state of the electromagnetic device indicates that the polarity of the electromagnetic device has reversed.

[0051] The circuit control module is further configured to input the first level signal to the sustaining circuit based on the second feedback signal.

[0052] In this embodiment, by detecting the reversal state of the electromagnetic device, a second feedback signal is sent to the circuit control module. After the polarity of the electromagnetic device is reversed, a first level signal can be input to the sustaining circuit, thereby improving the accuracy of the control circuit sending the first level signal.

[0053] In another aspect, embodiments of this application provide a camera module, the camera module including at least one control circuit for controlling filter switching as described in one aspect above and its alternatives.

[0054] In another aspect, embodiments of this application provide a terminal that includes at least one camera module as described in one of the preceding aspects.

[0055] In another aspect, embodiments of this application provide a control method applied to a camera module. The camera module includes a filter assembly, which comprises an electromagnetic device and at least two filters, the at least two filters filtering light at different frequency bands. The control method is executed by a circuit control module in a control circuit, which further includes a switching circuit and a sustaining circuit. The switching circuit is electrically connected to the electromagnetic device, and the sustaining circuit is electrically connected to the electromagnetic device. The circuit control module is electrically connected to the switching circuit and the sustaining circuit. The method includes:

[0056] A pulse signal is input to the switching circuit, the pulse signal being used to trigger the switching circuit to provide a first voltage to the electromagnetic device, so as to drive the at least two filters to switch from the currently used first filter to the second filter through the electromagnetic device;

[0057] After the electromagnetic device switches from the currently used first filter to the second filter, a first level signal is input to the sustaining circuit. The first level signal is used to trigger the sustaining circuit to continuously provide a second voltage to the electromagnetic device to increase the electromagnetic force of the electromagnetic device, so that the second filter is in a fixed position.

[0058] As an optional implementation, in another aspect of the embodiments of this application, before inputting a pulse signal to the switching circuit, the method further includes:

[0059] Receive a filter switching signal, which is a signal used to control the switching of the currently used first filter to the second filter.

[0060] As an optional implementation, in another aspect of the embodiments of this application, the switching circuit is also electrically connected to the sustaining circuit, and the method further includes:

[0061] While inputting the pulse signal to the switching circuit, a second level signal is input to the sustaining circuit, so that the switching circuit provides the first voltage to the electromagnetic device through the sustaining circuit.

[0062] As an optional implementation, in another aspect of the embodiments of this application, inputting a first-level signal to the sustaining circuit includes:

[0063] After stopping the input of the pulse signal to the switching circuit, the first level signal is input to the sustaining circuit.

[0064] As an optional implementation, in another aspect of the embodiments of this application, the switching circuit further includes a first power supply, and the sustaining circuit further includes a switching unit and a second power supply;

[0065] When the second level signal is input to the sustaining circuit, the switching unit is in a first conducting state, and the path between the switching circuit and the electromagnetic device is opened through the switching unit, so that the first power supply in the switching circuit provides the first voltage to the electromagnetic device;

[0066] When the first level signal is input to the sustaining circuit, the switching unit is in a second conduction state, and the path between the second power supply and the electromagnetic device is opened through the switching unit so as to provide the second voltage output by the second power supply to the electromagnetic device.

[0067] As an optional implementation, in another aspect of the embodiments of this application, the sustaining circuit includes a first input terminal, a second input terminal, a third input terminal, a fourth input terminal, a fifth input terminal, a sixth input terminal, a first output terminal, and a second output terminal; the switching circuit includes a third output terminal and a fourth output terminal; and the switching unit includes a first switching component and a second switching component.

[0068] The circuit control module is electrically connected to the first input terminal and the second input terminal respectively; the third input terminal is electrically connected to the third output terminal, the fourth input terminal is electrically connected to the fourth output terminal, the fifth input terminal and the sixth input terminal are electrically connected to the second power supply respectively, and the first output terminal and the second output terminal are electrically connected to the electromagnetic device respectively.

[0069] When the switching unit is in the first conducting state, the third input terminal is connected to the first output terminal through the first switching component, and the fourth input terminal is connected to the second output terminal through the second switching component;

[0070] The second conduction state includes a first sub-state and a second sub-state;

[0071] When the switching unit is in the first sub-state, the fifth input terminal is connected to the first output terminal through the first switching component, and the fourth input terminal is connected to the second output terminal through the second switching component;

[0072] When the switching unit is in the second sub-state, the third input terminal is connected to the first output terminal through the first switching component, and the sixth input terminal is connected to the second output terminal through the second switching component.

[0073] As an optional implementation, in another aspect of the embodiments of this application, the second level signal includes a low level signal, and the step of inputting the second level signal to the sustaining circuit while inputting the pulse signal to the switching circuit includes:

[0074] While inputting the pulse signal to the switching circuit, a low-level signal is input to the first input terminal and a low-level signal is input to the second input terminal.

[0075] As an optional implementation, in another aspect of the embodiments of this application, the first level signal includes a high level signal and a low level signal, and the step of inputting the first level signal to the sustaining circuit includes:

[0076] A high-level signal is input to the first input terminal and a low-level signal is input to the second input terminal, so that the switching unit switches to the first sub-state.

[0077] As an optional implementation, in another aspect of the embodiments of this application, the first level signal includes a high level signal and a low level signal, and the step of inputting the first level signal to the sustaining circuit includes:

[0078] A high-level signal is input to the second input terminal and a low-level signal is input to the first input terminal, so that the switching unit switches to the second sub-state.

[0079] As an optional implementation, in another aspect of the embodiments of this application, after receiving the filter switching signal, the method further includes:

[0080] The physical parameters of the control circuit are obtained, and the physical parameters are used to indicate the physical indicators of the environment in which the control circuit is located.

[0081] The second power source is determined based on the physical parameters;

[0082] The fifth input terminal and the sixth input terminal are respectively electrically connected to the second power supply.

[0083] As an optional implementation, in another aspect of the embodiments of this application, the physical parameters include any one or more of vibration parameters and heat dissipation parameters, wherein the vibration parameters are used to indicate the degree of vibration of the environment in which the control circuit is located, and the heat dissipation parameters are used to indicate the heat dissipation capacity of the environment in which the control circuit is located.

[0084] As an optional implementation, in another aspect of the embodiments of this application, the control circuit further includes a first feedback circuit, which is electrically connected to the circuit control module and the switching circuit respectively. The first feedback circuit is used to obtain the output voltage of the switching circuit, and the first feedback circuit is also used to send a first feedback signal to the circuit control module when the output voltage of the holding circuit is equal to the first voltage.

[0085] Before inputting the first level signal to the sustaining circuit, the method further includes:

[0086] Receive the first feedback signal sent by the first feedback circuit;

[0087] The first level signal is input to the sustaining circuit according to the first feedback signal.

[0088] As an optional implementation, in another aspect of the embodiments of this application, the control circuit further includes a second feedback circuit, which is electrically connected to the electromagnetic device and the circuit control module respectively. The second feedback circuit is used to obtain the reversal state of the electromagnetic device, which is used to indicate whether the polarity of the electromagnetic device is reversed. The second feedback circuit is also used to send a second feedback signal to the circuit control module when the reversal state of the electromagnetic device indicates that the polarity of the electromagnetic device is reversed.

[0089] Before inputting the first level signal to the sustaining circuit, the method further includes:

[0090] Receive the second feedback signal sent by the second feedback circuit;

[0091] The first level signal is input to the sustaining circuit according to the second feedback signal.

[0092] In another aspect, embodiments of this application provide a control device applied to a camera module. The camera module includes a filter assembly, which includes an electromagnetic device and at least two filters that filter light at different frequency bands. The control method is executed by a circuit control module in a control circuit, which further includes a switching circuit and a sustaining circuit. The switching circuit is electrically connected to the electromagnetic device, and the sustaining circuit is electrically connected to the electromagnetic device. The circuit control module is electrically connected to the switching circuit and the sustaining circuit. The device includes:

[0093] A first signal transmitting module is used to input a pulse signal to the switching circuit. The pulse signal is used to trigger the switching circuit to provide a first voltage to the electromagnetic device, so as to drive the at least two filters to switch from the currently used first filter to the second filter through the electromagnetic device.

[0094] The second signal transmitting module is used to input a first level signal to the sustaining circuit after the electromagnetic device is driven to switch from the currently used first filter to the second filter. The first level signal is used to trigger the sustaining circuit to continuously provide a second voltage to the electromagnetic device to increase the electromagnetic force of the electromagnetic device, so that the second filter is in a fixed position.

[0095] In another aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the control method as described in the other aspect and its alternatives above.

[0096] On the other hand, embodiments of this application provide a computer program product that, when run on a computer, causes the computer to perform the control method as described in one aspect above.

[0097] On the other hand, embodiments of this application provide an application publishing platform for publishing computer program products, wherein when the computer program product is run on a computer, the computer performs the control method as described in one aspect above.

[0098] The technical solutions provided in this application embodiment may include at least the following beneficial effects:

[0099] In this embodiment, the aforementioned maintaining circuit can provide a continuous second voltage to the electromagnetic device after the filter switching is completed, thereby increasing the electromagnetic force of the electromagnetic device and further fixing the second filter. This increases the electromagnetic force of the electromagnetic device in addition to the attraction of the permanent magnet in the filter switching circuit, improving the vibration resistance of the filter in the control circuit, reducing malfunctions of the filter switching circuit in a vibration environment, and enhancing the stability of the filter after switching in the control circuit. Attached Figure Description

[0100] Figure 1 This is a schematic diagram of a filter switching structure provided in an exemplary embodiment of this application;

[0101] Figure 2 This is a schematic diagram of the structure of a control circuit provided in an exemplary embodiment of this application;

[0102] Figure 3 This is a schematic diagram of the structure of a control circuit provided in an exemplary embodiment of this application;

[0103] Figure 4 This application relates to an exemplary embodiment. Figure 3 A schematic diagram of the structure of a control circuit;

[0104] Figure 5 This application relates to an exemplary embodiment. Figure 3 A schematic diagram of another control circuit structure;

[0105] Figure 6 This is a schematic diagram of the structure of a control circuit provided in an exemplary embodiment of this application;

[0106] Figure 7 This is a flowchart of a control method provided in an embodiment of this application;

[0107] Figure 8 This is a structural block diagram of a control device provided in an exemplary embodiment of this application. Detailed Implementation

[0108] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0109] In this article, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0110] It should be noted that the terms "first," "second," "third," and "fourth," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order. The terms "comprising" and "having," and any variations thereof, in the embodiments of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or devices.

[0111] The solution provided in this application can be used in the process of adapting to different usage scenarios by switching filters when the terminal used by people in daily life includes an electromagnetic dual filter switcher. For ease of understanding, some terms and application architectures involved in the embodiments of this application will be briefly introduced below.

[0112] An IR-Cut Filter Removable (ICR) is a camera whose lens module has a set of filters built in. When the infrared sensor outside the lens detects changes in light intensity, the built-in ICR automatically switches the filters, thereby switching according to changes in the intensity of external light to achieve the best image effect.

[0113] In daily life, cameras are used in a wide variety of devices, allowing people to take photos, record videos, and perform other tasks. However, the quality of images captured by a camera varies depending on the environment. For example, in bright daylight, the image quality is better, while in low light conditions at night, the image quality is worse.

[0114] Currently, by incorporating a set of filters within the camera's lens module, and switching between these filters based on the varying light levels during the day and night, the quality of images captured at night can be improved. Please refer to [link / reference]. Figure 1 This illustrates a schematic diagram of a filter switching structure provided in an exemplary embodiment of this application. Figure 1 As shown, the filter assembly 100 includes a filter group 110, a rocker arm 120, a magnet 130, an electromagnetic coil 140, a first electrode 150, and a second electrode 160.

[0115] The filter assembly 100 can be used in a terminal. The filter group 110 may include at least a first filter 111 and a second filter 112. The filter group 110 can be mechanically connected to the rocker arm 120. The rocker arm 120 is mechanically connected to the magnet 130. The terminal supplies power to the electromagnetic coil 140 through the first electrode 150 and the second electrode 160, so that the electromagnetic coil generates electromagnetic force to push the magnet 130 from the first position 141 to the second position 142, or to push the magnet 130 from the second position 142 to the first position 141, so that the magnet drives the filter to switch through the mechanical connection with the rocker arm.

[0116] For example, in Figure 1 In the process, the terminal makes the first electrode 150 a positive pole and the second electrode 160 a negative pole to provide voltage to the electromagnetic coil 140, so that the electromagnetic coil generates electromagnetic force, which pushes the magnet 130 from the second position 142 to the first position 141, thereby switching the first filter 111 to the second filter 112.

[0117] In one aspect of the related technology, after the filter group 110 has switched, the power supply to the electromagnetic coil 140 is interrupted. The magnet is held in the switched position by the attraction between the magnet and the permanent magnet, allowing the lens module to operate using the switched second filter. However, if the environment in which the lens module operates experiences high vibration frequencies, the magnet may detach from the permanent magnet, causing the switched second filter to malfunction. This limits the application scenarios of this solution and results in poor stability after filter switching.

[0118] To expand the application scenarios of electromagnetic ICR and improve the stability of electromagnetic ICR after filter switching, this application proposes a solution that provides a voltage to the electromagnetic coil to generate electromagnetic force, thereby increasing the external force fixing the filter and improving the stability of the filter.

[0119] Please refer to Figure 2 This illustration shows a schematic diagram of a control circuit provided in an exemplary embodiment of this application. The control circuit can be applied to a camera module, which includes a filter assembly. The filter assembly includes an electromagnetic device and at least two filters, each filtering light at a different frequency band. Figure 2 As shown, it includes a control circuit 200 and a filter assembly 210. The control circuit 200 includes a switching circuit 220 and a holding circuit 230. The filter assembly 210 includes an electromagnetic device 211 and a filter group 212. The connection between the electromagnetic device 211 and the filter group 212 can be referred to the above. Figure 1 The description in the text will not be repeated here.

[0120] Optionally, the electromagnetic device may include an electromagnetic coil, which generates an electromagnetic force when energized, causing the filter to switch. In this application, at least two filters operate in different frequency bands, allowing the filter assembly to switch between different filters according to different external environments. For example, one of the at least two filters may be a visible light filter, another an infrared filter, and yet another an ultraviolet filter, etc.

[0121] In the above Figure 2 In this configuration, the switching circuit 220 is electrically connected to the electromagnetic device, and the maintaining circuit 230 is also electrically connected to the electromagnetic device. The switching circuit 220 provides a first voltage to the electromagnetic device to drive at least two filters to switch from the currently used first filter to the second filter. The electromagnetic device can be mechanically connected to the at least two filters. After the switching circuit 220 provides the first voltage to the electromagnetic device, the electromagnetic device can generate electromagnetic force through electromagnetic induction, driving the currently used first filter to switch to the second filter via the mechanical connection.

[0122] The aforementioned holding circuit 230 is used to continuously supply a second voltage to the electromagnetic device after the electromagnetic device drives the switch from the currently used first filter to the second filter, thereby increasing the electromagnetic force of the electromagnetic device and keeping the second filter in a fixed position. Specifically, after the filter in the filter assembly completes the switch, the holding circuit 230 begins to continuously supply the second voltage to the electromagnetic device, allowing the electromagnetic device to continue generating electromagnetic force through electromagnetic induction. This increases the electromagnetic force on top of the original holding force, improving the device's resistance to displacement in keeping the switched second filter in a fixed position.

[0123] For example, with the above Figure 1 The illustrated filter switching structure provides a first voltage to the electromagnetic coil 140, with the first electrode 150 as the positive terminal and the second electrode 160 as the negative terminal. This causes the electromagnetic coil to generate an electromagnetic force, pushing the magnet 130 from the second position 142 to the first position 141, thus switching the first filter 111 to the second filter 112. Then, the attraction between the magnet and the permanent magnet holds the second filter in the switched position, allowing it to operate. In this embodiment, a sustaining circuit further provides a second voltage to the electromagnetic coil 140, ensuring the coil continues to generate an electromagnetic force. This force is directed in the same direction as the attraction between the magnet and the permanent magnet, increasing the electromagnetic force of the device on top of the existing attraction, thereby improving the second filter's resistance to displacement in its fixed position.

[0124] In summary, in the embodiments of this application, the aforementioned maintaining circuit can, after the filter switching is completed, provide a continuous second voltage to the electromagnetic device to increase the electromagnetic force of the electromagnetic device, further fixing the second filter. This increases the electromagnetic force of the electromagnetic device in addition to the attraction of the permanent magnet in the filter switching circuit, thereby improving the vibration resistance of the filter in the control circuit, reducing malfunctions of the filter switching circuit in a vibration environment, and enhancing the stability of the filter after switching in the control circuit.

[0125] In one possible implementation, the process of controlling the switching circuit to provide a first voltage to the electromagnetic device and controlling the sustaining circuit to continuously provide a second voltage to the electromagnetic device can be triggered by the circuit control module. Please refer to [reference needed]. Figure 3 This illustration shows a schematic diagram of a control circuit provided in an exemplary embodiment of this application. The control circuit can be applied to a camera module, which includes a filter assembly. The filter assembly includes an electromagnetic device and at least two filters, each filtering light at a different frequency band. Figure 3 As shown, the control circuit 300 includes a switching circuit 320, a sustaining circuit 330, and a circuit control module 340. The filter assembly 310 includes an electromagnetic device 311 and a filter group 312; the connection between the electromagnetic device 311 and the filter group 312 can be referred to the above. Figure 1 The description in the text will not be repeated here.

[0126] The connection relationship and operation mode between the filter assembly 310, the switching circuit 320, and the maintenance circuit 330 can be referred to the above. Figure 2 The description in the text will not be repeated here.

[0127] The circuit control module 340 is electrically connected to the switching circuit 320 and the sustaining circuit 330. The circuit control module is used to input a pulse signal to the switching circuit, which triggers the switching circuit to provide a first voltage to the electromagnetic device. The circuit control module is also used to input a first level signal to the sustaining circuit, which triggers the sustaining circuit to continuously provide a second voltage to the electromagnetic device.

[0128] That is, in this embodiment, the circuit control module 340 inputs a pulse signal to the switching circuit 320, triggering the switching circuit to provide a first voltage to the electromagnetic device; the circuit control module 340 inputs a first level signal to the sustaining circuit 330, triggering the sustaining circuit 330 to continuously provide a second voltage to the electromagnetic device. In other words, after the circuit control module 340 inputs a pulse signal to the switching circuit 320, it triggers the circuit in the switching circuit that provides the first voltage to the electromagnetic device to conduct, providing the first voltage to the electromagnetic device through the electrical connection between the switching circuit 320 and the filter assembly 310. After providing the first voltage to the electromagnetic device, the switching circuit 320 can interrupt the supply of the first voltage to the electromagnetic device, and after receiving the pulse signal input from the circuit control module 340 again, it will resume supplying the first voltage to the electromagnetic device, causing the electromagnetic device to drive at least two filters to switch from the currently used first filter to the second filter. The following example illustrates at least two filters including a visible light filter and an infrared light filter.

[0129] In one possible implementation, the filter assembly 310 described above is similar to the one described above. Figure 1 As shown, two electrodes, a first electrode 313 and a second electrode 314, are provided. The switching circuit 320 is electrically connected to these two electrodes respectively. When the first electrode 313 is the positive terminal of the first voltage and the second electrode 314 is the negative terminal of the first voltage, the filter assembly 310 is currently using the first filter. When the first electrode 313 is the negative terminal of the first voltage and the second electrode 314 is the positive terminal of the first voltage, the filter assembly 310 is currently using the second filter. That is, if the filter assembly 310 is currently using the first filter, after the circuit control module 340 inputs a pulse signal to the switching circuit, it triggers the switching circuit to provide the first voltage to the electromagnetic device according to the first electrode 313 being the negative terminal of the first voltage and the second electrode 314 being the positive terminal of the first voltage, so that the polarity of the electromagnetic device is opposite to the previous polarity, driving the filter assembly 310 to switch from the first filter to the second filter.

[0130] Optionally, the first filter can be a visible light filter, and the second filter can be an infrared light filter. That is, if a visible light filter is currently being used in the filter assembly 310, after the circuit control module 340 inputs a pulse signal to the switching circuit, it triggers the switching circuit to provide a first voltage to the electromagnetic device with the first electrode 313 as the negative terminal of the first voltage and the second electrode 314 as the positive terminal of the first voltage. This causes the polarity of the electromagnetic device to be opposite to its previous polarity, driving the visible light filter currently used in the filter assembly 310 to switch to an infrared light filter.

[0131] Alternatively, the first filter can be an infrared filter, and the second filter can be a visible light filter. That is, if the filter assembly 310 is currently using an infrared filter, after the circuit control module 340 inputs a pulse signal to the switching circuit, it triggers the switching circuit to provide a first voltage to the electromagnetic device with the first electrode 313 as the positive terminal of the first voltage and the second electrode 314 as the negative terminal of the first voltage. This causes the polarity of the electromagnetic device to be opposite to its previous polarity, driving the infrared filter currently used in the filter assembly 310 to switch to a visible light filter.

[0132] Optionally, after the electromagnetic device drives at least two filters to switch from the currently used first filter to the second filter, the circuit control module 340 inputs a first level signal to the sustaining circuit 330 to trigger the circuit in the sustaining circuit 330 that provides a second voltage to the electromagnetic device. Through the electrical connection between the sustaining circuit 330 and the filter assembly 310, the second voltage is provided to the electromagnetic device to increase the electromagnetic force of the electromagnetic device, so that the second filter is in a fixed position.

[0133] For example, the first filter mentioned above is a visible light filter, and the second filter is an infrared light filter. After the visible light filter currently used in the filter assembly 310 is switched to an infrared light filter, the circuit control module 340 inputs a first-level signal to the sustaining circuit 330, causing the sustaining circuit 330 to continuously supply a second voltage to the electromagnetic device. The electromagnetic device generates electromagnetic force through electromagnetic induction, increasing the external force that keeps the infrared light filter in a fixed position and improving the infrared light filter's resistance to displacement. Alternatively, the first filter mentioned above is an infrared light filter, and the second filter is a visible light filter. After the infrared light filter in the filter assembly 310 is switched to a visible light filter, the circuit control module 340 inputs a first-level signal to the sustaining circuit 330, causing the sustaining circuit 330 to continuously supply a second voltage to the electromagnetic device. The electromagnetic device generates electromagnetic force through electromagnetic induction, increasing the external force that keeps the visible light filter in a fixed position and improving the visible light filter's resistance to displacement.

[0134] Optionally, the aforementioned sustaining circuit 330 also provides a second voltage to the electromagnetic device via the first electrode 313 and the second electrode 314. When the switching circuit provides the first voltage to the electromagnetic device with the first electrode 313 as the positive terminal and the second electrode 314 as the negative terminal, causing the polarity of the electromagnetic device to be opposite to its previous polarity, and driving the first filter currently used in the filter assembly 310 to switch to the second filter, the circuit control module 340 inputs a first-level signal to the sustaining circuit 330, causing the sustaining circuit to also continuously provide the second voltage to the electromagnetic device with the first electrode 313 as the positive terminal and the second electrode 314 as the negative terminal, thus achieving the effect that the electromagnetic device still generates electromagnetic force. Alternatively, in the switching circuit, the first electrode 313 is used as the negative terminal of the first voltage and the second electrode 314 is used as the positive terminal of the first voltage to provide the first voltage to the electromagnetic device, so that the polarity of the electromagnetic device is reversed from the previous polarity. After the first filter currently used in the filter assembly 310 is switched to the second filter, the circuit control module 340 inputs a first level signal to the sustaining circuit 330, so that the sustaining circuit also continuously provides the second voltage to the electromagnetic device with the first electrode 313 as the negative terminal of the first voltage and the second electrode 314 as the positive terminal of the first voltage, so that the electromagnetic device still generates electromagnetic force.

[0135] In one possible implementation, the circuit control module is further configured to receive a filter switching signal; wherein, the filter switching signal is a signal used to control the switching of the currently used first filter to a second filter. That is, in this embodiment, the circuit control module can receive a filter switching signal sent by other processors or sensors, thereby triggering itself to input a pulse signal to the switching circuit to achieve filter switching.

[0136] For example, sensors or other processors can detect changes in the external environment. In the ICR provided in this application, changes in ambient light can be detected by a photoresistor. When the resistance value of the photoresistor is less than a preset threshold, it can be considered that the external environment is daytime; when the resistance value of the photoresistor is not less than the preset threshold, it can be considered that the external environment is nighttime. When the resistance value of the photoresistor switches sequentially between the two preset thresholds, it indicates that the external environment has changed, and a filter switching signal can be sent to the circuit control module. Optionally, when the external environment is daytime, the filter switcher needs to use a visible light filter; when the external environment is nighttime, the filter switcher needs to use an infrared light filter. That is, when the resistance value of the photoresistor changes from not less than the preset threshold to less than the preset threshold, it indicates that the filter switcher needs to use a visible light filter, triggering the filter switching signal, causing the circuit control module to control the switching of the filter module from the currently used infrared light filter to a visible light filter. When the resistance value of the photoresistor changes from less than a preset threshold to not less than a preset threshold, it indicates that the filter switcher needs to use an infrared filter, triggering a filter switching signal. This causes the circuit control module to switch the filter module from the currently used visible light filter to an infrared filter. It should be noted that the above-described detection of changes in the external environment using a photoresistor is exemplary, and this application does not limit the method of obtaining the filter switching signal.

[0137] Optionally, during the processes described above, where the circuit control module 340 inputs a pulse signal to the switching circuit 320 to trigger the switching circuit to provide a first voltage to the electromagnetic device, and the circuit control module 340 inputs a first-level signal to the sustaining circuit 330 to trigger the sustaining circuit 330 to continuously provide a second voltage to the electromagnetic device, the circuit control module 340 can, after inputting the pulse signal to the switching circuit 320, wait a preset time interval before actively inputting the first-level signal to the sustaining circuit 330. The preset time interval is the time between the moment the circuit control module inputs the pulse signal to the switching circuit and the moment the polarity of the electromagnetic device reverses. This preset time interval can be pre-measured and set in the control circuit by the developers. For example, if the preset time interval is 0.1 milliseconds, the circuit control module 340 can, after inputting the pulse signal to the switching circuit 320, wait 0.1 milliseconds before actively inputting the first-level signal to the sustaining circuit 330.

[0138] Optionally, during the process described above, where the circuit control module 340 inputs a pulse signal to the switching circuit 320 to trigger the switching circuit to provide a first voltage to the electromagnetic device, and the circuit control module 340 inputs a first level signal to the sustaining circuit 330 to trigger the sustaining circuit 330 to continuously provide a second voltage to the electromagnetic device, the circuit control module 340 may also, after inputting a pulse signal to the switching circuit 320, receive a feedback signal and input a first level signal to the sustaining circuit 330 based on the feedback signal.

[0139] In one possible implementation, the above Figure 3 The control circuit shown also includes a first feedback circuit, please refer to... Figure 4 This illustrates an exemplary embodiment of the present application relating to Figure 3 A schematic diagram of a control circuit. (Example) Figure 4 As shown, it includes a control circuit 400 and a filter assembly 410. The control circuit 400 also includes a switching circuit 420, a sustaining circuit 430, a circuit control module 440, and a first feedback circuit 450.

[0140] The connections between the filter assembly 410, the switching circuit 420, the sustaining circuit 430, and the circuit control module 440 can be referred to the above. Figure 3 The method shown will not be described again here. The first feedback circuit 450 is electrically connected to the input terminals of the circuit control module 440 and the filter assembly 410, respectively. The first feedback circuit 450 is used to obtain the input voltage of the filter assembly 410. The first feedback circuit 450 is also used to send a first feedback signal to the circuit control module 440 when the input voltage of the filter assembly 410 is equal to a first voltage. The circuit control module 440 is also used to input a first level signal to the sustaining circuit 430 according to the first feedback signal.

[0141] The first feedback circuit 450 detects whether the switching circuit 420 has input a first voltage to the filter assembly 410. If the switching circuit 420 has input a first voltage to the filter assembly 410, the input voltage of the filter assembly 410 obtained by the first feedback circuit 450 is equal to the first voltage. At this time, a first feedback signal can be sent to the circuit control module 440, so that the circuit control module 440 inputs a first level signal to the sustaining circuit 430 according to the first feedback signal, so that after inputting the first voltage to the filter assembly 410, the sustaining circuit 430 continues to input a second voltage to the filter assembly 410.

[0142] For example, in a typical electromagnetic ICR, the first voltage supplied to the filter assembly is generally 3.3 volts (V). The aforementioned first feedback circuit can obtain the input voltage of the filter assembly and send a first feedback signal to the circuit control module when the input voltage of the filter assembly is equal to 3.3V, so that the circuit control module inputs a first level signal to the sustaining circuit 430 according to the first feedback signal.

[0143] In one possible implementation, the above Figure 3 The control circuit shown also includes a second feedback circuit, please refer to... Figure 5 This illustrates an exemplary embodiment of the present application relating to Figure 3 A schematic diagram of another control circuit. (See diagram below.) Figure 5 As shown, it includes a control circuit 500 and a filter assembly 510. The control circuit 500 also includes a switching circuit 520, a sustaining circuit 530, a circuit control module 540, and a second feedback circuit 550. The filter assembly 510 includes an electromagnetic device 511 and a filter group 512. The connection between the electromagnetic device 511 and the filter group 512 can be referred to the above. Figure 3 The description in the text will not be repeated here.

[0144] The connections between the filter assembly 510, the switching circuit 520, the sustaining circuit 530, and the circuit control module 540 can be referred to the above. Figure 3 The method shown will not be elaborated further here.

[0145] Optionally, the second feedback circuit 550 is electrically connected to both the electromagnetic device and the circuit control module 540. The second feedback circuit 550 is used to acquire the reversal state of the electromagnetic device, which indicates whether the polarity of the electromagnetic device has been reversed. The second feedback circuit 550 is also used to send a second feedback signal to the circuit control module 540 when the reversal state of the electromagnetic device indicates that the polarity of the electromagnetic device has been reversed. The circuit control module 540 is also used to input a first level signal to the sustaining circuit 530 according to the second feedback signal.

[0146] The second feedback circuit 550 detects whether the polarity of the electromagnetic device has been reversed. If the polarity of the electromagnetic device has been reversed, it means that the switching circuit 520 has input the first voltage to the filter assembly 510. At this time, a second feedback signal can be sent to the circuit control module 540, so that the circuit control module 540 inputs a first level signal to the sustaining circuit 530 according to the second feedback signal, so that after inputting the first voltage to the filter assembly 510, the sustaining circuit 530 continues to input the second voltage to the filter assembly 510.

[0147] It should be noted that when the above-mentioned at least two filters include three or more filters, the switching process can refer to the example of two filters in the embodiments of this application, which will not be repeated here.

[0148] In summary, in the embodiments of this application, the aforementioned maintaining circuit can, after the filter switching is completed, provide a continuous second voltage to the electromagnetic device to increase the electromagnetic force of the electromagnetic device, further fixing the second filter. This increases the electromagnetic force of the electromagnetic device in addition to the attraction of the permanent magnet in the filter switching circuit, thereby improving the vibration resistance of the filter in the control circuit, reducing malfunctions of the filter switching circuit in a vibration environment, and enhancing the stability of the filter after switching in the control circuit.

[0149] In addition, in this embodiment, when the output voltage of the sustaining circuit is detected to be the first voltage, it indicates that the first voltage provided by the switching circuit is provided to the electromagnetic device. At this time, the first level signal can be input to the sustaining circuit, which improves the accuracy of the control circuit sending the first level signal.

[0150] In this embodiment, by detecting the reversal state of the electromagnetic device, a second feedback signal is sent to the circuit control module. After the polarity of the electromagnetic device is reversed, a first level signal can be input to the sustaining circuit, thereby improving the accuracy of the control circuit sending the first level signal.

[0151] In one possible implementation, the above Figure 3 The switching circuit shown can also be electrically connected to a sustaining circuit, allowing the switching circuit to provide a first voltage to the electromagnetic device through the sustaining circuit. Please refer to [reference needed]. Figure 6 This illustration shows a schematic diagram of a control circuit provided in an exemplary embodiment of this application. The control circuit can be applied to a camera module, which includes a filter assembly. The filter assembly includes an electromagnetic device and at least two filters, each filtering light at a different frequency band. Figure 6 As shown, it includes a control circuit 600 and a filter assembly 610. The control circuit 600 includes a switching circuit 620, a sustaining circuit 630, and a circuit control module 640.

[0152] Among them, the switching circuit 620 is electrically connected to the electromagnetic device, the sustaining circuit 630 is electrically connected to the electromagnetic device, the circuit control module 640 is electrically connected to the switching circuit 620, the circuit control module 640 is electrically connected to the sustaining circuit 630, and the switching circuit 620 is also electrically connected to the sustaining circuit 630.

[0153] Optionally, the circuit control module is used to input a pulse signal to the switching circuit 620. The pulse signal is used to trigger the switching circuit 620 to provide a first voltage to the electromagnetic device, so as to drive at least two filters to switch from the currently used first filter to the second filter. The sustaining circuit 630 is used to input a first level signal to the sustaining circuit 630 after the electromagnetic device drives the switch from the currently used first filter to the second filter. The first level signal triggers the sustaining circuit 630 to continuously provide a second voltage to the electromagnetic device, so as to increase the electromagnetic force of the electromagnetic device and keep the second filter in a fixed position.

[0154] Optionally, the circuit control module 640 is also used to receive a filter switching signal; wherein, the filter switching signal is a signal used to control the switching of the currently used first filter to a second filter. The method by which the circuit control module 640 receives the filter switching signal can be referred to the above. Figure 3 The descriptions in the embodiments will not be repeated here.

[0155] Optionally, the circuit control module 640 is further configured to input a second-level signal to the sustaining circuit 630 simultaneously with inputting a pulse signal to the switching circuit 620, so that the switching circuit 620 provides a first voltage to the electromagnetic device through the sustaining circuit 630. That is, in the circuit where the switching circuit 620 and the sustaining circuit 630 are electrically connected, the circuit control module 640 inputs a pulse signal to the switching circuit 620 and a second-level signal to the sustaining circuit 630 simultaneously, thus turning on the circuit between the switching circuit, the sustaining circuit, and the electromagnetic device. This enables the first voltage provided by the switching circuit to be conducted to the electromagnetic device through the wires in the sustaining circuit, providing the electromagnetic device with a first voltage.

[0156] In one possible implementation, the switching circuit 620 further includes a first power supply 621, and the sustaining circuit 630 further includes a switching unit 631 and a second power supply 632. That is, the circuit connection between the switching circuit, sustaining circuit, and electromagnetic device can be achieved through the switching unit. The sustaining circuit 630 is also configured to, upon receiving a second-level signal input from the circuit control module 640, have the switching unit 631 in a first conducting state, thereby establishing a path between the switching circuit 620 and the electromagnetic device, so that the first power supply 621 in the switching circuit 620 provides a first voltage to the electromagnetic device.

[0157] The sustaining circuit 630 is also used to ensure that when the first level signal is received from the circuit control module 640, the switching unit 631 is in a second conducting state, and the path between the second power supply and the electromagnetic device is opened through the switching unit 631 so as to provide the second voltage output by the second power supply to the electromagnetic device.

[0158] For example, in the above Figure 6 In the control circuit shown, the sustaining circuit 630 includes a first input terminal IN1, a second input terminal IN2, a third input terminal NC1, a fourth input terminal NC2, a fifth input terminal NO1, a sixth input terminal NO2, a first output terminal COM1, and a second output terminal COM2. The switching circuit 620 includes a third output terminal VO1 and a fourth output terminal VO2. The switching unit 631 includes a first switching component 631A and a second switching component 631B.

[0159] The circuit control module 640 is electrically connected to the first input terminal IN1 and the second input terminal IN2, respectively; the third input terminal NC1 is electrically connected to the third output terminal VO1, the fourth input terminal NC2 is electrically connected to the fourth output terminal VO2, the fifth input terminal NO1 and the sixth input terminal NO2 are electrically connected to the second power supply P, and the first output terminal COM1 and the second output terminal COM2 are electrically connected to the electromagnetic device.

[0160] When the switching unit 631 is in the first conducting state, the third input terminal NC 1 is connected to the first output terminal COM 1 through the first switching component 631A, and the fourth input terminal NC 2 is connected to the second output terminal COM 2 through the second switching component 631B. The aforementioned second level signal is a low-level signal input to the first input terminal IN 1 and a low-level signal input to the second input terminal IN 2. That is, after receiving the filter switching signal, the circuit control module 640 is also used to input low-level signals to the first input terminal IN 1 and the second input terminal IN 2, so that the switching unit 631 switches to the first conducting state. The first voltage provided by the switching circuit 620 can be conducted to the filter assembly through the loop formed by the third input terminal NC 1 - the first switching component 631A - the first output terminal COM 1 - the filter assembly - the second output terminal COM 2 - the second switching component 631B - the fourth input terminal NC 2.

[0161] Optionally, the aforementioned second conduction state may further include a first sub-state and a second sub-state. When the switching unit is in the first sub-state, the fifth input terminal NO1 is connected to the first output terminal COM1 through the first switching component 631A, and the fourth input terminal NC2 is connected to the second output terminal COM2 through the second switching component 631B. The aforementioned first level signal is a high-level signal input to the first input terminal IN1 and a low-level signal input to the second input terminal IN2. That is, the first level signal includes a low level signal and a high level signal. The circuit control module 640 is also used to input a high level signal to the first input terminal IN1 and a low level signal to the second input terminal IN2 after receiving the filter switching signal, so that the switching unit 631 switches to the first sub-state. The switching unit 631 disconnects the electrical connection between the switching circuit 620 and the filter assembly through the maintenance circuit 630. The second voltage provided by the second power supply is conducted to the filter assembly through the loop formed by the fifth input terminal NO1 of the maintenance circuit 630 - the first switching component 631A - the first output terminal COM1 - the filter assembly - the second output terminal COM2 - the second switching component 631B - the fourth input terminal NC2.

[0162] When the switching unit is in the second sub-state, the third input terminal NC1 is connected to the first output terminal COM1 through the first switching component 631A, and the sixth input terminal NO2 is connected to the second output terminal COM2 through the second switching component 631B. The aforementioned first level signal is a low-level signal input to the first input terminal IN1 and a high-level signal input to the second input terminal IN2. That is, the first level signal includes a high level signal and a low level signal. The circuit control module 640 is also used to input a high level signal to the second input terminal IN2 and a low level signal to the first input terminal IN1 after stopping the input of pulse signals to the switching circuit, so that the switching unit 631 switches to the second sub-state. The switching unit 631 disconnects the electrical connection between the switching circuit 620 and the filter assembly through the maintenance circuit 630. The second voltage provided by the second power supply is conducted to the filter assembly through the loop formed by the sixth input terminal NO2 of the maintenance circuit 630 - the second switching component 631B - the second output terminal COM2 - the filter assembly - the first output terminal COM1 - the first switching component 631A - the third input terminal NC1.

[0163] That is, the truth table of the sustaining circuit 630 can be shown in Table 1 below.

[0164] IN 1 IN 2 Switching unit low level low level First conduction state high level low level First substate low level high level Second substate

[0165] Table 1

[0166] Optionally, the switching circuit 620 also includes a seventh input terminal VP1 and an eighth input terminal VP2. The circuit control module 640 is electrically connected to the seventh input terminal VP1 and the eighth input terminal VP2. After receiving the filter switching signal, the circuit control module 640 will input a pulse signal to the seventh input terminal VP1 or the eighth input terminal VP2 to trigger the switching circuit 620 to provide a first voltage to the electromagnetic device.

[0167] Optionally, if the first filter is a visible light filter and the second filter is an infrared light filter, meaning the filter switching signal controls the switching from the currently used visible light filter to an infrared light filter, then the circuit control module 640 will input a pulse signal to the seventh input terminal VP1, triggering the switching circuit 620 to provide a first voltage to the electromagnetic device. In this case, the third output terminal VO1 of the switching circuit 620 is the positive terminal of the first voltage, and the fourth output terminal VO2 is the negative terminal of the first voltage. If the first filter is an infrared light filter and the second filter is a visible light filter, meaning the filter switching signal controls the switching from the currently used infrared light filter to a visible light filter, then the circuit control module 640 will input a pulse signal to the eighth input terminal VP2, triggering the switching circuit 620 to provide a first voltage to the electromagnetic device. In this case, the third output terminal VO1 of the switching circuit 620 is the negative terminal of the first voltage, and the fourth output terminal VO2 is the positive terminal of the first voltage. Optionally, the duration of the aforementioned pulse signal can be between 150 milliseconds and 500 milliseconds, for example, 250 milliseconds.

[0168] That is, the truth table of the switching circuit 620 can be shown in Table 2 below.

[0169] VP 1 VP 2 VO 1 VO 2 There is a pulse No pulse positive electrode negative electrode No pulse There is a pulse negative electrode positive electrode

[0170] Table 2

[0171] Optionally, this corresponds to the case where the first filter is a visible light filter and the second filter is an infrared light filter. During the day, the filter assembly operates using the visible light filter. In real life, when the light changes from day to night (the detection process can be referred to above),... Figure 3 (As described in the embodiments, which will not be repeated here) The circuit control module 640 can receive a filter switching signal, which is a signal to control the switching of the currently used visible light filter to an infrared light filter.

[0172] After receiving the filter switching signal, the circuit control module 640 inputs a pulse signal to VP1 of the switching circuit 620, triggering VO1 of the switching circuit 620 to act as the positive terminal of the first voltage and VO2 of the switching circuit 620 to act as the negative terminal of the first voltage, thus providing the first voltage to the electromagnetic device. In this embodiment, since the filter assembly previously used a visible light filter, the sustaining circuit 630 provides a second voltage to the filter assembly. Taking the use of a visible light filter as an example, the aforementioned second conduction state is a second sub-state. At this time, the circuit control module 640 inputs a low-level signal to the first input terminal IN1 and a high-level signal to the second input terminal IN2, meaning the switching unit is in the second sub-state. Therefore, the circuit control module 640 needs to control the switching unit to switch from the second sub-state to the first conduction state, so that the first voltage provided by VO1 of the switching circuit 620 as the positive terminal and VO2 of the switching circuit 620 as the negative terminal is provided to the electromagnetic device.

[0173] Therefore, while the circuit control module 640 inputs a pulse signal to the switching circuit 620, the circuit control module 640 can also input a second-level signal to the sustaining circuit 630, so that the switching circuit 620 provides a first voltage to the electromagnetic device through the sustaining circuit 630. That is, while the circuit control module 640 inputs a pulse signal to the switching circuit 620, it also inputs a low-level signal to the first input terminal IN1 and a low-level signal to the second input terminal IN2, causing the switching unit 631 to switch from the second sub-state to the first on state.

[0174] Optionally, the circuit control module 640 is further configured to input a first-level signal to the sustaining circuit 630 after stopping the input of pulse signals to the switching circuit. That is, after the circuit control module 640 stops inputting pulse signals to the switching circuit 620, it inputs a first-level signal to the sustaining circuit 630. In the example where the first filter is a visible light filter and the second filter is an infrared light filter, the first-level signal is a high-level signal input to the first input terminal IN1 and a low-level signal input to the second input terminal IN2, so that the switching unit 631 switches from the first conducting state to the first sub-state. The second voltage provided by the second power supply is conducted to the filter assembly through the loop formed by the fifth input terminal NO1 of the sustaining circuit 630 - the first switching component 631A - the first output terminal COM1 - the filter assembly - the second output terminal COM2 - the second switching component 631B - the fourth input terminal NC2, thereby increasing the fixing force on the infrared light filter.

[0175] Optionally, if the filter assembly is currently using an infrared light filter, and the filter switching signal is a signal that controls the switching of the currently used infrared light filter to a visible light filter, then the aforementioned first level signal is a low-level signal input to the first input terminal IN1 and a high-level signal input to the second input terminal IN2. The steps executed by the control circuit can refer to the description in the above description of switching from a visible light filter to an infrared light filter, and will not be repeated here.

[0176] Optionally, in this embodiment, the circuit control module can be a microcontroller unit (MCU). The circuit control module 640 can include output ports SW1, SW2, EN1, and EN2. Output port SW1 can be connected to the VP1 input of the switching circuit 620, output port SW2 can be connected to the VP2 input of the switching circuit 620, output port EN1 can be connected to the IN1 input of the sustaining circuit 630, and output port EN2 can be connected to the IN2 input of the sustaining circuit 630. This application controls the inputs of IN1 and IN2 on the sustaining circuit by adding two general-purpose input / output (GPIO) ports EN1 and EN2 to the microcontroller unit, thereby achieving circuit switching and providing the filter assembly with a first voltage output from the switching circuit and a second voltage output from the sustaining circuit. In actual implementation, the switching circuit can be implemented using an FP5502 / SOT23-6 integrated circuit, and the sustaining circuit can be implemented using a TS5A22364 integrated circuit.

[0177] In one possible implementation, the circuit control module 640 is further configured to acquire physical parameters of the control circuit, the physical parameters being used to indicate the physical parameters of the environment in which the control circuit is located; the circuit control module 640 is further configured to determine the second power supply based on the physical parameters after receiving them; the circuit control module 640 is further configured to control the fifth input terminal and the sixth input terminal to be electrically connected to the second power supply respectively.

[0178] In this embodiment, the circuit control module 640 can also acquire the physical parameters of the control circuit and determine the second power supply based on the physical parameters, thereby controlling the fifth input terminal and the sixth input terminal to be connected to the corresponding second power supply, and realizing the selection of the second voltage provided to the filter assembly. For example, the physical parameters mentioned above may include any one or more of vibration parameters and heat dissipation parameters. The vibration parameters are used to indicate the degree of vibration of the environment in which the control circuit is located, and the heat dissipation parameters are used to indicate the heat dissipation capacity of the environment in which the control circuit is located.

[0179] In one possible implementation, when the aforementioned physical parameters include vibration parameters, the circuit control module 640 can acquire the vibration parameters through a vibration sensor and determine the second power supply based on these vibration parameters. For example, the control circuit described above includes three power supplies: power supply one, power supply two, and power supply three. Power supply one can provide a voltage of 1.0V, power supply two can provide a voltage of 1.5V, and power supply three can provide a voltage of 2.0V. The vibration parameters correspond to these three power supplies. Please refer to Table 3, which shows one correspondence between vibration parameters and power supplies according to an embodiment of this application.

[0180] Vibration parameters power supply Low Power supply one middle Power supply 2 high Power supply three

[0181] Table 3

[0182] As can be seen from Table 3 above, when the vibration parameter indicates that the vibration level of the environment in which the control circuit is located is "medium", the circuit control module 640 can look up Table 3 above to obtain the second power supply corresponding to the vibration parameter, use the second power supply as the second power supply, and control the fifth input terminal and the sixth input terminal to be electrically connected to the second power supply respectively.

[0183] In one possible implementation, when the aforementioned physical parameters include heat dissipation parameters, the circuit control module 640 can obtain the heat dissipation parameters through a temperature sensor and determine the second power supply based on these parameters. For example, the control circuit described above includes three power supplies: power supply one, power supply two, and power supply three. Power supply one can provide a voltage of 1.0V, power supply two can provide a voltage of 1.5V, and power supply three can provide a voltage of 2.0V. The heat dissipation parameters correspond to these three power supplies. Please refer to Table 4, which shows one correspondence between heat dissipation parameters and power supplies according to an embodiment of this application.

[0184] Heat dissipation parameters power supply Low Power supply one middle Power supply 2 high Power supply three

[0185] Table 4

[0186] As shown in Table 4 above, when the heat dissipation parameter indicates that the heat dissipation level of the environment in which the control circuit is located is "high", the circuit control module 640 can consult Table 4 to obtain the third power supply corresponding to the heat dissipation parameter, use the second power supply as the second power supply, and control the fifth and sixth input terminals to be electrically connected to the third power supply respectively. Optionally, when the above physical parameters include vibration parameters and heat dissipation parameters, the implementation method can also refer to the two forms mentioned above, which will not be elaborated here.

[0187] It should be noted that, in the processes described above, where the circuit control module 640 inputs a pulse signal to the switching circuit 620 to trigger the switching circuit to provide a first voltage to the electromagnetic device, and the circuit control module 640 inputs a first-level signal to the sustaining circuit 630 to trigger the sustaining circuit 630 to continuously provide a second voltage to the electromagnetic device, the circuit control module 640 can, after inputting the pulse signal to the switching circuit 620, wait a preset time interval before actively inputting the first-level signal to the sustaining circuit 630. Alternatively, the circuit control module 640 can, after inputting the pulse signal to the switching circuit 620, receive a feedback signal and input the first-level signal to the sustaining circuit 630 based on the feedback signal. The above two implementation methods can be referred to... Figure 3 The relevant descriptions in the embodiments will not be repeated here.

[0188] In summary, in the embodiments of this application, the aforementioned maintaining circuit can, after the filter switching is completed, provide a continuous second voltage to the electromagnetic device to increase the electromagnetic force of the electromagnetic device, further fixing the second filter. This increases the electromagnetic force of the electromagnetic device in addition to the attraction of the permanent magnet in the filter switching circuit, thereby improving the vibration resistance of the filter in the control circuit, reducing malfunctions of the filter switching circuit in a vibration environment, and enhancing the stability of the filter after switching in the control circuit.

[0189] In addition, in this embodiment of the application, the sustaining circuit is further refined to include a switching unit. The control circuit conducts the first voltage provided by the switching circuit to the electromagnetic device through the switching unit, and conducts the second voltage provided by the sustaining circuit to the electromagnetic device through the switching unit. The switching unit switches between multiple conduction loops, simplifying the control circuit.

[0190] In this embodiment, the circuit control module can determine the second power supply based on physical parameters, making the second power supply selected by the control circuit more suitable for the environment in which the control circuit is located, thereby improving the adaptability of the control circuit.

[0191] The following is an embodiment of the control method for controlling filter switching provided in this application. For details of the steps executed by the circuit control module in this embodiment, please refer to the above. Figure 3 or Figure 6 The description in the text.

[0192] Please refer to Figure 7This document illustrates a flowchart of a control method provided in an embodiment of this application. The control method is applied to a camera module, which includes a filter assembly. The filter assembly includes an electromagnetic device and at least two filters, each filtering light at a different frequency band. The control method is executed by a circuit control module within a control circuit, which also includes a switching circuit and a sustaining circuit. The switching circuit is electrically connected to the electromagnetic device, and the sustaining circuit is also electrically connected to the electromagnetic device. The circuit control module is electrically connected to both the switching circuit and the sustaining circuit. Figure 7 As shown, the method includes the following steps:

[0193] Step 701: Input a pulse signal to the switching circuit. The pulse signal is used to trigger the switching circuit to provide a first voltage to the electromagnetic device, so as to drive at least two filters to switch from the currently used first filter to the second filter through the electromagnetic device.

[0194] Step 702: After the electromagnetic device is driven to switch from the currently used first filter to the second filter, a first level signal is input to the sustaining circuit. The first level signal is used to trigger the sustaining circuit to continuously provide a second voltage to the electromagnetic device to increase the electromagnetic force of the electromagnetic device, so that the second filter is in a fixed position.

[0195] As an optional implementation, before inputting a pulse signal to the switching circuit, the following is also included:

[0196] Receive filter switching signal, which is used to control the switching of the currently used first filter to the second filter.

[0197] As an optional implementation, the switching circuit is also electrically connected to the sustaining circuit, and the method further includes:

[0198] While inputting a pulse signal to the switching circuit, a second-level signal is input to the sustaining circuit, so that the switching circuit provides a first voltage to the electromagnetic device through the sustaining circuit.

[0199] As an optional implementation, inputting a first-level signal to the sustaining circuit includes:

[0200] After stopping the input of pulse signals to the switching circuit, a first-level signal is input to the sustaining circuit.

[0201] As an optional implementation, the switching circuit further includes a first power supply, and the sustaining circuit further includes a switching unit and a second power supply.

[0202] When a second-level signal is input to the sustaining circuit, the switching unit is in the first conducting state. The switching unit conducts the path between the switching circuit and the electromagnetic device, so that the first power supply in the switching circuit provides the first voltage to the electromagnetic device.

[0203] When a first-level signal is input to the sustaining circuit, the switching unit is in the second conduction state, and the path between the second power supply and the electromagnetic device is opened through the switching unit so as to provide the second voltage output by the second power supply to the electromagnetic device.

[0204] As an optional implementation, the sustaining circuit includes a first input terminal, a second input terminal, a third input terminal, a fourth input terminal, a fifth input terminal, a sixth input terminal, a first output terminal, and a second output terminal; the switching circuit includes a third output terminal and a fourth output terminal; and the switching unit includes a first switching component and a second switching component.

[0205] The circuit control module is electrically connected to the first input terminal and the second input terminal respectively; the third input terminal is electrically connected to the third output terminal, the fourth input terminal is electrically connected to the fourth output terminal, the fifth input terminal and the sixth input terminal are electrically connected to the second power supply respectively, and the first output terminal and the second output terminal are electrically connected to the electromagnetic device respectively.

[0206] When the switching unit is in the first conducting state, the third input terminal is connected to the first output terminal through the first switching component, and the fourth input terminal is connected to the second output terminal through the second switching component;

[0207] The second conduction state includes the first sub-state and the second sub-state;

[0208] When the switching unit is in the first sub-state, the fifth input terminal is connected to the first output terminal through the first switching component, and the fourth input terminal is connected to the second output terminal through the second switching component.

[0209] When the switching unit is in the second sub-state, the third input terminal is connected to the first output terminal through the first switching component, and the sixth input terminal is connected to the second output terminal through the second switching component.

[0210] As an optional implementation, the second level signal includes a low level signal. While inputting a pulse signal to the switching circuit, the second level signal is also input to the sustaining circuit, including:

[0211] While inputting a pulse signal to the switching circuit, a low-level signal is input to the first input terminal and a low-level signal is input to the second input terminal.

[0212] As an optional implementation, the first level signal includes a high level signal and a low level signal. Inputting the first level signal to the sustaining circuit includes:

[0213] A high-level signal is input to the first input terminal and a low-level signal is input to the second input terminal to switch the switching unit to the first sub-state.

[0214] As an optional implementation, the first level signal includes a high level signal and a low level signal. Inputting the first level signal to the sustaining circuit includes:

[0215] A high-level signal is input to the second input terminal and a low-level signal is input to the first input terminal, so that the switching unit switches to the second sub-state.

[0216] As an optional implementation, after receiving the filter switching signal, the method further includes:

[0217] Obtain the physical parameters of the control circuit, which are used to indicate the physical properties of the environment in which the control circuit is located;

[0218] Determine the second power source based on physical parameters;

[0219] The fifth and sixth input terminals are electrically connected to the second power supply, respectively.

[0220] As an optional implementation, the physical parameters include any one or more of vibration parameters and heat dissipation parameters. The vibration parameters are used to indicate the degree of vibration of the environment in which the control circuit is located, and the heat dissipation parameters are used to indicate the heat dissipation capacity of the environment in which the control circuit is located.

[0221] As an optional implementation, the control circuit further includes a first feedback circuit, which is electrically connected to the circuit control module and the switching circuit respectively. The first feedback circuit is used to obtain the output voltage of the switching circuit, and the first feedback circuit is also used to send a first feedback signal to the circuit control module when the output voltage of the maintenance circuit is equal to a first voltage.

[0222] Before inputting the first-level signal to the sustaining circuit, the following is also included:

[0223] Receive the first feedback signal sent by the first feedback circuit;

[0224] The first level signal is input to the sustaining circuit based on the first feedback signal.

[0225] As an optional implementation, the control circuit further includes a second feedback circuit, which is electrically connected to the electromagnetic device and the circuit control module respectively. The second feedback circuit is used to obtain the reversal state of the electromagnetic device, which is used to indicate whether the polarity of the electromagnetic device has been reversed. The second feedback circuit is also used to send a second feedback signal to the circuit control module when the reversal state of the electromagnetic device indicates that the polarity of the electromagnetic device has been reversed.

[0226] Before inputting the first-level signal to the sustaining circuit, the following is also included:

[0227] Receive the second feedback signal sent by the second feedback circuit;

[0228] The first level signal is input to the sustaining circuit based on the second feedback signal.

[0229] In summary, in the embodiments of this application, the aforementioned maintaining circuit can, after the filter switching is completed, provide a continuous second voltage to the electromagnetic device to increase the electromagnetic force of the electromagnetic device, further fixing the second filter. This increases the electromagnetic force of the electromagnetic device in addition to the attraction of the permanent magnet in the filter switching circuit, thereby improving the vibration resistance of the filter in the control circuit, reducing malfunctions of the filter switching circuit in a vibration environment, and enhancing the stability of the filter after switching in the control circuit.

[0230] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0231] Please refer to Figure 8 This document illustrates a structural block diagram of a control device provided in an exemplary embodiment of this application. The control device 800 can be applied to a camera module, which includes a filter assembly comprising an electromagnetic device and at least two filters that filter light at different frequency bands. The control method is executed by a circuit control module in a control circuit, which further includes a switching circuit and a sustaining circuit. The switching circuit is electrically connected to the electromagnetic device, and the sustaining circuit is electrically connected to the electromagnetic device. The circuit control module is electrically connected to the switching circuit and the sustaining circuit. The device includes:

[0232] The first signal transmitting module 801 is used to input a pulse signal to the switching circuit. The pulse signal is used to trigger the switching circuit to provide a first voltage to the electromagnetic device, so as to drive the at least two filters to switch from the currently used first filter to the second filter through the electromagnetic device.

[0233] The second signal transmitting module 802 is used to input a first level signal to the sustaining circuit after the electromagnetic device is driven to switch from the currently used first filter to the second filter. The first level signal is used to trigger the sustaining circuit to continuously provide a second voltage to the electromagnetic device to increase the electromagnetic force of the electromagnetic device, so that the second filter is in a fixed position.

[0234] In summary, in the embodiments of this application, the aforementioned maintaining circuit can, after the filter switching is completed, provide a continuous second voltage to the electromagnetic device to increase the electromagnetic force of the electromagnetic device, further fixing the second filter. This increases the electromagnetic force of the electromagnetic device in addition to the attraction of the permanent magnet in the filter switching circuit, thereby improving the vibration resistance of the filter in the control circuit, reducing malfunctions of the filter switching circuit in a vibration environment, and enhancing the stability of the filter after switching in the control circuit.

[0235] In one possible implementation, the control circuit described above can be applied to a camera module, which may include the features described above. Figure 2 , Figure 3 or Figure 6 The control circuits shown in the figure can be used to control the switching of the filter, and the control circuits can be used to execute the control method for controlling the switching of the filter, thereby controlling the switching of its own filter.

[0236] In one possible implementation, the camera module described above can be applied to a terminal, which may include at least one camera module as described above. Optionally, the terminal may be a terminal capable of mounting a camera module.

[0237] For example, the terminal can be an in-vehicle device, such as a vehicle computer with recording function, or a wireless communication device connected to an external vehicle computer.

[0238] Alternatively, the terminal can also be a roadside device, such as a street light, traffic light, or other roadside device with monitoring functions.

[0239] Alternatively, the terminal can also be a user terminal device, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, for example, a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device. Examples include Station (STA), subscriber unit, subscriber station, mobile station, mobile station, remote station, access point, remote terminal, access terminal, user terminal, user agent, user device, or user equipment (UE). For example, a terminal can be a mobile phone, tablet computer, e-book reader, smart glasses, smartwatch, MP4 (Moving Picture Experts Group Audio Layer IV) player, laptop computer, desktop computer, and so on.

[0240] Taking a first voltage of 3.3V and a second voltage of 1.5V as an example, in the aforementioned terminal, when the terminal detects that the environment has switched from daytime to nighttime, the terminal provides a 3.3V voltage to the filter assembly through a switching circuit in the control circuit, causing the filter to switch. After the filter switching is completed, the 3.3V circuit is disconnected, and the circuit providing the second voltage is turned on. The terminal continuously supplies power to the filter assembly with a 1.5V voltage, causing the electromagnetic devices in the filter assembly to generate electromagnetic force, thereby increasing the holding force of the filter in its fixed position. When the terminal detects that the environment has switched from nighttime to daytime again, the terminal controls the switching circuit to change the direction of the 3.3V voltage supplied to the filter assembly through the control circuit, causing the filter to switch again. After the filter switching is completed, the circuit providing the second voltage is turned on, and the direction of the 1.5V voltage supplied to the electromagnetic devices also changes, causing the electromagnetic devices in the filter assembly to generate electromagnetic force, thereby increasing the holding force of the filter in its fixed position.

[0241] In summary, in the embodiments of this application, the aforementioned maintaining circuit can, after the filter switching is completed, provide a continuous second voltage to the electromagnetic device to increase the electromagnetic force of the electromagnetic device, further fixing the second filter. This increases the electromagnetic force of the electromagnetic device in addition to the attraction of the permanent magnet in the filter switching circuit, thereby improving the vibration resistance of the filter in the control circuit, reducing malfunctions of the filter switching circuit in a vibration environment, and enhancing the stability of the filter after switching in the control circuit.

[0242] This application also discloses a computer-readable storage medium that stores a computer program, wherein the computer program, when executed by a processor, implements the method described in the above method embodiments.

[0243] This application also discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the methods described in the above method embodiments.

[0244] This application also discloses an application publishing platform, which is used to publish computer program products. When the computer program products are run on a computer, the computer executes the methods described in the above method embodiments.

[0245] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Those skilled in the art should also recognize that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily essential to this application.

[0246] In the various embodiments of this application, it should be understood that the sequence number of each process does not necessarily imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0247] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they can be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0248] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0249] If the aforementioned integrated units are implemented as software functional units and sold or used as independent products, they can be stored in a computer-accessible memory. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several requests to cause a computer device (which can be a personal computer, server, or network device, specifically a processor in the computer device) to execute some or all of the steps of the methods described in the various embodiments of this application.

[0250] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, including 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 optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0251] The above description provides examples of a control circuit, method, camera module, and terminal for controlling filter switching disclosed in this application. These examples illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are merely for the purpose of helping to understand the method and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A control circuit, characterized by The control circuit is applied to the camera module, which includes a filter assembly. The filter assembly includes an electromagnetic device and at least two filters, which filter light at different frequency bands. The control circuit includes: a switching circuit and a sustaining circuit; The switching circuit is electrically connected to the electromagnetic device, and the sustaining circuit is electrically connected to the electromagnetic device; the electromagnetic device includes an electromagnetic coil, a magnet, and a permanent magnet. The switching circuit is used to provide a first voltage to the electromagnetic device to drive the at least two filters to switch from the currently used first filter to the second filter. After the switching is completed, the first voltage supplied to the electromagnetic device is interrupted, and the second filter is held in the switched position by the attraction between the magnet and the permanent magnet. The sustaining circuit is used to continuously supply a second voltage to the electromagnetic device after the electromagnetic device is driven to switch from the currently used first filter to the second filter, so as to increase the electromagnetic force of the electromagnetic device on the original attraction between the magnet and the permanent magnet, so that the second filter is in a fixed position. The control circuit also includes a circuit control module; The circuit control module is electrically connected to the switching circuit, and the circuit control module is electrically connected to the sustaining circuit; The circuit control module is used to input a pulse signal to the switching circuit, and the pulse signal is used to trigger the switching circuit to provide a first voltage to the electromagnetic device. The circuit control module is also used to input a first level signal to the sustaining circuit, the first level signal being used to trigger the sustaining circuit to continuously provide a second voltage to the electromagnetic device; The switching circuit is also electrically connected to the maintaining circuit; The circuit control module is further configured to input a second level signal to the sustaining circuit while inputting the pulse signal to the switching circuit, so that the switching circuit provides the first voltage to the electromagnetic device through the sustaining circuit; The circuit control module is further configured to input the first level signal to the sustaining circuit after stopping the input of the pulse signal to the switching circuit.

2. The control circuit of claim 1, wherein, The circuit control module is also used to receive filter switching signals; The filter switching signal is used to control the switching of the currently used first filter to the second filter.

3. The control circuit of claim 1, wherein, The switching circuit further includes a first power supply, and the sustaining circuit further includes a switching unit and a second power supply. The sustaining circuit is further configured to, when receiving a second level signal input from the circuit control module, have the switching unit in a first conducting state, thereby connecting the switching circuit and the electromagnetic device through the switching unit, so that the first power supply in the switching circuit provides the first voltage to the electromagnetic device; The sustaining circuit is further configured to, when receiving a first level signal input from the circuit control module, have the switching unit in a second conducting state, thereby connecting the second power supply and the electromagnetic device through the switching unit to supply the second voltage output by the second power supply to the electromagnetic device.

4. The control circuit of claim 3, wherein, The sustaining circuit includes a first input terminal, a second input terminal, a third input terminal, a fourth input terminal, a fifth input terminal, a sixth input terminal, a first output terminal, and a second output terminal; the switching circuit includes a third output terminal and a fourth output terminal; and the switching unit includes a first switching component and a second switching component. The circuit control module is electrically connected to the first input terminal and the second input terminal respectively; the third input terminal is electrically connected to the third output terminal, the fourth input terminal is electrically connected to the fourth output terminal, the fifth input terminal and the sixth input terminal are electrically connected to the second power supply respectively, and the first output terminal and the second output terminal are electrically connected to the electromagnetic device respectively. When the switching unit is in the first conducting state, the third input terminal is connected to the first output terminal through the first switching component, and the fourth input terminal is connected to the second output terminal through the second switching component; The second conduction state includes a first sub-state and a second sub-state; When the switching unit is in the first sub-state, the fifth input terminal is connected to the first output terminal through the first switching component, and the fourth input terminal is connected to the second output terminal through the second switching component; When the switching unit is in the second sub-state, the third input terminal is connected to the first output terminal through the first switching component, and the sixth input terminal is connected to the second output terminal through the second switching component.

5. The control circuit of claim 4, wherein, The second level signal includes a low level signal. The circuit control module is further configured to input the low level signal to the first input terminal and the second input terminal after the circuit control module receives the filter switching signal, so that the switching unit switches to the first conduction state.

6. The control circuit of claim 4, wherein, The first level signal includes a high level signal and a low level signal. The circuit control module is further configured to input a high level signal to the first input terminal and a low level signal to the second input terminal after the circuit control module stops inputting the pulse signal to the switching circuit, so that the switching unit switches to the first sub-state.

7. The control circuit of claim 4, wherein, The first level signal includes a high level signal and a low level signal. The circuit control module is further configured to input a high level signal to the second input terminal and a low level signal to the first input terminal after the circuit control module stops inputting the pulse signal to the switching circuit, so that the switching unit switches to the second sub-state.

8. The control circuit of claim 3, wherein, The circuit control module is also used to acquire the physical parameters of the control circuit, which are used to indicate the physical indicators of the environment in which the control circuit is located. The circuit control module is further configured to determine the second power supply based on the physical parameters after receiving the physical parameters. The circuit control module is also used to control the fifth input terminal and the sixth input terminal of the sustaining circuit to be electrically connected to the second power supply, respectively.

9. The control circuit of claim 8, wherein, The physical parameters include any one or more of vibration parameters and heat dissipation parameters. The vibration parameters are used to indicate the degree of vibration of the environment in which the control circuit is located, and the heat dissipation parameters are used to indicate the heat dissipation capacity of the environment in which the control circuit is located.

10. The control circuit according to any one of claims 1 to 4, characterized in that The control circuit further includes a first feedback circuit, which is electrically connected to the input terminals of the circuit control module and the filter assembly, respectively. The first feedback circuit is used to obtain the input voltage of the filter assembly. The first feedback circuit is further configured to send a first feedback signal to the circuit control module when the input voltage of the filter assembly is equal to the first voltage; The circuit control module is further configured to input the first level signal to the sustaining circuit based on the first feedback signal.

11. The control circuit according to any one of claims 1 to 4, characterized by The control circuit further includes a second feedback circuit, which is electrically connected to the electromagnetic device and the circuit control module respectively. The second feedback circuit is used to obtain the reversal state of the electromagnetic device, and the reversal state is used to indicate whether the polarity of the electromagnetic device has been reversed. The second feedback circuit is further configured to send a second feedback signal to the circuit control module when the reversal state of the electromagnetic device indicates that the polarity of the electromagnetic device has reversed. The circuit control module is further configured to input the first level signal to the sustaining circuit based on the second feedback signal.

12. A camera module, comprising: The camera module includes at least one control circuit as described in any one of claims 1 to 11.

13. A terminal, characterized by The terminal includes at least one camera module as described in claim 12.

14. A control method characterized by, The control method is applied to a camera module, which includes a filter assembly. The filter assembly includes an electromagnetic device and at least two filters, the at least two filters filtering light at different frequency bands. The control method is executed by a circuit control module in a control circuit, which further includes a switching circuit and a sustaining circuit. The switching circuit is electrically connected to the electromagnetic device, and the sustaining circuit is electrically connected to the electromagnetic device. The circuit control module is electrically connected to the switching circuit and the sustaining circuit. The electromagnetic device includes an electromagnetic coil, a magnet, and a permanent magnet. The method includes: A pulse signal is input to the switching circuit, the pulse signal being used to trigger the switching circuit to provide a first voltage to the electromagnetic device, so as to drive the at least two filters to switch from the currently used first filter to the second filter through the electromagnetic device. After the switching is completed, the first voltage supplied to the electromagnetic device is interrupted, so that the second filter is held in the switched position by the attraction between the magnet and the permanent magnet. After the electromagnetic device is switched from the currently used first filter to the second filter, a first level signal is input to the sustaining circuit. The first level signal is used to trigger the sustaining circuit to continuously provide a second voltage to the electromagnetic device, so as to increase the electromagnetic force of the electromagnetic device on the original attraction between the magnet and the permanent magnet, so that the second filter is in a fixed position. The switching circuit is also electrically connected to the sustaining circuit, and the method further includes: While inputting the pulse signal to the switching circuit, a second level signal is input to the sustaining circuit, so that the switching circuit provides the first voltage to the electromagnetic device through the sustaining circuit; After stopping the input of the pulse signal to the switching circuit, the first level signal is input to the sustaining circuit.

15. The method according to claim 14, characterized in that, Before inputting the pulse signal to the switching circuit, the method further includes: Receive a filter switching signal, which is a signal used to control the switching of the currently used first filter to the second filter.

16. The method according to claim 14, characterized in that, The step of inputting a first-level signal to the sustaining circuit includes: After stopping the input of the pulse signal to the switching circuit, the first level signal is input to the sustaining circuit.

17. The method according to claim 14, characterized in that, The switching circuit further includes a first power supply, and the sustaining circuit further includes a switching unit and a second power supply. When the second level signal is input to the sustaining circuit, the switching unit is in a first conducting state, and the path between the switching circuit and the electromagnetic device is opened through the switching unit, so that the first power supply in the switching circuit provides the first voltage to the electromagnetic device; When the first level signal is input to the sustaining circuit, the switching unit is in a second conduction state, and the path between the second power supply and the electromagnetic device is opened through the switching unit so as to provide the second voltage output by the second power supply to the electromagnetic device.

18. The method according to claim 17, characterized in that, The sustaining circuit includes a first input terminal, a second input terminal, a third input terminal, a fourth input terminal, a fifth input terminal, a sixth input terminal, a first output terminal, and a second output terminal; the switching circuit includes a third output terminal and a fourth output terminal; and the switching unit includes a first switching component and a second switching component. The circuit control module is electrically connected to the first input terminal and the second input terminal respectively; the third input terminal is electrically connected to the third output terminal, the fourth input terminal is electrically connected to the fourth output terminal, the fifth input terminal and the sixth input terminal are electrically connected to the second power supply respectively, and the first output terminal and the second output terminal are electrically connected to the electromagnetic device respectively. When the switching unit is in the first conducting state, the third input terminal is connected to the first output terminal through the first switching component, and the fourth input terminal is connected to the second output terminal through the second switching component; The second conduction state includes a first sub-state and a second sub-state; When the switching unit is in the first sub-state, the fifth input terminal is connected to the first output terminal through the first switching component, and the fourth input terminal is connected to the second output terminal through the second switching component; When the switching unit is in the second sub-state, the third input terminal is connected to the first output terminal through the first switching component, and the sixth input terminal is connected to the second output terminal through the second switching component.

19. The method according to claim 18, characterized in that, The second level signal includes a low level signal. The step of simultaneously inputting the pulse signal to the switching circuit and inputting the second level signal to the sustaining circuit includes: While inputting the pulse signal to the switching circuit, a low-level signal is input to the first input terminal and a low-level signal is input to the second input terminal.

20. The method according to claim 18, characterized in that, The first level signal includes a high level signal and a low level signal, and inputting the first level signal to the sustaining circuit includes: A high-level signal is input to the first input terminal and a low-level signal is input to the second input terminal, so that the switching unit switches to the first sub-state.

21. The method according to claim 18, characterized in that, The first level signal includes a high level signal and a low level signal, and inputting the first level signal to the sustaining circuit includes: A high-level signal is input to the second input terminal and a low-level signal is input to the first input terminal, so that the switching unit switches to the second sub-state.

22. The method according to claim 18, characterized in that, After receiving the filter switching signal, it also includes: The physical parameters of the control circuit are obtained, and the physical parameters are used to indicate the physical indicators of the environment in which the control circuit is located. The second power source is determined based on the physical parameters; The fifth input terminal and the sixth input terminal are respectively electrically connected to the second power supply.

23. The method according to claim 22, characterized in that, The physical parameters include any one or more of vibration parameters and heat dissipation parameters. The vibration parameters are used to indicate the degree of vibration of the environment in which the control circuit is located, and the heat dissipation parameters are used to indicate the heat dissipation capacity of the environment in which the control circuit is located.

24. The method according to any one of claims 14 to 23, characterized in that, The control circuit further includes a first feedback circuit, which is electrically connected to the circuit control module and the switching circuit respectively. The first feedback circuit is used to obtain the output voltage of the switching circuit. The first feedback circuit is also used to send a first feedback signal to the circuit control module when the output voltage of the holding circuit is equal to the first voltage. Before inputting the first level signal to the sustaining circuit, the method further includes: Receive the first feedback signal sent by the first feedback circuit; The first level signal is input to the sustaining circuit according to the first feedback signal.

25. The method according to any one of claims 14 to 23, characterized in that, The control circuit further includes a second feedback circuit, which is electrically connected to the electromagnetic device and the circuit control module respectively. The second feedback circuit is used to obtain the reversal state of the electromagnetic device, which is used to indicate whether the polarity of the electromagnetic device has been reversed. The second feedback circuit is also used to send a second feedback signal to the circuit control module when the reversal state of the electromagnetic device indicates that the polarity of the electromagnetic device has been reversed. Before inputting the first level signal to the sustaining circuit, the method further includes: Receive the second feedback signal sent by the second feedback circuit; The first level signal is input to the sustaining circuit according to the second feedback signal.

26. A control device, characterized in that, The control device is applied to a camera module, which includes a filter assembly. The filter assembly includes an electromagnetic device and at least two filters, the at least two filters filtering light at different frequency bands. The control method is executed by a circuit control module in a control circuit, which further includes a switching circuit and a sustaining circuit. The switching circuit is electrically connected to the electromagnetic device, and the sustaining circuit is electrically connected to the electromagnetic device. The circuit control module is electrically connected to the switching circuit, and the switching circuit is also electrically connected to the sustaining circuit. The electromagnetic device includes an electromagnetic coil, a magnet, and a permanent magnet. The device includes: A first signal transmitting module is used to input a pulse signal to the switching circuit. The pulse signal is used to trigger the switching circuit to provide a first voltage to the electromagnetic device, so as to drive the at least two filters to switch from the currently used first filter to the second filter through the electromagnetic device. After the switching is completed, the first voltage supplied to the electromagnetic device is interrupted, so that the second filter is held in the position after the switching by the attraction between the magnet and the permanent magnet. The second signal transmitting module is used to input a first level signal to the sustaining circuit after the electromagnetic device is driven to switch from the currently used first filter to the second filter. The first level signal is used to trigger the sustaining circuit to continuously provide a second voltage to the electromagnetic device to increase the electromagnetic force of the electromagnetic device on the original attraction between the magnet and the permanent magnet, so that the second filter is in a fixed position. The first signal transmitting module is further configured to input a second level signal to the sustaining circuit while inputting the pulse signal to the switching circuit, so that the switching circuit provides the first voltage to the electromagnetic device through the sustaining circuit; The second signal transmitting module is further configured to input the first level signal to the sustaining circuit after stopping the input of the pulse signal to the switching circuit.

27. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the control method as described in any one of claims 14 to 25.

Citation Information

Patent Citations

  • Network camera

    CN206100228U

  • Drive arrangement and two light filter switch

    CN206411307U

  • Driving assembly for optical filter switching and camera

    CN211236530U

  • Control circuit, camera module and terminal equipment

    CN214228324U