Current sensor circuit

By using proportional precharge current in the current sensor circuit, the over-precharge problem of the current sensor circuit during accelerating the sensing operation is solved, and fast and accurate data reading is achieved.

CN118918931APending Publication Date: 2024-11-08WINBOND ELECTRONICS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310839114.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-05-08
Filing Date
2023-07-10
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

When existing current sensor circuits accelerate sensing operations, over-pre-charging may lead to incorrect sensing results and waste more sensing time waiting for the sensing bias of the data line to recover.

Method used

A current sensor circuit is designed, including a differential sensing amplifier and a precharge circuit. The precharge circuit provides a precharge current through the current source and switch components, and determines based on the reference current to ensure that the precharge current is proportional to the reference current and reduces sensing. Bias settling time and prevent over-precharge.

Benefits of technology

The sensing operation of the accelerating current sensor circuit is realized, and the storage data is correctly read, which reduces the establishment time of the sensing bias and avoids incorrect sensing results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118918931A_ABST
    Figure CN118918931A_ABST
Patent Text Reader

Abstract

The invention provides a current sensor circuit. The current sensor circuit includes a differential sense amplifier and a pre-charge circuit. The differential sense amplifier has a first input terminal, a second input terminal and an output terminal. The first input end is coupled to the selected unit cell through a first data line. The second input end is coupled to the reference unit cell through a second data line. The output end outputs sensing data of the selected unit cell. The pre-charge circuit is coupled to the differential sense amplifier. The pre-charging circuit is used for providing pre-charging current to perform pre-charging operation on the first data line. The first data line has a cell current and a pre-charge current. The second data line has a reference current. The pre-charge current is determined according to the reference current.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an electronic circuit, and more particularly to a current sensor circuit. Background Art

[0002] The read operation of a memory storage device (such as flash memory) is to sense the data stored in the cell by comparing the current of the array cell and the reference cell through a current sensor circuit. The cell current and the reference current generate input signals through the load resistor of the current-to-voltage converter respectively, and are transmitted to the differential sense amplifier to read out the data stored in the cell.

[0003] In order to speed up the sensing operation, when the data line is heavily loaded, the establishment time of the sensing bias on the two current paths of the cell current and the reference current must be reduced. In the prior art, a pre-charging method is used to speed up the sensing operation. However, excessive pre-charging may cause erroneous sensing results and waste more sensing time waiting for the sensing bias of the data line to recover to the correct sensing data. Summary of the invention

[0004] The present invention provides a current sensor circuit which can accelerate the sensing operation and correctly read the stored data.

[0005] The current sensor circuit of the present invention includes a differential sensing amplifier and a precharge circuit. The differential sensing amplifier has a first input terminal, a second input terminal and an output terminal. The first input terminal is coupled to the selected cell through a first data line. The second input terminal is coupled to a reference cell through a second data line. The output terminal outputs the sensing data of the selected cell. The precharge circuit is coupled to the differential sensing amplifier. The precharge circuit is used to provide a precharge current to perform a precharge operation on the first data line. The first data line has a cell current and a precharge current. The second data line has a reference current. The precharge current is determined according to the reference current.

[0006] In an embodiment of the present invention, the differential sense amplifier outputs an output voltage as sense data according to a comparison result between the sense voltage and the reference voltage.

[0007] In an embodiment of the present invention, the current sensor circuit further includes a first current-to-voltage converter circuit and a second current-to-voltage converter circuit. The first current-to-voltage converter circuit is coupled between the first input terminal and the selected cell. The first current-to-voltage converter circuit is used to convert the cell current and the precharge current into a sensing voltage. The second current-to-voltage converter circuit is coupled between the second input terminal and the reference cell. The second current-to-voltage converter circuit is used to convert the reference current into a reference voltage.

[0008] In an embodiment of the present invention, the precharge circuit includes a switch component and a current source. The switch component has a first end, a second end and a control end. The first end of the switch component is coupled to an operating voltage. The control end of the switch component is coupled to a control signal. The current source has a first end and a second end. The first end of the current source is coupled to the second end of the switch component. The second end of the current source is coupled to a differential sense amplifier.

[0009] In an embodiment of the present invention, the current source includes a first transistor as a current mirror circuit. The second current-to-voltage converter circuit includes a second transistor. The first transistor has a first terminal, a second terminal and a control terminal. The first terminal of the first transistor is coupled to a switch component. The second terminal of the first transistor is coupled to a first input terminal of a differential sensing amplifier through the first current-to-voltage converter circuit. The control terminal of the first transistor is coupled to the second transistor.

