A high-precision ferroelectric in-memory computing array based on charge cancellation and an operating method thereof

By introducing operational amplifiers and ferroelectric capacitors into the ferroelectric in-memory computing array and employing dual-cycle timing operation, non-ideal charge contributions are eliminated in situ, thus solving the problem of limited device switching ratio in hafnium-based ferroelectric in-memory computing and achieving high-precision computing and improved area efficiency.

CN123182719APending Publication Date: 2026-11-27SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611056787.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-16
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The limited switching ratio of devices in existing hafnium-based ferroelectric in-memory computing leads to reduced computing accuracy and increased hardware overhead, making it difficult to meet the high-precision computing needs of edge or cloud AI.

Method used

By introducing operational amplifiers and ferroelectric capacitors into the ferroelectric in-memory computing array and employing a two-cycle timing operation, the high open-loop gain of the operational amplifiers and the hysteresis characteristics of the ferroelectric capacitors are utilized to eliminate non-ideal charge contributions in situ, thereby improving computational accuracy without increasing hardware overhead.

Benefits of technology

It significantly improves the linearity and accuracy of ferroelectric memory calculations in the analog domain, reduces the error accumulation introduced by non-ideal charges, improves calculation accuracy, and maintains area efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182719A_ABST
    Figure CN123182719A_ABST
Patent Text Reader

Abstract

The application discloses a high-precision ferroelectric in-memory computing array based on charge elimination and an operation method. The application utilizes the high open-loop gain of an operational amplifier and the hysteresis characteristic of a ferroelectric capacitor to perform a multiply-accumulate operation through double-period timing coordination. In the first operation period, input activation values are mapped to word line voltages, plate lines are connected to read voltages, and all activated ferroelectric units are driven to a positive saturation state, the total released charge is completely transferred and locked on the integral reference capacitor through the virtual short characteristic of the operational amplifier. In the second operation period, the word line voltage is maintained and the plate line voltage is pulled down to remove the excitation electric field, so that the activated ferroelectric unit falls back to a positive residual polarization state, the inherent linear dielectric charge is released and withdrawn from the integral reference capacitor in situ, and the adaptive charge subtraction is completed. The application eliminates the error accumulation of non-ideal charge under high parallel multiply-accumulate operation, and significantly improves the linearity and accuracy of analog domain ferroelectric in-memory computing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a high-precision ferroelectric in-memory computing array and its operation method based on charge elimination, belonging to the field of application-specific integrated circuit design technology. Background Technology

[0002] Driven by the demands for high performance and high computing density, Computing in Memory (CIM) technology has gradually become an important direction in processor design. By integrating Multiply and Accumulate (MAC) operations directly into the memory array, CIM significantly reduces the energy consumption caused by repeated data transfers between the processor and memory, alleviating the bottleneck problem of the "memory wall" in the von Neumann architecture.

[0003] In the fine-tuning and training of edge AI and the inference training of cloud AI, certain tasks require high computational accuracy for CIM. The computational accuracy of charge domain in-memory calculation schemes based on hafnium-based ferroelectric capacitors (FeCAP) is highly dependent on the on / off ratio of the ferroelectric devices.

[0004] Therefore, there is a need for a high-precision ferroelectric CIM array and operation method that is CIM-friendly, has high parallelism, and low circuit overhead, in order to solve the problem of high hardware overhead in current ferroelectric CIM support schemes. Summary of the Invention

[0005] Objective: To overcome the technical problems of reduced computational accuracy and increased area overhead caused by the limited switching ratio of devices in existing hafnium-based ferroelectric in-memory computing, this invention provides a high-precision ferroelectric in-memory computing array and operation method based on charge elimination. Without the need for hardware redundancy and additional area overhead, the error caused by the limited switching ratio of devices is eliminated in situ by simply changing the operation method, thereby improving computational accuracy and area efficiency. It is suitable for training and inference of AI at the edge or in the cloud.

[0006] Technical solution: To solve the above technical problems, the technical solution adopted by the present invention is as follows:

[0007] In a first aspect, a high-precision ferroelectric in-memory computing array based on charge elimination includes: a ferroelectric memory array, an operational amplifier, an integration reference capacitor, and switches S1, S2, and S3.

[0008] The ferroelectric memory array comprises several basic cell columns. Each basic cell column includes n basic cells connected in parallel to the bit line and the board line. Each basic cell includes an N-type MOSFET and a ferroelectric capacitor. The source of the N-type MOSFET is connected to the bit line, and the drain of the N-type MOSFET is connected to the board line after being connected in series with the ferroelectric capacitor. The gate of the N-type MOSFET in the first row of the basic cell column is connected to the word line of the first row; the gate of the N-type MOSFET in the second row of the basic cell column is connected to the word line of the second row, and so on, until the gate of the N-type MOSFET in the nth row of the basic cell column is connected to the word line of the nth row.

