Constant Current Source Calibration Circuit, Constant Current Source Drive circuit, Drive chip, and Electronic Device
20230236616 · 2023-07-27
Assignee
Inventors
Cpc classification
Y02B20/30
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
Abstract
The present disclosure relates to a constant current source calibration circuit, a constant current source drive circuit, a drive chip, and an electronic device. The current calibration circuit includes a resistor and a calibration circuit connected to the resistor for adjusting a voltage drop across two ends of the resistor; and a selector or a switch connected to the two ends of the resistor, and configured to select one end of the resistor to be connected to a constant current source output channel and the corresponding other end to be supplied with a first bias voltage VD. Since the first bias voltage VD is a fixed constant, the voltage drop across the two ends of the resistor is adjusted.
Claims
1. A constant current source calibration circuit, comprising: a resistor; a calibration circuit, connected to the resistor and configured for adjusting a voltage drop across two ends of the resistor; and a selector or a switch, connected to the two ends of the resistor, and configured to select one end of the resistor to be connected to a constant current source output channel, and a corresponding other end to be supplied with a first bias voltage VD.
2. The constant current source calibration circuit according to claim 1, wherein the calibration circuit comprises: a current source; a bias circuit, connected to the current source and configured for generating a bias current; and a first calibration circuit and/or a second calibration circuit connected to the bias circuit, wherein the resistor is connected between the first calibration circuit and the second calibration circuit, or in a path of the first calibration circuit or the second calibration circuit, wherein currents of the first calibration circuit and the second calibration circuit are adjusted synchronously, so that current flowing through the resistor is also synchronously adjusted.
3. The constant current source calibration circuit according to claim 2, wherein the first calibration circuit comprises M groups of MOS tube assemblies, and each of the groups of MOS tube assemblies and the bias circuit form a first mirror output channel; the second calibration circuit comprises M groups of MOS tube assemblies, and each of the groups of MOS tube assemblies and the bias circuit form a second mirror output channel; and the resistor is connected between the M groups of first mirror output channels and the M groups of second mirror output channels, and each of the groups of first mirror output channels and each of the groups of second mirror output channels are both provided with a controlled switch, and magnitude of the current inputted to the resistor is adjusted through switching of the controlled switch.
4. The constant current source calibration circuit according to claim 3, wherein a mirror ratio of the M groups of MOS tube assemblies gradually increases exponentially with an exponent of 2, which is 2.sup.0, 2.sup.1 . . . 2.sup.M−2, 2.sup.M−1 in sequence.
5. A constant current source drive circuit, comprising: a reference current generating circuit, configured to generate a reference current; a bias generating circuit, configured to be inputted with the reference current, to generate a first bias voltage VD and a second bias voltage VGI required by one or more constant current source output channels; the one or more constant current source output channels, connected to the bias generating circuit, for outputting a constant current based on the first bias voltage VD and the second bias voltage VGI; and the current calibration circuit according to claim 1, wherein the current calibration circuit is configured to calibrate the first bias voltage VD, and then obtain a third bias voltage VDO and output the third bias voltage to the one or more constant current source output channel.
6. The constant current source drive circuit according to claim 5, wherein the constant current source output channel comprises: a first MOS tube, used as an output switch of the one or more constant current source output channel; X groups of second MOS tubes, wherein X is an integer greater than or equal to 1, wherein the second bias voltage VGI is applied to a gate terminal of the second MOS tube; and a first operational amplifier, wherein a non-inverting input terminal thereof is supplied with the first bias voltage VD generated by the bias generating circuit, an inverting input terminal thereof is connected to the current calibration circuit, and the current calibration circuit is connected to a drain terminal of the second MOS tube, wherein an output terminal of the first operational amplifier is connected to a gate terminal of the first MOS tube, and is configured to control turn-on and turn-off of the one or more constant current source output channel by controlling an output of the first operational amplifier.
7. The constant current source drive circuit according to claim 6, further comprising a current calibration control circuit configured to control the current calibration circuit to perform calibration, a trimming circuit, a third MOS tube, and a selector; wherein an output signal of the first operational amplifier is alternatively inputted through the selector to a gate terminal of the third MOS tube or the gate terminal of the first MOS tube; the trimming circuit is configured to output trimming current to a drain terminal of the third MOS tube, and a source terminal of the third MOS tube is connected to the current calibration circuit; an input terminal of the current calibration control circuit is connected to the drain terminal of the third MOS tube; wherein in an output state, the output signal of the first operational amplifier is inputted into the selector, which sends the output signal to the gate terminal of the first MOS tube; and in a calibration state, the output signal of the first operational amplifier is inputted into the selector, which sends the output signal to the gate terminal of the third MOS tube, and the current calibration control circuit controls the current calibration circuit to perform current adjustment based on a drain voltage of the third MOS tube.
8. The constant current source drive circuit according to claim 6, further comprising a current control circuit, wherein the current control circuit comprises X output terminals, and at least one input terminal, wherein the second bias voltage VGI is applied to the input terminal; when a control signal of a corresponding output terminal is valid, the corresponding output terminal thereof outputs the second bias voltage VGI to a gate terminal of a corresponding second MOS tube.
9. The constant current source drive circuit according to claim 5, wherein the calibration circuit comprises: a current source; a bias circuit, connected to the current source for generating a bias current; and a first calibration circuit and/or a second calibration circuit connected to the bias circuit, wherein the resistor is connected between the first calibration circuit and the second calibration circuit, or in a path of the first calibration circuit or the second calibration circuit, wherein currents of the first calibration circuit and the second calibration circuit are adjusted synchronously, so that current flowing through the resistor is also synchronously adjusted.
10. The constant current source drive circuit according to claim 9, wherein the first calibration circuit comprises M groups of MOS tube assemblies, and each of the groups of MOS tube assemblies and the bias circuit form a first mirror output channel; the second calibration circuit comprises M groups of MOS tube assemblies, and each of the groups of MOS tube assemblies and the bias circuit form a second mirror output channel; and the resistor is connected between the M groups of first mirror output channels and the M groups of second mirror output channels, and each of the groups of first mirror output channels and each of the groups of second mirror output channels are both provided with a controlled switch, and magnitude of the current inputted to the resistor is adjusted through switching of the controlled switch.
11. The constant current source drive circuit according to claim 10, wherein a mirror ratio of the M groups of MOS tube assemblies gradually increases exponentially with an exponent of 2, which is 2.sup.0, 2.sup.1 . . . 2.sup.M−2, 2.sup.M−1 in sequence.
12. A drive chip, comprising the constant current source drive circuit according to claim 5.
13. The drive chip according to claim 12, wherein the constant current source output channel comprises: a first MOS tube, used as an output switch of the one or more constant current source output channel; X groups of second MOS tubes, wherein X is an integer greater than or equal to 1, wherein the second bias voltage VGI is applied to a gate terminal of the second MOS tube; and a first operational amplifier, wherein a non-inverting input terminal thereof is supplied with the first bias voltage VD generated by the bias generating circuit, an inverting input terminal thereof is connected to the current calibration circuit, and the current calibration circuit is connected to a drain terminal of the second MOS tube, wherein an output terminal of the first operational amplifier is connected to a gate terminal of the first MOS tube, and is configured to control turn-on and turn-off of the one or more constant current source output channel by controlling an output of the first operational amplifier.
14. The drive chip according to claim 13, further comprising a current calibration control circuit configured to control the current calibration circuit to perform calibration, a trimming circuit, a third MOS tube, and a selector; wherein an output signal of the first operational amplifier is alternatively inputted through the selector to a gate terminal of the third MOS tube or the gate terminal of the first MOS tube; the trimming circuit is configured to output trimming current to a drain terminal of the third MOS tube, and a source terminal of the third MOS tube is connected to the current calibration circuit; an input terminal of the current calibration control circuit is connected to the drain terminal of the third MOS tube; wherein in an output state, the output signal of the first operational amplifier is inputted into the selector, which sends the output signal to the gate terminal of the first MOS tube; and in a calibration state, the output signal of the first operational amplifier is inputted into the selector, which sends the output signal to the gate terminal of the third MOS tube, and the current calibration control circuit controls the current calibration circuit to perform current adjustment based on a drain voltage of the third MOS tube.
15. The drive chip according to claim 13, further comprising a current control circuit, wherein the current control circuit comprises X output terminals, and at least one input terminal, wherein the second bias voltage VGI is applied to the input terminal; when a control signal of a corresponding output terminal is valid, the corresponding output terminal thereof outputs the second bias voltage VGI to a gate terminal of a corresponding second MOS tube.
16. The drive chip according to claim 12, wherein the calibration circuit comprises: a current source; a bias circuit, connected to the current source for generating a bias current; and a first calibration circuit and/or a second calibration circuit connected to the bias circuit, wherein the resistor is connected between the first calibration circuit and the second calibration circuit, or in a path of the first calibration circuit or the second calibration circuit, wherein currents of the first calibration circuit and the second calibration circuit are adjusted synchronously, so that current flowing through the resistor is also synchronously adjusted.
17. The drive chip according to claim 16, wherein the first calibration circuit comprises M groups of MOS tube assemblies, and each of the groups of MOS tube assemblies and the bias circuit form a first mirror output channel; the second calibration circuit comprises M groups of MOS tube assemblies, and each of the groups of MOS tube assemblies and the bias circuit form a second mirror output channel; and the resistor is connected between the M groups of first mirror output channels and the M groups of second mirror output channels, and each of the groups of first mirror output channels and each of the groups of second mirror output channels are both provided with a controlled switch, and magnitude of the current inputted to the resistor is adjusted through switching of the controlled switch.
18. The drive chip according to claim 17, wherein a mirror ratio of the M groups of MOS tube assemblies gradually increases exponentially with an exponent of 2, which is 2.sup.0, 2.sup.1 . . . 2.sup.M−2, 2.sup.M−1 in sequence.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
[0076]
[0077]
[0078]
[0079]
DETAILED DESCRIPTION OF EMBODIMENTS
[0080] The technical solutions of the present disclosure are further described in detail below with reference to specific embodiments, but the protection scope of the present disclosure is not limited to the following.
[0081] Referring to what is shown in
[0082] Optionally, this embodiment provides a specific calibration circuit, as shown in
[0083] Referring to
[0084] M is, the larger the adjustment range or the higher resolution is.
[0085] Optionally, in some embodiments, the mirror ratio of the M groups of MOS tube assemblies(of the first calibration circuit or the second calibration circuit) gradually increases exponentially with an exponent of 2, which is 2.sup.0, 2.sup.1 . . . 2.sup.M−2, 2.sup.M−1 in sequence, that is, the number of MOS tubes in the MOS tube assembly is 2.sup.0, 2.sup.1, . . . 2.sup.M−2, 2.sup.M−1 in sequence. During adjustment, the output currents of the M groups of first mirror output channels and the output currents of the M groups of second mirror output channels increase or decrease sequentially in proportion. That is to say, they must be sequentially adjusted according to 2.sup.0, 2.sup.1 . . . 2.sup.M−2, 2.sup.M−1 forward or reverse order to judge whether the output precision requirements are met, and skip adjustment is not allowed.
[0086] Different from
[0087] Referring to
[0088] M-way multiplexer, wherein the M-way multiplexer is used to control the number of calibration resistors connected in series in the current channel to achieve adjustment of the current flowing through the resistor. In order to further improve the resolution of the adjustment precision, for the connected M groups of calibration resistors, either the individual calibration resistors have the same resistance value, or the resistance values thereof increase exponentially or geometrically.
[0089] This embodiment also provides another calibration circuit, which includes a current source and a resistance adjusting circuit, wherein the resistance adjusting circuit is used to adjust the resistance value of the resistor R. Different from the embodiments shown in
[0090]
[0091] The above-mentioned scheme of the present disclosure is mainly based on the principle of resistance adjustment. The resistance of the resistor R itself can be adjusted, and the resistance of the effective resistor in the current channel can also be adjusted to realize different l*R adjustment principles.
[0092] A second aspect of this embodiment provides a constant current source drive circuit. Referring to what is shown in
[0093] Hereinafter, the reference current generating circuit, bias generating circuit, and constant current source output channel will be described in detail. It is worth noting that, unless otherwise special emphasized, the reference current generating circuit, bias generating circuit, and constant current source output channel in the present disclosure all do not refer to some specific circuit, but all circuits that can be implemented and known by those skilled in the art. Referring to
[0094] The reference current generating circuits in
[0095] The bias generating circuit generates the bias current and bias voltage based on the reference current I0 and the reference voltage VREF. As shown in
[0096] Referring to what is shown in
[0097] The constant current source output channel is mainly a mirror output channel composed of MOS tube(s) and operational amplifier(s). For specific composition thereof, reference is made to
[0098]
[0099] In the constant current source drive circuit shown in
[0100] In order to solve the above-mentioned problems, this embodiment also provides a solution for adjusting the reference current I0 without using the external resistor R_EXT. Referring to
[0101] Referring to
[0102] In order to realize precise adjustment or automatic adjustment of the current calibration circuit, this embodiment also provides an adjustment solution for the constant current source calibration circuit. Referring to the embodiments shown in
[0103] Based on the foregoing, it can be known that the current calibration circuit realizes adjustment of the voltage drop across two ends of the resistor R based on the calibration control signal. The calibration control signal may be controlled manually or automatically. In this embodiment, the implementation method of automatic adjustment is emphasized. Referring to the implementation methods of the current calibration circuit provided in
[0104] In
[0105] Based on the above-mentioned control scheme, this embodiment provides a specific current calibration control circuit. Referring to
[0106] In the calibration state, the input terminal of the current calibration control circuit is connected to the drain terminal of the third MOS tube. Referring to what is shown in
[0107] At this time, the drain terminal of the third MOS tube is connected to the trimming circuit. The trimming circuit generates a high-precision target current IREF, and the magnitude of the current of the constant current source output channel (i.e., the magnitude of the channel output current in the output state) is equal to the magnitude of the drain current of the third MOS tube, wherein the current of the constant current source output channel is represented by IOUT, and N+1 channels are represented by IOUT[0:N]. IREF is the reference current trimmed to a set current precision. Ideally, the magnitude of the channel output current (IOUT[0:N]) is the same as the set current value of the reference current IREF; Due to the current deviation caused by various non-ideal factors between chips and between channels, the output current (IOUT[0:N]) of each channel has a current deviation from IREF, so it is necessary to perform current calibration channel by channel; when a certain channel is calibrated, the output of AMP _C is disconnected from NM_C1 and connected to the gate terminal of NM_C at the same time. At this time, IREF is connected to the current calibration control circuit. If IOUT>IREF, the drain voltage V_FLAG of NM_C is very low, which will be recognized as 0 by the calibration control circuit, and then IOUT is reduced by adjusting S<M:0>; if IOUT<IREF, the drain voltage V_FLAG of NM_C is very high, which will be recognized as 1 by the current calibration control circuit, and then IOUT is increased by adjusting S<M:0>until IOUT is adjusted within the precision range close to IREF, the system stops adjusting S<M:0>, and latches the calibration value. After the channel calibration is completed, the output of AMP_C is disconnected from NM_C and reconnected to the gate terminal of NM_C1. At this time, the channel can display normally.
[0108] It is worth noting that the above-mentioned embodiments are all demonstrated and described based on the common anode drive chip as an example. For the common cathode chip, the solution provided in the present disclosure is also applicable. The only difference is that the types of MOS tubes are different, wherein the output channel in the common anode chip uses NMOS as output, common cathode uses PMOS tube as output, and other MOS tube types can be reversed accordingly.
[0109] Specifically, as shown in
[0110] Compensation register S<4:0>, which contains 1-bit offset compensation polarity register S<4>, and 4-bit offset compensation register S<3:0>; if the offset compensation polarity register S<4>=1, the output VDO>VD; if the offset compensation polarity register S<4>=0, the output VDO<VD. The 4-bit offset compensation register S<3:0>controls the magnitude of the current in the calibration circuit. Different magnitudes of currents flow through the resistor to generate different magnitudes of voltage drops, thereby adjusting the difference between the third bias voltage VDO and the first bias voltage VD. The EN signal is initially a low level. The D flip-flop is reset and the control circuit does not work. When the EN signal changes to a high level, the current calibration begins.
[0111] If the initial IOUT<IREF, V_FLAG=1, the rising edge of CLKSi<5>collects V_FLAG and stores the same in VS<4>, the offset compensation polarity register
[0112] S<4>=1, then the output VDO>VD, VDO increases, then IOUT increases, thereby reducing the deviation from IREF; in the next clock cycle, if IOUT>IREF, V_FLAG=0, the rising edge of CLKSi<4>collects V_FLAG and stores the same in VS<3>, S<3>=0; if IOUT<IREF, V_FLAG=1, the rising edge of CLKSi<4>collects V_FLAG and stores the same in VS<3>, S<3>=1, S<3:0>increases, thereby causing the current in the current calibration circuit to increase, the voltage difference between VDO and VD increases, VDO increases, resulting in an increase in IOUT, which reduces the deviation from IREF. They are continued in sequence until the comparison of each bit of S<3:0>is completed.
[0113] If the initial IOUT>IREF, V_FLAG=0, the rising edge of CLKSi<5>collects
[0114] V_FLAG and stores the same in VS<4>, the offset compensation polarity register S<4>=0, then the output VDO<VD; in a next clock cycle, if IOUT>IREF, V_FLAG=0, the rising edge of CLKSi<4>collects V_FLAG and stores the same in VS<3>, the VS<3>goes through an inverter and S<3>=1, S<3:0>increases, causing the current in the current calibration circuit to increase, the voltage difference between VDO and
[0115] VD increases, and VDO decreases, resulting in a decrease in IOUT, which reduces a deviation from IREF; if IOUT<IREF, V_FLAG=1, the rising edge of CLKSi<4>collects V_FLAG, and stores the same in VS<3>, the VS<3>goes through an inverter and S<3>=0, and they are continued in sequence until the comparison of each bit of S<3:0>is completed.
[0116] Before the next round of current calibration starts, the EN signal is set to be a low level, the D flip-flop is reset, and the LOCK signal changes to be a low level to release the lock state. Next, the EN signal is set to be a high level again, and the next round of current calibration starts.
[0117] A third aspect of this embodiment provides a drive chip, including the constant current source drive circuit according to the second aspect of the present disclosure, which is used in a constant current drive chip for an LED display screen.
[0118] A fourth aspect of this embodiment provides an electronic device, including the drive chip according to the third aspect of the present disclosure, which may specifically be a display screen device, an LED billboard, and the like.
[0119] The above are only preferred embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the forms disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the conceived scope herein, through the above teachings or technology or knowledge in the relevant field. However, modifications and changes made by those skilled in the art do not depart from the spirit and scope of the present disclosure, and should all fall within the protection scope of the appended claims of the present disclosure.