馃審
Leading Research Platform
Serving Researchers Since 2012

Edge Machine Learning Enhanced 4-DOF Robotic Manipulator with Autonomous Reconfigurable End Effector and Kinematic Trajectory Optimization

DOI : 10.5281/zenodo.24770410
Download Full-Text PDF Cite this Publication

Text Only Version

Edge Machine Learning Enhanced 4-DOF Robotic Manipulator with Autonomous Reconfigurable End Effector and Kinematic Trajectory Optimization

Ayush Modani (*) , Dinesh Washimkar, Sarang Mitra, Manish Mhamane (搂), Monisha Mahadik (露), and Yogesh Gite

*Department of Mechanical Engineering, Vishwakarma Institute of Technology, Pune, India

AbstractSmall scale articulated robotic manipulators repre- sent a critical foundation for flexible manufacturing, educational robotics and localized material handling. The conventional entry level four degree of freedom (4 DOF) desktop manipulators suffer from two severe structural and operational constraints. These are rely predominantly on static, permanently attached mechanical claws that preclude multi task versatility. They executes rigid open loop joint commands that induce noticeable vibrational jerk and deflection under varying payloads. This paper presents an intelligent, low cost 4 DOF articulated robotic manipulator. It is featuring a novel autonomous electromechanical reconfigurable end effector. It is coupling integrated with an edge machine learning (TinyML) decision and trajectory optimization engine. It is powered by a dual tier embedded architecture combining an ATmega328P Arduino microcontroller with an ESP32 wireless telemetry module. It also have manipulator coordinates four high torque MG90S metal gear servo actuators with an electromechanical quick change latching mechanism. The system enables fully automated hot swapping between three dedicated tool heads. It has two finger mechanical gripper, an auxiliary laser engraving tool head and a high load rigid lifting hook.To optimize grasp mode selection and suppress cantilever vibration, the light weight machine learning models like Logistic Regression, SVM, Random Forest, Decision Tree, and a Multi Layer Perceptron were trained on physical telemetry features. It is quantized into 8 bit fixed point representations for real time edge execution. The quantized Decision Tree classifier executes in 32 s consuming only 0.94 KB of SRAM. It is achieving 97.1% classification accuracy in autonomous tool head selection. Comprehensive empirical evaluations across 100 continuous pick and place cycles verify a positional repeatability of 卤0.8 mm and a 34.2% reduction in kinematic joint jerk compared to conventional step interpolation.

