Home
Contents - Alexander T. Gill
Contents
1. CHAPTER 4 CIRCUIT BOARDS Figure 4 3 Power supply board electrical schematic 15 CHAPTER 4 CIRCUIT BOARDS 16 ERRSRGRARRRARAREREAR ei User S 5 bs ml IC1 IC5 IC9 1C13 aey aoa aa afe IC2 IC6 IC10 IC14 de ae ee IC3 IC7 1C11 1C15 HE dE Wen 42 nu IC4 IC8 IC12 IC16 Figure 4 4 Power supply board design 17 CHAPTER 4 CIRCUIT BOARDS ENE ino UND z no dA aaa OA 2oT oxaa ONE T ER c d 2 ALB ve ENE ino UND z1no dA ddA OA ECO ino ONG z no OG ddA OA ZO 291 oxAa ONDV 1NO AND z no dA OdA OA LO Figure 4 5 Clock board electrical schematic CHAPTER 4 CIRCUIT BOARDS 18 Figure 4 6 Clock board design 5 Hardware 51 External hardware Quantity Item Description 1 enclosure rack mount 17 5in wide by 12 m deep or similar 4 switches SPST toggle for external power down 1 ribbon connector 20 pin male panel mount for external IO connections 2 banana sockets for 5 V and ground power supplies 1 5 V cooling fan Copal Electronics F251R 05LLC or 5 2 Electronics Quantity Item similar Description 4 AD9910 evaluation boards NI USB 8451 I O board Power supply board Clock board USB to serial communication interface
2. tection of the evaluation boards or for convenience they may be attached directly to the case For timing purposes it will also be necessary to access each board s TxENABLE input and or PDCLK output 27 Part III Programming manual 28 LabVIEW programming interface Note for programmers as of August 2011 there is a bug in the National In struments software which prevents Vls containing NI USB 8451 drivers from being launched directly from the LabVIEW project explorer window There is a fix available in the National Instruments KnowledgeBase see document ID 4IPG7TIL 8 1 Type definitions AD9910 registers An enum containing the AD9910 register names DDS box device reference A cluster containing data unique to a particular DDS box It is used for identi fication and also contains calibration data All of the top level VIs take a DDS box device reference as input and return it as output The cluster contains NI USB 8451 device reference A unique handle for the USB 8451 all avail able units will be listed as options when plugged in to the computer DIO port Port number for the DIO lines set to zero Serial Clock Rate Sets the data transfer rate in kHz between the computer and USB 8451 nominally 1000 kHz Channels Settings An array containing calibration parameters for the four DDS channels These consist of the reference clock rates in MHz and 29 CHAPTER 8 LABVIEW PROGRAMMING INTERFACE 30 CSpin
3. 4 Check that the the channel s data wires are securely connected to Problem Problem DDS board Check that power is being supplied to the IO board and that IO Updates signals are getting through the OR gates to the DDS boards Check the power to the 1 GHz reference oscillators on the clock board The board has one 3 3 V voltage regulator for power and another 1 65 V regulator providing a voltage reference Check the output of the reference clock by turning off the box un plugging the SMA cable running from the clock board to the CLK INPUT port on the channel s DDS board and observing the signal with a frequency counter or spectrum analyzer The clock signal should have a single 1 GHz frequency component with amplitude of about dBm and no phase noise above dB below the main peak The output has an unusual amount of amplitude or phase noise Check the DDS board power supplies Check the power to the 1 GHz reference oscillators on the clock board The board has one 3 3 V voltage regulator for power and another 1 65 V regulator providing a voltage reference Check the output of the reference clock by turning off the box un plugging the SMA cable running from the clock board to the CLK INPUT port on the channel s DDS board and observing the signal with a frequency counter or spectrum analyzer The clock signal should have a single 1 GHz frequency component with amplitude of about dBm and no phase noise
4. 19 CHAPTER 5 HARDWARE VO board components 20 Quantity Type Value Parts 1 regulator MC33269T 3 3 IC1 1 IC 74LS32N IC2 3 IC SN74LVC245A IC3 IC5 20 resistor 10k R1 R20 1 capacitor luF C1 1 capacitor 10uF C2 4 capacitor 0 01uF C3 C6 1 male header 2x17 pin JP1 1 male header 2x24 pin JP2 1 male header 2x30 pin JP3 Power supply board components Quantity Type Value Parts 8 regulator MSP18255 3 3 IC1 IC8 8 regulator MSP1825S 1 8 IC9 IC16 32 capacitor luF C1 C32 1 male header 2x20 pin JP1 1 male header 1x3 pin JP2 Clock board components Quantity Type Value Parts 4 oscillator FVXO LC73 IC1 IC4 1 regulator MC33269T 3 3 IC5 1 regulator LD1086V IC6 4 resistor 100 ohm R1 R4 1 resistor 237 ohm R5 1 resistor 76 8 ohm R6 4 capacitor 0 01 uF C1 C4 1 capacitor luF C5 3 capacitor 10 uF C6 C8 1 male header 1x2 pin JP1 4 female SMA jack X1 X4 6 Assembling the box The following sections give detailed instructions on the assembly of a DDS box See figure 6 1 for a suggested box layout Attention should be paid to minimizing clutter by keeping wires short and bundling them where appro priate While the DC regulators on the power supply board have not shown excessive heating it is suggested to place the power supply board next to the cooling fan in an orientation that allows air to flow between the regulators before being exhausted from the box Several holes in the side of the box opposite the fan will suffice for ventilation Ma
5. Assignment CS0 IO reset all channels CS1 Channel 4 chip select CS2 Channel 3 chip select CS3 Channel 2 chip select CS4 Channel 1 chip select CS5 unassigned CS6 unassigned CS7 unassigned Table 8 1 NI USB 8451 CS pin assignments the full scale output power values in dBm of the channels The ref erence clock rate is the measured frequency of a channel s external os cillator on the clock board nominally 1GHz The full scale output power is the measured output RF power of the channel with its output amplitude set to maximum nominally 0 dBm DDS CS pins An enum containing the pin assignments of the USB 8451 chip select pins see table 8 1 The values of the enums correspond to the USB 8451 CS pin number and the names of the enums indicate the associated channel number and AD9910 pin of the assignment DDS DIO pins An enum containing the pin assignments of the USB 8451 digital I O DIO pins see table 8 2 The values of the enums correspond to the USB 8451 DIO pin number and the names of the enums indicate the associated channel number and AD9910 pin of the assignment Digital ramping pattern An enum containing the possible ramping patterns for digital ramp genera tion mode CHAPTER 8 LABVIEW PROGRAMMINCG INTERFACE 31 DIO line Assignment P0 0 Channel 4 master reset P0 1 Channel 3 master reset P0 2 Channel 2 master reset P0 3 Channel 1 master reset P0 4 Channel 1 IO update P0 5 Channel 2 IO up
6. decreasing amplitude step stated as a fraction of the total output am plitude pos ramp step time double increasing step time in us neg ramp step time double decreasing step time in us errorin error cluster Outputs DDS ref out DDS box device reference error out error cluster Prepares the specified DDS channel for a ramp of the amplitude of the RF output by loading the specified ramp generation parameters and enabling the ramp with amplitude set as the destination parameter The frequency and phase offset parameters are determined by the currently active single tone profile It should be noted that while an effort has been made to keep all the RF amplitudes in units of dBm decibels with respect to 1 mW output power where possible the amplitude ramp generated by the chip is intrinsically linear in the output current Therefore the ramp is nonlinear in the output RF power given in either mW or in dBm This aspect of the digital ramp generator cannot be changed but arbitrary waveforms of amplitude could in principle be generated using the AD9910 s RAM modulation mode CHAPTER 8 LABVIEW PROGRAMMINCG INTERFACE 35 DDS Set Frequency Ramp Notes the channel 1 4 to set ramp upper limit frequency in MHz ramp lower limit frequency in MHz increasing step frequency in MHz decreasing step frequency in MHz increasing step time in us Type Inputs DDS ref in DDS box device reference channel number unsigned byte ramping
7. to access the RAM mod ulation mode function of the AD9910 The only external pin needed to trig ger RAM sweeps is IO update which is already accessible from the DDS box front panel The programming for RAM modulation mode should be similar to that for digital ramping pre load user data through the serial port then enable the mode in the control registers If the DDS box hardware is modified to enable parallel data port modu lation then the serial port will be needed first to initialize parallel data port modulation mode Most of the work required to implement this mode how ever will involve the communication protocol between the chip and the fast electronics that will be used to control the parallel data lines 39
8. CHAPTER 2 OPERATING PROCEDURES 7 low to high transition on DRCTL and so on See figure 39 on the AD9910 data sheet for more information about normal ramp generation No dwell high No dwell high is a manually triggered mode The initial state of the ramp gen erator in this mode is the lower ramp limit In this mode the ramp generator output is analogous to a sawtooth wave where the rising edge of the saw tooth is triggered by a low to high transition on DRCTL When triggered the output of the ramp generator will rise to the upper ramp limit at which point it will immediately snap back to the lower ramp limit to await another trigger See figure 40 on the AD9910 data sheet for more information about no dwell ramp generation No dwelllow No dwell low mode is similar to no dwell high mode except for the following differences The output of the ramp generator is initially at the upper ramp limit When triggered by a high to low transition on DRCTL the output will ramp to the lower ramp limit at which point it will immediately snap back to the upper ramp limit to await another trigger Continuous ramp In continuous ramp mode the output of the ramp generator starts at the lower ramp limit and automatically oscillates between the two limits In this mode the direction of the ramp can be changed midway through its progress if desired by toggling the DRCTL pin a high to low transition on DRCTL will cause the output to reverse a posit
9. G THE BOX 26 cation via an on board USB connection which interfaces with the AD9910 chip through an on board field programmable gate array FPGA Analog Devices ships a control program with graphical user interface GUI that uses this mode of communication Since the DDS box has its own serial commu nication interface this USB and FPGA circuitry must be bypassed on each evaluation board To do this use the following jumper settings W1 set to disable W2 set to disable W3 remove W4 set to disable W5 remove W6 remove Also ensure that the following factory standard jumper settings have not been changed W7 set to REF_CLK W11 no connection 7 Future design considerations There are currently three unused logic lines from the USB 8451 they are the unused chip select pins This is enough to provide a chip select master re set and IO update signal to an additional fifth channel if this is desired in the future Doing so would require straightforward modifications to the other boards in the DDS box and would also require a larger enclosure Increasing the number of channels per box beyond five would require a different solu tion for serial communication than is currently provided by the NI USB 8451 Modifying the DDS box to take advantage of the parallel data port mod ulation mode of the AD9910 will require the addition of 18 parallel data lines per channel The I O board may be modified to buffer these lines for the pro
10. Multichannel DDS controller manual Contents Alexander T Gill August 25 2011 Contents Overview Quick Specifications I Users manual 1 External connections 2 Operating procedures 2 1 2 2 2 3 2 4 2 5 2 6 2 7 Turning on the box Setting calibration values 2 sun sus ou sie es Generating a constant single tone output Switching between multiple single tone profiles Performing a frequency amplitude or phase ramp Powering down channels and restarting them Turning off the box N o NI O1 O1 QI gt gt A CONTENTS 3 Troubleshooting II Hardware manual 4 Circuit boards 5 Hardware 5 1 External hardware 5 2 Electronics 6 Assembling the box 6 1 Preparing the boards 5 0 a ne a ee 6 2 Making electrical connections 6 3 Setting the evaluation board jumpers 7 Future design considerations III Programming manual 8 LabVIEW programming interface S1 Dypesdelinitions 2 28 she A ent 8 2 HOPE IWS nn Er ak 8 3 L O Sub VIsS u 27 222 ASA ae 9 Extending the code ii 11 12 19 19 19 21 21 22 22 27 28 29 29 31 37 39 Overview The multichannel DDS controller i e DDS box is a circuit which provides direct access to four Analog Devices AD9910 evaluation boards for use in the laboratory The AD9910 is a DDS direct digital synth
11. OS aM i I 7 uoyeurung I uoneuruus addy AO SUOIPIUUOI JLP xoq SAA UO ALL 24 20 y 10 y y Front panel I O connections y 34 30 y y Ty 20 y y 34 Lod 90d 15 30 ES sod vod ES Ei Eod Tod 79 21 152 20 152 05 10 4 Connect the two ribbon connectors so that pins 1 20 on the front panel correspond to pins 15 34 on JP3 To male ribbon cable socket mounted on case JP1 Wire pins from JP2 to the corresponding labelled pins on the four DDS evaluation boards CHAPTER 6 ASSEMBLING THE BOX son 10 los n osm Wire corresponding pins pros ano bns ans ts in assignmen I O board header p NI USB 8451 physical connections Figure 6 2 25 ts 1n assignmen Connect the center pin and one of the ground pins of JP2 on the power supply board to the case power supply na JP2 Gnd Connect the pins of JP1 on the power supply board to each of the l
12. abelled evaluation board power supplies by clamping the bare wire ends into the contacts Ignore unused ground pins CHAPTER 6 ASSEMBLING THE BOX lt A Ee 2 gt pup 8 a 2 puo Ag Th G D q Uy re 2 pup e E U 5 5 Ta Za gt a Uy Sen o pu ie Wy Le Q 5 Tas e gt a wel Te Ge Th U F a pup E Ry e y y Va eo O 8 x puo De o Y 9 yo x 2 2 W o e 3 5 pup Ag Vs KO 7 O 2 49 Mo Key lt A PA Ye Wa Q 2 2 amp Ge Ugy key ke 2 5 pus Meg Va Meg EH El p 5 a as YU bei S pup a e I Ay gt E o o 2 2 2 2 2 2 gt Ka la E x n v Z Z pus Ge 15 ey Bei O al ml i al Eo ys a x x x x o Z o 3 a x Y ee Co gt gt u ei U U pu9 e A Us 7 a S 9 g a m Q Les Le Tei a S S 3 e pu Ag AS y oo Q 2 S 8 8 8 8 Fo yy Len a a 2 3 3 3 3 Gel Jo H een o g g pup Mes K e 5 3 3 2 pu Ge 3 K K Ke a 2 N m d D v ET o V Aa g s ROH SEH ROH XOH A eee 3 Sr Yan Q 3 pup a 7 dY Qn 8 ke y A 2e 2 x E y V U q W 2 e o KN am g ke Hch gt o e a E y Vy s I e A I z Tra KH Le O gt U u E Ki to 3 E e bp o S em ts ignmen in and SMA jack assi Clock board header p Figure 6 4 CHAPTER 6 ASSEMBLIN
13. above dB below the main peak The box draws a lot of current over 1 A even when all of the chan nels are externally switched to power down mode Note that about 0 7 A is not unusual 1 Make sure the jumpers on all of the DDS boards are set properly 2 Look for short circuits Part II Hardware manual 4 Circuit boards The DDS box contains three circuit boards in addition to the four AD9910 evaluation boards and the USB interface These are the I O interface board the power supply board and the clock board These three boards take their 5 V and ground supplies directly from the case See chapter 6 for details about the connections between boards The I O interface board takes input logic signals from the USB interface the front panel switches and the additional logic inputs It buffers them where necessary and sends them to an output ribbon cable which splits off to various digital logic pins on the four evaluation boards Note that for each channel IO update signals may come from either the USB interface or the front panel so the IO update signal sent to the boards is the logical OR of these two input sources The electrical schematic and board design are shown in figures 4 1 and 4 2 respectively The power supply board provides power for the evaluation boards For optimal performance each evaluation board requires two separately regu lated 3 3 V and two separately regulated 1 8 V DC power sources 16 low drop out
14. date P0 6 Channel 3 IO update P0 7 Channel 4 IO update Table 8 2 NI USB 8451 DIO line pin assignments 8 2 Top level VIs DDS Close Iype Notes Inputs DDS refin DDS box device reference errorin error cluster Outputs DDS ref out DDS box device reference error out error cluster Disables the SPI interface and sets the TTL lines to a high impedance state then closes the USB 8451 device reference To save computer resources this VI must be run to close out any open device before exiting the LabVIEW program DDS Com Check Iype Notes Inputs DDS ref in DDS box device reference channelnumber unsigned byte the channel 1 4 to check error in error cluster Outputs DDS ref out DDS box device reference error out error cluster Checks that serial communication with the specified channel is not in terrupted This assumes the channel is already initialized an uninitialized channel will fail CHAPTER 8 LABVIEW PROGRAMMING INTERFACE 32 DDS Disable Digital Ramp Type Notes Inputs DDS ref in DDS box device reference channel number unsigned byte the affected channel 1 4 error in error cluster Outputs DDS ref out DDS box device reference error out error cluster Disables digital ramping for the given channel returning the channel to single tone mode DDS Initialize Type Notes Inputs DDSrefin DDS box device reference error in error cluster Outputs DDS r
15. digital ramp first ensure that the channel s currently ac tive single tone profile has the desired static parameters Then load into the channel the desired ramp generation parameters the parameter to ramp the limits and duration of the ramp and the ramping pattern and enable ramp ing using the LabVIEW software Depending on the ramping pattern and the state of the DRCTL pin the output parameter may begin ramping immedi ately from the low limit to the high limit or else it will jump to the initial state and wait for a trigger to initiate the ramp If a command to clear the digital ramp accumulator is sent from the software anytime during digital ramp generation mode it effectively causes the ramping pattern to be reset to its initial state The relevant front panel control pins for ramping are the DRCTL pins see figure 1 1 The following is a description of the four possi ble ramping patterns Normal ramp Normal ramp is a manually triggered mode The initial state of the ramp gen erator in this mode is always the lower ramp limit If the DRCTL pin is ini tially active the positive ramp will begin immediately Otherwise a low to high transition on DRCTL initiates the positive ramp When the ramp output reaches the upper limit it will remain at that value until the next high to low transition on DRCTL at which point it will begin the negative ramp When the lower limit is reached the positive ramp can be restarted with another
16. ee parts a user manual a hardware manual and a programming manual The user manual provides instructions for the setup and basic use of the DDS box The hardware manual explains how to construct a DDS box and provides information about its component parts The programming manual describes the current LabVIEW program ming interface for the DDS box The programming interface consists of a set of low level driver VIs which access the basic functions of the AD9910 chip This programming interface can be incorporated into existing LabVIEW pro grams to add DDS functionality Quick Specifications Output frequency 0 MHz to 400 MHz Output power 0 dBm to 70 dBm approx Power supply 5V DC max current draw 1 7 A min current draw 0 5 A PartI User s manual 1 External connections Power connections The DDS box is powered by a single 5 V DC supply The peak continuous current drawn will not exceed 2 A Connect the 5 V and ground supplies via banana cables RF outputs The RF output signals from each of the four channels are ac cessible via SMA connectors on the front panel The output from any powered down channel may be left unconnected USB control The DDS box connects to its control computer through the USB type B socket on the front panel I O connections 20 additional input TTL control pins are accessible via the ribbon cable connector on the front panel These pins safely accept both 5V and 3 3V logic They are all passively p
17. ef out DDS box device reference error out error cluster Initializes the entire DDS box by enabling the SPI communication inter face initializing the states of the DIO lines and initializing the channels by calling DDS Re initialize One Channel on each This requires that all chan nels be powered on and that the external power down pins not be set This is intended to be a one time initialization since it causes a hard reset on all channels at once Any channel that is disabled at the time of this VI call may be initialized later if necessary with an individual call to DDS Re initialize One Channel DDS Power Down Type Notes Inputs DDS ref in DDS box device reference channel number unsigned byte the channel 1 4 to power down error in error cluster Outputs DDS ref out DDS box device reference error out error cluster Sets a single channel to an internal power down state This is a more effective power saving state than can be achieved by simply turning off an CHAPTER 8 LABVIEW PROGRAMMINCG INTERFACE 33 active channel using its external power down pin This VI does not affect any other data in the memory of the AD9910 so a subsequent call to DDS Wake Up will immediately return the channel to its previous state A re initialization of the channel or entire box will also clear the power down state DDS Re initialize One Channel Type Notes Inputs DDS ref in DDS box device reference channe
18. ence error out error cluster Writes data to the specified register in the specified channel The number of bytes written must equal the register size in bytes see the register map CHAPTER 8 LABVIEW PROGRAMMING INTERFACE 37 and bit descriptions section of the AD9910 data sheet for more information on registers 8 3 Useful Sub VIs DDS Pulse IO Reset Type Notes Inputs spi script reference in refnum error in error cluster Outputs spi script reference out refnum error out error cluster This VI must be used as part of an NI 845x SPI script Issues a pulse to the IO Reset pin of all channels currently one of the extra CS pins of the USB 8451 This clears the serial communication buffer of the AD9910 and readies it for a new data transmission The IO Reset pins of all channels are physically connected via the IO board It is not a problem that all channels share this signal since it does not directly affect the contents of chip memory and only one channel communicates with the computer ata time DDS Pulse IO Update Type Notes Inputs spi script reference in refnum port number unsigned byte port number of the IO update pin channel number unsigned byte the channel 1 4 to pulse errorin error cluster Outputs spi script reference out refnum error out error cluster This VI must be used as part of an NI 845x SPI script Issues a pulse to the IO Update pin of the specified channel cur
19. esizer integrated cir cuit providing up to 400 MHz analog output Each AD9910 chip is capable of storing up to eight preset single tone settings called profiles which are acces sible through fast switching of its profile pins The chip has a digitalramping capability which enables controlled sweeping of the frequency amplitude or phase of the output The four AD9910 evaluation boards constitute four independent and fully accessible channels of the DDS box The box is controlled by a single USB in terface and a set of external control pins which offer real time access to the evaluation boards profile selection and ramping functions A LabVIEW con trol program handles communication to the box from a PC Unused channels may be externally powered down by front panel switches or in software Other features of the AD9910 which are not yet accessible in this imple mentation but which may be incorporated in future DDS box versions in clude e RAM modulation mode a function for generating arbitrary time de pendent waveforms of amplitude frequency or phase using 1024 avail able words of 32 bit RAM e output shift keying a function enabling internal or external amplitude modulation of the chip s output e parallel data port modulation mode a function for arbitrary fast control of the chip s output using the 18 bit parallel data port e and synchronization of multiple boards 111 OVERVIEW iv This document is divided into thr
20. ive ramp by beginning a negative ramp from the current output value Likewise a low to high transition on DRCTL will cause the output to begin a positive ramp from its current value 2 6 Powering down channels and restarting them Channels can be externally powered down simply by flipping the front panel switches to external power down mode This disables communication to the AD9910 however so it should not be done during initialization of the chan nel The channel will return to its previous state when the channel s front panel switch is returned to the on position CHAPTER 2 OPERATING PROCEDURES 8 A more complete power down state can be achieved by issuing a power down command to the channel in software This internal power down state disables more subsystems of the AD9910 chip allowing the channel to draw minimum current 2 Note that in an internal power down state serial com munication is not disabled The channel will return to its previous state when a wake up command is issued in software Note that in either power down state no information uploaded to the chip since its last re initialization will be lost 2 7 Turning off the box Before turning off the DDS box be sure to properly stop or close out the Lab VIEW program that initialized it This is to prevent memory leaks due to an open device reference The box can be safely turned off by disconnecting its 5 V power supply The USB interface may remain connected to the comp
21. ke appropriate labels for the front panel components Each of the four channels has an SMA jack labeled RF OUT and a toggle switch with labels ON and PWR DN Note that when the switch is in the on position high the center pin connects to ground and when it is in the power down position low the center pin connects to 3 3 V Label the exposed USB socket of the NI USB 8451 USB Label the male ribbon connector socket I O connections The user should refer to chapter 1 for the pin out of this connector Label the two banana cable connectors 5 V and GND 6 1 Preparing the boards Refer to chapters 4 and 5 for diagrams and parts lists for assembling the I O power supply and clock boards Note that all double row header pins on the boards may be replaced with male ribbon connector sockets if available This simplifies the process of connecting boards just ensure that the orientation of the connector is correct before soldering It may be practical to make the ribbon cables ahead of time to use as a reference see section 6 2 21 CHAPTER 6 ASSEMBLING THE BOX 22 Ch 1 eval board x Power Ge EE power lt d to boards Se air vents cooling fan Ch 2 eval board boards Ch 4 eval board to front panel controls extra logic ower suppl 1 O pins P Ge 5V and ground banana connectors Figure 6 1 Suggested DDS box internal layout dimensions are approximate 62 Making electrical connections The three ho
22. lnumber unsigned byte the channel 1 4 to initialize error in error cluster Outputs DDS ref out DDS box device reference error out error cluster Resets and re initializes the AD9910 registers for the specified channel This clears all user data uploaded to the chip since the last initialization The channel must not be in power down mode at the time of this VI call DDS Read Register Type Notes Inputs DDS ref in DDS box device reference channelnumber unsigned byte the channel 1 4 to read from register AD9910 registers the register to read error in error cluster Outputs DDS ref out DDS box device reference read data 1 D array of unsigned byte the register contents error out error cluster Reads the current value of the specified register in the specified channel Note that when reading the contents of single tone profile registers only the profile register currently selected by the external profile pins can be read CHAPTER 8 LABVIEW PROGRAMMING INTERFACE 34 DDS Set Amplitude Ramp Type Notes Inputs DDS ref in DDS box device reference channel number unsigned byte the channel 1 4 to set ramping pattern Digital ramping pattern high amplitude double ramp upper limit amplitude in dBm low amplitude double ramp lower limit amplitude in dBm positive amplitude step double increasing amplitude step stated as a fraction of the total output ampli tude negative amplitude step double
23. me made boards act as an electrical interface between the four evaluation boards and the outside world the RF output is the only direct connection between the evaluation boards and the case This serves both to compartmentalize the design and to protect the evaluation boards from accidental misuse while the components of the home make boards can be easily replaced the evaluation boards can not Table 6 1 gives the details of each electrical connection Refer to figures 6 2 through 6 4 for the header pin assignments 6 3 Setting the evaluation board jumpers Each AD9910 evaluation board has a set of jumpers which controls its mode of communication The factory setting of these jumpers enables communi 23 CHAPTER 6 ASSEMBLING THE BOX urd puno13 p1eoq Teso Surnoquy3tau pued 4uoyJ si10d If LAdNI N TO Pieoq peana Lil preoq Jpop Zd pxeoq Arddns ramod surd Ajddns 1amod preoq eso 10J93UUO uoqqu O I s rrddns amd s yoyms poued mot siojp uuo3 dur enprarpur eta surd 2180 pieoq eso Ldf preoq O I utd 9130 AIOHYA poq yeaa yod Ff INOI GAYA poq Tea sndno preoq Pop sarddns 1amod poued zuo sarddns 1amod oued zuo Tal preoq Arddns 1amod df paeoq O I zd preoq O I 1SF8 ISN IN peay ying 04 Sue 17 VINS 3ue 1 o Sue 11 VINS uoqqu red pa siM JIM OF orm poys 10 adumn ILA ILA ei Cl cN lt H ch uoqqu qeys anm pe I uoqqu JUSrens aM gp lt I uoqqu JUST
24. p with phase set as the destination parameter The frequency and am plitude parameters are determined by the currently active single tone profile CHAPTER 8 LABVIEW PROGRAMMING INTERFACE DDS Set Single Tone Profile 36 Type Notes Inputs DDS ref in DDS box device reference channelnumber unsigned byte the channel 1 4 to set profile unsigned byte the profile number 0 7 to set frequency double the frequency to load in MHz phase offset double the phase offset to load in radians amplitude double the amplitude to load in dBm errorin error cluster Outputs DDS ref out DDS box device reference error out error cluster Loads the RF generation parameters of amplitude phase offset and fre quency into the given single tone profile of the given channel DDS Wake Up Type Notes Inputs DDS ref in DDS box device reference channel number unsigned byte the channel 1 4 to wake errorin error cluster Outputs DDS ref out DDS box device reference error out error cluster Wakes up the specified channel from a DDS Power Down command restoring its previous state without erasing data DDS Write Register Type Notes Inputs DDS ref in DDS box device reference channel number unsigned byte the channel 1 4 to load into register AD9910 registers the register to load into write data 1 D array of unsigned byte the data to upload error in error cluster Outputs DDS ref out DDS box device refer
25. pattern Digital ramping pattern high frequency double low frequency double positive frequency step double negative frequency step double pos ramp step time double neg ramp step time double error in error cluster decreasing step time in us Outputs DDS ref out error out error cluster DDS box device reference Prepares the specified DDS channel for a frequency ramp by loading the specified ramp generation parameters and enabling the ramp with frequency set as the destination parameter The amplitude and phase offset parameters are determined by the currently active single tone profile DDS Set Phase Ramp Type Notes Inputs DDS ref in channel number ramping pattern high phase offset low phase offset positive phase step negative phase step pos ramp step time neg ramp step time error in DDS box device reference unsigned byte Digital ramping pattern double double double double double double error cluster the channel 1 4 to set ramp upper limit phase offset in radians ramp lower limit phase offset in radians increasing phase step in radians decreasing phase step in radians increasing step time in us decreasing step time in us Outputs DDS ref out error out DDS box device reference error cluster Prepares the specified DDS channel for a ramp of the phase offset of the RF output by loading the specified ramp generation parameters and enabling the ram
26. rameters frequency amplitude and phase offset into the desired profiles The channel s RF output will immediately reflect the settings specified by the external logic supplied to profile control pins on the box s front panel see figure 1 1 The profile control pins for each channel labeled PO Pl and P2 encode bits 0 1 and 2 respectively of the currently active profile number as table 2 1 shows explicitly Use positive logic either 3 3 V or 5 V to set the profile pins 2 5 Performing a frequency amplitude or phase ramp Digital ramp generation is a mode of the AD9910 chip in which a single RF generation parameter frequency amplitude or phase offset is linearly ramped increased or decreased as a function of time The ramp may be continuous like a triangle ramp or it may be set to wait for an external trig ger Both the rising and falling slopes of the ramp may be specified inde pendently Only the data for a single parameter ramp may be stored at one CHAPTER 2 OPERATING PROCEDURES 6 Table 2 1 Profile pin logic settings P2 P1 PO Profile0 0 0 0 Profile1 0 0 1 Profile2 0 1 0 Profile3 0 1 1 Profile4 1 0 0 Profile5 1 0 1 Profile6 1 1 0 Profile7 1 1 1 time i e there are not multiple ramping profiles that may be stored and accessed later the manner of single tone profiles Whenever one parameter is being ramped the other two parameters are given by the currently active single tone profile To perform a
27. rently a DIO pin of the USB 8451 An IO Update pulse signals the AD9910 to transfer data from the serial buffer to memory See the serial programming section of the AD9910 data sheet for more information CHAPTER 8 LABVIEW PROGRAMMING INTERFACE 38 DDS Pulse Master Reset Type Notes Inputs spi script reference in port number channel number error in refnum unsigned byte port number of the master reset pin unsigned byte the channel 1 4 to pulse error cluster Outputs spi script reference out error out refnum error cluster This VI must be used as part of an NI 845x SPI script Issues a pulse to the Master Reset pin of the specified channel currently a DIO pin of the USB 8451 This returns the AD9910 to its default state clearing all user data uploaded to the registers since the last reset pulse Note that in the reset state the register settings of the AD9910 are not suitable for use in the DDS box they must be reinitialized after a reset pulse 9 Extending the code If a hardware change ever necessitates a re shuffling of the CS and DIO pin assignments of the USB 8451 first make the necessary changes in the DDS CS pins and DDS DIO pins type definitions If no assignments need to be switched from a CS pin to a DIO pin or vice versa then nothing else needs to be done Otherwise update the sub VIs described in section 8 3 to reflect the changes The current hardware setup should be sufficient
28. the output frequency 4 Set the calibration reference clock frequency to 4 x the measured fre quency When connecting the USB interface to a computer for the first time allow the operating system to detect the new device then follow the on screen instructions to install the needed drivers National Instruments Measurement amp Automation Explorer must be installed for this to work properly CHAPTER 2 OPERATING PROCEDURES 5 The accuracy of the output RF power generated by the channels depends on prior knowledge of the full scale output power To set this calibration do the following for each channel 1 Set the calibration full scale output power to 0 dBm 2 Set the channel to generate a single tone RF output with power greater than or equal to 0 dEm 3 Measure the precise value of the output power 4 Set the calibration full scale output power to the measured power 2 3 Generating a constant single tone output With the profile control pins of the desired channel disconnected or set to logic zero load the RF generation parameters frequency amplitude and phase offset into the channel s profile zero register using the LabVIEW inter face The channel s RF output will immediately reflect the change in settings 2 4 Switching between multiple single tone profiles A single DDS channel may store up to eight single tone profiles at one time To enable fast switching between these profiles load the RF generation pa
29. ulled to ground so when they are not in use they may be left unconnected this is the case when the only needed function for all channels is that of a constant single tone RF generator These pins provide real time access to the profile switching and the ramp control functions of each channel See figure 1 1 for the pin out diagram and chapter 2 for information on using these features CHAPTER 1 EXTERNAL CONNECTIONS Figure 1 1 Pin out diagram of the ribbon connector socket for the front panel TTL inputs 2 Operating procedures 2 1 Turning on the box Apply 5V power to the DDS box and run a USB cable between the box and the control computer The green LED on the USB interface should blink when it is ready to use Ensure that all channels are switched to the on state before initializing the box using the LabVIEW interface 2 2 Setting calibration values The accuracy of frequencies generated by the DDS channels depends on ac curate knowledge of the reference clock frequencies Slight deviations of the nominally 1 GHz reference frequencies can be calibrated out of each chan nel by supplying the known frequency values of the four oscillators If the exact clock frequencies are not known they may be determined in situ by using the following procedure on each channel 1 Set the calibration reference clock frequency to 1000 MHz 2 Set the channel to generate a 250 MHz single tone frequency 3 Measure the precise value of
30. uter it is powered by the USB line so it will remain on as long at itis plugged in When all channels are set to their internal power down states the 0 5 A current draw of the box is dominated by the reference clocks which are not disabled 3 Troubleshooting Here is a list of potential problems presented with possible solutions Solu tions are offered roughly in order of likelihood Problem The DDS box does not respond to program commands 1 Make sure that the channel being used is not switched to external power down mode front panel switch 2 Check the DDS board power supplies 3 Check that the the channel s data wires are securely connected to DDS board 4 Check that power is being supplied to the IO board and that IO Update signals are getting through the OR gates to the DDS boards 5 Make sure the jumpers on all of the DDS boards are set properly 6 Reset the NI USB 8451 interface by first turning off the box then unplugging the USB from the computer and plugging it back in The green LED on the interface should blink when it is plugged in and ready to use Problem No RF output 1 Make sure that the channel being used is not switched to external power down mode front panel switch 2 Make sure that the channel is set to a profile for which the am plitude and frequency values specified in the LabVIEW control software are non zero 3 Check the DDS board power supplies CHAPTER 3 TROUBLESHOOTING 10
31. voltage regulators provide these sources which are supplied to the four evaluation boards through an output ribbon cable The electrical schematic and board design are shown in figures 4 3 and 4 4 respectively The clock board provides stable 1 GHz reference frequencies to each eval uation board The AD9910 derives both its internal logic clock and its RF out put from its reference clock input Although each AD9910 evaluation board is capable of generating this 1 GHZ reference via an on board quartz oscilla tor and phase locked loop PLL experience has shown that phase noise and stability are greatly improved by using an external reference The four 1 GHz output signals of the clock board are sent to the CLK INPUT ports of the eval uation boards via SMA cables The electrical schematic and board design of the clock board are shown in figures 4 5 and 4 6 respectively 12 CHAPTER 4 CIRCUIT BOARDS Ic2P RD A ND 13 Figure 4 1 I O board electrical schematic CHAPTER 4 CIRCUIT BOARDS 14 Figure 4 2 I O board design
Download Pdf Manuals
Related Search
Related Contents
User Manual for e-Tendering Application (Saree Cables Direct PS/2 REVESTIMIENTO FACHADAS Lenovo D1960 User's Manual HITACHI Projector CP-X2020/CP-X2520/CP Edhya Derm_En tête et Pied de page Niles Audio HPS-4/HPS-6 User's Manual MiKTeX 2.9 Manual - Revision 2.9.5671 TECHNICAL FORUM TECHNICAL FORUM urgent - avis de sécurité concernant un dispositif médical Copyright © All rights reserved.
Failed to retrieve file