Pressing detection circuit and method for piezoelectric ceramics

By introducing a charging circuit into the piezoelectric ceramic press detection circuit, the problem of voltage drop due to self-discharge of traditional piezoelectric ceramic buttons is solved, effective detection of the lifting action is achieved, and the reliability of press detection is improved.

CN118655384APending Publication Date: 2024-09-17GOERTEK MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410746571.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Traditional piezoelectric ceramic buttons self-discharge after being pressed for a long time, causing the voltage to drop and cannot effectively detect the lifting action. As a result, the MCU cannot recognize the negative voltage signal and cannot implement the lifting detection function.

Method used

A press detection circuit including a controller, piezoelectric ceramics and a charging circuit is designed. The controller is connected to the piezoelectric ceramics to collect the voltage, and when pressed, the charging circuit is controlled to charge the piezoelectric ceramics to avoid the voltage from dropping to negative. value to ensure that lifting movements are detectable.

Benefits of technology

It effectively avoids the problem of the piezoelectric ceramic voltage dropping to a negative value due to self-discharge, ensuring the detection ability of the lifting action and improving the reliability of the pressing detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118655384A
    Figure CN118655384A
Patent Text Reader

Abstract

The invention relates to the field of circuits, in particular to a piezoelectric ceramic pressing detection circuit and method. Comprising a controller, piezoelectric ceramics and a charging circuit, the controller is connected with the piezoelectric ceramic and is used for collecting the voltage of the piezoelectric ceramic and determining the pressing condition of the piezoelectric ceramic based on the voltage; the charging circuit is connected with the controller and the piezoelectric ceramic, and the controller is further used for controlling the charging circuit to charge the piezoelectric ceramic under the condition that the piezoelectric ceramic is pressed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of circuits, and more specifically, to a piezoelectric ceramic pressure detection circuit and method. Background Art

[0002] In electronic products such as smart home appliances and smart wearables, the requirements for the appearance design and reliability of buttons are becoming increasingly stringent. Traditional mechanical buttons require holes in the structural shell, cannot be effectively waterproof and dustproof, and cannot achieve a high-end appearance design with an integrated shell. Piezoelectric ceramics can be attached to the structural shell to convert the external pressure value into an electrical signal to achieve the button function, and solve the problem of mechanical button structural shell holes, complex structural design and low reliability.

[0003] In traditional piezoelectric ceramic button applications, because piezoelectric ceramics have self-discharge characteristics, when the ceramics are pressed for a long time, the voltage generated on the ceramics will decrease over time. When it drops to a lower voltage value and then is lifted, the positive electrode of the ceramic will generate a negative voltage, and the voltage acquisition signal of the MCU cannot recognize the negative voltage, so the lift detection function cannot be realized. Summary of the invention

[0004] One objective of the present disclosure is to provide a piezoelectric ceramic press detection circuit to solve the problem that the circuit cannot detect a lifting action after pressing in certain scenarios.

[0005] According to one aspect of the present disclosure, there is provided a piezoelectric ceramic press detection circuit, comprising: a controller, a piezoelectric ceramic, and a charging circuit;

[0006] The controller is connected to the piezoelectric ceramic and is used to collect the voltage of the piezoelectric ceramic and determine the pressing condition of the piezoelectric ceramic based on the voltage;

[0007] The charging circuit is connected to the controller and the piezoelectric ceramic respectively. The controller is also used to control the charging circuit to charge the piezoelectric ceramic when the piezoelectric ceramic is pressed.

[0008] Optionally, the press detection circuit also includes a discharge circuit, which is connected to the controller and the piezoelectric ceramic respectively. The controller is also used to control the discharge circuit to be turned on when the piezoelectric ceramic is not pressed, so as to discharge the interference signal of the piezoelectric ceramic.