Index Terms4-DOF Manipulator, Reconfigurable End Effector, Autonomous Tool Changer, Edge Machine Learning, TinyML, Denavit-Hartenberg Kinematics, Trajectory Optimization.

  1. INTRODUCTION

    Articulated robotic manipulators have evolved into an indispensable component of modern industrial automation. It is supported with localized material handling and educational prototyping [1], [2]. The robotic arms are dramatically augment operational throughput, positional precision and human operator safety [3], [4]. Within small scale manufacturing, electronics assembly, and STEM pedagogy a 4 Degree of Freedom (4 DOF) desktop articulated configurations have garnered tremendous popularity [5], [6]. Built predominantly around low voltage hobbyist micro controllers such as the ATmega328P and

    actuated by miniature servo motors. These platforms deliver an exceptional compromise between affordability, mechanical simplicity and kinematic accessibility [7], [8].

    Despite their widespread deployment the conventional low cost 4 DOF robotic arms exhibit fundamental technological bottlenecks that severely restrict their industrial utility. First, nearly all commercially available desktop arms utilize a fixed, non modular end effector. It is typically a simple two finger mechanical jaw driven by a single micro servo [9], [10]. While adequate for basic pick and place tasks involving prismatic components of uniform size. The fixed grippers fail when required to handle disparate workpiece geometries, delicate electronic printed circuit boards (PCBs) and sheet stock. It also fails for localized surface operations such as laser etching and barcode marking. Industrial scale manufacturing resolves this limitation via automated tool changing systems (ATCs) [11], [12]. The conventional industrial tool changers rely on heavy pneumatic locking rings, high pressure pneumatic compressors, solenoid manifold arrays and costly industrial Programmable Logic Controllers (PLCs) [13]. Such infrastructure is econom- ically and mechanically incompatible with lightweight, 5V powered desktop robotic manipulators.

    Second, entry level desktop manipulators typically execute open loop kinematic step interpolation without real time dynamic compensation [14], [15]. Micro metal geared ser- vomotors such as the MG90S is inherently suffer from internal gear backlash. It also has a deadband hysteresis and non linear torque speed characteristics [7]. When coupled with structural elasticity in 3D printed or acrylic arm links the rapid point to point motion profiles induce severe high frequency jerk, joint vibration, and tip positioning errors. This degrade repeatability under fluctuating payload masses [16], [17]. Furthermore the standard control programs require manual programming of grasping parameters for each individual workpiece. It is lacking the cognitive capability to adaptively select appropriate end effector tooling or optimize gripping force based on sensory telemetry.

    Recent break throughs in Tiny Machine Learning (TinyML) and embedded artificial intelligence demonstrate that quantized neural networks and decision ensembles can execute directly on resource constrained microcontrollers. It is with sub millisec- ond latencies and microscopic memory footprints [18][20]. Integrating edge machine learning into desktop robotic control

    enables real time perception of workpiece characteristics. It is automated classification of required toolhead modes and predictive compensation of kinematic deflections [21], [22].

    To address these challenges, this paper presents an intelligent, low cost 4 DOF articulated robotic manipulator featuring a novel electromechanical reconfigurable end effector. It is extedned with an edge machine learning trajectory optimization pipeline. The main contributions of this work are design and fabrication of an ultra lightweight, purely electromechanical latching coupling. It enables the 4 DOF arm to autonomously swap between three distinct tool heads in 4.2 s without pneumatic infrastructure. It includes formulation of closed form Forward Kinematics (FK) via Denavit Hartenberg (D- H) transformation matrices. It is supported with geometric inverse kinematics (IK) specifically decoupled for the 4 DOF planar pitch architecture. The contribution is further eztends for design and training of five lightweight machine learning models for real time workpiece and grasp mode classification. It has an quantization of the optimal Decision Tree classifier into 8 bit fixed point integer logic. This is fo executing directly on the ATmega328P within 32 s and

    0.94 KB SRAM. It is followed by implementation of a quintic

    polynomial trajectory interpolation algorithm. It is integrated with dynamic deflection compensation to suppress joint jerk and gear vibration. Finally an extensive empirical validation over 100 autonomous cycles evaluating positional repeatability

    of卤0.8 mm. It has a tool docking reliability of 98.0% with current consumption dynamics and classifier metrics.

  2. LITERATURE REVIEW

    The development of articulated desktop manipulators and modular robotic tooling has seen substantial progress. Early foundational works by Craig [1], Siciliano and Khatib [2], and Spong et al. [3] established the aalytical frameworks for serial link kinematics. It has reported a transformation algebra and trajectory generation that underpin modern robotic manipulation. Sharma and Gupta [9] designed an articulated multi axis pick and place routine using microcontrollers. It is demonstrating high repeatability across predetermined paths. Their mechanical wrist is permanently fixed which preventing operational reconfiguration. Kumar et al. [10] introduced sensory feedback and wireless IoT teleoperation for small articulated arms.

    To overcome single gripper constraints the industrial flexible manufacturing cells widely adopt automatic tool changers [4], [11]. Patel and Singh [11] demonstrated a multi tool robotic cell. The central arm alternates between gripping, welding and tactile inspection heads. However their mechanism required high pressure pneumatic lines and solenoid valves. It is resulting in excessive cost and system mass. Verma and Shah [5] advanced low cost robotics by fabricating 3D printed arms with hobbyist micro servos. It is demonstrating significant cost reduction for STEM education. Their structure lacked tool changing modularity and exhibited noticeable structural compliance. Rao and Reddy [7] systematically evaluated micro actuator performance. It is establishing that metal geared servos provide

    the optimal trade off between stall torque, physical weight (13.4 g) and gear durability for desktop arms.

    TABLE I

    Systematic Comparison of Robotic Manipulator Architectures

    Study

    DOF

    Actuation

    Tool Changing

    AI/ML

    Repeatability

    Sharma et al. [9]

    4-DOF

    RC Servo

    None (Fixed)

    None

    卤1.2 mm

    Kumar et al. [10]

    4-DOF

    RC Servo

    None (Fixed)

    None

    卤1.5 mm

    Patel & Singh [11]

    6-DOF

    Industrial

    Pneumatic Latch

    None

    卤0.05 mm

    Verma & Shah [5]

    3-DOF

    SG90 Servo

    None (Fixed)

    None

    卤2.4 mm

    Park et al. [13]

    5-DOF

    DC Motor

    Magnetic Snap

    None

    卤1.1 mm

    Tan et al. [12]

    6-DOF

    Industrial

    Motorized Cam

    Current

    卤0.2 mm

    Proposed

    4-DOF

    MG90S

    Electromech.

    TinyML

    卤0.8 mm

    Fig. 1. System architecture block diagram .

    In parallel, machine learning applied to robotic manipulation has transitioned toward the extreme edge [18], [20]. Chen et al. [17] employed neural networks to compensate for joint elastic deflections in articulated linkages. Li et al. [21] developed intelligent grasp synthesis algorithms, while Bhatt et al. [16] utilized TinyML classifiers to suppress vibration in servomotor linkages. Table I contextualizes our proposed platform against representative works from the literature. Unlike prior architectures, the proposed framework unifies closed-form D-H kinematics, an electromechanical tool quick-changer and quantized edge TinyML inference on an affordable embedded platform.

  3. MANIPULATOR KINEMATICS AND ELECTROMECHANICAL ARCHITECTURE

    1. Physical Prototype and Electromechanical Linkage

      The physical experimental testbed of the fabricated 4 DOF articulated robotic manipulator is illustrated in Fig. 2. The structural links are precision laser cut from high density plywood. It is optimizing structural damping and torsional rigidity. It is achieving an ultra lightweight total moving mass of 0.48 kg. A closed kinematic parallelogram linkage is integrated across the shoulder and elbow assemblies. This is to mechanically counterbalance gravitational moments and decouple joint pitch dynamics. Actuation across all degrees of freedom is provided by four metal geared micro servomotors mounted at each revolute axis. It is driving a dual finger parallel rack and pinion end effector claw. The embedded processing setup comprises an ATmega328P microcontroller board linked to a breadboard calibration interface. Multi turn analog potentiometers and tactical control buttons allow fine manual angular jogging and datum calibration. An isolated 5V regulated power bus prevents microcontroller brownouts during simultaneous multi joint high torque slewing.

      The wrist center coordinates (wr, wz) in the planar arm plane are formulated as:

      q

      wr = p2x+ p2y a4 cos , wz = pz d1 a4 sin (5)

      Applying the law of cosines to the triangle formed by a2, a3, and the wrist center yields the elbow angle:

      w2 + w2 a2 a2

      c3 =

      r z 2 3

      2a2a3

      3

      q

      (6)

      Fig. 2. Fabricated experimental prototype of the 4-DOF articulated robotic manipulator.

      3 = atan2

      1 c 2, c3

      The manipulator kinematic chain comprises four active revolute joints (n = 4): (1) Joint 1 (1): Waist yaw rotating about the vertical z0 axis; (2) Joint 2 (2): Shoulder pitch

      Selecting the elbow up configuration, shoulder angle 2 and wrist angle 4 are solved algebraically:

      rotating about a horizontal axis normal to the sagittal plane;

      1. Joint 3 (3): Elbow pitch rotating parallel to Joint 2; and

        2 = atan2(wz, wr) atan2(a3s3, a2 + a3c3)

        4 = 2 3

        (7)

      2. Joint 4 (4): Wrist pitch controlling the inclination of the quick change end effector interface.

      TABLE II

      Denavit-Hartenberg (D-H) Parameters of the 4 DOF Manipulator

      This closed form formulation executes in under 120 s on the 16 MHz ATmega328P without requiring iterative numerical Jacobian inversions.

    2. Kinematic Singularity and Differential Motion

      Link i

      Link 1 (Base)

      i 1

      i

      +/2

      ai (mm)

      0

      di (mm)

      65

      Range

      [90, 90]

      To ensure singularity avoidance during trajectory execution

      the manipulator Jacobian matrix Jv() mapping joint rates

      Link 2 (Shoulder)

      2

      0

      105

      0

      [0, 135]

      to linear velocities p wa valuated:

      Link 3 (Elbow)

      3

      0

      95

      0

      [90, 90]

      p p p p

      ,

      s

      e

      Link 4 (Wrist) 4 0 85 0 [90, 90]

      x

      1

      p = Jv() = py

      x

      2

      py

      x

      3

      py

      x

      4

      py

      (8)

      0

      Following standard Denavit-Hartenberg conventions [1], [3], 1

      2 3 4

      individual link frames are assigned with reference parameters

      pz pz pz

      2 3 4

      i

      listed in Table II. The general homogeneous transformation matrix Ai1 mapping Frame i to Frame i 1 is defined as:

      Boundary singularities occur when the arm reaches maximum workspace extension (wr = a2 + a3, sin 3 = 0) or passes

      cos i sin i cos i sin i sin i ai cos i

      i1 sin i cos i cos i cos i sin i ai sin i

      directly through the central base vertical axis (px = py = 0). The trajectory planner monitors the manipulability measure

      Ai =

      0 sin i

      cos i

      w = det(JJT ) and restricts operational workspace way-

      di points to w > 0.05.

      0 0 0 1

      (1)

      0

      By cascading individual transformations, the total forward kinematic transformation T 4 from the base frame to the toolhead tip is given by:

      4 0 1 2 3 R4 p4

    3. Autonomous Reconfigurable End Effector Mechanism

      To overcome the severe versatility limits of fixed grippers, an autonomous electromechanical quick change interface was fabricated and mounted to Link 4. The docking coupling

      features:

      0 0

      T0 = A1(1) 路 A2(2) 路 A3(3) 路 A4(4) = 0

      (2)

      1. Electromechanical Rotary Latch: A miniature rotary cam

        Using trigonometric shorthand ci = cos i, si

        1脳3 1

        = sin i, c23 =

        driven by an internal micro servo locks into a dual groove female collar located on each interchangeable toolhead.

        cos(2 + 3), and c234 = cos(2 + 3 + 4), the Cartesian

        position vector p4 = [px, py, pz]T of the toolhead tip is

        A 60 angular rotation securely wedges the toolhead into

        0

        derived as:

        place with zero mechanical lash. The locking torque is governed by:

        x

        )

        4 p c1 (a2c2 + a3c23 + a4c234 = F 路 r tan( + ) (9)

        p0 = py = s1 (a2c2 + a3c23 + a4c234) (3) latch clamp cam f

        pz d1 + a2s2 + a3s23 + a4s234

        For closed form Inverse Kinematics (IK), the wrist pitch angle = 2 + 3 + 4 is constrained relative to the ground plane (typically horizontal = 0 or vertical = /2). Decoupling the base yaw directly yields:

        1 = atan2(py, px) (4)

        where Fclamp 14.5 N is the axial seating force, rcam =

        6.5 mm, = 8 is the lead angle, and f = 6.8 is the

        friction angle.

      2. Kinematic Magnetic Alignment Pins: Three pairs of neodymium (NdFeB N52) rare-earth magnetic locating dowels provide self-centering kinematic repeatability within 卤0.15 mm during docking approach.

      3. Spring Loaded Pogo-Pin Bus: A 4 pin gold plated pogo pin array establishes automated electrical power (5V, GND) and digital telemetry lines (I2C/GPIO) with active toolheads upon latching.

    Real-Time Closed Loop

    The tri tool dock houses three specialized toolheads: (i) Tool 1 (Mechanical Claw): Dual finger parallel rack and pinion gripper with silicon pads (045 mm opening); (ii) Tool 2 (Laser Marker): 500 mW 405 nm focused semiconductor laser diode for surface marking; (iii)Tool 3 (Rigid Hook): High strength polymer lifting hook designed for suspended payloads up to 150 g.

  4. EDGE MACHINE LEARNING FRAMEWORK AND

    TRAJECTORY OPTIMIZATION

    A. Feature Extraction and Grasp Mode Selection

    When an object enters the workspace, an optical reflection sensor array and an INA219 current sensor extract a 5 dimensional telemetry feature vector:

    k o o o o I

    f = w , h , m , r , 2 T (10)

    where wo is workpiece lateral width (mm), ho is vertical height (mm), mo is estimated mass (g) derived from steady-state motor

    Fig. 3. Operational finite state machine and edge machine learning decision workflo.

    C. Quintic Polynomial Trajectory Smoothing and Deflection Compensation

    To eliminate vibration caused by standard step-command interpolation the joint motions are planned using a continuous quintic polynomial trajectory s(t).It is satisfying zero velocity and acceleration boundary conditions:

    I

    holding torque, ro = wo/ho is the geometric aspect ratio, and 2 is the motor current variance measured during tactile pre- touch contact. Each feature is normalized via z-score scaling

    s(t) = 0+

    10

    T 3

    t3

    15

    T 4

    t4+

    6

    T 5

    t5, = f 0 (11)

    …

    fi = (fi i)/i prior to classification. This trajectory profile guarantees continuous jerk s (t), elimi-

    The classifier maps fk into four operational modes:

    • Class 0 (Mechanical Jaw): Prismatic, rigid objects requir- ing frictional gripping (mo 120 g, wo [10, 45] mm).

    • Class 1 (Laser Marker): Planar sheet components, PCBs,

      or flat wafers requiring non-contact surface etching (ho

      8 mm, ro 3.0).

    • Class 2 (Rigid Hook): Suspended payloads, looped parts,

      nating shock loading across the servo gear trains. Furthermore, to counteract cantilever bending moments under payload mo, a linear deflection compensation angle 2 is computed at the shoulder joint:

      2(mo) = kflex 路 mo cos 2 (12)

      or heavy objects (mo [120, 150] g). where kflex = 0.018/g was experimentally determined from

      static deflection calibration.

    • Class 3 (Anomaly / Abort): Unstable geometry, excessive payload (mo > 150 g), or abnormal current spike indicating mechanical obstruction.

    The operational finite state machine coupling real-time sensory classification with autonomous toolhead latching and quintic trajectory execution is illustrated in Fig. 3.

    B. Model Benchmarking and Quantization

    A balanced experimental dataset containing 2,000 physical trials was collected across varied workpieces. Five supervised learning models were trained offline in Python: Logistic Regression (LR), Support Vector Machine with Radial Basis Function kernel (SVM RBF), Random Forest (RF with 15

    trees), Decision Tree (DT, max depth 6), and a Multi-Layer Perceptron (TinyANN, architecture 5 12 8 4 with ReLU activations).

    To eliminate floating point math libraries on the 8 bit ATmega328P, the Decision Tree model was quantized into an 8 bit fixed point representation (Q7.8) using nested integer conditionals. The quantized model consumes only 0.94 KB of SRAM and 2.1 KB of Flash. It is executing an inference cycle in 32 s.

  5. RESULTS AND DISCUSSION

    The integrated 4 DOF robotic manipulator prototype was evaluated on a dedicated experimental testbed. Precision digital dial gauges with 卤0.01 mm resolution and a high speed motion tracking camera monitored end effector trajectories and docking repeatability.

    1. Kinematic Trajectory and Joint Jerk Reduction

      Fig. 4 illustrates the wrist joint velocity profile comparing uncompensated step execution against the quintic polynomial interpolation. Under standard step commanding, the servo controller applies full voltage immediately, resulting in an abrupt velocity spike of 102/s within 0.15 s. This severe acceleration gradient excites structural natural frequencies and produces noticeable tooth chatter within the MG90S metal gearbox. Conversely, the quintic trajectory satisfies s篓(0) = s篓(T ) = 0, bounding the maximum jerk rate .s.. (t) below 58/s3. This delivers a 34.2% reduction in peak jerk, eliminating settling oscillations at target waypoints.

      Wrist Angular Velocity ( /s)

      120

      90

      60

      30

      0

      0 0.5 1 1.5 2 2.5

      Time Elapsed (s)

      100

      Classification Accuracy (%)

      97

      94

      91

      88

      Gear Jerk / Backlash

      Uncompensated

      Quintic Trajectory

      7.1%)

      Random Forest (98.2%)

      SVM (95.6%)

      LogReg (9 .2%)

      TinyANN (97 8%)

      Quant. DT (9

      50 150 250 350 450 550

      Inference Latency (s)

      Fig. 4. Kinematic joint velocity profiles: Conventional uncompensated step interpolation exhibiting severe gear vibration versus the smooth quintic polynomial trajectory.

    2. Dynamic Current Consumption and Electrical Loading

      Fig. 5 records the total system current telemetry captured via the INA219 sensor during a full pick and place operation with tool docking. In quiescent standby, the dual microcontrollers and servo holding circuits consume 180 mA. Coordinated four axis spatial slew draws an average of 490 mA to 520 mA. When initiating tool docking, the rotary locking cam engages for 350 ms against the spring etent. It is generating a transient current surge of 890 mA. Lifting a 120 g test workpiece elevates shoulder and elbow steady state holding currents to 740 mA. Crucially, the total electrical load remains well beneath the

      5.0 A supply rating, preventing brownouts on the 5V rail.

      Fig. 6. Machine learning performance trade-off: Inference latency on ATmega328P versus classification accuracy across five evaluated model architectures.

      TABLE III

      Performance Comparison of Edge Machine Learning Classifiers

      Model Accuracy Precision Recall F1-Score Latency SRAM

      Logistic Reg. 91.2% 90.8% 91.0% 90.9% 45 s 0.72 KB

      SVM (RBF) 95.6% 95.2% 95.4% 95.3% 185 s 1.48 KB

      Random Forest 98.2% 98.1% 98.0% 98.0% 340 s 3.82 KB

      TinyANN (MLP) 97.8% 97.6% 97.7% 97.6% 510 s 2.65 KB

      Quant. DT 97.1% 96.9% 97.0% 96.9% 32 s 0.94 KB

      operating with real-time neural deflection compensation main- tained a consistent positional repeatability of 卤0.8 mm across all 100 cycles, verifying that low-cost servomotors achieve industrial-grade reliability with edge kinematics compensation.

      Total Current Draw (mA)

      1,400

      1,100

      800

      500

      200

      To

      ol Latchi

      ng (890 mA

      )

      120

      g Lift (780

      mA)

      Free

      Slew (520 m

      A)

      0 1 2 3 4 5 6

      Execution Time (s)

      3.5

      Uncompensated ML-Compensated

      Positioning Error (mm)

      3

      2.5

      2

      1.5

      1

      0.5

      0 0 20 40 60 80 100

      Pick-and-Place Cycle Count

      Fig. 7. End-effector positional repeatability over 100 continuous cycles: Un-

      Fig. 5. Dynamic current consumption profile across sequential operations: Idle (180 mA), kinematic slew (500 mA), toolhead latching spike (890 mA), and payload transfer (760 mA).

    3. Edge Machine Learning Benchmarking and Quantization

      Table III and Fig. 6 detail the performance metrics of the five evaluated classification models evaluated on the physical test dataset. While Random Forest achieved the highest classifica- tion accuracy of 98.2%. Its memory demand of 3.82 KB SRAM exceeds the 2 KB total SRAM capacity of the ATmega328P. The TinyANN multi layer perceptron achieved 97.8% accuracy but required 510 s inference latency due to software floating point emulation. The Quantized Decision Tree demonstrated the optimal balance. It achieved 97.1% classification accuracy. It consumed only 0.94 KB of SRAM that is 47% of available MCU memory. It achieved a deterministic inference latency of 32 s.

    4. Positional Repeatability and Backlash Compensation

      Fig. 7 depicts positional deviation measured over 100 continuous pick-and-place cycles. The uncompensated baseline suffered progressive error accumulation exceeding 2.7 mm after 90 cycles due to gear wear and coupler compliance. In contrast,

      compensated baseline accumulating backlash drift versus the ML-compensated system.

    5. Autonomous Tool head Swapping Reliability

      Table IV summarizes comparative performance against conventional desktop manipulators. In 100 autonomous tool- head docking and undocking trials, 98 trials completed with successful latch engagement and electrical bus contact. Two failures were attributed to minor magnetic misalignment caused by debris on the docking holster; both were autonomously detected via the INA219 current signature and rectified via an automated re-docking routine. Average tool swapping time was

      4.2 s, representing an order-of-magnitude improvement over manual intervention.

  6. LIMITATIONS AND PRACTICAL CONSIDERATIONS

    While the experimental results validate the efficacy of the proposed reconfigurable manipulator, several engineering constraints must be addressed for industrial deployment:

      1. Actuator Thermal Dissipation: The MG90S metal- gear micro servos exhibit internal motor heating during sustained holding of heavy payloads (> 120 g). Imple- menting a software thermal throttling policy or moving

        TABLE IV

        Empirical System Validation and Tool Swapping Metrics

        Operational Metric Conventional Arm Proposed Edge-AI Arm

        Tool Reconfigurability None (Fixed Claw) 3 Toolheads (Autonomous) Tool Swapping Duration Manual (> 120 s) 4.2 s (Automated) Tool Coupling Reliability N/A 98.0% (98/100 trials) Positional Repeatability 卤2.4 mm (50 cycles) 卤0.8 mm (100 cycles)

        Maximum Useful Payload 80 g 120 g (Claw), 150 g (Hook) Joint Jerk Metric > 185/s3 < 58/s3 (-34.2%) Standby / Active Power 1.1 W / 4.8 W 0.9 W / 4.4 W

        MCU Memory Budget (SRAM) 14% (basic motion) 47% (full ML + IK stack)

        to brushless micro servos would mitigate duty cycle degradation.

      2. Structural Compliance: The fabricated prototype uti- lizes precision laser cut structural links and polymer couplers. Under maximum reach, minor elastic deflection can occur. Reinforcing high stress joints with carbon-fiber inserts would further improve rigidity.

      3. Wireless Communication Latency: In the ESP32 wire- less telemetry pipeline, Wi-Fi channel congestion can introduce intermittent latency spikes up to 45 ms. For safety critical industrial environments, wired CAN bus or RS-485 interfaces are recommended.

  7. CONCLUSION AND FUTURE SCOPE

This paper presented an intelligent, low cost 4-DOF articu- lated robotic manipulator integrating an autonomous electrome- chanical reconfigurable end effector with an edge machine learning trajectory optimization pipeline. Powered by a dual tier ATmega328P and ESP32 architecture, the quick change coupling autonomously hot swaps between a mechanical jaw, laser marker, and lifting hook in 4.2 s with 98.0% reliability. An 8 bit quantized Decision Tree classifier executing in 32 s on 0.94 KB SRAM enables real time toolhead selection and deflection compensation. Closed form D-H kinematics with quintic polynomial interpolation reduced joint jerk by 34.2% and maintained positional repeatability within 卤0.8 mm across 100 continuous cycles. Future work will investigate onboard edge vision with TinyML CNNs for 6D pose estimation and multi-robot cooperative networking.

ACKNOWLEDGMENT

The authors express their sincere gratitude to Department of Engineering, Sciences and Humanities (DESH) and the De- partment of Mechanical Engineering at Vishwakarma Institute

of Technology, Pune, for providing laboratory facilities and testing resources.

REFERENCES

  1. J. J. Craig, Introduction to Robotics: Mechanics and Control, 4th ed. Upper Saddle River, NJ, USA: Pearson Education, 2018.

  2. B. Siciliano and O. Khatib, Eds., Springer Handbook of Robotics, 2nd ed. Cham, Switzerland: Springer, 2016.

  3. M. W. Spong, S. Hutchinson, and M. Vidyasagar, Robot Modeling and Control. Hoboken, NJ, USA: John Wiley & Sons, 2006.

  4. A. De Luca and B. Siciliano, Robotics and automation in industrial applications: Architectures, kinematics, and distributed sensing, IEEE Robotics & Automation Magazine, vol. 25, no. 3, pp. 2234, 2018.

  5. S. Verma and K. Shah, Design, fabrication, and low-cost prototyping of 3d-printed robotic manipulators for stem education, IEEE Access, vol. 11, pp. 42 11042 121,

    2023.

  6. S. B. Niku, Introduction to Robotics: Analysis, Control, Applications, 3rd ed. oboken, NJ, USA: John Wiley & Sons, 2020.

  7. K. S. Rao and B. T. Reddy, Performance characterization and thermal modeling of micro servomotors in desktop robotic systems, Mechatronics, vol. 78, p. 102610, 2021.

  8. R. Siegwart, I. R. Nourbakhsh, and D. Scaramuzza, Introduction to Autonomous Mobile Robots, 2nd ed. Cambridge, MA, USA: The MIT Press, 2011.

  9. A. Sharma and R. Gupta, Design and kinematic analysis of a multi-axis articulated robotic arm for precision pick-and-place automation, IEEE Transactions on Industrial Electronics, vol. 68, no. 6, pp. 51205129, 2021.

  10. V. Kumar, P. Singh, and R. Das, Embedded sensory feedback and real-time iot control of articulated robotic manipulators, IEEE Sensors Journal, vol. 22, no. 14,

    pp. 14 32014 329, 2022.

  11. M. Patel and D. Singh, Pneumatically actuated automatic tool changing systems for flexible manufacturing cells, Robotics and Computer-Integrated Manufacturing, vol. 64, p. 101932, 2020.

  12. W. Tan, G. Liu, and Y. Zhao, Autonomous tool changing mechanism with current signature-based latch verification for small manipulators, IEEE/ASME Transactions on Mechatronics, vol. 26, no. 4, pp. 21452155, 2021.

  13. J. Park, S. Kim, and K. Cho, Compact electromechanical coupling for quick- change modular end-effectors on desktop robotic arms, Mechanism and Machine Theory, vol. 151, p. 103912, 2020.

  14. K. S. Fu, R. C. Gonzalez, and C. S. G. Lee, Robotics: Control, sensing, vision,

    and intelligence, McGraw-Hill Electrical and Electronic Engineering Series, 1987.

  15. X. Gao, Z. Sun, and Q. Zhou, Machine learning compensation of backlash and gear compliance in metal-geared micro servos, Mechanical Systems and Signal Processing, vol. 186, p. 109874, 2023.

  16. S. Bhatt, A. Joshi, and K. Mehra, Tinyml-driven trajectory smoothing and vibration suppression for low-cost servomotor manipulators, Robotics and Autonomous Systems, vol. 162, p. 104358, 2023.

  17. Y. Chen, D. Song, and C. Liu, A neural network-based hybrid kinematic solution for articulated manipulators with elastic joint deflections, IEEE Transactions on Robotics, vol. 37, no. 5, pp. 16781691, 2021.

  18. P. Warden and D. Situnayake, Tinyml: Machine learning with tensorflow lite on

    arduino and ultra-low-power microcontrollers, OReilly Media, 2019.

  19. P. P. Ray, A review on tinyml: State-of-the-art and future directions, Journal of King Saud University – Computer and Information Sciences, vol. 34, no. 4, pp. 15951610, 2022.

  20. R. David, P. Duke, A. Jain, V. Janapa Reddi, N. Jeffries, J. Li, S. Khandelwal,

    D. Situnayake, and B. Plancher, Tensorflow lite micro: Embedded machine learning

    on tinyml systems, Proceedings of Machine Learning and Systems (MLSys), vol. 3,

    pp. 800811, 2021.

  21. Z. Li, H. Wang, and J. Zhang, Intelligent grasp synthesis and tool selection for modular end-effectors in cluttered environments, IEEE Robotics and Automation Letters, vol. 7, no. 3, pp. 65246531, 2022.

  22. R. Mishra, A. Sen, and T. Roy, Esp32-based distributed edge intelligence for collaborative desktop manufacturing and tele-manipulation, Internet of Things, vol. 19, p. 100554, 2022.