I like to build a check circuit for my rc charger if a battery if connected as I running it with a generator. If there are problems there the FETs will explode if a battery is connected to the charger.
I can control the PSUs with I2C so the last point is to check if voltage is present. I do not need to measure the voltage simple check if a battery is connected to the charger and block the PSU to powerup the output.
Requirements:
0.5 .. 50V
detection also if polarity is wrong (not connected correctly)
no measurement necessary
potential-free
I think if using a Optocoupler but did not know how to build it for the whole voltage range
I like to build it potential free as I do not know the circuits of the charger and also it is up to 50V.
Many thanks for any tip with ICs to use or simply a circuit to buy.
Search for "constant current source" circuits. Eventually you can find LED with integrated current source for use as current limiters to the optocoupler.
Can you go into more detail regarding your question: becaue as I understand it, power diodes between the charger and the battery might also solve the issue of current going back into your charger when it is not fed by the generator, but I could be wrong.
Second: whatever you make, will it be fast enough to react once the generator fails?
Using power diodes would not solve this completely as I cannot easily discharge a battery anymore.
I use server PSUs in series which has some seconds puffered on main output if the generators failed. Also the PSU outputs an error pin (it watches 220V input) and I can simply switch on/off main output by arduino digital output.
1st case: generator fluctuating because of overload. Error pin on, switch off PSU main output. Switch on PSU if batteries not detected anymore.
2nd case: System is off and connected to power. PSUs powering the arduino and the arduino is switching on main power until no batteries are detected anymore. (mostly similar to 1st)
The main issue is to avoid that the main power is going back on if batteries connected.
Sorry for the very simple drawing, normally I use eagle to prepare most of my (dummy) circuits but actually I am on holidays now and prepared it with a simple free IPad app. I hope you can connive that.
That is my situation: I like to measure high voltage of a rc charger output. I do not know how the circuits in the chargers are build but a friend told me I should better not connect the arduino directly as it could damage the chargers converter circuits. As also the voltage is higher than usual I like to decouple the measurement of both Lipo batteries connected to the chargers.
Arduino has its own supply line with 5seconds backup and always on. Over I2C or control pin I can switch the PSUs main power. I like to detect if batteries connected, no voltage measurement is necessary. So using an optocoupler with a supply range of 3v to 54v should be the best way in my opinion.
The chargers are two of these and I can control the output of the PSU via arduino. The PSU will also deliver everything via I2C but that information is not necessary. I have to avoid that the main power switches on if batteries connected to the chargers only.
No. Batteries are too large so I put the ports outside. Used it for years but chargers get sometime broken so I need this security circuit. It’s a design flaw of this chargers (and many else) that fets will damage if a battery if connected when switched on.
Hello,
I do not see a generator nor a load on your drawing, but in your text you claim that diodes cannot be used to solve your problem, please explain.