| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 04/03/2010 12:03:30
|
Antsu
Initiate
Joined: 18/11/2009 00:53:40
Messages: 20
Offline
|
I have some questions. Is that possible to increase resolution of 1-wire temperature measurements? Now that is 0,5 C. I calculate status of hot water making. (p15= hot water temperature)
if ((p15.value-p15.ago(MINUTE)) <= 0.1)
return false;
return true;
See attachment of this message. That red curve in upper picture is hot water “ON”. When somebody uses hot water, that curve will goes up and down, up and down. I will put that comparison value 0.1 but if that temperature moves 0.5 C steps, that doesn’t working correctly.
Another trouble is that blue curve. That is status of geo heatpump “ON”. I calculate that on formula:
if (p40.value <= 0.5)
return false;
return true;
p40 is momentary power and that is calculated by formula:
return (p39.value - p39.ago(MINUTE))*60/1000;
p39 is pulses from that dual counter.
On that lower picture, red curve is pulses from counter. That will go nice. I wonder why that blue curve drop down even thought pulses goes nice. If I look numbers of pulse values, they go nice. Every new value is bigger than old value. I try to explain those blue curve “peak” clocks 0:00 and 6:10, after 10:30 it’s seems to be okay.
| Filename |
pic1.docx |
Download
|
| Description |
Curves |
| Filesize |
51 Kbytes
|
| Downloaded: |
46 time(s) |
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 05/03/2010 09:10:46
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1456
Offline
|
Hi Antsu,
I think the 0.5C resolution of the temp sensor is a 1-wire restriction. The documentation on the units that i have say so - not sure about yours.
Re the blue curve, i suspect those drops at midnight and 6:30 are due to your function momentarily returning "false". I suggest doing an analysis on the data to find out for sure.
|
Best regards,
Matthew Lohbihler |
|
|
 |
|
|