[0010] In an embodiment of the present invention, the current source includes a first transistor as a current mirror circuit. The second current-to-voltage converter circuit includes a second transistor. The first transistor has a first terminal, a second terminal and a control terminal. The first terminal of the first transistor is coupled to the switch component. The second terminal of the first transistor is directly coupled to the first input terminal of the differential sense amplifier. The control terminal of the first transistor is coupled to the second transistor.

[0011] In an embodiment of the present invention, the ratio of the channel width to the channel length of the first transistor is m times the ratio of the channel width to the channel length of the second transistor, where m is greater than or equal to 1, and the m value is the ratio of the critical value set by the detection current to the reference current.

[0012] In an embodiment of the present invention, the pre-charge current is a ratio of a reference current to a threshold value set by the detection current.

[0013] In an embodiment of the present invention, the pre-charge current is proportional to the reference current.

[0014] Based on the above, in an embodiment of the present invention, the precharge circuit performs a precharge operation on the first data line during the precharge period, and the precharge current is determined according to the reference current. Therefore, the sensing operation of the current sensor circuit can be accelerated and the stored data can be read correctly.

[0015] In order that the foregoing may be better understood, several embodiments are described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings are included to provide a further understanding of the present disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure.

[0017] Figure 1 , Figure 3 and Figure 4 A schematic diagram showing a current sensor circuit according to different embodiments of the present invention;

[0018] Figure 2 A schematic diagram showing signal waveforms of a current sensor circuit according to an embodiment of the present invention.

[0019] Description of Figure Numbers

[0020] 100: current sensor circuit;

[0021] 110: differential sense amplifier;

[0022] 120: pre-charging circuit;

[0023] 122: current source;

[0024] 124: switch assembly;

[0025] 131: a first current-to-voltage converter circuit;

[0026] 132: a second current-to-voltage converter circuit;

[0027] 201, 202, 203, 204: signal waveform;

[0028] 210: selected unit cell;

[0029] 220: reference unit cell;

[0030] DL1: first data line;

[0031] DL2: second data line;

[0032] EN1, EN2: control signal;

[0033] N1: first input terminal;

[0034] N2: second input terminal;

[0035] I_cell: cell current;

[0036] I_pre, m×I_ref: pre-charge current;

[0037] I_ref: reference current;

[0038] Q1: first transistor;

[0039] Q2: second transistor;

[0040] R1: first resistor;

[0041] R2: second resistor;

[0042] T1: pre-charge period;

[0043] T2: sensing time;

[0044] V1: sensing voltage;

[0045] V2: reference voltage;

[0046] V3, V4: voltage signal;

[0047] V5: control voltage;

[0048] VDD: operating voltage;

[0049] VOUT: output voltage;

[0050] WL, WL_ref: word line;

[0051] W / L, mW / L: ratio of channel width to channel length;

[0052] △V: voltage difference. DETAILED DESCRIPTION

[0053] Figure 1 FIG. 1 is a schematic diagram showing a current sensor circuit according to an embodiment of the present invention. Figure 1 The current sensor circuit 100 of the present embodiment includes a differential sense amplifier 110, a precharge circuit 120, a first current-to-voltage converter circuit 131, and a second current-to-voltage converter circuit 132. The current sensor circuit 100 is coupled to an operating voltage VDD. The control signal EN1 is used to control the current sensor circuit 100 to perform a sensing operation on the selected cell 210.

[0054] Specifically, the differential sense amplifier 110 outputs a voltage VOUT at its output terminal as sense data according to the comparison result between the sense voltage V1 and the reference voltage V2. For example, if the sense voltage V1 is greater than the reference voltage V2, the differential sense amplifier 110 outputs a high-level output voltage VOUT as sense data 0; if the sense voltage V1 is less than or equal to the reference voltage V2, the differential sense amplifier 110 outputs a low-level output voltage VOUT as sense data 1.

[0055] The differential sense amplifier 110 has a first input terminal N1, a second input terminal N2 and an output terminal. The first input terminal N1 is used as a non-inverting input terminal of the differential sense amplifier 110, and the second input terminal N2 is used as an inverting input terminal of the differential sense amplifier 110. The output terminal is used to output the sensing data of the selected cell 210.

