Oh my god. Why the fucking hell? I inserted the wrong link? Arw! My Firefox sometimes does not want to copy text. I will edit the first post and you will see more realistic capacitors in the 2nd image. Sry, mates, that was not wanted. Ignore the first image, it was just meant for understanding it better.
doesnt matter it changed nothing. tell us why you make a voltage divider R90 and R91 and then tie the middle voltage to -ve rail and then to opamp (comparator?) noninverting input? and how is your logic try to regulate using low side switching and use the high side as -ve voltage output tab?
Please let's just think about Picture 2. I will explain it completely.
R10 and R13 Split the 325V at the Caps up, to power the OpAmp, because it only needs the low voltage of R13.
Than you need a fixed Voltage, that will go to the -InputPin of the OpAmp, to set a Voltage level, where the OpAmp should begin to amplify, if a Voltage higher than that is on the +InputPin. To get a Reference Voltage, I split up the 325V again with R11 and R14.
And than there is a Resistor on the Mosfet (R15), which will discharge the Gate, if no voltage is applied. If Voltage is applied, it will let current flow into the Capacitor C4. But when does it need to stop? Very simple! I divide the Voltage of C4 with R9 and R12, to get the correct Voltage. The Voltage at R12 will be compared in the OpAmp with the Voltage at R14.
Only 2 more things to know: What does the Opamp do? Well, every OpAmp is some sort of a comparator, that can be used, if a Voltage is higher than the other Voltage to ground. So if the Voltage at C4 through R12 is not higher than the fixed reference Voltage at R14, the Opamp will allow current to flow through the Mosfet's Gate and turn on the Charging process of C4. If it reaches a certain Voltage, the Voltage across R12 is higher than the Voltage across R14 (Reference Voltage), so the OpAmp will not allow Current to flow. Since that, the Mosfet will turn off with the help of R15 and the Cap will not charge up more.
Now some other components:
-C1 will give enought power, to even allow charging the Caps, because a 100hz DC half-sine-wave would not work good at all.
-D1-D4 will bridge rectify the 230V AC to 325V DC.
-But wait? What is R1-R8 used for? 2 Things actually: It will discarge the caps as safety feature, if power is turned off AND also fix the maybe not perfectly split up Voltage across C2 and C3. Electrolytic Caps are never even close to perfect, so it would not be 90V on each side. The power resistors will fix that problem.
If you think, there is no such good Cap, that fits on the PCB, you are right. There will actually be a thick wire, to connect to external Capacitors - 3300uF each one. A friend found them and will give it to me.
I guess, that actually is everything, that could be told about that.
I think, you might have noticed a mistake. What is it? Well, if the MOSFET is turned off, how does current flow from R12 to ground? Well, it is not a mistake at all. You don't need to take care of that. Why? Well, the Voltage only can rise, if Current flows through the MOSFET. It only needs to turn off the OpAmp, if Voltage rises to high. So, when the Voltage rises, the Mosfet will work as a connection to ground and current flows through R12 and can be compared to R14.
To anybody, who wants to say, that this cannot work, explain why.
The high ripple current wont be a problem, I got a solution for that. The coper on the PCB will also allow enought current to flow, I also got a fix for that problem. So, what do you think? This must work - I mean, how are the Components supposed, to not do, what I want? Impossible, if they do, what they where designed for.