Driving circuit, electronic device and control method

By designing a driving circuit in an electronic device, using the control signal to compensate the energy of the oscillation circuit according to temperature changes, the problem of temperature affecting ultrasonic signals is solved, and the stability and effect of fingerprint recognition are improved.

CN119810874APending Publication Date: 2025-04-11GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411809473.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The capacitance/inductor in the oscillating circuit is easily affected by temperature, which leads to amplitude changes in the ultrasonic signal and affects the fingerprint recognition effect.

Method used

A driving circuit is designed, including a control circuit, an oscillation circuit and an energy storage circuit. By generating a control signal according to the temperature of the electronic device, the energy storage circuit is controlled to provide compensation energy to the oscillation circuit to ensure that the amplitude of the driving signal generated by the oscillation circuit remains at a peak level.

Benefits of technology

The effect of temperature on the amplitude of the output sine wave signal of the oscillating circuit is reduced, the ultrasonic energy is stabilized, and the effect of fingerprint recognition is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119810874A_ABST
    Figure CN119810874A_ABST
Patent Text Reader

Abstract

The invention relates to a driving circuit, electronic equipment and a control method. The driving circuit comprises a control circuit, an oscillating circuit and an energy storage circuit. The control circuit is connected with the energy storage circuit, and the oscillating circuit is respectively connected with the energy storage circuit and an ultrasonic sensor of electronic equipment; the control circuit is used for controlling the energy storage circuit to provide compensation energy for the oscillating circuit according to a control signal; wherein the control signal is determined according to the temperature of the electronic equipment; the oscillating circuit is used for generating a driving signal according to the compensation energy and energy generated by the oscillating circuit; the driving signal is used for driving the ultrasonic sensor to transmit an ultrasonic signal. By adopting the driving circuit, the influence of the temperature of the electronic equipment on the amplitude of the sine wave signal output by the oscillating circuit can be reduced, so that the influence on the emitted ultrasonic energy is reduced, and the fingerprint identification effect is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a driving circuit, an electronic device and a control method. Background Art

[0002] With the development of ultrasonic technology, electronic devices can use ultrasonic waves for fingerprint unlocking. Usually, electronic devices can first use digital circuits to output low-voltage square wave signals, and then drive the oscillation circuit to resonate and generate high-voltage sine wave signals through the low-voltage square wave signals to achieve ultrasonic signal transmission. The ultrasonic signal passes through the display screen and reaches the user's finger and is reflected. The electronic device uses the detected fingerprint information to unlock.

[0003] However, the capacitance / inductance in the oscillation circuit is easily affected by temperature. When the temperature changes, its equivalent capacitance / inductance will change. Therefore, the temperature will affect the amplitude of the sinusoidal wave signal output by the oscillation circuit, and then affect the ultrasonic energy, resulting in poor fingerprint recognition effect. Summary of the invention

[0004] The embodiments of the present application provide a driving circuit, an electronic device, and a control method, which can reduce the influence of the temperature of the electronic device on the amplitude of the sinusoidal wave signal output by the oscillation circuit, thereby reducing the influence on the emitted ultrasonic energy and ensuring the effect of fingerprint recognition.

[0005] In a first aspect, an embodiment of the present application provides a driving circuit, the driving circuit comprising: a control circuit, an oscillation circuit and an energy storage circuit; the control circuit is connected to the energy storage circuit, and the oscillation circuit is respectively connected to the energy storage circuit and an ultrasonic sensor of an electronic device;

[0006] The control circuit is used to control the energy storage circuit to provide compensation energy to the oscillation circuit according to a control signal; wherein the control signal is determined according to the temperature of the electronic device;

[0007] The oscillation circuit is used to generate a driving signal according to the compensation energy and the energy generated by itself; the driving signal is used to drive the ultrasonic sensor to transmit an ultrasonic signal.

[0008] In a second aspect, an embodiment of the present application provides an electronic device, comprising an ultrasonic sensor and a driving circuit as described in the first aspect.

[0009] In a third aspect, an embodiment of the present application provides a control method, which is applied to the driving circuit as described in the first aspect, and the method includes:

[0010] generating a control signal according to the temperature of the electronic device;

[0011] The energy storage circuit is controlled according to the control signal to provide compensation energy to the oscillation circuit, so that the oscillation circuit generates a driving signal according to the compensation energy and the energy generated by itself; the driving signal is used to drive the ultrasonic sensor to transmit an ultrasonic signal.

