Project

# Title Team Members TA Documents Sponsor
21 WEARABLE ADAPTIVE RESONANCE MATCHER
Austin Zhuang
Tian Tu
Xinyang Liu
Shiyuan Duan
# WEARABLE ADAPTIVE RESONANCE MATCHER

Team Members:

* Yanheng Zhuang (NetID: yzhua2)
* Xinyang Liu (NetID: xl157)
* Tian Tu (NetID: tiantu2)

# Problem

Small implanted devices can receive power wirelessly from an external coil. This works best when the external and implanted circuits are properly matched near the same resonant point.

In practice, coil movement, changes in distance or angle, and nearby tissue-like materials can change the electrical response of the system. This can increase reflected power and reduce transmission to the implanted coil.

A fixed matching circuit may work well for one condition but perform poorly after the environment changes. Our goal is to build a system that can automatically detect this mismatch and retune the external matching circuit without manual adjustment.

# Solution

We will build an adaptive wireless power matching prototype using a custom PCB, two coils, a laboratory vector network analyzer (VNA), and computer control software.

The PCB will contain two electronically adjustable capacitors controlled by an STM32 microcontroller. Changing these capacitances will allow the system to adjust the resonant behavior and input matching of the external coil.

The VNA will measure S11 and S21 and provide feedback to a Python program. The program will read the measurements, command the STM32 to try different capacitor settings, and select the settings that provide the best measured performance.

The VNA is an essential part of our final ECE 445 prototype and demo because it provides the measurement feedback needed for automatic tuning. We will not attempt to integrate the full VNA measurement functionality onto the PCB.

Testing will be performed on a bench using two representative coils, an adjustable nonconductive fixture, and tissue-like loading material. No human or animal testing is included.

# Solution Components

## Main Control PCB Subsystem

This subsystem controls the tuning circuit and communicates with the computer.

An **STM32F072CBT6** microcontroller will generate two independent tuning control signals. A **TLV75533PDBVR** regulator will provide 3.3 V power. A **TPS61040DBVR** boost converter and an **OPA2192IDR** dual op amp will provide the larger adjustable voltages required by the tuning components.

Components:

* STM32F072CBT6 microcontroller
* TLV75533PDBVR 3.3 V regulator
* TPS61040DBVR boost converter
* OPA2192IDR dual op amp
* USB connector and protection circuit
* SWD programming header
* Voltage test points

## Adjustable Matching Subsystem

This subsystem connects to the external coil and changes its electrical response.

It will use one adjustable capacitor in series and one in parallel with the coil. We plan to use **MAVR-000404-0287FT** varactor pairs. Fixed-capacitor and zero-ohm resistor footprints will also be included so the tuning range can be adjusted after measuring the actual coils.

Components:

* 2 × MAVR-000404-0287FT varactor pairs
* Murata GJM C0G/NP0 fixed capacitors
* RF connectors
* Bias resistors
* Decoupling capacitors
* Zero-ohm resistor footprints

## Measurement and Control Software Subsystem

This subsystem measures the system response and performs automatic tuning.

A laboratory two-port VNA will measure S11 and S21. A Python program will communicate with both the VNA and STM32. It will first perform a coarse search over capacitor settings, then search more closely around the best result. The program will automatically save the measurements and selected settings for each test.

Components:

* Laboratory two-port VNA
* Python measurement and tuning program
* USB serial connection between the computer and STM32

## Coil and Test Fixture Subsystem

This subsystem provides a repeatable physical setup for testing the adaptive matching system.

We will use an external transmit coil and a smaller implant-representative receive coil approved by our mentor. A nonconductive fixture will allow repeatable changes in distance, lateral position, and angle. Tissue-like loading material will be used to test whether the system can retune after the electromagnetic environment changes.

Components:

* External transmit coil
* Implant-representative receive coil
* Nonconductive positioning fixture
* Mentor-approved tissue-like test material

# Criterion For Success

The project will be considered successful if it can:

* Independently control both adjustable capacitor channels.
* Automatically collect and save VNA measurements without manual data entry.
* Detect a loss of matching after coil position or nearby loading changes.
* Automatically select new capacitor settings without manual electrical adjustment.
* Improve S11 by at least 6 dB, or reach S11 ≤ -10 dB, in at least three repeatable test conditions.
* Improve VNA-measured S21 by at least 2 dB in at least three repeatable test conditions.
* Complete one automatic tuning cycle within 60 seconds.
* Repeat one selected test three times with final S11 results within 2 dB of each other.

Electronic Mouse (Cat Toy)

Jack Casey, Chuangy Zhang, Yingyu Zhang

Electronic Mouse (Cat Toy)

Featured Project

# Electronic Mouse (Cat Toy)

# Team Members:

- Yingyu Zhang (yzhan290)

- Chuangy Zhang (czhan30)

- Jack (John) Casey (jpcasey2)

# Problem Components:

Keeping up with the high energy drive of some cats can often be overwhelming for owners who often choose these pets because of their low maintenance compared to other animals. There is an increasing number of cats being used for service and emotional support animals, and with this, there is a need for an interactive cat toy with greater accessibility.

1. Get cats the enrichment they need

1. Get cats to chase the “mouse” around

1. Get cats fascinated by the “mouse”

1. Keep cats busy

1. Fulfill the need for cats’ hunting behaviors

1. Interactive fun between the cat and cat owner

1. Solve the shortcomings of electronic-remote-control-mouses that are out in the market

## Comparison with existing products

- Hexbug Mouse Robotic Cat Toy: Battery endurance is very low; For hard floors only

- GiGwi Interactive Cat Toy Mouse: Does not work on the carpet; Not sensitive to cat touch; Battery endurance is very low; Can't control remotely

# Solution

A remote-controlled cat toy is a solution that allows more cat owners to get interactive playtime with their pets. With our design, there will be no need to get low to the ground to adjust it often as it will go over most floor surfaces and in any direction with help from a strong motor and servos that won’t break from wall or cat impact. To prevent damage to household objects it will have IR sensors and accelerometers for use in self-driving modes. The toy will be run and powered by a Bluetooth microcontroller and a strong rechargeable battery to ensure playtime for hours.

## Subsystem 1 - Infrared(IR) Sensors & Accelerometer sensor

- IR sensors work with radar technology and they both emit and receive Infrared radiation. This kind of sensor has been used widely to detect nearby objects. We will use the IR sensors to detect if the mouse is surrounded by any obstacles.

- An accelerometer sensor measures the acceleration of any object in its rest frame. This kind of sensor has been used widely to capture the intensity of physical activities. We will use this sensor to detect if cats are playing with the mouse.

## Subsystem 2 - Microcontroller(ESP32)

- ESP32 is a dual-core microcontroller with integrated Wi-Fi and Bluetooth. This MCU has 520 KB of SRAM, 34 programmable GPIOs, 802.11 Wi-Fi, Bluetooth v4.2, and much more. This powerful microcontroller enables us to develop more powerful software and hardware and provides a lot of flexibility compared to ATMegaxxx.

Components(TBD):

- Product: [https://www.digikey.com/en/products/detail/espressif-systems/ESP32-WROOM-32/8544298](url)

- Datasheet: [http://esp32.net](url)

## Subsystem 3 - App

- We will develop an App that can remotely control the mouse.

1. Control the mouse to either move forward, backward, left, or right.

1. Turn on / off / flashing the LED eyes of the mouse

1. keep the cat owner informed about the battery level of the mouse

1. Change “modes”: (a). keep running randomly without stopping; (b). the cat activates the mouse; (c). runs in cycles(runs, stops, runs, stops…) intermittently (mouse hesitates to get cat’s curiosity up); (d). Turn OFF (completely)

## Subsystem 4 - Motors and Servo

- To enable maneuverability in all directions, we are planning to use 1 servo and 2 motors to drive the robotic mouse. The servo is used to control the direction of the mouse. Wheels will be directly mounted onto motors via hubs.

Components(TBD):

- Metal Gear Motors: [https://www.adafruit.com/product/3802](url)

- L9110H H-Bridge Motor Driver: [https://www.adafruit.com/product/4489](url)

## Subsystem 5 - Power Management

- We are planning to use a high capacity (5 Ah - 10 Ah), 3.7 volts lithium polymer battery to enable the long-last usage of the robotic mouse. Also, we are using the USB lithium polymer ion charging circuit to charge the battery.

Components(TBD):

- Lithium Polymer Ion Battery: [https://www.adafruit.com/product/5035](url)

- USB Lithium Polymer Ion Charger: [https://www.adafruit.com/product/259](url)

# Criterion for Success

1. Can go on tile, wood, AND carpet and alternate

1. Has a charge that lasts more than 10 min

1. Is maneuverable in all directions(not just forward and backward)

1. Can be controlled via remote (App)

1. Has a “cat-attractor”(feathers, string, ribbon, inner catnip, etc.) either attached to it or drags it behind (attractive appearance for cats)

1. Retains signal for at least 15 ft away

1. Eyes flash

1. Goes dormant when caught/touched by the cats (or when it bumps into something), reactivates (and changes direction) after a certain amount of time

1. all the “modes” worked as intended

Project Videos