“PRODUCTS MANUFACTURED BY CAMPBELL SCIENTIFIC, INC. are
warranted by Campbell Scientific, Inc. (“Campbell”) to be free from defects in
materials and workmanship under normal use and service for twelve (12)
months from date of shipment unless otherwise specified in the corresponding
Campbell pricelist or product manual. Products not manufactured, but that are
re-sold by Campbell, are warranted only to the limits extended by the original
manufacturer. Batteries, fine-wire thermocouples, desiccant, and other
consumables have no warranty. Campbell’s obligation under this warranty is
limited to repairing or replacing (at Campbell’s option) defective products,
which shall be the sole and exclusive remedy under this warranty. The
customer shall assume all costs of removing, reinstalling, and shipping
defective products to Campbell. Campbell will return such products by surface
carrier prepaid within the continental United States of America. To all other
locations, Campbell will return such products best way CIP (Port of Entry)
INCOTERM® 2010, prepaid. This warranty shall not apply to any products
which have been subjected to modification, misuse, neglect, improper service,
accidents of nature, or shipping damage. This warranty is in lieu of all other
warranties, expressed or implied. The warranty for installation services
performed by Campbell such as programming to customer specifications,
electrical connections to products manufactured by Campbell, and product
specific training, is part of Campbell’s product warranty. CAMPBELL
EXPRESSLY DISCLAIMS AND EXCLUDES ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. Campbell is not liable for any special, indirect,
incidental, and/or consequential damages.”
Assistance
Products may not be returned without prior authorization. The following
contact information is for US and international customers residing in countries
served by Campbell Scientific, Inc. directly. Affiliate companies handle
repairs for customers within their territories. Please visit
www.campbellsci.com to determine which Campbell Scientific company serves
your country.
To obtain a Returned Materials Authorization (RMA), contact CAMPBELL
SCIENTIFIC, INC., phone (435) 227-9000. After an applications engineer
determines the nature of the problem, an RMA number will be issued. Please
write this number clearly on the outside of the shipping container. Campbell
Scientific’s shipping address is:
CAMPBELL SCIENTIFIC, INC.
RMA#_____
815 West 1800 North
Logan, Utah 84321-1784
For all returns, the customer must fill out a “Statement of Product Cleanliness
and Decontamination” form and comply with the requirements specified in it.
The form is available from our web site at www.campbellsci.com/repair. A
completed form must be either emailed to repair@campbellsci.com or faxed to
(435) 227-9106. Campbell Scientific is unable to process any returns until we
receive this form. If the form is not received within three days of product
receipt or is incomplete, the product will be returned to the customer at the
customer’s expense. Campbell Scientific reserves the right to refuse service on
products that were exposed to contaminants that may cause health or safety
concerns for our employees.
Table of Contents
PDF viewers: These page numbers refer to the printed version of this document. Use the
PDF reader bookmarks tab for links to specific sections.
5-1. Single Loop Instruction Sequence......................................................17
iii
Table of Contents
iv
Cautionary Notes
The AM16/32B is not designed to multiplex power. Its intended function is to
switch low level analog signals. Switched currents in excess of 30 mA will
degrade the relay contacts involved, rendering that channel unsuitable for
further low level analog measurement. Customers who need to switch power
are directed to Campbell Scientific’s SDM-CD16AC, A6REL-12, or
A21REL-12 relays.
Changing the setting of the mode switch from “4x16” to “2x32” connects
COM ODD H to COM EVEN H and also COM ODD L to COM EVEN L.
After wiring AM16/32B, exercise due care to avoid inadvertently putting
excess voltage on a line or short circuiting a power supply which might
damage connected devices such as datalogger, wiring panel, sensor, or
multiplexer (not covered under warranty).
v
vi
AM16/32B Relay Multiplexer
1. Function
The primary function of the AM16/32B Multiplexer is to increase the number
of sensors that can be measured by a CR1000, CR3000, CR800, CR850,
CR23X, CR10(X), 21X, or CR7 datalogger. The AM16/32B is positioned
between the sensors and the datalogger. The AM16/32B is a replacement for
Campbell Scientific’s AM16/32A model. The hardware is the same as the
AM16/32A model. The AM16/32B adds a mode to address an individual
relay. Mechanical relays in the AM16/32B connect each of the sensor
channels in turn to a common output destined for the datalogger. The user
program advances the multiplexer through the sensor channels making
measurements and storing data.
A slide switch located on the AM16/32B’s top panel selects one of two modes
of operation. In “2x32” mode the multiplexer can scan 32 sensor input
channels, each with two lines. In “4x16” mode it can scan 16 input channels
with four lines a piece. The datalogger program is written according to the
selected mode and the sensors to be measured.
The maximum number of sensors that can be multiplexed by an AM16/32B
depends primarily on the type(s) of sensors to be scanned. The following
guidelines assume identical sensors:
Up to 32 single-ended or differential analog sensors that do not require
excitation. For example: pyranometers and thermocouples (see Section 6.1,
Single-Ended Analog Measurement without Sensor Excitation, Section 6.2,
Differential Analog Measurement without Sensor Excitation, and Section 6.6,
Thermocouple Measurement).
Up to 32 single-ended sensors that require excitation. Example: some half
bridges (see Section 6.3.1, Half Bridge Measurement with Completion Resistor at Datalogger).
Up to 16 single-ended or differential sensors that require excitation. Examples:
full bridges and four-wire half bridge with measured excitation (see Section
6.3.3, Four Wire Half Bridge, and Section 6.4, Full Bridge Measurements).
In conjunction with a second AM16/32B, up to 16 six-wire full bridges
(Section 6.5, Full Bridges with Excitation Compensation).
1.1 Typical Applications
The AM16/32B is intended for use in applications where the number of
required sensors exceeds the number of datalogger input channels. Most
commonly, the AM16/32B is used to multiplex analog sensor signals, although
it can also be used to multiplex switched excitations, continuous analog
outputs, or even certain pulse counting measurements (those that require only
intermittent sampling). It is also possible to multiplex sensors of different, but
compatible, types (for example, thermocouples and soil moisture blocks, see
Section 6.7.1, Mixed Sensor Example: Soil Moisture Blocks and Thermocouples).
1
AM16/32B Relay Multiplexer
NOTE
For a discussion of single-ended versus differential analog
measurements, please consult the measurement section of your
datalogger manual.
As purchased, the AM16/32B is intended for use in indoor, non-condensing
environments. An enclosure is required for field or high humidity use. In
applications where one or two multiplexers are deployed, the ENC10/12
(10” x 12”) enclosure is recommended.
1.2 Compatibility
The AM16/32B is compatible with Campbell’s CR5000, CR800, CR850,
CR3000, CR1000, CR23X, CR10(X), 21X, and CR7 dataloggers.
The AM16/32B is compatible with a wide variety of commercially available
sensors. As long as relay contact current maximums are not exceeded (see
Cautionary Notes, page v), and no more than four lines are switched at a time,
system compatibility for a specific sensor is determined by sensor-datalogger
compatibility.
In CR1000, CR800, CR850, CR3000, CR23X, and CR10(X) applications, the
AM16/32B may be used to multiplex up to 16 Geokon vibrating wire sensors
through one AVW1 vibrating wire interface. The AM16/32B can also be used
to multiplex vibrating wire sensors connected to the AVW200 or AVW206.
2. Physical Description
The AM16/32B is housed in a 10.2 x 23.9 x 4.6 cm (4.0 x 9.4 x 1.8 in)
anodized aluminum case (FIGURE 2-1). The aluminum case is intended to
reduce temperature gradients across the AM16/32B’s terminal strips. An
aluminum cover plate is also included to this end, and its use is extremely
important if thermocouples are being multiplexed (Section 6.6, Thermocouple Measurement).
The case can be opened for inspection/cleaning by removing two Phillips-head
screws located on the underside of the case. Mounting tabs are provided so the
AM16/32B can be fastened to a flat surface or an enclosure plate (Section 8,
Installation).
All connections to the AM16/32B are made on the top panel terminal blocks.
The island of four terminals located near the mode switch are dedicated to the
connecting of datalogger power and control lines (Section 4.1, The Control Terminals). The four ODD and EVEN COM terminals on the other side of the
mode switch carry shielded multiplexed sensor signals destined for datalogger
analog inputs. The remaining terminals on the AM16/32B are for sensor and
sensor shield connection (Section 4.2, Measurement Terminals). All of the
inputs of the AM16/32B are protected with gas tubes. The terminals accept
stripped and tinned lead wires up to 16 AWG or 1.6 mm in diameter.
Datalogger-to-AM16/32B cabling requires a minimum of six and as many as
nine individually insulated wires with shields.
2
FIGURE 2-1. AM16/32B Relay Multiplexer
AM16/32B Relay Multiplexer
3. AM16/32B Specifications
Power*: Unregulated 12 Vdc
Minimum
Operating Voltage: from –55° to +40°C = 11.3 Vdc
from +40° to +85°C = 11.8 Vdc
(See FIGURE 3-1 for relay actuation times vs.
Current Drain
Quiescent: <210 µA
Active:6 mA typical in “2 x 32” mode
11 mA typical in “4 x 16” mode
Reset*: A continuous signal between 3.3 Vdc and
Clock*: On the transition from <1.5 V to >3.3 V, a scan
temperature and supply voltage.)
8 Vdc holds the AM16/32B in an active state
(where a clock pulse can trigger a channel
advance). A signal voltage <0.9 Vdc
deactivates the AM16/32B (clock pulse will
not trigger a scan advance; AM16/32B is also
reset).
advance is actuated on the leading edge of the
clock signal; clock pulse should be a minimum
of 1 ms wide; maximum voltage is 8 Vdc.
Operational Temperature
Standard: –25° to +50°C
Extended: –55° to +85°C
Operational Humidity: 0 to 95%, non-condensing
3
AM16/32B Relay Multiplexer
Dimensions
Length: 23.9 cm (9.4 in)
Width: 10.2 cm (4.0 in)
Depth:4.6 cm (1.8 in)
Weight: 693 g (1.5 lb) (approx.)
Mounting Tab
Hole Spacing: 1 x 3 x 9 in. Up to 1/8 in or 3 mm diameter
screws (see FIGURE 8-1).
Expandability** (nominal): 2 AM16/32Bs per CR800/CR850
4 AM16/32Bs per CR3000
4 AM16/32Bs per CR5000
4 AM16/32Bs per CR1000
4 AM16/32Bs per CR23X
4 AM16/32Bs per CR10(X)
4 AM16/32Bs per 21X
8 AM16/32Bs per CR7 725 Card
Maximum Cable Length: Depends on sensor and scan rate. In general,
longer lead lengths necessitate longer
measurement delays. Refer to datalogger
manual for details.
Initial contact bounce: <1 ms
Contact material: Gold clad silver alloy
Wiper to N.O. contact
capacitance: 0.5 pF
Typical low-current
(<30 mA) life: 5 x 10
7
operations
Relay Switching
Thermal emf: 0.3 µV typical; 0.5 µV maximum
Characteristics (applying 11.3 – 14 Vdc)
Operate time: <10 ms over temperature and supply ranges
Break-before-make guaranteed by design.
Relays disengage from previous selected
channel before engaging next channel.
ESD
Air Discharge: complies with IEC61000-4-2, test level 4
(±15 kV)
Contact Discharge: complies with IEC61000-4-2, test level 4
(±8 kV)
4
AM16/32B Relay Multiplexer
Surge: Complies with IEC61000-4-5, test level 3
(±2 kV, 2 ohms coupling impedance)
*
Reset and clock protected by 8V varistors; +12V input is protected by +16V transzorb.
**
Assumes sequential activation of multiplexers and that each datalogger channel is uniquely
dedicated. If your application requires additional multiplexing capability, please consult Campbell
Scientific for application assistance.
***
Switching currents greater than 30 mA (occasional 50 mA current is acceptable) will degrade
the contact surfaces of the mechanical relays (increase their resistance). This will adversely affect
the suitability of these relays to multiplex low voltage signals. Although a relay used in this
manner no longer qualifies for low voltage measurement, it continues to be useful for switching
currents in excess of 30 mA.
12.0
10.0
4. Operation
8.0
6.0
4.0
2.0
RELAY ACTUATION TIME (ms)
0.0
10
9.6
10.9
11.3
11.7
12.1
10.4
10.8
12.512.9
11.2
12
13.3
13.7
11.6
14.1
12.4
12.8
14.514.9
13.2
14
15.3
15.7
13.6
16.1
14.4
14.8
16.516.9
15.2
16
17.3
15.6
POWER SUPPLY VOLTAGE
65C50C25C-25C
FIGURE 3-1. AM16/32B relay actuation time vs. temperature and
battery voltage
Section 4.1, The Control Terminals, discusses the terminals that control
operation of the multiplexer. These terminals are located at the left-hand side
of the multiplexer as shown in FIGURE 2-1. Section 4.2, Measurement Terminals, discusses the use of sensor measurement terminals.
4.1 The Control Terminals
The CABLE4CBL cable is used to connect the control terminals. The
CR5000, CR3000, CR800, CR850, CR1000, CR23X, CR10(X), 21X, and CR7
5
AM16/32B Relay Multiplexer
RES
CLK
GND
12V
O
N
dataloggers connect to the AM16/32B as shown in FIGURE 4-1 (“4x16”
mode). FIGURE 4-1 depicts control connections. Measurement connections
are discussed in Section 6, Sensor Hookup and Measurement Examples. The
power, ground, reset, and clock connections remain essentially the same
regardless of datalogger used.
With the CR5000, CR3000, CR800, CR850, CR1000, CR23X, and CR10(X),
the datalogger 12 Vdc supply and ground terminals are connected to the
AM16/32B 12V and ground terminals. One control port is required for
clocking and a second control port for reset. The cable’s shield is grounded on
both ends as illustrated in FIGURE 4-1.
MUXPOWER
SHIELD
CR10X,
CR800,
CR850
G G
12 V 12 V 12 V
CR3000,
CR1000
CR23X,
CR5000
21X
+12 V 12 V
CR7
4.1.1 Reset
G G G
C1-C4 C1-C8 C1-C8 EXCIT 1-4 EXCITATION
C1-C4 C1-C8 C1-C8 C1-C8
725 Card
Control
FIGURE 4-1. AM16/32B to datalogger power/control hookup using
CABLE4CBL cable
With the 21X or CR7, the AM16/32B connects to the 12 Vdc and “
”
terminals for power. One control port is used for reset, and one switched
excitation channel is used for clock (on 725 card with CR7). If a switched
excitation port is not available, an additional control port can be used to
provide clock pulses to the multiplexer.
The reset (“RES”) line is used to activate the AM16/32B. A signal in the range
of +3.3 to +8 Vdc applied to the reset terminal activates the multiplexer. When
this line drops lower than +0.9 Vdc, the multiplexer enters a quiescent, lowcurrent-drain state. In the quiescent state, the common (COM) terminals are
electrically disconnected from all of the sensor input channels. Reset should
always connect to a datalogger control port. The CR800, CR850, CR3000,
CR5000, and CR1000 use the PortSet() instruction to control the reset line.
Instruction Do (P86) (option code 41 – 48 to activate, and 51 – 58 to
deactivate) is generally used to activate/deactivate the multiplexer when using
an Edlog datalogger; however, in the case of the 21X or CR7 with older
PROMS, instruction Set Port (P20) is commonly used.
6
4.1.2 Clock
AM16/32B Relay Multiplexer
Pulsing the AM16/32B “CLK” line high (“RES” line already high) advances
the channel. The voltage level must fall below 1.5 Vdc and then rise above 3.3
Vdc to clock the multiplexer.
The AM16/32B operates in one of two clocking modes:
Mode A—sequentially advances through each relay channel (as long as
RESET is HI, relays are closed on each rising CLK edge). A more detailed
description of Mode A is provided in Section 4.1.2.1, Mode A.
Mode B—uses a relay address to go directly to a specific channel (see
FIGURE 4-2). This reduces power consumption and wear on the relay
switches. When multiple sensor types are connected to the AM16/32B, Mode
B allows one sensor type to be measured more frequently than the other sensor
types. A more detailed description of Mode B is provided in Section 4.1.2.2,
Mode B.
The AM16/32B detects a certain sequence on the RESET and CLK inputs to
determine if it should operate in Mode A or Mode B; it does this every time the
RESET line goes from LO to HI.
4.1.2.1 Mode A
NOTE
4.1.2.2 Mode B
The AM16/32B operates in Mode A under the following circumstances:
• RESET HI for more than 9 ms.
• A CLK pulse occurs while RESET is HI.
When reset first goes high, the COM terminals (ODD H, ODD L and EVEN H,
EVEN L) are disconnected from all sensor input terminals. When the first
clock pulse arrives, the COM terminals are switched to connect with sensor
input channel 1 (blue lettering) consisting of 1H, 1L, 2H, and 2L. When a
second clock pulse arrives, the common lines are switched to connect to
channel 2 (3H, 3L, 4H, 4L). The multiplexer advances on the leading edge of
the positive going clock pulse.
The CLK pulse should be at least 1 ms long. A delay (typically
10 to 20 ms) is inserted between the beginning of the CLK pulse
and the measurement instruction to ensure sufficient settling time
to relay contacts.
To go into Mode B, the RES line must be set HI for 5 ms (±1 ms) without any
clocking; then, the RES line needs to be set LO. After the RESET has been set
low, the AM16/32B counts the number of CLK pulses that occur before the
RES line is activated again. This number is the relay address. After getting
into Mode B, the rising edge of RESET (<75 ms after last CLK pulse) activates
the addressed relay. Once the addressed relay is activated, the AM16/32B
advances to the next relay with each CLK pulse (see FIGURE 4-2).
7
AM16/32B Relay Multiplexer
5 ms (±1 ms)
5ms (+-2ms)
To Enter B
To EnterB
Address Mode
AddressMode
Reset
Clk
NOTE
If the time between the falling edge of the 5 ms RESET pulse
and the next rising edge of RESET or CLK is longer than 125
ms, the AM16/32B will go into Mode A.
Section 4.1.2.3, Datalogger Connection/Instruction, includes a portion of a
CR1000 program that shows the instructions used to go into Mode B and jump
to channel 6.
(0 – 75 ms) Note: if > 125 ms the B Address mode
(0 - 100ms)Note: if>100ms the BAddress mode
is Aborted. Also, Abort can happen if > 125 ms
is Aborted.Also,Abort can happen if>100ms
> 1 m s
> 1 m s
time between Clk’s.
time between Clk's
Enters B addressing
mode
Address=Chan 3
FIGURE 4-2. Diagram showing advancement of channels using
clocking Mode B
4.1.2.3 Datalogger Connection/Instruction
With the 21X and CR7 d
clock the multiplexer (instruction Excitation with Delay (P22) configured fo
5000 mV excitation). If no switched excitation channel is available, it is
possible to clock using control ports. See Section 5.1, CRBasic Programm
for details.
In the case of the CR5000, CR3000, CR800, CR850, CR1000, CR23X, and
CR10(X), a control port is generally used to clock the multiplexer. Instruction
Do (P86) with the pulse port option (command code 71 through 78) generates a
10 ms pulse which works well.
The CR5000, CR3000, CR800, CR850, and CR1000 uses a control port
controlled by PortSet(), Delay(), and SubScan()/NextSubScan to create
Clock pulses (see program example in Section 5.3, General Programming Considerations).
Chan 3 Selected
(Relays make contact)
Advance to Chan 4
(Re la ys m akes c onta ct)
Note: if the B m od e is aborted,
then this event would select
Mux Chan 1
ataloggers, switched excitation is generally used to
the
r
ing,
8
If several multiplexers are required, a CR5000, CR3000, CR800, CR850,
CR1000, CR10(X), or CR23X control port can source sufficient current to
drive up to six AM16/32B CLK or RES inputs wired in parallel.
AM16/32B Relay Multiplexer
' ***** ' "Jump" AM16/32B directly to Channel 6
Scan (100,mSec,0,1)
PortSet(5,1) 'Raise Reset line
Delay (0,5,mSec) 'Keep reset HI for 5 ms
PortSet(5,0) 'Reset line set LO (enters "B Addressing" mode)
Delay (0,3,mSec)
For i = 1 To 6 'Pulse CLK line 6 times - addresses Channel 6
PortSet(6,1) 'Raise CLK
Delay (0,10,mSec)
PortSet(6,0)'Drop CLK
Delay (0,10,mSec)
Next i
Delay (0,5,mSec)
PortSet(5,1) 'Raise Reset - selects Channel 6 (relays make contact)
NextScan
4.1
.3 Ground
he AM16/32B has a ground lug that should be connected to earth ground via
T
an 8 AWG wire. This connection should be as short as possible. The ground
lug provides a path to dissipate surges that might propagate on a sensor’s shield
line. An 8-V, bi-polar transzorb connects shield ground to the ground lug.
The AM16/32B “GND” terminal is connected to datalogger power ground.
The AM16/32B “GND” terminal is also connected to the CABLE4CBL’s
SHIELD and, via that, to datalogger power ground (see FIGURE 4-1). If a
separate power supply is used, the AM16/32B ground should also connect to
the separate supply’s ground (FIGURE 4-3). An AM16/32B COM
should connect to a datalogger ground terminal (“
that connects the COM terminals (see Section
” or “G”) via the cable
4.2.1, COM Terminals, and
FIGURE 4-4). The datalogger must connect to earth ground by one of the
methods described in the installation and maintenance section of yo r
u
datalogger operator’s manual.
terminal
4.1.4 Power Supp
ly
The AM16/32B requires a contin
multiplexer’s current drain is less than 210 microamps in the quiescent state
and
is typically 6 to 11 milliamps at 12 Vdc when active (see current drain
spec
). The power supply is connected to the multiplexer terminals labeled
“12V” (+) and “GND”. Connect the “GND” wire first for safety.
In many applications, it is convenient to power the AM16/32B from a
datalogger battery. For more power-intensive applications, an external,
rechargeable, 12 Vdc, 60 A h source may be advisable. Lead-acid
recommended where solar or AC charging sources are available because they
handle well being “topped off” by constant charging. The BPALK alka
supply (12 A h) can be used to power the AM16/32B in applications wher
average system current is low, or where it is convenient to frequently replace
batteries. It is advisable to calculate the total power requirements of a system
and the expected longevity of the power supply based on average system
current drains (for example, datalogger, multiplexer, other peripherals, and
sensors) at the expected ambient temperatures.
uous 12 Vdc power supply for operation. The
supplies are
line
e the
9
AM16/32B Relay Multiplexer
The average power required to operate an AM16/32B depends on the
percentage of time it is active per time period. For example, if a CR10X makes
differential measurements on 32 thermocouples every minute, the average
current drain due to the AM16/32B would be about ((.030 s/chan x 32 chan)/
60 s) x 6 mA = 0.1 mA. Under the same conditions, a 2-second execution
interval rate increases the average system current drain to about ((.030 s/chan x
32 chan)/2 s) x 6 mA = 2.9 mA. At a minimum, the power supply must be able
to sustain the system between site visits anticipating the worst environmental
extremes.
If a 21X power supply is used to power the AM16/32B, all low-level analog
measurements (thermocouples, pyranometers, thermopiles, etc.) must be made
differentially. Differential measurements are required because slight ground
potentials are created along the 21X analog terminal strip when the 12V supply
is used to power peripherals. This limitation reduces the number of available
analog input channels and may mandate the use of an external power supply
for the AM16/32B (FIGURE 4-3).
FIGURE 4-3. Power and ground connections for external power supply
Low supply voltage and high ambient temperatures affect the actuation time of
the multiplexer relays (FIGURE 3-1). If your program does not allow the relay
contacts sufficient time to close before a measurement is started, the result will
be inaccurate or overranged values.
4.2 Measurement Terminals
Most of the terminals on the AM16/32B are dedicated to the connection of
sensors to the multiplexer (FIGURE 2-1). Depending on the panel switch
selection (“4x16” or “2x32” mode), the sensor input terminals are organized
into 16 groups (blue letters) of 4 sensor inputs or 32 groups (white letters) of 2
sensor inputs. The terminals accept solid or tinned, stripped sensor leads. The
four COM terminals marked ODD H, L and EVEN H, L located by the mode
switch provide for attachment of the common signal leads that carry
multiplexed sensor signals to the datalogger.
AM16/32B
10
AM16/32B Relay Multiplexer
COM
ODD
4X16
HL
EVEN
HL
O
N
4.2.1 COM Termin
als
A CABLE3CBL, CABLE4CBL, or CABLE5CBL cable is used to connect the
datalogger to the COM terminals. The CABLE3CBL is recommended when
the AM16/32B is used in the 4x16 mode. The CABLE4CBL is typically used
for the 4x16 mode. The CABLE5CBL is recommended for the 4x16 mode
when it is desirable to connect both shields.
The four terminals dedicated to multiplexer-datalogger connection are located
under the bl
ue COM next to the mode switch. The terminals are labeled: ODD
H, ODD L, EVEN H, and EVEN L. In “4x16” mode the AM16/32B maintain
s
the four COM terminals electrically isolated from one another. In “2x32”
mode, the AM16/32B maintains an internal connection between ODD H and
EVEN H and between ODD L and EVEN L.
Common “
terminals. They bus internally to the
AM16/32B and are connected at all times (not switche Their function is to
provide a path to ground for sensor cable shields. A C
” terminals are provided next to the COM ODD and COM EVEN
other thirty-two “
” terminals on the
d).
terminal should
OM
be wired to datalogger ground via the cable’s shield according to the following
table.
CABLE
MUXSIGNAL
SHIELD
CR10X CR23X CR1000
G
E1-E3 EX1-EX4 EX1-EX3 or
SE3 SE3 SE3 SE3 2H 2H SE3
SE2 SE2 SE2 SE2 1L SE2
SE1 SE1 SE1 SE1 1H 1H SE1
VX1-VX3
CR3000,
CR5000
VX1-VX4 EXCITATION SWITCHED
21X
ANALOG OUT
1L
CR7
CR800,
CR850
EX1-EX2 or
VX1-VX2
FIGURE 4-4. Typical AM16/32B to datalogger signal hookup (4x16
mode) using CABLE4CBL cable
4.2.2 Sensor Inpu
t Terminals
The terminals for sensor attachment are divided into 16 groups (panel switch
set to “4x16”) or into 32 groups (panel switch set to “2x32”). The groups
consist of four or two Simultaneously Enabled Terminals (SETs). With panel
switch set to “4x16” mode, the blue channel numbers apply. The SETs are
numbered starting at 1 (1H, 1L, 2H, 2L) and continuing until SET 16 (31H,
31L, 32H, 32L).
In “4x16” mode, the odd numbered terminals (example: 5H, 5L) are relay
switched to the COM ODD terminals while the even terminals (6H, 6L) are
switched to the COM EVEN terminals. When activated by the RES line being
high, as the AM16/32B receives clock pulses from the datalogger, each SET of
four in turn is switched into contact with the four COM terminals. For
example, when the first clock pulse is received from the datalogger, SET 1
11
AM16/32B Relay Multiplexer
(1H, 1L, 2H, 2L) are connected with COM (ODD H, ODD L, EVEN H, EVEN
L) terminals respectively. When the second clock pulse is received, the first
SET is switched out (channel 1 sensor inputs become open circuits) and SET 2
(3H, 3L, 4H, 4L) are connected to the four COM terminals. A given SET will
typically be connected to the common terminals for 20 ms.
5. Datalogger P
With panel switch set to “2x32” mode, the w
SETs are labeled beginning with 1H, 1L and ending with 32H, 32L. In “2x32”
mode when the AM16/32B selects a given channel, the “H” sensor terminal is
relay connected to both COM “H” terminals and the “L” sensor terminal is
connected to both COM “L” terminals (COM ODD H connects to COM EVEN
H and COM ODD L connects to COM EVEN L when panel switch is in
“2x32” mode).
hite channel numbers apply. The
rogramming
SCWin Short Cut Program Builder for Windows can build many program
configurations for various supported sensors providing a quick way to generate
a program and wiring diagram (FIGURE 5-1). SCWin can be downloaded fre
of charge (www.campbellsci.com).
e
12
FIGURE 5-1. SCWin (Short Cut for Windows program builder)
AM16/32B Relay Multiplexer
5.1 CRBasic P
rogramming
The CR5000, CR800, CR850, CR3000, and CR1000 are programmed with
CRBasic. The PortSet() instruction enables or disables the multiplexer and the
SubScan()/NextSubScan instruction begins/ends the measu
program must also specifically increment an index variable and use that
variable to determine where each measurement is stored. The generalized
CRBasic programming sequence follows:
ACTIVATE MULTIPLEXER/RESET INDEX
Portset (1 ,1) 'Set C1 high to Enable Multiplexer
I=0
BEGIN ME
SubScan(0,sec,16) 'Measures 16 sets
CLOCK PULSE AND D
Portset (2,1
Delay (0,20,mSec)
Portset (2,0) ‘Set port 2 low
INCREMENT INDEX AND MEASURE
I=I+1
'User specified m
‘Storing results in Variable(I)
END MEASUREMENT LOOP
NextSubScan
DEACTIVATE MULTIPLEXER
Portset (1 ,0) 'Set C1 Low to disable Multiplexer
ASUREMENT LOOP
ELAY
) ‘Set port 2 high
easurement instruction
rement loop. The
NOTE
The CRBasic instructions used to program the multiplexer are described below.
PortSet Syntax:
PortSet( Port
Where,
Port: the datalogger control port being used.
State: 0 = Set port low;
Non-zero = Set port high.
PortSet must appear within a Scan/NextScan loop or a compiler
error will occur. This instruction must NOT be placed inside a
conditional statement when running in pipeline mode.
SubScan/NextSubScan Syntax:
SubScan (SubInterval
NextSubScan
Where:
SubInterval: constant that designates the time interval between subsca
Enter 0 for no delay between subscans.
, State )
, Units, Count)
ns.
13
AM16/32B Relay Multiplexer
Units: the unit of time to
alphabetical code can
Numeric Alpha Description
0 μsec microseconds
1 msec milliseconds
2 sec seconds
3 min minutes
Cou() will run each time the scan runs.
nt: the number of times the SubScan
Basiumber of sets on the multiplexer that you
cally, the count parameter is the n
will rule, if your instruction is
be using for this SubScan() inst ction. For examp
Subx32 mode, this instruction will
Scan(0,μSec,7) and you are in the in 2
meaorhite) on the multiplexer.
sure the first seven differential p ts (numbers in w
If yol measure the first seven sets of
u are in the 4x16 mode, this instruction wil
fourers in blue).
on the multiplexer (numb
It ma of your measurement
y be desirable to use the repetition parameter
instr() and NextSubScan. The repetitions
uctions that are between SubScan
paransors per instruction that you will be measuring.
meter is the number of se
For ee 2x32
xample, if you are using th mode and the program contains the
following:
be used for the SubInterval parameter. A numeric or
be entered.
SubScan(1,μSec,7)
VoltDiff (De
NextSubScan
You will
differential instruction has a repetition parameter of 1. A total of seven
differential sensors are measured because the
SubScan() instruction is 7.
You will be measuring two differential sensors per subscan because the
differential instruction has a repeti
differential sensors will be measured b
SubScan() instruction is 7 (i.e., 2 measurement per subscan x 7 subscans =14).
be making one measurement per differential instruction because the
the 4ontains the following:
st,1,mV5000,1,True,0,250,1.0,0)
tion parameter of 2. A total of 14
ecause the count parameter of the
5.1.1 CR1000, CR800, and CR850 Programming
Although the following example is a CR1000 program, a similar program can
be used for the CR800 or CR850. This CR1000 program uses the AM16/32
to measure 48 CS616 probes connected i
program also measures datalogger battery voltage and temperature.
n the 4x16 configuration. The
count parameter of the
B
14
AM16/32B Relay Multiplexer
Wiring for CR1000 Program Example
CR1000 AM16/32B (4x16) CS616*
ol/ComContrmon
ensor
S
Terminals
C4 ES d H CS616#1_Green ROd
C5 CLK dd L CS616#2_Green O
12 V 12 V Gnd #1,2,3_Blk & Clear
Gnd Gnd Even H CS616#3_Green
1H COM Odd H Even L #1,2,3_Orange
1L COM Odd L
Gnd Gnd
2H COM Even H
C6 COM Even L
*Three sensors to each set of AM16/32B terminals.
CR1000 Program E
'Declare Public &
Public batt_volt
Public Panel_temp
Public Period(48)
Public VWC(48)
Public Flag(1)
Dim I
'Define Data Tables
DataTable (Dat30min,1,-1)
DataInterval (0,30,Min,10)
Minimum (1,batt_volt,FP2,0,False)
Average (1,Panel_temp,FP2,0)
Sample (48,Period(),FP2)
Sample (48,VWC(),FP2)
EndTable
'Main Program
BeginProg
Scan (5,Sec,0,0) 'scan instructions every 5 sec
Battery (Batt_volt)
PanelTemp (Panel_temp,250)
'
'Set flag 1 High every 30 min (Note: User can manually set flag 1 high/low)
If IfTime (0,30,min)Then flag (1)=high '++++++++++++++++++++++++
If Flag(1)=high Then
'measure 48ea CS616 probes on AM16/32B in (4x16) mode
PortSet (4,1) 'Set Mux Reset line High
'
I=1 'set sub scan loop counter
SubScan (0,mSec,16)
xample
Dim Variables
15
AM16/32B Relay Multiplexer
PulsePort (5,10000) 'Clock Mux
CS616 (Period(I),3,1.0,3,1,6,0)16 probes 'measure 3ea CS6
I=I+3
NextSubScan
'
For I=1 to 48 616 olumetric Water Content 'convert CSperiod to V
VWC(I)=a0 + a1*od(I) + aiod(I)^2 Peri2*Per
Next
'
PortSet (4,0) x Reset line 'Set Mu Low
flag(1)= low
EndIf ++++++++++++++++ '+++++++++++
'
CallTable Dat30miput Tabln 'Call Outes
NextScan
EndProg
5.1.2 CR5000 and CR3000 Programming
Although the following example is a CR5000 progra
e used for the CR3000. This CR5000 program uses tb
easure 16 100 ohm Platinum Resistance Thermometers connected in the 4x16
m
configur
CR5000 A
ation. The program also measures 6 copper constantan thermocouples.
M16/32B PRT(4 Wires)
m, a similar program can
he AM16/32B to
Control/Common Sensor Terminals
C1 Reset Odd H Excitation
C2 Clock Odd L Excitation Return
IX1 COM Odd H Even H Sense wire excitation side
IXR COM Odd L Even L Sense wire return side
7H COM Even H
7L COM Even L
'CR5000 Example Program to measure 16 100 ohm Platinum Resistance Thermometers
'connected to an AM16/32B multiplexer used in the 4x16 configuration. The program also
'measures 6 copper constantan thermocouples.
'The Thermocouples are connected to differential channels 1-6.
'Declare Variables:
Public TRef, TCTemp(6), PRTResist(16), PRTTemp(16)
Dim I 'Counter for setting Array element to correct value for mux measurement
'Declare Output Table for 15 minute averages:
DataTable (Avg15Min,1,-1)
DataInterval (0,5,Min,10)
Average (1,TRef,IEEE4,0)
Average (6,TCTemp(),IEEE4,0)
Average (16,PRTTemp(),IEEE4,0)
EndTable
I=I+1
'The Resistance measurement measures the PRT resistance:
Resistance (PRTResist(I),1,mV50,7,Ix1,1,500,True ,True ,0,250,0.01,0)
'With a multiplier of 0.01 (1/100) the value returned is R/Ro (Resist/Resist @ 0 deg)
'the required input for the PRT temperature calculation instruction.
NextSubScan
Portset (1 ,0) 'Set C1 Low to disable Multiplexer
'Calculate the Temperature from R/Ro:
PRT (PRTTemp(1),16,PRTResist(1),1.0,0)
CallTable Avg15Min'Call the DataTable
NextScan
EndProg
5.2 og Programming
Edl
Edlog is used to program our CR10(X), 21X, CR23X, and CR7.
5.2.1 Single Loop
Instruction Sequence
When a number of similar sensors are multiplexed and measured, the
Instructions to clock the AM16/32B and to measure the sensors are placed
within a program loop. For the CR23X, CR10(X), 21X, and CR7, the
generalized structure of a program loop is as follows:
TABL Ie
E 5-1. Single Loop nstruction Sequenc
# INCTION FUN STRUCTION
1 Set port high to activat e AM16/32B
2 Begin loop
3 /32B & delay Clock AM16
4 Step loop index
(required in some configurations)
5 Measure sensor
6 Additional processing
7 End loop
8 Additional program loops
9 Set port low to deactivate AM16/32B
#1, #9 Activate/Deactivate the AM16/32B — The control port connected to
reset (RES) is set high to activate the AM16/32B prior to the advance and
measure sequence and set low following the measurement loop(s). For the
CR10X, CR23X, and CR10, 21X, CR7 dataloggers with OS series PROMs,
use instru
with earlier PROMs, use instruction Set Port(s) (P20)
ction Do (P86) to set and reset the port (for CR10, 21X, and CR7
).
#2, #7 Begin and End a Loop — For the CR23X, CR10(X), 21X, and CR7
dataloggers, a loop is defined by instruction Beginning
uction End (P95). Within instruction Beginning oinstr
parameter (iteratio
loop are executed before the program exits the loop.
the
n count) defines the number of times the instructions within
of Loop (P87), and by
f Loop (P87), the 2nd
17
AM16/32B Relay Multiplexer
# 3 Clock and Delay — With the CR23X and CR10(X) the clock line is
connected to a control port. Instruction Do (P86) with t
he pulse port command
(71– 78) pulses the clock line high for 10 ms. Instruction Excitation with
nal 10 mDelay (P22) can be added following the Do (P86) to delay an additio
hen using a 21Xo either an
W or CR7, the clock line may be connected t
excitation or control port. Co
only one instruction Excitation with Delay (
pulse. Tion should be configured
he instruct to provide a 10 ms delay with
nnection to an excitation port is preferred because
P22) is required to send the clock
5000 mV of excitation. A control port can be used to clock the AM16/32B if
n excitation port is not available. The 21X and CR7 instruction sequence
a
ired to clock with a control port is: instruction Set Port(s) (P20) (set port
requ
high), instruction
excitation), follow
Excitation with Delay (P22) (delay 20 ms without
ed by instruction Set Port(s) (P20) (set port low).
s.
# 4 Step Loop Index — With the CR23X, CR10(X), 21X or CR7, instru
ction
Step Loop Index (P90) is used when a measurement instruction within a loop
has more than one repetition. Th
be measured by 2 – 4 analog inp
is instruction allows 2 – 4 sensors per SET to
ut channels. The instruction sends each
measurement value to a sequentially assigned input location without
overwriting any other current iteration value. Without this instruction, the
input location within the loop will advance by only one location per looiteration even though the measurement instruction’s In
Example: 2 sensors per SET, 6 sensors total; two re
measurement instruction; two measurement values a
ions (three.
locat--); P90 step of 2. Loop count of
put Location is indexed.
ps specified in
ssigned to indexed input
p
Input locations
pass:
First
cond pas sensor
Se
rd pass:6 numbers
Thi
Removing the program, the following situation
ults:
res
the step loop instruction from
1 2 3 4 5 6
1 2
s: 3 4
5
Input Locations
pass: 2
First
cond pas sensor
Ses: 3 4
rd pass:bers
Thi 5 6 num
2 3 4 5 6
1
1
18
ithout Step Loop Index (P90) the measurement values for the 2nd and 4th
W
sensors will be overwritten in their input locations. The 1st, 3rd, 5th, and 6th
measurement values will reside in the first 4 input locations.
Step Loop Index (P90) is available in the CR23X, CR10(X), CR7, and 21X
rd
(with 3
PROM). For 21X dataloggers without 3rd PROM (no instruction SteLoop Index (P90)), a separate measurement instruction (with one rep) is
required for each sensor measured within the loop. The input location
parameter within both measurement instructions is index
ed.
For example: 2 sensors per SET; one rep in each of two measurement
instructions; two measurement values assigned to indexed input locations (--),
one begins with input location 1, the other with input location 4; no Step Loop
Index (P90). A total of six sensors to be measured; loop count is three.
p
AM16/32B Relay Multiplexer
Input locations
1 2 3 4 5 6
First pass: 1 2
Second pass: 3 4 sensor
Third pass: 5 6 numbers
A potential drawback of this technique is that sequential sensors (i.e., those
input to the same SET) will not have sequential input locations.
#5 Measure — Enter the instruction needed to measure the sensor(s) (see
Section 6, Sensor Hookup and Measurement Examples). The input location
parameter of a measurement instruction is indexed if a (--) appears to the right
of the input location. Index an input location by pressing “C” after ke
location or by pressing F4 in Edlog while cursor is on the input locati
parameter. Indexing causes the input location to be incremented by 1 with
each pass through the loop. This allows the measurement value to be stored in
sequential input locations. Instruction Step Loop Index (P90), as explained
above, allows the indexed input location to be incremented in integer steps
greater than 1.
ying the
on
NOTE
If more than the datalogger’s default number of input locations
are required, then additional input locations must be assigned
using the datalogger *A mode. Consult your datalogger manual
for details.
#6 Optional Processing — Additional processing is sometimes required to
convert the reading to the desired units. It may be m
essing is doneop. A secproc outside the measurement lo
ng, if necessary
. for processi
ore efficient if this
ond loop can be used
19
AM16/32B Relay Multiplexer
GENERALIZED “4x16” MO10(X), 21X, and CR7 DE PROGRAM LOOPS FOR THE CR23X, CR
21X SAMPLE PROGRAM
* 1 Table 1
Programs
01: 60 Sec.
Execution
Interval
:ACTIVATE MULTIPLEXER
1: Set Port (P20)
1: 1 Set high
2: 1 Port
Number
The ltage, integration time, and delay time associated with
excitation vo
meand the speed at which the channels are advanced can be
suring the signal, a
varied within the datalogger program. In general, longer delay times are
necessary when sensors a
ult your da
Constalogger manual for additional information on these topics.
nd datalogger are separated by longer lead lengths.
6. Sensor Hookup and Measurement Examples
This section covers sensor-to-AM16/32B connections as well as AM16/32B-
24
to-datalogger connections. T
be construed as the o
surement section of your datalo
meagger manual for more information on basic
e measurements. Most of the foll
bridg owing examples do not depict
datas (Section 4.1, The Control
inals), but their pres
Termence is implied and required. Campbell Scientific
recommends that only sensor shield (drain) wires be connected to AM16/32B
shield terminals labeled (“
nly way to make a particular measurement. See the
he following are examples only, and should not
control connectionlogger-to-AM16/32B
”).
AM16/32B Relay Analog Multiplexer
6.1 Single-Ended Analog Measurement without Sensor
Excitation
NOTE
2C1X/
R7
CR10(X)
CR23X/CR3000/
CR800/C
CR1000/C
H H H
AG
G
Sensor to AM
excitation can be c
16/32B Wiring — One single-ended sensor not requiring
onnected to an input SET with panel mode switch set to
“2x32”.
Multiplex
ended a
er to Datalogger Wiring — The COM signal line is input to a single-
nalog input channel. The COM signal-ground line is tied to “
the CR23X, 21X, or CR7, and to “AG” at the CR10(X). Up to 32 single-ended
sensors can be measured by one single-ended datalogger channel in this
manner.
Low level, single-ended measurements are not recommended in
21X applications where the 21X’s internal 12Vdc supply is used
to powe
Power S
R850/
00"2 X 32" Mode
R5000
CABLE3CBL
MUXSIGNAL
r the multiplexer or other peripherals (see Section 4.1.4,
upply).
SHIELD
COM ODD H
COM ODD L
COM
AM16/32B
AM16/32
ODD H
ODD L
(+) SENSOR
(-)
SENSOR SHIELD
” at
21X/
CR7
CR10(X) CR100
H H
L L
G
6.2 Diffe
RE 6-1. Single-ended measurement without excitation FIGU
CR23X/CR3000/
CR800/CR850/
0/CR5000
H
L
00"4 X 16" Mode
COM ODD H
COM ODD L
CABLE3CBL
MUXSIGNAL
SHIELD
COM
AM16/32B
AM16/32
ODD H
ODD L
FIGURE 6-2. Differential measurement without excitation
rential Analog Measurement without Sensor
Exc
itation
Sensor to Multiplexer Wiring — Up to two differential sensors that
require excitation may be connected to one input SET with panel swit
“4x16” mode. Sensor shi
elds are connected to the input
(+) SENSOR
(-)
SENSOR SHIELD
don’t
” terminals.
“
ch set to
25
AM16/32B Relay Analog Multiplexer
S
Multiplexer to Datalogger Wiring — The two pairs of COM terminals (ODD
H, ODD L and EVEN H, EVEN L) are connected to two pairs of differential
analog inputs at the datalogger. Observe H to H and L to L from sensor to
multiple
be measu
xer to analog input. In “4x16” mode up to 32 differential sensors can
red by two differential datalogger channels in this way.
With pan set to “2x32” mode, one differential input can measure up to
el switch
32 differential sensors in SETs of two with appropriate programming.
6.3 Half Bridge Mea
Measure
completince and the presence or absence of measured excitation. If
surements
ments of this type may be subdivided into three categories based on
on resista
the sensor’s completion resistor(s) are installed at the datalogger panel
(ex
thre
6potentioed.
Becauseound may be multiplexed in common, up to two
e: a Campbell Scientific 107 probe modified for multiplexer use), th
amplen
bes per SET may be excited and measured in “4x16” mode (e pro
3). Ho
wever, if the circuit is completed within the sensor (for example,
FIGUR
meters), then excitation, wiper signal, and ground must be multiplex
excitation and gr
sensors per SET may be measured (FIGURE 6-4). If measured excitation is
required (as in four wire half-bridge), then only one sensor per SET of four
may be measured (FIGURE 6-5).
6.3.1 Half Bridge Measurement with Completion Resistor at Datalogger
Sensor to Multiplexer Wiring — Up to three half bridges may be connected to
one input SET in “4x16” mode, provided the sensors’ three completion
resistors are located at the datalogger (FIGURE 6-3).
Multiplexgger Wiring — Signal lines from the multiplexer COM
terminals tie to three consecutive single-ended analog input channels. Three
precision completion resistors connect from analog input channels to analog
ground i
er to Datalo
n CR10(X) or to “
” in the other dataloggers.
E
CR23X/
CR800/
CR850/
CR1000
EX E E VX
H H H H
L L L L
H H H H
21X/
CR7
CR10(X)
AG
G
26
CR3000/
CR5000
FIGURE
"4 X 16" Mode
CABLE5CBL
MUXSIGNAL
SHIELD
COM H (ODD)
COM L
COM H (EVEN)
COM L
COM
SHIELDSENSOR SHIELD
ODD H
ODD L
EVEN H
EVEN L
6-3. Half bridge (modified 107 Temperature Probe) hookup
measurement
and
AM16/32B Relay Analog Multiplexer
S
CR23X/
CR800/
CR850/
CR1000
21X/
CR7
CR10(X)
CR3000/
CR5000
VX EX E E
H H H H
L L L
AG
G
L
MUXSIGNAL
SHIELD
FIGURE 6-4. Potentiometer hookup and measurement (using
CABLE4CBL cable)
6.3.2 Potentiometer Measurement
Sensor to Multiplexer Wiring — If panel switch is set to “4x16” mode
two potentiometers may be connected to one input SET. Excita
leads may be common; signal leads must be ro
COM H (ODD)
COM L
COM H (EVEN)
COM L
COM
"4 X 16" Mode
ODD H
ODD L
EVEN H
EVEN L
SHIELDSENSOR SHIELD
tion and ground
uted separately (FIGURE 6-4).
, up to
Multiplexer to Datalogger Wiring — Signal lines from two COM ter
connected to two consecutive single-ended analog input channels. O
terminal is connected to a datalogger switched excitation channel, and
remaining COM linects to datalogger grou
e connnd. Up to 32 potentiometers
may be measured by two single-ended datalogger channels.
6.3.3 Four Wire Half Bridge (Measured Excitation Current)
Sensor to Multiplexer Wiring — One sensor per input SET. The panel switch
is set to “4x16” mode.
Multiplexer to Datalogger Wiring — One COM line is tied to a datalogger
excitation channel, and two COM lines to a differential analog input. The
remaining COM line is connected to the H side of a datalogger differential
channel along with a fixed resistor. The other side of the resistor connects to
the L side of the differential channel and to ground (FIGURE 6-5). Up to 16
four wire half-bridges may be measured by two differential datalogger
channels in this manner.
minals are
ne COM
the
27
AM16/32B Relay Analog Multiplexer
S
CR23X/
CR800/
CR850/
CR1000
21X/
CR7
CR10(X)
CR3000/
CR5000
EX E E VX
H H H H
L L L L
AG
H H H H
L L L L
G
"4 X 16" Mode
FIGURE
COM H (ODD)
COM L
COM H (EVEN)
COM L
COM
SHIELDSENSOR SHIELD
6-5. Four wire half bridge hookup and measurement
ODD H
ODD L
EVEN H
EVEN L
The CR5000 and CR3000 also have current excitation channels which allow a
resistance measurement. Because
the excitation current is known, it is not
necessary to measure the voltage across a fixed resistor to determine the
current a
Consider
s in FIGURE 6-5. See Section 5.3, General Programming
ations, for an example.
CR23X/
CR800/
CR850/
CR1000
21X/
CR7
CR10(X)
CR3000/
CR5000
EX E E VX
AG
H H H H
L L L L
G
6.4 Full Bridge Measurements
"4 X 16" Mode
FIGURE
COM H (ODD)
COM L
COM H (EVEN)
COM L
COM
SHIELD
6-6. Full bridge measurement
ODD H
ODD L
EVEN H
EVEN L
SENSOR SHIELDS
Sensor to Multiplexer Wiring — With panel switch set to “4x16” mode,
excitation, ground, and the two signal leads may be connected to one input
SET (FIGURE 6-6).
Multiplexer to Datalogger Wiring — COM terminals are connected to a
datalogger excitation channel, a differential analog input channel, and an
28
AM16/32B Relay Analog Multiplexer
analog ground. Up to sixteen full bridges may be multiplexed through the
AM16/32B.
A problem with making full bridge measurements with this configuration is
that the resistance of the lead wire and multiplexer relays can cause a voltage
drop, reducing the excitation at the bridge. The following section describes a
configuration that compensates for this by measuring the excitation at the
bridge.
6.5 Full Bridges with Excitation Compensation
Sensor to Multiplexer Wiring — With panel switch set to “4x16” mode, you
are 2 lines short for a six wire measurement. One solution is to multiplex the
four signal wires through the AM16/32B, but bypass the AM16/32B with
excitation and ground wires. This means that the sensors will be excited in
parallel which causes a higher current drain, possibly enough to exceed the
current available from the datalogger’s excitation channel. Alternatively, the
excitation an ground leads can be multiplexed through an additional
AM16/32B a owing the sensors to be excited one at a time (FIGURE 6-7). In
this case the 12V, GND, CLK, and RES lines of the second m
wired in parallel with those of the first, effectively widening th
“8x16”.
d
ll
ultiplexer are
e multiplexer to
CR23X/
CR800/
CR850/
CR1000
EX E E VX
H H H H
L L L L
H H H H
L L L L
21X/
CR7
CR10(X)
AG
G
CR3000/
CR5000
Multiplexer to Datalogger Wiring — Four leads from the COM OD
terminals connect to two sequential differential analog channels
datalogger. Excitation and ground are multiplexed by the secon
Both multiplexers can be
reset and clocked by the same control ports and/or
excitation channels to simplify programming.
"4 X 16" Mode
COM H (ODD)
COM L
COM H (ODD)
COM L
COM H (EVEN)
COM L
COM
"4 X 16" Mode
ODD H
ODD L
ODD H
ODD L
EVEN H
EVEN L
SENSOR SHIELDS
D, EVEN
in the
d AM16/32B.
ensation FIGURE 6-7. Full bridge measurement with excitation comp
29
AM16/32B Relay Analog Multiplexer
6.6 Thermocouple M
The data
measurer analysis. These topics will not be covered here.
6.6.1 Measurement Con
Referenc
reference
dataloggce at the AM16/32B.
Datalogger Reference — The CR1000, CR800, CR850, CR3000, CR
21X, and the CR7 723-T Analog Input card with RTD have builttemperat
standard
two anal
When th
between
the therm
must be
wire is in
multiple
terminal
applications, but other thermocouple types (for example, E, J, and K) may also
be measu
ment and erro
siderations
er or 2) referen
with CR10X purchase) is installed on the wiring panel between the
og input terminal strips.
e reference junction is located at the datalogger, the signal wires
the datalogger and the AM16/32B must be of the same wire type as
maintained on each side of the multiplexer (for example, if constantan
xer’s COM ODD L terminal and the datalogger measurement
). FIGURE 6-8 and FIGURE 6-9 depict type T thermocouple
easurement
logger manuals contain thorough discussions of thermocouple
e Junction — As shown in FIGURE 6-8 and FIGURE 6-9, two
junction configurations are possible: 1) reference located at the
23X,
in
ure references. The CR10XTCR Thermocouple Reference (not
ocouple (FIGURE 6-8). The “polarity” of the thermocouple wires
put to an L terminal, then a constantan wire should run between the
red and linearized by the dataloggers.
It is not
the AM1
referenceM16/32B are made of
thermocouhe properties of
thermocouple wire:
An extraneous thermocouple voltage would be added to the non-thermocouple
signal at the junction of dissimilar metals (for example, the multiplexer COM
terminals). The magnitude of this signal would vary with the temperature
difference between the datalogger and the AM16/32B.
Some thermocouple wires have a greater resistance than copper, which adds
resistance to the non-thermocouple sensor circuit. For example, constantan is
approximately 26 times more resistive than copper.
recommended to make measurements of any other sensor type through
6/32B if thermocouples are measured with respect to the datalogger
(the signal wires between the datalogger and A
ple wire). Two problems would arise due to t
30
AM16/32B Relay Analog Multiplexer
S
S
21X/
CR7
CR10(X)
CR3000/
CR800/CR850/
CR2
3X/CR1000/
CR5000
H H H
L L
H H
L L
G
CR23X/
CR800/
CR850/
CR1000
21X/
CR7
CR10(X)
L
H
L
CR3000/
CR5000
L L L
"4 X 16" Mode
CU
COM ODD H
CO
COM ODD L
CU
COM EVEN H
CO
COM EVEN L
COM
ODD H
ODD L
EVEN H
EVEN L
CU
CO
CU
CO
SENSOR SHIELD
FIGURE 6-8. Differential thermocouple measurement with reference
junction at the datalogger
H H H H
L
CU
CU
COM ODD H
COM ODD L
"4 X 16" Mode
ODD H
ODD L
CU
CO
EX E E
H H H
AG
H H H
L L L
G
VX
H
107
CU
CO
SENSOR SHIELD
ence
H
L
COM EVEN H
CU
COM EVEN L
COM
EVEN H
EVEN L
CU
FIGURE 6-9. Differential thermocouple measurement with refer
junction at the AM16/32B
If a mix of TCs and other sensor types are multiplexed through the AM16/32B,
it is generally best to locate the reference junction on the AM16/32B, as shown
in FIGURE 6-9.
AM16/32B Reference — An external reference, usually a thermistor, can be
located at the AM16/32B, as shown in FIGURE 6-9. This approach requires
an additional single-ended datalogger input to measure the reference. Position
the reference next to the COM terminals and, when practical, measure the
thermocouples on SETs that are in close proximity to the COM terminals in
order to minimize thermal gradients.
31
AM16/32B Relay Analog Multiplexer
Thermal Gradients — Thermal gradients between the AM16/32B’s sensor
input terminals and COM terminals can cause errors in thermocouple readings.
For example, with type T thermocouples, a one degree gradient between the
input terminals and the COM terminals will result in an approximate one
degree measurement error. Installing the aluminum cover plate (FIGURE
6-10) helps to minimize gradients. For best results the AM16/32B should be
shielded and insulated from all radiant and conducted thermal sources. When
an enclosure is used, gradients resulting from heat conducted along the
thermocouple wire can be minimized by coiling some wire inside the
enclosure. This technique allows heat to largely dissipate before it reaches the
terminals. If the AM16/32B is housed in a field enclosure, the enclosure
should be shielded from solar radiation.
FIGURE 6-10. AM16/32B aluminum cover plate
6.6.2 Single-ended Thermocouple Measurement
In single-ended thermocouple measurements, the following precautions must
be taken
to ensure accurate measurement:
•Onl should be used; the sensor shields
y shielded thermocouple wire
should be tied to multiplexer input shield (“
Exposed ends of thermocouples measuring soil temperature should be
electrically insula• ted to prevent differences in ground potential among
the thermocouples from causing errors in the measured temperatures.
•
AM16/32B panel switch set to “4x16” mode.
•
Sensor to Multiplexer Wiring — Up to three thermocouples per SET;
the high side of each thermocouple is input into terminals ODD H,
ODD L, and EVEN H. The low sides
multiplexed in common through terminal EVEN L.
”) terminals.
of each thermocouple are
32
AM16/32B Relay Analog Multiplexer
•Multiplexer to Datalogger Wiring — If the reference junc
datalogger, then the wire that connects the COM ODD H, COM
L, and COM EVEN H terminals to the datalogger should be
same composition as the high side of the thermocouples
wire that connects COM EVEN L to datalogger ground s
the same composition as the low side of the thermocouples.
•If the reference junction is at the AM16/32B (Campbe
thermistor, RTD, etc.), then copper wire should be u
COM terminals to the datalogger.
6.6.3 Differential Thermocouple Measurement
AM16/32B panel switch set to “2x32” mode.
Multiplexer to Datalogger Wiring — The wire types here can be handled in
one of two ways. If a reference junction (107 thermistor, or RTD, etc.) is at the
AM16/32B, then one copper wire may be run between the COM terminals of
the multiplexer and the datalogger input channel.
If the reference junction is at the datalogger, then matching thermocouple wire
should be run between the COM terminals of the multiplexer and the
differential input channel on the datalogger (observe TC wire polarity).
tion is at the
ODD
of the
. Also, the
hould be of
ll Scientific 107
sed to connect
6.7 Mixed Sensor Types
In applications where sensor types are mixed, multiple hookup configurations
and programming sequences are possible. Please consult Campbell Scientific
for application assistance if you need to multiplex markedly different sensor
types in your application.
6.7.1 Mixed Sensor Example: Soil Moisture Blocks and Thermocouples
AM16/32B panel switch set to “4x16” mode.
In this example, 16 thermocouples a
multiplexed through the AM16/32B
block are input into each SET.
nd 16 soil moisture blocks will be
. One thermocouple and one soil moisture
33
AM16/32B Relay Analog Multiplexer
CR10(X)
AM16/32B
AM16/32
G
12V
G
C1
C2
1H
1L
EX 1
2L
AG
EX 2
2H
AG
G
MUXPOWER
SHIELD
1K 0.1%
MUXSIGNAL
SHIELD
GND
12V
GND
RES
CLK
COM ODD H
COM ODD L
COM EVEN H
COM EVEN L
COM
FIGURE
6-11. Thermocouple and soil block measurement for CR10X
example
CR10X
Example Program — Thermocouple and Soil Block Measurement
SETS 1-16
ODD H
ODD L
107
SETS 1-16
EVEN H
EVEN L
*1 Table 1 Pr
ograms
1: 60 Sec. Execution Interval
REFERENCE TEMPERATURE FOR THERMOCOUPLES
1: Temp 107 Probe (P11)
1: 1 Rep
2: 4 IN Chan
3: 1 Excite all reps w/EXchan 1
4: 1 Loc [:REFTEMP ]
5: 1 Mult
6: 0 Offset
5: Excitation with Delay (P22)
1: 1 EX Chan
2: 2 Delay w/EX (units=.01 sec)
3: 0 Delay after EX (units=.01 sec)
4: 1 mV Excitation
5: 0
MEASURES 1 THERMOCOUPLE PER LOOP
6: Thermocouple Temp (DIFF) (P14)
1: 1 Rep
2: 1 2.5 mV slow Range
3: 1 IN Chan
4: 1 Type T (Copper-Constantan)
5: 1 Ref Temp Loc REFTEMP
6: 2-- Loc [:TC #1 ]
7: 1 Mult
8: 0 Offset
MEASURES 1 SOIL MOISTURE BLOCK PER LOOP
7: AC Half Bridge (P5)
1: 1 Rep
2: 14 fast Range 250 mV
3: 3 IN Chan
4: 2 Excite all reps w/EXchan 2
5: 250 mV Excitation
6: 18M #1] -- Loc [:SOIL
7: 1 Mult
Offset 8: 0
ENDS MEASUREMENT LOOP
8: End (P95)
DES MULTIPLEISABLXER
9: 86) Do (P
Set low Port1: 51 1
CALCULATES BRIDGE TRANSFORM ON SOIL MOISTURE BLOCKS
10: BR Transform Rf[X/(1-X)] (P59)
1: 16 Reps
2 Loc [:SO: 18IL M #1]
3 Multiplie: 1 r (Rf)
11: End Table 1 (P)
INPOCATION LABEUT LLS:
1:REFTEMP 19:SOIL M #2
2:TC #1 20:SOIL M #3
3:TC #2 21:SOIL M #4
4:TC #3 22:SOIL M #5
5:TC #4 23:SOIL M #6
6:TC #5 24:SOIL M #7
7:TC #6 25:SOIL M #8
8:TC #7 26:SOIL M #9
35
AM16/32B Relay Analog Multiplexer
9:TC #8 IL M#10 27:SO
10:TC #:SOIL M#11 9 28
11:TC #29:SO10 IL M#12
12:TC # 30:SOIL M#13 11
13:TC #12 31:SOIL M#14
14:TC #32:SO13 IL M#15
15:TC #33:SO14 IL M#16
16:TC #34:____15 _____
17:TC #35:___16 ______
18:SOIL_____ M #1 36:____
CR1ple Progra000 Examm — Thermocouple and Soil Block Measurement
'CR1000log Series Datager
'Declariabe Public Varles
Public _voloil(16) PTemp, battt, TCTemp(16), S
Dim I 'Counter for setting Array element
'Defineles Data Tab
DataTable (Avg15Min,1,-1)
DataInterval (0,5,Min,10)
Minime) um (1,batt_volt,FP2,0,Fals
Averap,IEEge (1,PTemE4,False)
Average6emp(),I (1 ,TCTEEE4,False)
Averal(),Ige (16,SoiEEE4,False)
EndTable
'Main Program
BeginProg
Scan ) (1,Sec,0,0
Pane,2lTemp (PTemp 50)
Batt ry (Batt_volt) e
'Activate Multiplexer Index
PortSet (1 ,1 )
I=0
'Begin Measurement Loop
SubScan (0,Sec,16)
'Clock Pulse and Delay
Portort 2 high Set (2 ,1 ) 'Set p
Delaec) y (0,20,mS
PortSet (2 ,0)
'Increment Index and Measure
I=I+1
TCDi(I),,TypeT,PTemp,True ,0,250,1.0,0) ff (TCTemp1,mV2_5C,1
BrHa),1,rue ,0,250,1.0,0) lf (Soil(ImV2500,3,Vx2,1,2500,T
'End LooMeasuremep nt
NextSubScan
'Deactivate Multiplexer
PortSet (1 ,0)
'Cal Data Table l
CallTable Avg15Min
Next Scan
EndProg
36
AM16/32B Relay Analog Multiplexer
7.erement Considerations
Genal Measur
Long Lead
induce
To mi
cablin
indivi
indiv
neces
for lead wire capacitances to discharge after advancing a channel, before the
measurement is made. Please consult the Theory of Operation section of your
datalogger manual for more information.
Earth Ground — The AM16/32B’s ground lug should be connected to earth
g
round via an 8 AWG wire. This connection should be as short as possible.
Th
e AM16/32B also connects to earth ground via the datalogger. The lead
wi
re that connects the datalogger power ground to the AM16/32B power
ground (“GND”) establis
section ofrmation on grounding
procedures.
Com
completion re
to the use of mu
include soil m
Scientific fo
Contact Degradation — Once excitation in excess of 30 mA has been
multiplexed, that channel’s relay contacts have been rendered unsuitable for
fu
rther low voltage measurement. To prevent undue degradation, it is
advisable to reserve certain channels for sensor excitation and employ other
channel
Lengths — Longer sensor-to-AM16/32B leads result in greater
d and capacitively coupled voltages (cross-talk) between cable wires.
nimize capacitive effects, Campbell Scientific recommends the use of
g having Teflon, polyethylene, or polypropylene insulation around
dual conductors. You should not use cables with PVC insulation around
idual conductors (PVC cable jacket is acceptable). It may also be
sary to program a delay within the measurement instruction allowing time
hes this connection. The installation/maintenance
your datalogger manual contains more info
pletion Resistors — In some applications, it is advantageous to place
sistors at the datalogger terminal strips. Certain sensors specific
ltiplexers are available from Campbell Scientific. Examples
oisture probes and thermistor probes. Please consult Campbell
r ordering and pricing information.
s for sensor signals.
8.
Installation
The standoperated in an indoor, non-condensing
environment. If condensing humidity is present or if the possibility exists that
the mu
require
Several enclosures are available for purchas
(models ENC10/12, ENC12/14, ENC14/16, and ENC16/18). They offer a
de
noncorrosive liquids. These enclosures contain a mounting plate with 1-inch
hole grid suitable for mounting the AM16/32B. The enclosures have a cable
bushing to accommodate the sensor lines. These standard enclosures are raintight, but not waterproof.
The enclosure lids are gasketed. The screws on the outside of the enclosure
should be tightened to form a restrictive seal. In high humidity environments,
user supplied foam, putty, or similar material helps to reduce the passage of
moisture into the enclosure via cable conduits.
ard AM16/32B may be
ltiplexer might be exposed to liquids, a water-resistant enclosure is
d.
e through Campbell Scientific
gree of protection against dust, spraying water, oil, falling dirt, or dripping,
37
AM16/32B Relay Analog Multiplexer
8.1 Mounting Tabs
1 in
1 in
2.54 cm
2.54 cm
The AM
FIGURE
FIGUREting tab hole pattern
U-bolts a
pipe. An
16/32B has mounting tabs allowing attachment by four screws. See
8-1 dimensions.
AM16/32B
AM16/32
8-1. Moun
re provided with enclosure to attach to a 1.25 inch (32 mm) diameter
enclosure may also be lag-bolted to a wall or other flat surface.
8.2 Controlling Humidity
9 in
9.4 in
22.9 cm
23.9 cm
3 in
3 in
7.62 cm
7.62 cm
CAUTION
The mul
Desiccan
inside th
Air movement should not be restricted through an
enclosu
or noxio
tiplexer is susceptible to corrosion in high relative humidity.
t packs are available from Campbell Scientific and should be used
e enclosure to remove water vapor.
re containing batteries that may produce explosive
us gases (for example, lead-acid batteries).
38
Appendix A. AM16/32B Improvements
The AM16/32B replaced the AM16/32A in January 2008. A clocking mode
was added that uses a relay address to go directly to a specific channel. This
reduces power consumption and wear on the relay switches.
The AM16/32A replaced the AM16/32 in October 2006. The AM16/32A’s
improvements over the AM16/32 are better ESD and surge protection, a main
ground lug, and a newer processo