Amplifier circuit, chip and electronic device
11575357 · 2023-02-07
Assignee
Inventors
Cpc classification
H03F2203/45528
ELECTRICITY
H03F2200/261
ELECTRICITY
H03F2203/45566
ELECTRICITY
H03F2203/45116
ELECTRICITY
H03F2203/45548
ELECTRICITY
H03F2203/45521
ELECTRICITY
H03F2203/45594
ELECTRICITY
H03F2203/45138
ELECTRICITY
H03F2203/45512
ELECTRICITY
H03F2203/45536
ELECTRICITY
H03F2203/45601
ELECTRICITY
H03F2203/45114
ELECTRICITY
H03F3/45941
ELECTRICITY
H03F2203/45212
ELECTRICITY
H03F2203/45534
ELECTRICITY
International classification
Abstract
The present application discloses an amplifier circuit, a chip and an electronic device, which generates a positive output signal and a negative output signal according to a positive input signal and a negative input signal, wherein the positive input signal and the negative input signal have a corresponding input differential-mode voltage and input common-mode voltage, and the positive output signal and the negative output signal have a corresponding output differential-mode voltage and output common-mode voltage, and the amplifier circuit includes: an amplifying unit, configured to receive the positive input signal and the negative input signal and generate the positive output signal and the negative output signal; and an attenuation unit, including: a positive common-mode capacitor and a negative common-mode capacitor, configured to attenuate the input common-mode voltage below a first specific frequency.
Claims
1. An amplifier circuit, configured to generate a positive output signal and a negative output signal according to a positive input signal and a negative input signal, wherein the positive input signal and the negative input signal have a corresponding input differential-mode voltage and input common-mode voltage, and the positive output signal and the negative output signal have a corresponding output differential-mode voltage and output common-mode voltage, wherein the amplifier circuit is comprises: an amplifying unit, configured to receive the positive input signal and the negative input signal and generate the positive output signal and the negative output signal, wherein the amplifying unit has a specific gain, wherein the amplifying unit comprises: a first transconductance amplifier, having a positive terminal, a negative terminal and an output terminal; a first operational amplifier, having a positive terminal, a negative terminal and an output terminal, wherein the positive terminal of the first operational amplifier receives the positive input signal, the negative terminal of the first operational amplifier is coupled to the output terminal of the first transconductance amplifier, and the output terminal of the first operational amplifier outputs the positive output signal and is coupled to the positive terminal of the first transconductance amplifier; a second transconductance amplifier, having a positive terminal, a negative terminal and an output terminal; and a second operational amplifier, having a positive terminal, a negative terminal and an output terminal, wherein the positive terminal of the second operational amplifier receives the negative input signal, the negative terminal of the second operational amplifier is coupled to the output terminal of the second transconductance amplifier, and the output terminal of the second operational amplifier outputs the negative output signal and is coupled to the positive terminal of the second transconductance amplifier; and an attenuation unit, comprising: a positive common-mode capacitor and a negative common-mode capacitor, configured to attenuate the input common-mode voltage below a first specific frequency; and a differential-mode capacitor, configured to attenuate the input differential-mode voltage below a second specific frequency, wherein the first specific frequency is different from the second specific frequency.
2. The amplifier circuit of claim 1, wherein the amplifying unit further comprises: a first resistor, coupled between the negative terminal of the first operational amplifier and the attenuation unit; and a second resistor, coupled between the negative terminal of the second operational amplifier and the attenuation unit.
3. The amplifier circuit of claim 1, wherein the amplifying unit further comprises: a first switch, coupled between the positive terminal of the first transconductance amplifier and the output terminal of the first transconductance amplifier; and a second switch, coupled between the positive terminal of the second transconductance amplifier and the output terminal of the second transconductance amplifier, wherein when the positive output signal and the negative output signal are saturated, the first switch and the second switch are conducted.
4. The amplifier circuit of claim 1, wherein the attenuation unit further comprises: a third transconductance amplifier, having a positive terminal, a negative terminal and an output terminal, wherein the negative output signal is fed in through the positive terminal of the third transconductance amplifier, and the output terminal of the third transconductance amplifier is coupled to the positive common-mode capacitor and the differential-mode capacitor; and a fourth transconductance amplifier, having a positive terminal, a negative terminal and an output terminal, wherein the negative output signal is fed in through the positive terminal of the fourth transconductance amplifier, and the output terminal of the fourth transconductance amplifier is coupled to the negative common-mode capacitor and the differential-mode capacitor.
5. The amplifier circuit of claim 4, wherein the differential-mode capacitor is coupled between the output terminal of the third transconductance amplifier and the output terminal of the fourth transconductance amplifier.
6. The amplifier circuit of claim 5, wherein the positive common-mode capacitor and the negative common-mode capacitor have the same first capacitance, and the differential-mode capacitor has a second capacitance, wherein the second capacitance is greater than the first capacitance.
7. An amplifier circuit, configured to generate a positive output signal and a negative output signal according to a positive input signal and a negative input signal, wherein the positive input signal and the negative input signal have a corresponding input differential-mode voltage and input common-mode voltage, and the positive output signal and the negative output signal have a corresponding output differential-mode voltage and output common-mode voltage, wherein the amplifier circuit comprises: an amplifying unit, configured to receive the positive input signal and the negative input signal and generate the positive output signal and the negative output signal, wherein the amplifying unit has a specific gain; and an attenuation unit, comprising: a positive common-mode capacitor and a negative common-mode capacitor, configured to attenuate the input common-mode voltage below a first specific frequency; a differential-mode capacitor, configured to attenuate the input differential-mode voltage below a second specific frequency, wherein the first specific frequency is different from the second specific frequency; a third transconductance amplifier, having a positive terminal, a negative terminal and an output terminal, wherein the negative output signal is fed in through the positive terminal of the third transconductance amplifier, and the output terminal of the third transconductance amplifier is coupled to the positive common-mode capacitor and the differential-mode capacitor; a fourth transconductance amplifier, having a positive terminal, a negative terminal and an output terminal, wherein the negative output signal is fed in through the positive terminal of the fourth transconductance amplifier, and the output terminal of the fourth transconductance amplifier is coupled to the negative common-mode capacitor and the differential-mode capacitor; a third operational amplifier, having a positive terminal, a negative terminal and an output terminal, wherein the positive terminal of the third operational amplifier is coupled to the output terminal of the third transconductance amplifier, and the output terminal of the third operational amplifier is coupled to the amplifying unit; and a fourth operational amplifier, having a positive terminal, a negative terminal and an output terminal, wherein the positive terminal of the fourth operational amplifier is coupled to the output terminal of the fourth transconductance amplifier, and the output terminal of the fourth operational amplifier is coupled to the amplifying unit.
8. The amplifier circuit of claim 7, wherein the attenuation unit further comprises: a third resistor, coupled between the negative terminal of the third operational amplifier and the output terminal; and a fourth resistor, coupled between the negative terminal of the fourth operational amplifier and the output terminal.
9. The amplifier circuit of claim 8, wherein the attenuation unit further comprises: a fifth resistor, coupled between the negative terminal of the third operational amplifier and the negative terminal of the fourth operational amplifier.
10. The amplifier circuit of claim 7, further comprises: a common-mode signal feedback unit, coupled between the output terminal of the third operational amplifier and the output terminal of the fourth operational amplifier.
11. The amplifier circuit of claim 10, wherein the common-mode signal feedback unit comprises a low-pass filter or an integrator.
12. The amplifier circuit of claim 4, wherein the attenuation unit further comprises: a third switch, coupled between the positive terminal of the third transconductance amplifier and the output terminal of the third transconductance amplifier; and a fourth switch, coupled between the fourth transconductance amplifier the positive terminal of the positive and the output terminal of the fourth transconductance amplifier, wherein when the positive output signal and the negative output signal are saturated, the first switch and the second switch are conducted.
13. The amplifier circuit of claim 7, wherein the attenuation unit further comprises: a fifth switch, coupled between the output terminal of the third operational amplifier and the amplifying unit; and a sixth switch, coupled between the output terminal of the fourth operational amplifier and the amplifying unit, wherein when the positive output signal and the negative output signal are saturated, the fifth switch and the sixth switch are not conducted.
14. The amplifier circuit of claim 1, wherein the first specific frequency is greater than the second specific frequency.
15. The amplifier circuit of claim 14, wherein the amplifying unit provides the specific gain to the input common-mode voltage above the first specific frequency.
16. The amplifier circuit of claim 15, wherein the amplifying unit provides the specific gain to the input differential-mode voltage above the second specific frequency.
17. A chip, comprising an amplifier circuit, wherein the amplifier circuit is configured to generate a positive output signal and a negative output signal according to a positive input signal and a negative input signal, wherein the positive input signal and the negative input signal have a corresponding input differential-mode voltage and input common-mode voltage, and the positive output signal and the negative output signal have a corresponding output differential-mode voltage and output common-mode voltage, and the amplifier circuit comprises: an amplifying unit, configured to receive the positive input signal and the negative input signal and generate the positive output signal and the negative output signal, wherein the amplifying unit has a specific gain, wherein the amplifying unit comprises: a first transconductance amplifier, having a positive terminal, a negative terminal and an output terminal; a first operational amplifier, having a positive terminal, a negative terminal and an output terminal, wherein the positive terminal of the first operational amplifier receives the positive input signal, the negative terminal of the first operational amplifier is coupled to the output terminal of the first transconductance amplifier, and the output terminal of the first operational amplifier outputs the positive output signal and is coupled to the positive terminal of the first transconductance amplifier; a second transconductance amplifier, having a positive terminal, a negative terminal and an output terminal; and a second operational amplifier, having a positive terminal, a negative terminal and an output terminal, wherein the positive terminal of the second operational amplifier receives the negative input signal, the negative terminal of the second operational amplifier is coupled to the output terminal of the second transconductance amplifier, and the output terminal of the second operational amplifier outputs the negative output signal and is coupled to the positive terminal of the second transconductance amplifier; and an attenuation unit, comprising: a positive common-mode capacitor and a negative common-mode capacitor, configured to attenuate the input common-mode voltage below a first specific frequency; and a differential-mode capacitor, configured to attenuate the input differential-mode voltage below a second specific frequency, wherein the first specific frequency is different from the second specific frequency.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. Specific examples of components and arrangements are described below to simplify the present disclosure. As could be appreciated, these are, of course, merely examples and are not intended to be limiting. For example, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and the second features are formed in direct contact, and may also include embodiments in which additional features may be formed between the first and the second features, such that the first and the second features may not be in direct contact. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
(7) Further, spatially relative terms, such as “beneath,” “below,” “lower,” “above.” “upper,” and the like, may be used herein for the ease of the description to describe one element or feature's relationship with respect to another element(s) or feature(s) as illustrated in the drawings. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The apparatus may be otherwise oriented (e.g. rotated by 90 degrees or at other orientations) and the spatially relative descriptors used herein may likewise be interpreted accordingly.
(8) Notwithstanding that the numerical ranges and parameters setting forth the broad scope of the invention are approximations, the numerical values set forth in the specific examples are reported as precisely as possible. Any numerical value, however, inherently contains certain errors necessarily resulting from the standard deviation found in the respective testing measurements. Also, as used herein, the term “about” generally means within 10%, 5%, 1%, or 0.5% of a given value or range. Alternatively, the term “about” means within an acceptable standard error of the mean when considered by one of ordinary skill in the art. As could be appreciated, other than in the operating/working examples, or unless otherwise expressly specified, all of the numerical ranges, amounts, values and percentages such as those for quantities of materials, durations of times, temperatures, operating conditions, ratios of amounts, and the likes thereof disclosed herein should be understood as modified in all instances by the term “about.” Accordingly, unless indicated to the contrary, the numerical parameters set forth in the present disclosure and attached claims are approximations that can vary as desired. At the very least, each numerical parameter should at least be construed considering the number of reported significant digits and by applying ordinary rounding techniques. Ranges can be expressed herein as from one endpoint to another endpoint or between two endpoints. All ranges disclosed herein are inclusive of the endpoints unless specified otherwise.
(9) The electrocardiogram signal of the human body is emitted by the heart, and this electrocardiogram signal can be obtained by measuring the voltage difference between any two endpoints of the human body using the two electrodes of the electrocardiograph (ECG). In general, the amplifier circuit in the ECG is used to amplify the voltage difference between said any two endpoints. Nonetheless, the conventional amplifier circuit has the problem of not being able to completely eliminate the common-mode signal, and the difference between said two electrodes or the ion concentration difference between said any two endpoints may result in different polarization voltages at the two endpoints, thereby causing the presence of the DC offset in the differential-mode signal, which in turns limits the magnification of the ECG.
(10) The amplifier circuit according to the present application can inhibit the common-mode input signal within the target frequency band and amplify the differential-mode input signal within the target frequency band, thereby increasing the common-mode rejection ratio (CMRR) in the target frequency band. Also, the amplifier circuit according to the present application can be applied in various settings, such as an ECG.
(11)
(12) Reference is made simultaneously to
(13) Moreover, as discussed above, since as the frequency of the differential-mode gain A.sub.D below the second specific frequency F.sub.2 decreases, the extent of the attenuation increases; that is, the DC component within the differential-mode voltage V.sub.ID would be attenuated greatly; therefore, the amplifier circuit 100 can filter out the DC offset carried by the input differential-mode voltage V.sub.ID, thereby preventing the amplifier circuit 100 from getting saturated as a result of the DC offset.
(14) Returning back to
(15) The second transconductance amplifier 114, the second operational amplifier 112 and the second resistor 111 are arranged symmetrically with respect to the first transconductance amplifier 104, the first operational amplifier 102 and the first resistor 101. The transconductance of the second transconductance amplifier 114 is Gm.sub.F, which is the same as the transconductance of the first transconductance amplifier 104. The second transconductance amplifier 114 has a positive (+) terminal, a negative (−) terminal, and an output terminal, and the second operational amplifier 112 has a positive (+) terminal, a negative (−) terminal, and an output terminal, wherein the positive terminal of the second operational amplifier 112 receives the negative input signal V.sub.IN, the negative terminal of the second operational amplifier 112 is coupled to the output terminal of the second transconductance amplifier 114, and the output terminal of the second operational amplifier 112 outputs the negative output signal V.sub.IN and is coupled to the positive terminal of the second transconductance amplifier 114 and the attenuation unit 130. The second resistor 111 has a resistance R.sub.G, which is the same as the resistance of the first resistor 101, one end of the second resistor 111 is coupled to the negative terminal of the second operational amplifier 112, and the other end of the second resistor 111 is coupled to the attenuation unit 130.
(16) Specifically, the differential-mode gain A.sub.D above the second specific frequency F.sub.2 (around the high-pass 3 dB frequency of the differential-mode gain A.sub.D) is kept at a specific gain of 1/(Gm.sub.F*R.sub.G). In other words, the properties of the first transconductance amplifier 104, the second transconductance amplifier 114, the first resistor 101 and the second resistor 111 can be used to determine the differential-mode gain A.sub.D above the second specific frequency F.sub.2.
(17) The attenuation unit 130 includes a third transconductance amplifier 108, a positive common-mode capacitor 107, a third operational amplifier 106, a third resistor 105, a fourth transconductance amplifier 118, a negative common-mode capacitor 117, a fourth operational amplifier 116, a fourth resistor 115, a differential-mode capacitor 110 and a fifth resistor 109. The transconductance of the third transconductance amplifier 108 is Gm.sub.c, the third transconductance amplifier 108 has a positive (+) terminal, a negative (−) terminal, and an output terminal, wherein the negative output signal V.sub.OP is fed in from the positive terminal of the third transconductance amplifier 108, the negative terminal of the third transconductance amplifier 108 is coupled to first reference voltage V.sub.CM, and the output terminal of the third transconductance amplifier 108 is coupled to the positive common-mode capacitor 107 and the differential-mode capacitor 110. The transconductance of the fourth transconductance amplifier 118 is Gm.sub.c, which is the same as the transconductance of the third transconductance amplifier 108, and the fourth transconductance amplifier 118 has a positive (+) terminal, a negative (−) terminal, and an output terminal, wherein the negative output signal V.sub.ON is fed in from the positive terminal of the fourth transconductance amplifier 118, the negative terminal of the fourth transconductance amplifier 118 is coupled to the first reference voltage V.sub.CM, and the output terminal of the fourth transconductance amplifier 118 is coupled to the negative common-mode capacitor 117 and the differential-mode capacitor 110.
(18) The positive common-mode capacitor 107 and the negative common-mode capacitor 117 have the same first capacitance C.sub.1, and the differential-mode capacitor 110 has a second capacitance C.sub.2, wherein the second capacitance C.sub.2 is much greater than the first capacitance C.sub.1. Since for the input common-mode voltage V.sub.IC, the differential-mode capacitor 110 can be considered as an open circuit, the attenuation of the input common-mode voltage V.sub.IC below the first specific frequency F.sub.1 is mainly subject to the effect from the positive common-mode capacitor 107 and the negative common-mode capacitor 117. The positive common-mode capacitor 107 is coupled between the output terminal of the third transconductance amplifier 108 and a second reference voltage, and the negative common-mode capacitor 117 is coupled between the output terminal of the fourth transconductance amplifier 118 and the second reference voltage, wherein the second reference voltage is smaller than the first reference voltage V.sub.CM, in the present embodiment, the second reference voltage is the ground voltage. In other words, the positive common-mode capacitor 107 and the negative common-mode capacitor 117 are configured to attenuate the common-mode gain A.sub.C below the first specific frequency F.sub.1.
(19) The differential-mode capacitor 110 is coupled between the output terminal of the third transconductance amplifier 108 and the output terminal of the fourth transconductance amplifier 118. For the input differential-mode voltage V.sub.ID, since the second capacitance C.sub.2 is much greater than the first capacitance C.sub.1, the attenuation of the input differential-mode voltage V.sub.ID below the second specific frequency F.sub.2 is mainly subject to the effect from the differential-mode capacitor 110. In other words, the differential-mode capacitor 110 is configured to attenuate the differential-mode gain A.sub.D below the second specific frequency F.sub.2. Since the second capacitance C.sub.2 is much greater than the first capacitance C.sub.1, the second specific frequency F.sub.2 is lower than the second specific frequency F.sub.2.
(20) Specifically, the common-mode gain A.sub.C of the input common-mode voltage V.sub.IC below the first specific frequency F.sub.1 is 2π*f*C.sub.1/Gm.sub.C, wherein f is the frequency; therefore, the lower the frequency is, the smaller the common-mode gain A.sub.C is. In other words, the properties of the positive common-mode capacitor 107, the negative common-mode capacitor 117 and the fourth transconductance amplifier 118 can be used to determine the common-mode gain A.sub.C of the input common-mode voltage V.sub.IC below the first specific frequency F.sub.1. The CMRR between the second specific frequency F.sub.2 and the first specific frequency F.sub.1 is the differential-mode gain A.sub.D above the second specific frequency F.sub.2 (around the high-pass 3 dB frequency of the differential-mode gain A.sub.D)/the common-mode gain A.sub.C of the input common-mode voltage V.sub.IC below the first specific frequency F; that is, Gm.sub.C(Gm.sub.F*R.sub.G*2π*f*C.sub.1).
(21) The third operational amplifier 106 has a positive (+) terminal, a negative (−) terminal, and an output terminal, wherein the positive of the third operational amplifier 106 is coupled to the output terminal of the third transconductance amplifier 108, and the output terminal of the third operational amplifier 106 is coupled to the first resistor 101 of the amplifying unit 120. The fourth operational amplifier 116 has a positive (+) terminal, a negative (−) terminal, and an output terminal, the positive terminal of the fourth operational amplifier 116 is coupled to the output terminal of the fourth transconductance amplifier 118, and the output terminal of the fourth operational amplifier 116 is coupled to the second resistor 111 of the amplifying unit 120. The third resistor 105 is coupled between the negative terminal and the output terminal of the third operational amplifier 106; the fourth resistor 115 is coupled between the negative terminal and the output terminal of the fourth operational amplifier 116. The fifth resistor 109 is coupled between the negative terminal of the third operational amplifier 106 and the negative terminal of the fourth operational amplifier 116. The third resistor 105 has a resistance R.sub.B, which is the same as the resistance of the fourth resistor 115, and the fifth resistor 109 has a resistance R.sub.A. The high-pass 3 dB frequency of the differential-mode gain A.sub.D is ((1+2*R.sub.B/R.sub.A)*Gm.sub.C)/(Gm.sub.F*R.sub.G*4π*C.sub.2). In other words, the properties of the third resistor 105, the fourth resistor 115, the fifth resistor 109, the third transconductance amplifier 108, the second transconductance amplifier 114, the first resistor 101, the second resistor 111 and the differential-mode capacitor 110 can be used to determine the high-pass 3 dB frequency of the differential-mode gain A.sub.D.
(22)
(23) Since the voltage between the sixth resistor 103 and the seventh resistor 113 are associated with the input common-mode voltage V.sub.IC, the common-mode signal feedback unit 202 obtains the common-mode voltage feedback signal V.sub.RLD that is stably associated with the input common-mode voltage V.sub.IC by performing the low-pass filtering process on the voltage between the sixth resistor 103 and the seventh resistor 113 (e.g., by an integration process). In practice, it is not necessary for the common-mode voltage feedback signal V.sub.RLD to accurately remove the input common-mode voltage V.sub.IC; rather, the common mode rejection ability of the amplifier circuit 200 can be effectively increased by roughly removing a portion of the input common-mode voltage V.sub.IC.
(24)
(25) For example, when the amplifier circuits 300A and 300B are used as the ECG and connected with the human body, the DC offset carried by the input differential-mode voltage V.sub.ID may be amplified immediately so that the positive output signal VOP and the negative output signal VON are saturated; the amplifier circuit of the present application can change the configuration shown in the amplifier circuit 300A into the configuration shown in amplifier circuit 300B immediately; that is, the first switch 304, the second switch 314, the third switch 306 and the fourth switch 316 are conducted, and the fifth switch 302 and the sixth switch 312 are disconnected, so as to perform the fast charge or discharge according to the difference between the DC offset carried by the input differential-mode voltage VID and the differential-mode capacitor 110. After the passage of a pre-determined time, the configuration shown in the amplifier circuit 300B can be changed into the configuration shown in the amplifier circuit 300A; that is, the first switch 304, the second switch 314, the third switch 306 and the fourth switch 316 are disconnected, and the fifth switch 302 and the sixth switch 312 are conducted; since the size of the differential-mode capacitor 110 is greater, the lengthy charge or discharge time can be skipped.
(26) It should be noted that, for the sake of brevity, the drawings do not show circuits configured to control the first switch 304, the second switch 314, the third switch 306, the fourth switch 316, the fifth switch 302 and the sixth switch 312 according to whether the positive output signal VOP and the negative output signal VON are saturated, as well as the circuits configured to change the configuration from the configuration shown in the amplifier circuit 300B to that shown in the amplifier circuit 300A according to a pre-determined time; however, the persons having ordinary skill in the art can understand the implementations of such circuits in light of the foregoing description; therefore, any means that can achieve a similar result are within the scope of the present application.
(27) The above-mentioned amplifier circuit 200 and amplifier circuits 300A/300B can be implemented individually or in combination, and the present application is not limited thereto. The present application can be applied in daily electronic devices other than the ECG; for example, it could be used in a smart watch or wrist band, and could be expanded to any systems that require the amplification of the differential input signal. The present application also provides a chip, which includes the amplifier circuit 100/200/300A/300B.
(28) The present application embodiment improves conventional amplifier circuits, so that it can eliminate most of the common-mode signal using the common-mode gain A.sub.C in the attenuation unit 330 before the back-end subtraction circuit of the amplifier circuit. In this way, the properties of the differential-mode gain A.sub.D of the attenuation unit 330 can be used to improve the issue that the polarization voltage results in the DC offset in the differential-mode signal, so as increase the amplification magnitude of the amplifier circuit to the differential-mode signal.
(29) The foregoing outlines the features of several embodiments so that those skilled in the art may better understand various aspects of the present disclosure. Those skilled in the art should appreciate that they nay readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of embodiments introduced herein. Those skilled in the art should also realize that such equivalent embodiments still fall within the spirit and scope of the present disclosure, and they may make various changes, substitutions, and alterations thereto without departing from the spirit and scope of the present disclosure.