Top Banner
HDD Lock Department of Electrical & Computer Engineering Advisor: Professor Michael Zink Team: Brigit Lyons Fadi Maalouli Tony Panetta Renzo Silva Midway Design Review
20

Midway Design Review

Feb 24, 2016

Download

Documents

efrem

HDD Lock. Midway Design Review. Team: Brigit Lyons Fadi Maalouli Tony Panetta Renzo Silva. Advisor: Professor Michael Zink. Department of Electrical & Computer Engineering. HDD Lock. Outline. Design overview and modifications MDR goal reminder Progress of each component Demo - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering

Advisor:Professor Michael Zink

Team:Brigit Lyons

Fadi MaalouliTony PanettaRenzo Silva

Midway Design Review

Page 2: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 2

Outline

• Design overview and modifications• MDR goal reminder• Progress of each component• Demo • Division of labor• Prototype Cost• CDR goals

Page 3: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 3

Website

Account Database

Bluetooth Module Processor (AIRCable SMD) (Intel Atom)

Old Design

Security Device

Page 4: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 4

Problems with Old Design

• Reliant on Internet/3G connection• Problems with AIRCable SMD Bluetooth

module• Intel Atom Processor very complex to work

with

Page 5: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 5

Bluetooth Module Microcontroller(Roving Network (GHI EMX) RN-41)

New Design

Security Device

Page 6: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 6

Solution

• No need for a database/website to get encryption key

• Roving Network RN-41 Bluetooth module is easy to use and has a high success rate

• GHI EMX development system simple to interface with

Page 7: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 7

MDR Goals

Working encryption algorithm• Hardware and software algorithms evaluated

Basic Bluetooth communication• RN-41 Module communication

Basic phone application• Basic communication with RN-41

Page 8: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 8

Current Project Status

Page 9: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 9

C AES Performance

0 2000 4000 6000 8000 10000 120000

0.005

0.01

0.015

0.02

0.025

0.03C Algorithm Encryption SpeedSpeed (Gb/s)

Number of Runs

0 2000 4000 6000 8000 10000 120000

0.0010.0020.0030.0040.0050.006

C Algorithm Decryption Speed

Number of Runs

Speed (Gb/s)

* Speed (Gb/s) = (128*Number of Runs)/(Runtime*109)**Tests performed on a 2.66GHz machine***Speeds calculated based on code execution time. On a multitasking system, this includes both idle time and processor time.

Page 10: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 10

Verilog AES Performance

Decryption: 13 clock cycles per 128-bit decrypt (red) + one-time 13 cycle key expansion each time encryption key is changed (blue)

Encryption: 13 clock cycles per 128-bit encryption (red) [key expansion can be done in parallel here]

Page 11: Midway Design Review

HDDLock

11

Comparison of Performance• Encryption:

• C: 0.025Gb/s at 2.66GHz • Number of clock cycles per encryption run = (128/Speed(Gb/s))*CPU Clock Speed• With a 2.66Ghz at 0.025Gb/s -> 13,620 clocks cycles per encryption run• Assuming 1% of runtime spent on processor -> 136 CPU cycles per run

• Verilog: 13clock cycles• Verilog performs (136/13) ≈ 10x faster

• Decryption• C: 0.005Gb/s at 2.66GHz

• Number of clock cycles per decryption run = (128/Speed(Gb/s))*CPU Clock Speed• With a 2.66Ghz at 0.025Gb/s -> 68,096 clocks cycles per encryption run• Assuming 1% of runtime spent on processor -> 681 CPU cycles per run

• Verilog: 13clock cycles• Verilog performs (681/13) ≈ 52x faster

• The assumption that 1% of C code runtime is spent on the processor is used to offset the fact that on a multitasking system, the total runtime includes both processor and idle cycles.

Department of Electrical & Computer Engineering

Page 12: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 12

Power Control

Power Supply

Voltage Regulator

(5v to 3.3V)

RN-41 Bluetooth

5VSwitch

Power Control (PIO 7 and 8) 3.1V – 800mA

3.3V Input

5V 12V

5V – 3A

12V – 3A (peak current)12VSwitch(30W max)

3.1v Switch

Gnd Gnd

500nF Cap

100k R

Page 13: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 13

Bluetooth

• Voltage (DC) Min 3.0 Typ 3.3 Max 3.6

• Average Power Consumption when Connected (normal mode) 30mW

• Output logic level HIGH VDD-0.2V • The RN41 delivers up to 3 Mbps data

rate for distances to 100M.

Page 14: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 14

Android Application

• Development and testing environment• Android SDK plug-in for Eclipse IDE on Win 7• Testing on Motorola Droid and HTC EVO handsets

• Application built off of open source BlueTerm• Fundamentals for programming/communicating

with RN-41 via Bluetooth• Additional functionality will be easy to integrate

Page 15: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 15

Demo

1. Open Application2. Bring up Options Menu3. Select “Connect device”4. Scan for HDDlock if not shown in device list5. Select HDDlock from device list6. Enter pairing code ‘1234’ if not already paired7. Send commands to RN-41 to enter command

mode, set pin as output, and set pin high8. Disconnect

Page 16: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 16

Page 17: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 17

Roles and Management• Brigit (CSE): Set up Android development/testing environment

and worked on the Android Application• Administrative: Webmaster

• Fadi (EE): Worked on enabling/configuring Bluetooth module• Administrative: Scheduling

• Tony (CSE): Worked on encryption algorithms in C and Verilog• Administrative: Documentation

• Renzo (EE): Designed power management between RN-41 and hard drive, and worked on the Android Application• Administrative: Purchase Orders

Page 18: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 18

Current and Projected Costs

• Prototype Cost: $291.4 • 80GB Hard Drive: $35.99• Cables: $17.92• High power MOSFETs: $2.98• RN-41: $59.95• GHI EMX Development System: $125 • PCB Fabrication: $50

Page 19: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 19

CDR Goals

• Android Application:• User login/authentication• Send encryption key to security device

• Security Device:• Communication between development board and

Bluetooth module• Encryption algorithm working on development

board• Research OS libraries for read/write from hard drive

Page 20: Midway Design Review

HDDLock

Department of Electrical & Computer Engineering 20

Questions?