MA 240  Discrete Mathematics                                    NAME: ________________________________ 

Fall 2007               Instructor:  Jeffrey Horn                                                                    

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

(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.   Actually, the extra bits are really the same:  M.  We now have a "sensor mode indicator " M.  Our two sensors are now dual mode:  they can detect light AND obstacles, but not at the same time!  If M is 0 then the sensors are in light detection mode.  If M is 1, then the sensors are in obstacle detection mode (keep these straight!).    In our output, we can set the sensor mode M.  (M sets, and thus indicates, the mode of BOTH sensors.  Assume the time it takes to switch modes insignificant, or at least less than the time between "firings" of the truth table.  So if in time step t your output changes M from 0 to 1, then by the next time step t+1, when the truth table is read again, the value of M will be 1.  You may seek and destroy light or seek and worship/absorb light.  But please indicate which, in words!)

THE STRATEGY:  Design a vehicle that seeks out light sources, BUT avoids obstacles.  (If you hit an obstacle, you take damage!)

INPUTS                            OUTPUTS                    
M LS RS   LM RM M
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 give the boolean expressions, which do NOT have to be minimized, FOR EACH OF THE THREE OUTPUTS above.

 

 

(2 D)  Now try minimizing the boolean expressions above.

 

 

 

 


(2 E)  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:

 

 

 

 

 

     M: