In my work on servo drives and motion control, I have repeatedly observed that industrial robots are most often deployed in position-controlled mode. This mode is excellent for repeatability and path tracking, but it is intentionally stiff. When an industrial robot must pick an object from a fixture, cooperate with a gripper, or interact with a human or another machine, that stiffness becomes a limitation. A small position error can generate a large contact force, and the industrial robot may damage the object or the tool. I therefore focus on a force-position hybrid control strategy that keeps the servo drive in position mode while introducing controlled compliance. My objective is to make industrial robots capable of compliant object retrieval without adding a torque sensor and without frequent switching between force mode and position mode.
My proposed method combines three main ideas. First, I compute a theoretical joint torque from the kinematics and dynamics of the industrial robot. Second, I compute a feedback joint torque from the servo current, motor rated torque, gear ratio, and rotation direction. Third, I use the difference between these two torques inside a super-twisting sliding-mode controller, and I add a second-order low-pass disturbance observer to compensate the current control loop. The result is a position-mode servo drive that behaves with adjustable softness. The industrial robot remains stable, but it can yield slightly when an external object is taken from its end effector.
I structure this article around the physical meaning of compliance, the kinematic and dynamic models required for torque estimation, the servo hardware and software architecture, the super-twisting controller, the disturbance observer, and experimental observations on a 50 kg payload industrial robot. Throughout, I emphasize that the value of the method is not only theoretical. It is a practical path for industrial robots to achieve flexible picking with lower cost and lower complexity.
Compliance and Stiffness in Industrial Robots
Compliance is the reciprocal of stiffness. For an industrial robot, linear compliance describes how much displacement occurs under an external force, while torsional compliance describes how much angular displacement occurs under an external torque. These definitions are simple, but they clarify the design target. A conventional position-controlled industrial robot has very high stiffness. Its compliance is nearly zero. If an external tool tries to take an object from the robot, the robot resists the motion until the position error becomes large enough to generate a high force. This is not desirable in flexible retrieval.
I use the following definitions for linear and torsional compliance:
$$C = \frac{\Delta x}{F}$$
$$C_{\theta} = \frac{\Delta \theta}{\tau}$$
Here, \(C\) is linear compliance in meters per newton, \(\Delta x\) is displacement in meters, and \(F\) is external force in newtons. \(C_{\theta}\) is torsional compliance in radians per newton-meter, \(\Delta \theta\) is angular displacement, and \(\tau\) is external torque. For an industrial robot to be safe and gentle during interaction, the controller must allow a controlled nonzero compliance. However, the controller must also prevent the industrial robot from becoming unstable or losing position tracking during normal motion.
| Quantity | Symbol | Unit | Interpretation |
|---|---|---|---|
| Linear compliance | \(C\) | m/N | Displacement per unit external force |
| Torsional compliance | \(C_{\theta}\) | rad/(N·m) | Angular displacement per unit external torque |
| Stiffness | \(K\) | N/m | Reciprocal of linear compliance |
| Torsional stiffness | \(K_{\theta}\) | (N·m)/rad | Reciprocal of torsional compliance |
| Position error | \(\Delta x\) or \(\Delta \theta\) | m or rad | Deviation caused by interaction |
In my design, compliance is not achieved by mechanically softening the industrial robot. It is achieved by modifying the servo command. The industrial robot remains in position control mode, but the position reference is adjusted through a torque-error loop. When the external force changes the feedback torque, the super-twisting controller generates a small position offset. This offset makes the industrial robot move slightly in the direction of the external interaction. The theoretical torque then resists excessive motion, which prevents runaway behavior. By tuning the controller gains, I can change the effective compliance of the industrial robot without changing its mechanical structure.
Kinematic Modeling for Industrial Robots
To compute theoretical torque, I need a kinematic model that maps joint variables to end-effector pose. I use the Denavit-Hartenberg convention for a six-axis industrial robot. Each joint has a coordinate frame, and the transformation between adjacent frames is obtained from four parameters: link twist, link length, link offset, and joint angle. The transformation from the base frame to the end-effector frame is the product of the individual link transformations.
$$T_{0}^{6}(\theta) = \prod_{i=1}^{6} T_{i-1}^{i}(\theta_i)$$
The total transformation can be partitioned into rotation and translation:
$$T_{0}^{6}(\theta) =
\begin{bmatrix}
R_{0}^{6}(\theta) & p_{0}^{6}(\theta) \\
0 & 1
\end{bmatrix}$$
Here, \(\theta = [\theta_1, \theta_2, \theta_3, \theta_4, \theta_5, \theta_6]^{T}\) is the joint angle vector. \(R_{0}^{6}(\theta)\) is the orientation of the end effector relative to the base frame, and \(p_{0}^{6}(\theta)\) is the position of the end effector relative to the base frame. I use this transformation for both forward kinematics and Jacobian construction.
| Frame \(i\) | Joint variable \(\theta_i\) | Link twist \(\alpha_{i-1}\) | Link length \(a_{i-1}\) | Link offset \(d_i\) | Role in the kinematic chain |
|---|---|---|---|---|---|
| 1 | \(\theta_1\) | \(\alpha_0\) | \(a_0\) | \(d_1\) | Base rotation of the industrial robot |
| 2 | \(\theta_2\) | \(\alpha_1\) | \(a_1\) | \(d_2\) | Shoulder motion |
| 3 | \(\theta_3\) | \(\alpha_2\) | \(a_2\) | \(d_3\) | Elbow motion |
| 4 | \(\theta_4\) | \(\alpha_3\) | \(a_3\) | \(d_4\) | Forearm roll |
| 5 | \(\theta_5\) | \(\alpha_4\) | \(a_4\) | \(d_5\) | Wrist pitch |
| 6 | \(\theta_6\) | \(\alpha_5\) | \(a_5\) | \(d_6\) | Wrist roll and tool orientation |
The generalized transformation from frame \(i-1\) to frame \(i\) can be written as a product of basic transformations:
$$T_{i-1}^{i} = \operatorname{Rot}_{z}(\theta_i)\operatorname{Trans}_{z}(d_i)\operatorname{Trans}_{x}(a_{i-1})\operatorname{Rot}_{x}(\alpha_{i-1})$$
I use this formulation because it is compact, standard, and well suited to real-time implementation in a servo drive. The industrial robot controller can evaluate the transformation at every communication cycle. This is important because the theoretical torque calculation depends on the current pose of the industrial robots, not on a preplanned path.
Jacobian Matrix and Velocity Mapping
The Jacobian matrix maps joint velocities to end-effector linear and angular velocities. For a six-axis industrial robot with rotary joints, the Jacobian columns are obtained from the joint axes and the position vectors from each joint to the end effector. This matrix is essential because it connects joint-space motion to task-space motion and allows me to relate forces and torques through the virtual work principle.
$$\begin{bmatrix}
v_i \\
\omega_i
\end{bmatrix}
=
\begin{bmatrix}
z_i \times {}^{i}p_{0}^{n} \\
z_i
\end{bmatrix}
\dot{q}_i$$
For each joint \(i\), the Jacobian column is:
$$J_i =
\begin{bmatrix}
J_{v_i} \\
J_{\omega_i}
\end{bmatrix}
=
\begin{bmatrix}
z_i \times {}^{i}p_{0}^{n} \\
z_i
\end{bmatrix}$$
The complete Jacobian for a six-degree-of-freedom industrial robot is:
$$J(q) =
\begin{bmatrix}
z_1 \times {}^{1}p_{0}^{6} & z_2 \times {}^{2}p_{0}^{6} & \cdots & z_6 \times {}^{6}p_{0}^{6} \\
z_1 & z_2 & \cdots & z_6
\end{bmatrix}$$
Equivalently, I write:
$$J(q) =
\begin{bmatrix}
J_1 & J_2 & J_3 & J_4 & J_5 & J_6
\end{bmatrix}$$
The end-effector velocity vector is then:
$$\begin{bmatrix}
v_6 \\
\omega_6
\end{bmatrix}
=
\begin{bmatrix}
J_1 & J_2 & J_3 & J_4 & J_5 & J_6
\end{bmatrix}
\begin{bmatrix}
\dot{\theta}_1 \\
\dot{\theta}_2 \\
\dot{\theta}_3 \\
\dot{\theta}_4 \\
\dot{\theta}_5 \\
\dot{\theta}_6
\end{bmatrix}$$
In my implementation, I do not need an analytical inverse kinematic solution for the velocity-level Jacobian. I compute the Jacobian directly from the current joint angles. This is computationally heavier than some closed-form solutions, but it is general and robust for industrial robots with complex wrist geometries.
| Matrix | Dimension | Input | Output | Use in my controller |
|---|---|---|---|---|
| \(T_{0}^{6}\) | 4×4 | Joint angles | End-effector pose | Pose feedback and gravity direction |
| \(J(q)\) | 6×6 for a six-axis robot | Joint angles | Velocity mapping | Virtual work and torque transformation |
| \(D(\theta)\) | 6×6 | Joint angles | Inertia matrix | Theoretical torque computation |
| \(P\) | Scalar | Joint angles and gravity | Potential energy | Gravity torque term |
Dynamic Model and Theoretical Joint Torque
After kinematics, I build a dynamic model. The Euler-Lagrange formulation is convenient because it expresses the equations of motion in terms of kinetic and potential energy. For an industrial robot, the Lagrangian is the difference between kinetic energy and potential energy.
$$L = E – P$$
The Euler-Lagrange equation for joint \(i\) is:
$$\frac{d}{dt}\frac{\partial L}{\partial \dot{\theta}_i} – \frac{\partial L}{\partial \theta_i} = \tau_i$$
I treat each link as a rigid body with mass concentrated at its center of mass. The kinetic energy of link \(i\) includes translational and rotational contributions:
$$E = \frac{1}{2}m_i v_i^{T}v_i + \frac{1}{2}\omega_i^{T}I_{i}^{0}\omega_i$$
The inertia tensor in the base frame is obtained from the inertia tensor in the link frame by a rotation transformation:
$$I_{i}^{0} = R_{i}^{0} I_i (R_{i}^{0})^{T}$$
The inertia tensor of a rigid link has the form:
$$I_i =
\begin{bmatrix}
I_{XX} & I_{XY} & I_{XZ} \\
I_{YX} & I_{YY} & I_{YZ} \\
I_{ZX} & I_{ZY} & I_{ZZ}
\end{bmatrix}$$
Its components are volume integrals over the link density:
$$I_{XX} = \iiint (y^2 + z^2)\rho(x,y,z)\,dx\,dy\,dz$$
$$I_{YY} = \iiint (x^2 + z^2)\rho(x,y,z)\,dx\,dy\,dz$$
$$I_{ZZ} = \iiint (x^2 + y^2)\rho(x,y,z)\,dx\,dy\,dz$$
$$I_{XY} = I_{YX} = -\iiint xy\rho(x,y,z)\,dx\,dy\,dz$$
$$I_{XZ} = I_{ZX} = -\iiint xz\rho(x,y,z)\,dx\,dy\,dz$$
$$I_{YZ} = I_{ZY} = -\iiint yz\rho(x,y,z)\,dx\,dy\,dz$$
Because direct integration is impractical for a real industrial robot, I obtain the inertia tensors from a three-dimensional model and link parameters. I then compute the total kinetic energy in quadratic form:
$$E = \frac{1}{2}\dot{\theta}^{T}D(\theta)\dot{\theta}$$
The inertia matrix is:
$$D(\theta) =
\sum_{i=1}^{6}
\left[
m_i J_{v_i}^{T}J_{v_i}
+
m_i J_{\omega_i}^{T}
R_{i}^{0}I_i(R_{i}^{0})^{T}
J_{\omega_i}
\right]$$
If I denote an element of the inertia matrix by \(d_{ij}\), then:
$$E = \frac{1}{2}\sum_{i,j}d_{ij}(\theta)\dot{\theta}_i\dot{\theta}_j$$
The potential energy depends on gravity and the center-of-mass position of each link:
$$P_i = [m_i g]^{T}r_{i}^{c}$$
The total potential energy is:
$$P = \sum_{i=1}^{6}P_i = \sum_{i=1}^{6}[m_i g]^{T}r_{i}^{c}$$
Substituting the Lagrangian into the Euler-Lagrange equation gives the joint torque equation:
$$\sum_{j=1}^{6}d_{jk}\ddot{\theta}_j
+
\frac{1}{2}\sum_{i,j}
\left[
\frac{\partial d_{kj}}{\partial \theta_i}
+
\frac{\partial d_{kj}}{\partial \theta_j}
–
\frac{\partial d_{ij}}{\partial \theta_k}
\right]\dot{\theta}_i\dot{\theta}_j
+
\sum_{i=1}^{6}[m_i g]^{T}
\frac{\partial r_{i}^{c}}{\partial \theta_k}
=
\tau_k$$
I use this equation to compute the theoretical torque \(\tau_k\) for each joint in real time. The servo drive samples encoder positions at high frequency, estimates joint velocities, and evaluates the dynamic model. In a practical industrial robot, the payload and tool change the mass, center of mass, and inertia of the last links. Therefore, I use load-specific parameters. Even for the same industrial robot model, different end-effectors and payloads produce different joint torques.
| Term | Meaning | Physical effect | Implementation note |
|---|---|---|---|
| \(D(\theta)\ddot{\theta}\) | Inertial torque | Resists joint acceleration | Uses link masses and inertia tensors |
| Coriolis and centrifugal term | Velocity coupling | Depends on joint speed products | Evaluated from Jacobian derivatives |
| Gravity term | Gravity torque | Depends on pose and payload | Updated with end-effector load model |
| \(\tau_k\) | Theoretical joint torque | Desired torque for the current state | Used as reference in the hybrid loop |
Feedback Torque from the Servo Drive
The theoretical torque alone is not enough. I need a measured or estimated torque from the servo drive. Instead of adding a torque sensor, I compute feedback torque from the q-axis current, motor rated torque, gear ratio, and rotation direction. This keeps the cost low and uses signals that are already available in every industrial servo drive.
$$T_r = I_q Q_r G R$$
In this equation, \(T_r\) is the feedback joint torque, \(I_q\) is the q-axis torque current, \(Q_r\) is the motor rated torque, \(G\) is the gear ratio, and \(R\) is the rotation direction, which is either \(+1\) or \(-1\). This calculation is simple, but it depends on accurate motor parameters and current sampling. I filter the current feedback before using it in the torque loop because the current signal contains switching ripple and measurement noise.
| Signal | Symbol | Source | Role in force-position hybrid control |
|---|---|---|---|
| q-axis current | \(I_q\) | Current sampling and Park transformation | Feedback torque estimation |
| Motor rated torque | \(Q_r\) | Motor data sheet | Scaling from current to torque |
| Gear ratio | \(G\) | Reducer data sheet | Joint-side torque scaling |
| Rotation direction | \(R\) | Sign of motion command | Corrects torque polarity |
| Feedback torque | \(T_r\) | Servo computation | Compared with theoretical torque |
I emphasize that this feedback torque is not a direct contact force measurement. It is an estimate based on motor current. It includes friction, inertia, gravity, and external interaction. The theoretical torque also includes inertia, gravity, and velocity effects. The difference between them contains the external interaction and modeling error. The controller uses this difference to create compliance. The disturbance observer then helps separate low-frequency disturbance and modeling uncertainty from the intentional torque error.
Servo Hardware Architecture for Industrial Robots
My hardware architecture follows a distributed joint-module design. Each joint has its own servo drive module, and all modules communicate with a main controller through a real-time bus. This structure is common in industrial robots because it reduces cabling complexity, improves scalability, and allows each joint to perform high-frequency current control locally. The main controller sends position and velocity commands, while each servo drive returns position, velocity, current, and status information.
The power stage includes a rectifier, an inverter, and a DC bus. The rectifier converts three-phase AC power into DC power. The inverter uses pulse-width modulation and insulated-gate bipolar transistors to generate three-phase AC for the motor. The control stage includes a digital signal processor, analog sampling circuits, digital input and output circuits, and communication interfaces. The DSP performs current control, velocity control, position control, torque estimation, and the proposed hybrid control algorithm.

