Abstract
In this study, prosthesis performance was examined in the direction of prosthesis comfort, which may be incorporated into clinical practice as considerations for the fabrication of patient-specific prostheses. The need to produce patient-specific prosthetics is very germane to assist in orthopedic and trans-radial amputation medicine. The prosthesis makes use of a relatively simple brain-computer interface that receives electroencephalogram (EEG) signals as input and drives actuators connected to cables to actuate the 3D-printed fingers and the wrist. Both mechanical and electrical simulations were carried out to investigate the response to loading conditions, after which sensitivity analysis was conducted to validate the prosthesis performance.
1. Introduction
The human hand is highly functional and inevitable, and in the case of a loss of hand, a replacement should be made possible. Several efforts have been made at providing help to those who have lost a limb or two [1]. The bio-mechatronics approach is the most recent effort, presenting an engineering approach to solving this medical condition by technologically replicating the limb functionality [2, 3]. For multiple sclerosis, the use of prosthetic has been found as a suitable solution [4], thus providing a well improved cooperation between the person and the adapted prosthesis would likely decrease stride- stride variation which in turn will improve patient satisfaction. Consequently, the use of hand prosthetics has evolved over the years to a more acceptable solution and is now being gradually domesticated [5, 6].
Many amputees abandon their prosthetic arms and wrists because the weight and dimensions of various prostheses can cause discomfort and issues with user coordination; these complications often arise when the prostheses do not fit the amputee properly. In response to this issue, the use of 3D printers to manufacture prostheses has been introduced [7, 8]. 3D printing allows for the development of lighter prostheses that can easily be modified to fit the amputee. It is important to take advantage of the new technology provided by 3D printers to make prostheses affordable for all amputees. Otherwise, amputees who fail to replace their arm or leg may experience complications when they rely on their other arm or leg, such as injuries and arthritis.
However, the use of prosthetics is still very low, especially in underdeveloped countries, due to cost and acceptability. Excitable tissues in the human body generate signals via cells that can be related to electrical potential differences, and these signals are quantifiable, Hence, they are referred to as biopotentials. The characterization of these signals depends on the part of the body where they occur. Among the potentials induced, those from neurons in the brain are called electroencephalogram (EEG); those from muscle cell contraction are called electrocardiogram (ECG); those from skeletal muscle cells are electromyogram (EMG); others are electrooculogram (EOG), neural spikes, and local field potentials (LFPs). Many procedures and devices have been developed to detect and capture these signals. EEG equipment has been developed to convert signals from the brain wirelessly through wearable devices to a data acquisition unit unto an actuator to interpret the signal generated and perform required functions [9]. It has helped a great deal and has been extensively used in assisted medical intervention procedures such as implants, diagnosis and diagnostic equipment, and wearable organs and wearable monitoring devices (sensors) [10, 11].
This study is designed to help those who had their hands and/or forearms amputated by developing an affordable, comfortable, yet functional prosthetic hand that can be employed to carry out basic tasks. The prosthesis developed from a 3D printer makes use of a relatively simple brain-computer interface that receives EEG signals as input and drives actuators connected to cables to actuate the 3D-printed fingers and the wrist. The methodology and explanation are presented in detail.
2. Methodology
2.1. Material Selection
The upper limb model from an open-source file was simulated and produced using the biocompatible additive manufactured technique, specifically fusion deposition. The materials used were polylactic acid (PLA) for the phalanges, while ABS was used for the metacarpals and as bolts for the joints. The assembled primitives were enabled for perception and control by signals of electro-encephalogram using an Arduino-based microcontroller to parse the transfer of biopotential signals and a NeuroSky headset used as the brain signal sensor.
2.2. Design Calculations
For easy analysis of the kinematics of the hand under static conditions, a kinematic model composed of 19 links (representing the human bones) and 24 DoFs (represented by joints) was proposed, as shown in Figure 1 [12]. The thumb is modeled as 3 links and 4 joints, while the other fingers are modeled as 4 links and 5 joints. The CMC joint represents the deformation of the palm, e.g., when making a fist.

Four modes of the prosthetic operation were considered, namely: rest, grip, fist, and handshake. Sensitivity analysis carried out showed the sensitivity of the prosthetic forehand to a degree of 20 µs maximum lag when subjected to arm-rest and wrist-off loading conditions, which is in line with a similar study [13]. Upon completion of the printing stage, the parts were assembled step by step to form the complete prosthesis. Figure 2 shows the assembly stage in sequential order.

(a)

(b)

(c)

(d)
2.3. Control Mechanism
After the assembly was completed, the next step was to place the servomotors in the servo bed designed to be situated in the forearm. A braided fishing line was then run up through each finger individually and looped around one servomotor each. One servomotor was placed in the wrist assembly to aid wrist movement. The lining was then tensioned at two points: when the servos were at 0° and 90°, as shown in Figure 3. The movement of the phalange was made possible by servo motors positioned to effect each desired movement. The servo motors were connected to the input and output pins on the microcontroller, while variable voltage was achieved through servo motors connected to pulse width modulation (PWM) enabled pins.

2.3.1. Signal Acquisition
NeuroSky offers a wide range of EEG headsets including the MindFlex, MindDuel, and MindWave Mobile headsets. The MindFlex headset was selected for this study due to the relative ease with which it could be integrated with existing devices, as shown in Figure 4.

The MindFlex headset is used to record electrical activity data around the brain. In order for the headset to communicate with the microcontroller, the headset had to be reconfigured. The headset was opened up, the EEG ASIC (called the TGAM) was brought out, and two wires were soldered to the TGAM chip: one to the “T” (transmit) pin of the chip and the other to GND (ground).
2.3.2. Interfacing with the Microcontroller
The six servo motors are connected to digital I/O pins on the Arduino microcontroller and configured as output pins. The wire soldered to the “T” pin of the EEG headset is connected to another free digital pin on the controller and configured to send data serially to the microcontroller. The GND wire from the headset is connected to a GND pin on the Arduino to reduce the risk of electrical shock. The code for parsing the EEG data from the headset and controlling the BCI was uploaded to the microcontroller, and the electrical circuit configuration is shown in Figure 5.

The flow chart that specifies the sequence of operations of the program is shown in Figure 6, which explains the sequence of operations of the device. The servo has an operating speed of 0.15 sec/60°, such that a full wrist rotation from a palm up to a palm down position (180°) was estimated as 0.45 sec using the following equation:

It has been measured that a tendon must move about 2 cm to move the finger from fully extended to be fully flexed, using the arc length
3. Results and Discussion
3.1. Sensitivity Analysis
The arm was controlled by the Arduino and the in-built program has preset algorithms that allow the arm to have different modes. The modes all had specific functions, namely, the rest, grip, fist, and handshake modes. The rest mode is the first mode in which the arm is loaded when it is put on. In this mode, the arm is not performing any functions, the servos are not receiving any signals, and therefore, there is no actuation. The grip mode is used to carry objects. The servos are at 60–70% actuation, while Figure 7 represents a comparison between the real-time and expected time for a selected loading condition.

A full wrist rotation from a palm up to a palm down position is estimated as 0.45 sec. It has been measured that a tendon must move about 2 cm to move the finger from fully extended to be fully flexed, using the arc , where the length is 2 cm and the radius r of the custom servo horns is 7 mm. It was also found that the servo must rotate by to completely open/close each finger. We find that the maximum time response to open-close a finger digit is 0.4 sec.
3.2. Loading Conditions
For this study, the mechanical parameters under investigation were displacement (x) and Von Mises stresses (Vm) relative to the load applied. Two loading conditions, viz., loading condition 1 (LC1) and loading condition 2 (LC2), were specified for testing: arm rest and wrist off conditions. Simulations were carried out under these two loading conditions, and the results for displacements and stresses followed consistently from the two loading conditions.
3.2.1. Loading Condition 1: “Arm Rest” Conditions
The arm is in rest position. All joints are at a virtual home position. Tables 1 and 2 show the mechanical and electrical parameter combinations for loading condition 1: “Arm rest”.
The angular displacement θ and the response time t of the hand were investigated relative to the voltage output of the motor V. From the graphs of angular displacement and response time against applied voltage in Figure 8, it is seen that for the armrest loading condition, the behavior of the motors is fairly linear. From the results, it is seen that the index, middle, ring, and pinky fingers have very similar responses to mechanical and electrical excitation. This justifies modeling the middle, ring, and pinky fingers using the index.

(a)

(b)
3.2.2. Loading Condition 2: “Wrist Off” Conditions
The wrist is at 120° from the x-axis (elevated from the rest position). Parameter combinations are shown in Tables 3 and 4 for the loading conditions.
For the wrist-off loading condition, the angular displacement displays the same fairly linear characteristics as with the arm rest condition (LC1); the response time, however, is seen to deviate from that pattern and take on a slightly triangular function, as shown in Figure 9. It can be inferred from these results that the index, middle, ring, and pinky fingers have very similar responses to mechanical and electrical excitation. Simulation and experimental analysis revealed that the magnitude of bearing loads of 10 and 50 N generated maximum stresses in the range of 6.8402 E+5 and 6.0261 E+5, respectively. The angular displacement of the five digits for an applied voltage ranging from 2 to 10 V was obtained as 36.27° to 179.90° and 34.55° to 175.93°, respectively.

(a)

(b)
Figure 10 shows the Von Mises stresses and directional displacement of the hand caused by different loads under the specified loading conditions.

(a)

(b)
3.3. Prosthetic Performance and Acceptability
The bio-prosthetic was rated based on its evaluative behavior when made to perform some grips, fists, and shake functions. Ten users were selected, and each one was made to use the bio-prosthesis in the three modes of operation as well. Using a baseline of 2 seconds as the expected time for the prosthesis to perform any of the three functions as presented in Figure 11, it was observed that the prosthesis performed fairly around this value. The real-time average is 2.4 sec with an expected time of 2.0 sec. The deviation falls within an acceptable range of 0.4 sec.

(a)

(b)

(c)
The prosthesis presented in this paper makes use of a relatively simple brain-computer interface that receives EEG signals as input and drives actuators connected to cables to actuate the 3D-printed fingers, and the wrist is presented in Figure 12; this helps for the integration of the whole system.

4. Conclusions
This study demonstrates the performance of prosthesis fabricated via 3D printing technology with the aim to build a prosthetic limb and control it with EEG biopotential. This study presents the development of a biopotential-controlled transradial prosthesis for people suffering from transradial upper-limb extremities either as a result of injury or congenial conditions. The limb was successfully fabricated using a 3D printer, and the EEG signal was recorded from the scalp and used to control the hand to open or close.
The capability of 3D bio-plastic design was demonstrated to show the prosthetic performance and the sensitivity of trans-radial polymer-grade prosthesis with capabilities of harvesting biopotential signals and effecting the actuation of digits of the upper extremities (upper arm, forearm, and hand) to assume load-carrying capacity. The developed prosthesis can be adapted for various users and is recommended for use in hospitals where corrective and cosmetic surgeries are performed.
Data Availability
The data used to support this study are included within the article.
Conflicts of Interest
The authors declare that they have no conflicts of interest.