Hi, I would like to get some input for a project I am currently planning.
IntroductionI just moved into a new apartment with central water floor heating, which is currently controlled by bi-metallic thermostats. Unfortunately, I am quite underwhelmed by the performance. Since the house is reasonably well insulated, and the stone floor has very high heat capacity, we have bang-bang controller cycles >1d, so some days, the floor is cold, some days it is warm, temperature under- and overshoots ... it is not pleasant. I could probably counteract this be limiting the flow, but then I would waste power in the high efficiency pump. (Essentially that should be equivalent to current limiting with a resistor.)
So something has to be done.
Unfortunately, I have only 3 power cable wires available to the thermostats, one color-coded PE. With this, I am not willing to install any digital controllers that rely on 3 wires for L, N, L-switched cables. It seems that I will have to cook up something myself.
About myselfI am a mainly theoretical physicist in research. My electronics skills are developed as hobby, but reasonably well backed by my profession. Firm in algorithms and coding.
DIY state of the artI found e.g.
this project. It is a nice project, but I would like to solve it little differently.
What is available- European style (round 60mm) outlet sockets in each of 7 rooms that currently hold the bimetallic themrostats ...
- ... each directly connected with 3x1.5mm² power cable (blue,brown,yellow-green) to the room with the circuit distributor and the valves. Cable length <20m.
- 9 water circuits, each with a 230V 2W valve, opening and closing time about 3min. No half open state available and probably non desired for pump-efficiency reasons (see above). 3 of the circuits are in a single room and are currently controlled by one thermostate (valves wired in parallel).
What I have come up with by nowI would like to place a new unit in the thermostat sockets, each one equipped with an 0.96" oled screen, a BME680 and probably an ESP12. I would like to power the unit over the brown and blue wires with 5V (LDO to 3.3V at unit), and use the green-yellow one for single wire data transfer for long term compatibility (don't want to base it on wifi if I do not have to).
At the controller, I want to aggregate the data and and implement a PID-style controller that controls all the circuits in ~30min PWM intervals to keep a relatively stable ground temperature.
What I not have made my mind up about fully- I would prefer to keep the 230V valves. Due to the PWM, I would like to avoid mechanical relays. On the other hand, some SSR might have problems with the low current.
- I am not sure yet how to transfer the data bidirectionally over ~15m power cable on a single wire. Open-drain with MOSFETs and strong pullups? What protection should I place? Schmitt trigger? ESD protection?
Or would 1-wire work reliably with a driver like the DS2482?
I would be very happy if I would get away only one hardware version without revisions, so I would like to get this right on the first try. Programming will be interesting enough. Any ideas on the unclear parts? Issues? Improvements?