Keywords

1 Introduction

Nanosized fibers have been playing a vital role in manufacturing practical applications related to both microfiber and nanofiber, including protective clothing, pharmaceutical products, tissue engineering, and regenerative medicine, and have granted great interest from scientists, researchers, and nanotechnologists [1]. Electrospinning is an advanced and special nanotechnology, which produces different polymer material, including natural and synthetic polymer. This technology bases on a high-voltage environment to produce nanofibers, and these super smooth fibers are crucial due to their resemblance to the extracellular matrix in human tissue. Apart from the high-voltage part, the electrospinning machine required a controller for factors that affected the generated fibers such as the pumping speed of electrical syringe pump, the position between the pump (positive electrode of the high-voltage source) and the receiver (negative electrode of the high-voltage source), the air exchange to vacuum the poisonous solvent, spinning speed of the Drum Collector receiver (−), the internal light of the fume hood, and the measurement of environmental parameters, including internal temperature and humidity.

1.1 Some Methods to Treat Wound Healing

Wound healing has become much more effective for skin reproduction thanks to the advancement in tissue technology and the production and research of saving cells by biological scaffold, which is created by biologically compatible material [2]. The biological scaffold is actually a support for the formation of tissues and usually implanted with high growth factors. The newly produced tissues of the scaffold are rapidly replaced by a great number of new tissues. Therefore, the scaffold of the implanted tissues has the ability to be taken advantage of for synthesizing tissues; then, it will be injected into a test-tube to eliminate the lost tissues in particular. The meaning of this direct implant into the wound using the patient’s own tissues is to reproduce the lost tissues. The process is illustrated in Fig. 1. Furthermore, antibacterial substances can be included on the surface of the biological scaffold in order to prevent bacteria from penetrating into the wound surface.

Fig. 1
figure 1

This image illustrates the usage of the bandage applied electrospinning technology in treating open wound [3]

1.2 Basic Component of Electrospinning Machines

Traditional electrospinning and its modifications have received massive interest from the science community, especially in the biomedical field [4]. Methods such as multijet electrospinning, needleless electrospinning, electro-blowing, coaxial electrospinning, force spinning, etc. award researchers with a low-cost, flexible, and convenient set-up. A fundamental electrospinning system consists of three main parts: an emitter, a collector, and a solution controlling pumping system [5]. This system has yielded a simple and economical assay to do electrospinning with various and composite materials, bringing enormous potential to the tissue engineering field in Vietnam (Fig. 2).

Fig. 2
figure 2

Electrospinning system for nanofiber production [6, 7]

2 Design an Electrospinning System Consists of a Fume Hood Controller

2.1 Mechanical Design

The mechanical design includes a drum collector, ground facility, and electrical control panel box. Considering the rotating drum collector, the external and internal diameter is 100 mm and 15 mm, respectively. The length of the drum is at 200 mm while that one of the shafts is 45 mm. Additionally, the electrical syringe pump owns 3 pinheads which are composed of a 1.8-degree step motor with decelerating gearbox at the rate of 1:3.71, a lead-screw bar with equal 1-cm distance among the teeth, and bearings and sliders (Figs. 3 and 4).

Fig. 3
figure 3

Drum collector design

Fig. 4
figure 4

Syringe pump design

2.2 Hardware Development

Control Panel Board

The control panel board consisted of a 3 × 4 button matrix and a Rotate Encoder rotating button, which were used to input values such as pumping speed of the electrical syringe pump, driving speed of the slider to maneuver the relative position between the pinhead and the drum collector, and manage the rotating speed of the drum collector, the lamp, and vacuum fan. An MCU controller collected the input values from users and displayed them on Text LCD 20 × 4, and simultaneously, sent orders to command the MCU. A display screen also took charge in keeping track of the temperature, humidity, practical speed of Drum Collector, and remaining solution releasing time of the electrical syringe bump (Figs. 5 and 6).

Fig. 5
figure 5

Control panel board and block diagram

Fig. 6
figure 6

The result product of the control panel board

Main Board Control

Central controlling board was in charge of regulating the speed of the Drum Collector from 10 to 2000 rounds/min based on Control Feedback (PID) algorithm. To control the temperature inside the chamber, and fan speed to vacuum the internal air out to external environment, we adjusted voltage AC220V by applying Zero-crossing method with the help of Dimer and One Pulse Mode function of ARM Cortex M4. Default setup and users’ setup values were stored on an EEPROM for the purpose of further usage. There was also an additional function inside the central controlling board to monitor on-screen time of users and exhibited the time in real life through the RTC system inside the ARM STM32F407VET6.

