A logic gate and its control method

The logic gates constructed using triboelectric nanogenerators and control units solve the problem of insufficient computational performance of existing logic circuits, realizing programmable logic gate functions suitable for machine learning and data analysis.

CN115664410BActive Publication Date: 2026-11-17BEIJING INST OF NANOENERGY & NANOSYST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211412670.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-11
Publication Date
2026-11-17
Estimated Expiration
2042-11-11

AI Technical Summary

Technical Problem

Existing logic circuits lack sufficient computational performance for specific application tasks such as machine learning and data analysis, making it difficult to achieve efficient logic operations.

Method used

A logic gate structure based on triboelectric nanogenerators is adopted. Through two triboelectric nanogenerator sets and a control unit, the electrical connection between the output terminal and the total positive and negative terminals is controlled. The logic signal is determined based on the signal superposition result and the preset threshold, thereby realizing the programmable logic gate function.

Benefits of technology

It realizes the functional conversion of logic gates, improves computing performance, is suitable for applications such as machine learning and data analysis, and has non-volatile logic operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115664410B_ABST
    Figure CN115664410B_ABST
Patent Text Reader

Abstract

This invention discloses a logic gate and its control method. The logic gate includes two first triboelectric nanogenerator sets and a first control unit. Each first triboelectric nanogenerator set includes at least one triboelectric nanogenerator. The first control unit can control the electrical connection relationship between each first positive output terminal and each first negative output terminal and the total positive terminal and the total negative terminal. Based on the superposition result of the first positive signal and / or the first negative signal output by each first triboelectric nanogenerator set and the magnitude of the first positive signal and / or the first negative signal, the logic gate outputs a logic signal, thereby realizing the function of the logic gate based on the triboelectric nanogenerator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of logic control technology, and more particularly to a logic gate and its control method. Background Technology

[0002] The fundamental purpose of data-centric computing is to improve computing power; therefore, in-memory computing devices need to implement basic logic operations, including AND gates and OR gates. Compared to logic circuits with only one design function, programmable logic circuits are more efficient in handling specific application tasks such as machine learning and data analysis, and are considered an effective way to improve computing performance in the post-Moore's Law era. Summary of the Invention

[0003] This invention provides a logic gate and its control method, and the logic gate is constructed based on a triboelectric nanogenerator.

[0004] In a first aspect, embodiments of the present invention provide a logic gate, comprising: two first triboelectric nanogenerator sets and a first control unit, wherein each first triboelectric nanogenerator set comprises at least one triboelectric nanogenerator;

[0005] The first triboelectric nanogenerator has a first positive output terminal and a first negative output terminal, and the logic gate includes a total positive terminal and a total negative terminal;

[0006] The first control unit is used to: control the electrical connection relationship between each of the first positive output terminals and each of the first negative output terminals and the total positive terminal and the total negative terminal;

[0007] The logic gate is configured as follows:

[0008] When the first positive output terminal of any of the first triboelectric nanogenerators is electrically connected to the total positive terminal and the first negative output terminal of the first triboelectric nanogenerator is electrically connected to the total negative terminal, a first positive signal output by the first triboelectric nanogenerator is obtained. When the first positive output terminal of any of the first triboelectric nanogenerators is electrically connected to the total negative terminal and the first negative output terminal of the first triboelectric nanogenerator is electrically connected to the total positive terminal, a first negative signal output by the first triboelectric nanogenerator is obtained. Based on the relationship between the superposition result of the first positive signal and the first negative signal and a preset threshold, the output logic signal is determined.

[0009] Secondly, embodiments of the present invention provide a control method for the logic gate as described above, comprising:

[0010] An external force is applied to each of the first triboelectric nanogenerators, causing each of the first triboelectric nanogenerators to output a signal;

[0011] When the first positive output terminal of any first triboelectric nanogenerator is electrically connected to the total positive terminal and the first negative output terminal of any first triboelectric nanogenerator is electrically connected to the total negative terminal, a first positive signal output by the first triboelectric nanogenerator is obtained. When the first positive output terminal of any first triboelectric nanogenerator is electrically connected to the total negative terminal and the first negative output terminal of any first triboelectric nanogenerator is electrically connected to the total positive terminal, a first negative signal output by the first triboelectric nanogenerator is obtained. Based on the relationship between the superposition result of the first positive signal and the first negative signal and the magnitude of the preset threshold, the logic signal output by the logic gate is determined.

[0012] The beneficial effects of this invention are as follows:

[0013] This invention provides a logic gate and its control method. The logic gate includes two first triboelectric nanogenerator sets and a first control unit. Each first triboelectric nanogenerator set includes at least one triboelectric nanogenerator. The first control unit can control the electrical connection relationship between each first positive output terminal and each first negative output terminal and the total positive terminal and the total negative terminal. Based on the superposition result of the first positive signal and / or the first negative signal output by each first triboelectric nanogenerator set and the magnitude of the first positive signal and / or the first negative signal, the logic gate outputs a logic signal, thereby realizing the function of the logic gate based on the triboelectric nanogenerator. Attached Figure Description

