Executive Summary
The bioreactor culture chamber constructed throughout the course of this project has demonstrated the successful ability to stimulate a target magnetic field and electrical field based on the sponsor's initial requirements. In terms of magnetic field generation, we were able to demonstrate the generation of a 15 Gauss magnetic field with strong correlation between theoretical predictions and experimental measurements as demonstrated by Figure 4 and Figure 5. The final design also included the ability to establish a static pressure within the chamber and to induce wall shear stress through a laminar parallel plate model. An integrated control center and a Graphical User Interface (GUI) was designed to control the various subsystems. In terms of safety considerations, an Emergency Shut-Off Button and a thermocouple that will shut down the magnetic field generation if the coil exceeds a temperature of 50C. Thermal modeling of our coil with integrated heat sink and convective cooling demonstrates that the system reaches a 39C steady state temperature while generating a 15 Gauss field after approximately 16 minutes, as seen in Figure 1. These safety considerations make it feasible for researchers to conduct optimization experiments using this platform with minimal risk. The target parameters that were initially defined for this project are as follows: 15 Gauss magnetic field strength, 2 V/cm electric field strength, and a 14 kPa maximum static operating pressure. The project has met all design requirements.
Figure 1: Temperature Testing, Coil without Heat Sinks
Figure 2: Temperature Testing, Coil without Heat Sinks and with Forced Convection
Figure 3: Temperature Testing, Coil with Heat Sinks and Forced Convection
Figure 4: Cell Viewing Plane Magnetic Field Theoretical Calculation, Final Coil Design
Figure 5: Cell Viewing Plane Magnetic Field Measurement, Final Coil Design
GitLab Repository for Bioreactor Control System
Hardware Requirements
Single Board Computer
Power Supplies
Display
Motor Shield
Air Compressor
Water Pump
Relay Module
Sensors
Bioreactor Control System Program Library
All Systems Ready
bioreactor_control_system
Subsystems Testing
Motor Shield And Pumps
adafruit_motor_shield
chamber_pressure_control
chamber_flow_control
Sensor Readings
data_logger
pressure_sensor_reading
temperature_sensor_reading
magnetic_field_sensor_reading
Relay Control
relay_control
GUI
Home
Health
Settings
Chamber Pressure Settings
Flow Rate Settings
Magnetic Field Settings
Data Logging
The Following list of libraries are essential to be used in bioreactor_control_system as well their respective Subsystems Testing programs.
OneWire
DallasTemperature
Adafruit_MLX90393
Wire
Adafruit_MotorShield
utility/Adafruit_MS_PWMServoDriver
Nextion
Single Board Computer
Arduino Mega 2560
Power Supplies
12V 5A DC source
12V 5A DC source
Display
Nextion 5in resistive touch display found here
Air Compressor
12V Brushed DC motor pump found here
Water Pump
12V Brushed DC motor peristaltic pump found here
Motor Shield
Adafruit motorshield V2 found here
Relay Module
5V 8 relay module found here
Sensors
5V pressure transducer found here
5V digital temperature sensor found here
5V Adafruit magnetometer found here
bio_reactor_control_system
This program encapsulates all the individual programs listed below to control the bioreactor.
adafruit_motor_shield
This program uses the adafruit motor shield library to send PWM signals to a DC motor (up to 4) and is the main source code this is used in both chamber_pressure_control and chamber_flow_control which both use 12V brushed DC motors for the air compressor and peristaltic pump respectively.
chamber_pressure_control
This program uses PID control to pressurize the bioreactor to a specified target pressure. PID is implemented by acquiring the chamber pressure reading as described in pressure_sensor_reading. Once the target pressure is met the air compressor will shut off, then the solenoid valve that is inline with the air compressor will go from open to closed which will seal the bioreactor at the target pressure.
chamber_flow_control
This program inflicts a shear stress on the stem cells in the bioreactor by pumping an aqueous solution through the chamber with the peristaltic pump. The peristaltic pump was calibrated by measuring various PWM values and their corresponding flow rates. The user has the ability to vary the PWM signal from 0-255 which will correspond to a flow rate between 0-0.1L/min respectively.
All sensors including the touch screen dispay and SD data logger operate at a baud rate of 9600.
data_logger
This program writes all the sensor readings; described below, to an SD card in .txt format with the SD data logger module. As long as the bioreactor is active, the module will record all sensor readings and once it becomes deactivated, the module will stop the recording process.
pressure_sensor_reading
This program gets the reading from the pressure transducer. The sensor is analog and has a linear relationship between voltage and pressure which is described as follows:
sensor_psi_value = ((sensor_analog_value - pressureMin) * pressuretransducermaxPSI) / (pressureRange)
where:
sensor_analog_value: raw sensor reading
pressureMin : analog reading of pressure transducer at 0psi
pressureMax : analog reading of pressure transducer at 10psi
pressureRange : pressureMax - pressureMin
pressuretransducermaxPSI : psi value of transducer being used
temperature_sensor_reading
This program gets the reading from the temperature sensor. A maximum temperature of 50 degrees celcius is set as the cutoff temperature produced by the heating of the magnetic field generation system. If the temperature breaches the maximum temperature, the magnetic field system will automatically shut off by disconnecting its power source through relay_control. The sensor is digital and had a signal conditioning board that converted the digital reading to a reading in celcius.
magnetic_field_sensor_reading
This program gets the reading from the magnetometer sensor. The sensor is located on the top face of the bioreactor and measures the penetrating magentic field on the stem cells. This will provide real time information which will allow the user to make adjustments as needed to stimulate the stem cells under various loading conditions.
relay_control
This program activates or deactivates any of the 8 relays in the bioreactor control center. The 5V relay board is powered independently of the SBC which is ideal so that it is not possible to damage the SBC. The user has the ability to turn on/off any system at any time for convience or experimental reasons but is recommended to use the emergency off switch located on top of the control center to quickly disable the entire relay module which will disconnet power to air compressor, peristaltic pump, solenoid valve, magnetic field system, electric field system and the cooling fan.