[0012] The above-mentioned driving circuit, electronic device and control method, the driving circuit includes a control circuit, an oscillation circuit and an energy storage circuit, the control circuit is connected to the energy storage circuit, the oscillation circuit is respectively connected to the energy storage circuit and the ultrasonic sensor of the electronic device, and the control circuit can control the energy storage circuit to provide compensation energy to the oscillation circuit according to the control signal, wherein the control signal is determined according to the temperature of the electronic device, so that when the temperature of the electronic device changes, the energy generated by the oscillation circuit itself can be compensated by the energy storage circuit, so that the oscillation circuit can generate a driving signal according to the compensation energy provided by the compensation circuit and its own energy, so that when the temperature of the electronic device changes, the amplitude of the driving signal generated by the oscillation circuit is maintained at the peak level, ensuring that the energy generated by the oscillation circuit remains stable, thereby ensuring that the oscillation circuit is in a resonant state, and then the ultrasonic sensor is driven by the generated driving signal to emit an ultrasonic signal, so that sufficiently strong ultrasonic signal energy can reach the user's finger, ensuring the effect of fingerprint recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0014] Figure 1 is a schematic structural diagram of a driving circuit in one embodiment;

[0015] Figure 2 is a schematic structural diagram of a driving circuit in another embodiment;

[0016] Figure 3 is a schematic structural diagram of a driving circuit in another embodiment;

[0017] Figure 4 is a schematic diagram of the structure of an inductor circuit and a capacitor circuit in one embodiment;

[0018] Figure 5 is a schematic structural diagram of a driving circuit in another embodiment;

[0019] Figure 6 is a schematic structural diagram of a driving circuit in another embodiment;

[0020] Figure 7 A schematic flow chart of a control method in one embodiment;

[0021] Description of reference numerals:

[0022] 01: driving circuit; 10: control circuit; 20: oscillation circuit;

[0023] 201: first inductor; 202: first capacitor; 30: energy storage circuit;

[0024] 301: capacitor circuit; 3011: first capacitor group; 3012: second capacitor group;

[0025] 302: inductor circuit; 3021: first inductor group; 3022: second inductor group;

[0026] 40: switch circuit; 401: first switch circuit; 402: second switch circuit. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0028] It is understood that the terms "first", "second", etc. used in this application can be used in this article to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element. For example, without departing from the scope of this application, the first client can be referred to as the second client, and similarly, the second client can be referred to as the first client. Both the first client and the second client are clients, but they are not the same client. The "connection" and "connection" mentioned in this application, unless otherwise specified, include direct and indirect connections (connections). In the description of this application, it is necessary to understand that the orientation or position relationship indicated by the directional words such as "upper" and "lower" is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing this application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application. In this application, unless otherwise clearly specified and limited, the first feature "upper" or "lower" of the second feature can be the first and second features directly contacting, or the first and second features indirectly contacting through an intermediate medium. In the present application, the difference in name is not used as a way to distinguish the components, but the difference in function of the components is used as the principle of distinction.

[0029] In one embodiment, Figure 1As shown, a driving circuit 01 is provided, and the driving circuit 01 includes a control circuit 10, an oscillation circuit 20 and an energy storage circuit 30; the control circuit 10 is connected to the energy storage circuit 30, and the oscillation circuit 20 is respectively connected to the energy storage circuit 30 and the ultrasonic sensor of the electronic device; the control circuit 10 is used to control the energy storage circuit 30 to provide compensation energy to the oscillation circuit 20 according to a control signal; wherein the control signal is determined according to the temperature of the electronic device; the oscillation circuit 20 is used to generate a driving signal according to the compensation energy and the energy generated by itself; the driving signal is used to drive the ultrasonic sensor to emit an ultrasonic signal.

[0030] Among them, the temperature of the electronic device includes the temperature of the environment in which the electronic device is located and the temperature of the electronic device itself. Optionally, in this embodiment, the temperature of the electronic device can be detected by setting a temperature detection circuit, wherein the temperature detection circuit can be a temperature sensor already existing in the ultrasonic fingerprint module of the electronic device that is directly reused, or can also be additionally added. Further, in this embodiment, the temperature detection circuit can be connected to the processor of the electronic device, and the processor can determine how much energy needs to be compensated to the oscillation circuit 20 based on the temperature of the electronic device and a pre-established correspondence, and then generate a control signal based on the determined amount of energy to be compensated to the oscillation circuit 20, wherein the pre-established correspondence may include a correspondence between the temperature of the electronic device and the output energy of the oscillation circuit.

