3-215
20-5
Scaling Multiplier Gain
(Scale Factor)
16-Bit HDF Gain Compensation Number - the multiplier portion.
Range: 1
≤
Scale Factor < 2,
Field Format = 2
0
.2
-1
...2
-15
.
Calculate the value for this field using this equation:
Scale Factor = 2
CEILING(5log
2
(R))
/(R)
5
; where R is the HDF decimation (rate change) factor and CEIL-
ING(x) is equal to x for integer values, otherwise is equal to the next higher integer.
Common HDF decimation factors (R), decimation counter preload (DCP) and Scale Factors (SF) values:
Note that the Scale Factor is 1 (8000hex) for power of 2 decimation factors.
The compensation for the HDF gain is performed with a shifter and a multiplier. Thus to program the HDF
Gain compensation, there is an associated Shift Factor and the Scale Factor. As the Decimation Factor
increases, the multiplier moves away from the value 1 and approaches the value 2. When the calculated
value for the multiplier equals or exceeds 2, the shifter is incremented and the multiplier returns to 1 and
increases towards 2 again as the Decimation Factor increases.
As an example, the table below details the values of Scale Factor for values of R from 16 to 32:
4-3
Output
Format
00 = Two’s Complement
01 = Offset Binary
10 = Sign Magnitude
11 = Single Precision Floating Point Format
TABLE 8. HDF/OUTPUT REGISTER (Continued)
DESTINATION ADDRESS = 5
BIT
POSITION
FUNCTION
DESCRIPTION
R
DCP(dec)
DCP(hex)
000f
007f
01ff
03ff
07ff
0fff
1fff
3fff
7fff
SF(dec)
1.000
1.000
1.00
1.000
1.000
1.000
1.00
1.00
1.000
SF(hex)
8000
8000
8000
8000
8000
8000
8000
8000
8000
16
128
512
15
127
511
1,024
2,048
4,096
8,192
16,384
32,768
1,023
2,047
4,095
8,191
16,382
32,768
R
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
DCP(dec)
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
DCP(hex)
000f
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
001a
001b
001c
001d
001e
001f
SF(dec)
1.000000000
1.477013647
1.109857915
1.693916116
1.310720000
1.026983417
1.627707993
1.303318981
1.053497942
1.717986918
1.412060017
1.169233029
1.949663831
1.635911864
1.380840823
1.172037271
1.000000000
SF(hex)
8000
BD0E
8E0F
D8D2
A7C5
8374
D058
A6D3
86D9
DBE6
B4BE
95A9
F98E
D165
B0BF
9605
8000
HSP50016