Hi everybody sorry for my english and grammar but It is not my native language so anywhere I try to do my best.
I try to develop a control load frequency for micro hydraulic turbine based on Arduino Uno.
The main function is that "When the user change the load, the electronic load regulator can automatically regulate the generator load by use of damping load so the generator set is always running under a certain load range, whose output frequency will maintain within the allowable range".
I use a inductive sensor for take the speed of generator (two pairs of poles 50[Hz] 1500 [rpm]) by frequency library in arduino I can measure it. Then using proportional control I can change a duty cycle of PWM output (Pin 3 Arduino). So if frequency is over 50 [Hz] the duty cycle is increase in opposite that if frequency is under 50 [Hz] the duty cycle is decreased.
It works well in arduino but I have a problem with the next step. For damping load I use a IGBT how you can see in the circuit that I attached.
I do not why but the IGBT is instantly burning out.
For the interaction between arduino and IGBT I use a TLP250 optocoupler (it is design for drive Mosfet or IGBT).
I used many source because my dealer hasn't a source 230 [V] AC to 15 [V] DC and I needed have separate earths.
I only have a problem with the IGBT. I tried many times of different ways but always the IGBT starts on and do not come back to off state (simply it burns) and each attempt is a little expensive ![]()
The control circuit is ok because instead of IGBT I used a SSR (solid state Relay) of course the main source in this case is one phase (230 [V] AC) and not the three phase rectification.
But the regulation is poor I can see the a little flutter of incandescent bulb for example.
If anyone have a little idea about why the IGBT is burning out I will be happy to read it.
I was thought that maybe I need use a +15 and - 15 [V] for drive the IGBT. So while I try to figure out about this issue I decided change the topology and use angle phase control and triac.
For that I use the another circuit that I attached and interrupt in arduino code.
It works very well I can dimming an incandescent bulb using analogRead with a potentiometer. But I do not know if I will can use it with inductive signal speed of generator.
My problem is:
I have 10 [ms] between interrupts. But my generator spin at 1500 [rpm] that means 40 [ms].
So I will have a one interrupts before I can measure the frequency of generator.
I thought stop the interrupts but I need it because the frequency library uses that in its code.
I can't do attempt at this moment because the micro central is far away from me.
My question is:
how the interrupts work for example:
void loop()
{
1
2
3
4 Interrumpt occurred do It and finish so back here or go to start in 1 again.
5
6
}
If anyone can help me thanks in advance.