[0031] Optionally, the processor of the electronic device may also be connected to the control circuit 10 in this embodiment, and the processor may send the generated control signal to the control circuit 10, so that the control circuit 10 controls the energy storage circuit 30 to provide compensation energy to the oscillation circuit 20 according to the control signal. Optionally, the processor may drive the control circuit 10 through a general purpose input / output port (GPIO), or may drive the control circuit 10 through a serial communication interface, and the serial communication interface includes but is not limited to an integrated circuit bus (Inter-Integrated Circuit, I2C), a universal asynchronous receiver / transmitter (UART), a serial peripheral interface (SPI) and other communication protocol interfaces.

[0032] It is understandable that the temperature of the electronic device may increase the inductance and / or capacitance of the oscillation circuit, or may reduce the inductance and / or capacitance of the oscillation circuit. Therefore, in the present embodiment, the compensation energy provided by the energy storage circuit 30 to the oscillation circuit 20 may be used to increase the inductance and / or capacitance of the oscillation circuit, or may be used to reduce the inductance and / or capacitance of the oscillation circuit, or may be used to increase the capacitance and reduce the inductance, or may be used to reduce the capacitance and increase the inductance.

[0033] Optionally, the energy storage circuit in this embodiment may include at least one of a capacitor circuit and an inductor circuit. Optionally, in this embodiment, the control circuit 10 may control the conduction of the path between the energy storage circuit 30 and the oscillation circuit 20 according to the control signal, so that the energy storage circuit 30 provides compensation energy to the oscillation circuit 20, or the control circuit 10 may control the energy storage circuit 30 to adjust its own output energy according to the control signal, so that the energy storage circuit provides compensation energy to the oscillation circuit 20.

[0034] It should be noted that the oscillation circuit 20 in this embodiment can be an existing oscillation circuit 20 in the ultrasonic module, and the oscillation circuit 20 can be connected to the digital circuit in the ultrasonic module, and the digital circuit can output a low-voltage square wave signal, and the low-voltage square wave signal can drive the oscillation circuit 20 to resonate and generate a high-voltage sine wave signal, and the high-voltage sine wave signal generated by the oscillation circuit 20 is the energy generated by the oscillation circuit 20 itself in this embodiment. In this embodiment, the oscillation circuit 20 can superimpose the compensation energy provided by the energy storage circuit 30 and the energy generated by itself to generate a driving signal, thereby driving the ultrasonic sensor to emit an ultrasonic signal through the driving signal.

[0035] The above-mentioned driving circuit includes a control circuit, an oscillation circuit and an energy storage circuit. The control circuit is connected to the energy storage circuit, and the oscillation circuit is respectively connected to the energy storage circuit and the ultrasonic sensor of the electronic device. The control circuit can control the energy storage circuit to provide compensation energy to the oscillation circuit according to a control signal, wherein the control signal is determined according to the temperature of the electronic device. In this way, when the temperature of the electronic device changes, the energy generated by the oscillation circuit itself can be compensated by the energy storage circuit, so that the oscillation circuit can generate a driving signal according to the compensation energy provided by the compensation circuit and its own energy, so that when the temperature of the electronic device changes, the amplitude of the driving signal generated by the oscillation circuit is maintained at a peak level, ensuring that the energy generated by the oscillation circuit remains stable, thereby ensuring that the oscillation circuit is in a resonant state, and then the ultrasonic sensor is driven by the generated driving signal to emit an ultrasonic signal, so that sufficiently strong ultrasonic signal energy can reach the user's finger, ensuring the effect of fingerprint recognition.

[0036] In some scenarios, the energy storage circuit 30 may include at least one of an inductive circuit and a capacitive circuit. Figure 2 As shown, the energy storage circuit 30 includes a capacitor circuit 301 and / or an inductor circuit 302; the inductor circuit 302 is respectively connected to the control circuit 10 and the oscillation circuit 20; the capacitor circuit 301 is respectively connected to the control circuit 10 and the oscillation circuit 20; the control circuit 10 is used to control the capacitor circuit 301 and / or the inductor circuit 302 to provide compensation energy to the oscillation circuit 20 according to the above control signal.

[0037] In this embodiment, the energy storage circuit 30 may include at least one of a capacitor circuit 301 and an inductor circuit 302. Further, the capacitor circuit 301 may be connected to the control circuit 10 and the oscillation circuit 20 respectively, and the inductor circuit 302 may also be connected to the control circuit 10 and the oscillation circuit 20 respectively.

