CS/EE 3810 Assignment 6 solved


Category: You will receive a download link of the .ZIP file upon Payment


5/5 - (1 vote)

1. Draw the finite state table and the finite state diagram for the sequential circuit that
implements the following function in a self-driving car. In every second, the car’s
position within the lane is determined with cameras and fed as input to the sequential
circuit. Accordingly, the car’s steering wheel is moved to one of 2 positions: Left,
Right. The car itself can be “Middle of a lane”, “Drifting to the right edge of the lane”,
and “Drifting to the left edge of the lane”. If the car is in the “Middle”, the steering
position is left unchanged. If the car is drifting to the edge of the lane, the steering is
moved away from the edge. (50 points)
2. Construct a finite state table and diagram for the following home alarm circuit. Any
time the user punches in an invalid code, the alarm state remains unchanged. The
alarm toggles between Active and Disabled states when the user punches in a valid
code. If the alarm is in Active state and the motion sensor is triggered, the alarm goes
into a Panic state; it moves from Panic to Disabled when the user punches in a valid
code. If a valid code is received in a cycle, the finite state machine behaves as if the
motion sensor is untriggered (even if the motion sensor is triggered). (50 points)