MA 240  Discrete Mathematics                                    NAME: ________________________________ 

Fall 2005               Instructor:  Jeffrey Horn

HOMEWORK 3:  Combinatorial (Propositional) Logic as Stimulus-Response Brains (Digital Braitenberg Vehicles)
 
Handed out/Assigned: Monday, September 26, 2005
Due: Monday, October 3, 2005

(1)  DIGITAL Braitenberg Vehicle 1:

 
 

(2)  DIGITAL Braitenberg Vehicle 2:

This is the same as vehicle 1, except that we add one more sensor bit and one more output bit.   We now have a "predator proximity detector P" that gives us one bit of information.  If P is 0 then there is no predator in front of us.  If P is 1, then there is a predator somewhere within a cone of detection in front of us (finite range).  We also now have another "effector" (output), which is B for "BACKUP".    If the output B is set to 1, then the two motors will interpret a "0" signal as "reverse" instead of "stop".  If B is set to "0" then the the "0"signela to RM or LM will mean the usual "stop".  This will allow the vehicle to back up.   Thus we can now go backwards! 

THE STRATEGY:  Design a vehicle that seeks out light sources, BUT avoids predators.  (If a predator touches your vehicle, it eats it!)

INPUTS                            OUTPUTS                    
P LS RS   LM RM B
0 0 0        
0 0 1        
0 1 0        
0 1 1        
1 0 0        
1 0 1        
1 1 0        
1 1 1        

 

(2 B)  Explain in plain English what strategy your truth table above implements:

 

 


 (2 C)  Now try creating the circuits (or giving the boolean expressions, which do NOT have to be minimized) FOR EACH OF THE THREEE OUTPUTS above.
 

      LM:

 

 

 

 

     RM:

 

 

 

 

 

     B: