Changes

Jump to navigation Jump to search
→‎ADC: added pinout
Line 809: Line 809:     
===Power Details===
 
===Power Details===
The ADC is powered by the +5V power island, regulated by an off-board power supply, and decoupled near the ADC. It also requires a precise (±1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by ±0.25V without affecting ADC precision.
+
The ADC is powered by the +5V power island, which is regulated by an off-board power supply and decoupled near the ADC. It also requires a precise (±1%) 2.5V reference to which it compares voltages when converting from analog to digital. Since the +5V power source is not used for comparison, it is flexible and may vary by ±0.25V without affecting ADC precision.
    
===Setting the Measuring Range===
 
===Setting the Measuring Range===
 
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).
 
The measuring range is set programmatically by the FPGA over the SPI bus. The way the ADC is connected on the digital board requires that its measuring range be set to 5V, so the RANGE bit should be set to 1 by the FPGA (see Analog Devices documentation).
 +
 +
===Data Interfacing===
 +
The ADC uses an SPI bus to communicate with the FPGA. This bus is shared with the temperature sensor. SPI related pins include SCLK, CS, DIN, and DOUT. See the Pinout Table below.
    
===Channel Descriptions===
 
===Channel Descriptions===
Line 861: Line 864:  
| 9
 
| 9
 
| DACHEALTH
 
| DACHEALTH
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.878V. Since the divider should be linear, the expected voltage at 20V is 0.4878V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current. The channel is routed to the backplane nonetheless.
+
| This channel monitors the output of a resistor divider connected to channel 31 of the DAC. The divider consists of three resistors of 200K, 200K, and 10.2K (in order). The ADC reads out the voltage level between the second 200K and then 10.2K resistor. These resistors were selected so that at 200V, the readout voltage will be 4.973V. Since the divider should be linear, the expected voltage at 20V is 0.4973V. Three resistors were used rather than two to avoid exceeding the resistors' power ratings when the DAC is set to its maximum voltage. Note that since this divider will consume up to 484uA of current at 200V, this DAC channel should not be used for anything that might require more than ~200uA of current (the DAC can source 700uA max). The channel is routed to the backplane nonetheless.
 +
|}
 +
 
 +
===Pinout Table===
 +
{| cellpadding=3 border=1 |
 +
| '''Pin #'''
 +
| '''Net Name'''
 +
| '''Description'''
 +
|-
 +
| 1
 +
| CLK_5MHZ
 +
| SPI clock (SCLK), from FPGA<br>Shared with temperature sensor
 +
|-
 +
| 2
 +
| DIN
 +
| SPI data in, from FPGA<br>Shared with temperature sensor<br>''Currently wired wrong''
 +
|-
 +
| 3
 +
| CS
 +
| SPI chip select
 +
|-
 +
| 4
 +
| AGND
 +
|
 +
|-
 +
| 5
 +
| +5V
 +
| Power pin
 +
|-
 +
| 6
 +
| +5V
 +
| Power pin
 +
|-
 +
| 7
 +
| AD7928/REF_IN
 +
| +2.5V reference, set by VR2
 +
|-
 +
| 8
 +
| AGND
 +
|
 +
|-
 +
| 9-16
 +
| VIN[7:0]
 +
| See [[#Channel Descriptions | ADC Channel Descriptions]]
 +
|-
 +
| 17
 +
| AGND
 +
|
 +
|-
 +
| 18
 +
| DOUT
 +
| SPI data out<br>''Currently wired incorrectly''
 +
|-
 +
| 19
 +
| +3.3V
 +
| VDRIVE, powers the SPI logic
 +
|-
 +
| 20
 +
| AGND
 +
|
 
|}
 
|}
261

edits

Navigation menu