WO2019093312A1 - デジタル制御発振回路 - Google Patents

デジタル制御発振回路 Download PDF

Info

Publication number
WO2019093312A1
WO2019093312A1 PCT/JP2018/041149 JP2018041149W WO2019093312A1 WO 2019093312 A1 WO2019093312 A1 WO 2019093312A1 JP 2018041149 W JP2018041149 W JP 2018041149W WO 2019093312 A1 WO2019093312 A1 WO 2019093312A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
timing
unit
period
output
Prior art date
Application number
PCT/JP2018/041149
Other languages
English (en)
French (fr)
Inventor
重徳 山内
Original Assignee
株式会社デンソー
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 株式会社デンソー filed Critical 株式会社デンソー
Publication of WO2019093312A1 publication Critical patent/WO2019093312A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass

Definitions

  • the present disclosure relates to a technology for generating a clock of a desired cycle using a ring oscillator.
  • Patent Document 1 describes a technique for generating a pulse signal at a passage timing of a delay element corresponding to the number of passing stages corresponding to a desired passage of time, using a ring oscillator in which a plurality of delay elements are connected in a ring. ing. Specifically, the cycle of the reference clock whose frequency is stable is measured, and the number of stages (hereinafter, the number of passing stages) at which the pulse signal passes through the delay element in the ring oscillator is measured. Using the measured value, the time corresponding to the cycle in which the pulse signal is generated is expressed as a magnification with respect to the cycle of the reference clock.
  • One aspect of the present disclosure is to provide a technique for generating a stable clock with high accuracy regardless of the cycle length with a simple configuration.
  • a digitally controlled oscillation circuit includes a ring oscillator, a measurement unit, a generation unit, a calculation unit, and an update unit.
  • the ring oscillator has a structure in which a plurality of delay elements are connected in a ring.
  • the measuring unit represents the period of the reference clock by the number of passing stages for each period of the reference clock input from the outside, where the number of stages in which the circulating signal which is a pulse signal circulating the ring oscillator passes the delay element is the number of passing stages. Generate periodic measurement values.
  • the generation unit counts the number of passing stages, and generates an output pulse signal at the timing when the number of passing stages reaches a preset set count value.
  • the calculation unit obtains a cycle setting value which is a magnification factor expressed by a real number with respect to the cycle of the reference clock, and calculates a repetition number obtained by subtracting an offset value N which is an integer of 1 or more from the value of the integer part Do.
  • the calculation unit converts the value of the decimal part of the cycle setting value into the number of passing stages using the cycle measurement value N times the cycle measurement value each time the cycle measurement value is generated by the measurement unit. Calculate the added adjustment value.
  • the updating unit updates the set count value with the cycle measurement value or the adjustment value.
  • the updating unit is configured to generate the output pulse signal at the coarse adjustment timing, which is a timing generated by the cycle measurement value, at the precise adjustment timing, which is a timing generated by the adjustment value each time the output of the output pulse signal is repeated.
  • the set count value is updated so that the output of the output pulse signal is performed once.
  • a clock with stable accuracy can be generated with a simple configuration of setting as a count value. That is, only the ring oscillator is shared by the circuit that measures the cycle of the reference clock and the circuit that generates a pulse signal at a desired timing, so that both circuits can operate independently.
  • the circuit configuration can be simplified because the configuration for matching the operation is unnecessary.
  • FIG. 7 is a timing chart showing the operation of the digital control oscillation circuit. It is explanatory drawing which shows the switching of a normal value and a delay value, the period measurement value etc. which are used for calculation of adjustment value. It is a graph which shows the relationship between frequency control data and an oscillation frequency. It is a graph which shows the relationship between frequency control data and the largest fluctuation amount of an oscillation period.
  • the digital control oscillation circuit 1 shown in FIG. 1 includes a ring oscillator 2, a measurement unit 3, and a pulse generation unit 4.
  • the measuring unit 3 measures the cycle of the reference clock SCK using the ring oscillator 2 and outputs a cycle measurement value FD.
  • the pulse generation unit 4 uses the ring oscillator 2 to generate a clock signal PO having a period specified from the period measurement value FD and the period setting value RD. That is, the measurement unit 3 and the pulse generation unit 4 are ring oscillators. It is comprised so that 2 may be shared.
  • the cycle setting value RD is a value representing the magnification of the cycle of the reference clock SCK as a real number.
  • the plurality of delay elements are connected in series and connected in a ring by using the output of the final stage as the input of the first stage.
  • a 2-input NAND gate is used as the delay element in the first stage.
  • the delay elements other than the first stage each have two inverter gates connected in series. Among the input ends of the NAND gate, the input end not used for ring connection is connected to the input terminal for inputting the start signal SP from the outside.
  • the output of each delay element belonging to the ring oscillator 2 is denoted as P1-16.
  • the output of the first stage delay element is P1
  • the output of the last stage delay element is P16.
  • the output P1 of the delay element of the first stage always becomes high level regardless of the signal level of the output P16 of the delay element of the final stage.
  • P1-16 are all stopped at high level. Also, with the timing when the start signal SP changes from low level to high level as start timing, if the high level of the start signal SP is held following the start timing, the output P1 of the first stage inversion circuit changes from high level to low level Do. Following this, the outputs of the delay elements sequentially change to the low level. When the output P16 of the last stage delay element changes to low level, the output P1 of the first stage delay element changes from low level to high level.
  • the outputs of the delay elements sequentially change to the high level.
  • the output P16 of the last stage delay element changes to high level
  • the output P1 of the first stage delay element changes from high level to low level. Thereafter, by repeating the same operation, the inverted edge of the signal level continues to circulate.
  • the inverted edge has an edge that changes from the low level to the high level and an edge that changes from the high level to the low level, and switches each time it goes around. That is, from each output Pi, a period in which the inversion edge rotates twice, that is, the delay time of the delay element for 32 stages is output as a cycle, and pulse signals having mutually different phases are output.
  • i is an integer of 1 to 16;
  • the pulse signal circulating around the ring oscillator 2 is referred to as a circulation signal.
  • the measuring unit 3 measures the period of the reference clock SCK input from the outside to generate a period measurement value FD.
  • the reference clock SCK is a highly stable clock generated from the output of a crystal oscillator or the like.
  • the cycle of the reference clock SCK is set to several tens to several hundreds times (eg, about 100 ns) of the delay time of each delay element belonging to the ring oscillator 2.
  • the period measurement value FD represents the number of stages (hereinafter, the number of passing stages) in which the loop signal passes through the delay element. That is, the period measurement value FD is a value that represents the period of the reference clock SCK as a unit time of the delay time of the delay element.
  • the delay time of the delay element changes due to the surrounding environment, aging, and the like. That is, the measuring unit 3 measures the fluctuation of the delay time in the ring oscillator 2 by measuring the period of the reference clock SCK.
  • the measurement unit 3 includes a counter circuit 31, three latch circuits 32, 33 and 34, an encoder 35, a selector 36, and a delay circuit 37.
  • the measurement unit 3 is a technique described in detail in, for example, Japanese Patent Application Laid-Open No. 7-183800, and the outline thereof will be described.
  • the counter circuit 31 is an n-bit counter that operates using the output P16 of the delay element of the final stage belonging to the ring oscillator 2 as a count clock.
  • n is an integer of 2 or more.
  • the counter circuit 31 counts up at the timing when the output P16 changes from low level to high level. Therefore, the count value CNT of the counter circuit 31 is increased by one every time the circulating signal passes through the delay elements 32 stages. Further, when the count value CNT is counted up in a state where the count value CNT has reached the maximum value, the count value CNT returns to 0, and the count operation is continued thereafter.
  • the latch circuit 32 latches the output P1-16 of the ring oscillator 2 at the timing of the rising edge of the reference clock SCK.
  • the latch circuit 33 latches the count value CNT of the counter circuit 31 at the same timing as the rising edge of the reference clock SCK.
  • the latch circuit 34 latches the count value CNT of the counter circuit 31 at a timing obtained by delaying the timing of the rising edge of the reference clock SCK by the delay circuit 37. However, the delay circuit 37 delays the reference clock SCK by a half cycle thereof.
  • the encoder 35 specifies the position of the inversion edge of the loop signal circulating the ring oscillator 2 from the result latched by the latch circuit 32, and the position of the inversion edge and the direction of the inversion edge (that is, rising or falling).
  • the outputs P1-P16 are encoded into m-bit binary data ENC representing values between 0 and 2 m -1 according to
  • Selector 36 selects the count value latched by latch circuit 33 when the value of the most significant bit is 1 according to the value of the most significant bit of output ENC of encoder 35, and the latch circuit when the value of the most significant bit is 0 34 selects the latched count value.
  • SCNT the count value selected by the selector 36 is denoted as SCNT. Note that selectively using one of the count values latched at different timings in this way prevents the count value latched in a state of unstable value from being supplied to the subsequent processing. It is for.
  • the measurement unit 3 supplies the pulse generation unit 4 with a total of m + n bits of cycle measurement value FD with the output ENC of the encoder 35 as the lower bit and the output SCNT of the selector 36 as the upper bit at each rising edge timing of the reference clock SCK.
  • the period measurement value FD represents the number of passing stages of the circulation signal measured during one period of the reference clock SCK.
  • the pulse generation unit 4 includes a selection unit 5, a calculation unit 6, an update unit 7, a generation unit 8, and a mask unit 9, as shown in FIG.
  • the selection unit 5 includes a delay unit 51 and a selector 52.
  • the delay unit 51 delays the update timing of the cycle measurement value FD whose value is updated at the timing of the rising edge of the reference clock SCK by a half cycle of the reference clock SCK and outputs it.
  • the periodic measurement value FD is referred to as a normal value nFD
  • the delayed periodic measurement value FD output from the delay unit 51 is referred to as a delay value dFD.
  • the selector 52 selects one of the normal value nFD and the delay value dFD in accordance with the selection signal S2 output from the calculation unit 6, and outputs it as a period value sFD representing rough adjustment timing.
  • the calculation unit 6 includes a holding unit 61, an adjustment value calculation unit 62, a fraction integration unit 63, and a repetition number calculation unit 64.
  • the holding unit 61 is a storage circuit that reads and holds the cycle setting value RD input from the outside.
  • the holding unit 61 separates and holds the held cycle setting value RD into an integer part RU which is a high-order bit indicated by an integer value, and a decimal point part RL which is a low-order bit indicated by a value below the decimal point. .
  • the adjustment value calculation unit 62 calculates the adjustment value pD according to equation (1) based on the selection value sFD output from the selection unit 5, the value ⁇ of the decimal point part RL, and the offset value N set in advance.
  • the fraction integration unit 63 holds a value obtained by subtracting 1 from the integration value when the integration value is 1 or more, and retains the value as it is for the next integration, when the integration value is less than 1. That is, the integrated value to be held is a value of 0 or more and less than 1.
  • the integrated value represents the phase when one cycle of the reference clock SCK is 1.
  • the fraction integration unit 63 causes the selection unit 5 to select the delay value dFD when the retained integrated value is greater than or equal to 0 and less than 1/4 or less than or equal to 3/4 and the integrated value retained is In the case of 1 ⁇ 4 or more and less than 3 ⁇ 4, the selection unit 5 outputs a selection signal S2 for selecting the normal value nFD.
  • the normal value nFD is selected when the selection signal S2 is at the low level
  • the delay value dFD is selected when the selection signal S2 is at the high level.
  • the repetition number calculation unit 64 calculates the repetition number M according to equation (2) based on the value ⁇ of the integer part RU of the set measurement value RD, the offset value N, and the carry signal K. That is, the reason for reducing the offset value N in the equation (2) is to remove the part incorporated into the adjustment value pD.
  • the updating unit 7 includes a selector 71, a counter 72, and a counter control unit 73.
  • the counter 72 is a down counter that operates using the output pulse signal PA output from the generation unit 8 as a clock.
  • the counter 72 loads the repetition number M calculated by the calculation unit 6 as a count value in accordance with the load signal from the counter control unit 73.
  • the counter 72 outputs the selection signal S1 that becomes high level until the load signal is input thereafter.
  • the counter control unit 73 is a logic circuit that outputs a load signal at the timing when the output pulse signal PA is input when the selection signal S1 is at high level.
  • the selector 71 selects the cycle value sFD when the selection signal S1 is at low level, and selects the adjustment value pD when the selection signal S1 is at high level, and supplies it to the generation unit 8 as the set count value CD.
  • the generation unit 8 includes an adder 81, a latch circuit 82, a pulse selector 83, a down counter 84, a timing control unit 85, and a pulse generator 86.
  • the adder 81 adds the lower 5 bits (hereinafter, selection data) LD1-5 of the 6 bits of data LD latched by the latch circuit 82 and the lower 5 bits DL of the set count value CD to carry out a carry out.
  • Output addition data AD including 6 bits.
  • the latch circuit 82 latches the addition data AD at the timing of the output pulse signal PA output from the pulse generator 86.
  • the lower 5 bits are output as selection data LD1-5, and the most significant bit is output as switching data LD6 representing the presence or absence of the carry out generated at the time of the addition operation in the adder 81. .
  • the pulse selector 83 selects one of the outputs P1-16 of the ring oscillator 2 in accordance with the selection data LD1-5 supplied from the latch circuit 82, and outputs it as the sampling clock CK. Since the selection data LD1-5 has a value of 0 to 31, it not only selects the output P1-16, but also identifies and selects the timing of the rising edge or the timing of the falling edge.
  • the down counter 84 executes the down-counting operation at the timing of the rising edge of the output P8 of the ring oscillator 2 and outputs a count-out signal CO which becomes an active level when it is counted out. The active level of the countout signal CO is maintained until the count value is preset.
  • the timing control unit 85 When the switching data LD6 is 0, the timing control unit 85 outputs the countout signal CO as the permission signal EN as it is, and when the switching data LD6 is 1, the timing control unit 85 outputs 1 of the output Pi of the ring oscillator 2 The signal delayed for the period is output as the enable signal EN.
  • the pulse generator 86 outputs an output pulse signal PA, which is a pulse signal having a preset constant pulse width, at the timing of the rising edge of the sampling clock CK from the pulse selector 83 when the enable signal EN is at the active level. .
  • the generation unit 8 generates the output pulse signal PA having a period of time required to pass the delay element for the number of passing stages represented by the set count value CD, and the cycle signal around the ring oscillator 2 is generated.
  • the mask unit 9 includes a gate unit 91 and a gate control unit 92.
  • the gate control unit 92 generates an output permission signal OE in accordance with the clock signal PO output from the gate unit 91 and the selection signal S1.
  • delay time d1 of reference clock SCK from falling timing of selection signal S1
  • delay time d2 from output timing (that is, rising timing) of clock signal PO.
  • An output enable signal OE which goes low at timing is generated.
  • the delay times d1 and d2 are both set to a length less than one cycle of the reference clock SCK.
  • the delay times d1 and d2 may be set to, for example, a half cycle or more of the reference clock SCK.
  • Gate unit 91 passes output pulse signal PA while output permission signal OE is at high level. Specifically, the generation unit 8 outputs a pulse signal generated at the coarse adjustment timing according to the cycle value sFD and a pulse signal generated at the fine adjustment timing according to the adjustment value pD. Among these pulse signals, the mask unit 9 extracts only the pulse signal output at precise adjustment timing and outputs it as a clock signal PO.
  • the digital control oscillation circuit 1 When the start signal SP is input in a state in which the reference clock SCK and the cycle setting value RD are input, the digital control oscillation circuit 1 outputs the clock signal PO having a cycle obtained by multiplying the cycle of the reference clock SCK by the cycle setting value RD. .
  • the measurement unit 3 generates, for each cycle of the reference clock SCK, a cycle measurement value FD in which the cycle of the reference clock SCK is expressed by the number of passing stages of the loop signal.
  • the selection unit 5 selects any one of the normal value nFD and the delay value dFD of the cycle measurement value FD as the cycle value sFD in consideration of the generation timing of the output pulse signal PA.
  • the calculation unit 6 calculates the adjustment value pD and the repetition number M based on the cycle setting value RD and the cycle value sFD.
  • the updating unit 7 selects any one of the cycle value sFD and the adjustment value pD as the set count value CD at a rate specified from the number of repetitions M.
  • the generation unit 8 reads the set count value CD at the timing of outputting the output pulse signal PA (hereinafter referred to as read timing) and repeats the operation of generating the output pulse signal PA when a time corresponding to the read set count value CD has elapsed. . Then, when the set count value CD is the cycle value sFD, when the read timing generated based on the cycle value sFD is the coarse adjustment timing and the set count value CD is the adjustment value pD, the adjustment value pD. The read timing generated based on is the fine adjustment timing.
  • the mask unit 9 extracts and outputs an output pulse signal PA generated at precise adjustment timing as a clock signal PO.
  • the selection signal S2 and the adjustment value pD are sequentially updated at the timing of the selection signal S1.
  • the selection signal S2 is set in accordance with the integrated value of ⁇ , which is an estimated value of the generation timing of the output pulse signal PA.
  • the timing shown when the integrated value of ⁇ is 0 and the timing showing the boundary of the cycle of the reference clock SCK are adjusted to coincide with each other.
  • the number of repetitions M and the adjustment value pD are parameters for representing the cycle of the clock signal PO specified from the set cycle value RD.
  • the repetition number M reflects the length of a portion represented by an integral multiple of the reference clock SCK
  • the adjustment value pD reflects the length of a portion that can not be represented by an integer multiple of the reference clock SCK.
  • the generation unit 8 reads the set count value CD at each read timing. Therefore, when the set count value CD is the cycle value sFD, when the timing at which the cycle value sFD changes and the generation timing of the output pulse signal PA become too close, the cycle value sFD is before the value becomes stable. And may be read by the generation unit 8 and cause a malfunction. In order to suppress such a situation, the selector 52 always separates the timing at which the value of the cycle value sFD changes according to the selection signal S2 and the generation timing of the output pulse signal PA at least 1/4 cycle of the reference clock SCK. Thus, one of the normal value nFD and the delay value dFD is selected.
  • the delay value dFD is selected as the period value sFD because the generation timing of the output pulse signal PA is within the range of 0 to 1 ⁇ 4 of the reference clock SCK at the read timing before time t6. .
  • the normal value nFD is selected as the period value sFD.
  • the selector 71 selects the periodic value sFD while the count value of the counter 72 is nonzero according to the selection signal S1, and selects the adjustment value pD while the count value is zero.
  • the cycle value sFD is selected as the set count value CD. Ru. Also, at the read timing between times t4 and t5, the count value of the counter 72 changes to zero, and in response to this, the selection signal S1 changes to the high level. Subsequently, at the read timing between times t5 and t6, since the selection signal S1 is at the high level, the adjustment value pD is selected as the set count value CD, and the repetition number M is loaded to the counter 72 to select The signal S1 changes to low level. Therefore, at the read timing after time t6, the cycle value sFD is again selected as the set count value CD.
  • the gate unit 91 outputs, as the clock signal PO, an output pulse signal PA generated while the output permission signal OE is at high level, according to the output permission signal OE.
  • the output permission signal OE starts from the read timing at which the adjustment value pD is read into the generation unit 8 as the set count value CD (that is, the read timing between times t5 and t6). It changes to high level at the timing before one cycle elapses, and changes to low level at the timing before the next read timing of clock signal PO (output pulse signal PA generated at precise adjustment timing based on adjustment value pD) . As a result, only the output pulse signal PA generated at the fine adjustment timing is extracted as the clock signal PO.
  • the calculation unit 6 updates the integrated value of ⁇ at the timing when the selection signal S1 changes to the low level (that is, time t5), and the updated integrated value, that is, the estimated value of the read timing after the fine adjustment timing
  • the signal level of the selection signal S2 is set according to.
  • FIG. 6 shows how the read timing changes at the fine adjustment timing.
  • the symbols shown below the output pulse signal PA indicate which one of the normal values A to D and the delay values dX and dA to dD is selected. Further, in one cycle of the reference clock, a period of 0 to 1/4 is referred to as a pre-delay period, 1/4 to 3/4 as a normal period, and a period of 3/4 to less than 1 as a post-delay period.
  • FIG. 6 shows only the case where the read timing moves between the above three periods.
  • a periodic measurement value FD (that is, B for patterns 3 and 4 and C for pattern 6) is generated.
  • the generation unit 8 which forms the existing DCO together with the ring oscillator 2
  • the set count value CD read by the generation unit 8 is generated by the period measurement value FD generated by the measurement unit 3. Control based on the cycle setting value RD input from the outside. Therefore, according to the digital control oscillation circuit 1, it is possible to generate a stable clock with high accuracy by a simple configuration.
  • the period value sFD for generating the coarse adjustment timing the period measurement value FD generated immediately before by the measuring unit 3 is used as it is, and the fine adjustment timing is performed only once for M times.
  • a value calculated from the period measurement value FD generated immediately before by the measuring unit 3 is used as the adjustment value pD for generating.
  • the coarse adjustment timing uses the measurement result of one cycle of the reference clock SCK as it is, even if the deviation is accumulated, it naturally occurs every time the deviation exceeds the time of one stage of the delay element. It is corrected. Therefore, according to the present embodiment, accumulation of errors can be suppressed regardless of the size of the number M of coarse adjustment timings. That is, regardless of the length of the cycle, the error of the cycle of the clock signal PO is about 1 stage of the error of the delay element generated at the coarse adjustment timing and about one stage of the delay element generated at the fine adjustment timing. The error and the error can be summed up, and the clock signal PO excellent in period accuracy can be generated.
  • FIG. 7 to 9 show the results of measurement of the period of the clock signal PO generated by the digital control oscillation circuit 1.
  • the frequency control data mentioned below corresponds to a value obtained by multiplying the cycle measurement value FD by the cycle setting value RD, and the cycle (the oscillation cycle) of the clock signal PO becomes longer as the value becomes larger.
  • the cycle of the clock signal PO was measured 2000 times at each measurement point of the frequency control data.
  • FIG. 7 is a graph showing the relationship between frequency control data and an oscillation period.
  • FIG. 8 is a graph showing the relationship between the frequency control data and the difference between the maximum value and the minimum value of the oscillation period (ie, the magnitude of the absolute variation).
  • FIG. 9 is a graph showing the relationship between frequency control data and the dispersion ⁇ of the oscillation period.
  • the digital control oscillation circuit 1 As shown in FIG. 7, in the digital control oscillation circuit 1, a characteristic is obtained in which the oscillation cycle changes linearly with respect to the frequency control data. Further, as shown in FIG. 8 and FIG. 9, in the prior art, as the frequency control data becomes larger and hence as the oscillation period becomes larger, the magnitude of the variation and the dispersion ⁇ tend to increase. Specifically, in the cycle 840.5 ⁇ s, the magnitude of the variation reaches 160 ns and the dispersion ⁇ reaches about 25 ns. On the other hand, in the digital control oscillation circuit 1, the magnitude of the variation is about 3.35 ns and the dispersion ⁇ is about 540 ps, regardless of the magnitude of the frequency control data. That is, the stability of the oscillation cycle can be greatly improved, and the improvement effect is larger as the oscillation cycle is longer.
  • the generation timing of the output pulse signal PA is estimated from the integrated value of the value ⁇ of the decimal point part RL of the cycle setting value RD, and either the normal value nFD or the delay value dFD
  • the cycle value sFD By selecting as the cycle value sFD, the timing at which the cycle value sFD changes and the reading timing are sufficiently separated. Therefore, according to the present embodiment, it is possible to suppress the occurrence of malfunction due to the value of the cycle value sFD being read by the generation unit 8 in an unstable state.
  • the pulse generator 4 generates one output pulse signal PA at precise adjustment timing.
  • the second embodiment is different from the first embodiment in that a plurality of output pulse signals PA are generated at precise adjustment timing.
  • the pulse generation unit 4a includes a selection unit 5, a calculation unit 6a, an update unit 7a, a generation unit 8, and a mask unit 9.
  • the calculation unit 6a includes a holding unit 61, an adjustment value calculation unit 62a, a fraction integration unit 63, and a repetition number calculation unit 64. That is, the adjustment value calculator 62a is different from the calculator 6.
  • the adjustment value calculation unit 62a calculates and outputs the adjustment value pD
  • the continuous width value wD is output when the clock signal PO is input
  • the surplus width value is output when the Q-th clock signal PO is input.
  • the continuous width value wD is set to satisfy the equation (3)
  • the surplus width value yD is calculated according to the equation (4).
  • Equation (3) is a condition for terminating the output of the Q clock signals PO while the output permission signal OE is at the high level.
  • (4) is a condition for making the period until the next rough adjustment timing of the fine adjustment timing a length according to sFD.
  • the updating unit 7a includes a selector 71, a counter 72, a counter control unit 73, a signal control unit 74, and a filter 75. That is, the signal control unit 74 and the filter 75 are added to the updating unit 7.
  • the signal control unit 74 generates a selection signal S11 in accordance with the selection signal S1 and the output permission signal OE.
  • the selector 71 switches the operation according to the selection signal S11 instead of the selection signal S1.
  • the selection signal S11 is a signal which becomes high level only from the rising timing of the selection signal S1 to the falling timing of the output permission signal OE. That is, the period in which the high level ends is extended compared to the selection signal S1.
  • the filter 75 converts the output pulse signals PA so that they are recognized as one pulse if they are continuous with a period less than the interval threshold set to a value larger than the period represented by the continuous width value wD. . That is, the filter 75 causes the counter 72 to treat the Q output pulse signals output at the fine adjustment timing as one output pulse signal.
  • the selection signal S11 changes to high level at the rising timing of the selection signal S1, and changes to low level at the falling timing of the output permission signal OE. Since the counter 71 operates according to the selection signal S11, the period during which the output of the adjustment value calculation unit 62a is selected is extended in the selector 71 as compared with the case of the first embodiment.
  • the adjustment value pD is selected at the read timing between times t5 and t6.
  • the continuous width value wD is selected at Q-1 read timings including the fine adjustment timing.
  • the surplus width value yD is selected.
  • Q output pulse signals PA are continuously output at intervals according to the continuous width value wD, and all the Q output pulse signals PA are output as the clock signal PO. .
  • Q continuous output pulse signals PA can be generated at precise adjustment timing, and this can be output as the clock signal PO. Therefore, for example, by changing the number Q of pulse signals to be generated, the same effect as changing the pulse width of the clock signal PO can be obtained, and the application of the device can be expanded.
  • the plurality of functions of one component in the above embodiment may be realized by a plurality of components, or one function of one component may be realized by a plurality of components . Also, a plurality of functions possessed by a plurality of components may be realized by one component, or one function realized by a plurality of components may be realized by one component. In addition, part of the configuration of the above embodiment may be omitted. In addition, at least a part of the configuration of the above-described embodiment may be added to or replaced with the configuration of the other above-described embodiment.
  • the present disclosure can be realized in various forms such as a system including the digitally controlled oscillation circuit 1 as a component other than the digitally controlled oscillation circuit 1 described above.

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Manipulation Of Pulses (AREA)
  • Pulse Circuits (AREA)

Abstract

計測部(3)は、基準クロックの周期毎に、基準クロックの周期を、リングオシレータ(2)の遅延素子を周回信号が通過する段数である通過段数で表現した周期計測値を生成する。生成部(8)は、通過段数をカウントし、設定カウント値に達したタイミングで出力パルス信号を生成する。算出部(6)は、周期設定値の整数部の値に基づいて繰返数を算出し、周期設定値の小数点部の値と周期計測値とに基づいて調整値を算出する。更新部(7)は、周期計測値によって生成される粗調整タイミングでの出力パルス信号の出力が繰返数回繰り返される毎に、調整値によって生成されるタイミングである精密調整タイミングでの出力パルス信号の出力が1回行われるように設定カウント値を更新する。

Description

デジタル制御発振回路 関連出願の相互参照
 本国際出願は、2017年11月10日に日本国特許庁に出願された日本国特許出願第2017-217233号に基づく優先権を主張するものであり、日本国特許出願第2017-217233号の全内容を本国際出願に参照により援用する。
 本開示は、リングオシレータを用いて所望周期のクロックを生成する技術に関する。
 下記特許文献1には、複数の遅延素子をリング状に接続したリングオシレータを利用し、所望の時間経過に対応した通過段数に対応する遅延素子の通過タイミングでパルス信号を発生させる技術が記載されている。具体的には、周波数の安定した基準クロックの周期を、リングオシレータにおいてパルス信号が遅延素子を通過した段数(以下、通過段数)を計測する。その計測値を用いて、パルス信号を発生させる周期に対応する時間を、基準クロックの周期に対する倍率で表現する。
 そして、倍率の整数部の値に従って基準クロックをカウントすることで、基準クロックの周期を単位時間とする発生タイミングの粗調整を行う。更に、小数点部の値に従って、対応する遅延素子の出力を選択することで、遅延素子での遅延時間を単位時間とする発生タイミングの微調整を行う。これにより、高精度に制御された所望のタイミングでパルス信号を発生させる。
