State Diagram

 

  

State

Definition

A

Claw fully open, not grasping object

B

Object detected, claw closing (1st try)

C

Claw grasping object (assuming claws not fully open)

D

Object removed after grasping object

E

Object removed from claw once (claws were not previously grasping object), claw opening

F

Object detected again, claw closing

G

Claw opening, not responding to any further objects

H

Claw not responding until pressure sensor tripped

Input

Definition

X1

(0 - claw not fully retracted, 1 - claw fully retracted)

X2

(0 - eye sensor not blocked, 1 - eye sensor blocked)

X3

(0 - no pressure detected, 1 - pressure detected)

Output

Definition

Z1Z2

(00 - motor stop, 01 - clamp down, 10 - retract)

 

This is the state diagram of our system, along with the state, input and output definitions. In order to simplify our project, we chose to use a Moore machine design. This means that the output is only dependent on the states, and not on the input. Thus, the output will have an opportunity to change only when the clock rising edge has occured.

In general, the state diagram shows how the system will react when different inputs (X1, X2, and X3) are given to the robot claw. The state definitions describe what the robot is doing (or more simply, what the status of the robot claw is) when the robot claw is in a particular state. The input definitions describe what the binary code is for each particular type of input. The output definition is similar to the input definition, except that it associates a binary code to a particular type of output.

It was very important for our group to draw the correct state diagram. Because we are using VHDL, and VHDL is created using the state diagram, if we make a mistake with the state diagram, we will ultimately make a mistake in our VHDL document. Thus, when we try to use our VHDL document in the NOVA simulator, we will receive an incorrect simulation.

For an actual system, the inputs of the state system would come from sensors on the robot claw. The sensors would detect the presence of three different stimuli: whether an object is between the claws, whether an object is grasped by the claws or whether the claws are fully open.

For an actual system, the outputs of the state system connect to two transistors and four relays, that in turn would connect to the robot. The transistors and relays would allow more power to be delivered to the robot than what the digital circuit could supply by itself.  

  

Return to our EE271 Main Project Page

Check out the other pages

Last Updated Aug. 12, 1999