Project

# Title Team Members TA Documents Sponsor
19 Cycloidal Hub motor with FOC driver
Michael Talapin
Nithin Durgam
# 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

Recovery-Monitoring Knee Brace

Dong Hyun Lee, Jong Yoon Lee, Dennis Ryu

Featured Project

Problem:

Thanks to modern technology, it is easy to encounter a wide variety of wearable fitness devices such as Fitbit and Apple Watch in the market. Such devices are designed for average consumers who wish to track their lifestyle by counting steps or measuring heartbeats. However, it is rare to find a product for the actual patients who require both the real-time monitoring of a wearable device and the hard protection of a brace.

Personally, one of our teammates ruptured his front knee ACL and received reconstruction surgery a few years ago. After ACL surgery, it is common to wear a knee brace for about two to three months for protection from outside impacts, fast recovery, and restriction of movement. For a patient who is situated in rehabilitation after surgery, knee protection is an imperative recovery stage, but is often overlooked. One cannot deny that such a brace is also cumbersome to put on in the first place.

--------

Solution:

Our group aims to make a wearable device for people who require a knee brace by adding a health monitoring system onto an existing knee brace. The fundamental purpose is to protect the knee, but by adding a monitoring system we want to provide data and a platform for both doctor and patients so they can easily check the current status/progress of the injury.

---------

Audience:

1) Average person with leg problems

2) Athletes with leg injuries

3) Elderly people with discomforts

-----------

Equipment:

Temperature sensors : perhaps in the form of electrodes, they will be used to measure the temperature of the swelling of the knee, which will indicate if recovery is going smoothly.

Pressure sensors : they will be calibrated such that a certain threshold of force must be applied by the brace to the leg. A snug fit is required for the brace to fulfill its job.

EMG circuit : we plan on constructing an EMG circuit based on op-amps, resistors, and capacitors. This will be the circuit that is intended for doctors, as it will detect muscle movement.

Development board: our main board will transmit the data from each of the sensors to a mobile interface via. Bluetooth. The user will be notified when the pressure sensors are not tight enough. For our purposes, the battery on the development will suffice, and we will not need additional dry cells.

The data will be transmitted to a mobile system, where it would also remind the user to wear the brace if taken off. To make sure the brace has a secure enough fit, pressure sensors will be calibrated to determine accordingly. We want to emphasize the hardware circuits that will be supplemented onto the leg brace.

We want to emphasize on the hardware circuit portion this brace contains. We have tested the temperature and pressure resistors on a breadboard by soldering them to resistors, and confirmed they work as intended by checking with a multimeter.

Project Videos