CN217183278U - Frequency discrimination circuit, clock correction circuit, chip and information processing device - Google Patents

Frequency discrimination circuit, clock correction circuit, chip and information processing device Download PDF

Info

Publication number
CN217183278U
CN217183278U CN202221038131.5U CN202221038131U CN217183278U CN 217183278 U CN217183278 U CN 217183278U CN 202221038131 U CN202221038131 U CN 202221038131U CN 217183278 U CN217183278 U CN 217183278U
Authority
CN
China
Prior art keywords
module
comparison
unit
signal
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202221038131.5U
Other languages
Chinese (zh)
Inventor
马克
简文明
张晋芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chipone Technology Beijing Co Ltd
Original Assignee
Chipone Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chipone Technology Beijing Co Ltd filed Critical Chipone Technology Beijing Co Ltd
Priority to CN202221038131.5U priority Critical patent/CN217183278U/en
Application granted granted Critical
Publication of CN217183278U publication Critical patent/CN217183278U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model relates to a frequency discrimination circuit, clock correction circuit, chip and information processing apparatus, the frequency discrimination circuit includes: the device comprises a comparison module, a reference module and a switched capacitor module; the first input end of the comparison module is electrically connected with the switched capacitor module, and the second input end of the comparison module is electrically connected with the reference module; the switched capacitor module is used for outputting a voltage to be detected to a first input end of the comparison module according to the frequency of a signal to be corrected input into the frequency discrimination circuit; the reference module is used for outputting reference voltage to the second input end according to a preset reference frequency; the comparison module is used for outputting a comparison result according to the voltage value of the first input end and the voltage value of the second input end. Through the utility model provides a frequency discrimination circuit can simplify the inside circuit structure of frequency discrimination circuit, and then reduces frequency discrimination circuit's manufacturing cost.

Description

