Replacing two corresponding switches as one with AND-gates

Click For Summary
SUMMARY

The discussion centers on optimizing a circuit design by replacing two corresponding switches (SW3 & SW4) with AND-gates to simplify user interaction. The current design utilizes DPDT functionality requiring two +Vcc relays, which has been successfully implemented and tested. The proposed solution aims to reduce the number of switches to prevent user errors while maintaining functionality. Concerns were raised about potential direct connections to Vcc and Ground that could damage the sensor, necessitating a clear truth table for validation.

PREREQUISITES
  • Understanding of DPDT (Double Pole Double Throw) switch functionality
  • Basic knowledge of relay circuits and their operation
  • Familiarity with logic gates, specifically AND-gates
  • Ability to create and interpret truth tables
NEXT STEPS
  • Research the implementation of AND-gates in circuit design
  • Learn how to create and analyze truth tables for complex circuits
  • Explore best practices for minimizing user error in electronic designs
  • Investigate the effects of direct connections to Vcc and Ground on sensor components
USEFUL FOR

Electrical engineers, circuit designers, and hobbyists working on projects involving relay circuits and switch optimization.

adamaero
Messages
109
Reaction score
1
Homework Statement
So this is not homework or an assignment, but usually my questions get moved here anyway. This is from a project I'm working on for my job. A user can choose between DPDT functionality (so having "SensorI" be a doorway that goes up and down, reverse) or add another sensor in place of the first sensor having DPDT functionality. The DPDT requires two +VccRelays.
proxy.php?image=https%3A%2F%2Fi.stack.imgur.com%2FiUqIY.png

The relays on the left can be effectively thought of as simply Vcc. This is my current design. It works. (I implemented and tested it.)

The attempt at a solution
Although, I want the user have less switches to screw up. So I figure there's a way to replace the two switches on the right (SW3 & SW4). Do you think this will work:
https://forum.allaboutcircuits.com/attachments/upload_2018-8-19_19-21-0-png.158386/
I tried to make it easier to understand where the switch numbering is replaced with corresponding letters (where A matches everywhere with A, and B with B). If doing switch B, then the DPDT is enabled.
 

Attachments

  • proxy.php?image=https%3A%2F%2Fi.stack.imgur.com%2FiUqIY.png
    proxy.php?image=https%3A%2F%2Fi.stack.imgur.com%2FiUqIY.png
    16.9 KB · Views: 500
Physics news on Phys.org
Sorry, I'm having trouble seeing what you want the circuit to do. Could you post a description and/or a truth table? And it looks like there are some combinations of switch settings where the Sensor output can get connected directly to Vcc and Ground. Will that hurt the Sensor?
 
adamaero said:
I think that's the truth table: A⊕B = C = D'
adamaero, the images you cite are not viewable by us. Allaboutcircuits requires registration, apparently.

To include it in your post, you would need to download the image, then upload it to PF.
 
I opened up a new thread: https://www.physicsforums.com/threads/replacing-two-corresponding-switches-as-one-with-and-gates.953697/
(I mistakenly thought I couldn't edit the original question.)
 
adamaero said:
I opened up a new thread: https://www.physicsforums.com/threads/replacing-two-corresponding-switches-as-one-with-and-gates.953697/
(I mistakenly thought I couldn't edit the original question.)
Please don't cross-post. Just add the new images here in this thread please.
 
@ adamaero. If you could fully define and understand the question, you would see the obvious answer. Maybe you need to explain it clearly to others, in completely different ways, so you can see the answer yourself. Can you step back and see or describe the problem from a different viewpoint?
 
adamaero said:
Can this thread be deleted? I can see all the images (which you cannot). And it appears that I cannot edit the original question
It is very confusing for others if you go back and edit your OP. Please just add a post here with your new images. Thanks.
 
If you post the pictures, I can clean up the posts that are us expressing confusion.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 39 ·
2
Replies
39
Views
7K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 14 ·
Replies
14
Views
4K
Replies
9
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K