Hi again,
Well, once you get the measured signal rectified the ramp will move up higher to indicate that the delay should be longer and that makes the triac 'on' time shorter. So you have to use that with a variable one shot (triggered from the line) to vary the delay time.
My first thought was a 555 timer but im not sure yet if this is good enough. What you can do is do a simulation with a 555 and set the time of the one shot to 1/1000 seconds (a tenth of a half cycle) or shorter and see if you can vary the control voltage pin to get a delay of nearly 1/100 seconds (or maybe not that long as you probably never want to trigger that low).
If i get a chance today i'll take another look at the 555 too. I did a post about this one this forum somewhere but not sure where it is now. It was about using the control voltage to generate longer or shorter delay times in the one shot mode.
You also need a zero crossing detector to detect every zero crossing of the 50Hz line. This isnt hard to do though.
LATER:
Ok it looks like the 555 could work for this using the control voltage pin for the control. The ramp would then be connected to the CV pin and as the ramp gets higher the output conduction phase angle gets shorter. With R and C of 30k and 0.1uf, and limiting the input to the CV pin to about 0.7v to maybe 4.7v, we get a variable delay time from about 1ms to about 9ms. That's probably good enough. The input voltage to the CV pin does have to be limited though, so if the ramp naturally goes from 0v to 5v a diode from CV to output with a pullup resistor of maybe 470 ohms on the CV pin to +5v would get us there. If the ramp goes negative we have to prevent that with a limiting circuit or try to run the last stage from 0v and 5v instead of plus and minus 5v.
The 555 Trigger input would come from a zero crossing detector that generates a short 500us low going pulse for every zero cross of the line, and the 555 output going LOW would trigger the triac to turn it on.
The time constant of the output integrator should probably be much longer than 1 second, not as short as indicated on the schematic, and the gain limited to maybe 1000 instead of 100, as 100 might not be enough. Of course we also have to check the startup of the circuit to make sure we get a nice slow startup.
One question though, what is the nominal voltage of the Lamp and what is the normal line voltage going to be?