I am trying to Use PWM fan to trigger an Optocoupler relay to run a 115v compressor on lg refrigerator .. however when I use the signal feed it cycles the relay I've tried to use a capacitor to smooth out the line with no luck and when I use the 12v and the ground it trips the fan circuit I suspect from load of relay .. can someone help me out here