[0014] Figure 1 This is a schematic diagram of a logic gate circuit structure provided in an embodiment of the present invention;

[0015] Figure 2 This is a schematic diagram of the circuit structure of another logic gate provided in an embodiment of the present invention;

[0016] Figure 3 This is a schematic diagram of signal superposition provided in an embodiment of the present invention;

[0017] Figure 4 This is a schematic diagram of another signal superposition provided in an embodiment of the present invention;

[0018] Figure 5 This is a schematic diagram of the structure of three triboelectric nanogenerators provided in an embodiment of the present invention;

[0019] Figure 6 This is a schematic diagram of the circuit structure of another logic gate provided in an embodiment of the present invention;

[0020] Figure 7 This is a schematic diagram of the signal output by a logic gate provided in an embodiment of the present invention;

[0021] Figure 8This is another structural schematic diagram of the three triboelectric nanogenerators provided in this embodiment of the invention;

[0022] Figure 9 This is a flowchart of a logic gate control method provided in an embodiment of the present invention. Detailed Implementation

[0023] The specific implementation of a logic gate and its control method provided by the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0024] This invention provides a logic gate, such as Figure 1 As shown, it includes: two first triboelectric nanogenerator sets and a first control unit 11, each first triboelectric nanogenerator set including at least one triboelectric nanogenerator;

[0025] The first triboelectric nanogenerator has a first positive output terminal P1+ and a first negative output terminal P1-, and the logic gate includes a total positive terminal P0+ and a total negative terminal P0-.

[0026] The first control unit 11 is used to: control the electrical connection relationship between each first positive output terminal P1+ and each first negative output terminal P1- and the total positive terminal P0+ and the total negative terminal P0-;

[0027] The logic gate is configured as follows:

[0028] When the first positive output terminal P1+ of any first triboelectric nanogenerator is electrically connected to the total positive terminal P0+, and the first negative output terminal P1- of the first triboelectric nanogenerator is electrically connected to the total negative terminal P0-, a first positive signal output by the first triboelectric nanogenerator is obtained. When the first positive output terminal P1+ of any first triboelectric nanogenerator is electrically connected to the total negative terminal P0-, and the first negative output terminal P1- of the first triboelectric nanogenerator is electrically connected to the total positive terminal P0+, a first negative signal output by the first triboelectric nanogenerator is obtained. Based on the relationship between the superposition result of the first positive signal and the first negative signal and the magnitude of the preset threshold, the logic signal output by the logic gate is determined.

[0029] When the first positive output terminal is electrically connected to the total positive terminal and the first negative output terminal is electrically connected to the total negative terminal, it can be called positive connection, so the first triboelectric nanogenerator outputs the first positive signal; when the first positive output terminal is electrically connected to the total negative terminal and the first negative output terminal is electrically connected to the total positive terminal, it can be called reverse connection, so the first triboelectric nanogenerator outputs the first negative signal.

[0030] Thus, when the logic gate includes two first triboelectric nanogenerator sets and a first control unit, and each first triboelectric nanogenerator set includes at least one triboelectric nanogenerator, the first control unit can control the electrical connection relationship between each first positive output terminal and each first negative output terminal and the total positive terminal and the total negative terminal, realize the control of positive or reverse connection, and determine the logic signal output by the logic gate based on the superposition result of the first positive signal and / or the first negative signal output by each first triboelectric nanogenerator set and the magnitude of the preset threshold, thereby realizing the function of the logic gate based on the triboelectric nanogenerator.

[0031] In some embodiments, the processing logic of the logic gate can be adjusted according to the setting of a preset threshold. In this way, the logic processing function of the logic gate can be adjusted by adjusting the size of the preset threshold, thereby enabling conversion between AND and OR logic gates.

[0032] It should be understood that processing logic refers to AND logic processing, OR logic processing, XOR logic processing, or XNOR logic processing, etc. Logic processing functions refer to AND logic processing functions, OR logic processing functions, XOR logic processing functions, or XNOR logic processing functions, etc.

[0033] For example, assuming that the absolute value of the signals output by the two first triboelectric nanogenerator sets is aV, the first positive signal is +aV and the first negative signal is -aV, the two first triboelectric nanogenerator sets are defined as group 1A and group 1B respectively. When the preset threshold is greater than 0V and less than +aV, the corresponding logic signals are shown in Table 1 below.

[0034] Table 1

[0035]

[0036]

[0037] As can be seen from Table 1 above:

[0038] Because the signals output by the two first triboelectric nanogenerators (i.e., the electrical signals in Table 1) are superimposed, the signals output by group 1A and group 1B can be superimposed, and the logic signal output by the logic gate can be determined based on the superposition result and the magnitude of the preset threshold. Furthermore, as shown in Table 1 above, the AND logic gate function is achieved when the preset threshold is greater than 0V and less than +aV.

[0039] When the preset threshold is less than 0V and greater than -aV, the corresponding logic signals are shown in Table 2 below.

[0040] Table 2

[0041]

[0042] As can be seen from Table 2 above, when the preset threshold is less than 0V and greater than -aV, the OR logic gate function is realized.

[0043] In some embodiments, such as Figure 2 As shown, it also includes: a second triboelectric nanogenerator set and a second control unit 12, wherein the second triboelectric nanogenerator set includes at least one triboelectric nanogenerator;

[0044] The second triboelectric nanogenerator has a second positive output terminal P2+ and a second negative output terminal P2-.

[0045] The second control unit 12 is used for:

[0046] Controls the electrical connection between the second positive output terminal P2+ and the second negative output terminal P2- and the total positive terminal P0+ and the total negative terminal P0-;

[0047] The logic gate is configured as follows:

[0048] When the second positive output terminal P2+ is electrically connected to the total positive terminal P0+, and the second negative output terminal P2- is electrically connected to the total negative terminal P0-, a second positive signal output by the second triboelectric nanogenerator is obtained. When the second positive output terminal P2+ is electrically connected to the total negative terminal P0-, and the second negative output terminal P2- is electrically connected to the total positive terminal P0+, a second negative signal output by the second triboelectric nanogenerator is obtained, the second control unit 12 switches the obtained signal output by the second triboelectric nanogenerator and adjusts the processing logic.

[0049] Specifically, when the second positive output terminal is electrically connected to the total positive terminal and the second negative output terminal is electrically connected to the total negative terminal, it can be called positive connection, so the second triboelectric nanogenerator outputs a second positive signal; when the second positive output terminal is electrically connected to the total negative terminal and the second negative output terminal is electrically connected to the total positive terminal, it can be called reverse connection, so the second triboelectric nanogenerator outputs a second negative signal.

[0050] In this way, by controlling the positive or negative connection through the second control unit, the signal output of the second triboelectric nanogenerator can be switched, the processing logic of the logic gate can be adjusted, and thus the type of logic gate can be controlled. Therefore, the second triboelectric nanogenerator can be considered as the programming end of the logic gate, and the two first triboelectric nanogenerators can be considered as the input end of the logic gate. By controlling the type of logic gate through the programming end, a programmable logic gate is obtained.

[0051] In some embodiments, the logic gate is configured as follows:

[0052] When a second positive signal is received, perform OR logic processing; when a second negative signal is received, perform AND logic processing.

[0053] Thus, the function of the logic gate can be edited and controlled by the positive and negative signals output by the second triboelectric nanogenerator.

[0054] For example, assuming that the absolute value of the signals output by the two first triboelectric nanogenerator sets and the second triboelectric nanogenerator set is aV, the first positive signal and the second positive signal are both +aV, and the first negative signal and the second negative signal are both -aV, the two first triboelectric nanogenerator sets are defined as group 1A and group 1B respectively, and the second triboelectric nanogenerator set is defined as group 2. When the preset threshold is greater than 0V and less than +aV, or less than 0V and greater than -aV, the corresponding logic signals are shown in Tables 3 and 4 below.

[0055] Table 3

[0056]

[0057] Table 4

[0058]

[0059] From Tables 3 and 4 above, we can see that:

[0060] Since the signals output by the two first triboelectric nanogenerators (i.e., the electrical signals in Table 1) and the signals output by the second triboelectric nanogenerator are superimposed, the signals output by group 1A, group 1B and group 2 can be superimposed, and the logic signal output by the logic gate can be determined based on the superposition result and the size of the preset threshold.

[0061] Among them, combined Figure 3 As shown in the figure, this diagram corresponds to the magnitude of the total output signal of the logic gate when the output signals of group 1A, group 1B, and group 2 are all +aV. Figure 3 In this context, 'a' is approximately 8. Therefore, when groups 1A, 1B, and 2 all output +8V, the total output of the logic gates is approximately 24V, exactly three times 'a', indicating that the signals have superposition properties. Figure 3 The signal output from group 2 is not shown in the diagram.

[0062] Furthermore, combined Figure 4 As shown in the figure, this corresponds to the magnitude of the total output signal of the logic gate when the output signals of group 1A and group 1B are both +aV, and the output signal of group 2 is -aV. Figure 4 In this context, 'a' is approximately 8, so when both group 1A and group 1B output +8V, and group 2 outputs -8V, the total output of the logic gates is approximately 8V, indicating that the signals have a superposition property. Figure 4 The signal output from group 2 is not shown in the diagram.

[0063] Furthermore, as shown in Table 3 above, regardless of whether the preset threshold is greater than 0V and less than +aV, or less than 0V and greater than -aV, the OR logic gate function can be implemented when the second positive signal is output from group 2. Similarly, as shown in Table 4 above, regardless of whether the preset threshold is greater than 0V and less than +aV, or less than 0V and greater than -aV, the AND logic gate function can be implemented when the second negative signal is output from group 2.

[0064] Therefore, by controlling the positive and negative signals output by the second triboelectric nanogenerator, the processing function of the logic gate can be controlled, and the types of logic gates can be edited.

[0065] In some embodiments, both the first control unit and the second control unit include a single-pole double-throw switch.

[0066] The first control unit may contain four single-pole double-throw switches, while the second control unit may contain two single-pole double-throw switches.

[0067] For example, see Figure 2 As shown, each first triboelectric nanogenerator has two first positive output terminals P1+ and two first negative output terminals P1-. The first control unit 11 contains four single-pole double-throw switches. If the two first triboelectric nanogenerators are labeled as group 1A (the first triboelectric nanogenerator on the left in the figure) and group 1B (the first triboelectric nanogenerator on the right in the figure), respectively, and the four single-pole double-throw switches are labeled as k1, k2, k3, and k4, then:

[0068] One end of the single-pole double-throw switch k1 can be connected to one of the first positive output terminals P1+ or one of the first negative output terminals P1- of group 1A, and the other end of the single-pole double-throw switch k1 is electrically connected to the total positive terminal P0+.

[0069] One end of the single-pole double-throw switch k2 can be connected to another first positive output terminal P1+ or another first negative output terminal P1- of group 1A, and the other end of the single-pole double-throw switch k2 is electrically connected to the total negative terminal P0-.

[0070] One end of the single-pole double-throw switch k3 can be connected to one of the first positive output terminals P1+ or one of the first negative output terminals P1- of group 1B, and the other end of the single-pole double-throw switch k3 is electrically connected to the total positive terminal P0+.

[0071] One end of the single-pole double-throw switch k4 can be connected to another first positive output terminal P1+ or another first negative output terminal P1- of group 1B, and the other end of the single-pole double-throw switch k4 is electrically connected to the total negative terminal P0-.

[0072] Furthermore, taking group 1A as an example: when single-pole double-throw switch k1 is connected to the total positive terminal P0+ and the first positive output terminal P1+ of group 1A, and single-pole double-throw switch k2 is connected to the total negative terminal P0- and the first negative output terminal P1- of group 1A, single-pole double-throw switch k1 and single-pole double-throw switch k2 control group 1A to be positively connected, and the first positive signal output by group 1A can be obtained at this time; when single-pole double-throw switch k1 is connected to the total positive terminal P0+ and the first negative output terminal P1- of group 1A, and single-pole double-throw switch k2 is connected to the total negative terminal P0- and the first positive output terminal P1+ of group 1A, single-pole double-throw switch k1 and single-pole double-throw switch k2 control group 1A to be reversely connected, and the first negative signal output by group 1A can be obtained at this time.

[0073] The control methods of single-pole double-throw switch k3 and single-pole double-throw switch k4 for group 1B are similar to those for group 1A, and will not be described in detail here.

[0074] See also Figure 2 As shown, the second triboelectric nanogenerator has two second positive output terminals P2+ and two second negative output terminals P2-. The second control unit 12 contains two single-pole double-throw switches. If these two switches are labeled k5 and k6 respectively, then:

[0075] One end of the single-pole double-throw switch k5 can be connected to one of the second positive output terminals P2+ or one of the second negative output terminals P2- of the second triboelectric nanogenerator set, and the other end of the single-pole double-throw switch k5 is electrically connected to the total positive terminal P0+.

[0076] One end of the single-pole double-throw switch k6 can be connected to another second positive output terminal P2+ or another second negative output terminal P2- of the second triboelectric nanogenerator set, and the other end of the single-pole double-throw switch k6 is electrically connected to the total negative terminal P0-.

[0077] Furthermore, when single-pole double-throw switch k5 is connected to the positive terminal P0+ and the second positive output terminal P2+ of the second triboelectric nanogenerator, and single-pole double-throw switch k6 is connected to the negative terminal P0- and the second negative output terminal P2- of the second triboelectric nanogenerator, single-pole double-throw switch k5 and single-pole double-throw switch k6 control the second triboelectric nanogenerator to be positively connected, and the second positive signal output by the second triboelectric nanogenerator can be obtained at this time; when single-pole double-throw switch k5 is connected to the positive terminal P0+ and the second negative output terminal P2- of the second triboelectric nanogenerator, and single-pole double-throw switch k6 is connected to the negative terminal P0- and the second positive output terminal P2+ of the second triboelectric nanogenerator, single-pole double-throw switch k5 and single-pole double-throw switch k6 control the second triboelectric nanogenerator to be reversely connected, and the second negative signal output by the second triboelectric nanogenerator can be obtained at this time.

