1 Introduction

The metamorphic mechanisms originated from the study of foldable and erectable artifacts cartons (Dai and Rees 1997a, b, c) and were first proposed in 1998 at the 25th ASME Biennial Conference (Dai and Rees 1999). This kind of mechanism has the facilities to change configuration from one to another to fulfill the different function demands according to the changes in environment and working conditions (Ding and Yang 2010). In contrast to the traditional mechanism, metamorphic mechanisms have the innate ability to change their form, topology and configuration, from one type to another with resultant changes in the number of effective links, and the mobility of the mechanism in order to accomplish different tasks (Valsamos et al. 2012). This can be achieved by two approaches. One is to change the number of links by changing the coupled links and the linkage relationships (Liu and Yang 2004). The other is to apply constraint to joints to change the joint property. Parise et al. (2000) developed ortho-planar metamorphic mechanisms which can change their topological structures in two orthogonal planes and obtain the configuration change by reducing or increasing the number of effective links during operation. Zhang and Ding (2012) analyzed the constraint variation in the metamorphic mechanisms based on its multi-configuration characteristic and proposed a methodology for configuration syntheses in accordance with the realization of variation and coupling of adjacent configurations by applying metamorphic kinematic joints. Yan and Kuo (2006, 2007) investigated variable topology mechanisms and kinematic pairs with mobility change and presented the topological representation of variable mobility joints in the form of graphs and topology matrices. Xu et al. (2017) designed a metamorphic mechanism cell which can realize deploying, self-locking, unlocking, retracting and interlocking with other cells by incorporating variable kinematic joints. The study concluded that mechanisms can change their topology through the change of kinematic joints and special mechanism configurations.

However, the metamorphic mechanisms usually used for practical operation are the kind of constrained metamorphic mechanisms (Li et al. 2016). One of the metamorphosis operations is realized by using kinematic pair constraints, geometric constraints and/or force constraints to reduce the number of degrees of freedom (DOFs) of a multi-DOF metamorphic mechanism to the number of driving links. Then, the corresponding work configuration is built for the metamorphic mechanism. The approach to perform the intended working configuration using constrained metamorphic mechanisms is implemented by designing the constraint and structure types of metamorphic kinematic pair in order to provide the corresponding geometric constraints and/or force constraints. Zhang et al. (2010) presented metamorphic kinematic pair extracted from origami folds and investigated the topological reconfiguration and mobility change of the evolved parallel mechanism. Gan et al. (2009) created a new metamorphic joint called reconfigurable Hooke (rT) joint that changes the installation angle of the joint to form various structures of parallel mechanisms (Gan et al. 2010). Li et al. (2015) induced the concept of equivalent resistance of the constrained metamorphic mechanisms and investigated the constrained ways, characteristics and relationships of metamorphic joints.

The dynamics modeling of constrained metamorphic mechanisms is the basis of dynamic performance analysis, optimization design and control, and it is a problem that must be solved in practical application of constrained metamorphic mechanisms. To-this-date, great progress has been made in the study of kinematics and dynamics of metamorphic mechanisms. Jin et al. (2003, 2004) described different configurations of metamorphic mechanisms through the method of Huston lower-body arrays and gave the kinematics analyses with generalized topological structures including the velocity, angular velocity acceleration and angular acceleration. Valsamos et al. (2015) introduced a global kinematic measure for the evaluation of the emerging anatomies, of a given structure of a class of 3 DOF modular metamorphic manipulators. Gan et al. (2013, 2016a, b) presented unified forward and inverse kinematics modeling of metamorphic parallel mechanisms by combining geometric constraints. Zhang et al. (2016) conducted forward and inverse kinematics analysis of the parallel metamorphic mechanism in different configurations based on the unified mathematical model. Wang et al. (2017) established the nonlinear dynamics model of the novel control metamorphic palletizing robot mechanism considering the effect of damping. Though the configuration complete dynamics model of metamorphic mechanisms has been preliminarily established, it is only applicable to metamorphic mechanisms with geometric constraints and has certain limitations on metamorphic mechanisms with force constraints. Generally, constrained metamorphic operations of the constrained metamorphic mechanisms are implemented by using geometric constraints and/or force constraints of metamorphic joints to overlap two links to one or to make the metamorphic joints locked. Therefore, it is necessary to establish the unified dynamics model of constrained metamorphic mechanisms considering typical constraints (geometric constraints and/or force constraints).

Following the dynamics model, a numerical iterative algorithm is presented based on the theory that velocity and acceleration are same in an extremely brief period. As well known, the constrained metamorphic mechanisms are the kind of under-actuated mechanisms. Dynamics model of under-actuated mechanism is a kind of highly complex system of nonlinear differential–algebraic equations. For the problem of solving the equations, Katake et al. (2000) modified the Acrobot so as to impose holonomic constraints on the system. The problem of formulating the equations of motions of the system along with the holonomic constraints using traditional methods is then addressed. Xiong et al. (2015) reduced the under-actuated mechanisms to three subsystems with holonomic constraints by controlling the angles of the actuated links in stages and solved the target angles of actuated links by particle swarm optimization algorithm. The characteristic of this method is that different geometric constraints should be set for different mechanisms without considering force constraints. Considering constrained metamorphic mechanisms in this paper, the theory that velocity and acceleration are same in an extremely brief period shows a good way to solve the dynamic equations including both geometric constraints and force constraints.

This paper is arranged in the following structure. Section 2 presents a unified dynamics model of constrained metamorphic mechanisms according to the constitution theory of mechanisms. To solve the dynamic equations of constrained metamorphic mechanisms, a numerical iterative algorithm is proposed based on the theory that velocity and acceleration are same in an extremely brief period in Sect. 3. In Sect. 4, the planar double-folded metamorphic mechanism and the metamorphic nipper swing mechanism are introduced, and the computer numerical analysis and dynamic simulation are carried to demonstrate the proposed method. Finally, conclusions are drawn in Sect. 5.

2 Dynamics Model of Constrained Metamorphic Mechanisms

According to structural theory and formation methodology of metamorphic mechanisms based on augmented Assur groups (Li and Dai 2010), the constrained metamorphic mechanisms can be divided into four parts including frame, active parts, several basic Assur groups and at least one augmented Assur groups. To illustrate the Assur group based metamorphic mechanisms, the 2-DOF metamorphic mechanism is taken as an example. The 2-DOF metamorphic mechanism is composed of active part, augmented Assur group RRRR and Assur group RRP (Fig. 1b, d) and its composition principle are shown in Fig. 1. The mechanism has two loops. The active part and frame are connected with augmented Assur group RRRR to form a loop. The other loop is composed of Assur group RRP connected to the former loop and frame.

Fig. 1
figure 1

The 2-DOF metamorphic mechanism and its composition principle

