PDA

View Full Version : 110V DC Isolation



gavo
- 11th August 2008, 17:03
Hi All,

Does anyone have a easy way to isolate 110V DC from the PIC, I have a Voltage divider which works great (1-4.335V), just a little scared to couple it to the PIC without isolation, does anyone have some ideas?

skimask
- 11th August 2008, 17:05
Hi All,

Does anyone have a easy way to isolate 110V DC from the PIC, I have a Voltage divider which works great (1-4.335V), just a little scared to couple it to the PIC without isolation, does anyone have some ideas?

How does that integrate with PicBasicPro? Are you planning on using the A/D converter in the PIC to read a proportional voltage from the 100VDC line?
What does this voltage divider hook into? That 100VDC line?
What is the significance of 1-4.335V?

gavo
- 11th August 2008, 17:47
Hi,

Thanks for the reply,

Yes I am wanting to use it on RA0. The voltage divider connects to the +110V DC line and ground (I am using 33K and 1K) the voltage measurement of 1-4.335V is the output I am getting from the voltage dvider when I vary the voltage from 20-110VDC. I am just looking at providing isolation between the PIC and 110V DC as I am scared of a nasty suprise. We have also tried using a variac to simulate the 110V DC using the same voltage divider but we have not tried that either on the PIC as we have not isolated it.

skimask
- 11th August 2008, 17:51
110V / 33K = 3.3mA. I would guess that you could probably drop the 'sensing' line onto ground and at most (assuming your 33K is wired up right), you should only get 3.3mA of current. But to be safe, throw a good ZENER in there, maybe a couple of them, one at a high-ish voltage and one a few volts above your max at the PIC....and a small fuse inline with everything else just in case everything else goes bad and call it good.

walkura
- 11th August 2008, 18:43
If you really need a optical isolation you can build a instrumentation amplifier based on a il300.
There is a datasheet about it from infineon and intersil .
http://saturn.uni-mb.si/~bojan/pdf/app50.pdf
Although i have to add that for a non-inverting lineair isolator you need a + & - powersupply .
Otherwise you will have a dc offset (I know its a bummer)
Recently i been playing with those things and it works like a charm .

Good luck Walkura

Archangel
- 11th August 2008, 20:06
Hi,

Thanks for the reply,

Yes I am wanting to use it on RA0. The voltage divider connects to the +110V DC line and ground (I am using 33K and 1K) the voltage measurement of 1-4.335V is the output I am getting from the voltage dvider when I vary the voltage from 20-110VDC. I am just looking at providing isolation between the PIC and 110V DC as I am scared of a nasty suprise. We have also tried using a variac to simulate the 110V DC using the same voltage divider but we have not tried that either on the PIC as we have not isolated it.Are you trying to isolate for a final installation or for test purposes? <br>I think I would move those divider values up a couple of magnitudes from the "K" area to the "MEG" area, just for safety sake. If this is for a finished purpose I would isolate the switches etc using opto isolators and put the hardware out of human reach, I. E. in a box . . .

skimask
- 11th August 2008, 20:24
Are you trying to isolate for a final installation or for test purposes? <br>I think I would move those divider values up a couple of magnitudes from the "K" area to the "MEG" area, just for safety sake. If this is for a finished purpose I would isolate the switches etc using opto isolators and put the hardware out of human reach, I. E. in a box . . .

If you move into the "MEG" area, you'll have too much source impedance to feed the A/D input on the PIC! Unless of course you throw an op-amp set up as 1:1 unity gain voltage follower thingy...

ErnieM
- 11th August 2008, 21:00
The impedance of the resistor divider is approximately the same as the resistor from analog input to ground; this resistor is in parallel with the other as far as impedance goes (look up Thévenin equivalent for the reason why). Since one resistor is much larger then the other, the smaller one predominates.

Isolation may mean many things. I think a more useful term here would be "Protection." You want your PIC to survive if something goes wrong, something to prevent 100VDC from being applied directly to a PIC pin.

I agree you need this, having done such myself. The PIC will not survive. However, most of the pieces stay on the table for a further failure analysis.

I would do two things: Put a zener to ground or a diode to VCC at the input to work as a clamp. Plus, I would split the resistor from 100V to PIC into 2 or three resistors. Resistors tend to fail open, but probes and such can short them anyway. By putting another resistors in series you can still short one out and have the next one provide some impedance for the protection diode to use. Without such impedance the protection diode will open followed shortly by the PIC.