[0009] Optionally, the charging circuit includes a first switch and a diode, the first end of the first switch is connected to a power supply, the second end of the first switch is connected to a positive electrode of the diode, the negative electrode of the diode is connected to a positive electrode of the piezoelectric ceramic, and the first switch is also connected to the controller, and the controller is also used to control the first end and the second end to be conductive when the piezoelectric ceramic is pressed.

[0010] Optionally, the discharge circuit includes a second switch and a resistor, the first end of the second switch is connected to the positive electrode of the piezoelectric ceramic, the second end of the second switch is connected to the resistor, the other end of the resistor is grounded, and the second switch is also connected to the controller, and the controller is also used to control the first end and the second end to be conductive when the piezoelectric ceramic is not pressed.

[0011] According to a second aspect of the present disclosure, a method for detecting a pressure of a piezoelectric ceramic is provided, which is applied to a controller of a pressure detection circuit of a piezoelectric ceramic according to any one of the first aspects, and the method comprises:

[0012] collecting a voltage value of the piezoelectric ceramic;

[0013] determining whether the piezoelectric ceramic is pressed according to a voltage value of the piezoelectric ceramic;

[0014] When the piezoelectric ceramic is pressed, controlling the charging circuit to charge the piezoelectric ceramic;

[0015] Whether the pressed state is ended is determined according to the voltage value of the piezoelectric ceramic.

[0016] Optionally, determining whether the piezoelectric ceramic is pressed according to the voltage value of the piezoelectric ceramic includes:

[0017] When the voltage value of the piezoelectric ceramic rises and exceeds a first threshold value within a first preset time, determining that the piezoelectric ceramic is pressed;

[0018] The step of determining whether the pressing condition ends according to the voltage value of the piezoelectric ceramic comprises:

[0019] When the voltage value of the piezoelectric ceramic drops and exceeds a second threshold value within a second preset time, it is determined that the pressed state ends.

[0020] Optionally, the press detection circuit further includes a discharge circuit, and the discharge circuit is respectively connected to the controller and the piezoelectric ceramic.

[0021] Optionally, the method further comprises:

[0022] When the piezoelectric ceramic is not pressed, controlling the discharge circuit to be turned on;

[0023] When the piezoelectric ceramic is pressed, the discharge circuit is controlled to be disconnected.

[0024] Optionally, when the piezoelectric ceramic is pressed, controlling the charging circuit to charge the piezoelectric ceramic includes:

[0025] When the piezoelectric ceramic is pressed and the voltage value of the piezoelectric ceramic is less than a third threshold, the charging circuit is controlled to charge the piezoelectric ceramic.

[0026] Optionally, controlling the charging circuit to charge the piezoelectric ceramic includes:

[0027] The charging circuit is controlled to charge the piezoelectric ceramic within a first time, wherein the first time is less than a preset time threshold.

[0028] One technical effect of the present disclosure is that a piezoelectric ceramic pressure detection circuit is provided, including a controller, a piezoelectric ceramic and a charging circuit. The controller is connected to the piezoelectric ceramic, and the voltage of the piezoelectric ceramic can be collected, and the pressure condition of the piezoelectric ceramic can be determined based on the voltage. At the same time, the control device is also connected to the charging circuit, and the piezoelectric ceramic can be charged after the piezoelectric ceramic is pressed to increase the voltage of the piezoelectric ceramic, thereby avoiding the problem that when the piezoelectric ceramic is pressed for a long time, the piezoelectric ceramic self-discharge causes the voltage to drop, and then the lifting action causes the voltage of the piezoelectric ceramic to become a negative value, which cannot be detected by the controller.

[0029] Other features and advantages of the embodiments of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the embodiments of the present disclosure.

[0031] Figure 1 is a structural diagram of a piezoelectric ceramic pressure detection circuit according to an embodiment;

[0032] Figure 2 is a structural diagram of a piezoelectric ceramic pressure detection circuit according to an embodiment;

[0033] Figure 3 is a flow chart of a method for detecting pressure of a piezoelectric ceramic according to an embodiment. DETAILED DESCRIPTION

[0034] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0035] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0036] Techniques and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the techniques and equipment should be considered part of the specification.

[0037] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0038] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0039] The present application embodiment discloses a piezoelectric ceramic pressure detection circuit, such as Figure 1 As shown, a controller, a piezoelectric ceramic and a charging circuit; the controller is connected to the piezoelectric ceramic, and is used to collect the voltage of the piezoelectric ceramic and determine the pressing condition of the piezoelectric ceramic based on the voltage; the charging circuit is connected to the controller and the piezoelectric ceramic respectively, and the controller is also used to control the charging circuit to charge the piezoelectric ceramic when the piezoelectric ceramic is pressed.

[0040] In this embodiment, the controller can be a microcontroller unit MCU or other types of controllers. The controller is connected to the piezoelectric ceramic and the charging circuit. The voltage acquisition port of the controller can be connected to the positive electrode of the piezoelectric ceramic, and the negative electrode of the piezoelectric ceramic can be grounded to collect the voltage value of the piezoelectric ceramic so as to determine the pressing condition of the piezoelectric ceramic based on the voltage value. The pressing condition of the piezoelectric ceramic can include several conditions such as not pressed, pressed or lifted.

[0041] In this embodiment, the connection between the controller and the charging circuit can be a connection between the controller and a switch in the charging circuit, for example, a connection with a gate of a switch tube or a control coil of a relay, etc. The charging circuit can be controlled to be turned on or off, thereby controlling the charging circuit to charge the piezoelectric ceramic.

[0042] In an example of this embodiment, the charging circuit includes a first switch and a diode, the first end of the first switch is connected to a power supply, the second end of the first switch is connected to the positive electrode of the diode, the negative electrode of the diode is connected to the positive electrode of the piezoelectric ceramic, and the first switch is also connected to a controller, and the controller is also used to control the first end and the second end to be conductive when the piezoelectric ceramic is pressed.

[0043] In this embodiment, the first switch may be a relay or a switch tube, such as NMOS or PMOS. Figure 2 In the example shown, the charging circuit includes a first switch and a diode. The controller is connected to the gate of the first switch and can control the on or off of the first switch. In this embodiment, the source and drain of the first switch can be connected to the power supply and the positive electrode of the diode, respectively, and the negative electrode of the diode is connected to the positive electrode of the piezoelectric ceramic. When the switch tube is turned on, the voltage charges the piezoelectric ceramic through the switch tube and the diode. In this embodiment, the diode provides a unidirectional charging path to the positive electrode of the piezoelectric ceramic to prevent the high voltage generated by the positive electrode of the piezoelectric ceramic from flowing back to the power supply under abnormal conditions, such as momentary strong pressing. At the same time, a low-impedance charging path is provided, which can complete the charging of the ceramic positive electrode voltage in a short time without affecting the detection of the voltage drop signal when the finger is lifted.

[0044] In this embodiment, the voltage of the power supply can be set according to actual needs or device selection. For example, it can be set to be the same as the power supply of the MCU to save overall cost.

[0045] In this embodiment, when the controller controls the power supply to charge the piezoelectric ceramic, the charging time is less than a preset time threshold.

[0046] In this example, when charging the piezoelectric ceramic, the charging time should be completed in a short time to avoid affecting the detection of the voltage drop signal when the finger is lifted. Under normal circumstances, a pressing process generally lasts for more than 100ms. In this example, the preset time threshold can be set to 1ms, which does not affect the voltage drop signal detection when the finger is lifted.

[0047] In an example of this embodiment, the press detection circuit also includes a discharge circuit, which is connected to the controller and the piezoelectric ceramic respectively. The controller is also used to control the discharge circuit to be turned on when the piezoelectric ceramic is not pressed, so as to discharge the interference signal of the piezoelectric ceramic.

