System-on-chip with current-monitor circuit and voltage regulator

TWI945336BActive Publication Date: 2026-11-11QORVO US INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
TW111147269
Authority / Receiving Office
TW · TW
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-02-15
Filing Date
2022-12-08
Publication Date
2026-11-11
Estimated Expiration
2042-12-07

Smart Images

  • Figure TWG2TB001920081_001
    Figure TWG2TB001920081_001
  • Figure TWG2TB001920081_002
    Figure TWG2TB001920081_002
  • Figure TWG2TB001920081_003
    Figure TWG2TB001920081_003
Patent Text Reader

Abstract

This invention describes a system-on-a-chip (SoC) including a built-in self-test (BIST) block, a low-dropout (LDO) regulator with a channel MOSFET, and a current monitoring circuit having a sense MOSFET, a tuning MOSFET, a sense resistor, and a tuning resistor. In this invention, both the channel MOSFET and the sense MOSFET receive an input voltage, and a gate of the channel MOSFET is coupled to a gate of the sense MOSFET. The sense MOSFET, the tuning MOSFET, and the sense resistor are connected in series between the input voltage and ground, and the tuning resistor is coupled between a gate of the tuning MOSFET and ground. The BIST block is configured to tune a current through the tuning resistor to adjust the voltage at the junction of the sense MOSFET and the tuning MOSFET.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to an improved current monitoring circuit that enables high-accuracy load current measurement of a regulator in a built-in self-test (BIST) block of a single-chip system (SoC). [Previous Technology]

[0002] A key feature of a modern single-chip system (SoC) is a built-in self-test (BIST). This refers to adding production testing capabilities to the SoC itself, utilizing the existing computing power available on the chip. Modern BIST functionality includes multiplexing many different test nodes, sensing voltages, and driving currents, used to measure critical circuit operations, such as measuring power supply voltage. Calibration routines can then be implemented using an onboard microprocessor. Utilizing these internal functions saves production testing time and resources. With continuously upgraded process nodes, the available computing power of the SoC also increases, making BIST an even more valuable feature.

[0003] To achieve BIST, the measurement-related circuitry must possess stringent accuracy. For example, a current monitoring circuit is required for a low-dropout (LDO) regulator to evaluate the load current supplied by the LDO to the underlying circuitry to produce an accurately scaled replica of the load current. Typically, many LDO regulators are used throughout the SoC for block-to-block isolation. Due to this frequent instantiation, even a small increase in the area or quiescent current of the current monitoring circuitry will result in a significant increase in the overall chip size.

[0004] A conventional current monitoring circuit for this LDO regulator typically uses a simple current mirror structure. However, when the LDO regulator needs to operate at a small drain-source voltage (i.e., at a lower LDO input voltage), this simple current mirror structure cannot provide an accurate scaling result for the BIST, and also leads to inaccuracy in the saturation region. Furthermore, the simple current mirror structure also limits the maximum current range that can be measured in the BIST. Another conventional solution for implementing this current monitoring circuit is to use a current transmitter structure, which can reduce / eliminate inaccuracies in the saturation region. However, this current transmitter structure must be perfectly matched to maintain accuracy, resulting in the use of a larger device and more chip area. In addition, this current transmitter structure is also difficult to operate at the lower LDO input voltage, leading to even greater inaccuracy during scaling.

[0005] Accordingly, an improved current monitoring circuit design is still needed to achieve high-accuracy load current measurement of the LDO regulator in the BIST block of the SoC. Furthermore, it is also necessary to maintain the high density, cost-effectiveness, and ease of implementation of the final product. [Summary of the Invention]

[0006] This invention describes a system-on-a-chip (SoC) including a current monitoring circuitry that implements highly accurate load current measurement of a low-dropout (LDO) regulator within a built-in self-test (BIST) block. The disclosed SoC includes the BIST block, the LDO regulator having a channel MOSFET, and a current monitoring circuitry having a sense MOSFET, a tuning MOSFET, a sense resistor, and a tuning resistor. In this invention, both the channel MOSFET and the sense MOSFET receive an input voltage, and a gate of the channel MOSFET is coupled to a gate of the sense MOSFET. The sense MOSFET, the tuning MOSFET, and the sense resistor are connected in series between the input voltage and ground, and the tuning resistor is coupled between a gate of the tuning MOSFET and ground. The BIST block is configured to tune a current through the tuning resistor to adjust the voltage at the junction of the sense MOSFET and the tuning MOSFET.

[0007] In one embodiment of the SoC, a first terminal of the channel MOSFET receives the input voltage, a second terminal of the channel MOSFET has an output voltage of the LDO regulator, and the gate of the channel MOSFET is a third terminal of the channel MOSFET. A first terminal of the sensing MOSFET receives the input voltage, a second terminal of the sensing MOSFET is coupled to a first terminal of the tuning MOSFET, and the gate of the sensing MOSFET is a third terminal of the sensing MOSFET. A second terminal of the tuning MOSFET is coupled to ground via the sensing resistor, and the gate of the tuning MOSFET is a third terminal of the tuning MOSFET.

