How To PID A Silvia
How To PID A Silvia
How To PID A Silvia
- a STEP by STEP guide BY Warren Sullivan Ok, just want to get a few points across before I start this guide, I am in no way an expert on PIDs, Im a tradie and not in a trade associated with electricians, I do however have a good mate who is an electrician and quite a few electrical technician friends who helped me figure out the wiring and explained to me what does what. The important thing is to make sure you get all the right parts when making your own kit, PID kits supplys a perfect sleek kit with every single thing you need and its all integrated and preset, it takes the worry out of the unknown, his kits are renowned across the world as being the best and cleanest looking kits available for Miss Silvia, and as he is a very valuable site sponsor, I would like to extend a congrats to Jim on producing a kit second to none, and I hope Im not stepping on anyones toes here, for me the kit was a little too expensive given the current economic climate. Im sure if you are reading this guide, you have an understanding of the importance of temperature stability in the brew process and in turn the need for a PID in a silvia, you have a basic understanding of what a PID does and how it does it. If you are new to the prospect of adding a PID to a Silvia then here is a very helpful little analogy I found on the net: Imagine you are driving your car down the street at 60 klm/h. Ahead is an intersection controlled by a stop sign. If you continue to travel at 60 klm/h until you reach the intersection, then slam on the brakes, your car is going to shoot through past the stop sign before coming to rest. If, on the other hand, you gradually apply the brakes well in advance of the stop sign, you can come to a controlled stop right at the intersection.
PHOTO
WHERE FROM
PRICE $47
WWW.EBAY.COM.AU JUST SEARCH FOR CD-101 PID MINE WAS FROM CHINA, FREE DELIVERY WWW.JAYCAR.COM.AU
2. K-TYPE THERMOCOUPLE
$11
3. JIFFY ENCLOSURE
$7
5. SPADE CONNECTORS
WWW.JAYCAR.COM.AU
$3.95
WWW.EBAY.COM.AU
$15
FREE!
PART 2 - PRECAUTIONS
Disclaimer: WORKING WITH 240V CAN AND WILL KILL YOU IF YOU COME IN CONTACT WITH IT, EVERY SINGLE TIME YOU APPROACH SILVIA IN ANY STAGE OF DISASSEMBLY, THE MACHINE MUST BE UNPLUGGED FROM THE WALL, IF YOU ARE IN ANY DOUBT WHATSOEVER GET A QUALIFIED ELECTRICIAN TO CHECK IT PRIOR TO PLUGGING IN AND TURNING ON, I CANNOT EMPHASISE THIS POINT ENOUGH, I TAKE NO RESPONSIBILITY FOR INJURY OR DEATH RESULTING FROM FOLLOWING THIS GUIDE IN ANY WAYYOU HAVE BEEN WARNED!!!!
Remove the back cover screws using a small Phillips head screw driver angling it in from the top to gently remove the small screws, then manoeuvring off the back cover around the inner splash guard.
Removing Back Plate screws. Remove the inner splashback that sits beside the water reservoir with 2 Phillips head screws
Remove the front cover by removing the 4 small Phillips head screws, there are holes in the back of the mounting frame to stick your screwdriver through, and then there is one screw holding the front plate on, its inside the cover just in front of the boiler, it screws into the brew head below the cover, you need to now remove all the wires attached to the switches on the front panel, I recommend you do a basic wiring diagram so you can correctly replace them later on, I have provided a wiring diagram below but you need to confirm that the colours dont differ from model to model. Remove the front cover, leaving switches in the panel and set aside.
Wiring Diagram of the front panel looking at the back of the panel
You now have a stripped Rancilio Silvia, looks a little bare doesnt she!
Step 2 Preparation of Parts PID and enclosure I used the larger enclosure from Jaycar just in case I decide to install something else in the future, like a shot timer, it gives me plenty of room to move with plenty to spare, you could fit the PID into the smaller version with a few millimetres to spare, use the white mounting brace that comes with the pid to trace the size of the hole necessary onto the front of the enclosure, this is where the PID will slide into, remember its better to be a tighter fit than too loose so be gently and careful with the cutout, now, I drilled holes with a drill all the way around the inside of the tracing then pushed out the plastic and squared it up with a Stanley knife and sandpaper until it fit in nice and tight, after you have it mounted in nice and flush, remove it and set the PID and enclosure aside.
Wiring SSR to Boiler - now this is a little bit of guess work, cut about 60 cms of the 240v cable off and cut the cable to remove the 3 wires by slicing the outer sheath, you must not penetrate the wires inside the outer cable, this WILL make the wire.lets just say a little dangerous! So take care! Pull the wires out individually by hand, you will only use 2 of the 3 wires, brown and blue, discard the green wire and outer sheath. Bare all 4 ends of the 2 wires but only about 8mm max. The crimp on the 2 spade connectors to one end of both wires as pictured below;
One end bare, one end with spade connectors crimped on. Wiring SSR to PID (control cable) youll need to leave about 1 meter for this one, bare one end of the cable by slicing gently to remove the outer sheath and exposing the inner wires protruding about 3 cms, bare the brown and blue wires by cutting gently and removing their sheaths, only expose a max of 1 cm of this wire, and twist the inner wire tight. I cut the green wire at the outer sheath level because I didnt use it, obviously, as you will only need two of the three wires.
2 Prong Power Lead power to PID I found a power lead that plugs into a AA battery charger and simply cut the connection off the end, not the end that plugs into the wall, the other end, you could also use a desk light lead or any other 2 prong power lead laying around the house.
K-Type Thermocouple PID to boiler top If you get the K-type with the end to plug into a DMM, simply cut off the connector and bare the metal wires, expose only about 4mm of this delicate wire. (Take note of the polarity of the wire colours).
Step 3 Install the SSR and Wiring to boiler. Time to mount the SSR, the best place I found to mount it, needing no modifications was behind the splashback as pictured, I simply removed the screw that holds the Silvias power cable on the back of the centre plate and screwed it in from the front side of the centre plate as pictured, this now serves two purposes, it now holds the SSR in place securely behind the slash plate and it still holds the power cable in place behind the plate!, perfect! Make sure the SSR is mounted so that the 2-32VDC input is at the bottom, just thought this would be a good safety measure given the DC voltage closer to the bottom of the splashback, dont really know if it matters but oh well, its a thought!
Undo this screw from the back of the machine and screw it in from the front to hold SSR.
Now grab your two 60cm wires with the spade connectors on one end, as pictured connect the uncrimped ends to the top side of the SSR as it sits mounted, you can follow my wiring colours if you want, not sure if it makes a difference with this one though as I believe the SSR acts as basically a switch, I placed the brown wire in 1 and the blue wire in 2 as pictured.
SSR to Boiler wires in place. Now run the wires up through the back of the splashback and along the existing wires that lead to the top of the boiler, dont zip tie just yet, just run it along with them as pictured, you want the end of the wires with spade connectors sitting around the existing brew thermostat with a little spare length to play with as pictured.
Wires all the way up, temp zip tied to keep in place. Now the Brew thermostat is the one sitting on the left as you look at the machine from the front, thats the one you want, (the other one is the steam thermostat), disconnect the two cables from the brew thermostat and connect the brown wire from the SSR to the two red wires that you have just disconnected from the thermostat, and then the blue wire goes into the other grey wire off the thermostat, the existing thermostat is now left totally disconnected and will no longer be used at all. Now you have the SSR mounted and wired in to the Boiler wiring. All as pictured below
Disconnect this one which is red red on thermostat and connect to Brown wire from SSR.
Red Red wire from Boiler Thermostat connected to Brown from SSR with spade connector.
Grey wire from Boiler Thermostat connected to Blue from SSR with spade connector.
Step 4 Installing the Thermocouple. This is quite simple, I have a picture indicating the screw I used to attach the thermocouple to the boiler, there are a multitude of opinions on where the TC should be mounted..on the lefton the right???? So I just picked a happy medium and mounted it in the middle, simply unscrew it, separate the wires just behind the thermocouple bead, place the thread of the screw through the gap in the wire and reinstall the screw into the boiler, be really careful not to crack the bead on the end of the TC, soft hands! The mounted TC is visible in several photos, if you need a better pic just email me and ill send it to ya. Run the TC cable down the same wires you ran the Boiler to SSR cables along before but poke the cable down through the hole in the centre wall and out to the back of the machine, well deal with the rest in the next step, zip tie the Boiler to SSR wires and the TC cable to the existing cables so its nice and neat with no excess wire hanging around..as pictured below;
Thermocouple installed, best to place it directly on the brass under the thermostat brackets(unlike mine, I have changed this since).
All wired up and Zip-tied. Step 5 Installing the SSR to PID wire. This can be done in a variety of ways, I wont gabble on too much with this as the pictures do most of the talking, I have the cable exiting the machine in the little gap in the rear corner of the machine, which works well as it is totally reversible if I ever decide to sell, Ive seen variants with holes drilled in the back of the black mounting frame and the cable coming out of there and up to the PID, and some even drill holes in the stainless!, no thanks!
I will just briefly run over the connection to the SSR, run the extension wire through the machine behind the pump, up through the hole then over the centre wall of the machine and head down to the SSR, loop the cable around under the SSR and connect the blue wire to negative (-) and the brown wire to positive (+) as pictured. Make sure all connections are tight on the SSR and place on the clear plastic cover, get rid of any extra slack on the cable running through the machine, tip tie the cable to the water line at the back of the wall, and zip tie the rest of the cable so it is held off the boiler and Is quite solid, you dont want anything in this install to vibrate and move, it should look like the pictures below;
Run behind pump and up water line, through hole and over wall.
Over wall and loop down under SSR, Connect and tighten well.
Zip Tied in place, make sure the pump is not interfered with.
Now as it sits you have the SSR installed and wired up to the boiler and a Control cable zip tied safely running through the machine exiting out the back left hand corner of the machine, leave the TC cable hanging out the back for now, we will deal with this later on, note where it is running in the above picture.
Grab your enclosure, drill a hole or holes big enough to fit the cables through the back, that is the control cable, the TC cable and the light extension cable with the 2 prong wall plug, you can drill the holes where ever you want it to go, I choose to enter from the top rear panel to allow for additions, now I also chose at this stage to have the TC cable exit the machine as pictured below, this was mainly because of the length of the TC I used, Im looking at installing a RTD sensor soon so I did this as a interim measure. Push the control cable, the power cable (tie a knot to prevent cable strain on the pid), and the TC cable through these holes and right through the PID hole you drilled and filed out at the start, and connect as follows:
(These will only apply if your wiring is the same colours as mine, remember the sheaths on TC cable can be different colours, they vary from model to model, if you connect the TC incorrectly the PID will display temps in reverse, so when it is heating the temp will appear to decrease, simply reverse the two TC cables around and all will be good!(if you cut the DMM connector off the TC take note of the polarity) Control Cable: Brown to connection 5 Blue to connection 6 Power cable: Brown to connection 1 Blue to connection 2 Thermocouple: Red to connection 12 Yellow to connection 11 Now simply push the PID back through the hole so it fits snug, move cables around to suit. Place on the cover of the enclosure.
Step 9 Turning it all on! Now that your 100% sure everything is hooked up correctly, fill the reservoir, make sure all the switches on the front of Silvia are turned off, plug in the machine and the PID, turn it on at the wall, you should see the PID spring to life and display a settings screen for 2 seconds this will show you what type of TC you have connected and the temperature measurement, which is Celsius by default, then it will display the range of the device, with a K-Type it will be 400, now the first thing to do is an auto tune, you will have to wait for silvia to warm up completely, so give it 45 mins. Now with the auto tune, hold down the menu button for about 4 seconds till the display shows the configuration menu, the first setting you will see is the alarm, I set this to 150 Degrees, I dont use it but I believe you can hook something up to it as an audible alarm, good idea to avoid leaving the steam switch on! Hit menu again and it will display ARU, Autotuning, hit the up arrow to set it from 0 to 1, then hit menu again, it will now go through its autotune function, this will take about 7 mins. After running the autotune, all I did is tweak the PID settings a little to get the desired result, to be able to do this you need to have a basic understanding of what does what, I found this on the net, it was the best in regards to helping me understand what I was adjusting, this covers off on the P, I and the D settings;
P
The Proportional band is proportional to the error measurement (set temperature minus actual temperature) essentially your margin of error. The Integral portion controls the response time of the heater in response to the Proportional band. I am set at 205.6, my probe says the medium being monitored is 205.4. Ooops, that is out of my Proportional band range (error), I need heat. Or reversely, my temp setting is 205.6 and the medium being monitored is 205.9, oops, time to stop. Now I sit here while my temperature carries over another 1.0 degrees and then starts to fall. Ooops, now I am at 205.4 again, time to heat, over and over and over. Little more than a thermostat at this point.
I
Now the I comes in, Integral action. Basically a measurement of time. So now I can compensate for time error in the above loop. So now my little brain says Ok, you want me to run at 205.6, I am at 205.2. You want me to heat this stuff back to 205.6 but not go over (reverse the process for cooling). So I know that if I apply heat for 1 divided by I (lets say 0.6 seconds) I will heat the stuff to 205.5 but I know there will be carry over heat for another 0.5 seconds so I will turn off the heater even though I am under the error margin and the temperature will coast up to 205.7 and stop instead of running up to 206.9.
D
Now the Derivative jumps into the party. Basically doing the opposite of the above action. Ok, you told me to run at 205.6, I heat for 0.x seconds and turn off I know my temperature will stop at 205.5 and my end error will be 205.7. Now I sit here. Oops, I am back at 205.2, time to juice it up again. But I know that if I heat for 0.x seconds once I am beyond my margin of error I will get where I want to be. Hmm, but I know I am going to cool Z fast so instead of waiting until I get past my error setting I am going to kick in the juice to minimize the drop.
Summary
So P tells the brain I am beyond my error margin. I, tells the brain how long to apply juice before I need to turn off to keep a tighter band and D tells the brain how long to wait after before I give it more juice to keep the temperature from falling too much Now I read a tonne of stuff on the net about PID settings but that was the best explanation I could find. I did my Autotune, and I found that after pulling a shot, the temp would overshoot the set temperature by about 8 degrees, so after reading the extract above I realised I needed to tweak the I in PID, so I raised it to compensate, after about 5 or 6 changes and a bit of trial and error I got it, here are my current setting from top to bottom; Parameter ALM 1 Description Alarm, Set to Desired Degrees, can be hooked up for audible alarm Proportional Band As per above description Integral Time As per above description Derivative Time As per above description Reference Value Set Automatically After Autotune Heat-Reset Proportioning Cycle Cool side proportional band Deadband Default Setting 50 My Setting 150
30
34
240
165
60
20
Ar
25
100
20
Pc
100
db
20
20
P6
I Found that Bracketing was the best method to get to the right settings, and by bracketing I mean, trying a setting eg setting 50 for Integral, pulling a blind shot, then changing it to 300 and then pulling another one and working toward the perfect number, which for me was 165, a bit of trial and error and youll get there. Basically what you want to end up with is a machine that will return to the Set temperature without overshooting or taking too long, it will do this by turning the boiler on and off so it arrives at the desired temp without overrunning, and thats important, my setup allows me to pull a shot, and within 30 secs the temperature will return to the set point and I am able to pull another, its working really well for me, dont know what I did without it! After steaming and purging the boiler to a temp below 100 degrees it will take about 2-3 mins to return to the set temp without overshooting. In conclusion, this project has been tonnes of fun, and it cost next to nothing, the difference in my shots is amazing, i can now change the temperature depending on the bean im using at the time, its incredible the different tastes I can get with different temperatures, I would recommend anyone contemplating installing a PID, DO IT, its so worth it. Best of luck in your install, any questions at all please email me as Ill be more than happy to answer them, you can catch me at [email protected]
GOOD LUCK!