background image

Wireless Sensor Network 

2.1.2  Typical RF Range 

RF range is affected by antenna height and by obstacles between the two 
antennae.  The following ranges represent typical distances of RF range as 
measured with a 0 dBd Omnidirectional 1/2 wave whip antenna connected to 
the CWB100 radio base station: 

 
Location 

Base 
Height 

Sensor 
Height 

 
RF Range 

Dense Corn  Field 2.1 m  (7’) tall  1.2 m (4’) 

1.2 m (4’) 

0.9 m (3’) 
0.0 m (0’) 

152 m (500’) 
131 m (430’) 

Inside Industrial Building 

1.2 m (4’) 

0.9 m (3’) 

> 76 m (250’) 

Mixed Juniper/Maple Forest 

1.2 m (4’) 
1.2 m (4’) 

0.9 m (3’) 
0.0 m (0’) 

156 m (513’) 
103 m (340’) 

Residential Street (Line of Sight) 

1.2 m (4’) 
1.2 m (4’) 

0.9 m (3’) 
0.0 m (0’) 

392 m (1285’)
329 m (1080’) 

2.1.3  RSSI 

Received Signal Strength Indicator (RSSI) is a measurement of the power 
present in a radio transmission received by a wireless sensor.  RSSI is a 
unitless number between 0 (no signal) and 32 (full signal).  RSSI is measured 
periodically when the CWB100RSSI instruction is executed in the datalogger 
program.  The RSSI measurement may be used to determine whether a sensor 
in the WSN is well positioned for reliable data transmission.  See Section 5.3 
for details on the CWB100RSSI instruction.  

2.1.4  Service Discovery Protocol 

The CWS radio incorporates a service discovery protocol (SDP) which allows 
the network of wireless sensors to auto-discover their connection to the base, 
and the route used for that connection.  The end result of this auto-discovery is 
a list of sensor node addresses, and the route through other wireless sensors, if 
any, used to reach these sensor nodes.  The base station then uses these routes 
to poll the sensors for data.  The CRBasic instruction CWB100Routes may be 
used to retrieve the routing information from the CWB100 radio.  See Section 
5.4 for details on the CWB100Routes instruction. 

The sensors periodically check the synchronization status and, if the 
connection to the base station is lost, it is automatically re-established, through 
routers if necessary.  It may take up to a day for a sensor to rediscover the base 
station if early attempts fail, but the process may be manually triggered by 
pressing the Setup button on the back of the sensor and holding it in for 8-10 
seconds (see Section 5 Button and LED Behavior). 

The only parameter needed by the service discovery protocol is the base station 
radio address.  This parameter is used to prevent overlapping sensor networks 
from “joining” each other.  All sensors that are part of one network are 
configured with the same base station address and that is the only base station 
to which they will establish a communication link. 

Summary of Contents for CWS Series

Page 1: ...Wireless Sensor Network Revision 9 11 C o p y r i g h t 2 0 1 0 2 0 1 1 C a m p b e l l S c i e n t i f i c I n c...

Page 2: ......

Page 3: ...eturn 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 prepai...

Page 4: ...g 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 Clea...

Page 5: ...ifications 10 2 2 2 CWB100 Electrical Specifications 10 2 2 3 CWB100 Environmental Specifications 11 2 2 4 Datalogger Compatibility 11 2 3 CWS220 Specifications 11 2 3 1 CWS220 Physical Specifications...

Page 6: ...Verify that Data is being Transmitted 28 3 9 Physical Connections 28 3 9 1 Connecting the Base Station to the Datalogger 28 3 9 2 Connecting Sensors to the CWS900 29 4 Programming the Datalogger 29 4...

Page 7: ...s 1 2 1 CWB100 Wireless Base Station 2 1 3 1 CWS220 Wireless Infrared Radiometer 3 1 4 1 CWS655 Wireless Water Content Reflectometer 4 1 5 1 CWS900 Wireless Sensor Interface 5 3 1 1 A205 CWS to PC Int...

Page 8: ...Wireless Sensor Network Table of Contents iv...

Page 9: ...ich serves as the gateway to the network Although compatible dataloggers use the PakBus communication protocol PakBus is not used for the datalogger to base station communication nor for the base stat...

Page 10: ...ors do not initiate any communication except during Network Discovery Instead they transmit only when polled by the base station 1 2 CWB100 Wireless Base Station The CWB100 is the master radio in the...

Page 11: ...surface of interest Because the CWS220 is wireless it can be mounted in many locations that would be problematic for a cabled sensor The CSW220 includes a thermopile for measuring a millivolt output...

Page 12: ...volumetric water content of the surrounding media hence the name water content reflectometer The electrical conductivity of the surrounding medium is derived from signal attenuation information This...

Page 13: ...or making bridge measurements It has a sealed connector for use with a variety of sensors such as temperature humidity probes rain gages wind monitors or other low power sensors The type of measureme...

Page 14: ...Temperature C Probe Pressure kPa Relative Humidity Leaf Wetness Sensor V Dissolved Oxygen V pH V Signal Strength Battery Voltage V CWS900 Internal Temperature C Single Ended Channel 1 Measurement Sing...

Page 15: ...orithm deg Resultant Mean Wind Speed m s Resultant Wind Dir Avg deg Resultant Wind Dir Std Dev CSI algorithm deg Signal Strength Battery Voltage V CWS900 Internal Temperature C 05103 05103 45 or 05106...

Page 16: ...Channels CWSxxx CWB100 CWSxxxA CWB100A U S Canada Australia and New Zealand 902 928 MHz 50 CWSxxxE CWB100E Europe 868 MHz 16 Transmitter Power Output 25 mW 14 dBm Receiver Sensitivity 110 dBm 0 1 Fram...

Page 17: ...S radio incorporates a service discovery protocol SDP which allows the network of wireless sensors to auto discover their connection to the base and the route used for that connection The end result o...

Page 18: ...ave Whip Antenna 15970 900MHz 1dBd Dipole Antenna w Adhesive Mount 14221 900MHz 3dBd Omni Antenna 14201 900MHz 9dBd Yagi Antenna Larger outdoor antenna models require a cable to connect to the CWB100...

Page 19: ...Temperature Range 25 to 50 C 13 F to 122 F Humidity Range Store and use in non condensing desiccated environment 2 2 4 Datalogger Compatibility The CWB100 is compatible with Campbell Scientific datalo...

Page 20: ...mental Specifications Temperature Range 25 to 50 C 13 F to 122 F Humidity Range 0 to 100 Weather Resistance IP67 rating for sensor and battery pack battery pack must be properly installed each sensor...

Page 21: ...ith 15 minute polling depending on attached sensor Radio Internal 25 mW FHSS Radio Single Ended Analog Channels SE1 SE2 SE3 Differential Analog Channels DF1 Analog Input Range 1 to 2 5 VDC Accuracy 0...

Page 22: ...ply power to the wireless sensors and initiate auto discovery 8 Verify that data is being transmitted 3 1 Hardware and Software Required for a WSN 3 1 1 A205 CWS to PC Interface The A205 CWS to PC Int...

Page 23: ...s with the A205 The cable has a USB type A male connector on one end and a type B male connector on the other end The type B connector is connected directly to the CWB100 without the A205 during confi...

Page 24: ...1 and higher is required for support of the wireless sensor devices Wireless Sensor Planner and DevConfig are on the Configuration CD that ships with the CWB100 Wireless Base Station DevConfig and Wir...

Page 25: ...e wireless sensor network but the steps shown will be almost identical to those used with Network Planner 3 2 2 Installing Wireless Sensor Planner Run Setup from the CWB100 Configuration CD 3 2 3 Usin...

Page 26: ...red simply by entering the base station address and choosing a measurement configuration for each CWS900 in the network In this Quick Start example default names will be used Placing Devices on the Dr...

