| CSE 477 -- Video Imaged Spatial Positioning Project |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  Home   Proposal   Schedule   Parts List   Weekly Status Reports   Preliminary Design Package   Final Design Report   Product Brochure   Final Project Report   Related Links   Downloadable Documents   About US |
PROJECT REQUIREMENTSFor VISPS, we have defined a number of project requirements. Below are the operating parameters for VISPS and the operating conditions of the internal parts. We will also discuss the communication protocols that we will use between the subsystems. Operating EnvironmentSystem functionality requires operation in an area that is NOT well lit by the sun or any intense light source. Project SpecificationFor the project specifications, we will first discuss the interface that VISPS will use. Afterwards, we will discuss the physical operating parameters of the internal parts of VISPS. Then we will discuss the communication protocols that occur internally.
VISPS External InterfacesVISPS will transmit the spatial coordinates out using the RS-232 protocol. In the RS-232, two lines are required: a transmit line and a ground. Figure 9 shows the interface.
In VISPS, the RS-232 protocol will run with the configuration shown in Table 2.
When streaming the coordinates out, we will send the bytes the order shown in Figure 10.
In the byte output, the start byte will be 255 (0xff in hex) because no coordinate will have the value of 255. Then the next three bytes are the X, Y, and Z coordinates. The X and Y coordinates will be normalized to positive integers. When the data correlator finished finding the coordinates, the X and Y coordinates will range from -127 to 127. Before outputting the X and Y coordinates, the data correlator will normalize these coordinates so that -127 will be 0 and 127 will be 254. For the Z coordinate, the output will not be normalized but the max value will be 254. The primary reason is because the Z coordinate can never be negative. After normalizing X and Y and limiting the max value of Z, we can use the value 255 as the start byte as neither X, Y, nor Z will ever have this value. We require the use of a start byte so that whoever is interfacing with VISPS will be able to determine when VISPS begins transmitting a set of coordinates. Physical Operating Parameters of Internal PartsIn Table 3 through Table 6 are the operating parameters for the following parts: the Spectronix RC-2BW, the Xess XS40-010XL development board, and the Atmel AT98C55-33PC 8051 Microcontroller. These parts are used in the VISPS design.
Intersystem Communication ProtocolsIn VISPS, there are two internal communication channels. The first is between the RC-2BW cameras and the XS-40. In this communication channel, the cameras will be streaming digital images to the XS-40. The protocol that is used to configure the camera and to retrieve data from the camera is defined in VLSI Vision's VV5404 datasheet. The second internal communication channel is between the XS-40 and the Atmel Microcontroller. The protocol that will be used is modeled after a four-way handshake protocol. The protocol requires two control lines for the handshake and a data bus width of 8 bits for the data. Figure 11 shows a diagram of the control lines and the data bus.
The four-way handshake protocol has steps:
This four-way handshake will be used to transmit each of the six pieces of pixel-coordinate data. There are three pixel coordinates that are 16 bits each in size. To reset the data transmission the Atmel mC will drive the new_data line high. |