The metamorphic process of mechanism based on augmented Assur group is the process of transforming 1-DOF augmented Assur group into basic Assur group. The 2-DOF metamorphic mechanism shown in Fig. 1 consists of an augmented Assur group, and its four metamorphic configurations are shown in Fig. 2.

Fig. 2
figure 2

Four metamorphic configurations of the 2-DOF metamorphic mechanism

According to the above-mentioned structural theory and formation methodology of metamorphic mechanisms based on augmented Assur groups, the unified dynamics modeling method of constrained metamorphic mechanism is studied.

2.1 Dynamics Model of Active Parts

The driving forms of active parts are shown in Fig. 3. Figure 3a and b shows active parts in pure rotational and pure prismatic form, respectively.

Fig. 3
figure 3

Dynamic analysis of active parts

According to the Newton–Euler equation (referred to as N/E equation), the dynamic equations of active parts can be written as follows,

$$\left\{ \begin{array}{l} \varvec{F}_{i - 1,i} - \varvec{F}_{i,i + 1} + \varvec{F}_{i} = m_{i} \varvec{\ddot{C}}_{i} \hfill \\ M_{i - 1,i} - \varvec{l}_{i} \times \varvec{F}_{i - 1,i} - M_{i,i + 1} - \varvec{h}_{i} \times \varvec{F}_{i,i + 1} + M_{i} = I_{C,i}\varvec{\varepsilon}_{i} \hfill \\ \end{array} \right.$$
(1)

where \(\varvec{F}_{i - 1,i}\) and \(\varvec{F}_{{i + 1,i}}\) are the force vectors at component \(L_{i}\) exerted by components \(L_{i - 1}\) and \(L_{i + 1}\), respectively, and \(\varvec{F}_{{i + 1,i}} = - \varvec{F}_{i,i + 1}\); \(M_{i - 1,i}\) and \(M_{{i + 1,i}}\) are the moments at component \(L_{i}\) exerted by components \(L_{i - 1}\) and \(L_{i + 1}\), respectively, and \(M_{{i + 1,i}} = - M_{i,i + 1}\); \(\varvec{F}_{i}\) is the external force vector acting on the component \(L_{i}\); \(M_{i}\) is the external moment acting on the component \(L_{i}\); \(I_{C,i}\) is the moment of inertia of the component \(L_{i}\) around the centroid \(C_{i}\); \(\varvec{\varepsilon}_{i}\) is the angular acceleration of the component \(L_{i}\); \(\varvec{\ddot{C}}_{i}\) is the acceleration vector at the centroid of the component \(L_{i}\).

2.2 Dynamics Model of the Assur Groups

The simplest Assur groups are a kind of Class II Assur groups composed of two components and three low pairs, and it is also the most widely used Assur group. In addition to Class II Assur groups, there are also higher-level Assur groups such as Class III and IV Assur groups. The dynamic analysis diagrams of Class II and III Assur group are given in Table 4 in “Appendix 1.” According to the dynamic analysis of Assur group in Table 4 in “Appendix 1,” the dynamic equation of the Class II Assur groups can be written based on N/E equation as follows,

$$\left\{ \begin{array}{l} \varvec{F}_{i - 1,i} + \varvec{F}_{i} - \varvec{F}_{{i + 1,i + 2}} + \varvec{F}_{i + 1} = m_{i} \varvec{\ddot{C}}_{i} + m_{i + 1} \varvec{\ddot{C}}_{i + 1} \hfill \\ M_{i - 1,i} - (\varvec{l}_{i} + \varvec{h}_{i} ) \times \varvec{F}_{i - 1,i} + M_{i} - \varvec{h}_{i} \times \varvec{F}_{i} - M_{{i,i + 1}} =I_{k - 1,k}\varvec{\varepsilon}_{i} \hfill \\ - M_{i + 1,i + 2} + (\varvec{l}_{i + 1} + \varvec{h}_{i + 1} ) \times \varvec{F}_{i + 1,i + 2} + M_{i + 1} - \varvec{h}_{i + 1} \times \varvec{F}_{i + 1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} + M_{i,i + 1} = I_{k + 1,k}\varvec{\varepsilon}_{i + 1} \hfill \\ \end{array} \right.$$
(2)

where \(I_{k - 1,k}\) and \(I_{{k + 1,k}}\) are the moments of inertia of components \(L_{i}\) and \(L_{{i + 1}}\) around the internal kinematic joint \(P_{k}\), respectively.

Similarly, the dynamic equation of Class III Assur groups can be written as follows,

$$\left\{ \begin{array}{l} \varvec{F}_{n - 1,i - 1} + \varvec{F}_{i - 1} + \varvec{F}_{n,i} + \varvec{F}_{i} + \varvec{F}_{n + 1,i + 1} + \varvec{F}_{i + 1} + \varvec{F}_{i + 2} = \sum\limits_{n = - 1}^{2} {m_{i + n} \varvec{\ddot{C}}_{i + n} } \hfill \\ M_{n - 1,i - 1} - ({\mathbf{l}}_{i - 1} + {\mathbf{h}}_{i - 1} ) \times \varvec{F}_{n - 1,i - 1} + M_{i - 1} - {\mathbf{h}}_{i - 1} \times {\mathbf{F}}_{i - 1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - M_{{i - 1,i + \text{2}}} = I_{k - 1} {\varvec{\upvarepsilon}}_{i - 1} \hfill \\ M_{n,i} - ({\mathbf{l}}_{i} + {\mathbf{h}}_{i} ) \times {\mathbf{F}}_{n,i} + M_{i} - {\mathbf{h}}_{i} \times {\mathbf{F}}_{i} - M_{i,i + 2} = I_{k} {\varvec{\upvarepsilon}}_{i} \hfill \\ M_{n + 1,i + 1} - ({\mathbf{l}}_{i + 1} + {\mathbf{h}}_{i + 1} ) \times {\mathbf{F}}_{n + 1,i + 1} + M_{i + 1} - {\mathbf{h}}_{i + 1} \times {\mathbf{F}}_{i + 1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - M_{i + 1,i + 2} = I_{k + 1} {\varvec{\upvarepsilon}}_{i + 1} \hfill \\ M_{i - 1,i + 2} - {\mathbf{s}}_{i - 1} \times {\mathbf{F}}_{i - 1,i + 2} + M_{i,i + 2} - {\mathbf{s}}_{i} \times {\mathbf{F}}_{i,i + 2} + M_{i + 1,i + 2} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{s}}_{i + 1} \times {\mathbf{F}}_{i + 1,i + 2} + M_{i + 2} = I_{C,i + 2} {\mathbf{\ddot{C}}}_{i + 2} \hfill \\ \end{array} \right.$$
(3)

where \(\varvec{F}_{n - 1,i - 1}\), \(\varvec{F}_{n,i}\) and \(\varvec{F}_{{n + 1,i + 1}}\) are the constraint force vectors at the external kinematic joints \(P_{k - 1}\), \(P_{k}\) and \(P_{{k + 1}}\) exerted by components \(L_{i - 1}\), \(L_{i}\) and \(L_{{i + 1}}\), respectively; \(M_{n - 1,i - 1}\), \(M_{n,i}\) and \(M_{{n + 1,i + 1}}\) are the constraint torques at the external kinematic joints \(P_{k - 1}\), \(P_{k}\) and \(P_{{k + 1}}\) exerted by components \(L_{i - 1}\), \(L_{i}\) and \(L_{{i + 1}}\), respectively; \(I_{k - 1}\), \(I_{k}\) and \(I_{{k + 1}}\) are the moments of inertia of components \(L_{i - 1}\), \(L_{i}\) and \(L_{{i + 1}}\) around the internal kinematic joints \(Q_{k - 1}\), \(Q_{k}\) and \(Q_{k + 1}\), respectively; \(I_{C,i + 2}\) is the moment of inertia of the component \(L_{i + 2}\) around the centroid \(C_{i + 2}\); \(\varvec{s}_{i - 1}\), \(\varvec{s}_{i}\) and \(\varvec{s}_{{i + 1}}\) are the radius vectors of the centroid \(C_{i + 2}\) on the component \(L_{i + 2}\) relative to the internal kinematic joints \(Q_{k - 1}\), \(Q_{k}\) and \(Q_{k + 1}\), respectively.

2.3 Dynamics Model of the Augmented Assur Groups

Since the constrained metamorphic mechanisms only implement metamorphism for the augmented Assur groups, the metamorphic process is realized by constraining the movement cycle of the metamorphic joints. Therefore, the kinematic characteristics of metamorphic joints should be considered in the dynamic analysis of the augmented Assur groups.

2.3.1 Analysis of Kinematic Characteristics of Metamorphic Joints

In order to effectively reflect the variation of constraint types of metamorphic joints during the metamorphic process, the equivalent resistance (Li et al. 2016) is introduced. Based on the functional requirements of the constrained metamorphic mechanisms at the different working configurations, the typical constraint forms and the corresponding kinematic characteristics of the metamorphic joints are analyzed, as shown in Table 1.

Table 1 Analysis of kinematic characteristics of metamorphic joints under typical constraints

Wherein, \(j_{1}\) denotes that the metamorphic joint is in the extreme position under the constraint form; \(j_{2}\) denotes that the metamorphic joint is in the non-extreme position under the constraint form; \(c_{1}\) represents a constant larger than or equal to 1, \(c_{2}\) represents a constant less than or equal to 1, and the exact value can be obtained by reference (Li et al. 2016). As can be seen from Table 1, there are two kinds of kinematic characteristics of the metamorphic joints under different constraints corresponding to different equivalent resistances. When the constraint form of the metamorphic joint is geometric constraint and it is in the non-extreme position, the equivalent resistance is \(f = 0\), and the metamorphic joint is in a relative moving state; when the constraint form of the metamorphic joint is geometric constraint and it is in the extreme position, the equivalent resistance is \(f = \infty\), and the metamorphic joint is in a relative static state; when the constraint form of the metamorphic joint is force constraint and it is in the non-extreme position, the equivalent resistance is \(f = c_{2}\), and the metamorphic joint is in a relative moving state; when the constraint form of the metamorphic joint is force constraint and it is in the extreme position, the equivalent resistance is \(f = c_{1}\), and the metamorphic joint is in a relative static state.

2.3.2 Configuration Division of the Augmented Assur Groups

Assuming that any kinematic joints in the augmented Assur groups may be metamorphic joints, it can be seen from Table 1 that the metamorphic joints exist relative moving and relative static states under different equivalent resistances. Therefore, the configuration of the augmented Assur groups can be divided as follows,

  1. (1)

    When the two components connected by the metamorphic joints in the augmented Assur groups move relative to each other, the augmented Assur groups can be divided into one Assur groups and one component with two pairs. The mechanism is in the non-extreme position, and such a configuration is named non-collision configuration.

  2. (2)

    When the two components connected by the metamorphic joints in the augmented Assur groups are relatively static, the augmented Assur groups are degenerated into the corresponding equivalent Assur groups. The mechanism is in the extreme position; if the metamorphosis occurs in the internal kinematic joints, it is the internal collision configuration; if the metamorphosis occurs in the external kinematic joints, it is the external collision configuration.

2.3.3 Dynamic Analysis of the Augmented Assur Groups

The augmented Assur group RRRR is taken as an example. When the augmented Assur group RRRR is in the non-collision configuration, it is shown in Fig. 4. Combining with the analysis of kinematic characteristics in Table 1 and the force analysis in Table 5 in “Appendix 2,” the dynamic equation of Class II augmented Assur groups in the non-collision configuration based on the N/E equation can be written as follows,

$$\left\{ \begin{array}{l} \varvec{F}_{k - 1} + {\mathbf{F}}_{i - 1,i} + {\mathbf{F}}_{i} - {\mathbf{F}}_{i + 1,i + 2} - {\mathbf{F}}_{k + 1} + {\mathbf{F}}_{i + 1} = m_{i} {\mathbf{\ddot{C}}}_{i} + m_{i + 1} {\mathbf{\ddot{C}}}_{i + 1} \hfill \\ M_{k - 1} + M_{i - 1,i} - ({\mathbf{l}}_{i} + {\mathbf{h}}_{i} ) \times (\varvec{F}_{k - 1} + {\mathbf{F}}_{i - 1,i} ) + M_{i} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i} \times {\mathbf{F}}_{i} - M_{{i,i + 1}} - M_{k} = I_{k - 1,k} {\varvec{\upvarepsilon}}_{i} \hfill \\ - M_{k + 1} - M_{i + 1,i + 2} + ({\mathbf{l}}_{i + 1} + {\mathbf{h}}_{i + 1} ) \times ({\mathbf{F}}_{k + 1} + {\mathbf{F}}_{i + 1,i + 2} ) + M_{i + 1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i + 1} \times {\mathbf{F}}_{i + 1} + M_{i,i + 1} + M_{k} = I_{k + 1,k} {\varvec{\upvarepsilon}}_{i + 1} \hfill \\ {\mathbf{F}}_{i + 1,i + 2} + {\mathbf{F}}_{k + 1} + {\mathbf{F}}_{i + 2} - {\mathbf{F}}_{i + 2,i + 3} - {\mathbf{F}}_{k + 2} = m_{i + 2} {\mathbf{\ddot{C}}}_{i + 2} \hfill \\ - M_{k + 2} - M_{i + 2,i + 3} + \left( {{\mathbf{l}}_{i + 2} + {\mathbf{h}}_{i + 2} } \right) \times ({\mathbf{F}}_{k + 2} + {\mathbf{F}}_{i + 2,i + 3} ) + M_{i + 2} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i + 2} \times {\mathbf{F}}_{i + 2} + M_{i + 1,i + 2} + M_{k + 1} = I_{k + 2,k + 1} {\varvec{\upvarepsilon}}_{i + 2} \hfill \\ \end{array} \right.$$
(4)

where \(\varvec{F}_{k - 1}\), \(\varvec{F}_{k}\), \(\varvec{F}_{k}\) and \(\varvec{F}_{{k + 2}}\) are the internal constraint forces added to the kinematic joints \(P_{k - 1}\), \(P_{k}\), \(P_{k + 1}\) and \(P_{k + 2}\), respectively; \(M_{k - 1}\), \(M_{k}\), \(M_{k + 1}\) and \(M_{k + 2}\) are the internal constraint torques added to kinematic joints \(P_{k - 1}\), \(P_{k}\), \(P_{k + 1}\) and \(P_{k + 2}\), respectively.

Fig. 4
figure 4

Non-collision configuration

When the augmented Assur group RRRR is in the internal collision configuration (as shown in Fig. 5), there is no relative moving between the two members connected by the metamorphic joints, and then the dynamic equation of Class II augmented Assur groups is,

$$\left\{ \begin{array}{l} {\mathbf{F}}_{i - 1,i} + \sum\limits_{n = 0}^{2} {{\mathbf{F}}_{i + n} } - {\mathbf{F}}_{i + 2,i + 3} - \varvec{F}_{k - 1} - {\mathbf{F}}_{k + 2} = \sum\limits_{n = 0}^{2} {m_{i + n} {\mathbf{\ddot{C}}}_{i + n} } \hfill \\ M_{k - 1} + M_{i - 1,i} - ({\mathbf{l}}_{i} + {\mathbf{h}}_{i} ) \times (\varvec{F}_{k - 1} + {\mathbf{F}}_{i - 1,i} ) + M_{i} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i} \times {\mathbf{F}}_{i} - M_{i,i + 1} - M_{k} = I_{k - 1,k} {\varvec{\upvarepsilon}}_{i} \hfill \\ ({\mathbf{l}}_{i + 2} + {\mathbf{h}}_{i + 2} + {\mathbf{l}}_{i + 1} + {\mathbf{h}}_{i + 1} ) \times ({\mathbf{F}}_{i + 2,i + 3} + {\mathbf{F}}_{k + 2} ) - M_{k - 2} - M_{i + 2,i + 3} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - ({\mathbf{h}}_{i + 2} + {\mathbf{l}}_{i + 1} + {\mathbf{h}}_{i + 1} ) \times {\mathbf{F}}_{i + 2} + M_{i + 2} + M_{i + 1} - {\mathbf{h}}_{i + 1} \times {\mathbf{F}}_{i + 1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} + M_{i,i + 1} + M_{k} = I_{k + 1,k} {\varvec{\upvarepsilon}}_{i + 1} + I_{k + 2,k + 1} {\varvec{\upvarepsilon}}_{i + 2} . \hfill \\ \end{array} \right.$$
(5)
Fig. 5
figure 5

Internal collision configuration

Similarly, the dynamic equation of Class II augmented Assur groups in the external collision configuration (as shown in Fig. 6) can be expressed as,

$$\left\{ \begin{array}{l} \varvec{F}_{k - 1} + {\mathbf{F}}_{i - 1,i} + {\mathbf{F}}_{i} - {\mathbf{F}}_{i + 1,i + 2} - {\mathbf{F}}_{k + 1} + {\mathbf{F}}_{i + 1} = m_{i} {\mathbf{\ddot{C}}}_{i} + m_{i + 1} {\mathbf{\ddot{C}}}_{i + 1} \hfill \\ M_{k - 1} + M_{i - 1,i} - ({\mathbf{l}}_{i} + {\mathbf{h}}_{i} ) \times (\varvec{F}_{k - 1} + {\mathbf{F}}_{i - 1,i} ) + M_{i} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i} \times {\mathbf{F}}_{i} - M_{i,i + 1} - M_{k} = I_{k - 1,k} {\varvec{\upvarepsilon}}_{i} \hfill \\ - M_{k + 1} - M_{i + 1,i + 2} + ({\mathbf{l}}_{i + 1} + {\mathbf{h}}_{i + 1} ) \times ({\mathbf{F}}_{k + 1} + {\mathbf{F}}_{i + 1,i + 2} ) + M_{i + 1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i + 1} \times {\mathbf{F}}_{i + 1} + M_{i,i + 1} + M_{k} = I_{k + 1,k} {\varvec{\upvarepsilon}}_{i + 1} \hfill \\ \end{array} \right.$$
(6)
Fig. 6
figure 6

External collision configuration

The augmented Assur group RR-RR-RR-R is taken as an example. When the augmented Assur group RR-RR-RR-R is in the non-collision configuration, it is shown in Fig. 7. Combining with the analysis of kinematic characteristics in Table 1 and the force analysis Table 5 in “Appendix 2,” the dynamic equation of Class III augmented Assur groups in the non-collision configuration can be written as,

$$\left\{ \begin{array}{l} \varvec{F}_{n - 1,i - 1} - \varvec{F}_{i,i + 3} + \varvec{F}_{n + 1,i + 1} + \sum\limits_{n = - 1}^{2} {\varvec{F}_{i + n} } + \varvec{F}_{k - 1} - \varvec{F}_{k} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} + \varvec{F}_{k + 1} = \sum\limits_{n = - 1}^{2} {m_{{i + n}} \varvec{\ddot{C}}_{i + n} } \hfill \\ M_{n - 1,i - 1} + M_{k - 1} - ({\mathbf{l}}_{i - 1} + {\mathbf{h}}_{i - 1} ) \times \text{(}\varvec{F}_{n - 1,i - 1} + {\mathbf{F}}_{k - 1} ) + M_{i - 1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i - 1} \times {\mathbf{F}}_{i - 1} - M_{{i-1,i + 2}} - M_{q,k - 1} = I_{k - 1} {\varvec{\upvarepsilon}}_{i - 1} \hfill \\ - M_{k} - M_{i,i + 3} + ({\mathbf{l}}_{i} + {\mathbf{h}}_{i} ) \times ({\mathbf{F}}_{k} + {\mathbf{F}}_{i,i + 3} ) + M_{i} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i} \times {\mathbf{F}}_{i} - M_{{i,i + 2}} - M_{q,k} = I_{k} {\varvec{\upvarepsilon}}_{i} \hfill \\ M_{n + 1,i + 1} + M_{k + 1} - ({\mathbf{l}}_{i + 1} + {\mathbf{h}}_{i + 1} ) \times \left( {{\mathbf{F}}_{n + 1,i + 1} + {\mathbf{F}}_{k + 1} } \right) \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} + M_{i + 1} - {\mathbf{h}}_{i + 1} \times {\mathbf{F}}_{i + 1} - M_{i + 1,i + 2} - M_{q,k + 1} = I_{k + 1} {\varvec{\upvarepsilon}}_{i + 1} \hfill \\ M_{q,k - 1} + M_{i - 1,i + 2} - {\mathbf{s}}_{i - 1} \times {\mathbf{F}}_{i - 1,i + 2} + M_{q,k} + M_{i,i + 2} - {\mathbf{s}}_{i} \times {\mathbf{F}}_{i,i + 2} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} + M_{q,k + 1} + M_{i + 1,i + 2} - {\mathbf{s}}_{i + 1} \times {\mathbf{F}}_{i + 1,i + 2} + M_{i + 2} = I_{C,i + 2} {\varvec{\upvarepsilon}}_{i + 2} \hfill \\ {\mathbf{F}}_{i,i + 3} + {\mathbf{F}}_{i + 3} + {\mathbf{F}}_{n + 3,i + 3} + {\mathbf{F}}_{k} - {\mathbf{F}}_{k + 2} = m_{i + 3} \varvec{\ddot{C}}_{i + 3} \hfill \\ M_{n + 3,i + 3} - M_{k + 2} - \left( {{\mathbf{l}}_{i + 3} + {\mathbf{h}}_{i + 3} } \right) \times \left( {{\mathbf{F}}_{n + 3,i + 3} - {\mathbf{F}}_{k + 2} } \right) \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} + M_{i + 3} - {\mathbf{h}}_{i + 3} \times {\mathbf{F}}_{i + 3} + M_{k} + M_{i,i + 3} = I_{k + 2,k} {\varvec{\upvarepsilon}}_{i + 3} \hfill \\ \end{array} \right.$$
(7)

where \(M_{q,k - 1}\), \(M_{q,k}\) and \(M_{{q,k + 1}}\) are the internal constraint torques added to kinematic joints \(Q_{k - 1}\), \(Q_{k}\) and \(Q_{k + 1}\), respectively.

Fig. 7
figure 7

Non-collision configuration

The dynamic equation of Class III augmented Assur groups in the internal collision configuration (as shown in Fig. 8) can be expressed as,

$$\left\{ \begin{array}{l} \varvec{F}_{n - 1,i - 1} + \varvec{F}_{k - 1} + \varvec{F}_{n + 1,i + 1} + \varvec{F}_{k + 1} + \varvec{F}_{n + 3,i + 3} - \varvec{F}_{k + 2} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} + \sum\limits_{n = - 1}^{3} {\varvec{F}_{i + n} } = \sum\limits_{n = - 1}^{3} {m_{{i + n}} \varvec{\ddot{C}}_{i + n} } \hfill \\ M_{n - 1,i - 1} + M_{k - 1} - ({\mathbf{l}}_{i - 1} + {\mathbf{h}}_{i - 1} ) \times \text{(}\varvec{F}_{n - 1,i - 1} + {\mathbf{F}}_{k - 1} ) + M_{i - 1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i - 1} \times {\mathbf{F}}_{i - 1} - M_{{i-1,i + 2}} - M_{q,k - 1} = I_{k - 1} {\varvec{\upvarepsilon}}_{i - 1} \hfill \\ M_{n + 3,i + 3} - M_{k + 2} - ({\mathbf{l}}_{i + 3} + {\mathbf{h}}_{i + 3} + {\mathbf{l}}_{i} + {\mathbf{h}}_{i} ) \times ({\mathbf{F}}_{n + 3,i + 3} - {\mathbf{F}}_{k + 2} ) \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} + M_{i + 3} - ({\mathbf{h}}_{i + 3} + {\mathbf{l}}_{i} + {\mathbf{h}}_{i} ) \times {\mathbf{F}}_{i + 3} + M_{i} + {\mathbf{h}}_{i} \times {\mathbf{F}}_{i} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - M_{i,i + 2} - M_{q,k} = I_{k + 2,k} {\varvec{\upvarepsilon}}_{i + 3} + I_{k} {\varvec{\upvarepsilon}}_{i} \hfill \\ M_{n + 1,i + 1} + M_{k + 1} - ({\mathbf{l}}_{i + 1} + {\mathbf{h}}_{i + 1} ) \times \left( {{\mathbf{F}}_{n + 1,i + 1} + {\mathbf{F}}_{k + 1} } \right) + M_{i + 1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i + 1} \times {\mathbf{F}}_{i + 1} - M_{i + 1,i + 2} - M_{q,k + 1} = I_{k + 1} {\varvec{\upvarepsilon}}_{i + 1} \hfill \\ M_{i - 1,i + 2} - {\mathbf{s}}_{i - 1} \times {\mathbf{F}}_{i - 1,i + 2} + M_{i,i + 2} - {\mathbf{s}}_{i} \times {\mathbf{F}}_{i,i + 2} + M_{i + 1,i + 2} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{s}}_{i + 1} \times {\mathbf{F}}_{i + 1,i + 2} + M_{i + 2} + M_{q,k - 1} + M_{q,k} + M_{q,k + 1} = I_{i + 2} {\varvec{\upvarepsilon}}_{i + 2} . \hfill \\ \end{array} \right.$$
(8)
Fig. 8
figure 8

