Abstract
In this paper, a new approach for head camera stabilization of a humanoid robot head is proposed, based on a bio-inspired soft neck. During walking, the sensors located on the humanoid’s head (cameras or inertial measurement units) show disturbances caused by the torso inclination changes inherent to this process. This is currently solved by a software correction of the measurement, or by a mechanical correction by motion cancellation. Instead, we propose a novel mechanical correction, based on strategies observed in different animals, by means of a soft neck, which is used to provide more natural and compliant head movements. Since the neck presents a complex kinematic model and nonlinear behavior due to its soft nature, the approach requires a robust control solution. Two different control approaches are addressed: a classical PID controller and a fractional order controller. For the validation of the control approaches, an extensive set of experiments is performed, including real movements of the humanoid, different head loading conditions or transient disturbances. The results show the superiority of the fractional order control approach, which provides higher robustness and performance.
1. Introduction
Camera stabilization during gait is a well known issue in humanoid robotics [,,]. Many artificial vision tasks, as mapping or recognition, depend on image quality aspects like illumination, focus, or image position and rotation. The problem of camera stabilization during the humanoid locomotion lies on the disturbances transmitted from the body motion to the head, which usually holds the cameras and vision sensors. This motion, roughly similar to an inverted pendulum with the pivot point located in the robot’s holding ankle, introduces undesired distortions in the form of image rotations and side shifts.
In the course of humanoid robot gait, various factors contribute to undesirable head motion, leading to potential errors in computer vision applications. Gait disturbances generally arise from the transmission of body motion to the head, primarily manifesting as unwanted rotations and translations along multiple axes. Specific sources may include hip swing, leg lifting, foot placement, and torso tilting during the walking cycle. Consequently, images captured by head-mounted cameras exhibit jitter, affecting tasks dependent on visual data, such as object detection, navigation, or interaction. Therefore, minimizing gait disturbances becomes crucial for enhancing the accuracy of visual perception and overall system reliability.
Understanding the diverse forms of gait disturbances allows researchers to develop effective compensation algorithms tailored to neutralize their effects. At the moment, these issues have been addressed in the literature in two different ways.
The first approach proposes a software image correction. For instance, in [], a feature tracker and an inertial measurement unit (IMU) are used to estimate the motion between frames, and then, a Kalman filter is used to remove these undesired motions. The proposal in [] describes the case of a teleoperated M2V2 humanoid robot with binocular video signals fed to the operator remote vision system. In this case, the image is processed to offer a stable vision experience during robot’s gait.
The other approach found in the literature is bioinspiration, which seeks to mimic the solutions found in nature to solve this problem. For instance, birds [], horses [], monkeys [], even small vertebrates [], and humans [,,] use the same strategy to solve the head stabilization problem. In all these cases, the main corrective action is to perform an opposite motion with the neck in order to cancel the perturbations and maintain the head in a relatively similar inclination. The equilibrium sensors, often located in the head, provide a reference allowing the subject to maintain its head horizontally (and therefore their vision systems) no matter their body positions. The evidences found in these works suggest that head stabilization has an impact in the performance of recognition, tracking and locomotion in the case of these animals, and the bioinspiration approach suggests that it can also be useful in the case of legged robots vision systems. Most authors agree that vertical rotation is typically less critical in terms of the robot’s visual sensory inputs stability, while managing horizontal disturbances plays a vital role in maintaining consistent imagery and facilitating accurate visual processing.
Nevertheless, most of today’s humanoid robots use a two DOF serial mechanism for head orientation, providing a complete scan of their environments, able to carry out frontal (pitch) and vertical (yaw) rotations, but unable to perform lateral bending motion (roll), needed to implement the discussed camera correction (see Figure 1).
Figure 1.
Comparison of the usual neck movements of a human (left) and a humanoid robot (right).
The pitch and yaw approach simplicity makes it a very common solution for humanoid head actuators. Robots such as HRP-4 [], Honda ASIMO [] or TEO [] follow this two DOF design (right of Figure 1). Similar motion capabilities are provided by the four-bar mechanism robotic neck in [], but also restricted to pitch and yaw motions. Because of that limitation, the described mechanical stabilization is not possible in these prototypes; therefore, the software approach is the only option in these cases.
Some designs, like the neck proposed in [], or the necks of Albert HUBO [] and Dav [], have actually three DOF, but even having the motion capabilities, there are no works in the literature regarding head stabilization for these robots. Probably, these designs are conceived to provide more human-like gestures or other tasks, and using their vision systems during locomotion is out of their scope.
Only a few works propose head stabilization implementations. For instance, in [], an IMU is used to measure the head inclination in order to stabilize the KOBIAN [] robot’s head, reporting an improvement in the virtual point following task. In [], a combination of bioinspired software filters and mechanical corrective actions are applied in two combined robot platforms, the biped robot SABIAN (a clone of the robot WABIAN []), and the iCub robot’s head []. In this case, two head orientation control strategies are also compared, a classic inverse kinematic approach and a bioinspired one based on feedback error learning.
Our humanoid robot TEO (see Figure 2) falls into the first group, featuring a two DOF neck, and therefore unable to perform these corrections either. However, in the last years, the projects HumaSoft (Diseño y Control de Eslabones Blandos para Robots Humanoides, with reference DPI2016-75330-P, funded by the Spanish Ministry of Economics, Industry and Competitiveness, 2016–2021) and SofIA (Articulación blanda inteligente con capacidades de reconfiguración y modularidad para plataformas robóticas, with reference PID2020-113194GB-I00, funded by the Spanish Ministry of Economics, Industry and Competitiveness, 2021–2024) have been working on the design of new soft limbs that can replace the existing rigid link components. Currently, two soft robot prototypes, an arm [] and a neck [], have been developed. The bioinspired soft neck was designed to resemble a human neck, able to mimic frontal (pitch) and lateral (roll) movements. Therefore, this soft neck can actually implement the discussed head correction in the robot TEO, as it provides the motions needed to cancel the gait disturbances.
The aim of this work is to propose a solution to the discussed problem of head image stabilization using the soft neck in TEO. For this purpose, the soft neck will replace the current one, and a feedback controller will be used in order to maintain the head orientation at all times, but, given the neck’s nonlinear characteristics (see []) and the disturbances expected during operation, it is important to consider a robust control strategy. Two types of controllers are proposed to this end: a proportional integral derivative (PID) controller and a fractional order proportional integral (FOPI) controller. In order to validate this approach, a set of varying mass and disturbances experiments has been designed and implemented. The results clearly show the improvement in performance and stability when using the fractional order controller.
1.1. The Humanoid Robot TEO
The robot TEO (Figure 2) is a full size humanoid with 4 limbs of 6 DOF, 2 DOF in its torso, and 2 DOF in the neck, making a total of 28 DOF (hands not included). It has proprioceptive sensors distributed in different locations (IMU, force-torque), and an advanced vision system with high resolution cameras (3D and 2D) located in the head. It was built by the Robotics Lab team http://www.roboticslab.uc3m.es (accessed on 1 March 2024) of Carlos III University of Madrid [], and designed as a service robot able at the moment to perform challenging tasks such as ironing fabrics [] or catering [,,].
Figure 2.
Humanoid robot TEO.
The current TEO’s neck can be observed in Figure 2. Only pitch and yaw motions are possible with this design, as is the case in most humanoid robots found in the literature. That configuration makes the camera image correction strategy described before very difficult to apply. Thus, replacing those 2 DOF by the soft neck described in [] will grant a more convenient neck configuration space and will provide a solution to that limitation.
1.2. Soft Robotic Neck
The soft neck, shown in Figure 3, consists of an thermoplastic elastomer (TPE) central soft link resembling a spine, and a parallel mechanism driven by cables (acting as tendons), which produce a tilt in the upper platform that can be measured by the attached IMU. The three tendons are evenly spaced, showing a separation of between each other (see Figure 4).
Figure 3.
Soft neck platform.
Figure 4.
Soft neck tendon actuation effects.
All parts can be produced with a 3D printer, including the soft link. This neck is designed to handle a payload of with an approximate total weight of (excluding motors and electronics). The three tendons are moved by actuators located at the neck’s base, which in turn are composed by a motor with planetary gear, an encoder and a driver, with the following characteristics:
- Driver: Technosoft iPOS 3604 MX-CAN. 144 W, 12–36 Volt, 4 Amp.
- Motor: Maxon RE 16 (118739). Graphite brushes, 48 Volt, 4 Watt.
- Gear: Maxon GP 16 A (134777). Diameter 16 mm, reduction 24:1.
- Encoder: Maxon MR (201937). Type M, 512 pulse, 2 Channels.
Each actuator position and velocity low level control is managed by the iPos intelligent motor driver. The actuator absolute position sets the final tendon length, and then, the upper platform rotation. In consequence, their velocities also control the upper platform rotational speed.
According to [,], this soft neck is hyper-redundant, and the DOF cannot be considered as usual. Nevertheless, there is a connection between the neck’s final tilt and the actuator positions. Adjusting the appropriate tendon lengths, the end effector can reach any X (pitch) and Y (roll) target. The Z axis rotation (yaw) is not considered, since it cannot change because of the neck design. Two rotations will then define the robot workspace as shown in Figure 3. These final pitch and roll rotations will be considered outputs in order to define a system model.
2. Plant and Control System Description
Given the described tendon configuration and the workspace covered by the neck, we are facing a multi-input/multi-output (MIMO) system with a non-linear behavior caused by the robot design and the central soft link, increasing the system modeling complexity. Fortunately, decoupling the variables as proposed in [] allows modeling this system with two simpler single-input/single-output (SISO) systems as described below.
When a tendon is pulled, the effect produced is a top platform rotation around its particular axis (see Figure 4) and the consequent translation in a perpendicular direction. Note that the tip inclinations and positions are correlated due to the neck mechanics.
Using the simplification described in [,], the following input redefinition can be used:
where are the decoupled inputs, that depend on the tendon lengths (). Given that link compression can be neglected, as neck geometry favors the lateral bending, can be considered constant (in this case, ). The parameters and are variable and depend on the current neck position. Since the proposed controllers are robust to plant changes, they can be considered constant for modeling. Furthermore, given the empirical approach, they can be integrated into the identified transfer function, and thus can be defined as and without loss of generality.
The decoupling intention is to consider an actuation variable affecting just one of the system outputs. For instance, according to this scheme, the final pitch angle () only depends on , making the other inputs () contribution negligible for the pitch angle output.
Replacing the considered and values and taking time derivatives in Equations (1)–(3), the same decoupling equations can be declared considering actuator velocities as model inputs.
where are the decoupled input angular velocities, that depend on the tendon linear speeds ().
In this case, the second set of Equations (4)–(6) were used; therefore, the considered plant inputs are and (remember that ). In order to define the plant outputs, the tip’s angles (, ), which can be directly measured by the IMU, were considered for convenience, introducing a natural integrator in the system.
System Identification
Using the decoupling scheme defined by Equations (4) and (5), the soft neck dynamics can be modeled using two SISO systems. The transfer functions and will model the measured outputs (, ) as a function of the redefined inputs (, ). Therefore, the measured pitch and roll angles are considered as system outputs while the actuator dependent decoupled pitch and roll actions are considered as inputs for identification. These dynamics are subject to a non-linear behavior because of the materials used and the neck design.
Instead of using non-linear tools to model the system and then linearize, it can be modeled with linear tools like the transfer function, as shown in [,] if the resulting model accuracy is adequate. During this process, all non-linear behavior existing in the real system is neglected, as the transfer function can only model a linear behavior. Using that simplification allows modeling the system with an identification algorithm like recursive least squares [].
In order to obtain the model parameters, an identification experiment was performed to capture the plant input-output behavior. For this purpose, a step input was introduced in the plant, and the corresponding output was registered. Given that the system input is a velocity, but the neck inclination has a limited working range, a sign alternating input is needed to avoid the maximum inclination that would cause output saturation. For the same reason, the expected transfer function order is two, including a real pole and an integrator. After testing different modeling options, the most accurate result was obtained with the standard two-pole and gain control engineering model.
The results obtained during the identification process are shown in Figure 5, including the input data (square signal), the measured plant output (real) and the simulated response (model) for the pitch () and roll () plant models.
Figure 5.
System identification experiment and results for the pitch (left) and roll (right) transfer functions.
A correct model behavior is observed, featuring an integrator, as expected due to the discussed system definition, and evidencing the conversion of velocity inputs to position outputs. The transfer functions obtained through a recursive least squares identification algorithm are:
Modeling accuracies are shown in Table 1 including the Akaike’s final prediction error (FPE) [] and the mean square error (MSE).
Table 1.
Model accuracy for pitch and roll transfer functions.
The resulting model shares many similarities with the one presented in [], as both approaches share several fundamental assumptions about the underlying physics. In this case, as shown below in the experimental section, the simulations match the actual system behavior with high accuracy, validating the proposed model.
Note how two poles are enough to model these systems with excellent accuracy. One of them is a close to pole, and the other is almost an integrator. The neck’s kinematics reduces the input effect as a function of the current angle, which explains why that pole is not a pure integrator. In essence, the more the tilt, the less the actuator effect on the final position, moving the pole away from the origin. That non-linear behavior can be linearized around any working point across the full operation range.
Given that the system identification was done using data captured over a range of inclinations from to (see Figure 5), the model obtained is a linearized system with a working point between the neck’s rest point in and a inclination.
Therefore, slightly different plant dynamics are expected for each neck configuration, which can degrade the specified control performance. In these circumstances, it is important to provide a robust control strategy in order to minimize the impact of plant dynamics changes on the final closed loop system performance. Similar to the literature, we define robustness as the ability to maintain a similar closed loop system response despite changes in plant parameters (usually gain), regardless of disturbance actions or external loads, allowing the system to track a reference with reasonable accuracy.
3. Control Strategy
In order to control the pitch and roll neck’s inclination, a feedback loop will be used for reference tracking, and a robust controller to shape the desired neck performance as shown in Figure 6. Controller robustness will be achieved fulfilling specific loop constraints based on a Bode’s ideal transfer function [], as discussed in [,].
Figure 6.
Proposed feedback control loop.
The control scheme proposed use integer and fractional order controllers. While the first ones apply derivatives and integrals to determine the control signal based on the measured tracking error, the fractional order controllers extend the capabilities of classical control blocks by generalizing the order of derivative and integral operators, achieving design specifications that their integer counterparts cannot meet [,]. Given the fractional controller flexibility, in this case, only one fractional operator is enough to completely fulfill the robust specifications in contrast to the two operators (derivative and integral) required in the integer controller case.
The fractional order proportional integral derivative (FOPID) controller was formulated for the first time by Podlubny [] and later studied in works such as [,,]. In this case, the specifications can be achieved with a fractional order proportional integral (FOPI) controller, providing an excellent result as shown in simulations and experiments. The FOPI transfer function is:
where is the fractional order integral (when ) operator.
An approximation of the fractional order operator is needed in order to implement the FOPI controller in the feedback control scheme. In this case, the equivalent finite impulse response discrete operator known as Grünwald-Letnikoff approximation described in [] was used.
A PID controller was also implemented for comparison. The PID transfer function considered is:
Note that both controllers defined in Equations (9) and (10) have the same number (three) of adjustable parameters. A robust behavior can also be achieved with an integer controller [,], but this is only applicable for very specific plant and controller conditions, as discussed in []. Even when the same number of adjustable parameters are available, integer order controllers are limited to certain specifications. In this case, the PID was unable to fulfill the robustness conditions, and therefore the constraints were relaxed in order to get a feasible system.
3.1. Control Specifications
In order to achieve the desired performance, phase margin () and gain crossover frequency () design specifications are imposed as detailed in []. According to that method, these open loop variables are directly related to the closed loop performance specifications of damping ratio () and peak time () through the following equations:
Choosing and solving Equation (11), a damping ratio of is found, resulting in an expected overshoot percentage of . Then, trying to get a peak time of one second, similar to the human neck response (see []) and fast enough to solve the stabilization problem proposed, a closed loop bandwidth of is found using Equation (12). Then, according to [], the required open loop crossover frequency should be (rounded up to for convenience). Therefore, the open loop frequency specifications are and , and the expected behavior is a time response of with overshoot.
3.2. Controller Design
Classic tuning methods cannot be applied to fractional order controllers, but other techniques have been developed. For instance, the works in [] propose the numeric solution of the non-linear equation systems in order to find the controller parameters fulfilling the specifications. In a similar approach, other works propose the use of optimization methods such as Particle Swarm Optimization [,], or Artificial Bee Colony algorithm [] in order to find these parameters. A comparative study for optimization algorithms applied to fractional controller tuning can be found in [].
The graphical solution of the non-linear equations is another approach developed recently. For instance, the works in [] or [] show a very intuitive and straightforward solution to the tuning problem. Given the proposed FOPI controller, the iso-m method described in [] can provide the controller parameters by following a series of simple steps that do not require heavy computational efforts. Only the model’s frequency response shown in Figure 7 is required to apply that tuning method.
Figure 7.
Bode diagram for pitch (left) and roll (right) plant models.
The following operations were carried out for the iso-m controller tuning in the pitch case:
- In order to achieve the phase margin specification, the controller need a phase of at , that is, . Besides, the controller is required to contribute with the opposite phase slope, that is, .
- Based on the values computed in Step 2, the fractional order (exponent) obtained in the slopes graph, available in [], is .
- Having and , is obtained as:
- ,
- ,
resulting . - Finally, the controller gain k is computed in order to adjust the crossover frequency,
- ,
resulting . - According to Equation (9), the controller parameters are: , , .
Following the same procedure for the roll plant model, the controller parameters , , were found. A summary with all the controller parameters is shown in Table 2.
Table 2.
FOPI controller parameters for and for pitch and roll FOPI control strategies.
The controller transfer functions are then:
The Bode diagram shown in Figure 8 displays how the resulting controllers meet the specifications proposed. Coincident with the 3 rad abscissa, values of 0 dB for the magnitude and a phase margin of 50 deg are observed, which implies that both loops fulfill the desired specifications. A zero phase slope can also be found at the crossover frequency, as expected from the iso-m tuning method description. This flat phase around the crossover frequency guarantees a constant phase margin (and therefore a constant overshoot behavior) around its nominal value, providing system robustness [].
Figure 8.
Bode diagram for pitch (top) and roll (bottom) control loops for the FOPI case.
Due to the fractional nature of the integrator considered, whose phase contribution is rather than the of an integer order operator, the phase margin at low frequencies is nearly . Therefore, the expected result is a reasonably stable system for any value of gain, no matter how small.
Once the controllers are designed, time response simulations for different gain values were performed. The results are shown in Figure 9.
Figure 9.
Time response simulation for the pitch (left) and roll (right) final controlled systems for different loop gains for the FOPI case.
If the system’s gain do not change, the peak time is perfectly in line with expectations (). In the case of different gains, the response is faster (higher gain) or slower (lower gain), but the system stability is the same, as shown through by the constant peak values (iso-damping property). Only a slightly higher overshoot of is obtained compared to the initial specifications (), but that is probably caused by the operator approximation used in the simulation, as will be shown in the experiments which perfectly fit the specifications.
Once the fractional order controllers are solved, the integer order PID tuning was addressed. The PID controller design has been widely discussed in the control literature [], resulting in a wide variety of different methodologies for controller parameter tuning. In this case, an adapted version of the algorithm described in [] has been used to obtain the parameters , and fulfilling the same specifications of phase margin and the gain crossover frequency. This modified version, described in [], allows defining a slope in the range of possible values that the integer order controller can reach. In this case, a flat phase slope was impossible, leaving two possible options: 1. Relax the flat slope constraint and loose the robustness properties, or 2. Relax the specifications and keep the robustness. We decided to take the second option for the sake of a better comparison, and increased the phase margin to . This allows compliance with the requirement described in [] of , while improving the PID stability conditions.
The following operations must be carried out for the counter-slope PID controller tuning method in the pitch case:
- In order to achieve the phase margin specification, the controller needs a phase of at , that is, . Besides, the controller is required to contribute with the opposite phase slope, that is, .
- Based on the values computed in Step 2, the variables T and M must be computed using the following equations:The results obtained in the pitch controller case are and .
- Using the previous values, the controller parameters can be obtained through the equations:The resulting parameters obtained for the pitch PID controller are and .
- Finally, the controller gain k is computed in order to adjust the crossover frequency, resulting .
- According to Equation (10), the controller parameters are: , , .
Following the same procedure for the roll plant model, similar controller parameters , , were found. A summary with all the controller parameters is shown in Table 3.
Table 3.
PID controller parameters for and for pitch and roll PID control strategies.
The PID transfer functions are then:
The Bode diagram shown in Figure 10 displays how the resulting controllers meet the specifications. Coincident with the 3 rad abscissa, values of 0 dB for the magnitude and a phase margin of 70 deg are observed, which implies that both loops fulfill the desired specifications. A zero phase slope can also be seen at the crossover frequency, as expected.
Figure 10.
Bode diagram for pitch (top) and roll (bottom) control loops for the PID case.
Compared to the previous controller, a smaller phase margin can be observed for the low frequencies around , meaning that the plant parameter changes will have an increased impact in the system’s stability.
Once the controllers are designed, time response simulations for different gain changes were performed. The results are shown in Figure 11.
Figure 11.
Time response simulation for the pitch (left) and roll (right) final controlled systems for different loop gain situations for PID case.
If the system’s gain do not change, the peak time and predicted overshoot is perfectly in line with expectations. In the case of different gains, the response time change as expected, but there is a poor robust behavior, as evidenced by the changing overshoot values. Note that the specifications were relaxed in this case, increasing the phase margin, which should lead to an improved stability, but due to the reduced phase margin at low frequencies, the behavior tends to be unstable for low gains. In the following section, the previously discussed issues will be experimentally tested and validated.
4. Results and Discussion
The first experiment performed is a step input of introduced as a reference in the closed loop system. All the angular positions were recorded during the experiment for different masses attached to the neck’s tip. The results obtained for the pitch and roll control are shown in Figure 12 and Figure 13, respectively, for both PID and FOPI controllers.
Figure 12.
Time response experiment for the pitch control system using PID (left) and FOPI (right) control schemes.
Figure 13.
Time response experiment for the roll control system using PID (left) and FOPI (right) control schemes.
The first impression is that both systems are quite robust to mass changes. The curves show that overshoots are really similar as expected from the specifications. Stability is excellent despite the different masses applied in the fractional controller case, and a slightly faster response ( vs. ) compared to the PID controller can be observed. In the PID case, a worse robustness behavior can be observed. Note the higher overshoot variation and the glitch between and (see Figure 13). Although the robustness is quite good in both controllers, making the curves overlap, a detailed study of the results show that the PID unstable behavior increase with the mass, unlike the FOPI controller which keeps the same stability parameters throughout the entire experiment.
Once verified the correct neck behavior, the next experiment aims to evaluate the proposed head stabilization system performance. For this purpose, the soft neck was installed on the humanoid’s trunk using the former neck mount, and then several motions were performed in order to recreate the disturbances associated with the walk. A total weight of 1000 g was attached to the neck in order to consider the worst case scenario.
The pitch and roll targets were set constant during all the experiment time, both to zero inclination, in order to keep the camera horizontally stabilized. At the same time, the frontal and axial humanoid trunk pose was changed at 8-s intervals for five different positions (see Table 4). Given the neck setup, these angles are fully transmitted to the neck base, forcing a tilt correction. The experiment was performed using both control strategies in order to compare their stabilization and performance characteristics. The IMU measurements were captured during the experiment, showing any deviation from the horizontal position (0, 0) and the transient system response. These head pitch and roll measured values are shown in Figure 14 for the whole experiment.
Table 4.
Trunk angles during the stabilization experiment in degrees.
Figure 14.
Final stabilized neck pitch and roll angles during the trunk movements of the robot using a PID controller (left) and a FOPI controller (right).
As observed in the figure, inclination changes correspond to the time sequence proposed, appearing in 8-s intervals. In all cases, an opposite angle is obtained at the beginning, due to the fast trunk position change, followed by a ramp, which results from the combination of the corrective action and the trunk movement. Finally, the inclination values tend to zero because of the neck final compensation.
Although both systems give roughly similar results, a closer look at the figure shows that PID stability is much worse, leading to sustained oscillations, indicative of an almost exhausted phase margin, which is to be expected in view of the Bode diagrams shown in Figure 7. The mass increase produces a lower loop gain that shifts the crossover frequency towards lower abscissa values, where a much smaller phase margin is available, making the system less stable. The FOPI controller performance is much cleaner, without notable oscillations. Note that the largest error () only lasts several seconds, and its value is three times lower than the tilt caused by the trunk ().
Using the same setup, a stability test against external disturbances was carried out. A research technician proceeded to push and move the neck with his hand (Figure 15), forcing it to move out of the rest position (pitch and roll at zero) while the control system was in operation and the neck loaded with a weight of . In this way, we can study the controller’s behavior in the face of a strong shock or disturbance.
Figure 15.
A research technician pushes the neck to study the behavior of both controllers and check their robustness to significant disturbances.
The experiment result is shown in Figure 16. As observed in the response, stability recovery with the FOPI controller is much faster (around 5 s), while in the PID controller case the oscillation is permanent due to the small phase margin, as discussed.
Figure 16.
Stabilization of the neck using a PID controller (left) and a FOPI controller (right) during disturbances generated by a person pushing it.
Finally, the last experiment considered is a demonstration of the system’s performance while stabilizing the image of a real camera. Having determined which of the two controllers is more convenient to implement the system, we prepared the FOPI control scheme and installed a camera at the neck’s end effector in order to visualize the stabilization results. In this case, an Intel RealSense was used to record how it would look from the camera’s point of view, while the trunk moves in the same positions discussed above. The camera setup is shown in Figure 17.
Figure 17.
Stabilization of a RealSense camera on a soft neck installed on the humanoid robot TEO while performing trunk movements.
Thanks to the FOPI controller, the movements carried out by the neck based on the changes made by the trunk are smooth, allowing a correct stabilization of the camera that maintains its pitch and roll values really close to zero.
All the experiments and results videos are available in: https://vimeo.com/756294204 (accessed on 1 March 2024).
5. Conclusions
This work proposes a bioinspired camera stabilization strategy for the humanoid robot TEO. As a difference from the existing literature, our approach is based on a soft neck, since its motion capabilities are more convenient for this task, and provide a better compliance, safer human-robot interaction and adaptability to complex environments.
In this case, the head stabilization is achieved with a feedback control scheme based on the neck’s embedded IMU device, providing full disturbance rejection and effective inclination control, very similar to behaviors observed in the nature. The system allows setting any head gaze and maintain it despite the robot’s lower body positions or gait disturbances, in a way very similar to humans and other animals, which interestingly are also walkers.
Along with the advantages provided by the soft robotics approach, there are also many open challenges, like the problematic kinematic definition or the high non-linearity, which complicates modeling and makes these systems difficult to control. Following the decoupled approach described in [,], and a feedback control strategy, an efficient solution using PID and FOPID controllers is proposed.
In order to assess the system performance with both controllers, an extensive set of experiments was carried out, including step response and real humanoid motion tests, all of them under varying payload conditions. As expected, given the plant characteristics, the classic PID controllers provide a poor performance even using robust design constraints, resulting in oscillations and unstable behavior for different inclinations and payloads. However, with the robust fractional controller, the performance and stability are drastically improved. As the theory and experiments avail, the FOPI provides more flexibility and allows achieving more demanding control requirements, offering better results due to a more moderate phase contribution than the integer order operator-based controllers.
Author Contributions
Conceptualization, J.M. and C.A.M.; methodology, J.M., L.M. and C.A.M.; software, R.d.S.-R.; validation, J.M., L.M. and R.d.S.-R.; formal analysis, J.M.; investigation, J.M., L.M. and C.A.M.; resources, C.A.M.; data curation, R.d.S.-R.; writing—original draft preparation, J.M.; writing—review and editing, J.M., L.M. and C.A.M.; visualization, R.d.S.-R.; supervision, C.A.M.; project administration, C.A.M.; funding acquisition, C.A.M. All authors have read and agreed to the published version of the manuscript.
Funding
The research leading to these results has received funding from the project SOFIA: Articulación blanda inteligente con capacidades de reconfiguración y modularidad para plataformas robóticas, with reference PID2020-113194GB-I00, funded by the Spanish Ministry of Economics, Industry and Competitiveness, MCIN/AEI/10.13039/501100011033, and Juan de la Cierva program, with reference FJC2021-046692-I, granted by of the Spanish Ministry of Science and Innovation.
Data Availability Statement
All data and codes associated with this work is available here: https://doi.org/10.21950/TAIGC4.
Conflicts of Interest
The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.
Abbreviations
The following abbreviations are used in this manuscript:
| IMU | Inertial Measurement Unit |
| PID | Proportional Integral Derivative |
| FOPI | Fractional Order Proportional Integral |
| FOPID | Fractional Order Proportional Integral Derivative |
| TPE | ThermoPlastic Elastomer |
| MIMO | Multi-Input/Multi-Output |
| SISO | Single-Input/Single-Output |
References
- Pirahansiah, F.; Sahran, S.; Abdullah, S.N.H.S. Camera Calibration and Video Stabilization Framework for Robot Localization. Stud. Syst. Decis. Control 2022, 371, 267–287. [Google Scholar] [CrossRef]
- Grotz, M.; Habra, T.; Ronsse, R.; Asfour, T. Autonomous view selection and gaze stabilization for humanoid robots. In Proceedings of the 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Vancouver, BC, Canada, 24–28 September 2017; pp. 1427–1434. [Google Scholar] [CrossRef]
- Shiroma, N.; Kobayashi, J.; Oyama, E. Compact image stabilization system for small-sized humanoid. In Proceedings of the 2008 IEEE International Conference on Robotics and Biomimetics, Bangkok, Thailand, 22–25 February 2009; pp. 149–154. [Google Scholar] [CrossRef]
- Ryu, Y.G.; Roh, H.C.; Kim, S.J.; An, K.H.; Chung, M.J. Digital Image Stabilization for humanoid eyes inspired by human VOR system. In Proceedings of the 2009 IEEE International Conference on Robotics and Biomimetics (ROBIO), Guilin, China, 19–23 December 2009; pp. 2301–2306. [Google Scholar] [CrossRef]
- Rittase, W.; Kandler, M.; Bevan, S.; Renzi, D.; Shooter, S.; Buffinton, K. Development of an interoperable and robust bipedal robot vision platform with image stabilization. In Proceedings of the Robotics and Applications, Vancouver, BC, Canada, 1–3 June 2011; ACTA Press: Calgary, AB, Canada, 2011; pp. 64–71. [Google Scholar] [CrossRef]
- Theunissen, L.M.; Troje, N.F. Head Stabilization in the Pigeon: Role of Vision to Correct for Translational and Rotational Disturbances. Front. Neurosci. 2017, 11, 551. [Google Scholar] [CrossRef] [PubMed]
- Dunbar, D.C.; Macpherson, J.M.; Simmons, R.W.; Zarcades, A. Stabilization and mobility of the head, neck and trunk in horses during overground locomotion: Comparisons with humans and other primates. J. Exp. Biol. 2008, 211, 3889–3907. [Google Scholar] [CrossRef] [PubMed]
- Dunbar, D.C.; Badam, G.L.; Hallgrimsson, B.; Vieilledent, S. Stabilization and mobility of the head and trunk in wild monkeys during terrestrial and flat-surface walks and gallops. J. Exp. Biol. 2004, 207, 1027–1042. [Google Scholar] [CrossRef] [PubMed]
- Jorissen, C.; Paillet, E.; Scholliers, J.; Aerts, P.; Goyens, J. Head stabilization in small vertebrates that run at high frequencies with a sprawled posture. Biol. J. Linn. Soc. 2020, 130, 195–204. [Google Scholar] [CrossRef]
- Pozzo, T.; Berthoz, A.; Lefort, L.; Vitte, E. Head stabilization during various locomotor tasks in humans. Exp. Brain Res. 1991, 85, 208–217. [Google Scholar] [CrossRef]
- Hirasaki, E.; Moore, S.T.; Raphan, T.; Cohen, B. Effects of walking velocity on vertical head and body movements during locomotion. Exp. Brain Res. 1999, 127, 117–130. [Google Scholar] [CrossRef] [PubMed]
- Hirukawa, H.; Kanehiro, F.; Kaneko, K.; Kajita, S.; Fujiwara, K.; Kawai, Y.; Tomita, F.; Hirai, S.; Tanie, K.; Isozumi, T.; et al. Humanoid robotics platforms developed in HRP. Robot. Auton. Syst. 2004, 48, 165–175. [Google Scholar] [CrossRef]
- Sakagami, Y.; Watanabe, R.; Aoyama, C.; Matsunaga, S.; Higaki, N.; Fujimura, K. The intelligent ASIMO: System overview and integration. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Lausanne, Switzerland, 30 September–4 October 2002; IEEE: Piscataway, NJ, USA, 2002; Volume 3, pp. 2478–2483. [Google Scholar] [CrossRef]
- Martínez, S.; Monje, C.A.; Jardón, A.; Pierro, P.; Balaguer, C.; Munoz, D. Teo: Full-size humanoid robot design powered by a fuel cell system. Cybern. Syst. 2012, 43, 163–180. [Google Scholar] [CrossRef]
- Tadesse, Y.; Subbarao, K.; Priya, S. Realizing a Humanoid Neck with Serial Chain Four-bar Mechanism. J. Intell. Mater. Syst. Struct. 2010, 21, 1169–1191. [Google Scholar] [CrossRef]
- Flores, E.; Fels, S.S. A novel robotic neck for realizing an anatomically accurate android head targeting facial perception research. In Proceedings of the The 23rd IEEE International Symposium on Robot and Human Interactive Communication, Edinburgh, UK, 25–29 August 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 205–210. [Google Scholar] [CrossRef]
- Oh, J.h.; Hanson, D.; Kim, W.s.; Han, Y.; Kim, J.y.; Park, I.w. Design of Android type Humanoid Robot Albert HUBO. In Proceedings of the 2006 IEEE/RSJ International Conference on Intelligent Robots and Systems, Beijing, China, 9–15 October 2006; IEEE: Piscataway, NJ, USA, 2006; pp. 1428–1433. [Google Scholar] [CrossRef]
- Han, J.; Zeng, S.; Tham, K.; Badgero, M.; Weng, J. Dav: A humanoid robot platform for autonomous mental development. In Proceedings of the 2nd International Conference on Development and Learning, ICDL 2002, Cambridge, MA, USA, 12–15 June 2002; IEEE: Piscataway, NJ, USA, 2002; pp. 73–81. [Google Scholar] [CrossRef]
- Kryczka, P.; Falotico, E.; Hashimoto, K.; Lim, H.o.; Takanishi, A.; Laschi, C.; Dario, P.; Berthoz, A. A robotic implementation of a bio-inspired head motion stabilization model on a humanoid platform. In Proceedings of the 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, Vilamoura-Algarve, Portugal, 7–12 October 2012; pp. 2076–2081. [Google Scholar] [CrossRef]
- Endo, N.; Momoki, S.; Zecca, M.; Saito, M.; Mizoguchi, Y.; Itoh, K.; Takanishi, A. Development of whole-body emotion expression humanoid robot. In Proceedings of the 2008 IEEE International Conference on Robotics and Automation, Pasadena, CA, USA, 19–23 May 2008; IEEE: Piscataway, NJ, USA, 2008; pp. 2140–2145. [Google Scholar] [CrossRef]
- Falotico, E.; Cauli, N.; Kryczka, P.; Hashimoto, K.; Berthoz, A.; Takanishi, A.; Dario, P.; Laschi, C. Head stabilization in a humanoid robot: Models and implementations. Auton. Robot. 2017, 41, 349–365. [Google Scholar] [CrossRef]
- Ogura, Y.; Aikawa, H.; Shimomura, K.; Kondo, H.; Morishima, A.; ok Lim, H.; Takanishi, A. Development of a new humanoid robot WABIAN-2. In Proceedings of the IEEE International Conference on Robotics and Automation, ICRA 2006, Orlando, FL, USA, 15–19 May 2006; IEEE: Piscataway, NJ, USA, 2006; pp. 76–81. [Google Scholar] [CrossRef]
- Beira, R.; Lopes, M.; Praca, M.; Santos-Victor, J.; Bernardino, A.; Metta, G.; Becchi, F.; Saltaren, R. Design of the robot-cub (iCub) head. In Proceedings of the 2006 IEEE International Conference on Robotics and Automation, ICRA 2006, Orlando, FL, USA, 15–19 May 2006; IEEE: Piscataway, NJ, USA, 2006; pp. 94–100. [Google Scholar] [CrossRef]
- Relaño, C.; Muñoz, J.; Monje, C.A.; Martínez, S.; González, D. Modeling and Control of a Soft Robotic Arm Based on a Fractional Order Control Approach. Fractal Fract. 2022, 7, 8. [Google Scholar] [CrossRef]
- Mena, L.; Monje, C.A.; Nagua, L.; Muñoz, J.; Balaguer, C. Test Bench for Evaluation of a Soft Robotic Link. Front. Robot. AI 2020, 7, 27. [Google Scholar] [CrossRef] [PubMed]
- Quevedo, F.; Muñoz, J.; Castano, J.A.; Monje, C.A.; Balaguer, C. Model Identification of a Soft Robotic Neck. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Las Vegas, NV, USA, 24 October–24 January 2021; IEEE: Piscataway, NJ, USA, 2020; pp. 8640–8645. [Google Scholar] [CrossRef]
- Estevez, D.; Victores, J.G.; Fernandez-Fernandez, R.; Balaguer, C. Robotic ironing with 3D perception and force/torque feedback in household environments. In Proceedings of the 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Vancouver, BC, Canada, 24–28 September 2017; pp. 6484–6489. [Google Scholar] [CrossRef]
- Garcia-Haro, J.M.; Oña, E.D.; Hernandez-Vicen, J.; Martinez, S.; Balaguer, C. Service robots in catering applications: A review and future challenges. Electronics 2020, 10, 47. [Google Scholar] [CrossRef]
- Hernandez-Vicen, J.; Martinez, S.; Garcia-Haro, J.M.; Balaguer, C. Correction of Visual Perception Based on Neuro-Fuzzy Learning for the Humanoid Robot TEO. Sensors 2018, 18, 972. [Google Scholar] [CrossRef] [PubMed]
- Martinez, S.; Garcia-Haro, J.M.; Victores, J.G.; Jardon, A.; Balaguer, C. Experimental Robot Model Adjustments Based on Force–Torque Sensor Information. Sensors 2018, 18, 836. [Google Scholar] [CrossRef] [PubMed]
- Martín Barrio, A.; Terrile, S.; Barrientos, A.; del Cerro, J. Robots Hiper-Redundantes: Clasificación, Estado del Arte y Problemática. Rev. Iberoam. De Automática E Informática Ind. 2018, 15, 351–362. [Google Scholar] [CrossRef]
- Martin, A.; Barrientos, A.; del Cerro, J. The Natural-CCD Algorithm, a Novel Method to Solve the Inverse Kinematics of Hyper-redundant and Soft Robots. Soft Robot. 2018, 5, 242–257. [Google Scholar] [CrossRef]
- Muñoz, J.; Piqué, F.; Monje, C.A.; Falotico, E. Robust Fractional-Order Control Using a Decoupled Pitch and Roll Actuation Strategy for the I-Support Soft Robot. Mathematics 2021, 9, 702. [Google Scholar] [CrossRef]
- Quevedo, F.; Muñoz, J.; Pena, J.A.C.; Monje, C.A. 3D Model Identification of a Soft Robotic Neck. Mathematics 2021, 9, 1652. [Google Scholar] [CrossRef]
- Ljung, L.; Söderström, T. Chapter Analysis. In Theory and Practice of Recursive Identification; MIT Press: Cambridge, MA, USA, 1983; pp. 136–250. [Google Scholar]
- Ljung, L.; Söderström, T. Theory and Practice of Recursive Identification; MIT Press: Cambridge, MA, USA, 1983; pp. 1–541. [Google Scholar]
- Bode, H.W. Network Analysis and Feedback Amplifier Design; Bell Telephone Laboratory Series; Van Nostrand: New York, NY, USA, 1945. [Google Scholar]
- Monje, C.A.; Chen, Y.; Vinagre, B.M.; Xue, D.; Feliu-Batlle, V. Fractional-Order Systems and Controls: Fundamentals and Applications; Springer Science & Business Media: Berlin, Germany, 2010. [Google Scholar]
- Muñoz, J. Robust Control Strategies Based on Fractional Calculus for Robotic Platforms. Ph.D. Thesis, Universidad Carlos III de Madrid, Madrid, Spain, 2020. [Google Scholar]
- Vinagre, B.M.; Feliu Batlle, V.; Tejado, I. Control fraccionario: Fundamentos y guía de uso. Rev. Iberoam. Autom. Inform. Ind. 2016, 13, 265–280. [Google Scholar] [CrossRef]
- Podlubny, I. Fractional-order systems and PIλDμ-controllers. IEEE Trans. Autom. Control 1999, 44, 208–214. [Google Scholar] [CrossRef]
- Rastogi, A.; Tiwari, P. Optimal tuning of fractional order PID controller for DC motor speed control using particle swarm optimization. Int. J. Soft Comput. Eng. 2013, 3, 150–157. [Google Scholar]
- Monje, C.A.; Vinagre, B.M.; Santamaría, G.E.; Tejado, I. Auto-tuning of fractional order PIλDμ controllers using a PLC. In Proceedings of the 2009 IEEE Conference on Emerging Technologies Factory Automation, Palma de Mallorca, Spain, 22–25 September 2009; IEEE: Piscataway, NJ, USA, 2009; pp. 1–7. [Google Scholar] [CrossRef]
- Ranjbaran, K.; Tabatabaei, M. Fractional order [PI], [PD] and [PI][PD] controller design using Bode’s integrals. Int. J. Dyn. Control 2018, 6, 200–212. [Google Scholar] [CrossRef]
- Valerio, D.; da Costa, J.S. An Introduction to Fractional Control; Control, Robotics and Sensors; Institution of Engineering and Technology: Hertfordshire, UK, 2012. [Google Scholar] [CrossRef]
- Barbosa, R.S.; Machado, J.A.T.; Ferreira, I.M. Tuning of PID Controllers Based on Bode’s Ideal Transfer Function. Nonlinear Dyn. 2004, 38, 305–321. [Google Scholar] [CrossRef]
- Chen, Y.; Moore, K.L. Relay Feedback Tuning of Robust PID Controllers with Iso-damping Property. IEEE Trans. Syst. Man, Cybern. Part B (Cybern.) 2005, 35, 23–31. [Google Scholar] [CrossRef] [PubMed]
- Nise, N.S. Frequency response techniques. In Control Systems Engineering; Wiley: Hoboken, NJ, USA, 2019; Chapter 10; pp. 525–612. [Google Scholar]
- ZegersDeBeyl, D.; Salvia, P. Neck movement speed in cervical dystonia. Mov. Disord. 2009, 24, 2267–2271. [Google Scholar] [CrossRef]
- Khandani, K.; Jalali, A.A. Robust Fractional Order Control of a DC Motor Based on Particle Swarm Optimization. In Advanced Materials Research; Trans Tech Publications: Baech, Switzerland, 2012; Volume 403, pp. 5030–5037. [Google Scholar] [CrossRef]
- Karaboga, D.; Basturk, B. A powerful and efficient algorithm for numerical function optimization: Artificial Bee Colony (ABC) algorithm. J. Glob. Optim. 2007, 39, 459–471. [Google Scholar] [CrossRef]
- Xue, D.; Chen, Y. A comparative introduction of four fractional order controllers. In Proceedings of the 4th World Congress on Intelligent Control and Automation (Cat. No.02EX527), Shanghai, China, 10–14 June 2002; Volume 4, pp. 3228–3235. [Google Scholar] [CrossRef]
- Muresan, C.I.; Dulf, E.H.; Both, R. Vector-based tuning and experimental validation of fractional-order PI/PD controllers. Nonlinear Dyn. 2016, 84, 179–188. [Google Scholar] [CrossRef]
- Muñoz, J.; Monje, C.A.; Nagua, L.F.; Balaguer, C. A graphical tuning method for fractional order controllers based on iso-slope phase curves. ISA Trans. 2020, 105, 296–307. [Google Scholar] [CrossRef]
- Åström, K.; Hägglund, T. Advanced PID Control; ISA—The Instrumentation, Systems and Automation Society: Pittsburgh, PA, USA, 2006. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).