US20160065222A1 - Semiconductor device - Google Patents

Semiconductor device Download PDF

Info

Publication number
US20160065222A1
US20160065222A1 US14/925,570 US201514925570A US2016065222A1 US 20160065222 A1 US20160065222 A1 US 20160065222A1 US 201514925570 A US201514925570 A US 201514925570A US 2016065222 A1 US2016065222 A1 US 2016065222A1
Authority
US
United States
Prior art keywords
circuit
difference value
semiconductor device
inverting amplifier
oscillation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US14/925,570
Inventor
Toshiharau OKAMOTO
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to US14/925,570 priority Critical patent/US20160065222A1/en
Publication of US20160065222A1 publication Critical patent/US20160065222A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L5/00Automatic control of voltage, current, or power
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/0805Details of the phase-locked loop the loop being adapted to provide an additional control signal for use outside the loop
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03BGENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
    • H03B5/00Generation of oscillations using amplifier with regenerative feedback from output to input
    • H03B5/30Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03BGENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
    • H03B5/00Generation of oscillations using amplifier with regenerative feedback from output to input
    • H03B5/30Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator
    • H03B5/32Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator being a piezoelectric resonator
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03BGENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
    • H03B5/00Generation of oscillations using amplifier with regenerative feedback from output to input
    • H03B5/30Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator
    • H03B5/32Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator being a piezoelectric resonator
    • H03B5/36Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator being a piezoelectric resonator active element in amplifier being semiconductor device
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/16Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop

Definitions

  • the present invention relates to a semiconductor device and relates to, for example, a semiconductor device including an oscillation circuit that drives a crystal oscillator.
  • an oscillation signal is produced by driving a crystal oscillator outside a chip by an oscillation circuit provided in the chip and used as a clock signal.
  • the amplitude level of an oscillation signal means a “peak to peak” level of an oscillation signal and it will hereinafter be denoted by “V p-p ”.
  • An oscillator disclosed in Patent Document 1 includes an oscillation unit including a plurality of oscillation circuits with different degrees of oscillation allowance and a peak detecting unit that detects a peak output voltage (equivalent to the amplitude level V p-p ) that is output by the oscillation unit. Based on the amplitude level V p-p detected by the peak detecting unit, one of the oscillation circuits is selected for use as an oscillation circuit to drive a crystal oscillator.
  • Patent Document 2 discloses a technique for adjusting the gain of an inverting amplifier in an oscillation circuit, based on the amplitude level V p-p . This technique is, in principle, similar to the technique disclosed in Patent Document 1.
  • One-chip microcomputer disclosed in Patent Document 3 detects a high-frequency component from an oscillation signal and adjusts the gain of an inverting amplifier and the resistance of a damping resistor, based on a result of the detection.
  • the peak detecting unit detects the amplitude level V p-p of an oscillation signal. Hence, it cannot make a detection distinguishing between a rectangular-like waveform and a sine-like waveform having the same amplitude level V p-p .
  • a semiconductor device measures an effective value of an oscillation signal which is output by an oscillation circuit that produces an oscillation signal by driving a crystal oscillator and adjusts the gain of an inverting amplifier included in the oscillation circuit so that the effective value will be equal to a target voltage.
  • FIG. 1 is a diagram depicting a semiconductor device pertaining to a first embodiment
  • FIG. 2 is a diagram depicting a semiconductor device pertaining to a second embodiment
  • FIG. 3 is a diagram depicting a control unit in a semiconductor device pertaining to a third embodiment
  • FIG. 4 is a diagram depicting a receiver pertaining to a fourth embodiment
  • FIG. 5 is a diagram depicting a clock generating unit included in the chip of the receiver depicted in FIG. 4 ;
  • FIG. 6 depicts a configuration example of an inverting amplifier that is included, respectively, in an oscillation circuit and in a first replica circuit of the clock generating unit depicted in FIG. 5 ;
  • FIG. 7 is a diagram representing correlations between the combinations of bit values of a control signal from a trimming controller and the gain values of the inverting amplifier depicted in FIG. 6 ;
  • FIG. 8 is a diagram for explaining an A/D converter in the clock generating unit depicted in FIG. 5 ;
  • FIG. 9 is a diagram for explaining how the respective signals in the clock generating unit depicted in FIG. 5 undergo transition;
  • FIG. 10 is a flowchart illustrating operation of the trimming controller in the clock generating unit depicted in FIG. 5 ;
  • FIG. 11 is a diagram depicting a clock generating unit pertaining to a fifth embodiment
  • FIG. 12 is a diagram for explaining how the respective signals in the clock generating unit depicted in FIG. 11 undergo transition.
  • FIG. 13 is a flowchart illustrating operation of the trimming controller in the clock generating unit depicted in FIG. 11 .
  • FIG. 1 is a diagram depicting a semiconductor device 1 pertaining to a first embodiment.
  • the semiconductor device 1 includes a chip 10 and a crystal oscillator 70 provided outside the chip 10 .
  • the chip 10 includes an oscillation circuit 20 , an amplifier 30 , an effective value measuring circuit 40 , and a control unit 50 .
  • the oscillation circuit 20 includes an inverting amplifier 22 and a resistor 24 coupled in parallel to the inverting amplifier 22 .
  • An input terminal 26 of the inverting amplifier 22 is coupled via a pad 14 to one end of the crystal oscillator 70 and an output terminal 28 of the inverting amplifier 22 is coupled via a pad 12 and a damping resistor 60 to the other end of the crystal oscillator 70 . Both the ends of the crystal oscillator 70 are grounded via a capacitor 72 and a capacitor 74 , respectively.
  • a voltage (i.e., an oscillation signal) at the output terminal 28 of the inverting amplifier 22 is supplied as a clock signal CLK via the amplifier 30 to other logic circuits, which are not depicted, within the chip.
  • the effective value measuring circuit 40 to which an oscillation signal from the oscillation circuit 20 is input measures an effective value VE of the oscillation signal and outputs it to the control unit 50 .
  • the control unit 50 adjusts the driving power of the inverting amplifier 22 to drive the crystal oscillator 70 so that the effective value VE measured by the effective value measuring circuit 40 will be equal to a target voltage.
  • the gain of the inverting amplifier 22 is variable and the control unit 50 generates a control signal CTR 1 and outputs it to the inverting amplifier 22 to adjust the gain of the inverting amplifier 22 , thereby adjusting the driving power of the inverting amplifier 22 .
  • the amplitude level V p-p of an oscillation signal should be less than a power supply voltage VCC, whereas it should be as close to the power supply voltage VCC as possible in order to reduce radiation noise and ensure oscillation allowance and S/N (signal-noise ratio).
  • An ideal amplitude level V p-p that satisfies this requirement is equal to the power supply voltage VCC. This amplitude level V p-p is referred to as an “ideal amplitude level”.
  • the oscillation circuit's driving power is too large, because of saturation, it outputs an oscillation signal of a rectangular wave having an amplitude level V p-p that is the same level as the power supply voltage VCC. Because the power supply voltage VCC is the ideal amplitude level, in this case, it is impossible to make an optimal adjustment by adjusting the driving power of the oscillation circuit, based on whether the amplitude level V p-p of an oscillation signal is the ideal amplitude level, as in Patent Document 1 or Patent Document 2, since it is impossible to distinguish between a rectangular wave and a sine wave.
  • an oscillation signal is a sine wave
  • its effective value will be “1/( ⁇ square root over ( ) ⁇ 2)” times the amplitude level V p-p and thought up an idea as below.
  • About “1/( ⁇ square root over ( ) ⁇ 2)” times the ideal amplitude level (for example, power supply voltage VCC) should be specified as a target voltage VT. If an effective value of an oscillation signal is equal to the target voltage VT, it can be determined that the amplitude level V p-p of the oscillation signal is the ideal amplitude level and the oscillation signal is a sine wave.
  • the chip 10 of the semiconductor device 1 was contrived, based on the above idea.
  • the control unit 50 in the chip 10 based on an effective value VE measured by the effective value measuring circuit 40 and a target voltage VT, adjusts the driving power of the oscillation circuit 20 so that the effective value VE will be equal to the target voltage VT.
  • an oscillation signal whose amplitude level V p-p is the ideal amplitude level is output on the assumption that no saturation occurs.
  • the driving power of the oscillation circuit 20 is adjusted optimally in a simple configuration described above. Thereby, both reducing radiation noise positively and ensuring oscillation allowance and S/N(signal-noise ratio) can be achieved.
  • control unit 50 exerts control so that the driving power of the oscillation circuit 20 will be optimal by adjusting the gain of the inverting amplifier 22 .
  • the driving power of the oscillation circuit 20 can be controlled to be optimal, an object to be adjusted is not limited to the gain of the inverting amplifier 22 .
  • FIG. 2 depicts a semiconductor device 100 pertaining to a second embodiment as an example in which an object to be adjusted is other than the gain of the inverting amplifier 22 .
  • the semiconductor device 100 is described only in respects in which it differs from the semiconductor device 1 .
  • an oscillation circuit 120 is the same as the oscillation circuit 20 except that an inverting amplifier 122 whose gain is not variable is provided instead of the inverting amplifier 22 whose gain is variable.
  • the damping resistor 60 is provided outside the chip 10 in the semiconductor device 1 , whereas a damping resistor 160 corresponding to the damping resistor 60 is provided within the chip 110 and its resistance value is variable in the semiconductor device 100 .
  • a control unit 150 in the chip 110 of the semiconductor device 100 outputs a control signal CTR 2 to the damping resistor 160 and adjusts the driving power of the oscillation circuit 120 by adjusting the resistance value of the damping resistor 160 .
  • the control unit 150 adjusts the resistance value of the damping resistor as the object to be adjusted, instead of the gain of the inverting amplifier. Except for this respect, the control unit 150 makes an adjustment according to same principle and method of adjustment as for the control unit 50 .
  • the semiconductor device 100 pertaining to the second embodiment can produce the same advantageous effect as can be produced by the semiconductor device 1 .
  • the damping resistor is built in the chip and, thus, the number of external parts can be decreased.
  • the inverting amplifier whose gain is variable may be used in the oscillation circuit, while the damping resistor whose resistance value is variable is built in the chip, and, by adjusting both the gain of the inverting amplifier and the resistance value of the damping resistor, the driving power of the oscillation circuit may be controlled to be optimal.
  • a third embodiment is also a semiconductor device.
  • the semiconductor device has a control unit 200 that is configured as depicted in FIG. 3 ; the control unit 50 in the semiconductor device 1 or the control unit 150 in the semiconductor device 100 is also configured like this.
  • Description of the third embodiment focuses on only the control unit 200 .
  • the control unit 200 is assumed to have been applied in the semiconductor device 1 .
  • the control unit 200 includes a comparison circuit 210 and a control execution unit 220 .
  • the control execution unit 220 includes an A/D converter 222 , a trimming controller 224 , and a register 226 .
  • An effective value VE measured by the effective value measuring circuit 40 and a reference voltage VREF are input to the comparison circuit 210 .
  • the comparison circuit 210 compares the effective value VE and the reference voltage VREF and outputs a result of comparison to the control execution unit 220 .
  • a description about the reference voltage VREF will be described later.
  • the reference voltage VREF differs from the target voltage VT.
  • the control execution unit 220 controls the gain of the inverting amplifier 22 , based on a result of comparison made by the comparison circuit 210 .
  • the comparison circuit 210 obtains a difference VD 1 between the effective value VE and the reference voltage VREF as a result of comparison.
  • the A/D converter 222 makes an A/D conversion of the difference VD 1 from the comparison circuit 210 , obtains a difference VD 2 which is a digital value, and outputs it to the trimming controller 224 .
  • the trimming controller 224 compares the difference VD 2 from the A/D converter 222 and a target difference value VD 0 , as will be described later, which has been set in the register 226 . According to a result of the comparison, the trimming controller 224 generates a control signal CTR 1 and outputs it to the inverting amplifier 22 .
  • control unit 200 The purpose of the control unit 200 is to control the driving power of the oscillation circuit so that an effective value VE will be equal to the above-mentioned target voltage VT.
  • An effective value VE is not necessarily to be compared to the target voltage VT.
  • the target difference value VD 0 should be set so that an effective value VE will be equal to the target voltage VT when a match has occurred between the difference VD 2 from the A/D converter 222 and the target difference value VD 0 stored in the register 226 . In this way, the foregoing purpose of the control unit 200 can be achieved.
  • an oscillation signal's effective value VE instead of an oscillation signal's effective value VE itself, another value that can represent an effective value VE may be measured for an oscillation signal and supplied to the comparison circuit 210 for comparison to the reference voltage VREF. This will be detailed later in conjunction with further embodiments.
  • FIG. 4 depicts a receiver 250 pertaining to a fourth embodiment.
  • the receiver 250 includes a chip 260 and a crystal oscillator 70 provided outside the chip 260 .
  • an LNA Low Noise Amplifier
  • an RF unit RF: Radio Frequency
  • an ABB unit ABB: Analog BaseBand
  • an A/D converter ADC
  • DBB unit DBB: Digital BaseBand
  • a synthesizer PLL circuit
  • PLL phase locked loop
  • the functional blocks of the chip 260 except for the clock generating unit 300 are the same as those provided in a commonly used receiver and, thus, their description is omitted.
  • the clock generating unit 300 produces an oscillation signal by driving the crystal oscillator 70 .
  • the oscillation signal is supplied to the synthesizer and PLL circuit as a clock signal CLK.
  • FIG. 5 depicts the clock generating unit 300 .
  • the clock generating unit 300 includes an oscillation circuit 310 , an amplifier 30 , an effective value measuring circuit 320 , a first replica circuit 330 , a second replica circuit 340 , a level shift circuit 350 , a comparison circuit 360 , an A/D converter 370 , a trimming controller 380 , and a register 390 .
  • the oscillation circuit 310 which is the same as the oscillation circuit 20 in the semiconductor device 1 in FIG. 1 , drives the crystal oscillator 70 , thereby producing an oscillation signal (a voltage N 12 at the output terminal of the inverting amplifier 22 ), and outputs the oscillation signal to the amplifier 30 and a signal combining circuit 322 .
  • the oscillation circuit 310 and the crystal oscillator 70 are coupled in the same way as in the semiconductor device 1 .
  • the inverting amplifier 22 is an inverting amplifier whose gain is variable and its gain is controlled by a control signal CTR 1 from the trimming controller 380 .
  • FIG. 6 depicts a configuration example of the inverting amplifier 22 .
  • the inverting amplifier 22 which is depicted in FIG. 6 is controlled by a 3-bit control signal CTR 1 (CTR 1 [0], CTR 1 [1], CTR 1 [2]) so that its gain will be any one of eight gain values multiplied by a factor of 1 through 8.
  • CTR 1 3-bit control signal
  • switches each of which is configured with a transistor, are coupled between power supply and GND nodes of the inverting amplifier 22 .
  • These switches are controlled by a control signal CTR 1 [with bits 2 thru 0 ] and roughly divided into four groups.
  • the control signal CTR 1 makes switching among the gain values in terms of W size ratios that are given by the transistors which are component elements of the inverting amplifier.
  • CTR 1 [0] selects a group of inverting amplifier elements having a W size ratio of “ ⁇ 1” (in a second column from left in FIG. 6 ).
  • CTR 1 [1] selects a group of inverting amplifier elements having a W size ratio of “ ⁇ 2” (in a third column from left in FIG. 6 ).
  • CTR 1 [2] selects a group of inverting amplifier elements having a W size ratio of “ ⁇ 4” (in a fourth column from left in FIG. 6 ).
  • a group in a first column from left is a group of inverting amplifier elements having a W size ratio of “ ⁇ 1” and these elements operate at all times.
  • control signal CTR 1 is a 3-bit signal, herein, by way of example, the number of bits of the control signal CTR 1 is not limited to 3 and may increase or decrease according to situations in terms of the circuit configuration.
  • the effective value measuring circuit 320 includes a signal combining circuit 322 and a low-pass filter 324 .
  • the signal combining circuit 322 includes a differential pair comprised of two transistors (N-type transistors by way of example) and a constant current source to supply operating current to the differential pair.
  • a voltage N 11 at the input terminal of the inverting amplifier 22 and a voltage (oscillation signal N 12 ) at the output terminal thereof are input to the gates of the two transistors, respectively.
  • the sources of the two transistors are coupled to each other.
  • an output N 13 of the signal combining circuit 322 (namely, an output of the differential pair) is a voltage N 13 resulting from combining the waveforms of the voltage N 11 and the oscillation signal N 12 .
  • the low-pass filter 324 produces a voltage N 14 by smoothing the voltage N 13 to an effective level and outputs the voltage N 14 to the comparison circuit 360 .
  • This voltage N 14 is a DC voltage that reflects an effective value of the oscillation signal N 12 .
  • the effective value measuring circuit 320 produces the voltage N 13 having a level reflecting the amplitude of an effective value VE, not the effective value itself of an oscillation signal N 12 .
  • the voltage N 11 and the oscillation signal N 12 are substantially sine waves. Consequently, when these voltage N 11 and oscillation signal N 12 are input to the signal combining circuit 322 , their waveforms are combined by the two transistors in the signal combining circuit 322 and the output (voltage N 13 ) of the signal combining circuit 322 will be a pulsating wave with an arc wave in the upper half plane. Its peak value is about “VCC ⁇ Vtn”.
  • the voltage N 14 which is output by the low-pass filter 324 will be (VCC ⁇ Vtn) ⁇ (1/ ⁇ square root over ( ) ⁇ 2). Vtn is a threshold value of the transistors in the signal combining circuit 322 .
  • the gain of the inverting amplifier 22 in the oscillation circuit 310 is too large, the voltage N 11 and the oscillation signal N 12 become square or rectangular waves.
  • the output (voltage N 13 ) of the signal combining circuit 322 will be a DC level of about “VCC ⁇ Vtn”.
  • the voltage V 14 which is output by the low-pass filter 324 is “VCC ⁇ Vtn”, the same as the voltage N 13 .
  • the comparison circuit 360 , A/D converter 370 , trimming controller 380 , and register 390 make up the control unit which is the same as the control unit 200 depicted in FIG. 3 .
  • the A/D converter 370 , trimming controller 380 , and register 390 correspond to those of the control execution unit 220 in the control unit 200 .
  • the comparison circuit 360 compares the voltage N 14 from the low-pass filter 324 and the reference voltage VREF, obtains a difference VD 1 between them, and outputs it to the A/D converter 370 .
  • the A/D converter 370 converts the difference VD 1 to a difference VD 2 which is a digital value and outputs the difference VD 2 to the trimming controller 380 .
  • FIG. 8 presents a correlation between the difference VD 1 which is output by the comparison circuit 360 and the difference VD 2 which is output by the A/D converter 370 .
  • the A/D converter 370 converts the difference VD 1 to a 4-bit digital signal, by way of example.
  • the bits of the digital signal are VD 2 [0] through VD 2 [3].
  • the trimming controller 380 compares the difference VD 2 from the A/D converter 370 to a target difference value VD 0 which has been set in the register 390 beforehand. According to a result of the comparison, the trimming controller 380 adjusts the gain of the inverting amplifier 22 in the oscillation circuit 310 as well as the gain of the inverting amplifier 22 in the first replica circuit 330 which will be described later in the same manner.
  • the trimming controller 380 controls the gain of the inverting amplifier 22 , respectively, in the oscillation circuit 310 and in the first replica circuit 330 , by way of example, using the 3-bit control signal CTR 1 .
  • the bits of the control signal CTR 1 are CTR 1 [0] through CTR 1 [2].
  • the reference voltage VREF that is input to the comparison circuit 360 is not a fixed value and it is generated by a reference voltage generating circuit.
  • the reference voltage generating circuit is comprised of a first replica circuit 330 , a second replica circuit 340 , and a level shift circuit 350 .
  • the first replica circuit 330 has the same configuration as the oscillation circuit 310 except that it is not coupled to the crystal oscillator 70 . To emphasize this respect, the elements in the first replica circuit 330 are assigned the same reference numerals as assigned to the corresponding elements in the oscillation circuit 310 .
  • the inverting amplifier 22 included in the first replica circuit 330 also has the same configuration as the configuration example depicted in FIG. 6 except that a voltage at its input terminal is N 21 and a voltage at its output terminal is N 22 .
  • the second replica circuit 340 has the same configuration as the signal combining circuit 322 except that the inputs to it are the voltages (N 21 , N 22 ) at the input and output terminals of the inverting amplifier 22 included in the first replica circuit 330 .
  • a voltage N 23 that is output by the second replica circuit 340 will be a stable DC voltage that is nearly one half of the power supply voltage VCC.
  • the voltage N 23 that is output by the second replica circuit 340 is input to the level shift circuit 350 .
  • the level shift circuit 350 shifts the voltage V 23 and outputs the shifted voltage as the reference voltage VREF to the comparison circuit 360 .
  • the purpose of the level shift circuit 350 is to avoid a decrease in the sensitivity of the comparison circuit 360 due to a too large gap between the levels of reference voltage VREF and voltage N 14 .
  • the level shift circuit 350 produces the reference voltage VREF, for example, by adding a shift amount of about “(( ⁇ square root over ( ) ⁇ 2 ⁇ 1 ⁇ 2) ⁇ VCC” to the voltage N 23 .
  • the target difference value VD 0 stored in the register 390 is set beforehand so that an effective value of the oscillation signal N 12 will be equal to the target voltage VT when a match has occurred between the difference VD 2 output by the A/D converter 370 and the target difference value VD 0
  • the trimming controller 380 compares the target difference value VD 0 and the reference voltage VREF from the level shift circuit 350 . If a match occurs between them, the trimming controller 380 regards the diving power of the oscillation circuit 310 as optimal and does not adjust the gain of the inverting amplifier 22 in the oscillation circuit 310 . Otherwise, if a mismatch occurs between the target difference value VD 0 and the reference voltage VREF, the trimming controller 380 adjusts the gain of the inverting amplifier 22 in the oscillation circuit 310 so that the voltage V 14 will be equal to the reference voltage VREF.
  • a straight line denotes the voltage N 14 produced by smoothing the voltage N 13 to an effective level by the low-pass filter 324 .
  • This period is a period after power-on and before an adjustment is made of the inverting amplifier 22 .
  • control signal CTR 1 [bits 2 thru 0 ] is 3′h7 and the gain of the inverting amplifier 22 is set maximal (at a value multiplied by a factor of 8).
  • the oscillation waveform is a square or rectangular wave, as presented for N 11 in FIG. 9 .
  • the output N 14 of the effective value measuring circuit 320 is at the highest voltage level and higher than the reference voltage VREF.
  • the output (VD 1 ) of the comparison circuit 360 becomes lowest and the difference VD 2 [bits 3 thru 0 ] obtained by the A/D converter 370 becomes 4′h0.
  • This period is a period after the control signal [bits 2 thru 0 ] has been decremented to 3′h5.
  • the gain (W size ratio) of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 reduces to a value multiplied by a factor of 6 and the oscillation waveform of N 11 becomes a trapezoidal wave.
  • N 14 comes to a voltage somewhat lower than the voltage for the period from T 0 to T 1 . Accordingly, the output of the comparison circuit 360 becomes somewhat higher and the difference VD 2 [bits 3 thru 0 ] obtained by the A/D converter 370 becomes 4′h4.
  • This period is a period after the control signal [bits 2 thru 0 ] has been decremented to 3′h3.
  • the difference between the voltage N 14 output from the effective value measuring circuit 320 and the reference voltage VREF output by the level shift circuit 350 is assumed to be smallest.
  • the gain of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 is a value multiplied by a factor of 4, the oscillation waveform of N 11 becomes substantially a sine wave, and its amplitude level V p-p becomes substantially equal to the power supply voltage VCC.
  • N 14 comes to a voltage further lower than the voltage during the previous period, the output VD 1 of the comparison circuit 360 becomes higher, and the difference VD 2 obtained by the A/D converter 370 is 4′h8.
  • the trimming controller 380 regards the driving power of the oscillation circuit 310 as optimal and does not make a further adjustment.
  • FIG. 9 represents the transitions of the signals, it also represents the signal transitions for a period from T 3 to T 4 which is a period after the control signal CTR 1 [bits 2 thru 0 ] has been decremented to 3′h1 further from this state.
  • the gain of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 is a value multiplied by a factor of 2.
  • the oscillation waveform of N 11 is substantially a sine wave, but its amplitude level V p-p becomes smaller than the power supply voltage VCC.
  • the output N 14 of the effective value measuring circuit 320 comes to a voltage further lower than the voltage during the previous period, the output of the comparison circuit becomes higher, and the difference VD 2 [bits 3 thru 0 ] obtained by the A/D converter 370 is 4′h12.
  • the gain of the inverting amplifier 22 in the oscillation circuit 310 is too small.
  • FIG. 10 is a flowchart illustrating operation of the trimming controller 380 in the clock generating unit 300 .
  • a target difference value VD 0 is set into the register 390 beforehand (S 100 ). Note that an initial value of the control signal CTR 1 is assumed to be 3′ h7 to multiply the gain of the inverting amplifier 22 by a factor of 8 that is maximal.
  • the voltage N 14 output from the effective value measuring circuit 320 and the reference voltage VREF output by the level shift circuit 350 are output to the comparison circuit 360 .
  • a difference VD 1 obtained by the comparison circuit 360 is converted to a difference VD 2 that is then input to the trimming controller 380 .
  • the trimming controller 380 compares the difference VD 2 from the A/D converter 370 to the target difference value VD 0 set in the register 390 (S 102 ).
  • the trimming controller 380 determines that the driving power of the oscillation circuit 310 is not optimal and decrements the control signal CTR 1 [bits 2 thru 0 ] to adjust the gain of the inverting amplifier 22 (S 106 ). Then, the process returns to the step S 102 of comparing the difference VD 2 obtained again after the adjustment to the target difference value VD 0 .
  • the trimming controller 380 repeats the process from the step S 102 until a match occurs between the difference VD 2 and the target difference value VD 0 . If the match has occurred (Yes as determined at S 104 ), the trimming controller 380 determines that the driving power of the oscillation circuit 310 is optimal, maintains the control signal CTR 1 [bits 2 thru 0 ] at its setting when the match has occurred, and terminates the adjustment.
  • the effective value measuring circuit 320 generates the voltage N 14 that reflects an effective value VE, not the effective value itself of an oscillation signal N 12 .
  • the comparison circuit for comparison to the reference voltage VREF, it is possible to produce the same advantageous effect as can be produced by the foregoing embodiments.
  • the reference voltage VREF is based on the voltage N 23 .
  • the voltage N 23 is generated by the first replica circuit 330 having the same configuration as the oscillation circuit 310 and the second replica circuit 340 having the same configuration as the signal combining circuit 322 .
  • the reference voltage VREF generated from the voltage N 23 the voltage N 14 output from the effective value measuring circuit 320 can be compared to that reference voltage VREF and a match/mismatch between these voltages can be determined with a high degree of accuracy.
  • the gain of the inverting amplifier 22 can be adjusted with a high degree of accuracy as well.
  • the voltage N 23 generated by the first replica circuit 330 and the second replica circuit 340 is not directly input to the comparison circuit 360 as the reference voltage VREF.
  • the voltage N 23 after being shifted by the level shift circuit 350 so that the comparison circuit 360 can easily make a comparison is output as the reference voltage VREF to the comparison circuit 360 .
  • the detection accuracy of the comparison circuit 360 can be enhanced.
  • a low-pass filter having the same configuration as the low-pass filter 324 may be provided between the second replica circuit 340 and the level shift circuit 350 .
  • the second replica circuit 340 may be removed from the clock generating unit 300 .
  • the circuits for generating the voltage N 13 the oscillation circuit 310 and the effective value measuring circuit 320
  • the circuit for generating the voltage N 23 would differ in configuration.
  • the level shift circuit 350 may be removed and the voltage N 23 (if the second replica circuit 340 is present) or the voltage N 21 (if the second replica circuit 340 is absent) may be directly input to the comparison circuit 360 as the reference voltage VREF.
  • FIG. 11 depicts a clock generating circuit 400 pertaining to a fifth embodiment.
  • the clock generating circuit 400 can be applied in the receiver 250 in place of the clock generating unit 300 .
  • the control unit in the clock generating unit 300 is comprised of the comparison circuit 360 , the A/D converter 370 , the trimming controller 380 , and the register 390 .
  • the control unit in the clock generating circuit 400 is comprised of a comparison circuit 410 and a trimming controller 420 , dispensing with the A/D converter 370 and the register 390 .
  • a result of comparison made by the comparison circuit 360 in the clock generating unit 300 is a difference VD 1 between the voltage N 14 and the reference voltage VREF
  • the comparison circuit 410 in the clock generating circuit 400 obtains a result of comparison CR indicating whether the voltage N 14 is larger or smaller than the reference voltage VREF.
  • the clock generating unit 400 is the same as the clock generating unit 300 .
  • the comparison circuit 410 outputs a high level, if the voltage N 14 is larger than the reference voltage VREF, and outputs a low level, if the voltage N 14 is smaller than the reference voltage VREF.
  • the trimming controller 420 performs an arithmetic operation according to the result of comparison CR made by the comparison circuit 410 , generates a control signal CTR 1 to control the gain of the inverting amplifier 22 , and outputs it to the inverting amplifier 22 .
  • a straight line denotes the voltage N 14 produced by smoothing the voltage N 13 to an effective level by the low-pass filter 324 .
  • This period is a period after power-on and before an adjustment is made of the inverting amplifier 22 .
  • control signal CTR 1 [bits 2 thru 0 ] is 3′h7 and the gain of the inverting amplifier 22 is set maximal (at a value multiplied by a factor of 8).
  • the oscillation waveform is a square or rectangular wave, as presented for N 11 in FIG. 12 .
  • the output N 14 of the effective value measuring circuit 320 is at the highest voltage level and higher than the reference voltage VREF.
  • a result of comparison CR output by the comparison circuit 410 is low (0).
  • This period is a period after the control signal [bits 2 thru 0 ] has been decremented to 3′ h5.
  • the gain of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 reduces to a value multiplied by a factor of 6 and the oscillation waveform of N 11 becomes a trapezoidal wave.
  • N 14 comes to a voltage somewhat lower than the voltage for the period from T 0 to T 1 , but is higher than the reference voltage VREF.
  • the result of comparison CR output by the comparison circuit 410 is still low (0).
  • This period is a period after the control signal [bits 2 thru 0 ] has been decremented to 3′h3.
  • the voltage N 14 output from the effective value measuring circuit 320 and the reference voltage VREF output by the level shift circuit 350 are at nearly the same level, but the voltage N 14 is slightly lower.
  • the gain of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 is a value multiplied by a factor of 4, the oscillation waveform of N 11 becomes substantially a sine wave, and its amplitude level V p-p becomes substantially equal to the power supply voltage VCC.
  • N 14 comes to a voltage further lower than the voltage during the previous period and becomes lower than the reference voltage VREF.
  • the result of comparison CR output by the comparison circuit 410 changes to a high level (1).
  • the trimming controller 420 regards the driving power of the oscillation circuit 310 as optimal and does not make a further adjustment.
  • FIG. 12 represents the transitions of the signals, it also represents the signal transitions for a period from T 3 to T 4 which is a period after the control signal [bits 2 thru 0 ] has been decremented to 3′h1 further from this state.
  • the gain of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 is a value multiplied by a factor of 2.
  • the oscillation waveform of N 11 is substantially a sine wave, but its amplitude level V p-p becomes smaller than the power supply voltage VCC.
  • the output N 14 of the effective value measuring circuit 320 comes to a voltage further lower than the voltage during the previous period and the result of comparison CR output by the comparison circuit 410 is still high.
  • the gain of the inverting amplifier 22 in the oscillation circuit 310 is too small.
  • FIG. 13 is a flowchart illustrating operation of the trimming controller 420 in the clock generating unit 400 .
  • an initial value of the control signal CT 1 that is output by the trimming controller 420 is 3′h7 to multiply the gain of the inverting amplifier 22 by a factor of 8 that is maximal.
  • the trimming controller 420 monitors the result of comparison output by the comparison circuit 410 (S 110 ) and decrements the control signal CTR (S 114 , when CR is 0, as determined at S 112 , and S 110 and subsequent steps are repeated) until the result of comparison becomes high (1) (when CR is 1, as determined at S 112 ).
  • the trimming controller 420 determines that the driving power of the oscillation circuit 310 is optimal, maintains the control signal CTR 1 [bits 2 thru 0 ] at its setting when CR has become high, and terminates the adjustment.
  • the clock generating circuit 400 pertaining to the present embodiment it is possible to produce the same advantageous effect as can be produced by the foregoing embodiments.
  • the comparison circuit 410 outputs the result of comparison CR that is a binary digital signal, there is no need for providing an A/D converter that makes an A/D conversion of the result of comparison made by the comparison circuit 410 and a register that stores a target difference value VD 0 .
  • the circuit size can be reduced.
  • the resistance values of two resistors included in the level shift circuit 350 may be made variable. Adjusting the resistance values of the two resistors may be performed by, for example, the trimming controller 380 or the trimming controller 420 .
  • the reference voltage VREF can also be adjusted and, thus, a match/mismatch determination can be made with a higher degree of accuracy and more flexibly.

Landscapes

  • Oscillators With Electromechanical Resonators (AREA)

Abstract

A semiconductor device includes a synthesizer, a phase locked loop (PLL) circuit, and a clock generating unit which is coupled to a crystal oscillator and generates an oscillation signal, and supplies the oscillation signal to the synthesizer and PLL circuit as a clock signal.

Description

    REFERENCE TO RELATED APPLICATION
  • This application is a Continuation application of U.S. patent application Ser. No. 14/329,826, which was filed on Jul. 11, 2014, and the disclosure of which is incorporated herein in its entirety by reference thereto.
  • CROSS-REFERENCE TO RELATED APPLICATIONS
  • The disclosure of Japanese Patent Application No. 2013-152802 filed on Jul. 23, 2013 including the specification, drawings and abstract is incorporated herein by reference in its entirety.
  • BACKGROUND
  • The present invention relates to a semiconductor device and relates to, for example, a semiconductor device including an oscillation circuit that drives a crystal oscillator.
  • It is known that, in various semiconductor devices, an oscillation signal is produced by driving a crystal oscillator outside a chip by an oscillation circuit provided in the chip and used as a clock signal.
  • In order to diminish radiation noise that is generated by an oscillation circuit due to a high-frequency distortion component, it is necessary to decrease the gain of an inverting amplifier that is coupled to the crystal oscillator and reduce the amplitude level of an oscillation signal as small as possible. Note that the amplitude level of an oscillation signal means a “peak to peak” level of an oscillation signal and it will hereinafter be denoted by “Vp-p”.
  • On the other hand, if the gain of the inverting amplifier is set too small, it may lead to no oscillation. Thus, it is necessary to set the amplitude level Vp-p as large as possible to ensure oscillation allowance and S/N (signal-noise ratio).
  • In view of such a dilemma, it is desired to control the gain of the inverting amplifier so that the amplitude level Vp-p of an oscillation signal should be less than a power supply voltage VCC, whereas it should be as close to the power supply voltage VCC as possible.
  • An oscillator disclosed in Patent Document 1 includes an oscillation unit including a plurality of oscillation circuits with different degrees of oscillation allowance and a peak detecting unit that detects a peak output voltage (equivalent to the amplitude level Vp-p) that is output by the oscillation unit. Based on the amplitude level Vp-p detected by the peak detecting unit, one of the oscillation circuits is selected for use as an oscillation circuit to drive a crystal oscillator.
  • Patent Document 2 discloses a technique for adjusting the gain of an inverting amplifier in an oscillation circuit, based on the amplitude level Vp-p. This technique is, in principle, similar to the technique disclosed in Patent Document 1.
  • One-chip microcomputer disclosed in Patent Document 3 detects a high-frequency component from an oscillation signal and adjusts the gain of an inverting amplifier and the resistance of a damping resistor, based on a result of the detection.
  • RELATED ART DOCUMENTS Patent Documents
    • [Patent Document 1] Japanese Unexamined Patent Application Publication No. 2009-152747
    • [Patent Document 2] Japanese Unexamined Patent Application Publication No. 2001-257532
    • [Patent Document 1] Japanese Unexamined Patent Application Publication No. 2002-252331
    SUMMARY
  • In the oscillator disclosed in Patent Document 1, the peak detecting unit detects the amplitude level Vp-p of an oscillation signal. Hence, it cannot make a detection distinguishing between a rectangular-like waveform and a sine-like waveform having the same amplitude level Vp-p.
  • Because the proportion of a high-frequency component included in a rectangular-like waveform is larger, the influence of radiation noise on the rectangular-like waveform is larger than on a sine-like waveform.
  • Therefore, it is difficult for the technique disclosed in Patent Document 1 to reduce radiation noise positively. This is also true for the technique disclosed in Patent Document 2.
  • In the technique disclosed in Patent Document 3, a high-frequency component detecting circuit having a large circuit size is required and, therefore, there is a problem of having to increase the circuit size of an entire semiconductor device.
  • Other problems and novel features will be apparent from the following description of the present specification and the accompanying drawings.
  • A semiconductor device according to an embodiment measures an effective value of an oscillation signal which is output by an oscillation circuit that produces an oscillation signal by driving a crystal oscillator and adjusts the gain of an inverting amplifier included in the oscillation circuit so that the effective value will be equal to a target voltage.
  • An alternative and equivalent method and system to the semiconductor device of the above embodiment and a chip including the semiconductor device are also effectual as aspects of the present invention.
  • According to the foregoing semiconductor device pertaining to the above embodiment, it is possible to adjust optimally the driving power of the oscillation circuit with a simple circuit configuration.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a diagram depicting a semiconductor device pertaining to a first embodiment;
  • FIG. 2 is a diagram depicting a semiconductor device pertaining to a second embodiment;
  • FIG. 3 is a diagram depicting a control unit in a semiconductor device pertaining to a third embodiment;
  • FIG. 4 is a diagram depicting a receiver pertaining to a fourth embodiment;
  • FIG. 5 is a diagram depicting a clock generating unit included in the chip of the receiver depicted in FIG. 4;
  • FIG. 6 depicts a configuration example of an inverting amplifier that is included, respectively, in an oscillation circuit and in a first replica circuit of the clock generating unit depicted in FIG. 5;
  • FIG. 7 is a diagram representing correlations between the combinations of bit values of a control signal from a trimming controller and the gain values of the inverting amplifier depicted in FIG. 6;
  • FIG. 8 is a diagram for explaining an A/D converter in the clock generating unit depicted in FIG. 5;
  • FIG. 9 is a diagram for explaining how the respective signals in the clock generating unit depicted in FIG. 5 undergo transition;
  • FIG. 10 is a flowchart illustrating operation of the trimming controller in the clock generating unit depicted in FIG. 5;
  • FIG. 11 is a diagram depicting a clock generating unit pertaining to a fifth embodiment;
  • FIG. 12 is a diagram for explaining how the respective signals in the clock generating unit depicted in FIG. 11 undergo transition; and
  • FIG. 13 is a flowchart illustrating operation of the trimming controller in the clock generating unit depicted in FIG. 11.
  • DETAILED DESCRIPTION
  • For the sake of clarity of description, the following description and drawings are condensed and simplified, if appropriate. In the drawings, the same components are assigned the same reference numerals and duplicated descriptions are omitted as appropriate. For the sake of simplicity, in the drawings, power supply lines to functional blocks that need a power supply and to elements included in these functional blocks are omitted.
  • First Embodiment
  • FIG. 1 is a diagram depicting a semiconductor device 1 pertaining to a first embodiment. The semiconductor device 1 includes a chip 10 and a crystal oscillator 70 provided outside the chip 10.
  • The chip 10 includes an oscillation circuit 20, an amplifier 30, an effective value measuring circuit 40, and a control unit 50. The oscillation circuit 20 includes an inverting amplifier 22 and a resistor 24 coupled in parallel to the inverting amplifier 22.
  • An input terminal 26 of the inverting amplifier 22 is coupled via a pad 14 to one end of the crystal oscillator 70 and an output terminal 28 of the inverting amplifier 22 is coupled via a pad 12 and a damping resistor 60 to the other end of the crystal oscillator 70. Both the ends of the crystal oscillator 70 are grounded via a capacitor 72 and a capacitor 74, respectively.
  • A voltage (i.e., an oscillation signal) at the output terminal 28 of the inverting amplifier 22 is supplied as a clock signal CLK via the amplifier 30 to other logic circuits, which are not depicted, within the chip.
  • The effective value measuring circuit 40 to which an oscillation signal from the oscillation circuit 20 is input measures an effective value VE of the oscillation signal and outputs it to the control unit 50.
  • The control unit 50 adjusts the driving power of the inverting amplifier 22 to drive the crystal oscillator 70 so that the effective value VE measured by the effective value measuring circuit 40 will be equal to a target voltage.
  • In the present embodiment, the gain of the inverting amplifier 22 is variable and the control unit 50 generates a control signal CTR1 and outputs it to the inverting amplifier 22 to adjust the gain of the inverting amplifier 22, thereby adjusting the driving power of the inverting amplifier 22.
  • Here, a technical principle relevant to the first embodiment is described. As noted previously, it is required that the amplitude level Vp-p of an oscillation signal should be less than a power supply voltage VCC, whereas it should be as close to the power supply voltage VCC as possible in order to reduce radiation noise and ensure oscillation allowance and S/N (signal-noise ratio). An ideal amplitude level Vp-p that satisfies this requirement is equal to the power supply voltage VCC. This amplitude level Vp-p is referred to as an “ideal amplitude level”.
  • However, if the oscillation circuit's driving power is too large, because of saturation, it outputs an oscillation signal of a rectangular wave having an amplitude level Vp-p that is the same level as the power supply voltage VCC. Because the power supply voltage VCC is the ideal amplitude level, in this case, it is impossible to make an optimal adjustment by adjusting the driving power of the oscillation circuit, based on whether the amplitude level Vp-p of an oscillation signal is the ideal amplitude level, as in Patent Document 1 or Patent Document 2, since it is impossible to distinguish between a rectangular wave and a sine wave.
  • That is, to determine whether or not the driving power of the oscillation circuit is optimal, in addition to determining whether or not the amplitude level Vp-p of an oscillation signal is the ideal amplitude level, it is necessary to determine whether or not the oscillation signal is a sine wave.
  • The present inventors focused attention on that, if an oscillation signal is a sine wave, its effective value will be “1/(√{square root over ( )} 2)” times the amplitude level Vp-p and thought up an idea as below. About “1/(√{square root over ( )} 2)” times the ideal amplitude level (for example, power supply voltage VCC) should be specified as a target voltage VT. If an effective value of an oscillation signal is equal to the target voltage VT, it can be determined that the amplitude level Vp-p of the oscillation signal is the ideal amplitude level and the oscillation signal is a sine wave.
  • The chip 10 of the semiconductor device 1 was contrived, based on the above idea. The control unit 50 in the chip 10, based on an effective value VE measured by the effective value measuring circuit 40 and a target voltage VT, adjusts the driving power of the oscillation circuit 20 so that the effective value VE will be equal to the target voltage VT. As a result, an oscillation signal whose amplitude level Vp-p is the ideal amplitude level is output on the assumption that no saturation occurs.
  • According to the first embodiment, the driving power of the oscillation circuit 20 is adjusted optimally in a simple configuration described above. Thereby, both reducing radiation noise positively and ensuring oscillation allowance and S/N(signal-noise ratio) can be achieved.
  • Second Embodiment
  • In the first embodiment, the control unit 50 exerts control so that the driving power of the oscillation circuit 20 will be optimal by adjusting the gain of the inverting amplifier 22. However, if the driving power of the oscillation circuit 20 can be controlled to be optimal, an object to be adjusted is not limited to the gain of the inverting amplifier 22.
  • FIG. 2 depicts a semiconductor device 100 pertaining to a second embodiment as an example in which an object to be adjusted is other than the gain of the inverting amplifier 22. The semiconductor device 100 is described only in respects in which it differs from the semiconductor device 1.
  • In a chip 110 of the semiconductor device 100, an oscillation circuit 120 is the same as the oscillation circuit 20 except that an inverting amplifier 122 whose gain is not variable is provided instead of the inverting amplifier 22 whose gain is variable.
  • The damping resistor 60 is provided outside the chip 10 in the semiconductor device 1, whereas a damping resistor 160 corresponding to the damping resistor 60 is provided within the chip 110 and its resistance value is variable in the semiconductor device 100.
  • Instead of controlling the gain of the inverting amplifier 22 with the control signal CTR1, a control unit 150 in the chip 110 of the semiconductor device 100 outputs a control signal CTR2 to the damping resistor 160 and adjusts the driving power of the oscillation circuit 120 by adjusting the resistance value of the damping resistor 160.
  • The control unit 150 adjusts the resistance value of the damping resistor as the object to be adjusted, instead of the gain of the inverting amplifier. Except for this respect, the control unit 150 makes an adjustment according to same principle and method of adjustment as for the control unit 50. Thus, the semiconductor device 100 pertaining to the second embodiment can produce the same advantageous effect as can be produced by the semiconductor device 1.
  • Besides, in the case of the semiconductor device 100, the damping resistor is built in the chip and, thus, the number of external parts can be decreased.
  • Of course, the inverting amplifier whose gain is variable may be used in the oscillation circuit, while the damping resistor whose resistance value is variable is built in the chip, and, by adjusting both the gain of the inverting amplifier and the resistance value of the damping resistor, the driving power of the oscillation circuit may be controlled to be optimal.
  • In this case, besides all the advantageous effects of the semiconductor device 1 and the semiconductor device 100, it is possible to further produce advantageous effects; i.e., expanding the range of adjusting the driving power of the oscillation circuit and reducing the circuit size of the oscillation circuit and the damping resistor.
  • Third Embodiment
  • A third embodiment is also a semiconductor device. The semiconductor device has a control unit 200 that is configured as depicted in FIG. 3; the control unit 50 in the semiconductor device 1 or the control unit 150 in the semiconductor device 100 is also configured like this. Description of the third embodiment focuses on only the control unit 200. For explanatory convenience, the control unit 200 is assumed to have been applied in the semiconductor device 1.
  • As depicted in FIG. 3, the control unit 200 includes a comparison circuit 210 and a control execution unit 220. The control execution unit 220 includes an A/D converter 222, a trimming controller 224, and a register 226.
  • An effective value VE measured by the effective value measuring circuit 40 and a reference voltage VREF are input to the comparison circuit 210. The comparison circuit 210 compares the effective value VE and the reference voltage VREF and outputs a result of comparison to the control execution unit 220. A description about the reference voltage VREF will be described later. The reference voltage VREF differs from the target voltage VT.
  • The control execution unit 220 controls the gain of the inverting amplifier 22, based on a result of comparison made by the comparison circuit 210.
  • In the present embodiment, the comparison circuit 210 obtains a difference VD1 between the effective value VE and the reference voltage VREF as a result of comparison.
  • In the control execution unit 220, the A/D converter 222 makes an A/D conversion of the difference VD1 from the comparison circuit 210, obtains a difference VD2 which is a digital value, and outputs it to the trimming controller 224.
  • The trimming controller 224 compares the difference VD2 from the A/D converter 222 and a target difference value VD0, as will be described later, which has been set in the register 226. According to a result of the comparison, the trimming controller 224 generates a control signal CTR1 and outputs it to the inverting amplifier 22.
  • The purpose of the control unit 200 is to control the driving power of the oscillation circuit so that an effective value VE will be equal to the above-mentioned target voltage VT. An effective value VE is not necessarily to be compared to the target voltage VT.
  • If the reference voltage VREF is a voltage level other than the target voltage VT as in the present embodiment, the target difference value VD0 should be set so that an effective value VE will be equal to the target voltage VT when a match has occurred between the difference VD2 from the A/D converter 222 and the target difference value VD0 stored in the register 226. In this way, the foregoing purpose of the control unit 200 can be achieved.
  • Moreover, instead of an oscillation signal's effective value VE itself, another value that can represent an effective value VE may be measured for an oscillation signal and supplied to the comparison circuit 210 for comparison to the reference voltage VREF. This will be detailed later in conjunction with further embodiments.
  • Fourth Embodiment
  • FIG. 4 depicts a receiver 250 pertaining to a fourth embodiment. The receiver 250 includes a chip 260 and a crystal oscillator 70 provided outside the chip 260.
  • In the chip 260, the following are provided: an LNA (Low Noise Amplifier), an RF unit (RF: Radio Frequency), an ABB unit (ABB: Analog BaseBand), an A/D converter (ADC), a DBB unit (DBB: Digital BaseBand), a synthesizer, a PLL circuit (PLL: phase locked loop), and a clock generating unit 300.
  • The functional blocks of the chip 260 except for the clock generating unit 300 are the same as those provided in a commonly used receiver and, thus, their description is omitted.
  • The clock generating unit 300 produces an oscillation signal by driving the crystal oscillator 70. The oscillation signal is supplied to the synthesizer and PLL circuit as a clock signal CLK.
  • FIG. 5 depicts the clock generating unit 300. The clock generating unit 300 includes an oscillation circuit 310, an amplifier 30, an effective value measuring circuit 320, a first replica circuit 330, a second replica circuit 340, a level shift circuit 350, a comparison circuit 360, an A/D converter 370, a trimming controller 380, and a register 390.
  • The oscillation circuit 310, which is the same as the oscillation circuit 20 in the semiconductor device 1 in FIG. 1, drives the crystal oscillator 70, thereby producing an oscillation signal (a voltage N12 at the output terminal of the inverting amplifier 22), and outputs the oscillation signal to the amplifier 30 and a signal combining circuit 322. The oscillation circuit 310 and the crystal oscillator 70 are coupled in the same way as in the semiconductor device 1.
  • The inverting amplifier 22 is an inverting amplifier whose gain is variable and its gain is controlled by a control signal CTR1 from the trimming controller 380.
  • FIG. 6 depicts a configuration example of the inverting amplifier 22. The inverting amplifier 22 which is depicted in FIG. 6 is controlled by a 3-bit control signal CTR1 (CTR1[0], CTR1[1], CTR1[2]) so that its gain will be any one of eight gain values multiplied by a factor of 1 through 8.
  • As depicted in FIG. 6, switches, each of which is configured with a transistor, are coupled between power supply and GND nodes of the inverting amplifier 22. These switches are controlled by a control signal CTR1 [with bits 2 thru 0] and roughly divided into four groups. The control signal CTR1 makes switching among the gain values in terms of W size ratios that are given by the transistors which are component elements of the inverting amplifier.
  • CTR1[0] selects a group of inverting amplifier elements having a W size ratio of “×1” (in a second column from left in FIG. 6). CTR1[1] selects a group of inverting amplifier elements having a W size ratio of “×2” (in a third column from left in FIG. 6). CTR1[2] selects a group of inverting amplifier elements having a W size ratio of “×4” (in a fourth column from left in FIG. 6).
  • A group in a first column from left is a group of inverting amplifier elements having a W size ratio of “×1” and these elements operate at all times.
  • Correlations between the combinations of bit values of the control signal CTR1 and the gain values (W size ratios) of the inverting amplifier 22 are presented in FIG. 7.
  • Although the control signal CTR1 is a 3-bit signal, herein, by way of example, the number of bits of the control signal CTR1 is not limited to 3 and may increase or decrease according to situations in terms of the circuit configuration.
  • A Return is made to FIG. 5. The effective value measuring circuit 320 includes a signal combining circuit 322 and a low-pass filter 324.
  • The signal combining circuit 322 includes a differential pair comprised of two transistors (N-type transistors by way of example) and a constant current source to supply operating current to the differential pair. A voltage N11 at the input terminal of the inverting amplifier 22 and a voltage (oscillation signal N12) at the output terminal thereof are input to the gates of the two transistors, respectively. The sources of the two transistors are coupled to each other.
  • That is, an output N13 of the signal combining circuit 322 (namely, an output of the differential pair) is a voltage N13 resulting from combining the waveforms of the voltage N11 and the oscillation signal N12.
  • The low-pass filter 324 produces a voltage N14 by smoothing the voltage N13 to an effective level and outputs the voltage N14 to the comparison circuit 360. This voltage N14 is a DC voltage that reflects an effective value of the oscillation signal N12.
  • That is, in the present embodiment, the effective value measuring circuit 320 produces the voltage N13 having a level reflecting the amplitude of an effective value VE, not the effective value itself of an oscillation signal N12.
  • If the gain of the inverting amplifier 22 in the oscillation circuit 310 is set to be optimal, the voltage N11 and the oscillation signal N12 are substantially sine waves. Consequently, when these voltage N11 and oscillation signal N12 are input to the signal combining circuit 322, their waveforms are combined by the two transistors in the signal combining circuit 322 and the output (voltage N 13) of the signal combining circuit 322 will be a pulsating wave with an arc wave in the upper half plane. Its peak value is about “VCC−Vtn”. The voltage N14 which is output by the low-pass filter 324 will be (VCC−Vtn)×(1/√{square root over ( )}2). Vtn is a threshold value of the transistors in the signal combining circuit 322.
  • On the other hand, if the gain of the inverting amplifier 22 in the oscillation circuit 310 is too large, the voltage N11 and the oscillation signal N12 become square or rectangular waves. When these waveforms are input to the signal combining circuit 322, at least one of the two transistors in the signal combining circuit 322 comes to be substantially full ON. Consequently, the output (voltage N13) of the signal combining circuit 322 will be a DC level of about “VCC−Vtn”. Hence, the voltage V14 which is output by the low-pass filter 324 is “VCC−Vtn”, the same as the voltage N13.
  • The comparison circuit 360, A/D converter 370, trimming controller 380, and register 390 make up the control unit which is the same as the control unit 200 depicted in FIG. 3. The A/D converter 370, trimming controller 380, and register 390 correspond to those of the control execution unit 220 in the control unit 200.
  • The comparison circuit 360 compares the voltage N14 from the low-pass filter 324 and the reference voltage VREF, obtains a difference VD1 between them, and outputs it to the A/D converter 370.
  • The A/D converter 370 converts the difference VD1 to a difference VD2 which is a digital value and outputs the difference VD2 to the trimming controller 380.
  • FIG. 8 presents a correlation between the difference VD1 which is output by the comparison circuit 360 and the difference VD2 which is output by the A/D converter 370. In the present embodiment, the A/D converter 370 converts the difference VD1 to a 4-bit digital signal, by way of example. The bits of the digital signal (difference VD2) are VD2[0] through VD2[3].
  • The trimming controller 380 compares the difference VD2 from the A/D converter 370 to a target difference value VD0 which has been set in the register 390 beforehand. According to a result of the comparison, the trimming controller 380 adjusts the gain of the inverting amplifier 22 in the oscillation circuit 310 as well as the gain of the inverting amplifier 22 in the first replica circuit 330 which will be described later in the same manner.
  • As described previously, in the present embodiment, the trimming controller 380 controls the gain of the inverting amplifier 22, respectively, in the oscillation circuit 310 and in the first replica circuit 330, by way of example, using the 3-bit control signal CTR1. The bits of the control signal CTR1 are CTR1 [0] through CTR1[2].
  • A return is made to FIG. 5. In the present embodiment, the reference voltage VREF that is input to the comparison circuit 360 is not a fixed value and it is generated by a reference voltage generating circuit.
  • The reference voltage generating circuit is comprised of a first replica circuit 330, a second replica circuit 340, and a level shift circuit 350.
  • The first replica circuit 330 has the same configuration as the oscillation circuit 310 except that it is not coupled to the crystal oscillator 70. To emphasize this respect, the elements in the first replica circuit 330 are assigned the same reference numerals as assigned to the corresponding elements in the oscillation circuit 310.
  • The inverting amplifier 22 included in the first replica circuit 330 also has the same configuration as the configuration example depicted in FIG. 6 except that a voltage at its input terminal is N21 and a voltage at its output terminal is N22.
  • The second replica circuit 340 has the same configuration as the signal combining circuit 322 except that the inputs to it are the voltages (N21, N22) at the input and output terminals of the inverting amplifier 22 included in the first replica circuit 330. Hence, a voltage N23 that is output by the second replica circuit 340 will be a stable DC voltage that is nearly one half of the power supply voltage VCC.
  • The voltage N23 that is output by the second replica circuit 340 is input to the level shift circuit 350. The level shift circuit 350 shifts the voltage V23 and outputs the shifted voltage as the reference voltage VREF to the comparison circuit 360.
  • The purpose of the level shift circuit 350 is to avoid a decrease in the sensitivity of the comparison circuit 360 due to a too large gap between the levels of reference voltage VREF and voltage N14. The level shift circuit 350 produces the reference voltage VREF, for example, by adding a shift amount of about “((√{square root over ( )} 2−½)×VCC” to the voltage N23.
  • The target difference value VD0 stored in the register 390 is set beforehand so that an effective value of the oscillation signal N12 will be equal to the target voltage VT when a match has occurred between the difference VD2 output by the A/D converter 370 and the target difference value VD0
  • The trimming controller 380 compares the target difference value VD0 and the reference voltage VREF from the level shift circuit 350. If a match occurs between them, the trimming controller 380 regards the diving power of the oscillation circuit 310 as optimal and does not adjust the gain of the inverting amplifier 22 in the oscillation circuit 310. Otherwise, if a mismatch occurs between the target difference value VD0 and the reference voltage VREF, the trimming controller 380 adjusts the gain of the inverting amplifier 22 in the oscillation circuit 310 so that the voltage V14 will be equal to the reference voltage VREF.
  • Referring to FIG. 9, a description is provided for how the respective signals within the clock generating unit 300 undergo transition depending on the gain of the inverting amplifier 22 in the oscillation circuit 310 and in the first replica circuit 330. In FIG. 9, in a waveform representation for “N13, N14”, a straight line denotes the voltage N14 produced by smoothing the voltage N13 to an effective level by the low-pass filter 324.
  • <Period from T0 to T1>
  • This period is a period after power-on and before an adjustment is made of the inverting amplifier 22.
  • In the present embodiment, by way of example, it is assumed that, immediately after power-on, the control signal CTR1 [bits 2 thru 0] is 3′h7 and the gain of the inverting amplifier 22 is set maximal (at a value multiplied by a factor of 8).
  • This is for the purpose that oscillation takes place reliably and makes logic circuits operate positively after power-on and before an adjustment is made of the inverting amplifier 22, though there is a possibility that the oscillation signal N12 becomes saturated.
  • During this period, the oscillation waveform is a square or rectangular wave, as presented for N11 in FIG. 9. The output N14 of the effective value measuring circuit 320 is at the highest voltage level and higher than the reference voltage VREF. Thus, the output (VD1) of the comparison circuit 360 becomes lowest and the difference VD2 [bits 3 thru 0] obtained by the A/D converter 370 becomes 4′h0.
  • <Period from T1 to T2>
  • This period is a period after the control signal [bits 2 thru 0] has been decremented to 3′h5.
  • The gain (W size ratio) of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 reduces to a value multiplied by a factor of 6 and the oscillation waveform of N11 becomes a trapezoidal wave. N14 comes to a voltage somewhat lower than the voltage for the period from T0 to T1. Accordingly, the output of the comparison circuit 360 becomes somewhat higher and the difference VD2 [bits 3 thru 0] obtained by the A/D converter 370 becomes 4′h4.
  • <Period from T2 to T3>
  • This period is a period after the control signal [bits 2 thru 0] has been decremented to 3′h3. Here, the difference between the voltage N14 output from the effective value measuring circuit 320 and the reference voltage VREF output by the level shift circuit 350 is assumed to be smallest.
  • At this time, the gain of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 is a value multiplied by a factor of 4, the oscillation waveform of N11 becomes substantially a sine wave, and its amplitude level Vp-p becomes substantially equal to the power supply voltage VCC. N14 comes to a voltage further lower than the voltage during the previous period, the output VD1 of the comparison circuit 360 becomes higher, and the difference VD2 obtained by the A/D converter 370 is 4′h8.
  • Once this state has been reached, the trimming controller 380 regards the driving power of the oscillation circuit 310 as optimal and does not make a further adjustment. However, because FIG. 9 represents the transitions of the signals, it also represents the signal transitions for a period from T3 to T4 which is a period after the control signal CTR1 [bits 2 thru 0] has been decremented to 3′h1 further from this state.
  • <Period from T3 to T4>
  • During this period, the gain of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 is a value multiplied by a factor of 2. The oscillation waveform of N11 is substantially a sine wave, but its amplitude level Vp-p becomes smaller than the power supply voltage VCC. The output N14 of the effective value measuring circuit 320 comes to a voltage further lower than the voltage during the previous period, the output of the comparison circuit becomes higher, and the difference VD2 [bits 3 thru 0] obtained by the A/D converter 370 is 4′h12.
  • In this condition, the gain of the inverting amplifier 22 in the oscillation circuit 310 is too small.
  • FIG. 10 is a flowchart illustrating operation of the trimming controller 380 in the clock generating unit 300.
  • As illustrated in FIG. 10, before an adjustment is made by the trimming controller 380, first, a target difference value VD0 is set into the register 390 beforehand (S100). Note that an initial value of the control signal CTR1 is assumed to be 3′ h7 to multiply the gain of the inverting amplifier 22 by a factor of 8 that is maximal.
  • The voltage N14 output from the effective value measuring circuit 320 and the reference voltage VREF output by the level shift circuit 350 are output to the comparison circuit 360. A difference VD1 obtained by the comparison circuit 360 is converted to a difference VD2 that is then input to the trimming controller 380.
  • The trimming controller 380 compares the difference VD2 from the A/D converter 370 to the target difference value VD0 set in the register 390 (S102).
  • If a mismatch occurs between the difference VD2 and the target difference value VD0 (No as determined at S104), the trimming controller 380 determines that the driving power of the oscillation circuit 310 is not optimal and decrements the control signal CTR1 [bits 2 thru 0] to adjust the gain of the inverting amplifier 22 (S106). Then, the process returns to the step S102 of comparing the difference VD2 obtained again after the adjustment to the target difference value VD0.
  • The trimming controller 380 repeats the process from the step S102 until a match occurs between the difference VD2 and the target difference value VD0. If the match has occurred (Yes as determined at S104), the trimming controller 380 determines that the driving power of the oscillation circuit 310 is optimal, maintains the control signal CTR1 [bits 2 thru 0] at its setting when the match has occurred, and terminates the adjustment.
  • In the clock generating unit 300 in the receiver 250 of the present embodiment, the effective value measuring circuit 320 generates the voltage N14 that reflects an effective value VE, not the effective value itself of an oscillation signal N12. By supplying the voltage N14 to the comparison circuit for comparison to the reference voltage VREF, it is possible to produce the same advantageous effect as can be produced by the foregoing embodiments.
  • In the present embodiment, the reference voltage VREF is based on the voltage N23. The voltage N23 is generated by the first replica circuit 330 having the same configuration as the oscillation circuit 310 and the second replica circuit 340 having the same configuration as the signal combining circuit 322. Hence, it is possible to absorb an operating point variation attributed to an variation in the component elements of the oscillation circuit 310 and the effective value measuring circuit 320 and in the layouts of these component elements. Using the reference voltage VREF generated from the voltage N23, the voltage N14 output from the effective value measuring circuit 320 can be compared to that reference voltage VREF and a match/mismatch between these voltages can be determined with a high degree of accuracy. Thus, the gain of the inverting amplifier 22 can be adjusted with a high degree of accuracy as well.
  • The voltage N23 generated by the first replica circuit 330 and the second replica circuit 340 is not directly input to the comparison circuit 360 as the reference voltage VREF. The voltage N23 after being shifted by the level shift circuit 350 so that the comparison circuit 360 can easily make a comparison is output as the reference voltage VREF to the comparison circuit 360. Thus, the detection accuracy of the comparison circuit 360 can be enhanced.
  • In order to absorb a variation in manufacturing processes, a low-pass filter having the same configuration as the low-pass filter 324 may be provided between the second replica circuit 340 and the level shift circuit 350.
  • Because the voltage N21 is a DC signal, the second replica circuit 340 may be removed from the clock generating unit 300. However, if the second replica circuit 340 is removed, while there would be an advantage that the chip size and cost can be reduced, the circuits for generating the voltage N13 (the oscillation circuit 310 and the effective value measuring circuit 320) and the circuit for generating the voltage N23 (only the first replica circuit 330 in this case) would differ in configuration. Hence, only when a variation in the characteristics of the circuits, which can be estimated from the amount of a variation in manufacturing processes depending on process technology, is acceptable, it is preferable to adopt a configuration in which the second replica circuit 340 is removed.
  • Moreover, of course, the level shift circuit 350 may be removed and the voltage N23 (if the second replica circuit 340 is present) or the voltage N21 (if the second replica circuit 340 is absent) may be directly input to the comparison circuit 360 as the reference voltage VREF.
  • Fifth Embodiment
  • FIG. 11 depicts a clock generating circuit 400 pertaining to a fifth embodiment. The clock generating circuit 400 can be applied in the receiver 250 in place of the clock generating unit 300.
  • The control unit in the clock generating unit 300 is comprised of the comparison circuit 360, the A/D converter 370, the trimming controller 380, and the register 390. On the other hand, the control unit in the clock generating circuit 400 is comprised of a comparison circuit 410 and a trimming controller 420, dispensing with the A/D converter 370 and the register 390. A result of comparison made by the comparison circuit 360 in the clock generating unit 300 is a difference VD1 between the voltage N14 and the reference voltage VREF, whereas the comparison circuit 410 in the clock generating circuit 400 obtains a result of comparison CR indicating whether the voltage N14 is larger or smaller than the reference voltage VREF. Except for these respects, the clock generating unit 400 is the same as the clock generating unit 300.
  • Specifically, the comparison circuit 410 outputs a high level, if the voltage N14 is larger than the reference voltage VREF, and outputs a low level, if the voltage N14 is smaller than the reference voltage VREF.
  • The trimming controller 420 performs an arithmetic operation according to the result of comparison CR made by the comparison circuit 410, generates a control signal CTR1 to control the gain of the inverting amplifier 22, and outputs it to the inverting amplifier 22.
  • Referring to FIG. 12, a description is provided for how the respective signals within the clock generating unit 400 undergo transition. Similarly as in FIG. 9, in FIG. 12, in a waveform representation for “N13, N14”, a straight line denotes the voltage N14 produced by smoothing the voltage N13 to an effective level by the low-pass filter 324.
  • <Period from T0 to T1>
  • This period is a period after power-on and before an adjustment is made of the inverting amplifier 22.
  • Also in the present embodiment, immediately after power-on, the control signal CTR1 [bits 2 thru 0] is 3′h7 and the gain of the inverting amplifier 22 is set maximal (at a value multiplied by a factor of 8).
  • During this period, the oscillation waveform is a square or rectangular wave, as presented for N11 in FIG. 12. The output N14 of the effective value measuring circuit 320 is at the highest voltage level and higher than the reference voltage VREF. Thus, a result of comparison CR output by the comparison circuit 410 is low (0).
  • <Period from T1 to T2>
  • This period is a period after the control signal [bits 2 thru 0] has been decremented to 3′ h5. The gain of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 reduces to a value multiplied by a factor of 6 and the oscillation waveform of N11 becomes a trapezoidal wave. N14 comes to a voltage somewhat lower than the voltage for the period from T0 to T1, but is higher than the reference voltage VREF. Thus, the result of comparison CR output by the comparison circuit 410 is still low (0).
  • <Period from T2 to T3>
  • This period is a period after the control signal [bits 2 thru 0] has been decremented to 3′h3. Here, it is assumed that the voltage N14 output from the effective value measuring circuit 320 and the reference voltage VREF output by the level shift circuit 350 are at nearly the same level, but the voltage N14 is slightly lower.
  • At this time, the gain of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 is a value multiplied by a factor of 4, the oscillation waveform of N11 becomes substantially a sine wave, and its amplitude level Vp-p becomes substantially equal to the power supply voltage VCC. N14 comes to a voltage further lower than the voltage during the previous period and becomes lower than the reference voltage VREF. Thus, the result of comparison CR output by the comparison circuit 410 changes to a high level (1).
  • Once this state has been reached, the trimming controller 420 regards the driving power of the oscillation circuit 310 as optimal and does not make a further adjustment. However, because FIG. 12 represents the transitions of the signals, it also represents the signal transitions for a period from T3 to T4 which is a period after the control signal [bits 2 thru 0] has been decremented to 3′h1 further from this state.
  • <Period from T3 to T4>
  • During this period, the gain of the inverting amplifier 22 included in the oscillation circuit 310 and in the first replica circuit 330 is a value multiplied by a factor of 2. The oscillation waveform of N11 is substantially a sine wave, but its amplitude level Vp-p becomes smaller than the power supply voltage VCC. The output N14 of the effective value measuring circuit 320 comes to a voltage further lower than the voltage during the previous period and the result of comparison CR output by the comparison circuit 410 is still high.
  • In this condition, the gain of the inverting amplifier 22 in the oscillation circuit 310 is too small.
  • FIG. 13 is a flowchart illustrating operation of the trimming controller 420 in the clock generating unit 400.
  • As illustrated in FIG. 13, an initial value of the control signal CT1 that is output by the trimming controller 420 is 3′h7 to multiply the gain of the inverting amplifier 22 by a factor of 8 that is maximal.
  • The trimming controller 420 monitors the result of comparison output by the comparison circuit 410 (S110) and decrements the control signal CTR (S114, when CR is 0, as determined at S112, and S110 and subsequent steps are repeated) until the result of comparison becomes high (1) (when CR is 1, as determined at S112).
  • If the result of comparison CR has become high (when CR is 1, as determined at S112), the trimming controller 420 determines that the driving power of the oscillation circuit 310 is optimal, maintains the control signal CTR1 [bits 2 thru 0] at its setting when CR has become high, and terminates the adjustment.
  • According to the clock generating circuit 400 pertaining to the present embodiment, it is possible to produce the same advantageous effect as can be produced by the foregoing embodiments. Besides, because the comparison circuit 410 outputs the result of comparison CR that is a binary digital signal, there is no need for providing an A/D converter that makes an A/D conversion of the result of comparison made by the comparison circuit 410 and a register that stores a target difference value VD0. Hence, the circuit size can be reduced.
  • Alternative Embodiment
  • In respect to the clock generating unit 300 depicted in FIG. 5 or the clock generating circuit 400 depicted in FIG. 11, the resistance values of two resistors included in the level shift circuit 350 may be made variable. Adjusting the resistance values of the two resistors may be performed by, for example, the trimming controller 380 or the trimming controller 420.
  • By doing so, the reference voltage VREF can also be adjusted and, thus, a match/mismatch determination can be made with a higher degree of accuracy and more flexibly.
  • While the invention made by the present inventors has been described specifically based on its embodiments hereinbefore, it will be obvious that the present invention is not limited to the already described embodiments and various modifications may be made therein without departing from the scope of the invention.

Claims (15)

What is claimed is:
1. A semiconductor device comprising:
a synthesizer;
a phase locked loop (PLL) circuit; and
a clock generating unit which is coupled to a crystal oscillator and generates an oscillation signal, and supplies the oscillation signal to the synthesizer and PLL circuit as a clock signal.
2. The semiconductor device of claim 1, further comprising:
a radio frequency unit;
an analog/digital converter; and
a digital baseband,
wherein an output of the synthesizer is supplied to the radio frequency unit, and an output of the PLL circuit is supplied to the analog/digital converter and the digital baseband.
3. The semiconductor device of claim 1, wherein the clock generating unit comprises:
an oscillation circuit which generates the oscillation signal; and
an effective value measuring circuit which measures an effective value of the oscillation signal.
4. The semiconductor device of claim 3, wherein the oscillation circuit comprises an inverting amplifier comprising an input terminal and output terminal which are coupled, respectively, to an output side and an input side of the crystal oscillator, a voltage at the output terminal comprising the oscillation signal.
5. The semiconductor device of claim 4, wherein the clock generating unit further comprises a trimming controller which generates a control signal for adjusting a gain of the inverting amplifier so that the effective value measured by the effective value measuring circuit will be equal to a target voltage.
6. The semiconductor device according to claim 5, wherein the control signal comprises a 3-bit control signal, such that the gain of the inverting amplifier will be any one of eight gain values multiplied by a factor of 1 through 8.
7. The semiconductor device according to claim 5, wherein the inverting amplifier comprises a plurality of switches which are configured with a transistor, and which are coupled between power supply and GND nodes of the inverting amplifier.
8. The semiconductor device according to claim 7, wherein the switches are controlled by the control signal.
9. The semiconductor device of claim 5, wherein the clock generating unit further comprises a comparison circuit comparing the effective value measured by the effective value measuring circuit to a reference voltage.
10. The semiconductor device according to claim 9, wherein the effective value measuring circuit comprises:
a differential pair to which respective voltages at the input terminal and at the output terminal of the inverting amplifier are input, respectively;
a constant current source supplying operating current to the differential pair; and
a low-pass filter coupled to an output node of the differential pair, an output of the low-pass filter being output to the comparison circuit, and the comparison circuit comparing the output of the low-pass filter to the reference voltage.
11. The semiconductor device according to claim 10, wherein the comparison circuit obtains a difference value between the effective value and the reference voltage as a result of the comparison.
12. The semiconductor device according to claim 11, wherein the clock generating unit further comprises an A/D converter which makes an A/D conversion of the difference value from the comparison circuit to generate a digital difference value, and
wherein the trimming controller compares the digital difference value and a target digital difference value to generate the control signal.
13. The semiconductor device according to claim 12, wherein the clock generating circuit further comprises a register for storing a target difference value,
wherein before an adjustment is made by the trimming controller, the target difference value is set into the register, and
wherein after the target difference value is set into the register, the digital difference value is input to the trimming controller, and the trimming controller compares the digital difference value to the target difference value set in the register.
14. The semiconductor device according to claim 13, wherein If a mismatch occurs between the digital difference value and the target difference value, then the trimming controller determines that a driving power of the oscillation circuit is not optimal and decrements the control signal to adjust the gain of the inverting amplifier, and
after the trimming controller adjusts the gain of the inverting amplifier, the A/D converter generates a new digital difference value, and the trimming controller compares the new digital difference value to the target difference value.
15. The semiconductor device according to claim 14, wherein the clock generating unit repeats the adjusting of the gain of the inverting amplifier by the trimming controller, the generating of a new digital difference value by the A/D converter, and the comparing of the new digital difference value to the target difference value by the trimming controller, until a match occurs between the digital difference value and the target difference value.
US14/925,570 2013-07-23 2015-10-28 Semiconductor device Abandoned US20160065222A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/925,570 US20160065222A1 (en) 2013-07-23 2015-10-28 Semiconductor device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2013152802A JP2015023548A (en) 2013-07-23 2013-07-23 Semiconductor device
JP2013-152802 2013-07-23
US14/329,826 US9197227B2 (en) 2013-07-23 2014-07-11 Semiconductor device
US14/925,570 US20160065222A1 (en) 2013-07-23 2015-10-28 Semiconductor device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US14/329,826 Continuation US9197227B2 (en) 2013-07-23 2014-07-11 Semiconductor device

Publications (1)

Publication Number Publication Date
US20160065222A1 true US20160065222A1 (en) 2016-03-03

Family

ID=52389990

Family Applications (2)

Application Number Title Priority Date Filing Date
US14/329,826 Expired - Fee Related US9197227B2 (en) 2013-07-23 2014-07-11 Semiconductor device
US14/925,570 Abandoned US20160065222A1 (en) 2013-07-23 2015-10-28 Semiconductor device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US14/329,826 Expired - Fee Related US9197227B2 (en) 2013-07-23 2014-07-11 Semiconductor device

Country Status (4)

Country Link
US (2) US9197227B2 (en)
JP (1) JP2015023548A (en)
CN (1) CN104348417A (en)
TW (1) TW201513568A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190020309A1 (en) * 2017-07-13 2019-01-17 Qualcomm Incorporated Low power crystal oscillator

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170045994A1 (en) * 2014-02-28 2017-02-16 Beyond Twenty Ltd. Electronic vaporiser system
TWI566517B (en) * 2015-06-16 2017-01-11 智原科技股份有限公司 Crystal oscillation circuit, gain stage of crystal oscillation circuit and design method thereof
US9954485B2 (en) 2016-05-09 2018-04-24 Nxp Usa, Inc. Amplitude detection with compensation
KR102591122B1 (en) * 2016-10-13 2023-10-19 에스케이하이닉스 주식회사 Crystal oscillator circuit having low power consumption
CN111585539A (en) * 2020-04-26 2020-08-25 和芯星通(上海)科技有限公司 Crystal oscillator circuit and control method thereof
US11329608B1 (en) * 2020-10-23 2022-05-10 Infineon Technologies Ag Oscillator circuit with negative resistance margin testing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6166609A (en) 1997-04-14 2000-12-26 Seiko Epson Corporation Oscillator circuit supplied with optimal power voltage according to oscillator output
JP3849757B2 (en) 1997-04-14 2006-11-22 セイコーエプソン株式会社 Oscillator circuit, electronic equipment and clock
JP2002252331A (en) 2001-02-26 2002-09-06 Matsushita Electric Ind Co Ltd One-chip microcomputer
JP2009152747A (en) 2007-12-19 2009-07-09 Toyota Industries Corp Oscillator
EP2634914B1 (en) * 2012-03-02 2015-01-28 Nxp B.V. An oscillator circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190020309A1 (en) * 2017-07-13 2019-01-17 Qualcomm Incorporated Low power crystal oscillator
US10483913B2 (en) * 2017-07-13 2019-11-19 Qualcomm Incorporated Low power crystal oscillator
KR20200009122A (en) * 2017-07-13 2020-01-29 퀄컴 인코포레이티드 Low Power Crystal Oscillator
KR102141585B1 (en) 2017-07-13 2020-08-05 퀄컴 인코포레이티드 Low power crystal oscillator

Also Published As

Publication number Publication date
CN104348417A (en) 2015-02-11
US20150028956A1 (en) 2015-01-29
JP2015023548A (en) 2015-02-02
TW201513568A (en) 2015-04-01
US9197227B2 (en) 2015-11-24

Similar Documents

Publication Publication Date Title
US9197227B2 (en) Semiconductor device
US8264260B2 (en) Delay locked loop and method of driving delay locked loop
JP6872434B2 (en) Wireless signal processing device, semiconductor device, and oscillation frequency fluctuation correction method
US8106697B2 (en) Circuit and method for providing a corrected duty cycle
US7310022B2 (en) CPU-based oscillation frequency control circuit eliminating the need for a loop filter
KR101621367B1 (en) Dual mode low-drop out regulator in digital control and method for controlling using the same
JP2010119074A (en) Control circuitry
KR20040024469A (en) Clock generator circuit, pll and clock generation method
JP4390646B2 (en) Spread spectrum clock generator and modulation method thereof
JP2015149694A (en) Oscillation circuit and frequency synthesizer
US6404294B1 (en) Voltage control oscillator (VCO) with automatic gain control
JP5015210B2 (en) High frequency signal generation circuit
KR101086877B1 (en) Semiconductor apparatus
US6456166B2 (en) Semiconductor integrated circuit and phase locked loop circuit
JP2007158891A (en) Frequency synthesizer, wireless communication apparatus and control method
JP2005072876A (en) Wideband modulation pll and its modulation degree adjusting method
US9628088B2 (en) Multi-mode crystal oscillators
JP2015095900A (en) Oscillator buffer and method for calibrating oscillator buffer
US9614535B2 (en) PLL circuit, method, and electronic apparatus
US9071232B2 (en) Integrated circuit with ring oscillator
US8237476B2 (en) Semiconductor memory device having delay lock loop with wide frequency range and delay cell current reduction scheme
KR100830899B1 (en) Method Of Gain Estimation For VCO And Frequency Synthesizer Using The Method
US11368125B2 (en) Crystal oscillator reducing phase noise and semiconductor chip including the same
JP7255511B2 (en) Semiconductor integrated circuit with voltage amplitude detector
US10200001B2 (en) Methods and devices for automatic gain control

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: EXPRESSLY ABANDONED -- DURING EXAMINATION