MSD - 2011 Rochester Institute of Technology Wireless Open-Source Open Controlled Command and Control System WOCCS Design Project User Manual Revision 1 P11204 Systems Level User Manual WOCCS User Manual Page 1
Table of Contents Reference Documents.3 I. Introduction. a. WOCCS Overview..4 b. User Architecture..4 c. System Level Architecture..5 d. Functional Architecture...5 II. Assembly Guide. a. Parts Diagram. 6 b. Power Supply Assembly.9 c. RF Boards Instructions.10 d. Housing Unit Assembly.. 12 e. Antenna Assembly....13 III. IV. Smart RF Studio Implementation a. Download Software onto PC..13 b. Configure Receiving End as Packet Sniffer 14 c. Setup the sending end to send packets..17 Testing Conditions and Procedures. a. How to configure Test Bench hardware to WOCCS Unit 19 b. How to configure GUI Software for testing..22 c. Initial Setup.23 d. Bandwidth and Data Loss Test..... 23 e. Latency Test 25 f. Range Test..26 g. Power Test..28 WOCCS User Manual Page 2
Reference Documents Woodworth s Guidelines for Handling PCB Boards Power Supply Team Windmill Charging Directions http://www.woodward.com/pdf/ic/82715.pdf EDGE Document P11401 WOCCS User Manual Page 3
I. Introduction A. WOCCS Overview The WOCCS family of projects is a continuation of the LV-1 Wireless Command and Control System project (P10205). The LV-1 team designed and assembled a set of transceiver units that were implemented into the LV-1 Land Vehicle Project. Together, the transceivers are capable of sending user input commands to the LV-1 robot, and receive sensor data information from the robot. This team designed and assembled a base and a remote unit to take the main functions of these transceivers, and separate them into discrete functions: an RF module and a Digital Baseband module. The purpose of this separation is to create modularity in the RF section. Three other teams in this family developed RF modules with different capabilities that also leveraged the digital baseband and packaging subsystems. This team will develop a common housing for the WOCCS system modules that protect them from the environment, provide adequate cooling, and with the help of a power team to accommodate the I/O and provide power to the unit. It is important that all of the teams (RF, power, test bench and packaging) work together to build modularity into the overall project architecture. The modular design will allow for commonality among project-specific interfaces, as well as allowing interchangeability of components. B. User Architecture WOCCS User Manual Page 4
WOCCS User Manual Page 5
II. Assembly Guide A. Parts Diagram Unit Level 2 4 3 1 5 Key 1. Aluminum Enclosure 2. Aluminum Top 3. Aluminum I/O Endplate 4. Power Electronics Board 5. RF Module WOCCS User Manual Page 6
Power Electronics RF Modules I/O End Plate Power On/Off Switch Charging Dock Co-Axial Antenna Port LED Bank USB Port WOCCS User Manual Page 7
LED Status Light POWER When light is ON, indicates battery is adequately supplying power to boards. CONNECTED When light is ON, indicates the remote unit and base unit have secured a wireless connection. TX When light is ON, indicates unit is in transfer mode. RX When light is ON, indicates unit is in receive mode. POWER SWITCH TX/RX MODE 1 POWER OFF 2 CHARGE MODE 3 1 2 3 WOCCS User Manual Page 8
B. Power Supply Assembly Battery Assembly 1. Insert battery into battery holder by aligning the negative and positive terminals of battery with negative and positive labeled ends of battery clip as shown below. Negative Terminal Positive Terminal Press down firmly securing battery into battery clip Finished Power Electronics Board Power Board Assembly 2. Line up I/O end connectors with I/O endplate. Carefully slide Power Electronics Board into slot #10 (from bottom). The slot is indicated with Green Coloring as shown below. 3. Slide board until all end connectors reach the I/O endplate WOCCS User Manual Page 9
Slide board into correct slots End View Charging 4. Refer to Power Supply Team s User Manual for Instruction for Battery Charging using Windmill. i. For all other applications, assume Li-On battery can be charged using battery charging dock. ii. When unit is assembled, connect the charging dock into the appropriate interface and plug into the wall as shown below. C. RF Boards Instructions 1. Please Refer to Reference Document #1 -Woodworth s Guidelines for Handling PCB Boards in order to prevent electrostatic, physical, and electrical damage. 2. Always wear grounding device when handling boards. WOCCS User Manual Page 10
INSTRUCTIONS 1. Align board appropriately so that correct I/O Connectors are facing the I/O End Plate as show below. 2. Carefully slide board into marked slots (Black Marker indicates the correct slot to place RF boards in. RF Board End View Slide board into correct slots 5. Once Power Electronics is secured in board, take RF Connect Wire and secure it horizontally in the 2-pin connector on the RF PCB. Align connector so that top flap is on top of 2-pin connector. CAUTION Make sure the female/male connectors are fastened tightly wait for click noise. Female connector Male Connector WOCCS User Manual Page 11
D. Housing Unit Assembly 1. Obtain Housing Top and slide top into the uppermost slot possible as shown below. Make sure the Housing Top and Enclosure align correctly and there is no overlay on the top of the unit. Slide in Housing Top and Push until end is against the enclosure end 2. Using a screw driver, secure all 4 Philip s Head M3 Screws into corners of back endplate as shown below. Be sure to exert at least 6 force-pounds torque to ensure proper closing. Screw in all 4 Screws in Kitty- Corner orientation to ensure proper fastening 1 3 4 2 WOCCS User Manual Page 12
E. Antenna Assembly 1. Take co-axial Antenna and locate threaded end. Thread the antenna into the proper I/O interface as shown below. 2. Once antenna is properly secured, bend antenna at a 90 degree angle so that the non-threaded end faces vertically upward as shown. III. Smart RF Implementation A. Download and Install the following software packages on both receiving and sending PC. A.1. SmartRF Studio 7 (http://focus.ti.com/docs/toolsw/folders/print/smartrftm-studio.html) A.2. SmartRF Flash Programmer (http://focus.ti.com/docs/toolsw/folders/print/flashprogrammer.html) A.3. SmartRF Packet Sniffer (http://focus.ti.com/docs/toolsw/folders/print/packet-sniffer.html) WOCCS User Manual Page 13
B. Configure receiving end as packet sniffer B.1. Connect CC-Debugger debug cable (gray) to DEBUG port on Receiving end board (left) or USB Dongle (right). B.2. Attach CC-Debugger USB cable to the PC for programming. B.3. Connect RF board to power supply (or connect USB Dongle to USB port for power). B.4. After several seconds, press the reset button on the CC-Debugger. The light on the debugger should switch from amber to green (indicating a connection to the board). If it does not turn green, press the button again until it does. B.5. Launch SmartRF Studio and generate radio register settings file B.5.1. Launch SmartRF Studio. The device does not need to be connected for this step B.5.2. Click the drop-down box on the CC1111 field and click "open device in offline mode" WOCCS User Manual Page 14
B.5.3. From "easy mode", Make sure that "register view" and "RF Parameters" are both checked off, and that "SimpliciTI ping packet, high data rate, base 902MHz are selected" B.5.4. In the RF parameters window, select a channel from 1-25 to be used for communication. This is the same channel that will be used by the sniffer application on. B.5.5. In the Register view area on the right, click "Register Export" button at the top. B.5.6. In the Code Export window that pops up, double click the "Packet Sniffer Settings" template, then click "Export to file". Save the file as a "*.prs" and remember the location (will be needed later). Once this is completed, you can exit SmartRF Studio. B.6. Launch SmartRF flash programmer, set to program ccxxxx. Verify that the cc1111 shows up in the device list. For the flash image, browse to the packet sniffer application (C:\Program WOCCS User Manual Page 15
Files (x86)\texas Instruments\Packet Sniffer\General\Firmware\sniffer_fw_ccxx11.hex). B.7. Click "Perform Actions". B.8. The chip should now be programmed with the packet sniffer firmware. Remove the CC- Debugger and set aside. Unplug the RF module's USB from the computer and then plug it back in. Windows will search for a driver. It should be able to install the driver automatically if the Packet Sniffer program has been installed. If not, then direct windows to the program folder where the Packet Sniffer was installed (c:\program files\texas instruments\packet sniffer). B.9. Launch the Packet Sniffer application on the computer and verify that it connects to the cc1111 device that was just programmed a packet sniffer. B.10. For protocol type, select "Generic", then click "Start". WOCCS User Manual Page 16
B.11. At the bottom of the screen, the CC1111 should show up as a connected capture device B.12. On the radio configuration tab, browse to the register settings file created in step 2.5, and ensure that the proper channel is selected to listen on, and then click "Apply" B.13. Press the PLAY button to start packet capturing: C. Setup the sending end to send packets (on a different computer) C.1. Repeat steps 2.1-2.4 to power up the board and connect it to the (sending) PC via the CC- Debugger. This is the way that the hardware will remain setup for the duration of the test. C.2. Once the CC-Debugger displays a green light to indicate a connection, launch SmartRF Studio and verify that the cc1111 shows up as a connected device (listed on bottom of screen) WOCCS User Manual Page 17
C.3. On the black box labeled "cc1111..." click the red drop-down arrow, then click "show connected devices" (left). A window should pop up showing the device (right). C.4. Click "Open Device Control Panel". C.5. In the device control panel, verify that the correct channel and data rate are selected, select the desired number of packets, then click "Start". WOCCS User Manual Page 18
C.6. If the receiving end is properly setup and listening for packets, then it should receive them and display them on the screen: IV. WOCCS Testing A. How to configure Test Bench Equipment to WOCCS Unit i. Gather Test Bench Unit, WOCCS Unit, and 4-pin power testing connector WOCCS Unit 4-pin Wire Connector Test Bench Unit ii. Remove red jumper from power supply board as shown below: WOCCS User Manual Page 19
iii. Connect male 4-pin test bench wire connector to 4-pin female connector located on top of WOCCS Power Board A. Be sure to plug in PT side of connector cable to WOCCS Unit B. WOCCS Unit should be open to run test bench procedures iv. Plus opposite side of test bench connector (labeled TB ) into test bench unit. Plug into female 4 pin connector as shown until you hear a clicking sound. WOCCS User Manual Page 20
v. Take square end of USB Cable and plug into front panel of Test Bench Unit as shown below. vi. Take square end of USB cable and plug into USB port in laptop as shown below: WOCCS User Manual Page 21
vii. Run the Power Meter application. viii. Press the start button. B. How to configure GUI Software for testing i. Use the voltage, current, and power circular buttons to display the respective values. WOCCS User Manual Page 22
ii. Monitor the power readings for the desired operating time. If the power drops to 0 mw this indicates that the battery has been depleted and the test has failed. C. Initial setup 1. Gather Laptop loaded with Test Bench software, RF unit, and USB connector. 2. Connect square end of USB cable to RF unit and rectangular end to laptop. 3. Load WOCCS control station. 4. Check that the USB serial port settings are populated. Verify that the baud rate is 115200. Verify that the stop bits is set to 1. Verify that the parity is set to none. Verify that the data bits is set to 8. Verify that the mode is set to text. 5. Press the open USB port button. Verify that text appears in the WOCCS system monitor indicating that port has been opened. Press the toggle USB monitoring button to enable monitoring of serial data over the USB port. 6. Enter the appropriate channel number for the RF module you are using. Press set channel to tell the RF module to use that channel. WOCCS User Manual Page 23
7. Enter the complete file path of the data you intend to send over the RF link in the upload file path text box. 8. Enter the directory you would like the data received over RF to be saved to in the download file path text box. D. Data Loss Test 1. Connect base laptop to base RF module and remote laptop to remote RF module. 2. Run initial setup for base and remote laptops. 3. Press the transfer and send data button on the WOCCS Control Station software on the base laptop. 4. Ensure that the remote laptop has an exact copy of the data sent from the base laptop in its upload file path directory. 5. Verify that the remote laptop has received and displayed the data to the USB monitor. 6. Press the calculate error percentage button. WOCCS User Manual Page 24
7. The data error percentage will be displayed in the data error percentage text box. E. Bandwidth 1. Connect base laptop to base RF module and remote laptop to remote RF module. 2. Run initial setup for base laptop. 3. Press the transfer and send data button on the WOCCS Control Station software on the base laptop. 4. Wait a few seconds for the data to transmit and press get bandwidth button. 5. The bandwidth will be displayed in the bandwidth text box. F. Latency 1. Connect base laptop to base RF module and remote laptop to remote RF module. 2. Run initial setup for base laptop. 3. Press the transfer and send data with acknowledgement button on the WOCCS Control Station software on the base laptop. 4. Wait a several seconds for the data to transmit and be sent back to the base laptop. 5. Verify that the data has been received by the base laptop. 6. The latency will be displayed in the system latency text box. WOCCS User Manual Page 25
G. Range 1. Connect base laptop to base RF module and remote laptop to remote RF module. 2. Run initial setup for base and remote laptops. 3. Vary the distance between the base and remote units at 0%, 50% or 100% of marginal range. 4. Run the bandwidth, data loss, and latency tests. 5. Record results. 6. If the RF module passes the bandwidth, data loss, and latency test it has passed the range test at the current range. WOCCS User Manual Page 26