[0038] Optionally, in this embodiment, the energy storage circuit 30 can provide compensation energy to the oscillation circuit 20 through the capacitor circuit 301, or can provide compensation energy to the oscillation circuit 20 through the inductor circuit 302, or can provide compensation energy to the oscillation circuit 20 through the capacitor circuit 301 and the inductor circuit 302, that is, in this embodiment, the control circuit 10 can control the capacitor circuit 301 and / or the inductor circuit 302 to provide compensation energy to the oscillation circuit 20 according to the control signal. Optionally, the control circuit 10 can control the path between the capacitor circuit 301 and the oscillation circuit 20 to be conductive according to the control signal, and / or control the path between the inductor circuit 302 and the oscillation circuit 20 to be conductive according to the control signal, so as to provide compensation energy to the oscillation circuit 20. Alternatively, as an optional implementation, the capacitor circuit 301 in this embodiment is a digitally programmable capacitor circuit, and the inductor circuit 302 is a digitally programmable inductor circuit. The control circuit 10 can adjust the output capacitance value of the capacitor circuit 301 according to the above control signal, and / or adjust the output inductance value of the inductor circuit 302 according to the above control signal to provide compensation energy to the oscillation circuit 20.

[0039] In this embodiment, the energy storage circuit includes a capacitor circuit and / or an inductor circuit, the inductor circuit is connected to the control circuit and the oscillation circuit respectively, and the capacitor circuit is connected to the control circuit and the oscillation circuit respectively, so that the control circuit can control the capacitor circuit and / or the inductor circuit according to the control signal to provide compensation energy to the oscillation circuit, so that when the temperature of the electronic device changes, the amplitude of the drive signal generated by the oscillation circuit is maintained at a peak level, ensuring that the energy generated by the oscillation circuit remains stable, thereby ensuring that the oscillation circuit is in a resonant state, so that a sufficiently strong drive signal can be generated by the oscillation circuit to drive the ultrasonic sensor to emit an ultrasonic signal, so that sufficiently strong ultrasonic signal energy reaches the user's finger, thereby ensuring the effect of fingerprint recognition.

[0040] In this embodiment, the inductor circuit 302 will be explained in detail. In one embodiment, Figure 3 As shown, the above-mentioned inductance circuit 302 includes a first inductance group 3021 and / or a second inductance group 3022, the first inductance group 3021 is connected in parallel with the first inductance 201 in the oscillation circuit 20, and the second inductance group 3022 is connected in series with the first inductance 201; the control circuit 10 is used to control the first inductance group 3021 and / or the second inductance group 3022 to provide compensation energy to the oscillation circuit 20 according to the control signal.

[0041] Optionally, in this embodiment, the inductor circuit 302 includes a first inductor group 3021 and / or a second inductor group 3022, and the first inductor group 3021 is connected in parallel with the first inductor 201 in the oscillation circuit 20, so that the inductance value output by the first inductor 201 can be reduced by the first inductor group 3021. The second inductor group 3022 is connected in series with the first inductor 201 in the oscillation circuit 20, so that the inductance value output by the first inductor 201 can be increased by the second inductor group 3022.

[0042] In this embodiment, the control circuit 10 can control the first inductance group 3021 to provide compensation energy to the oscillation circuit 20 according to the control signal, that is, the control circuit 10 can control the first inductance group 3021 to reduce the inductance value output by the oscillation circuit 20 according to the control signal; and / or, the control circuit 10 can control the second inductance group 3022 to provide compensation energy to the oscillation circuit 20 according to the control signal, that is, the control circuit 10 can control the second inductance group 3022 to increase the inductance value output by the oscillation circuit 20 according to the control signal.

[0043] Optionally, in this embodiment, please continue to refer to Figure 3 , the first inductor group 3021 may include at least one second inductor, each second inductor is connected in parallel, and the second inductor group 3022 may include at least one third inductor, each third inductor is connected in parallel. Accordingly, the control circuit 10 may control at least one second inductor to provide compensation energy to the oscillation circuit 20 according to the above control signal, that is, the control circuit 10 may control at least one second inductor to reduce the inductance value output by the oscillation circuit 20 according to the control signal; and / or, the control circuit 10 may control at least one third inductor to provide compensation energy to the oscillation circuit according to the above control signal, that is, the control circuit 10 may control at least one third inductor to increase the inductance value output by the oscillation circuit 20 according to the control signal.

[0044] As another optional implementation, in this embodiment, if the inductor circuit 302 is a digital programmable inductor circuit, the first inductor group 3021 may include a Figure 4Similarly, the second inductor group 3022 may also include a digital programmable inductor such as Figure 4 Digitally programmable inductor shown.

[0045] In this embodiment, the inductance circuit includes a first inductance group and / or a second inductance group, the first inductance group is connected in parallel with the first inductance in the oscillation circuit, and the second inductance group is connected in series with the first inductance. The control circuit can control the first inductance group and / or the second inductance group to provide compensation energy to the oscillation circuit according to a control signal, that is, the control circuit can control the first inductance group to reduce the inductance value output by the oscillation circuit according to the control signal; and / or, can control the second inductance group to increase the inductance value output by the oscillation circuit according to the control signal, so that when the temperature of the electronic device changes, the inductance value of the oscillation circuit can be maintained at a peak level, ensuring that the energy generated by the oscillation circuit remains stable, thereby ensuring that the oscillation circuit is in a resonant state, so that a sufficiently strong driving signal can be generated through the oscillation circuit to drive the ultrasonic sensor to emit an ultrasonic signal, so that sufficiently strong ultrasonic signal energy reaches the user's finger, thereby ensuring the effect of fingerprint recognition.

[0046] In this embodiment, the capacitor circuit 301 will be explained in detail. Figure 3 The above-mentioned capacitor circuit 301 includes a first capacitor group 3011 and / or a second capacitor group 3012, the first capacitor group 3011 is connected in parallel with the first capacitor 202 in the oscillation circuit 20, and the second capacitor group 3012 is connected in series with the first capacitor 202; the control circuit 10 is used to control the first capacitor group 3011 and / or the second capacitor group 3012 to provide compensation energy to the oscillation circuit 20 according to the control signal.

[0047] Optionally, in the present embodiment, the capacitor circuit 301 includes a first capacitor group 3011 and / or a second capacitor group 3012, and the first capacitor group 3011 is connected in parallel with the first capacitor 202 in the oscillation circuit 20, so that the capacitance value output by the first capacitor 202 can be increased by the first capacitor group 3011. The second capacitor group 3012 is connected in series with the first capacitor 202 in the oscillation circuit 20, so that the capacitance value output by the first capacitor 202 can be reduced by the second capacitor group 3012.

[0048] In this embodiment, the control circuit 10 can control the first capacitor group 3011 to provide compensation energy to the oscillation circuit 20 according to the control signal, that is, the control circuit 10 can control the first capacitor group 3011 to increase the capacitance value output by the oscillation circuit 20 according to the control signal; and / or, the control circuit 10 can control the second capacitor group 3012 to provide compensation energy to the oscillation circuit 20 according to the control signal, that is, the control circuit 10 can control the second capacitor group 3012 to reduce the capacitance value output by the oscillation circuit 20 according to the control signal.

[0049] Optionally, in this embodiment, please continue to refer to Figure 3 , the first capacitor group 3011 may include at least one second capacitor, each second capacitor is connected in parallel, and the second capacitor group 3012 may include at least one third capacitor, each third capacitor is connected in parallel. Accordingly, the control circuit 10 may control at least one second capacitor to provide compensation energy to the oscillation circuit 20 according to the above control signal, that is, the control circuit 10 may control at least one second capacitor to increase the capacitance value output by the oscillation circuit 20 according to the control signal; and / or, the control circuit 10 may control at least one third capacitor to provide compensation energy to the oscillation circuit according to the above control signal, that is, the control circuit 10 may control at least one third capacitor to reduce the capacitance value output by the oscillation circuit 20 according to the control signal.

[0050] As another optional implementation, in this embodiment, if the capacitor circuit 301 is a digital programmable capacitor circuit, please continue to refer to Figure 4 , the first capacitor group 3011 may include a Figure 4 Similarly, the second capacitor group 3012 may also include a digital programmable capacitor such as Figure 4 The digitally programmable capacitor is shown.

[0051] In this embodiment, the capacitor circuit includes a first capacitor group and / or a second capacitor group, the first capacitor group is connected in parallel with the first capacitor in the oscillation circuit, and the second capacitor group is connected in series with the first capacitor. The control circuit can control the first capacitor group and / or the second capacitor group to provide compensation energy to the oscillation circuit according to the control signal, that is, the control circuit can control the first capacitor group to increase the capacitance value output by the oscillation circuit according to the control signal; and / or, can control the second capacitor group to reduce the capacitance value output by the oscillation circuit according to the control signal, so that when the temperature of the electronic device changes, the capacitance value of the oscillation circuit can be maintained at a peak level, ensuring that the energy generated by the oscillation circuit remains stable, thereby ensuring that the oscillation circuit is in a resonant state, so that a sufficiently strong driving signal can be generated through the oscillation circuit to drive the ultrasonic sensor to emit an ultrasonic signal, so that sufficiently strong ultrasonic signal energy reaches the user's finger, thereby ensuring the effect of fingerprint recognition.

