Download T7 Datasheet

Transcript
The analog inputs are not artificially pulled to 0.0 volts, as that would reduce the input impedance, so readings obtained from floating
channels will generally not be 0.0 volts. The readings from floating channels depend on adjacent channels and sample rate and have
little meaning. See related floating input application note.
Notice that the addresses for AIN#, AIN#_RANGE, and AIN#_SETTLING_US increment in steps of 2. That is because they are
FLOAT32 and thus each needs 2 16-bit registers. AIN#_NEGATIVE_CH and AIN#_RESOLUTION_INDEX are UNIT16 and thus just
use 1 16-bit register each, so their addresses step in increments of 1.
The AIN#(0:13)_RANGE parameter is actually controlling the gain of the internal instrumentation amplifier. The in-amp supports gains
of x1, x10, x100, and x1000. If you set range=10, you get gain=x1, and the analog input range is ±10 volts. If you set range=1, you get
gain=x10, and the analog input range is ±1 volts. Note that the device knows what the internal gain is set to and adjusts the return
values to give the voltage at the input terminals, so if you connect a 0.8 volt signal to the input terminals, it will be amplified to 8.0 volts
before being digitized, but the reading you get back will be 0.8 volts. Write range=10 to get a range of ±10V (default), range=1 to get a
range of ±1V, range=0.1 to get a range of ±0.1V, or range=0.01 to get a range of ±0.01V. If you write a value in between the valid
ranges, the larger range will be used.
The AIN#(0:13)_NEGATIVE_CH parameter pertains to differential readings. On the T7, differential channels are adjacent even/odd
pairs only, such as AIN2-AIN3. Thus the positive channel must be even and the negative channel must be +1. Only an even channel can
have an associated negative channel, so you will never write to odd channels of this register (e.g. never write to
AIN3_NEGATIVE_CH/41003). Channel numbers in the extended range (above AIN15), are connected to AIN0-AIN13 and those
dictate the even/odd rule, not the extended channel numbers (see the Mux80 datasheet).
The AIN#(0:13)_RESOLUTION_INDEX parameter affects the ADC. A higher Resolution_Index results in lower noise and thus higher
effective & noise-free resolution, with the tradeoff of longer sample times. See the Noise and Resolution Appendix. The value passed
for Resolution_Index is from 0-8, where 0 corresponds to default, 1 is roughly 16-bit resolution (RMS or effective), and 8 is roughly 19bit resolution. The T7-Pro has additional Resolution_Index settings 9-12 that use the alternate high-resolution converter (24-bit sigmadelta) and correspond to roughly 19-bit to 22-bit resolution. For command-response readings, the default value of 0 corresponds to
Resolution_Index=8 on a T7 and Resolution_Index=9 on a T7-Pro. For stream readings the default of 0 corresponds to
Resolution_Index=1. For typical noise levels and sample times at different combinations of resolution index and gain see Appendix A3-1 Noise and Resolution. For general discussion on the meaning of resolution see the Noise and Resolution App Note.
The AIN#(0:13)_SETTLING_US parameter is the time from a step change in the input signal to when the signal is sampled by the
ADC, measured in microseconds. A step change in this case is caused when the internal multiplexers change from one channel to
another. In general, more settling time is required as gain and resolution are increased. The default “auto” settling time ensures that the
device meets specifications at any gain and resolution for source impedance up to at least 1000 ohms. This parameter applies to
command/response mode and AIN EF. Stream mode has its own settling parameter. The timings in Appendix A are measured with
“auto” settling.
14.1 AIN Extended Features
Analog extended features (AIN-EF) are used for advanced operations involving analog inputs. Possible features:
Linear Scaling: Apply a simple slope and offset to convert a voltage into something else, like pressure, force, or temperature.
FlexRMS: Calculate RMS voltage. Flexible sample rate, number of samples, and hysteresis parameters. Also returns
frequency/period.
Thermocouples: Perform the math to handle cold junction compensation (CJC) and voltage to temperature conversion.
Firmware automatically handles any complicated math.
RTDs: Automatically calculate a resistance value from an RTD. Can use either a constant current source, known excitation
voltage, or secondary measurements across a shunt resistor.
AIN-EF is only supported in command-response mode ... not stream mode.
Configuration:
Before an AIN_EF can be used a few settings need to be written. The desired operation is selected by writing the associated index
number to AIN#(0:13)_EF_INDEX. Depending on the selected index several configuration registers can be written. The details of the
configuration registers can be found in the associated index section.
Analog input settings such as range, resolution, settling, and negative channel, are configured through the normal AIN registers.
Reading:
When READ_A is read from the LabJack it will read from analog inputs, run calculations, and then return the result. If the selected index
produces more than one result they will be saved so that they can be read later. Reading from result registers other than A, read from
the saved values and do not initiate a new reading.
List of index values:
69