1 Introduction

With the development of cooperative robots, robots are no longer confined to traditional industrial production in structured environment, but gradually going to unstructured environments for physical Human–Robot Interaction (pHRI). Complying with the core criterion of safety for pHRI, the robot should not be dangerous for operators, which requires future robots with abilities of variable stiffness and compliant as humans.

To improve the safety of the robot, the best option is to mimic the stiffness adjustment of the human arm joints [1, 2]. Based on the bionic principle of human muscles, early researchers proposed the pneumatic and electrical polymer artificial muscles [3]. Meanwhile, researchers have added elastic elements between the traditional actuator and the load to form a Series Elastic Actuator (SEA), which achieves flexibility and safety [4]. However, the applications of artificial muscles and SEA are limited owing to their non-adjustable stiffness. Different from the fixed compliance type joint, the stiffness of the actuator could be changed dynamically, which could maximize storage and release the impact energy, ensuring the safety of pHRI [5].

The stiffness of biological joints could be adjusted through the joint contraction of agonist and antagonist, which has been applied in robot technology [6]. In this way, based on the antagonism principle of human arm muscles, where two elastic components work together to control the equilibrium position of the joints and generate compliant torque, two motors are used to adjust the antagonistic. Antagonistic VSAs are mainly divided into two types: series [7] and parallel [8]. The VSA-I and VSA-II prototype are examples of the antagonism principle [9, 10]. However, the synchronous control method, which causes high energy consumption and control complexity, seriously limited the applications of antagonistic VSA.

In contrast to the previous concept of antagonistic control of stiffness, mechanical structural control could achieve changing stiffness by adjusting the effective length of spring where AwAs-I [11], AwAs-II [12], compact-VSA [13], and HVSA [14] are representative examples. The mechanical structure of VSA used the position motor to increase the mechanical adaptability, and used the stiffness motor to change the strain of elastic element or the effective length of lever for variable stiffness performance. This method can quickly adjust the joint stiffness and reduce the energy loss. Currently, this type of variable stiffness joints generally used ball screws, racks, or planetary gear trains to change the position of the fulcrum, which caused the larger structure.

In addition, Groothuis et al. [15] and Wolf et al. [16] used the principle of cantilever beams to achieve stiffness adjustments by changing the effective lengths of elastic elements. Although the position and stiffness can be controlled independently, but the two actuators must always operate synchronously, which would cause the controller extremely complex and low space utilization. Fortunately, the simplified design of the variable stiffness joints and commercial off-the-shelf components provided an opportunity to reduce the cost by reducing the number of custom-made parts [5].

To summarize, the various VSAs, with functions of imitating human work behavior, are designed to refer human structures [17, 18], which is a typical ball socket joint driven by parallel muscle clusters [19], as shown in Fig. 1. However, the current studies are mainly focused on 1-DOF variable stiffness joints, lacking studies on multi-DOF variable stiffness joints [20].

Fig. 1
figure 1

Structure of human ball-and-socket joint

With the aim of resolving such problems, a novel compact structure and small volume 2-DOF VSA for shoulder joint applications is proposed, and the stiffness could be adjusted by changing the effective length of the leaf springs. The 2-DOF motion is achieved by a Spherical Wrist Parallel Mechanism (SWPM), which acts like a universal joint (U-joint). Therefore, the SWPM can imitate the movement of the human shoulder joints. The leaf springs are arranged in parallel, which significantly reduces the mass and volume of the actuators. The mathematical model is developed to reveal workspace and variable stiffness performance. The characterization of the actuator is experimentally tested and verified.

The organization of this paper is as follows: In Sect. 2, the method and principle of variable stiffness are introduced. In Sect. 3, the modeling of a 2-DOF VSA is described, and the analysis and calculation of the actuator are given. In Sect. 4, the prototype, related experiments, and a comparative analysis are described. Finally, future work and concluding remarks are given in Sects. 5 and 6.

2 Mechanical Design