Internal collision configuration

The dynamic equation of Class III augmented Assur groups in the external collision configuration (as shown in Fig. 9) can be expressed as,

$$\left\{ \begin{array}{l} \varvec{F}_{n - 1,i - 1} - \varvec{F}_{i,i + 3} + \varvec{F}_{n + 1,i + 1} + \sum\limits_{n = - 1}^{2} {\varvec{F}_{i + n} } + \varvec{F}_{k - 1} - \varvec{F}_{k} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} + \varvec{F}_{k + 1} = \sum\limits_{n = - 1}^{2} {m_{{i + n}} \varvec{\ddot{C}}_{i + n} } \hfill \\ M_{n - 1,i - 1} + M_{k - 1} - ({\mathbf{l}}_{i - 1} + {\mathbf{h}}_{i - 1} ) \times \text{(}\varvec{F}_{n - 1,i - 1} + {\mathbf{F}}_{k - 1} ) + M_{i - 1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i - 1} \times {\mathbf{F}}_{i - 1} - M_{{i-1,i + 2}} - M_{q,k - 1} = I_{k - 1} {\varvec{\upvarepsilon}}_{i - 1} \hfill \\ - M_{k} - M_{i,i + 3} + ({\mathbf{l}}_{i} + {\mathbf{h}}_{i} ) \times ({\mathbf{F}}_{k} + {\mathbf{F}}_{i,i + 3} ) + M_{i} - {\mathbf{h}}_{i} \times {\mathbf{F}}_{i} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - M_{i,i + 2} - M_{q,k} = I_{k} {\varvec{\upvarepsilon}}_{i} \hfill \\ M_{n + 1,i + 1} + M_{k + 1} - ({\mathbf{l}}_{i + 1} + {\mathbf{h}}_{i + 1} ) \times \left( {{\mathbf{F}}_{n + 1,i + 1} + {\mathbf{F}}_{k + 1} } \right) + M_{i + 1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - {\mathbf{h}}_{i + 1} \times {\mathbf{F}}_{i + 1} - M_{i + 1,i + 2} - M_{q,k + 1} = I_{k + 1} {\varvec{\upvarepsilon}}_{i + 1} \hfill \\ M_{i - 1,i + 2} - {\mathbf{s}}_{i - 1} \times {\mathbf{F}}_{i - 1,i + 2} + M_{i,i + 2} - {\mathbf{s}}_{i} \times {\mathbf{F}}_{i,i + 2} - {\mathbf{s}}_{i + 1} \times {\mathbf{F}}_{i + 1,i + 2} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} + M_{i + 1,i + 2} + M_{i + 2} + M_{q,k - 1} + M_{q,k} + M_{q,k + 1} = I_{C,i + 2} {\varvec{\upvarepsilon}}_{i + 2} . \hfill \\ \end{array} \right.$$
(9)
Fig. 9
figure 9

