Program Notes Use 2:1 voltage divider on Differential Input channel 1 to get full output range from C7

Similar documents
Eppley PIR Precision Infrared Radiometer

WARRANTY AND ASSISTANCE

CR10XTCR THERMOCOUPLE REFERENCE

SP-LITE SILICON PYRANOMETER INSTRUCTION MANUAL

CR10XTCR THERMOCOUPLE REFERENCE

IRTS-P PRECISION INFRARED TEMPERATURE SENSOR INSTRUCTION MANUAL

CR10TCR THERMOCOUPLE REFERENCE

CM3 PYRANOMETER INSTRUCTION MANUAL

INSTRUCTION MANUAL. SP Lite2 Pyranometer. August Copyright 2017 Campbell Scientific (Canada) Corp.

MODEL 107 TEMPERATURE PROBE INSTRUCTION MANUAL

INSTRUCTION MANUAL. Model HFP01SC Self-Calibrating Soil Heat Flux Plate Revision: 3/14. Copyright Campbell Scientific, Inc.

3WHB10K 3-WIRE HALF BRIDGE TERMINAL INPUT MODULE INSTRUCTION MANUAL

Hands-on Lab 3. System Identification with Experimentally Acquired Data

MODEL HMP45C TEMPERATURE AND RELATIVE HUMIDITY PROBE INSTRUCTION MANUAL

4WFB120, 4WFB350, 4WFB1K 4 Wire Full Bridge Terminal Input Modules Revision: 5/07

INSTRUCTION MANUAL. CR10XTCR Thermocouple Reference. Revision: 1/03. Copyright (c) Campbell Scientific, Inc.

INSTRUCTION MANUAL. CS547 Conductivity and Temperature Probe and A547 Interface. Revision: 9/00. Copyright (c) Campbell Scientific, Inc.

CVD20 20:1 Voltage Divider Revision: 5/12

INSTRUCTION MANUAL. 023/CO2 Bowen Ratio System with CO2 Flux. Revision: 4/98. Copyright (c) Campbell Scientific, Inc.

Experiment ES Estimating a Second

IRTS-P Precision Infrared Temperature Sensor

INSTRUCTION MANUAL. LI200X-LC Pyranometer for MetData1 4/97. Copyright (c) Campbell Scientific, Inc.

The Ordering Code for various standard model Recorders with an AC supply and without any additional options are as follows:

NTE74LS181 Integrated Circuit TTL Arithmetic Logic Unit/Function Generator

3WHB10K 3-Wire Half Bridge Terminal Input Module

INSTRUCTION MANUAL. CS616 and CS625 Water Content Reflectometers Revision: 2/14. Copyright Campbell Scientific, Inc.

AND8149/D. Understanding and Using the NCV1124 VR Sensor Interface APPLICATION NOTE

Arithmetic logic unit

SI-111 Precision Infrared Radiometer Revision: 7/13

Switched-Capacitor Circuits David Johns and Ken Martin University of Toronto

Sensors Conditioning Module

LABORATORY MANUAL MICROPROCESSOR AND MICROCONTROLLER

3WHB10K 3-Wire Half Bridge Terminal Input Module

AN6783S. IC for long interval timer. ICs for Timer. Overview. Features. Applications. Block Diagram

ph electrode Instruction Manual For use with the RAH-210 & RPH-250

Model 108 Temperature Probe Revision: 4/07

July 11, Capacitor CBL 23. Name Date: Partners: CAPACITORS. TI-83 calculator with unit-tounit. Resistor (about 100 kω) Wavetek multimeter

MAE106 Laboratory Exercises Lab # 6 - Vibrating systems

16 Input AC Block I/O Module

INSTRUCTION MANUAL. CS500 Temperature and Relative Humidity Probe. Revision: 7/04. Copyright (c) Campbell Scientific, Inc.

Models of Computation, Recall Register Machines. A register machine (sometimes abbreviated to RM) is specified by:

32 Input AC Block I/O Module

Unit 2. ET Unit 2. Voltage, Current, and Resistance. Electronics Fundamentals Circuits, Devices and Applications - Floyd. Copyright 2009 Pearson

Rice University Physics 332 LIFETIME OF THE MUON I. INTRODUCTION...2! II. MEASUREMENT PROCEDURES...3! III. ANALYSIS PROCEDURES...7!