Frequency discrimination circuit, clock correction circuit, chip and information processing device
Technical Field
The utility model relates to a clock circuit field especially relates to a frequency discrimination circuit, clock correction circuit, chip and information processing device.
Background
In the existing clock circuit, a frequency discrimination circuit for determining the frequency of the clock signal in relation to the expected frequency is usually included, however, the existing frequency discrimination circuit has a complex internal circuit structure and high cost, and is not suitable for wide application.
In view of the above, it is desirable to provide a new frequency discriminator circuit to solve the problems of complex structure and high cost of the conventional frequency discriminator circuit.
SUMMERY OF THE UTILITY MODEL
According to an aspect of the present invention, there is provided a frequency discrimination circuit, the frequency discrimination circuit comprising: the device comprises a comparison module, a reference module and a switched capacitor module; the first input end of the comparison module is electrically connected with the switched capacitor module, and the second input end of the comparison module is electrically connected with the reference module; the switched capacitor module is used for outputting a voltage to be detected to a first input end of the comparison module according to the frequency of a signal to be corrected input into the frequency discrimination circuit; the voltage value of the voltage to be detected and the frequency of the signal to be corrected are in negative correlation; the reference module is used for outputting reference voltage to the second input end according to a preset reference frequency; the comparison module is used for outputting a comparison result according to the voltage value of the first input end and the voltage value of the second input end.
In one possible embodiment, the switched-capacitor module comprises: the switch capacitor unit is electrically connected with the first resistor unit; wherein the switched capacitor unit includes: a first switch, a second switch, and a capacitor; one end of the capacitor is electrically connected with the first resistance unit through the first switch, and the other end of the capacitor is grounded; one end of the second switch is electrically connected with the first resistor through the first switch, and the other end of the second switch is grounded; the first input end of the comparison module is connected to the joint of the switched capacitor unit and the first resistor unit; the first switch and the second switch are used for controlling the charging and discharging of the capacitor according to the signal to be corrected; wherein the capacitor is in a charged state with the first switch closed and the second switch open; the capacitor is in a discharge state when the second switch is closed and the first switch is open.
In a possible embodiment, the capacitor is in a charging state when the signal to be corrected is at a high level; in the case where the signal to be corrected is at a low level, the capacitor is in a discharge state.
In a possible embodiment, the voltage to be measured is equal to a voltage drop across an equivalent resistor of the switched capacitor unit, and a resistance value of the equivalent resistor of the switched capacitor unit is in negative correlation with the frequency of the signal to be corrected and in positive correlation with a capacitance value of a capacitor in the switched capacitor unit.
In one possible embodiment, the reference module comprises: the second resistance unit and the trimming resistance unit; the second resistance unit is electrically connected with the trimming resistance unit, and a second input end of the comparison module is connected to the connection position of the second resistance unit and the trimming resistance unit; the trimming resistance unit is used for determining the resistance value of the trimming resistance unit according to the preset reference frequency and outputting the reference voltage to the second input end of the comparison module; the reference voltage and the resistance value of the trimming resistance unit are in negative correlation with the preset reference frequency.
In one possible embodiment, the comparison module includes a first control unit, a second control unit, a comparison unit, and a switching unit; within a first preset time of the signal to be corrected, a first input end of the comparison module is electrically connected with a non-inverting input end of the comparison unit through the first control unit, and a second input end of the comparison module is electrically connected with an inverting input end of the comparison unit through the second control unit; within a second preset time of the signal to be corrected, a first input end of the comparison module is electrically connected with an inverted input end of the comparison unit through the first control unit, and a second input end of the comparison module is electrically connected with a non-inverted input end of the comparison unit through the second control unit; the input end of the switching unit is electrically connected with the output end of the comparison unit, and is used for generating and outputting a comparison result according to the comparison signal generated and output by the comparison unit within the first preset time, and generating and outputting the comparison result according to the inverted signal of the comparison signal generated and output by the comparison unit within the second preset time.
In a possible embodiment, the first preset time is a time when the comparison unit generates an odd number of comparison signals, and the second preset time is a time when the comparison unit generates an even number of comparison signals.
In one possible implementation, the frequency discriminator circuit further includes: and the voltage stabilizing module is connected to the joint of the switched capacitor module and the first input end of the comparison module and is used for reducing voltage fluctuation of the joint of the switched capacitor module and the first input end of the comparison module.
In one possible embodiment, the signal to be corrected is a clock signal.
According to another aspect of the present invention, there is provided a clock correction circuit, comprising the frequency discriminator circuit described in any one of the above paragraphs.
In one possible implementation, the clock correction circuit further includes: the input end of the clock control circuit is electrically connected with the output end of the comparison module, and the clock control circuit is used for generating and outputting a control value according to the comparison result; and the control end of the clock generating circuit is electrically connected with the output end of the clock control circuit, the output end of the clock generating circuit is electrically connected with the switched capacitor module, and the clock generating circuit is used for determining the frequency of the signal to be corrected according to the control value and outputting the signal to be corrected to the switched capacitor module.
In one possible implementation, the clock control circuit includes: the first input end of the register module is electrically connected with the output end of the comparison module, the second input end of the register module is electrically connected with the output end of the clock generation circuit, and the register module is used for digitizing the comparison result output by the comparison module according to the signal to be corrected and outputting the digitized comparison result; and the input end of the digital integration module is electrically connected with the output end of the register module, the output end of the digital integration module is electrically connected with the control end of the clock generation circuit, and the digital integration module is used for generating an accumulated value according to each digitized comparison result and generating a control value corresponding to the sum of the accumulated values under the condition that the absolute value of the sum of the accumulated values is greater than a preset threshold value.
In one possible implementation, the clock generation circuit includes: the control end of the clock generation module is electrically connected with the output end of the digital integration module, and the clock generation module is used for determining the frequency of a reference clock signal according to a control value and outputting the reference clock signal; and the input end of the frequency removal module is electrically connected with the output end of the clock generation module, the output end of the frequency removal module is electrically connected with the switched capacitor module, and the frequency removal module is used for outputting the signal to be corrected according to a preset divisor and the reference clock signal.
In a possible implementation, the clock correction circuit further includes a relationship determination module, and a signal control module; the relationship determination module is electrically connected with the signal control module; the relation determining module is used for determining a numerical value corresponding relation according to a variation value of the control value output by the digital integrating module under the condition that the signal to be corrected is corrected and the preset divisor of the frequency dividing module is changed; the numerical value corresponding relation is the corresponding relation between the change value of the preset divisor and the change value of the control value; and the signal control module is used for determining the control value currently output by the digital integration module according to the numerical value corresponding relation and the currently preset divisor of the frequency dividing module.
According to another aspect of the present invention, there is provided a chip, the chip includes: the clock correction circuit of any of the preceding claims.
According to another aspect of the present invention, there is provided an information processing apparatus, comprising: the chip described above.
In one possible embodiment, the information processing apparatus is applied to at least one electronic apparatus in a group consisting of a smart phone, a smart tv, a smart watch, a smart bracelet, a tablet computer, a desktop computer, an industrial computer, a notebook computer, an all-in-one computer, an access control apparatus, a wireless network device, and a product around a wireless computer.
The utility model provides a frequency discrimination circuit can be through the magnitude relation of the magnitude of the voltage value of confirming the voltage of awaiting measuring and reference voltage, and then confirm the speed relation of presetting reference frequency and the frequency of waiting to rectify the signal to the realization is treated the frequency discrimination of rectifying the signal. The circuit structure of the switched capacitor module for converting the signal to be corrected into the voltage to be measured is simple, and no complex electric element is needed in the switched capacitor module, so that the circuit structure in the frequency discrimination circuit can be simplified, and the manufacturing cost of the frequency discrimination circuit is further reduced.
Other features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the present invention and, together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic structural diagram of a frequency discriminator circuit according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a frequency discriminator circuit according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a switched capacitor module according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a reference module according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a clock correction circuit according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a clock correction circuit according to an embodiment of the present invention.
Detailed Description
Various exemplary embodiments, features and aspects of the present invention will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present invention.
Referring to fig. 1, the present invention provides a frequency discrimination circuit 1, wherein the frequency discrimination circuit 1 includes: a comparison module 11, a switched capacitor module 12 and a reference module 13. The first input terminal of the comparing module 11 is electrically connected to the switched capacitor module 12, and the second input terminal of the comparing module 11 is electrically connected to the reference module 13.
Illustratively, the switched capacitor module 12 is configured to output a voltage to be measured to the first input terminal of the comparison module 11 according to the frequency of the signal to be corrected input to the frequency discriminator circuit 1. The voltage value of the voltage to be measured is in negative correlation with the frequency of the signal to be corrected. In other words, by adjusting the frequency of the signal to be corrected inputted into the frequency discriminator circuit 1, the voltage value of the voltage to be measured can be adjusted, i.e., the frequency of the signal to be corrected is increased, the voltage value of the voltage to be measured can be reduced, the frequency of the signal to be corrected can be reduced, and the voltage value of the voltage to be measured can be increased.
For example, the signal to be corrected input to the frequency discriminator 1 may be a clock signal, which may be generated by the clock generating circuit 2, and output to the switched capacitor module 12 of the frequency discriminator 1 (see the clock generating circuit 2 shown in fig. 5 and 6).
Illustratively, the reference module 13 is configured to output a reference voltage to the second input terminal according to a preset reference frequency. Optionally, predetermine the reference frequency and can confirm according to actual conditions, the utility model discloses do not restrict to this.
Illustratively, the reference voltage output by the reference module 13 is inversely related to the preset reference frequency. In other words, the larger the preset reference frequency is, the smaller the voltage value of the reference voltage is, and the smaller the preset reference frequency is, the larger the voltage value of the reference voltage is.
For example, when the frequency of the signal to be corrected is the preset reference frequency, the voltage value of the reference voltage is equal to the voltage value of the voltage to be measured. For example: the preset reference frequency is 100MHz, and if the frequency of the signal to be corrected is also 100MHz, the voltage value of the voltage to be measured output by the switched capacitor module 12 is equal to 5v, and then the voltage value of the reference voltage corresponding to the preset reference frequency is 5 v.
Illustratively, the comparing module 11 is configured to output a comparison result according to the voltage value of the first input terminal and the voltage value of the second input terminal. In other words, the comparison result is a signal output by the comparison module 11 according to the magnitude relationship between the voltage value of the voltage to be measured at the first input terminal and the voltage value of the reference voltage at the second input terminal.
For example, since the voltage value of the reference voltage is equal to the voltage value of the voltage to be measured when the frequency of the signal to be corrected is the preset reference frequency, the corresponding relationship between the voltage value of the reference voltage and the frequency is consistent with the corresponding relationship between the voltage value of the voltage to be measured and the frequency. In other words, when the preset reference frequency is equal to the frequency of the signal to be corrected, the voltage value of the reference voltage is equal to the voltage value of the voltage to be measured. Since the voltage value of the voltage to be measured is in negative correlation with the frequency of the signal to be corrected, and the voltage value of the reference voltage is in negative correlation with the preset reference frequency, the preset reference frequency is greater than the frequency of the signal to be corrected when the comparison result indicates that the voltage value of the voltage to be measured is greater than the voltage value of the reference voltage. On the contrary, when the comparison result shows that the voltage value of the voltage to be measured is smaller than the voltage value of the reference voltage, the preset reference frequency is smaller than the frequency of the signal to be corrected.
The utility model provides a frequency discrimination circuit can be through the magnitude relation of the magnitude of the voltage value of confirming the voltage of awaiting measuring and reference voltage, and then confirm the speed relation of presetting reference frequency and the frequency of waiting to rectify the signal to the realization is treated the frequency discrimination of rectifying the signal. The circuit structure of the switched capacitor module for converting the signal to be corrected into the voltage to be measured is simple, and no complex electric element is needed in the switched capacitor module, so that the circuit structure in the frequency discrimination circuit can be simplified, and the manufacturing cost of the frequency discrimination circuit is further reduced.
In one possible implementation, referring to fig. 2, the frequency discriminator circuit 1 further includes: and a voltage stabilization module 14.
Illustratively, the voltage stabilizing module 14 is connected to a connection between the switched capacitor module 12 and the first input terminal of the comparison module 11, and is configured to reduce voltage fluctuation at the connection between the switched capacitor module 12 and the first input terminal of the comparison module 11.
Alternatively, the voltage stabilizing module 14 may be implemented by a voltage stabilizing capacitor (as shown in fig. 6), one end of the voltage stabilizing capacitor is connected to the connection between the switched capacitor module 12 and the first input terminal of the comparing module 11, and the other end of the voltage stabilizing capacitor is grounded. The utility model provides a voltage stabilization module 14's inner structure is not restricted to the steady voltage electric capacity in the above, and it also can be realized through other correlation technique, the utility model discloses do not limit to this.
Optionally, in order to further reduce the voltage fluctuation at the connection between the switched capacitor module 12 and the first input terminal of the comparison module 11, besides the voltage stabilization module 14, the voltage fluctuation at the connection between the switched capacitor module 12 and the first input terminal of the comparison module 11 may also be reduced by controlling the charging and discharging rates of the capacitor in the switched capacitor module 12. The above can be realized by related technologies, and details are not described herein.
The utility model provides a frequency discrimination circuit sets up voltage stabilizing module through the junction at switched capacitor module and the first input of comparison module, can reduce the voltage fluctuation of this junction, and then makes the magnitude of voltage of the first input of comparison module maintain a comparatively stable state, reduces the influence that the comparison result that the voltage fluctuation was exported for comparison module brought to promote the accuracy of the comparison result of comparison module output, and improve the reliability of frequency discrimination circuit.
In one possible embodiment, referring to fig. 3, the switched capacitor module 12 includes: a first resistor unit 121 and a switched capacitor unit 122 electrically connected to the first resistor unit 121. Wherein, the switched capacitor unit 122 includes: a first switch 1221, a second switch 1222, and a capacitor 1223.
Illustratively, one end of the capacitor 1223 is electrically connected to the first resistor unit 121 through the first switch 1221, and the other end thereof is grounded. One end of the second switch 1222 is electrically connected to the first resistor unit 121 through the first switch 1221, and the other end thereof is grounded. A first input terminal of the comparing module 11 is connected to a connection point of the switched capacitor unit 122 and the first resistor unit 121.
Illustratively, the first switch 1221 and the second switch 1222 are used to control charging and discharging of the capacitor 1223 according to the signal to be corrected. In the case where the first switch 1221 is closed and the second switch 1222 is opened, the capacitor 1223 is in a charged state. When the second switch 1222 is closed and the first switch 1221 is opened, the capacitor 1223 is in a discharge state.
Illustratively, the charging and discharging of the capacitor 1223 (i.e., the switching of the first switch 1221 and the second switch 1222) is controlled by the high and low levels of the signal to be corrected. For example: in the case where the signal to be corrected is at a high level, the capacitor 1223 is in a charged state, i.e., the first switch 1221 is closed and the second switch 1222 is open. In the case where the signal to be corrected is at a low level, the capacitor 1223 is in a discharge state, that is, the first switch 1221 is open and the second switch 1222 is closed.
In one possible embodiment, the voltage to be measured is equal to the voltage drop across the equivalent resistor of the switched capacitor unit 122, and the resistance value of the equivalent resistor of the switched capacitor unit 122 is inversely related to the frequency of the signal to be corrected and positively related to the capacitance value of the capacitor 1223 in the switched capacitor unit 122. Alternatively, the equivalent resistance of the switched-capacitor unit 122 is equal to the product of the inverse of the frequency of the signal to be corrected and the capacitance value of the capacitor 1223.
Optionally, each period of the signal to be corrected corresponds to an equivalent resistance of one switched capacitor unit 122. For example: if the frequency corresponding to the first period of the signal to be corrected is N1, the resistance value of the equivalent resistor of the switched capacitor unit 122 corresponding to the period is R1 (i.e., the product of the capacitance value of the capacitor 1223 and 1/N1), and the frequency corresponding to the second period of the signal to be corrected is N2, the resistance value of the equivalent resistor of the switched capacitor unit 122 corresponding to the period is R2 (i.e., the product of the capacitance value of the capacitor 1223 and 1/N2). If the frequency corresponding to the first period of the signal to be corrected is equal to the frequency corresponding to the second period (i.e., N1-N2), the resistance of the equivalent resistor of the switched capacitor unit 122 does not change (i.e., R1-R2). If the frequency corresponding to the first period of the signal to be corrected is greater than the frequency corresponding to the second period (i.e., N1> N2), the resistance of the equivalent resistor of the switched capacitor unit 122 decreases (i.e., R1< R2). If the frequency corresponding to the first period of the signal to be corrected is smaller than the frequency corresponding to the second period (i.e., N1< N2), the resistance of the equivalent resistor of the switched capacitor unit 122 increases (i.e., R1> R2).
In one possible embodiment, referring to fig. 4, the reference module 13 comprises: a second resistance unit 131 and a trimming resistance unit 132.
For example, the second resistor unit 131 is electrically connected to the trimming resistor unit 132, and the second input terminal of the comparing module 11 is connected to a connection point of the second resistor unit 131 and the trimming resistor unit 132.
Illustratively, the trimming resistor unit 132 is configured to determine a resistance value of the trimming resistor unit 132 according to a preset reference frequency, and output a reference voltage to the second input terminal of the comparing module 11. The reference voltage and the resistance of the trimming resistance unit 132 are negatively related to the predetermined reference frequency.
Illustratively, the reference voltage is equal to the voltage drop across the trimming resistor unit 132. Under the condition that the preset reference frequency is higher, the resistance value of the trimming resistance unit 132 is a smaller value, and at this time, the voltage value of the reference voltage output by the reference module 13 is also a smaller value. In the case that the preset reference frequency is lower, the resistance value of the trimming resistance unit 132 is a larger value, and at this time, the voltage value of the reference voltage output by the reference module 13 is also a larger value. For example: if the preset reference frequency is 200MHz, the resistance value of the trimming resistance unit 132 is R3, and the voltage value of the reference voltage output by the reference module 13 is U1, when the preset reference frequency is 100MHz, the resistance value of the trimming resistance unit 132 is R4, and the voltage value of the reference voltage output by the reference module 13 is U2. Wherein R3 is less than R4 and U1 is less than U2.
In one possible embodiment, in the case where the signal to be corrected input into the frequency discrimination circuit 1 is corrected, the average value of the frequencies in a plurality of adjacent periods of the signal to be corrected is about the preset reference frequency. For example: if the preset reference frequency is 100MHz, when the signal to be corrected input into the frequency discrimination circuit 1 is corrected, the frequency of the first period of the signal to be corrected is 102MHz, the frequency of the second period of the signal to be corrected is 98MHz, the frequency of the third period of the signal to be corrected is 97MHz, and the frequency of the fourth period of the signal to be corrected is 103 MHz.
In order to ensure the fast and slow relationship between the frequency of the signal to be corrected and the preset reference frequency, which can be accurately reflected by the difference between the voltage value of the voltage to be corrected and the voltage value of the reference voltage, the resistance value of the first resistance unit 121 in the switched capacitor module 12 and the resistance value of the second resistance unit 131 in the reference module 13 may be set to be the same value, and the voltage value of the input end of the first resistance unit 121 (i.e., the end far away from the switched capacitor unit 122) is equal to the voltage value of the input end of the second resistance unit 131 (i.e., the end far away from the trimming resistance unit 132). For example: when the resistance of the first resistance unit 121 is 10 Ω and the voltage value at the input terminal of the first resistance unit 121 is 10v, the resistance of the second resistance unit 131 is also 10 Ω and the voltage value at the input terminal is also 10 v.
The utility model provides a frequency discrimination circuit under the condition of changing preset reference frequency, changes the resistance value of trimming resistance unit correspondingly, can make the more new relation of speed between preset reference frequency of comparison module and the frequency of treating the correction signal, makes this frequency discrimination circuit be applicable to the frequency of appraising the signal of treating the correction signal and the difference relation of speed between preset reference frequency. In addition, when predetermineeing the reference frequency and changing, the utility model provides a frequency discrimination circuit only needs to correspond the resistance value that the adjustment was repaiied the resistance unit, need not complicated circuit change, can appraise the fast and slow relation between new reference frequency and the frequency of waiting to rectify the signal.
In one possible implementation, referring to fig. 6, the comparing module 11 includes a first control unit 111, a second control unit 112, a comparing unit 113, and a switching unit 114.
For example, in a first preset time of the signal to be corrected, the first input terminal of the comparing module 11 is electrically connected to the non-inverting input terminal of the comparing unit 113 through the first control unit 111, and the second input terminal of the comparing module 11 is electrically connected to the inverting input terminal of the comparing unit 113 through the second control unit 112. Within a second preset time of the signal to be corrected, the first input terminal of the comparing module 11 is electrically connected to the inverting input terminal of the comparing unit 113 through the first control unit 111, and the second input terminal of the comparing module 11 is electrically connected to the non-inverting input terminal of the comparing unit 113 through the second control unit 112.
For example, an input end of the switching unit 114 is electrically connected to an output end of the comparing unit 113, and is configured to generate and output a comparison result according to the comparison signal generated and output by the comparing unit 113 within a first preset time, and generate and output a comparison result according to an inverted signal of the comparison signal generated and output by the comparing unit 113 within a second preset time.
For example, the time when the comparison unit 113 generates the odd-numbered comparison signals may be regarded as a first preset time, and the time when the comparison unit 113 generates the even-numbered comparison signals may be regarded as a second preset time. For example: in a first period of the signal to be corrected, during a time when the comparing unit 113 generates a first comparing signal (i.e., an odd number of comparing signals), the first input terminal of the comparing module 11 is electrically connected to the non-inverting input terminal of the comparing unit 113 through the first control unit 111, and the second input terminal of the comparing module 11 is electrically connected to the inverting input terminal of the comparing unit 113 through the second control unit 112. During the time when the comparing unit 113 generates the second comparing signal (i.e. the even comparing signal), the first input terminal of the comparing module 11 is electrically connected to the inverting input terminal of the comparing unit 113 through the first control unit 111, the second input terminal of the comparing module 11 is electrically connected to the non-inverting input terminal of the comparing unit 113 through the second control unit 112, and so on. In other words, each time the comparing unit 113 outputs one comparison signal, the input voltages of the non-inverting input terminal and the inverting input terminal of the comparing unit 113 need to be switched once through the first control unit 111 and the second control unit 112.
For example, within the first preset time, if the comparison signal output by the comparison unit 113 is at "high level", the comparison result output by the switching unit 114 according to the comparison signal is also at "high level", whereas if the comparison signal output by the comparison unit 113 is at "low level", the comparison result output by the switching unit 114 according to the comparison signal is also at "low level". In the second preset time, if the comparison signal output by the comparison unit 113 is "high level", the comparison result output by the switching unit 114 according to the comparison signal is "low level", whereas if the comparison signal output by the comparison unit 113 is "low level", the comparison result output by the switching unit 114 according to the comparison signal is "high level".
For example, in an ideal case, when the voltage value of the non-inverting input terminal of the comparing unit 113 is greater than the voltage value of the inverting input terminal thereof, the comparing unit 113 outputs a high level, and conversely, when the voltage value of the non-inverting input terminal of the comparing unit 113 is less than the voltage value of the inverting input terminal thereof, the comparing unit 113 outputs a low level. However, in the non-ideal case, the voltage at the non-inverting input terminal of the comparing unit 113 needs to be larger than the offset value (i.e., offset) to be able to output the high level. The magnitude of the offset value is determined according to the accuracy of the comparing unit 113, and if the accuracy of the comparing unit 113 is high, the offset value is small, and if the accuracy of the comparing unit 113 is low, the offset value is large. In other words, when the low-precision comparing unit outputs a high level, the difference between the voltage value of the non-inverting input terminal and the voltage value of the inverting input terminal should be greater than the difference between the voltage value of the non-inverting input terminal and the voltage value of the inverting input terminal when the high-precision comparing unit outputs a high level. And through the utility model provides a first control unit 111 and second control unit 112 can compensate the difference between low accuracy comparator and the high accuracy comparator.
For example, taking the first preset time as the time for the comparison unit 113 to generate the odd-numbered comparison signal, the second preset time as the time for the comparison unit 113 to generate the even-numbered comparison signal, and the voltage value of the voltage to be measured is greater than the voltage value of the reference voltage as an example, since the comparison unit 113 is a low-precision comparison unit (i.e., the offset value thereof is greater), the comparison unit 113 is in a normal condition (i.e., the circuit does not include the first control unit 111 and the second control unit 112), even if the initial voltage to be measured is higher than the reference voltage, the comparison signal is still at a low level because the offset value is higher, and therefore, the first 3 comparison signals output according to the signal to be corrected in one cycle are all at a "low level", and then a "high level" can be output, for example: in one cycle of the signal to be corrected, the comparison signal output by the comparison unit 113 is "low level", "high level". If the output terminal of the comparing unit 113 is connected to the clock control circuit 3, the clock control circuit 3 is liable to determine that the frequency of the signal to be corrected at this time is greater than the preset reference frequency, and further accumulate the wrong value. The first control unit 111 and the second control unit 112 can make the voltage at the non-inverting input terminal of the first comparison signal generated by the comparison unit 113 be the voltage to be measured, and make the voltage at the inverting input terminal be the reference voltage, so as to output the comparison signal of "low level". When the comparing unit 113 generates the second comparison signal, the voltage at the inverting input terminal is the voltage to be measured, the voltage at the non-inverting input terminal is the reference voltage, and the comparison signal of "low level" is also output, and so on, the comparison signal output by the comparing unit 113 according to the signal to be corrected of one cycle is "low level", "high level", and so on, and the comparison result output by the switching unit 114 according to the comparison signal is "low level", "high level", and "high level", if the output terminal of the switching unit 114 is connected to the clock control circuit 3 hereinafter, the clock control circuit 3 can make the frequency of the signal to be corrected at this time be considered to be less than the preset reference frequency, so that the clock generating circuit 2 can be correctly controlled to adjust the frequency of the signal to be corrected, thereby making up the difference between the high-precision comparison unit and the low-precision comparison unit.
For example, the first preset time may also be an odd cycle of the signal to be corrected, and the second preset time may also be an even cycle of the signal to be corrected. Optionally, the first preset time may be the first three periods of the signal to be corrected, and the second preset time may be the fourth to sixth periods of the signal to be corrected, so that the comparison results corresponding to the first six periods of the signal to be corrected can be compensated with each other. Optionally, the first preset time may be a time when the comparison unit 113 generates m comparison signals before the signal to be corrected in one period, and the second preset time may be a time when the comparison unit 113 generates n comparison signals after the signal to be corrected in one period, where m and n are positive integers, and a sum of m and n is equal to a total number of comparison signals generated by the comparison unit 113 in one period of the signal to be corrected. The second preset time may also be the time when the comparison unit 113 generates the first m comparison results in one period of the signal to be corrected, and the first preset time may be the time when the comparison unit 113 generates the last n comparison results in one period of the signal to be corrected. The utility model discloses do not do the injecing to first preset time and second preset time.
For example, the faster the switching frequency of the first control unit 111 and the second control unit 112 is, the more accurate the comparison result output by the comparison module 11 is.
For example, as described below, the comparison module 11 may output the comparison result to the clock control circuit 3 to control the frequency of the signal to be corrected generated by the clock generation circuit 2, and the voltage values of the two input terminals of the comparison unit 113 are switched by the first control unit 111 and the second control unit 112, so that the control value generated by the clock control circuit 3 according to the comparison result output by the low-precision comparison unit 113 may be substantially equal to the control value generated according to the comparison result output by the high-precision comparison unit 113. In other words, the influence of the offset value on the low-precision comparing unit can be eliminated to the maximum extent by the first control unit 111 and the second control unit 112 so that the low-precision comparing unit can be equivalent to the high-precision comparing unit.
Optionally, when the comparing unit 113 in the comparing module 11 is a high-precision comparing unit, or the structure of the frequency discriminator 1 is further simplified and the manufacturing cost of the frequency discriminator 1 is reduced, the first control unit 111, the second control unit 112 and the switching unit 114 may not be provided, and at this time, the comparison result output by the comparing module 11 is the comparison signal output by the comparing unit 113.
It can be seen from the above, the utility model provides a frequency discrimination circuit switches the voltage value of two inputs of comparing element through first the control unit and second the control unit, can compensate the difference of the comparison result of low accuracy comparing element and high accuracy comparing element output at first preset time and second preset time, and then can reduce the requirement of frequency discrimination circuit to comparing element's precision.
According to another aspect of the present invention, there is provided a clock calibration circuit 100, as shown in fig. 5 and fig. 6, the clock calibration circuit 100 includes: the frequency discrimination circuit 1 described above.
In one possible implementation, referring to fig. 5, the clock correction circuit 100 further includes: a clock generation circuit 2 and a clock control circuit 3.
Illustratively, the input terminal of the clock control circuit 3 is electrically connected to the output terminal of the comparison module 11. The clock control circuit 3 is used for generating and outputting a control value according to the comparison result.
Illustratively, the control terminal of the clock generating circuit 2 is electrically connected to the output terminal of the clock control circuit 3, and the output terminal thereof is electrically connected to the switched capacitor module 12. The clock generating circuit 2 is configured to determine a frequency of the signal to be corrected according to the control value, and output the signal to be corrected to the switched capacitor module 12.
For example, in the case where the clock generation circuit 2 outputs the signal to be corrected to the switched capacitor module 12, the switched capacitor module 12 outputs the voltage to be measured to the first input terminal of the comparison module 11, and the comparison module 11 generates a comparison result by comparing the magnitude relationship between the voltage value of the first input terminal (i.e., the voltage value of the voltage to be measured) and the voltage value of the second input terminal (i.e., the voltage value of the reference voltage), and outputs the comparison result to the clock control circuit 3. The clock control circuit 3 outputs a control value to the clock generation circuit 2 according to a plurality of (specific number determined according to a preset threshold hereinafter) inputted comparison results to control the frequency at which the clock generation circuit 2 generates a signal to be corrected.
For example, as can be seen from the foregoing frequency discriminator 1, changing the preset reference frequency, that is, changing the resistance of the trimming resistor unit 132 in the frequency discriminator 1, can change the comparison result output by the comparison module 11. Since the clock control circuit 3 adjusts the frequency of the signal to be corrected generated by the clock generation circuit 2 to the preset reference frequency according to the comparison result, the resistance value of the trimming resistance unit 132 is changed at a certain time, so that the frequency of the signal to be corrected generated by the clock generation circuit 2 at the next time can be changed, and further the modulation of the frequency of the signal to be corrected is realized, for example: spread spectrum, etc.
Compare the crystal oscillator who relies on the local oscillator frequency of external crystal in needs among the prior art, the utility model provides a clock correction circuit can control the frequency of treating the correction signal that clock generation circuit generated through the comparison result of frequency discrimination circuit output, corrects the frequency of this treating the correction signal, generates the high signal of treating of precision. And, the utility model provides a clock correction circuit can be with treating the signal correction of correction signal for the signal of other frequencies through the resistance value that changes trimming resistance unit, need not to dispose extra PLL (Phase Locked Loop Phase-Locked Loop) etc. circuit and assists the completion, so the utility model provides a clock correction circuit can simplify clock circuit's among the prior art circuit structure to can reduce its manufacturing cost. In addition, the utility model provides a clock correction circuit is analog circuit except that the comparison module, and all the other each module and circuit all can be realized through core devices (being core device), are favorable to clock correction circuit's integration.
In addition, compare the lower integrated oscillator of signal frequency who generates among the prior art, the utility model provides a clock correction circuit can be applied to in the great chip of signal frequency change demand, for example: from tens or hundreds of MHz to GHz.
In one possible implementation, referring to fig. 6, the clock control circuit 3 includes: a register module 31 and a digital integration module 32.
Illustratively, a first input terminal of the register module 31 is electrically connected to an output terminal of the comparison module 11, and a second input terminal thereof is electrically connected to an output terminal of the clock generation circuit 2. The register module 31 is configured to digitize the comparison result output by the comparison module 11 according to the signal to be corrected, and output the digitized comparison result.
Optionally, when the comparison result output by the comparison module 11 is a high level, the comparison result digitized by the register module 31 is binary "1", and when the comparison result output by the comparison module 11 is a low level, the comparison result digitized by the register module 31 is binary "0".
The input end of the digital integration module 32 is electrically connected to the output end of the register module 31, and the output end thereof is electrically connected to the control end of the clock generation circuit 2. The digital integration module 32 is configured to generate an accumulated value according to the digitized comparison result, and generate a control value corresponding to the sum of the accumulated values when an absolute value of the sum of the accumulated values is greater than a preset threshold.
For example, if the first digitized comparison result output by the register module 31 is binary "1", the digital integration module 32 generates an accumulated value "1", where an absolute value of a sum of the accumulations corresponding to the digital integration module 32 is | Z +1| (Z is an initial value of the digital integration module 32). If the first digitized comparison result output by the register module 31 is binary "0", the digital integration module 32 generates an accumulated value "-1", and the absolute value of the accumulated sum corresponding to the digital integration module 32 is | Z-1 |. Taking the case that the high level in the comparison result indicates that the voltage value of the voltage to be measured is greater than the voltage value of the reference voltage, and the low level indicates that the voltage value of the voltage to be measured is less than the voltage value of the reference voltage, when the voltage value of the voltage to be measured is greater than the voltage value of the reference voltage, the comparison result output by the comparison module 11 is the high level, the register module 31 stores the comparison result as binary "1", and outputs binary data "1" to the digital integration module 32, and at this time, the digital integration module 32 generates an accumulated value "1". When the voltage value of the voltage to be measured is smaller than the voltage value of the reference voltage, the comparison result output by the comparison module 11 is a low level, the register module 31 stores the comparison result as binary "0" and outputs binary data "0" to the digital integration module 32, and at this time, the digital integration module 32 generates an accumulated value "-1".
For example, the initial value Z in the clock control circuit 3, that is, the initial value Z in the digital integration module 32, may be 0, may also be a fixed value set according to an actual situation, and may also be a specific value obtained by simulating the clock correction circuit 3 under an ideal condition through a related technology.
Illustratively, in the above, the comparing module 11 generates 5 comparison results in one period of the signal to be corrected, and the non-inverting input terminal of the comparing unit 113 is the voltage to be measured in the first preset time, the inverting input terminal of the comparator unit 113 is set as a reference voltage, the inverting input terminal of the comparator unit is set as a voltage to be measured within a second predetermined time, taking the non-inverting input terminal as the reference voltage as an example, in the case that the first preset time is the time when the comparing unit 113 generates the odd-numbered comparison signals, and the second preset time is the time when the comparing unit 113 generates the even-numbered comparison signals, in one cycle of the signal to be corrected, the comparison result input to the register module 31 is "low level", "high level", and the binary values stored in the register module 31 are "0", "1", and "1". At this time, if the accumulated value generated by the digital integration module 32 is 1, the absolute value of the sum of the accumulated values generated by the digital integration module 32 is | Z +1 |. The process of accumulating the values by the digital integration module 32 can be as described above, and the control value can not be output until the absolute value of the sum of the accumulated values is equal to the preset threshold, so as to control the clock generation circuit 2 to adjust the frequency of the signal to be corrected. For example: if the preset threshold is 1024, the control value can be output only when the sum of the accumulated values in the digital integration module 32 is equal to 1024, so that the frequency of the signal to be corrected generated by the clock generation circuit 2 is increased, and the control value can be output only when the accumulated value in the digital integration module 32 is equal to-1024, so that the frequency of the signal to be corrected generated by the clock generation circuit 2 is decreased.
For example, the preset threshold may be determined by a corresponding control bit of the clock generation circuit 2. For example: if the control bit corresponding to the clock generation circuit 2 is 8 bits, the control value output by the digital integration module 32 is <7:0>, that is, the value range of the control value (i.e., the preset threshold) is 0 to 255. It is worth explaining, the utility model provides a digit integral module 32's bit number is not necessarily unanimous with the bit number of the control bit that clock generation circuit 2 corresponds, and even under the control bit that clock generation circuit 2 corresponds was 8 bit's the condition, digit integral module 32 can be 8 bit's digit integral module, also can be the digit integral module that is greater than 8bit, for example: 16bit, etc., but the control value output by the digital integration module 32 is only the first 8 bits of the digital integration module 32, i.e., <16:10 >.
For example, in the case where the signal to be corrected is corrected, the numbers of "1" and "0" input to the digital integration module 32 are almost equal within a certain time, that is, the numbers of the accumulated value "1" and the accumulated value "-1" generated by the digital integration module 32 are substantially equal, at this time, the absolute value of the sum of the accumulated values generated by the digital integration module 32 is substantially 0, and the digital integration module 32 is maintained in a state of not outputting the control value.
In one possible implementation, referring to fig. 6, the clock generation circuit 2 includes: a clock generation module 21 and a frequency dividing module 22.
Illustratively, the control terminal of the clock generating module 21 is electrically connected to the output terminal of the digital integrating module 32. The clock generating module 21 is configured to determine a frequency of the reference clock signal according to the control value, and output the reference clock signal.
Illustratively, the input terminal of the frequency dividing module 22 is electrically connected to the output terminal of the clock generating module 21, and the output terminal thereof is electrically connected to the switched capacitor module 12. The frequency dividing module 22 is configured to output a signal to be corrected according to a preset divisor and a reference clock signal.
For example, the frequency of the reference clock signal corresponding to the signal to be corrected after the correction is completed is equal to the product of the reciprocal of the product of the resistance value of the trimming resistance unit 132 and the capacitance value of the capacitor 1223 and the preset divisor. In other words, if the resistance value of the trimming resistor unit 132 is R x The capacitor 1223 has a capacitance value of C x The predetermined divisor is N x The frequency of the reference clock signal is equal to N x *1/(R x *C x )。
For example, see fig. 6. With the MOS switch 212 closed, the MOS switch 212 transmits the voltage at the output terminal of the third resistance unit 211 to each inverter (i.e., inverter 213 to inverter 215) to drive each inverter to operate. At this time, the point a of the input terminal of the first inverter 213 is at a low level, the point B of the output terminal of the first inverter 213 (i.e., the input terminal of the second inverter 214) is at a high level, the point C of the output terminal of the second inverter 214 (i.e., the input terminal of the third inverter 215) is at a low level, the point D of the output terminal of the third inverter 215 (i.e., the input terminal of the fourth inverter 216) is at a high level, and the point E of the output terminal of the fourth inverter 216 is at a low level. At this time, the input end a of the first inverter 213 is electrically connected to the output end D of the third inverter 215, so that when the third inverter 215 outputs a high level, the input end a of the first inverter 213 is also at a high level, the output end B of the first inverter 213 (i.e., the input end of the second inverter 214) is at a low level, and so on, the fourth inverter 216 outputs a high level (i.e., the point E is at a high level), thereby forming a signal of one period of the reference clock signal.
For example, if the frequency of the reference clock signal output by the clock generation module 21 is 200MHz and the preset divisor of the frequency division module 22 is 2, the frequency of the output signal to be corrected is 100 MHz.
In one possible implementation, the clock correction circuit 100 further includes a relationship determination module and a signal control module. The relationship determination module is electrically connected with the signal control module.
Illustratively, the relationship determining module is configured to determine the numerical value corresponding relationship according to a variation value of the control value output by the digital integrating module 32 when the signal to be corrected is corrected and the preset divisor of the frequency dividing module 22 is changed. Wherein, the numerical value corresponding relationship is the corresponding relationship between the variation value of the preset divisor and the variation value of the control value.
Illustratively, the signal control module is configured to determine a control value currently output by the digital integration module 32 according to the numerical value correspondence and a currently preset divisor of the frequency dividing module 22.
For example, in the case that the signal to be corrected is corrected (as described above), if the preset divisor of the frequency dividing module 22 is changed from 10 to 11, the relationship determination module determines the change value of the control value output by the digital integration module 32, and if the control value output by the digital integration module 32 is changed from 100 to 110, the relationship determination module determines that the control value output by the digital integration module 32 is changed by 10% every time the divisor of the frequency dividing module 22 is changed by 1. The signal control module may determine the corresponding relationship of the values obtained by the module according to the relationship, and a current preset divisor of the frequency dividing module 22, for example: if the currently preset divisor is 12, the control value currently output by the digital integration module 32 may be determined, i.e., 120.
The utility model provides a clock correction circuit through relation determination module and signal control module, can confirm each and predetermine the control value that the divisor corresponds, and then under the condition that the default divisor that the frequency removal module 22 corresponds changes, can correspond the control value of adjustment digital integral module to can modulate out the frequency of the signal of treating of needs more accurately.
According to another aspect of the present invention, there is provided a chip including the clock correction circuit described above.
According to another aspect of the present invention, there is provided an information processing apparatus including: the chip described above.
In one possible embodiment, the information processing apparatus is applied to at least one electronic apparatus in a group consisting of a smart phone, a smart tv, a smart watch, a smart bracelet, a tablet computer, a desktop computer, an industrial computer, a notebook computer, an all-in-one computer, an access control apparatus, a wireless network device, and a product around a wireless computer.
While various embodiments of the present invention have been described above, the above description is intended to be illustrative, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (17)

1. A frequency discrimination circuit, the frequency discrimination circuit comprising: the device comprises a comparison module, a reference module and a switched capacitor module;
the first input end of the comparison module is electrically connected with the switched capacitor module, and the second input end of the comparison module is electrically connected with the reference module;
the switched capacitor module is used for outputting a voltage to be detected to a first input end of the comparison module according to the frequency of a signal to be corrected input into the frequency discrimination circuit; the voltage value of the voltage to be detected and the frequency of the signal to be corrected are in negative correlation;
the reference module is used for outputting reference voltage to the second input end according to a preset reference frequency;
the comparison module is used for outputting a comparison result according to the voltage value of the first input end and the voltage value of the second input end.
2. The frequency discriminator circuit according to claim 1, wherein the switched capacitor module comprises: the switch capacitor unit is electrically connected with the first resistor unit; wherein the switched capacitor unit includes: a first switch, a second switch, and a capacitor;
one end of the capacitor is electrically connected with the first resistance unit through the first switch, and the other end of the capacitor is grounded; one end of the second switch is electrically connected with the first resistor through the first switch, and the other end of the second switch is grounded; the first input end of the comparison module is connected to the joint of the switched capacitor unit and the first resistor unit;
the first switch and the second switch are used for controlling the charging and discharging of the capacitor according to the signal to be corrected;
wherein the capacitor is in a charged state with the first switch closed and the second switch open; the capacitor is in a discharge state when the second switch is closed and the first switch is open.
3. The frequency discriminator circuit according to claim 2, wherein the capacitor is in a charged state in a case where the signal to be corrected is at a high level;
in the case where the signal to be corrected is at a low level, the capacitor is in a discharge state.
4. The frequency discrimination circuit according to claim 2 or 3, wherein the voltage to be measured is equal to a voltage drop across an equivalent resistor of the switched capacitor unit, and a resistance value of the equivalent resistor of the switched capacitor unit is in negative correlation with the frequency of the signal to be corrected and in positive correlation with a capacitance value of a capacitor in the switched capacitor unit.
5. The frequency discrimination circuit of claim 1, wherein the reference module comprises: a second resistance unit and a trimming resistance unit;
the second resistance unit is electrically connected with the trimming resistance unit, and a second input end of the comparison module is connected to the connection position of the second resistance unit and the trimming resistance unit;
the trimming resistance unit is used for determining the resistance value of the trimming resistance unit according to the preset reference frequency and outputting the reference voltage to the second input end of the comparison module; the reference voltage and the resistance value of the trimming resistance unit are in negative correlation with the preset reference frequency.
6. The frequency discriminator according to claim 1, wherein the comparing module comprises a first control unit, a second control unit, a comparing unit and a switching unit;
within a first preset time of the signal to be corrected, a first input end of the comparison module is electrically connected with a non-inverting input end of the comparison unit through the first control unit, and a second input end of the comparison module is electrically connected with an inverting input end of the comparison unit through the second control unit;
within a second preset time of the signal to be corrected, a first input end of the comparison module is electrically connected with an inverted input end of the comparison unit through the first control unit, and a second input end of the comparison module is electrically connected with a non-inverted input end of the comparison unit through the second control unit;
the input end of the switching unit is electrically connected with the output end of the comparison unit, and is used for generating and outputting a comparison result according to the comparison signal generated and output by the comparison unit within the first preset time, and generating and outputting the comparison result according to the inverted signal of the comparison signal generated and output by the comparison unit within the second preset time.
7. The frequency discriminator according to claim 6, wherein the first predetermined time is a time when the comparing unit generates an odd number of comparison signals, and the second predetermined time is a time when the comparing unit generates an even number of comparison signals.
8. The frequency discrimination circuit of claim 1, further comprising:
and the voltage stabilizing module is connected to the joint of the switched capacitor module and the first input end of the comparison module and is used for reducing voltage fluctuation of the joint of the switched capacitor module and the first input end of the comparison module.
9. The frequency discriminator circuit according to claim 1, wherein the signal to be corrected is a clock signal.
10. A clock correction circuit, characterized in that the clock correction circuit comprises a frequency discrimination circuit according to any one of claims 1-9.
11. The clock correction circuit of claim 10, further comprising:
the input end of the clock control circuit is electrically connected with the output end of the comparison module, and the clock control circuit is used for generating and outputting a control value according to the comparison result; and
and the control end of the clock generating circuit is electrically connected with the output end of the clock control circuit, the output end of the clock generating circuit is electrically connected with the switched capacitor module, and the clock generating circuit is used for determining the frequency of the signal to be corrected according to the control value and outputting the signal to be corrected to the switched capacitor module.
12. The clock correction circuit of claim 11, wherein the clock control circuit comprises:
the first input end of the register module is electrically connected with the output end of the comparison module, the second input end of the register module is electrically connected with the output end of the clock generation circuit, and the register module is used for digitizing the comparison result output by the comparison module according to the signal to be corrected and outputting the digitized comparison result;
and the input end of the digital integration module is electrically connected with the output end of the register module, the output end of the digital integration module is electrically connected with the control end of the clock generation circuit, and the digital integration module is used for generating an accumulated value according to each digitized comparison result and generating a control value corresponding to the sum of the accumulated values under the condition that the absolute value of the sum of the accumulated values is greater than a preset threshold value.
13. The clock correction circuit of claim 12, wherein the clock generation circuit comprises:
the control end of the clock generation module is electrically connected with the output end of the digital integration module, and the clock generation module is used for determining the frequency of a reference clock signal according to a control value and outputting the reference clock signal;
and the input end of the frequency removal module is electrically connected with the output end of the clock generation module, the output end of the frequency removal module is electrically connected with the switched capacitor module, and the frequency removal module is used for outputting the signal to be corrected according to a preset divisor and the reference clock signal.
14. The clock correction circuit of claim 13, further comprising a relationship determination module, and a signal control module; the relationship determination module is electrically connected with the signal control module;
the relation determining module is used for determining a numerical value corresponding relation according to a variation value of the control value output by the digital integrating module under the condition that the signal to be corrected is corrected and the preset divisor of the frequency dividing module is changed; the numerical value corresponding relation is the corresponding relation between the change value of the preset divisor and the change value of the control value;
and the signal control module is used for determining the control value currently output by the digital integration module according to the numerical value corresponding relation and the currently preset divisor of the frequency dividing module.
15. A chip, wherein the chip comprises: the clock correction circuit of any of claims 10 to 14.
16. An information processing apparatus characterized by comprising: the chip of claim 15.
17. The information processing apparatus according to claim 16, wherein the information processing apparatus is applied to at least one electronic apparatus selected from the group consisting of a smart phone, a smart tv, a smart watch, a smart bracelet, a tablet pc, a desktop pc, an industrial pc, a notebook pc, an all-in-one pc, an access control device, a wireless network device, and a product around a wireless pc.
CN202221038131.5U 2022-04-28 2022-04-28 Frequency discrimination circuit, clock correction circuit, chip and information processing device Active CN217183278U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202221038131.5U CN217183278U (en) 2022-04-28 2022-04-28 Frequency discrimination circuit, clock correction circuit, chip and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202221038131.5U CN217183278U (en) 2022-04-28 2022-04-28 Frequency discrimination circuit, clock correction circuit, chip and information processing device

Publications (1)

Publication Number Publication Date
CN217183278U true CN217183278U (en) 2022-08-12

Family

ID=82710463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202221038131.5U Active CN217183278U (en) 2022-04-28 2022-04-28 Frequency discrimination circuit, clock correction circuit, chip and information processing device

Country Status (1)

Country Link
CN (1) CN217183278U (en)

Similar Documents

Publication Publication Date Title
US20210044300A1 (en) High Linearity Phase Interpolator
US4857866A (en) Phase-locked loop having elongated time for charge and discharge
US7742554B2 (en) PLL device with leakage current compensation unit
CN102356549A (en) Process, voltage, temperature compensated oscillator
US7239197B2 (en) Gm-C time constant tuning circuit
CN108023571A (en) One kind calibration circuit and calibration method
US5214680A (en) CMOS pseudo-NMOS programmable capacitance time vernier and method of calibration
US10601431B2 (en) Time-to-voltage converter using correlated double sampling
CN114665848A (en) Duty ratio calibration circuit and method, chip and electronic equipment
CN114978163A (en) Frequency discrimination circuit, clock correction circuit, chip and information processing device
US7307560B2 (en) Phase linearity test circuit
CN105406868B (en) Adaptive timing for analog-to-digital conversion
CN217183278U (en) Frequency discrimination circuit, clock correction circuit, chip and information processing device
US20050035772A1 (en) Method and device for determining the ratio between an RC time constant in an integrated circuit and a set value
CN110198423B (en) Signal conversion device and method
US7924068B2 (en) Automatic adjustment circuit, and filter circuit
US7548129B2 (en) On-chip R-C time constant calibration
US20120092078A1 (en) Variable resistor circuit and oscillation circuit
JPH11214987A (en) Pll device
CN115357093B (en) Output frequency control method, device, clock generation circuit and memory
CN102710233A (en) Self-adaptive tuning system of continuous time filter
CN109782573B (en) Electronic clock generating device and chip
TWI708953B (en) Eye diagram observation device
CN116667826A (en) Correction circuit and correction method
CN117176146A (en) Method for improving frequency hopping speed and application

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant