30.01.2015 Views

DS335 Synthesized Function Generator

DS335 Synthesized Function Generator

DS335 Synthesized Function Generator

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.

Circuitry 5-3<br />

System DAC and S/H's (<strong>DS335</strong>M3)<br />

There are four analog voltages which may be set by the CPU. These four voltages control the output square<br />

wave symmetry, square wave amplitude, output offset, and waveform amplitude.<br />

These analog voltages are on sample and hold amplifiers which are maintained by a 12 bit system DAC<br />

(U303, an AD7845). The DAC can output voltages from -5.00 to +5.00V with input values from 0 to 4095.<br />

To refresh a particular sample and hold, the analog multiplexer (U304, a 74HC4051) is inhibited by writing a<br />

'one' to the MSB (Q8) of the DAC_MPX latch (U305, a 74HC273). Next, the address of the desired S/H is<br />

written to bits Q5, Q6 and Q7 of the DAC_MPX latch, along with the four LSB's of the desired 12 bit DAC<br />

value to Q1-4. Then the 8 MSB's of the 12 bit DAC value is written along with the port strobe -DAC_STB to<br />

load the 12 bit value into the DAC. Finally, the inhibit to the DAC multiplexer is removed by writing a zero to<br />

the MSB (Q8) of the DAC_MPX latch.<br />

A different sample and hold is refreshed with each new RTI. The refresh interval is two milliseconds.<br />

The square wave symmetry control voltage may be set over +/-5V with zero being nominal. This voltage<br />

controls the duty cycle of the SYNC and square wave outputs, and varies with frequency to maintain the<br />

output at 50% duty cycle per the contents of a calibration table.<br />

The square wave amplitude control voltage may be set over +/-5V. The actual output square wave amplitude<br />

is linear in the DAC value, and zero when the DAC value is zero. This voltage is set to -5V if a square wave is<br />

not selected in order to reduce cross-talk in the function select relay.<br />

The output offset control voltage may be set over the range of -10.5 to +10.5V. The higher output levels are<br />

due to the gain of x2.1 of the sample and hold amplifier for this control voltage. The front panel function output<br />

will have an dc offset equal to this control voltage. Calibration values will offset and gain-correct this control<br />

voltage so that the actual output offset equals that set from the front panel.<br />

The waveform amplitude control sample and hold output is level shifted and attenuated to a +3 to +5 Vdc<br />

range. This control voltage is used as a reference to the 8-bit amplitude leveling DAC, which is controlled by<br />

the ASIC during frequency sweeps. The the weighted sum of the leveling DAC output and amplitude control<br />

voltage is scaled to the range of -.75 to -1.25 for the nominal leveling DAC value of 128.<br />

DDS ASIC (<strong>DS335</strong>M4)<br />

Waveforms are generated in the <strong>DS335</strong> by updating a 12 bit DAC at a rate of 10 million samples per second.<br />

The waveform (sine, ramp, saw, or noise) is stored in ROM, and the ROM is addressed by a 'phase<br />

accumulator' which is implemented in a CMOS ASIC.<br />

The ASIC's phase accumulator is a 48 bit adder, with the top 15 bits of the accumulated result serving as the<br />

address to the ROM. The frequency of the output waveform is proportional to the rate at which ROM<br />

addresses change, so, the larger the number added to the phase accumulator the higher the frequency. The<br />

48 bit number resides in six 8-bit registers in the ASIC. This 48-bit number is called the 'phase increment<br />

register', or PIR.<br />

To facilitate seamless frequency changes, there are two phase increment registers, PIRA and PIRB. The<br />

adder will use one of the PIR's while the host processor (or modulation RAM) is writing to the other, and the<br />

adder can shift between the two PIR's without missing a single add cycle.<br />

In addition to the PIR's, there are lots of other registers in the ASIC. The other registers are used for mode<br />

control, setting prescalers, and setting modulation (sweep) addresses. Three of these registers, are located<br />

off the ASIC: strobes are generated which will allow modulation data to be latched into external devices. This<br />

allows amplitude leveling during sweeps, etc., by the modulation program. The FSK BNC input goes directly<br />

to the ASIC and allows the user to select between PIRA and PIRB by changing the input level.<br />

<strong>DS335</strong> <strong>Synthesized</strong> <strong>Function</strong> <strong>Generator</strong>

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

Saved successfully!

Ooh no, something went wrong!