A triac doesn’t need any turn-off time, right? It turns off by itself when the voltage drops to zero in the half-wave. So we need to turn it on every 10 ms with a pulse of at least 2 µs (screenshot from the datasheet). I drive it with a 1 ms pulse (just to be safe). So, relative to the zero crossing, if you send the pulse right away, that’s 100% duty cycle; if you send it after 7.8 ms, that’s almost 0% duty cycle. If you send it later than 7.8 ms, it’ll start catching the next half-wave too (the pulse is 1 ms after all). So my PID goes from 0 to 100 and adjusts the pulse delay. And that way it heats linearly. So it ended up being this kind of PWM. That’s what I’m asking about — how is it implemented in this firmware? I should download it and take a look, of course
But I never had the time. I’ll try tomorrow.
🇷🇺 Оригинал
Симистору время отключения не нужно же, он сам выключится как напряжение до нуля упадет в полуволне. Поэтому мы его должны включать каждые 10мС импульсом не менее 2 мкС(скрин из даташита) . Я включаю импульсом 1мС(чтоб наверняка). Так вот относительно прохождения нуля если сразу импульс подать , это 100% заполнение если через 7.8 мС это почти 0 заполнение. Если позже чем 7.8 мС подавать, начнет хватать следующую полуволну(импульс то 1мС). Поэтому у меня пид от 0 до 100, регулирует задержку подачи импульса. И таким образом линейно греет. Такой вот ШИМ получился. Я и спрашиваю как в этой прошивке организовано? Скачать ознакомится нужно конечно😊. Но времени всё не было. Завтра попробую.