Home

011-0080-00 Stalker® Speed Sensor User Manual

image

Contents

1. 6 Payload length MSB 0x00 7 Command ID 0x00 8 Antenna number 0x01 9 Target speed LSB 0x37 55 MPH 10 Target speed MSB 0x00 11 Fast speed LSB 0x4B 75 MPH 12 Fast speed MSB 0x00 13 Locked Speed LSB 0x37 55 MPH 14 Locked Speed MSB 0x00 15 Patrol speed LSB 0x3C 60 mph 16 Patrol speed MSB 0x00 17 Direction 0x5D 18 Status 0x06 19 Configuration 0x01 20 Checksum LSB 0x51 21 Checksum MSB 0x09 Checksum FFEF 0102 000D 0100 0037 004B 0037 003C 065D 01 0951 hex 16 bits Page B 6 011 0080 00 Rev E S Format S3 Sports compatibility format Byte Description Required Value or Range 1 Message type 0x83 2 Faster target direction A away C losin 3 Faster target speed Hundreds 100 9 ASCII 4 same Tens 10 9 ASCII 5 same Ones 1 9 ASCII 6 same Tenths 0 1 9 ASCII 7 Strongest target direction A away C d sin 8 Strongest target speed Hundreds 100 0 9 ASCII 9 same Tens 10 0 9 ASCII 10 same Ones 1 0 9 ASCII 11 same Tenths 0 1 0 9 ASCII 12 Strongest target strength Hundreds 100 0 9 ASCII 13 same Tens 10 0 9 ASCII 14 same Ones 1 0 9 ASCII 15 Channel si
2. If the direction byte is not enabled Command 91 it is not sent and the message will be a 11 byte message If enabled the direction byte is for approaching for receding and for unknown Amplitude values are relative and are not calibrated to a known reference D4 Format Strongest Target Speed Only Byte Description 0x02 HEX 0x84 HEX 0x01 HEX Target Speed HEX 0x01 HEX OxAA HEX NIO OT B Go PO 0x03 HEX These characters are sent literally in HEX format The only variable is speed which is the target speed in mph or kph expressed in HEX format e g 30 mph would be sent as 0x1D Page B 4 011 0080 00 Rev E Enhanced Output Format recommended Byte Description Required Value or Range 1 Start ID OxEF 2 Destination ID or address OxFF broadcast address 3 Source ID or address 0x02 4 Packet type 0x01 5 Payload length LSB 0x0D 6 Payload length MSB 0x00 length 0x000D 13 bytes bytes 7 19 7 Command ID 0x00 8 Antenna number 0x01 9 Target speed LSB Speed of strongest target is 16 bit number 10 Target speed MSB see above 11 Faster speed LSB Speed of faster target is 16 bit number 12 Faster speed MSB see above 13 Locked Speed LSB Locked speed strongest or faster is 16 bit number 14 Locked Spe
3. OX 03 least sensitive requires largest signal to noise ratio With the S3 Stationary 232 or S3 Stationary 485 even lower sensitivity is available using Command 54 Low Sensitivity When enabled twelve more steps of lower sensitivity are possible Low Sensitivity Main Sen Fine Sen Adjust Disabled 4 3 most sensitive Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled S MNNNWHWWWOAAA WOH NWOH NWO P Enabled 4 3 Page A 5 011 0080 00 Rev E Disabled Disabled Disabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled 4 2 Enabled 4 1 Enabled 4 0 co least sensitive Automatic Gain Control Settings Although the gain is controlled automatically by the radar the range of gain may be controlled using Command 48 Max AGC Gain and Command 49 Min AGC Gain The standard gain range is 0 min to 7 max and the radar automatically sets the current gain to a value within that range depending on the strength of targets it sees If it is desired to filter out weaker targets the max AGC gain can be reduced to give the radar a lower working range Target Acquisition and Loss Standard radar operation reports a target
4. ASCII Carriage Return 0x0D Oo O01 B CO PO Checksum If the direction byte is not enabled Command 91 it is not sent and the message will be a 5 byte message If enabled the direction byte is for approaching for receding and for unknown The checksum is the sum of the preceding bytes rounded off to 7 bits D2 Format Strongest Target Speed Only Byte Description Optional direction byte Target speed hundreds digit ASCII Target speed tens digit ASCII Target speed ones digit ASCII Decimal Point 0x2E Target Speed tenths digit ASCII NIO xil B Go Po Carriage Return 0x0D If the direction byte is not enabled Command 91 it is not sent and the message will be a 6 byte message If enabled the direction byte is for approaching for receding and for unknown Page B 3 011 0080 00 Rev E D3 Format Strongest Target Speed Only Byte Description 0x2A Asterisk Optional direction byte Target speed hundreds digit ASCII Target speed tens digit ASCII Target speed ones digit ASCII Decimal Point 0x2E Target Speed tenths digit ASCII 0x2C Comma Relative Amplitude hundreds digit ASCII Relative Amplitude tens digit ASCII Relative Amplitude tens digit ASCII Carriage Return 0x0D
5. ASCII 0x30 24 Squelch 0 Disabled 1 Enabled 25 Audio Volume 0 off 4 max 27 Perceived Doppler Loudness 0 AHi constant loudness 1 ALo changes w signal strength 28 a A Beep Volume 0 off 3 max 29 Serial Port Baud Rate 0 300 baud 1 600 baud 4 4800 baud 5 9600 baud 2 1200 baud 6 19200 baud 3 2400 baud 7 38400 baud 30 Serial Port Output Format 0 None serial output disabled 1 EE Format handshake The following formats are streaming 2 Enhanced Output 3 B target fast lock patrol 4 S S3 Sports compatibility format 5 F FFT spectrum output 6 A target only 7 AF faster only 30 Serial Port Output Format 0 None serial output disabled 1 EE Format handshake The following formats are streaming 2 Enhanced Output 3 B target fast lock patrol 4 S S3 Sports compatibility format 5 F FFT spectrum output 6 A target only 7 AF faster only 8 DO target only 9 D1 target only with checksum 10 D2 target only in tenths 11 D3 target and amplitude 12 D4 hex target 30 Serial Port Output Format SPEEDOMETER RS 232 0 None serial output disabled 1 EE Format handshake The following formats are streaming 2 Enhanced Output 3 B target fast lock patrol 4 S S3 Spo
6. can be a two byte value These values provide a transmit on transmit off duty cycle If either is 0 there is no duty cycle and the transmitter is controlled by command 42 only No speeds are reported while the transmitter is off 85 32 32 Target Strength Sensitivity 1 min 32 max 87 Sensitivity Hysteresis 0 3 45 45 Holdover Delay 1 222 10 sec 90 Polled Modes D0 D4 0 Polled Mode Disabled 1 Polled Mode Enabled Active for Serial Formats D0 D4 only 91 Direction Report Enable 0 Direction Report Disabled 1 Direction Report Enabled Enable Direction byte Formats D0 D3 only 92 Zero Report 0 Zero Report Disabled 1 Zero Report Enabled Active only if 93 Change Only enabled With no target sends zero every two seconds 93 Update on Change Only 0 Disabled 1 Enabled Enables speed reporting only when the speed changes Active for Serial Formats D0 D4 only 98 Zeros After Target Loss 0 No Zeros 1 One Zero 2 Stream Zeros 99 Keep Transmit On with Target 0 Disabled 1 Enabled If enabled the TX On Time ID 64 is extended as long as a target is present 100 Max TX On Time 0 60000 ms If Keep Transmit On with Target ID 99 is enabled this parameter forces the transmitter off after the set time even if a target is present When set to 0 Max TX time is in
7. 1 1 1 1 1 1 Closing Sta Opposite Mov 000 2 Both Stationary 23 23 Ground Speed Sensitivity 1 min 23 max approx 3dB steps 4 4 4 g 2 Opposite Stationary 0 min 4 max Sensitivity See sensitivity discussion belovv this table p n 1 0 min 4 max 3 came Lang sensin See sensitivity discussion below this table B 2 r of 0 min 3 max 6 a See sensitivity discussion belovv this table 0 low no cutoff 7 1 1 1 Stationary Low Cutoff 1 high 12 MPH 19 KPH 0 low no cutoff 8 1 1 1 Patrol Low Cutoff 1 high 20 MPH 32 KPH 0 200 MPH units 12 200 200 200 Alarm Speed Threshold 0 321 KPH units can be a two byte value 0 Disabled 13 1 1 1 Faster Target Tracking 1 Enabled 0 Disabled 14 1 Faster Locking 1 Enabled 0 Off locking disabled 15 1 Lock Options 1 USA 2 Florida 15 min timeout 0 Doppler audio PWM 16 0 1 1 AUX Pin Configuration 1 Disabled 2 Speed Alarm Page A 1 011 0080 00 Rev E St Description Values Double Suppression 0 no suppression 5 max Cosine Angle 1 0 45 degrees Cosine Angle 2 0 45 degrees Units 0 MPH 1 KPH 21 Unit Resolution 0 whole units ones 1 tenths 0 1 23 Leading Zero Character 0 space ASCII 0x20 1 zero
8. byte Bit 7 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit O Status 2 byte Bit 7 6 Bit 5 4 Bit 3 Bit 2 Bit 1 Bit O always 01 to force displayable ASCII characters lock status 0 no speed locked 1 speed locked zone 0 opposite 1 same both fork mode 0 off normal 1 fork mode enabled secondary antenna 1 secondary antenna selected main antenna 1 main antenna selected transmitter status O off 1 on always 01 to force displayable ASCII characters not used always 00 fast lock status O no fast speed locked 1 fast speed locked fast status 0 faster disabled 1 faster enabled Low voltage LoV status 0 normal 1 low voltage condition radio frequency interference RFI Status 0 none 1 RFI Page B 2 011 0080 00 Rev E DO Format Strongest Target Speed Only Byte Description Optional direction byte Target speed hundreds digit ASCII Target speed tens digit ASCII Target speed ones digit ASCII O AWN Carriage Return 0x0D If the direction byte is not enabled Command 91 it is not sent and the message will be a 4 byte message If enabled the direction byte is for approaching for receding and for unknown D1 Format Strongest Target Speed Only Byte Description Optional direction byte S 0x53 The letter S Target speed tens digit ASCII Target speed ones digit
9. bytes In the controller to S3 direction the Destination ID is 0x02 and the Source ID is 0x01 These values are reversed in packets from the S3 to the controller Destination ID is 0x01 and Source ID is 0x02 In the response packet from the S3 the Speed Sensor inserts its current parameter value in the Configuration Value field Note that all requests from the controller will not be answered with the requested value on the first attempt In cases where the Speed Sensor can make the change immediately the return value will be the requested value In other cases where the internal state machine of the S3 must run before the change takes effect commands identified as Delayed Action in Appendix A the return value will be the value before it changes In these cases the controller should follow a set or change command with a get command to confirm that the requested change was made correctly All of the methods get set and change use the same packet format The differences are in the use of the Command ID and the Configuration Value fields e The get command and the change command are similar in that the Command ID field is set equal to the Command ID in hex from the list in Appendix A For a change command the Configuration Value is set to 1 to tell the 53 unit to increment the value by 1 and return the new value For a get command the Configuration Value is set to basically instructing
10. changed to affect the configuration of the S3 unit but those not discussed should not be changed DATA_TYPE controls the behavior of the value fields When set 1 list type only the values listed in VALUE_ITEMS_DISPLAY and displayed in the pull down for selection are valid When set 2 free form numeric type in addition to the values in the list if any the user can also enter any numeric value in the range from VALUE_MIN through VALUE_MAX VALUE_MIN defines the minimum acceptable value when DATA_TYPE 2 VALUE_MAX defines the maximum acceptable value when DATA_TYPE 2 VALUE ITEMS DISPLAY defines the text that will appear as pull down selections in the line for a given parameter in the Edit Config window The values are separated by commas and may be set to any desired text VALUE_ITEMS_FIRMWARE defines the actual values the application uses to communicate with the S3 These values are also separated by commas and the order correlates on a one to one basis with the order of the list for VALUE_ITEMS_DISPLAY The possible values are defined for each parameter command in Appendix A DEFAULT_VALUE is selected when clicking the Default button on the Edit Config screen It may be set to any value in the VALUE_ITEMS_FIRMWARE list DISPLAY defines whether the parameter is shown in the Edit Config screen When set 1 the parameter is displayed When set 0 the parameter is not displayed 6 3 Default Parameter Values 6 3 1 Applicat
11. the S3 not to increment the current value but to simply return it e Fora set command the Command ID field is set equal to 0x80 plus the Command ID in hex value from the list in Appendix A The Configuration Value field is set to the new desired value Page 15 011 0080 00 Rev E Appendix A Command ID Table ID Command ID decimal command supported differently in each marked S3 version T S3 Traffic version RS 232 only St S3 Stationary RS 232 version St4 S3 Stationary RS 485 version Sp S3 Speedometer RS 232 version Sp4 S3 Speedometer RS 485 version These columns contain the factory default values for each command parameter in any of these columns means that the command is not supported for that model V in any of these columns means that the command is not used to set a parameter It is used to request an action from the S3 Delayed Action when included in Description column designates commands that require the internal state machine of the S3 to run before the desired setting takes affect Monitor Only when included in Description column designates commands for which the S3 ignores any value sent N C value parameter not used any number acceptable ID T St St4 Sp Sp4 Description Values 1 1 1 1 Mode 0 Stationary Delayed Action 1 Moving Mode aaa 1 0 0 Delayed Action 0 Stationary Fane 0 Away Stationary Same Moving 2
12. 000 If 0 is selected default messages are sent at the internal sampling period of the radar about every 45ms A selection of 1 10 000 triggers the unit to send a message every 1 10 000ms 001 10 sec Since the internal sampling period is about 45ms this is the minimum possible message period so settings of 0 to 45 all result in the same 45ms period Leading Zero Character Command 23 For the formats which report speeds in ASCII characters A AF B D0 D3 and S this parameter defines the character sent for leading zeroes a space ASCII 0x20 and the default or a 0 ASCII 0x30 5 2 Logging Speed Data When the unit is sending speed data in Format EE the handshake protocol the applications will log the data with timestamps to a comma delimited file that can easily be imported to a spreadsheet To enable logging open the Stalker ini file in any text editor and make sure the following lines are included as shown ENABLE SPEED LOGGING 1 LOG ALL SPEED DATA 1 PATROL DATA LOG FILE Patrol Speed csv EE FORMAT INTERVAL 100 The LOG ALL SPEED DATA setting can be set to 0 to inhibit logging of 0 speeds The PATROL DATA LOG FILE can be set to any filename The log file will be created in the folder where the application executable resides The EE FORMAT INTERVAL setting defines in milliseconds how often the application will send an EE request to the S3 To initiate logging click on Actions and select Start Format EE To stop l
13. 10 minutes after which time it is automatically turned off again 48 7 7 7 7 7 Max AGC Gain 0 low gain 7 high gain 49 0 0 0 0 0 Min AGC Gain 0 low gain 7 high gain Min lt Max 50 Al R 4 4 4 Get Current AGC Gain Returns current AGC gain Monitor Only Gain is set automatically by the radar 30 900 seconds 52 840 840 840 840 840 Auto Test Period can be a two byte value 0 Always Test 0 9 2 0 g Auto Tast Mode 1 Test only when radar transmitter is on 0 Disabled 1 Enabled 54 0 0 Low Sensitivity 1 Allows lower sensitivity settings for Opposite Stationary Sensitivity See sensitivity discussion below this table 1 of 1 1 of 10 2 of 10 3 of 10 4 of 10 5 of 10 6 of 10 7 of 10 8 of 10 9 of 10 1 of 30 55 lioil ioil ox 2 Target Acquisition Quality 29 of 30 format is x of y where target acquisition requires gt x of the last y buffers to have good signal to noise can be a two byte value Page A 3 011 0080 00 Rev E St St4 Sp Sp4 Description Values 62 0 of 1 0 of 1 Target Loss Quality O of 1 1 of 10 2 of 10 3 of 10 4 of 10 5 of 10 6 of 10 7 of 10 8 of 10 9 of 10 1 of 30 29 of 30 format is n of m where target loss requires gt n of the last m buffers to have bad signal to noise can be a two byte value 64 TX On Time 65 TX Off Time Range for both is 0 60000 ms 0 60 sec
14. 3 for EE Format before polling the unit with EE Format Requests If the S3 is not configured for EE Format the requests will be ignored Modes DO D4 Polled Modes Modes D0 D4 may be used in a polled mode If polled mode is selected Command 90 sending a 3 byte poll string of P lt cr gt 0x2A 0x50 Ox0D will cause a return of the current target speed in the selected format Page C 1 011 0080 00 Rev E Appendix 53 Configuration Protocol NOTE Hexadecimal numbers are represented by OxNN 8 bit or OXNNNN 16 bit where N 9 A F Configuration packet format Description Required value or range Start ID OxEF Destination ID or address 0x02 Source ID or address 0x01 Packet type Reserved Ignored now anything OK use 00 Payload length LSB see next Oo nl S OO PO FE Payload length MSB Payload length is 16 bit word which is number of bytes starting with byte 7 byte after this byte through and including last byte before checksum 7 1 Command ID Refer to Appendix A COMMAND get method causes S3 to return current setting if byte 9 equals 0x00 COMMAND change method causes S3 to select next possible setting if byte 9 equals 0x01 0x80 128d COMMAND set method causes S3 to use value in byte 9 as new configuration setting Antenna number Reserved Ignored now anything OK use 00 co Configura
15. ASCII target speed only optional direction D3 ASCII target speed and relative amplitude optional direction D4 HEX target speed only Enhanced Output Hex All speeds status recommended 5 S3 Sports compatibility format ASCII All speeds some status A Format Strongest Target Speed Only Byte Description 1 Target speed hundreds digit ASCII 2 Target speed tens digit ASCII 3 Target speed ones digit ASCII 4 Carriage Return 0x0D AF Format Fast Target Speed Only Byte Description 1 Fast speed hundreds digit ASCII 2 Fast speed tens digit ASCII 3 Fast speed ones digit ASCII 4 Carriage Return 0x0D Page B 1 011 0080 00 Rev E b Format all speeds Byte Description Required Value or Range Message Type 0x81 Status 1 see detail below Status 2 see detail below Patrol speed hundreds digit ASCII Patrol speed ones digit ASCII Locked speed hundreds digit ASCII Locked speed tens digit ASCII 1 2 3 4 5 Patrol speed tens digit ASCII 6 7 8 9 Locked speed ones digit ASCII 10 Faster speed hundreds digit ASCII 11 Faster speed tens digit ASCII 12 Faster speed ones digit ASCII 13 Target speed hundreds digit ASCII 14 Target speed tens digit ASCII 15 Target speed ones digit ASCII 16 Carriage Return 0x0D 0x0D Status 1
16. CD provided with the S3 Power Programming Box ACI P N 200 0707 00 will install all of the files described below on the user s PC in the C Program Files Stalker Configuration Utilities folder The files required for each of the models are as follows 53 Traffic 463 Police exe PC utility program used to communicate with the 53 o Stalker ini general initialization file for utility program o Configure S3 Traffic x x x cfg model specific configuration file for S3 Traffic 3 Stationary 232 3 Police exe PC utility program used to communicate with the S3 o Stalker ini general initialization file for utility program o Configure S3 Stationary x x x cfg model specific configuration file for S3 Stationary 232 e 8 Stationary 485 3 Police exe PC utility program used to communicate with the S3 o or 53 Speedometer exe PC utility program used to communicate with the 53 o Stalker ini general initialization file for utility program o Configure S3 Stationary 485 x x x cfg model specific configuration file for S3 Stationary 485 53 Speedometer 232 63 Speedometer exe PC utility program used to communicate with the 53 Stalker ini general initialization file for utility program Configure S3 Speedometer x x x cfg model specific configuration file for S3 Speedometer 232 53 Speedometer 485 43 Speedometer exe PC utility program used to communicate with the S3 o Stalker ini general i
17. Stalker Speed Sensor User Manual for Traffic Stationary and Speedometer Models dir SOVCMVIOW tauras tako asas ao asas se tac ia Aaa cat aa Aa 1 2 Connecting the S3 to a PC ooo aaa AA eee akanai een eee aa Aaaa aa aaa a akanai aaa 3 3 Communicating with the 53 aaa aiaiai aaa aaa 5 4 Coniguring the i i a a Aaa 8 4 1 Reading the Current 53 8 4 2 Changing and Saving the 9 4 3 Application Defaults Arisin o G E L i va i a san T K S 10 Sau Operatingthe atiesa a eat Eina nin 11 5 1 Monitoring Speed 11 5 2 LOGGING Speed Data chad saus aa aim ais ai i ai ai ii i joa 11 5 3 Monitoring the AUX aa akanai Aaaa aa aaa aaa a kana aaa 12 5 4 kaka kaikas ali da dd Ade ddd had ddd dada 12 6 Advanced Contiguration a a suksis asai a ai sia ii ania ii sakas sai si 13 6 1 General Initialization F E a skai sia ska sakas as saaa 13 6 2 Model Specific Configuration 13 6 3 Default Parameter 65 2 ananasas aaa anna aa anas a aaa akanai 14 6 3 1 Application Befa lts lad da dad ddd ddd hdd
18. al code loaded into it To change the version of code in the S3 refer to 011 0054 00 LoadCode User s Manual 4 1 Reading the Current S3 Configuration From the Actions pull down menu select Edit Config After a few seconds during which the application polls the unit to retrieve configuration settings the Configurations window below is displayed Settings can be confirmed in this view Configurations Command Mode Zone OPP STA Sensitivity SAM Sensitivity Max Sensitivity Moving Closing Opposite 4 2 16 Defaults Cancel 4 iz il ku kali Liz ll Refer to Appendix A for a full list of all configuration parameters or commands available for the different models of S3 and their factory defaults Page 8 011 0080 00 Rev E 4 2 Changing and Saving the Configuration The settings in the unit can be changed by selecting another value from the setting s pull down menu as shown below and clicking the Save button The changes may be confirmed by opening the Configurations window again Configurations OPP STA Sensitivity SAM Sensitivity Max Sensitivity Stationary Low Cut Patrol Low Cut off x Alarm Speed Thresh 121 200 x Fast Enable 13 E Fast Lock Enable 14 Lock Options z Aux Pin Config El be I Defaults Cancel Whe
19. dd as 14 63 2 FaCtofy DefalltSeas sada ddd dak hdd dd 14 7 Advanced Operation iss sakas kisinistaks sai ais 15 Appendix A Command ID A 1 Appendix B Streaming Speed Data 5 B 1 Appendix Handshake Speed Data 15 C 1 Appendix 53 Configuration D 1 Appendix E AcCeSSOneS 2 siu aa as Peo a Ra D a E 1 1 Overview The Stalker Speed Sensor S3 is available in four types Traffic Stationary Speedometer and Sports This document covers the Traffic Stationary and Speedometer types Refer to document 011 0081 00 Stalker Sports Speed Sensor User Manual for user information on the Sports model The S3 Traffic is the most fully featured as it operates in moving or stationary mode and reports patrol speed ground speed strong target speed faster target speed and locked speed target or faster The S3 Stationary operates in stationary mode only and reports strong and faster target speeds The S3 Speedometer operates in moving mode only and reports ground speed The S3 communicates over one of two serial communications port types RS 232 or RS 485 An RS 232 unit has separate single ended transmit and receive signals and supports full duplex communication An RS 485 unit uses a single differential pair of wires for both transmit and receive and so provides on
20. description of the different types of default values Page 10 011 0080 00 Rev E 5 Operating the S3 5 1 Monitoring Speed Data The applications described in the previous section can be used to monitor speeds that the S3 detects Other equipment or applications can also monitor the speed data from the unit by decoding the messages it transmits over the serial link Speed data is only sent from the S3 unit while the radar transmitter is on unit not in Hold The S3 supports two types of speed output protocols or formats Streaming the S3 sends speed updates in the selected message format at a specified message period Refer to Appendix B for a detailed description of the streaming speed data protocols Handshake the S3 responds with a speed response message when it receives a speed request message This is the required format for the half duplex RS 485 units Refer to Appendix C for a detailed description of the handshake or polled speed data protocol Several of the configuration commands described in Appendix A affect the protocol messages from the S3 Serial Port Baud Rate Command 29 Selectable from 300 to 38400 baud default of 9600 Serial Port Output Format Command 30 Different formats are available for the different S3 models Streaming formats are A AF B Enhanced Output recommended and S The handshake protocol is EE Message Period Command 31 The message period setting may have a value from 0 to 10
21. e plug for power connections for S3 and serial cables on off switch reset button and auxiliary I O access 155 2223 00 S3 Power and I O Cable 12 Standard 12 cable used to connect the S3 to the Programming Box or to a 155 2227 00 cable for a user defined interface 155 2227 00 S3 Power I O User Cable Can be used to interface S3 with 155 2223 00 cable to user developed power and I O connections 200 0707 00 1 S3 Applications CD CD containing user applications and associated files 155 2239 00 RS 485 S3 Cable 82 Connects to RS 485 version S3 providing loose wires on the distant end 155 2226 00 S3 Power and I O Cable 75 Connects to S3 providing round connector on the distant end 155 2252 00 S3 Extension Power I O Splitter Cable Mates with round connector on 155 2226 00 cable to extend it by approximately 8 and provides a cigarette plug for power and a direct connection to a computer serial port 200 0708 00 S3 Cable Connector Kit Includes a panel mount connector socket contacts and a wiring diagram so user can wire 155 2226 00 cable into their system used in lieu of 155 2252 00 155 2225 75 S3 to Speed Sign Cable Connects the S3 to an ACI Speed Sign Page E 1 011 0080 00 Rev E
22. ed PORT defines the PC communications port to be used for communication with the S3 When the communications port is changed using the Actions pull down Connection function this parameter in the Stalker ini file is automatically updated In this case the application needs to be closed and re opened for the newly selected port to be used BAUD defines the baud rate to be used for communication with the S3 As with PORT above this parameter can also be changed via the Actions pull down Connection function ENABLE_APP_LOG_FILE defines whether the S3 log file is generated for the current session This log file contains details of the communications between the PC and the S3 unit Itis generated when the parameter is set 1 and not generated when set 0 RETRY defines the number of times the application will retry to send a configuration command to the S3 unit CONFIG_FILE defines the model specific configuration file used during a session These files are discussed in more detail in the next section RESPONSE_TIMEOUT is the time in milliseconds that the application will wait for a response from the unit before a retry or failure ENABLE_SPEED_LOGGING defines whether a speed log file is generated for the current session It is generated when the parameter is set 1 and not generated when set 0 LOG_ALL_SPEED_DATA can be used to inhibit logging 0 speeds When set 1 all speeds are logged including 0 speeds When set 0 only speeds above 0 are lo
23. ed MSB see above 15 Patrol speed LSB Patrol or ground speed is 16 bit number only valid in moving mode 16 Patrol speed MSB see above 17 Direction see detail below 18 Status see detail below 19 Configuration see detail below 20 Checksum LSB The checksum should egual the 16 bit sum of bytes 1 19 See example packet below 21 Checksum MSB see above Direction byte Bits 7 6 Bits 5 4 Bits 3 2 Bits 1 0 Status byte patrol speed direction 0 unknown 1 closing 3 1 away locked speed direction 0 unknovvn 1 closing 3 1 away fast speed direction 0 unknown 1 closing 3 1 away target speed direction 0 unknovvn 1 closing 3 1 away Bit 7 test result 0 success 1 failure Bit 6 fork mode 0 off normal 1 fork mode enabled Bits 5 3 units 000 MPH 001 KPH Bit 2 transmitter status O off 1 on Bit 1 strong lock 1 locked speed is strongest target Bit 0 fast lock 1 locked speed is faster target Configuration byte Bits 7 4 not used Bit 3 antenna orientation front rear Bits 2 1 zone 00 same 01 opposite 1 0 bi directional Bit 0 mode 0 stationary 1 moving EXAMPLE PACKET Enhanced Output Format Byte Description Example Packet Values 1 Start ID OxEF 2 Destination ID or address OxFF 3 Source ID or address 0x02 4 Packet type 0x01 5 Payload length LSB 0x0D Page B 5 011 0080 00 Rev E
24. finite the transmitter is never forced off as long as a target is present Page A 4 011 0080 00 Rev E Notes Note 1 Target Recognition Settings Several commands parameters affect recognition of targets Opposite Stationary Sensitivity Same Lane Sensitivity Fine Sensitivity Adjust Low Sensitivity Max AGC Gain Min AGC Gain Target Acquisition Quality Target Loss Quality Target Strength Sensitivity Sensitivity Hysteresis and Holdover Delay Sensitivity Settings The main sensitivity setting used in stationary mode is controlled by Command 4 Opposite Stationary Sensitivity This setting is also used in moving mode when monitoring the opposite lane zone The main sensitivity setting used in moving mode when monitoring the same lane zone is controlled by Command 5 Same Lane Sensitivity The range of values for each of these settings is 0 through 4 Use 4 for maximum sensitivity and 1 for minimum sensitivity Main sensitivity setting 0 allows no target acquisition at all Within each of the main sensitivity levels a finer adjustment may be made using Command 6 Fine Sensitivity Adjust with values of 0 less sensitive through 3 more sensitive Using the main sensitivity settings and fine adjustment settings 16 levels of sensitivity are available Main Sensitivity Fine Sensitivity Adjust 3 most sensitive picks up everything allows smallest signal to noise ratio PNMNNWWWWA A 03
25. gged PATROL DATA LOG FILE defines the filename for the speed log This file will be saved in the directory where the application file resides EE FORMAT_INTERVAL defines the polling period in milliseconds for EE format requests from the application to the S3 unit GET_CFG_INTERVAL is the polling period in milliseconds in which the fields displayed in the main window are updated The default is 300 000ms 5 minutes 6 2 Model Specific Configuration File The model specific configuration file is also an ASCII file which can be edited with a text editor It is different for the different models of Speed Sensor and defines the parameters from Appendix A that the application can control in the S3 unit There is a block of lines in the file for each parameter in the following format Mode PACKET_TYPE 1 COMMAND_ID 1 ANTENNA_NUMBER 1 VALUE_BYTES 1 DATA_TYPE 1 VALUE_MIN VALUE_MAX VALUE_ITEMS_DISPLAY Stationary Moving VALUE_ITEMS_FIRMWARE 0 1 DEFAULT VALUE 1 DISPLAY 1 Page 13 011 0080 00 Rev E The order of the blocks in the cfg file determines the order in which the parameters and their values will be displayed when Edit Config is selected from the Actions pull down menu As long as the blocks are moved as units they can be put in any order Blocks can also be deleted from the file if particular parameters are of no interest to the user The lines described below may be
26. gnal strength ratio Hundreds 100 0 9 ASCII 16 same Tens 10 0 9 ASCII 17 same Ones 1 0 9 ASCII 18 Status see detail below 19 Carriage return 0x0D Status byte Bit 7 not used 0 Bit 6 not used 1 Bit 5 not used Bit 4 Bits 3 0 not used Fork Mode 1 enabled 0 disabled Page B 7 011 0080 00 Rev E Appendix C Handshake Speed Data Protocols The Handshake Protocol only reports one speed For S3 Traffic and S3 Speedometer the patrol speed ground speed is reported For S3 Stationary the target speed is reported The EE protocol is the only output protocol supported when RS 485 communication is used EE Format Request from Controller to S3 Description Required value or range 1 Start ID OxEE 2 Check byte 0x12 0x12 mod 256 EE Format Response from S3 to Controller Description Required value or range 1 Start ID OxEE 2 3 Speed Bit 15 valid bit 1 valid speed Bit 14 13 direction 11 away 00 neither fork 01 closing Bit 12 unused Bit 11 0 speed in selected units and unit resolution 4 Check byte Bytes 1 4 sum to 0 mod 256 The S3 sends only one response for each speed data request EE command it receives from controller The Serial Port Output Format command Command ID 30 in the Configuration Protocol must be used to configure the S
27. hen in Stationary mode clicking this button cycles through the Away Closing and Both zones When in Moving mode it alternates the zone between Same lane and Opposite lane Target Lock Rel Clicking this button under the TARGET window while a target speed is displayed transfers that speed to the LOCK window and freezes the PATROL speed displayed while continuing to track targets in the TARGET window Clicking this button again clears the LOCK window and un freezes the PATROL speed window Fast Lock Rel Clicking this button under the FAST window while a faster speed is displayed transfers that speed to the LOCK window and freezes the PATROL speed displayed Clicking this button again clears the LOCK window and un freezes the PATROL speed window PS Blank This button has two functions Clicking this button when a speed is locked and the PATROL speed is frozen will un freeze the patrol speed Clicking it again will return the locked patrol speed to the PATROL window Clicking this button when no speed is locked will force the unit to clear the current patrol speed and reacquire a new patrol speed Page 12 011 0080 00 Rev E 6 Advanced Configuration 6 1 General Initialization File The general initialization file Stalker ini is an ASCII file that may be edited with any text editor It has several parameters described here that can be changed to affect the operation of the S3 unit If a parameter is not discussed here it should not be chang
28. ion Defaults The default values defined in the model specific configuration file as described in Section 6 2 may be changed by the user in that file Section 4 3 describes the procedure for setting these defaults using the PC application 6 3 2 Factory Defaults The factory defaults for each parameter are provided in Appendix A To return all values to their factory defaults switch the unit on while pressing the Reset button on the S3 Power Programming Box and continue to hold the button down for 2 3 seconds After switching off and back on again the unit will be configured with factory defaults Page 14 011 0080 00 Rev E 7 Advanced Operation This section discusses the S3 protocol used to communicate with the Speed Sensors Itis the protocol used by the applications described earlier in this manual and can be used by designers to develop custom applications to control Speed Sensors Appendix A lists all parameters commands that can be controlled externally for each model of Speed Sensor A user can get the current parameter setting from the unit set the parameter to a new value or change the value using the protocol described in Appendix D When a controller e g a PC sends a configuration command packet to the Speed Sensor the Speed Sensor will respond immediately with a packet in the same format The only values changed in the returned packet are the Destination ID Source ID Configuration Value and the checksum
29. ity so that a target is lost if any buffer is bad As an example of usage a 2 of 10 target loss quality will declare a loss of target if more than two of the last ten buffers have bad targets The 8 of 10 setting would require more than eight of the last ten buffers to have bad targets and would filter out more short term target dropouts As above with target acquisition the m value can be up to 32 buffers or almost 1 5 seconds This command is only available in the S3 Stationary 232 and S3 Stationary 485 models Target Strength Sensitivity This command can be used to suppress or acquire targets depending on their strength A higher value for the Target Strength Sensitivity allows smaller lower strength targets to be acquired A lower value requires the target to be larger closer before it is acquired Sensitivity Hysteresis The main sensitivity setting described under Sensitivity Settings above is increased by this value when a target is acquired It is reset to its original value on target loss This sensitivity bump while tracking a target can be used to reduce drop outs Page A 6 011 0080 00 Rev E Holdover Delay Once a target is lost the last speed measured is reported for this many more buffers to provide speed measurement continuity for noisy intermittent targets Note 2 Target Acquisition Quality Target acquisition requires gt x of the last y buffers x of y to have good signal to noise The y value ca
30. ly half duplex communication but it can communicate over longer distances The S3 Traffic is only available as an RS 232 model The S3 Stationary and S3 Speedometer are available as RS 232 models or RS 485 models as different assembly options A common Configuration Protocol is used with all S3 Traffic Stationary and Speedometer models to query and make changes to the operational software parameters stored within the non volatile flash memory of the unit A variety of Speed Data Protocol Formats are supported to convey speed information from the S3 This manual applies to e PC applications Version 1 1 1 0 and later Page 1 011 0080 00 Rev E S3 Traffic model operating code Version 1 0 5 and later S3 Stationary 232 model operating code Version 1 0 9 and later S3 Stationary 485 model operating code Version 1 0 9 and later S3 Speedometer 232 model operating code Version 1 0 4 and later S3 Speedometer 485 model operating code Version 1 0 4 and later Page 2 011 0080 00 Rev E 2 Connecting the S3 to a PC The S3 is a self contained radar unit with a single connector used to provide power to the unit and to monitor speed information Its pinout is shown below Pin 1 is between the polarizing slots and pins 2 through 5 are numbered in a counter clockwise direction PIN 24 PIN 1 Pin 1 RX Receive Data toward the S3 unit COMM for RS 485 units Pin 2 PWR 12VDC nominal Pin 3 AUX Auxiliary Input Outp
31. n be any number from 1 to 32 and x must be less than or equal to y The settings in the table above are just a few possibilities and others may be added in the model specific configuration file The VALUE_ITEMS_FIRMWARE values are calculated as 257 y 256 x This command is only available in the S3 Stationary 232 and S3 Stationary 485 models Note 3 Target Loss Quality Target loss requires gt n of the last m buffers to have bad signal to noise The m value can be any number from 1 to 32 and n must be less than m The settings in the table above are just a few possibilities and others may be added in the model specific configuration file The VALUE_ITEMS_FIRMWARE values are calculated as 256 n m This command is only available in the S3 Stationary 232 and S3 Stationary 485 models Page A 7 011 0080 00 Rev E Appendix B Streaming Speed Data Protocols When a streaming protocol is selected the S3 will send speed updates in the selected output format at a specified message period Note that when the RS 485 version is used the transmit and receive directions share the same differential pair and thus only half duplex communication is supported For this reason only the Handshake protocol described in Appendix C is supported for the RS 485 version The following streaming protocol message formats are supported A ASCII target speed only AF ASCII fast target only B ASCII All speeds some status DO D1 D2
32. n the Save button is clicked the PC application sends separate commands to the S3 unit to set each parameter The S3 responds to each command with the current parameter value For most commands the S3 is able to change the parameter and report the new desired value However some commands are used only for monitoring the status of the unit and cannot actually change the parameter in the S3 These are identified in Appendix A as Monitor Only commands For these commands the S3 still sends a response but it responds with the internal parameter value and may result in the application program displaying the following screen 3 Police B xi A Errors encountered while updating configuration data An example is Command 50 Current AGC Gain Although maximum and minimum AGC gain can be controlled with other commands the current AGC gain can not be directly controlled from outside the S3 since it is set automatically by the radar The S3 s response to Command 50 is always the current internal gain setting regardless of the value sent in the command Page 9 011 0080 00 Rev E 4 3 Application Defaults To select default values click on the Defaults button and the values will be displayed in the Configurations window Click Save to configure the unit with these values An alternate but equivalent method of applying default values is to select Apply Default Values from the Action pull down menu Refer to Section 6 3 for a more complete
33. nitialization file for utility program o Configure S3 Speedometer 485 x x x cfg model specific configuration file for S3 Speedometer 485 The executable file S3 Police exe is used to communicate with the Traffic and Stationary models of the S3 It displays target faster locked and patrol speeds for an S3 Traffic For an S3 Stationary 232 model target and faster speeds are displayed but the lock and patrol windows are unused For an S3 Stationary 485 model the only output protocol format available is the EE Format Handshake protocol In this protocol only target speed data is sent out for the Stationary models and it is displayed by the S3 Police exe application in the patrol window The 53 Speedometer exe executable file is used with both versions of the S3 Speedometer and can also be used with the S3 Stationary 485 model It only has one window used to display the ground speed for S3 Speedometer models or the target speed for the S3 Stationary 485 model Page 5 011 0080 00 Rev E After turning on the Speed Sensor with the switch on the interface box double click the appropriate executable to start the application The following screen appears for 53 Police exe 3 Configure 3 Traffic 1 0 0 cfg eT ET Actions TARGET FAST LOCK PATROL Lock Rel Lock Rel PS Blank Units MPH Transmit mit Transmit Hold Fork Mode Off Mode Moving Test Result Success Zone Opposite Zone Close And the sc
34. ogging click on Actions and select Stop Format EE As long as the application is running it appends new data to the log each time Format EE is started The application must be closed to access the log file Page 11 011 0080 00 Rev E 5 3 Monitoring the AUX Pin Using configuration command 16 the AUX pin on the S3 connector can be configured to provide Doppler audio in PWM format for targets a speed alarm signal or it may be disabled completely When used as a speed alarm the AUX pin will be grounded if target speeds are below the Alarm Speed Threshold set using command 12 When the target speed is equal to or greater than the threshold the AUX pin is set to 3 3VDC and can drive a maximum of 10mA The signal on the AUX pin can be monitored on pin 3 of the S3 connector It can also be accessed via the jack labeled Aux I O on the S3 Power Programming Box 5 4 Controlling the S3 When using the S3 Police application to communicate with the unit several softkeys are available for control of the unit 53 Configure 3 Traffic 1 0 0 cfg e iE x Actions TARGET FAST LOCK PATROL a 15 1 a Lock Rel PS Blank Units MPH Transmit mit Transmit Hold Fork Made Off Mode Moving Sta Mov Test Result Success Zone Opposite Zone Close Transmit Hold clicking this button turns on and off the radar transmitter Sta Mov clicking this button alternates the mode of the unit between Stationary and Moving Zone W
35. reen below appears for S3 Soeedometer exe 53 Configure 3 Speedometer 1 0 2 cfg x Actions MPH Transmit Xmit Fork Mode Off Test Result Success Note that the model specific configuration filename appears in the title bar e g Configure S3 Traffic x x x cfg or Configure S3 Speedometer x x x cfg This file defines the configuration parameters available to the application The file may be changed by selecting Set Configuration File from the Actions pull down menu Right click on the title bar and select About Stalker II Police or About Stalker II Speedometer to display the screen below It identifies the version of the PC utility application e g 1 1 1 0 and the version of code loaded into the Speed Sensor e g Speed Sensor Traffic Ver 1 0 0 The display of the Product ID is assurance that the unit is powered and communicating If the S3 is not communicating the Product ID will be blank About Stalker II Police x 53 Police Option Version 1 1 1 0 Copyright C 2004 ProductID Speed Sensor Traffic Ver 1 0 0 Page 6 011 0080 00 Rev E If the unit is not communicating check the communications port and baud rate settings by clicking on Actions and selecting Connection from the pull down menu 53 Configure 3 Traffic 1 0 0 cfg stop Format EE Serial Port Page 7 011 0080 00 Rev E 4 Configuring the S3 This section assumes that the S3 already has operation
36. rts compatibility format 5 F FFT spectrum output 30 Serial Port Output Format STATIONARY RS 485 or SPEEDOMETER RS 485 0 None serial output disabled 1 EE Format handshake Page A 2 011 0080 00 Rev E ID T St St4 Sp Sp4 Description Values 0 Immediate reporting 31 0 0 0 0 0 Message Period 1 10000 ms message delay can be a two byte value 37 4 4 4 4 4 Get Product ID N C Returns ASCII string containing Monitor Only product model and softvvare version 42 1 1 1 1 1 Transmitter Control 0 Transmitter off Hold Delayed Action 1 Transmitter on 43 0 r x R ___ Strongest Lock 0 Release Delayed Action 1 Lock 44 0 m Fast Lock 0 Release Delayed Action 1 Lock 0 No action 1 moving mode only If speed is locked 45 V 5 Patrol Speed Blank toggle patrol speed blanking unless in Florida lock mode otherwise re acquire ground speed x 0 No action 45 y VN Patrol Speed Blank La fo speed Test 0 No action k V V V Delayed Action 1 Initiate self test 0 Fork mode off normal 1 Fork mode on non directional Fork mode is turned on automatically at power up for 1 minute then it is 47 0 0 0 0 0 Fork Enable automatically turned off It may be turned Delayed Action off at any time using this command When fork mode is turned on using this command it stays on for
37. speed when analysis of its most recent buffer results in a target meeting the sensitivity signal to noise ratio and gain requirements outlined above Once a target is acquired it continues to be reported until it is lost and then for a programmable holdover period afterwards ref Command 88 Target Acquisition To filter out small or intermittent targets the criteria for target acquisition may be changed using Command 55 Target Acquisition Quality Using this command it is possible to specify that a good target be present for at least x of the last y buffers Using this x of y nomenclature standard operation uses 1 of 1 target acquisition quality As an example of usage a 2 of 10 target acquisition quality requires only two of the last ten buffers to meet requirements for a target to be acquired Whereas a more stringent 8 of 10 setting requires eight or more of the last ten buffers to meet requirements The y value can be up to 32 buffers or at about 22 buffers per second almost 1 5 seconds This command is only available in the S3 Stationary 232 and S3 Stationary 485 models Target Loss To alleviate target drop outs the criteria for target loss may be changed using Command 62 Target Loss Quality Using this command it is possible to specify that target loss requires more than n of the last m buffers to have a bad target Using this n of m nomenclature standard operation uses 0 of 1 target loss qual
38. tion value 0x00 get see byte 7 description 0x01 change see byte 7 description 0x00 OxFFFF set value see command ID table for two byte values LSB is first followed by MSB 10 Checksum LSB see next 11 Checksum MSB The checksum should equal the 16 bit sum of pairs of bytes in LSB MSB order starting with byte 1 Start ID OxEF as the first LSB through and including the last byte before the Checksum in this case byte 9 In the case of an odd number of bytes 0x00 is used as the last MSB value See example below The following is an example showing how to set UNITS to KPH Description Required value or range 1 Start ID OxEF 2 Destination ID or address 0x02 3 Source ID or address 0x01 4 Packet type 0x00 ignored 5 Payload length LSB 0x03 6 Payload length MSB 0x00 length 0x0003 3 bytes 7 Command ID 0x94 0x14 20 0x80 set method 8 Antenna number 0x00 ignored 9 Configuration value 0x01 KPH 10 Checksum LSB 0x88 11 Checksum MSB 0x03 checksum is 0x02EF 0x0001 0x0003 0x0094 0x0001 0x0388 Page D 1 011 0080 00 Rev E Appendix E Accessories ACI P N Accessory Description 200 0702 00 S3 Programming Box Kit Along with the programming box itself items with after their name are included in this kit Provides cigarett
39. ut Pin 4 TX Transmit Data from the 53 unit COMM for RS 485 units Pin 5 GND Ground The easiest way to start using an S3 is to connect it to a PC with the S3 Power Programming Box ACI P N 200 0702 00 As shown in the pictures below there are connections for a cable to the S3 unit To RADAR a cable to the PC To Computer and a power connector 9 12VDC Page 3 011 0080 00 Rev E Connect the S3 to the box with the 155 2223 00 cable provided with the box Connect to power by plugging the cigarette plug into a 12VDC nom power supply And connect to a PC serial port using a standard 9 pin D Serial Cable not provided This standard setup is for RS 232 units Since some newer PCs are no longer configured with 9 pin D serial ports a USB to serial adapter may be required These products vary and may or may not work well In some cases they provide undesirable buffering For RS 485 units an RS 232 to RS 485 converter is required between the box and the PC Page 4 011 0080 00 Rev E 3 Communicating with the S3 Both the RS 232 and RS 485 versions are configured for 10 bit asynchronous serial communications with 1 start bit 8 data bits 1 stop bit and no parity 8N1 The baud rate is selectable from 300 600 1200 2400 4800 9600 19200 38400 The default baud rate is 9600 The basic PC application for communicating with and configuring the S3 is a set of files which must reside in the same folder on the PC The

Download Pdf Manuals

image

Related Search

Related Contents

Samsung SGH-C130 service manual  Manual de Patrimonio Técnico - Superintendencia de Bancos y  Owners Manual - Light - Control eventtechnik  Word Pro - MTLY28ITA1.lwp  MG100A2 Lefty  APO-GAIN  Minolta Dimage Scan Multi Film Scanner (35 mm)  Fujitsu LIFEBOOK S6420  Lennox Hearth SHRL 33/40 DV INS Indoor Fireplace User Manual  InTouch-Benutzerhandbuch  

Copyright © All rights reserved.
Failed to retrieve file