Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - zero cross and puls shift

(you are viewing a thread; or go back to list of threads)

zero cross and puls shift (by latetech)


Dears,
can anyone help me in example in performing zero cross and pulse shift like ladder example for dimmer using triac.
Mon Jun 3 2024, 19:23:57
(no subject) (by MGP)
Here you have a program, I don't have a diagram because it was a test setup.

Use a sensitive triac, connect the Yidnite output to the gate with a 220 ohm resistor or use a MOC3021...etc.
You can make the zero detection with any optocoupler such as a PC817.

There are many schematics on the internet and even triac modules where everything is built, only a controller is needed.

Use 24...48Vac if you want to test and measure.

For a higher resolution use a 12F1840 (32MHz) so that you can use a 0.1mS cycle time.
Tue Jun 4 2024, 05:40:03, download attachment Triac683_analoog.ld
(no subject) (by latetech)
dear MGP,
thanks but can you explain more about attached program. like step by step???
Fri Jun 7 2024, 16:34:17
(no subject) (by MGP)
0003 sets the controller to 8MHz.

0004 Input zero cross detection.

0005 Read the position of the potention meter during the (OSF instruction) zerocross transition.

0005 Cycletime = 0.250 mS --> time = 1023/28 ~8mS (50Hz)

0007 Limit minimum time to 2 for practical control.

0009 Ignite the triac with delay (time)
Sat Jun 8 2024, 06:14:42
(no subject) (by latetech)
thanks MGP, that was very useful for me
thanks again.
Sun Jun 9 2024, 19:13:45
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):