Another function of the central controller was to measure the temperature and humidity inside the chamber using SHT30 sensor, and actual speed of the drum collector by encoder, which was for users to follow aspects that may influence the quality of electrospinning fibers.

The Main Control Unit supported users to communicate with the computer in order to trace the calibrated parameters by the device. Furthermore, the improvement of the central controller is on the way for the purpose of remote electrospinning production in the future.

Microcontroller STM32F407VET6 also interacted with a Slaver MCU through serial to conduct the electrical syringe pump and the slider (Fig. 7).

Fig. 7
figure 7

Main board control block diagram

Control Syringe Pump and Slider

The electrical syringe pump and slider controller exploited the Slaver MCU (STM32F030F4P6–ARM Cortex M0) to regulate pumping speed of the electrical syringe pump from 0.1 to 20 ml/h with all the available sizes on the market in Vietnam. Meanwhile, the slider lead-screw transmission system played as a manipulator to adjust the relative distance between electrical syringe pump and Drum Collector (Figs. 8 and 9).

Fig. 8
figure 8

Slaver control block diagram and main board

Fig. 9
figure 9

The complete slaver control main board

3 Firmware Development

3.1 The Operation of the Control Panel Board

Once begun, the program started building peripheries such as GPIO, UART, KeyPad and LCD20×4. The loop program analyzed whether the flags of Update Display LCD blocks were set; if they were, the program began processing them and updated new values on the LCD.

Knob Rotate Encoder was in charge of confirming if users had input the values into the buttons or not; if they did, the buttons would execute corresponding orders. Vice versa, the buttons would skip the action and check ongoing tasks, known as Check RxTxUART. This task would investigate if there was data received from Main Board Control, then the data would be transferred to UART Break program. When the collected data was correct, the bufferFrame would copy them, then deleted the values in ReceiveFrame. The remaining data in bufferFrame would be assigned to CheckRxTxUART to handle.

The last task in Loop program is to verify KeyPad4×3. If users input new values on LCD20×4 screen, these values would be updated onto the storage. On the contrary, the program would return to Update Display LCD to do the verification and operate aforementioned tasks.

Whenever the panel board’s MCU receives any data frame from the mainboard’s MCU, the program of the panel board’s MCU will go to the UART Interrupt Subroutine in order to process the received data frame. The program will evaluate to find out the right frame, then it will be copied to the BufferFrame and delete the ReceiveFrame. Otherwise, the wrong receive frame will be deleted and waiting for the new coming data frame (Fig. 10).

Fig. 10
figure 10

The flow chart of the control panel board

3.2 The Description of How the Main Board Control Operated

At the beginning, the program constructed Initial GPIOs for the system and internal Real Time Clock of STM32F407VET6 to keep track of the electrospinning shooting time. In the meantime, EEPROM was in use to save the setup of the machine and Kp, Ki, and Kd of PID were also activated to control the Motor Servo of Drum Collector. Then the Timer counter, System tick and UART were all initialized to do timing job for the controller and Initial Moving Average to measure the speed of Servo motor. Moreover, the Servo and Stepper motor were under the control of Initial H-Bridge.

In the first main loop, infrared light and fume hood fan availability would be examined; and if there were an order from the Control Panel Board, the program proceeded according to parameters input by users. On the other hand, the program skipped the previous step and perform the next algorithm, Control Slaver MCU.

The function of the Slaver MCU was to regulate the Syringe Pump Controller and Slider for the Electrospinning device. The orders went through the path from Control Panel Board to Main MCU and continued going to Slaver MCU. If there were no orders, the program advanced to CheckRxTxUART.

CheckRxTxUART was where all of the information received from Control Panel Board was processed; if there was any Frame orders transmitted from Control Panel Board, the receiving process would occur in Interrupt UART program, and ReceiveFrame would be copied into BufferFrame and treated in Main loop program; or else, the program would jump to the next part.

Control Servo motor was a program section where the speed of Drum Collector and Motor servo were under the control of closed loop based on PID algorithm through determining the number of pulses read back from the encoder and checking feedbacks from updating PWM values to control H-Bridge; the frequency, which was applied to take over servo motor, was 15 kHz.

Read Temperature and Humidity function traced them temperature and humidity inside the electrospinning chamber so that users could adopt the most suitable environmental parameters for electrospinning membrane. The activation of this function happened while in the “Run” process, remaining temperature, humidity, actual speed of Drum Collector, and Electrospinning shooting time would be grafted with TranferFrame and transmitted to Control Panel Board to display on LCD screen. The system would automatically move to Read and Write EEPROM when the former function stopped.

Read and Write EEPROM had the ability to store the used controlling parameters; if users found them to be productive of high quality of electrospinning membrane, they would input these parameters in “Save” so that the setup be stored into EEPROM. When users wished to apply saved parameters, they chose “Read” function to read the parameters from EEPROM; the MCU would read these values and send them to Control Panel Board.

If Main MCU receives any transmit frame from Control Panel Board, Program will come to subroutine for process Data.

Whenever the mainboard’s MCU receives any data frame from the panel board’s MCU, the program of the mainboard’s MCU will go to the UART Interrupt Subroutine in order to process the received data frame. The program will evaluate to find out the right frame, then it will be copied to the BufferFrame and delete the ReceiveFrame. Otherwise, the wrong receive frame will be deleted and waiting for the new coming data frame (Fig. 11).

Fig. 11
figure 11

The flow chart of the main board control

3.3 The Control Syringe Pump and Slider Procedures

When the program started, Initial GPIOs had charge of Syringe Pump and Slider, Initial Timer, and System Tick to do timing for the shooting speed of Syringe Pump and transferring speed of Slider. Initial UART adopted the orders from Main MCU to manage Initial Syringe Pump and Slider.

When we accessed the main loop, the initial task was CheckRxTxUART for receiving orders from main board to run the electrical syringe pump and slider; if there was no signals from main MCU, the controller would proceed to Slider Execute.

Slider Execute implemented the duty to adjust the relative positions between Syringe Pump and Drum Collector if it obtained the order from main MCU; if not, SyringePump Execute would be called.

SyringePump Execute was a function to administer the speed of the syringe to shoot out an appropriate amount of solution in the electrospinning application. The main MCU delivered order to the slaver MCU to regulate the syringe pump; however, when there was no orders, the program would move on to the next task: CheckTxRxUART.

Whenever the slaver’s MCU, which using for controlling the Syringe Pump and Slider, receives any data frame from the mainboard’s MCU, the program of the slaver’s MCU will go to the UART Interrupt Subroutine in order to process the received data frame. The program will evaluate to find out the right frame, then it will be copied to the BufferFrame and delete the ReceiveFrame. Otherwise, the wrong receive frame will be deleted and waiting for the new coming data frame (Fig. 12).

Fig. 12
figure 12

Flow chart of the control syringe pump and the slider

4 Result of Experiment

The result is shown in Fig. 13 which is able to control the speed of Drum Collector from 10 to 2000 rounds/min and fume hood fan speed. The temperature and humidity has an active range from −40 to 125 °C with the precision up to ±0.3 °C and 0–100% with ±2% error (Following the SHT31’s manufacturer datasheet).

Fig. 13
figure 13

Final fume hood control product

4.1 Testing Methodology

We chose the 12 cc syringe with 15.8 mm diameter and pumping time is an hour for each experiment; the measurement is operated twice per experiment based on the following formula. The experiment was set up by using the caliper of Mitutoyo Manufacturer (Model: CD-6″BS, with the accuracy, is ±0.002 mm). Firstly, the caliper was fixed position to the syringe clamp of Syringe Pump, then the machine ran 2 times with 1 time per 1 h. Secondly, the data was recorded after each time. Finally, we using the below formula to calculate the volume result (Table 1).

$${\text{R}}_{{{\text{tb}}}} = \frac{R1 + R2}{2}\left( {{\text{ml}}/{\text{h}}} \right)$$
(1)
R1:

the first measurement.

R2:

the second measurement.

Rtb:

Result Volume.

Table 1 Description of errors in the syringe pump

The Volume is evaluated in accordance with the following formula:

$${\text{V}} = \pi *{\text{R}}^{2} *{\text{D}}\quad {\text{So}},{\text{D}} = \frac{V}{{\pi *R^{2} }}$$
(2)
V:

is the volume of the solution inside the cylinder.

R:

is the radius of the cylinder.

D:

is the distance of the piston shifting in an hour.

From (1), (2), we can conclude the substantial Volume by quantifying distance D of the electrical syringe pump as in Table 1.

Error calculation formula:

$$Error(\% ) = \frac{abs(result - expected)}{{expected}}*100$$
(3)

The maximum and average error value are 2.9% and 0.60%, respectively based on the formula:

$${\text{Average Error}} = \frac{Sum\,of\,Error}{{Number\,Sample}}(\% )$$
(4)

5 Conclusion

Overall, the system has proven its functionality in terms of controlling the speed of the drum collector and fume hood fan. The relative distance between the electrical syringe pump and drum collector has also been adjusted and managed by our algorithm. Furthermore, the system also has the ability to isolate the high voltage for the purpose of user’s safety. Finally, our device is able to take fully charge of humidity and temperature, which is under the control of infrared light, inside the electrospinning chamber.