inteligent relay or control

Thread Starter

laurent Adams

Joined Feb 14, 2018
20
I need a conventional relay action but with the added; output on first input but ignore the next for 5 mins (or adjustable time)
any ideas?
 

samudavid

Joined Jan 4, 2018
29
What kind of relay? a small relay on a PCB or a industrial relay in a DIN carril??

For first, you will have to add some logic (a cheap microcontroller will do) for the latter, you can add a timer to avoid further connections. If you give more detail, we can tell you more precisely.
 

Reloadron

Joined Jan 15, 2015
7,889
What you are describing is commonly called SINGLE SHOT or One Shot Momentary Interval:
"Upon application of input voltage, the time delay relay is ready to accept a trigger. When the trigger is applied, the output is energized and the time delay (t) begins. During the time delay (t), the trigger is ignored. At the end of the time delay (t), the output is de-energized and the time delay relay is ready to accept another trigger"
This describes the various functions of time delay relays: Understanding Time Delay Relay Functions. You may wish to give it a read. You can roll your own or buy an off the shelf solution based on your specific needs. Things like switching voltage and current as well as coil or control voltage. Inexpensive solutions can be bought off the boat from China or those made by other manufacturers, companies like Macromatic or Ametec NCC as a few examples. A Google of time delay one shot relays should yield plenty of results to choose from depending on your specific needs.

Ron
 

AnalogKid

Joined Aug 1, 2013
12,128
Your question needs a *lot* more information.

What kind of relay? How many poles? How many throws?

What is the load that is being switched by the relay? AC, DC, how much current, is it a motor or some other kind of inductor, etc.

What is the voltage available for the control circuit and for the relay coil?

What controls the relay? A switch, a signal from a computer, a signal from a sensor? etc?

After the 5 minutes times out and the relay opens, how long before the next signal to close it again. The is important because some timer circuits need a long time to reset themselves before another cycle.

ak
 

Thread Starter

laurent Adams

Joined Feb 14, 2018
20
What kind of relay? a small relay on a PCB or a industrial relay in a DIN carril??

For first, you will have to add some logic (a cheap microcontroller will do) for the latter, you can add a timer to avoid further connections. If you give more detail, we can tell you more precisely.
Low current 1A @ 230v

Your question needs a *lot* more information.

What kind of relay? How many poles? How many throws?

What is the load that is being switched by the relay? AC, DC, how much current, is it a motor or some other kind of inductor, etc.

What is the voltage available for the control circuit and for the relay coil?

What controls the relay? A switch, a signal from a computer, a signal from a sensor? etc?

After the 5 minutes times out and the relay opens, how long before the next signal to close it again. The is important because some timer circuits need a long time to reset themselves before another cycle.

ak
Spst
Resistive load under 1A@230vac
Input (trigger voltage 12v)
A CCTV 12v trigger
 
Last edited by a moderator:

Reloadron

Joined Jan 15, 2015
7,889
What did you want to spend? Either of the links I provided have time delay relays which will fit your needs with 12 VDC control voltage as well as 230 VAC DPDT contacts exceeding your requirement. They are also available in 11 pin designs with mating sockets.

Ron
 

Thread Starter

laurent Adams

Joined Feb 14, 2018
20
To add; the ignore time x is from the time the input disappears . I.e my input maybe on for 20secs or 10mins , the relay should not give an output to the next trigger unless X time has past.

The actual scenario is my CCTV triggers lighting on detection of movement and brings on the light , but when the CCTV then times out and turns off the light the CCTV detects the light going off as movement and so brings it back on again! So using a time gap in the lighting it will not self trigger
 
Last edited:

MrSoftware

Joined Oct 29, 2013
2,273
I don't remember the name or brand of the device, but there is an off the shelf controller that I read about in an automotive thread that does pretty much what you're looking for. When powered up you could adjust the timer delay before additional outputs were powered. I'm sorry I don't remember more details, but maybe google will help out.
 

Lyonspride

Joined Jan 6, 2014
137
Been doing a lot of work with ESP8266 lately, got a few on relay boards (Search "GreenESP8266"), which have an isolated opto input and are available for very little money (under $3 / £2.50), this would easily do what your looking for.. Putting aside the WIFI, they're actually really flexible little processors and simple stuff can be programmed very easily just like Arduino.
 

Thread Starter

laurent Adams

Joined Feb 14, 2018
20
yeah of all the time delay I've looked at don't actually do what I need.
i.e times are away and ticking from instant of input rather than on instant of input removal
 

AnalogKid

Joined Aug 1, 2013
12,128
The actual scenario is my CCTV triggers lighting on detection of movement and brings on the light , but when the CCTV then times out and turns off the light the CCTV detects the light going off as movement and so brings it back on again! So using a time gap in the lighting it will not self trigger
5 minutes seems like an awfully long time for what you describe. AND, if turning off the light retriggers the camera immediately, why doesn't the camera retrigger when the light is turned off 5 minutes later?

Separate from that, this can be done with a CMOS 555, although 5 minutes is pushing the envelope because it requires relatively large-value timing components.

For long time delays, I prefer a counter-based timer such as a CD4060. It has an internal oscillator and 14-bit divider, so for the same time period the timing components are 8000 (not a typo) times smaller. Adjusting one resistor varies the time period. Unlike the 555, a 4060 cannot drive even a small relay coil directly, so it requires one external transistor.

If you don't need tight repeatability, this can be done with one transistor, 1 R, 1 C, 1 diode.

ak
 
Last edited:

Thread Starter

laurent Adams

Joined Feb 14, 2018
20
5 minutes seems like an awfully long time for what you describe. AND, if turning off the light retriggers the camera immediately, why doesn't the camera retrigger when the light is turned off 5 minutes later?

Separate from that, this can be done with a CMOS 555, although 5 minutes is pushing the envelope because it requires relatively large-value timing components.

For long time delays, I prefer a counter-based timer such as a CD4060. It has an internal oscillator and 14-bit divider, so for the same time period the timing components are 8000 (not a typo) times smaller. Adjusting one resistor varies the time period. Unlike the 555, a 4060 cannot drive even a small relay coil directly, so it requires one external transistor.

If you don't need tight repeatability, this can be done with one transistor, 1 R, 1 C, 1 diode.

ak
Your right AK it would be in the order of 30secs.
The 5 mins is a red herring. The "time" I require is just the "ignore time". I.e the camera output opens after 30secs of no movement detection . When the light goes off the camera thinks it's movement are puts the output on again so it's this second trigger I need my lighting relay to ignore then after the camera times out the light is already off so isn't retriggered but ultimately need it to trigger on the next movement.
 
Last edited:

ebeowulf17

Joined Aug 12, 2014
3,307
I'm not entirely sure, but I think you want single shot falling edge. You want your lighting state to change from on to off when the camera output turns off, so you need something that acts right at the falling edge.

It seems backwards because the output is "on" during the time when you want your light forced off, but I think this is the only one that activates for the right time period, and the action is easily reversed.

If you found a single shot falling edge relay that was dual-throw (SPDT, DPDT) you would run your existing lighting circuit through the NC contacts. This way, it would operate as it currently does in all states except during the brief period when the relay was active, right after the camera signal had dropped out. If you only found single throw options, you could use the timer output to drive a relay with NC contacts and achieve the same effect.

Someone else should double check my logic, but I *think* I got that right.
 

AnalogKid

Joined Aug 1, 2013
12,128
How much current can the signal out of the camera source? For example, if I use it to charge or discharge a capacitor, do I have to limit the current to some safe value?

ak
 
Top