特開2017-22490号公報
 しかしながら、発明者の詳細な検討の結果、上記従来技術では、基準クロックの周期を計測する回路と、所望のタイミングでパルス信号を発生させる回路とで、リングオシレータ及びカウンタを共用しているため、両回路の動作の整合をとるための構成が複雑であるという課題が見出された。
 本開示の1つの局面は、周期の長さによらず精度の安定したクロックを簡易な構成で生成する技術を提供することにある。
 本開示の一態様によるデジタル制御発振回路は、リングオシレータと、計測部と、生成部と、算出部と、更新部とを備える。
 リングオシレータは、複数の遅延素子をリング状に接続した構造を有する。計測部は、リングオシレータを周回するパルス信号である周回信号が遅延素子を通過する段数を通過段数として、外部から入力される基準クロックの周期毎に、該基準クロックの周期を通過段数で表現した周期計測値を生成する。生成部は、通過段数をカウントし、該通過段数が予め設定された設定カウント値に達したタイミングで出力パルス信号を生成する。算出部は、基準クロックの周期に対する実数で表現された倍率である周期設定値を取得し、周期設定値の整数部の値から1以上の整数であるオフセット値Nを減算した繰返数を算出する。また、算出部は、計測部にて周期計測値が生成される毎に、周期設定値の小数点部の値を、周期計測値を用いて通過段数に換算した値に周期計測値のN倍を加算した調整値を算出する。更新部は、周期計測値又は調整値によって設定カウント値を更新する。また、更新部は、周期計測値によって生成されるタイミングである粗調整タイミングでの出力パルス信号の出力が繰返数回繰り返される毎に、調整値によって生成されるタイミングである精密調整タイミングでの出力パルス信号の出力が1回行われるように設定カウント値を更新する。
 このような構成によれば、周期設定値に基づいて算出される繰返数および調整値を用い、繰返数から特定される頻度で周期計測値と調整値のいずれかを、生成部の設定カウント値として設定するという簡易な構成にて、精度の安定したクロックを発生させることができる。つまり、基準クロックの周期を計測する回路と、所望のタイミングでパルス信号を発生させる回路とでリングオシレータのみを共有する構成としたことで、両回路を独立に動作させることができ、両回路の動作を整合させるための構成が不要なため、回路構成を簡易化できる。
