The present invention relates to a system clock generating circuit for generating an internal system clock of a DA converter. In particular, the invention relates to a system clock generating circuit for use in a DA converter which demodulates analog output data from 1-bit digital input data obtained by a ΔΣ modulation method.
Among known conventional DA converters using a ΔΣ modulation method is an apparatus described in Japanese Patent Laid-Open Publication No. Hei 9-186600 (hereinafter, referred to as patent document 1).
Besides, one described in Japanese Patent Laid-Open Publication No. Hei 9-148885 (hereinafter, referred to as patent document 2) has been known as an apparatus for converting a sampling frequency rate, which is used in converting 1-bit digital data obtained by the ΔΣ modulation method into multi-bit digital data having a different sampling frequency.
For stereo audio DA converters, ones described in the product brochure from Burr-Brown Corporation, PCM1737 and PCM1739 “stereo audio D/A converters” (hereinafter, referred to as non-patent document 1) have been known.
In recent years, cellular phones, or mobile communication terminals, are becoming remarkably widespread. For the sake of processing of audio signals, cellular phones contain DA converters and AD converters for audio processing. The DA converters for audio processing adopt an oversampling technology and a ΔΣ modulation technology, and have the facilities of rendering the operation sampling rates of the ΔΣ modulation units variable.
As a result, it is possible to achieve high-performance multifunction DA converters by changing the sampling rates depending on the applications of external analog low-pass filters (LPF). The DA converters are thus used widely not only in cellular phones but also in DVD-M, DVD-A, and such applications as home theater systems and AV amplifiers.
The DA converter comprises an input interface circuit 51, an 8× oversampling digital filter 52, a DA conversion circuit 53 using the ΔΣ modulation method, an output circuit 54, and a system clock generating circuit 55. The output circuit 54 is made of a low-pass filter and an output amplifier. The system clock generating circuit 55 generates a predetermined internal system clock in response to an external system clock, and supplies it to the individual circuits 51, 52, and 53.
The input interface circuit 51 receives an LR clock LRCK for making a selection between an L channel and an R channel, a bi-clock BCK, and 1-bit digital input data DATA obtained by the ΔΣ modulation method.
For the circuit configuration of the DA conversion circuit 53 using the ΔΣ modulation method, one shown in
An audio analog signal of the L or R channel selected by the LR clock LRCK (A) is quantized in 16 to 24 bits as shown in (B). The signal is also oversampled by a not-shown 8× oversampling signal processing circuit, so that a quantized analog signal such as shown in (C) is input to the prefilter 61. Then, the circuit of
This digital output is input to the input interface circuit 51 as the data DATA shown in
Now, suppose that the 1-bit digital input data shown in
The DA converter having such a circuit configuration as shown in
Techniques for changing the sampling rate of the sampling frequency as above have been also disclosed in the patent document 2, whereas any of the techniques are effected by multiplying the external system clock by predetermined regular factors.
Thus, all the techniques have had the problem that it is impossible to generate internal system clocks having arbitrary sampling rates in accordance with input data.
The present invention has been achieved in order to solve the foregoing problem. It is thus an object of the present invention to provide a system clock generating circuit for use in a DA converter which can demodulate 1-bit digital input data obtained by a ΔΣ modulation method into analog data in synchronization with an internal system clock having an arbitrary sampling rate.
A system clock generating circuit according to the present invention is one for use in a DA converter which demodulates 1-bit digital input data obtained by a ΔΣ modulation method into analog output data and outputs the same in synchronization with an internal system clock. The system clock generating circuit comprises: a counter circuit which receives an external system clock having a predetermined repetition frequency and an LR clock (LRCLK), and counts the number of clocks of the external system clock included in a single cycle of the LR clock; a timing generating circuit which generates a mask signal for dropping the external system clock at predetermined drop timing in accordance with the count value counted by the counter circuit; and a mask circuit which masks the external system clock with the mask signal, thereby dropping the clock of the masked part to generate an internal system clock.
The present invention also provides the system clock generating circuit in which the drop timing is changed depending on the repetition frequency of the external system clock and/or the external system clock divided in frequency is used as the external system clock.
The present invention also provides the system clock generating circuit in which one single cycle of the LR clock is divided evenly, the count value is distributed and allocated among the individual divided areas, and the mask signal is generated in accordance with the allocations.
The present invention also provides the system clock generating circuit in which the repetition frequency of the external system clock is selected arbitrarily from the range of 256 and 1024 times a reference sampling rate (fs).
The present invention also provides the system clock generating circuit in which the drop timing is set in accordance with the number of clocks to be dropped, such that it is at every sixteen clocks when 0 to 15 clocks are to be dropped, at every eight clocks with 16 to 31 clocks to be dropped, at every four clocks with 32 to 63 clocks to be dropped, at every two clocks with 64 to 127 clocks to be dropped, and at every single clock with 128 to 255 clocks to be dropped.
The present invention also provides a DA converter incorporating the system clock generating circuit, and a cellular phone incorporating this DA converter.
The system clock generating circuit comprises a counter circuit 10, a timing generating circuit 12, and a mask circuit 14. An LR clock LRCLK, a bi-clock BCLK, 1-bit digital input data DATA-IN, and an external system clock SYS_CLK are input to the counter circuit 10. A predetermined internal system clock SYS_CLK is obtained as the output of the mask circuit 14.
The counter circuit 10 counts the number of clocks of the external system clock included in a single cycle of the LR clock.
In accordance with the count value counted by the counter circuit 10, the timing generating circuit 12 generates a mask signal for dropping the external system clock at predetermined timing, and supplies the same to the mask circuit 14.
The mask circuit 14 receives the mask signal from the timing generating circuit 12, and either the external system clock or the external system clock divided by half in frequency (hereinafter, referred to as half-frequency external system clock) from the counter circuit 10.
The external system clock or the half-frequency external system clock supplied from the counter circuit 10 is masked with the mask signal. Consequently, the clocks of the masked parts are dropped, and the resultant is output from the mask circuit 14 as the internal system clock. This output internal system clock is used to drive a DA conversion circuit.
As shown in
To suppress a reduction in distortion factor, the drop timing must be distributed evenly within a single cycle of the LR clock. In the example shown in
Next, description will be given of the circuit operation of the system clock generating circuit shown in
The counter circuit 10 counts the number of rises (the number of clocks) of the external system clock in a single cycle (1 fs) of the LR clock. Then, the result is passed to the timing generating circuit 12.
When the count falls within the range of 256 and 511 fs, the external system clock is supplied as is to the timing generating circuit 12. When the count falls within the range of 512 and 1023 fs, the half-frequency external system clock is supplied to the timing generating circuit 12.
The timing generating circuit 12 generates the timing to drop the external system clock based on the count of this external system clock in a single cycle (1 fs) of the LR clock. Since the drop timing must be distributed within the one single cycle as evenly as possible, the number of clocks to be dropped is divided into four and allocated evenly to the areas A, B, C, and D as shown in
Depending on the required number of drops, the basic timing of dropping is generated as follows:
The number of drops
0 to 15 clocks generated at every sixteen clocks
16 to 31 clocks generated at every eight clocks
32 to 63 clocks generated at every four clocks
64 to 127 clocks generated at every two clocks
128 to 255 clocks generated at every single clock
As employed here, the clock refers to the one supplied from the counter circuit 10. When the count falls within the range of 256 to 511 fs, the clock is the external system clock. With 512 to 1023 fs, it is the half-frequency external system clock.
In accordance with the drop timing generated by the timing generating circuit 12, the mask circuit 14 masks the clock (the external system clock or the half-frequency external system clock) supplied from the counter circuit 10 for dropping. The signal generated by this mask circuit 14 is used as the internal system clock for ΔΣ processing.
The timing generating circuit 12 comprises a clock select circuit 121, an area counter control circuit 122, an area A counter 123, an area B counter 124, an area C counter 125, an area D counter 126, and a clock enable generating circuit 127.
The clock select circuit 121 is used to select either one of the outputs of the external system clock and the half-frequency external system clock in accordance with the result of count of the external system clock in a single cycle of the LR clock.
The area counter control circuit 122 controls the start and end of count of the individual area counters 123 to 126.
The area A counter 123, the area B counter 124, the area C counter 125, and the area D counter 126 are reference counters for generating clock enable signals in the areas A, B, C, and D, respectively.
The clock enable generating circuit 127 generates an enable signal for dropping clocks with reference to the clock enable signals from the area counters 123 to 126. The enable signal is output to the mask circuit 14 as the mask signal.
In the mask circuit 14, the mask signal generated by the clock enable generating circuit 127 and the signal selected by the clock select circuit 121 are multiplied by each other to generate the internal system clock.
As described above, according to the present invention, the frequency of the internal system clock can be selected arbitrarily from the range of 256 and 1024 times the reference sampling rate (fs).
This makes it possible to select the internal system clock for DA conversion freely in accordance with the digital input data, thereby allowing a significant relaxation of restrictions for use.
Moreover, the timing to drop the external system clock can be allocated evenly within a single cycle of the LR clock, thereby suppressing a reduction in the distortion factor.
The present invention can be used widely as a timing clock generating circuit for DA converters. It can also be used widely for cellular phones, DVD-M, and DVD-A incorporating those DA converters, as well as for home theater systems, AV amplifiers, etc.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP04/07197 | 5/26/2004 | WO | 00 | 11/21/2006 |