[0009] The beginning of each bit line is connected to the control terminal via switch S1.

[0010] The end of each bit line is connected to the inverting input of the operational amplifier via switch S2.

[0011] A switch S3 is connected between the non-inverting input and the output of the operational amplifier.

[0012] An integrating reference capacitor is connected between the inverting input and output terminals of the operational amplifier.

[0013] Optionally, the non-inverting input of the operational amplifier is also connected to a common-mode voltage.

[0014] Optionally, the output of the operational amplifier can be used as the output of the basic unit column.

[0015] Optionally, the ferroelectric capacitor is a hafnium-based ferroelectric capacitor.

[0016] Optionally, each column of basic cells stores weights in its ferroelectric capacitors, where the weights are 1 or 0.

[0017] Secondly, a method for operating a high-precision ferroelectric in-memory computing array based on charge elimination specifically includes:

[0018] Step 1: Before computation begins, the control word line voltage is pulled low to GND, and the bit line BL and board line PL voltages are pulled low to the common-mode voltage. Control switches S1, S2, and S3 are turned on. This is used to clear the residual charge across the integration reference capacitor and reset the operational amplifier output to the common-mode voltage.

[0019] Step 2: In the first operating cycle, control switches S1 and S3 are opened, and control switch S2 is closed, connecting the bit line to the inverting input of the operational amplifier. The input activation value is mapped to the corresponding word line drive voltage, turning on the transmission transistor of the selected basic unit. The board line voltage is pulled up to the positive read voltage. Under the excitation of this electric field, the activated ferroelectric capacitor polarizes to the positive saturation state, releasing charge to the bit line BL. The charge is transferred and latched onto the integrating reference capacitor. The output voltage of the operational amplifier is... .

[0020] Step 3: In the second operating cycle, keep switches S1 and S3 open and switch S2 closed. Continue to maintain the word line voltage from the first operating cycle, and switch the board line voltage potential to the common-mode voltage. The polarization state of the activated ferroelectric capacitor falls back to the positive residual polarization state and releases charge Q0, drawing charge from the integrating reference capacitor and releasing it to the board line. The output voltage of the operational amplifier is... .

[0021] Optionally, the magnitude of the forward read voltage is V. CM + V C V CM For common-mode voltage, V C This is the preset voltage increment.

[0022] Optionally, during the first operating cycle, control switches S1 and S3 are opened, while control switch S2 remains closed, so as to connect the bit line voltage to the inverting input of the operational amplifier and lock the bit line voltage at V. CM .

[0023] In the second operating cycle, control switches S1 and S3 remain open, control switch S2 remains closed, and the control board line voltage changes from V in the first operating cycle. CM + V C Switch back to V CM Among them: V CM For common-mode voltage, V C This is the preset voltage increment.

[0024] Optional, The expression is as follows:

[0025]

[0026] in, The voltage value representing the common-mode voltage. This indicates the number of basic cells in a given basic cell column where the word line drive voltage input is 1 and the weight is 1. This represents the charge released by the ferroelectric capacitor with a storage weight of 0 when the word line drive voltage and the board line are pulled high. This represents the charge released by a ferroelectric capacitor with a storage weight of 1 when the word line drive voltage and the board line are pulled high. This indicates the number of basic cells in a certain basic cell column where the word line drive voltage input is 1 and the weight is 0. This indicates the capacitance value of the integration reference capacitor.

[0027] Optional, The expression is as follows:

[0028]

[0029] in, The voltage value representing the common-mode voltage. This indicates the number of basic cells in a given basic cell column where the word line drive voltage input is 1 and the weight is 1. This represents the charge released by the ferroelectric capacitor with a storage weight of 0 when the word line drive voltage and the board line are pulled high. This represents the charge released by a ferroelectric capacitor with a storage weight of 1 when the word line drive voltage and the board line are pulled high. This indicates the capacitance value of the integration reference capacitor.

[0030] Beneficial Effects: This invention provides a high-precision ferroelectric in-memory computing array and operation method based on charge elimination. This invention utilizes the high open-loop gain of an operational amplifier and the hysteresis characteristics of ferroelectric capacitors to perform multiply-accumulate operations through a two-cycle timing coordination. In the first operating cycle, the input activation value is mapped to a word line voltage, and the board line is connected to the read voltage, driving all activated ferroelectric units to polarize to a positive saturation state. The released total charge is completely transferred and latched onto the integrating reference capacitor through the virtual short characteristic of the operational amplifier. In the second operating cycle, the word line voltage is maintained while the board line voltage is lowered to remove the excitation electric field, causing the activated ferroelectric units to fall back to the positive residual polarization state. This causes the inherent linear dielectric charge to be released and withdrawn from the integrating reference capacitor in situ, adaptively completing the charge subtraction. This invention eliminates the unwanted charge contribution introduced by the low switching ratio by changing the timing protocol in situ within the two-cycle operation, thereby eliminating the error accumulation of non-ideal charges in high-parallel multiply-accumulate operations without adding any additional area overhead such as auxiliary reference arrays, reference columns, and dual capacitor devices. This significantly improves the linearity and accuracy of ferroelectric in-memory calculations in the analog domain. Attached Figure Description

[0031] Figure 1 This is a schematic diagram of the circuit structure of the ferroelectric in-memory computing array of the present invention.

[0032] Figure 2 This is a flowchart illustrating the high-precision hafnium-based ferroelectric memory calculation method based on charge elimination according to the present invention.

[0033] Figure 3 This is a schematic diagram comparing the calculated output voltage of the method of the present invention with that of existing methods.

[0034] Figure 4 This is a schematic diagram showing the percentage of voltage swing when MAC=0. Detailed Implementation

[0035] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the present invention.

[0036] The present invention will be further described below with reference to specific embodiments.

[0037] Example 1:

[0038] This embodiment introduces a high-precision ferroelectric in-memory computing array based on charge elimination, such as... Figure 1 As shown, it includes: a ferroelectric memory array, an operational amplifier, an integrating reference capacitor, and switches S1, S2, and S3.

[0039] The ferroelectric memory array comprises several basic cell columns. Each basic cell column includes n basic cells connected in parallel to bit lines (BL) and plate lines (PL). Each basic cell includes an N-type MOSFET and a ferroelectric capacitor. The source of the N-type MOSFET is connected to the bit line, and the drain of the N-type MOSFET is connected to the plate line after being connected in series with the ferroelectric capacitor. The gate of the N-type MOSFET in the first row of the basic cell column is connected to the word line (WL) of the first row; the gate of the N-type MOSFET in the second row of the basic cell column is connected to the word line (WL) of the second row, and so on, until the gate of the N-type MOSFET in the nth row of the basic cell column is connected to the word line (WL) of the nth row.

[0040] The beginning of each bit line is connected to the control terminal via switch S1.

[0041] The end of each bit line is connected to the inverting input of the operational amplifier via switch S2.

[0042] A switch S3 is connected between the non-inverting input and the output of the operational amplifier.

[0043] An integrating reference capacitor is connected between the inverting input and output terminals of the operational amplifier.

[0044] Furthermore, the non-inverting input of the operational amplifier is also connected to a common-mode voltage.

[0045] Furthermore, the output of the operational amplifier serves as the output of the basic unit column.

[0046] Furthermore, the ferroelectric capacitor is a hafnium-based ferroelectric capacitor.

[0047] Furthermore, each column of basic unit cells stores weights in its ferroelectric capacitors, where the weights are either 1 or 0.

[0048] Example 2:

[0049] This embodiment introduces an operation method for a ferroelectric in-memory computing array based on Embodiment 1. Utilizing the open-loop gain of the operational amplifier and the hysteresis characteristics of the ferroelectric capacitor, the operation method includes a full charge transfer and latching stage and a non-ideal charge in-situ elimination stage. The full charge transfer and latching stage and the non-ideal charge in-situ elimination stage form a dual-cycle control timing sequence, which is collaboratively executed by the operational amplifier, control switches, and the ferroelectric in-memory computing array. Taking an example with a basic unit number of n=32... Figure 2 As shown, it includes the following steps:

[0050] Step 1, Initial Reset Phase: Before computation starts, the control word line WL<31:0> is pulled low to GND, and the bit line BL and board line PL are pulled low to the common-mode voltage V. CM Control switches S1, S2, and S3 are turned on. This is used to reset the integration reference capacitor C. ref The residual charge at both ends resets the output of the operational amplifier to the common-mode voltage.

[0051] Step 2, First Operation Cycle (Full Charge Transfer and Latching Stage): Control switches S1 and S3 are open, control switch S2 is closed, and the bit line BL is connected to the inverting input of the operational amplifier. Due to the "virtual short" characteristic of the op-amp, the voltage is forcibly locked at V. CM The input activation value is mapped to the corresponding word line WL<31:0> drive voltage, turning on the transmission transistor of the selected basic cell. Then, the board line PL is pulled high to the positive read voltage. Under the excitation of this electric field, the activated ferroelectric capacitor polarizes to positive saturation, releasing charge to the bit line BL. This charge is transferred and latched onto the integrating reference capacitor. At this time, the op-amp's output voltage exhibits... . The voltage value representing the common-mode voltage. This indicates the number of basic cells in a given basic cell column where the word line drive voltage input is 1 and the weight is 1. This represents the charge released by the ferroelectric capacitor with a storage weight of 0 when the word line drive voltage is pulled high (i.e., the input is 1) and the board line is pulled high. This represents the charge released by the ferroelectric capacitor with a storage weight of 1 when the word line drive voltage is pulled high (i.e., the input is 1) and the board line is pulled high. This indicates the number of basic cells in a certain basic cell column where the word line drive voltage input is 1 and the weight is 0. This indicates the capacitance value of the integration reference capacitor.

[0052] Step 3, Second Operating Cycle (In-situ Removal of Non-ideal Charge): Continue to keep switches S1 and S3 open and switch S2 closed. Maintain the word line voltage from the first operating cycle, and switch the potential of the board line PL voltage to the common-mode voltage, thereby removing the electric field applied across the activated ferroelectric capacitor. The polarization state of the activated ferroelectric capacitor falls back to the positive residual polarization state and releases charge Q0. This process involves drawing charge from the integrating reference capacitor and releasing it to the board line PL. This process adaptively eliminates the calculation error introduced by non-ideal charge at the hardware level. At this time, the op-amp's output voltage exhibits... .

[0053] Furthermore, during the first operating cycle, control switches S1 and S3 are opened, while control switch S2 remains closed, so as to connect the array bit line to the inverting input of the operational amplifier and lock its voltage at the common-mode voltage.

[0054] Furthermore, the magnitude of the positive read voltage introduced into the board lines of the ferroelectric memory computing array during the first operating cycle is V. CM + V C V CM For common-mode voltage, V C This is the preset voltage increment.

[0055] Furthermore, the specific control state of the second operating cycle is as follows: control switches S1 and S3 remain open, control switch S2 remains closed, and the control board line voltage changes from V in the first operating cycle. CM + V C Switch back to V CM .

[0056] Furthermore, each column bit line of the ferroelectric memory computing array is independently connected to an integrating amplifier circuit consisting of an operational amplifier and an integrating reference capacitor, in order to output the analog domain multiplication and accumulation calculation results after eliminating the device's limited switching ratio error in parallel.

[0057] Example 3:

[0058] This embodiment presents a comparative experiment of the MAC (multiply-accumulate) operation of the ferroelectric in-memory computing array operation method of the present invention and the existing operation method.

[0059] like Figure 3 As shown, under the same MAC value, without the present invention, the output voltage broadening between the best case and the worst case is 205.14mV (taking MAC=0 as an example); while with the present invention, this voltage broadening is compressed to 1.66mV, a reduction of about 123 times.

[0060] like Figure 4As shown, the percentage of the voltage broadening at MAC=0 relative to the entire output voltage swing (the voltage range from MAC=0 to MAC=32) is approximately 50.15% without this invention, while it drops to approximately 0.81% with this invention, a reduction of approximately 62 times. This demonstrates that this invention effectively reduces the impact of device switching ratios on the output voltage, improving worst-case output performance to near-optimal levels and significantly enhancing the circuit's calculation accuracy.

[0061] In the best case, taking MAC=1 as an example, only one basic unit has an input signal of 1 and stores information of 1; the input signals of the other basic units are all 0, and the impact of their stored information on the output voltage is negligible.

[0062] Worst case: All basic units have input signals of 1, but only one basic unit stores information of 1, while the rest store information of 0. In this case, except for the target basic unit (input of 1 and stored information of 1), all other basic units are interference sources (input of 1 but stored information of 0), producing the largest superposition effect of interference voltage, resulting in the largest deviation of the output voltage from the ideal value. In other words, the worst case is the case with the largest number of interfering basic units.

