Leading & Lagging edge pulse generator

Thread Starter

zirillo

Joined Mar 24, 2014
6
Would like to use a 24 hour on/off timer to generate a 1 or 2 second pulse to operate a remote control device. The timer is off for daylight hours and on for sunset hours. Would like a circuit to generate a 1 to 2 second pulse whenever the timer changes state. It seems that a circuit that generated a pulse for leading edge and trailing edge is required. Any ideas?
 

AnalogKid

Joined Aug 1, 2013
11,055
Missing a few details.

What is the remote device and what are its control requirements? Voltage, current, open-collector, AC relay contacts - what?

What is the power source for the timer and for the device? AC, DC, battery, etc.

This can be pretty simple if the details are in your favor. I'm sure there are industrial cycle timers that will do this ($$$), but there are other ways. If all you need is a 5V pulse, for example:

Cheapo lamp timer from WalMart gets you the on/off cycle. Plug in a universal cell phone charger, the kind with a mini-USB connector. This gets you +5VDC, all UL rated and short-curcuit protected. Next comes a simple circuit that generates the 1-second pulse at turn-on and turn-off. The circuit would have to have a small hold-up capacitor to power the pulse circuit after the DC supply is turned off by the timer.

ak
 

AnalogKid

Joined Aug 1, 2013
11,055
Thought about the circuit. Depending on your requirements, it might fit in one 16-pin device, and run on anything from 5 to 24 VDC.

ak
 

Thread Starter

zirillo

Joined Mar 24, 2014
6
1. The remote device is a hand held transmitter that requires a pulse to trigger. Will use the pulse to control a small 12 volt relay.
2. The power source is 120 VAC. Its a photoelectric device that will be used to control lights at 3 remote locations I will use a power supply to use this to drive the pulse circuit.
3. Only need the pulse, will design other circuits. You mentioned capacitor holding the charge at times the cycle might be around 12 hours long. Is there a circuit for this? Will be will to try it out.

Thanks for the help.

There is a commercial X-10 system available but is time dependent and not photoelectric.
 

crutschow

Joined Mar 14, 2008
34,459
A pulse up to 15V (equal to its supply voltage) can be easily generated by a CD4070 XOR gate. Connect the voltage that changes state directly to one input and through an RC delay (series R with C to ground) to the other input. This will generate a pulse on both the rising and falling edges of the input with a pulse-width of about 0.7*R*C (for example R= 200k and C= 10μF for a pulse width of ≈1.4s).
 

crutschow

Joined Mar 14, 2008
34,459
Coil R= 600 Ohms
So you do need a buffer amp.

You could use a 2N2222 or comparable transistor. Connect the emitter to ground, the base to a 10k resistor, and the collector to one of the relay coil connections. Connect the other end of the base resistor to the XOR output and the other side of the relay coil to +12V. Connect a diode (1N4148 or comparable) across the relay coil (cathode to +12V side) for spike suppression.
 

Thread Starter

zirillo

Joined Mar 24, 2014
6
Thank you for your help, had to order the CD4070BE from Digikey. This will take a few days. Will have to order an astronomical timer to drive a 120vac power supply to supply low level input (5v thru 200k resistors) to the inputs of the 4070BE.
 

crutschow

Joined Mar 14, 2008
34,459
Thank you for your help, had to order the CD4070BE from Digikey. This will take a few days. Will have to order an astronomical timer to drive a 120vac power supply to supply low level input (5v thru 200k resistors) to the inputs of the 4070BE.
CMOS circuits require an input voltage equal to the supply voltage for the logic high. So do you have 5V to power the CD4070 and 12V to power the relay? Or else power the CD4070 with 12V and generate 12V for the input.
 

Thread Starter

zirillo

Joined Mar 24, 2014
6
CMOS circuits require an input voltage equal to the supply voltage for the logic high. So do you have 5V to power the CD4070 and 12V to power the relay? Or else power the CD4070 with 12V and generate 12V for the input.
Did not know one could go as high as 12V for the logic input. Will use the same 12v supply for the input logic, relay drive and 2N2222.
 

AnalogKid

Joined Aug 1, 2013
11,055
Playing around with a different approach, based on a logic circuit I did long ago for an ambulance company. The ULN2004 is an array of seven darlington transistors complete with base current limiting resistors and input pulldowns, 50V, 1/2A rating, and transient suppression diodes for driving things like...relays. With one chip, one SIP resistor network, and two timing caps get you all of the logic, relay drive, and an auxilliary output.

Timer U1A makes a pluse when the lamp timer comes on. Timer U1EFG makes a pulse when the lamp timer turns off, powered by the two large holdup caps. U1B and D OR the two timer pulses into the relay coil.

ak
 

Attachments

AnalogKid

Joined Aug 1, 2013
11,055
Looking at the schematic this morning, it hit me that I don't need a separate turn-off pulse generator because the relay coil discharging the holdup cap is a time constant. That eliminates three inverters. Hmmm...

OK, Monte, I can name that circuit in one transistor (and two diodes). I hope Bucky is smiling.

ak

"Doing more with less." - R. Buckminster Fulller, architect, futurist, minimalist, namesake of the "Buckyball" carbon molecule
 

Attachments

waran1

Joined Apr 24, 2016
1
Looking at the schematic this morning, it hit me that I don't need a separate turn-off pulse generator because the relay coil discharging the holdup cap is a time constant. That eliminates three inverters. Hmmm...

OK, Monte, I can name that circuit in one transistor (and two diodes). I hope Bucky is smiling.

ak

"Doing more with less." - R. Buckminster Fulller, architect, futurist, minimalist, namesake of the "Buckyball" carbon molecule
Hi,
the pulser-2 circuit does not show where two inputs that comes from the timer device, please enlighten me, i need this circuit for slimier application.
 

AnalogKid

Joined Aug 1, 2013
11,055
It's right on the schematic. A standard lamp timer plugs into a wall outlet, a standard small plug-in power supply (a wall wart) with a 12 V output plugs into the timer, and the 12 V output powers the circuit.

Note that this circuit is not rated for *slime* applications.

ak
 
Top