WO2004059847A1 - Digital steuerbarer oszillator - Google Patents
Digital steuerbarer oszillator Download PDFInfo
- Publication number
- WO2004059847A1 WO2004059847A1 PCT/EP2003/014816 EP0314816W WO2004059847A1 WO 2004059847 A1 WO2004059847 A1 WO 2004059847A1 EP 0314816 W EP0314816 W EP 0314816W WO 2004059847 A1 WO2004059847 A1 WO 2004059847A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- digital
- analog converter
- input signal
- analog
- controllable oscillator
- Prior art date
Links
- 230000010355 oscillation Effects 0.000 claims abstract description 14
- 230000004044 response Effects 0.000 claims abstract description 11
- 230000008859 change Effects 0.000 claims description 5
- 238000011084 recovery Methods 0.000 description 11
- 239000013078 crystal Substances 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 238000012937 correction Methods 0.000 description 7
- 238000000605 extraction Methods 0.000 description 7
- 238000013139 quantization Methods 0.000 description 7
- 230000003247 decreasing effect Effects 0.000 description 6
- 238000012546 transfer Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 5
- 235000012239 silicon dioxide Nutrition 0.000 description 5
- 230000015654 memory Effects 0.000 description 4
- 239000010453 quartz Substances 0.000 description 4
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N silicon dioxide Inorganic materials O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 4
- 241000238876 Acari Species 0.000 description 3
- 238000001824 photoionisation detection Methods 0.000 description 3
- 101100115778 Caenorhabditis elegans dac-1 gene Proteins 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000013075 data extraction Methods 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000010363 phase shift Effects 0.000 description 1
- 229920000729 poly(L-lysine) polymer Polymers 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000008929 regeneration Effects 0.000 description 1
- 238000011069 regeneration method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/099—Details of the phase-locked loop concerning mainly the controlled oscillator of the loop
- H03L7/0995—Details of the phase-locked loop concerning mainly the controlled oscillator of the loop the oscillator comprising a ring oscillator
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L2207/00—Indexing scheme relating to automatic control of frequency or phase and to synchronisation
- H03L2207/50—All digital phase-locked loop
Definitions
- the present invention relates to controllable oscillators and in particular to digitally controllable oscillators which can be used for clock extraction, clock recovery, synchronization etc. inside or outside a phase locked loop.
- USB Universal Serial Bus
- the USB standard standardizes a data transfer format for fast data transfer between USB devices and a host.
- the USB standard defines a so-called tier-star topology, whereby USB devices can either be hubs or functions or functional devices.
- the USB data format is specified in the USB specification.
- the latest USB definition is USB revision 2.0.
- the USB bus is a half duplex bus. All transactions are initiated by the host. Three data transfer rates are defined in the USB specification revision 2.0. The lowest data transfer rate is used in low-speed mode and is 1.5 megabits per second. In full-speed mode, a data transfer rate of 12 megabits per second is used. In high-speed mode, a data transfer rate of 480 megabits per second is used.
- the use of the low-speed mode is used for interactive devices such as B. a keyboard or a mouse. Only a limited number of low-speed devices should be connected to the bus in order to avoid degradation of the bus utilization. A special bandwidth and latency are guaranteed for full-speed and high-speed devices.
- Devices are connected to the USB bus via a 4-wire cable that carries differential data, a power signal and ground. This means that "" one wire of the 4-wire cable carries a positive differential signal Dp, that another wire of the 4-wire cable carries a negative differential signal Dn, that another wire is at the supply potential and that finally the last wire is at ground potential.
- the clock information is encoded in the data.
- NRZI coding and bit stuffing technology are used to guarantee an adequate number of transitions.
- NRZI means No Return to Zero Invert. This means that inverse coding is used.
- a logical "l w signal is represented by a non-existent change in the electrical signal, while a logical" 0 "signal is represented by a change in the state of the electrical signal. An edge therefore represents a zero, while an absent change, So a constant signal represents a zero.
- bit stuffing is used to reduce the DC component, so that a positive / negative edge is used after six consecutive ones.
- the data stream is defined as a sequence of frames or frames 72, 73 which are separated from one another by so-called control characters 74, the ticks occurring at an interval of 1 ms.
- a plurality of data packets are located within frame 72 or 73. This means that a frame consists of several data packets and that a data stream is composed of a plurality of successive frames.
- Each data packet is initiated in the data stream by a packet identification number that is 8 bits wide and is shown in Fig. 7c.
- a frame therefore comprises as many packet identification numbers (PID) as there are packets in the frame.
- PID packet identification numbers
- PID field represented by the four PID bits PID 0 , PIDi, PID 2 , PID 3 and by the corresponding inverted PID bits is defined in the USB standard.
- the bits shown in Fig. 7c are arranged from LSb ' to MSb. LSb stands for Least Significant Bit, while MSb stands for Most Significant Bit.
- the host transmits a start of frame (SOF) packet once every millisecond to define the ticks 74 shown in FIG. 7b.
- SOF start of frame
- the SOF packet is shown in Figure 7d .and includes a SYNC field, an SOF-PID field '75, a 11-bit'.
- - frame number (76) (Frame Number) and a CRC checksum over field 76, which is entered in field 77.
- Frame number 76 is incremented by 1 with each additional SOF package.
- FIG. 7a shows the synchronization pattern (SYNC pattern) preceding the PID field 75 of FIG. 7d, for example, as an electrical signal. It consists of a sequence of bits or a data pattern specified in the USB standard, which looks like an electrical signal due to the NRZI coding, as shown in FIG. 7a.
- the sequence of data bits is 00000001, which leads to the "electrical" sequence 10101011 shown in FIG. 7a.
- this SEO encoding of the Dp and Dm signals indicates the end of a previous frame and also indicates that a new frame now follows, which is initiated with a synchronization field, This is immediately followed by the packet identification number, as shown in FIG. 7a, and in particular, as shown in FIG. 7c, followed by a least significant bit of the PID followed by the next most significant bit of the PID etc.
- the notation shown in FIG. 7a illustrates that the bits are fixed in the synchronization pattern and the assigned electrical signal can have the sequence of 10101011, while the PID bits can have both a 0 and a 1 depending on the " packet identification to be coded " ,
- Each low-speed or full-speed data packet that is transmitted via the USB bus therefore starts with a synchronization pattern (FIG. 7a), which is followed by the packet identification number (PID), which is shown in FIG. 7c, which defines the packet type.
- the synchronization field comprises a series of 0-1 transitions on the bus to allow a receiver to synchronize to the bit clock.
- a frame interval of one millisecond is defined.
- the host transmits an SOF packet (frame start packet) once every millisecond (Fig. 7b).
- the SOF packet consists of a synchronization field, followed by the SOF PID, an 11 bit frame number and a CRC 5 fingerprint (Fig. 7d).
- the frame number is incremented with each SOF packet sent.
- a startup sequence takes place. At the end of this sequence, the device is driven into a reset state. After the reset event, the device has a period of 10 milliseconds to perform a reset recovery. During this time, the device receives SOF packets.
- a conventional USB device is shown schematically in FIG. 9. It includes an analog USB front end, which can be integrated in a functional unit 90 with a differential transmitter (TX) and a differential receiver (RX).
- the signals Dp and Dm are in analog form on one side of the element 90, while the corresponding received and analog / digitally converted signals are present on another side of the element 90; which are fed into a USB core 91 or received by the same.
- TX differential transmitter
- RX differential receiver
- the USB device further includes a crystal oscillator 92 which TEHT with a crystal oscillator wiring 93 in connection s', wherein the crystal oscillator wiring 93 on the one hand controls the USB core 91 and on the other hand, a clock distribution 94, which is connected to a CPU 95, which in turn with a Memory 96 is in operative connection.
- a USB device also includes a parallel input / output interface (parallel I / O) 97.
- Such conventional USB devices typically use a crystal oscillator 92 as a clock source for the system devices and the USB data recovery circuit, as can be seen in FIG. 9.
- a crystal oscillator 92 as a clock source for the system devices and the USB data recovery circuit, as can be seen in FIG. 9.
- Digitally controllable oscillators are required for synchronization applications in general, but also for other purposes.
- Such digitally controllable oscillators normally comprise a controllable oscillator which generates an oscillation with a specific frequency depending on an analog input signal. If the analog input signal is increased or decreased, the frequency typically also becomes higher or lower.
- the analog input of the controllable oscillator is • connected to a digital / analog converter. By entering a digital value in the. Digital / analog converter becomes a generates certain analog output signal that depends on the digital input signal.
- a disadvantage of such a digitally controllable oscillator is that the digital / analog converter is always limited to a certain bit width which is assigned to a signal swing of the analog output signal, which ultimately determines the controllability of the controllable oscillator.
- Controllable oscillators typically have a lower frequency, which is reached, for example, when all binary zeros are entered as binary words in the digital / analog converter. The highest frequency of the controllable oscillator is reached when all binary ones are entered as binary words in the digital / analog converter.
- the binary weighting that digital-to-analog converters generally have and the requirement that a digital-to-analog converter must produce a maximum output signal and a minimum output signal that are matched to the modulation range of the oscillator, that is, they must be selected in this way that on the one hand the minimum frequency of the controllable oscillator and on the other hand the maximum
- Frequency of the controllable oscillator are achieved automatically result in the quantization of the frequency or the granularity of the frequency setting.
- the quantization or quantization of the frequency setting is defined, i.e. the minimum step size by which the analog output signal of the digital / analog converter, which is also the analog input signal to the controllable oscillator, and thus the frequency of the oscillator can be varied.
- DE 10041772 C2 discloses a clock generator, in particular for USB devices, in which a pulse filter is triggered on the basis of a synchronization signal that recurs periodically in the data stream in order to effectively suppress a frequency of a pulse train that is output by an internal clock generator by suppressing pulses Reduce frequency.
- a frequency generated by the internal clock generator is adjusted using the synchronization signal and a value stored in a pulse number memory or using an output signal from a data signal decoder.
- either the width of the digital / analog converter could be increased in such a way that the latter receives a larger range of representable numbers.
- this is not desirable in some applications, since digital / analog converters are predefined by the layout / design, in particular in the case of integrated circuits.
- the supply / reference voltage of the digital / analog converter could be reduced in such a way that the maximum binary word leads to a lower maximum output signal, and thus of course also to a lower ⁇ f.
- the disadvantage that the maximum modulation range of the controllable oscillator can then no longer be used which is particularly disadvantageous when there are applications in which large frequency changes are system-related. Such scenarios can be found, for example, in frequency hopping applications.
- the object of the present invention is to create a more flexible digitally controllable oscillator.
- the present invention is based on the finding that the analog input signal in the controllable oscillator is no longer generated using a single digital / analog converter, but at least using two digital / analog converters, both of which deliver an analog output signal a combiner can be combined in order to obtain a resulting DAW output signal which is fed into the controllable oscillator or an oscillation generating device.
- one of the two digital / analog converters is designed to generate a difference in the digital / analog converter output signal of this converter that is smaller than in response to a digital increment in a digital input signal a difference in the output signal of the other digital / analog converter when the other digital / analog converter is supplied with the preferably same digital increment.
- the concept according to the invention allows a digital / analog converter, namely the one that delivers the larger difference in its output signal to a digital increment, to utilize the entire modulation range of the controllable oscillator.
- the quantization of this digital / analog converter is relative rough.
- this disadvantage is remedied, however, by providing a second digital / analog converter which has a finer quantization than the first digital / analog converter, so that, to a certain extent, a rough adjustment can be achieved with the first digital / analog converter while fine tuning can then be achieved by changing the digital input signal in the second digital / analog converter.
- the quantization interval or the difference in the output signal of the second digital / analog converter can be made arbitrarily small.
- the range setting of the second digital / analog converter is achieved by providing a third digital / analog converter, which supplies the supply signal for the second digital / analog converter on the output side.
- a third digital / analog converter which supplies the supply signal for the second digital / analog converter on the output side.
- the modulation range of the second digital / analog converter and thus the difference in the output signal of the second digital / analog converter can then be flexibly and arbitrarily applied when a digital increment is applied to the third digital / analog converter be finely controlled.
- the provision of a third digital / analog converter also makes it possible for two of the three digital / analog converters to be supplied by the same source, which is particularly advantageous for integrated applications in which not an unlimited number of sources are available. In addition, no power loss must be accepted through current / voltage divider.
- a completely integrable form without oscillating crystals is preferred as the oscillation generating device, üenz as for example, create a chain having an odd number of inverters that are supplied from the resultant digital / analog converter output signal at the output of the combiner and gungsfreq another vibration depends on "the value of this signal '.
- the control of the digitally controllable oscillator according to the present invention is flexible on the one hand with regard to the maximum modulation range and on the other hand with regard to the smallest frequency increment that can be generated and can therefore be used in almost any application.
- the oscillator according to the invention is particularly suitable for clock extraction applications and also for faster USB modes.
- the synchronization field alone or the time duration of the synchronization field is at least sufficient to achieve a rough setting of an oscillator that runs freely within limits.
- the accuracy that can be achieved with this for setting the free-running oscillator is far too low to perform a meaningful data extraction.
- the number of clock periods of the free-running oscillator between two consecutive packet identification fields is counted and compared with a predetermined reference value.
- the clock extraction is therefore based on the fact that, although a time jitter is permitted for successive USB clocks of 12 ns or 20 ns, the accuracy for a frame interval, that is to say for the distance between two successive frame start packet identifications, is considerably narrower in percentage terms is specified.
- a frame interval of 1 ms +500 ns is defined. This corresponds to a relative accuracy of vo : 0.05%. So it becomes with high relative accuracy present frame period used to achieve fine tuning of the clock recovery oscillator.
- Fine-tuning is based on the coarse tuning and thus enables clock recovery even for devices that work with fast data rates, such as external quartz crystals or complex, non-integrable resonators.
- the extraction concept is also advantageous in that the use of simple and thus robust algorithms is possible, so that a simple and robust implementation of e.g. B. on portable devices such as smart cards etc. is possible, which are also limited per se in terms of computing power and in terms of memory requirements.
- a coarse adjustment is thus carried out on the basis of a second data pattern present in the data stream, which is preferably easily detectable, and a fine adjustment is carried out on the basis of first data patterns recurring in the data stream, the recurring first data patterns also being included high accuracy, but are not as easy to detect as a second data pattern.
- "This -is” a aktwieder broughtung with HO hen accuracy, which is the basis of the recurring first data pattern in the data stream, but for the detection of which a coarse tuning of the oscillator on the basis of the ⁇ easily detectable but inaccurate second data pattern is used.
- FIG. 1 shows a block diagram of an apparatus for extracting a clock frequency on which a data stream is based
- FIG. 2 is a detailed block diagram of the coarse tuning device of FIG. 1;
- Figure 3 is a detailed block diagram of the fine tuner of Figure 3;
- FIG. 5 shows a block diagram of a device for extraction with a digitally controllable device according to the invention
- Fig. 6 is a flow chart for explaining the in the
- 7a shows a section of the data stream with synchronization pattern and subsequent PID pattern
- 7b shows the organization of the data stream in frames
- 7c shows the PID contained in the data stream in accordance with the USB standard
- FIG. 8 is a block diagram of a USB device with an extracting device.
- Fig. 9 is a block diagram of a USB device with an external crystal oscillator.
- the digitally controllable oscillator comprises an oscillation generating device 10 that is designed to generate an oscillation that has a frequency that can be set in the oscillation generating device via an analog input signal.
- the analog input signal into the oscillation generating device is shown at 501 in FIG. 5.
- the digitally controllable oscillator further comprises an oscillator controller 11 for generating the analog input signal, the oscillator controller having a first digital / analog converter 54 for supplying a first digital / analog converter output signal 502 in response to a first digital input signal 503.
- the oscillator controller 11 further comprises a second digital / analog converter 55 for supplying a second digital / analog converter output signal 504 in response to a second digital input signal 505.
- the oscillator controller 11 further comprises a combiner 52 for combining the first and second digital / analog converter output signal 502, 504, receive the analog flexibilssig- n.al 501 for the vibration generating means to '.
- the second digital / analog converter 55 is designed to deliver, in response to a digital increment in its input signal 505, a difference in the second digital / analog converter output signal 504 that is smaller than a difference in the first digital / Analog converter output signal 502 when the first digital / analog converter is acted upon by the digital increment in its digital input signal 503.
- the first and second digital / analog converters 54 and 55 are supplied by a supply signal 506 and 507, respectively.
- the supply signal for the second digital / analog converter 55 is generated by a third digital / analog converter 56, in which the third digital / analog converter 56 is acted upon by a specific third digital input signal 508.
- the third digital / analog converter 56 is supplied with the same supply signal 506 as the first digital / analog converter 54.
- a preferred application of the digitally controllable oscillator according to the invention in a device and a method for extracting a clock frequency on which a data stream is based and in particular for recovering this clock frequency is set out below.
- B. 1 ms in an application for a USB data stream, a first data pattern, such as. B. has a frame start packet identification number (SOF-PID), and the data stream further comprises a two- (synchronization field) has tes data pattern having a plurality of clock periods in accordance with the clock frequency or a multiple of the clock frequency, wherein the clock periods are specified with a second relative accuracy 'is less than the first relative accuracy.
- SOF-PID frame start packet identification number
- the device is designed to control a controllable oscillator 10 according to the invention, ie to supply an oscillator control 11 thereof with coarse tuning signals on a line 12a or fine tuning signals on a line 12b, such that the oscillator control 11 - the ' controllable oscillator.10 each after execution of the controllable oscillator can supply a corresponding voltage signal in the case of a VCO or a corresponding current signal in the case of an ICO.
- the device comprises a coarse tuning device 13 and a fine tuning device 14.
- the coarse tuning device is designed to detect a beginning and an end of the second data pattern (synchronization field using the example of the USB specification).
- the coarse-tuning device is also designed to count a number of clock periods of the controllable oscillator 10 in a time period from the start to the end of the second data pattern.
- the coarse-tuning device is designed to control the device 11 for oscillator control in the case in which the counted number is greater than a reference value, in order to reduce the oscillator clock frequency of the controllable oscillator 10 or in the case in which the counted number is less than the reference value to control the controllable oscillator in order to increase its oscillator clock frequency.
- the fine-tuning device 14 is designed. However, in contrast to the coarse-tuning means it does not detect the beginning and the end of the second data pattern but the occurrence of a first data pattern 'in Data stream and a temporally following occurrence of the first data pattern in the data stream.
- the fine-tuning device is further 'designed to count the number of clock periods of the oscillator 10 from the occurrence of the first data pattern to the next occurrence of the first data pattern, in order then to drive the oscillator control device 11 depending on the position of the counted value with respect to a set reference value, so that the oscillation frequency of the controllable oscillator 10 is increased or decreased.
- an oscillator clock frequency with the relative second precision that is to say the precision on which the first data pattern is based
- integer multiples such as. B. that
- integer fractions are also preferred, such as. B. 1/2, 1/3, 1/4, ...., 1 / n, where n is also an integer.
- FIG. 2 shows a more detailed block diagram of the coarse tuning device of FIG. 1.
- the coarse tuning device 13 of FIG. 1 comprises a device 130 for detecting the beginning and the end of the second data pattern in the data stream, that is, using the example of the USB data stream z , B. the beginning of the synchronization pattern in the form of the first electrical “1” and the end of the synchronization pattern in the form of the last electrical “1” of the synchronization pattern of FIG. 7a.
- only part of the synchronization pattern of FIG. 7a can also be used as the second data pattern, so that the second data pattern is used for coarse tuning purposes.
- a device 131 for counting the oscillator periods between the start detected by the device 130 and the end detected by the device 130 is operated.
- a counter activation signal which the device 130 outputs when it has detected the start of the second data pattern, starts a counter that pays the clock periods of the oscillator signal supplied to the device 131 until the device 130 detects the end the payer stop signal is transmitted from the device 130 to the device 131 accordingly.
- the counter reading can then be fed from the device 131 to a device 132 which is designed to compare the counter reading with a reference value and to deliver a corresponding correction signal which is transmitted to the oscillator control (device 11 from FIG. 1) ,
- the reference value used by the device 132 depends on a nominal frequency of the oscillator 10 and a duration or number of considered bits of the synchronization pattern shown in FIG. 7a or a part thereof.
- the nominal frequency of the controllable oscillator is, for example, at 96 MHz, that is eight times the full-speed USB clock, and the entire synchronization field, ie de 8 bit clocks
- Coarse tuning is used, in this case the predetermined reference value will be 64.
- the oscillator setting is optimal, the • controllable oscillator 10 during the synchronization pattern of Fig. 7a 64 clocks deliver. If it delivers less than 64 bars, it is too slow. On the other hand, if it delivers more than 64 bars, 'it is too fast.
- FIG. 3 shows a more detailed block diagram of the fine-tuning device 14 from FIG. 1.
- the fine-tuning device 14 from FIG. 1 comprises a device 140 for acquiring a first data pattern (an SOF PID using the example of the USB format) and a temporally following first data pattern.
- a counter is activated in a device 141 for counting the oscillator periods in the case of a first data pattern, which is stopped again when a temporally following first data pattern has been detected.
- the counter in the facility
- the time interval between two successive first data patterns is 1 ms, as shown in FIG. 7b.
- the nominal frequency of the controllable oscillator 10 of FIG. 1 is again 96 MHz, the predetermined reference value would be 96,000 in this case, i. H. 96,000 oscillator cycles had to occur in the period of 1 millisecond for the oscillator to be set correctly. If the count is greater than 96,000, the oscillator frequency must be reduced. However, if the numerical value is less than 96,000, the oscillator frequency must be increased.
- the fine tuning device shown in FIG. 3 can also be used as a frequency tracking device after both the coarse tuning and the fine tuning have ended are and the accuracy or frequency response capability of the oscillator is to be further increased, as will be explained below.
- the 'means 132 of "FIG. 2 or 142 of FIG. 3 are preferably formed to work iteratively, as with reference to FIG. Will be explained in 4 below.
- the iterative procedure is, first, the number of clock cycles by the means 130 or 140 to be measured (40) in order to then compare the measured number with a reference value (41) . If the comparison result is that the number of T ' clock cycles is greater than the reference value, the frequency is reduced (42) If, on the other hand, it is determined that the measured number of clock cycles is smaller than the reference value, the frequency of the oscillator must be increased (43). Then an iteration variable is incremented or a next step 44 is entered, in which now again it is checked whether the frequency increased or decreased in the last value is again too high or too low.
- the 1 ms frame interval is used to set the frequency of the free-running oscillator.
- the frequency accuracy of the oscillator is within the specified range of 0/25% within 10 frame intervals.
- a vote of the .Os- ⁇ zillators carried out in two sections, namely first in a coarse tuning section and then in a fine tuning section.
- the number of oscillator periods between a certain number of SYNC field bits is paid and compared with a reference value. If the counter value is greater than the reference value, the oscillator frequency is too high and is reduced. If, on the other hand, the counter value is smaller than the reference value, the oscillator frequency is too low and is increased. If the number of coarse tuning steps is equal to C, if the reference value is denoted by CR and if the counter value is denoted by CC, and finally the frequency of the oscillator is v, then the coarse tuning algorithm can be represented in general as follows:
- the fine tuning algorithm For fine tuning, the number of oscillator periods between SOF packets is paid, and an algorithm that is similar to the coarse tuning algorithm is used. If the fine tuning step number is F, the reference value FR is, the counter value FC is and the frequency of the oscillator is again v, the fine tuning algorithm results as follows:
- the frequency of the oscillator after tuning it is determined by the reference value FR.
- the reference value FR must be 96,000 when considering consecutive SOF packets. Are not considered consecutive SOF packets, but z. If, for example, two or three successive SOF packets are used, the reference value is correspondingly higher. In the case of halves, thirds, quarters, ... the period between SOF packages, the reference value is correspondingly lower.
- the two-stage concept according to the invention makes it possible to achieve a frequency setting that is both fast and precise.
- a start-up time of around 10 ms, in which a new communication participant must be ready. If he is not ready during this time, there is an error signal. Just because of the fine tuning, this time is usually not enough, since there are only 10 consecutive SOF PIDs in the 10 ms startup time.
- the coarse tuning z. B. performed with the first synchronization pattern, so that enough successive events remain in the data stream (z. B. SOF PIDs) in the startup time of 10 ms that a safe and precise tuning of the now roughly tuned oscillator is achieved.
- the oscillator clock obtained after the coarse tuning and after the fine tuning can be used as a reference clock for a USB core.
- FIG. 8 in which the extraction device, which is designated by 80, is shown.
- the extracting device, together with a controllable oscillator, therefore has the functionality of blocks 92 and 93 of the known USB functional circuit, which has been explained with reference to FIG. 9.
- phase locking between the oscillator clock and the bit clock of the USB data stream is not necessary, since the oscillator clock frequency is usually a multiple of the bit clock frequency and oversampling and digital PLLs can be used for data recovery.
- the device is advantageous in that for data streams based on a fast clock, such as. B. for full-speed USB data streams and high-speed USB
- the device is also advantageous in that the regenerated frequency is obtained with high accuracy.
- Accuracy is determined with which the first pattern is present in the data stream. Using the example of the USB application, an accuracy of 0.05% is achieved.
- FIG. 5 shows a clock regeneration circuit, which in principle consists of two main units.
- One is the digitally controllable oscillator 50, which has an oscillator control 11 on the one hand and the controllable oscillator 10 on the other hand, which in FIG. 5 is a current-controlled oscillator.
- FIG. 5 also shows digital logic 52 that includes the coarse tuning device 13 and the fine tuning device 14, as will be shown below.
- the current-controlled oscillator 10 is a current-controlled ring oscillator with an odd number of inverters 51a, 51b, 51c connected in chain, which are supplied with an operating current by a current sum node 52 via which an oscillation frequency of the current-controlled oscillator 10 is adjustable.
- the oscillator control device 11 comprises a supply current source or reference current source 53 which provides a central reference (there is typically an additional bias of its own), a first digital-to-analog converter 54, a second digital-to-analog converter 55 and one third digital-to-analog converter 56.
- the digital-to-analog converters 54, 55 and 56 of FIG. 5 are designed to supply a current on the output side which is a fraction of the supply current supplied on the input side, the selection of the fraction over that Digital-to-analog converter takes place via a binary number supplied to a digital input.
- binary-weighted Preferably binary-weighted
- the DAW.1 delivers the. supply current .53 at its Exit to current summing node 52 when all bits of the binary number supplied to it are set. If, on the other hand, only the MSB of the DAW 1 (54) is set, while all bits with low significance are equal to 0, the DAW 1 supplies half of the current supplied by the source 53 to the current summing node on the output side.
- 9-bit DAWs are preferred, although in the embodiment DAWs with a higher or lower width can also be used.
- the DAW 1 54 is supplied directly by the power supply 53. It can therefore supply the maximum amount of current on the output side.
- the DAW 1 is set by the coarse tuning and the fine tuning.
- the high-order bits of the DAW 1 are set by the coarse tuning, while the low-order bits of the DAW 1 are set by the fine tuning.
- the DAW 2 55 is used for frequency tracking. Its supply current and thus the maximum oscillator control current that it can deliver to the current summing node 52 can be controlled by the DAW 3 56.
- the output current of the DAW 3 56 is equal to the supply current 53, which leads directly to the fact that the DAW 2, when it is also subjected to loud ones, can supply the same current to summing node 52.
- the reduced maximum current can then be subdivided more precisely due to the fact that the DAW 2 55 can also be charged with 9 bits, for example, in order to be able to carry out a frequency tracking with which the DAW 2 55 is used with a finer accuracy, such as them through the LSB's
- DAW 1 is determined.
- the granularity of the current output by the DAW 2 is inversely proportional to the operating current supplied to the DAW 2.
- the digitally controllable oscillator 11 thus comprises a supply source 53, the current-controlled ring oscillator 10 and the three DAWs 54, 55 and 56.
- the DAWs which are controlled by the digital logic 52, supply the control current for frequency adjustment of the current-controlled oscillator ICO 10.
- Der Total current for the ICO is the sum of the currents delivered by the two DAWs 54 and 55.
- the areas of the digital-to-analog converters 1 and 2 are preferably overlapping. It is preferred that the maximum output current of the DAW 1 is a programmable multiple (programmable by the DAW 3) of the maximum output of the DAW 2. A factor of 4 is preferably used.
- the DAW 3 56 is acted on in such a way that the supply current in the DAW 2 is smaller by a programmable multiple than the supply current in the DAW 1.
- the MSB of the DAW 2 is set and / or all other bits are not set. The DAW 2 thus supplies half of the maximum output current that is possible
- the current can be increased by additionally setting bits of the DAW 2 which have a lower value than the MSB of the same. If, on the other hand, the current is to be reduced in the fine-tuning mode, the MSB of the DAW 2 is reset and the lower-order bits are set or not set as required. Having the MSB of the DAW 2 set during the coarse tuning and fine tuning modes ensures that in the frequency tracking mode that follows the fine tuning mode, the supply current to the current controlled oscillator can be both increased and decreased.
- the digital logic 52 in FIG. 5 comprises the following basic functional blocks.
- the circuit comprises a synchronization field detector 520, which is also designated SD in FIG. 5.
- the digital logic further includes a data recovery block 521, a frame start packet identification detector (SOF-PID detector) 522, an oscillator clock cycle counter 523, a digital oscillator control logic 524, which is also referred to in FIG. 5 as correction value generator, and further a block 525, labeled with clock forwarding logic and clock divider / multiplier.
- SOF-PID detector frame start packet identification detector
- the synchronization field detector 520 comprises an SE0-
- Block 520 is connected to the differential signals Dp and Dm of the USB bus. Block 520 is operative to listen to signals on the bus and thereby monitor bus traffic to use the
- the data recovery block 521 is activated or “enabled” by the block 520 via the line labeled EN after the block 520 has received a valid synchronization pattern.
- the data recovery unit 521 is deactivated again when the block 520 is one Received state SE0
- the measurement result from block 520 with respect to the length of the synchronization field is fed to block 521, which uses this information to extract "zeros" and "ones" from the USB serial data stream, that is to say the data stream Decode or recover information contained in the data stream.
- this is signaled at the output of block 521 such that block 521 is a sequence of Returns zeros or ones.
- the frame start packet identification detector 521 which is also referred to as an SOF token detector, examines the serial data stream from block 521 and signals the counter 523 when it has detected a frame start packet identification number (SOF-PID).
- SOF-PID frame start packet identification number
- the oscillator clock cycle counter 523 counts the number of DCO periods between the reception of successive SOF
- the counter 523 comprises a plausibility check device which examines whether SOF tokens have been missed.
- the plausibility check device is designed to compare a rough count value with a current count value. If the current count of the coarse counter value to a very high amount, "this indicates that at least one SOF-PID has been missed between two detected SOF PIDs. In this case, the counter 523 is controlled so that this numerical value is not made available to the device 524, since this would lead to a severe incorrect setting of the controllable oscillator. Instead, this counter value is marked as implausible and discarded.
- Correction value generator 524 performs frequency tuning and frequency tracking. After a reset, the frequency tuning algorithm is active. First, the frequency of the oscillator is roughly tuned. The number of cycles of the synchronization pattern, which was measured by block 520, is used for the rough adjustment. The coarse tuning determines the most significant bits of the DAW 1 as it was executed. With each tuning step, the least significant bits are determined bit by bit. After a certain number C of coarse tuning steps, three steps for the coarse tuning being preferred for a bit width of the DAW 1 of 9, the fine tuning algorithm is activated by a control device shown in FIG. 1, which principally follows the step sequence of the coarse tuning, fine tuning and frequency tracking controls.
- the number of fine tuning steps is Dl - C.
- the cycle counter value of counter 521 is also used for frequency tracking in order to further adjust the oscillator requirement via the DAW 2 55. Reference is made below to FIG. 6 in order to illustrate the functionality of the correction value generation device 524 in more detail.
- a first 'step 60 the most significant bit of the DAC 1 is set equal to 1, while the remaining bits are set to 0.
- the MSB of the DAW 2 is also set during the whole coarse and fine tuning, while the remaining bits of the DAW 2 are 0.
- the input 524 leads direction based on the input values of the block SD 520 for rough tuning or of the counter 523 for fine tuning a ". Frequency comparison. Actual 'the frequency is too large, the MSB of the DAC 1 becomes 0 If, on the other hand, the frequency is too low, the MSB of the DAW 1 remains at 1. Then the device 524 is effective in order to do this in a step 62
- a step 63 the device 524 is operative again in order to carry out a frequency comparison. If the frequency is too high, bit MSB-1 of DAW 1 is reset to 0. On the other hand, if the frequency is too low, the bit MSB-1 of the DAW 1 remains at its set value, i. H. to 1. In this way, the successive iterative approximation is advanced until a corresponding predetermined number of bits of the DAW 1 is set. Then, the controller 15 of FIG. 1 activates the correction value generating device 524 in order to go from the coarse tuning mode to the fine tuning mode and now no longer on the basis of the count values of the block 520 but on the basis of the count values of the
- Blocks 523 to gradually compute the remaining bits of DAW 1 in fine tuning mode.
- the system switches to the frequency tracking mode (65), in which the bits of the DAW 2 are set accordingly. If the fine tuning mode is determined in the last step 64, that the frequency was too low, this indicates that the MSB of the DAW 2, which was initially set to 1 in step 60, is rightly set to 1. If, on the other hand, it is determined in the last step 64 of the fine tuning mode that the frequency is too high, the MSB of the DAW 2 is set to 0 and the successive approximation with the MSB -1 of the DAW 2 is carried out gradually. Depending on the design, the DAW 3 can be reprogrammed at certain times in order to set the maximum output current and thus the granularity of the DAW 2 or to adapt to changing circumstances.
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
Claims
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP03785928A EP1573921B1 (de) | 2002-12-23 | 2003-12-23 | Digital steuerbarer oszillator |
AU2003294945A AU2003294945A1 (en) | 2002-12-23 | 2003-12-23 | Digitally controllable oscillator |
DE50302923T DE50302923D1 (de) | 2002-12-23 | 2003-12-23 | Digital steuerbarer oszillator |
US11/166,685 US7081583B2 (en) | 2002-12-23 | 2005-06-23 | Digitally controllable oscillator |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE10260713A DE10260713B4 (de) | 2002-12-23 | 2002-12-23 | Digital steuerbarer Oszillator |
DE10260713.3 | 2002-12-23 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/166,685 Continuation US7081583B2 (en) | 2002-12-23 | 2005-06-23 | Digitally controllable oscillator |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2004059847A1 true WO2004059847A1 (de) | 2004-07-15 |
Family
ID=32519330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/EP2003/014816 WO2004059847A1 (de) | 2002-12-23 | 2003-12-23 | Digital steuerbarer oszillator |
Country Status (5)
Country | Link |
---|---|
US (1) | US7081583B2 (de) |
EP (1) | EP1573921B1 (de) |
AU (1) | AU2003294945A1 (de) |
DE (2) | DE10260713B4 (de) |
WO (1) | WO2004059847A1 (de) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7310022B2 (en) * | 2004-10-01 | 2007-12-18 | Sanyo Electric Col, Ltd. | CPU-based oscillation frequency control circuit eliminating the need for a loop filter |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1679013B (zh) * | 2002-07-17 | 2010-04-28 | 菲博比特有限公司 | 同步多信道通用串行总线 |
TW200427225A (en) * | 2003-05-23 | 2004-12-01 | Genesys Logic Inc | Method of auto-tracking and compensating clock frequency and related apparatus thereof |
TWI429199B (zh) * | 2010-06-22 | 2014-03-01 | Phison Electronics Corp | 產生參考時脈訊號的方法及資料收發系統 |
TWI420802B (zh) * | 2010-06-30 | 2013-12-21 | Weltrend Semiconductor Inc | 自動校正頻率之頻率校正電路及其方法 |
TWI545419B (zh) * | 2015-05-08 | 2016-08-11 | 偉詮電子股份有限公司 | 自動校正非晶體振盪器之時脈之裝置及其方法 |
JP6703814B2 (ja) * | 2015-08-28 | 2020-06-03 | ルネサスエレクトロニクス株式会社 | Ad変換器及びad変換装置 |
US9912320B2 (en) | 2016-06-13 | 2018-03-06 | The Hong Kong University Of Science And Technology | Exponentially scaling switched capacitor |
TWI629597B (zh) * | 2017-03-14 | 2018-07-11 | 芯籟半導體股份有限公司 | 一種時脈訊號處理系統及其方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4568888A (en) * | 1983-11-08 | 1986-02-04 | Trw Inc. | PLL Fast frequency synthesizer with memories for coarse tuning and loop gain correction |
EP0402113A2 (de) * | 1989-06-07 | 1990-12-12 | International Business Machines Corporation | Frequenzsteuerschaltung für VCO |
EP0824290A1 (de) * | 1996-08-12 | 1998-02-18 | Matsushita Electric Industrial Co., Ltd. | Frequenzsteuerbarer Oszillator |
US6411237B1 (en) * | 1997-10-21 | 2002-06-25 | Emhiser Research Ltd | Nonlinear digital-to-analog converters |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003504673A (ja) * | 1999-07-07 | 2003-02-04 | ギブソン ギター コーポレーシヨン | インターフェレンス付き楽器ディジタル録音装置 |
US6989484B2 (en) * | 2001-04-17 | 2006-01-24 | Intel Corporation | Controlling sharing of files by portable devices |
-
2002
- 2002-12-23 DE DE10260713A patent/DE10260713B4/de not_active Expired - Fee Related
-
2003
- 2003-12-23 AU AU2003294945A patent/AU2003294945A1/en not_active Abandoned
- 2003-12-23 EP EP03785928A patent/EP1573921B1/de not_active Expired - Lifetime
- 2003-12-23 DE DE50302923T patent/DE50302923D1/de not_active Expired - Lifetime
- 2003-12-23 WO PCT/EP2003/014816 patent/WO2004059847A1/de not_active Application Discontinuation
-
2005
- 2005-06-23 US US11/166,685 patent/US7081583B2/en not_active Expired - Lifetime
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4568888A (en) * | 1983-11-08 | 1986-02-04 | Trw Inc. | PLL Fast frequency synthesizer with memories for coarse tuning and loop gain correction |
EP0402113A2 (de) * | 1989-06-07 | 1990-12-12 | International Business Machines Corporation | Frequenzsteuerschaltung für VCO |
EP0824290A1 (de) * | 1996-08-12 | 1998-02-18 | Matsushita Electric Industrial Co., Ltd. | Frequenzsteuerbarer Oszillator |
US6411237B1 (en) * | 1997-10-21 | 2002-06-25 | Emhiser Research Ltd | Nonlinear digital-to-analog converters |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7310022B2 (en) * | 2004-10-01 | 2007-12-18 | Sanyo Electric Col, Ltd. | CPU-based oscillation frequency control circuit eliminating the need for a loop filter |
Also Published As
Publication number | Publication date |
---|---|
US7081583B2 (en) | 2006-07-25 |
DE10260713B4 (de) | 2005-05-04 |
AU2003294945A1 (en) | 2004-07-22 |
US20060021491A1 (en) | 2006-02-02 |
EP1573921A1 (de) | 2005-09-14 |
DE10260713A1 (de) | 2004-07-22 |
EP1573921B1 (de) | 2006-04-05 |
DE50302923D1 (de) | 2006-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1576761B1 (de) | Verfahren und vorrichtung zum extrahieren einer einem datenstrom zugrundeliegenden taktfrequenz | |
DE69613660T2 (de) | Energiesparende Phasenregelkreisschaltung | |
DE60305543T2 (de) | Phaseninterpolationbasierter PLL Frequenzsynthetisierer | |
DE10041772C2 (de) | Taktgenerator, insbesondere für USB-Geräte | |
DE19703986C2 (de) | Signalformereinrichtung und Taktsignalzuführvorrichtung | |
DE3841512C2 (de) | ||
DE69926320T2 (de) | Durch digitale wörter abgestimmte frequenzsyntheseschaltung | |
DE10253879B4 (de) | Phasendetektor und Verfahren zur Taktsignal-Phasendifferenzkompensation | |
DE3785966T2 (de) | Digitale, phasenverriegelte Taktwiedergewinnungsschleife. | |
DE3587141T2 (de) | Zentrierschaltung eines spannungsgesteuerten oszillators. | |
DE102006050881B3 (de) | Phasen-/Frequenzvergleicher, Phasenregelkreis, Verfahren zur Phasen-/Frequenzdetektion und Verfahren zum Erzeugen eines Oszillatorsignals | |
DE10123973A1 (de) | Jitter-reduzierte PLL-Schaltung mit einer mehrstufigen digitalen Verzögerungsleitung | |
DE69411511T2 (de) | Schaltung zur Taktrückgewinnung mit angepassten Oszillatoren | |
DE69811384T2 (de) | Phasenregelkreis und verfahren zum automatischen einrasten auf einer veränderlichen eingangsfrequenz | |
EP1198889B1 (de) | Taktsignalgenerator | |
DE10234993B4 (de) | Akkumulator gesteuerter digitaler Frequenzteiler in einer phasenverriegelten Schleife | |
EP1573921B1 (de) | Digital steuerbarer oszillator | |
EP1525662B1 (de) | Digital gesteuerter oszillator | |
EP1094610A1 (de) | Digitaler Phasenregelkreis | |
DE60306424T2 (de) | Verriegelte regelkreise mit niedriger verriegelungszeitverzögerung mit der verwendung einer zeitzyklusunterdrückungsvorrichtung | |
EP1646150B1 (de) | Verfahren und Vorrichtung zum Extrahieren einer einem Datenstrom zugrundeliegenden Taktfrequenz | |
DE10260656B4 (de) | Verfahren und Vorrichtung zum Extrahieren einer einem Datenstrom zugrundeliegenden Taktfrequenz | |
DE102014109471B4 (de) | Takt-Wiederherstellung mit Frequenzsynchronisation | |
WO2000028666A1 (de) | Frequenzsynthesizer, verfahren zum betreiben eines frequenzsynthesizers und integrierte schaltung mit einem frequenzsynthesizer | |
DE102005060944A1 (de) | Abstimmschaltung zu einer Frequenzabstimmung, Verwendung der Abstimmschaltung und Verfahren zur Frequenzabstimmung |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): BW GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
DFPE | Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101) | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2003785928 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 11166685 Country of ref document: US |
|
WWP | Wipo information: published in national office |
Ref document number: 2003785928 Country of ref document: EP |
|
WWP | Wipo information: published in national office |
Ref document number: 11166685 Country of ref document: US |
|
WWG | Wipo information: grant in national office |
Ref document number: 2003785928 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: JP |
|
WWW | Wipo information: withdrawn in national office |
Country of ref document: JP |