| Hardware module | Main function | Signals or devices | Importance for industrial robots |
|---|---|---|---|
| Rectifier and power supply | Convert AC to DC and generate control voltages | Three-phase AC, DC bus, 5 V, 3.3 V, ±15 V | Provides stable energy for the servo drive |
| Inverter and gate drive | Generate motor phase voltages | PWM, IGBT, gate driver | Enables high-bandwidth current control |
| DSP control board | Execute control algorithms and communication | Current, voltage, temperature, encoder | Runs the force-position hybrid loop |
| Current sampling | Measure phase currents | Shunt or Hall sensors | Provides \(I_q\) for feedback torque |
| Encoder interface | Read joint position | Absolute or incremental encoder | Provides position and velocity feedback |
| Real-time bus | Synchronize joint modules | EtherCAT or dual-port RAM | Maintains coordinated motion of industrial robots |
I design the communication cycle to be short, typically between one and two milliseconds. This period is short enough for synchronized motion of industrial robots and long enough for reliable data exchange. The servo drive performs current control at a much higher rate than the communication cycle. Position commands from the main controller are interpolated and filtered before they enter the position loop. This prevents step changes from exciting mechanical resonance.
Software Flow and Mode Transitions
The software flow begins with initialization and self-check. The servo drive waits for an enable command and a position-mode command from the main controller. Once enabled, the industrial robot operates in conventional position control mode. The DSP continuously samples current, position, voltage, and temperature. It also computes velocity from position. When the main controller sends a force-position hybrid control command, the servo drive enters the hybrid mode. It computes theoretical torque and feedback torque, runs the super-twisting controller, and adds the controller output to the position reference. The disturbance observer runs in parallel and compensates the current loop. When the object has been taken and the main controller sends an end command, the servo drive returns to normal position control.
| Stage | Condition | Action | Output |
|---|---|---|---|
| Initialization | Power on | Self-check and parameter loading | Servo ready |
| Enable | Enable command received | Close current, velocity, and position loops | Position control active |
| Hybrid entry | Force-position command received | Compute theoretical and feedback torque | Hybrid loop active |
| Compliant interaction | External object contacts end effector | Super-twisting controller adjusts position offset | Soft motion of industrial robots |
| Hybrid exit | End command received | Disable torque-error injection | Normal position control restored |
| Fault | Fault detected | Disable servo and report alarm | Safe stop |
This flow is important because it avoids the classical problem of switching between a force control mode and a position control mode. In my method, the industrial robot remains in position mode. The hybrid behavior is generated by modifying the position reference through the torque-error controller. This reduces mode-switching complexity and improves stability. The servo drive does not need a separate force control mode, and the main controller does not need to coordinate a high-speed mode switch.
Servo Loop Transfer Functions
I model the servo system as a cascade of position, velocity, and current loops. The position loop is the outer loop, the velocity loop is the middle loop, and the current loop is the inner loop. I use proportional control for the position loop because overshoot is not allowed in industrial robots. The velocity loop includes proportional gain and the disturbance observer. The current loop uses proportional-integral control. The plant includes the inverter, motor, and mechanical load.
$$C_p(s) = K_{pp}$$
$$C_{0s}(s) = \frac{Q_p}{T_{sp}s+1}\frac{1}{T_{fp}s+1}$$
$$C_{\tau 2}(s) = \frac{1}{Ms^2 + Bs + K}$$
$$C_{\tau 1s}(s) = K_{\tau}$$
$$K_{\tau} = Q_r G R$$
$$C_v(s) = K_{vp}$$
$$C_{1s}(s) = \frac{Q_v}{T_{sv}s+1}\frac{1}{T_{fv}s+1}$$
$$C_{2r/2s} =
\begin{bmatrix}
\cos\theta & -\sin\theta \\
\sin\theta & \cos\theta
\end{bmatrix}$$
$$C_{2s}(s) = \frac{Q_i}{T_{si}s+1}\frac{1}{T_{fi}s+1}$$
$$C_I(s) = K_{Ip}\left(1 + \frac{1}{T_{Ii}s}\right)$$
$$C_u(s) = \frac{K_{pwm}}{T_{pwm}s+1}\frac{1}{T_{dt}s+1}$$
$$C_m(s) = \frac{1/R_s}{(L_q/R_s)s+1}$$
$$K_t = \frac{3}{2}N_p\varphi_r$$
$$C_1(s) = \frac{1}{J_m s}$$
$$C_{0s}(s) = \frac{Q_p}{T_{sp}s+1}\frac{1}{T_{fp}s+1}$$
$$G_{3/2} =
\sqrt{\frac{2}{3}}
\begin{bmatrix}
1 & -\frac{1}{2} & -\frac{1}{2} \\
0 & \frac{\sqrt{3}}{2} & -\frac{\sqrt{3}}{2} \\
\frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}}
\end{bmatrix}$$
$$C_{2s/2r} =
\begin{bmatrix}
\cos\theta & \sin\theta \\
-\sin\theta & \cos\theta
\end{bmatrix}$$
These transfer functions allow me to analyze stability and bandwidth. The position sampling and velocity sampling blocks include delays and filters. The current sampling block includes the current filter and sample delay. The inverter block includes switching delay and dead time. The motor block is a first-order electrical model on the q-axis. The torque constant converts q-axis current into electromagnetic torque. The mechanical block integrates torque into velocity, and the position is obtained by integration or differentiation depending on the loop.
| Block | Symbol | Function | Key parameter |
|---|---|---|---|
| Position controller | \(C_p(s)\) | Proportional position correction | \(K_{pp}\) |
| Position sampling | \(C_{0s}(s)\) | Delay and filtering of position | \(T_{sp}, T_{fp}, Q_p\) |
| Theoretical torque model | \(C_{\tau 2}(s)\) | Second-order dynamic response | \(M, B, K\) |
| Feedback torque model | \(C_{\tau 1s}(s)\) | Current-to-torque scaling | \(K_{\tau}\) |
| Velocity controller | \(C_v(s)\) | Proportional velocity correction | \(K_{vp}\) |
| Velocity sampling | \(C_{1s}(s)\) | Delay and filtering of velocity | \(T_{sv}, T_{fv}, Q_v\) |
| Current controller | \(C_I(s)\) | PI current regulation | \(K_{Ip}, T_{Ii}\) |
| Inverter | \(C_u(s)\) | PWM and dead-time effect | \(K_{pwm}, T_{pwm}, T_{dt}\) |
| Motor electrical plant | \(C_m(s)\) | q-axis voltage to current | \(R_s, L_q\) |
| Torque constant | \(K_t\) | Current to electromagnetic torque | \(N_p, \varphi_r\) |
| Mechanical plant | \(C_1(s)\) | Torque to velocity | \(J_m\) |
Super-Twisting Controller Design
The core of my force-position hybrid control is a super-twisting sliding-mode controller. I choose sliding-mode control because it is robust against parameter uncertainty and external disturbance. I choose the super-twisting form because it is a second-order sliding-mode algorithm that reduces chattering while preserving robustness. This is important for industrial robots, where chattering can excite mechanical resonance and reduce surface quality in tasks such as polishing or assembly.
I define the tracking error as the difference between the theoretical torque and the feedback torque:
$$e_s = \tau_{1k} – \tau_{2k}$$
Here, \(\tau_{1k}\) is the theoretical torque of joint \(k\), and \(\tau_{2k}\) is the feedback torque of joint \(k\). I then define a sliding surface that includes an integral term:
$$s = e_s + \lambda \int_{0}^{T} e_s\,dt$$
The integral term forces the torque error to converge to zero over time. The parameter \(\lambda\) controls the convergence speed. A larger \(\lambda\) makes the error decrease faster, but it can also introduce oscillation if it is too large. I tune \(\lambda\) together with the super-twisting gains.
The super-twisting control law is:
$$u = -k_1 |s|^{1/2}\operatorname{sign}(s) – k_2 \int_{0}^{T}\operatorname{sign}(s)\,dt$$
I define an auxiliary state:
$$z_s = \int_{0}^{T}\operatorname{sign}(s)\,d\tau$$
The control law becomes:
$$u = -k_1 |s|^{1/2}\operatorname{sign}(s) – k_2 z_s$$
I analyze stability using a Lyapunov function. First, I differentiate the sliding surface:
$$\dot{s} = \dot{e}_s + \lambda e_s$$
$$\ddot{s} = \ddot{e}_s + \lambda \dot{e}_s$$
I model the servo error dynamics as a second-order system with a lumped disturbance:
$$\ddot{e}_s = \zeta + u$$
Here, \(\zeta\) represents external disturbance and model uncertainty. I assume it is bounded:
$$|\zeta| \le \delta$$
Substituting the control law gives:
$$\ddot{s} = \zeta + \lambda \dot{e}_s – k_1 |s|^{1/2}\operatorname{sign}(s) – k_2 z_s$$
I choose the Lyapunov function:
$$V(x) = \frac{1}{2}\dot{s}^2 + \frac{2}{3}k_1 |s|^{3/2} + \frac{1}{2}k_2 z_s^2$$
For positive gains \(k_1\) and \(k_2\), this function is positive definite. Its derivative is:
$$\dot{V} = \dot{s}\ddot{s} + k_1 |s|^{1/2}\operatorname{sign}(s)\dot{s} + k_2 z_s \operatorname{sign}(s)$$
After substitution, I obtain:
$$\dot{V} = \dot{s}(\zeta + \lambda \dot{e}_s) + k_2 z_s[\operatorname{sign}(s) – \dot{s}]$$
In the terminal reaching phase of the super-twisting algorithm, there exists a positive \(\rho\) such that:
$$\dot{s} = -\rho \operatorname{sign}(s)$$
For the first term, I use:
$$\dot{s} = -k_1 |s|^{1/2}\operatorname{sign}(s)$$
Thus:
$$\rho = k_1 \sqrt{|s|}$$
The term involving \(z_s\) becomes:
$$k_2 z_s[\operatorname{sign}(s) – \dot{s}] = k_2(1+\rho)z_s\operatorname{sign}(s)$$
Because:
$$z_s \operatorname{sign}(s) = \int_{0}^{T}\operatorname{sign}(s)^2\,d\tau \gt 0$$
If I choose \(k_1\) large enough so that the negative contribution dominates, then:
$$\dot{V} \lt 0$$
This proves that the system state and its derivative converge to the sliding surface in finite time. In practice, finite-time convergence means that the torque error is driven to zero quickly, and the industrial robot reaches the desired compliant behavior without sustained oscillation.
| Parameter | Symbol | Effect | Tuning direction |
|---|---|---|---|
| Sliding surface gain | \(\lambda\) | Controls torque-error convergence speed | Increase for faster convergence, but avoid oscillation |
| First super-twisting gain | \(k_1\) | Dominates the nonlinear reaching term | Increase for stronger correction |
| Second super-twisting gain | \(k_2\) | Rejects persistent disturbance | Increase for stronger integral action |
| Disturbance bound | \(\delta\) | Limits uncertainty and external disturbance | Estimate from experiments |
| Lyapunov function | \(V(x)\) | Proves stability | Must remain positive definite |
Disturbance Observer with Second-Order Low-Pass Filtering
To improve stability and accuracy, I add a disturbance observer. The observer is based on a second-order low-pass filter and is compensated to the current-loop feedforward. The purpose is to estimate low-frequency disturbance and modeling error, then cancel them before they affect the velocity and position loops. This is especially useful for industrial robots because friction, payload variation, and unmodeled dynamics change with pose.
I analyze the observer in the velocity loop. Let \(T_L\) be the load disturbance and \(\zeta\) be external noise. The estimated inertia is \(J_{mE}\), and the actual motor inertia is \(J_m\). The velocity-loop proportional gain is \(K_P\). The current-loop transfer function is \(C_I(s)\), and its estimate is \(\hat{C}_I(s)\). The second-order filter has time constant parameter \(n\).
The transfer function from velocity reference \(\omega^*\) to velocity output \(\omega\) is:
$$G_{\omega}(s) =
\frac{K_P C_I(s)\hat{C}_I(s)(s^2 + 2ns + n^2)}
{J_m \hat{C}_I(s)s^3 + 2J_m \hat{C}_I(s)ns^2 + J_{mE}C_I(s)n^2s + K_P C_I(s)\hat{C}_I(s)(s^2 + 2ns + n^2)}$$
The transfer function from load disturbance \(T_L\) to velocity output is:
$$G_d(s) =
\frac{-\hat{C}_I(s)(s^2 + 2ns)}
{J_m \hat{C}_I(s)s^3 + 2J_m \hat{C}_I(s)ns^2 + J_{mE}C_I(s)n^2s + K_P C_I(s)\hat{C}_I(s)(s^2 + 2ns + n^2)}$$
The transfer function from external noise \(\zeta\) to velocity output is:
$$G_{\zeta}(s) =
\frac{-J_{mE}C_I(s)n^2s – K_P C_I(s)\hat{C}_I(s)(s^2 + 2ns + n^2)}
{J_m \hat{C}_I(s)s^3 + 2J_m \hat{C}_I(s)ns^2 + J_{mE}C_I(s)n^2s + K_P C_I(s)\hat{C}_I(s)(s^2 + 2ns + n^2)}$$
At low frequency, the gains are:
$$\left.\frac{\omega}{\omega^*}\right|_{s\to 0} = 1$$
$$\left.\frac{\omega}{T_L}\right|_{s\to 0} = 0$$
This means that the velocity output tracks the velocity reference without steady-state error, and a constant load disturbance has no steady-state effect on velocity. As the filter parameter \(n\) approaches zero, the transfer functions simplify:
$$\left.\frac{\omega}{\omega^*}\right|_{n\to 0} =
\frac{K_P C_I(s)}{J_m s + K_P C_I(s)}$$
$$\left.\frac{\omega}{T_L}\right|_{n\to 0} =
\frac{-1}{J_{mE}s + K_P C_I(s)}$$
For a step load disturbance, the velocity error tends to zero in steady state. The observer therefore improves disturbance rejection. At high frequency, the noise transfer function is attenuated. Since external noise is usually high frequency, the second-order low-pass filter prevents noise from entering the torque loop and causing chattering.
| Transfer function | Meaning | Low-frequency behavior | High-frequency behavior |
|---|---|---|---|
| \(G_{\omega}(s)\) | Reference to velocity | Unity gain | Roll-off due to filters |
| \(G_d(s)\) | Load disturbance to velocity | Zero gain | Attenuated by feedback |
| \(G_{\zeta}(s)\) | Noise to velocity | Small effect | Strong attenuation |
Experimental Setup and Observations
I evaluated the method on a six-axis industrial robot with a 50 kg payload. The test pose was near the robot zero position, and I applied force-position hybrid control along the vertical axis. In this pose, the industrial robot can move slightly up and down while the end effector is engaged with an external object. I recorded theoretical torque, feedback torque, and super-twisting controller output for every joint.
Joint 1 is nearly unloaded in this pose. Its theoretical torque and feedback torque are both small, and the hybrid controller output stays near zero. The joint is almost stationary. This is expected because the vertical interaction does not create a significant moment about the base axis. The feedback torque contains more ripple than the theoretical torque because it is derived from current sampling. The theoretical torque is smooth because it comes from the dynamic model and the measured joint state.
| Joint | Load condition in the test pose | Theoretical torque behavior | Feedback torque behavior | Controller output | Motion effect |
|---|---|---|---|---|---|
| Joint 1 | Nearly unloaded | Small and stable | Small with ripple | Near zero | Almost stationary |
| Joint 2 | High load | Large and smooth | Large with fluctuation around theory | Relatively large | Soft vertical micro-motion |
| Joint 3 | High load | Large and smooth | Large with fluctuation around theory | Relatively large | Soft vertical micro-motion |
| Joint 4 | Moderate load | Moderate | Moderate | Moderate | Micro-motion |
| Joint 5 | Moderate load | Moderate | Moderate | Moderate | Micro-motion |
| Joint 6 | Nearly unloaded | Small | Small | Near zero | Almost stationary until external contact |
Joint 2 and joint 3 carry most of the vertical load in the test pose. Their theoretical torques are large, and their feedback torques fluctuate around the theoretical values. The difference between theory and feedback is caused by model error, friction, and unmodeled dynamics. This difference drives the super-twisting controller. The controller output is added to the position reference, so the joints move slightly along the vertical direction. This is the soft floating behavior that enables compliant retrieval. When an external gripper takes the object from the industrial robot, the joints yield instead of resisting with high stiffness.
Joint 4 and joint 5 experience moderate load. Their controller outputs are smaller but still nonzero, so they contribute to the overall compliance. Joint 6 is nearly unloaded in the chosen pose, so its controller output is close to zero. However, if the end effector contacts an external object, the feedback torque changes, and joint 6 can also move slightly to accommodate the interaction. This is important for tasks where the object orientation must adjust during retrieval.
| Observation | Cause | Effect on industrial robots | Control implication |
|---|---|---|---|
| Theoretical torque is smooth | Dynamic model and filtered joint state | Provides a stable reference | Good for sliding-surface definition |
| Feedback torque has ripple | Current sampling and PWM switching | Adds high-frequency content | Requires filtering and disturbance observer |
| Torque error is large under load | Model mismatch and external interaction | Creates compliant motion | Drives the super-twisting controller |
| Controller output is small for unloaded joints | Low torque error | Keeps the joint stable | Prevents unnecessary motion |
| Controller output is larger for loaded joints | High gravitational and inertial torque | Enables soft floating | Provides adjustable compliance |
From these observations, I conclude that the proposed scheme gives industrial robots a controllable softness in position mode. The robot does not need a torque sensor. The servo drive uses current feedback and the dynamic model to estimate torque. The super-twisting controller then converts torque error into a position offset. The disturbance observer suppresses noise and load disturbance, so the motion remains stable. The overall effect is compliant object retrieval without mode switching.
Why This Matters for Industrial Robots
Industrial robots are increasingly used in handling, machine tending, sampling, assembly, and collaboration. In many of these tasks, the robot must interact with an object that is held by another device or by a human. A purely position-controlled industrial robot is too rigid. A force-controlled industrial robot often requires a torque sensor, force sensor, or a complex mode-switching architecture. My method provides a middle path. It keeps the standard position-control interface and uses the existing servo current to estimate torque. The result is a lower-cost, lower-complexity solution for flexible picking.
The method also has practical benefits for servo tuning. Because the torque-error loop is added around the position loop, the base position controller can remain unchanged. The super-twisting gains and the sliding-surface gain can be adjusted to change compliance. The disturbance observer can be tuned to reject low-frequency load changes without amplifying high-frequency noise. This separation of concerns makes the method easier to deploy on existing industrial robots.
| Design goal | Traditional position control | Traditional hybrid force-position control | My proposed method |
|---|---|---|---|
| Compliance | Nearly zero | Adjustable but mode-dependent | Adjustable in position mode |
| Mode switching | None | Frequent switching | No force-position mode switching |
| Torque sensor | Not required | Often required or beneficial | Not required |
| Stability | High but stiff | Can degrade during switching | Super-twisting plus observer improves robustness |
| Cost | Low | Higher | Low to moderate |
| Implementation complexity | Low | High | Moderate |
I also note that the method is not limited to a single pose. The dynamic model updates with joint position, velocity, and acceleration. The payload model can be changed when the tool changes. The disturbance observer compensates slowly varying friction and load. Therefore, the same control structure can be used across a workspace, provided that the kinematic and dynamic parameters are reasonably accurate. In my experiments, the industrial robot remained stable within the tested pose range and exhibited the expected soft behavior.
Controller Implementation Details
In the servo drive, I implement the force-position hybrid controller in the DSP interrupt. The current loop runs at the highest rate, the velocity loop runs at a medium rate, and the position loop runs at the communication rate. The torque estimation runs in synchronism with the velocity loop. I use the following sequence in each control cycle:
1. Sample phase currents and encoder position. 2. Apply Clarke and Park transformations to obtain \(I_d\) and \(I_q\). 3. Compute joint velocity from position difference. 4. Update the dynamic model using the current joint state. 5. Compute theoretical torque from the Euler-Lagrange equation. 6. Compute feedback torque from \(I_q\), rated torque, gear ratio, and direction. 7. Evaluate the torque error and sliding surface. 8. Compute the super-twisting control output. 9. Add the control output to the position reference. 10. Run the disturbance observer and compensate the current-loop feedforward. 11. Execute the current loop and generate PWM.
| Step | Operation | Signal | Timing |
|---|---|---|---|
| 1 | Current and position sampling | \(I_a, I_b, I_c, \theta\) | Every current-loop cycle |
| 2 | Coordinate transformation | \(I_d, I_q\) | Every current-loop cycle |
| 3 | Velocity estimation | \(\dot{\theta}\) | Every velocity-loop cycle |
| 4 | Dynamic model update | \(D(\theta), P, J(q)\) | Every velocity-loop cycle |
| 5 | Theoretical torque | \(\tau_{1k}\) | Every velocity-loop cycle |
| 6 | Feedback torque | \(\tau_{2k}\) | Every velocity-loop cycle |
| 7 | Sliding surface | \(s\) | Every hybrid-control cycle |
| 8 | Super-twisting law | \(u\) | Every hybrid-control cycle |
| 9 | Position reference adjustment | \(\theta’\) | Every position-loop cycle |
| 10 | Disturbance observer | \(\hat{d}\) | Every current-loop feedforward cycle |
| 11 | PWM generation | Gate signals | Every current-loop cycle |
The computational load is modest for a modern digital signal processor. The most expensive part is the dynamic model, but it can be evaluated efficiently using recursive rigid-body algorithms. I do not require an online optimization, a neural network, or a high-order observer. This is important for industrial robots because servo drives have limited computing resources and strict real-time deadlines.
Stability and Robustness Considerations
Stability is my primary concern. The super-twisting controller guarantees finite-time convergence to the sliding surface under bounded disturbance. The disturbance observer reduces the effective disturbance seen by the controller. The position loop remains proportional, so it does not introduce overshoot. The velocity loop includes the observer compensation, which increases phase margin at low frequency. The current loop is designed with sufficient bandwidth to track the q-axis current reference.
There are several practical limits. First, the theoretical torque depends on the accuracy of the dynamic parameters. If the payload is incorrectly identified, the torque error will contain a bias. The integral term in the sliding surface and the disturbance observer can compensate part of this bias, but not all of it. Second, the feedback torque is affected by current sensor offset and gain error. Calibration is necessary. Third, the gain \(k_1\) and \(k_2\) must be chosen carefully. If they are too small, the response is slow. If they are too large, the controller may react to noise and cause vibration. The second-order low-pass filter in the observer helps suppress high-frequency noise, but it also adds phase lag.
| Challenge | Source | Mitigation in my design | Residual risk |
|---|---|---|---|
| Payload uncertainty | Tool change or unknown mass | Load-specific dynamic parameters | Bias in theoretical torque |
| Current sensor error | Offset, gain, noise | Calibration and filtering | Feedback torque error |
| Friction | Reducer and joint bearings | Disturbance observer | Position-dependent friction |
| High-frequency noise | PWM and sampling | Second-order low-pass filter | Phase lag |
| Mechanical resonance | Joint flexibility | Limited controller bandwidth | Vibration at certain poses |
| External impact | Sudden contact force | Sliding-mode robustness | Saturation of current or position offset |
I also consider the interaction between the position loop and the torque-error loop. The torque-error loop is slower than the current loop but faster than the position loop in terms of effective correction. This separation allows the position loop to maintain the nominal trajectory while the hybrid loop adjusts the reference. If the hybrid loop is too aggressive, it can fight the position loop and cause oscillation. I therefore limit the hybrid controller output and tune the sliding-surface gain so that the compliance is smooth rather than abrupt.
Comparison with Alternative Approaches
Many existing methods for compliant control of industrial robots rely on impedance control, admittance control, or hybrid force-position control with explicit mode switching. Each has advantages. Impedance control can shape the dynamic relationship between force and motion, but it often requires force sensing. Admittance control can use position-controlled industrial robots, but it typically needs a force sensor and a compliant reference model. Hybrid force-position control can achieve good results in grinding and polishing, but it decomposes the task space into force-controlled and position-controlled directions, which requires mode selection and can be sensitive to switching.
My method is different because it does not require a force sensor and does not switch between force and position modes. It uses the servo current as an implicit torque observer. The dynamic model provides a theoretical torque reference. The super-twisting controller generates a position offset. The disturbance observer improves robustness. This combination is well suited to industrial robots that already have accurate encoders and current sensors.
| Method | Force sensor needed | Mode switching | Compliance mechanism | Best fit |
|---|---|---|---|---|
| Pure position control | No | No | None | High-speed transfer and repeatability |
| Impedance control | Usually yes | No | Dynamic force-motion relation | Interaction tasks |
| Admittance control | Usually yes | No | Position reference from force | Position-controlled industrial robots |
| Hybrid force-position control | Often yes | Yes | Orthogonal force and position subspaces | Grinding and polishing |
| My proposed method | No | No | Torque-error-driven position offset | Compliant retrieval and flexible handling |
I do not claim that my method replaces all other approaches. Instead, I view it as a practical complement. When a torque sensor is available, it can be fused with the current-based estimate to improve accuracy. When the task requires explicit force regulation, a hybrid force-position architecture may still be preferred. However, for the specific problem of compliant object retrieval in industrial robots, the proposed method offers a strong balance between performance, cost, and complexity.
Parameter Tuning Guidelines
I tune the controller in stages. First, I verify the current loop and velocity loop without the hybrid function. Second, I verify the theoretical torque calculation by comparing it with the feedback torque under slow motion. Third, I enable the disturbance observer and check that it reduces low-frequency error without adding noise. Fourth, I enable the super-twisting controller with small gains and gradually increase them until the desired compliance is reached. Fifth, I test the industrial robot under external interaction and adjust the position-offset limit to prevent excessive motion.
| Tuning stage | Objective | Signal to monitor | Success criterion |
|---|---|---|---|
| Current loop | Fast and stable current tracking | \(I_q\) step response | No overshoot, short settling time |
| Velocity loop | Stable speed control | \(\omega\) step response | Small steady-state error |
| Theoretical torque | Model accuracy | \(\tau_{1k}\) vs. \(\tau_{2k}\) | Similar trends under slow motion |
| Disturbance observer | Low-frequency disturbance rejection | \(\hat{d}\) and velocity error | Reduced error without noise amplification |
| Super-twisting | Adjustable compliance | \(s\), \(u\), joint position | Smooth soft motion, no chattering |
| Safety limits | Prevent excessive motion | Position offset and current | Bounded within safe range |
The tuning process is iterative. I start with conservative gains and increase them slowly. The goal is not to maximize stiffness or force tracking speed. The goal is to achieve a controlled softness that allows the industrial robot to yield gently when an external object is taken. This is different from force control in a machining task, where high force bandwidth may be required. For retrieval, the priority is stability, safety, and smoothness.
Practical Applications
The proposed force-position hybrid control can be applied to several tasks involving industrial robots. In machine tending, an industrial robot may need to place a part into a chuck or fixture. If the part is slightly misaligned, a rigid position controller may jam or damage the part. With adjustable compliance, the robot can self-align during insertion. In bin picking, an industrial robot may need to extract an object that is held by another gripper or nested among other objects. Compliance allows the robot to release the object smoothly. In collaborative workcells, an industrial robot may need to hand an object to a human. Compliance reduces the risk of sudden force spikes.
| Application | Interaction condition | Benefit of my method | Key parameter |
|---|---|---|---|
| Machine tending | Part insertion into fixture | Self-alignment and reduced jamming | Compliance gain |
| Bin picking | Object nested or held | Smooth extraction | Sliding-surface gain |
| Assembly | Contact with mating parts | Reduced contact force | Super-twisting gains |
| Human-robot handover | Human takes object | Safe yielding motion | Position-offset limit |
| Sampling | Tool touches sample holder | Gentle contact | Disturbance observer bandwidth |
Because the method operates in position mode, it can be integrated into existing industrial robot controllers with minimal changes. The main controller continues to send position commands. The servo drive adds a torque-error-based offset. The communication interface remains the same. This backward compatibility is valuable for retrofitting existing industrial robots. It avoids the cost of adding torque sensors and the complexity of redesigning the control cabinet.
Limitations and Future Work
My method has limitations. It estimates torque from motor current, so it cannot distinguish between external contact force and internal friction perfectly. The dynamic model must be reasonably accurate. The method is also limited by the bandwidth of the current loop and the stiffness of the mechanical transmission. If the reducer has high friction or backlash, the estimated feedback torque may be less accurate. The disturbance observer can compensate low-frequency effects, but it cannot remove all nonlinear friction.
Future work can improve the method in several ways. I can identify the payload parameters online using recursive least squares. I can use a more detailed friction model that depends on joint velocity and temperature. I can fuse the current-based torque estimate with a joint torque sensor when one is available. I can also extend the super-twisting controller to an adaptive form that adjusts the gains according to the estimated disturbance level. These extensions would improve performance in a wider range of industrial robot applications.
| Limitation | Cause | Possible improvement | Expected benefit |
|---|---|---|---|
| Torque estimate includes friction | Current-based estimation | Friction model and observer | Better force separation |
| Payload parameter error | Unknown tool or object | Online identification | More accurate theoretical torque |
| High-frequency noise | PWM and sampling | Advanced filtering and observer tuning | Lower chattering |
| Mechanical backlash | Reducer nonlinearity | Backlash compensation | Improved position accuracy |
| Limited force bandwidth | Current and velocity loops | Higher bandwidth control | Faster contact response |
Conclusion
I have presented a force-position hybrid control scheme for industrial robots that achieves compliant retrieval while keeping the servo drive in position control mode. The method computes theoretical torque from kinematics and dynamics, estimates feedback torque from servo current, and uses a super-twisting controller to convert torque error into a position offset. A second-order low-pass disturbance observer compensates the current-loop feedforward and improves robustness. The experimental results on a 50 kg payload industrial robot show that joints under load exhibit soft floating behavior, while unloaded joints remain nearly stationary. The industrial robot can therefore yield gently when an external object is taken, without adding a torque sensor and without switching between force and position modes.
In my view, this approach is valuable because it addresses a real gap in industrial robot control. It provides compliance without sacrificing the simplicity of position control. It reduces cost and complexity compared with sensor-based force control. It also offers a clear tuning path: the sliding-surface gain sets the convergence speed, the super-twisting gains set the robustness, and the disturbance observer sets the low-frequency disturbance rejection. By adjusting these parameters, I can change the effective compliance of industrial robots for different objects and tasks. The method is therefore a practical contribution to flexible picking, machine tending, assembly, and human-robot interaction.
I expect that future industrial robots will require more adaptable interaction capabilities. Pure position control will remain important for speed and precision, but it will not be sufficient for every task. A hybrid approach that preserves position control while adding controlled compliance is a natural evolution. The method I have described is one step in that direction. It uses the existing servo drive, the existing current sensor, and the existing real-time network. It does not require a fundamental redesign of the industrial robot. Instead, it adds intelligence to the servo loop so that industrial robots can behave softly when softness is needed and remain stiff when stiffness is needed.
