Project

# Title Team Members TA Documents Sponsor
81 Controllable, User-Friendly 3-Phase Inverter
Alex Chirita
Johnathan Vogt
Shyam Peden
Frey Zhao appendix1.png
appendix2.png
appendix3.png
design_document1.pdf
proposal1.pdf
proposal2.pdf
# Controllable, User-Friendly 3-Phase Inverter

Team Members:
- Johnathan Vogt (jsvogt2)
- Shyam Peden (speden2)
- Alex Chirita (chirita2)

# Problem

While normal 3-phase AC power systems operate with consistent phase differences of 120 degrees, these systems are not always perfect. There may be occasions (fault conditions) where the power system becomes unbalanced. In order to test small machines under these conditions, one might want to create controllable AC waveforms with adjustable phase angles.

# Solution

We will create an inverter system that is capable of creating three AC waveforms with controllable phase angles. Phase A will serve as the reference 0 degree phase, while the B and C phases will be controllable with respect to this reference phase. This will be achieved using analog control, likely via potentiometers. The PCB will function as a normal 3-phase switching inverter, with switching control handled by the microcontroller, which takes input from analog signals to control the output AC waveforms.

There will be 5 main subsystems : input stage with a boost topology, 3 MOSFET H-bridges, Encoder, CONFIRM button and small OLED Display as the user interface, and a TI-C2000 microcontroller as it has enough PWM channels and high resolution timers, whose firmware will include the user input control, and the power control for the bridge

# Solution Components

- Microcontroller TI-C2000 F2800157SPN
- Rotary encoder PEC11R-4215F-S0024
- Button 320E11BLK
- Display NHD-0420CW-AB3
- Power FETS G18N20T
- Low side FET Drivers DGD0211CWT-7
- High side FET Drivers 1EDN7550BXTSA1
- Power capacitors (for bridges)
- Low resistance resistors for shunts (Voltage, current sensing)
- Connectors
- Potentiometers for precision voltage division
- Inductor cores
- Copper wire
- Linear voltage regulators for low-power IC’s (78xx Series)

## Subsystem 1: Boost Stage

The main purpose of this project is the inverter stage, while the input is some sort of DC that mimics a solar panel. We will not focus on it being powered from a solar panel during the semester and leave it as a modification/addition to the inverter part for further development. The input voltage needs to be converted to a setpoint and fed into a common DC bus. This will be done with a half bridge boost converter. A good quality of this system is the freedom to choose which variables to control. The circuit will be able to respond to quick changes in input voltage, but this semester we will be using a constant DC power supply instead of a solar panel to reduce cost and complexity. Therefore the boost converter will be run by a switching algorithm with a fixed input voltage. Later the algorithm could be changed to an MPPT conversion if needed.

## Subsystem 2: H-bridges

The bridge subsystem will contain three MOSFET H-bridges, each corresponding to one of the phases. Each of the phases will have a similar layout since the control is only achieved by the gate signal which is fully generated by the microcontroller. We decided to go with an H-bridge because it’s a good middle ground between multi-level bridges and a half-bridge. The H-bridge will allow us to generate a good quality sine wave when averaged out and filtered.The sine wave will be generated from -Vmax to +Vmax, and the sign will be decided by using a proper pair of MOSFETS from the 4 available. Each mosfet will have a corresponding low side or high side gate driver, which will receive their PWM control signals from the microcontroller. Each phase will have an LC low-pass filter at the end to reduce switching harmonics.

## Subsystem 3: User interface

The user interface will consist of a display, encoder, and a confirm button. The user will use the encoder and confirm button to navigate the user interface where the phase angle will be set for phase B and C in relation to phase A, which is static. Users can also choose to use an autoset where the microcontroller will default to 120 degrees between each of the phases.

## Subsystem 4: Input control

The microcontroller will run polling input from the button and encoders, run a loop which checks whether the phase is within bounds (-180 to +180 degrees with respect to phase A) and override the proper variables variables, which will be used by the switching subsystem as target phase angle.

## Subsystem 5: Switching control

The constant loop will check the phase angle variables and calculate the expected voltage for each phase. It will then generate the PWM for each phase that matches the needed Vrms. The output voltage which first went into the resistor divider to fit within maximum operating voltage of the microcontroller will be collected as samples over the wave period, Vrms calculated and compared to the set Vrms after which the switching signals for each phase will be adjusted.

# Criterion for success

Our device will be considered successful if we can accurately display a 3-phase network on the oscilloscope. Each phase has to have the same amplitude and frequency as well as have the same phase angle between each phase as set by the user. Across all 3 phases the inverter should be able to output 0.83A of current (~100W) and each phase should be able to handle 0.33A (~40W). The output RMS voltage is 120V.

Monitor for Dough and Sourdough Starter

Jake Hayes, Abhitya Krishnaraj, Alec Thompson

Monitor for Dough and Sourdough Starter

Featured Project

Team Members:

- Jake Hayes (jhayes)

- Abhitya Krishnaraj (abhitya2)

- Alec Thompson (alect3)

# Problem