E2T0 DVP

PTA-427 BAROMETRIC PRESSURE TRANSDUCER OPERATOR S MANUAL

Chapter 2. Chapter 2

Display Elektronik GmbH LCD MODULE DEM SGH. Product specification Version: 0

Chapter 28. Direct Current Circuits

E. K. A. ADVANCED PHYSICS LABORATORY STATISTICS OF COUNTING WITH A GEIGER COUNTER ARTIFICIAL RADIOACTIVITY

5730A High Performance Multifunction Calibrator. Extended specifications

EE301 RESISTANCE AND OHM S LAW

Measuring the time constant for an RC-Circuit

Experiment Guide for RC Circuits

No /06e. Technical Manual Multistage-Temperature-/Differential Controller TAR x700

Old Dominion University Physics 112N/227N/232N Lab Manual, 13 th Edition

INSTRUCTION MANUAL. Eddy Covariance System CA27 and KH20. Revision: 7/98. Copyright (c) Campbell Scientific, Inc.

FPGA Resource Utilization Estimates for NI crio LabVIEW FPGA Version: 8.6 NI-RIO Version: 3.0 Date: 8/5/2008

Experiment 4: Resistances in Circuits

Programmable Timer High-Performance Silicon-Gate CMOS

MAGPOWR TENSION CONTROL DLCA NET-SLIM. User Manual. Digital Load Cell Amplifier MI 850A358 1 A

ENERGY AND TIME CONSTANTS IN RC CIRCUITS By: Iwana Loveu Student No Lab Section: 0003 Date: February 8, 2004

LABORATORY MANUAL MICROPROCESSORS AND MICROCONTROLLERS. S.E (I.T) ( S e m. IV)

SerDes_Channel_Impulse_Modeling_with_Rambus

Multi-loop Circuits and Kirchoff's Rules

6. The default plot created by Excel meets all of the requirements for a formal report plot in ME 360.

Digital Electronics Final Examination. Part A

Register machines L2 18

Practice Homework Solution for Module 4

AC "POLARITY" Complex numbers are useful for AC circuit analysis because they provide a

Design of Sequential Circuits

Exercise 1: Thermocouple Characteristics

Outline. Week 5: Circuits. Course Notes: 3.5. Goals: Use linear algebra to determine voltage drops and branch currents.

LabVIEW and PCI DAQ Card Based HTS Test and Control Platforms

* Note: If Vee varies from recommended value, you cannot get proper contrast or viewing angle.

KH600. 1GHz, Differential Input/Output Amplifier. Features. Description. Applications. Typical Application

INSTRUCTION MANUAL. 229 Heat Dissipation Matric Water Potential Sensor Revision: 5/09. Copyright Campbell Scientific, Inc.

Lecture 6: Time-Dependent Behaviour of Digital Circuits

beam length = 1.00 m beam mass = 5.10 kg

DC motor / generator. Jeffrey A. Meunier

Simple circuits - 3 hr

Digital Design through Arduino

E6C-N. Ideal for Out-of-step Detection of Stepping Motors and Position Control of Rotors and Unloaders

Using CSIM11 ph and ORP Probes with Campbell Scientific Dataloggers

INSTRUCTION MANUAL. Model 207 Temperature and Relative Humidity Probe. Revision: 2/94. Copyright (c) Campbell Scientific, Inc.

Chapter 13. Capacitors

Continuous flow of electric charges. Current Electricity

Computer Engineering Department. CC 311- Computer Architecture. Chapter 4. The Processor: Datapath and Control. Single Cycle

TDDD63 Project: API. September 13, 2014

THERMAL RADIATION. The electromagnetic radiation emitted by a hot tungsten filament will be studied.

CRYSTAL CLEAR TECHNOLOGY SDN. BHD. Spec. No: CMC216-01

Pascal ET is an handheld multifunction calibrator for the measurement and simulation of the following parameters: - pressure

Figure 1. (a) An alternating current power supply provides a current that keeps switching direction.

Using CSIM11 ph and ORP Probes with Campbell Scientific Dataloggers Revision: 4/10

SPECIFICATIONS LIQUID CRYSTAL DISPLAY MODULE MODEL NO : SD1602VBWB-XA-G-R

ECE 220 Laboratory 4 Volt Meter, Comparators, and Timer