第1実施形態のデジタル制御発振回路の構成を示すブロック図である。 計測部の構成を示すブロック図である。 パルス発生部の構成を示すブロック図である。 生成部の構成を示すブロック図である。 デジタル制御発振回路の動作を示すタイミング図である。 通常値と遅延値との切り替え、調整値の算出に用いる周期計測値等を示す説明図である。 周波数制御データと発振周波数との関係を示すグラフである。 周波数制御データと発振周期の最大変動量との関係を示すグラフである。 周波数制御データと発振周期のばらつき度との関係を示すグラフである。 第2実施形態におけるパルス発生部の構成を示すブロック図である。 第2実施形態の回路の動作を示すタイミング図である。
 以下、図面を参照しながら、本開示の実施形態を説明する。
 [1.第1実施形態]
 [1-1.全体構成]
 図1に示すデジタル制御発振回路1は、リングオシレータ2と、計測部3と、パルス発生部4とを備える。
 計測部3は、リングオシレータ2を用いて基準クロックSCKの周期を計測し、周期計測値FDを出力する。パルス発生部4は、リングオシレータ2を用いて、周期計測値FD及び周期設定値RDから特定される周期を有するクロック信号POを生成する、つまり計測部3とパルス発生部4とは、リングオシレータ2を共用するように構成されている。なお、周期設定値RDは、基準クロックSCKの周期に対する倍率を実数で表現した値である。
 [1-2.リングオシレータ]
 リングオシレータ2は、2m-1個の遅延素子を有する。mは1以上の整数である。本実施形態ではm=5、即ち16個の遅延素子を有するものとして説明する。複数の遅延素子は、直列接続され、かつ、最終段の出力を初段の入力とすることでリング状に接続される。但し、初段の遅延素子は、2入力のナンドゲートが用いられる。初段以外の遅延素子は、いずれも、直列接続された2つのインバータゲートを有する。ナンドゲートの入力端のうち、リング状の接続に使用されない側の入力端は、外部から起動信号SPを入力するための入力端子に接続される。以下では、リングオシレータ2に属する各遅延素子の出力をP1-16と表記する。なお、初段の遅延素子の出力がP1、最終段の遅延素子の出力がP16である。
 このように構成されたリングオシレータ2では、起動信号SPがロウレベルの時には、初段の遅延素子の出力P1は、最終段の遅延素子の出力P16の信号レベルに関わらず常にハイレベルとなるため、出力P1-16はいずれもハイレベルで停止した状態となる。また、起動信号SPがロウレベルからハイレベルに変化するタイミングを起動タイミングとして、起動タイミングに続けて起動信号SPのハイレベルが保持されると、初段の反転回路の出力P1がハイレベルからロウレベルに変化する。これに従い、各遅延素子の出力が順次ロウレベルに変化する。最終段の遅延素子の出力P16がロウレベルに変化すると、初段の遅延素子の出力P1がロウレベルからハイレベルに変化する。これに従い、各遅延素子の出力が順次ハイレベルに変化する。最終段の遅延素子の出力P16がハイレベルに変化すると初段の遅延素子の出力P1がハイレベルからロウレベルに変化する。以下、同様の動作を繰り返すことによって、信号レベルの反転エッジが周回し続けることになる。
 なお、反転エッジは、ロウレベルからハイレベルに変化するエッジと、ハイレベルからロウレベルに変化するエッジとがあり、周回する毎に切り替わる。つまり、各出力Piからは、反転エッジが2周する期間、即ち32段分の遅延素子の遅延時間を周期とし、遅延素子での遅延量ずつ互いの位相が異なるパルス信号が出力される。iは1~16の整数である。以下では、リングオシレータ2を周回するパルス信号を周回信号という。
 [1-3.計測部]
 計測部3は、外部から入力される基準クロックSCKの周期を計測して周期計測値FDを生成する。基準クロックSCKは、水晶発振器の出力等から生成される安定性の高いクロックである。基準クロックSCKの周期は、リングオシレータ2に属する各遅延素子の遅延時間の数十~数百倍程度(例えば100ns程度)に設定される。周期計測値FDは、周回信号が遅延素子を通過した段数(以下、通過段数)を表す。つまり、周期計測値FDは、基準クロックSCKの周期を、遅延素子の遅延時間を単位時間として表現した値となる。但し、遅延素子の遅延時間は、周囲の環境や経年変化などによって変化する。つまり、計測部3は、基準クロックSCKの周期を計測することによって、リングオシレータ2における遅延時間の揺らぎを計測する。
 計測部3は、図2に示すように、カウンタ回路31と、3つのラッチ回路32,33,34と、エンコーダ35と、セレクタ36と、遅延回路37とを備える。なお、計測部3は、例えば、特開平7-183800号公報等に詳述された技術であるが、その概要について説明する。
 カウンタ回路31は、リングオシレータ2に属する最終段の遅延素子の出力P16をカウントクロックとして動作するnビットのカウンタである。nは2以上の整数である。カウンタ回路31は、出力P16がロウレベルからハイレベルに変化するタイミングでカウントアップする。従って、カウンタ回路31のカウント値CNTは、周回信号が遅延素子を32段通過する毎に1増加する。また、カウント値CNTが最大値に達した状態でカウントアップされるとカウント値CNTは0に戻り、その後もカウント動作を継続する。
 ラッチ回路32は、基準クロックSCKの立ち上がりエッジのタイミングで、リングオシレータ2の出力P1-16をラッチする。ラッチ回路33は、同じく基準クロックSCKの立ち上がりエッジのタイミングで、カウンタ回路31のカウント値CNTをラッチする。ラッチ回路34は、基準クロックSCKの立ち上がりエッジのタイミングを、遅延回路37によって遅延させたタイミングで、カウンタ回路31のカウント値CNTをラッチする。但し、遅延回路37は、基準クロックSCKを、その半周期分だけ遅延させる。
 エンコーダ35は、ラッチ回路32がラッチした結果から、リングオシレータ2を周回する周回信号の反転エッジの位置を特定し、その反転エッジの位置と、反転エッジの向き(即ち、立ち上がり又は立ち下がり)とに従って、出力P1-P16を、0~2-1の値を表すmビットの2進数データENCに符号化する。
 セレクタ36は、エンコーダ35の出力ENCの最上位ビットの値に従い、最上位ビットの値が1の時にラッチ回路33にラッチされたカウント値を選択し、最上位ビットの値が0の時にラッチ回路34にラッチされたカウント値を選択する。以下では、セレクタ36が選択したカウント値をSCNTと表記する。なお、このように異なるタイミングでラッチされたいずれかのカウント値を選択的に使用するのは、値が不安定な状態でラッチされたカウント値が、後段の処理に供給されることを防止するためである。
 計測部3は、エンコーダ35の出力ENCを下位ビット、セレクタ36の出力SCNTを上位ビットとする合計m+nビットの周期計測値FDを、基準クロックSCKの立ち上がりエッジのタイミング毎にパルス発生部4に供給する。つまり、周期計測値FDは、基準クロックSCKの1周期の間に計測される周回信号の通過段数を表す。
 [1-4.パルス発生部]
 パルス発生部4は、図3に示すように、選択部5と、算出部6と、更新部7と、生成部8と、マスク部9とを備える。
 [1-4-1.選択部]
 選択部5は、遅延部51と、セレクタ52とを備える。
 遅延部51は、基準クロックSCKの立ち上がりエッジのタイミングで値が更新される周期計測値FDを、その更新タイミングを基準クロックSCKの半周期分だけ遅延させて出力する。以下、周期計測値FDを通常値nFD、遅延部51が出力する遅延させた周期計測値FDを遅延値dFDという。
 セレクタ52は、算出部6が出力する選択信号S2に従って、通常値nFD及び遅延値dFDのいずれかを選択し、粗調整タイミングを表す周期値sFDとして出力する。
 [1-4-2.算出部]
 算出部6は、保持部61と、調整値算出部62と、端数積算部63と、繰返数算出部64とを備える。
 保持部61は、外部から入力される周期設定値RDを読み込んで保持する記憶回路である。保持部61は、保持した周期設定値RDを、整数値が示された上位ビットである整数部RUと、小数点以下の値が示された下位ビットである小数点部RLとに分離して出力する。
 調整値算出部62は、選択部5が出力する選択値sFD、小数点部RLの値であるα、予め設定されたオフセット値Nに基づき、(1)式に従って調整値pDを算出する。Nは0以上の整数である。ここではN=1の場合について説明するが、これに限定されるものではなく、N=0又はN≧2であってもよい。
  pD=(N+α)×sFD   (1)
 端数積算部63は、選択信号S1が入力される毎に、小数点部RLの値αを積算し、その積算値に応じて桁上がり信号K及び選択信号S2を出力する。具体的には、端数積算部63は、まず、積算値が1未満であればK=0を出力し、積算値が1以上であればK=1を出力する。
 次に、端数積算部63は、積算値が1以上の場合は積算値から1を減じた値を、積算値が1未満ではそのままの値を、次回の積算に使用する積算値として保持する。つまり、保持される積算値は、0以上1未満の値である。この積算値は、基準クロックSCKの1周期を1としたときの位相を表す。
 更に、端数積算部63は、保持された積算値が0以上1/4未満、又は3/4以上1未満である場合は、選択部5に遅延値dFDを選択させ、保持された積算値が1/4以上3/4未満である場合は、選択部5に通常値nFDを選択させる選択信号S2を出力する。ここでは、選択信号S2がロウレベルの時に通常値nFDが選択され、ハイレベルの時に遅延値dFDが選択される。
 繰返数算出部64は、設定測定値RDの整数部RUの値β、オフセット値N、桁上がり信号Kに基づき、(2)式に従って繰返数Mを算出する。つまり、(2)式において、オフセット値Nを減じるのは、調整値pDに組み込まれる分を除くためである。
  M=β-N+K    (2)
 [1-4-3.更新部]
 更新部7は、セレクタ71と、カウンタ72と、カウンタ制御部73とを備える。
 カウンタ72は、生成部8から出力される出力パルス信号PAをクロックとして動作するダウンカウンタである。カウンタ72は、カウンタ制御部73からのロード信号に従って、算出部6にて算出された繰返数Mをカウント値としてロードする。カウンタ72は、ダウンカウント動作によってカウント値が0になると、その後、ロード信号が入力されるまでの間、ハイレベルとなる選択信号S1を出力する。
 カウンタ制御部73は、選択信号S1がハイレベルの時に出力パルス信号PAが入力されたタイミングでロード信号を出力する論理回路である。
 セレクタ71は、選択信号S1がロウレベルの時は、周期値sFDを選択し、選択信号S1がハイレベルの時は、調整値pDを選択し、設定カウント値CDとして生成部8に供給する。
 [1-4-4.生成部]
 生成部8は、図4に示すように、加算器81と、ラッチ回路82と、パルスセレクタ83と、ダウンカウンタ84と、タイミング制御部85と、パルス発生器86とを備える。
 加算器81は、ラッチ回路82にラッチされた6ビットのデータLDのうち、下位5ビット(以下、選択データ)LD1-5と、設定カウント値CDの下位5ビットDLとを加算し、キャリーアウトも含めた6ビットの加算データADを出力する。
 ラッチ回路82は、加算データADを、パルス発生器86が出力する出力パルス信号PAのタイミングでラッチする。ラッチ回路82がラッチしたデータLDのうち、下位5ビットは選択データLD1-5として出力し、最上位ビットは加算器81での加算演算時に生じたキャリーアウトの有無を表す切替データLD6として出力する。
 パルスセレクタ83は、ラッチ回路82から供給される選択データLD1-5に従ってリングオシレータ2の出力P1-16のうちいずれか一つを選択し、サンプリングクロックCKとして出力する。選択データLD1-5は0~31の値をとるため、単に出力P1-16を選択するだけでなく、立ち上がりエッジのタイミングであるか立下りエッジのタイミングであるかも識別して選択する。
 ダウンカウンタ84は、出力パルス信号PAのタイミングで設定カウント値CDの下位5ビットDL以外の上位ビットDUがカウント値としてプリセットされる。ダウンカウンタ84は、リングオシレータ2の出力P8の立ち上がりエッジのタイミングでダウンカウント動作を実行し、カウントアウトするとアクティブレベルとなるカウントアウト信号COを出力する。カウントアウト信号COのアクティブレベルは、カウント値がプリセットされるまで維持される。
 タイミング制御部85は、切替データLD6が0である場合、カウントアウト信号COをそのまま許可信号ENとして出力し、切替データLD6が1である場合、カウントアウト信号COをリングオシレータ2の出力Piの1周期分遅延させたものを、許可信号ENとして出力する。
 パルス発生器86は、許可信号ENがアクティブレベルの時にパルスセレクタ83からのサンプリングクロックCKの立ち上がりエッジのタイミングで、予め設定された一定のパルス幅を有するパルス信号である出力パルス信号PAを出力する。
 つまり、生成部8は、リングオシレータ2を周回する周回信号が設定カウント値CDで表される通過段数だけ、遅延素子を通過するのに要する時間を周期とする出力パルス信号PAを生成する。
 [1-4-5.マスク部]
 図3に戻り、マスク部9は、ゲート部91と、ゲート制御部92とを備える。
 ゲート制御部92は、ゲート部91が出力するクロック信号POと、選択信号S1とに従って、出力許可信号OEを生成する。
 具体的には、選択信号S1の立下りタイミングから基準クロックSCKの遅延時間d1だけ遅延させたタイミングでハイレベルとなり、クロック信号POの出力タイミング(即ち、立ち上がりタイミング)から遅延時間d2だけ遅延させたタイミングでロウレベルとなる出力許可信号OEを生成する。なお、遅延時間d1,d2は、いずれも基準クロックSCKの1周期未満の長さに設定される。遅延時間d1,d2は、例えば、基準クロックSCKの半周期以上の長さに設定されていてもよい。
 ゲート部91は、出力許可信号OEがハイレベルの間、出力パルス信号PAを通過させる。具体的には、生成部8からは、周期値sFDに従った粗調整タイミングで発生するパルス信号と、調整値pDに従った精密調整タイミングで発生するパルス信号とが出力される。これらのパルス信号のうち、マスク部9は、精密調整タイミングで出力されるパルス信号のみを抽出しクロック信号POとして出力する。
 [1-5.動作]
 デジタル制御発振回路1は、基準クロックSCKおよび周期設定値RDが入力された状態で、起動信号SPを入力すると、基準クロックSCKの周期を周期設定値RD倍した周期を有するクロック信号POを出力する。
 このとき計測部3は、基準クロックSCKの周期毎に、基準クロックSCKの周期を周回信号の通過段数で表現した周期計測値FDを生成する。
 また、パルス発生部4では、選択部5が、出力パルス信号PAの発生タイミングを考慮して、周期計測値FDの通常値nFD及び遅延値dFDのうちいずれかを周期値sFDとして選択する。算出部6は、周期設定値RD及び周期値sFDに基づいて調整値pD及び繰返数Mを算出する。更新部7は、周期値sFD及び調整値pDのうちいずれかを繰返数Mから特定される割合で設定カウント値CDとして選択する。生成部8は、出力パルス信号PAを出力するタイミング(以下、読込タイミング)で設定カウント値CDを読み込み、読み込んだ設定カウント値CDに応じた時間が経過すると出力パルス信号PAを発生させる動作を繰り返す。そして、設定カウント値CDが周期値sFDである場合に、この周期値sFDに基づいて発生する読込タイミングが粗調整タイミングであり、設定カウント値CDが調整値pDである場合に、この調整値pDに基づいて発生する読込タイミングが精密調整タイミングである。マスク部9は、精密調整タイミングで発生する出力パルス信号PAをクロック信号POとして抽出して出力する。
 なお、算出部6において、選択信号S2及び調整値pDは、選択信号S1のタイミングで逐次更新される。選択信号S2は、出力パルス信号PAの発生タイミングの推定値であるαの積算値に従って設定される。但し、デジタル制御発振回路1の起動時には、αの積算値が0のときに示すタイミングと、基準クロックSCKの周期の境界を表すタイミングとが一致するように調整される。繰返数M及び調整値pDは、設定周期値RDから特定されるクロック信号POの周期を表すためのパラメータである。繰返数Mには、基準クロックSCKの整数倍で表現される部分の長さが反映され、調整値pDには、基準クロックSCKの整数倍では表現できない部分の長さが反映される。
 ここで、図5のタイミング図を用いて、動作の一例について説明する。
 上述したとおり、生成部8は、読込タイミング毎に設定カウント値CDを読み込む。このため、設定カウント値CDが周期値sFDである場合、周期値sFDの値が切り替わるタイミングと、出力パルス信号PAの発生タイミングとが接近し過ぎると、周期値sFDは、その値が安定する前に生成部8に読み込まれ、誤作動の原因となるおそれがある。このような事態を抑制するために、セレクタ52は、選択信号S2に従って、周期値sFDの値が切り替わるタイミングと、出力パルス信号PAの発生タイミングとが、常に基準クロックSCKの1/4周期以上離れるように、通常値nFD及び遅延値dFDのいずれかを選択する。
 つまり、図5では、時刻t6以前の読込タイミングでは、出力パルス信号PAの発生タイミングが基準クロックSCKの0~1/4周期の範囲内にあるため、遅延値dFDが周期値sFDとして選択される。時刻t6以降の読込タイミングでは、出力パルス信号PAの発生タイミングが基準クロックSCKの1/4~3/4周期の範囲内にあるため、通常値nFDが周期値sFDとして選択される。
 セレクタ71は、選択信号S1に従って、カウンタ72のカウント値が非零である間は、周期値sFDを選択し、カウント値が零である間は、調整値pDを選択する。
 つまり、図5に示すように、時刻t4~t5の間にある読込タイミング以前は、カウント値が非零であり、選択信号S1がロウレベルであるため、周期値sFDが設定カウント値CDとして選択される。また、時刻t4~t5の間にある読込タイミングで、カウンタ72のカウント値が零に変化し、これに伴って、選択信号S1がハイレベルに変化する。