Making bread at home, especially sourdough, has become very popular because it is an affordable way to get fresh-baked bread that's free of preservatives and other ingredients that many people are not comfortable with. Sourdough also has other health benefits such as a lower glycemic index and greater bioavailability of nutrients.

However, the bulk fermentation process (letting the dough rise) can be tricky and requires a lot of attention, which leads to many people giving up on making sourdough. Ideally, the dough should be kept at around 80 degrees F, which is warmer than most people keep their homes, so many people try to find a warm place in their home such as in an oven with a light on; but it's hard to know if the dough is kept at a good temperature. Other steps need to be taken when the dough has risen enough, but rise time varies greatly, so you can't just set a timer; and if you wait too long the dough can start to shrink again. In the case of activating dehydrated sourdough starter, this rise and fall is normal and must happen several times; and its peak volume is what tells you when it's ready to use.

# Solution

Our solution is to design a device with a distance sensor (probably ultrasonic) and a temperature sensor that can be attached to the underside of most types of lids, probably with magnets. The sensors would be controlled with a microcontroller; and a display (probably LCD) would show the minimum, current, and maximum heights of the dough along with the temperature. This way the user can see at a glance how much the dough has risen, whether it has already peaked and started to shrink, and whether the temperature is acceptable or not. There is no need to remove it from its warm place and uncover it, introducing cold air; and there is no need to puncture it to measure its height or use some other awkward method.

The device would require a PCB, microcontroller, sensors, display, and maybe some type of wireless communication. Other features could be added, such as an audible alarm or a graph of dough height and/or temperature over time.

# Solution Components

## Height and Temperature Sensors

Sensors would be placed on the part of the device that attaches to the underside of a lid. A temperature sensor would measure the ambient temperature near the dough to ensure the dough is kept at an acceptable temperature. A proximity sensor or sensors would first measure the height of the container, then begin measuring the height of the dough periodically. If we can achieve acceptable accuracy with one distance sensor, that would be ideal; otherwise we could use 2-4 sensors.

Possible temperature sensor: [Texas Instruments LM61BIZ/LFT3](https://www.digikey.com/en/products/detail/texas-instruments/LM61BIZ%252FLFT3/12324753)

Proximity sensors could be ultrasonic, infrared LED, or VCSEL.\

Ultrasonic: [Adafruit ULTRASONIC SENSOR SONAR DISTANCE 3942](https://www.digikey.com/en/products/detail/adafruit-industries-llc/3942/9658069)\

IR LED: [Vishay VCNL3020-GS18](https://www.mouser.com/ProductDetail/Vishay-Semiconductors/VCNL3020-GS18?qs=5csRq1wdUj612SFHAvx1XQ%3D%3D)\

VCSEL: [Vishay VCNL36826S](https://www.mouser.com/ProductDetail/Vishay-Semiconductors/VCNL36826S?qs=d0WKAl%252BL4KbhexPI0ncp8A%3D%3D)

## MCU

An MCU reads data from the sensors and displays it in an easily understandable format on the LCD display. It also reads input from the user interface and adjusts the operation and/or output accordingly. For example, when the user presses the button to reset the minimum dough height, the MCU sends a signal to the proximity sensor to measure the distance, then the MCU reads the data, calculates the height, and makes the display show it as the minimum height.

Possible MCU: [STM32F303K8T6TR](https://www.mouser.com/ProductDetail/STMicroelectronics/STM32F303K8T6TR?qs=sPbYRqrBIVk%252Bs3Q4t9a02w%3D%3D)

## Digital Display

- A [4x16 Character LCD](https://newhavendisplay.com/4x16-character-lcd-stn-blue-display-with-white-side-backlight/) would attach to the top of the lid and display the lowest height, current height, maximum height, and temperature.

## User Interface

The UI would attach to the top of the lid and consist of a number of simple switches and push buttons to control the device. For example, a switch to turn the device on and off, a button to measure the height of the container, a button to reset the minimum dough height, etc.

Possible switch: [E-Switch RA1113112R](https://www.digikey.com/en/products/detail/e-switch/RA1113112R/3778055)\

Possible button: [CUI Devices TS02-66-50-BK-160-LCR-D](https://www.digikey.com/en/products/detail/cui-devices/TS02-66-50-BK-160-LCR-D/15634352)

## Power

- Rechargeable Lithium Ion battery capable of staying on for a few rounds of dough ([2000 mAh](https://www.microcenter.com/product/503621/Lithium_Ion_Battery_-_37v_2000mAh) or more) along with a USB charging port and the necessary circuitry to charge the battery. The two halves of the device (top and underside of lid) would probably be wired together to share power and send and receive data.

## (stretch goal) Wireless Notification System

- Push notifications to a user’s phone whenever the dough has peaked. This would likely be an add-on achieved with a Raspberry Pi Zero, Gotify, and Tailscale.

# Criterion For Success

- Charge the battery and operate on battery power for at least 10 hours, but ideally a few days for wider use cases and convenience.

- Accurately read (within a centimeter) and store distance values, convert distance to dough height, and display the minimum, maximum, and current height values on a display.

- Accurately read and report the temperature to the display.

- (stretch goal) Inform the user when the dough has peaked (visual, audio, or app based).

Project Videos