Omega Vehicle Security DAQ-16 user manual Unipolar Bipolar Binary 2s complement

Page 12

The final stage of the A/D converter circuit is the A/D converter IC. The converter must be configured for unipolar or bipolar input voltages and for binary or 2's complement data conversion. These options are selected using jumper J5 as shown in Figure 2-3 below.

 

 

J5

 

 

 

J5

 

 

4

5

 

6

4

5

6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

2

 

3

1

2

3

 

 

Unipolar

 

 

Bipolar

 

 

J5

 

 

 

 

J5

 

 

4

5

 

6

4

5

6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

2

3

1

2

3

 

Binary

 

2's complement

Figure 2-3. Jumper J5 Configuration

To simplify the following discussions, a new variable, Vmax, is introduced. Vmax is defined as the maximum input voltage amplitude and is equal to the A/D range selected by jumper J6 divided by the amplifier gain defined by jumper J7. In equation form:

A/D range Vmax = ---------------

amp. gain

When configured for unipolar operation, the input voltage may range from 0 volts (analog ground) to Vmax volts as defined above. When configured for bipolar operation, the input voltage may range from -Vmax volts to +Vmax volts.

The digital "code" generated for any specific voltage is dependent upon the operating mode: unipolar or bipolar; and the data conversion format: binary or 2's complement. Binary conversion will result in unsigned integers ranging from 0 to 65,535, while 2's complement conversion will produce signed integers ranging from -32,768 to +32,767. Table 2-2 lists A/D conversion format examples. Unipolar entries marked “n/a” are not applicable because the voltage is outside of the unipolar voltage range.

DAQ-16 Users Manual

12

Image 12
Contents 15,1*,1 WARRANTY/DISCLAIMER Servicing North America For immediate technical or application assistanceServicing Europe Page Manufacturers Name Manufacturers AddressApplication of Council Directive Standards to which Conformity is DeclaredTable of Contents List of Figures and Tables Installation IntroductionDAQ-16 Specifications Analog to Digital Converter Maximum Input Voltage Amplifier RangeJumper J7 Configuration Volt range Unipolar Bipolar Binary 2s complement Voltage Binary ’s Complement Digital to Analog Converters Digital Input/Output Channel BipolarUnipolar Gain =Base Address I/O Base Address SelectionClock Selection Internal Clock External Clock Trigger Selection Start of ConversionDirect Memory Access 10. Jumpers J8 and J9 ConfigurationInterrupts External InterruptExternal Connections Page Register Description Control Word RegisterCHSL2 CHSL1 CHSL0 Multi-Function Timer Register Start of Conversion Register3 DAC0 Register 4 DAC1 RegisterProgramming the 8254 Counter/Timer Counter 1 Clock rate register high word Version January 28