[0078] Of course, the number of the first positive output terminal and the first negative output terminal of the first triboelectric nanogenerator set, and the number of the second positive output terminal and the second negative output terminal of the second triboelectric nanogenerator set are not limited to two, but can also be one. The specific number can be determined according to actual needs, as long as the connection relationship of each positive output terminal, each negative output terminal, the total positive terminal and the total negative terminal can be adjusted through the control of the first control unit and the second control unit to obtain the first positive signal (or the first negative signal) and the second positive signal (or the second negative signal).

[0079] In some embodiments, the absolute difference between the signals output by the first triboelectric nanogenerator and the second triboelectric nanogenerator is not greater than the absolute difference between the absolute value of the signal output by the second triboelectric nanogenerator and the preset threshold. This ensures that the magnitudes of the signals output by the first and second triboelectric nanogenerators are relatively consistent, facilitating logic operations and modulation, and simplifying the structure of logic gates.

[0080] Furthermore, the number of triboelectric nanogenerators included in each of the first and second triboelectric nanogenerator sets can be the same, different, or partially the same and partially different, which can increase the design flexibility of the first and second triboelectric nanogenerator sets.

[0081] Furthermore, taking the example where both the first and second triboelectric nanogenerator sets include a triboelectric nanogenerator, the arrangement of each triboelectric nanogenerator can be as follows: Figure 5 As shown, the three triboelectric nanogenerators are denoted as TENG1, TENG2, and TENG3, respectively. Each triboelectric nanogenerator operates in a sliding mode. Each triboelectric nanogenerator includes an upper electrode m1, which is arranged side by side on the substrate m0. Each triboelectric nanogenerator also includes a lower electrode m3 and a dielectric layer m2 stacked together. The three lower electrodes m3 are arranged side by side on the substrate m4, and the three dielectric layers m2 are attached to the three lower electrodes m3 in a one-to-one correspondence. When the substrate m0 is slid, the three upper electrodes m1 and the three dielectric layers m2 rub against each other, and output signals to the outside through the upper electrodes m1 and the lower electrodes m3.

[0082] In some embodiments, the size of the upper electrode m1 can be, but is not limited to, 1cm*1cm, and the size of the lower electrode m3 and the dielectric layer m2 can be, but is not limited to, 1cm*2cm. The upper electrode m1 and the lower electrode m3 can be made of any conductive material, and the dielectric layer m2 can be made of any dielectric material that has a strong adsorption effect on electrons or positive charges.

[0083] The above Figure 5The three triboelectric nanogenerators are in the same plane. Of course, the three triboelectric nanogenerators can also be set in different planes, such as, but not limited to, on the three sides of a quadrangular prism, or on a curved surface. The working mode is not limited to the sliding mode, but can also be the vertical separation mode or other working modes. In addition, the three triboelectric nanogenerators can generate signals sequentially or simultaneously. Furthermore, it is not limited to friction between solid substances, but can also be friction between solid substances and liquid substances or friction between other phases.

[0084] Furthermore, taking one of the first triboelectric nanogenerator sets as an example, when multiple triboelectric nanogenerators are included, each triboelectric nanogenerator can be connected in series, in parallel, or in a series-parallel connection. The specific connection can be determined according to actual needs and is not limited here, as long as the absolute difference between the output signals of the two first triboelectric nanogenerator sets and the second triboelectric nanogenerator set is kept as small as possible.

[0085] Therefore, the structure, operating mode, signal generation sequence, and material form of each triboelectric nanogenerator can be determined according to actual needs to meet the requirements of different application scenarios and improve design flexibility.

[0086] In some embodiments, such as Figure 6 As shown, it also includes: a rectifier structure 20 and a third control unit 13;

[0087] The positive terminal P0+ and the negative terminal P0- form the total output terminal of the logic gate. The rectifier structure 20 is located between the total output terminal and the first control unit 11. The third control unit 13 is located between the rectifier structure 20 and the total output terminal.

[0088] The rectifier structure 20 is used to: rectify the superposition result so that the rectification result is superimposed on the signal output by the second triboelectric nanogenerator;

[0089] The third control unit 13 is used to: disconnect the total output terminal from the rectifier structure 20 after each of the first triboelectric nanogenerator sets outputs a signal;

[0090] The logic gate is configured as follows:

[0091] Based on the processing results and the switching results of the signals output by the second triboelectric nanogenerator by the second control unit, the processing logic is adjusted.

[0092] In this way, the signals output by the two first triboelectric nanogenerators are superimposed and then rectified by the rectifier structure. The rectified signal is then superimposed with the signal output by the second triboelectric nanogenerator. By switching the signal output by the second triboelectric nanogenerator through the second control unit, the processing logic of the logic gate can be changed, thereby controlling the type of logic gate and realizing a programmable logic gate. The second triboelectric nanogenerator can still be used as a programming terminal.

[0093] Furthermore, when adjusting the processing logic based on the rectified and switching results, the logic gates can be made to behave as either XOR or XOR logic gates, which changes the type of logic gates compared to when there is no rectifier structure.

