22.09.2015 Views

of Microprocessors

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DIGITAL HARDWARE<br />

595<br />

FREQUENCY<br />

CONTROL<br />

INPUT N<br />

M BITS<br />

BINARY<br />

ADDER<br />

MSB<br />

M-BIT<br />

REGISTER<br />

OUTPUT<br />

FREQUENCY<br />

MASTER<br />

CLOCK­<br />

Fe<br />

M BITS<br />

Fig. 17-5. Accumulator-divider structure<br />

Accumulator Divider<br />

The accumulator-divider method is based on the digital sawtooth<br />

generator discussed in Chapter 13. The basic structure shown in Fig. 17-5<br />

consists <strong>of</strong> a set <strong>of</strong> binary adders and a D-type register. The adders sum the<br />

current register contents and the frequency control word together and feed<br />

the result back to the register, which latches it up on the next clock pulse.<br />

Thus, N is repeatedly added to the M-bit register, which overflows whenever<br />

the accumulated sum exceeds 2 M -<br />

I . The overflow frequency is the output<br />

frequency which can be conveniently detected by monitoring the most significant<br />

register bit. As with the sawtooth generator, the output frequency is<br />

FNI2!vl, the same as the rate multiplier. Note that the division ratio must be<br />

two or greater in order to use the MSB as the output.<br />

The circuit can be considered to let every N /2 M th clock pulse through to<br />

the output. When this ratio is an integer, which only occurs when N is a<br />

power <strong>of</strong> two, the output pulse train is jitter-free. When it is not an integer,<br />

it alternates between the integer values on either side such that the long-term<br />

average is exactly equal to the fractional value. For example, ifM is 16 (2M is<br />

65,536) and N is 384, the ratio 2M/N is 65536/384 or 170.66667. The<br />

circuit will alternate dividing by 170 and by 171 with the latter occurring<br />

twice as <strong>of</strong>ten as the former. Thus, the peak time jitter is never more than one<br />

clock period. The peak-to-peakfrequency jitter in percent is simply the reciprocal<br />

<strong>of</strong> N. Thus, at low output frequencies the jitter is very small but gets<br />

worse as the output frequency is increased. Contrast this with the rate<br />

multiplier, which has an essentially constant jitter regardless <strong>of</strong> output frequency.<br />

The absolute frequency resolution <strong>of</strong> the accumulator divider is dependent<br />

entirely on the register length, M, and can be increased without theoretical<br />

limit. The relative resolution as a fraction <strong>of</strong> a particular output<br />

frequency is simply liN for the N required to produce the frequency <strong>of</strong><br />

interest. The lowest possible output frequency is F/2 M , while the highest is<br />

F/2 if the most significant register bit is the output. The master clock<br />

frequency determines the time jitter, which is one clock period peak to peak.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!