Campbell SR50 Скачать руководство пользователя страница 35

Appendix A.  Modifying the Non-Volatile Memory 

A-3 

4:  If (X<=>F) (P89) 
  1:  3 

  X Loc [ Raw_Dist  ] 

 2:  3 

 >= 

 3:  -1000 

 F 

 4:  30 

 Then 

Do 

 
 

5:  Z=X (P31) 

 

  1:  3 

  X Loc [ Raw_Dist  ] 

 

  2:  8 

  Z Loc [ DEPTH     ] 

 
 

6:  Z=X (P31) 

 

  1:  4 

  X Loc [ Raw_Qual  ] 

 

  2:   9 

  Z Loc [ QUALITY   ] 

 
 

7:  Z=F x 10^n (P30) 

   1:  0.0 

 F 

 

  2:  00 

  n, Exponent of 10 

 

  3:  5 

  Z Loc [ FAILCOUNT ] 

 
8:  Else (P94) 
 

;  If the measurement was not valid, increment the failure counter. 

 

9:  Z=Z+1 (P32) 

 

  1:  5 

  Z Loc [ FAILCOUNT ] 

 

; If the failure counter is equal to or larger than a pre-determined number (in this case ; 3), 
; allow the -99999 to appear in the data to indicate that there is a problem with the  
; measurement.  The pre-determined number will depend on the scan rate, and 
; should 
; indicate the maximum expected -99999 readings prior to a valid measurement being 
; returned.  The number should be 3 for scan rate greater than three seconds, and 
; larger for faster execution rates. 

 
 

10:  If (X<=>F) (P89) 

 

  1:  5 

  X Loc [ FAILCOUNT ] 

  

2: 

 >= 

  

3: 

 F 

  

4: 

30 

 Then 

Do 

 
 

11:  Z=X (P31) 

 

  1:  3 

  X Loc [ Raw_Dist  ] 

 

  2:  8 

  Z Loc [ DEPTH     ] 

 
 

12:  Z=X (P31) 

 

  1:  4 

  X Loc [ Raw_Qual  ] 

 

  2:  9 

  Z Loc [ QUALITY   ] 

 
 

13:  Z=F x 10^n (P30) 

 

 1:  0.0 

 F 

 

  2:  00 

  n, Exponent of 10 

 

  3:  5 

  Z Loc [ FAILCOUNT ] 

 

Содержание SR50

Страница 1: ...SR50 Sonic Ranging Sensor Revision 1 07 C o p y r i g h t 1 9 9 5 2 0 0 7 C a m p b e l l S c i e n t i f i c I n c...

Страница 2: ...ther warranties expressed or implied including warranties of merchantability or fitness for a particular purpose CAMPBELL SCIENTIFIC INC is not liable for special indirect incidental or consequential...

Страница 3: ...wo 21X Program Examples for Pulse Train Output 12 3 5 ASCII Output 18 4 Sensor Mounting and Installation 19 5 Data Interpretation 22 5 1 Measuring Snow Depth 23 6 Maintenance 23 7 Assembly Disassembly...

Страница 4: ...Sonic Ranging Sensor Table of Contents ii Tables 1 SR50 SDI 12 Command List 9 2 Address Jumper Settings for Pulse Train and ASCII Outputs 19 Appendices A Making Concurrent Measurements with the SR50...

Страница 5: ...to Assembly Disassembly Procedures on page 24 of the manual 3 Damage may occur to the transducer wires if the transducer assembly is not carefully orientated when fastening to the SR50 housing The tra...

Страница 6: ...This is a blank page...

Страница 7: ...Requirements 9 16 VOLTS D C Power Consumption 2 mA Quiescent 250 mA Measurement Peak Measurement Time 0 6 seconds typical 3 0 seconds max Output SDI 12 version 1 2 Serial ASCII 300 and 1200 Baud TTL o...

Страница 8: ...e returning echoes that are reflected from the target The time from transmissions to return of an echo is the basis for obtaining the distance measurement Since the speed of sound in air varies with t...

Страница 9: ...SDI 12 and ASCII options will output zeroes for distance to target and measurement quality numbers see below for description of quality numbers The Pulse Train option will output a single pulse Measu...

Страница 10: ...clear anodize coating and attaching a bare section of stranded wire over the scraped area with a band clamp Copper wire and a stainless steel band clamp work best It is recommended to confirm with an...

Страница 11: ...ut the distance to target in meters or feet include the measurement quality numbers and to include multiple target detection The 8 command outputs the first detected echo in meters as in the 0 command...

Страница 12: ...ECORDER instruction description At present the CR10X CR510 and CR23X with recent OS have this ability More detailed instructions and a programming example is located in APPENDIX A CAMPBELL SCIENTIFIC...

Страница 13: ...DI 12 Recorder P105 1 0 SDI 12 Address 2 1 Start Measurement aM3 code 1 is used SEE TABLE 1 3 1 Port Control Port 1 used for this example 4 2 Loc DEPTH Two input locations are used One for distance an...

Страница 14: ...require for your data analysis 1 0 Minutes Seconds into a 2 60 Interval same units as above 3 10 Set Output Flag High Flag 0 9 Set Active Storage Area P80 1 1 Final Storage Area 1 2 60 Array ID This s...

Страница 15: ...1 5 aM5 First Target Feet D1 Q1 with Quality Number 6 aM6 Multiple Targets Feet D1 D2 D3 7 aM7 Multiple Targets Feet D1 D2 D3 Q1 Q2 Q3 with Quality Numbers 8 aM8 First Target Meters D1 No Retries N A...

Страница 16: ...urement when the Sensor Enable Line is pulsed high to 5 Volts The pulse width should be a minimum of 5 ms and a maximum of 250 ms in width When the SR50 detects that the Sensor Enable Line is high it...

Страница 17: ...Always connect ground first followed by 12V and then the remaining SDI 12 Data Bus Sensor Enable Line and Shield In disconnecting the sensor the reverse order should be followed CAUTION Datalogger Col...

Страница 18: ...gramming examples assume that the sensor is mounted 2 meters above the ground and the desired output is snow depth in meters In these examples a 21X micrologger is used to read the SR50 with the pulse...

Страница 19: ...0 00 after the distance is calculated and stored for later processing and output 4 Pulse P3 1 1 Reps 2 1 Pulse Input Chan 3 00 Config Option 4 21 Loc Dis2Surf 5 0025 Mult 6 0 0 Offset Measure air tem...

Страница 20: ...ter the distance to ground at your site 10 Z X F P34 1 21 X Loc Dis2Surf 2 2 00 F 3 10 Z Loc SnowDepth An hourly output example yours may vary 11 If time is P92 1 0 Minutes into a 2 60 Minute Interval...

Страница 21: ...ses generated by the SR50 The number of pulses is dependent on the SR50 address setting and distance to target As configured from the factory Address 0 it will take 4 seconds to measure 10 meters Shor...

Страница 22: ...Loc ATempComp 2 24 Z Loc ATempComp 7 Z X Y P36 1 21 X Loc Dis2Surf 2 24 Y Loc ATempComp 3 21 Z Loc Dis2Surf Add distance to ground to distance to snow which is negative to calculate snow depth In the...

Страница 23: ...itation with Delay P22 1 1 Ex Chan 2 1 Delay w Ex units 0 01 sec 3 0000 Delay After Ex units 0 01 sec 4 0 0 mV Excitation 16 Set Port P20 1 0 Set Low 2 1 Port Number 17 Do P86 1 21 Set Flag 1 Low 18 D...

Страница 24: ...lts The pulse width should be a minimum of 5 ms and a maximum of 250 ms Once the SR50 detects the Sensor Enable Line has gone high it makes a measurement When the measurement is finished the SR50 outp...

Страница 25: ...et Meters 11 RS 232 300 BAUD First Target Meters 12 TTL 1200 BAUD First Target Meters 13 TTL 300 BAUD First Target Meters 14 RS 232 9600 BAUD Single Target Meters 15 Factory Test Mode 4 Sensor Mountin...

Страница 26: ...x 1 inside diameter enables the SR50 to mount to any 3 4 pipe 1 outside diameter The SR50 s mounting stem also has 1 pipe thread to accommodate other threaded installation options Campbell Scientific...

Страница 27: ...reading and output a zero as the distance to target If vibration is the concern it could be reduced by using guy wires on the mounting structure To improve the accuracy of the sensor readings it is be...

Страница 28: ...the SR50 may not be able to obtain a reading One such example is snow of extremely low density In this situation the surface may not reflect enough sound for the sensor to detect The SR50 will output...

Страница 29: ...s the distance to the surface that it is pointed at The sensor is mounted above and perpendicular to the surface To obtain snow depth the distance to snow must be subtracted from the distance to groun...

Страница 30: ...t It is also recommended that the datalogger program be saved If possible do not open the SR50 in a field environment Do not remove the two Phillips screws which are countersunk the least The screws h...

Страница 31: ...any more moisture Look through the small plastic window on the desiccant packs to inspect them 4 With a Phillips screwdriver remove the two screws that hold the aluminum end plate in place 5 Pull the...

Страница 32: ...5 P10 LM2901N P2 P3 510 200K IN5231 Q3 R2 0033 F R3 S3 510 10 F IM 1 IM 1 01 F T3 U3 V3 V4 LT1020CN IM 1 1 X3 Y3 100 F T7 510 Q7 R7 R8 S8 S7 IN5231 0033 F 510 200K R11 S10 S11 T11 10K 1 8K 1 8K Y8 1 5...

Страница 33: ...and aI where a address See Table 1 for list of all SDI 12 Commands The sensor will respond with a numeric signature If the signature is 63845 you have version 1 1 When using Concurrent Measurement opt...

Страница 34: ...07 Temperature Probe is being used and that the SR50 SDI 12 DATA Bus line green wire is wired to control port 1 see Figure 2 page 6 for wiring diagram CR10X Table 1 Program 01 5 Execution Interval sec...

Страница 35: ...than a pre determined number in this case 3 allow the 99999 to appear in the data to indicate that there is a problem with the measurement The pre determined number will depend on the scan rate and s...

Страница 36: ...T 3 8 Z Loc DEPTH 20 Z X F P34 1 8 X Loc DEPTH 2 2 0 F Insertthedistancefromsensortobare ground 3 8 Z Loc DEPTH This is actual snow depth Hourly data output 21 If time is P92 1 0 Minutes Seconds into...

Страница 37: ...This is a blank page...

Страница 38: ...campbellsci com br suporte campbellsci com br Campbell Scientific Canada Corp CSC 11564 149th Street NW Edmonton Alberta T5M 1W7 CANADA www campbellsci ca dataloggers campbellsci ca Campbell Scientif...

Отзывы: