Custom 12-DOF Quadruped Robot — Self-Learning Locomotion Research Platform
Independently designed and developed a custom 12-DOF quadruped robot from scratch, integrating mechanical CAD design, 3D-printed structures, twelve high-torque servos, custom power distribution and ESP32-based control. After 5–8 prototype iterations, the 5.3 kg robot successfully demonstrated standing, sitting and Wi-Fi-controlled movements. Developed during an AIDC research internship, the platform is being extended towards autonomous walking, inverse kinematics and reinforcement-learning-based locomotion.
Quadruped RoboticsLegged LocomotionRobotic Dog12 Degrees of FreedomRobotics ResearchMechanical EngineeringMechatronicsFusion 360CAD Modelling3D PrintingPLAPETGEmbedded SystemsESP32PCA9685Servo Motor ControlHigh-Torque ServosInverse KinematicsGait PlanningPosture ControlMPU6050Time-of-Flight SensorsPower DistributionLi-ion BatteryI2C CommunicationWireless TelemetryWi-Fi ControlAutonomous RoboticsReinforcement LearningResearch & Development
01 / 07
Project Photo
01
Project Background and Motivation
The Custom 12-DOF Quadruped Robot was developed as a major robotics research project during a summer internship at the Amity Innovation & Design Centre (AIDC), Amity University. Development began on 4 May 2026 with the objective of creating a fully customised four-legged robotic platform capable of supporting future research in locomotion, intelligent control and autonomous systems.
The motivation originated from practical exposure to robotics development at AIDC. Having worked on several electronic and robotic systems, the next objective was to undertake a substantially more complex engineering challenge involving the complete design and construction of a robot from the ground up.
Quadruped robots were selected because their development requires the integration of several engineering disciplines, including mechanical design, kinematics, actuation, electronics, control systems and computational algorithms. Unlike wheeled robots, quadrupeds must coordinate multiple articulated joints while maintaining structural balance and supporting their own weight.
Another important motivation was the opportunity to develop an open and adaptable research platform. Commercial quadruped systems can be expensive, and their mechanical and software architectures may not provide complete flexibility for experimentation. By developing an independent design, every mechanical component, electrical connection and control algorithm could be studied, modified and improved according to the project's requirements.
The initial objective was therefore to create a mechanically stable and electronically integrated quadruped rather than immediately attempting complex autonomous movement.
The project was undertaken independently under the guidance of Dr. Vinayak Majhi at AIDC, with the longer-term goal of transforming the prototype into an intelligent, self-learning robotic platform.
02
Research Objectives and Design Requirements
The primary objective was to develop a medium-scale quadruped robot with twelve independently controlled degrees of freedom, providing sufficient mechanical flexibility for posture adjustment and future locomotion research.
The system was required to incorporate four articulated legs, each capable of controlled movement through three actuated joints. This arrangement would allow the robot to adjust its body position, change leg configurations and eventually execute coordinated walking sequences.
A major mechanical requirement was ensuring that the selected actuators could support the robot's complete weight. The structure needed to distribute mechanical loads effectively, minimise friction at the joints and prevent excessive torque requirements caused by inefficient linkage geometry.
The electronic architecture needed to coordinate twelve high-current servo motors while simultaneously supporting sensors, wireless communication and future control-system development.
Because the servos required substantially more current than ordinary microcontroller peripherals, a dedicated power distribution architecture was essential. The design needed separate high-current actuator supplies, regulated logic power and appropriate grounding across connected components.
The robot was also intended to be modular, allowing components to be replaced or improved without redesigning the entire structure.
The development methodology divided the project into mechanical design, fabrication, actuator integration, electronics, power distribution, programming, calibration and testing.
The initial success criteria focused on structural stability, controlled joint positioning, reliable sensor operation and demonstrated standing and sitting positions. More advanced objectives, including autonomous walking and reinforcement-learning-based control, were reserved for subsequent development.
03
Mechanical Research and Iterative CAD Development
Mechanical design became one of the most technically demanding aspects of the project because the quadruped needed to support its own weight through multiple servo-driven leg mechanisms.
The complete mechanical structure was designed using Autodesk Fusion 360. Rather than using a commercially available quadruped chassis, the body, leg linkages, actuator holders and supporting structures were developed specifically for the selected components.
Approximately five to eight prototype configurations were created during development. These iterations involved changes to body dimensions, joint geometry, servo positioning and leg linkage arrangements.
Several early designs experienced difficulty supporting the expected structural load. In some configurations, the body dimensions were reduced to improve the overall geometry, while other revisions focused on repositioning the actuators and redesigning the leg mechanisms.
One particularly important challenge was the loss of effective actuator torque caused by unfavourable mechanical linkage arrangements. Although the servo motors had substantial rated torque, their practical ability to support and move the robot depended heavily on how that torque was transferred through the leg structures.
Different linkage configurations were therefore studied and redesigned to improve mechanical advantage, reduce unnecessary loading and achieve more effective movement.
The iterative design process demonstrated that selecting powerful actuators alone is not sufficient for developing a stable quadruped. Joint placement, lever-arm geometry, link dimensions, friction and the robot's centre of mass can be equally important.
Following multiple redesigns and physical tests, the final configuration achieved the required structural strength and enabled the robot to support its own weight in controlled standing and sitting positions.
04
Final Mechanical Architecture and Fabrication
The final quadruped uses a fully custom 12-degree-of-freedom architecture consisting of four independently articulated legs.
Each leg contains three actuated joints, providing the mechanical flexibility required for positioning and posture control. The arrangement was developed to support future inverse-kinematics-based movement, where desired foot positions can be converted into corresponding joint angles.
The main body measures approximately 500 mm in length, 300 mm in width and 120 mm in height. Each leg consists of an upper section measuring approximately 220 mm and a lower section measuring approximately 260 mm.
The complete mechanical structure was modelled in Autodesk Fusion 360 and fabricated using FDM 3D printing. PLA and PETG were selected for different structural components according to their mechanical requirements and fabrication suitability.
The final design incorporates custom servo holders, articulated leg links, bearings, fasteners and steel reinforcement rods.
Bearings were included at rotary joints to reduce friction and improve the smoothness of mechanical movement. This was particularly important because excessive joint resistance would increase the torque required from the servo motors.
Threaded steel rods were used to reinforce the main body structure and improve its durability while providing a convenient method of connecting major structural elements.
The design positioned significant actuator mass near the main body, reducing unnecessary loading on the outer leg sections and helping maintain a more centralised mass distribution.
After final assembly, the robot had a mass of approximately 5.3 kg and was able to support its complete structure through its four articulated legs.
The final mechanical system provided a stable and adaptable foundation for the subsequent electronics and locomotion-control stages.
05
High-Torque Servo Actuation and Mechanical Linkages
The quadruped uses twelve DS5160 SSG high-torque digital servo motors, with three actuators assigned to each leg.
Each servo has a specified maximum torque rating of approximately 60 kg·cm and operates within a recommended voltage range of 6–8.4 V. The developed robot uses an 8 V supply for the actuator system.
The servos provide controlled angular positioning, allowing individual joints to move to commanded positions. When coordinated correctly, these joint movements can produce changes in body height, leg extension and posture.
A major challenge was ensuring that the actuators could translate their available torque into useful mechanical force at the legs.
During early prototyping, several linkage designs placed the actuators at mechanically inefficient positions. These arrangements increased the effective load on certain joints, making it difficult for the robot to support its weight or move the legs under load.
Mechanical redesign focused on improving servo placement, linkage dimensions and joint orientation so that the actuators could operate more effectively within their mechanical limits.
Additional attention was given to bearing placement and reducing friction between moving components. Proper alignment of rotary joints helped prevent unnecessary resistance during servo movement.
The final actuation structure successfully supported the robot's approximately 5.3 kg mass during stationary posture tests.
This stage demonstrated the relationship between servo torque, mechanical advantage, joint configuration and load distribution in multi-legged robotic systems.
06
Embedded Electronics and Control Architecture
The robot's electronic control architecture is based primarily on an ESP32 development board.
The ESP32 was selected because it provides sufficient processing capability and communication interfaces for controlling actuators, reading sensors and supporting wireless telemetry during prototype development.
A PCA9685 16-channel PWM driver was incorporated to generate the individual servo-control signals required by the twelve actuators.
The PCA9685 communicates with the ESP32 through the I²C interface, using the shared SDA and SCL lines. This allows the controller to manage multiple servo channels without requiring twelve separate dedicated timing outputs.
Twelve PWM channels are allocated to the quadruped's actuators, leaving four additional channels available for future expansion.
The servo driver operates as a signal-generation component rather than as the primary power source for the high-current servos. Actuator power is supplied separately through the custom distribution system.
The controller and associated electronics were integrated using dedicated hand-soldered connection boards, providing organised signal routing and power distribution.
An STM32F411 microcontroller was also physically installed as a provision for future expansion. However, it was not activated in the initial control architecture because of development-environment compatibility difficulties.
The ESP32 therefore remains responsible for the implemented control functions, including servo positioning, sensor readings, wireless communication and preset movement execution.
The modular controller architecture provides a foundation for distributing future processing tasks between microcontrollers as the complexity of locomotion control increases.
07
Custom Power Distribution and Electrical Engineering
Power distribution was a critical aspect of the quadruped's design because twelve high-torque servo motors can impose substantial and rapidly changing electrical loads.
The robot is powered by a 24 V, 7000 mAh lithium-ion battery pack.
Rather than supplying the actuators directly from the main battery, the system uses a DTD302-V2 high-current buck converter rated at 20 A to provide a regulated 8 V servo power supply.
Separate LM2596 buck converters provide additional regulated power rails at 12 V, 5 V and 3.3 V for the microcontroller, sensors and other supporting electronics.
The system maintains a common electrical ground reference across the relevant controllers, signal interfaces and power supplies.
Custom soldered distribution boards were developed to organise the power connections and provide a more maintainable electrical architecture than independent point-to-point wiring.
Additional capacitors were incorporated into the power distribution network to help buffer short-duration current demands from the servo motors and reduce voltage disturbances affecting the electronics.
One important design decision was to keep servo power separate from the PCA9685 signal circuitry. This reduced the risk of routing excessive current through a board intended primarily for PWM signal generation.
The resulting electrical architecture provided a stable supply for the robot's control and actuator subsystems during the reported tests.
The system operated for approximately 25–35 minutes on battery power, depending on movement and load conditions, without significant servo overheating.
These results demonstrated the importance of proper voltage regulation, electrical separation and current management when developing multi-actuator robotic systems.
08
Sensor Integration and Environmental Monitoring
The quadruped was designed with sensing capabilities to support orientation monitoring, proximity detection and future feedback-based movement control.
An MPU6050 six-axis inertial measurement unit was incorporated to provide acceleration and angular-rate information along three axes.
The sensor allows the embedded controller to monitor changes in body orientation and provides measurements that can support calculations relating to pitch, roll and movement.
The initial sensor integration focused on acquiring stable readings and confirming communication with the ESP32.
Following the original NTCC development period, the MPU6050 was further integrated into the control software for body-angle calibration.
This provided an additional basis for developing future posture correction and balance-control algorithms. However, a fully validated dynamic self-balancing system has not yet been completed.
The environmental sensing subsystem also includes two VL53L0X Time-of-Flight distance sensors, positioned to provide front and rear proximity measurements.
These sensors communicate through I²C and provide distance readings that can be monitored through the embedded software.
The current implementation uses the sensor data primarily for monitoring, calibration and experimentation.
Future applications include obstacle-aware walking, autonomous navigation, foot-placement adjustment and sensor-assisted terrain adaptation.
By incorporating these sensors at an early stage, the robot was prepared for more advanced perception and feedback-control development without requiring a complete redesign of the electronics.
09
Servo Calibration, Joint Limits and Posture Development
Before attempting coordinated body movements, all twelve servo motors required calibration to ensure that their mechanical neutral positions matched the intended robot geometry.
The initial calibration procedure involved programming the PCA9685 servo driver to generate PWM signals at approximately 50 Hz and commanding the actuators to predefined neutral positions.
The servo horns and leg structures were then attached in positions that provided appropriate movement ranges in both directions.
Particular attention was given to positioning the legs within their usable mechanical workspace. Incorrect neutral alignment could cause joints to collide with the body or attempt movements beyond their physical limits.
The calibration process therefore required repeated assembly, adjustment and testing of the mechanical joints.
Once suitable neutral positions were established, the robot's legs could be moved through controlled increments to verify their available range and resistance under load.
Preset movement sequences were subsequently implemented to coordinate multiple servo positions.
These included transitions between standing and sitting configurations, demonstrating that the quadruped could change its body posture through coordinated actuation.
The standing test was an important milestone because it confirmed that the combined mechanical structure, servos, electrical supply and controller could sustain the required load.
This stage established the calibrated foundation needed for further development of inverse kinematics, walking gaits and sensor-assisted posture control.
10
ESP32 Wi-Fi Dashboard and Motion Control Software
A Wi-Fi-based control interface was developed to provide direct access to the quadruped's embedded control functions.
The system uses the ESP32's wireless networking capabilities to expose a browser-accessible dashboard through which servo positions and predefined movements can be controlled.
The interface enables the robot to receive movement instructions without requiring a continuously connected programming computer or direct serial commands for every action.
The dashboard supports servo-control functions and telemetry monitoring, providing a useful development environment for examining joint behaviour and connected sensor readings.
Predefined movement sequences were implemented to command the robot into different postures, including standing and sitting.
The software architecture also provides a foundation for future coordination between high-level movement planning and the embedded joint-control system.
A FlySky radio-control interface was considered and provisioned as part of the broader design. However, transmitter-based locomotion control is planned for later development once stable walking functionality has been achieved.
Similarly, the high-level autonomous command system remains under development and should be distinguished from the currently functional browser-based control interface.
The completed Wi-Fi control system demonstrates practical integration of embedded programming, wireless communication and multi-servo actuation within a custom robotic platform.
11
Kinematic Analysis and Walking Algorithm Research
Quadruped walking requires coordinated movement of all four legs while maintaining an appropriate relationship between foot position, joint angles and body balance.
The research investigated the mathematical principles required for leg positioning, including forward and inverse kinematics.
The two principal leg-link lengths were defined as 220 mm and 260 mm, allowing the theoretical planar reach of the combined mechanism to be examined.
For an ideal two-link arrangement, the theoretical maximum reach is the sum of the two link lengths, or 480 mm, while the theoretical minimum reach is the absolute difference, or 40 mm.
These values provide geometric reference limits rather than guarantees of physically achievable movement, because actual joint limits, servo rotation constraints and mechanical interference further restrict the usable workspace.
MATLAB was used during the original research phase to study leg kinematics, movement geometry and the relationships between joint configurations and possible foot positions.
The work also examined basic quadruped gait patterns, particularly crawl and trot movements.
A crawl gait moves the legs sequentially and is generally suitable for developing slower, more controlled walking behaviour. Trotting involves coordinated movement of diagonal leg pairs and introduces greater demands on timing and balance.
The current development is focused on further studying and implementing the inverse-kinematics calculations required to generate coordinated leg movements.
Although the robot can stand, sit and execute preset motions, complete autonomous walking has not yet been validated.
The kinematic work therefore represents an ongoing progression from basic joint positioning towards coordinated locomotion.
12
Mechanical and Electrical Testing Results
Testing was conducted progressively throughout development to verify the performance of the robot's individual subsystems before evaluating the integrated platform.
Mechanical testing focused on the ability of the body and leg assemblies to withstand load, maintain joint alignment and support the complete robot structure.
Early prototypes revealed problems involving structural dimensions, linkage geometry and insufficient effective actuator force.
These issues were addressed through mechanical redesign, improved servo placement, joint alignment and the use of bearings and reinforcement components.
Following final assembly and calibration, the approximately 5.3 kg robot successfully demonstrated stable standing and sitting configurations.
The servo-control system was tested through individual joint movements and coordinated preset sequences, confirming that the ESP32 and PCA9685 could command the twelve actuators.
Electrical testing verified the regulated power rails and the ability of the battery and servo distribution system to support the actuators under the tested operating conditions.
The robot achieved an approximate battery-powered runtime of 25–35 minutes, depending on load and movement activity. No significant servo overheating was observed during the reported tests.
The connected sensors were also tested for data acquisition, while the Wi-Fi interface enabled movement control and telemetry access.
These results validated the initial mechanical and embedded-control objectives.
The robot has not yet demonstrated complete walking, terrain adaptation or reinforcement-learning-based autonomy, and these functions remain outside the validated initial prototype results.
13
Engineering Challenges and Design Improvements
The most significant engineering challenge was creating a mechanical structure that could make effective use of the available servo torque.
Although the selected digital servos had high rated torque, several early mechanical configurations failed to translate that capacity into sufficient supporting force at the legs.
Unfavourable linkage geometry increased the load on particular joints, while certain body dimensions and servo arrangements resulted in reduced stability.
The mechanical design therefore underwent approximately five to eight iterations, involving changes to frame dimensions, leg geometry, joint placement and linkage mechanisms.
Another challenge was ensuring that the leg structures could support the robot without excessive mechanical friction.
The integration of bearings, structural reinforcement and improved alignment helped reduce joint resistance and improve the overall consistency of movement.
The electrical system required careful planning because all twelve servo motors could draw substantial current when moving or supporting loads.
Separate power rails, adequate voltage regulation and custom distribution boards were implemented to reduce the risk of electrical instability and protect the control electronics.
Servo calibration also proved essential. Incorrect neutral positions or movement limits could lead to mechanical collisions, unstable postures or unnecessary actuator loading.
The project demonstrated how mechanical engineering decisions directly affect control-system performance and how successful robotic development depends on repeatedly validating the physical implementation rather than relying exclusively on theoretical specifications.
14
Academic Research, NTCC Outcome and Development Contributions
The quadruped was developed as the major research project associated with the 2026 summer internship at the Amity Innovation & Design Centre.
The initial development phase began on 4 May 2026 and continued through 14 July 2026, while the formal AIDC internship certificate covers 4 May to 10 July 2026.
The project was completed under the industry guidance of Dr. Vinayak Majhi, with Dr. Sanjay Kumar Dubey serving as the faculty guide for the NTCC academic requirement.
During this phase, the complete mechanical design, CAD modelling, prototype development, fabrication, assembly, electronics, power distribution, embedded programming, calibration and testing were undertaken independently by the student researcher.
The work resulted in an original custom quadruped platform with twelve independently actuated joints and a modular control architecture.
The accompanying NTCC report documented the research background, design methodology, mechanical and electrical systems, component integration, calibration and experimental outcomes.
At the conclusion of the initial phase, the robot had successfully demonstrated the primary mechanical and embedded-control objectives, including stable standing, sitting and controlled joint movement.
The system has subsequently been presented as ongoing research work rather than as a completed autonomous walking demonstration.
The final university NTCC grade remains pending.
The project represents substantial practical experience in multidisciplinary engineering and the independent development of a custom robotics research platform.
15
Current Development, Collaboration and Future Research
Following completion of the initial NTCC prototype, the quadruped project continued as an active research and development effort at the Amity Innovation & Design Centre.
The current development phase focuses on progressing beyond predefined joint movements towards coordinated walking and increasingly intelligent motion control.
One area of ongoing work involves integrating MPU6050 orientation measurements into body-angle calibration and further studying inverse kinematics to calculate the required servo positions for desired leg movements.
Future software development aims to produce reliable walking gait sequences, including controlled foot trajectories, joint-angle calculations and coordinated transitions between leg-support phases.
The project has also progressed from its original independent development into collaborative work with Aditya Sharma, a second-year B.Tech Mechanical Engineering student.
Aditya's involvement began after the initial individually developed prototype phase and is focused on improving control systems and contributing to additional engineering enhancements.
Longer-term objectives include reliable autonomous walking, closed-loop posture stabilisation, terrain-aware gait adaptation and reinforcement-learning-based locomotion.
The platform may also be extended through modular mechanical attachments, improved sensing and more advanced embedded control hardware.
The installed STM32 microcontroller provides an opportunity for future investigation into distributed control, with time-sensitive motion functions potentially assigned to a dedicated controller while the ESP32 supports communication and higher-level coordination.
At present, the robot remains an operational mechanical and embedded-control prototype rather than a fully autonomous, self-learning quadruped.
Its principal achievement is the successful creation of a complete custom-built legged robotics platform that can be used as a foundation for continued research in locomotion, intelligent control and autonomous systems.