[0056] The first input terminal N1 is coupled to the selected cell 210 through the first data line DL1. The first data line DL1 has a cell current I_cell and a precharge current I_pre. The cell current I_cell and the precharge current I_pre are transmitted on the first data line DL1. The cell current I_cell comes from the selected cell 210. The second input terminal N2 is coupled to the reference cell 220 through the second data line DL2. The second data line DL2 has a reference current I_ref. The reference current I_ref is transmitted on the second data line DL2. The reference current I_ref comes from the reference cell 220. In the present embodiment, the precharge current I_pre is provided by the precharge circuit 120, and the precharge current I_pre is determined according to the reference current I_ref. In addition, in the present embodiment, WL is a word line coupled to the selected cell 210, and WL_ref is a word line coupled to the reference cell 220.

[0057] The first current-to-voltage converter circuit 131 is coupled between the first input terminal N1 and the selected cell 210. The first current-to-voltage converter circuit 131 includes a first resistor R1 as a load. The first current-to-voltage converter circuit 131 is used to convert the cell current I_cell and the pre-charge current I_pre into a sensing voltage V1. The second current-to-voltage converter circuit 132 is coupled between the second input terminal N2 and the reference cell 220. The second current-to-voltage converter circuit 132 includes a second resistor R2 as a load. The second current-to-voltage converter circuit 132 is used to convert the reference current I_ref into a reference voltage V2. The first load resistance R1 is equal to the second load resistance R2 multiplied by the ratio of the cell current I_cell to the reference current I_ref, and can also be set so that the ratio of the first load R1 to the second load resistance R2 is equal to the ratio of the cell current I_cell to the reference current I_ref.

[0058] In the present embodiment, the precharge circuit 120 is coupled to the differential sense amplifier 110 and is used to provide a precharge current I_pre to perform a precharge operation on the first data line DL1. The precharge circuit 120 includes a current source 122 and a switch component 124. The current source 122 is coupled to the switch component 124. The switch component 124 has a first end, a second end and a control end. The first end of the switch component 124 is coupled to the operating voltage VDD. The control end of the switch component is coupled to the control signal EN2. The current source 122 has a first end and a second end. The first end of the current source 122 is coupled to the second end of the switch component 124. The second end of the current source 122 is coupled to the differential sense amplifier. The current source 122 is used to provide the precharge current I_pre. The control signal EN2 is used to control the conduction state of the switch component 124 to determine the length of time during the precharge period. During the pre-charging period, the control signal EN2 can turn on the switch element 124 , and the current source 122 outputs the pre-charging current I_pre to perform a pre-charging operation on the first data line DL1 of the selected cell 210 .

[0059] In this embodiment, the two current paths of the selected unit cell 210 and the reference unit cell 220 are connected to the loads in the respective current-to-voltage converter circuits, and the outputs thereof are transmitted to the differential sense amplifier 110 for data reading operation. The precharge circuit 120 is used to perform a precharge operation on the current path of the selected unit cell 210, for example, to provide a precharge current I_pre to the current path of the selected unit cell 210. The precharge current I_pre provided by the precharge circuit 120 may be equal to the reference current I_ref, or proportional to the reference current I_ref, that is, I_pre=m×I_ref, where m is greater than or equal to 1, and is the ratio of the detection current threshold value to the reference current.

[0060] During the pre-charging period, the pre-charging circuit 120 may pre-charge the sensing bias voltage (i.e., the voltage of the node N1) on the first data line DL1 to a predetermined voltage level. Since the pre-charging current I_pre is proportional to the reference current I_ref, the voltage of the node N1 may have a certain degree of correlation with the reference voltage V2. In this way, it is possible to prevent the pre-charging bias voltage V1 on the first data line DL1 from being affected by the process, voltage, temperature (PVT) and the length of the pre-charging period and deviating from the correlation with the reference voltage V2, thereby causing the differential sensing amplifier 110 to output an incorrect sensing result. In an embodiment, the pre-charging circuit 120 may include a current mirror circuit for mapping the reference current I_ref to the pre-charging current I_pre, so that the pre-charging current I_pre is proportional to the reference current I_ref.

[0061] In the initial state after the pre-charging period, the sensing voltage V1 and the reference voltage V2 converted from the first current-to-voltage converter circuit 131 and the second current-to-voltage converter circuit 132 are examples of reading close to 0, that is, the output result of the detection cell current I_cell being less than the reference current I_ref. In addition, the signal sensed by the differential sensing amplifier 110 is a well-biased differential input signal generated by a bias voltage preset based on the detection current threshold value. Therefore, under heavy load conditions, the pre-charging operation of this embodiment can reduce the establishment time of the sensing bias voltage (the voltage of the node N1) of the first data line DL1 and prevent the voltage of the node N1 from being over pre-charged. In the case of over pre-charging, more recovery time is required to pull the voltage of the node N1 back to the true sensing bias voltage by the cell current, which will reduce the reading performance of the current sensor circuit 100.

[0062] Figure 2 A schematic diagram showing the signal waveform of a current sensor circuit according to an embodiment of the present invention is shown. Figure 1 and Figure 2 When the control signal EN1 is at a high level, the current sensor circuit 100 performs a read operation on the selected cell 210. During the pre-charging period T1, the control signal EN2 is at a high level, and the pre-charging circuit 120 performs a pre-charging operation on the first data line DL1 of the selected cell 210.

[0063] During the pre-charge period T1, when the cell current I_cell is 0, the voltage signal V3 will be approximately equal to the voltage signal V4 after reaching the initial state of pre-charge, as shown in the signal waveform 201. Among them, the signal waveform 201 shows that the selected cell 210 stores a bit value of 1, and the read cell current I_cell is less than the reference current I_ref. Alternatively, during the pre-charge period T1, when the current of the selected cell 210 is less than the reference current I_ref, the voltage signal V3 will remain lower than the voltage signal V4 after reaching the initial state of pre-charge, as shown in the signal waveform 202, and the size of this voltage difference can be determined by the setting of the pre-charge current I_pre. Among them, the signal waveform 202 shows that the selected cell 210 stores a bit value of 1, and the cell current I_cell is less than and close to the reference current I_ref.

[0064] On the other hand, the signal waveforms 203 and 204 show an example in which the selected cell 210 stores a bit value of 0 and the cell current I_cell is greater than the reference current I_ref. In this embodiment, during the pre-charge period T1, the difference between the voltage signal V3 and the voltage signal V4 after reaching the initial state of pre-charge can be a voltage difference of △V at most, as shown in the signal waveform 204. The magnitude of the voltage difference △V is determined according to the difference between the cell current I_cell and the pre-charge current I_pre. By setting the pre-charge current I_pre, the minimum value of the voltage difference can be determined for the cell current I_cell range storing the bit value 0, so that the pre-charge voltage signal V3 is lower than the voltage signal V4.

[0065] Therefore, in this embodiment, by mapping the reference current I_ref to the pre-charge current I_pre, the voltage signal V3 can maintain a certain relationship with the voltage signal V4, and when reading the selected cell 210 storing the bit value 0, that is, the cell current I_cell is greater than the reference current I_ref, the pre-charge voltage signal V3 maintains a voltage difference △V lower than the voltage signal V4, and there is no risk of over-precharging the voltage signal V3 during the pre-charge period T1.

[0066] After the pre-charging period T1, the operation sequence of the current sensor circuit 100 enters the sensing period. Since the pre-charging circuit 120 has pre-charged the first data line DL1 of the selected cell 210, the differential sensing amplifier 110 can quickly sense the input voltages at its input terminals, i.e., the sensing voltage V1 and the reference voltage V2. Whether in the example of reading 0 or reading 1, the current sensor circuit 100 can quickly read the sensing voltage V1, thereby reducing its sensing time T2.

[0067] Figure 3 FIG. 2 is a schematic diagram showing a current sensor circuit according to another embodiment of the present invention. Figure 3 , the current source 122 of this embodiment is implemented, for example, in the form of a current mirror. Specifically, the current source 122 includes a first transistor Q1 as a current mirror circuit, and the second resistor R2 includes a second transistor Q2. The first transistor Q1 has a first end, a second end and a control end. The first end of the first transistor Q1 is coupled to the switch component 124, the second end of the first transistor Q1 is coupled to the node N1 (i.e., the first input end of the differential sensing amplifier 110) through the first current-voltage converter circuit 131, and the control end of the first transistor Q1 is coupled to one end of the second transistor Q2. The end of the second transistor Q2 outputs a control voltage V5 to the control end of the first transistor Q1 to control the current source 122 to output a pre-charge current I_pre.

[0068] In this embodiment, the ratio of the channel width W1 to the channel length L1 of the first transistor Q1 can be designed to be m times the ratio of the channel width W2 to the channel length L1 of the second transistor Q2, that is, mW1 / L1=W2 / L2, where W1 / L1=W2 / L2. Therefore, the pre-charge current I_pre generated by the current mirror 122 through the imaging method can be proportional to the reference current I_ref, that is, I_pre=m×I_ref.

[0069] Figure 4 FIG. 2 is a schematic diagram showing a current sensor circuit according to another embodiment of the present invention. Figure 4 , the current source 122 of this embodiment is also implemented in the form of a current mirror. Specifically, the current source 122 includes a first transistor Q1. The first transistor Q1 has a first end, a second end and a control end. The first end of the first transistor Q1 is coupled to the switch component 124, the second end of the first transistor Q1 is directly coupled to the node N1, and the control end of the first transistor Q1 is coupled to one end of the second transistor Q2. The end of the second transistor Q2 outputs a control voltage V5 to the control end of the first transistor Q1 to control the current source 122 to output a pre-charge current I_pre.

[0070] In summary, in an embodiment of the present invention, the precharge circuit performs a precharge operation on the first data line during the precharge period. The precharge circuit can precharge the sensing bias of the first data line to a predetermined voltage level. The precharge circuit uses a current mirror circuit to image the reference current as a precharge current so that the precharge current is proportional to the reference current. Since the precharge current is proportional to the reference current, the sensing bias can have a certain degree of correlation with the reference voltage. In this way, it can be avoided that the precharge bias of the first data line is affected by the process, voltage, temperature and precharge time length and deviates from the correlation with the reference voltage, thereby causing the differential sense amplifier to output an incorrect sensing result. In addition, under heavy load conditions, the precharge operation can reduce the setup time of the sensing bias of the first data line and prevent the node of the sensing bias from being over-precharged. Therefore, the precharge circuit can accelerate the sensing operation of the current sensor circuit, and the current sensor circuit can correctly read the stored data.

[0071] It will be apparent to those skilled in the art that various modifications and variations may be made to the disclosed embodiments without departing from the scope or spirit of the present disclosure. In view of the foregoing, it is intended that the present disclosure encompass modifications and variations provided that the modifications and variations fall within the scope of the appended claims and their equivalents.

Claims

1. A current sensor circuit, comprising: A differential sense amplifier having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal is coupled to a selected unit cell through a first data line, the second input terminal is coupled to a reference unit cell through a second data line, and the output terminal outputs sensed data of the selected unit cell; as well as a precharge circuit coupled to the differential sensing amplifier, and configured to provide a precharge current to perform a precharge operation on the first data line, The first data line has a cell current and the pre-charge current, the second data line has a reference current, and the pre-charge current is determined according to the reference current. 2 . The current sensor circuit according to claim 1 , wherein the differential sense amplifier outputs an output voltage as the sense data according to a comparison result between a sense voltage and a reference voltage.

3. The current sensor circuit according to claim 1, further comprising: A first current-to-voltage converter circuit is coupled between the first input terminal and the selected cell, and is used to convert the cell current and the pre-charge current into a sensing voltage; as well as The second current-to-voltage converter circuit is coupled between the second input terminal and the reference cell, and is used for converting the reference current into a reference voltage.

4. The current sensor circuit according to claim 3, wherein the pre-charge circuit comprises: A switch component having a first end, a second end and a control end, wherein the first end of the switch component is coupled to an operating voltage, and the control end of the switch component is coupled to a control signal; as well as A current source has a first end and a second end, wherein the first end of the current source is coupled to the second end of the switch component, and the second end of the current source is coupled to the differential sense amplifier.

5. The current sensor circuit of claim 4 , wherein the current source comprises a first transistor as a current mirror circuit, and the second current-to-voltage converter circuit comprises a second transistor, The first transistor has a first end, a second end and a control end, the first end of the first transistor is coupled to the switch component, the second end of the first transistor is coupled to the first input end of the differential sensing amplifier through the first current-voltage converter circuit, and the control end of the first transistor is coupled to the second transistor.

6. The current sensor circuit according to claim 5, wherein the ratio of the channel width to the channel length of the first transistor is m times the ratio of the channel width to the channel length of the second transistor, wherein m is greater than or equal to 1, and the m value is the ratio of the critical value set by the detection current to the reference current.

7. The current sensor circuit of claim 4, wherein the current source comprises a first transistor as a current mirror circuit, and the second current-to-voltage converter circuit comprises a second transistor, The first transistor has a first end, a second end and a control end, the first end of the first transistor is coupled to the switch component, the second end of the first transistor is directly coupled to the first input end of the differential sensing amplifier, and the control end of the first transistor is coupled to the second transistor.

8. The current sensor circuit according to claim 7, wherein the ratio of the channel width to the channel length of the first transistor is m times the ratio of the channel width to the channel length of the second transistor, wherein m is greater than or equal to 1, and the m value is the ratio of the critical value set by the detection current to the reference current. 9 . The current sensor circuit of claim 1 , wherein the precharge current is greater than or equal to a reference current.

10. The current sensor circuit of claim 1, wherein the precharge current is proportional to the reference current.