background image

 

____________________________________________________________________________________ 
 

____________________________________________________________________________________ 
Speeder X1 and X2 Configuration and API Guide  

Page 16/36

 

The software calculates two consecutive speed values. First it calculates quickly a rough 
speed  value  utilizing  preliminary  results  of  the  collected  data.  This  value  is  called 
‘QSpeed’. QSpeed is used to generate triggering output for speeding vehicles in real time. 
Speeder  X1  detects  the  driving  direction  of  the  vehicle  and  compares  it  to  the  setting 
(prm2bit5).  In  case  driving  direction  is  opposite  speed  value  cannot  be  calculated  and 
QSpeed value is set as wrong direction “QSpeed = WD”. 

Thereafter  the  sensor  calculates  the  speed  value  with  a  more  sophisticated  algorithm 
utilizing 

all the collected data. The calculation may take 50…150 ms depending on the 

quantity of data.  

Typically  vehicles that are changing lanes or driving on the side of the lane cause the 
biggest errors, because the sensor may measure the speed from the side of the vehicle 
or the measurement point may change significantly during measurement. In the cases of 
difficult data or poor aiming, the sensor typically indicates “Speed = NA”. 

The result given by the sensor is as follows:  

(CSV, control byte 4 bit 6 is set): 

caption 

;DIST_A;DIST_B;ELT;DIR;QSPD;SPD;Q;Size;OCC;Height;INT;CNT;ERR; 
A_OK;A_ALL;B_OK;B_ALL;CNT2;Flow;AveSPD 

results 

<;3655;3328;0:00:02.774;A;106;103.2;01;003;0127;123;02.497;0000002;000; 
163;165;133;133;142;852;100;> 

Result fields are described in the table below. In error situation speed value is zero. 

(CSV not set): 

Sensor 

CSV 

Explanation 

T 3655  3328 

DIST_A 
DIST_B 

Vehicle was detected by beam A at 36.55 metres (B 33.28) 

[ELT: 0:00:02.774] 

ELT 

Option (prm50bit0): Time from the beginning of the 
measurement session 

[INT: 02.497 s] 

INT 

Option (prm50bit1): Time between triggers 

[CNT: 000002] 

CNT 

Option (prm50bit3): Number of the triggering 

[A: 163/165  
B: 133/133] 

A_OK/ALL 
B_OK/ALL 

Option (prm51bit4): Amount of measurement results from beam 
(A/B) and accepted results for speed calculation. This output is 
intended for R&D phase evaluation. 

QSpeed = +106 

QSPD 

Calculated quick speed value [km/h] 

[Height = 123] 

Height 

Option (prm26bit7): Height value is the difference between the 
shortest detected distance to the vehicle and triggering window 
maximum. 

[discard =    0] 

ERR 

Option (prm51bit4): When nonzero discard value is received the 
speed value is not fully reliable. This output is intended for R&D 
phase evaluation. 

Speed  = +103.2 
km/h (1) 

SPD 

Result of a more sophisticated calculation. Value in parenthesis 
is an estimate for the error direction and magnitude. 

(‘-‘ Means 

possibility for lower reading than the real value). 

[Size = 3] 

Size 

Option (prm2bit7): Size value that is based on the speed and 
time the vehicle stayed 

in the sensor’s field of view. 

[OCC: 127 ms] 

OCC 

Option (prm50bit2): Time how long the vehicle has been in 
Triggering window 

Summary of Contents for speeder x1

Page 1: ...Speeder X1 and X2 Laser Radar Configuration and API Guide...

Page 2: ..._______________________________________________________________________ ____________________________________________________________________________________ Speeder X1 and X2 Configuration and API Gui...

Page 3: ...fi Downloads Documents http www noptel fi eng nms index php doc 7_downloads 5_manuals group MSC Software http www noptel fi eng nms index php doc 7_downloads 7_software group MSC Firmware Ask from inf...

Page 4: ...ASCII format of the distance measurement 11 4 SPEED MEASUREMENTS 13 4 1 SPEED MEASUREMENT MODE FOR VERTICAL INSTALLATION 13 4 1 1 Speed calculation method 17 4 1 2 Delayed trigger in speed measuremen...

Page 5: ...1 2 Communication protocol Baud rates The sensors operate connected to the RS 232 or RS 422 port using baud rates of 1200 to 921600 bd The bit stream of serial port consists of Data bits 8 Parity Non...

Page 6: ...e permanent memory user should always test the proper function of the sensor 1 3 Commands in Configuration mode The commands in Configuration mode are as follows Command Description Answer c Measure d...

Page 7: ...configuring the sensor for applications are light blue The end of the line of answer is always cr lf 1 Distance measurement commands Commands c and C return results according to Chapter 3 1 With comma...

Page 8: ...V cr An example of answer for command V SPEEDER X1 CMS5012242 RS232 Noptel Oy ParamDate 2012 04 20 Version 5 00 50 BAF3h SW Date Dec 14 2012 SW time 12 51 12 Ubat 11 4 V OK The order of lines varies a...

Page 9: ...ger window mode Chapter 5 1 The sensor controls the measurement results in the trigger window and according to parameters it gives trigger output signal and sends trigger distance to serial port In th...

Page 10: ...ion mode Output of the sensor after mode command esc M No cr are following Mode No Output 0 MOK no effect 1 MOK Dxxxxx aaaaa Dxxxxx aaaaa 5 example MOK TRIGGER MODE TRIG IN 500 550 cm ESC to EXIT 7 ex...

Page 11: ...Default 1 B Operation Mode 0 or 1 2 B Control Byte 1 b4 Hardware Input Disable 0 3 B Control Byte 2 b2 Decimal Enable 0 b3 Amplitude Output Enable 1 b5 Fast Key Disable 0 4 B Baud Rate 1 10 4 5 6 W P...

Page 12: ...Code is given only if the Amplitude Output is Enabled Control Byte 2 Bit 3 1 Error messages in ASCII distance measurement mode Hex value Dec val Error 1 1 EEPROM R W error 2 2 No object 4 4 Receiver...

Page 13: ...5 m height it should be aimed to at least to 25 m distance in order to achieve good speed measurement readings Fig 2 Default orientation of the Speeder X1 laser radar for vertical installation is lase...

Page 14: ...culates the speed of the target The accuracy for the speed measurement is better than 2 km h 2 for over 100 km h speeds when the measurement beam hits the vehicle which travels on the lane not on the...

Page 15: ...elected for approaching vehicles When this bit is set trigger will occur when vehicle is detected by Beam A In case bit is cleared or Speed limit is set trigger will occur when vehicle is detected by...

Page 16: ...PD Q Size OCC Height INT CNT ERR A_OK A_ALL B_OK B_ALL CNT2 Flow AveSPD results 3655 3328 0 00 02 774 A 106 103 2 01 003 0127 123 02 497 0000002 000 163 165 133 133 142 852 100 Result fields are descr...

Page 17: ...sure two distance profiles onto a vehicle from two successive positions on the road Both profiles include about 50 to 200 measurements depending on the setup and speed of the vehicle Both profiles are...

Page 18: ...t distance to the ground and vehicle speed are known Fig 5 Noptel laser radar collects distance measurement data from the area between the sensor and the road surface detecting all passing vehicles It...

Page 19: ...to 7 Error Code if bit 6 1 Second data byte MSB LSB No 7 6 5 4 3 2 1 0 Value Note 0 x x x x x x x h00 to h7F Distance Value LSB Distance bits 6 to 0 cm E if error h45 Third data byte only if bit 3 of...

Page 20: ...lates Measurement beam hitting the target is shown in the Fig 6 The height of the measurement beam should be lower for the car in the picture but it is correct for higher vehicles Installation is alwa...

Page 21: ...38000 29 30 W Speed Pulse Rate Hz 2k 8k 4000 32 B Speed Geometry dm 43 B Trigger Window End for Multiple Lanes m 1 255 44 B DirChangeDist m 0 255 53 B Sensor Orientation 0 1 2 1 Advanced configuration...

Page 22: ...of the sensor and 10 to detect correct measurement window When orientation of the sensor is unknown to user it is possible to set parameter 53 to value 0 Function detects the orientation of the senso...

Page 23: ...C U CR Output Comment Calibration for horizontal measurement Y N Horizontal mode if value in parameter 43 is nonzero answer Y Use maximum measurement distance 40 m Trigger Window End for multiple lane...

Page 24: ...s mode an OK message will be sent every minute if the sensor is functional OK text can be disabled by bit 1 of parameter 26 Parameters related to Trigger window mode are No Type Name Description Unit...

Page 25: ...hapter 4 3 Automatic setting of the measurement window 5 1 1 In window and Out of window triggering The trigger window mode has two alternative operation principles Normally the trigger signal is give...

Page 26: ...trigger mode to the trigger moment This function is enabled by setting bit 0 of Control Byte 4 par 50 Time between trigger events is enabled by setting bit 1 of Control Byte 4 par 50 The trigger occup...

Page 27: ...modify the parameters in non permanent memory and after finishing the modification store them into the permanent memory 6 1 User parameter commands User parameters can be set by command Command from P...

Page 28: ...e of parameter Example Read the parameter 19 Command from PC Reply esc L19 cr L00060 cr lf The parameters in two successive bytes word can be read by one command Command from PC Reply esc LW No cr L00...

Page 29: ...culates the checksum To enable the permanent memory for writing Command from PC Reply esc X cr X ASCII code 88 h58 WR ENABLE cr lf Parameters are set to permanent memory by command Command from PC Rep...

Page 30: ...s Hz 50 2000 2000 7 B Averaging Average calculation of 2n single shot measurements to produce the final distance value E g n 4 Average 16 Note Affects Normal mode only Average calculation affects the...

Page 31: ...vate Triggering mode 10 ms 0 255 30 26 B Control Byte 3 See Chapter 6 6 29 30 W Speed Pulse Rate Speed pulse rate is in use after detection of a vehicle in speed measurement application or mode Speede...

Page 32: ...ght values of different vehicles by enabling Height measurement by bit 7 of parameter 26 and making some test speed measurements cm 200 1000 43 B Trigger Window End for Multiple Lanes Defines the maxi...

Page 33: ...16 HW input Disable Disables trigger input x 32 Speed Behind The sensor measures speed for departing targets x 64 Print Speed Data Development use only Enables output of detailed speed measurement rep...

Page 34: ...and 7 when also bit 7 of parameter 2 is set 6 7 Control Byte 4 MSB LSB No 7 6 5 4 3 2 1 0 Value Note 50 Control Byte 4 bits x 1 Trigger Time Output Time from the beginning of the measurement session i...

Page 35: ...ly for speeding cases Data to be outputted is collected as string and printed out after vehicle has passed By enabling this byte and setting speed limit to 0 sensor prints vehicle information after it...

Page 36: ...ptel Oy Address Teknologiantie 2 FI 90590 Oulu Finland Tel 358 40 181 4351 Fax 358 8 556 4101 E mail info noptel fi Technical support see our Web site www noptel fi Speeder X1 and X2 Laser Radar Confi...

Reviews: