WO2019183943A1 - Automatic amplitude control device and method - Google Patents
Automatic amplitude control device and method Download PDFInfo
- Publication number
- WO2019183943A1 WO2019183943A1 PCT/CN2018/081402 CN2018081402W WO2019183943A1 WO 2019183943 A1 WO2019183943 A1 WO 2019183943A1 CN 2018081402 W CN2018081402 W CN 2018081402W WO 2019183943 A1 WO2019183943 A1 WO 2019183943A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- oscillator
- coupled
- current
- amplitude
- current source
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 238000001514 detection method Methods 0.000 claims abstract description 48
- 238000006880 cross-coupling reaction Methods 0.000 claims abstract description 33
- 230000008878 coupling Effects 0.000 claims description 4
- 238000010168 coupling process Methods 0.000 claims description 4
- 238000005859 coupling reaction Methods 0.000 claims description 4
- 238000013461 design Methods 0.000 abstract description 17
- 230000008569 process Effects 0.000 description 23
- 238000010586 diagram Methods 0.000 description 16
- 229920000122 acrylonitrile butadiene styrene Polymers 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 238000001914 filtration Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000004088 simulation Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/099—Details of the phase-locked loop concerning mainly the controlled oscillator of the loop
Definitions
- the present application relates to the field of circuits, and in particular, to an automatic amplitude control apparatus and method.
- the variation of the process voltage temperature (PVT) has a great influence on the amplitude of the Voltage Controlled Oscillator (VCO).
- the fast NMOS fast PMOS (Fast The NMOS Fast PMOS, FF) corner swing may be large enough to affect the reliability of the circuit, but at the Slow NMOS Slow PMOS (SS) corner, there may be a problem that the VCO cannot oscillate, and at the same time
- the tank quality factor (Q) the starting ability is much worse than the low temperature.
- Figure 1 is a circuit diagram of a resonant signal that uses an analog feedback scheme to regulate the VCO. The entire control process is a negative feedback process.
- the system is not an ideal linear system, to ensure the stability of the system negative feedback, the actual phase margin of the Opamp is difficult to design; on the other hand, the reference voltage Vref, the amplitude of the VCO, Vpeak and The noise of the op amp Opamp is mostly low-frequency flicker noise, which requires a large RC filter to eliminate, resulting in large area overhead and not easy to solve.
- the loop is in real-time working state. There is a certain amount of power consumption.
- the embodiment of the invention provides an automatic amplitude control device and method, which has simple design, small area overhead and low power consumption.
- an automatic amplitude control apparatus comprising: an oscillator and a current source array, one end of the current source array being coupled to a source of a cross-coupling tube in the oscillator, the current source The other end of the array is coupled to the ground, respectively; the device further includes: a comparator for comparing the amplitude detection signal of the oscillator with a reference voltage signal to obtain a comparison result; and a controller for performing the comparison result according to the comparison And controlling a current coupled to the source terminal by the current source array.
- a digital feedback calibration process is introduced, and the amplitude detection signal of the oscillator is compared with the reference voltage signal by a comparator to obtain a comparison result, and then the controller controls the current source array to be coupled to the oscillator according to the comparison result.
- the current at the source of the cross-coupling tube Due to the digital domain design, the circuit design is simplified, the design is simple, no filtering is required, and the area overhead is small, and after the calibration is completed, the circuit is in a silent state, does not contribute power consumption and noise, and thus consumes less power.
- the current source array includes N parallel branches, each of which includes a series of switches and current sources, where N is an integer greater than 2;
- the comparison results respectively control the on and off of the switches in the respective branches to control the current coupled to the source terminal by the current source array.
- the on/off of the switch is controlled by the controller to control the current coupled to the source terminal by the current source array, which is simple in design.
- the values of the current sources in the N branches of the current source array form a geometric progression
- the controller is configured to generate an N-bit control signal by using a binary search method to separately control the The switching of the switches in the N branches is described.
- the efficiency of the amplitude control is high by employing the binary search method.
- the oscillator further includes a resonant cavity
- the cross-coupling tube adopts an NMOS transistor
- the device further includes: a peak detecting circuit, configured to detect a magnitude of the resonant signal generated by the oscillator a minimum value; two inputs of the peak detection circuit are respectively coupled to two differential outputs of the resonant cavity; an output of the peak detection circuit is coupled to an input of the comparator.
- the oscillator further includes a resonant cavity
- the cross-coupling tube adopts a PMOS tube
- the device further includes: a peak detecting circuit, configured to detect a magnitude of the resonant signal generated by the oscillator a maximum value; two inputs of the peak detection circuit are respectively coupled to two differential outputs of the resonant cavity; an output of the peak detecting circuit is coupled to an input of the comparator.
- a peak detecting circuit configured to detect a magnitude of the resonant signal generated by the oscillator a maximum value
- two inputs of the peak detection circuit are respectively coupled to two differential outputs of the resonant cavity
- an output of the peak detecting circuit is coupled to an input of the comparator.
- the input of the comparator is coupled to the source of the oscillator. According to this embodiment, since the amplitude of the signal at the source of the oscillator is related to the amplitude of the resonant signal generated by the oscillator, another way of obtaining the amplitude detection signal of the oscillator is provided.
- the apparatus further includes: an Auto Band Select (ABS) circuit, configured to, at the controller, control the current source array to be coupled to the source according to the comparison result Selecting an operating frequency of the oscillator before the current of the terminal; and, after the controller controls the current coupled to the source by the current source array according to the comparison result, selecting the operating frequency of the oscillator again point.
- ABS Auto Band Select
- an automatic amplitude control apparatus for controlling the amplitude of a resonant signal generated by an oscillator, one end of which is coupled to a source of a cross-coupling tube in the oscillator, the current
- the other end of the source array is coupled to the ground
- the device includes: a comparison module, configured to compare the amplitude detection signal of the oscillator with a reference voltage signal to obtain a comparison result; and a control module, configured to obtain, according to the comparison module, As a result of the comparison, the current source array is coupled to the current at the source.
- the current source array includes N parallel branches, each of which includes a series of switches and a current source, wherein N is an integer greater than 2;
- controlling the current coupled to the source terminal by the current source array includes: controlling on and off of the switches in the respective branches according to the comparison result to control current coupled to the source terminal by the current source array .
- the values of the current sources in the N branches of the current source array form a geometric progression; the control module is specifically configured to generate an N-bit control signal by using a binary search method, The switching of the switches in the N branches is controlled separately.
- the oscillator further includes a resonant cavity
- the cross-coupling tube adopts an NMOS transistor
- the device further includes: a detecting module, configured to detect a magnitude of the resonant signal generated by the oscillator The minimum value is the minimum value of the amplitude of the resonance signal as the amplitude detection signal of the oscillator.
- the oscillator further includes a resonant cavity
- the cross-coupling tube adopts a PMOS tube
- the device further includes: a detecting module, configured to detect a magnitude of the resonant signal generated by the oscillator The maximum value is the maximum value of the amplitude of the resonance signal as the amplitude detection signal of the oscillator.
- the apparatus further includes: a detecting module, configured to use a signal of a source end of the oscillator as an amplitude detecting signal of the oscillator.
- the apparatus further includes: a frequency point selection module, configured to select the current before the comparison module controls the current source array coupled to the source terminal according to the comparison result An operating frequency point of the oscillator; and, after the comparing module controls the current coupled to the source terminal by the current source array according to the comparison result, selecting an operating frequency point of the oscillator again.
- an automatic amplitude control method comprising: comparing an amplitude detection signal of an oscillator with a reference voltage signal to obtain a comparison result; and, according to the comparison result, coupling to the oscillator The current of the current source array at the source of the cross-coupling tube is controlled.
- the controlling, according to the comparison result, a current of a current source array coupled to a source end of the cross-coupling tube of the oscillator comprising: coupling the pair according to the comparison result
- the switching of the switches in the respective branches of the current source array at the source of the cross-coupling tube of the oscillator is controlled to control the current coupled to the source terminal by the current source array.
- the controlling the on and off of the switches in the respective branches of the current source array coupled to the source of the cross-coupling tube of the oscillator includes: generating a N by using a binary search method The bit control signal controls the switching of the switches in the N branches of the current source array coupled to the source of the cross-coupled tube of the oscillator, wherein N is an integer greater than two.
- the method further includes: detecting a minimum value of the amplitude of the resonant signal generated by the oscillator, and using a minimum value of the amplitude of the resonant signal as the amplitude detecting signal of the oscillator.
- the method further includes: detecting a maximum value of the amplitude of the resonant signal generated by the oscillator, and using a maximum value of the amplitude of the resonant signal as the amplitude detecting signal of the oscillator.
- the method further includes: using a signal of a source end of the oscillator as an amplitude detection signal of the oscillator.
- the method further includes: selecting a working frequency of the oscillator before the controlling the current source array coupled to the source according to the comparison result; and After controlling the current coupled to the source terminal by the current source array according to the comparison result, the operating frequency of the oscillator is selected again.
- an embodiment of the present invention provides a chip, where the chip can be disposed in a terminal, where the chip includes a processor and an interface.
- the processor is configured to support the chip to perform the corresponding functions of the method of the third aspect described above.
- This interface is used to support communication between the chip and other chips or other network elements.
- the chip can also include a memory for coupling with the processor that holds the necessary program instructions and data for the chip.
- an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by the terminal, including a program designed to execute the foregoing third aspect.
- an embodiment of the present invention provides a computer program product, comprising instructions, which, when executed by a computer, cause a computer to perform the functions performed by the terminal in the method design of the third aspect above.
- FIG. 1 is a circuit diagram of a conventional resonant feedback scheme for adjusting the amplitude of a resonant signal of a VCO
- FIG. 2A is a schematic structural diagram of an automatic amplitude control apparatus according to an embodiment of the present invention.
- FIG. 2B is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of relationship between automatic frequency band selection and automatic amplitude calibration according to an embodiment of the present invention
- FIG. 5 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention.
- FIG. 8 is a flowchart of an automatic amplitude control method according to an embodiment of the present invention.
- the embodiment of the invention provides an automatic amplitude control device and method, which has simple design, small area overhead and low power consumption.
- the apparatus includes an oscillator 201 (eg, a VCO) and a current source array 202.
- One end of the current source array 202 is coupled to the oscillator 201.
- a source end of the cross-coupling tube also referred to as a common mode end
- the apparatus further comprising: a comparator 203 for using the oscillator 201
- the amplitude detection signal is compared with the reference voltage signal to obtain a comparison result; the controller 204 is configured to control the current coupled to the source terminal by the current source array according to the comparison result.
- the cross-coupling tube which is the negative resistance generator of the VCO, can adjust the negative resistance of the VCO and adjust the amplitude of the VCO by adjusting the current coupled to the source end of the cross-coupling tube.
- a digital feedback calibration process is introduced, and the amplitude detection signal of the oscillator is compared with the reference voltage signal by a comparator to obtain a comparison result, and then the controller controls the current source array to be coupled to the oscillator according to the comparison result.
- the current at the source of the cross-coupling tube Due to the digital domain design, the circuit design is simplified, the design is simple, no filtering is required, and the area overhead is small, and after the calibration is completed, the circuit is in a silent state, does not contribute power consumption and noise, and thus consumes less power.
- the current source array includes N parallel branches, each of which includes a series of switches and current sources, where N is an integer greater than 2;
- the comparison results respectively control the on and off of the switches in the respective branches to control the current coupled to the source terminal by the current source array.
- the on/off of the switch is controlled by the controller to control the current coupled to the source terminal by the current source array, which is simple in design.
- the values of the current sources in the N branches of the current source array form a geometric progression
- the controller is configured to generate an N-bit control signal by using a binary search method to separately control the The switching of the switches in the N branches is described.
- the efficiency of the amplitude control is high by employing the binary search method.
- the values of the current sources in the N branches of the current source array may be the same or different. It is not necessary that the values of the current sources in the N branches of the current source array form a geometric progression, and are merely an alternative embodiment, exemplarily, in the N branches of the current source array
- the value of the current source can also constitute an arithmetic progression, or other form of sequence. It should be understood that when the values of the current sources in the N branches of the current source array are in an arithmetic progression, or other forms of series, the algorithm used by the controller in generating the N-bit control signal can refer to the prior art. , will not repeat them here.
- the values of the current sources in the N branches of the current source array form a geometric progression and the ratio is 2
- the controller is a Successive Approximation Register (SAR), and the SAR is used for
- An N-bit control signal is generated by a binary search method to respectively control the on and off of the switches in the N branches.
- the oscillator further includes a resonant cavity
- the cross-coupling tube adopts an NMOS transistor
- the device further includes: a peak detecting circuit, configured to detect a magnitude of the resonant signal generated by the oscillator a minimum value; two inputs of the peak detection circuit are respectively coupled to two differential outputs of the resonant cavity; an output of the peak detection circuit is coupled to an input of the comparator.
- the oscillator further includes a resonant cavity
- the cross-coupling tube adopts a PMOS tube
- the device further includes: a peak detecting circuit, configured to detect a magnitude of the resonant signal generated by the oscillator a maximum value; two inputs of the peak detection circuit are respectively coupled to two differential outputs of the resonant cavity; an output of the peak detecting circuit is coupled to an input of the comparator.
- a peak detecting circuit configured to detect a magnitude of the resonant signal generated by the oscillator a maximum value
- two inputs of the peak detection circuit are respectively coupled to two differential outputs of the resonant cavity
- an output of the peak detecting circuit is coupled to an input of the comparator.
- the input of the comparator is coupled to the source of the oscillator. According to this embodiment, since the amplitude of the signal at the source of the oscillator is related to the amplitude of the resonant signal generated by the oscillator, another way of obtaining the amplitude detection signal of the oscillator is provided.
- the apparatus further includes: an Auto Band Select (ABS) circuit, configured to, at the controller, control the current source array to be coupled to the source according to the comparison result Selecting an operating frequency of the oscillator before the current of the terminal; and, after the controller controls the current coupled to the source by the current source array according to the comparison result, selecting the operating frequency of the oscillator again point.
- ABS Auto Band Select
- FIG. 2B is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention.
- the apparatus includes: a comparator 211, configured to compare a magnitude of an amplitude detection signal and a reference voltage signal, where the amplitude detection signal may be a resonance of a VCO.
- the signal is either a signal related to the resonant signal of the VCO;
- the SAR 212 is configured to generate an N-bit control signal according to the output result of the comparator 211;
- the current source array 213 includes N current sources, wherein N is greater than two;
- the current source array 204 includes N current sources connected to the source end of the VCO through N switches; each of the N-bit control signals is used to control one of the N switches to be turned on. Or shut down.
- a digital feedback calibration process is introduced, and the current source connected to the source end of the VCO is continuously adjusted by the SAR dichotomy, and the amplitude error of the VCO can be controlled to the least significant bit by successive approximation (Least Within the resolution range of Significant Bit (LSB), the design of the digital domain simplifies the circuit design, the design is simple, no filtering is required, and the area overhead is small, and the circuit is in a silent state after the calibration is completed, and does not contribute. Power consumption and noise, so power consumption is small.
- LSB Significant Bit
- the currents provided by the N current sources included in the current source array 204 may be the same or different.
- the number N of current sources may be any integer greater than or equal to 2.
- the number N of current sources may be determined according to the accuracy of the amplitude of the resonant signal generated by the VCO.
- the accuracy of the amplitude control of the VCO can reach the accuracy of the current source control of the current of 1 unit, the current provided by the six current sources
- the ratio is 1:2:2 2 :2 3 :2 4 :2 5 .
- the amplitude of the resonance signal generated by the VCO can be precisely controlled.
- the algorithm adopted by SAR is the binary search method, and the algorithm is more efficient than other algorithms.
- SAR uses the "half-point search method" to generate digital quantities. Taking the 8-bit digital quantity as an example, the SAR first generates half of the 8-bit digital quantity, that is, 10000000B. The size of the analog quantity Vi (reference voltage) is tested, and the first voltage is represented by Vo. If Vo>Vi, clear the highest bit, if Vo ⁇ Vi, keep the highest bit. After the highest bit is determined, the SAR determines the second highest bit by the binary search method, that is, the size of the analog Vi is tested by half of the lower 7 bits y1000000B (y is the determined bit).
- the SAR determines the bit 5 bits by the binary search method, that is, the size of the analog quantity is tested by half of the lower 6 bits yy100000B (y is the determined bit). This process is repeated until the lowest bit 0 is determined and the automatic amplitude control ends.
- the comparison process is completed, and the obtained Vpeak and Vref deviation is smaller than the voltage resolution corresponding to one current bit. If a higher precision comparison result is required, the bit position can be increased and the resolution can be improved.
- FIG. 3 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention.
- the apparatus includes: a comparator 301, configured to compare magnitudes of an amplitude detection signal and a reference voltage signal, where the amplitude detection signal is a resonant signal of a VCO.
- the controller 302 is configured to generate an N-bit control signal according to the output result of the comparator 301.
- the controller 302 is a SAR;
- the current source array 303 includes N current sources, where N is greater than two;
- the N current sources included in the current source array 303 are connected to the source end of the VCO through N switches; one of the N-bit control signals is used to control one of the N switches to be turned on or Shutdown status.
- the embodiment of the present invention does not limit the composition of the VCO.
- the composition of the VCO shown in Figure 3 is only an example.
- the VCO includes a resonant cavity 304 and a cross-coupling tube 305, and the cross-coupling tube 305 employs an NMOS transistor.
- the apparatus further includes: a peak detection circuit 306 for detecting a minimum value of a magnitude of a resonance signal generated by the VCO (also referred to as an amplitude of a VCO); two inputs of the peak detection circuit 306 are respectively coupled to the Two differential outputs of the resonant cavity 304; the output of the peak detecting circuit 306 is coupled to the input of the comparator 301.
- a peak detection circuit 306 for detecting a minimum value of a magnitude of a resonance signal generated by the VCO (also referred to as an amplitude of a VCO)
- two inputs of the peak detection circuit 306 are respectively coupled to the Two differential outputs of the resonant cavity 304
- the device further includes: an Auto Band Select (ABS) circuit 307, configured to select a working frequency of the VCO; the ABS circuit 307 has a state output terminal.
- the status output of the ABS circuit 307 is used to indicate the number of times the selection of the operating frequency of the VCO is completed, and the status output of the ABS circuit 307 is connected to the enable end of the controller 302; the controller 302 Having a status output, the status output of the controller 302 is used to indicate whether the automatic amplitude control of the VCO is completed, and the status output of the controller 302 is connected to the enable end of the ABS circuit 307;
- the status output of the ABS circuit 307 indicates that the number of times the selection of the operating frequency of the VCO is completed is one, the enable end of the controller 302 is valid; when the status output of the controller 302 indicates completion When the automatic amplitude control of the VCO is described, the enable end of the ABS circuit 307 is valid.
- the amplitude calibration of the VCO changes the tail current to have a slight influence on the frequency
- the amplitude calibration is combined with the ABS algorithm, and the amplitude calibration is added to the two ABSs to ensure accurate frequency and frequency after the frequency point configuration. The ideal range.
- the ABS circuit can adjust the operating frequency of the VCO after determining the operating frequency of the VCO, for example, by controlling the closed or open state of the switch connected in series with the capacitor in the VCO, thereby controlling the capacitance in the VCO.
- the purpose of adjusting the working frequency of the VCO is achieved.
- FIG. 4 is a schematic diagram of relationship between automatic frequency band selection and automatic amplitude calibration according to an embodiment of the present invention. Referring to Figure 4, the overall calibration process is described as follows:
- the system needs to perform the ABS process first.
- the state machine enters the Auto Amplitude Calibration (AAC).
- AAC Auto Amplitude Calibration
- the state machine returns to the initial state.
- the second ABS is performed until the ABS process is completed and the state machine exits. Since the amplitude calibration needs to adjust the tail current, this action will have a slight influence on the oscillation frequency of the VCO.
- the algorithm adopts an ABS process (ABS_ST1). Effective), the amplitude calibration is performed after the process is completed (AAC_END is effective), and the ABS (ABS_ST2 effective) is performed once the calibration is completed.
- the peak detection circuit detects the lowest level of the resonance voltage, and obtains the output of 0/1 by comparison with the reference voltage Vref.
- the controller of the SAR generates a 6-bit control word according to the 0/1 signal to control.
- the switch of the current source at the tail of the VCO, the tail current source array adopts a binary ratio, that is, 1-2-4-8-16-32, and the dichotomy successive comparison process is completed 6 times.
- the amplitude calibration changes the tail current of the VCO to slightly affect the resonant frequency of the VCO, the amplitude calibration is combined with the ABS algorithm, and the amplitude calibration is added to the two ABSs to ensure accurate frequency and ideal frequency after the frequency configuration. Amplitude.
- FIG. 5 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention.
- the apparatus includes: a comparator 501, configured to compare a magnitude of an amplitude detection signal and a reference voltage signal, where the amplitude detection signal is a resonant signal of a VCO.
- the controller 502 is configured to generate an N-bit control signal according to the output result of the comparator 501.
- the controller 302 is a SAR;
- the current source array 503 includes N current sources, where N is greater than two;
- the current source array 503 includes N current sources connected to the source end of the VCO through N switches; one of the N-bit control signals is used to control one of the N switches to be turned on or Shutdown status.
- the embodiment of the present invention does not limit the composition of the VCO.
- the composition of the VCO shown in Fig. 5 is only an example.
- the VCO includes a resonant cavity 504 and a cross-coupling tube 505.
- the cross-coupling tube 505 employs a PMOS transistor.
- the device further includes a peak detecting circuit 506 for detecting a maximum resonant signal generated by the VCO.
- the two inputs of the peak detecting circuit 506 are respectively connected to two differential outputs of the resonant cavity 504; the output of the peak detecting circuit 506 is connected to the input of the comparator 501.
- another possible implementation for obtaining the magnitude of the VCO is provided.
- the device further includes: an ABS circuit 507 for selecting a working frequency of the VCO; the ABS circuit 507 has a state output, and the state output of the ABS circuit 507 is used.
- the status output of the 502 is used to indicate whether the automatic amplitude control of the VCO is completed, the status output of the controller 502 is connected to the enable end of the ABS circuit 507; when the status output of the ABS circuit 507 is indicating When the number of times of selecting the operating frequency of the VCO is one, the enable end of the controller 502 is valid; when the status output of the controller 502 indicates that the automatic amplitude control of the VCO is completed, The enable end of the ABS circuit 507 is valid.
- the amplitude calibration of the VCO changes the tail current to have a slight influence on the frequency
- the amplitude calibration is combined with the ABS algorithm, and the amplitude calibration is added to the two ABSs to ensure accurate frequency and frequency after the frequency point configuration. The ideal range.
- FIG. 6 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention.
- the apparatus includes: a comparator 601, configured to compare magnitudes of an amplitude detection signal and a reference voltage signal, where the amplitude detection signal is a source of a VCO The signal of the terminal is a signal related to the resonant signal; the controller 602 is configured to generate an N-bit control signal according to the output result of the comparator 601.
- the controller 602 is a SAR; the current source array 603 include N current sources, where N is greater than two; the current source array 603 includes N current sources connected to the source end of the VCO through N switches; one of the N-bit control signals is used for control signals One of the N switches is controlled to be in an on or off state.
- the embodiment of the present invention does not limit the composition of the VCO.
- the composition of the VCO shown in Fig. 6 is only an example.
- the input of the comparator 601 is connected to the source end of the VCO. According to this embodiment, since the voltage at the source of the VCO is related to the magnitude of the VCO, yet another possible implementation for obtaining the magnitude of the VCO is provided. Since the peak detecting circuit is omitted in this manner, the occupied area can be further reduced.
- the device further includes: an ABS circuit 604, configured to select a working frequency of the VCO; the ABS circuit 604 has a state output, and the state output of the ABS circuit 604 is used.
- the status output of the 602 is used to indicate whether the automatic amplitude control of the VCO is completed, the status output of the controller 602 is connected to the enable end of the ABS circuit 604; when the status output of the ABS circuit 604 is indicating When the number of times of selecting the operating frequency of the VCO is one, the enabled end of the controller 602 is valid; when the status output of the controller 602 indicates that the automatic amplitude control of the VCO is completed, The enable end of the ABS circuit 604 is active.
- the amplitude calibration of the VCO changes the tail current to have a slight influence on the frequency
- the amplitude calibration is combined with the ABS algorithm, and the amplitude calibration is added to the two ABSs to ensure accurate frequency and frequency after the frequency point configuration. The ideal range.
- the automatic amplitude calibration of the VCO is completed by the feedback method of the digital domain, the implementation manner is simple, the expandability is good, and the process node can be continuously evolved according to the process node, and the calibration circuit does not introduce additional noise, so the Large device area and RC filtering, no additional power consumption after the calibration process.
- FIG. 7 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention.
- the apparatus is configured to control an amplitude of a resonant signal generated by an oscillator, and one end of the current source array is coupled to a cross-coupling tube in the oscillator. At the source end, the other end of the current source array is coupled to the ground, respectively, the device includes:
- the comparison module 701 is configured to compare the amplitude detection signal of the oscillator with a reference voltage signal to obtain a comparison result
- the control module 702 is configured to control, according to the comparison result obtained by the comparison module 701, a current coupled to the source terminal by the current source array.
- the current source array includes N parallel branches, each of which includes a series of switches and current sources, where N is an integer greater than two;
- the control module 702 is specifically configured to control the on and off of the switches in the respective branches according to the comparison result obtained by the comparison module 701 to control the current coupled to the source terminal by the current source array.
- the values of the current sources in the N branches of the current source array form a geometric progression; the control module 702 is specifically configured to generate an N-bit control signal by using a binary search method. To control the on and off of the switches in the N branches, respectively.
- the oscillator further includes a resonant cavity
- the cross-coupling tube adopts an NMOS transistor
- the device further includes: a detecting module, configured to detect a magnitude of the resonant signal generated by the oscillator The minimum value is the minimum value of the amplitude of the resonance signal as the amplitude detection signal of the oscillator.
- the oscillator further includes a resonant cavity
- the cross-coupling tube adopts a PMOS tube
- the device further includes: a detecting module, configured to detect a magnitude of the resonant signal generated by the oscillator The maximum value is the maximum value of the amplitude of the resonance signal as the amplitude detection signal of the oscillator.
- the apparatus further includes: a detecting module, configured to use a signal of a source end of the oscillator as an amplitude detecting signal of the oscillator.
- the apparatus further includes: a frequency point selection module, configured to select, before the comparison module 701 controls the current source array to be coupled to the source according to the comparison result An operating frequency point of the oscillator; and, after the comparing module controls the current coupled to the source terminal by the current source array according to the comparison result, selecting an operating frequency point of the oscillator again.
- a frequency point selection module configured to select, before the comparison module 701 controls the current source array to be coupled to the source according to the comparison result An operating frequency point of the oscillator; and, after the comparing module controls the current coupled to the source terminal by the current source array according to the comparison result, selecting an operating frequency point of the oscillator again.
- FIG. 8 is a flowchart of an automatic amplitude control method according to an embodiment of the present invention, where the method is used to control the amplitude of a resonant signal generated by an oscillator, and one end of the current source array is coupled to a cross-coupling tube in the oscillator. At the source end, the other end of the current source array is coupled to the ground, respectively, the method includes:
- Step 801 comparing the amplitude detection signal of the oscillator with a reference voltage signal to obtain a comparison result.
- Step 802 according to the comparison result, controlling a current coupled to the source terminal by the current source array.
- the current source array includes N parallel branches, each of which includes a series of switches and a current source, wherein N is an integer greater than 2;
- controlling the current coupled to the source terminal by the current source array includes: controlling on and off of the switches in the respective branches according to the comparison result to control current coupled to the source terminal by the current source array .
- the values of the current sources in the N branches of the current source array form a geometric progression; the respectively controlling the switching of the switches in each branch, including: using a binary search
- the method generates an N-bit control signal to control the on and off of the switches in the N branches, respectively.
- the oscillator further includes a resonant cavity
- the cross-coupling tube adopts an NMOS transistor
- the method further includes: detecting a minimum value of a amplitude of the resonant signal generated by the oscillator, The minimum value of the amplitude of the resonant signal is used as the amplitude detection signal of the oscillator.
- the oscillator further includes a resonant cavity
- the cross-coupling tube adopts a PMOS transistor
- the method further includes: detecting a maximum value of a amplitude of the resonant signal generated by the oscillator, The maximum value of the amplitude of the resonant signal is used as the amplitude detection signal of the oscillator.
- the signal at the source of the oscillator is used as the amplitude detection signal of the oscillator.
- the method further includes: selecting a working frequency of the oscillator before the controlling the current source array coupled to the source according to the comparison result; and After controlling the current coupled to the source terminal by the current source array according to the comparison result, the operating frequency of the oscillator is selected again.
- the embodiment of the invention further provides a chip device, the chip comprising a processing unit for performing the method shown in FIG. 8 above.
- the embodiment of the invention further provides a chip device, which comprises a processor and a memory.
- the memory includes instructions that are executed by the processor for performing the method illustrated in FIG. 8 above.
- the present invention may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
- software it may be implemented in whole or in part in the form of a computer program product.
- the computer program product includes one or more computer instructions.
- the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable medium to another computer readable medium, for example, the computer instructions can be wired from a website site, computer, server or data center (for example, coaxial cable, fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website, computer, server or data center.
- the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
- the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a Solid State Disk (SSD)) or the like.
- a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
- an optical medium eg, a DVD
- a semiconductor medium eg, a Solid State Disk (SSD)
Landscapes
- Inductance-Capacitance Distribution Constants And Capacitance-Resistance Oscillators (AREA)
Abstract
Provided in an embodiment of the present invention are an automatic amplitude control device and method. The device comprises: an oscillator and a current source array, wherein one terminal of the current source array is coupled with a source terminal of a cross-coupling tube in the oscillator, and another terminal of the current source array is coupled with the ground. The device further comprises: a comparator that is used for comparing an amplitude detection signal of the oscillator to a reference voltage signal so as to obtain a comparison result; and a controller that is used for controlling, according to the comparison result, a current of the current source array coupled with the source terminal. In the embodiment of the present invention, the design is simple, the area expenses are low, and power consumption is low.
Description
本申请涉及电路领域,尤其涉及一种自动幅度控制装置及方法。The present application relates to the field of circuits, and in particular, to an automatic amplitude control apparatus and method.
当前工艺条件下,工艺电压温度(precess voltage temperature,PVT)的变化(variation)对压控振荡器(Voltage Controlled Oscillator,VCO)的幅度影响很大,对于同一个配置条件,快NMOS快PMOS(Fast NMOS Fast PMOS,FF)角(corner)摆幅可能大到影响电路的可靠性,但是在慢NMOS慢PMOS(Slow NMOS Slow PMOS,SS)角(corner)下可能存在VCO无法起振的问题,同时在高温下由于谐振(tank)品质因素(Q)值降低的缘故,起振能力也会比低温要差很多,如果需要针对每个场景去单独配置,则会存在以下问题:根据仿真得到的配置依赖于仿真时的模型(model)条件,跟实际情况不能完全匹配;对于工作环境和工艺角的监控需要添加额外的电路,增加了芯片的冗余度,测试时间和测试成本。Under the current process conditions, the variation of the process voltage temperature (PVT) has a great influence on the amplitude of the Voltage Controlled Oscillator (VCO). For the same configuration condition, the fast NMOS fast PMOS (Fast The NMOS Fast PMOS, FF) corner swing may be large enough to affect the reliability of the circuit, but at the Slow NMOS Slow PMOS (SS) corner, there may be a problem that the VCO cannot oscillate, and at the same time At high temperatures, due to the decrease in the tank quality factor (Q), the starting ability is much worse than the low temperature. If you need to configure it separately for each scene, the following problems exist: The configuration according to the simulation Depending on the model conditions during simulation, it does not exactly match the actual situation; monitoring the working environment and process angle requires adding additional circuitry, increasing chip redundancy, test time and test cost.
图1为目前市场上存在的一种采用模拟反馈方案来调控VCO的谐振信号的幅度的电路图,整个控制过程是一个负反馈的过程。Figure 1 is a circuit diagram of a resonant signal that uses an analog feedback scheme to regulate the VCO. The entire control process is a negative feedback process.
上述模拟反馈方案中,一方面,由于系统并非理想的线性系统,因此要保证系统负反馈的稳定性,Opamp实际的相位裕度较难设计;另一方面,参考电压Vref、VCO的幅度Vpeak和运算放大器Opamp的噪声大多为低频的闪烁噪声(flicker noise),需要较大的RC滤波器来消除,从而导致面积开销很大,且不容易解决;再一方面,环路处在实时工作的状态,存在一定的功耗浪费。In the above analog feedback scheme, on the one hand, since the system is not an ideal linear system, to ensure the stability of the system negative feedback, the actual phase margin of the Opamp is difficult to design; on the other hand, the reference voltage Vref, the amplitude of the VCO, Vpeak and The noise of the op amp Opamp is mostly low-frequency flicker noise, which requires a large RC filter to eliminate, resulting in large area overhead and not easy to solve. On the other hand, the loop is in real-time working state. There is a certain amount of power consumption.
发明内容Summary of the invention
本发明实施例提供了一种自动幅度控制装置及方法,设计简单、面积开销小、功耗小。The embodiment of the invention provides an automatic amplitude control device and method, which has simple design, small area overhead and low power consumption.
第一方面,提供了一种自动幅度控制装置,该装置包括:振荡器和电流源阵列,所述电流源阵列的一端耦合至所述振荡器中的交叉耦合管的源端,所述电流源阵列的另一端分别耦合到地;所述装置还包括:比较器,用于将所述振荡器的幅度检测信号与参考电压信号进行比较,得到比较结果;控制器,用于根据所述比较结果,控制所述电流源阵列耦合到所述源端的电流。In a first aspect, an automatic amplitude control apparatus is provided, the apparatus comprising: an oscillator and a current source array, one end of the current source array being coupled to a source of a cross-coupling tube in the oscillator, the current source The other end of the array is coupled to the ground, respectively; the device further includes: a comparator for comparing the amplitude detection signal of the oscillator with a reference voltage signal to obtain a comparison result; and a controller for performing the comparison result according to the comparison And controlling a current coupled to the source terminal by the current source array.
本发明实施例中,引入了数字反馈校准过程,通过比较器将振荡器的幅度检测信号与参考电压信号进行比较,得到比较结果,再通过控制器根据该比较结果控制电流源阵列耦合到振荡器中的交叉耦合管的源端的电流。由于采用了数字域的设计,从而简化了电路设计,设计简单,无需滤波,因而面积开销小,并且,校准完成后电路就 处在静默状态,不贡献功耗和噪声,因而功耗小。In the embodiment of the present invention, a digital feedback calibration process is introduced, and the amplitude detection signal of the oscillator is compared with the reference voltage signal by a comparator to obtain a comparison result, and then the controller controls the current source array to be coupled to the oscillator according to the comparison result. The current at the source of the cross-coupling tube. Due to the digital domain design, the circuit design is simplified, the design is simple, no filtering is required, and the area overhead is small, and after the calibration is completed, the circuit is in a silent state, does not contribute power consumption and noise, and thus consumes less power.
在一种可能的实施方式中,所述电流源阵列包括N个并联的支路,每一支路中包括串联的开关和电流源,其中,N为大于2的整数;所述控制器用于根据所述比较结果,分别控制各个支路中的开关的通断,以控制所述电流源阵列耦合到所述源端的电流。根据该实施方式,由控制器控制开关的通断,从而控制电流源阵列耦合到所述源端的电流,设计简单。In a possible implementation, the current source array includes N parallel branches, each of which includes a series of switches and current sources, where N is an integer greater than 2; The comparison results respectively control the on and off of the switches in the respective branches to control the current coupled to the source terminal by the current source array. According to this embodiment, the on/off of the switch is controlled by the controller to control the current coupled to the source terminal by the current source array, which is simple in design.
在一种可能的实施方式中,所述电流源阵列的N个支路中的电流源的值构成等比数列,所述控制器用于采用对分搜索法生成N位控制信号,以分别控制所述N个支路中的开关的通断。根据该实施方式,通过采用对分搜索法,幅度控制的效率高。In a possible implementation manner, the values of the current sources in the N branches of the current source array form a geometric progression, and the controller is configured to generate an N-bit control signal by using a binary search method to separately control the The switching of the switches in the N branches is described. According to this embodiment, the efficiency of the amplitude control is high by employing the binary search method.
在一种可能的实施方式中,所述振荡器还包括谐振腔,所述交叉耦合管采用NMOS管,所述装置还包括:峰值检测电路,用于检测所述振荡器产生的谐振信号的幅度的最小值;所述峰值检测电路的两个输入端分别耦合到所述谐振腔的两个差分输出端;所述峰值检测电路的输出端耦合到所述比较器的输入端。根据该实施方式,提供了一种获取振荡器的幅度检测信号的方式。In a possible implementation, the oscillator further includes a resonant cavity, the cross-coupling tube adopts an NMOS transistor, and the device further includes: a peak detecting circuit, configured to detect a magnitude of the resonant signal generated by the oscillator a minimum value; two inputs of the peak detection circuit are respectively coupled to two differential outputs of the resonant cavity; an output of the peak detection circuit is coupled to an input of the comparator. According to this embodiment, a manner of acquiring an amplitude detection signal of an oscillator is provided.
在一种可能的实施方式中,所述振荡器还包括谐振腔,所述交叉耦合管采用PMOS管,所述装置还包括:峰值检测电路,用于检测所述振荡器产生的谐振信号的幅度的最大值;所述峰值检测电路的两个输入端分别耦合到所述谐振腔的两个差分输出端;所述峰值检测电路的输出端耦合到所述比较器的输入端。根据该实施方式,提供了另一种获取振荡器的幅度检测信号的方式。In a possible implementation, the oscillator further includes a resonant cavity, the cross-coupling tube adopts a PMOS tube, and the device further includes: a peak detecting circuit, configured to detect a magnitude of the resonant signal generated by the oscillator a maximum value; two inputs of the peak detection circuit are respectively coupled to two differential outputs of the resonant cavity; an output of the peak detecting circuit is coupled to an input of the comparator. According to this embodiment, another way of acquiring the amplitude detection signal of the oscillator is provided.
在一种可能的实施方式中,所述比较器的输入端耦合到所述振荡器的源端。根据该实施方式,由于振荡器的源端的信号的幅度与振荡器产生的谐振信号的幅度相关,从而提供了另一种获取振荡器的幅度检测信号的方式。In a possible implementation, the input of the comparator is coupled to the source of the oscillator. According to this embodiment, since the amplitude of the signal at the source of the oscillator is related to the amplitude of the resonant signal generated by the oscillator, another way of obtaining the amplitude detection signal of the oscillator is provided.
在一种可能的实施方式中,所述装置还包括:自动频带选择(Auto Band Select,ABS)电路,用于在所述控制器根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之前,选择所述振荡器的工作频点;以及,在所述控制器根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之后,再次选择所述振荡器的工作频点。根据该实施方式,由于在对振荡器进行幅度校准的过程中改变了电流源阵列耦合到振荡器中的交叉耦合管的源端的电流,对频率产生轻微影响,因此将幅度校准与ABS算法结合,在两次ABS中加入幅度校准,从而确保频点配置后能够得到准确的频率和理想的幅度。In a possible implementation, the apparatus further includes: an Auto Band Select (ABS) circuit, configured to, at the controller, control the current source array to be coupled to the source according to the comparison result Selecting an operating frequency of the oscillator before the current of the terminal; and, after the controller controls the current coupled to the source by the current source array according to the comparison result, selecting the operating frequency of the oscillator again point. According to this embodiment, since the current source array is coupled to the source of the cross-coupling tube in the oscillator during the amplitude calibration of the oscillator, the frequency is slightly affected, so the amplitude calibration is combined with the ABS algorithm. Amplitude calibration is added to the two ABSs to ensure accurate frequency and ideal amplitude after the frequency configuration.
第二方面,提供了一种自动幅度控制装置,该装置用于控制振荡器产生的谐振信号的幅度,电流源阵列的一端耦合至所述振荡器中的交叉耦合管的源端,所述电流源阵列的另一端分别耦合到地,该装置包括:比较模块,用于将所述振荡器的幅度检测信号与参考电压信号进行比较,得到比较结果;控制模块,用于根据所述比较模块得到的比较结果,控制所述电流源阵列耦合到所述源端的电流。In a second aspect, an automatic amplitude control apparatus is provided for controlling the amplitude of a resonant signal generated by an oscillator, one end of which is coupled to a source of a cross-coupling tube in the oscillator, the current The other end of the source array is coupled to the ground, and the device includes: a comparison module, configured to compare the amplitude detection signal of the oscillator with a reference voltage signal to obtain a comparison result; and a control module, configured to obtain, according to the comparison module, As a result of the comparison, the current source array is coupled to the current at the source.
在一种可能的实施方式中,所述电流源阵列包括N个并联的支路,每一支路中包括串联的开关和电流源,其中,N为大于2的整数;所述根据所述比较结果,控制所述电流源阵列耦合到所述源端的电流,包括:根据所述比较结果,分别控制各个支路中的开关的通断,以控制所述电流源阵列耦合到所述源端的电流。In a possible implementation, the current source array includes N parallel branches, each of which includes a series of switches and a current source, wherein N is an integer greater than 2; As a result, controlling the current coupled to the source terminal by the current source array includes: controlling on and off of the switches in the respective branches according to the comparison result to control current coupled to the source terminal by the current source array .
在一种可能的实施方式中,所述电流源阵列的N个支路中的电流源的值构成等比数列;所述控制模块,具体用于采用对分搜索法生成N位控制信号,以分别控制所述N个支路中的开关的通断。In a possible implementation manner, the values of the current sources in the N branches of the current source array form a geometric progression; the control module is specifically configured to generate an N-bit control signal by using a binary search method, The switching of the switches in the N branches is controlled separately.
在一种可能的实施方式中,所述振荡器还包括谐振腔,所述交叉耦合管采用NMOS管,所述装置还包括:检测模块,用于检测所述振荡器产生的谐振信号的幅度的最小值,将所述谐振信号的幅度的最小值作为所述振荡器的幅度检测信号。In a possible implementation, the oscillator further includes a resonant cavity, the cross-coupling tube adopts an NMOS transistor, and the device further includes: a detecting module, configured to detect a magnitude of the resonant signal generated by the oscillator The minimum value is the minimum value of the amplitude of the resonance signal as the amplitude detection signal of the oscillator.
在一种可能的实施方式中,所述振荡器还包括谐振腔,所述交叉耦合管采用PMOS管,所述装置还包括:检测模块,用于检测所述振荡器产生的谐振信号的幅度的最大值,将所述谐振信号的幅度的最大值作为所述振荡器的幅度检测信号。In a possible implementation, the oscillator further includes a resonant cavity, the cross-coupling tube adopts a PMOS tube, and the device further includes: a detecting module, configured to detect a magnitude of the resonant signal generated by the oscillator The maximum value is the maximum value of the amplitude of the resonance signal as the amplitude detection signal of the oscillator.
在一种可能的实施方式中,所述装置还包括:检测模块,用于将所述振荡器的源端的信号作为所述振荡器的幅度检测信号。In a possible implementation, the apparatus further includes: a detecting module, configured to use a signal of a source end of the oscillator as an amplitude detecting signal of the oscillator.
在一种可能的实施方式中,所述装置还包括:频点选择模块,用于在所述比较模块根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之前,选择所述振荡器的工作频点;以及,在所述比较模块根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之后,再次选择所述振荡器的工作频点。In a possible implementation, the apparatus further includes: a frequency point selection module, configured to select the current before the comparison module controls the current source array coupled to the source terminal according to the comparison result An operating frequency point of the oscillator; and, after the comparing module controls the current coupled to the source terminal by the current source array according to the comparison result, selecting an operating frequency point of the oscillator again.
第三方面,提供了一种自动幅度控制方法,所述方法包括:将振荡器的幅度检测信号与参考电压信号进行比较,得到比较结果;根据所述比较结果,对耦合到所述振荡器的交叉耦合管的源端的电流源阵列的电流进行控制。In a third aspect, an automatic amplitude control method is provided, the method comprising: comparing an amplitude detection signal of an oscillator with a reference voltage signal to obtain a comparison result; and, according to the comparison result, coupling to the oscillator The current of the current source array at the source of the cross-coupling tube is controlled.
在一种可能的实施方式中,所述根据所述比较结果,对耦合到所述振荡器的交叉耦合管的源端的电流源阵列的电流进行控制,包括:根据所述比较结果,对耦合到所述振荡器的交叉耦合管的源端的电流源阵列的各个支路中的开关的通断进行控制,以控制所述电流源阵列耦合到所述源端的电流。In a possible implementation manner, the controlling, according to the comparison result, a current of a current source array coupled to a source end of the cross-coupling tube of the oscillator, comprising: coupling the pair according to the comparison result The switching of the switches in the respective branches of the current source array at the source of the cross-coupling tube of the oscillator is controlled to control the current coupled to the source terminal by the current source array.
在一种可能的实施方式中,所述对耦合到所述振荡器的交叉耦合管的源端的电流源阵列的各个支路中的开关的通断进行控制,包括:采用对分搜索法生成N位控制信号,以对耦合到所述振荡器的交叉耦合管的源端的电流源阵列的N个支路中的开关的通断进行控制,其中,N为大于2的整数。In a possible implementation, the controlling the on and off of the switches in the respective branches of the current source array coupled to the source of the cross-coupling tube of the oscillator includes: generating a N by using a binary search method The bit control signal controls the switching of the switches in the N branches of the current source array coupled to the source of the cross-coupled tube of the oscillator, wherein N is an integer greater than two.
在一种可能的实施方式中,所述方法还包括:检测所述振荡器产生的谐振信号的幅度的最小值,将所述谐振信号的幅度的最小值作为所述振荡器的幅度检测信号。In a possible implementation manner, the method further includes: detecting a minimum value of the amplitude of the resonant signal generated by the oscillator, and using a minimum value of the amplitude of the resonant signal as the amplitude detecting signal of the oscillator.
在一种可能的实施方式中,所述方法还包括:检测所述振荡器产生的谐振信号的幅度的最大值,将所述谐振信号的幅度的最大值作为所述振荡器的幅度检测信号。In a possible implementation, the method further includes: detecting a maximum value of the amplitude of the resonant signal generated by the oscillator, and using a maximum value of the amplitude of the resonant signal as the amplitude detecting signal of the oscillator.
在一种可能的实施方式中,所述方法还包括:将所述振荡器的源端的信号作为所述振荡器的幅度检测信号。In a possible implementation, the method further includes: using a signal of a source end of the oscillator as an amplitude detection signal of the oscillator.
在一种可能的实施方式中,所述方法还包括:在所述根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之前,选择所述振荡器的工作频点;以及,在所述根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之后,再次选择所述振荡器的工作频点。In a possible implementation, the method further includes: selecting a working frequency of the oscillator before the controlling the current source array coupled to the source according to the comparison result; and After controlling the current coupled to the source terminal by the current source array according to the comparison result, the operating frequency of the oscillator is selected again.
第四方面,本发明实施例提供了一种芯片,该芯片可以设置于终端中,该芯片包括处理器和接口。该处理器被配置为支持该芯片执行上述第三方面方法中相应的功能。该接口用于支持该芯片与其他芯片或其他网元之间的通信。该芯片还可以包括存储器, 该存储器用于与处理器耦合,其保存该芯片必要的程序指令和数据。In a fourth aspect, an embodiment of the present invention provides a chip, where the chip can be disposed in a terminal, where the chip includes a processor and an interface. The processor is configured to support the chip to perform the corresponding functions of the method of the third aspect described above. This interface is used to support communication between the chip and other chips or other network elements. The chip can also include a memory for coupling with the processor that holds the necessary program instructions and data for the chip.
第五方面,本发明实施例提供了一种计算机存储介质,用于储存为上述终端所用的计算机软件指令,其包含用于执行上述第三方面所设计的程序。In a fifth aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by the terminal, including a program designed to execute the foregoing third aspect.
第六方面,本发明实施例提供了一种计算机程序产品,其包含指令,当所述程序被计算机所执行时,该指令使得计算机执行上述第三方面方法设计中终端所执行的功能。In a sixth aspect, an embodiment of the present invention provides a computer program product, comprising instructions, which, when executed by a computer, cause a computer to perform the functions performed by the terminal in the method design of the third aspect above.
图1为现有的一种采用模拟反馈方案来调控VCO的谐振信号的幅度的电路图;1 is a circuit diagram of a conventional resonant feedback scheme for adjusting the amplitude of a resonant signal of a VCO;
图2A为本发明实施例提供的一种自动幅度控制装置结构示意图;2A is a schematic structural diagram of an automatic amplitude control apparatus according to an embodiment of the present invention;
图2B为本发明实施例提供的另一种自动幅度控制装置结构示意图;2B is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention;
图3为本发明实施例提供的另一种自动幅度控制装置结构示意图;3 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention;
图4为本发明实施例提供的一种自动频带选择与自动幅度校准的关系示意图;4 is a schematic diagram of relationship between automatic frequency band selection and automatic amplitude calibration according to an embodiment of the present invention;
图5为本发明实施例提供的另一种自动幅度控制装置结构示意图;FIG. 5 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention;
图6为本发明实施例提供的另一种自动幅度控制装置结构示意图;FIG. 6 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention;
图7为本发明实施例提供的另一种自动幅度控制装置结构示意图;FIG. 7 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention;
图8为本发明实施例提供的一种自动幅度控制方法流程图。FIG. 8 is a flowchart of an automatic amplitude control method according to an embodiment of the present invention.
本发明实施例提供了一种自动幅度控制装置及方法,设计简单、面积开销小、功耗小。The embodiment of the invention provides an automatic amplitude control device and method, which has simple design, small area overhead and low power consumption.
图2A为本发明实施例提供的一种自动幅度控制装置结构示意图,该装置包括:振荡器201(例如VCO)和电流源阵列202,所述电流源阵列202的一端耦合至所述振荡器201中的交叉耦合管的源端(也可称为共模端),所述电流源阵列202的另一端分别耦合到地;所述装置还包括:比较器203,用于将所述振荡器201的幅度检测信号与参考电压信号进行比较,得到比较结果;控制器204,用于根据所述比较结果,控制所述电流源阵列耦合到所述源端的电流。2A is a schematic structural diagram of an automatic amplitude control apparatus according to an embodiment of the present invention. The apparatus includes an oscillator 201 (eg, a VCO) and a current source array 202. One end of the current source array 202 is coupled to the oscillator 201. a source end of the cross-coupling tube (also referred to as a common mode end), the other end of the current source array 202 being coupled to ground, respectively; the apparatus further comprising: a comparator 203 for using the oscillator 201 The amplitude detection signal is compared with the reference voltage signal to obtain a comparison result; the controller 204 is configured to control the current coupled to the source terminal by the current source array according to the comparison result.
可以理解的是,交叉耦合管也就是VCO的负阻产生器,通过调节耦合到交叉耦合管的源端的电流,可以改变VCO的负阻,进而调整VCO的幅度。It can be understood that the cross-coupling tube, which is the negative resistance generator of the VCO, can adjust the negative resistance of the VCO and adjust the amplitude of the VCO by adjusting the current coupled to the source end of the cross-coupling tube.
本发明实施例中,引入了数字反馈校准过程,通过比较器将振荡器的幅度检测信号与参考电压信号进行比较,得到比较结果,再通过控制器根据该比较结果控制电流源阵列耦合到振荡器中的交叉耦合管的源端的电流。由于采用了数字域的设计,从而简化了电路设计,设计简单,无需滤波,因而面积开销小,并且,校准完成后电路就处在静默状态,不贡献功耗和噪声,因而功耗小。In the embodiment of the present invention, a digital feedback calibration process is introduced, and the amplitude detection signal of the oscillator is compared with the reference voltage signal by a comparator to obtain a comparison result, and then the controller controls the current source array to be coupled to the oscillator according to the comparison result. The current at the source of the cross-coupling tube. Due to the digital domain design, the circuit design is simplified, the design is simple, no filtering is required, and the area overhead is small, and after the calibration is completed, the circuit is in a silent state, does not contribute power consumption and noise, and thus consumes less power.
在一种可能的实施方式中,所述电流源阵列包括N个并联的支路,每一支路中包括串联的开关和电流源,其中,N为大于2的整数;所述控制器用于根据所述比较结果,分别控制各个支路中的开关的通断,以控制所述电流源阵列耦合到所述源端的电流。根据该实施方式,由控制器控制开关的通断,从而控制电流源阵列耦合到所述源端的电流,设计简单。In a possible implementation, the current source array includes N parallel branches, each of which includes a series of switches and current sources, where N is an integer greater than 2; The comparison results respectively control the on and off of the switches in the respective branches to control the current coupled to the source terminal by the current source array. According to this embodiment, the on/off of the switch is controlled by the controller to control the current coupled to the source terminal by the current source array, which is simple in design.
在一种可能的实施方式中,所述电流源阵列的N个支路中的电流源的值构成等比数列,所述控制器用于采用对分搜索法生成N位控制信号,以分别控制所述N个支路中的开关的通断。根据该实施方式,通过采用对分搜索法,幅度控制的效率高。In a possible implementation manner, the values of the current sources in the N branches of the current source array form a geometric progression, and the controller is configured to generate an N-bit control signal by using a binary search method to separately control the The switching of the switches in the N branches is described. According to this embodiment, the efficiency of the amplitude control is high by employing the binary search method.
可以理解的是,所述电流源阵列的N个支路中的电流源的值可以相同,也可以不同。所述电流源阵列的N个支路中的电流源的值构成等比数列并不是必要的,仅为一种可选的实施方式,示例性的,所述电流源阵列的N个支路中的电流源的值还可以构成等差数列,或者其他形式的数列。应当知道,当所述电流源阵列的N个支路中的电流源的值成等差数列,或者其他形式的数列时,控制器在生成N位控制信号时所使用的算法可以参考在先技术,此处不再赘述。It can be understood that the values of the current sources in the N branches of the current source array may be the same or different. It is not necessary that the values of the current sources in the N branches of the current source array form a geometric progression, and are merely an alternative embodiment, exemplarily, in the N branches of the current source array The value of the current source can also constitute an arithmetic progression, or other form of sequence. It should be understood that when the values of the current sources in the N branches of the current source array are in an arithmetic progression, or other forms of series, the algorithm used by the controller in generating the N-bit control signal can refer to the prior art. , will not repeat them here.
在一个示例中,所述电流源阵列的N个支路中的电流源的值构成等比数列,且比值为2,所述控制器为逐次逼近寄存器(Successive Approximation Register,SAR),SAR用于采用对分搜索法生成N位控制信号,以分别控制所述N个支路中的开关的通断。In one example, the values of the current sources in the N branches of the current source array form a geometric progression and the ratio is 2, the controller is a Successive Approximation Register (SAR), and the SAR is used for An N-bit control signal is generated by a binary search method to respectively control the on and off of the switches in the N branches.
在一种可能的实施方式中,所述振荡器还包括谐振腔,所述交叉耦合管采用NMOS管,所述装置还包括:峰值检测电路,用于检测所述振荡器产生的谐振信号的幅度的最小值;所述峰值检测电路的两个输入端分别耦合到所述谐振腔的两个差分输出端;所述峰值检测电路的输出端耦合到所述比较器的输入端。根据该实施方式,提供了一种获取振荡器的幅度检测信号的方式。In a possible implementation, the oscillator further includes a resonant cavity, the cross-coupling tube adopts an NMOS transistor, and the device further includes: a peak detecting circuit, configured to detect a magnitude of the resonant signal generated by the oscillator a minimum value; two inputs of the peak detection circuit are respectively coupled to two differential outputs of the resonant cavity; an output of the peak detection circuit is coupled to an input of the comparator. According to this embodiment, a manner of acquiring an amplitude detection signal of an oscillator is provided.
在一种可能的实施方式中,所述振荡器还包括谐振腔,所述交叉耦合管采用PMOS管,所述装置还包括:峰值检测电路,用于检测所述振荡器产生的谐振信号的幅度的最大值;所述峰值检测电路的两个输入端分别耦合到所述谐振腔的两个差分输出端;所述峰值检测电路的输出端耦合到所述比较器的输入端。根据该实施方式,提供了另一种获取振荡器的幅度检测信号的方式。In a possible implementation, the oscillator further includes a resonant cavity, the cross-coupling tube adopts a PMOS tube, and the device further includes: a peak detecting circuit, configured to detect a magnitude of the resonant signal generated by the oscillator a maximum value; two inputs of the peak detection circuit are respectively coupled to two differential outputs of the resonant cavity; an output of the peak detecting circuit is coupled to an input of the comparator. According to this embodiment, another way of acquiring the amplitude detection signal of the oscillator is provided.
在一种可能的实施方式中,所述比较器的输入端耦合到所述振荡器的源端。根据该实施方式,由于振荡器的源端的信号的幅度与振荡器产生的谐振信号的幅度相关,从而提供了另一种获取振荡器的幅度检测信号的方式。In a possible implementation, the input of the comparator is coupled to the source of the oscillator. According to this embodiment, since the amplitude of the signal at the source of the oscillator is related to the amplitude of the resonant signal generated by the oscillator, another way of obtaining the amplitude detection signal of the oscillator is provided.
在一种可能的实施方式中,所述装置还包括:自动频带选择(Auto Band Select,ABS)电路,用于在所述控制器根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之前,选择所述振荡器的工作频点;以及,在所述控制器根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之后,再次选择所述振荡器的工作频点。根据该实施方式,由于在对振荡器进行幅度校准的过程中改变了电流源阵列耦合到振荡器中的交叉耦合管的源端的电流,对频率产生轻微影响,因此将幅度校准与ABS算法结合,在两次ABS中加入幅度校准,从而确保频点配置后能够得到准确的频率和理想的幅度。In a possible implementation, the apparatus further includes: an Auto Band Select (ABS) circuit, configured to, at the controller, control the current source array to be coupled to the source according to the comparison result Selecting an operating frequency of the oscillator before the current of the terminal; and, after the controller controls the current coupled to the source by the current source array according to the comparison result, selecting the operating frequency of the oscillator again point. According to this embodiment, since the current source array is coupled to the source of the cross-coupling tube in the oscillator during the amplitude calibration of the oscillator, the frequency is slightly affected, so the amplitude calibration is combined with the ABS algorithm. Amplitude calibration is added to the two ABSs to ensure accurate frequency and ideal amplitude after the frequency configuration.
图2B为本发明实施例提供的另一种自动幅度控制装置结构示意图,该装置包括:比较器211,用于比较幅度检测信号与参考电压信号的大小,所述幅度检测信号可以为VCO的谐振信号或者为与VCO的谐振信号相关的信号;SAR212,用于根据所述比较器211的输出结果生成N位控制信号;电流源阵列213,包括N个电流源,其中,N大于二;所述电流源阵列204包括的N个电流源通过N个开关连接所述VCO的源端; 所述N位控制信号中的每一位控制信号分别用于控制所述N个开关中的一个开关为开启或关断状态。FIG. 2B is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention. The apparatus includes: a comparator 211, configured to compare a magnitude of an amplitude detection signal and a reference voltage signal, where the amplitude detection signal may be a resonance of a VCO. The signal is either a signal related to the resonant signal of the VCO; the SAR 212 is configured to generate an N-bit control signal according to the output result of the comparator 211; the current source array 213 includes N current sources, wherein N is greater than two; The current source array 204 includes N current sources connected to the source end of the VCO through N switches; each of the N-bit control signals is used to control one of the N switches to be turned on. Or shut down.
本发明实施例中,引入了数字反馈校准过程,通过SAR的二分法不断的调整VCO的源端接入的电流源,通过逐次逼近的方式可以将VCO的幅度误差控制在1最低有效位(Least Significant Bit,LSB)的分辨率范围内,由于采用了数字域的设计,从而简化了电路设计,设计简单,无需滤波,因而面积开销小,并且,校准完成后电路就处在静默状态,不贡献功耗和噪声,因而功耗小。In the embodiment of the present invention, a digital feedback calibration process is introduced, and the current source connected to the source end of the VCO is continuously adjusted by the SAR dichotomy, and the amplitude error of the VCO can be controlled to the least significant bit by successive approximation (Least Within the resolution range of Significant Bit (LSB), the design of the digital domain simplifies the circuit design, the design is simple, no filtering is required, and the area overhead is small, and the circuit is in a silent state after the calibration is completed, and does not contribute. Power consumption and noise, so power consumption is small.
可以理解的是,电流源阵列204包括的N个电流源提供的电流可以相同,也可以不相同。电流源的数目N可以为任意大于或等于2的整数,实际设计时可以根据VCO产生的谐振信号的幅度需要控制的精度来确定电流源的数目N。在一个示例中,N=6,N个电流源中任意两个电流源提供的电流的比值为2的倍数,例如,这6个电流源提供的电流大小分别为1unit、2unit、2
2unit、2
3unit、2
4unit、2
5unit,这里的unit可以视为电流大小的单位,VCO的幅度控制的精度能够达到电流为1unit的电流源控制的精度,这6个电流源提供的电流的比例为1:2:2
2:2
3:2
4:2
5。根据该实施方式,能够精确控制VCO产生的谐振信号的幅度。
It can be understood that the currents provided by the N current sources included in the current source array 204 may be the same or different. The number N of current sources may be any integer greater than or equal to 2. In actual design, the number N of current sources may be determined according to the accuracy of the amplitude of the resonant signal generated by the VCO. In one example, N=6, the ratio of the currents provided by any two of the N current sources is a multiple of 2, for example, the currents provided by the six current sources are 1 unit, 2 unit, 2 2 unit, respectively. 2 3 unit, 2 4 unit, 2 5 unit, where the unit can be regarded as the unit of current magnitude, the accuracy of the amplitude control of the VCO can reach the accuracy of the current source control of the current of 1 unit, the current provided by the six current sources The ratio is 1:2:2 2 :2 3 :2 4 :2 5 . According to this embodiment, the amplitude of the resonance signal generated by the VCO can be precisely controlled.
其中,SAR采用的算法为对分搜索法,相对于其他算法,该算法的效率更高。SAR使用“对分搜索法”产生数字量,以8位数字量为例,SAR首先产生8位数字量的一半,即10000000B,试探模拟量Vi(参考电压)的大小,用Vo表示第一电压,若Vo>Vi,清除最高位,若Vo<Vi,保留最高位。在最高位确定后,SAR又以对分搜索法确定次高位,即以低7位的一半y1000000B(y为已确定位)试探模拟量Vi的大小。在bit6确定后,SAR以对分搜索法确定bit5位,即以低6位的一半yy100000B(y为已确定位)试探模拟量的大小。重复这一过程,直到最低位bit0被确定,自动幅度控制结束。Among them, the algorithm adopted by SAR is the binary search method, and the algorithm is more efficient than other algorithms. SAR uses the "half-point search method" to generate digital quantities. Taking the 8-bit digital quantity as an example, the SAR first generates half of the 8-bit digital quantity, that is, 10000000B. The size of the analog quantity Vi (reference voltage) is tested, and the first voltage is represented by Vo. If Vo>Vi, clear the highest bit, if Vo<Vi, keep the highest bit. After the highest bit is determined, the SAR determines the second highest bit by the binary search method, that is, the size of the analog Vi is tested by half of the lower 7 bits y1000000B (y is the determined bit). After bit 6 is determined, the SAR determines the bit 5 bits by the binary search method, that is, the size of the analog quantity is tested by half of the lower 6 bits yy100000B (y is the determined bit). This process is repeated until the lowest bit 0 is determined and the automatic amplitude control ends.
假设幅度检测信号Vpeak=0.4V,参考电压信号Vref=0.312V,一个电流bit对应的电压分辨率为0.005V,那么工作过程大致如下:Assuming that the amplitude detection signal Vpeak=0.4V, the reference voltage signal Vref=0.312V, and the voltage resolution corresponding to one current bit is 0.005V, the working process is roughly as follows:
第一步:i[5:0]=100000,(Vpeak=0.4V)>(Vref=0.312V),比较器输出1;The first step: i[5:0]=100000, (Vpeak=0.4V)>(Vref=0.312V), the comparator output 1;
第二步:i[5:0]=110000,(Vpeak=0.32V)>(Vref=0.312V),比较器输出1;The second step: i[5:0]=110000, (Vpeak=0.32V)>(Vref=0.312V), the comparator output 1;
第三步:i[5:0]=111000,(Vpeak=0.28V<(Vref=0.312V),比较器输出0;The third step: i[5:0]=111000, (Vpeak=0.28V<(Vref=0.312V), the comparator outputs 0;
第四步:i[5:0]=110100,(Vpeak=0.32V)>(Vref=0.312V),比较器输出1;The fourth step: i[5:0]=110100, (Vpeak=0.32V)>(Vref=0.312V), the comparator output 1;
第五步:i[5:0]=110110,(Vpeak=0.315V)>(Vref=0.312V),比较器输出1;The fifth step: i[5:0]=110110, (Vpeak=0.315V)>(Vref=0.312V), the comparator output 1;
第六步:i[5:0]=110111,(Vpeak=0.31V)<(Vref=0.312V),比较器输出0。The sixth step: i[5:0]=110111, (Vpeak=0.31V)<(Vref=0.312V), the comparator outputs 0.
至此,比较过程完成,得到的Vpeak与Vref的偏差小于一个电流bit对应的电压分辨率,如果需要更高精度的比较结果,可以增加bit位,并且提高分辨率。At this point, the comparison process is completed, and the obtained Vpeak and Vref deviation is smaller than the voltage resolution corresponding to one current bit. If a higher precision comparison result is required, the bit position can be increased and the resolution can be improved.
图3为本发明实施例提供的另一种自动幅度控制装置结构示意图,该装置包括:比较器301,用于比较幅度检测信号与参考电压信号的大小,所述幅度检测信号为VCO的谐振信号;控制器302,用于根据所述比较器301的输出结果生成N位控制信号,该实施例中控制器302为SAR;电流源阵列303,包括N个电流源,其中,N大于二;所述电流源阵列303包括的N个电流源通过N个开关连接所述VCO的源端;所述N位控制信号中的一位控制信号用于控制所述N个开关中的一个开关为开启或关断状态。FIG. 3 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention. The apparatus includes: a comparator 301, configured to compare magnitudes of an amplitude detection signal and a reference voltage signal, where the amplitude detection signal is a resonant signal of a VCO. The controller 302 is configured to generate an N-bit control signal according to the output result of the comparator 301. In this embodiment, the controller 302 is a SAR; the current source array 303 includes N current sources, where N is greater than two; The N current sources included in the current source array 303 are connected to the source end of the VCO through N switches; one of the N-bit control signals is used to control one of the N switches to be turned on or Shutdown status.
可以理解的是,本发明实施例对于VCO的组成不做限定。图3所示的VCO的组成仅为示例。参照图3,所述VCO包括谐振腔304和交叉耦合管305,所述交叉耦合管305采用NMOS管。所述装置还包括:峰值检测电路306,用于检测所述VCO产生的谐振信号的幅度(也称为VCO的幅度)的最小值;所述峰值检测电路306的两个输入端分别连接所述谐振腔304的两个差分输出端;所述峰值检测电路306的输出端连接所述比较器301的输入端。根据该实施方式,提供了获取VCO的幅度的一种可能的实现方式。It can be understood that the embodiment of the present invention does not limit the composition of the VCO. The composition of the VCO shown in Figure 3 is only an example. Referring to FIG. 3, the VCO includes a resonant cavity 304 and a cross-coupling tube 305, and the cross-coupling tube 305 employs an NMOS transistor. The apparatus further includes: a peak detection circuit 306 for detecting a minimum value of a magnitude of a resonance signal generated by the VCO (also referred to as an amplitude of a VCO); two inputs of the peak detection circuit 306 are respectively coupled to the Two differential outputs of the resonant cavity 304; the output of the peak detecting circuit 306 is coupled to the input of the comparator 301. According to this embodiment, one possible implementation of obtaining the magnitude of the VCO is provided.
在一种可能的实施方式中,所述装置还包括:自动频带选择(Auto Band Select,ABS)电路307,用于选择所述VCO的工作频点;所述ABS电路307具有状态输出端,所述ABS电路307的状态输出端用于指示完成对所述VCO的工作频点的选择的次数,所述ABS电路307的状态输出端连接所述控制器302的使能端;所述控制器302具有状态输出端,所述控制器302的状态输出端用于指示是否完成对所述VCO的自动幅度控制,所述控制器302的状态输出端连接所述ABS电路307的使能端;当所述ABS电路307的状态输出端指示完成对所述VCO的工作频点的选择的次数为一时,所述控制器302的使能端生效;当所述控制器302的状态输出端指示完成对所述VCO的自动幅度控制时,所述ABS电路307的使能端生效。根据该实施方式,由于VCO的幅度校准改变尾电流会对频率产生轻微影响,因此将幅度校准与ABS算法结合,在两次ABS中加入幅度校准,从而确保频点配置后能够得到准确的频率和理想的幅度。In a possible implementation, the device further includes: an Auto Band Select (ABS) circuit 307, configured to select a working frequency of the VCO; the ABS circuit 307 has a state output terminal. The status output of the ABS circuit 307 is used to indicate the number of times the selection of the operating frequency of the VCO is completed, and the status output of the ABS circuit 307 is connected to the enable end of the controller 302; the controller 302 Having a status output, the status output of the controller 302 is used to indicate whether the automatic amplitude control of the VCO is completed, and the status output of the controller 302 is connected to the enable end of the ABS circuit 307; When the status output of the ABS circuit 307 indicates that the number of times the selection of the operating frequency of the VCO is completed is one, the enable end of the controller 302 is valid; when the status output of the controller 302 indicates completion When the automatic amplitude control of the VCO is described, the enable end of the ABS circuit 307 is valid. According to this embodiment, since the amplitude calibration of the VCO changes the tail current to have a slight influence on the frequency, the amplitude calibration is combined with the ABS algorithm, and the amplitude calibration is added to the two ABSs to ensure accurate frequency and frequency after the frequency point configuration. The ideal range.
可以理解的是,ABS电路在确定VCO的工作频点后,可以调整VCO的工作频点,例如,通过控制VCO中的电容串联的开关的闭合或断开状态,从而控制接入VCO中的电容,相应地达到调整VCO的工作频点的目的。It can be understood that the ABS circuit can adjust the operating frequency of the VCO after determining the operating frequency of the VCO, for example, by controlling the closed or open state of the switch connected in series with the capacitor in the VCO, thereby controlling the capacitance in the VCO. Correspondingly, the purpose of adjusting the working frequency of the VCO is achieved.
图4为本发明实施例提供的一种自动频带选择与自动幅度校准的关系示意图。参照图4,整体校准过程描述如下:FIG. 4 is a schematic diagram of relationship between automatic frequency band selection and automatic amplitude calibration according to an embodiment of the present invention. Referring to Figure 4, the overall calibration process is described as follows:
系统在选择VCO工作频点的时候,需要先进行ABS的过程,当第一次ABS完成后,状态机会进入到自动幅度校准(Auto Amplitude Calibration,AAC)中,待AAC结束后状态机返回到初始态,进行第二次ABS,直到ABS过程完成,状态机退出。由于幅度校准需要调整尾电流,该动作会对VCO的震荡频率产生轻微的影响,在系统应用中为了保证选到最优的频带(band),算法上采取的做法是先进行一次ABS过程(ABS_ST1生效),该过程结束后再进行幅度校准(AAC_END生效),待校准结束,再做一次ABS(ABS_ST2生效)。When the VCO working frequency point is selected, the system needs to perform the ABS process first. When the first ABS is completed, the state machine enters the Auto Amplitude Calibration (AAC). After the AAC ends, the state machine returns to the initial state. State, the second ABS is performed until the ABS process is completed and the state machine exits. Since the amplitude calibration needs to adjust the tail current, this action will have a slight influence on the oscillation frequency of the VCO. In order to ensure the optimal band selection in the system application, the algorithm adopts an ABS process (ABS_ST1). Effective), the amplitude calibration is performed after the process is completed (AAC_END is effective), and the ABS (ABS_ST2 effective) is performed once the calibration is completed.
AAC过程简述:峰值检测电路检测出谐振(tank)电压的最低电平,通过跟参考电压Vref的比较得到0/1的输出,SAR的控制器根据0/1信号产生6bit的控制字去控制VCO尾部的电流源的开关,尾电流源阵列采用二进制的比例,即1-2-4-8-16-32,这样的二分法逐次比较过程经过6次就完成了。Vpeak与Vref的大小经过比较器的比较,输出结果0/1。若输出=0,则SAR采用二分法向下变化Bit<5:0>,反之,则二分法向上,对应的电流源的开关随Bit<5:0>开启或者关断,VCO的摆幅也随之增大或者减小,经过逐次比较的过程最终使得Vpeak与Vref的差值小于1LSB。AAC process description: The peak detection circuit detects the lowest level of the resonance voltage, and obtains the output of 0/1 by comparison with the reference voltage Vref. The controller of the SAR generates a 6-bit control word according to the 0/1 signal to control. The switch of the current source at the tail of the VCO, the tail current source array adopts a binary ratio, that is, 1-2-4-8-16-32, and the dichotomy successive comparison process is completed 6 times. The size of Vpeak and Vref is compared by the comparator, and the output is 0/1. If the output is =0, the SAR uses the dichotomy to change Bit<5:0> downward. Otherwise, the dichotomy is upward, and the corresponding current source switch is turned on or off with Bit<5:0>, and the VCO swing is also With the increase or decrease, the process of successive comparisons finally makes the difference between Vpeak and Vref less than 1LSB.
由于幅度校准改变VCO的尾电流会对VCO的谐振频率产生轻微影响,因此将幅度校准与ABS算法结合,在两次ABS中加入幅度校准,能够确保频点配置后能够得到准 确的频率和理想的幅度。Since the amplitude calibration changes the tail current of the VCO to slightly affect the resonant frequency of the VCO, the amplitude calibration is combined with the ABS algorithm, and the amplitude calibration is added to the two ABSs to ensure accurate frequency and ideal frequency after the frequency configuration. Amplitude.
图5为本发明实施例提供的另一种自动幅度控制装置结构示意图,该装置包括:比较器501,用于比较幅度检测信号与参考电压信号的大小,所述幅度检测信号为VCO的谐振信号;控制器502,用于根据所述比较器501的输出结果生成N位控制信号,该实施例中控制器302为SAR;电流源阵列503,包括N个电流源,其中,N大于二;所述电流源阵列503包括的N个电流源通过N个开关连接所述VCO的源端;所述N位控制信号中的一位控制信号用于控制所述N个开关中的一个开关为开启或关断状态。FIG. 5 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention. The apparatus includes: a comparator 501, configured to compare a magnitude of an amplitude detection signal and a reference voltage signal, where the amplitude detection signal is a resonant signal of a VCO. The controller 502 is configured to generate an N-bit control signal according to the output result of the comparator 501. In this embodiment, the controller 302 is a SAR; the current source array 503 includes N current sources, where N is greater than two; The current source array 503 includes N current sources connected to the source end of the VCO through N switches; one of the N-bit control signals is used to control one of the N switches to be turned on or Shutdown status.
可以理解的是,本发明实施例对于VCO的组成不做限定。图5所示的VCO的组成仅为示例。参照图5,所述VCO包括谐振腔504和交叉耦合管505,所述交叉耦合管505采用PMOS管,所述装置还包括:峰值检测电路506,用于检测所述VCO产生的谐振信号的最大值;所述峰值检测电路506的两个输入端分别连接所述谐振腔504的两个差分输出端;所述峰值检测电路506的输出端连接所述比较器501的输入端。根据该实施方式,提供了获取VCO的幅度的另一种可能的实现方式。It can be understood that the embodiment of the present invention does not limit the composition of the VCO. The composition of the VCO shown in Fig. 5 is only an example. Referring to FIG. 5, the VCO includes a resonant cavity 504 and a cross-coupling tube 505. The cross-coupling tube 505 employs a PMOS transistor. The device further includes a peak detecting circuit 506 for detecting a maximum resonant signal generated by the VCO. The two inputs of the peak detecting circuit 506 are respectively connected to two differential outputs of the resonant cavity 504; the output of the peak detecting circuit 506 is connected to the input of the comparator 501. According to this embodiment, another possible implementation for obtaining the magnitude of the VCO is provided.
在一种可能的实施方式中,所述装置还包括:ABS电路507,用于选择所述VCO的工作频点;所述ABS电路507具有状态输出端,所述ABS电路507的状态输出端用于指示完成对所述VCO的工作频点的选择的次数,所述ABS电路507的状态输出端连接所述控制器502的使能端;所述控制器502具有状态输出端,所述控制器502的状态输出端用于指示是否完成对所述VCO的自动幅度控制,所述控制器502的状态输出端连接所述ABS电路507的使能端;当所述ABS电路507的状态输出端指示完成对所述VCO的工作频点的选择的次数为一时,所述控制器502的使能端生效;当所述控制器502的状态输出端指示完成对所述VCO的自动幅度控制时,所述ABS电路507的使能端生效。根据该实施方式,由于VCO的幅度校准改变尾电流会对频率产生轻微影响,因此将幅度校准与ABS算法结合,在两次ABS中加入幅度校准,从而确保频点配置后能够得到准确的频率和理想的幅度。In a possible implementation, the device further includes: an ABS circuit 507 for selecting a working frequency of the VCO; the ABS circuit 507 has a state output, and the state output of the ABS circuit 507 is used. The number of times the selection of the operating frequency of the VCO is completed, the status output of the ABS circuit 507 is coupled to the enable end of the controller 502; the controller 502 has a status output, the controller The status output of the 502 is used to indicate whether the automatic amplitude control of the VCO is completed, the status output of the controller 502 is connected to the enable end of the ABS circuit 507; when the status output of the ABS circuit 507 is indicating When the number of times of selecting the operating frequency of the VCO is one, the enable end of the controller 502 is valid; when the status output of the controller 502 indicates that the automatic amplitude control of the VCO is completed, The enable end of the ABS circuit 507 is valid. According to this embodiment, since the amplitude calibration of the VCO changes the tail current to have a slight influence on the frequency, the amplitude calibration is combined with the ABS algorithm, and the amplitude calibration is added to the two ABSs to ensure accurate frequency and frequency after the frequency point configuration. The ideal range.
其中,自动频带选择与自动幅度校准的关系可以参照图4及相应的文字描述,在此不做赘述。The relationship between the automatic band selection and the automatic amplitude calibration can be referred to FIG. 4 and the corresponding text description, and details are not described herein.
图6为本发明实施例提供的另一种自动幅度控制装置结构示意图,该装置包括:比较器601,用于比较幅度检测信号与参考电压信号的大小,所述幅度检测信号为与VCO的源端的信号,该源端的信号为与谐振信号相关的信号;控制器602,用于根据所述比较器601的输出结果生成N位控制信号,该实施例中控制器602为SAR;电流源阵列603,包括N个电流源,其中,N大于二;所述电流源阵列603包括的N个电流源通过N个开关连接所述VCO的源端;所述N位控制信号中的一位控制信号用于控制所述N个开关中的一个开关为开启或关断状态。FIG. 6 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention. The apparatus includes: a comparator 601, configured to compare magnitudes of an amplitude detection signal and a reference voltage signal, where the amplitude detection signal is a source of a VCO The signal of the terminal is a signal related to the resonant signal; the controller 602 is configured to generate an N-bit control signal according to the output result of the comparator 601. In this embodiment, the controller 602 is a SAR; the current source array 603 Include N current sources, where N is greater than two; the current source array 603 includes N current sources connected to the source end of the VCO through N switches; one of the N-bit control signals is used for control signals One of the N switches is controlled to be in an on or off state.
可以理解的是,本发明实施例对于VCO的组成不做限定。图6所示的VCO的组成仅为示例。在一种可能的实施方式中,所述比较器601的输入端连接所述VCO的源端。根据该实施方式,由于VCO的源端的电压与VCO的幅度相关,从而提供了获取VCO的幅度的又一种可能的实现方式。由于该方式省略了峰值检测电路,因此可以进一步减少占用面积。It can be understood that the embodiment of the present invention does not limit the composition of the VCO. The composition of the VCO shown in Fig. 6 is only an example. In a possible implementation, the input of the comparator 601 is connected to the source end of the VCO. According to this embodiment, since the voltage at the source of the VCO is related to the magnitude of the VCO, yet another possible implementation for obtaining the magnitude of the VCO is provided. Since the peak detecting circuit is omitted in this manner, the occupied area can be further reduced.
在一种可能的实施方式中,所述装置还包括:ABS电路604,用于选择所述VCO 的工作频点;所述ABS电路604具有状态输出端,所述ABS电路604的状态输出端用于指示完成对所述VCO的工作频点的选择的次数,所述ABS电路604的状态输出端连接所述控制器602的使能端;所述控制器602具有状态输出端,所述控制器602的状态输出端用于指示是否完成对所述VCO的自动幅度控制,所述控制器602的状态输出端连接所述ABS电路604的使能端;当所述ABS电路604的状态输出端指示完成对所述VCO的工作频点的选择的次数为一时,所述控制器602的使能端生效;当所述控制器602的状态输出端指示完成对所述VCO的自动幅度控制时,所述ABS电路604的使能端生效。根据该实施方式,由于VCO的幅度校准改变尾电流会对频率产生轻微影响,因此将幅度校准与ABS算法结合,在两次ABS中加入幅度校准,从而确保频点配置后能够得到准确的频率和理想的幅度。In a possible implementation, the device further includes: an ABS circuit 604, configured to select a working frequency of the VCO; the ABS circuit 604 has a state output, and the state output of the ABS circuit 604 is used. The number of times the selection of the operating frequency of the VCO is completed, the status output of the ABS circuit 604 is coupled to the enable end of the controller 602; the controller 602 has a status output, the controller The status output of the 602 is used to indicate whether the automatic amplitude control of the VCO is completed, the status output of the controller 602 is connected to the enable end of the ABS circuit 604; when the status output of the ABS circuit 604 is indicating When the number of times of selecting the operating frequency of the VCO is one, the enabled end of the controller 602 is valid; when the status output of the controller 602 indicates that the automatic amplitude control of the VCO is completed, The enable end of the ABS circuit 604 is active. According to this embodiment, since the amplitude calibration of the VCO changes the tail current to have a slight influence on the frequency, the amplitude calibration is combined with the ABS algorithm, and the amplitude calibration is added to the two ABSs to ensure accurate frequency and frequency after the frequency point configuration. The ideal range.
其中,自动频带选择与自动幅度校准的关系可以参照图4及相应的文字描述,在此不做赘述。The relationship between the automatic band selection and the automatic amplitude calibration can be referred to FIG. 4 and the corresponding text description, and details are not described herein.
本发明实施例通过数字域的反馈方式来完成VCO的自动幅度校准,实现方式简单,可拓展性好,且可以根据工艺节点不断地演进,校准电路不会引入额外的噪声,因此也不需要很大的器件面积以及RC滤波,校准过程结束后不消耗额外功耗。In the embodiment of the present invention, the automatic amplitude calibration of the VCO is completed by the feedback method of the digital domain, the implementation manner is simple, the expandability is good, and the process node can be continuously evolved according to the process node, and the calibration circuit does not introduce additional noise, so the Large device area and RC filtering, no additional power consumption after the calibration process.
图7为本发明实施例提供的另一种自动幅度控制装置结构示意图,该装置用于控制振荡器产生的谐振信号的幅度,电流源阵列的一端耦合至所述振荡器中的交叉耦合管的源端,所述电流源阵列的另一端分别耦合到地,该装置包括:FIG. 7 is a schematic structural diagram of another automatic amplitude control apparatus according to an embodiment of the present invention. The apparatus is configured to control an amplitude of a resonant signal generated by an oscillator, and one end of the current source array is coupled to a cross-coupling tube in the oscillator. At the source end, the other end of the current source array is coupled to the ground, respectively, the device includes:
比较模块701,用于将所述振荡器的幅度检测信号与参考电压信号进行比较,得到比较结果;The comparison module 701 is configured to compare the amplitude detection signal of the oscillator with a reference voltage signal to obtain a comparison result;
控制模块702,用于根据所述比较模块701得到的比较结果,控制所述电流源阵列耦合到所述源端的电流。The control module 702 is configured to control, according to the comparison result obtained by the comparison module 701, a current coupled to the source terminal by the current source array.
在一个示例中,所述电流源阵列包括N个并联的支路,每一支路中包括串联的开关和电流源,其中,N为大于2的整数;In one example, the current source array includes N parallel branches, each of which includes a series of switches and current sources, where N is an integer greater than two;
所述控制模块702,具体用于根据所述比较模块701得到的比较结果,分别控制各个支路中的开关的通断,以控制所述电流源阵列耦合到所述源端的电流。The control module 702 is specifically configured to control the on and off of the switches in the respective branches according to the comparison result obtained by the comparison module 701 to control the current coupled to the source terminal by the current source array.
在一种可能的实施方式中,所述电流源阵列的N个支路中的电流源的值构成等比数列;所述控制模块702,具体用于采用对分搜索法生成N位控制信号,以分别控制所述N个支路中的开关的通断。In a possible implementation, the values of the current sources in the N branches of the current source array form a geometric progression; the control module 702 is specifically configured to generate an N-bit control signal by using a binary search method. To control the on and off of the switches in the N branches, respectively.
在一种可能的实施方式中,所述振荡器还包括谐振腔,所述交叉耦合管采用NMOS管,所述装置还包括:检测模块,用于检测所述振荡器产生的谐振信号的幅度的最小值,将所述谐振信号的幅度的最小值作为所述振荡器的幅度检测信号。In a possible implementation, the oscillator further includes a resonant cavity, the cross-coupling tube adopts an NMOS transistor, and the device further includes: a detecting module, configured to detect a magnitude of the resonant signal generated by the oscillator The minimum value is the minimum value of the amplitude of the resonance signal as the amplitude detection signal of the oscillator.
在一种可能的实施方式中,所述振荡器还包括谐振腔,所述交叉耦合管采用PMOS管,所述装置还包括:检测模块,用于检测所述振荡器产生的谐振信号的幅度的最大值,将所述谐振信号的幅度的最大值作为所述振荡器的幅度检测信号。In a possible implementation, the oscillator further includes a resonant cavity, the cross-coupling tube adopts a PMOS tube, and the device further includes: a detecting module, configured to detect a magnitude of the resonant signal generated by the oscillator The maximum value is the maximum value of the amplitude of the resonance signal as the amplitude detection signal of the oscillator.
在一种可能的实施方式中,所述装置还包括:检测模块,用于将所述振荡器的源端的信号作为所述振荡器的幅度检测信号。In a possible implementation, the apparatus further includes: a detecting module, configured to use a signal of a source end of the oscillator as an amplitude detecting signal of the oscillator.
在一种可能的实施方式中,所述装置还包括:频点选择模块,用于在所述比较模块701根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之前,选择所述 振荡器的工作频点;以及,在所述比较模块根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之后,再次选择所述振荡器的工作频点。In a possible implementation, the apparatus further includes: a frequency point selection module, configured to select, before the comparison module 701 controls the current source array to be coupled to the source according to the comparison result An operating frequency point of the oscillator; and, after the comparing module controls the current coupled to the source terminal by the current source array according to the comparison result, selecting an operating frequency point of the oscillator again.
图8为本发明实施例提供的一种自动幅度控制方法流程图,所述方法用于控制振荡器产生的谐振信号的幅度,电流源阵列的一端耦合至所述振荡器中的交叉耦合管的源端,所述电流源阵列的另一端分别耦合到地,所述方法包括:8 is a flowchart of an automatic amplitude control method according to an embodiment of the present invention, where the method is used to control the amplitude of a resonant signal generated by an oscillator, and one end of the current source array is coupled to a cross-coupling tube in the oscillator. At the source end, the other end of the current source array is coupled to the ground, respectively, the method includes:
步骤801,将所述振荡器的幅度检测信号与参考电压信号进行比较,得到比较结果。 Step 801, comparing the amplitude detection signal of the oscillator with a reference voltage signal to obtain a comparison result.
步骤802,根据所述比较结果,控制所述电流源阵列耦合到所述源端的电流。 Step 802, according to the comparison result, controlling a current coupled to the source terminal by the current source array.
在一种可能的实施方式中,所述电流源阵列包括N个并联的支路,每一支路中包括串联的开关和电流源,其中,N为大于2的整数;所述根据所述比较结果,控制所述电流源阵列耦合到所述源端的电流,包括:根据所述比较结果,分别控制各个支路中的开关的通断,以控制所述电流源阵列耦合到所述源端的电流。In a possible implementation, the current source array includes N parallel branches, each of which includes a series of switches and a current source, wherein N is an integer greater than 2; As a result, controlling the current coupled to the source terminal by the current source array includes: controlling on and off of the switches in the respective branches according to the comparison result to control current coupled to the source terminal by the current source array .
在一种可能的实施方式中,所述电流源阵列的N个支路中的电流源的值构成等比数列;所述分别控制各个支路中的开关的通断,包括:采用对分搜索法生成N位控制信号,以分别控制所述N个支路中的开关的通断。In a possible implementation manner, the values of the current sources in the N branches of the current source array form a geometric progression; the respectively controlling the switching of the switches in each branch, including: using a binary search The method generates an N-bit control signal to control the on and off of the switches in the N branches, respectively.
在一种可能的实施方式中,所述振荡器还包括谐振腔,所述交叉耦合管采用NMOS管,所述方法还包括:检测所述振荡器产生的谐振信号的幅度的最小值,将所述谐振信号的幅度的最小值作为所述振荡器的幅度检测信号。In a possible implementation, the oscillator further includes a resonant cavity, the cross-coupling tube adopts an NMOS transistor, and the method further includes: detecting a minimum value of a amplitude of the resonant signal generated by the oscillator, The minimum value of the amplitude of the resonant signal is used as the amplitude detection signal of the oscillator.
在一种可能的实施方式中,所述振荡器还包括谐振腔,所述交叉耦合管采用PMOS管,所述方法还包括:检测所述振荡器产生的谐振信号的幅度的最大值,将所述谐振信号的幅度的最大值作为所述振荡器的幅度检测信号。In a possible implementation, the oscillator further includes a resonant cavity, the cross-coupling tube adopts a PMOS transistor, and the method further includes: detecting a maximum value of a amplitude of the resonant signal generated by the oscillator, The maximum value of the amplitude of the resonant signal is used as the amplitude detection signal of the oscillator.
在一种可能的实施方式中,将所述振荡器的源端的信号作为所述振荡器的幅度检测信号。In a possible implementation, the signal at the source of the oscillator is used as the amplitude detection signal of the oscillator.
在一种可能的实施方式中,所述方法还包括:在所述根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之前,选择所述振荡器的工作频点;以及,在所述根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之后,再次选择所述振荡器的工作频点。In a possible implementation, the method further includes: selecting a working frequency of the oscillator before the controlling the current source array coupled to the source according to the comparison result; and After controlling the current coupled to the source terminal by the current source array according to the comparison result, the operating frequency of the oscillator is selected again.
本发明实施例还提供了一种芯片装置,所述芯片包括处理单元,用于执行上述图8所示的方法。The embodiment of the invention further provides a chip device, the chip comprising a processing unit for performing the method shown in FIG. 8 above.
本发明实施例还提供了一种芯片装置,所述芯片装置包括处理器和存储器。所述存储器包括指令,所述处理器运行所述指令,用于执行上述图8所示的方法。The embodiment of the invention further provides a chip device, which comprises a processor and a memory. The memory includes instructions that are executed by the processor for performing the method illustrated in FIG. 8 above.
在上述各个本发明实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读介质向另一个计算机可读介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL)) 或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘(Solid State Disk,SSD))等。In each of the above embodiments of the present invention, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable medium to another computer readable medium, for example, the computer instructions can be wired from a website site, computer, server or data center (for example, coaxial cable, fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website, computer, server or data center. The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a Solid State Disk (SSD)) or the like.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。The specific embodiments of the present invention have been described in detail with reference to the preferred embodiments of the present invention. The scope of the protection, any modifications, equivalent substitutions, improvements, etc., which are made on the basis of the technical solutions of the present invention, are included in the scope of the present invention.
Claims (14)
- 一种自动幅度控制装置,其特征在于,所述装置包括:An automatic amplitude control device, characterized in that the device comprises:振荡器和电流源阵列,所述电流源阵列的一端耦合至所述振荡器中的交叉耦合管的源端,所述电流源阵列的另一端分别耦合到地;所述装置还包括:An array of oscillators and current sources, one end of the current source array being coupled to a source of a cross-coupling tube in the oscillator, the other end of the current source array being coupled to ground, respectively; the apparatus further comprising:比较器,用于将所述振荡器的幅度检测信号与参考电压信号进行比较,得到比较结果;a comparator, configured to compare an amplitude detection signal of the oscillator with a reference voltage signal to obtain a comparison result;控制器,用于根据所述比较结果,控制所述电流源阵列耦合到所述源端的电流。And a controller for controlling a current coupled to the source terminal by the current source array according to the comparison result.
- 如权利要求1所述的装置,其特征在于,所述电流源阵列包括N个并联的支路,每一支路中包括串联的开关和电流源,其中,N为大于2的整数;所述控制器用于根据所述比较结果,分别控制各个支路中的开关的通断,以控制所述电流源阵列耦合到所述源端的电流。The apparatus of claim 1 wherein said array of current sources comprises N parallel branches, each branch comprising a series of switches and current sources, wherein N is an integer greater than two; The controller is configured to respectively control the on and off of the switches in the respective branches according to the comparison result to control the current coupled to the source terminal by the current source array.
- 如权利要求2所述的装置,其特征在于,所述电流源阵列的N个支路中的电流源的值构成等比数列,所述控制器用于采用对分搜索法生成N位控制信号,以分别控制所述N个支路中的开关的通断。The apparatus according to claim 2, wherein values of current sources in the N branches of said current source array form a geometric progression, said controller for generating an N-bit control signal by a binary search method, To control the on and off of the switches in the N branches, respectively.
- 如权利要求1至3中任一项所述的装置,其特征在于,所述振荡器还包括谐振腔,所述交叉耦合管采用NMOS管,所述装置还包括:The device according to any one of claims 1 to 3, wherein the oscillator further comprises a resonant cavity, the cross-coupling tube adopts an NMOS transistor, and the device further comprises:峰值检测电路,用于检测所述振荡器产生的谐振信号的幅度的最小值;a peak detecting circuit for detecting a minimum value of a amplitude of a resonant signal generated by the oscillator;所述峰值检测电路的两个输入端分别耦合到所述谐振腔的两个差分输出端;Two input ends of the peak detecting circuit are respectively coupled to two differential outputs of the resonant cavity;所述峰值检测电路的输出端耦合到所述比较器的输入端。An output of the peak detection circuit is coupled to an input of the comparator.
- 如权利要求1至3中任一项所述的装置,其特征在于,所述振荡器还包括谐振腔,所述交叉耦合管采用PMOS管,所述装置还包括:The device according to any one of claims 1 to 3, wherein the oscillator further comprises a resonant cavity, the cross-coupling tube uses a PMOS tube, and the device further comprises:峰值检测电路,用于检测所述振荡器产生的谐振信号的幅度的最大值;a peak detecting circuit for detecting a maximum value of a amplitude of a resonant signal generated by the oscillator;所述峰值检测电路的两个输入端分别耦合到所述谐振腔的两个差分输出端;Two input ends of the peak detecting circuit are respectively coupled to two differential outputs of the resonant cavity;所述峰值检测电路的输出端耦合到所述比较器的输入端。An output of the peak detection circuit is coupled to an input of the comparator.
- 如权利要求1至3中任一项所述的装置,其特征在于,所述比较器的输入端耦合到所述振荡器的源端。Apparatus according to any one of claims 1 to 3 wherein the input of the comparator is coupled to the source of the oscillator.
- 如权利要求1至6中任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 1 to 6, wherein the device further comprises:自动频带选择ABS电路,用于在所述控制器根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之前,选择所述振荡器的工作频点;以及,An automatic band selection ABS circuit for selecting a working frequency of the oscillator before the controller controls the current coupled to the source terminal according to the comparison result; and在所述控制器根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之后,再次选择所述振荡器的工作频点。After the controller controls the current coupled to the source terminal by the current source array according to the comparison result, the operating frequency of the oscillator is selected again.
- 一种自动幅度控制方法,其特征在于,所述方法包括:An automatic amplitude control method, the method comprising:将振荡器的幅度检测信号与参考电压信号进行比较,得到比较结果;Comparing the amplitude detection signal of the oscillator with the reference voltage signal to obtain a comparison result;根据所述比较结果,对耦合到所述振荡器的交叉耦合管的源端的电流源阵列的电流进行控制。Based on the comparison, the current of the current source array coupled to the source of the cross-coupled tube of the oscillator is controlled.
- 如权利要求8所述的方法,其特征在于,The method of claim 8 wherein:所述根据所述比较结果,对耦合到所述振荡器的交叉耦合管的源端的电流源阵列的电流进行控制,包括:The controlling, according to the comparison result, the current of the current source array coupled to the source end of the cross-coupled tube of the oscillator, comprising:根据所述比较结果,对耦合到所述振荡器的交叉耦合管的源端的电流源阵列的各个支路中的开关的通断进行控制,以控制所述电流源阵列耦合到所述源端的电流。Controlling on and off of switches in respective branches of the current source array coupled to the source of the cross-coupled tube of the oscillator to control current coupled to the source terminal by the current source array based on the comparison .
- 如权利要求9所述的方法,其特征在于,所述对耦合到所述振荡器的交叉耦合管的源端的电流源阵列的各个支路中的开关的通断进行控制,包括:The method of claim 9 wherein said controlling switching of switches in respective branches of the current source array coupled to the source of the cross-coupled tube of said oscillator comprises:采用对分搜索法生成N位控制信号,以对耦合到所述振荡器的交叉耦合管的源端的电流源阵列的N个支路中的开关的通断进行控制,其中,N为大于2的整数。Generating an N-bit control signal using a binary search method to control switching of switches in N branches of a current source array coupled to a source of the cross-coupled tube of the oscillator, wherein N is greater than two Integer.
- 如权利要求8至10中任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 8 to 10, further comprising:检测所述振荡器产生的谐振信号的幅度的最小值,将所述谐振信号的幅度的最小值作为所述振荡器的幅度检测信号。A minimum value of the amplitude of the resonance signal generated by the oscillator is detected, and a minimum value of the amplitude of the resonance signal is used as an amplitude detection signal of the oscillator.
- 如权利要求8至10中任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 8 to 10, further comprising:检测所述振荡器产生的谐振信号的幅度的最大值,将所述谐振信号的幅度的最大值作为所述振荡器的幅度检测信号。A maximum value of the amplitude of the resonance signal generated by the oscillator is detected, and a maximum value of the amplitude of the resonance signal is used as an amplitude detection signal of the oscillator.
- 如权利要求8至10中任一项所述的方法,其特征在于,所述方法还包括:将所述振荡器的源端的信号作为所述振荡器的幅度检测信号。The method according to any one of claims 8 to 10, further comprising: using a signal of a source of the oscillator as an amplitude detection signal of the oscillator.
- 如权利要求8至13中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 8 to 13, wherein the method further comprises:在所述根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之前,选择所述振荡器的工作频点;以及,在所述根据所述比较结果控制所述电流源阵列耦合到所述源端的电流之后,再次选择所述振荡器的工作频点。Selecting an operating frequency point of the oscillator before controlling the current source array coupled to the source terminal according to the comparison result; and controlling the current source array coupling according to the comparison result After the current to the source, the operating frequency of the oscillator is again selected.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/081402 WO2019183943A1 (en) | 2018-03-30 | 2018-03-30 | Automatic amplitude control device and method |
CN201880085040.7A CN111566937A (en) | 2018-03-30 | 2018-03-30 | Automatic amplitude control device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/081402 WO2019183943A1 (en) | 2018-03-30 | 2018-03-30 | Automatic amplitude control device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019183943A1 true WO2019183943A1 (en) | 2019-10-03 |
Family
ID=68059184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/081402 WO2019183943A1 (en) | 2018-03-30 | 2018-03-30 | Automatic amplitude control device and method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111566937A (en) |
WO (1) | WO2019183943A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1671050A (en) * | 2004-09-30 | 2005-09-21 | 东南大学 | Fixed amplitude circuit for voltage controlled oscillator |
CN103036556A (en) * | 2011-07-08 | 2013-04-10 | 英飞凌科技股份有限公司 | Oscillator circuit |
CN103187927A (en) * | 2011-12-27 | 2013-07-03 | 中国科学院微电子研究所 | Dual-mode broadband voltage-controlled oscillator |
US20150180410A1 (en) * | 2013-12-25 | 2015-06-25 | Seiko Epson Corporation | Oscillation circuit, oscillator, electronic device, moving object, and manufacturing method of oscillator |
CN104796138A (en) * | 2015-04-22 | 2015-07-22 | 西安电子科技大学 | LC voltage-controlled oscillator with automatic output oscillation amplitude correction function |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5457813B2 (en) * | 2009-12-16 | 2014-04-02 | ルネサスエレクトロニクス株式会社 | ADPLL circuit, semiconductor device and portable information device |
CN102868397B (en) * | 2011-07-05 | 2014-12-17 | 杭州中科微电子有限公司 | Self-correcting frequency synthesizer capable of optimizing properties of voltage-controlled oscillator and optimizing method of self-correcting frequency synthesizer |
CN103501177B (en) * | 2013-09-24 | 2016-08-17 | 华为技术有限公司 | Automatic amplitude control circuit |
CN106330145A (en) * | 2015-06-26 | 2017-01-11 | 深圳市中兴微电子技术有限公司 | Crystal oscillator circuit and control method of output signal amplitude |
-
2018
- 2018-03-30 WO PCT/CN2018/081402 patent/WO2019183943A1/en active Application Filing
- 2018-03-30 CN CN201880085040.7A patent/CN111566937A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1671050A (en) * | 2004-09-30 | 2005-09-21 | 东南大学 | Fixed amplitude circuit for voltage controlled oscillator |
CN103036556A (en) * | 2011-07-08 | 2013-04-10 | 英飞凌科技股份有限公司 | Oscillator circuit |
CN103187927A (en) * | 2011-12-27 | 2013-07-03 | 中国科学院微电子研究所 | Dual-mode broadband voltage-controlled oscillator |
US20150180410A1 (en) * | 2013-12-25 | 2015-06-25 | Seiko Epson Corporation | Oscillation circuit, oscillator, electronic device, moving object, and manufacturing method of oscillator |
CN104796138A (en) * | 2015-04-22 | 2015-07-22 | 西安电子科技大学 | LC voltage-controlled oscillator with automatic output oscillation amplitude correction function |
Also Published As
Publication number | Publication date |
---|---|
CN111566937A (en) | 2020-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3329340B1 (en) | Offset insensitive quadrature clock error correction and duty cycle calibration for high-speed clocking | |
US7193929B2 (en) | Semiconductor integrated circuit | |
CN101887280B (en) | Calibration apparatus and calibration method thereof | |
US20190280682A1 (en) | Duty cycle correction circuit | |
US7872542B2 (en) | Variable capacitance with delay lock loop | |
US8570113B2 (en) | Digital VCO calibration method and apparatus | |
JP4929306B2 (en) | Bias generation circuit and voltage controlled oscillator | |
JP2008054134A (en) | Ring oscillator, semiconductor integrated circuit provided with the same, and electronic equipment | |
CN103166631A (en) | Pll circuit | |
US9306577B2 (en) | Supply voltage drift insensitive digitally controlled oscillator and phase locked loop circuit | |
JPWO2006064658A1 (en) | Filter characteristic adjusting device and characteristic adjusting method thereof | |
CN104320139A (en) | Charge matching-based offset correction method of full-symmetric four-terminal dynamic comparator | |
US9071254B2 (en) | Oscillator and self-calibration method thereof | |
CN108880535A (en) | Sensor interface circuitry based on oscillator | |
US8502612B2 (en) | Method and apparatus for determining within-die and across-die variation of analog circuits | |
US11152890B2 (en) | Low power oscillator with digital amplitude control | |
TWI713796B (en) | Method and circuit for controlling oscillator and apparatus and device employing the same | |
US9413367B2 (en) | Method and apparatus for calibrating output frequency of oscillator | |
WO2019183943A1 (en) | Automatic amplitude control device and method | |
US20110279149A1 (en) | Method, apparatus, and system for measuring analog voltages on die | |
US20080068106A1 (en) | Overtone crystal oscillator automatic calibration system | |
JP2009271941A (en) | Semiconductor integrated circuit and microcomputer | |
CN211453930U (en) | Parameter detection circuit | |
JP7429114B2 (en) | Semiconductor device equipped with a digitally controlled oscillator and its testing method | |
CN110768667B (en) | Double-digital loop controlled low-power consumption low-phase noise C-type VCO |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18912445 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18912445 Country of ref document: EP Kind code of ref document: A1 |