[0008] In one embodiment of the SoC, the LDO regulator further includes an error amplifier configured to receive the output voltage of the LDO regulator and a reference voltage, and configured to drive the gate of the channel MOSFET and the gate of the sensing MOSFET based on a comparison of the output voltage of the LDO regulator with the reference voltage.

[0009] In one embodiment of the SoC, the BIST block is configured to tune the current through the tuning resistor to adjust the voltage at the connection point of the sensing MOSFET and the tuning MOSFET to be close to the output voltage of the LDO regulator.

[0010] In one embodiment of the SoC, the BIST block is configured to sense the output voltage of the LDO regulator, to sense the voltage at the junction of the sensing MOSFET and the tuning MOSFET, to calculate a voltage difference between the output voltage of the LDO regulator and the voltage at the junction of the sensing MOSFET and the tuning MOSFET, and to tune the current through the tuning resistor based on the voltage difference between the output voltage of the LDO regulator and the voltage at the junction of the sensing MOSFET and the tuning MOSFET.

[0011] In one embodiment of the SoC, each of the channel MOSFET and the sensing MOSFET is a P-channel MOSFET (PMOS). The first terminal of the channel MOSFET is a source of the channel MOSFET, and the second terminal of the channel MOSFET is a drain of the channel MOSFET. The first terminal of the sensing MOSFET is a source of the sensing MOSFET, and the second terminal of the sensing MOSFET is a drain of the channel MOSFET.

[0012] In one embodiment of the SoC, the tuning MOSFET is a PMOS. The first terminal of the tuning MOSFET is a source of the tuning MOSFET, and the second terminal of the tuning MOSFET is a drain of the tuning MOSFET. The voltage at the connection point between the sensing MOSFET and the tuning MOSFET is VGS + (I tuning * R tuning), where: VGS is a gate-source voltage of the tuning MOSFET; I tuning is the current through the tuning resistor, and R tuning is a resistance of the tuning resistor.

[0013] In one embodiment of the SoC, the LDO regulator is configured to provide a load current from the second terminal of the channel MOSFET to ground. The width-to-length (W / L) ratio of the channel MOSFET is N times the W / L ratio of one of the sensing MOSFETs, where N is a positive number. The maximum value of the sensing resistor is N times (Voutput - VDS_SAT) / Iload_maximum value, where: Voutput is the output voltage of the LDO regulator, VDS_SAT is a saturation value of the drain-source voltage of one of the tuning MOSFETs, and Iload_maximum value is a maximum value of the load current provided by the LDO regulator.

[0014] In one embodiment of the SoC, the tuning MOSFET is an N-channel MOSFET (NMOS). The first terminal of the tuning MOSFET is a drain of the tuning MOSFET, and the second terminal of the tuning MOSFET is a source of the tuning MOSFET. The voltage at the connection point between the sensing MOSFET and the tuning MOSFET is VGD+(I tuning * R tuning), where: VGD is a gate-drain voltage of the tuning MOSFET, I tuning is the current through the tuning resistor, and R tuning is a resistance of the tuning resistor.

[0015] In one embodiment of the SoC, each of the channel MOSFET and the sensing MOSFET is an NMOS. The first terminal of the channel MOSFET is a drain of the channel MOSFET, and the second terminal of the channel MOSFET is a source of the channel MOSFET. The first terminal of the sensing MOSFET is a drain of the sensing MOSFET, and the second terminal of the sensing MOSFET is a source of the channel MOSFET.

[0016] In one embodiment of the SoC, the tuning MOSFET is a PMOS. The first terminal of the tuning MOSFET is a source of the tuning MOSFET, and the second terminal of the tuning MOSFET is a drain of the tuning MOSFET. The voltage at the connection point between the sensing MOSFET and the tuning MOSFET is VGS + (I tuning * R tuning), where: VGS is a gate-source voltage of the tuning MOSFET, I tuning is the current through the tuning resistor, and R tuning is a resistance of the tuning resistor.

[0017] In one embodiment of the SoC, the tuning MOSFET is an NMOS. The first terminal of the tuning MOSFET is a drain of the tuning MOSFET, and the second terminal of the tuning MOSFET is a source of the tuning MOSFET. The voltage at the connection point between the sensing MOSFET and the tuning MOSFET is VGD+(I tuning * R tuning), where: VGD is a gate-drain voltage of the tuning MOSFET, I tuning is the current through the tuning resistor, and R tuning is a resistance of the tuning resistor.

[0018] In one embodiment of the SoC, the W / L ratio of the channel MOSFET is N times the W / L ratio of the sensing MOSFET, where N is a positive number.

[0019] In one embodiment of the SoC, the channel MOSFET and the sensing MOSFET have the same polarity channel. The tuning MOSFET is a PMOS or an NMOS.

[0020] In another configuration, any of the aforementioned configurations, individually or collectively, and / or various separate configurations and features as described herein may be combined to obtain additional advantages. Unless otherwise indicated herein, any of the various features and elements disclosed herein may be combined with one or more other disclosed features and elements.

[0021] Those skilled in the art should understand the scope of the present invention and its additional features after reading the following detailed description of preferred embodiments in relation to the accompanying drawings.

Implementation Method

[0023] Related Applications

[0024] This application claims the benefit of Provisional Patent Application No. 63 / 289,321, filed on December 14, 2021, which is incorporated herein by reference in its entirety.

[0025] The specific embodiments described below provide the necessary information for those skilled in the art to implement the embodiments and illustrate the best mode of implementing the embodiments. In view of the accompanying drawings, those skilled in the art will understand the concepts of this disclosure and recognize the application of such concepts upon reading the following description, even if not specifically mentioned herein. It should be understood that these concepts and applications fall within the scope of this disclosure and its appended claims.

[0026] It should be understood that although the terms first, second, etc. may be used herein to describe various elements, such elements should not be limited by such terms. These terms are used only to distinguish one element from another. For example, a first element may be referred to as a second element, and likewise, a second element may be referred to as a first element, without departing from the scope of this disclosure. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0027] It should be understood that when an element such as a layer, region, or substrate is referred to as being "on" or extending "on" another element, the element may be directly located on or directly extended to the other element, or an intervening element may be present. Conversely, when an element is referred to as being "directly on" or "directly extending" to "on" another element, no intervening element is present. Similarly, when an element such as a layer, region, or substrate is referred to as being "above" or extending "above" another element, the element may be directly above or directly extended above the other element, or an intervening element may be present. Conversely, when an element is referred to as being "directly" above or "directly" extending "above" another element, no intervening element is present. It should also be understood that when an element is referred to as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or an intervening element may be present. Conversely, when an element is referred to as being "directly connected" or "directly coupled" to another element, no intervening element is present.

[0028] Relative terms such as “below” or “above” or “over” or “below” or “horizontal” or “vertical” may be used herein to describe the relationship of one element, layer or region to another element, layer or region shown in the figures. It should be understood that these terms and the foregoing terms are intended to cover different orientations of the device other than those shown in the figures.

[0029] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used herein, unless the context clearly indicates otherwise, the singular forms "a" and "the" are intended to include the plural forms as well. It should be further understood that, when used herein, the terms "comprising" and / or "including" specify the presence of the stated feature, integer, step, operation, element, and / or component, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, and / or groups thereof.

[0030] Unless otherwise defined, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should be further understood that the terms used herein shall be interpreted as having the meaning consistent with the context of this specification and related art, and shall not be interpreted in an ideal or overly formal sense unless expressly defined herein.

[0031] Embodiments are described herein with reference to schematic diagrams of embodiments of the invention. As such, the actual dimensions of the layers and elements may vary, and variations from the illustrated shapes due to, for example, manufacturing techniques and / or tolerances are to be expected. For example, areas depicted or described as squares or rectangles may have circular or curved features, and areas shown as straight lines may have some irregularities. Therefore, the areas depicted in the figures are schematic, and their shapes are not intended to represent the precise shapes of areas of the device, nor are they intended to limit the scope of this disclosure. Furthermore, for illustrative purposes, the dimensions of structures or areas may be enlarged relative to other structures or areas; therefore, the dimensions of these structures or areas are provided to illustrate the general structure of the subject matter and may or may not be drawn to scale. Common elements between figures may be shown herein with common element symbols and will not be restated thereafter.

[0032] This invention relates to a current monitoring circuit that enables highly accurate load current measurement of a low-dropout (LDO) regulator within a built-in self-test (BIST) block of a system-on-a-chip (SoC). Figures 1A and 1B together illustrate an exemplary SoC 10 having an exemplary current monitoring circuit 12 according to some embodiments of the invention. For the purposes of this simplified illustration, the SoC 10 includes the current monitoring circuit 12, an LDO regulator 14 coupled to the current monitoring circuit 12 (Figure 1A), and a BIST block 16 (Figure 1B) configured to evaluate / measure a load current of the LDO regulator 14. In practical applications, the SoC 10 may include multiple LDO regulators, multiple current monitoring circuits, and other electronic functional blocks (not shown herein), and may refer to the entire microchip. Herein, the LDO regulator 14 is configured to provide a load current Iload to a lower circuit block (not shown) based on an input voltage Vinput and a reference voltage Vreference. Typically, the load current Iload is relatively large, making it unsuitable for direct measurement in BIST block 16 (e.g., power waste). The current monitoring circuit 12 is coupled to the LDO regulator 14 and configured to provide a sense voltage Vsensor, which is proportional to the load current Iload. BIST block 16 is configured to measure this sense voltage Vsensor and evaluate the load current Iload of the LDO regulator 14 based on this sense voltage Vsensor. Therefore, the scaling accuracy between the load current Iload of the LDO regulator 14 and the sense voltage Vsensor of the current monitoring circuit 12 determines the validity / accuracy of the measurement / evaluation in BIST block 16.

[0033] Specifically, the LDO regulator 14 includes a channel device 18 and an error amplifier (EA) 20. In one embodiment, the channel device 18 may be implemented by a P-channel metal-oxide-semiconductor (PMOS) field-effect transistor (FET) PMP, wherein one source of the PMP 18 is coupled to the input voltage Vinput, and a voltage at one drain of the PMP 18 is an output voltage Voutput of the LDO regulator 14. The EA 20 may be implemented by an operational amplifier and functions as a feedback loop in the LDO regulator 14. The EA 20 is configured to receive the output voltage Voutput and the reference voltage Vreference and drive a gate of the PMP 18. When the input voltage Vinput is sufficiently large, the PMP 18 can remain saturated, and this saturation ensures that the output voltage Voutput remains stable. It should be noted that the LDO regulator 14 may further include additional electronic components (e.g., one or more resistors, one or more capacitors and / or those not shown for simplicity) between the drain and ground of the PMP 18 to provide the load current I load.

[0034] The current monitoring circuit 12 includes a sensing device 22, a tuning device 24, a sensing resistor Rsensing 26, and a tuning resistor Rtuning 28. In one embodiment, the sensing device 22 may be implemented by a PMOS FET PM sensing, and the tuning device 24 may be implemented by a PMOS FET PM tuning. Herein, a source of the PM sensing 22 is coupled to the input voltage Vinput, a drain of the PM sensing 22 having a drain voltage Vdrain is coupled to a source of the PM tuning 24, and a gate of the PM sensing 22 is driven by EA 20 of the LDO regulator 14. A drain of the PM tuning 24 having a sensing voltage Vsensing is coupled to ground via the sensing resistor Rsensing 26, and a gate of the PM tuning 24 having a tuning voltage Vtuning is coupled to ground via the tuning resistor Rtuning 28. The PM tuned 24 series is connected to a source follower configuration.

[0035] Typically, the width-to-length (W / L) ratio of the PMP18 is N times the W / L ratio of the PM sensor 22, where N is a positive number. If the drain voltage Vdrain at the drain of the PM sensor 22 is tunable to be equal to the output voltage Voutput at the drain of the PMP18, then the load current Iload of the LDO regulator 14 will be N times the sense current I sensed by the sense resistor R sense 26 in the current monitoring circuit 12.

[0036] In this document, the drain voltage Vdrain at the drain of the PM sensor 22 is the sum of the tuning voltage Vtuning at the gate of the PM tuner 24 and the gate-source voltage VGS of the PM tuner 24, and the tuning voltage Vtuning at the gate of the PM tuner 24 is equal to a tuning current Ituning multiplied by a resistor Rtuning 28. Vdrain = VGS + Vtuning Vtuning = Ituning * Rtuning As such, adjusting the tuning current Ituning through the tuning resistor Rtuning 28 can change the value of the drain voltage Vdrain at the drain of the PM sensor 22 so that the drain voltage Vdrain at the drain of the PM sensor 22 matches the output voltage Voutput at the drain of the PMP 18.

[0037] The BIST block 16 is configured to sense the output voltage Voutput (at the drain of the PMP18) and the drain voltage Vdrain (at the drain of the PM sensor 22). Next, the BIST block 16 is configured to calculate a voltage difference between the output voltage Voutput (at the drain of the PMP18) and the drain voltage Vdrain (at the drain of the PM sensor 22). Then, based on the voltage difference between the output voltage Voutput and the drain voltage Vdrain, the BIST block 16 is configured to (through the tuning resistor Rtuning 28) provide / adjust the tuning current Ituning to tune the drain voltage Vdrain (at the drain of the PM sensor 22) to be close to the output voltage Voutput at the drain of the PMP18. This tuning current I is achieved using the BIST current-driven function. Therefore, BIST block 16 is not considered in a regional load because no new functionality is required in BIST block 16.

[0038] The BIST block 16 can repeat the above steps until they are equal. Once the drain voltage Vdrain (at the drain of PM sensor 22) is equal to the output voltage Voutput (at the drain of PMP 18) by BIST tuning, the sensing current Isensor (which can be calculated from Vsensor / Rsensor) through the sensing resistor Rsensor 26 should be 1 / N of the load current Iload of the LDO regulator 14. Accordingly, BIST 16 can evaluate the load current Iload of the LDO regulator 14 by measuring the sensing voltage Vsensor at the drain of PM tuning 24. Iload = N * (Vsensor / Rsensor)

[0039] It should be noted that the target value of the drain voltage Vdrain (at the drain of the PM sensor 22) should be equal to the output voltage Voutput (at the drain of the PMp18), which can eliminate inaccuracies related to the MOSFET operating region (e.g., the non-saturation region). Thus, even when the LDO regulator 14 is required to operate at a small drain-source voltage (i.e., a low LDO input voltage Vinput), the current monitoring circuit 12 can still provide an accurate scaling result (i.e., Vsensing) to the BIST 16. Therefore, the load current evaluated by the BIST 16 should accurately match the actual load current Iload.

[0040] Compared to a conventional SoC with a simple current mirror structure or a current transmitter structure, the SoC 10 with the improved current monitoring circuit 12 has other advantages. Since the current monitoring circuit 12 has only one mirror stage, there are no significant systematic errors caused by multiple mirror stages. The SoC 10 results in a minimal die area when the PM tuner 24 and the tuning resistor R tuner 28 do not have matching requirements. Therefore, the PM tuner 24 and the tuning resistor R tuner 28 can be small. The quiescent current and leakage current of the current monitoring circuit 12 do not increase when no additional mirror stage is added to the output or input voltage V of the LDO regulator 14. In the SoC 10, some inaccuracies may be introduced due to the quantization error of the BIST block 16. However, due to the high accuracy requirements of the BIST block 16, this quantization error is very low.

[0041] Furthermore, the connection configuration of the current monitoring circuit 12 is more suitable for maximizing the current measurement range than the current transmitter structure. Clearly, the sensed voltage V_sensing (at the drain of the PM tuner 24) is equal to the difference between the drain voltage V_drain (at the drain of the PM senser 22) and the drain-source voltage V_DS2 of the PM tuner 24. When the drain voltage V_drain (by BIST tuning) at the drain of the PM senser 22 is equal to the output voltage V_output at the drain of the PMP 18, the sensed voltage V_sensing at the drain of the PM tuner 24 is equal to the difference between the output voltage V_output (at the drain of the PMP 18) and the drain-source voltage DS2 of the PM tuner 24. If Vdrain = Voutput, Vsensing = Voutput - VDS2, when the PM tuner 24 operates under saturation conditions, the sensing voltage Vsensing can reach a maximum value equal to the difference between the output voltage Voutput (at the drain of the PMP18) and a saturated drain-source voltage VDS2_SAT of the PM tuner 24 (for a given V input). Vsensing_maximum = Voutput - VDS2_SAT. To evaluate a maximum value of the load current Iload of the LDO regulator 14 (i.e., a maximum value of the sensing current Isensing achieved through the sensing resistor Rsensing 26), a maximum value of the sensing resistor Rsensing 26 can be: Rsensing_maximum = Vsensing_maximum / Isensing_maximum. Rsensing_maximum = (Voutput - VDS2_SAT) / Isensing_maximum. Rsensing_maximum = N * (Voutput - VDS2_SAT) / Iload_maximum. If a current transmitter structure is used in the current monitoring circuit 12, two or more VDS2_SAT will be subtracted in the mirror stage. If the sensing resistor R senses the same value, the maximum estimable value of the load current I of the LDO regulator 14 will be reduced.

[0042] The BIST block 16 is also configured to receive the input voltage Vin and be coupled to ground. The input voltage Vin is equal to the sum of the drain-source voltage VDS1 of the PM sensor 22, the drain-source voltage VDS2 of the PM tuner 24, and the sensing voltage Vsensed at the drain of the PM tuner 24. Vin = VDS1 + VDS2 + Vsensed Therefore, the guaranteed maximum value of the sensing voltage Vsensed is Vsensed_maximum = Vin - VDS1_SAT - VDS2_SAT where VDS1_SAT is a saturated drain-source voltage of the PM sensor 22.

[0043] In one embodiment, when the channel device 18 of the LDO regulator 14 is implemented by the PMOS FET PMP, the tuning device 24 of the current monitoring circuit 12 can be implemented by replacing the PM tuning with an N-channel metal-oxide-semiconductor (NMMOS) FET NM tuning, while the sensing device 22 of the current monitoring circuit 12 is retained to be implemented by the PMOS FET PM sensing, as shown in Figures 2A and 2B.

[0044] In this embodiment, the drain voltage Vdrain at the drain of the PM sensor 22 is the sum of the tuning voltage Vtuning at the gate of the NM tuner 24 and the gate-drain voltage VGD of the NM tuner 24, and the tuning voltage Vtuning at the gate of the NM tuner 24 is equal to the tuning current Ituning multiplied by the resistance of the tuning resistor Rtuning 28. Vdrain = VGD + Vtuning Vtuning = Ituning * Rtuning In this document, by adjusting the tuning current Ituning through the tuning resistor Rtuning 28, the value of the drain voltage Vdrain at the drain of the PM sensor 22 can still be controlled to be close to the output voltage output at the drain of the PMP 18 (albeit in a non-linear manner). The measurement process of the BIST block 16 is still as follows: 1) sense the output voltage Voutput (at the drain of the PMP18) and the drain voltage Vdrain (at the drain of the PM sense 22); 2) calculate the voltage difference between the output voltage Voutput and the drain voltage Vdrain; 3) adjust the tuning current Ituning according to the voltage difference between the output voltage Voutput and the drain voltage Vdrain to tune the drain voltage Vdrain to be close to the output voltage Voutput; 4) repeat steps 1)-3) until they are equal; 5) measure the sense voltage Vsensing at one of the sources of the NM tuner 24; and 6) calculate / evaluate the load current Iload of the LDO regulator 14 by Iload = N* (Vsensing / Rsensing).

[0045] Furthermore, when the tuning device 24 is implemented and the operation of the NM tuning 24 is realized by NM tuning, the sensed voltage V_sensing at the source of the NM tuning 24 must be less than the tuning voltage V_tuning at the gate of the NM tuning 24. V_sensing = V_tuning – V_GS V_sensing = V_drain – V_GD – V_GS In this document, V_GS is a gate-source voltage of the NM tuning 24. When the drain voltage V_drain_system at the drain of the PM sensor 22 (by BIST tuning) is equal to the output voltage V_output at the drain of the PMP 18, the sensing voltage V_sensing at the source of the NM tuner 24 is: V_sensing = V_output – V_GD – V_GS. For the NM tuner 24, the sensing voltage V_sensing system is limited to the V_GS that supports the NM tuner 24, and for the PM tuner 24, the sensing voltage V_sensing system is limited to the V_DS that supports the PM tuner 24.

[0046] In one embodiment, the channel device 18 of the LDO regulator 14 may be implemented by replacing the PMP with an NMOS FET NMP, and in order to achieve accurate scaling, the sensing device 22 of the current monitoring circuit 12 may be implemented by using an NMOS FET NM sensor instead of the PM sensor, as shown in Figures 3A & 3B and 4A & 4B. In this document, the tuning device 24 may be implemented by either PM tuning (shown in Figure 3A) or NM tuning (shown in Figure 4A).

[0047] In Figure 3A, the EA 20 of the LDO regulator 14 drives both a gate of the NMP 18 and a gate of the NM sensor 22 of the LDO regulator 14. Both a drain of the NMP 18 and a drain of the NM sensor 22 are coupled to the input voltage V. The W / L ratio of the NMP 18 is N times the W / L ratio of the NM sensor 22, where N is a positive number. If the source voltage Vsource at one source of the NM sensor 22 is tunable to be equal to the output voltage Voutput at one source of the NMP 18, then the load current Iload of the LDO regulator 14 will be N times the sensed current Isensor sensed by the sense resistor Rsensor 26 in the current monitoring circuit 12. In this paper, the source voltage Vsource at the source of the NM sensor 22 is the sum of the tuning voltage Vtuning at the gate of the PM tuner 24 and the gate-source voltage VGS of the PM tuner 24, and the tuning voltage Vtuning at the gate of the PM tuner 24 is equal to the tuning current Ituning multiplied by the resistance of the tuning resistor Rtuning 28. Vsource = VGS + Vtuning Vtuning = Ituning * Rtuning. Thus, by adjusting the tuning current Ituning through the tuning resistor Rtuning 28, the value of the source voltage Vsource at the source of the NM sensor 22 can be controlled to be close to the output voltage Voutput at the source of the NMP18. The measurement process of the BIST block 16 (shown in Figure 3B) is as follows: 1) sensing the output voltage Voutput (at the source of the NMP18) and the source voltage Vsource (at the source of the NM sensing 22); 2) calculating the voltage difference between the output voltage Voutput and the source voltage Vsource; 3) adjusting the tuning current Ituning according to the voltage difference between the output voltage Voutput and the source voltage Vsource to tune the source voltage Vsource to be close to the output voltage Voutput; 4) repeating steps 1)-3) until they are equal; 5) measuring the sensing voltage Vsensing at the drain of the NM tuning 24; and 6) calculating / evaluating the load current Iload of the LDO regulator 14 by Iload = N*(Vsensing / Rsensing).

[0048] In Figure 4A, both the channel device 18 and the sensing device 22 are implemented using NMOS FETs (NMP and NM sensing), while the tuning device 24 is implemented using NM tuning. Similarly, the EA 20 of the LDO regulator 14 drives both the gate of the NMP 18 and the gate of the NM sensing 22 of the LDO regulator 14. The drains of the NMP 18 and the NM sensing 22 are both coupled to the input voltage V. The W / L ratio of the NMP 18 is N times that of the NM sensing 22. In this paper, the source voltage Vsource at the source of the NM sensor 22 is the sum of the tuning voltage Vtuning at the gate of the PM tuner 24 and the gate-drain voltage VGD of the NM tuner 24, and the tuning voltage Vtuning at the gate of the NM tuner 24 is equal to the tuning current Ituning multiplied by the resistance of the tuning resistor Rtuning 28. Vsource = VGD + Vtuning Vtuning = Ituning * Rtuning. Thus, by adjusting the tuning current Ituning through the tuning resistor Rtuning 28, the value of the source voltage Vsource at the source of the NM sensor 22 can be controlled to be close to the output voltage Voutput at the source of the NMP18 (albeit in a non-linear manner). The measurement process of the BIST block 16 (shown in Figure 4B) is as follows: 1) sensing the output voltage Voutput (at the source of the NMP18) and the source voltage Vsource (at the source of the NM sensing 22); 2) calculating the voltage difference between the output voltage Voutput and the source voltage Vsource; 3) adjusting the tuning current Ituning according to the voltage difference between the output voltage Voutput and the source voltage Vsource to tune the source voltage Vsource to be close to the output voltage Voutput; 4) repeating steps 1)-3) until they are equal; 5) measuring the sensing voltage Vsensing at the source of the NM tuning 24; and 6) calculating / evaluating the load current Iload of the LDO regulator 14 by Iload = N*(Vsensing / Rsensing).

[0049] It should be noted that the channel device 18 in the LDO regulator 14 and the sensing device 22 in the current monitoring circuit 12 are typically implemented using the same type of transistor (e.g., both PMOS FETs or both NMOS FETs). However, compared to the channel device 18 in the LDO regulator 14, the tuning device 24 in the current monitoring circuit 12 can be implemented using the same type or different types of transistors (e.g., both PMOS FETs, both NMOS FETs, one PMOS FET for the channel device 18 and one NMOS FET for the tuning device 24, or one NMOS FET for the channel device 18 and one PMOS FET for the tuning device 24). A voltage at one of the connection points of the sensing device 22 and the tuning device 24 (e.g., V drain in Figures 1A and 2A or V source in Figures 3A and 4A) is always tuned to be close to the output voltage V output of the LDO regulator 14.

[0050] Figures 5A and 5B compare the accurate performance of the SoC 10, including the modified current monitoring circuit 12 shown in Figures 1A and 1B, with that of a conventional SoC with a current transmitter circuit (not shown), under identical conditions. The performance data were obtained using the same LDO regulator 14 and the same normal operating conditions. Figure 5A shows a comparison of the actual applied load current and the adjusted mirror current (adjusted according to the N scaling value, i.e., the evaluated load current). It can be observed that in the conventional SoC, the adjusted mirror current deviates from the expected current, while in the proposed SoC 10, the adjusted mirror current conforms to the expected current. Figure 5B shows a comparison of the percentage error between the actual applied load current and the adjusted mirror current. It can be observed that the proposed SoC 10 performs with a smaller error level compared to the conventional SoC with the current transmitter circuit.

[0051] It is anticipated that any of the aforementioned states and / or individual states and features described herein may be combined to obtain additional advantages. Unless indicated to the contrary herein, any of the various embodiments disclosed herein may be combined with one or more other disclosed embodiments.

[0052] Those skilled in the art will understand improvements and modifications to the preferred embodiments of the present invention. All such improvements and modifications are within the scope of the concepts disclosed herein and the subsequent claims. [Simplified Explanation of the Diagram]

[0022] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate several aspects of the invention and, together with the description, serve to explain the principles of the invention. Figures 1A and 1B illustrate a system-on-a-chip (SoC) including a modified current monitoring circuit according to one of some embodiments of the invention, which implements a low-dropout (LDO) regulator with high accuracy load current measurement in a built-in self-test (BIST) block. Figures 2A to 4B illustrate the SoC including the modified current monitoring circuit implemented with different transistor types according to some embodiments of the invention. Figures 5A and 5B illustrate the accuracy performance of the SoC including the modified current monitoring circuit shown in Figures 1A and 1B. It should be understood that Figures 1 to 5B may be drawn out of scale for clarity.

Claims

1. A system-on-a-chip (SoC) comprising: • a low-dropout (LDO) regulator including a single-channel MOSFET; • a current monitoring circuit including a sensing MOSFET, a tuning MOSFET, a sensing resistor, and a tuning resistor, wherein: Each of the channel MOSFET and the sensing MOSFET receives the same input voltage; a gate of the channel MOSFET and a gate of the sensing MOSFET are coupled together; the sensing MOSFET, the tuning MOSFET, and the sensing resistor are connected in series between the input voltage and ground; and the tuning resistor is coupled between a gate of the tuning MOSFET and ground; and a built-in self-test (BIST) block is configured to tune a current through the tuning resistor to adjust a voltage at a junction of the sensing MOSFET and the tuning MOSFET.

2. The system-on-a-chip as described in claim 1, wherein: • A first terminal of the channel MOSFET receives the input voltage, a second terminal of the channel MOSFET has an output voltage of the LDO regulator, and the gate of the channel MOSFET is a third terminal of the channel MOSFET; • A first terminal of the sensing MOSFET receives the input voltage, a second terminal of the sensing MOSFET is coupled to a first terminal of the tuning MOSFET, and the gate of the sensing MOSFET is a third terminal of the sensing MOSFET; and • A second terminal of the tuning MOSFET is coupled to ground via the sensing resistor, and the gate of the tuning MOSFET is a third terminal of the tuning MOSFET.

3. The system-on-a-chip as claimed in claim 2, wherein the LDO regulator further includes an error amplifier configured to receive the output voltage of the LDO regulator and a reference voltage, and configured to drive the gate of the channel MOSFET and the gate of the sense MOSFET based on a comparison between the output voltage of the LDO regulator and the reference voltage.

4. The system-on-a-chip as claimed in claim 2, wherein the BIST block is configured to tune the current through the tuning resistor to adjust the voltage at the junction of the sensing MOSFET and the tuning MOSFET to be close to the output voltage of the LDO regulator.

