Solve the Superbowl Public Works Problem with a Binary Circuit | Homework Guide

  • Context: Engineering 
  • Thread starter Thread starter Blues_MTA
  • Start date Start date
  • Tags Tags
    Binary Circuit Lost
Click For Summary

Discussion Overview

The discussion revolves around designing a logic circuit to address a public works problem related to simultaneous toilet flushes during the Superbowl. The task involves using logic gates (AND, OR, NOT, NAND, NOR) to create a circuit that manages water-feed valves based on the flushing of up to three toilets. The goal is to ensure that if more than one toilet is flushed, all valves remain closed, while if only one toilet is flushed, its corresponding valve opens.

Discussion Character

  • Homework-related
  • Technical explanation
  • Exploratory

Main Points Raised

  • The initial problem statement outlines the need for a circuit that opens water valves based on toilet flush inputs, with a truth table provided by the original poster.
  • One participant suggests a different interpretation of the problem, proposing to determine whether an action occurs based on the inputs and then combining this with the inputs to decide which output is activated.
  • Another participant notes that there are no restrictions on the number of gates that can be used, only that there are three inputs and three outputs.
  • A concern is raised regarding propagation delays between inputs and outputs, suggesting that memory effects could occur if input values change before the outputs have updated. A potential solution involves adding delay mechanisms using NOT gates to synchronize the signals.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the best approach to solve the problem, and multiple interpretations and concerns regarding the circuit design remain unresolved.

Contextual Notes

Participants have not specified any limitations regarding the assumptions made in the problem or the definitions of the terms used. The discussion includes concerns about propagation delays and their impact on circuit performance.

Blues_MTA
Messages
18
Reaction score
0

Homework Statement


Using AND, OR, NOT, NAND, NOR gates construct a circuit for the following problem

7. One of the more interesting public works problems is the “Superbowl” problem. At
the beginning of halftime during the Superbowl, 35 million toilets are flushed almost
simultaneously. The resulting loss of water pressure wreaks havoc on many
municipal water systems. Here you will solve the problem for a “three toilet” system.
Devise a logic circuit whose “1” inputs represent “flushes” and whose “1” outputs
represent opened water-feed valves. If no more than one toilet is flushed, that toilet’s
water valve opens, and the others remain closed. If more than one toilet is flushed,
all the water valves remain closed.

Homework Equations



I Made a table of Values, but i have been banging my head against my desk for now designing various circuits, here is the link to the circuit builder

http://www.jhu.edu/~virtlab/logic/logic.htm"

Here is the Table that i came up with

IN OUT
001 001
010 010
011 000
100 100
101 000
110 000
111 000
000 000

Any Help is GREATLY Appreciated, thank you so much!



The Attempt at a Solution

 
Last edited by a moderator:
Physics news on Phys.org
How about if you interpret the problem differently. Think of taking in 3 inputs to determine whether 1 action happens or not, and then combining whether 1 action happens or not with each of the 3 inputs, to determine which output the action is happening to?

Do you have a maximum number of gates allowed?
 
Wow, thanks for the insight, ill give that a try, I've been working on it for hours so I am a little exhausted at this point, thank you very much, any other advice is greatly appreciated

There are no limits as to how many gates we can use, just three input, three output
 
One issue that may arise would be caused by propagation delays between input and output, depending on how fast things need to react.

If the inputs A B & C in the picture are one set of values and then they change to a different set, there may be a memory effect for a short period of time, where the new set of inputs get to the 'Valve T/F' decision box and the old set's 'Action T/F' outcome has not updated yet.

This can be fixed by figuring out the delay times through each gate in the 'Action T/F' box and then putting a 'Delay' box on each of the A B & C lines composed of multiple pairs of NOT gates. This will do nothing to the signal except add a delay between the input and 'Valve T/F' box, which is a cheesy way of fixing the problem, but sometimes works ;)
 

Attachments

  • Binary Problem.JPG
    Binary Problem.JPG
    5.8 KB · Views: 827

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K