kikeTC
Newbie level 4

Hello everyone, my name is Enrique and I recently discovered this fantastic forum.
I wanted to write about a Variable Frequency Drive I'm working on. It is based on an Arduino (later I will migrate it to a stm32) using the unipolar spwm technique (4 kHz).
Through the timer I compare two sinusoidals that are updated at each interruption of the timer. Subsequently, through a not gate (74ls04) I get the 4 necessary signals.
The problem comes when I pass the signals through some fast optocouplers (6N136)... These optocouplers do not imitate the shape of the pwm perfectly and it causes the mosfets to not switch correctly.
1. Are optocouplers essential to control ACIM?
2. If so, do I have something wrongly connected or some value of the resistors that causes this delay?
3. If I don't use them, the switching is correct except in the negative half cycle of the sinusoidal that does something strange, what could be due to it?
I wanted to write about a Variable Frequency Drive I'm working on. It is based on an Arduino (later I will migrate it to a stm32) using the unipolar spwm technique (4 kHz).
Through the timer I compare two sinusoidals that are updated at each interruption of the timer. Subsequently, through a not gate (74ls04) I get the 4 necessary signals.
The problem comes when I pass the signals through some fast optocouplers (6N136)... These optocouplers do not imitate the shape of the pwm perfectly and it causes the mosfets to not switch correctly.
1. Are optocouplers essential to control ACIM?
2. If so, do I have something wrongly connected or some value of the resistors that causes this delay?
3. If I don't use them, the switching is correct except in the negative half cycle of the sinusoidal that does something strange, what could be due to it?