[0094] Furthermore, after the signals from the two first triboelectric nanogenerators are superimposed, the connection between the total output terminal and the rectifier structure needs to be promptly disconnected. If not disconnected in time, the rectifier structure, being a load, will experience power loss, causing the signal output from the logic gate to decay rapidly. Figure 7 As shown, within t1 (e.g., but not limited to 0.5s) after the signals from the two first triboelectric nanogenerators are superimposed, the signal decays rapidly. When the third control unit disconnects the connection between the total output terminal and the rectifier structure (i.e., the arrow indicates the disconnection time), the decay rate of the signal output by the logic gate slows down. This avoids misjudgment of results caused by the rapid decay of the signal output by the logic gate, and thus avoids the inability to implement the functions of the XOR or XOR logic gates.

[0095] Among them, Figure 7 In the middle, (b) is a magnified view of the part within the dashed box in (a).

[0096] Furthermore, within a preset time (i.e., time t2) after disconnecting the main output terminal from the rectifier structure, an external force needs to be applied to the second triboelectric nanogenerator to enable it to output a signal. Otherwise, although the signal attenuation rate of the logic gate output has slowed down, it is still attenuating. If the waiting time after disconnection is too long, the function of the NAND or XOR logic gate will still be impossible. Therefore, applying an external force to the second triboelectric nanogenerator within the preset time, enabling it to output a signal within that time, effectively enables the function of the NAND or XOR logic gate.

[0097] In some embodiments, the preset time can be set to a smaller value, such as, but not limited to, 1s, 2s, 3s or 5s, and other times, depending on the actual needs, and is not limited here.

[0098] In some embodiments, the logic gate is configured as follows:

[0099] When the processing result is a rectified negative signal and a second positive signal is obtained, XOR logic processing is performed; when the processing result is a rectified positive signal and a second negative signal is obtained, XOR logic processing is performed.

[0100] In this way, by using the rectified processing results and switching results, the type of logic gate can be adjusted to achieve the functions of an NOR logic gate or an XOR logic gate.

[0101] For example, assuming the absolute value of the signals output by both the first and second triboelectric nanogenerator sets is aV, the first positive signal and the second positive signal are both +aV, and the first negative signal and the second negative signal are both -aV, the two first triboelectric nanogenerator sets are defined as group 1A and group 1B, respectively, and the second triboelectric nanogenerator set is defined as group 2. Under the preset threshold of being greater than 0V and less than +aV, or less than 0V and greater than -aV, the corresponding logic signals under ideal conditions are shown in Tables 5 and 6 below. In Tables 5 and 6, the logic signals under group 1A + group 1B represent the logic signal corresponding to group 1A plus the logic signal corresponding to group 1B.

[0102] Table 5

[0103]

[0104] Table 6

[0105]

[0106] From Tables 5 and 6 above, we can see that:

[0107] When the rectifier structure rectifies the superposition result to a negative value and the electrical signal output by the second triboelectric nanogenerator is a second positive signal, the logic gate behaves as an XOR logic gate; when the rectifier structure rectifies the superposition result to a positive value and the electrical signal output by the second triboelectric nanogenerator is a second negative signal, the logic gate behaves as an XNOR logic gate.

[0108] Therefore, under the rectification effect of the rectifier structure and the control effect of the second control unit, the types of logic gates can be adjusted to realize the functions of NOR logic gates or XOR logic gates.

[0109] One point to note is that in the data given in Tables 5 and 6 above, if the electrical signal corresponding to group 1A + group 1B is 0V, ideally, the signal obtained after rectification by the rectifier structure will also be 0V. However, in reality, the signal obtained after rectification by the rectifier structure is not necessarily 0V, but it is a value much smaller than -2aV. Therefore, it can be temporarily ignored, and we can assume that the signal obtained after rectification by the rectifier structure is 0V.

[0110] In some embodiments, to achieve the functionality of an NAND gate or an XOR gate, the arrangement of the first and second triboelectric nanogenerator sets can be adjusted. For example, if both the first and second triboelectric nanogenerator sets include a triboelectric nanogenerator, then... Figure 8 As shown, three triboelectric nanogenerators are labeled TENG1, TENG2, and TENG3, respectively. The upper electrodes m1 of the three triboelectric nanogenerators are all arranged side by side on the same substrate m0. Each of the three triboelectric nanogenerators includes a lower electrode m3 and a dielectric layer m2 stacked together. The lower electrode m3 and dielectric layer m2 of triboelectric nanogenerator TENG1 are stacked to correspond to one of the two outermost upper electrodes m1. The lower electrode m3 and dielectric layer m2 of triboelectric nanogenerator TENG2 are stacked to correspond to the other of the two outermost upper electrodes m1. The lower electrode m3 and dielectric layer m2 of triboelectric nanogenerator TENG3 are stacked together and are triangularly distributed with triboelectric nanogenerators TENG1 and TENG2.