[0048] In an example of this embodiment, the discharge circuit includes a second switch and a resistor, the first end of the second switch is connected to the positive electrode of the piezoelectric ceramic, the second end of the second switch is connected to the resistor, the other end of the resistor is grounded, and the second switch is also connected to the controller, and the controller is also used to control the first end and the second end to be conductive when the piezoelectric ceramic is not pressed.

[0049] In this embodiment, the pressure detection circuit further includes a discharge circuit, which may include a second switch and a resistor. In this embodiment, the second switch may also be a relay or a switch tube, and the controller may be connected to the second switch in the discharge circuit. Figure 2 In the example shown, the discharge circuit includes a second switch tube and a resistor, and the controller is connected to the gate of the second switch to control the conduction or closure of the switch tube. In this embodiment, the source and drain of the second switch can be connected to the resistor and the positive electrode of the piezoelectric ceramic, respectively. When the second switch is turned on, the discharge circuit provides a discharge path for the positive electrode of the piezoelectric ceramic, and the positive electrode level after the discharge is completed should be consistent with the ground level. In this embodiment, the resistance value of the resistor should ensure that the abnormal charge of the ceramic positive electrode, such as electrostatic interference or electromagnetic radiation interference, is smoothly discharged to the ground, and the voltage value generated when the ceramic is pressed normally is less affected, and the judgment of the voltage acquisition signal and the realization of the key function are not affected. For example, after adding this circuit, when the ceramic is pressed normally, the voltage change value is reduced from 2V to 1.8V, and the realization of the key function is not affected under the premise of achieving anti-interference.

[0050] In traditional piezoelectric ceramic detection, the positive electrode of the piezoelectric ceramic is only connected to the voltage collection interface of the MCU, and there is no other current path. The interference signal will be directly transmitted to the voltage collection interface of the MCU, which may misjudge the interference signal as a key trigger, or burn the voltage collection interface of the MCU. In this embodiment, the controller can control the two ends of the second switch to be turned on when the piezoelectric ceramic is not pressed. Provide the circuit with a discharge path for the interference signal to solve the above situation. At the same time, when the piezoelectric ceramic is pressed, the two ends of the second switch are disconnected to avoid affecting the pressing and lifting detection of the piezoelectric ceramic.

[0051] In this embodiment, a piezoelectric ceramic pressure detection method is also provided, which can be applied to the controller of any embodiment of the piezoelectric ceramic pressure detection circuit embodiment, such as Figure 3 As shown, the method includes steps S11 to S14.

[0052] Step S11, collecting the voltage value of the piezoelectric ceramic.

[0053] In this embodiment, the controller can continuously collect the voltage value of the piezoelectric ceramic through the voltage collection port, so as to determine the pressing condition of the piezoelectric ceramic based on the voltage value.

[0054] Step S12, determining whether the piezoelectric ceramic is pressed according to the voltage value of the piezoelectric ceramic.

[0055] In an example of the present embodiment, determining whether the piezoelectric ceramic is pressed is performed based on the voltage value of the piezoelectric ceramic, including: when the voltage value of the piezoelectric ceramic rises and exceeds a first threshold value within a first preset time, determining that the piezoelectric ceramic is pressed; and determining whether the pressed situation ends is performed based on the voltage value of the piezoelectric ceramic, including: when the voltage value of the piezoelectric ceramic drops and exceeds a second threshold value within a second preset time, determining that the pressed situation ends.

[0056] In this embodiment, the first preset time and the second preset time can be set based on the actual situation or the situation of the piezoelectric ceramic. In one example, the first preset time and the second preset time can be set to 100ms. Similarly, the first threshold and the second threshold can also be set based on the situation of the piezoelectric ceramic, for example, they can be set to 1V. In one example, when the voltage value of the piezoelectric ceramic rises and exceeds 1V in 100ms, it can be determined that the piezoelectric ceramic is pressed. When the voltage value of the piezoelectric ceramic drops by more than 2V in 100ms, it is determined that the situation of the piezoelectric ceramic being pressed ends, that is, it is used to lift and stop pressing the piezoelectric ceramic.

