Forum

Hysteresis control ...
 
Notifications
Clear all

Hysteresis control and one-wire probe with linear offset temp problem

5 Posts
2 Users
0 Likes
4,441 Views
(@angus_grant)
Trusted Member
Joined: 5 years ago
Posts: 52
Topic starter  

Hi,

I have a one-wire DS18B20 with a linear offset of -1 as it is strapped to the outside of my fermentor. An iSpindel inside my fermentor is submitting temp readings one degree lower hence the reason for the adjustment.

A hysteresis control using theDS18B20 is controlling the temp and seems to be controlling the temp at the unadjusted value.

So currently my raw probe reading is 17 degrees and adjusted to 16 degrees.
My hysteresis target is set to 17 degrees, but the temp is being controlled to 16.

I have a feeling the hysteresis control is reading the unadjusted temp value instead of the adjusted value.

Edit: the red line on graph is target and green is logged temp

Thanks,
Angus.


   
Quote
(@angus_grant)
Trusted Member
Joined: 5 years ago
Posts: 52
Topic starter  

And a screenshot of the linear offset applied to DS18B20


   
ReplyQuote
(@angus_grant)
Trusted Member
Joined: 5 years ago
Posts: 52
Topic starter  

As I guessed, setting the hysteresis target to 18 has given me the actual temperature of 17 with the raw reading of the DS18B20 being 18 degrees celsius


   
ReplyQuote
(@pbruno3)
Reputable Member Admin
Joined: 7 years ago
Posts: 343
 

Yes, sorry. 1-wire sensors cannot be calibrated back to the sensor. In the case of thermistors and RTD's, the temp calculation is made by the application. In the case of 1-wire, the temp is determined by the sensor itself, so there isn't a way to tell it to be different. We are contemplating a fix, but this is the current status.


   
ReplyQuote
(@angus_grant)
Trusted Member
Joined: 5 years ago
Posts: 52
Topic starter  

Not a problem in this case as the production install will be using PT100's.

Once I get those wired in, I'll be able to confirm the calibrations work for the hysteresis element.


   
ReplyQuote
Share: