Resistor modules, clock circuits, integrated circuits, and electronic devices
By using resistors with opposite temperature coefficients and a temperature detection and adjustment control unit in the on-chip clock system, the resistance ratio is adjusted in real time, solving the problem of second-order temperature coefficient in traditional on-chip clock systems and achieving higher temperature stability and frequency accuracy.
Patent Information
- Application Number
- CN202111616382.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2041-12-27
AI Technical Summary
In traditional on-chip clock systems, the existence of a second-order temperature coefficient causes the clock frequency to vary parabolically with temperature, which cannot meet the stringent requirements of precise timing and signal sampling applications.
A first resistor and a second resistor with opposite temperature coefficients are used, combined with a temperature detection unit and a trimming control unit, to adjust the resistance ratio in real time to reduce the second-order temperature coefficient.
It effectively reduces the second-order temperature coefficient of the resistance module and clock circuit, improves the temperature stability of the clock frequency, and meets the needs of precise timing and signal sampling.
Smart Images

Figure CN114389580B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic circuits, and in particular to a resistor module, a clock circuit, an integrated circuit, and an electronic device. Background Art
[0002] The on-chip clock system is a key module of an integrated circuit (IC). Especially in applications based on on-chip timing or signal measurement, a high-precision, low-temperature drift clock reference is required.
[0003] Traditional on-chip clock systems typically combine resistors with opposite temperature coefficients into a single zero-temperature coefficient resistor to minimize temperature variations in clock frequency. However, this approach only approximates the first-order temperature coefficient of the resistor to zero, while the second-order temperature coefficient remains. The second-order temperature coefficient manifests itself as a parabolic change in resistance with temperature.
[0004] In some application scenarios requiring precise timing or signal sampling, the requirements for clock frequency are very stringent, and an on-chip clock with extremely low temperature drift is needed to provide timing or sampling pulses. Therefore, how to reduce the second-order temperature coefficient is a research hotspot for technicians in this field. Summary of the Invention
[0005] In view of the above problems, embodiments of the present application provide a resistor module, a clock circuit, an integrated circuit, and an electronic device to solve the above technical problems.
[0006] In a first aspect, an embodiment of the present application provides a resistor module, comprising a resistor unit, a temperature detection unit, and an adjustment control unit; the resistor unit comprises at least a first resistor and a second resistor, the first resistor and the second resistor having opposite temperature coefficients; the temperature detection unit is used to detect temperature and output a temperature detection signal; and the adjustment control unit is used to send an adjustment signal to the resistor unit according to the temperature detection signal, and the resistor unit is also used to adjust the resistance ratio of the first resistor and the second resistor according to the adjustment signal.
[0007] In a second aspect, an embodiment of the present application further provides a clock circuit, comprising an oscillator circuit and a resistor module as described above, wherein the resistor module is connected to the oscillator circuit.
[0008] In a third aspect, an embodiment of the present application further provides an integrated circuit comprising the clock circuit as described above.
[0009] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a device body and the above-mentioned integrated circuit provided in the device body.
[0010] Embodiments of the present application provide a resistor module, clock circuit, integrated circuit, and electronic device. The resistor module includes a resistor unit, a temperature detection unit, and a trimming control unit. The resistor unit includes at least a first resistor and a second resistor, wherein the first resistor and the second resistor have opposite temperature coefficients. The temperature detection unit is configured to detect temperature and output a temperature detection signal. The trimming control unit is configured to send a trimming signal to the resistor unit based on the temperature detection signal. The resistor unit is further configured to adjust the resistance ratio of the first resistor to the second resistor based on the trimming signal. The resistor module of the embodiment of the present application controls the resistor unit to adjust the resistance ratio of the first resistor to the second resistor based on temperature changes through the trimming control unit, thereby further reducing the amount of change in the resistor module with temperature, thereby effectively reducing the second-order temperature coefficient of the resistor module.
[0011] These and other aspects of the present application will become more readily apparent from the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0013] Figure 1 A module block diagram of a resistance module provided in an embodiment of the present application is shown.
[0014] Figure 2 The figure shows the temperature characteristic curve of the resistance of the resistance module in the prior art.
[0015] Figure 3 A module block diagram of a resistor unit in a resistor module provided in an embodiment of the present application is shown.
[0016] Figure 4 A schematic diagram of the temperature characteristic curve of the resistance of the resistance module provided in an embodiment of the present application is shown.
[0017] Figure 5 A module block diagram of a clock circuit provided in an embodiment of the present application is shown.
[0018] Figure 6 A schematic structural diagram of a clock circuit provided in an embodiment of the present application is shown.
[0019] Figure 7 A schematic diagram showing the working principle of the clock signal provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0020] The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application.
[0021] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0022] The on-chip clock system is a key module of an integrated circuit (IC). Especially in applications based on on-chip timing or signal measurement, a high-precision, low-temperature drift clock reference is required.
[0023] Traditional on-chip clock systems typically combine resistors with opposite temperature coefficients into a single zero-temperature coefficient resistor to minimize temperature variations in clock frequency. However, this approach only approximates the first-order temperature coefficient of the resistor to zero, while the second-order temperature coefficient remains. The second-order temperature coefficient manifests itself as a parabolic change in resistance with temperature.
[0024] In some application scenarios requiring precise timing or signal sampling, the requirements for clock frequency are very stringent, and an on-chip clock with extremely low temperature drift is needed to provide timing or sampling pulses. Therefore, how to reduce the second-order temperature coefficient is a research hotspot for technicians in this field.
[0025] To solve the above technical problems, the inventors, after long-term research, have proposed a resistor module, a clock circuit, an integrated circuit, and an electronic device in the embodiments of the present application. The resistor module includes a resistor unit, a temperature detection unit, and a trimming control unit. The resistor unit includes at least a first resistor and a second resistor, and the first resistor and the second resistor have opposite temperature coefficients. The temperature detection unit is used to detect temperature and output a temperature detection signal. The trimming control unit is used to send a trimming signal to the resistor unit based on the temperature detection signal. The resistor unit is also used to adjust the resistance ratio of the first resistor and the second resistor based on the trimming signal. The resistor module in the embodiments of the present application controls the resistor unit to adjust the resistance ratio of the first resistor and the second resistor based on the temperature change through the trimming control unit. This can further reduce the amount of change of the resistor module with temperature, thereby effectively reducing the second-order temperature coefficient of the resistor module.
[0026] like Figure 1 As shown, Figure 1 The block diagram of a resistor module 100 provided in an embodiment of the present application is shown. The resistor module 100 includes a resistor unit 110, a temperature detection unit 120, and a trimming control unit 130. The resistor unit 110 includes at least a first resistor 1121 and a second resistor 1122. The temperature detection unit 120 is configured to detect temperature and output a temperature detection signal. The trimming control unit 130 is connected to the temperature detection unit 120 and the resistor module 100 and is configured to send a trimming signal to the resistor unit 110 based on the temperature detection signal, so that the resistor unit 110 adjusts the resistance ratio between the first resistor 1121 and the second resistor 1122 based on the trimming signal.
[0027] The first resistor 1121 and the second resistor 1122 in the resistance unit 110 have opposite temperature coefficients, that is, they have different temperature characteristics. For example, the first resistor 1121 can be a resistor with a positive temperature coefficient, and the second resistor 1122 can be a resistor with a negative temperature coefficient; for another example, the first resistor 1121 can also be a resistor with a negative temperature coefficient, and the second resistor 1122 can also be a resistor with a positive temperature coefficient. By canceling out the first resistor 1121 and the second resistor 1122 with opposite temperature coefficients, the temperature coefficient of the resistance unit 110 is approximately zero, that is, the first-order temperature coefficient of the resistance unit 110 is approximately zero. However, if only the first resistor 1121 and the second resistor 1122 with opposite temperature coefficients are combined, only the first-order temperature coefficient of the resistance unit 110 can be eliminated, and the second-order temperature coefficient still exists, such as Figure 2 As shown, the second-order temperature coefficient is specifically manifested as the resistance value of the resistor unit 110 changing parabolically with temperature.
[0028] In this embodiment, the temperature detection unit 120 can detect the temperature of the resistor unit 110. In some embodiments, the temperature detection unit 120 can also detect the ambient temperature around the resistor unit 110, and then output a temperature detection signal to the adjustment control unit 130. It is understood that the temperature detection signal can represent the temperature change of the resistor unit 110 or the temperature change of the environment around the resistor unit 110.
[0029] The trimming control unit 130 receives the temperature detection signal output by the temperature detection unit 120 and outputs a trimming signal to the resistor unit 110 based on the temperature detection signal. After receiving the trimming signal, the resistor unit 110 adjusts the resistance ratio of the first resistor 1121 to the second resistor 1122 based on the trimming signal. Specifically, when the temperature of the resistor unit 110 changes, the trimming control unit 130 outputs a corresponding trimming signal to the resistor unit 110 based on the current temperature of the resistor unit 110, causing the resistor unit 110 to adjust the resistance ratio of the first resistor 1121 to the second resistor 1122 to a corresponding value based on the trimming signal. The resistance ratio of the first resistor 1121 to the second resistor 1122 represents the ratio of the positive temperature coefficient resistors to the negative temperature coefficient resistors in the resistor unit 110. By adjusting the ratio of the positive temperature coefficient resistors to the negative temperature coefficient resistors in the resistor unit 110 in real time, the temperature curve of the resistance value of the resistor unit 110 can be adjusted in real time during temperature changes, thereby effectively reducing the second-order temperature coefficient of the resistor unit 110.
[0030] In some embodiments, as Figure 3 As shown, the resistor unit 110 includes a trimming circuit 111 and a resistor circuit 112. The resistor circuit 112 includes at least the first resistor 1121 and the second resistor 1122 described above. The trimming circuit 111 is configured to adjust the resistance ratio of the first resistor 1121 and the second resistor 1122 in the resistor circuit 112 according to a trimming signal output by the trimming control unit 130. Specifically, the trimming circuit 111 can adjust the resistance of at least one of the first resistor and the second resistor according to the trimming signal to adjust the resistance ratio of the first resistor 1121 and the second resistor 1122. Optionally, the trimming circuit 111 can adjust only the resistance of the first resistor 1121 or the second resistor 1122 according to the trimming signal, or can adjust the resistance of both the first resistor 1121 and the second resistor 1122 according to the trimming signal.
[0031] As one embodiment, the first resistor 1121 and the second resistor 1122 can each be a resistor string including multiple resistors, and the trimming circuit 111 can include multiple switches connected to the first resistor 1121 and the second resistor 1122. The trimming circuit 111 controls the on and off of the multiple switches according to the trimming signal, thereby adjusting the resistance values of the first resistor 1121 and the second resistor 1122, respectively, and thus adjusting the resistance ratio of the first resistor 1121 and the second resistor 1122.
[0032] In some embodiments, the trimming control unit 130 is configured to output a trimming signal based on the temperature range of the temperature detection signal and a predetermined correspondence between the temperature range of the temperature detection signal and the resistance ratio. The resistor unit 110 then adjusts the first resistor 1121 and the second resistor 1122 to the corresponding resistance ratio based on the trimming signal.
[0033] Taking three preset temperature intervals as an example, the first preset temperature interval corresponds to a first ratio, the second preset temperature interval corresponds to a second ratio, and the third preset temperature interval corresponds to a third ratio. The trimming control unit 130 is configured to send a first trimming signal to the resistor unit 110 when the temperature detection signal is in the first preset temperature interval, and the resistor unit 110 is configured to adjust the resistance ratio of the first resistor 1121 and the second resistor 1122 to the first ratio according to the first trimming signal; the trimming control unit 130 is further configured to send a second trimming signal to the resistor unit 110 when the temperature detection signal is in the second preset temperature interval, and the resistor unit 110 is further configured to adjust the resistance ratio of the first resistor 1121 and the second resistor 1122 to the second ratio according to the second trimming signal; the trimming control unit 130 is further configured to send a third trimming signal to the resistor unit 110 when the temperature detection signal is in the third preset temperature interval, and the resistor unit 110 is further configured to adjust the resistance ratio of the first resistor 1121 and the second resistor 1122 to the third ratio according to the third trimming signal.
[0034] Specifically, the temperature curve of the resistance unit 110 is as follows: Figure 4As shown by the solid line, as the temperature of the resistance unit 110 increases, when the current temperature of the resistance unit 110 is less than the first threshold temperature Ttrig1, the trimming control unit 130 outputs a corresponding first trimming signal, so that the resistance ratio of the first resistor 1121 and the second resistor 1122 remains at the first ratio when the current temperature of the resistance unit 110 is less than the first threshold temperature Ttrig1. At this time, when the current temperature of the resistance unit 110 is within a temperature range less than the first threshold temperature Ttrig1, the temperature curve of the resistance unit 110 is curve A. When the current temperature of the resistance unit 110 is greater than or equal to the first threshold temperature Ttrig1 and less than the second threshold temperature Ttrig2, the adjustment control unit 130 outputs a corresponding second adjustment signal, so that the resistance ratio of the first resistor 1121 and the second resistor 1122 remains at the second ratio when the current temperature of the resistance unit 110 is greater than or equal to the first threshold temperature Ttrig1 and less than the second threshold temperature Ttrig2. At this time, when the current temperature of the resistance unit 110 is within the temperature range greater than or equal to the first threshold temperature Ttrig1 and less than the second threshold temperature Ttrig2, the temperature curve of the resistance unit 110 is curve B. When the current temperature of the resistance unit 110 is greater than or equal to the second threshold temperature Ttrig2, the adjustment control unit 130 outputs a corresponding third adjustment signal, so that the resistance ratio of the first resistor 1121 and the second resistor 1122 remains at the third ratio when the current temperature of the resistance unit 110 is greater than or equal to the second threshold temperature Ttrig2. At this time, when the current temperature of the resistance unit 110 is within a temperature range greater than or equal to the second threshold temperature Ttrig2, the temperature curve of the resistance unit 110 is curve C.
[0035] It can be seen that when the resistance ratio of the first resistor 1121 to the second resistor 1122 changes from the first ratio to the second ratio, the temperature curve of the resistance of the resistor unit 110 changes from curve A to curve B. When the resistance ratio of the first resistor 1121 to the second resistor 1122 changes from the second ratio to the third ratio, the temperature curve of the resistance of the resistor unit 110 changes from curve B to curve C. By adjusting the temperature curve of the resistance of the resistor unit 110, the temperature curve of the resistance of the resistor unit 110 is generally kept stable within a relatively small variation range Δ, thereby effectively reducing the variation of the resistance of the resistor unit 110 with temperature, that is, effectively reducing the second-order temperature coefficient of the resistor unit 110.
[0036] The resistor module provided in an embodiment of the present application includes a resistor unit, a temperature detection unit, and a trimming control unit. The resistor unit includes at least a first resistor and a second resistor, the first resistor and the second resistor having opposite temperature coefficients. The temperature detection unit is configured to detect temperature and output a temperature detection signal. The trimming control unit is configured to send a trimming signal to the resistor unit based on the temperature detection signal, and the resistor unit is further configured to adjust the resistance ratio of the first resistor to the second resistor based on the trimming signal. The resistor module in an embodiment of the present application controls the resistor unit to adjust the resistance ratio of the first resistor to the second resistor based on temperature changes by controlling the trimming control unit to adjust the resistance ratio of the first resistor to the second resistor based on temperature changes, thereby further reducing the amount of temperature change of the resistor module, thereby effectively reducing the second-order temperature coefficient of the resistor module.
[0037] like Figure 5 As shown, the embodiment of the present application further provides a clock circuit 200 , which includes an oscillating circuit 210 and the aforementioned resistor module 100 , wherein the resistor module 100 is connected to the oscillating circuit 210 .
[0038] As one embodiment, the oscillator circuit 210 is an RC oscillator circuit. Taking the RC oscillator circuit as an example, the oscillator circuit 210 includes a charge-discharge circuit 211, a comparison circuit 212, and a clock control circuit 213. The charge-discharge circuit 211 is used to charge and discharge using an input signal and output a voltage signal. The comparison circuit 212 is used to compare the voltage signal with a preset reference voltage signal and output a comparison signal. The clock control circuit 213 is used to output a clock signal based on the comparison signal. The resistor module 100 is used to generate a preset reference voltage signal based on the input signal. In this embodiment, since the second-order temperature coefficient of the resistor module 100 is effectively reduced, the temperature coefficient of the clock frequency of the clock signal generated by the oscillator circuit 210 is also effectively further reduced.
[0039] In some embodiments, the clock control circuit 213 is further configured to output a first control signal and a second control signal of opposite phases according to the comparison signal; the charge and discharge circuit 211 is further configured to control charging and discharging according to the first control signal and the second control signal. Specifically, the charge and discharge circuit 211 includes a capacitor unit 2111 and a charge and discharge control unit 2112, wherein the capacitor unit 2111 is configured to control the capacitor unit 2111 to be in a first charging state according to the first control signal, so that the capacitor unit 2111 outputs a first voltage signal; the charge and discharge control unit 2112 is further configured to control the capacitor unit 2111 to be in a second charging state according to the second control signal, so that the capacitor unit 2111 outputs a second voltage signal. The comparison circuit 212 is configured to compare the first voltage signal with a preset reference voltage and output a first comparison signal to the clock control circuit 213; the comparison circuit 212 is further configured to compare the second voltage signal with a preset reference voltage signal and output a second comparison signal to the clock control circuit 213; the clock control circuit 213 is configured to output a clock signal, a first control signal, and a second control signal according to the first comparison signal and the second comparison signal.
[0040] Optionally, the oscillation circuit 210 may be a single comparator oscillation circuit or a dual comparator oscillation circuit. Taking the dual comparator oscillation circuit as an example, the structural diagram of the oscillation circuit 210 may be as follows: Figure 6 As shown, the capacitor unit 2111 includes a first capacitor C1 and a second capacitor C2, and the charge-discharge control unit 2112 includes a first switch S1, a second switch S2, a third switch S3, and a fourth switch S4. The first switch S1 has one end for receiving an input signal, and the other end is connected to the first end of the first capacitor C1 and one end of the second switch S2. The other end of the second switch S2 is grounded. The third switch S3 has one end for receiving an input signal, and the other end is connected to the first end of the second capacitor C2 and one end of the fourth switch S4. The other end of the fourth switch S4 is grounded. The first end of the first capacitor C1 is also connected to the comparison circuit 212, and the second end is grounded. The first end of the second capacitor C2 is also connected to the comparison circuit 212, and the second end is grounded.
[0041] Comparison circuit 212 includes a first comparator A1 and a second comparator A2. The first comparator A1 has a first input connected to the resistor module 100 to receive a preset reference voltage signal, and a second input connected to the first end of the first capacitor C1 to receive a first voltage signal. The second comparator A2 has a first input connected to the resistor module 100 to receive a preset reference voltage signal, and a second input connected to the first end of the second capacitor to receive a second voltage signal. The outputs of both the first comparator A1 and the second comparator A2 are connected to the clock control circuit 213.
[0042] like Figure 7As shown, the clock control circuit 213 generates a first control signal φ1, a second control signal φ2 and a clock signal clk according to output signals of the first comparator A1 and the second comparator A2.
[0043] The first switch S1 and the fourth switch S4 are controlled by a first control signal φ1, while the second switch S2 and the third switch S3 are controlled by a second control signal φ2. The first control signal φ1 and the second control signal φ2 are in opposite phases. That is, when the first control signal φ1 is high, the second control signal φ2 is low; when the first control signal φ1 is low, the second control signal φ2 is high. Simultaneously, the input current Tref0 passes through the resistor module 100 to provide a reference signal Vref for the first comparator A1 and the second comparator A2.
[0044] When the first control signal φ1 is at a high level and the second control signal φ2 is at a low level, the first switch S1 is closed, the second switch S2 is opened, the third switch S3 is opened, and the fourth switch S4 is closed. The input current Iref1 charges the first capacitor C1 and discharges the second capacitor C2. The first comparator A2 and the second comparator A2 flip and output corresponding comparison signals to the clock control circuit 213, so that the first control signal φ1 output by the clock control circuit 213 changes from a high level to a low level, and the second control signal φ2 changes from a low level to a high level.
[0045] When the first control signal φ1 is at a low level and the second control signal φ2 is at a high level, the first switch S1 is opened, the second switch is closed, the third switch is closed, and the fourth switch is opened. The input current Iref1 charges the second capacitor C2 and discharges the first capacitor C1. The first comparator A2 and the second comparator A2 are flipped and output corresponding comparison signals to the clock control circuit 213, so that the first control signal φ1 output by the clock control circuit 213 changes from a high-low level to a high level, and the second control signal φ2 changes from a high level to a low level.
[0046] By alternately charging and discharging the first capacitor C1 and the second capacitor C2 and repeatedly flipping the first comparator A1 and the second comparator A2, the clock control circuit 213 oscillates and generates a clock signal clk. The clock frequency Freq of the clock signal clk is proportional to R0*(C1+C2) / 2, where R0 is the resistance of the resistor module 100, C1 is the capacitance of the first capacitor C1, and C2 is the capacitance of the second capacitor C2. The capacitance values of the first capacitor C1 and the second capacitor C2 can be set to the same C0, so the clock frequency Freq is proportional to R0*C0. That is, the temperature coefficient of the clock frequency Freq of the clock signal clk is determined by the resistor module 100 and the capacitor, and the temperature coefficient of the capacitor is usually low, so the temperature coefficient of the clock frequency Freq is mainly determined by the resistor module 100. In the embodiment of the present application, the resistor module 100 adjusts the temperature curve of the resistance value of the resistor unit so that the temperature curve of the resistance value of the resistor unit is generally stably maintained within a smaller variation range Δ, thereby effectively reducing the variation of the resistance value of the resistor unit, that is, effectively reducing the second-order temperature coefficient of the resistor unit. Therefore, the second-order temperature coefficient of the resistor module 100 is low, which effectively reduces the second-order temperature coefficient of the clock frequency Freq of the clock signal clk.
[0047] The clock circuit provided in an embodiment of the present application includes a resistor unit, a temperature detection unit, and a trimming control unit. The resistor unit includes at least a first resistor and a second resistor, each having opposite temperature coefficients. The temperature detection unit is configured to detect temperature and output a temperature detection signal. The trimming control unit is configured to send a trimming signal to the resistor unit based on the temperature detection signal, and the resistor unit is further configured to adjust the resistance ratio of the first resistor to the second resistor based on the trimming signal. In the resistor module of the embodiment of the present application, the trimming control unit controls the resistor unit to adjust the resistance ratio of the first resistor to the second resistor based on temperature changes, thereby further reducing the temperature variation of the resistor module, thereby effectively reducing the second-order temperature coefficient of the clock circuit.
[0048] An integrated circuit further provided in an embodiment of the present application includes the above-mentioned clock circuit.
[0049] An integrated circuit provided in an embodiment of the present application includes a resistor unit, a temperature detection unit, and a trimming control unit. The resistor unit includes at least a first resistor and a second resistor, each having opposite temperature coefficients. The temperature detection unit is configured to detect temperature and output a temperature detection signal. The trimming control unit is configured to send a trimming signal to the resistor unit based on the temperature detection signal, and the resistor unit is further configured to adjust the resistance ratio of the first resistor to the second resistor based on the trimming signal. In the resistor module of the embodiment of the present application, the trimming control unit controls the resistor unit to adjust the resistance ratio of the first resistor to the second resistor based on temperature changes, thereby further reducing the temperature variation of the resistor module, thereby effectively reducing the second-order temperature coefficient of the integrated circuit.
[0050] An embodiment of the present application further provides an electronic device, which includes a device body and the above-mentioned integrated circuit provided in the device body.
[0051] In this embodiment, electronic devices include but are not limited to smart bracelets, smart watches, steering wheels, electronic scales, and electrocardiogram detection devices.
[0052] An electronic device provided in an embodiment of the present application includes a resistor unit, a temperature detection unit, and a trimming control unit. The resistor unit includes at least a first resistor and a second resistor, the first resistor and the second resistor having opposite temperature coefficients. The temperature detection unit is configured to detect temperature and output a temperature detection signal. The trimming control unit is configured to send a trimming signal to the resistor unit based on the temperature detection signal, and the resistor unit is further configured to adjust the resistance ratio of the first resistor to the second resistor based on the trimming signal. In the resistor module of the embodiment of the present application, the trimming control unit controls the resistor unit to adjust the resistance ratio of the first resistor to the second resistor based on temperature changes, thereby further reducing the amount of temperature change of the resistor module, thereby effectively reducing the second-order temperature coefficient of the electronic device.
[0053] The above is only a preferred embodiment of the present application and does not constitute any form of limitation to the present application. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any person skilled in the art can make some changes or modifications to equivalent embodiments using the technical contents disclosed above without departing from the scope of the technical solution of the present application. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.
Claims
1. A resistance module, characterized in that: include: a resistor unit comprising at least a first resistor and a second resistor, wherein the first resistor and the second resistor have opposite temperature coefficients; a temperature detection unit, configured to detect the temperature of the resistance unit and output a temperature detection signal; as well as a trimming control unit, configured to output a trimming signal based on a temperature range of the temperature detection signal and a preset corresponding relationship, wherein the preset corresponding relationship is a corresponding relationship between the temperature range of the temperature detection signal and a resistance ratio, and the resistance unit is further configured to adjust the resistance ratio of the first resistor to the second resistor based on the trimming signal; The resistor unit includes a trimming circuit and a resistor circuit. The resistor circuit includes at least the first resistor and the second resistor. The first resistor and the second resistor are respectively a resistor string including multiple resistors. The trimming circuit includes multiple switches connected to the multiple resistors included in the first resistor and the multiple resistors included in the second resistor. The trimming circuit controls the on and off of the multiple switches according to the trimming signal to adjust the resistance ratio of the first resistor to the second resistor in the resistor circuit. After the resistance ratio is adjusted, the range of the resistance of the resistor unit that changes with temperature remains within a preset variation range.
2. The resistance module according to claim 1, wherein: The trimming circuit is configured to adjust the resistance of at least one of the first resistor and the second resistor according to the trimming signal.
3. The resistance module according to any one of claims 1 to 2, characterized in that: The trimming control unit is used to output the trimming signal according to the temperature range of the temperature detection signal and a preset corresponding relationship, wherein the preset corresponding relationship is the corresponding relationship between the temperature range of the temperature detection signal and the resistance ratio.
4. The resistance module according to claim 3, wherein: The trimming control unit is used to send a first trimming signal to the resistance unit when the temperature detection signal is in a first preset temperature range, and to send a second trimming signal to the resistance unit when the temperature detection signal is in a second preset temperature range, and to send a third trimming signal to the resistance unit when the temperature detection signal is in a third preset temperature range; the resistance unit is used to adjust the resistance ratio to a first ratio according to the first trimming signal, and to adjust the resistance ratio to a second ratio according to the second trimming signal, and to adjust the resistance ratio to a third ratio according to the third trimming signal.
5. A clock circuit, characterized in that: include: Oscillation circuit; as well as The resistance module according to any one of claims 1 to 4, wherein the resistance module is connected to the oscillation circuit.
6. The clock circuit according to claim 5, wherein: The oscillation circuit comprises: A charge and discharge circuit, used to charge and discharge using an input signal and output a voltage signal; a comparison circuit, configured to compare the voltage signal with a preset reference voltage signal and output a comparison signal; and The clock control circuit is used to output a clock signal according to the comparison signal; the resistance module is used to generate the preset reference voltage signal according to the input signal.
7. The clock circuit according to claim 6, wherein: The clock control circuit is further configured to output a first control signal and a second control signal with opposite phases according to the comparison signal; and the charge and discharge circuit is further configured to control charging and discharging according to the first control signal and the second control signal.
8. The clock circuit according to claim 7, wherein: The charge and discharge circuit comprises: a capacitor unit; and A charge and discharge control unit is used to control the capacitor unit to be in a first charging state according to the first control signal, so that the capacitor unit outputs a first voltage signal; the charge and discharge control unit is also used to control the capacitor unit to be in a second charging state according to the second control signal, so that the capacitor unit outputs a second voltage signal.
9. The clock circuit according to claim 8, wherein: The capacitor unit includes a first capacitor and a second capacitor, and the charge and discharge control unit includes a first switch, a second switch, a third switch, and a fourth switch, wherein the first switch and the fourth switch are controlled by the first control signal, and the second switch and the third switch are controlled by the second control signal; One end of the first switch is used to receive the input signal, the other end is connected to the first end of the first capacitor and one end of the second switch, and the other end of the second switch is grounded; One end of the third switch is used to receive the input signal, and the other end is connected to the first end of the second capacitor and one end of the fourth switch, and the other end of the fourth switch is grounded; The first end of the first capacitor is also connected to the comparison circuit, and the second end is grounded; The first end of the second capacitor is also connected to the comparison circuit, and the second end is grounded.
10. The clock circuit according to claim 8, wherein: The comparison circuit is used to compare the first voltage signal with the preset reference voltage and output a first comparison signal to the clock control circuit; The comparison circuit is further configured to compare the second voltage signal with the preset reference voltage signal and output a second comparison signal to the clock control circuit; The clock control circuit is configured to output the clock signal, the first control signal, and the second control signal according to the first comparison signal and the second comparison signal.
11. The clock circuit according to claim 10, wherein: The comparison circuit comprises: a first comparator having a first input terminal connected to the resistance module to receive the preset reference voltage signal, and a second input terminal connected to the first terminal of the first capacitor to receive the first voltage signal; and The second comparator has a first input terminal connected to the resistance module to receive the preset reference voltage signal, and a second input terminal connected to the first terminal of the second capacitor to receive the second voltage signal.
12. An integrated circuit, characterized in that: The clock circuit comprises the clock circuit according to any one of claims 5 to 11.
13. An electronic device, characterized in that: The device comprises a device body and the integrated circuit according to claim 12 arranged in the device body.
Citation Information
Patent Citations
RC oscillator and electrical device
CN111404484A
Trimming circuit for RC oscillator and RC oscillator adopting the same
CN202143040U
Compensation circuit reducing resistance temperature characteristics
CN203872158U
Oscillation circuit and semiconductor integrated circuit including the same
US20130038364A1