続く、時刻t5~t6の間にある読込タイミングでは、選択信号S1がハイレベルであるため、調整値pDが設定カウント値CDとして選択されると共に、カウンタ72に繰返数Mがロードされ、選択信号S1がロウレベルに変化する。このため、時刻t6以降の読込タイミングでは、再び、周期値sFDが設定カウント値CDとして選択される。
 ゲート部91は、出力許可信号OEに従って、出力許可信号OEがハイレベルである間に発生する出力パルス信号PAを、クロック信号POとして出力する。
 つまり、図5に示すように、出力許可信号OEは、調整値pDが設定カウント値CDとして生成部8に読み込まれる読込タイミング(即ち、時刻t5~t6の間の読込タイミング)から基準クロックSCKの1周期が経過する前のタイミングでハイレベルに変化し、クロック信号PO(調整値pDに基づく精密調整タイミングで発生する出力パルス信号PA)の次の読込タイミングに達する前のタイミングでロウレベルに変化する。これにより、精密調整タイミングで発生する出力パルス信号PAのみが、クロック信号POとして抽出される。
 算出部6は、選択信号S1がロウベルに変化するタイミング(即ち、時刻t5)にて、αの積算値を更新し、その更新された積算値、即ち、精密調整タイミング以降の読込タイミングの推定値に従って選択信号S2の信号レベルを設定する。
 図6は、精密調整タイミングで、読込タイミングが変化する様子を示す。出力パルス信号PAの下に示した記号は、通常値A~D、遅延値dX,dA~dDのいずれを選択したかを示す。また、基準クロックの1周期のうち、0~1/4の期間を前遅延期間、1/4~3/4を通常期間、3/4~1未満の期間を後遅延期間という。図6では、読込タイミングが、上記三つの期間の間で移動がある場合についてのみ示した。
 パターン1,2,5に示す場合、即ち、読込タイミングが、通常期間から前遅延期間又は後遅延期間に移動する場合、及び後遅延期間から前遅延期間に移動する場合には、基準クロックSCKの各周期の周期計測値FD(即ち、A,B,C,D)が、抜けなく順番に使用される。
 上記以外のパターン3,4,6に示す場合、即ち、読込タイミングが、前遅延期間から通常期間又は後遅延期間に移動する場合、及び後遅延期間から通常期間に移動する場合には、使用されない周期計測値FD(即ち、パターン3,4ではB、パターン6ではC)が発生する。
 [1-6.効果]
 以上詳述した第1実施形態によれば、以下の効果を奏する。
 (1a)本実施形態では、リングオシレータ2と共に既存のDCOを形成する生成部8を利用し、生成部8に読み込ませる設定カウント値CDを、計測部3にて生成される周期計測値FD及び外部から入力される周期設定値RDに基づいて制御する。従って、デジタル制御発振回路1によれば、簡易な構成にて、精度の安定したクロックを発生させることができる。
 つまり、本実施形態では、計測部3とパルス発生部4とでリングオシレータ2のみを共有する。このため、リングオシレータ2だけでなく、リングオシレータ2での周回信号の周回数をカウントするカウンタも共有する従来技術と比較して、計測部3及びパルス発生部4の動作を整合させるための構成が不要となり、より簡易な構成で、従来技術と同様の機能が得られる。
 (1b)本実施形態では、粗調整タイミングを生成する周期値sFDとして、計測部3にて直前に生成された周期計測値FDをそのまま使用し、M回に対して1回だけ、精密調整タイミングを生成する調整値pDとして、計測部3にて直前に生成された周期計測値FDから算出した値を用いる。
 このように、粗調整タイミングでは、基準クロックSCKの一周期毎の計測結果をそのまま用いるため、ずれが蓄積されたとしても、そのずれが遅延素子の1段分の時間を超える毎に、自然に補正される。従って、本実施形態によれば、粗調整タイミングの繰返数Mの大きさによらず、誤差の蓄積を抑制できる。つまり、クロック信号POにおける周期の誤差は、その周期の長さに関わらず、粗調整タイミングで発生する遅延素子の1段分程度の誤差と、精密調整タイミングで生じる遅延素子の1段分程度の誤差とを合計した程度となり、周期の精度に優れたクロック信号POを発生させることができる。
 図7~図9に、デジタル制御発振回路1が生成するクロック信号POの周期を測定した結果を示す。以下でいう周波数制御データは、周期計測値FDに周期設定値RDを乗じた値に相当し、値が大きくなるほど、クロック信号POの周期(以下、発振周期)が長くなる。また、周波数制御データの測定ポイント毎に、クロック信号POの周期を2000回ずつ測定した。
 図7は、周波数制御データと、発振周期との関係を示すグラフである。図8は、周波数制御データと、発振周期の最大値と最小値との差(即ち、絶対的なばらつきの大きさ)との関係を示すグラフである。図9は、周波数制御データと、発振周期の分散σとの関係を示したグラフである。
 図7に示すように、デジタル制御発振回路1では、周波数制御データに対して発振周期がリニアに変化する特性が得られる。また、図8及び図9に示すように、従来技術では、周波数制御データが大きくなるほど、ひいては発振周期が大きくなるほど、ばらつきの大きさや分散σが増加する傾向にある。具体的には、周期840.5μsでは、ばらつきの大きさが160ns、分散σが25ns程度に達している。これに対して、デジタル制御発振回路1では、周波数制御データの大きさに関わらず、ばらつきの大きさが3.35ns程度、分散σが540ps程度となる。つまり、発振周期の安定性を格段に向上させることができ、その改善効果は、発振周期が長くなるほど大きい。
 (1c)本実施形態では、周期設定値RDの小数点部RLの値αの積算値から出力パルス信号PAの発生タイミングを推定し、その推定結果に従って、通常値nFDと遅延値dFDとのいずれかを周期値sFDとして選択することで、周期値sFDが変化するタイミングと読込タイミングとが十分に離れるようにしている。このため、本実施形態によれば、周期値sFDの値が不安定な状態で生成部8に読み込まれることによる誤作動の発生を抑制できる。
 (1d)本実施形態では、基準クロックSCKの1周期に満たない端数に基準クロックSCKの1周期分のオフセット値を加えた結果を調整値pDとして用いる。従って、本実施形態では、精密調整タイミングと粗調整タイミングとを基準クロックSCKの1周期以上離すことができ、両タイミングで発生する出力パルス信号PAを個別に分離できる。
 [2.第2実施形態]
 [2-1.第1実施形態との相違点]
 第2実施形態は、基本的な構成は第1実施形態と同様であるため、相違点について以下に説明する。なお、第1実施形態と同じ符号は、同一の構成を示すものであって、先行する説明を参照する。
 前述した第1実施形態では、パルス発生部4は、精密調整タイミングで一つの出力パルス信号PAを発生させる。これに対し、第2実施形態では、精密調整タイミングで複数の出力パルス信号PAを発生させる点で、第1実施形態と相違する。
 図10に示すように、パルス発生部4aは、選択部5と、算出部6aと、更新部7aと、生成部8と、マスク部9とを備える。
 算出部6aは、保持部61と、調整値算出部62aと、端数積算部63と、繰返数算出部64とを備える。つまり、算出部6とは、調整値算出部62aが異なる。
 調整値算出部62aは、調整値pDを算出して出力後、クロック信号POが入力されると、連続幅値wDを出力し、Q個目のクロック信号POが入力されると、余剰幅値yDを出力する。但し、連続幅値wDは(3)式を満たすように設定され、余剰幅値yDは、(4)式に従って算出される。(3)式は、出力許可信号OEがハイレベルである間にQ個のクロック信号POの出力を終了させるための条件である。(4)は、精密調整タイミングの次の粗調整タイミングまでの期間が、sFDに応じた長さにするための条件である。
  (Q-1)×wD<d2      (3)
  yD=sFD-(Q-1)×wD  (4)
 更新部7aは、セレクタ71と、カウンタ72と、カウンタ制御部73と、信号制御部74と、フィルタ75とを備える。つまり、更新部7に対して信号制御部74及びフィルタ75が追加される。
 信号制御部74は、選択信号S1と出力許可信号OEとに従って、選択信号S11を生成する。セレクタ71は、選択信号S1の代わりに選択信号S11に従って動作を切り替える。選択信号S11は、選択信号S1の立ち上がりタイミングから出力許可信号OEの立下りタイミングまでの間だけハイレベルとなる信号である。つまり、選択信号S1と比較して、ハイレベルが終了する期間が延長される。
 フィルタ75は、出力パルス信号PAが、連続幅値wDが表す期間より大きな値に設定された間隔閾値に満たない周期で連続している場合、これらを一つのパルスとして認識されるように変換する。つまり、フィルタ75は、精密調整タイミングで出力されるQ個の出力パルス信号が、カウンタ72では一つの出力パルス信号として扱われるようにする。
 [2-2.動作]
 図11に示すように、選択信号S11は、選択信号S1の立ち上がりタイミングでハイレベルに変化し、出力許可信号OEの立下りタイミングでロウレベルに変化する。この選択信号S11に従って、カウンタ71が動作するため、第1実施形態の場合と比較して、セレクタ71にて、調整値算出部62aの出力が選択される期間が延長される。
 この延長された期間では、まず、時刻t5~t6の間にある読込タイミングで調整値pDが選択される。その後、精密調整タイミングを含むQ-1個の読込タイミングでは連続幅値wDが選択される。更に次の読込タイミングでは余剰幅値yDが選択される。
 これにより、精密調整タイミングでは、連続幅値wDに応じた間隔でQ個の出力パルス信号PAが連続して出力され、そのQ個の出力パルス信号PAのすべてが、クロック信号POとして出力される。
 [2-3.効果]
 以上詳述した第2実施形態によれば、前述した第1実施形態の効果(1a)~(1d)を奏し、さらに、以下の効果を奏する。
 (2a)本実施形態では、精密調整タイミングで連続するQ個の出力パルス信号PAを発生させ、これをクロック信号POとして出力することができる。このため、例えば、発生させるパルス信号の個数Qを変化させることで、クロック信号POのパルス幅を変化させることと同等の効果が得られ、当該装置の用途を拡張できる。
 [3.他の実施形態]
 以上、本開示の実施形態について説明したが、本開示は上述の実施形態に限定されることなく、種々変形して実施することができる。
 (3a)上記実施形態では、リングオシレータ2に属する遅延素子の数やオフセット値N等の具体的な値を例示しているが、本開示は、これらに限定されるものではない。
 (3b)上記実施形態における1つの構成要素が有する複数の機能を、複数の構成要素によって実現したり、1つの構成要素が有する1つの機能を、複数の構成要素によって実現したりしてもよい。また、複数の構成要素が有する複数の機能を、1つの構成要素によって実現したり、複数の構成要素によって実現される1つの機能を、1つの構成要素によって実現したりしてもよい。また、上記実施形態の構成の一部を省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加又は置換してもよい。
 (3c)上述したデジタル制御発振回路1の他、当該デジタル制御発振回路1を構成要素とするシステムなど、種々の形態で本開示を実現することもできる。

Claims (5)

  1.  複数の遅延素子をリング状に接続した構造を有するリングオシレータ(2)と、
     前記リングオシレータを周回するパルス信号である周回信号が前記遅延素子を通過する段数を通過段数として、外部から入力される基準クロックの周期毎に、該基準クロックの周期を前記通過段数で表現した周期計測値を生成するように構成された計測部(3)と、
     前記通過段数をカウントし、該通過段数が予め設定された設定カウント値に達したタイミングで出力パルス信号を生成するように構成された生成部(8)と、
     前記基準クロックの周期に対する実数で表現された倍率である周期設定値を取得し、前記周期設定値の整数部の値から1以上の整数であるオフセット値Nを減算した繰返数を算出すると共に、前記計測部にて前記周期計測値が生成される毎に、前記周期設定値の少数点部の値を、前記周期計測値を用いて前記通過段数に換算した値に前記周期計測値のN倍を加算した調整値を算出するように構成された算出部(6)と、
     前記周期計測値又は前記調整値によって前記設定カウント値を更新するように構成された更新部(7)と、
     を備え、
     前記更新部は、前記周期計測値によって生成されるタイミングである粗調整タイミングでの前記出力パルス信号の出力が前記繰返数回繰り返される毎に、前記調整値によって生成されるタイミングである精密調整タイミングでの前記出力パルス信号の出力が1回行われるように前記設定カウント値を更新するように構成された
     デジタル制御発振回路。
  2.  請求項1に記載のデジタル制御発振回路であって、
     前記更新部は、前記精密調整タイミングでは前記基準クロックの周期より短く設定された期間の間に、前記生成部が複数の前記出力パルス信号を出力するように前記設定カウント値を更新するように構成された
     デジタル制御発振回路。
  3.  請求項1または請求項2に記載のデジタル制御発振回路であって、
     前記周期計測値の更新タイミングを、前記基準クロックの半周期だけ遅延させた遅延値を生成する遅延部(51)と、
     前記少数点部の値を積算することで、前記基準クロックの周期内における前記出力パルス信号のタイミングを推定する推定部(63)と、
     前記推定部にて推定された推定タイミングと前記周期計測値又は前記遅延値の更新タイミングとのタイミング差が、前記基準クロックの1/4周期以上離れるように、前記周期計測値及び前記遅延値のいずれかを選択して、前記設定カウント値の更新に用いるように構成された選択部(52)と、
     を更に備える
     デジタル制御発振回路。
  4.  請求項3に記載のデジタル制御発振回路であって、
     前記推定部は、前記少数点部の値の積算値が1を超えると前記積算値から1を減算するように構成され、
     前記算出部は、前記積算値が1を超えた場合に前記繰返数に1を加算するように構成された、
     デジタル制御発振回路。
  5.  請求項1から請求項4までのいずれか1項に記載のデジタル制御発振回路であって、
     前記出力パルス信号のうち、前記精密調整タイミングで出力される前記出力パルス信号を抽出して出力するように構成されたマスク部(9)
     を更に備えるデジタル制御発振回路。
