ECN Electrical Forum - Discussion Forums for Electricians, Inspectors and Related Professionals
ECN Shout Chat
Shout Box
Recent Posts
VDE 0100 to introduce AFCIs
by sparky. 01/20/18 05:09 PM
MRI LED lights dimmer control replacement - wow!
by Potseal. 01/19/18 08:52 PM
Video: Inventor of the GFCI self-testing shocks
by Bill Addiss. 01/17/18 11:11 PM
FPE in Germany
by HotLine1. 01/17/18 07:07 PM
Fujifilm Recalls Power Adapter Wall Plugs
by Admin. 01/16/18 07:04 PM
New in the Gallery:
Housebilding DIY wiring
SE cable question
Who's Online Now
1 registered members (gfretwell), 12 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
3-way photosensor switch control #214152
10/17/14 02:06 PM
10/17/14 02:06 PM
T
tanderson93  Offline OP
New Member
Joined: May 2014
Posts: 3
KS
I am a student in mechanical engineering working on a personal project for which I need to use a 3-way switch triggered by a photosensor (one sensor for the on-position, and a different one for the off). Could someone point me to some resources that would help me to understand how this is done and how the circuitry is designed?


Attached Files
Switch.png (75 downloads)
Object in the top frame blocks the line of sight of sensor one, activating the sensor to turn switch an arbitrary circuit on. Object moves to its position in frame 2 where it blocks the line of sight of sensor 2, turning activating the switch to turn the
Work Gear for Electricians and the Trades
Re: 3-way photosensor switch control [Re: tanderson93] #214153
10/17/14 02:33 PM
10/17/14 02:33 PM
G
gfretwell  Online Content

Member
Joined: Jul 2004
Posts: 9,166
Estero,Fl,usa
You will not be using a regular off the shelf IR detector unless you add some extra logic.
If you used the detector to pick a relay and then used a "D" flip flop it would work. You could also do it all with relays if you want to go "old school".


Greg Fretwell
Re: 3-way photosensor switch control [Re: tanderson93] #214154
10/17/14 03:15 PM
10/17/14 03:15 PM
T
tanderson93  Offline OP
New Member
Joined: May 2014
Posts: 3
KS
I'm sorry, but could you clarify that some? My knowledge base is in mechanical systems - I could design this to be entirely mechanical but then I run into an issue when I am machining the parts for the thing. They would end up being overly complex for the system I am designing. Electric control seems a more streamlined and efficient method. But, again, I know next to nothing about the subject, so I need it expressed to me in layman's terms. Or if you could point me to where there are some resources for me to study, I would appreciate that as well.

Re: 3-way photosensor switch control [Re: tanderson93] #214155
10/17/14 04:41 PM
10/17/14 04:41 PM
G
gfretwell  Online Content

Member
Joined: Jul 2004
Posts: 9,166
Estero,Fl,usa
OK do you want one detector to always be for "off" and the other "on" or do you want it to toggle whenever either is triggered?
Considering your situation, a relay solution may be the easiest.
This is really beyond the scope of this BB but I can send you a private message.


Greg Fretwell
Re: 3-way photosensor switch control [Re: tanderson93] #214157
10/18/14 01:00 AM
10/18/14 01:00 AM
J
JoeTestingEngr  Offline
Member
Joined: Nov 2005
Posts: 791
Chicago, Il.
http://www.mpja.com/Opto-Interrupter/productinfo/18028%20OP
Are you going to use opto-interrupters like these? You could use the outputs to steer the input of a schmitt trigger circuit, biased half way between the on and off thresholds. Same thing with a comparator with hysteresis. Two analog options. You can drive an R-S flip flop or D or J-K flip flop with preset and clear pins as digital options. Then there are the relay options. So many simple ways to do it, depending on the voltages that you wish to work with and your actual application.
This would be better posted down in the technical area.
Joe

Re: 3-way photosensor switch control [Re: tanderson93] #214159
10/18/14 03:45 PM
10/18/14 03:45 PM
HotLine1  Offline

Member
Joined: Apr 2002
Posts: 6,918
Brick, NJ USA
Wow, that is some real deep stuff there Joe!

You lost me at the Schmitt trigger......

I'm with Greg; relays.


John
Re: 3-way photosensor switch control [Re: tanderson93] #214160
10/18/14 07:19 PM
10/18/14 07:19 PM
G
gfretwell  Online Content

Member
Joined: Jul 2004
Posts: 9,166
Estero,Fl,usa
A Schmitt trigger is just a switching device that responds to a slowly changing input with a clean turn on or off at a certain point in the input slope.

With photo detectors, an op amp is a pretty good way to accomplish this, using a feedback resistor to square the output up.


Greg Fretwell
Re: 3-way photosensor switch control [Re: tanderson93] #214161
10/18/14 08:17 PM
10/18/14 08:17 PM
J
JoeTestingEngr  Offline
Member
Joined: Nov 2005
Posts: 791
Chicago, Il.
I would modify Greg's description to mention 2 different points on the input slope. For instance, with a 10V supply, it might take >=6V to turn the gate on, but <=4V to turn it off. 2, 10K resistors could be placed in series across the supply to place 5V on the input. Momentary switches across those resistors, (probably with their own series resistors to prevent shorting out the PS), would be able to switch the output back and forth.
I would also agree with you both on relays if our OP is using line voltages and large gaps. I picture those photocell circuits that ring the bell when you walk into stores. 2 of those and 2 relays or 1 latching relay, would be all that's needed for what I think he's trying to do. But for small gaps and logic level supplies, I picture a flip flop with preset and clear driving an opto, SSR, or relay via a driver ckt.
Joe

Re: 3-way photosensor switch control [Re: tanderson93] #214162
10/18/14 09:21 PM
10/18/14 09:21 PM
G
gfretwell  Online Content

Member
Joined: Jul 2004
Posts: 9,166
Estero,Fl,usa
In the thermostat I use for my spa, using an LM324 op amp for the trigger, my feed back resistor is pretty big (1m pot) so the on and off points are pretty close together. +/- < 1 degree f on a thermistor sensor (automotive water temp sensor)in a Whetstone bridge with two 10ks on the far side.

We really need to know more about what kind of photo sensor he is using and what the outputs are. I agree a latching relay is probably the lowest part count solution if he can drive it from the sensors and he wants one to always be "turn on" and the other one always "turn off". You can get latching relays that operate around 1 ms so if this is not really something where things are screaming by, it should work.


Greg Fretwell
Re: 3-way photosensor switch control [Re: tanderson93] #214163
10/18/14 11:52 PM
10/18/14 11:52 PM
electure  Offline

Member
Joined: Dec 2000
Posts: 4,264
Fullerton, CA USA
I've used off the shelf photosensors on the TEST mode for things like gate buzzers and driveway alarms. They shut off almost immediately when no motion is sensed.
If you install 2 of them, hook both the switch legs up to the primary of a 'Touchplate' transformer, and the secondary to a Touchplate (latching) relay to control the load it should take care of the situation.

...and it would use all unmodified UL listed parts

Page 1 of 2 1 2

Featured:

2017 Master Electrician Exam Preparation Combos
2017 NEC Electrician
Exam Prep Combos:
Master / Journeyman

 

Member Spotlight
togol
togol
NW In. USA
Posts: 421
Joined: September 2005
Show All Member Profiles 
Top Posters(30 Days)
Admin 20
sparky 16
Potseal 15
Popular Topics(Views)
243,581 Are you busy
180,379 Re: Forum
170,855 Need opinion
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Release build 20180101)
Page Time: 0.030s Queries: 17 (0.005s) Memory: 1.0267 MB (Peak: 1.2117 MB) Zlib enabled. Server Time: 2018-01-21 18:32:23 UTC