I have DPDT relay which I would like to energize using pulse signal (duration of that pulse should be adjustable) and switch. When switch is on, coil of relay is shortly energized by pulse signal and then deenergized when pulse signal ends, although switch is maybe still closed. When I open switch, nothing happens but when I close it, process repeats. Any idea how to implement this circuit? Relay model is Omron DPDT 10A 12V DC. Thanks in advance