Project

# Title Team Members TA Documents Sponsor
77 Knock-Turn Lock
Adam Frerichs
Jack Kelly
Vishal Rajesh
Vishal Dayalan design_document3.pdf
final_paper1.pdf
photo1.JPG
photo2.JPG
photo3.JPG
presentation1.pdf
presentation2.pptx
proposal2.pdf
video
# Knock-Turn Lock

Team Members:
- Jack Kelly (jacktk2)
- Vishal Rajesh (vrajesh2)
- Adam Frerichs (adamdf2)

Link to high-level block diagram: https://docs.google.com/document/d/1kzdScCKG7YJrnN6E_D_-xf1Sez1VTvAVJpIW24HritI/edit?usp=sharing

# Problem

Losing keys is extremely common, and being locked out of your own house can be extremely frustrating. Hidden spare keys are a security concern, and digital keypads can be unsightly as well as insecure, introducing a secondary point of failure to possible intruders.

# Solution

Describe your design at a high-level, how it solves the problem, and introduce the subsystems of your project.

We propose a unique door lock, that uses a unique combination of programmable knocks and door knob turns in order to provide a secondary way of unlocking a door. From an outside observer, it would simply appear as somebody let the entrant inside, after they knocked and tried the handle, and would not have any obvious code for potential intruders to figure out. It would consist of a sensor to detect knocks, two buttons to read left and right knob turns, a microprocessor to check for the specific code, and a usb-port hidden in the side of the door in order to program a new combination.

# Solution Components

## Piezo sensor

These sensors are able to detect vibration due to knocking, and are used in things like electric drum kits to detect the percussion.

When activated through a force, piezo sensors are modeled as a capacitor. This would be connected to the microcontroller using a transistor in order to produce a binary output, and connected to a ground through a small value resistor, in order to allow the voltage to discharge quickly and have knocks be processed in quick succession.

## Button

The buttons would have to have low spring resistance, in order to make the knob feel like a regular locked door handle. These would be connected to a high voltage source with a pull-up resistor in order to produce a binary output, with one button on both the left and right sides of the door knob mechanism to detect both directions.

## Microcontroller

https://www.snapeda.com/parts/STM32F103C8T6/STMicroelectronics/view-part/

This is the microcontroller the RFID lock group used. It may be more complex than we need.

This would be mounted on our PCB, which would need to fit in an enclosure less than 2” thick in order to fit in the door. However, it could be as wide as needed as long as it fits inside of the door.

## Power

The device would be powered directly through the house’s power, and would require a 3.6V AC/DC converter in order to match the input power of the microcontroller. The electronic lock would require 9V AC/DC converter. These would be separate from the PCB enclosure, and as such would have to be less than 2” in thickness in order to fit within the door.

## Electronic Lock

https://www.adafruit.com/product/1512?gclid=Cj0KCQiA2-2eBhClARIsAGLQ2RlgWKqt1XGgX23roDPViY1hjU2EkBonYtzCMKPVEfRFaTNxiRkg-D8aAtL6EALw_wcB

This lock would be sufficient for the project as we would not need to design our own lock and servo system. When a correct combination is entered the microcontroller would send a signal to unlock the door and then the lock would re engage when the door closes.

# Criterion For Success

Describe high-level goals that your project needs to achieve to be effective. These goals need to be clearly testable and not subjective.

The code must be inputtable consistently by an authorized user, but precise enough to avoid random entrance.

The lock needs to be easily programmable in order to change the combination.

The knock/vibration sensor needs to be sensitive enough to detect quieter knocks, but not be triggered by regular activities like walking around an apartment.

The knock combination needs to be rhythm based, in order to mimic a regular knocking pattern.












Resonant Cavity Field Profiler

Salaj Ganesh, Max Goin, Furkan Yazici

Resonant Cavity Field Profiler

Featured Project

# Team Members:

- Max Goin (jgoin2)

- Furkan Yazici (fyazici2)

- Salaj Ganesh (salajg2)

# Problem

We are interested in completing the project proposal submitted by Starfire for designing a device to tune Resonant Cavity Particle Accelerators. We are working with Tom Houlahan, the engineer responsible for the project, and have met with him to discuss the project already.

Resonant Cavity Particle Accelerators require fine control and characterization of their electric field to function correctly. This can be accomplished by pulling a metal bead through the cavities displacing empty volume occupied by the field, resulting in measurable changes to its operation. This is typically done manually, which is very time-consuming (can take up to 2 days).

# Solution

We intend on massively speeding up this process by designing an apparatus to automate the process using a microcontroller and stepper motor driver. This device will move the bead through all 4 cavities of the accelerator while simultaneously making measurements to estimate the current field conditions in response to the bead. This will help technicians properly tune the cavities to obtain optimum performance.

# Solution Components

## MCU:

STM32Fxxx (depending on availability)

Supplies drive signals to a stepper motor to step the metal bead through the 4 quadrants of the RF cavity. Controls a front panel to indicate the current state of the system. Communicates to an external computer to allow the user to set operating conditions and to log position and field intensity data for further analysis.

An MCU with a decent onboard ADC and DAC would be preferred to keep design complexity minimum. Otherwise, high MIPS performance isn’t critical.

## Frequency-Lock Circuitry:

Maintains a drive frequency that is equal to the resonant frequency. A series of op-amps will filter and form a control loop from output signals from the RF front end before sampling by the ADCs. 2 Op-Amps will be required for this task with no specific performance requirements.

## AC/DC Conversion & Regulation:

Takes an AC voltage(120V, 60Hz) from the wall and supplies a stable DC voltage to power MCU and motor driver. Ripple output must meet minimum specifications as stated in the selected MCU datasheet.

## Stepper Drive:

IC to control a stepper motor. There are many options available, for example, a Trinamic TMC2100. Any stepper driver with a decent resolution will work just fine. The stepper motor will not experience large loading, so the part choice can be very flexible.

## ADC/DAC:

Samples feedback signals from the RF front end and outputs the digital signal to MCU. This component may also be built into the MCU.

## Front Panel Indicator:

Displays the system's current state, most likely a couple of LEDs indicating progress/completion of tuning.

## USB Interface:

Establishes communication between the MCU and computer. This component may also be built into the MCU.

## Software:

Logs the data gathered by the MCU for future use over the USB connection. The position of the metal ball and phase shift will be recorded for analysis.

## Test Bed:

We will have a small (~ 1 foot) proof of concept accelerator for the purposes of testing. It will be supplied by Starfire with the required hardware for testing. This can be left in the lab for us to use as needed. The final demonstration will be with a full-size accelerator.

# Criterion For Success:

- Demonstrate successful field characterization within the resonant cavities on a full-sized accelerator.

- Data will be logged on a PC for later use.

- Characterization completion will be faster than current methods.

- The device would not need any input from an operator until completion.

Project Videos