PID or Relay for Circulating Shower

  • Thread starter Thread starter mess
  • Start date Start date
  • Tags Tags
    Pid Relay
Click For Summary
SUMMARY

The discussion centers on the use of PID control versus a relay for managing heating in a circulating shower system. The participant considers using the autopid Arduino library with PWM and a 50amp MOSFET to control a 24V heating element in a 3-liter tank. However, due to the variable heat loss from the water to users and drainage, the consensus leans towards using a simple relay and temperature switch instead of a PID controller, as the latter may be overkill for this application. The ATtiny85 is suggested as a viable microcontroller option for future modifications.

PREREQUISITES
  • Understanding of PID control and its applications
  • Familiarity with Arduino programming and libraries
  • Knowledge of PWM (Pulse Width Modulation) techniques
  • Basic electronics, specifically regarding MOSFETs and relays
NEXT STEPS
  • Research the implementation of PID control using the autopid Arduino library
  • Explore the design and functionality of relay circuits for heating applications
  • Investigate the characteristics and programming of the ATtiny85 microcontroller
  • Learn about the effects of water pollution on heating elements in recirculating systems
USEFUL FOR

Engineers, hobbyists, and developers involved in designing heating systems for showers, particularly those interested in optimizing control methods and understanding the implications of water quality on heating efficiency.

mess
Messages
59
Reaction score
8
TL;DR
I am making a closed loop circulating shower for my campervan, and I am trying to decide between PID and Relay.
I am considering using PID (autopid arduino lib), in order to control the heat, with PWM and a 50amp mosfet heating a 40amp 24v heating element in a 3litter tank, but I am thinking, that since the water is going to be circulating, and sometimes losing heat to a person, sometimes falling straight into the drain, it will be varying anyways between +/- a few degrees, does it even make sense to use PID? or should I just use a 50amp relay with a basic range cycle?
 
Engineering news on Phys.org
It will depend on the reservoir time constant. You might do better with a fixed thermal mass in contact with the water, maintained at the required temperature.
 
  • Like
Likes   Reactions: russ_watters
I think you could do it either way. My preference would be to avoid relays, they wear out. However, relay circuits are easier to design. The switching device selection is, in general, a separate issue from the control method.
 
A simple arduino set up may be best - even if just to make edits in the future. Look at an ATtiny85 - not "native" in Arduino IDE but can be done.

On the Recirculate point - if you are recirculating water from the show back to the heater - be wary, as the pollution ( oils, soap, organics, etc) can really make a mess of a heater.
 
Seems like overkill to me. A simple temperature switch and relay is probably sufficient. I would not use a pid controller.
 
  • Like
Likes   Reactions: DaveE

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
28
Views
4K
  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 21 ·
Replies
21
Views
5K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 2 ·
Replies
2
Views
10K