An example bridge sensor application will be used to examine internal nodes of the PGA309 that are related to the gain blocks (refer to Figure 2-2 and Figure 2-3).
Given:
Full-Scale Bridge Sensitivity (FSS) = 20mV/V (sensor span)
VOS = 0mV (sensor offset)
VREF = +5V (sensor excitation)
VB = +5V, VS = +5V
RBRG = 2kΩ
VOUT MIN = +0.5V
VOUT MAX= +4.5V
Find:
Front-End PGA Gain
Gain DAC Setting
Zero DAC Setting
Output Amplifier Gain
Solution:
- Maximum Sensor Output:
VBRmax = (FSS)(VB)
VBRmax = (20mV/V)(5V)
VBRmax = 100mV - Total Desired Gain:
GT = (VOUT MAX − VOUT MIN)/VBRmax
GT = (4.5V − 0.5V)/100mV
GT = 40 - Partition the Gain; Determine the Desired Gain DAC Setting:
Choose Front-End PGA Gain = 23.27
Choose Output Amplifier Gain = 2
Gain DAC = 0.859475719
Gain DAC = GT/[(Front-End PGA)(Output Amplifier Gain)]
Gain DAC = 40/[(23.27)(2)]
Gain DAC = 0.859475719 - Calculate exact programmable Gain DAC value:
Decimal # counts = (Gain DAC − 1/3)(3/2)(65536)
Decimal # counts = (0.859475719 − 1/3)(3/2)(65536) = 51,721.90133
Use 51,722 counts→CA0Ah→1100 1010 0000 1010 →0.859476725
Gain DAC = (# counts/65536)(2/3)+(1/3) - Calculate Zero DAC value
VZERO DAC = VOUT MIN/[(Gain DAC)(Output Amplifier Gain)]
VZERO DAC = 0.5V/[(0.859475571)(2)] = 0.29087505V
Decimal # counts = VZERO DAC/(VREF/65536)
Decimal # counts = 0.29087505/(5/65536) = 3812.55746
Use 3813 counts→0EE5h→0000 1110 1110 0101 →0.290908813V
VZERO DAC = (# counts/65536)(VREF) - Calculate VCM and VDIFF for Maximum Sensor Output (see Figure 2-2): VDIFF = VINP − VINN
VDIFF = 2.550 − 2.450
VDIFF = 100mV; VDIFF/2 = 50mV
VCM = (VINP + VINN)/2
VCM = (2.550V + 2.450V)/2
VCM = 2.5V - Check Internal Nodes VOA2 and VOA1: Front-End PGA Gain = 23.27
G = 5.8175 (see Figure 2-2)
VOA1 = VCM − G(VDIFF/2)
VOA1 = 2.5V − 5.8175(50mV)
VOA1 = 2.209125
VOA2 = VCM + G(VDIFF/2)
VOA2 = 2.5V + 5.8175(50mV)
VOA2 = 2.790875
0.1V ≤ VOA1 and VOA2 ≤ VS − 0.12V
0.1V ≤ VOA1 and VOA2 ≤ 4.88V
Therefore, VOA1 and VOA2 are valid. - Check Internal Nodes VOA3 (VFRONT):
VFRONT = VDIFF (Front-End PGA Gain) + VZERO DAC
VDIFF MIN = 0V
VDIFF MAX = 100mV
Front-End PGA Gain = 23.27
VZERO DAC = 0.290908813V
VFRONT MIN = (0)(23.27) + 0.290908813V = 0.290908813V
VFRONT MAX = (100mV)(23.27) + 0.290908813V = 2.6179V
0.05V < VFRONT MIN and VFRONT MAX < VSA − 0.1V
0.05V < 0.290908813V and 2.6179V < VSA − 0.1V
VFRONT OK!