2.1 Principle of the 2-DOF VSA

The conceptual design of 2-DOF VSA is shown in Fig. 2. Based on the structure of human shoulder joint (a), the form of a spherical wrist joint is proposed to realize a 2-DOF VSA (b). The rod at the top of the actuator acts as power output. The screw is driven by adjusting motor to change the slider position on leaf spring, thereby adjusting the stiffness of actuator. The rotation 1 and rotation 2 are connected by a coupling device, and be driven to deflect through the output rod. The workspace of the output rod is a sphere, which can successfully imitate the front–back and left–right movement of the human shoulder joint.

Fig. 2
figure 2

Conceptual design of 2-DOF VSA. a Front-back and left–right movement of human shoulder joint. b 2-DOF VSA is designed to imitate human shoulder joint

2.2 Variable Stiffness Mechanism Based on Leaf Springs

The structure of VSA adopts a parallel and uniform arrangement of the leaf springs, as shown in Fig. 3a. The rollers could be driven simultaneously by a single motor, and moving parallel along the leaf springs. The 2-DOF VSA adjusts the stiffness of the joint by changing the elastic deformation ability of the leaf springs, as shown in Fig. 3b. When the rotating shaft rotates around its center, the free end of the leaf springs deflects with the lever arm on the rotating shaft, where the part of the leaf springs between the guide rail and roller will be deformed. When the actuator is operating, the direction of the deflections of the leaf spring is perpendicular to the load direction caused by the elastic elements, which means that the load is perpendicular to the force of the stiffness adjustment. By changing the distance between the guide rail and the roller to change the effective length of the leaf springs, so as to achieve active control of the stiffness.

Fig. 3
figure 3

Variable stiffness unit of the 2-DOF VSA

The SWPM is used to achieve a 2-DOF U-joint motion. The structure can operate as a human shoulder joint. The SWPM consists of four parts: rotating shaft 1, rotating shaft 2, parallel mechanism 1, and parallel mechanism 2. These four parts are each connected by an output rod, and the rods intersect at the center of the actuator. The rotating shafts are coupled by parallel mechanisms and output rod, as shown in Fig. 4. When the output rod is deflected, the rotating shafts rotate simultaneously due to the coupling effect of the parallel mechanisms. The rollers are connected to the lever arm and interact with the free end of the leaf springs, as shown in Fig. 3.

Fig. 4
figure 4

Principle of 2-DOF SWPM

2.3 Mechanical Design of the Actuator

As shown in Fig. 5a, a detailed implementation scheme of a 2-DOF VSA was designed. The 2-DOF VSA consists of two parts: an SWPM and a Variable Stiffness Unit (VSU), shown in Fig. 5b, c. The leaf springs are arranged orthogonally and connected to the rotating shafts of parallel mechanisms. The four rollers are torque-generating elements that act in contact with the free ends of the leaf springs in each direction, respectively, resulting in an anti-torque effect. When the 2-DOF VSA output rod is in an equilibrium position and the adjustment slider is at the end of the guide rail, there is no force on either side of the roller. All leaf springs are in a natural state, and the 2-DOF VSA is in a maximum state of compliance. A motor is fixed in the center of the base and the adjusting the rollers move parallel along the leaf springs. It mainly adjusts the effective length of the VSU leaf springs synchronously to achieve a continuous stiffness adjustment. When the adjusting motor changes the distance of the adjustment slider to control the distance between the guide rail and the roller (the effective length of the leaf springs), the resistance torque of the leaf springs increases (or decreases), which causes the output stiffness to change as the slider moves.

Fig. 5
figure 5

CAD model of 2-DOF VSA: a detailed implementation of 2-DOF VSA, b SWPM, and c VSU

3 Modeling of the 2-DOF VSA

The stiffness adjustment of the 2-DOF VSA is realized through adjusting the effective length of leaf springs. L is the effective length of the leaf springs during the movement of the guide rail. θ is the deflection angle of the leaf springs. ω1 is the deflection of the end of the leaf springs under the load. The principle of the VSU is shown in Fig. 6, where M is the component torque of the actuator, F represents the force between the roller and leaf springs, and φ represents the deflection angle of the output end with respect to the equilibrium position. Joint axis point o denotes the axis of the output joint, around which the output part of the joint with variable stiffness will rotate.

Fig. 6
figure 6

Modeling and analysis of the VSU. Computational model of the variable stiffness

According to the geometric relation shown in Fig. 6, the force F is acting on the leaf springs in the point Qi, which is the end point for the point Q0 moving on the arch. R is the distance between the center point of the roller and the center point o of the output joint. The roller has a radius of r. The vertical displacement distance of roller center is ω1:

$$R\sin \varphi = \omega_{1} .$$
(1)

When the actuator outputs the torque, the force direction of the free end of the leaf springs will change, and the force direction will follow the leaf springs bending perpendicular to the surface. The Qi point deflection and angle can be obtained:

$$\omega_{2} = \frac{{{\varvec{F}}L^{3} }}{3EI},$$
(2)
$$\theta = \frac{{{\varvec{F}}L^{2} }}{2EI}.$$
(3)

Because the deflection angle of the leaf spring is less, cos θ is approximately equal to 1:

$$\omega_{2} = R{\text{sin}}\varphi + r\left( {\cos \theta - 1} \right).$$
(4)

The free end deflection ω2 of the leaf spring is approximately equal to the vertical moving distance ω1 of the roller center:

$$\omega_{2} = \omega_{1} .$$
(5)

The load on the free end is

$${\varvec{F}} = \frac{3\sin \varphi EIR}{{L^{3} }}.$$
(6)

The cross-sectional area of the leaf springs is rectangular, and its cross-section moment of inertia is

$$I = \frac{{ab^{3} }}{12}.$$
(7)

The a is the length of the rectangular cross-section of the leaf springs, and the b is the width of the rectangular cross-section of the leaf springs.

There is a very important relationship between the angle φ of VSA and the deflection angle θ of leaf springs, in the determination of actuator size, torque size, and stiffness range analysis. According to the deflection angle Eqs. (2) and (3) of the free end and the vertical displacement distance of roller center is ω1 and Eq. (5), the relationship between the passive deflection angle and the bending angle of the VSA can be obtained φmax:

$$\varphi_{\max } = \arcsin \left( {\frac{2L}{{3R}}\tan \theta_{\max } } \right).$$
(8)

In this study, the core element of the VSA is the leaf springs. The reliability analysis of the leaf springs ensures that the elastic element does not produce plastic deformation in the maximum bending. The limit deflection angle θ of the leaf springs is limited to less than 12°. The small deflection of the beam is the main one, and the approximate differential equation of the deflection of the beam is used. To make the VSA meet the design requirements, its stiffness characteristics and maximum torque value are within the safe range.

When the passive angle of the VSA reaches maximum, the bending angle of the leaf springs also reaches the maximum value. The bending moment of the leaf springs clamped on the roller is the maximum, and the bending normal stress is

$$\left\{ {\begin{array}{*{20}c} {\sigma_{\max } = \frac{{{\varvec{M}}_{z} }}{{W_{z} }}} \\ {W_{z} = \frac{{ab^{2} }}{6}} \\ {{\varvec{M}}_{z} = {\varvec{F}}L} \\ \end{array} } \right..$$
(9)

The above conditions are brought into Eq. (5) to obtain the maximum bending normal stress on the leaf springs for

$$\sigma_{\max } = \frac{{6{\varvec{F}}L}}{{ab^{2} }}.$$
(10)

To ensure that the variable stiffness actuator is in the reliable range. It is necessary to ensure that the core element leaf spring does not produce bending deformation, and its maximum bending is within the allowable tensile stress range:

$$\sigma_{\max } \le \left[ \sigma \right] = \frac{{\sigma_{{\text{s}}} }}{n}.$$
(11)

For plastic materials, the tensile stress is σs/n, where n is the safety factor.

The following load F Eq. (6) on the free end of the leaf spring is substituted into the Eqs. (10) and (11), and the effective length L range Eq. (7) of the leaf spring is obtained

$$L \ge \frac{nEb\tan \theta }{{\sigma_{{\text{s}}} }}.$$
(12)

Leaf springs of 65 Mn are adopted for the actuator. Its cross-section is a = 10 mm, b = 0.6 mm, its elastic modulus is E = 208 Gpa, and its yield strength is σs = 726 MPa. Based on the small deformation theory of cantilever beam, the deflection angle of leaf springs is θ = 12°, and the integral value is L = 45 mm.

Take L into Eq. (12) to obtain the deflection angle of the actual leaf springs θ = 12.04°. Deflection angle φmax = 14.83°. Substituting L = 45 mm, its lever arm length is R = 25 mm, its roller radius is r = 5 mm to Eq. (8), and the limit deflection angle of variable stiffness actuator φmax = 14.83° is obtained.

A curve of the passive deflection limit φmax as a function of the effective length L of the leaf spring can be made from Eq. (8). As the effective length of the leaf spring increases, the passive deflection angle of the output rod increases approximately linearly.

Torque of the force F acting on rollers

$${\varvec{M}} = {\varvec{F}}(R\cos \varphi - r\sin \varphi ).$$
(13)

Substituting Eq. (6) into the Eq. (13) can be obtained

$${\varvec{M}} = \frac{3R\sin \varphi EI(R\cos \varphi - r\sin \varphi )}{{L^{3} }}.$$
(14)

Furthermore, the stiffness of the 2-DOF VSA is obtained by combining Eqs. (14) and (15):

$$K = \frac{{{\text{d}}{\varvec{M}}}}{{{\text{d}}\varphi }},$$
(15)
$$K = \frac{{3EI(R^{2} \cos (2\varphi ) - Rr\sin (2\varphi ))}}{{L^{3} }}.$$
(16)

According to Eq. (14), the relationship between the passive angle and the effective length is shown in Fig. 7. When the physical properties of the leaf springs are determined, the effective length of the leaf springs and the passive deflection angle φ changing the torque of the actuator can also be determined. It can be seen that the torque of the 2-DOF VSA increases nonlinearly when the effective length of the leaf springs decreases, and the torque reaches the maximum when L = 0. The maximum torque of the actuator is 60 N·m, which depends on the leaf springs within the yield range.

Fig. 7
figure 7

Theoretical analysis of variable stiffness characteristics. Torque curve of the actuator with different effective lengths

To obtain an accurate output of the coupling torque and a coupling stiffness of the output rod, a theoretical analysis of the SWPM is carried out. The torque model is set in spherical coordinates, and the workspace of the output rod is spherical. The origin is set at the orthogonal position of the rollers. As shown in Fig. 8a, α is the rotational angle component of the SWPM, δ and η are the rotation angles of the horizontal and vertical planes respectively in the spherical coordinates, Mδ and Mη is the component of the torque M in different directions, and d is the radius of the output rod. The length of the output rod is 50 mm, and its working surface is a part of the spherical surface. The spherical vertex in Fig. 8b shows the position of the output rod under no load. The αx and αy angles represent the position of the output rod in when the maximum rotation angle φ of the two rollers are ± 14.83°.

Fig. 8
figure 8

Analysis of SWPM

The a is the coordinate at the top of the output rod. The workspace of SWPM is given by

$${\varvec{a}}_{3} = {\varvec{a}}_{1} \times {\varvec{a}}_{2} = \frac{{\cos \alpha_{x} \sin \alpha_{y} }}{{\sqrt {1 - \sin^{2} \alpha_{x} \sin^{2} \alpha_{y} } }}{\varvec{i}} - \frac{{\sin \alpha_{x} \cos \alpha_{y} }}{{\sqrt {1 - \sin^{2} \alpha_{x} \sin^{2} \alpha_{y} } }}{\varvec{j}} + \frac{{\cos \alpha_{x} \sin \alpha_{y} }}{{\sqrt {1 - \sin^{2} \alpha_{x} \sin^{2} \alpha_{y} } }}{\varvec{k}}.$$
(17)

The relationship between the coordinate of SWPM and the rotational angle of the rotation axis is as follows:

$$\left\{ \begin{gathered} \eta = \arctan \left( {\frac{{\alpha_{x} }}{{\alpha_{y} }}} \right) \\ \delta = \sqrt {\alpha_{x}^{2} + \alpha_{y}^{2} } \\ \end{gathered} \right..$$
(18)

For the rigidity of the SWPM and constant speed, the differential matrix of the angle of Eq. (18) is shown through Eq. (19), and the speed of the SWPM and the speed of the rollers are coupled by a constant linear relationship J:

$$\left[ \begin{gathered} \text{d}\eta \hfill \\ \text{d}\delta \hfill \\ \end{gathered} \right] = {\varvec{J}}\left[ \begin{gathered} \text{d}\alpha_{x} \hfill \\ \text{d}\alpha_{y} \hfill \\ \end{gathered} \right],$$
(19)
$${\varvec{J}} = \left[ {\begin{array}{*{20}c} {\frac{{\alpha_{y} }}{{\alpha_{x}^{2} + \alpha_{y}^{2} }}} & { - \frac{{\alpha_{x} }}{{\alpha_{x}^{2} + \alpha_{y}^{2} }}} \\ {\frac{{\alpha_{x} }}{{\sqrt {\alpha_{x}^{2} + \alpha_{y}^{2} } }}} & {\frac{{\alpha_{y} }}{{\sqrt {\alpha_{x}^{2} + \alpha_{y}^{2} } }}} \\ \end{array} } \right].$$
(20)

The output torque Mo relationship can be obtained as follows:

$${\varvec{M}}_{{\text{o}}} = {\varvec{J}}^{\text{T}} {\varvec{M}}.$$
(21)

It can be seen from Fig. 8 that the coupling matrix J indicates that the SWPM is affected by the two directions of the motions, and the placement stiffness of the roller is k1 = k1(L) and k2 = k2(L). The VSA with a coupling stiffness output Ko are given by the following:

$$K_{{\text{o}}} = {\varvec{J}}^{{ - \text{T}}} \left[ {\begin{array}{*{20}c} {k_{1} } & 0 \\ 0 & {k_{2} } \\ \end{array} } \right]{\varvec{J}}^{ - 1} .$$
(22)

4 Experiments and Results

4.1 Experimental Prototype

The experimental platform of the VSA consists of the position drive motor, the control board, and the encoder, as shown in Fig. 9. The angle of rotation of the joints is measured by the encoder. When the adjustment motor rotates, it drives the screw to rotate and adjust the effective length of the leaf springs.

Fig. 9
figure 9

2-DOF VSA experiment platform

4.2 Actual Output Torque Measurement

To verify the variable stiffness characteristics of the 2-DOF VSA, the actual stiffness of the VSA is obtained. The curve of the passive deflection angle φ and the torque M is obtained by applying a static load to the VSA. To quantify the effect of the effective length of the leaf springs on the VSA stiffness, the following experiments were carried out on a VSU with 6 effective length L (ranging from 10 to 35 mm with increments of 5 mm) springs. Based on the experimental data-point fitting, the relationship between the deflection angle and the torque of the 2-DOF VSA is as shown in Fig. 10a. Through comparison, it is found that there are errors between the theoretical value and the experimental value. The main reason is that the gravity effect of the output rod and the measurement error are not ignored. The torque–deflection angle curve of the loading and unloading phases is shown in Fig. 10b. During the unloading phase, a torque hysteresis exists. The hysteresis is larger in the lower stiffness presets, and smaller in the higher presets. The hysteresis in the lower stiffness presets is mainly caused by the machining error of the joint and the internal friction and clearance. In the high preset, the stiffness hysteresis is small, mainly owing to the elastic deformation of the leaf springs.

Fig. 10
figure 10

Torque versus deflection by static experiments of VSA with different rotation angles. a Stiffness profile of 2-DOF VSA with regulating displacement 10–35 mm. b The torque–deflection angle curve of the loading and unloading phases

4.3 Regulation Response

This experiment was conducted to obtain the static stiffness of the VSA by applying an increasing static load to the VSA to obtain the relationship between the passive deflection angle of the actuator and the load moment. The base was controlled to move from the initial position point (L = 35 mm) by a single movement of 5 mm, and at each position point, the loading conditions were varied, and the magnitude of the static moment and the passive deflection angle of the output rod were recorded. The comparison between theoretical stiffness and measured stiffness of 2-DOF VSA is shown in Fig. 11a. It can be seen that the actual stiffness is below the theoretical stiffness. This is due to the gap between the machining error and the mechanical structure. The time required for a minimum to maximum stiffness adjustment is measured by the adjusting motor, as shown in Fig. 11b. During the experiment, a load of 286.7 g is applied at the end of the output rod. The rollers moved rapidly from 35 to 10 mm in terms of the effective length, and the stiffness changes from 2.38 to 138.17 N·m/rad in 1.5 s.

Fig. 11
figure 11

Variable stiffness analysis of the 2-DOF VSA. a Theoretical stiffness and measurement stiffness. b Stiffness step response experiment

4.4 Tracking Results

The position tracking experiment verifies the oscillatory characteristics of the end of the actuator. The deviation between the expected position and the actual position of the motor is reduced by the PD controller, and the semi-closed-loop tracking control of the stiffness is finally completed. The output rod (rod length 100 mm, weight 32 g) was first placed in the equilibrium position without load. The guide rails were moved to 10 mm (high stiffness = 125 N m/rad) and 35 mm (low stiffness = 2.5 N m/rad) for comparison experiments. The driving position motor of the joint rotates the joint from the equilibrium position to 120°. The rotation speed is 6.46 rad/s. The encoder readings were recorded at 0.02 s intervals and the motor position was plotted against the experimental data as a function of time. It can be seen from Fig. 12 that the smaller the stiffness is, the larger the amplitude of the vibration. The rise time is 0.103 s under high stiffness with a settling time of 0.297 s. The rise time is 0.196 s under low stiffness with a settling time of 0.804 s. The position tracking experiment verified that the joint has good stiffness and positional accuracy when moving.

Fig. 12
figure 12

Position tracking experiment

The 2-DOF VSA has to have a high bandwidth performance to ensure that the actuator can deliver the required torque/position accurately and quickly. In the process, the actuator has to ensure a stable response to reduce oscillations and improve the smoothness and safety of the interaction.

Experiments on position tracking of the VSA at low and high loads (low load = 5 g, high load = 500 g) with K1 = 2.5 N m/rad and K2 = 100 N m/rad stiffness. As can be seen in Fig. 13a, b, the position output curve matches the reference signal better at high stiffness and low load, and the overall position response of the VSA is more accurate. The VSA was given a constant load of 0.5 N m during motion at low stiffness (2.5 N m/rad) and the test results are shown in Fig. 13c. The same control conditions were then maintained and the applied load was changed to 15 N m to evaluate the torque tracking performance of the VSA at high stiffness (100 N m/rad) and the results are shown in Fig. 13d.

Fig. 13
figure 13

2-DOF VSA position and torque response tests for different loads

When the applied load was 1.5 N m, the VSA oscillated slightly in response, producing a maximum overshoot of 0.19 N m, indicating a maximum tracking error of 12.7% during actuator tracking of a 1.5 N m load, as shown in Fig. 13c. The test results for the VSA tracking a 15 N m load are shown in Fig. 13d, where the VSA response is smooth and almost oscillation free at large loads.

From the analysis of the above test results, it can be concluded that the VSA can quickly and accurately achieve the torque requirements for different interaction tasks, regardless of whether the interaction load is large or small. At the same time, the VSA response does not oscillate during interaction with large loads, maintaining high response smoothness and controlling bandwidth performance.

4.5 Collision Experiments

To illustrate the physical human interaction performance of the 2-DOF VSA during an accidental active collision, a kicking-ball experiment was carried out. The length of the output link is 500 mm, which is connected to the output rod of the 2-DOF VSA, as shown in Fig. 14a. A steel ball with a diameter of 25 mm and a mass of 65 g is used. The ball is kicked and thrown out at a height of 130 mm. To eliminate the effect of the gravitational potential energy of the output rod in the relationship between the stiffness value and the distance the ball was kicked, a method controlling a single control variable was used to rotate the output rod at the same free horizontal position at a speed of 2.6 rad/s at different stiffness values. The red diamond symbol indicates the travel distance of the steel ball when being kicked at the corresponding stiffness value, as shown in Fig. 14b. The stiffness 147 N·m/rad of the VSA, the ball will travel 452 mm and the stiffness 2.5 N·m/rad of the VSA, the ball will travel 361 mm. In this experiment, the distance the ball travels at lower stiffnesses is mainly influenced by the gravitational potential energy of the rod. However, the stiffness value and the distance traveled are exponentially increasing. This also proves that the variable stiffness actuator has a good energy storage performance (ignoring the effect of gravitational potential energy). The experiment results show that the acceleration of the steel ball after a collision is affected by the different degrees of stiffness. A lower stiffness results in less elastic potential energy of the 2-DOF VSA, which is converted into the kinetic energy of the ball. The acceleration of the ball is smaller, which means that physical human interaction collisions with less stiffness are safer.

Fig. 14
figure 14

Experimental setup for kicking-ball experiments. a An output link is attached to the 2-DOF VSA and the link kicks the steel ball (65 g, ϕ 25 mm). b The distance that the steel ball is kicked traveling at different stiffnesses

As shown in Fig. 15, a passive safety collision for the physical human interaction performance test platform of 2-DOF VSA is built, which is mainly composed of actuator, STM32, encoder, guide rail, and upper computer. The inclination angle between the guide rail and the horizontal plane is 6.5°, the counterclockwise deflection is 20°, the mass of the steel ball is m1 = 65 g and m2 = 151 g, the stroke of the steel ball in the guide rail is 400 mm, and the length of the output rod is 20 mm. Release the steel ball with different mass to impact the actuator with 2-DOF and variable stiffness, and verify its safety collision performance in the direction of 2-DOF. Release two steel balls with the same material quality at the initial point, and adjust the variable stiffness adjusting motor, so that the effective length L of the leaf spring is 35 mm, 20 mm, and 10 mm. The deflection angle of the output rod in the direction of 2-DOF is recorded by two encoders. By recording the angle in Fig. 15, it is found that as the stiffness of the actuator increases, the passive deflection angle in the direction of 2-DOF decreases gradually, which verifies variable stiffness characteristics of the 2-DOF VSA and excellent collision energy storage characteristics.

Fig. 15
figure 15

Deflection angle in the direction of two degrees of freedom

5 Discussion

The innovation of the proposed VSA is the variable stiffness of the 2-DOF based on the parallel SWPM. The SWPM and VSU couple the 2-DOF VSA, which significantly reduces the overall structure size and lightens the weight. The variable stiffness actuator of this study can achieve a wide range of rotation, and the stiffness adjustment range is close to zero to ∞ (Stiffness will simply approach zero in the limit, but never get there). The core part of the VSA is the uniform arrangement of the leaf springs and the single motor that can adjust the actuator stiffness. This approach both reduces motor space occupation and achieves continuity of stiffness adjustment.

In addition, compared to other types of VSAs, the actuator can provide a large range of motion (± 180°) when coupled with the joint position adjustment motor. These features allow the actuator to meet most of the requirements of the physical human interaction applications, as shown in Table 1. Since the 2-DOF VSA uses a single motor to adjust the stiffness, this reduces the complexity of the control strategy. Therefore, with a simple PD feedback controller, we can obtain good position and stiffness tracking performance. The energy storage capacity is only influenced by the intrinsic leaf spring stiffness, the lever length ratio, and the deflection angle, because the leaf spring deformation is limited to the rollers, which restrict the deformation of the leaf spring in the horizontal direction. Therefore, a large deflection angle means a high energy storage capacity (4.4 J) when the spring stiffness and lever length ratio are constant. Considering the maximum load on the gear reducer, the 2-DOF VSA has a maximum torque limit of 60 N·m. In future work, the main motor and its gear reducer will be replaced to meet the torque and speed requirements for specific tasks.

Table 1 Compared with the current series VSAs

The structure and performance of the humanoid robot shoulder joint directly determines the mobility, manipulation, and load-carrying performance of the upper limb of the humanoid robot. The structure of the human shoulder joint is a typical ball-and-socket joint, and the drive form is a parallel drive of muscle clusters [23, 24]. The ball-and-socket joint is a typical less-degree-of-freedom spherical wrist parallel mechanism with a structure, motion state, and properties much like those of a human joint, making it ideally suited as a prototype mechanism for the shoulder joint of a humanoid robot. A typical 3-DOF spherical manipulator or wrist provides human-like 3-D rotation, but in most robotic applications, rotation about the symmetry axis of the end-effector is not necessary and 2-D rotation alone is sufficient [25].

The high flexibility of human activity is the result of joint action of single degree of freedom and multi-degree of freedom joint, whether it is the arm or the lower limb. We are inspired by the high flexibility of the shoulder joint due to its multiple degrees of freedom. Our 2-DOF VSA is not a simple imitation of the human shoulder joint movement and behavior, but to extract the human shoulder joint multi-degree of freedom and variable stiffness of the common, using mechanical structure to achieve variable stiffness actuator of multiple degrees of freedom variable stiffness output, as shown in Table 2. A 2-DOF VSA is designed to be used together with the single degree of freedom variable stiffness joint, which not only ensures the safety of human–computer interaction, but also makes the whole robotic manipulator more flexible.

Table 2 Some parameters of the human shoulder joint

There are several methodological issues that need to be noted. In the presented design, the stiffness of the two rotation axes is adjusted by one motor. It means that the stiffness of these two rotation axes is the same at any time, and the stiffness cannot be set to different values for these two axes. If the stiffness can be set to different values in the two axis directions, this will be a design that imitates the shoulder/wrist joint. At the same time, we have carefully considered that controlling the stiffness of two rotating shafts at the same time may require multiple motors to achieve. From a control perspective, other advanced control strategies, such as neural network control [26], and model predictive control [27], can be used to deal with handling the modeling uncertainty and frictions. These factors will be considered for the improvement of the 2-DOF VSA design and control in the future work.

6 Conclusions

In this paper, a highly integrated 2-DOF VSA is proposed, which can be used for bionic multi-DOF joints. Based on the 2-DOF orthogonal motions generated by the SWPM, the stiffness adjustment of 2-DOF could be achieved by a single motor, which varies the effective lengths of the leaf springs distributed uniformly in the variable stiffness mechanism. The equilibrium position and stiffness of the actuator are independently controllable in 2-DOF. The model accuracy and prototype performance are demonstrated by regulation, tracking, and safety collision experiments, and the fidelity of the 2-DOF VSA is verified by real output torque comparison experiments. The aim of this study is to meet the deficiency of the use of single DOF variable stiffness actuators in multi-DOF humanoid robot joints like shoulder, wrist, hip, and ankle. Future studies will focus on the development of advanced control strategies to further improve the control performance of 2-DOF VSA. The actuator also could be applied to the pHRI, such as in rehabilitation medical robots and service robots.