The present invention claims priority under 35 U.S.C. § 119 to Japanese Patent Application No. 2023-052369, filed on Mar. 28, 2023, the entire contents of which are incorporated herein by reference.
The present disclosure relates to a constant current circuit.
Generally, a semiconductor integrated circuit is equipped with a reference current source for generating a constant reference current that does not depend on a power supply voltage or the like. This reference current is copied and distributed as a bias current to various circuit blocks within the semiconductor integrated circuit.
In general, a current mirror circuit is used to copy a reference current. A bias current generated by the current mirror circuit is preferred in many applications because it does not depend on the power supply voltage.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure.
Reference will now be made in detail to various embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be apparent to one of ordinary skill in the art that the present disclosure may be practiced without these specific details. In other instances, well-known methods, procedures, systems, and components have not been described in detail so as not to unnecessarily obscure aspects of the various embodiments.
Summary of some exemplary embodiments of the present disclosure will be described. This summary is intended to provide a simplified description of some concepts of one or more embodiments as a prelude to the detailed description presented later in order to provide a basic understanding of the embodiments, and is not intended to limit the scope of the present disclosure. This summary is not an exhaustive overview of all possible embodiments and is not intended to define key elements of all embodiments or to delineate the scope of any or all aspects. For the sake of convenience, the expression “one embodiment” may be used to refer to one embodiment (example or modification) or multiple embodiments (examples or modifications) disclosed in this specification.
A constant current circuit according to one embodiment includes: a first current mirror circuit connected to a first line serving as one of a power supply line and a ground line; a series connection circuit provided between a second line, which serves as the other of the power supply line and the ground line, and an input node of the first current mirror circuit, and including a resistor and a reference transistor, which is a MOSFET (Metal Oxide Semiconductor Field Effect Transistor) with a gate and a drain connected to each other; and a second current mirror circuit connected to the second line and configured to generate a first current I1 by folding back a reference current IREF. The constant current circuit is configured to be capable of outputting a current corresponding to a third current I3, which is a difference between a second current I2 outputted from the first current mirror circuit and the first current I1 outputted from the second current mirror circuit.
A current IR flowing through the resistor is IR=(VDD−Vgs1−Vgs2)/R. Vgs1 is a gate-source voltage of the reference transistor, and Vgs2 is a gate-source voltage of the MOSFET on an input side of the first current mirror circuit.
If a current amplification factor of the first current mirror circuit is assumed to be x, then the second current I2 is I2=x·IR. If a current amplification factor of the second current mirror circuit is assumed to be α, the first current I1 is I1=α·IREF. Therefore, the third current I3 is I3=I1−I2=α·IREF−x·IR=α·IREF−x·(VDD−Vgs1−Vgs2)/R. Accordingly, by adjusting α and x, it is possible to generate a constant current I3 having desired dependence and polarity with respect to the power supply voltage VDD.
In one embodiment, the second current mirror circuit may generate a fourth current I4 by folding back the reference current IREF. The constant current circuit may further include a third current mirror circuit configured to fold back the fourth current I4 to generate a fifth current I5. The constant current circuit may be configured to be capable of outputting a current corresponding to a sixth current I6 which is a difference between the third current I3 and the fifth current I5.
In one embodiment, the second current mirror circuit may generate a seventh current I7 by folding back the reference current IREF. The constant current circuit may further include a fourth current mirror circuit configured to fold back the sixth current I6 to generate an eighth current I8. The constant current circuit may be configured to be capable of outputting a current corresponding to a ninth current I9 which is a difference between the seventh current I7 and the eighth current I8.
In one embodiment, the constant current circuit may further include a fifth current mirror circuit configured to fold back the ninth current I9 to generate a tenth current I10. The constant current circuit may be configured to be capable of outputting a current corresponding to the tenth current I10.
In one embodiment, the constant current circuit may further include a sixth current mirror circuit configured to fold back the tenth current I10 to generate an eleventh current I11. The constant current circuit may be configured to be capable of outputting a current corresponding to the eleventh current I11.
A timer circuit according to one embodiment may include a capacitor, any one of the above-described constant current circuit configured to charge the capacitor, and an inverter configured to receive a voltage of the capacitor. A threshold value of the inverter is changed depending on a power supply voltage. By allowing an output current of the constant current circuit to have power supply voltage dependence so as to follow the change in the threshold value, it is possible to perform timer setting that does not depend on the power supply voltage.
A one-shot multivibrator circuit according to one embodiment may include the above-described timer circuit. This allows a same pulse width to be outputted regardless of the power supply voltage.
A semiconductor integrated circuit according to one embodiment may include a one-time memory circuit including a fuse, and a trimming circuit including the above-described one-shot multivibrator circuit configured to receive a pulse signal.
Hereinafter, preferred embodiments will be described with reference to the drawings. Identical or equivalent components, members, and processes shown in each drawing are designated by like reference numerals, and redundant explanations will be omitted as appropriate. Further, the embodiments are exemplary and do not limit the present disclosure. All features described in the embodiments and combinations thereof are not necessarily essential to the present disclosure.
In the present disclosure, “a state where a member A is connected to a member B” includes a case where the member A and the member B are physically and directly connected or even a case where the member A and the member B are indirectly connected through any other member that does not affect an electrical connection state between the members A and B or does not impair functions and effects achieved by combinations of the members A and B.
Similarly, “a state where a member C is connected (installed) between a member A and a member B” includes a case where the member A and the member C or the member B and the member C are indirectly connected through any other member that does not affect an electrical connection state between the members A and C or the members B and C or does not impair functions and effects achieved by combinations of the members A and C or the members B and C, in addition to a case where the member A and the member C or the member B and the member C are directly connected.
The first current mirror circuit CM1 is connected to a first line L1, which is one of a power supply line VDD and a ground line GND. The current mirror circuit CM1 includes NMOS transistors M2 and M3, and has a current amplification factor (current mirror ratio) x. The current mirror ratio may be larger than 1, may be smaller than 1, or may be 1.
A series connection circuit 110 including a reference resistor R1 and a reference transistor M1 is provided between a second line L2, which is the other of the power supply line VDD and the ground line GND, and an input node of the first current mirror circuit CM1. In this example, the first line L1 is the ground line GND, and the second line L2 is the power supply line VDD. The reference transistor M1 is a MOSFET (Metal Oxide Semiconductor Field Effect Transistor) whose gate and drain are connected, and functions as a voltage clamp element.
The second current mirror circuit CM2 is connected to the second line L2 and is configured to fold back a reference current IREF to generate a first current I1. The second current mirror circuit CM2 includes PMOS transistors M4 and M5, and has a current amplification factor α. The reference current IREF is generated by a reference current source (not shown) and is a constant current that does not depend on a power supply voltage.
The constant current circuit 100 is configured to be capable of outputting a current corresponding to a third current I3 which is a difference between a second current I2 outputted from the first current mirror circuit CM1 and the first current I1 outputted from the second current mirror circuit CM2. The term “output” may include a case where a direction of a current is a source (outgoing) and a case where the direction of the current is a sink (incoming). The current is expressed as positive in the direction of the source and the current is expressed as negative in the direction of the sink.
Bias voltages VN and VP generated by a cascode bias capacitor circuit (not shown) are applied to gates of transistors MN1 and MP1, respectively.
A current IR flowing through the resistor R1 is IR=(VDD−Vgs1−Vgs2)/R. Vgs1 is a gate-source voltage of the reference transistor M1, and Vgs2 is a gate-source voltage of the MOSFET on an input side of the first current mirror circuit CM1.
By using the current amplification factor x of the first current mirror circuit, the second current I2 is expressed as I2=x·IR. By using the current amplification factor α of the second current mirror circuit, the first current I1 is expressed as I1=α·IREF. Therefore, the third current I3 is expressed as I3=I1−I2=α·IREF−x·IR=α·IREF−x·(VDD−Vgs1−Vgs2)/R. Accordingly, by adjusting α and x, it is possible to generate a constant current I3 having desired dependence and polarity with respect to the power supply voltage VDD.
The third current mirror circuit CM3 includes NMOS transistors M8 and M9, and folds back the fourth current I4 to generate a fifth current I5. Using a current amplification factor m of the third current mirror circuit CM3, the fifth current I5 is expressed as I5=m·I4=m·B·IREF.
The constant current circuit 100A is configured to be capable of outputting a current corresponding to a sixth current I6 which is a difference between the third current I3 and the fifth current I5. The sixth current I6 is expressed as I6=I3−I5=α·IREF−x·IR−m·β·IREF.
The fourth current mirror circuit CM4 includes transistors M10 and M11, and folds back the sixth current I6 to generate an eighth current I8. Using a current amplification factor n of the fourth current mirror circuit CM4, the eighth current I8 is expressed as I8=n·I6.
The constant current circuit 100B is configured to be capable of outputting a current corresponding to a ninth current I9, which is a difference between the seventh current I7 and the eighth current I8. The ninth current I9 is expressed as I9=I7−I8=γ·IREF−n (α·IREF−x·IR−m·β·IREF).
The fifth current mirror circuit CM5 includes transistors M12 and M13, and folds back the ninth current I9 to generate a tenth current I10. Using a current amplification factor p of the fifth current mirror circuit CM5, the tenth current I10 is expressed as I10=p. I9.
The sixth current mirror circuit CM6 includes transistors M14 and M15, and folds back the tenth current I10 to generate an eleventh current I11. Using a current amplification factor r of the sixth current mirror circuit CM6, the eleventh current I11 is expressed as I11=r·I10=r·p·I9.
The constant current circuit 100C is configured to be capable of outputting the eleventh current I11. The eleventh current I11 is expressed as I11=r·p·{γ·IREF−n (α·IREF−x·IR−m·β·IREF)}.
Next, uses of the constant current circuits 100 to 100C (generally referred to as 100) will be described.
Before the timer operates, the switch SW1 is at zero, the voltage VC1 of the capacitor C1 is 0 V, and the output signal OUT is high. When the timer starts, the switch SW1 is turned off. The capacitor C1 is charged by the charging current generated by the constant current circuit 100. The voltage VC1 of the capacitor C1 after a time t from the start of the timer is VC1(t)=t×I/C1. When the voltage VC1 of the capacitor C1 reaches a threshold voltage VTH, the output signal OUT becomes low. The time T until the voltage VC1 of the capacitor C1 reaches the threshold voltage VTH is T=C1·VTH/I.
The threshold voltage VTH of the inverter 210 depends on a power supply voltage VDD. The charging current I generated by the constant current circuit 100 may also be caused to have dependence on the power supply voltage VDD. The measurement time T of the timer circuit 200 becomes constant without depending on the power supply voltage VDD when the following relational expression holds true: I(VDD)=C1·VTH(VDD)/T. In other words, the current amplification factor (current mirror ratio) and resistance value, which are parameters of the constant current circuit 100, are set so as to satisfy this relationship.
Assuming that VTH(VDD)=VDD/2, the parameters of the constant current circuit 100 may be set to satisfy the following formula: I(VDD)=C1·VDD/(2·T).
The one-shot multivibrator circuit 300 includes the timer circuit 200 of
A pulse signal inputted to an input terminal IN is inputted to a clock terminal (CLK) of the flip-flop 310. An output Q of the flip-flop 310 is inverted by the inverter 306 and inputted to a gate of an NMOS transistor which is the switch SW1.
An output of the timer circuit 200 is inputted to a reset terminal of the flip-flop 310 through a buffer including two stages of the inverters 302 and 304.
Next, uses of the one-shot multivibrator circuit 300 will be described.
The amplifier 410 amplifies differential input signals INP and INN. The amplifier 410 may be, for example, an operational amplifier. Alternatively, the amplifier 410 may be an amplifier circuit configured by combining an operational amplifier and a resistor, such as a subtractive amplifier circuit, a non-inverting amplifier circuit, or an inverting amplifier circuit.
The one-time memory circuit 430 is an OTP (One Time Programmable) memory. The one-time memory circuit 430 includes a plurality of fuses. Each fuse may be cut independently in a trimming process before the semiconductor integrated circuit 400 is delivered.
The current D/A converter 420 generates a current corresponding to a code stored in the one-time memory circuit 430 after fuse trimming, i.e., after programming, and supplies the current to a part of the amplifier 410. The destination to which the current is supplied is not particularly limited.
Trimming is performed using the differential input terminals INP and INN. A write pulse signal is inputted to one of the two terminals (e.g., the INP terminal). A write enable signal is inputted to the other of the two terminals (INN terminal). When the enable signal is at a first level (e.g., high level), a fuse cut mode is available, and when the enable signal is at a second level (e.g., low level), a virtual trimming mode is available.
In the trimming process, the trimming interface circuit 440 controls the trimming circuit 450 based on the states of the two input terminals INP and INN.
The trimming circuit 450 operates according to a control signal from the trimming interface circuit 440. In the fuse cut mode, the trimming circuit 450 cuts a fuse by actually supplying a current to the fuse of the one-time memory circuit 430.
The one-time memory circuit 430 enables virtual writing without actually cutting the fuse. In the virtual trimming mode, the trimming circuit 450 performs virtual writing according to the control signal from the trimming interface circuit 440. By using the virtual writing, the operation of the amplifier 410 may be checked before final writing (programming).
The trimming circuit 450 may be configured using the one-shot multivibrator circuit 300 described above. In the trimming process, the signal inputted to the INP terminal is a serial signal. The trimming circuit 450 converts this serial signal into a parallel signal using a shift register. As a result, values to be written to a plurality of fuses are held in the shift register. The output signal of the one-shot multivibrator circuit 300 may be used as a clock for this shift register.
The embodiments described above are merely examples, and those skilled in the art will understand that various modifications may be made to the combinations of the constituent elements and processing processes of the embodiments. Hereinafter, such modifications will be described.
Configurations in which the PMOS transistor and the NMOS transistor are replaced with each other and the power supply line and the ground line are reversed in
The configuration of the one-shot multivibrator circuit 300 is not limited to that described in the embodiments, and the timer circuit according to the embodiments may be applied to various types of one-shot multivibrator circuits.
The uses of the one-shot multivibrator circuit 300 are not particularly limited, and the one-shot multivibrator circuit 300 may be used for various purposes.
Further, the constant current circuit 100 may also be given negative power supply voltage characteristics by appropriately designing the parameters. Therefore, the use of the constant current circuit 100 is not limited to the timer circuit, and the constant current circuit 100 may be used in various application circuits.
The embodiments merely illustrate the principles and applications of the present disclosure, and the embodiments may include many modifications and changes in arrangement without departing from the spirit of the present disclosure defined in the claims.
The following techniques are disclosed in this specification.
A constant current circuit, including:
The constant current circuit of Item 1, wherein the second current mirror circuit is configured to generate a fourth current by folding back the reference current,
The constant current circuit of Item 2, wherein the second current mirror circuit is configured to generate a seventh current by folding back the reference current,
The constant current circuit of Item 3, further including:
The constant current circuit of Item 4, further including:
A timer circuit, including:
A one-shot multivibrator circuit, including:
A semiconductor integrated circuit, including:
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the disclosures. Indeed, the embodiments described herein may be embodied in a variety of other forms. Furthermore, various omissions, substitutions, and changes in the form of the embodiments described herein may be made without departing from the spirit of the disclosures. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the disclosures.
Number | Date | Country | Kind |
---|---|---|---|
2023-052369 | Mar 2023 | JP | national |