[0111] For example, see Figure 8 As shown, each upper electrode m1 has a size of 1cm*1cm. The lower electrode m3 of the triboelectric nanogenerator TENG3 and the middle upper electrode m1 among the three upper electrodes m1 are arranged side by side along the x-direction and spaced 1cm apart in the x-direction.

[0112] Thus, when the substrate m0 slides 1 cm from the leftmost side to the right, only the upper electrode m1 and the dielectric layer m2 in the triboelectric nanogenerator TENG1 and TENG2 rub against each other and generate a signal. Within the preset time of disconnecting the third control unit, the substrate m0 continues to slide to the right, causing the upper electrode m1 and the dielectric layer m2 in the triboelectric nanogenerator TENG3 to rub against each other and generate a signal, so that the rectified signal is superimposed on the signal output by the triboelectric nanogenerator TENG3.

[0113] In some embodiments, such as Figure 6 As shown, the third control unit 13 includes a single-pole single-throw switch k7; wherein, the single-pole single-throw switch k7 can:

[0114] It is only located between the rectifier structure 20 and the total positive terminal P0+ (e.g. Figure 6 (as shown);

[0115] Alternatively, it may be located only between the rectifier structure 20 and the total negative terminal P0- (not shown in the figure);

[0116] Alternatively, there are two single-pole single-throw switches, one located between the rectifier structure 20 and the positive terminal P0+, and the other located between the rectifier structure 20 and the negative terminal P0-, which are not shown in the figure.

[0117] In summary, as long as the rectifier structure and the total output can be cut off in a timely manner when needed, the location and number of single-pole single-throw switches are not limited here, in order to meet the needs of different application scenarios and improve design flexibility.

[0118] In some embodiments, the rectification structure may be, but is not limited to, a rectifier bridge, or other structures that can perform rectification functions, without limitation.

[0119] It should be emphasized that in the embodiments of the present invention, the purpose of constructing logic gates based on triboelectric nanogenerators is achieved. Since there is no external load, the triboelectric charge in the upper and lower electrodes of the triboelectric nanogenerator can be maintained for a period of time, so that the potential difference between the upper and lower electrodes has the characteristic of non-volatility. Therefore, based on the non-volatility of the triboelectric nanogenerator, a programmable logic gate based on the triboelectric nanogenerator is proposed.

[0120] It should be noted that, in the embodiments of the present invention, both the first and second triboelectric nanogenerator sets obtain a positive signal when connected in the positive direction and a negative signal when connected in the reverse direction. Therefore, the signals output by the first and second triboelectric nanogenerator sets are DC signals or a part of an AC signal (such as a part of a positive signal or a part of a negative signal).

[0121] However, in practice, the signal output by a triboelectric nanogenerator is generally an AC signal. Therefore, in specific implementations, it is necessary to combine... Figure 5 As shown, if the upper electrode is located at the leftmost (or rightmost or other position) in the initial state, the upper electrode can be slid to the rightmost (or leftmost or other position), and when the upper electrode slides again, the charge in the upper electrode and the lower electrode is released (for example, but not limited to being released by grounding), and then it slides again. This ensures that the signals output by the first and second triboelectric nanogenerator sets are DC signals, or a part of an AC signal (such as a positive signal part or a negative signal part).

[0122] Based on the same inventive concept, embodiments of the present invention provide a method for controlling logic gates, such as... Figure 9 As shown, it includes:

[0123] S901. Apply an external force to each of the first triboelectric nanogenerators so that each of the first triboelectric nanogenerators outputs a signal.

[0124] S902. When the first positive output terminal of any first triboelectric nanogenerator is electrically connected to the total positive terminal and the first negative output terminal of the first triboelectric nanogenerator is electrically connected to the total negative terminal, a first positive signal output by the first triboelectric nanogenerator is obtained. When the first positive output terminal of any first triboelectric nanogenerator is electrically connected to the total negative terminal and the first negative output terminal of the first triboelectric nanogenerator is electrically connected to the total positive terminal, a first negative signal output by the first triboelectric nanogenerator is obtained. Based on the relationship between the superposition result of the first positive signal and the first negative signal and the preset threshold, the logic signal output by the logic gate is determined.

[0125] In some embodiments, when the logic gate includes a second triboelectric nanogenerator, a rectifier structure, and a third control unit, and the total positive terminal and the total negative terminal form the total output terminal of the logic gate, the control method further includes:

[0126] Within a preset time after disconnecting the main output terminal from the rectifier structure, an external force is applied to the second triboelectric nanogenerator, causing the second triboelectric nanogenerator to output a signal.

[0127] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A logic gate, characterized by, include: Two first triboelectric nanogenerator sets and a first control unit, each of the first triboelectric nanogenerator sets including at least one triboelectric nanogenerator; The first triboelectric nanogenerator has a first positive output terminal and a first negative output terminal, and the logic gate includes a total positive terminal and a total negative terminal; The first control unit is used to: control the electrical connection relationship between each of the first positive output terminals and each of the first negative output terminals and the total positive terminal and the total negative terminal; The logic gate is configured as follows: When the first positive output terminal of any of the first triboelectric nanogenerators is electrically connected to the total positive terminal and the first negative output terminal of the first triboelectric nanogenerator is electrically connected to the total negative terminal, a first positive signal output by the first triboelectric nanogenerator is obtained. When the first positive output terminal of any of the first triboelectric nanogenerators is electrically connected to the total negative terminal and the first negative output terminal of the first triboelectric nanogenerator is electrically connected to the total positive terminal, a first negative signal output by the first triboelectric nanogenerator is obtained. Based on the relationship between the superposition result of the first positive signal and the first negative signal and a preset threshold, the output logic signal is determined.

2. The logic gate as described in claim 1, characterized in that, Also includes: A second triboelectric nanogenerator set and a second control unit, wherein the second triboelectric nanogenerator set includes at least one of the triboelectric nanogenerators; The second triboelectric nanogenerator has a second positive output terminal and a second negative output terminal; The second control unit is used for: The electrical connection between the second positive output terminal and the second negative output terminal and the total positive terminal and the total negative terminal is controlled; when the second positive output terminal is electrically connected to the total positive terminal and the second negative output terminal is electrically connected to the total negative terminal, the second triboelectric nanogenerator outputs a second positive signal; When the second positive output terminal is electrically connected to the total negative terminal, and the second negative output terminal is electrically connected to the total positive terminal, the second triboelectric nanogenerator outputs a second negative signal; The logic gate is configured as follows: The second control unit controls the electrical connection between the second positive output terminal and the second negative output terminal and the total positive terminal and the total negative terminal, switches the signal output by the second triboelectric nanogenerator, and thus edits the type of logic gate.

3. The logic gate as described in claim 2, characterized in that, The logic gate is configured as follows: When the second positive signal is received, an OR logic process is performed; when the second negative signal is received, an AND logic process is performed.

4. The logic gate as described in claim 2, characterized in that, Both the first control unit and the second control unit include a single-pole double-throw switch.

5. The logic gate as described in claim 2, characterized in that, The difference between the absolute values ​​of the signals output by the first triboelectric nanogenerator and the second triboelectric nanogenerator is not greater than the difference between the absolute value of the signal output by the second triboelectric nanogenerator and the absolute value of the preset threshold.

6. The logic gate according to any one of claims 2-5, characterized in that, Also includes: Rectifier structure and third control unit; The total positive terminal and the total negative terminal form the total output terminal of the logic gate, and the rectifier structure is located between the total output terminal and the first control unit; the third control unit is located between the rectifier structure and the total output terminal; The rectification structure is used to: rectify the superposition result so that the rectification result is superimposed on the signal output by the second triboelectric nanogenerator set; The third control unit is used to: disconnect the total output terminal from the rectifier structure after each of the first triboelectric nanogenerator sets outputs a signal; The logic gate is configured as follows: Based on the processing results and the switching results of the signals output by the second triboelectric nanogenerator by the second control unit, the processing logic is adjusted.

7. The logic gate as described in claim 6, characterized in that, The logic gate is configured as follows: When the processing result is a rectified negative signal and the second positive signal is obtained, an XOR logic process is performed; when the processing result is a rectified positive signal and the second negative signal is obtained, an XNOR logic process is performed.

8. The logic gate as described in claim 6, characterized in that, The third control unit includes a single-pole single-throw switch.

9. A method for controlling a logic gate as described in any one of claims 1-8, characterized in that, include: An external force is applied to each of the first triboelectric nanogenerators, causing each of the first triboelectric nanogenerators to output a signal; When the first positive output terminal of any first triboelectric nanogenerator is electrically connected to the total positive terminal and the first negative output terminal of any first triboelectric nanogenerator is electrically connected to the total negative terminal, a first positive signal output by the first triboelectric nanogenerator is obtained. When the first positive output terminal of any first triboelectric nanogenerator is electrically connected to the total negative terminal and the first negative output terminal of any first triboelectric nanogenerator is electrically connected to the total positive terminal, a first negative signal output by the first triboelectric nanogenerator is obtained. Based on the relationship between the superposition result of the first positive signal and the first negative signal and the magnitude of the preset threshold, the logic signal output by the logic gate is determined.

10. The control method as described in claim 9, characterized in that, When the logic gate includes a second triboelectric nanogenerator, a rectifier structure, and a third control unit, and the total positive terminal and the total negative terminal form the total output terminal of the logic gate, the control method further includes: Within a preset time after disconnecting the total output terminal from the rectifier structure, an external force is applied to the second triboelectric nanogenerator, causing the second triboelectric nanogenerator to output a signal.

Citation Information

Patent Citations

  • Reusable logical gate of mixed structure of MOS transistor and single-electron transistor

    CN103346780A

  • Logic gate based on resistive random access memory, logic circuit and calculation method

    CN110007897A