Can anyone help me with this? This is our first circuit assignment and I'm lost.
Exercise 1: Design the circuit that controls the traffic light at the intersection of Main St. and Minor Rd.
The intersection is controlled by a smart light one that can detect when cars are approaching the intersection. As you design the traffic-light controller, be aware that Main St. carries substantially more traffic than Minor Rd, so the traffic light should be programmed to allow traffic to flow on Main St. as much as possible. However, the light must eventually allow traffic on Minor Rd. to pass.
The smart light has four sensors:
S1: the current state of the traffic light
0 = the light is green on Minor Rd. (and therefore red on Main St.)
1 = the light is green on Main St. (and therefore red on Minor St.)
S2: sensor on Main St.
0= no car detected on Main St.
1 = car detected on Main St.
S3: sensor on Minor Rd.
0 = no car detected on Minor Rd.
1 = car detected on Minor Rd.
S4: timer
0 = less than 30 seconds have passed since the light was last toggled
1 = at least 30 seconds have passed since the light was last toggled
The traffic-light controller can perform only a single action: toggle the traffic light from green to red on one street, and simultaneously from red to green on the other street.
Build a truth table that specifies whether the action should be performed for each possible set of sensor inputs. Your circuit should output 1 if the traffic light should be toggled, and it should output 0 otherwise. For this exercise, you do not need to convert your truth table to Boolean logic and implement it with gates. However, for every row of your truth table, briefly justify your decision of the circuits output. You will find that your decision might be controversial at least for some rows and thats why an explanation is important.
Exercise 1: Design the circuit that controls the traffic light at the intersection of Main St. and Minor Rd.
The intersection is controlled by a smart light one that can detect when cars are approaching the intersection. As you design the traffic-light controller, be aware that Main St. carries substantially more traffic than Minor Rd, so the traffic light should be programmed to allow traffic to flow on Main St. as much as possible. However, the light must eventually allow traffic on Minor Rd. to pass.
The smart light has four sensors:
S1: the current state of the traffic light
0 = the light is green on Minor Rd. (and therefore red on Main St.)
1 = the light is green on Main St. (and therefore red on Minor St.)
S2: sensor on Main St.
0= no car detected on Main St.
1 = car detected on Main St.
S3: sensor on Minor Rd.
0 = no car detected on Minor Rd.
1 = car detected on Minor Rd.
S4: timer
0 = less than 30 seconds have passed since the light was last toggled
1 = at least 30 seconds have passed since the light was last toggled
The traffic-light controller can perform only a single action: toggle the traffic light from green to red on one street, and simultaneously from red to green on the other street.
Build a truth table that specifies whether the action should be performed for each possible set of sensor inputs. Your circuit should output 1 if the traffic light should be toggled, and it should output 0 otherwise. For this exercise, you do not need to convert your truth table to Boolean logic and implement it with gates. However, for every row of your truth table, briefly justify your decision of the circuits output. You will find that your decision might be controversial at least for some rows and thats why an explanation is important.