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.
## 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.

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.










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







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.











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.








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.




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