Campbell CS120 User Manual

Visibility sensor

Advertisement

Quick Links

CS120
Visibility
Sensor
User Guide
Issued: 15.1.13
©
Copyright
2010-2013 Campbell Scientific Ltd.
CSL 880

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CS120 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Campbell CS120

  • Page 1 CS120 Visibility Sensor User Guide Issued: 15.1.13 © Copyright 2010-2013 Campbell Scientific Ltd. CSL 880...
  • Page 3 Quotations for repairs can be given on request. It is the policy of Campbell Scientific to protect the health of its employees and provide a safe working environment, in support of this policy a “Declaration of Hazardous Material and Decontamination”...
  • Page 5 Campbell Scientific Ltd can advise on the recycling of the equipment and in some cases arrange collection and the correct disposal of it, although charges may apply for some items or territories.
  • Page 7: Table Of Contents

    10. Message Formats: A breakdown of the different default outputs of the CS120 – Basic/Partial/Full ............ 17 10.1 Example CS120 message outputs ............20 11. Interface methods – Device Configuration Utility/Command Line/Menu ......... 20 11.1 Configuring a PC for talking to the CS120 .......... 21...
  • Page 8 13.2 The SETNC Command ................ 25 13.2.1 Example of a SETNC Command ..........25 13.3 The GET command ................25 13.4 The POLL command – Polling the CS120 .......... 27 14. Entering the CS120 menu system ......28 15. Calibrating the CS120 ..........33 16.
  • Page 9: Introduction

    The CS120 uses the well established forward scatter system for visibility measurement, utilising a 42º scatter angle. The CS120 uses high speed sampling to reduce missed events such as rain and hail and improves response to other suddenly changing conditions.
  • Page 10: General Safety

    These should be followed carefully in order to gain the maximum benefit from the use of this product. 1.3 Sensor Unit Safety The CS120 sensor has been checked for safety before leaving the factory and contains no internally replaceable or modifiable parts. WARNING Do not modify the CS120 unit.
  • Page 11: Technical Specification

    User Guide 2. Technical specification Minimum Nominal Maximum Value Value Value Visibility characteristics Reported Visibility (metric) 12 metres 32,000 metres Reported Visibility (imperial) 39 feet 104,985 feet Visibility accuracy up to 10,000m +/-10% Visibility accuracy up to 20,000m +/-20% Optical characteristics LED centre wavelength 850nm LED spectral bandwidth...
  • Page 12: Supported Data Rates For Rs232 And Rs485

    (2) Each hood takes 30W, 60W is the total for both hoods on the sensor together. (3) The ground of the CS120 and the earth of any RS485 equipment cannot be further apart than this voltage. A 100Ω resistor can be used to connect the CS120 RS485 earth to other equipment. This will reduce any parasitic currents and bring the two earths closer together if a direct connection cannot be made.
  • Page 13: Environmental Specifications

    Hood heater Turn Off >15°C (1) Extended temperature ranges are only guaranteed if the sensor has been tested by Campbell Scientific and verified within this temperature range. Some degradation of absolute accuracy can be expected at the extremes of the extended ranges.
  • Page 14 Receiver Transmitter In order to reduce the service frequency with the unit, the CS120 should be placed away from sources of contamination, in the case of roadside monitoring; larger mounting poles can be used. More regular maintenance will be required when the instrument is placed in areas where contamination is unavoidable or where measurements may be safety critical.
  • Page 15: Equipment Grounding

    7.2 Mounting the CS120 A pole mounting kit is supplied with the CS120. This kit includes a DSP plate, two brackets and suitable bolts for clamping the pole between the DSP plate and brackets.
  • Page 16 CS120 firmly in place. Where the CS120 is to be mounted onto another type of mast, please refer to the manual for that mast for mounting details. Ensure that the CS120 is mounted according to figure below.
  • Page 17: Optional Campbell Scientific Mount

    User Guide 7.3 Optional Campbell Scientific Mount A Campbell Scientific `optical sensor mount’, part number 009354, is available. This will put the sample volume at about 1.5 m in compliance with the WMO `Guide to Meteorological Instruments and Methods of Observation’, 7 Edition, Section 9.3.4.
  • Page 18 CS120 Visibility Sensor Drill four 12 mm diameter holes using the mount base as a template or following the drawing below to a depth of 77 mm. Clean the holes of all debris. Place washers and nuts on the ends of the wedge anchors supplied (to protect the threads during installation).
  • Page 19: Cs120 Internal Connectors' Description

    User Guide 8. CS120 internal connectors’ description The CS120 has two standard IP66 rated glands for connecting to external equipment. The first gland is by default used by the power/communications line. This comprises of the +12V/24V for the main electronics, and the serial communications wires.
  • Page 20 To use these connections it is necessary to either use the cable gland taking the hood heater power or, if the hood heater is also required, to use different cables to those supplied. Please contact Campbell Scientific if you need any advice on choice of cable.
  • Page 21: Cs120 Recommended Wiring Using Campbell Scientific Cables

    8.1 CS120 recommended wiring using Campbell Scientific cables (this cable is supplied already connected as standard) The CS120 is provided pre-wired with a default 5 m power and communications cable which is terminated at one end with a 9 pin D-connector (DB9). The D-...
  • Page 22 CS120 Visibility Sensor...
  • Page 23 User Guide...
  • Page 24: Functions Of The Internal Switches

    ‘Save and exit’ command is performed these new data rate settings will be committed to flash. Once this switch is returned to its OFF position and the CS120 is power cycled the CS120 will return to its previous communications settings.
  • Page 25: Message Formats: A Breakdown Of The Different Default Outputs Of The Cs120 - Basic/Partial/Full

    10. Message Formats: A breakdown of the different default outputs of the CS120 – Basic/Partial/Full The CS120 has three different standard message formats available to the user. These three outputs are named Basic, Partial and Full. All three standard outputs parameters are space delimited with a unique start and end character allowing easy storage into any logger (see Section 15 on how to set default outputs).
  • Page 26 One minute average Ten minute average In accordance with WMO requirements the CS120 produces measurement that are either one or ten minute rolling averages that are updated at the chosen output interval or when the sensor is polled. Those averages are not direct averages of MOR measurements but are averages of extinction coefficient and that average is then used to calculate the MOR for that period.
  • Page 27 1 = One or more errors writing user variables to flash occurred The emitter power level reporting too high will cause the CS120 to shutdown and go into low power mode. The severity of the alarm. The higher the number the more serious the error is considered to be.
  • Page 28: Example Cs120 Message Outputs

    This would be the preferred method of setting up a CS120 if it was connected to a logger for instance. The configuration setting commands can be sent via a logger to the CS120 removing the need for a local PC to set up the unit.
  • Page 29: Configuring A Pc For Talking To The Cs120

    The CS120 should now be ready to accept commands. It is possible to set the CS120 into the default communication state via one of the internal switches on the CS120 main board. See section 9.
  • Page 30 0=Allow the CS120 to automatically control the hood heaters 1=Turn the hood heaters off Dirty window 0 = No compensation applied compensation 1 = Compensation for dirt on lenses applied. The CS120 will compensate for up to 10% signal loss due to dirt per lens.
  • Page 31: Command Line Mode

    POLL command is used to request the current visibility and/or alarm conditions from the sensor. The CS120 can be configured to expect any commands sent to it to include a valid checksum. For simple commands, e.g. GET and POLL, fixed value checksums can be used (see the example programs).
  • Page 32: Example Of A Set Command

    CS120 Visibility Sensor SET transmitted data Example Description 0x02 STX ^B Delimiting character Delimiting character Address based on Sensor ID Delimiting character Sensor ID User Alarm 1 Set User Alarm 1 Active User Alarm 1 Distance User Alarm 2 Set...
  • Page 33: The Setnc Command

    This means that the next time the CS120 is power cycled it will revert back to its previous settings. This command should be used when a setting in the sensor is changed regularly, e.g. heater functions, as this command avoids the risk of wearing out the flash storage memory.
  • Page 34 CS120 Visibility Sensor User Alarm 1 Set User Alarm 1 Active User Alarm 1 Distance User Alarm 2 Set User Alarm 2 Active User Alarm 2 Distance Serial Baud Rate Sensor serial number (read only) Visibility Units Message interval Polling Or Continuous modes...
  • Page 35: The Poll Command - Polling The Cs120

    13.4 The POLL command – Polling the CS120 The POLL command requests the current visibility and/or alarm conditions from the CS120. The output format of this command depends on how the CS120 is configured using the SET command or the menu interfaces.
  • Page 36: Entering The Cs120 Menu System

    The ‘open 0’ command is not normally echoed. NOTE The terminal menu only gives access to more common settings. The following text should now be displayed: WELCOME TO THE CAMPBELL SCIENTIFIC LTD CS120 SETUP MENU ID 0 S/N 9999 (1) Message output menu...
  • Page 37 Menu 1: The message output menu. Sub menu 1: Continuous mode operation (Option 4) Menu 1: The message output menu. Sub menu 2: Sample timing (Option 6) CS120 MESSAGE - SUB 2 Set sample timing for this sensor in seconds. Current value 1.
  • Page 38 (0) Return to main menu -> Menu 2: The user alarm menu. Sub menu 2: Alarm two activation level (Option 6) CS120 ALARM - SUB MENU 2 Select new alarm trigger level between 10 and 60000 inclusive. Current value 10000.
  • Page 39 (Section 18). If there is a flash error or signature error it is recommended that you contact Campbell Scientific. The sensor power down voltage shown before the supply voltage is only available if the sensor is running firmware version 4 or later and only functional for sensors...
  • Page 40 CS120 Visibility Sensor Menu 5: The communication menu CS120 COMMUNICATIONS - MENU 5 ID 0 S/N 9999 (1) Set sensor ID (2) Set RS232/RS485 baud rate:38400 (3) Toggle RS232/RS485 modes:RS232 (9) Refresh (0) Return to main menu -> The communications menu is used to set baud rates and the mode of operation (RS232/RS485).
  • Page 41: Calibrating The Cs120

    010816. The calibration must be run using the onboard menu system. If you have Campbell Scientific’s Device configuration program a terminal emulation screen is provided in the CS120 screens to let you access this function. To perform the calibration you will need a CS120 calibrator disk and a computer with a standard serial port compatible with the CS120.
  • Page 42 CS120 Visibility Sensor Once you have started the tests you will be asked for the CS120 calibrator serial number and coefficient with a confirmation at each step giving you the chance to correct typing mistakes. NOTE When asked for confirmation you do not need to press return after you type ‘y’.
  • Page 43 Now place the CS120 calibrator into the sampling volume. Press any key once this is done. Remove the bungs once the sensor instructs you to. Place the CS120 calibrator into the volume by fastening it to the central mounting point. NOTE At this stage it is advisable to clean the lenses.
  • Page 44: Performing A Firmware Update

    16. Performing a firmware update Firmware updates for the CS120 visibility sensor are performed using Campbell Scientifics Device Configuration Utility (DevConfig) software. Please refer to the help built into the DevConfig software for full instructions on how to update the...
  • Page 45: Cleaning

    Campbell Scientific if required. Only general cleaning of the lenses is required to keep the sensor working efficiently. Cleaning of the CS120 will be required from time to time to ensure that the lenses are free from contaminants. The frequency of required cleaning depends on the exposure of the instrument to such contaminants.
  • Page 46: Lubricating The Enclosure Screws

    CS120 Visibility Sensor 18. Lubricating the enclosure screws The CS120 enclosure screws should be lubricated with a suitable anti-seize grease (often copper loaded) to protect the threads from corrosion. This should be reapplied when resealing the enclosure at regular intervals, normally after replacing the desiccant.
  • Page 47 User Guide moisture from coming into contact with the regenerated desiccant. Some care should be taken when re-activating desiccant bags. If heated in an oven which is too hot, the bags may burst. If in any doubt, we recommend purchasing new desiccant packs instead of oven drying.
  • Page 48 CS120 Visibility Sensor...
  • Page 49: Cs120 Block Diagram

    Appendix A. CS120 block diagram Power level + 850nm Photo- Transimpedance Driver circuitry Emitter detector amplifier Amplifier Emitter power Amplifier and filter feedback and filter Dirty window Dirty window detector detector Hood temperature Second stage amplifiers and filters 14-bit Analogue to...
  • Page 50 CS120 Visibility Sensor...
  • Page 51: Example C Code Of The Ccitt Crc

    Appendix B. Example C code of the CCITT The code below is provided as an example for programmers implementing their own code to communicate with the sensor. Users using Campbell loggers can use the Checksum command in CRBasic to generate a CCITT checksum. Command: Checksum/ChkSumString,1,0).
  • Page 52 CS120 Visibility Sensor...
  • Page 53: Example Crbasic Programs

    Alias SerialIndest(18)=Flash_read_error '0..1 - Flash Read Error Alias SerialIndest(19)=Flash_write_error '0..1 - Flash Write Error Alias SerialIndest(20) = checksumrx 'CCITT Checksum 'Define the serial port to which the CS120 is connected - ammend as needed Const CS120_Comport = COM2   'Main Program...
  • Page 54 '0..1 - Flash Write Error Alias SerialIndest(20) = checksumrx 'CCITT Checksum 'Define the serial port to which the CS120 is connected - ammend as needed Const CS120_Comport = COM1 'Preload the poll command for a sensor for address 0, in this example 'If the sensor has a different address uncomment the relevant line Const CS120_Poll = CHR(2)&"POLL:0:0:3A3B:"&CHR(3)&CHR(13) 'address 0...
  • Page 55 'Const CS120_Poll = CHR(2)&"POLL:8:0:939A:"&CHR(3)&CHR(13) 'address 8 'Const CS120_Poll = CHR(2)&"POLL:9:0:A4AA:"&CHR(3)&CHR(13) 'address 9 'Main Program BeginProg 'Open the logger serial port to which the CS120 is connected SerialOpen (CS120_Comport,38400,3,0,1000) 'Scan at 10 sec, in this case Scan(10,Sec,1,0) 'Send the poll command, delay then read data out of the buffer...
  • Page 56 '------------------------------------------------------------------------------- ' CS120 Visibility ' Program to test the SET command part of the command line interface on the CS120 ' Do not run this script for extended periods of time (days!) as it writes ' to flash over and over and will eventually wear the flash out...
  • Page 57 Appendix C. Example CRBasic programs CheckVal = CheckSum (TempStringFunc,1,0) ' Use the CCITT CRC16 checksum ' Create final string going out to CS120 including start characters and end characters CS120CommandString = CHR(2) + TempStringFunc + ":" + FormatLong (CheckVal,"%04X") + ":"...
  • Page 58 '------------------------------------------------------------------------------- ' CS120 Visibility ' Program to test the SETNC command part of the command line interface on the CS120 ' This command does not commit the settings to flash so settings will be lost if ' the sensor is power cycled ' This example uses a CS215 temperature and humidity probe to determine dew point.
  • Page 59 ' Create a check sum of the values going out CheckVal = CheckSum (TempStringFunc,1,0) ' Use the CCITT CRC16 checksum ' Create final string going out to CS120 including start characters and end characters CS120CommandString = CHR(2) + TempStringFunc + ":" + FormatLong (CheckVal,"%04X") + ":"...
  • Page 60 CS120 Visibility Sensor 'CS215 Temperature & Relative Humidity Sensor measurements AirTC and RH SDI12Recorder(TRHData(),5,"0","M!",1,0) 'Calculate DewPoint DewPoint(TempDewPoint,AirTC,RH) ' Gather the current settings from the CS120 SerialFlush (Com1) TempString = "GET:0:0" CheckVal = CheckSum (TempString,1,0) ' Use the CCITT CRC16 checksum OutString = CHR(2) + TempString + ":"...
  • Page 61 C.5 Example CRBasic GET program '------------------------------------------------------------------------------- ' CS120 Visibility ' Program to test the GET command part of the command line interface on the CS120 ' Connecting to serial port one on a CR1000 logger ' Logger:CR1000 ' Example outputs including checksums (varies with sensor ID)
  • Page 62 CAMPBELL SCIENTIFIC COMPANIES Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES • www.campbellsci.com info@campbellsci.com Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA • www.csafrica.co.za sales@csafrica.co.za Campbell Scientific Australia Pty. Ltd. (CSA)

Table of Contents