Hi to all... And first of all thank of you comments...
This is an interesting desing.... we be using arduino mega, to control not one but two refrigeration units, (a main unit that keep running almost all the time, and a secondary unit, that is in case of an emergency or a heavy load). Each unit is conformed by two main components; the compressor (that on and off on demand of cold) and the evaporator (this will keep almost all the time running to keep the air moving inside the box).
This is a basic control diagram of how to control one unit;
The tricky parts;
A test button to test booth units and cooling capacity...
An lcd menu to modify the low and high set points.
An failure variable ( For instance, when a low pressure fail occurs may be just for one or two seconds and then re-start the operation normally, yet this will cause a damage on the long run to the unit... so we need a variable to add all the failures in case there is more than one or two.
Add a delay to the compressor start.- each time the compressor will need to start even if the control has begun to operate, we need to delay the start for a number of seconds (Ex.- 30-3000)
The interesting part;
As I mention earlier on the post, we will have two units, one main unit for the day to day operation, and another in case of the main unit don't run, or there is a huge load, and this lead us to the interesting part;
I'm thinking in using a digital temperature probe, take a sample and wait an "x" time then take another sample, the delta between the two measurements will be the ratio of cooling... and this will give us the "heavy load factor"...
So for instance; If I have lets say 1Ton... that chill at a delta of 1°C/5min this will be "OK" and the main unit resume operation alone...
But, lets say the main unit is low on refrigerant, the load is very hot, or the chiller is at ambient temperature...
1 Ton wil chill at a delta, lets say 1°C/ 10min...
This must alert the system and once the temperature haven't reach the minimum Delta... start the bakcup unit, to help to cool faster the load.
I know there are many considerations, in here, like the limit of BTU per square foot of air, the capacity of the units and the minimum and maximum rate that products can be cool down without stress them. But for the sake of the control, we consider that already calculated by the refrigeration engineer. (aka... myself XD).
HARDWARE;
For this project we will be using this hardware; (will be refreshed along the project)
The transients filters will be add along with the contactors coild to avoid high voltage peaks. This was learned in another board I make some time ago. Will be something like this;
Know there will be very interesting because there a 220V control part, a 5v logic coming from the arduino and a 3 or 4 sensors will be hooked up to the arduino (mechanical protections from low pressure, and high pressure control) I dont decide the best way to go on this if I use 220 V to operate an inverse relay or Im use 24VAC and use a couple od diodes and a resistor divider to have a 5VDC to the arduino digital pin.
Well... Currently Im working on the two machines diagram and some others I will upload here.
Thanks for your comments, I have done some like this before but, this is the first time I make something soo complex.
Kind Regards.
-Alex.