PCT/JP2018/041149 2017-11-10 2018-11-06 デジタル制御発振回路 WO2019093312A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017-217233 2017-11-10
JP2017217233A JP6780626B2 (ja) 2017-11-10 2017-11-10 デジタル制御発振回路

Publications (1)

Publication Number Publication Date
WO2019093312A1 true WO2019093312A1 (ja) 2019-05-16

Family

ID=66438422

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/041149 WO2019093312A1 (ja) 2017-11-10 2018-11-06 デジタル制御発振回路

Country Status (2)

Country Link
JP (1) JP6780626B2 (ja)
WO (1) WO2019093312A1 (ja)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07283722A (ja) * 1994-02-16 1995-10-27 Nippondenso Co Ltd パルス発生装置,周波数可変発振装置及びpll装置
JP2000357947A (ja) * 1999-06-16 2000-12-26 Denso Corp クロック制御回路
JP2009152886A (ja) * 2007-12-20 2009-07-09 Denso Corp クロック生成回路およびその使用方法
JP2015015577A (ja) * 2013-07-04 2015-01-22 株式会社デンソー デジタル制御発振器および周波数可変発振器
JP2017022490A (ja) * 2015-07-08 2017-01-26 株式会社デンソー デジタル制御発振回路

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07283722A (ja) * 1994-02-16 1995-10-27 Nippondenso Co Ltd パルス発生装置,周波数可変発振装置及びpll装置
JP2000357947A (ja) * 1999-06-16 2000-12-26 Denso Corp クロック制御回路
JP2009152886A (ja) * 2007-12-20 2009-07-09 Denso Corp クロック生成回路およびその使用方法
JP2015015577A (ja) * 2013-07-04 2015-01-22 株式会社デンソー デジタル制御発振器および周波数可変発振器
JP2017022490A (ja) * 2015-07-08 2017-01-26 株式会社デンソー デジタル制御発振回路

Also Published As

Publication number Publication date
JP6780626B2 (ja) 2020-11-04
JP2019087975A (ja) 2019-06-06

Similar Documents

Publication Publication Date Title
CN104052467A (zh) 具有在锁频和锁相模式之间无碰撞转变的频率合成器
KR20160065632A (ko) 추계적 위상 보간 방법을 이용한 시간-디지털 변환기
JP6481533B2 (ja) デジタル制御発振回路
CN109239676B (zh) 一种调频连续波产生装置
US10725433B2 (en) Time-to-digital conversion circuitry
US8786347B1 (en) Delay circuits for simulating delays based on a single cycle of a clock signal
US20140266837A1 (en) Redundant delay digital-to-time converter
CN112838851A (zh) 一种基于差分采样的剩余时间采样电路和时间数字转换器
US20110231695A1 (en) Digital forced oscillation by direct digital synthesis
CN115498997A (zh) 用于测量延迟元件的延迟的电路和方法
KR101418045B1 (ko) 온도 감지 회로 및 온도 감지 방법
JP2024023650A (ja) A/d変換回路
WO2019093312A1 (ja) デジタル制御発振回路
JP6299516B2 (ja) 時間計測回路
JP5718529B2 (ja) 電気信号のレベルの持続時間を測定するための装置
KR102107568B1 (ko) 전하 펌프를 이용한 에러 피드백 3차 델타-시그마 시간-디지털 변환 회로
JP6247546B2 (ja) フラクショナルn周波数シンセサイザおよびその設定方法
JP6761630B2 (ja) 周波数シンセサイザー
JP6787105B2 (ja) デジタルフィルター、レシプロカルカウント値生成回路および物理量センサー
JP7031702B2 (ja) 周波数シンセサイザー
JP7077534B2 (ja) パルス発生装置
JP2020042005A (ja) 時間計測回路及び積分型a/dコンバータ
KR102677429B1 (ko) 센서 신호의 디지털 변환 장치 및 그 변환 방법
JP6623706B2 (ja) 周波数シンセサイザー
JP4856007B2 (ja) 波形発生装置、設定周期補正方法及び半導体試験装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18877193

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18877193

Country of ref document: EP

Kind code of ref document: A1