Having the heat pump in place, I decided that the next logical step is to be able to monitor its performance. The reasons behind that are simple
1) It is a home made hack job, not a ready product so I had to measure the effect of having it and this prove it efficient or not
2) I can have constant data logging and monitoring
3) By monitoring it, I can identify problems and address them
I came up with an action plan with the following steps
1) Decide what to monitor
2) Decide how to monitor it
3) Decide how to store the data
4) Solution on how to visualize it
5) After some data is in, analyze the data
6) Use the analysis make corrections
Deciding what to monitor was relatively easy, most important for me was monitoring the power consumption, hot water tank temperature, heat exchanger returning water (cold) temperature, heat exchanger cold refrigerant temperature, hot water tank hot refrigerant temperature, hot boiler tank exit refrigerant temperature, outside temperature. I’d love to be able to monitor the heat pump’s COP, but that is not quite easy in my setup where the refrigerant circulates in the hot water tank before ending up in the brazed plate heat exchanger. There is phase transition involved in the process and that no spoon for my mouth.
Next important step was deciding how to monitor all this. After quite a googling I decided that most accessible for me was to use an Arduino for the purpose, so I purchased one. I have never before that worked with microcontrollers and that was a nice learning experience for me. For temperature measurements I experimented with thermistors and, but then I need one Arduino analog pin per thermistor and I gave up. Next option was to use a digital temperature sensor, the seller had TCN75A in stock so here I was purchasing a bunch. The sensor runs on I²C bus, quite a pin saver. They are pricey though, and for my future plans I will use the DS18B20 Programmable Resolution 1-Wire Digital Thermometer. Last step was to figure out the power consumption sensing and I then found this article on how to build Arduino based energy monitoring system. The guys at openenergymonitor.org have been an inspiration ever since. It took a while to get all components shipped, assembled, wires put in place and software written.
Having the hardware and software in place, I was able to read live data from the sensors thru the Serial output of the Arduino and an I²C 16×2 LCD display. That’s fun, but for a short time 🙂 It is necessary to store that data because only analysis it time is useful to me. I decided that it will be best to store the data online; For the purpose I purchased and ethernet “shield” so that my Arduino was now Inernet-connected. On the software side, my research showed pachube.com as one of the possible options. I did some preliminary research, but decided to build my own MySQL/PHP based system; In fact it is quite an easy job to serve HTTP GET requests and store them in the database. I send my data every 15 seconds, that since Dec 15th 2010 when I had all this in place. Eventually, I decided to add an extra CT and a remote Arduino equipped with XBee radio module to monitor the overall house power consumption on top of the heat pump’s.
After a while that wires mess started to be quite annoying and put the whole project in a box, looks a bit better although the mess remained inside the box :). All this motivited me to lay out a dedicated sensing PCB, I will be describing my progress on that subject soon.
.. and the project box (ignore the lousy screen-cut job, first time attempt)
Having the data stored, I had to figure out a way to visualize it. I decided to use PChart , a PHP charting library for the purpose, quite a nice one indeed. Here is how it came out; note that when data is missing, that is also visible:
There is also a UI that allows me to filter for a period, apply resolution and chose what to draw:
So I was finally able to view performance data, analyze it and make corrections when needed.
Overall, I gained lots of experience with this project, quite happy with the results as well.
Page views: 5219