1. Introduction
In the last decades, wearable technologies have been constantly gaining prominence, especially in health-related applications, where miniaturized devices (sensors and actuators) are placed on or near the body, aiming to minimize interference with the user’s activities [
1,
2]. This is partially due to technological advances in microelectronics, which have allowed the development of miniaturized devices capable of collecting data with high quality in a compact space and with low energy consumption.
As an example, wearable devices designed for tremor suppression can be mentioned. In these projects, sensors and actuators are utilized to actively identify pathological tremors and suppress them, enabling patients to carry out everyday tasks that might have previously been challenging. In the work by Rocon et al. [
3], a robotic exoskeleton named WOTAS (wearable orthosis for tremor assessment and suppression) was developed. This system employed DC actuators and adaptive control algorithms to suppress tremors associated with Parkinson’s disease (PD) while allowing users to perform voluntary movements naturally. Another example is the project by Manto et al. [
4] called DRIFTS (dynamically responsive intervention for tremor suppression), which aimed to create a wearable prosthesis for actively suppressing PD tremors.
Similarly, in the studies conducted by Herrnstadt et al. [
5], wearable prostheses were developed with the objective of suppressing PD tremors. Furthermore, Zhou et al.’s research [
6] focused on attenuating tremors caused by PD and proposed devices aimed at reducing this symptom. Generally, these technologies take the form of exoskeletons [
3], wristwatch-like devices [
7], or even gloves [
8,
9].
The work by Lora-Millan et al. [
10] provides a detailed review of this method, listing 27 projects involving wearable technologies specifically applied to the suppression of pathological tremors. The technologies used in each project, the efficiency of each solution, and the data validation methods employed are indicated, with the latter being the focus of discussion in this study.
During the evaluation of the data in this review article, it was noticed that among the 27 listed works, 20 projects used patients for testing and validation, while 7 projects used validation through electromechanical tremor simulation devices. Regarding the simulators, it was observed that all of them had only 1 degree of freedom of movement. Considering the tremor movements in the wrist, there are six possible movements: adduction, abduction, flexion, extension, supination, and pronation [
11], where at least 3 degrees of freedom (3-DOF) would be necessary to perform these movements together.
Considering that using patients in tests involves extremely complex issues, such as ethical committee approvals, adequate space for patient care, availability, and difficulty of volunteers’ participation due to their own comorbidity, resources for sustenance, structural difficulties in small centers, among others, the motivation to use patients in tests for wearable tremor suppression devices comes into question, given the possibility of validation through simulators.
The hypothesis raised is that even in the face of difficulties in conducting tests with humans, the analyses performed naturally are more comprehensive, considering the complexity of real tremor movements. In other words, due to the difficulty in developing equipment that simulates the full complexity of the affected limb’s movement adequately, it is still preferable to conduct tests on humans. The development of an appropriate simulation mechanism could reduce or even eliminate the need for patient testing at various stages. Additionally, there are individual characteristics in each patient’s symptoms, the way tremors present themselves (varying from individual to individual), their progression, or even the use of medications, which are factors that must be taken into account. Thus, even if tests are performed on the same individuals, the temporal space can lead to variable data.
In order to attain a robust variability in the sample space for testing, multiple patients are required, each exhibiting distinct movement characteristics, various stages of the disease, and diverse physical attributes. Consequently, making direct comparisons between techniques to genuinely assess the relative efficacy of each approach becomes a complex task, given the inherent disparities within the datasets.
Addressing this challenge, this study has developed a robotic manipulator model capable of replicating all human wrist movements, thereby facilitating a more authentic simulation of tremor complexity in a realistic manner. In this case study, our objective is to outline the methodology for developing the simulator, assess its workspace, and evaluate its ability to replicate resting tremors associated with PD. With these validated results, it will be possible to subsequently design a robotic mechanism that can enhance the quality of testing during the device development phase and, in certain instances, even obviate the need for prior tremor data collection from afflicted patients. This contribution is anticipated to expedite the advancement of novel wearable technologies aimed at tremor suppression, with reduced direct patient involvement.
While the current focus of this work lies in wrist movements, it holds the potential to extend its capabilities to simulate movements of other body parts, such as the head and feet. As a result, the development of this platform commenced with a simulator designed for the kinematic and dynamic analysis of a 6-DOF parallel manipulator based on the Stewart platform [
12,
13]. This configuration enables the execution of all distinctive wrist movements. The simulator, even before physical construction, can illustrate its workspace, encompassing both its range and limitations, along with the forces at play in each movement. Additionally, it demonstrates the capability to replicate tremor movements with variations in frequency, amplitude, and positioning within a three-dimensional space. This approach simplifies the determination of optimal requirements for the final physical prototype development.
Given the well-established characteristics of PD tremors, informed by numerous studies, a tangible system can potentially be implemented in the future with the goal of reducing the exposure time of PD patients to tests while still advancing the development of innovative technologies.
1.1. Parkinson’s Disease
PD is a progressive neurodegenerative disorder that affects the central nervous system. It is primarily caused by the degeneration of cells that produce the neurotransmitter dopamine, located in the brain region known as the substantia nigra. Dopamine is responsible for transmitting signals between neurons, and its reduction or absence affects certain motor functions. The development of Parkinsonism is preceded by a long prodromal phase, preceding the onset of disease symptoms, with most clinical signs being nonspecific. At the time of initial diagnosis, more than 50% of dopaminergic neurons may have already been lost from the substantia nigra [
14].
People with PD often experience symptoms related to apathy, depression, constipation, sleep disorders, problems with posture, balance, and stiffness in movements, as well as loss of smell and cognitive issues. However, the disease is most well-known for its implications on the motor system, resulting in involuntary tremors [
15]. It is estimated that the disease affects approximately 1% of people over the age of 60 and up to 4% of people over the age of 80 [
16].
1.2. Tremor Characterization
The characteristics of pathological tremors are well known in studies and can appear in the arms, legs, and also the head, presenting as rhythmic, involuntary, oscillatory movements with a constant frequency over time and varied amplitude [
17]. Most tremors are primarily oscillatory rotations of a body part around a joint or multiple joints. For example, hand tremors can originate from shaky rotation at the wrist, elbow, or shoulder. Similarly, head tremors mainly involve the rotation of the head around the neck [
18]. Diagnosis involves a focused approach to patients’ histories and neurological analyses based on the nuances of tremor phenomenology [
19]. The main observation is to classify the tremor as an action tremor or a resting tremor [
20].
Action tremor occurs during intentional movement of a limb, such as walking or reaching for an object, and can be divided into intention tremor, which manifests when the individual moves toward a target, and a kinetic tremor, which is visible only at the end of the movement toward a target. Postural tremor occurs when a limb remains stretched in a position against gravity, usually occurring at frequencies of 4.5 Hz to 12 Hz [
21].
On the other hand, resting tremor occurs involuntarily when the affected body part is completely supported or at rest. The causes can be physical or psychological, but in most cases, it is associated with PD, representing a more severe type of tremor. This symptom typically occurs unilaterally, significantly affecting the hands, and is less frequently diagnosed in the lower limbs [
22].
It can be observed that the intensity of resting tremor increases when there is mental effort or when the individual moves another part of the body and can be relieved by voluntary movement of the affected limb. Typically, this tremor is characterized by involuntary movements at frequencies of 3 Hz to 6 Hz, reaching up to 9 Hz in some cases [
23]. The amplitude of the tremor is relatively low, ranging from a few millimeters to a few centimeters depending on the severity of the underlying condition, the location of the tremor, and individual factors. It is generally more pronounced in the morning and diminishes as the day progresses. Additionally, the tremor can worsen during moments of stress or anxiety.
Generally, resting tremor is one of the most common and characteristic symptoms of PD, but the amplitude of tremors can vary greatly among patients and may be affected by treatment. Tremor amplitude can be measured using various methods, such as visual observation, accelerometer measurements, and ECGs, among other specific equipment [
24]. These methods allow quantifying the tremor amplitude, which is useful for assessing disease progression and treatment efficacy.
Initially, this work focused on representing resting tremor in PD, with frequencies between 3 Hz to 6 Hz, demonstrating the platform’s ability to represent tremor signals at frequencies from 1 Hz to 12 Hz, always considering the maximum stress of the mechanism. The next chapter will detail the methodology of developing the robotic mechanism, and in the Results and Discussion chapter, graphs will be presented with the results of tremor executions on the platform.
2. Materials and Methods
The objective of this study is to develop a simulator for a robotic manipulator based on the Stewart platform with the capability to replicate the complexity of PD tremor movements. In this section, we will introduce the simulation system, which allows us to extract data pertaining to the manipulator’s mobility. This includes an examination of its workspace and dynamic behavior, taking into account the interconnected motors, masses, and forces involved. The analysis of these data within the simulation environment will facilitate the subsequent development of a physical platform with greater accuracy and efficiency. In this particular case study, our focus will be on evaluating the requirements associated with resting tremor.
2.1. The Stewart Platform
The Stewart platform, as first mentioned by Gough [
13] and proposed by Stewart in 1965 [
12], is essentially a 6-DOF parallel manipulator, with each actuator responsible for one DOF. There are some structural variants regarding its shape and the configuration of the used actuator [
25].
The combination of actuator movements allows for linear and rotational motions. This closed-chain manipulator (parallel actuators) has several advantages when compared to open-chain manipulators (serial actuators), such as high speed, acceleration, load-carrying capacity relative to the motor’s required torque and structural rigidity. These reasons make the Stewart platform excellent for high-precision movements in general [
26,
27,
28].
To conduct a comprehensive study of this platform, it is necessary to develop a model that allows for the evaluation of its kinematics, which depends on the shape, dimensions, and arrangement of structural components. Moreover, understanding its dynamics requires studying the forces impacting the system and their effect on its movement, considering materials, density, mass, center of mass, etc., which can cause positioning errors or undesirable variations in velocity and acceleration [
26]. This descriptive and representative model can be structured mathematically. The most popular methods for mathematical implementation are the Newton-Euler methods, which consider the center of mass, components in equilibrium, internal and external forces [
29], and the Lagrange method, which evaluates the difference between potential and kinetic energies involved in the model [
30]. Both methods can effectively represent the behavior of closed-chain robotic devices, although they have different characteristics in terms of representation and computational complexity.
In this work, the simulation model of the Stewart platform was chosen using the multibody dynamics (MBD) method [
31], where each body has its own modeling, and the blocks are connected through joints and ligaments structured based on a developed 3D CAD model. This method intuitively implements the forward kinematic model and the dynamic model, with only the inverse kinematic implementation remaining [
32]. The advantage of using this method is the possibility of quickly re-adapting the project when necessary.
2.1.1. Inverse Kinematics
Inverse kinematics is applied to the Stewart platform to determine the optimal positions of the actuators to achieve the desired position. This method is based on mathematical equations that describe the relationship between the positions of the actuators and the final position of the platform. Thus, to perform a given movement, it is necessary to find the linear displacement of each prismatic actuator. However, first, the coordinates of the anchor points relative to the fixed lower platform and relative to the movable platform must be determined.
In
Figure 1, it is possible to observe the origins of each platform, where point
is the central point of the lower platform, with coordinates
x,
y, and
z. Similarly,
, where
,
, and
represent the coordinates of the center of the upper platform, while
,
, and
denote the angles related to wrist movements. Considering that the motion of each actuator influences the position of the end effector of the platform, it is necessary to calculate its orientation
relative to the base
. Mathematically, this relationship
is obtained using Euler angles and is achieved through the following sequence of rotations:
where
where
and
.
Thus, to determine the extension of the vector
, Equation (
2) is used:
The vector
T represents the translation from the origin
in the lower platform to the origin
in the end effector, where
. One of the junction points of each platform, the vector from
to
, and the vector from
to
are depicted in
Figure 1 as vectors
and
, which are generalized as vectors
and
shown in
Figure 2a. The vector
represents the extension of the prismatic actuator, as depicted in
Figure 1 and
Figure 2.
Finally, to represent the velocities of each actuator, which affect the velocity of the upper platform, the Jacobian matrix is used. The Jacobian matrix is widely used in parallel manipulators and is represented by the following equation:
where
represents the actuator velocity matrix and
the velocity of the upper platform.
Both the upper and lower platforms are interconnected by six rotational actuators, each of which is attached to two inflexible rods that transmit the motion from the motors to the upper platform. The aluminum rods are attached to the motor axes with measurements
, which in turn are connected by larger rods composed of two ball joints of the same material and carbon structure, with measurement
D. The structure used in this project can be seen in
Figure 2a. This modification implies the need for the calculation of motion conversion, considering that the Generalized Stewart platform uses a prismatic actuator. Therefore, the prismatic motion will be converted into a rotational motion
that results in an equivalent motion to the previous
. This composition can be observed in
Figure 2b.
To determine the spatial position of the anchor points of the lower platform relative to
, it should be noted that this work utilized rotational actuators instead of the conventionally used prismatic actuators in the generalized platform. Given the use of rotational actuators, it was necessary to supplement the inverse kinematics. Therefore, as depicted in
Figure 2b,
represents the vector from
=
to
=
, and
D is the fixed rod length between
and
=
. Furthermore,
denotes the angular coordinates of the attachment points, depending on the spatial position where the actuator will be located. Thus, we derive the following equations:
The endpoint of vector
is found through the following transformation:
where
However, the rotation matrix above is only valid for even-indexed servos, as odd-indexed servos have the joints attached on the opposite side. Therefore, to differentiate between the two configurations, it is only necessary to change the sign in the following expression:
The positive sign in the terms
and
indicates the valid expression for even-numbered servos, whereas the negative sign is valid for odd-numbered servos. With each new position or orientation of the servos, a new set of vectors
emerges, and subsequently, the virtual arm
is obtained, requiring finding the rotation of the motor
that satisfies it. From the following equations we have:
For all
, combining the previous equations by Pythagoras leads us to:
after substituting with Equation (
6), we have that
Reducing the equation into the following format:
and using trigonometric identity functions, we have that:
with,
and
Taking these considerations into account, we have another sinusoidal function of
with a phase shift of
, therefore, we obtain that
where
Assuming that
M is a variable with a positive sign, we can find the angle of the servo
as follows:
Thus, it is possible to determine the desired position and orientation of the upper platform if all joints obtain a real solution for all i, allowing the complete replacement of all linear motors with rotational motors.
2.1.2. Forward Kinematics and Dynamic Model
Through MBD analysis, it is possible to implement the analysis of forward kinematics and dynamics, combining the design characteristics of each platform component developed in the CAD environment (mass, center of mass, inertia), along with the evaluation of its joints through the interconnection of specific blocks, from which data such as motion, velocity, acceleration, torque, etc., can be extracted.
Considering the nonlinear behavior and complexity of the mechanism, the development process of the simulation system was carried out in two stages. In the first stage, the three-dimensional model was developed in CAD software, as shown in
Figure 1. The software used was SOLIDWORKS
® v2017, where each platform component was designed separately, respecting the dimensions and materials to be used.
Subsequently, a virtual assembly was performed in the same software, where all parts are attached to each other, and the first evaluation of compatibility between the components was carried out. After this stage, a Simscape multibody link plugin was used to export the fully assembled model from SOLIDWORKS® v2017 into the Simulink environment of Matlab® R17a, generating a preliminary platform model. This integration between the two software reduces simulation time and allows for easy modification of the model. If any physical components need to be altered or adjusted, they can be re-exported through this plugin.
It is also possible to design each element directly within the Matlab® R17a platform. However, the environment does not provide specific CAD tools that assist in the design process. The CAD software environment is more intuitive and allows for greater detailing of parts. In this sense, the SOLIDWORKS® v2017 program maintains a library with specific characteristics of various materials used in this project, which directly influence the dynamic behavior of the platform, as well as its functional characteristics. It is even possible to perform stress tests to improve the dimensioning of the parts.
The initial model delivered by the plugin in an automatic way is in an *.xml file with a disorganized pre-assembly that requires a review to check for any faults that may have occurred during assembly. However, it accomplishes the task of interconnecting blocks and integrating all joints into the complete model. In
Figure 3, it is possible to visualize the simulation model of the platform, now organized and functional, where the four main groups of the platform are enclosed by rectangles.
In the red rectangle, the fixed/inferior platform is represented, which in this case is being used as the reference base body. The yellow rectangle indicates the block composed of connecting rods and joints, and also shows the actuators and sensors. In green, there is the upper platform, followed by the blue rectangle representing the modular tool attached to the platform.
In addition to the interconnection of the blocks, the model is exported with a file extension *.m, which contains data structures that form the characteristics tables of MBD, including material properties such as identification, mass, moment of inertia (MoI), product of inertia (PoI), center of mass (CoM), color, opacity, and others, as well as the data resulting from the transformation operations of each component. This information is directly imported from the model built in the CAD software.
2.2. Platform Specifications
The platforms have a hexagonal shape, consisting of both a lower and an upper platform. The complete assembly of the lower platform comprises six independent rotational actuators and two acrylic plates, each with a thickness of 10 mm. These plates are responsible for coupling and securing the motors in place. Consequently, neither of these components actively contributes to the movement of the upper platform. For modeling purposes, the central points of both the lower platform and the upper platform are situated on cross-sections along the rotational axis of the motors and on the upper platform, respectively. The motor shafts are firmly connected to small aluminum links with a length of . Subsequently, these links are connected via ball joints to rigid carbon rods with a length of D, which transmit the motor’s motion to the upper platform.
Regarding the choice of materials for the platforms, acrylic (medium-high impact) with a 10 mm thickness was selected. This material possesses approximately 48% lower specific mass than aluminum while maintaining favorable stiffness and strength properties, as per the specifications provided in the SOLIDWORKS® materials library.
The specifications and dimensions of the platforms (both upper and lower) used in the study are illustrated in
Figure 4. The lower platform has a radius of
= 73.8 mm and an angle between anchor points
and
of
= 54.87°, whereas the upper platform possesses a radius of
= 58.95 mm and the angle between anchor points
and
is
= 94.52°. Another crucial dimension pertains to the linkages connecting the actuators to the upper platform, with the linkage attached to the motor having dimensions of
= 24 mm and
D = 214.5 mm. Although these values are fixed for the simulations, they can be adjusted as needed for experimental purposes. A summary of data related to the component masses is provided in
Table 1.
In this work, we sought to replace metallic materials, for the most part, with synthetic materials, due to their lower specific mass contributing to the execution of tremor-inducing movements.
2.2.1. Motor and Control Specifications
The simulation environment allows evaluation in two models. The first one is based on an ideal motor, where it is possible to extract information regarding static and dynamic forces involved in a particular position or movement, considering the direction and sense in which gravity acts on the platform, material mass, inertia, platform structure, and the tool attached to the upper platform. This study is essential for defining the specifications of the actuators required for the operation of a potential real platform to be developed, enabling the evaluation of motor requirements for a specific action or function.
The second simulation approach involves using a pre-specified actuator, enabling the study of motion and forces given a particular motor. This simulator allows for the simulation of BLDC motors, stepper motors, and DC motors. For this case study, DC motors were considered, as shown in
Figure 5. Generic parameters for a DC motor were used for the simulation, and the model was applied to each of the six motors on the platform. With the motor modeling, a control system is required. In this case, a PID (proportional–integral–derivative) controller was used, responsible for correcting the actuator’s position based on the required setpoint position in comparison to the current position of the motor
.
2.2.2. Modular Tool Coupling
Considering the potential for utilizing this platform in a variety of tests, there is the option to couple, exchange, and reconfigure modular tools on the upper platform. Therefore, a modular tool was added to simulate the mass of the human hand in this study, as illustrated in
Figure 6. The modular tool installed on the upper platform comprises an adjustable-length linkage, essentially a configurable mass sphere attached to an adjustable distance rod. It is important to note that different tools can be coupled based on project requirements, allowing for the addition of complementary masses, specific sensors, or even flexible components. The specifications and shape of the tool will be determined exclusively by the specific application in each project. In this work, the sphere was used as the mass reference, with the mass of the attached rod being disregarded.
According to Im, Ellen E. et al.’s article [
33], it is observed that, although the weight of a limb may vary due to factors such as ethnicity and age, the human hand generally accounts for an average of 0.7% of an individual’s body weight. In other words, for an individual weighing 80 kg, the hand represents a mass of approximately 0.448 kg. Therefore, for this study, the linkage will have a length of
H = 100 mm, and its mass has been neglected. The sphere depicted in
Figure 6, representing the mass of the human hand, has a diameter of
= 40 mm and a mass of
= 450 g. While these values are fixed for the simulations, they can be adjusted as needed for specific experiments.
Another important aspect to consider is the ability to modify the direction and orientation of gravity concerning the platform, enabling the evaluation of the robotic limb in different positions relative to the ground. In this project, which aims to simulate a resting wrist scenario, a horizontal position was selected to represent a seated patient with their wrists supported on an armrest, with gravity acting perpendicular to the platform.
For a better understanding and comparison between wrist movements and platform movements, from this point in the text, the yaw (
), pitch (
), and roll (
) motions will directly correspond to abduction/adduction, extension/flexion, and supination/pronation movements of the wrist, respectively, as illustrated in
Figure 7.
2.3. Workspace Evaluation
The study of the Stewart platform’s workspace can be divided into three methodological classes. The first method is the Jacobian method [
34], in which workspace limits are defined as singular Jacobian sets. The second method [
27] differs from the first, as the workspace is determined by an algorithm that allows a graphical representation of the reachable regions in two or three dimensions in Cartesian space. Finally, the discretization method is the model used as the basis for this work. Essentially, this model determines the definition of a specific workspace region, and then each point in this region is checked by the platform incrementally to verify which points actually belong to the robot’s workspace.
Structurally, the dimensions of the upper and lower platforms, joint constraints, dimensions of the connecting rods, and tool dimensions have a direct impact on the manipulator’s mobility and are crucial for assessing the robot’s workspace. This evaluation is of utmost importance because the simulation establishes mechanical boundaries and detects potential collisions between components during motion. It becomes essential to verify if the designed mechanism can faithfully replicate PD tremors, closely resembling reality. It is fundamental to ascertain whether the range of motion performed by the model aligns with the necessary amplitude to represent tremor movements, both in terms of inclination and spatial displacement.
According to Markulov [
11], the wrist has some limitations within its range of motion. Following the anatomy of the wrist, the movements of extension and flexion are the most affected by resting tremors.
To enable the platform to traverse the entire workspace, a function with a spherical spiral design was used, based on the following Equations (
16)–(
18) below:
Known as the Archimedean spiral, the input represented in
Figure 8 was used as the basis for the study of the workspace and applied in performing spherical movements, considering that the tremor movements in the wrist only involve spherical and rotational motions.
The variable
a represents the center of the spiral,
b determines the distance factor between each rotational interaction, and
t determines the rotation angle. As
t increments, the spiral shape is formed. The values of
,
, and
in this evaluation were considered constant:
For each new unique point generated by Equations (
16) and (
17), the platform’s rotation limits with predetermined values (
) were verified by executing a sinusoidal signal as shown in Equation (
18), where the variable
A determines the amplitude of the rotational movement in one of the directions (clockwise or counterclockwise). This allows for the analysis of the 3-DOF in a two-dimensional graph enhanced by a color map. The graph illustrating the progression of movements based on input Equations (
16)–(
18) can be found in the results section.The platform’s orientation is in the horizontal position, with the force of gravity acting in the direction of wrist flexion, as shown in
Figure 6.
2.4. Processing Data of Real Parkinson’s Tremor Movements
In this test, a real PD tremor signal will be used, encompassing tremor frequencies, resonance or harmonic frequencies, and all three axes of movement acting together. It is essential to note the presence of noise in the captured signals, as well as interference from the sensors themselves in the patients’ tremor movements. As a result, this simulation becomes more realistic in replicating PD tremors.
The data were collected from a study [
35] and kindly provided for this work. Originally, 18 PD patients participated in this study (18 individuals, 8 women, and 10 men), aged between 48 to 73 years. For data acquisition, the MetaMotionC sensor was used, equipped with a three-axis gyroscope and accelerometer (16 bits, ±2000◦/s, ±16 g). The patients were seated in a relaxed position to highlight the data related to resting tremor.
According to Wang et al. [
36], the principle of measuring the rotation angle of a movable surface is equivalent to measuring the rotation angle of a rigid body rotating around a fixed axis. In this way, from the sensor information, the Kalman filter (KF) was applied to fuse the sensor data and convert the acceleration and angular velocity signals into wrist inclination signals, making it possible to execute them as inputs to the simulator as shown in
Figure 9.
Proposed by Rudolf Kalman in 1960 [
37], the KF is an algorithm used to obtain accurate estimates of a system’s state, even when that state is partially observed and subject to uncertainties. Among the characteristics of the KF, one can mention its ability to optimally combine past and present information, taking into account the uncertainties associated with a plant even without a precise mathematical model. With wide applications in engineering, navigation, robotics, and signal processing, the KF employs a mathematical model that describes the system’s dynamics and performs data fusion from different sensors, resulting in more reliable data as the final output. Therefore, it is particularly effective when measurements are subject to noise and when more accurate estimates are desired with a limited number of observations.
The filter algorithm consists of two main steps: the prediction step and the correction step.
Figure 9 also illustrates the two-step algorithm, where two time instants are used and indicated by the index: time instant
k, representing current information, and time instant
, representing retained information from a past state. In the prediction step, the mathematical model of the system and an estimation of the previous state are used to predict the current state of the system. This prediction is accompanied by an estimation of the uncertainty associated with it. Matrices
P and
Q represent both the estimated covariance and process noise. The variable
u represents the input vector,
represents the estimated state,
denotes the state transition matrix from time instant
to
k, and
B signifies the system input matrix.
In the update step, the filter incorporates recent observations to refine the estimation of the current state of the system. It combines the previous prediction with the observed information, taking into account the uncertainties in both the prediction and the measurements. Through statistical calculations, the KF adjusts the weighting of this information to obtain a more accurate estimate and reduce uncertainty, now with the index referring to the current state. The observed measurement is represented by z, H is the state-to-measurement observation transition matrix, R is the covariance of the measurement noise, y is the innovation, and S is its covariance. The Kalman gain K is calculated to minimize the state estimation error of the system. It takes into account and , thus determining how much weight should be given to the measurements compared to the prediction in the state estimate update.
Regarding the models used, Equation (
20) was considered for the accelerometer, and Equation (
21) was used for the gyroscope, as stated below:
Additionally, in this algorithm, the following values were utilized:
= 0.01,
= 0.001,
= 0.003, and
R = 0.03, as follows:
The KF is computationally efficient, making it suitable for real-time implementations. As a result of the KF’s output, the angles related to wrist movements, including the rotation angle, are obtained. Thus, the data are ready to be used as input for the system represented by Equation (
19).
2.5. Evaluative Metrics
After executing the input data through the simulator, several metrics were used to evaluate the platform’s behavior during the execution of real data. Graphs were overlaid in the time and frequency domains, a scatter plot was presented to assess the correlation between the data, and, finally, to identify the platform’s ability to reproduce the input signals, the Pearson Correlation Coefficient was used.
The Pearson correlation is a statistical metric that evaluates the degree of linear relationship between two sets of data, resulting in a number that can range from −1 to 1. A correlation coefficient of 1 represents a signal that is fully correlated with the original signal, 0 represents no correlation, and −1 indicates an inverse correlation. Therefore, it is expected that the output signals from the simulator will be close to 1, indicating that the platform has good simulation capability for the input tremor signals. Basically, the calculation of the Pearson Correlation Coefficient is based on Equation (
25), allowing the calculation of the coefficient between the two data sets:
where
r is the Pearson correlation coefficient. Regarding the evaluated dataset,
and
are the corresponding reference values,
and
refer to the means,
n is the number of data elements, and finally,
and
are the standard deviations.
4. Conclusions
This work aimed to present a simulation system of a robotic manipulator based on the Stewart platform. The platform aims to simulate tremors in the wrist with characteristics similar to those found in PD, allowing for more in-depth testing and studies of wearable technologies capable of reducing this problem in patients. With the simulator, it was possible to evaluate the studied model based on its workspace, aiming to identify the mechanical limits of the platform, as well as the simulation of real tremor movements of PD. In this work, generic constructive data of a direct current motor were used, considering that the main objective was not to test the object itself, but rather to present some of the possibilities of studies. The simulator fulfilled its function, demonstrating that it is indeed capable of replicating PD tremors with high precision and good accuracy, also allowing for improvements that can be made in the robotic system, avoiding execution costs and analyzing errors. This preliminary evaluation will help reduce costs in purchasing materials and provide predictability of the behavior of the real mechanism to be implemented.
There is also the possibility of manipulating patient data through signal processing, applying filters, adding noise, and modifying signal amplitudes to simulate a reduction or increase in symptom severity. Modifying frequency spectra, evaluating harmonics, and generating purely synthetic signals. Economic advantages can also be included, reducing the development time of technologies and addressing ethical concerns by exposing the patient to fewer tests during the research and development phase of a product.
With the implemented simulation tool, the next step will be to develop an actual platform, expanding the range of testing possibilities and the applicability of the mechanism. This includes broadening the types of pathological tremors covered by the simulator and even exploring the simulation of other human body parts.