External collision configuration

The augmented Assur groups and/or Assur groups together constitute the groups of the constrained metamorphic mechanisms, and the connection relations and rules of the mechanism are the same as those of the traditional Assur groups. Therefore, the obtained dynamics models of the active parts, the Assur groups and the augmented Assur groups are generalized to the modular mathematical framework, and the unified dynamics model of constrained metamorphic mechanisms is established, which can be expressed in matrix form as,

$$\varvec{M\ddot{q}} + \varvec{C} = \varvec{h} + \varvec{f}$$
(10)

where \(\varvec{M}\) is symmetric positive definite inertia matrix, \(\varvec{\ddot{q}}\) is generalized acceleration terms, \(\varvec{C}\) is the Coriolis force and centrifugal force terms, \(\varvec{h}\) is the generalized force terms, and \(\varvec{f}\) is the constraint force terms.

3 Specific Solution Process for Dynamics of Constrained Metamorphic Mechanisms

Assuming that the DOF of constrained metamorphic mechanisms is N1, the number of active parts N2, and the number of dynamic equations N3, the dynamic equation of constrained metamorphic mechanisms shown in Eq. (10) is a mixed differential–algebraic equation, which contains (N1N2) differential variables and (N3 − N1 + N2) algebraic variables. In the course of solution, the expression of algebraic variable about differential variable can be obtained by choosing arbitrarily (N3 − N1 + N2) equations in the dynamic equations. Subsequently, the expression of algebraic variable about differential variable is replaced by the remaining (N1N2) dynamic equations, which are transformed into highly complex nonlinear differential equations. To solve this problem, a numerical iterative method for solving such differential linear equations is proposed. When the motion law of active parts and the initial position of the differential variables are given, the motion law of each component, the driving force/torque of active parts and the constraint force/torque of metamorphic joints can be obtained through iteration. The iteration process is described as follows.

3.1 Kinematics and Dynamics at Time t 0

There is a hypothesis at the initial moment t0.

  1. (1)

    The input positions of active parts are known, recorded as \(q_{i} (t_{0} )\), \(i = 1,2,3, \cdots ,N_{2}\); the initial positions of differential variables are known, recorded as \(q_{j} (t_{0} )\), \(j = N_{2} + 1, \cdots ,N_{2} + N_{1}\). Using the kinematic position equations of constrained metamorphic mechanisms, \(q_{k} (t_{0} )\) can be obtained, \(k = N_{1} + N_{2} + 1, \cdots ,N_{1} + N_{2} + N_{3}\).

  2. (2)

    At the initial moment, the velocities of active parts are \(\dot{q}_{i} (t_{0} )\), and the velocities of differential variables are \(\dot{q}_{j} (t_{0} )\). Base on step (1), \(\dot{q}_{k} (t_{0} )\) can be obtained by using the kinematic velocity equations.

  3. (3)

    The input accelerations of active parts are known, recorded as \(\ddot{q}_{i} (t_{0} )\); Based on steps (1) and (2), the nonlinear differential equation can be used to obtain the accelerations of differential variables, recorded as \(\ddot{q}_{j} (t_{0} )\). Then, the obtained results are introduced into the expressions of algebraic variables about differential variables, and the driving force/torque of the active parts and the constraint force/torque of the metamorphic joints can be obtained.

  4. (4)

    On the basis of steps (1) to (3), \(\ddot{q}_{i} (t_{0} )\) and \(\ddot{q}_{j} (t_{0} )\) are introduced into the kinematic acceleration equations, and \(\ddot{q}_{k} (t_{0} )\) can be obtained.

3.2 Kinematics and Dynamics at Time T n

Let the time interval from time \(t_{n - 1}\) to time \(t_{n}\) be infinitely small, denoted as \(\delta t\). It can be considered that velocity and acceleration of the differential variable are constant within an infinitesimal time interval, which is equal to velocity and acceleration of the previous moment in the interval, and the interval velocity and acceleration at different time are changed by steps. There are several situations at time \(t_{n} \left( {n = 1,2,3, \cdots } \right)\).

  1. (1)

    The input positions of active parts are known, recorded as \(q_{i} (t_{n} )\); the initial positions of differential variables are known, recorded as \(q_{j} (t_{n} )\) and \(q_{j} (t_{n} )=q_{j} (t_{n - 1} ) + \dot{q}_{j} (t_{n - 1} )\delta t\). Using the kinematic position equations of constrained metamorphic mechanisms, \(q_{k} (t_{n} )\) can be obtained.

  2. (2)

    The velocities of active parts are known, recorded as \(\dot{q}_{i} (t_{n} )\); the velocities of differential variables are known, recorded as \(\dot{q}_{j} (t_{n} )\). \(\dot{q}_{j} (t_{n} )=\dot{q}_{j} (t_{n - 1} ) + \ddot{q}_{j} (t_{n - 1} )\delta t\) can be obtained based on the results at time \(t_{n - 1}\). \(\dot{q}_{k} (t_{n} )\) can be obtained by using the kinematic velocity equations.

  3. (3)

    The input accelerations of active parts are known, recorded as \(\ddot{q}_{i} (t_{n} )\); the accelerations of differential variables \(\ddot{q}_{j} (t_{n} )\) can be obtained by nonlinear differential equations, and they are introduced into the expression of algebraic variables about differential variables. The driving force/torque of the active parts and the constraint force/torque of the metamorphic joints can be obtained.

  4. (4)

    Substituting \(\ddot{q}_{i} (t_{n} )\) and \(\ddot{q}_{j} (t_{n} )\) into the kinematic acceleration equations, \(\ddot{q}_{k} (t_{n} )\) can be obtained.

According to the above steps, the position, velocity, acceleration, the driving force/torque of active parts and the constrained force/torque of metamorphic joints can be obtained at time \(t_{n}\) by iteration.

The iteration flowchart is shown in Fig. 10.

Fig. 10
figure 10

The flowchart for numerical iterative algorithm

4 Simulation Examples

4.1 The Planar Double-Folded Metamorphic Mechanism

Taking the planar double-folded metamorphic mechanism (Wang and Dai 2007) as an example, the types and constraints of metamorphic joints based on the kinematic characteristics of metamorphic joints are given. According to the working task, the planar double-folded metamorphic mechanism (as shown in Fig. 11) must complete three working requirements: horizontal folding, vertical folding and reset.

Fig. 11
figure 11

The planar double-folded metamorphic mechanism

  1. (1)

    Horizontal folding, as shown in Fig. 11a, horizontally pushing the left side of the single-layer cardboard and rotating the second side of the left side along the second crease to vertical position.

  2. (2)

    Vertical folding, as shown in Fig. 11b, completing the rotation of the first surface around the first crease and coinciding with the second surface.

  3. (3)

    Reset, as shown in Fig. 11c, the mechanism returns to its initial position.

Figure 12 shows the schematic diagram of the planar double-folded metamorphic mechanism and its composition principle. According to the above requirements, force metamorphism is adopted at kinematic joint D, that is, when the mechanism is in configuration 1, the spring force is set at kinematic joint D, so that the relative moving resistance between the components 3 and 4 is larger than the motion resistance of the slider, and it keeps the components 3 and 4 relatively static. When the mechanism is in configuration 2, a geometric constraint is added at kinematic joint E, so that the slider moves to the specified position and stops moving when the mechanism meets the geometric limit. When the mechanism is in configuration 3, the spring force at kinematic joint D makes the components 3 and 4 to be relatively static. Based on the principle of augmented Assur groups, the planar double-folded metamorphic mechanism is divided into a fixed-axis rotating active part and an augmented Assur group RRRP (Fig. 12b and c).

Fig. 12
figure 12

The schematic diagram

According to the geometric and physical parameters of the planar double-folded metamorphic mechanism in Table 2, a three-dimensional model is established in SolidWorks, as shown in Fig. 13. The initial location of component 4 is 227.73 mm, and the initial position of the component 1 is \(\uppi\) rad.

Table 2 Geometric and inertia properties of the planar double-folded metamorphic mechanism (SI units)
Fig. 13
figure 13

Three-dimensional graph

Assuming that the active part 1 rotates at a constant speed of 6 r/min (motion period is 10 s), the dynamic simulation is carried out in SolidWorks virtual prototype environment, and the relationship between the driving torque and time of the planar double-folded metamorphic mechanism is obtained.

When the planar double-folded metamorphic mechanism is in configurations 1 and 3, the mechanism under force constraint can be regarded as consisting of an active part and an augmented Assur group RRRP (as shown in Fig. 12b and c). The dynamic analysis of the planar double-folded metamorphic mechanism in configurations 1 and 3 is shown in Fig. 14.

Fig. 14
figure 14

Dynamic analysis in configurations 1 and 3

The dynamic equations in configurations 1 and 3 can be obtained by Eqs. (1) and (4) as follows,

$$\left\{ \begin{array}{l} F_{ax} + F_{bx} = m_{1} a_{1x} \hfill \\ F_{ay} + F_{by} - G_{1} = m_{1} a_{1y} \hfill \\ 0.5L_{AB} F_{bx} \sin (\theta_{1} -\uppi) + 0.5L_{AB} F_{by} \cos (\theta_{1} -\uppi) + M_{1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - 0.5L_{AB} F_{ax} \sin (\theta_{1} -\uppi) - 0.5L_{AB} F_{ay} \cos (\theta_{1} -\uppi) = J_{1} \ddot{\theta }_{1} \hfill \\ \end{array} \right.$$
(11)
$$\left\{ \begin{array}{l} - F_{bx} + F_{dx} = m_{2} a_{2x} + m_{3} a_{3x} \hfill \\ - F_{by} + F_{dy} - G_{2} - G_{3} = m_{2} a_{2y} + m_{3} a_{3y} \hfill \\ - L_{BC} F_{bx} \sin \theta_{2} + L_{BC} F_{by} \cos \theta_{2} + 0.5L_{BC} G_{2} \cos \theta_{2} = J_{BC} \ddot{\theta }_{2} \hfill \\ - L_{CD} F_{dx} \sin \theta_{3} + L_{CD} F_{dy} \cos \theta_{3} - G_{3} l_{3} \cos (\theta_{3} + \alpha_{3} ) + M_{d} = J_{DC} \ddot{\theta }_{3} \hfill \\ - F_{dx} = m_{4} a_{4x} \hfill \\ - F_{dy} + F_{e} - G_{4} = m_{4} a_{4y} \hfill \\ l_{4} F_{dx} + M_{e} - M_{d} = 0. \hfill \\ \end{array} \right.$$
(12)

When the mechanism is in configuration 2, the mechanism under geometric constraint can be regarded as consisting of an active part and an Assur group RRR, as shown in Fig. 15. The dynamic analysis of the planar double-folded metamorphic mechanism in configuration 2 is shown in Fig. 14a and b. The dynamic equations in configuration 2 can be obtained by Eqs. (1) and (6) as follows,

$$\left\{ \begin{array}{l} F_{ax} + F_{bx} = m_{1} a_{1x} \hfill \\ F_{ay} + F_{by} - G_{1} = m_{1} a_{1y} \hfill \\ 0.5L_{AB} F_{bx} \sin (\theta_{1} -\uppi) + 0.5L_{AB} F_{by} \cos (\theta_{1} -\uppi) + M_{1} \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} - 0.5L_{AB} F_{ax} \sin (\theta_{1} -\uppi) - 0.5L_{AB} F_{ay} \cos (\theta_{1} -\uppi) = J_{1} \ddot{\theta }_{1} \hfill \\ \end{array} \right.$$
(13)
$$\left\{ \begin{array}{l} - F_{bx} + F_{dx} = m_{2} a_{2x} + m_{3} a_{3x} \hfill \\ - F_{by} + F_{dy} - G_{2} - G_{3} = m_{2} a_{2y} + m_{3} a_{3y} \hfill \\ - L_{BC} F_{bx} \sin \theta_{2} + L_{BC} F_{by} \cos \theta_{2} + 0.5L_{BC} G_{2} \cos \theta_{2} = J_{BC} \ddot{\theta }_{2} \hfill \\ - L_{CD} F_{dx} \sin \theta_{3} + L_{CD} F_{dy} \cos \theta_{3} - G_{3} l_{3} \cos (\theta_{3} + \alpha_{3} ) + M_{d} = J_{DC} \ddot{\theta }_{3} . \hfill \\ \end{array} \right.$$
(14)
Fig. 15
figure 15

Configuration 2

The parameters in Table 2 are substituted into the dynamic equations of the planar double-folded metamorphic mechanism, and the numerical iterative algorithm is adopted (the iteration time step is 0.01 s). The relationship between driving torque and time is obtained by using Matlab numerical simulation software. The results are compared with those of SolidWorks virtual dynamics simulation. As shown in Fig. 16, the numerical results of driving torque are in good agreement with those of virtual simulation. It verifies the correctness and validity of the dynamics model for Class II augmented Assur groups and solves the difficult problem of solving the dynamics model of constrained metamorphic mechanisms due to the existence of non-holonomic constraints and strong coupling.

Fig. 16
figure 16

Driving torque of the planar double-folded metamorphic mechanism

In addition, the relative motion law and the constraint force/torque of the metamorphic joints of the planar double-folded metamorphic mechanism in two working cycles can be obtained by numerical calculation, as shown in Figs. 17, 18 and 19.

Fig. 17
figure 17

The relative motion laws of metamorphic joints

Fig. 18
figure 18

The constraint forces of metamorphic joint D

Fig. 19
figure 19

The constraint force/torque of metamorphic joint E

Figure 17 shows that the planar double-folded metamorphic mechanism is in horizontal folding state within 0–2.63 s, in which metamorphic joint D is relatively static and metamorphic joint E is relatively moving; the planar double-folded metamorphic mechanism is in vertical folding state within 2.63–7.3 s, in which metamorphic joint D is relatively moving and metamorphic joint E is relatively static; the planar double-folded metamorphic mechanism is in reset state within 7.3–10 s, in which metamorphic joint D is relatively static and metamorphic joint E is relatively moving. At the same time, it can be seen from Fig. 17 that the relative angular displacement of the metamorphic joint D and the relative linear displacement of the metamorphic joint E have a sudden change at the initial moment. The sudden change is related to the initial position of the torsional spring. The deformation of the torsional spring can be obtained by static analysis of the mechanism at the initial moment of configuration 1; thus, the sudden change of metamorphic joint can be avoided at the initial position.

As can be seen from Figs. 18 and 19, the variation law of the constraint force/torque of the metamorphic joint before and after the configuration change has changed greatly, and there is a sudden change between the constraint force/torque of the metamorphic joints at the time of configuration change. The sudden change is related to the impact of configuration change.

4.2 The Metamorphic Nipper Swing Mechanism

Taking the metamorphic nipper swing mechanism (Zhang and Sun 2015) as an example, the types and constraints of metamorphic joints based on the kinematic characteristics of metamorphic joints are given. The mechanism has three configurations, which are: the nipper is gradually closed, the nipper is closed, and the nipper is gradually opened during working cycle. Based on that, the nipper gradually closed configuration and the nipper gradually opened configuration are taken as a mechanism in order to achieve the above requirements, as shown in Fig. 20a. In this mechanism, spring is added to kinematic joint G, so that the slider 5 and the component 6 are combined into one component under the constraint of spring, and the nipper is in an open state at this time. The nipper closed configuration is shown in Fig. 20b. In this mechanism, a geometric constraint is added at kinematic joint C, and the upper nipper 4 which combined with the lower nipper 2 to form one component is gradually moved from position b to position a.

Fig. 20
figure 20

Working configuration of the metamorphic nipper swing mechanism

Based on the principle of augmented Assur groups, the metamorphic nipper swing mechanism is divided into a fixed-axis rotating active part, an Assur group RPR and an augmented Assur group RP–RR–RR–R, as shown in Fig. 21.

Fig. 21
figure 21

The schematic diagram

According to geometric and inertia properties of the metamorphic nipper swing mechanism in Table 3, a three-dimensional model is established in SolidWorks, as shown in Fig. 22. The initial distance between slider 5 and H is 172.37 mm, and the initial position of the component 9 is \({{{3\pi }} \mathord{\left/ {\vphantom {{{3\pi }} 5}} \right. \kern-0pt} 5}\) rad.

Table 3 Geometric and inertia properties of the metamorphic nipper swing mechanism (SI units)
Fig. 22
figure 22

Three-dimensional graph

Assuming that the active part 9 rotates at a constant speed of 6 r/min (motion period is 10 s), the dynamic simulation is carried out in SolidWorks virtual prototype environment, and the relationship between the driving torque and time of the metamorphic nipper swing mechanism is obtained.

When the metamorphic nipper swing mechanism is in gradually closed and gradually opened configurations, the dynamic equations can be obtained by Eqs. (1), (2) and (7). When the mechanism is in closed configuration, the dynamic equations can be obtained by Eqs. (1), (2) and (8). The parameters in Table 3 are substituted into the dynamic equations of the metamorphic nipper swing mechanism, and the numerical iterative algorithm is adopted (the iteration time step is 0.01 s). The relationship between driving torque and time is obtained by using Matlab numerical simulation software. The results are compared with SolidWorks virtual dynamics simulation.

As shown in Fig. 23, the numerical results of driving torque are in good agreement with those of virtual simulation. It verifies the correctness and validity of the Class III augmented Assur groups dynamics model.

Fig. 23
figure 23

Driving torque of the metamorphic nipper swing mechanism

5 Conclusions

Based on the constrained metamorphic mechanisms, a simple and straightforward approach to develop a unified dynamics model and a systematic numerical iterative algorithm for solving dynamic equations were presented in this paper, considering the impact of force constraints and/or geometric constraints.

What conclusions can be arrived in this paper are as following,

  1. (1)

    Presented a simple and straightforward approach to establish a unified dynamics model of constrained metamorphic mechanisms considered force constraints and/or geometric constraints. In this approach, a unified dynamics model of constrained metamorphic mechanisms is composed of dynamics models of active parts, Assur groups and augmented Assur groups, and all of these models are established by N/E equation. In the dynamics model of augmented Assur groups, metamorphic joints have an important influence on augmented Assur groups. By considering the kinematic characteristics of the metamorphic joints, there are non-collision configuration, internal collision configuration and external collision configuration. Meanwhile, the complete configuration dynamics model of augmented Assur groups is established.

  2. (2)

    Proposed a numerical iterative algorithm for solving the dynamic equations of constrained metamorphic mechanisms based on the theory that velocity and acceleration are same in an extremely brief period. It solves the difficult problem for the dynamic solution of constrained metamorphic mechanisms due to the existence of non-holonomic constraints and strong coupling.

  3. (3)

    Taking the planar double-folded metamorphic mechanism and the metamorphic nipper swing mechanism as examples, the numerical simulations are finished by Matlab software and SolidWorks software. Simulation results show that the unified dynamics model of constrained metamorphic mechanisms and the numerical iterative algorithm are correct and effective. On the other hand, it shows that impact motion of constrained metamorphic mechanisms exists in the transformation of configuration, and it provides a theoretical basis for the follow-up study of such mechanisms.