Master Controller - Understanding the ATG Setting and filtering out the Noisex.docx

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Master Controller - Understanding the ATG Setting and filtering out the Noisex.docx

NEAL SINGH
Administrator

Master Controller understanding the ATG Setting and filtering out the Noise

 

Defn:

Event is a Refuelling, Leak etc anything that causes the fuel level to change.

 

Changes to Master Controller Command 0x24

1 (x 5min) = 5mins on Lower Nibble (ATG Heart beat - no Change)

1 (x 5Sec) = 5 Sec on Upper Nibble ( (ATG Heart beat - GOT Change)

With these settings the MC will report every 15 minutes if there is no change and changes occurring will be reported every 15 seconds unless there is an Event Like the Generator ON/OFF or a Power Outage (both cases ON/OFF) which will be report immediately. This can be used to reduce the amount of data going up to the Server.

 

 

 

Changes to Master Controller Command 0x23

Device Parameter Settings . Polling_Time = Polling ATG interval in seconds

How often the MC polls the ATG will determine the amount change between readings that the ATG  will report during an event. Faster the polling, the lesser change is to be expected, but with slower polling, if the Tank has a big Leak, the changes would be bigger, from one read to the other.

 

Device Parameter Settings . Spare Control 1 = ATG_Difference_in_mm

This figure that determines what is an Event. This may vary from tank to tank depending on sizes and refuelling flow rates and Generator consumption rates etc.

 

Device Parameter Settings . Spare Control 1 * 4 = Noise level Filtering Window

The Noise Level Filtering Window is ATG_Diff_in_mm X 4 and its the window giving the tolerance of the read that is acceptable.

NB: if the ATG is tracking 2mm change in level, then Noise Level Filtering would ignore readings outside a  window of +- 8 (i.e. 2x4)

Important: Zero is this field will disable Event Detection

 

Device Parameter Settings . Spare Control 2 = Mean samples (1 = no mean)

How many samples are required to determine a mean is set here.

 

Device Parameter Settings . Spare Control 3 = Quantity of wrong samples to restart the mean cycle - this is the number of consecutive samples that occur are outside the Noise level Filtering Window  - these values are not included in the Mean Sample.

The samples outside the window, are not included into the mean but they are counted, if the quantity of consecutive outside the window reads is equal to Spare_Control_3, then the Algorithm then resets the mean vector, erasing the last values and  starts again.

Once that the mean vector is full with valid samples, then it calculates a mean value. And if the next measurement is valid too, it is included into the mean vector (removing the oldest sample) and calculate the mean again.

If there are too many readings (determined by this setting) outside the Noise  Level Filtering, the process of finding a Mean restarts with new data.

 

http://development-juan-projects.133534.n8.nabble.com/attachment/187/1/image002.png

 

 

 

 

 

 


Master Controller - Understanding the ATG Setting and filtering out the Noisex.docx (58K) Download Attachment