5. The system-on-a-chip as described in claim 4, wherein: The BIST block system is configured to sense the output voltage of the LDO regulator; the BIST block system is configured to sense the voltage at the connection point of the sensing MOSFET and the tuning MOSFET; the BIST block system is configured to calculate a voltage difference between the output voltage of the LDO regulator and the voltage at the connection point of the sensing MOSFET and the tuning MOSFET. And the BIST block system is configured to tune the current through the tuning resistor based on the voltage difference between the output voltage of the LDO regulator and the voltage at the connection point of the sensing MOSFET and the tuning MOSFET.

6. The system-on-a-chip as claimed in claim 2, wherein each of the channel MOSFET and the sensing MOSFET is a P-channel MOSFET (PMOS).

7. The system-on-a-chip as described in claim 6, wherein: The first terminal of the channel MOSFET is a source of the channel MOSFET, and the second terminal of the channel MOSFET is a drain of the channel MOSFET; and the first terminal of the sensing MOSFET is a source of the sensing MOSFET, and the second terminal of the sensing MOSFET is a drain of the sensing MOSFET.

8. The system-on-a-chip as described in claim 6, wherein the tuned MOSFET is a PMOS.

9. The system-on-a-chip as described in claim 8, wherein: The first terminal of the tuning MOSFET is a source of the tuning MOSFET, and the second terminal of the tuning MOSFET is a drain of the tuning MOSFET; and the voltage at the connection point between the sensing MOSFET and the tuning MOSFET is VGS + (I tuning * R tuning), where: VGS is a gate-source voltage of the tuning MOSFET; I tuning is the current through the tuning resistor; and R tuning is the resistance of the tuning resistor.

10. The system-on-a-chip as described in claim 9, wherein: The LDO regulator is configured to provide a load current from the second terminal of the channel MOSFET to ground; the width-to-length (W / L) ratio of the channel MOSFET is N times the W / L ratio of the sensing MOSFET, where N is a positive number; and the maximum value of the sensing resistor is N times (V_output - VDS_SAT) / I_load_maximum, where: V_output is the output voltage of the LDO regulator; VDS_SAT is a saturation value of the drain-source voltage of the tuning MOSFET; and I_load_maximum is the maximum value of the load current provided by the LDO regulator.

11. The system-on-a-chip as described in claim 6, wherein the tuned MOSFET is an N-channel MOSFET (NMOS).

12. The system-on-a-chip as described in claim 11, wherein: The first terminal of the tuning MOSFET is a drain of the tuning MOSFET, and the second terminal of the tuning MOSFET is a source of the tuning MOSFET; and the voltage at the connection point between the sensing MOSFET and the tuning MOSFET is VGD + (I tuning * R tuning), wherein: VGD is a gate-drain voltage of the tuning MOSFET; I tuning is the current through the tuning resistor; and R tuning is the resistance of the tuning resistor.

13. The system-on-a-chip as claimed in claim 2, wherein each of the channel MOSFET and the sensing MOSFET is an N-channel MOSFET (NMOS).

14. The system-on-a-chip as described in claim 13, wherein: The first terminal of the channel MOSFET is a drain of the channel MOSFET, and the second terminal of the channel MOSFET is a source of the channel MOSFET; and the first terminal of the sensing MOSFET is a drain of the sensing MOSFET, and the second terminal of the sensing MOSFET is a source of the channel MOSFET.

15. The system-on-a-chip as described in claim 13, wherein the tuned MOSFET is a P-channel MOSFET (PMOS).

16. The system-on-a-chip as described in claim 15, wherein: The first terminal of the tuning MOSFET is a source of the tuning MOSFET, and the second terminal of the tuning MOSFET is a drain of the tuning MOSFET; and the voltage at the connection point between the sensing MOSFET and the tuning MOSFET is VGS + (I tuning * R tuning), where: VGS is a gate-source voltage of the tuning MOSFET; I tuning is the current through the tuning resistor; and R tuning is the resistance of the tuning resistor.

17. The system-on-a-chip as described in claim 13, wherein the tuned MOSFET is an NMOS.

18. The system-on-a-chip as described in claim 17, wherein: The first terminal of the tuning MOSFET is a drain of the tuning MOSFET, and the second terminal of the tuning MOSFET is a source of the tuning MOSFET; and the voltage at the connection point between the sensing MOSFET and the tuning MOSFET is VGD + (I tuning * R tuning), wherein: VGD is a gate-drain voltage of the tuning MOSFET; I tuning is the current through the tuning resistor; and R tuning is the resistance of the tuning resistor.

19. The system-on-a-chip as claimed in claim 1, wherein a width-to-length (W / L) ratio of the channel MOSFET is N times the W / L ratio of one of the sensing MOSFETs, wherein N is a positive number.

20. The system-on-a-chip as described in claim 1, wherein: The channel MOSFET and the sensing MOSFET have the same polarity channel; And the tuned MOSFET is either a P-channel MOSFET (PMOS) or an N-channel MOSFET (NMOS).

Citation Information

Patent Citations

  • Automatic testing device for three-phase aftercurrent action protector

    CN104391243A

  • Multi-phase voltage stabilizer for phase current testing in slope current mode

    CN111580589A

  • Differential amplifier and current sensing circuit including such an amplifier

    US4885477A

  • Current limiting circuit and voltage regulator using the same

    US7986499B2