harvie
Full Member level 1
Hello
i've designed following circuit, can you please help me review it and pinpoint possible problems?
It is Mains AC relay that is going to be controller by microcontroller. It allows to switch the load on and off. As well as measuring the load current.
It provides overcurrent protection, which is (unlike circuits i've found online) not reliable on firmware bugs, updates and microcontroller glitches.
There will be DIN rail circuit breaker limiting current through whole thing to 16A. But i plan to have 3 outputs and i don't want individual output to go over 5A, hence there is comparator leveraging the ACS712 (5A) to provide additional per-port protection. Conveniently ACS712 is also used by microcontroller with external precision ADC to measure the current.
I want to know following things:
* Will this even work? (i've verified core concepts to be working in falstad simulator, but that is often far from reality)
* Will this be reasonably reliable and safe? (i plan using it to remotely control and measure power to PCs and electronics, so i don't want random reboots)
* I am bit afraid what will happen when relay closes and there will be current surge to the load. This might trigger the overcurrent instantly. I was thinking about adding some RC delay, but didn't really worked well in simulator.
Here comes the schematic:
Thank you for your expertise guys!
i've designed following circuit, can you please help me review it and pinpoint possible problems?
It is Mains AC relay that is going to be controller by microcontroller. It allows to switch the load on and off. As well as measuring the load current.
It provides overcurrent protection, which is (unlike circuits i've found online) not reliable on firmware bugs, updates and microcontroller glitches.
There will be DIN rail circuit breaker limiting current through whole thing to 16A. But i plan to have 3 outputs and i don't want individual output to go over 5A, hence there is comparator leveraging the ACS712 (5A) to provide additional per-port protection. Conveniently ACS712 is also used by microcontroller with external precision ADC to measure the current.
I want to know following things:
* Will this even work? (i've verified core concepts to be working in falstad simulator, but that is often far from reality)
* Will this be reasonably reliable and safe? (i plan using it to remotely control and measure power to PCs and electronics, so i don't want random reboots)
* I am bit afraid what will happen when relay closes and there will be current surge to the load. This might trigger the overcurrent instantly. I was thinking about adding some RC delay, but didn't really worked well in simulator.
Here comes the schematic:
Thank you for your expertise guys!