background image

 

Sonata Sprint 

Encoder 

 

User Guide

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

FCC ID: 2A7AASONSPR1MM

 

IC: 28664SON1SPRMM

 

 

Revision:  1.00 

 

 
 
 
 
 
 
 
 
 

 
 

Summary of Contents for Sonata Sprint

Page 1: ...Sonata Sprint Encoder User Guide FCC ID 2A7AASONSPR1MM IC 28664SON1SPRMM Revision 1 00 ...

Page 2: ...eni Kosakovski Firmware Engineer Approved by R D Manager Approved by Product Manager Approved by This document contains confidential information which is proprietary to ARAD Ltd No part of its contents may be used copied disclosed or conveyed to any party in any manner whatsoever without prior written permission from ARAD Ltd ...

Page 3: ...ot installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by on...

Page 4: ...a of a type and maximum or lesser gain approved for the transmitter by Industry Canada To reduce potential radio interference to other users the antenna type and its gain should be so chosen that the equivalent Isotropically radiated power EIRP is not more than that necessary for successful communication Conformément à la réglementation d Industrie Canada le présent émetteur radio peut fonctionner...

Page 5: ...ssage 13 5 5 Encoder interface configuration 13 5 6 Encoder Message formatting 14 5 7 Field definition 15 5 8 Parse message according to old format 16 5 9 Write to EEPROM received parameters 16 5 10 Reader event handle block 16 5 11 Open quite detection timer 17 5 12 Detect reader type 17 5 13 Open timer for TPSL detection 17 5 14 Wait for down clock event shift data out 17 5 15 Advance TX events ...

Page 6: ...rom other Used appropriately software requirements specifications can help prevent software project failure Current document enlists enough and necessary requirements that are required for the Encoder module development include system definition DFD communication etc and presents the details of the hardware and software interface required to communicate Encoder module with SENSUS pulse readers 2 S...

Page 7: ...thout any post processing 3 2 Encoder module SW architecture is an interrupt driven SW architecture SPI RX interrupt Reader clock interrupts Timeouts 3 3 The main program consists of system initialization and a main loop 3 3 1 During the main loop the system waits for SPI RX interrupt or reader interrupt to occur 3 3 2 If no interrupt occurred and no pulse out command was received the system enter...

Page 8: ...ed 3 4 4 Update SPI error byte When checksum is not valid the SPI error byte is updated and the message is not parsed 3 4 5 Parse received SPI message When checksum is valid the parsing process is called The parsing is done in the main loop in order to handle immediately the received buffer as an atomic and un interfered process When parsing is performed no reader event is handled 3 5 The followin...

Page 9: ...elect Sonata RTC Alarm shall be configured for time is defined in Minutes field Communication to Encoder module shall be performed every Minutes field time 4 2 2 In case of user select or Sonata RTC Alarm shall be configured for time is defined in First or Second field according to selected option Communication to Encoder module shall be performed at selected time 4 3 Encoder module shall support ...

Page 10: ... Fields First and Second shall contain time in format hours and minutes 4 7 AMR Serial Number up to 8 digits ID number default same as meter ID Only numeric numbers in backwards mode Only 8 least significant numbers in backwards mode 4 8 Number of digits 1 8 digits from the right most position to be sent to the 2 3W reader default 8 digits 4 9 TPOR Time that the reader waits until the master stops...

Page 11: ... 5 1 3 In case of Encoder module doesn t receive configuration by 3 times Sonata shall execute Encoder module Reset through Reset pin for 200ms and shall try to send configuration again 5 1 4 After configuration request performs success Sonata shall began sending data to Encoder module 5 2 Encoder Sensus Reader TouchRead Interface 5 2 1 The interface specification for the TouchRead mode is defined...

Page 12: ...c device The register shall remain in the current state as long as the Power Clock signal remains high 5 2 3 Supported readers 2W 1 TouchReader II Sensus M3096 146616D 2 TouchReader II Sensus M3096 154779D 3 TouchReader II Sensus 3096 122357C 4 Sensus AutoGun 4090 89545 A 5 VersaProbe NorthROP Grumman VP11BS1680 6 Sensus RadioRead M520R C1 TC X AL 3W 1 VL9 Kemp Meek Mineola TX Tap 2 Master Meter M...

Page 13: ...a message i 10 0x0D 5 5 Encoder interface configuration Byte Num 1 Bits 0 Enable External Power 1 0 Fix format 1 Variable format Default is 0 No external power and Variable format 2 TPOR In 10 ms steps 3 2W clock freq In Khz 4 5 Vsense threshold Switch to external power when Vsense exceeds threshold 6 2W pulse width in 5 us 0 means 0us 10 means 50us 100 means 500us 7 8 Battery Access threshold In ...

Page 14: ...orm V IMiiiiiiiiiiii RBmmmmmmm uv Aa a a GCnnnnn ufCR 1 Take the 12 LSB chars from the Meter ID Main or Meter ID secondary 2 Convert the meter counter field of the Encoder Data and convert to ASCII 0 to 99999999 the number of digits depends on configuration 3 Send the Alarm Byte from the Encoder Data if exists 4 Send unit Byte from the Encoder Data if exists 5 Convert the meter Flow field of the E...

Page 15: ...ter to one of the two formats according to configuration Fix or variable The next table defines supported length formats Output message Format Form Where Configuration Fixed Length Format RnnnniiiiiiiiCR R leading character n meter reading i meter ID CR ASCII 0Dh meter reading units Variable Length Format V IMiiiiiiiiiiii RBmmmmmmm ffff uv Aa a a GCnnnnnn uf CR V leading character I Identification...

Page 16: ...ts the system from losing data when system reset occurs 5 10 Reader event handle block 5 10 1 When Reader Clock is received the system handles reader s ISR event 5 10 2 All the processes are done in the ISR in order to be synchronized with the reader 5 10 3 If no clock is detected for 200ms the system goes to power down mode Reader Event handle block Open quit detection timer EXIT 03 12 2017 Ver 1...

Page 17: ...he bit is transmitted according to 2w protocol 0 is transmitted as pulse of 50 kHz for 300 µs 1 is transmitted as 0 for 300 µs In 3w connection After TPOR time of delay the bit is transmitted according to 3w protocol 0 is transmitted as 1 1 is transmitted as 0 Each bit is transmitted after clock down event 5 15 Advance TX events counter go to TRR After each message transmission the counter of TX e...

Page 18: ... Encoder reply to meter Header Addr Type Len Data End Get Encoder Access 55 X 9 2 number of reads from interface Module ID Get Status 55 X 10 1 Bitwise Module ID 0 1 2 4 8 OK WatchDog occurred UART Error Exceed read number Encoder Interface errors All Commands 55 X X 0 Module ID ...

Page 19: ...tion CSCI Computer Software Configuration Interface EEPROM Electronically Erasable PROM GUI Graphical User Interface ISR Interrupt Service Routine SRS Software Requirements Specification WD Watch Dog 7 Appendix 7 1 Measurement Units Character Units m Cubic Meters ft Cubic Feet US Gal US Gallons l Litres ...

Page 20: ...lite 2069206 Israel www arad co il 8 External Documents Name and Location 2W SENSUS 3W SENSUS 9 Revision History Revision Section affected Date Changed by Change Description 1 00 All 04 12 2017 Evgeni Kosakovski Document creation End of Document ...

Reviews: