Author Topic: System monitoring/logging software  (Read 2546 times)

0 Members and 1 Guest are viewing this topic.

dlenox

  • Sr. Member
  • ****
  • Posts: 352
    • PowerDashboard monitoring/logging software for RE systems
System monitoring/logging software
« on: September 16, 2008, 05:50:49 PM »
All,


I have been extremely busy as of late desiging and writing software for monitoring and logging of my system.  I have designed this software to be totally inclusive and acquire/display data from: weather system, battery bank, inverter, diversion controller, solar panels, charge controller and weather station.


Currently it is connected via a CANBUS --> RS232 dongle that connects with my Xantrex XW series inverter.  There is a ton of information being spit out from this system with about 5000 messages per minute.  Much information about the battery bank, power input and output, grid connection and inverter are available through it.


The interfaces to the other devices will use analog-->digital (A/D) ports.


Here is a list of the current features:

 - runs under MS Windows 2000, XP, Vista

 - efficient multi-threaded code, only uses 6-8% CPU

 - asynchronous serial I/O

 - totally configurable for each piece of equipment

 - total graphic user interface (like your car dashboard - but better)

 - configurable warnings and ranges

 - logging output configurable for frequency and file formats (csv, html, xls)

 - screen click-thoughs to see detailed output for each system

 - colors are configurable

 - battery 'LED' display

 - status and warning lights

 - ability to switch in/out a line resistor

 - able to control a stator shorting switch to manually/automaticaly shut down turbine


Here is the main dashboard screen shot:


Initial phase will perform monitoring/logging of information, next phase will include:

 - system control

 - automatic shutdown

 - effectively give MPPT-like control over wind turbine

 - graphing capabilities for log data

 - ability to remotely connect using web browser


If successful the next phase will give ability to connect to other makes/models of inverters as well as more control in what is being logged.


I would like to know if there are any features that you would like to see in this type of software as well as inverter models that you are using.


Dan Lenox

« Last Edit: September 16, 2008, 05:50:49 PM by (unknown) »

ETech

  • Newbie
  • *
  • Posts: 17
Re: System monitoring/logging software
« Reply #1 on: September 16, 2008, 12:28:49 PM »
Dan,


Having all of your gauges increase in value, with clockwise rotation will make the display more readable. That would be for your Turbine temp & amps, Solar panel volts & amps.


The actual layout though is very nice!!


I like the features that you listed as being well thought out.


Very nice work overall,  Etech

« Last Edit: September 16, 2008, 12:28:49 PM by (unknown) »

tanner0441

  • Hero Member
  • *****
  • Posts: 1099
  • Country: wales
Re: System monitoring/logging software
« Reply #2 on: September 16, 2008, 12:56:54 PM »
Hi


Very impressive. Would it take much to make the interface USB Bluetooth, you could then grab the data on a laptop or mobile phone. Do you have to embed thermistors or diodes in the stator for temp monitoring?


Anyone who is offgrid or getting a system up and running it could be a godsend for seeing what bits are doing what, saves running outside to see if things are turning,


Brian

« Last Edit: September 16, 2008, 12:56:54 PM by (unknown) »

David HK

  • Hero Member
  • *****
  • Posts: 509
  • Country: hk
Re: System monitoring/logging software
« Reply #3 on: September 16, 2008, 04:07:15 PM »
Is wind speed in miles per hour, metres per second, or knots. It would be nice if it was a selectable item.


David HK

« Last Edit: September 16, 2008, 04:07:15 PM by (unknown) »

luckeydog

  • Full Member
  • ***
  • Posts: 198
    • Colorado Wind Power
Re: System monitoring/logging software
« Reply #4 on: September 16, 2008, 11:18:31 PM »
average wind speed and a high and low wind speed.


luckeydog

.

« Last Edit: September 16, 2008, 11:18:31 PM by (unknown) »

GeeMac

  • Full Member
  • ***
  • Posts: 230
Re: System monitoring/logging software
« Reply #5 on: September 17, 2008, 05:12:28 AM »
Nice work. I am interested to know what software development language you use to create this?
« Last Edit: September 17, 2008, 05:12:28 AM by (unknown) »

dlenox

  • Sr. Member
  • ****
  • Posts: 352
    • PowerDashboard monitoring/logging software for RE systems
Re: System monitoring/logging software
« Reply #6 on: September 17, 2008, 08:13:48 AM »
Dave,


The display for wind speed is selectable.  Since it will be using pulses from an A/D port, so it can be set to what-ever is meaningful to the user.


Dan

« Last Edit: September 17, 2008, 08:13:48 AM by (unknown) »

dlenox

  • Sr. Member
  • ****
  • Posts: 352
    • PowerDashboard monitoring/logging software for RE systems
Re: System monitoring/logging software
« Reply #7 on: September 17, 2008, 08:14:56 AM »
GeeMac,


I developed the code using C#, in Visual Studio 2008 environment.  Been developing software now for 32+ years...


Dan

« Last Edit: September 17, 2008, 08:14:56 AM by (unknown) »

dlenox

  • Sr. Member
  • ****
  • Posts: 352
    • PowerDashboard monitoring/logging software for RE systems
Re: System monitoring/logging software
« Reply #8 on: September 17, 2008, 08:40:20 AM »
Brian,


Technically it is completely separate applications; one that acquires the data and another that performs the display.  It would be a simple matter of instead to write a  different 'front end' to push it out to the human or device the 'real-time' data is available to multiple applications that can do with it what they want...


Last phase is also a web-based interface so that no matter where in the world you are you can tap in, see data and potentially shut it down completely remotely.


For temp inputs it could be thermister, basically anything that can be interfaced with an A/D port would work, same for wind speed, turbine speed, etc...


Dan

« Last Edit: September 17, 2008, 08:40:20 AM by (unknown) »

dlenox

  • Sr. Member
  • ****
  • Posts: 352
    • PowerDashboard monitoring/logging software for RE systems
Re: System monitoring/logging software
« Reply #9 on: September 17, 2008, 08:46:52 AM »
ETech,


Actually the initial screen design I did have all the gauges rotating in the same direction, with them actually operating I actually preferred them going opposite directions it tended to give balance to the screen, but I see what you mean.


Right now I am looking to get functionality, but I can also easily be an item that is configurable by the end-user.


Anyone know of an inexpensive 8 port controller?  It would be nice to have 6 A-->D (receive only) and 2 D-->A (output only) ports.


Dan

« Last Edit: September 17, 2008, 08:46:52 AM by (unknown) »

Ungrounded Lightning Rod

  • SuperHero Member
  • ******
  • Posts: 2865
Re: System monitoring/logging software
« Reply #10 on: September 17, 2008, 02:49:40 PM »
One hack that has proven useful is to arrange meters so that all the needles point in about the same direction in normal operating mode.  That way something exceptional stands out.  (Like a "wallpaper gag" in comics, where a series of frames are identical except for one and the joke is related to the delta.)


Of course there are limits to how much of that you can do, depending on application.  (For instance:  Vehicles can have voltage, temperature, and oil pressure with the meter in the center for normal mode and gas will typically be near that when you have enough.  But speed and to some extent RPM are all over the map.)  When this happens you make the indicators with no "typical" or "good" region a different style.

« Last Edit: September 17, 2008, 02:49:40 PM by (unknown) »