~/projects/dual-arm-robot

Dual-Arm Ammunition Retrieval Robot

A 7-DOF, two-armed robot that safely clears jammed rounds from a 12.7 mm heavy machine gun.

Applied Research Engineer · Combat Vehicles Research and Development Establishment (CVRDE), DRDO India · Nov 2021 – May 2022

  • inverse-kinematics
  • dual-arm
  • msc-adams
  • ansys
  • defense-robotics
The dual-arm robot mounted on the machine gun in MSC ADAMS

README.md

Why a robot, and what I did.

## problem

Heavy machine guns like the 12.7 mm NSVT occasionally jam with a live round stuck inside. Clearing a gun that could fire that round at any moment is unpredictable and puts the person doing it at risk, so the Ministry of Defence sought a robotic way to retrieve misfired rounds.

The system has to handle four jam cases: a round stuck in the ammunition belt, in a part of the breech, partially in the firing chamber, and fully inside the firing chamber.

SolidWorksMATLABMSC ADAMSANSYSStereo vision

## my work

  • Developed both the mechanical and the mathematical models of the 7-DOF dual-arm system.
  • Designed the sequence of operations that automates extraction of jammed ammunition, reducing manual intervention and improving safety in confined spaces.
  • Focused on inverse kinematics and collision-aware control logic for precise motion in narrow, hazardous spaces.
  • Ran simulations validating arm trajectories, force profiles and fail-safe responses across jamming scenarios.
  • Delivered design documentation for defense-grade automation standards and integration with military-grade hardware.
  • Worked with field engineers and safety experts to align with operational protocols and risk-mitigation requirements.

System design

Two arms on one torso, 8 links and 7 degrees of freedom, riding a carriage along the gun.

Isometric render of the proposed robot in its substructure unit
concept · substructure unit, carriage, torso and both arms

Each arm has one job. The external (right) arm does the heavier disassembly work on the safety lever, breech cover and cartridge tray. Those parts sit in known positions, so its motions are pre-programmed.

The internal (left) arm does the precise work of retrieving the round. Its end effector is interchangeable: a three-fingered gripper or a vacuum cup, picked up from an automatic tool changer.

A stereo-vision camera on the internal arm locates the round at the start of every step and plans the path each link takes. The whole unit rides a carriage on a ball-screw linear actuator, and a plate on that carriage is what cocks the gun.

Line render of the robot working inside the open machine gun
cad · both arms working on the open gun
Close-up line render of the internal arm reaching into the breech
cad · internal arm reaching into the breech
Internal arm with its end effector
External arm with its gripper
External gripper with a rack-and-pinion finger drive
Three-fingered gripper of the internal arm
Automatic tool changer holding spare end effectors
Stereo vision camera module
Robot on the gun, wide view
Internal arm inside the gun

Operation sequence

Make the gun safe first, then open it up, then take the round out.

Carriage plate pulling the cocking lever back
01 · cock · the carriage plate pulls the cocking lever back so the bolt cannot strike
External arm turning the safety lever on
02 · safety on · the external gripper pushes and twists the safety switch
External arm opening the breech cover
03 · open · the external arm lifts the breech cover
External arm lifting the cartridge tray
04 · lift · the external arm raises the cartridge tray
Internal arm reaching in to extract the round
05 · extract · the internal arm, guided by stereo vision, retrieves the round
Internal arm changing its end effector at the tool changer
06 · swap tools · gripper or vacuum cup, from the automatic tool changer
Flowchart of the full retrieval workflow with decision points
workflow · the full sequence, including checks before each step

Kinematics

Denavit–Hartenberg models of both arms, solved in MATLAB.

I assigned DH frames to every link of both arms and built the transformation matrices. From those came forward kinematics for each arm's operating range, and inverse kinematics for the critical points on the gun: the cocking lever, safety lever, breech cover, cartridge tray and chamber.

The same model gives the trajectories, the Jacobian, joint velocities and accelerations, the reachable workspace, and the singular configurations to avoid.

CAD model with the DH coordinate frames assigned to each link
dh frames · assigned on the CAD model
Critical points labelled on the machine gun model
targets · critical points on the gun the arms must reach
MATLAB plot of an arm pose solved by inverse kinematics
ik · pose 1
MATLAB plot of an arm pose solved by inverse kinematics
ik · pose 2
MATLAB plot of an arm pose solved by inverse kinematics
ik · pose 3
MATLAB plot of an arm pose solved by inverse kinematics
ik · pose 4
End-effector trajectory of the external arm
trajectory · external arm end effector
End-effector trajectory of the internal arm
trajectory · internal arm end effector
Workspace point cloud of the internal arm in the X-Y plane
workspace · internal arm, X–Y
Workspace point cloud of the internal arm in the Y-Z plane
workspace · internal arm, Y–Z
Workspace point cloud of the internal arm in the X-Z plane
workspace · internal arm, X–Z

Dynamics in MSC ADAMS

Every operation simulated as a multi-body system to get joint forces, torques and power.

The CAD assembly was imported into ADAMS with joints and motions defined for each step. The multi-body simulations validated the kinematics and gave the forces and torques each joint needs across the full cycle, which drove the motor selection.

ADAMS simulation of the gripper operating the safety lever
safety lever · gripper claws on the switch
ADAMS simulation of the external arm opening the breech cover
breech cover · external arm opening it
ADAMS simulation of the arm working on the cartridge tray
cartridge tray · lifted for access
ADAMS simulation of the internal arm retrieving the round
retrieval · internal arm at the round
ADAMS result plot for the cocking stroke
cocking · result 1 of 4
ADAMS result plot for the cocking stroke
cocking · result 2 of 4
ADAMS result plot for the cocking stroke
cocking · result 3 of 4
ADAMS result plot for the cocking stroke
cocking · result 4 of 4

Structural analysis

Checking the links hold up under the loads from each operation.

ADAMS Flex gave the stress hot spots on the carriage during cocking, and ANSYS static analysis checked stress and deformation on the arm for the safety-lever, breech-cover and belt-retrieval loads.

ADAMS Flex stress contours on the carriage at the end of cocking
adams flex · carriage at the end of cocking
ANSYS stress plot for safety lever manipulation
ansys · safety lever manipulation
ANSYS stress plot for breech cover opening
ansys · breech cover opening
ANSYS stress plot for belt retrieval
ansys · belt retrieval

Built with J Chamala Vaishnavi and Naveen Raj Srinivasan as a capstone project at VIT Chennai, in collaboration with CVRDE, DRDO.