NTE74HC299 Integrated Circuit TTL High Speed CMOS, 8 Bit Universal Shift Register with 3 State Output

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques

COOKBOOK KVL AND KCL A COMPLETE GUIDE

Circular Motion and Centripetal Force

Transcription:

{CR10X} PROGRAM C7_datalogger_with_autogain Cyclops 7 (C7) Datalogger with Auto Gain Program example Program Notes Use 2:1 voltage divider on Differential Input channel 1 to get full output range from C7 Auto Gain Control Strategy: CR10X programmed to read 0 to 2500 mv from Cyclops 7 If on Gain X1 If the millivolts drops below 150 mv, change to X10 gain If on Gain X10 If the millivolts drops below 150 mv, change to X100 gain If the millivolts rises above 2250 mv, change to X1 gain If on Gain X100 If the millivolts rises above 2250 mv, change to X10 gain Program delays calculation of concentration values after a range change (default 3 seconds) CR10X Panel Wiring Panel Cyclops 7 wire color --------------------------- +12 - Red (plus input) G - black (Input Ground) 1H - Red (plus output) (see note below) 1L - white (minus output) C1 - Blue (X10 gain) C2 - Brown (X100 gain) NOTE: Recommend 2:1 voltage divider terminal input module (CSI part# VDIV2:1) C7 Gain CR10X control Ports Gain C1 state C2 state ------------------------- X1 high high X10 low high X100 high low Subroutines 1 - Initialization subroutine 2 - Increase gain - Set CR10X control ports 3 - Decrease gain - Set CR10X control ports Input Location Descriptions Output - C7 output adjusted by gain setting - range from 0 to 2500 C7_output - C7 analog output, raw millivolts (mv) (after voltage divider) Gain - current gain range setting (1, 10, or 100) gain_min - C7 millivolt value at which the gain will be increased gain_max - C7 millivolt value at which the gain will be decreased gaindelay - how many seconds to wait after range change delaycntr - the delay timer after a range change Table 1 Program 01: 1.0000 Execution Interval (seconds)

1: If Flag/Port (P91) ; Call initialization program first time program is run 1: 28 Do if Flag 8 is Low 2: 01 Call Subroutine 1 If we have to change the gain, we need to give the C7 time to settle When the gain changes, we set a delay counter to count down If the delay cntr is not equal to zero, then we need to wait until we can take the next valid measurement 2: If (X<=>F) (P89) ; Check if delay counter is zero. If so, we can take a measurement 1: 7 X Loc [ delaycntr ] 3:.1 F 4: 30 Then Do 3: Volt (Diff) (P2) ; Read C7 output...note! maximum CR10X input voltage = 2.5 volts (need resistor divider for C7 output) 1: 1 Reps 2: 25 2500 mv 60 Hz Rejection Range 3: 01 DIFF Channel 4: 2 Loc [ C7_output ] 5: 1.0 Mult 6: 0.0 Offset 4: Z=X/Y (P38) ; We scale the output depending on the gain setting. Maximum output = 2500 1: 2 X Loc [ C7_output ] 2: 3 Y Loc [ Gain ] 3: 1 Z Loc [ Output ] 5: Do (P86) 1: 10 Set Output Flag High (Flag 0) 6: Real Time (P77) ^8270; Store the time 1: 1121 (Same as 1221) Y,D,Hr/Mn,Sec 7: Sample (P70) ^25814; Store the output 1: 1 Reps 2: 1 Loc [ Output ] 8: If (X<=>Y) (P88) ; Check if the C7 output is small enough that we should increase the gain 1: 2 X Loc [ C7_output ] 3: 4 Y Loc [ gain_min ] 4: 30 Then Do 9: If (X<=>F) (P89) ; If the output is small, only change gain if we are not already at the maximum gain 3: 99 F 4: 2 Call Subroutine 2

10: End (P95) 11: If (X<=>Y) (P88) ; Check if the C7 output is large enough that we should decrease the gain 1: 2 X Loc [ C7_output ] 3: 5 Y Loc [ gain_max ] 4: 30 Then Do 12: If (X<=>F) (P89) ; If the output is large, only change gain if we are not already at the minimum gain 3: 1.1 F 4: 3 Call Subroutine 3 13: End (P95) 14: Else (P94) ; This is where we come if the gain changed and we need to wait for the C7 to settle 15: Z=X+F (P34) ; We decrement the delay counter 1: 7 X Loc [ delaycntr ] 2: -1 F 16: End (P95) *Table 2 Program 02: 0.0000 Execution Interval (seconds) *Table 3 Subroutines 1: Beginning of Subroutine (P85) ; This is the initialization subroutine to set all variables 1: 01 Subroutine 1 2: Set Port(s) (P20) 1: 9999 C8..C5 = nc/nc/nc/nc 2: 9977 C4..C1 = nc/nc/output/output ; Use I/O C1 and C2 as outputs to control the gain of the C7 3: Z=F x 10^n (P30) ; Start at gain 10 (the middle range) 1: 10 F 4: Z=F x 10^n (P30) ; Increase gain if C7 output is less than 150 mv 1: 150 F 3: 4 Z Loc [ gain_min ]

5: Z=F x 10^n (P30) ; Decrease gain if C7 output is more than 2250 mv 1: 2250 F 3: 5 Z Loc [ gain_max ] 6: Z=F x 10^n (P30) ; Don't measure for 2 cycles after a gain change 1: 2 F 3: 6 Z Loc [ gaindelay ] 7: Z=F x 10^n (P30) ; Initialize gain delay counter to zero, so we take a measurement right away 1: 0.0 F 8: Do (P86) ; Port 1 low = gain 10 1: 51 Set Port 1 Low 9: Do (P86) 10: Do (P86) ; Set flag so we know we initialized and don't need to repeat 1: 18 Set Flag 8 High 11: End (P95) 12: Beginning of Subroutine (P85) ; This is where we increase gain if needed 1: 02 Subroutine 2 13: If (X<=>F) (P89) ; Check to see if we're on gain 10 3: 9.9 F 4: 30 Then Do ; We're on gain 10 14: Do (P86) ; Set the gain control ports to the proper gain 1: 41 Set Port 1 High 15: Do (P86) 1: 52 Set Port 2 Low 16: Z=F x 10^n (P30) ; Set the gain to 100 1: 100 F 17: End (P95) 18: If (X<=>F) (P89) ; Should be on gain 1

3: 1.1 F 4: 30 Then Do ; If we get here, we're on gain 1, need to increase to gain 10 19: Do (P86) ; Set the gain control ports to the proper gain 1: 51 Set Port 1 Low 20: Do (P86) 21: Z=F x 10^n (P30) ; Set the gain to 10 1: 10 F 22: End (P95) 23: Z=X*F (P37) ; Start the delay counter 1: 6 X Loc [ gaindelay ] 2: 1 F 24: End (P95) 25: Beginning of Subroutine (P85) ; This is where we decrease gain if needed 1: 03 Subroutine 3 26: If (X<=>F) (P89) ; Check to see if we're on gain 10 3: 10.1 F 4: 30 Then Do ; We're on gain 10, need to go to gain 1 27: Do (P86) ; Set the gain control ports to the proper gain 1: 41 Set Port 1 High 28: Do (P86) 29: Z=F x 10^n (P30) ; Set the gain to 1 1: 1 F 30: End (P95) 31: If (X<=>F) (P89) ; Should be on gain 100 3: 99 F 4: 30 Then Do ; If we get here, we're on gain 100

32: Do (P86) ; Set the gain control ports to the proper gain 33: Do (P86) 1: 51 Set Port 1 Low 34: Z=F x 10^n (P30) ; Set the gain to 10 1: 10 F 35: End (P95) 36: Z=X*F (P37) ; Start the delay counter 1: 6 X Loc [ gaindelay ] 2: 1 F 37: End (P95) End Program -Input Locations- 1 Output 1 1 1 2 C7_output 1 3 1 3 Gain 1 7 5 4 gain_min 1 1 1 5 gain_max 1 1 1 6 gaindelay 1 2 1 7 delaycntr 1 2 4 8 0 0 0 9 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 24 0 0 0 25 0 0 0 26 0 0 0 27 0 0 0 28 0 0 0 -Program Security- 0000

0000 0000 -Mode 4- -Final Storage Area 2-0 -CR10X ID- 0 -CR10X Power Up- 3 -CR10X Compile Setting- 3 -CR10X RS-232 Setting- -1 -DLD File Labels- 0 -Final Storage Labels- 0,_RTM,8270 0,_RTM 0,_RTM 0,_RTM 1,Output~1,25814