Oscillator Circuit
By introducing a constant voltage and constant current supply module and a temperature calibration module into the oscillation circuit, the problem of the frequency of the oscillation signal being affected by temperature is solved, a stable oscillation signal output is achieved, and the signal accuracy is improved.
Patent Information
- Application Number
- CN202010943869.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-09-08
AI Technical Summary
The oscillation signal frequency of the existing oscillation circuit is greatly affected by temperature changes, resulting in unstable output frequency.
An oscillation circuit including a constant voltage supply module and a constant current supply module is designed. The ambient temperature is detected through the temperature calibration module and the voltage and current are calibrated to ensure that the output constant voltage and constant current are not affected by temperature, thereby producing a stable Oscillation signal.
It effectively avoids the frequency error of the oscillation signal due to temperature changes, and improves the accuracy and stability of the signal.
Smart Images

Figure CN114157239B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic circuits, and in particular to an oscillation circuit capable of generating a stable oscillation signal that is not affected by temperature changes. Background Art
[0002] Oscillation circuits are widely used in the field of electronic science and technology, such as carrier oscillators in transmitters in communication systems, local oscillators in receivers, signal sources in medical instruments and measuring instruments, etc.
[0003] The commonly used oscillator circuit generates an oscillating current based on the gate delay characteristics. The frequency of the oscillating current is greatly affected by temperature. When the temperature changes greatly, the frequency of the output oscillating current has a large error. Therefore, it is necessary to provide an oscillator circuit that is not affected by temperature changes and has a stable output frequency.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The purpose of the present disclosure is to provide an oscillation circuit for overcoming, at least to some extent, the problem that an oscillation signal generates errors due to temperature changes caused by limitations and defects of the related art.
[0006] According to a first aspect of the present disclosure, an oscillation circuit is provided, comprising: a constant voltage providing module for outputting a constant voltage; a constant current providing module for outputting a constant current; and an oscillation module, connecting the constant voltage providing module and the constant current providing module, for generating an oscillation signal of a preset frequency according to the constant voltage and the constant current.
[0007] In an exemplary embodiment of the present disclosure, it also includes: a temperature calibration module, connected to the constant voltage providing module and the constant current providing module, for detecting the ambient temperature and calibrating the constant voltage providing module and the constant current providing module according to the ambient temperature.
[0008] In an exemplary embodiment of the present disclosure, it further includes: a reference circuit, which is used to provide a first reference voltage and a second reference voltage to the constant voltage providing module and the constant current providing module respectively.
[0009] In an exemplary embodiment of the present disclosure, the first reference voltage is equal to the second reference voltage.
[0010] In an exemplary embodiment of the present disclosure, the constant voltage providing module includes: a first amplification unit, connected to the reference circuit and the temperature calibration module, and used to output a first transition voltage with a zero temperature coefficient according to the first reference voltage; and a regulator circuit, connected to the first amplification unit, and used to output the constant voltage according to the first transition voltage.
[0011] In an exemplary embodiment of the present disclosure, the constant current providing module includes: a second amplification unit, connected to the reference circuit and the temperature calibration module, and used to output a second transition voltage with a positive temperature coefficient according to the second reference voltage; and a current bias unit, connected to the second amplification unit, and used to output the constant current according to the second transition voltage.
[0012] In an exemplary embodiment of the present disclosure, the first amplification unit includes: a first amplifier, a non-inverting input terminal connected to the reference circuit, an inverting input terminal connected to a first node, an output terminal connected to the first node through a first resistor, and the first node is grounded through a second resistor; wherein the first resistor and the second resistor are both variable resistors and the control terminals are both connected to the temperature calibration module, the resistance values are controlled by the temperature calibration module, and the output terminal of the first amplifier is connected to the input terminal of the regulator circuit.
[0013] In an exemplary embodiment of the present disclosure, the second amplification unit includes: a second amplifier, a non-inverting input terminal connected to the reference circuit, an inverting input terminal connected to the second node, an output terminal connected to the second node through a third resistor, and the second node is grounded through a fourth resistor; wherein the third resistor and the fourth resistor are both variable resistors and the control terminals are both connected to the temperature calibration module, the resistance values are controlled by the temperature calibration module, and the output terminal of the second amplifier is connected to the input terminal of the current bias unit.
[0014] In an exemplary embodiment of the present disclosure, the current bias unit includes: a third amplifier, whose inverting input terminal is connected to the second amplification unit, whose non-inverting input terminal is connected to the third node, and whose output terminal is connected to the fourth node; a first switch tube, whose first terminal is connected to the power supply voltage, whose second terminal is connected to the third node, and whose control terminal is connected to the fourth node; a second switch tube, whose first terminal is connected to the power supply voltage, whose second terminal is connected to the oscillation module, and whose control terminal is connected to the fourth node; and a fifth resistor, whose first terminal is connected to the third node, and whose second terminal is grounded.
[0015] In an exemplary embodiment of the present disclosure, the reference circuit includes: a third switch tube, a first end of which is connected to a power supply voltage, a second end of which is connected to a fifth node, and a control end of which is connected to a sixth node; a fourth switch tube, a first end of which is connected to the power supply voltage, a second end of which is connected to a seventh node, and a control end of which is connected to the sixth node; a first bipolar transistor, an emitter of which is connected to the fifth node, and a collector and a base of which are grounded; a second bipolar transistor, an emitter of which is connected to the seventh node through a sixth resistor, and a collector and a base of which are grounded; a fifth switch tube, a first end of which is connected to the power supply voltage, a second end of which is connected to a ninth node, and a control end of which is connected to the sixth node; a third bipolar transistor, an emitter of which is connected to the ninth node through a seventh resistor, and a collector and a base of which are grounded; and a fourth amplifier, a non-inverting input end of which is connected to the fifth node, an inverting input end of which is connected to the seventh node, and an output end of which is connected to the sixth node.
[0016] In an exemplary embodiment of the present disclosure, the temperature calibration module includes: a fifth amplifier, whose in-phase input terminal is connected to the real-time temperature voltage, and whose inverting input terminal and output terminal are connected to the tenth node; a temperature reference voltage output unit, used to output the temperature reference voltage; a voltage comparison unit, whose first input terminal is connected to the output terminal of the temperature reference voltage output unit, and whose second input terminal is connected to the tenth node; a control unit, connected to the output terminal of the voltage comparison unit, the constant voltage providing module and the constant current providing module, and used to control the constant voltage providing module to output a constant voltage and / or control the constant current providing module to output a constant current according to the output signal of the voltage comparison unit.
[0017] In an exemplary embodiment of the present disclosure, the voltage comparison unit includes a first comparator, and the temperature reference voltage output unit includes: a first multiplexer, having m input terminals, the first input terminal is connected to the eleventh node, the mth input terminal is connected to the twelfth node, adjacent input terminals are connected through measuring resistors, and the resistance value of each measuring resistor is the same, m≥2; a temperature reference signal output unit, connected to the reference voltage, for outputting a first temperature reference signal through the eleventh node, and outputting a second temperature reference signal through the twelfth node, the first temperature reference signal corresponds to a first temperature, and the second temperature reference signal corresponds to a second temperature; wherein the first multiplexer is connected to the control unit, for being controlled by the control unit to output a signal of one of the input terminals to the first input terminal of the first comparator, and the second input terminal of the first comparator is connected to the tenth node.
[0018] In an exemplary embodiment of the present disclosure, the voltage comparison unit includes m+1 comparators, and the temperature reference voltage output unit includes: m measuring resistors connected in series, each of the measuring resistors has the same resistance value, the first end of the first measuring resistor is connected to the eleventh node, and the second end of the mth measuring resistor is connected to the twelfth node, m≥2; a temperature reference signal output unit, connected to a reference voltage, for outputting a first temperature reference signal through the eleventh node and a second temperature reference signal through the twelfth node, the first temperature reference signal corresponds to a first temperature, and the second temperature reference signal corresponds to a second temperature; wherein the first input end of each of the comparators in the voltage comparison unit is connected to the first end or the second end of a measuring resistor, and the second input end of each of the comparators is connected to the tenth node.
[0019] In an exemplary embodiment of the present disclosure, the temperature reference signal output unit includes: i constant temperature resistors connected in series, the second end of the first constant temperature resistor is grounded, and the first end of the i-th constant temperature resistor is connected to the reference voltage, i≥1; a second multiplexer connected to the control unit, having j input ends, each of which is connected to the first end or the second end of the constant temperature resistor, j≥1; a sixth amplifier, whose in-phase input end is connected to the output end of the second multiplexer, and whose reverse input end is connected to the eleventh node; a sixth switch tube, whose first end is connected to the eleventh node, whose second end is grounded, and whose control end is connected to the output end of the sixth amplifier; a third multiplexer connected to the control unit, having k input ends, each of which is connected to the first end or the second end of the constant temperature resistor, k≥1; a seventh amplifier, whose in-phase input end is connected to the output end of the third multiplexer, and whose reverse input end is connected to the twelfth node; a seventh switch tube, whose first end is connected to the power supply voltage, whose second end is connected to the twelfth node, and whose control end is connected to the output end of the seventh amplifier.
[0020] In an exemplary embodiment of the present disclosure, the oscillation module includes: n inverters connected in series, the output end of the nth inverter is connected to the input end of the first inverter, wherein each of the inverters includes at least an upper switch tube and a lower switch tube, the upper switch tube and the lower switch tube each have a first end, a second end and a control end, the second end of the upper switch tube and the first end of the lower switch tube are both connected to the output end of the inverter, the control end of the upper switch tube and the control end of the lower switch tube are both connected to the input end of the inverter, and n is an odd number greater than or equal to 1; a left current mirror switch tube, the first end and the control end are both connected to the output end of the constant current providing module, and the second end is grounded; a right current mirror switch tube, the control end is connected to the output end of the constant current providing module end, the first end is connected to the thirteenth node, and the second end is grounded; an eighth switch tube, the first end is connected to the output end of the constant voltage providing module, and the second end and the control end are both connected to the thirteenth node; n upper control switch tubes, the first end of each of the upper control switch tubes is connected to the output end of the constant voltage providing module, the second end of each of the upper control switch tubes is connected to the first end of an upper switch tube of the inverter, and the control end of each of the upper control switch tubes is connected to the thirteenth node; n lower control switch tubes, the first end of each of the lower control switch tubes is connected to the second end of a lower switch tube of the inverter, the second end of each of the lower control switch tubes is grounded, and the control end of each of the lower control switch tubes is connected to the output end of the constant current providing module.
[0021] The oscillation circuit provided in the embodiment of the present disclosure uses a constant voltage providing module and a constant current providing module that are not affected by temperature to provide a constant voltage and a constant current to the oscillation module respectively, so as to avoid the oscillation signal from changing due to temperature changes, thereby effectively improving the accuracy of the oscillation signal.
[0022] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0024] Figure 1 Schematic diagram of the structure of an oscillation circuit in an exemplary embodiment of the present disclosure.
[0025] Figure 2 It is a schematic diagram of the structure of an oscillation circuit in another embodiment of the present disclosure.
[0026] Figure 3A It is a structural schematic diagram of a constant voltage providing module in one embodiment of the present disclosure.
[0027] Figure 3B It is a structural schematic diagram of a constant current providing module in one embodiment of the present disclosure.
[0028] Figure 4 It is a schematic diagram of the structure of the first amplifier circuit in one embodiment of the present disclosure.
[0029] Figure 5 It is a schematic diagram of the structure of the second amplifier circuit in one embodiment of the present disclosure.
[0030] Figure 6 It is a structural schematic diagram of a current bias unit in one embodiment of the present disclosure.
[0031] Fig. 7A Schematic diagram of the structure of a reference circuit in one embodiment of the present disclosure.
[0032] Figure 7B It is a schematic diagram of the structure of a reference circuit in another embodiment of the present disclosure.
[0033] Figure 8 It is a schematic diagram of the structure of a temperature calibration module in one embodiment of the present disclosure.
[0034] Fig. 9 It is a schematic diagram of the structure of a temperature reference voltage output unit in one embodiment of the present disclosure.
[0035] Fig.10 It is a schematic diagram of the structure of a temperature reference voltage output unit in another embodiment of the present disclosure.
[0036] Fig.11 It is a structural schematic diagram of a temperature reference signal providing unit in one embodiment of the present disclosure.
[0037] Fig.12 It is a structural schematic diagram of an oscillation module in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0038] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0039] In addition, the accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or micro control unit devices.
[0040] The exemplary embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0041] Figure 1 Schematic diagram of the structure of an oscillation circuit in an exemplary embodiment of the present disclosure.
[0042] refer to Figure 1 , the oscillation circuit 100 may include:
[0043] A constant voltage providing module 11, used for outputting a constant voltage V;
[0044] A constant current providing module 12, used for outputting a constant current I;
[0045] The oscillation module 13 is connected to the constant voltage providing module 11 and the constant current providing module 12, and is used to generate an oscillation signal of a preset frequency according to the constant voltage V and the constant current I.
[0046] In the disclosed embodiment, the constant voltage V and the constant current I are not affected by temperature. Therefore, the oscillation signal output by the oscillation module 13 can overcome the influence of temperature and avoid output frequency changes when the temperature changes greatly.
[0047] Figure 2 It is a schematic diagram of the structure of an oscillation circuit in another embodiment of the present disclosure.
[0048] refer to Figure 2 In one embodiment, the oscillating circuit 200 may include:
[0049] A constant voltage providing module 11, used for outputting a constant voltage V;
[0050] A constant current providing module 12, used for outputting a constant current I;
[0051] An oscillation module 13, connected to the constant voltage providing module 11 and the constant current providing module 12, and configured to generate an oscillation signal of a preset frequency according to the constant voltage and the constant current;
[0052] A temperature calibration module 14, connected to the constant voltage providing module 11 and the constant current providing module 12, for detecting the ambient temperature and calibrating the constant voltage providing module 11 and the constant current providing module 12 according to the ambient temperature;
[0053] The reference circuit 15 is used to provide a first reference voltage Vref1 and a second reference voltage Vref2 to the constant voltage providing module 11 and the constant current providing module 12 respectively.
[0054] exist Figure 2 In the illustrated embodiment, the constant voltage providing module 11 and the constant current providing module 12 are controlled by the temperature calibration module 14 to generate a constant voltage V and a constant current I that are not temperature controlled. The reference circuit 15 provides reference voltages for the constant voltage providing module 11 and the constant current providing module 12, respectively. In some embodiments, the first reference voltage Vref1 provided for the constant voltage providing module 11 and the second reference voltage Vref2 provided for the constant current providing module 12 are equal.
[0055] The embodiment of the present disclosure utilizes the temperature calibration module 14 to perform current and voltage calibration on the oscillation circuit within the full temperature range, thereby obtaining an oscillation signal that is independent of temperature.
[0056] Figure 3A It is a structural schematic diagram of a constant voltage providing module in one embodiment of the present disclosure.
[0057] refer to Figure 3A In one embodiment, the constant voltage providing module 11 may include:
[0058] The first amplifying unit 111 is connected to the reference circuit 15 and the temperature calibration module 14 and is used to output a first transition voltage V1 with a zero temperature coefficient according to the first reference voltage Vref1;
[0059] The voltage regulator circuit 112 is connected to the first amplifying unit 111 and outputs a constant voltage V according to the first transition voltage V1.
[0060] In one embodiment, the voltage regulator circuit 112 can be implemented, for example, by a low dropout regulator (LDO). The input end of the LDO is connected to the output end of the first amplification unit 111 for inputting the first transition voltage V1, and the output end of the LDO is used to output a constant voltage V. For the LDO, when its input voltage is not affected by temperature, its output voltage can also remain stable. Therefore, the first transition voltage V1 needs to be unaffected by temperature, that is, the first transition voltage needs to have a zero temperature coefficient. Since an absolute zero temperature coefficient is difficult to achieve, the zero temperature coefficient in the embodiment of the present disclosure may also refer to a smaller temperature coefficient close to zero, which does not affect the normal operation of the circuit. For example, it can be controlled within the operating temperature range, and the voltage change of the first transition voltage V1 affected by temperature is within the range of ±5%.
[0061] In other embodiments, the voltage regulator circuit 112 may also be in other forms, and the present disclosure is not limited thereto.
[0062] Figure 3B It is a structural schematic diagram of a constant current providing module in one embodiment of the present disclosure.
[0063] refer to Figure 3B In one embodiment, the constant current providing module 12 may include:
[0064] The second amplifying unit 121 is connected to the reference circuit 15 and the temperature calibration module 14 and is used to output a second transition voltage V2 with a positive temperature coefficient according to the second reference voltage Vref2;
[0065] The current bias unit 122 is connected to the second amplifying unit 121 and outputs a constant current I according to the second transition voltage V2.
[0066] The circuit embodiments of the first amplifying unit 111 , the second amplifying unit 121 , and the current biasing unit 122 are introduced below.
[0067] Figure 4 It is a schematic diagram of the structure of the first amplifier circuit in one embodiment of the present disclosure.
[0068] refer to Figure 4 In one embodiment, the first amplification unit 111 may include:
[0069] A first amplifier OP1, a non-inverting input terminal connected to the reference circuit 15, an inverting input terminal connected to the first node N1, an output terminal connected to the first node N1 via a first resistor R1, and the first node N1 is grounded via a second resistor R2;
[0070] The first resistor R1 and the second resistor R2 are both variable resistors and their control ends are connected to the temperature calibration module 14 . The resistance values are controlled by the temperature calibration module 14 . The output end of the first amplifier OP1 is connected to the input end of the regulator circuit 112 .
[0071] Due to the virtual short and virtual disconnect characteristics of the amplifier input terminal, the voltage of the first node N1 can always be equal to the first reference voltage Vref1 provided by the reference circuit 15. The first reference voltage Vref1 will change due to the influence of temperature. Therefore, the temperature coefficient of the first transition voltage V1 outputted from the output terminal of the first amplifier OP1 can be adjusted by adjusting the resistance values of R1 and R2. Figure 3A According to the analysis of the embodiment shown, the first transition voltage V1 needs to maintain a zero temperature coefficient. Since when the temperature calibration module 14 adjusts the values of R1 and R2 according to the real-time temperature, the ratio of the voltage of the first node N1 (the first reference voltage Vref1) to the first transition voltage V1 is adjusted, therefore, when the first reference voltage Vref1 changes due to temperature control, the temperature calibration module 14 can adjust the values of R1 and R2 according to the real-time temperature to maintain the first transition voltage V1 substantially unchanged (for example, the voltage change affected by temperature is within the range of ±5%), to avoid the first transition voltage V1 being affected by temperature, that is, to maintain the first transition voltage V1 as a zero temperature coefficient (in the embodiment disclosed herein, a temperature coefficient close to zero).
[0072] Figure 5 It is a schematic diagram of the structure of the second amplifier circuit in one embodiment of the present disclosure.
[0073] refer to Figure 5 In one embodiment, the second amplification unit 121 may include:
[0074] A second amplifier OP2, having a non-inverting input terminal connected to the reference circuit 15, an inverting input terminal connected to the second node N2, an output terminal connected to the second node N2 via a third resistor R3, and the second node N2 is grounded via a fourth resistor R4;
[0075] The third resistor R3 and the fourth resistor R4 are both variable resistors and their control ends are connected to the temperature calibration module 14 , and their resistance values are controlled by the temperature calibration module 14 ; the output end of the second amplifier OP2 is connected to the input end of the current bias unit 122 .
[0076] Due to the virtual short and virtual disconnect characteristics of the amplifier input terminal, the voltage of the second node N2 can always be equal to the second reference voltage Vref2 provided by the reference circuit 15. The second reference voltage Vref2 will change due to the influence of temperature, so the temperature coefficient of the second transition voltage V2 outputted from the output terminal of the second amplifier OP2 can be adjusted by adjusting the resistance values of R3 and R4.
[0077] According to the following Figure 6 According to the analysis of the embodiment shown, the temperature coefficient of the second transition voltage V2 should be the same as the temperature coefficient of the fifth resistor R5. When the temperature calibration module 14 adjusts the values of R3 and R4 according to the real-time temperature, the ratio of the voltage of the second node N2 (the second reference voltage Vref2) to the second transition voltage V2 is adjusted. Therefore, when the second reference voltage Vref2 changes under temperature control, the temperature calibration module 14 can adjust the values of R3 and R4 according to the real-time temperature to maintain the temperature coefficient of the second transition voltage V2 the same as the temperature coefficient of the fifth resistor R5 in the subsequent current bias module 122. When the fifth resistor R5 has a positive temperature coefficient, the second transition voltage V2 also has a positive temperature coefficient.
[0078] Figure 6 It is a structural schematic diagram of a current bias unit in one embodiment of the present disclosure.
[0079] refer to Figure 6 In one embodiment, the current bias unit 122 may include:
[0080] A third amplifier OP3, whose inverting input terminal is connected to the second amplifying unit 121, whose non-inverting input terminal is connected to the third node N3, and whose output terminal is connected to the fourth node N4;
[0081] A first switch tube M1, a first end of which is connected to a power supply voltage, a second end of which is connected to a third node N3, and a control end of which is connected to a fourth node N4;
[0082] A second switch tube M2, a first end of which is connected to the power supply voltage, a second end of which is connected to the oscillation module 13, and a control end of which is connected to the fourth node N4;
[0083] The fifth resistor R5 has a first end connected to the third node N3 and a second end grounded.
[0084] exist Figure 6 In the illustrated embodiment, the input characteristics of the third amplifier OP3 are used to obtain a constant current I at the third node N3 according to the ratio of the second transition voltage V2 to the fifth resistor R5, thereby further constructing a current mirror structure through the first switch tube M1 and the second switch tube M2, and outputting the constant current I to the oscillation module 13 through the second end of the second switch tube M2.
[0085] Since the constant current I is implemented based on the current mirror, the current value can be guaranteed to be stable; since the current value of the constant current I is obtained according to the ratio of the second transition voltage V2 and the fifth resistor R5, and the fifth resistor R5 is usually a positive temperature coefficient element, when the temperature coefficient of the second transition voltage V2 is controlled to be the same as that of the fifth resistor R5, the constant current I can remain stable. When the fifth resistor R5 is a negative temperature coefficient element, the second transition voltage V2 can also be controlled to have a negative temperature coefficient and the absolute value of the temperature coefficient is the same as the absolute value of the temperature coefficient of the fifth resistor R5.
[0086] Depend on Figure 4 and Figure 5 As can be seen from the illustrated embodiment, the values of the first transition voltage V1 and the second transition voltage V2 are both controlled by the temperature calibration module 14 , so the voltage regulator circuit 112 and the current bias unit 122 can output a stable constant voltage V and a constant current I, respectively.
[0087] The first reference voltage Vref1 provided by the reference circuit 15 to the first amplifier unit 111 and the second reference voltage Vref2 provided to the second amplifier unit 121 may be equal or unequal. To simplify the circuit, the first reference voltage Vref1 may be equal to the second reference voltage Vref2, and the present disclosure does not impose any special limitation on this.
[0088] Fig. 7A and Figure 7B Schematic diagram of the structure of the reference circuit in the embodiment of the present disclosure.
[0089] refer to Fig. 7A In one embodiment, the reference circuit 15 may include:
[0090] A third switch tube M3, a first end of which is connected to the power supply voltage, a second end of which is connected to the fifth node N5, and a control end of which is connected to the sixth node N6;
[0091] A fourth switch tube M4, a first end of which is connected to the power supply voltage, a second end of which is connected to the seventh node N7, and a control end of which is connected to the sixth node N6;
[0092] A first bipolar transistor T1, having an emitter connected to the fifth node N5, and a collector and a base grounded;
[0093] A second bipolar transistor T2, the emitter of which is connected to the seventh node N7 via the sixth resistor R6, and the collector and the base of which are grounded;
[0094] A fifth switch tube M5, a first end of which is connected to the power supply voltage, a second end of which is connected to the ninth node N9, and a control end of which is connected to the sixth node N6;
[0095] A third bipolar transistor T3, the emitter of which is connected to the ninth node N9 via the seventh resistor R7, and the collector and the base of which are grounded;
[0096] The fourth amplifier OP4 has a non-inverting input terminal connected to the fifth node N5, an inverting input terminal connected to the seventh node N7, and an output terminal connected to the sixth node N6.
[0097] Fig. 7AThe embodiment shown is implemented based on a bandgap voltage reference circuit (Bandgap voltage reference / Bandgap). The left part 151 of the circuit is used to provide a constant current, and the right part 152 of the circuit is used to output a voltage that is less affected by temperature based on the constant current. Fig. 7A In the illustrated embodiment, the voltage outputted from the ninth node N9 may be used as the first reference voltage Vref1 and the second reference voltage Vref2 .
[0098] In order to maintain the stability of the voltage outputted from the ninth node N9, in addition to using the circuit 151 to provide a constant current, it is also necessary to maintain the impedance of the circuit 152 to be unaffected by temperature. Therefore, the seventh resistor R7 can be set as a positive temperature coefficient element, and the third bipolar transistor T3 can be set as a negative temperature coefficient element, and the absolute values of the temperature coefficients of the two can be equal. When the constant current outputted through the second end of the fifth switch tube M5 flows through the seventh resistor R7 and the third bipolar transistor T3, the voltage formed on the seventh resistor R7 and the voltage formed on the third bipolar transistor T3, which are affected by temperature, can offset each other, thereby outputting a stable voltage at the ninth node N9.
[0099] In one embodiment, in order to cope with the change in the constant current provided by circuit 151 that may be caused by the influence of temperature, or to overcome the process errors of the seventh resistor R7 and the third bipolar transistor T3, the seventh resistor R7 can be set as an adjustable resistor, thereby achieving flexible adjustment of the voltage outputted by the ninth node N9.
[0100] from Fig. 7A It can be seen that the collector and base of the first bipolar transistor T1, the second bipolar transistor T2, and the third bipolar transistor T3 are all grounded, which is equivalent to a PN junction. Therefore, in another embodiment, the diode can be used to achieve Fig. 7A The function of a bipolar transistor.
[0101] refer to Figure 7B In another embodiment, the first bipolar transistor T1, the second bipolar transistor T2, and the third bipolar transistor T3 in the reference circuit 15 can be equivalently replaced by the first diode D1, the second diode D2, and the third diode D3, and the functions remain unchanged.
[0102] Figure 8 It is a schematic diagram of the structure of a temperature calibration module in one embodiment of the present disclosure.
[0103] refer to Figure 8 In one embodiment, the temperature calibration module 14 may include:
[0104] A fifth amplifier OP5, a non-inverting input terminal connected to the real-time temperature voltage Vt, and an inverting input terminal and an output terminal connected to a tenth node N10;
[0105] A temperature reference voltage output unit 141, used for outputting a temperature reference voltage;
[0106] A voltage comparison unit 142, a first input terminal connected to the output terminal of the temperature reference voltage output unit 141, and a second input terminal connected to the tenth node N10;
[0107] The control unit 143 is connected to the output end of the voltage comparison unit 142, the constant voltage providing module 11 and the constant current providing module 12, and is used to control the constant voltage providing module 11 to output a constant voltage and / or control the constant current providing module 12 to output a constant current according to the output signal of the voltage comparison unit 142.
[0108] exist Figure 8 In the illustrated embodiment, the related circuits of the fifth amplifier OP5 are used to provide real-time temperature information. Therefore, the voltage input to the non-inverting input terminal of the fifth amplifier OP5 can be set to a voltage that is not temperature-adjusted, such as the voltage at the fifth node N5 in the embodiment shown in FIG. 7 . The disclosed embodiment names this voltage as the real-time temperature voltage Vt.
[0109] The temperature reference voltage output unit 141 is used to output temperature reference voltages corresponding to multiple temperatures, so that the voltage comparison unit 142 determines the real-time temperature corresponding to the voltage of the tenth node N10 by comparing the voltage of the tenth node N10 with multiple temperature reference voltages corresponding to multiple temperatures output by the temperature reference voltage output unit 141, that is, to achieve temperature detection, so that the control unit 143 adjusts the resistance of the variable resistors in the first amplification unit 111 and the second amplification unit 121 according to the real-time temperature, thereby achieving stable output of the constant voltage V and the constant current I.
[0110] Next, a circuit embodiment of the temperature reference voltage output unit is introduced.
[0111] Fig. 9 It is a schematic diagram of the structure of a temperature reference voltage output unit in one embodiment of the present disclosure.
[0112] refer to Fig. 9 In one embodiment, when the voltage comparison unit 142 is implemented by only one comparator (named as the first comparator in the embodiment of the present disclosure), the temperature reference voltage output unit 141 may include:
[0113] The first multiplexer 1411 has m input terminals, the first input terminal is connected to the eleventh node N11, the mth input terminal is connected to the twelfth node N12, adjacent input terminals are connected through a measuring resistor Rz, and the resistance value of each measuring resistor Rz is the same, m≥2;
[0114] A temperature reference signal output unit 1412, connected to a reference voltage Vref, configured to output a first temperature reference signal through an eleventh node N11 and a second temperature reference signal through a twelfth node N12, wherein the first temperature reference signal corresponds to a first temperature and the second temperature reference signal corresponds to a second temperature;
[0115] The first multiplexer 1411 is connected to the control unit 143 and is used to output a signal at one input terminal to the first input terminal of the first comparator 142 under the control of the control unit 143. The second input terminal of the first comparator 142 is connected to the tenth node N10.
[0116] exist Fig. 9 In the illustrated embodiment, the first temperature reference signal is higher than the second temperature reference signal. The potential difference between the eleventh node N11 and the twelfth node N12 generates a current through the series-connected measuring resistors, and the current forms a divided voltage on each measuring resistor, and the voltage corresponding to each input terminal of the first multiplexer 1411 is the sum of the divided voltages on one or more measuring resistors Rz between the input terminal and the eleventh node N11.
[0117] The control unit 143 controls the first multiplexer 1411 to convert and output the voltage corresponding to each input terminal to the first input terminal of the first comparator. When the voltage output by the first multiplexer 1411 is greater than the voltage of the tenth node N10, the control unit 143 detects that the first comparator outputs the first value; when the voltage output by the first multiplexer 1411 is less than the voltage of the tenth node N10, the control unit 143 detects that the first comparator outputs the second value. By determining the conversion node of the first value and the second value, it can be determined which input terminal voltage of the first multiplexer 1411 the tenth node N10 is closest to, and then the temperature indicated by the voltage of the input terminal, that is, the temperature indicated by the voltage of the tenth node N10 can be determined by the voltage of the input terminal, the first temperature reference signal and the second temperature reference signal.
[0118] Fig.10 It is a schematic diagram of the structure of a temperature reference voltage output unit in another embodiment of the present disclosure.
[0119] refer to Fig.10 , when the voltage comparison unit is implemented by m+1 comparators, the temperature reference voltage output unit 141 may include:
[0120] m measuring resistors Rz connected in series, each measuring resistor Rz has the same resistance value, a first end of the first measuring resistor Rz is connected to the eleventh node N11, a second end of the mth measuring resistor Rz is connected to the twelfth node N12, m≥2;
[0121] A temperature reference signal output unit 1412, connected to a reference voltage Vref, configured to output a first temperature reference signal through an eleventh node N11 and a second temperature reference signal through a twelfth node N12, wherein the first temperature reference signal corresponds to a first temperature and the second temperature reference signal corresponds to a second temperature;
[0122] The first input terminal of each comparator is connected to the first end or the second end of a measuring resistor Rz, and the second input terminal of each comparator is connected to the tenth node N10.
[0123] The control unit 143 reads the output of each comparator in sequence, and can quickly determine the voltage between which two measuring resistors the voltage of the tenth node N10 is closest to, and further determine the temperature corresponding to the voltage of the tenth node N10.
[0124] exist Fig. 9 and Fig.10 In the illustrated embodiment, the first temperature reference signal and the second temperature reference signal are provided by the temperature reference signal providing unit 1412, the first temperature reference signal corresponds to a first temperature, the second temperature reference signal corresponds to a second temperature, and the first temperature is higher than the second temperature (i.e., the temperature indicated by the potential at N11 is higher than the temperature indicated by the potential at N12).
[0125] Fig.11 It is a structural schematic diagram of a temperature reference signal providing unit in one embodiment of the present disclosure.
[0126] refer to Fig.11 In one embodiment, the temperature reference signal providing unit 1412 includes:
[0127] i constant temperature resistors Rt are connected in series, the second end of the first constant temperature resistor Rt is grounded, and the first end of the i-th constant temperature resistor Rt is connected to the reference voltage Vref, i≥1;
[0128] The second multiplexer 14121 is connected to the control unit 143 and has j input terminals, each of which is connected to the first terminal or the second terminal of a constant temperature resistor Rt, and j≥1;
[0129] A sixth amplifier OP6, having a non-inverting input terminal connected to the output terminal of the second multiplexer 14121, and a reverse input terminal connected to the eleventh node N11;
[0130] A sixth switch tube M6, having a first end connected to the eleventh node N11, a second end connected to the ground, and a control end connected to the output end of the sixth amplifier OP6;
[0131] The third multiplexer 14122 is connected to the control unit 143 and has k input terminals, each of which is connected to the first terminal or the second terminal of a constant temperature resistor Rt, k≥1;
[0132] A seventh amplifier OP7, a non-inverting input terminal connected to the output terminal of the third multiplexer 14122, and a reverse input terminal connected to the twelfth node N12;
[0133] The seventh switch tube M7 has a first end connected to the power supply voltage, a second end connected to the twelfth node N12, and a control end connected to the output end of the seventh amplifier OP7.
[0134] In the embodiment of the present disclosure, the reference voltage Vref is only used to provide voltage positioning, which can be directly implemented by using the first reference voltage Vref1 or the second reference voltage Vref2, or by using other voltages, and the present disclosure does not impose any special restrictions on this. The reference voltage Vref can be directly connected to the temperature reference signal providing unit 1412, or it can be connected to the temperature reference signal providing unit 1412 through the eighth amplifier OP8 (such as Fig.11 The follower formed by (as shown) is connected to the temperature reference signal providing unit 1412, and the present disclosure does not impose any special limitation on this.
[0135] The operation mode of the second multiplexer 14121 and the third multiplexer 14122 and their corresponding constant temperature resistors Rt is the same as Fig. 9 The embodiments shown are the same and will not be described again. The voltage stabilizing circuit constructed by the sixth amplifier OP6, the seventh amplifier OP7, the sixth switch tube M6, and the seventh switch tube M7 can stabilize the voltage of the eleventh node N11 and the twelfth node N12 at the output voltage of the second multiplexer 14121 and the third multiplexer 14122, respectively. By using the control unit 143 to adjust the output ends of the second multiplexer 14121 and the third multiplexer 14122, and then adjusting the output voltage of the second multiplexer 14121 and the third multiplexer 14122, the voltage of the eleventh node N11 and the twelfth node N12 can be adjusted to achieve a more flexible temperature reference signal setting.
[0136] In the embodiment of the present disclosure, when a constant voltage V and a constant current I are used to generate a stable oscillation signal, the oscillation signal generating circuit needs to be modified.
[0137] Fig.12 It is a structural schematic diagram of an oscillation module in an embodiment of the present disclosure.
[0138] refer to Fig.12 In one embodiment, the oscillation module 13 may include:
[0139] n inverters 131 are connected in series, the output end of the nth inverter is connected to the input end of the first inverter, wherein each inverter 131 includes at least an upper switch tube and a lower switch tube, the upper switch tube and the lower switch tube each have a first end, a second end and a control end, the second end of the upper switch tube and the first end of the lower switch tube are both connected to the output end of the inverter 131, the control end of the upper switch tube and the control end of the lower switch tube are both connected to the input end of the inverter 131, and n is an odd number greater than or equal to 1;
[0140] The left switch tube ML of the current mirror has a first end and a control end connected to the output end of the constant current providing module 12, and a second end connected to the ground;
[0141] The current mirror right switch tube MR has a control end connected to the output end of the constant current providing module 12, a first end connected to the thirteenth node N13, and a second end grounded;
[0142] An eighth switch tube M8, a first end of which is connected to the output end of the constant voltage providing module 11, and a second end and a control end of which are both connected to the thirteenth node N13;
[0143] n upper control switch tubes MU, a first end of each upper control switch tube MU is connected to the output end of the constant voltage providing module 11, a second end is connected to the first end of an upper switch tube of an inverter 131, and a control end is connected to the thirteenth node N13;
[0144] There are n lower control switch tubes MD, each of which has a first end connected to the second end of a lower switch tube of an inverter 131 , a second end connected to ground, and a control end connected to the output end of the constant current providing module 12 .
[0145] The cyclic series inverter 131 provides an oscillation signal. The upper control switch tube MU is used to provide a stable high potential for the corresponding inverter 131 through a constant voltage V, and the control end of the lower control switch tube MD is controlled by a constant current I to provide a stable low potential for the corresponding inverter 131. The current mirror right switch tube MR is controlled by a constant current I to provide a stable control current for the thirteenth node N13, thereby controlling all the upper control switch tubes MU to stably output a constant voltage V.
[0146] By providing a constant voltage V and a constant current I that are not affected by temperature to each switch tube in the oscillation module 13 , the oscillation module 13 can output a constant oscillation signal, thereby improving the output quality of the oscillation signal.
[0147] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0148] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are to be considered exemplary only, and the true scope and concept of the present disclosure are indicated by the claims.
Claims
1. An oscillator circuit, characterized in that: include: A constant voltage supply module, used for outputting a constant voltage; A constant current supply module, used for outputting a constant current; an oscillation module, connected to the constant voltage providing module and the constant current providing module, and configured to generate an oscillation signal of a preset frequency according to the constant voltage and the constant current; a temperature calibration module, connected to the constant voltage providing module and the constant current providing module, for detecting the ambient temperature and calibrating the constant voltage providing module and the constant current providing module according to the ambient temperature; Wherein, the temperature calibration module comprises: A fifth amplifier, wherein the non-inverting input terminal is connected to the real-time temperature voltage, and the inverting input terminal and the output terminal are connected to the tenth node; A temperature reference voltage output unit, used for outputting a temperature reference voltage; a voltage comparison unit, wherein a first input terminal is connected to the output terminal of the temperature reference voltage output unit, and a second input terminal is connected to the tenth node; A control unit is connected to the output end of the voltage comparison unit, the constant voltage providing module and the constant current providing module, and is used to control the constant voltage providing module to output a constant voltage and / or control the constant current providing module to output a constant current according to the output signal of the voltage comparison unit.
2. The oscillation circuit according to claim 1, wherein: Also includes: The reference circuit is used to provide a first reference voltage and a second reference voltage to the constant voltage providing module and the constant current providing module respectively.
3. The oscillation circuit according to claim 2, wherein: The first reference voltage is equal to the second reference voltage.
4. The oscillation circuit according to claim 2, characterized in that The constant voltage providing module comprises: a first amplifying unit, connected to the reference circuit and the temperature calibration module, and configured to output a first transition voltage with a zero temperature coefficient according to the first reference voltage; A voltage regulator circuit is connected to the first amplifying unit and is used to output the constant voltage according to the first transition voltage.
5. The oscillation circuit according to claim 2, wherein: The constant current providing module comprises: a second amplifying unit, connected to the reference circuit and the temperature calibration module, and configured to output a second transition voltage with a positive temperature coefficient according to the second reference voltage; A current bias unit is connected to the second amplifying unit and is used to output the constant current according to the second transition voltage.
6. The oscillation circuit according to claim 4, characterized in that The first amplification unit comprises: A first amplifier, wherein a non-inverting input terminal is connected to the reference circuit, an inverting input terminal is connected to a first node, an output terminal is connected to the first node via a first resistor, and the first node is grounded via a second resistor; The first resistor and the second resistor are both variable resistors and their control ends are connected to the temperature calibration module, the resistance values are controlled by the temperature calibration module, and the output end of the first amplifier is connected to the input end of the voltage regulator circuit.
7. The oscillation circuit according to claim 5, characterized in that The second amplification unit comprises: A second amplifier, wherein a non-inverting input terminal is connected to the reference circuit, an inverting input terminal is connected to a second node, an output terminal is connected to the second node via a third resistor, and the second node is grounded via a fourth resistor; The third resistor and the fourth resistor are both variable resistors and their control ends are connected to the temperature calibration module, and their resistance values are controlled by the temperature calibration module. The output end of the second amplifier is connected to the input end of the current bias unit.
8. The oscillation circuit according to claim 5, characterized in that The current bias unit comprises: a third amplifier, wherein an inverting input terminal is connected to the second amplifying unit, a non-inverting input terminal is connected to the third node, and an output terminal is connected to the fourth node; A first switch tube, a first end of which is connected to the power supply voltage, a second end of which is connected to the third node, and a control end of which is connected to the fourth node; A second switch tube, a first end of which is connected to the power supply voltage, a second end of which is connected to the oscillation module, and a control end of which is connected to the fourth node; A fifth resistor has a first end connected to the third node and a second end connected to the ground.
9. The oscillation circuit according to claim 2, wherein: The reference circuit comprises: A third switch tube, a first end of which is connected to the power supply voltage, a second end of which is connected to the fifth node, and a control end of which is connected to the sixth node; a fourth switch tube, having a first end connected to the power supply voltage, a second end connected to the seventh node, and a control end connected to the sixth node; a first bipolar transistor, having an emitter connected to the fifth node, and a collector and a base grounded; a second bipolar transistor, wherein the emitter is connected to the seventh node via a sixth resistor, and the collector and the base are grounded; a fifth switch tube, having a first end connected to the power supply voltage, a second end connected to the ninth node, and a control end connected to the sixth node; a third bipolar transistor, the emitter of which is connected to the ninth node via a seventh resistor, and the collector and the base of which are grounded; The fourth amplifier has a non-inverting input terminal connected to the fifth node, an inverting input terminal connected to the seventh node, and an output terminal connected to the sixth node.
10. The oscillation circuit according to claim 1, wherein: The voltage comparison unit includes a first comparator, and the temperature reference voltage output unit includes: A first multiplexer having m input terminals, wherein the first input terminal is connected to the eleventh node, the mth input terminal is connected to the twelfth node, adjacent input terminals are connected via measuring resistors, and each of the measuring resistors has the same resistance value, m≥2; a temperature reference signal output unit, connected to a reference voltage, configured to output a first temperature reference signal through the eleventh node and a second temperature reference signal through the twelfth node, wherein the first temperature reference signal corresponds to a first temperature and the second temperature reference signal corresponds to a second temperature; The first multiplexer is connected to the control unit, and is used to output a signal of one of the input terminals to the first input terminal of the first comparator under the control of the control unit, and the second input terminal of the first comparator is connected to the tenth node.
11. The oscillation circuit according to claim 10, wherein: The voltage comparison unit includes m+1 comparators, and the temperature reference voltage output unit includes: m measuring resistors connected in series, each measuring resistor having the same resistance value, a first end of the first measuring resistor connected to the eleventh node, a second end of the mth measuring resistor connected to the twelfth node, and m≥2; a temperature reference signal output unit, connected to a reference voltage, configured to output a first temperature reference signal through the eleventh node and a second temperature reference signal through the twelfth node, wherein the first temperature reference signal corresponds to a first temperature and the second temperature reference signal corresponds to a second temperature; Wherein, the first input terminal of each comparator in the voltage comparison unit is connected to the first terminal or the second terminal of the measuring resistor, and the second input terminal of each comparator is connected to the tenth node.
12. The oscillator circuit according to claim 10 or 11, characterized in that: The temperature reference signal output unit comprises: i constant temperature resistors connected in series, the second end of the first constant temperature resistor is grounded, and the first end of the i-th constant temperature resistor is connected to the reference voltage, i≥1; A second multiplexer, connected to the control unit, having j input terminals, each of which is connected to a first terminal or a second terminal of the constant temperature resistor, and j≥1; a sixth amplifier, wherein a non-inverting input terminal is connected to the output terminal of the second multiplexer, and a reverse input terminal is connected to the eleventh node; a sixth switch tube, having a first end connected to the eleventh node, a second end grounded, and a control end connected to the output end of the sixth amplifier; A third multiplexer, connected to the control unit, having k input terminals, each of which is connected to a first terminal or a second terminal of the constant temperature resistor, k≥1; a seventh amplifier, wherein a non-inverting input terminal is connected to the output terminal of the third multiplexer, and a reverse input terminal is connected to the twelfth node; A seventh switch tube has a first end connected to the power supply voltage, a second end connected to the twelfth node, and a control end connected to the output end of the seventh amplifier.
13. The oscillator circuit according to any one of claims 1 to 11, characterized in that: The oscillation module comprises: n inverters connected in series, the output end of the nth inverter is connected to the input end of the first inverter, wherein each of the inverters comprises at least an upper switch tube and a lower switch tube, the upper switch tube and the lower switch tube each have a first end, a second end and a control end, the second end of the upper switch tube and the first end of the lower switch tube are both connected to the output end of the inverter, the control end of the upper switch tube and the control end of the lower switch tube are both connected to the input end of the inverter, and n is an odd number greater than or equal to 1; The left switch tube of the current mirror has a first end and a control end both connected to the output end of the constant current providing module, and a second end connected to ground; A right switch tube of the current mirror, having a control end connected to the output end of the constant current providing module, a first end connected to the thirteenth node, and a second end connected to ground; an eighth switch tube, a first end of which is connected to the output end of the constant voltage providing module, and a second end and a control end of which are both connected to the thirteenth node; n upper control switch tubes, wherein the first end of each of the upper control switch tubes is connected to the output end of the constant voltage providing module, the second end of each of the upper control switch tubes is connected to the first end of an upper switch tube of the inverter, and the control end of each of the upper control switch tubes is connected to the thirteenth node; n lower control switch tubes, the first end of each of the lower control switch tubes is connected to the second end of a lower switch tube of the inverter, the second end of each of the lower control switch tubes is grounded, and the control end of each of the lower control switch tubes is connected to the output end of the constant current providing module.
Citation Information
Patent Citations
Semiconductor device and control method of semiconductor device
CN108988826A
Oscillation circuit, microcomputer and electronic device
CN110011642A