[0063] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A high-precision ferroelectric in-memory computing array based on charge elimination, characterized in that: include: Ferroelectric memory array, operational amplifier, integrating reference capacitor, and switches S1, S2, and S3; The ferroelectric memory array includes several basic cell columns; wherein each basic cell column includes n basic cells connected in parallel to the bit line and the board line, and each basic cell includes: an N-type MOS transistor and a ferroelectric capacitor, wherein: the source of the N-type MOS transistor is connected to the bit line, and the drain of the N-type MOS transistor is connected to the board line after being connected in series with the ferroelectric capacitor; the gate of the N-type MOS transistor in the first row of the basic cell column is connected to the word line of the first row, the gate of the N-type MOS transistor in the second row of the basic cell column is connected to the word line of the second row, and so on, until the gate of the N-type MOS transistor in the nth row of the basic cell column is connected to the word line of the nth row; The beginning of each bit line is connected to the control terminal via switch S1; The end of each bit line is connected to the inverting input of the operational amplifier via switch S2; A switch S3 is connected between the non-inverting input and the output of the operational amplifier; An integrating reference capacitor is connected between the inverting input and output terminals of the operational amplifier.

2. The high-precision ferroelectric in-memory computing array based on charge elimination according to claim 1, characterized in that: The non-inverting input of the operational amplifier is also connected to a common-mode voltage.

3. The high-precision ferroelectric in-memory computing array based on charge elimination according to claim 1, characterized in that: The output of the operational amplifier serves as the output of the basic unit column.

4. The high-precision ferroelectric in-memory computing array based on charge elimination according to claim 1, characterized in that: The ferroelectric capacitor is a hafnium-based ferroelectric capacitor.

5. A high-precision ferroelectric in-memory computing array based on charge elimination according to claim 1, characterized in that: Each column of basic units stores a weight in its ferroelectric capacitor, where the weight is either 1 or 0.

6. The operation method of a high-precision ferroelectric in-memory computing array based on charge elimination according to any one of claims 1-5, characterized in that: Specifically, it includes: Step 1: Before the calculation starts, control the word line voltage to GND, the bit line BL and board line PL voltage to common mode voltage; control switches S1, S2 and S3 to be turned on; this is used to clear the residual charge at both ends of the integration reference capacitor and reset the output of the operational amplifier to common mode voltage. Step 2: In the first operating cycle, control switches S1 and S3 are opened, and control switch S2 is closed to connect the bit line to the inverting input terminal of the operational amplifier; the input activation value is mapped to the corresponding word line drive voltage to turn on the transmission transistor of the selected basic unit; The plate line voltage is pulled up to the positive read voltage; under the excitation of this electric field, the activated ferroelectric capacitor is polarized to the positive saturation state and releases charge to the bit line BL; the charge is transferred and latched onto the integrating reference capacitor; the output voltage of the operational amplifier is... ; Step 3: In the second operating cycle, keep switches S1 and S3 open and switch S2 closed; maintain the word line voltage from the first operating cycle, and switch the board line voltage potential to the common-mode voltage; the polarization state of the activated ferroelectric capacitor falls back to the positive residual polarization state and releases charge Q0, drawing charge from the integrating reference capacitor and releasing it to the board line; the output voltage of the operational amplifier is... .

7. The operating method according to claim 6, characterized in that: The magnitude of the forward read voltage is V. CM + V C V CM For common-mode voltage, V C This is the preset voltage increment.

8. The operating method according to claim 6, characterized in that: In the first operating cycle, control switches S1 and S3 are open, while control switch S2 remains closed, so that the bit line voltage is connected to the inverting input of the operational amplifier and the bit line voltage is locked at V. CM ; In the second operating cycle, control switches S1 and S3 remain open, control switch S2 remains closed, and the control board line voltage changes from V in the first operating cycle. CM + V C Switch back to V CM ; Where: V CM For common-mode voltage, V C This is the preset voltage increment.

9. The operating method according to claim 6, characterized in that: The expression is as follows: ; in, The voltage value representing the common-mode voltage. This indicates the number of basic cells in a given basic cell column where the word line drive voltage input is 1 and the weight is 1. This represents the charge released by the ferroelectric capacitor with a storage weight of 0 when the word line drive voltage and the board line are pulled high. This represents the charge released by a ferroelectric capacitor with a storage weight of 1 when the word line drive voltage and the board line are pulled high. This indicates the number of basic cells in a certain basic cell column where the word line drive voltage input is 1 and the weight is 0. This indicates the capacitance value of the integration reference capacitor.

10. The operating method according to claim 6, characterized in that: The expression is as follows: ; in, The voltage value representing the common-mode voltage. This indicates the number of basic cells in a given basic cell column where the word line drive voltage input is 1 and the weight is 1. This represents the charge released by the ferroelectric capacitor with a storage weight of 0 when the word line drive voltage and the board line are pulled high. This represents the charge released by a ferroelectric capacitor with a storage weight of 1 when the word line drive voltage and the board line are pulled high. This indicates the capacitance value of the integration reference capacitor.