Project

# Title Team Members TA Documents Sponsor
19 Cycloidal Hub motor with FOC driver
Michael Talapin
Nithin Durgam
Eric Tang design_document1.pdf
proposal1.pdf
# Title
Cycloidal Hub Motor With custom FOC Drivers

Team Members:
- Michael Talapin (talapin2)
- Nithin Durgam (ndurgam2)

# Problem

Many modern physical systems need motors that require high torque in a compact size with precise motion capable of heavier payloads.

# Solution

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

The motor we are building out is an internal cycloidal hub motor with custom windings and a custom-milled frame along with a field-oriented control (FOC) custom motor driver. The internal cycloidal gear box solves the earlier stated problem due to two key components.One is the low backlash property, which allows for high precision motion. The second property is the ability to utilize the cycloidal gearbox to get higher gear ratios with smaller geometry, which gives the motor an ability to have high torque and in turn handle heavier payloads. A FOC driver comes into play for allowing direct torque control, speed control and position control (given an encoder/resolver) all while reducing resonances that come from the mechanical system.


# Solution Components

This problem is broken down into two major components, the custom motor aspect as well as the custom FOC Driver aspect. These components also break down into further respective subcomponents.

Explain what the subsystem does. Explicitly list what sensors/components you will use in this subsystem. Include part numbers.






## Subsystem 1 : Electromagnetic motor core

### Function
To generate torque efficiently while thinking about packaging constraints. The winding and laminations help set our motors kT/kV as well as torque ripple behavior. An additional useful feature here is to track the temperature of our stator to ensure thermal limitations.

### Key Components
**Stator Laminations + Slots :** Forms the magnetic circuit so the motor produces torque efficiently with no loss.
**Custom Windings** The insulated copper that carries current directly and defines what our torque constant,losses and thermal capability are.
**Rotor**: Provide the fixed magnetic field the stator pushes against to generate the torque.
**Insulation Systems:** Locks windings in place while improving reliability under vibration and thermal cycling.

### Sensors
**Stator Temperature Sensor : ** (Murata NCP18XH103F03RB NTC) Helps limit torque when the motor is heating up so the windings don't get damaged.


## Subsystem 2 : Cycloidal Reduction Gearbox

### Function
To multiply torque in the wheel while maintaining, compact volume, a low backlash and good shock tolerance. The gearbox here turns high motor speed into a low speed wheel torque. By utilizing the cycloidal geometry the motor can have a high reduction with size constraints while maintaining a low backlash plus high shock-load capability.

### Key Components
**Eccentric Input Shaft / Cam:** Creates eccentric motion that drives the cycloidal disk
**Cycloidal Discs :** The reducing element that converts eccentric motion into a slower high-torque output
**Ring Pins :** These pins provide the rolling contact interface that shares load and supports high torque with low backlash.
**Output Pins :** Collects the disc motion and outputs the reduced speed and amplified torque rotation to the hub.
**Bearings :** Carry the loads while keeping alignment stable so the gearbox does not bind or wear easily (part to be decided)
**Lubrication :** Reduces wear and heat to increase efficiency and lifetime.


## Subsystem 3: Hub Structure and Custom Milled Frame

### Function
In harsh environments we must integrate the wheel bearing and structure but ensure we keep the alignment stable, carry wheel loads, protect internals and provide a heat path.

### Key Components
**Custom-milled housing**
**Wheel mounting interface**
**Bearing seats**
**Seals**
**Fasteners and Dowel Pins**


## Subsystem 4: Bearings and sealing subsystem

### Function

This subsystem should ensure the motor supports radial,axial, and moment loads while maintaining alignment and preventing contamination.

### Key Components
**Main wheel bearing arrangement**
**Gearbox support Bearings**
**Seals:** O-rings, radial shaft seals, gaskets




## Subsystem 5: Motor Position Sensing

### Function
Since FOC requires rotor position, this subsystem is meant to provide rotor electrical angle.

### Sensors
**Absolute Encoder :** AS6057P, The purpose of this sensor is to get the absolute position of the rotor.













## Subsystem 6: DC Input and Power Conditioning

### Function
Since the motor driver will be a voltage source inverted that gets fed by a DC link, the goal here is to accept supplied power safely, reduce the EMI and stabilize the DC link that will feed the inverter.

### Key Components
**Input Connector and Relay:** SLPRB50CPSO, This should be a high-current connector to allow us to connect the battery without overheating and loosening in the field.
**Precharge Circuit:** Implemented with a resistor and a small relay, this is built to avoid a huge rush of current instantly slamming into the DC-link capacitors when we first are connected to power.
**EMI Filter:** Reduce the conducted noise so the drive does not interfere with the sensors, comms and other electronic components.
**DC Link Capacitors:** To stabilize the DC bus and supply the ripple current ripple current that the inverter creates.
**Dump Resistors:** These prevent the DC bus overvoltage during aggressive regen when the battery is not absorbing power fast enough.
### Sensors
**DC bus voltage sensor:** Use a resistor divider onto a MCU ADC. Lets our microcontroller detect undervoltage/overvoltage and scale our control commands.
**DC bus current sensor:** Use TI INA240A2. Helps measure input power and detect abnormal conditions.

















## Subsystem 7: 3-phase Converter

### Function
Since FOC measures phase currents and DC bus voltage with ADC sampling, we need to convert the DC bus into controlled 3-phase voltages/currents.

### Key Components
**6-switch bridge:** The main power switch that creates the 3-phase drive waveforms for the motor
**Current shunts:** Use WSL3637R0005FEA. These produce a tiny measurable voltage proportional to phase current to allow FOC to control torque precisely.
**Current sense amplifiers:** Amplifies the shunt signals and rejects PWM noise allowing our current control loop to stay stable.
**Thermal Path:** Removes heat from the power devices so that torque is sustainable with high power.
### Sensors
**Power device temperature sensor:** Use the NCP18XH103F03RB NTC.Derate before MOSFETs or PCBs get damaged.
**Phase current measurement:** Use shunts + INA240. provides the core feedback signal for our FOC loop.










## Subsystem 8: Gate Driver

### Function

To drive the high/low side switches correctly to survive different faults. The goal here is to handle undervoltage lockout, protect from short-circuit, and include active miller clamps.

### Key Components
**Gate driver IC:** Use TI DRV8353R. This will properly drive the high-side or low-side MOSFET gates with proper handling and built in fault handling.
**Gate resistors + Miller clamps:** Help tune switching speed to balance efficiency EMI and ringing.


## Subsystem 9: Sensing Front End

### Function
Provide Clean and accurate signals for the control loop, protection and derating.

### Key Signals
**Phase Currents**
**Bus Voltage**
**Rotor Position**
**Temperatures:** Stator,inverter, rotor and PCB ambient temperature
**Phase Voltages**


## Subsystem 10: Control Compute

### Function
The compute necessary for running the real time control loops and fault handling

### Key Components:
**Micro Controller:** STM32H755ZI this has enough compute to run the algorithms necessary for a high end motor
**Encoder/Hall Interfaces:**
**Communication Peripherals:** How others interface with our motor, in this case the motor will utilize CAN-FD due to low vulnerability to EMI and ability to handle longer runs
**Watchdog:**






## Subsystem 11: Firmware & Control Stack

### Function
Deliver stable torque,speed, position control, telemetry logs and debug abilities.

### Key Components:
**Sampling & Transforms:** Read the current and put through Clarke/Park transforms.
**Current control:** Regulate the Id,Iq.
**Modulation:** SVPWM.
**Estimator/ Position:** Use motors encoder for position.
**Control Loops:** PID Loop for Iq command and PID loop for position,speed and torque.
**Derating Logic:** Limit the Iq based on the temperature or bus voltage.
**Telemetry Interface:** - Way to keep track of temps,currents,bus voltages, faults and estimated torque/speed/position.

## Subsystem 12: Protection and Functional Safety Layer

### Function
Ensure the proper functions are in place for motor protection and safety during operation

### Key Components:
**Protect from fast overcurrent**
**Gate Driver UVLO**
**Over/undervoltage handling**
**Current/torque limiting**
**Thermal limiting**
**Fault state machine and latching behavior**
**Sensor Faults**



# 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.

** Continuous Torque: ** T_nm >= 4 Nm

** Peak Torque: ** T_nm >= 18 Nm

** Max Speed: ** rpm_max >= 120 rpm

** Backlash: ** our backlash <= 1 degree

STRE&M: Automated Urinalysis (Pitched Project)

Gage Gulley, Adrian Jimenez, Yichi Zhang

STRE&M: Automated Urinalysis (Pitched Project)

Featured Project

Team Members:

- Gage Gulley (ggulley2)

- Adrian Jimenez (adrianj2)

- Yichi Zhang (yichi7)

The STRE&M: Automated Urinalysis project was pitched by Mukul Govande and Ryan Monjazeb in conjunction with the Carle Illinois College of Medicine.

#Problem:

Urine tests are critical tools used in medicine to detect and manage chronic diseases. These tests are often over the span of 24 hours and require a patient to collect their own sample and return it to a lab. With this inconvenience in current procedures, many patients do not get tested often, which makes it difficult for care providers to catch illnesses quickly.

The tedious process of going to a lab for urinalysis creates a demand for an “all-in-one” automated system capable of performing this urinalysis, and this is where the STRE&M device comes in. The current prototype is capable of collecting a sample and pushing it to a viewing window. However, once it gets to the viewing window there is currently not an automated way to analyze the sample without manually looking through a microscope, which greatly reduces throughput. Our challenge is to find a way to automate the data collection from a sample and provide an interface for a medical professional to view the results.

# Solution

Our solution is to build an imaging system with integrated microscopy and absorption spectroscopy that is capable of transferring the captured images to a server. When the sample is collected through the initial prototype our device will magnify and capture the sample as well as utilize an absorbance sensor to identify and quantify the casts, bacteria, and cells that are in the sample. These images will then be transferred and uploaded to a server for analysis. We will then integrate our device into the existing prototype.

# Solution Components

## Subsystem1 (Light Source)

We will use a light source that can vary its wavelengths from 190-400 nm with a sampling interval of 5 nm to allow for spectroscopy analysis of the urine sample.

## Subsystem2 (Digital Microscope)

This subsystem will consist of a compact microscope with auto-focus, at least 100x magnification, and have a digital shutter trigger.

## Subsystem3 (Absorbance Sensor)

To get the spectroscopy analysis, we also need to have an absorbance sensor to collect the light that passes through the urine sample. Therefore, an absorbance sensor is installed right behind the light source to get the spectrum of the urine sample.

## Subsystem4 (Control Unit)

The control system will consist of a microcontroller. The microcontroller will be able to get data from the microscope and the absorbance sensor and send data to the server. We will also write code for the microcontroller to control the light source. ESP32-S3-WROOM-1 will be used as our microcontroller since it has a built-in WIFI module.

## Subsystem5 (Power system)

The power system is mainly used to power the microcontroller. A 9-V battery will be used to power the microcontroller.

# Criterion For Success

- The overall project can be integrated into the existing STRE&M prototype.

- There should be wireless transfer of images and data to a user-interface (either phone or computer) for interpretation

- The system should be housed in a water-resistant covering with dimensions less than 6 x 4 x 4 inches

Project Videos