Overview
This software consists of several parts:
-sensors
-gauges
-flow meter
Sensors are modules that receive analog or digital signal
and transmit it over
so-called ADCBUS serial datalink further.
Gauges are modules that receive single- or multichannel data
measured by sensors,
calculate required ranging coefficients and display this data in digital
(LED display)
or analog (LED bar) form. The most advanced gauge- TCU (don't ask why it's
called so :)
has external RS485 interface, SEEPROM memory and Real-time-clock with battery
backup.
It can be connected to upper-level computer to perform further
data processing. Protocol used is Grundfos Pumps inc. GENIbus. This
gauge also
can log received data in SEEPROM with programmable pacing and retrieve them
later
via the same RS-485 interface. Specification for GENIbus is included
in package.
Flow meter is connected in between sensors and gauges. It
receives
pressure, differential pressure and temperature data via ADCBUS, then performs
arbitrary floating-point calculations over them and sends result out via
another ADCBUS
to be displayed by gauges. Curently it is just an implementation of Double-precision
floating-point computer on PIC16F877. It's FPU library can perform addition,
subtraction,
division, multiply, square root calculation, and exp() and log()
functions. Primary purpose
for this engine was to implement flow computations according to GOST
8.563.* state standards
of Russian Federation. Flow computing routines was implemented using this
library
up to level where it's successfully computes test data from GOST 8.563.2.
It is sufficient
to use this device after some minor workaround to compute flow of liquids.
To use it for gases
a supercompressiability computing algorithms according to GOSTS
30319.* must be implemented.
Scanned pdfs of these GOSTs in russian language is available
upon special request from
stacy at noeverspam ivan dot harhan dot org
Remove noeverspam from address above :)