[0052] Based on the above embodiment, as an optional implementation mode, Figure 5As shown, the above-mentioned driving circuit 01 also includes a switching circuit 40; the switching circuit 40 is respectively connected to the control circuit 10, the capacitor circuit 301 and the inductor circuit 302; the control circuit 10 is used to control the switching circuit 40 to conduct the path between the capacitor circuit 301 and the oscillation circuit 20 according to the control signal, and / or, to control the switching circuit 40 to conduct the path between the inductor circuit 302 and the oscillation circuit 20 according to the control signal, so as to provide compensation energy to the oscillation circuit 20.

[0053] Optionally, in this embodiment, when the driving circuit 01 is a digital circuit, as an optional implementation, the driving circuit 01 may further include a switching circuit 40, and the switching circuit 40 is respectively connected to the control circuit 10, the capacitor 301 and the inductor circuit 302.

[0054] Optionally, in the present embodiment, the control circuit 10 may control the switch circuit 40 to conduct the path between the capacitor circuit 301 and the oscillation circuit 20 according to the above control signal, and provide the capacitance compensation value to the oscillation circuit through the capacitor circuit 301. It is understandable that the control circuit 10 may control the switch circuit 40 to conduct the path between the first capacitor group 3011 and the oscillation circuit 20 according to the control signal, and / or control the switch circuit 40 to conduct the path between the second capacitor group 3012 and the oscillation circuit 20 according to the control signal, so as to increase the capacitance value output by the oscillation circuit through the first capacitor group 3011, and / or reduce the capacitance value output by the oscillation circuit through the second capacitor group 3012.

[0055] As another optional embodiment, in this embodiment, the control circuit 10 can control the switch circuit 40 to conduct the path between the inductance circuit 302 and the oscillation circuit 20 according to the control signal, and provide the inductance compensation value to the oscillation circuit through the inductance circuit 302. It can be understood that the control circuit 10 can control the switch circuit 40 to conduct the path between the first inductance group 3021 and the oscillation circuit 20 according to the control signal, and / or control the switch circuit 40 to conduct the path between the second inductance group 3022 and the oscillation circuit 20 according to the control signal, so as to reduce the inductance value output by the oscillation circuit through the first inductance group 3021, and / or increase the inductance value output by the oscillation circuit through the second inductance group 3022.

[0056] In this embodiment, the driving circuit also includes a switching circuit, which is respectively connected to the control circuit, the capacitor circuit and the inductor circuit. The control circuit can control the switching circuit to conduct the path between the capacitor circuit and the oscillation circuit according to a control signal, and / or control the switching circuit to conduct the path between the inductor circuit and the oscillation circuit according to the control signal to provide compensation energy to the oscillation circuit. The control process is relatively simple and has good operability. Therefore, when the temperature of the electronic device changes, the amplitude of the driving signal generated by the oscillation circuit can be maintained at a peak level, ensuring that the energy generated by the oscillation circuit remains stable, thereby ensuring that the oscillation circuit is in a resonant state, so that a sufficiently strong driving signal can be generated by the oscillation circuit to drive the ultrasonic sensor to emit an ultrasonic signal, so that sufficiently strong ultrasonic signal energy reaches the user's finger, thereby ensuring the effect of fingerprint recognition.

[0057] Based on the above embodiment, as an optional implementation mode, Figure 6 As shown, the above-mentioned switch circuit 40 includes a first switch circuit 401 and a second switch circuit 402; the first switch circuit 401 is respectively connected to the control circuit 10, the capacitor circuit 301 and the oscillation circuit 20; the second switch circuit 402 is respectively connected to the control circuit 10, the inductor circuit 302 and the oscillation circuit 20; the control circuit 10 is used to control the first switch circuit 401 to conduct the path between the capacitor circuit 301 and the oscillation circuit 20 according to the control signal, and / or, control the second switch circuit 402 to conduct the path between the inductor circuit 302 and the oscillation circuit 20 according to the control signal.

[0058] Optionally, in this embodiment, the switching circuit 40 includes a first switching circuit 401 and a second switching circuit 402. The first switching circuit 401 is respectively connected to the control circuit 10, the capacitor circuit 301 and the oscillation circuit 20, and the second switching circuit 402 is respectively connected to the control circuit 10, the inductor circuit 302 and the oscillation circuit 20. The conduction and disconnection of the path between the capacitor circuit 301 and the oscillation circuit 20 can be controlled by the first switching circuit 401, and the conduction and disconnection of the path between the inductor circuit 302 and the oscillation circuit 20 can be controlled by the second switching circuit 402.

[0059] Optionally, in this embodiment, since the capacitor circuit 301 includes a first capacitor group 3011 and a second capacitor group 3012, and the first capacitor group 3011 includes at least one second capacitor, and the second capacitor group 3012 includes at least one third circuit, therefore, as an optional implementation, the first switch circuit 401 may include a multi-pole multi-throw switch connected to the first capacitor group 3011, and a multi-pole multi-throw switch connected to the second capacitor group 3012. Similarly, the inductor circuit 302 includes a first inductor group 3021 and a second inductor group 3011, therefore, the second switch circuit 402 may include a multi-pole multi-throw switch connected to the first inductor group 3021, and a multi-pole multi-throw switch connected to the second inductor group 3022.

[0060] In this embodiment, the switching circuit includes a first switching circuit and a second switching circuit, the first switching circuit is connected to the capacitor circuit and the oscillation circuit respectively, and the second switching circuit is connected to the inductor circuit and the oscillation circuit respectively; in this way, the control circuit can control the first switching circuit to turn on the path between the capacitor circuit and the oscillation circuit according to the control signal, and / or control the second switching circuit to turn on the path between the inductor circuit and the oscillation circuit according to the control signal, so that the control circuit can control the inductor circuit and / or the capacitor circuit more flexibly and has stronger scene adaptability.

[0061] In addition, in one embodiment, the present application also provides an embodiment of an electronic device, which includes the driving circuit and the ultrasonic sensor as described in the above embodiments.

[0062] Optionally, in this embodiment, the electronic device may be a mobile phone, a watch, a wearable device, etc. The electronic device may include an ultrasonic sensor, a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the electronic device is used to communicate with an external electronic device in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.

[0063] In this embodiment, the electronic device includes a driving circuit and an ultrasonic sensor as described in the above embodiments, so that when the temperature of the electronic device changes, the energy generated by the oscillation circuit itself can be compensated by the energy storage circuit, so that the oscillation circuit can generate a driving signal according to the compensation energy provided by the compensation circuit and the energy generated by itself, so that when the temperature of the electronic device changes, the amplitude of the driving signal generated by the oscillation circuit is maintained at a peak level, ensuring that the energy generated by the oscillation circuit remains stable, thereby ensuring that the oscillation circuit is in a resonant state, and then the ultrasonic sensor is driven by the generated driving signal to emit an ultrasonic signal, so that sufficiently strong ultrasonic signal energy can reach the user's finger, ensuring the effect of fingerprint recognition.

[0064] In addition, in one embodiment, the present application also provides an embodiment of a control method, such as Figure 7 As shown, this embodiment involves a specific process of providing compensation energy to an oscillating circuit by running a computer program. Then this embodiment includes:

[0065] S201, determining a control signal according to the temperature of the electronic device.

[0066] S202, controlling the energy storage circuit to provide compensation energy to the oscillation circuit according to the control signal, so that the oscillation circuit generates a driving signal according to the compensation energy and the energy generated by itself; the driving signal is used to drive the ultrasonic sensor to transmit an ultrasonic signal.

[0067] In one embodiment, optionally, the energy value to be compensated may be determined according to the temperature of the electronic device and a pre-established corresponding relationship; wherein the pre-established corresponding relationship may include a corresponding relationship between the temperature of the electronic device and the output energy of the oscillation circuit;

[0068] The control signal is generated according to the energy value to be compensated.

[0069] In one embodiment, optionally, the capacitor circuit and / or the inductor circuit may be controlled according to a control signal to provide compensation energy to the oscillation circuit.

[0070] In one embodiment, optionally, the first inductance group and / or the second inductance group may be controlled according to a control signal to provide compensation energy to the oscillation circuit.

[0071] In one embodiment, optionally, at least one second inductor in the first inductor group may be controlled according to a control signal to provide compensation energy to the oscillation circuit.

[0072] In one embodiment, optionally, at least one third inductor in the second inductor group may be controlled according to a control signal to provide compensation energy to the oscillation circuit.

[0073] In one embodiment, optionally, the first capacitor group and / or the second capacitor group may be controlled according to a control signal to provide compensation energy to the oscillation circuit.

[0074] In one embodiment, optionally, at least one second capacitor in the first capacitor group may be controlled according to a control signal to provide compensation energy to the oscillation circuit.

[0075] In one embodiment, optionally, at least one third capacitor in the second capacitor group may be controlled according to a control signal to provide compensation energy to the oscillation circuit.

[0076] The implementation principle and technical effect of the control method provided in this embodiment are similar to the implementation principle and technical effect of the above-mentioned driving circuit, and will not be repeated here.

[0077] It can be understood that the above process is implemented by computer program instructions, which are provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device, so that the instructions executed by the processor of the computer or other programmable data processing device can realize the output voltage increasing with the increase of the input voltage in this embodiment. Of course, these computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device. Alternatively, these computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to generate a computer-implemented process, so that the computer program instructions are executed on the computer or other programmable device to realize the above functions.

[0078] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0079] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0080] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A driving circuit, characterized in that: The driving circuit comprises: a control circuit, an oscillation circuit and an energy storage circuit; the control circuit is connected to the energy storage circuit, and the oscillation circuit is respectively connected to the energy storage circuit and the ultrasonic sensor of the electronic device; The control circuit is used to control the energy storage circuit to provide compensation energy to the oscillation circuit according to a control signal; wherein the control signal is determined according to the temperature of the electronic device; The oscillation circuit is used to generate a driving signal according to the compensation energy and the energy generated by itself; the driving signal is used to drive the ultrasonic sensor to transmit an ultrasonic signal.

2. The driving circuit according to claim 1, characterized in that: The energy storage circuit includes a capacitor circuit and / or an inductor circuit; the inductor circuit is connected to the control circuit and the oscillator circuit respectively; the capacitor circuit is connected to the control circuit and the oscillator circuit respectively; The control circuit is used to control the capacitor circuit and / or the inductor circuit to provide compensation energy to the oscillation circuit according to the control signal.

3. The driving circuit according to claim 2, characterized in that: The inductance circuit includes a first inductance group and / or a second inductance group, the first inductance group is connected in parallel with the first inductance in the oscillation circuit, and the second inductance group is connected in series with the first inductance; The control circuit is used to control the first inductance group and / or the second inductance group to provide compensation energy to the oscillation circuit according to the control signal.

4. The driving circuit according to claim 3, characterized in that: The first inductor group includes at least one second inductor, and the second inductors are connected in parallel; The control circuit is used to control at least one of the second inductors to provide compensation energy to the oscillation circuit according to the control signal.

5. The driving circuit according to claim 4, characterized in that: The second inductor group includes at least one third inductor, and the third inductors are connected in parallel; The control circuit is used to control at least one of the third inductors to provide compensation energy to the oscillation circuit according to the control signal.

6. The driving circuit according to any one of claims 2 to 5, characterized in that: The capacitor circuit comprises a first capacitor group and a second capacitor group, the first capacitor group is connected in parallel with the first capacitor in the oscillation circuit, and the second capacitor group is connected in series with the first capacitor; The control circuit is used to control the first capacitor group and / or the second capacitor group to provide compensation energy to the oscillation circuit according to the control signal.

7. The driving circuit according to claim 6, characterized in that: The first capacitor group includes at least one second capacitor, and each of the second capacitors is connected in parallel; The control circuit is used to control at least one of the second capacitors to provide compensation energy to the oscillation circuit according to the control signal.

8. The driving circuit according to claim 7, characterized in that: The second capacitor group includes at least one third capacitor, and each of the third capacitors is connected in parallel; The control circuit is used to control at least one of the third capacitors to provide compensation energy to the oscillation circuit according to the control signal.

9. The driving circuit according to claim 2, characterized in that: The driving circuit further includes a switch circuit; the switch circuit is respectively connected to the control circuit, the capacitor circuit and the inductor circuit; The control circuit is used to control the switch circuit to conduct the path between the capacitor circuit and the oscillation circuit according to the control signal, and / or to control the switch circuit to conduct the path between the inductor circuit and the oscillation circuit according to the control signal to provide compensation energy to the oscillation circuit.

10. The driving circuit according to claim 9, characterized in that: The switch circuit includes a first switch circuit and a second switch circuit; the first switch circuit is connected to the control circuit, the capacitor circuit and the oscillator circuit respectively; the second switch circuit is connected to the control circuit, the inductor circuit and the oscillator circuit respectively; The control circuit is used to control the first switch circuit to conduct the path between the capacitor circuit and the oscillation circuit according to the control signal, and / or to control the second switch circuit to conduct the path between the inductor circuit and the oscillation circuit according to the control signal.

11. An electronic device, characterized in that: The electronic device comprises an ultrasonic sensor and a driving circuit as claimed in any one of claims 1 to 9.

12. A control method, characterized in that: The control method is applied to the driving circuit according to any one of claims 1 to 11, and the method comprises: generating a control signal according to the temperature of the electronic device; The energy storage circuit is controlled according to the control signal to provide compensation energy to the oscillation circuit, so that the oscillation circuit generates a driving signal according to the compensation energy and the energy generated by itself; the driving signal is used to drive the ultrasonic sensor to transmit an ultrasonic signal.