[0057] Step S13, when the piezoelectric ceramic is pressed, controlling the charging circuit to charge the piezoelectric ceramic.

[0058] When the controller determines that the piezoelectric ceramic is in a pressed state, the controller can control the charging circuit to charge the piezoelectric ceramic to increase the voltage of the piezoelectric ceramic, thereby avoiding the situation where the piezoelectric ceramic cannot be detected to be lifted.

[0059] In an example of this embodiment, controlling the charging circuit to charge the piezoelectric ceramic includes: controlling the charging circuit to charge the piezoelectric ceramic within a first time, wherein the first time is less than a preset time threshold.

[0060] In this example, when charging the piezoelectric ceramic, the charging time should be completed in a short time to avoid affecting the detection of the voltage drop signal when the finger is lifted. Under normal circumstances, a pressing process generally lasts for more than 100ms. In this example, the preset time threshold can be set to 1ms, which does not affect the voltage drop signal detection when the finger is lifted.

[0061] Step S14, determining whether the pressing condition is finished according to the voltage value of the piezoelectric ceramic.

[0062] In this embodiment, a voltage detection method is provided, which can charge the piezoelectric ceramic when the piezoelectric ceramic is pressed, so that the voltage of the piezoelectric ceramic increases, thereby avoiding the problem that when the piezoelectric ceramic is pressed for a long time, the piezoelectric ceramic self-discharges and causes the voltage to drop, and then the lifting action causes the voltage of the piezoelectric ceramic to become a negative value, which cannot be detected by the controller.

[0063] In an example of this embodiment, the press detection circuit further includes a discharge circuit, and the discharge circuit is respectively connected to the controller and the piezoelectric ceramic.

[0064] In an example of this embodiment, the method further includes: when the piezoelectric ceramic is not pressed, controlling the discharge circuit to be turned on; when the piezoelectric ceramic is pressed, controlling the discharge circuit to be turned off.

[0065] In traditional piezoelectric ceramic detection, the positive electrode of the piezoelectric ceramic is only connected to the voltage acquisition interface of the MCU, and there is no other current path. The interference signal will be directly transmitted to the voltage acquisition interface of the MCU, which may misjudge the interference signal as a key trigger, or burn the voltage acquisition interface of the MCU. In this embodiment, the controller can control the two ends of the second switch to be turned on when the piezoelectric ceramic is not pressed. Provide the circuit with a discharge path for the interference signal to solve the above situation. At the same time, when the piezoelectric ceramic is pressed, the two ends of the second switch are disconnected to avoid affecting the pressing and lifting detection of the piezoelectric ceramic.

[0066] In an example of this embodiment, when the piezoelectric ceramic is pressed, controlling the charging circuit to charge the piezoelectric ceramic includes: when the piezoelectric ceramic is pressed and the voltage value of the piezoelectric ceramic is less than a third threshold, controlling the charging circuit to charge the piezoelectric ceramic.

[0067] After the piezoelectric ceramic is pressed, the user's pressing time may be relatively long. After one charge, the long-term self-discharge of the piezoelectric ceramic may still prevent the MCU from detecting the pressing and lifting. Therefore, in this example, the controller can control the charging circuit to charge the piezoelectric ceramic once when the piezoelectric ceramic cup is pressed and the voltage is less than a certain threshold, so that the voltage of the piezoelectric ceramic is always at a higher level, and the occurrence of lifting can be detected.

[0068] An embodiment of the present application further provides an electronic device, comprising the piezoelectric ceramic press detection circuit of any one of the piezoelectric ceramic press detection circuit embodiments.

[0069] Each embodiment in the present disclosure is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and equipment embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0070] The above describes specific embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0071] The embodiments of the present disclosure may be systems, methods and / or computer program products. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the embodiments of the present disclosure.