Page 27: ...ol icon on the toolbar The mouse cursor changes from a hand to a jagged line indicating the Link Tool is currently active Select CWB100 to indicate that it is the first device in the link Next drag th...

Page 28: ...pear showing the new link Click the OK button to accept the link A new dialog box called Station Link Properties will appear The CWS900 Wireless Sensor Interface connects to a variety of sensors This...

Page 29: ...ble it by navigating to View Show Device Configuration List The Configure Device list shows each task that needs to be completed to set up the network successfully The settings that need to be configu...

Page 30: ...l show which settings have been applied This window will provide the option to save the XML file print it and compare it to another saved configuration file After the new settings have been sent to th...

Page 31: ...em in the Configure Devices list then select Click Here When the Setup Dialog window for configuring the CWS655 opens verify that the Serial Port matches the port number where the A205 is connected an...

Page 32: ...ptions are available for saving the settings to a XML file printing the settings and comparing the settings to another XML file When finished with these actions click OK The Setup button must be press...

Page 33: ...kBus address does not need to be specified for this transaction but if a security code is present in the datalogger that code needs to be entered in the Datalogger Security Code field Click Connect to...

Page 34: ...f the CWB100RSSI instruction is used also an additional 15 seconds sensor hop must be included In this example each sensor needs only one hop to transmit data to the base station At 15 seconds per hop...

Page 35: ...gher NOTE 3 6 Connecting the CWB100 to the Datalogger The DATA A terminal on the CWB100 radio connects to the odd numbered control port specified in the CWB100 instruction In this example DATA A conne...

Page 36: ...red LED light and transmit its table definitions to the CWB100 During this process the red LED on the CWB100 stays on longer than usual indicating that it is receiving a transmission Afterward the sen...

Page 37: ...2 CWS900 Connector Pin Out After connecting the non standard sensor to the CWS900 test the connections and sensor performance with DevConfig software See Appendix A for details 4 Programming the Datal...

Page 38: ...c instruction CWB100 is used to set up the polling of the base station by the datalogger The instruction has the following format CWB100 Port Destination Array Configuration Port The Port parameter is...

Page 39: ...red Sensor Name Station name of the sensor Required Number of Fields Number of values to be transmitted by the sensor Optional Defaults to 1 if not specified 1st Field Name Name of first value transmi...

Page 40: ...en the sensor name learned from sensor discovery will be used to name the sensor These auto discovered sensor field names are added to the end of the list of field names until all available space in t...

Page 41: ...that contains the name of the value for which an index is desired All CWS sensors have a default sensor name and a fieldname for each returned value For instance a CWS900 with a sensor name of CWS900_...

Page 42: ...ntrol port C1 C3 C5 or C7 to which the CWB100 Data line is connected The CWB100RSSI instruction should not be executed as often as the CWB100 instruction polls the sensors This is because it requires...

Page 43: ...nsor W900_006 hops directly to the base station W900_Red also hops directly to the base station W900_39D hops to W900_Red and from there hops to the base station Finally W220_38F hops directly to the...

Page 44: ...dex CWS900_SS NAN False FieldNames CWS900_RSSI_Min EndTable BeginProg Scan 600 Sec 0 0 CWB100 3 WSN Poll CWB100 for sensor data If IfTime 0 60 Min Then GetRSSI True If GetRSSI True Then CWB100RSSI 3 T...

Page 45: ...reach the CWB100 base station Signal strength is measured when the datalogger executes a CWB100RSSI instruction See Section 4 4 5 2 Sensor Battery Voltage After pressing the Setup button momentarily...

Page 46: ...12 hours of no communication with the base station the sensor will start the autodiscovery mode and follow the schedule shown above 6 Testing the Network Whenever possible it is best to bench test th...

Page 47: ...of the Connect screen Prior to sensor discovery the numeric monitor will display the name of the public variable specified in the CWB100 instruction with NAN as the output if no configuration string i...

Page 48: ...nsor with their real time values 7 Maintenance Minimal maintenance is required for the CWS900 CWS220 and CWS655 wireless sensors If batteries are solar charged the solar cell battery lid needs to be p...

Page 49: ...e CWB100 will stop polling that sensor The only way to fully remove a sensor from the network and replace it with another is to force the datalogger to read the sensor names from the CWB100 after the...

Page 50: ...100 instruction has compile errors CRBasic compiler too old Datalogger operating system too old Update compiler using Configuration CD Send latest OS to datalogger This is available on the Configurati...

Page 51: ...Check program and verify that the CWB100 radio DATA A terminal is well connected to the control port specified in the CWB100 instruction Verify that 12V and G channel on CWB100 radio are well connecte...

Page 52: ...tation Another radio is interfering with wireless sensor transmissions Minimum poll rate is 15 seconds per sensor per hop Verify that the scan rate in the datalogger program for the scan that includes...

Page 53: ...riggers a measurement of the wireless sensor every 5 seconds it can be used to verify that the sensor is operating as expected This is useful when troubleshooting as it provides a quick method for det...

Page 54: ...ation Address If configuring a CWS900 choose the type of measurement the sensor will make from the drop down menu called Measurement Configuration If desired change the Sensor Name from its default va...

Page 55: ...o be measured to the CWS900 and follow the instructions above for establishing communication with DevConfig When the sensor settings are displayed in the Deployment tab click on the Settings Editor ta...

Page 56: ...Appendix A Using DevConfig for CWS Setup A 4...

Page 57: ...y Temperature C Ti Internal temperature of wireless sensor C BV Battery voltage of wireless sensor Volts SS Signal strength of last received radio transmission Unitless ranging from 0 no signal to 32...

Page 58: ...nfiguration Integer requires additional processing to convert to engineering units IC Number of switch closures detected during polling interval Integer requires additional processing to convert to en...

Page 59: ...val meters per second WDA Wind direction average Calculated over the polling interval using the average of one second wind direction measurements excluding zero wind speed measurements Degrees from no...

Page 60: ...ion of wind direction Measured raw data Si horizontal wind speed i horizontal wind direction Uei east west component of wind Uni north south component of wind N number of samples Calculations FIGURE B...

Page 61: ...onal sensors Ux Uei Ui N Uy Uni Ui N where Ui Uei 2 Uni 2 1 2 Standard deviation of wind direction 1 using Yamartino algorithm 1 arc sin 1 0 1547 3 where 1 Ux 2 Uy 2 1 2 and Ux and Uy are as defined a...

Page 62: ...os i i 1 2 2 For deviations less than 40 degrees the error in this approximation is less than 1 At deviations of 60 degrees the error is 10 The speed sample may be expressed as the deviation about the...

Page 63: ...ption has been verified in tests on wind data by CSI the Air Resources Laboratory NOAA Idaho Falls ID and MERDI Butte MT In these tests the maximum differences in u N u U i S 2 1 2 1 2 1 and 2 have ne...

Page 64: ...Appendix B Measurement Names and Meanings B 8...

Page 65: ...n the temperature is at 0 C All these batteries can be used below the stated temperature range the Duracell Alkaline and NiMH have both been tested to 30 C but their capacity is reduced For the rechar...

Page 66: ...this setting a sensor first tries to find a direct path one hop to the base it does this three times over 15 minutes It then tries to find a path to the base using a repeater It also does this three t...

Page 67: ...issed polls When changing the setting to Connect Through Repeater battery life of the repeater should be taken into consideration see Section C 2 above C 4 Repair of a Lost Connection A CWS sensor rad...

Page 68: ...Appendix C Battery Life C 4...

Page 69: ......

Page 70: ...ntific Canada Corp CSC 11564 149th Street NW Edmonton Alberta T5M 1W7 CANADA www campbellsci ca dataloggers campbellsci ca Campbell Scientific Centro Caribe S A CSCC 300 N Cementerio Edificio Breller...

Reviews: