Hello there,
There are two identical posts so i wasnt sure which post to reply to,
so i guess this one is ok.
Ok, first off, it's hard to time a relay to turn OFF at a given time because
as you found out the de-energize time is a little unpredictable. BUT,
it might be possible to get the turn ON time to within an acceptable
limit, as long as you can change your circuit to turn the relay coil ON
to turn off the external circuit connected to the contacts.
The way to do this is to energize the relay with a voltage that is 5 to
10 times the rated voltage (it must be a dc relay too) for a short time
and that causes the relay to pull in much faster than it will open
when turned off.
To do this, you can energize the relay with a high voltage and regulate
the max current to an acceptable limit or perhaps use a spare contact
on the relay to turn the high voltage off after it closes completely.
I guess you could also limit current casually and then just switch the
high voltage off after a certain time period, like 5ms or something like that.
The idea is the same as what is used when driving stepper motor coils.
The coils are rated for some CONTINUOUS voltage like 5v, but they
are driven as high as 40v for short time periods in order to speed the
stepping action up appreciably. You could do the same thing with a
relay, driving the coil in the same way as a stepper.
Once the high voltage is switched off, the normal holding voltage would
take over. For a 10v coil relay this would be 10v, and the high
voltage might be 50v (current limited).
The idea for the relay coil and the stepper comes from this:
v=L*di/dt
solved for dt:
dt=L/v*di
and as this shows as v (voltage) goes up dt (time) goes down
for any given inductor L. For a relay coil it may be possible to
get the turn on time down to 2ms with a small tolerance. This
could be timed much more accurately with the zero cross circuit
plus time delay circuit, to turn the power off close to the
zero crossing.
If this isnt possible (turn the relay coil ON to turn off the circuit)
then it may be possible to use a dual coil relay where one coil
turns it off and another coil turns it on. These might be
more expensive though at 20 amps.
Another idea would be to 'roll your own' return coil that is
physically connected to the original relay, where that second
coil is used to speed up the opening of the original relay.
This requires a little knowledge of good mechanical design
however, but given that a really fast relay could be designed.