[0072] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0073] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0074] The computer program instructions for performing the operation of the embodiments of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of a computer-readable program instruction, and the electronic circuit may execute a computer-readable program instruction, thereby realizing various aspects of the embodiments of the present disclosure.

[0075] Various aspects of the embodiments of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0076] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0077] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0078] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and a part of a module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0079] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A piezoelectric ceramic pressure detection circuit, characterized in that: include: Controller, piezoelectric ceramics and charging circuit; The controller is connected to the piezoelectric ceramic and is used to collect the voltage of the piezoelectric ceramic and determine the pressing condition of the piezoelectric ceramic based on the voltage; The charging circuit is connected to the controller and the piezoelectric ceramic respectively. The controller is also used to control the charging circuit to charge the piezoelectric ceramic when the piezoelectric ceramic is pressed.

2. The circuit according to claim 1, characterized in that The pressure detection circuit also includes a discharge circuit, which is connected to the controller and the piezoelectric ceramic respectively. The controller is also used to control the discharge circuit to be turned on when the piezoelectric ceramic is not pressed, so as to discharge the interference signal of the piezoelectric ceramic.

3. The circuit according to claim 1, characterized in that The charging circuit includes a first switch and a diode, wherein a first end of the first switch is connected to a power supply, a second end of the first switch is connected to an anode of the diode, a cathode of the diode is connected to an anode of the piezoelectric ceramic, and the first switch is also connected to the controller, and the controller is further used to control the first end and the second end to be conductive when the piezoelectric ceramic is pressed.

4. The circuit according to claim 2, characterized in that The discharge circuit includes a second switch and a resistor, wherein a first end of the second switch is connected to the positive electrode of the piezoelectric ceramic, a second end of the second switch is connected to the resistor, and the other end of the resistor is grounded. The second switch is also connected to the controller, and the controller is further used to control the first end and the second end to be conductive when the piezoelectric ceramic is not pressed.

5. A method for detecting pressure of a piezoelectric ceramic, characterized in that: A controller for a pressure detection circuit of a piezoelectric ceramic according to any one of claims 1 to 4, the method comprising: collecting a voltage value of the piezoelectric ceramic; determining whether the piezoelectric ceramic is pressed according to a voltage value of the piezoelectric ceramic; When the piezoelectric ceramic is pressed, controlling the charging circuit to charge the piezoelectric ceramic; Whether the pressed state is ended is determined according to the voltage value of the piezoelectric ceramic.

6. The method according to claim 5, characterized in that The step of determining whether the piezoelectric ceramic is pressed according to the voltage value of the piezoelectric ceramic comprises: When the voltage value of the piezoelectric ceramic rises and exceeds a first threshold value within a first preset time, determining that the piezoelectric ceramic is pressed; The step of determining whether the pressing condition ends according to the voltage value of the piezoelectric ceramic comprises: When the voltage value of the piezoelectric ceramic drops and exceeds a second threshold value within a second preset time, it is determined that the pressed state ends.

7. The method according to claim 5, characterized in that The press detection circuit also includes a discharge circuit, and the discharge circuit is connected to the controller and the piezoelectric ceramic respectively.

8. The method according to claim 7, characterized in that The method further comprises: When the piezoelectric ceramic is not pressed, controlling the discharge circuit to be turned on; When the piezoelectric ceramic is pressed, the discharge circuit is controlled to be disconnected.

9. The method according to claim 5, characterized in that When the piezoelectric ceramic is pressed, controlling the charging circuit to charge the piezoelectric ceramic comprises: When the piezoelectric ceramic is pressed and the voltage value of the piezoelectric ceramic is less than a third threshold, the charging circuit is controlled to charge the piezoelectric ceramic.

10. The method according to claim 5, characterized in that The controlling the charging circuit to charge the piezoelectric ceramic comprises: The charging circuit is controlled to charge the piezoelectric ceramic within a first time, wherein the first time is less than a preset time threshold.