Skip to main content

Timeline for Help for TRIAC strange behavior

Current License: CC BY-SA 4.0

12 events
when toggle format what by license comment
Nov 29, 2019 at 19:25 comment added rom1nux @linuxfan Big THANK YOU
Nov 29, 2019 at 17:46 comment added linuxfan says Reinstate Monica @rom1nux for a standard PID, consider the D component, it should help.
Nov 29, 2019 at 17:45 comment added linuxfan says Reinstate Monica @rom1nux I don't know any alternative to PID, which will mostly work, probably a little (or very) loosely. Problem one is, you can not brake (you must invert the relay, don't do it too often). Second problem: give the motor a phase (command) X, and it will not move; give little more than X, and it will nearly reach its top speed. Worse, the same command will produce different torques at different speeds. Experiment first: every final application can be different.
Nov 29, 2019 at 16:45 comment added rom1nux @linuxfan Do you recommend an algorithm for motor speed control with phase control ? (I got 72 ticks rotary encoder mounted on motor shaft)
Nov 29, 2019 at 15:35 comment added linuxfan says Reinstate Monica @rom1nux just a note for PID: by varying the phase you (kind of) vary the voltage to the motor, but in reality you vary the torque (in a non-linear way, too!). AC motors are not well suited for PID, but you will discover it by yourself... I'been happy to help.
Nov 29, 2019 at 15:15 comment added rom1nux Mattman and @linuxfan thanks for your help, this help me a lot, glitch came from software problem, now I'm able to control the phase of the light by potentiometer without glitch. I will go forward with motor as load I got a lot of work (snubber, encoder, PID, etc...) but it's a good step. I'm happy.
Nov 29, 2019 at 11:02 comment added linuxfan says Reinstate Monica @rom1nux your schematic seems ok, but the recommended schematic is the one that I use. AC motors are bad beasts, you should accept some (acceptable) glitch, and pay attention to the zero crossing detection. The blue track on the scope shows that you are keeping the opto ON for too much time, leaking in the next cycle. You could instead use a short pulse (microseconds), the triac will shut off automatically; that way it is easier to optimize the firmware.
Nov 29, 2019 at 6:45 history edited Mattman944 CC BY-SA 4.0
2nd issue
Nov 29, 2019 at 0:42 comment added rom1nux I implement you recommendation and I got a big improvement, but I got some glitch, did you have an idea ? (I edit my question)
Nov 27, 2019 at 21:55 vote accept rom1nux
Nov 27, 2019 at 21:54 comment added rom1nux Arf ! This is a really bad mistake. I got this small bloc "ZC" on MOC3043 symbol in front of my eyes without the light coming on in my head. Many thanks for this. I have to review my schematic.
Nov 27, 2019 at 21:32 history answered Mattman944 CC BY-SA 4.0