Skip to the content.

🔗 Navigation


Electrical Subsystem

The electrical subsystem outlines the required components that are critical for the mission. This includes the flywheel sizing, power budget, flowchart, electrical circuit diagram and connections.

Flywheels

The launcher must propel a standard ping pong ball to a vertical height of at least 1.5 meters at the heat source.

Using the kinematics formula:

v² = u² + 2as
v² = 0² + 2 × (-9.81 × 1.5)
V = 5.4249 m/s

Using the linear-to-angular velocity relation:

N = (60 × Vf) / (π × d)

Where:

Flywheel Diameter (mm) RPM
30 3449 RPM
35 2956 RPM
40 2587 RPM
45 2300 RPM
50 2069 RPM
57 1820 RPM

Our flywheel size will be 57mm.


In normal operation, the likely throttle will be 10% since it is a large flywheel.

Assumed overall efficiency: 50%, to account for:

We are using two flywheels spinning in opposite directions.

Thus, each flywheel must run at: 1820 / 2 = 910 RPM
This gives us a total RPM of 910 × 2 = 1820 RPM

Motor Performance and Power Budget

Power Budget

Components Voltage(V) Current(A) Wattage(Maximum)(W)
Turtlebot max speed 11.1 0.99 12.3
Turtlebot idle 11.1 0.81 9
Feetech FS90R Micro Servo 5 0.8 4
AMG8866 x 2 3.3V 0.0045 0.0297
Motor of flywheel x2 11.1 1.68 14.43
Speed controller x2 (90% eff) 11.1 0.12 1.33
TXS0108E Level Converter 5 ~0 ~0

The logic converter is set to 0 as it draws 8×10^-6 A at worst.

Battery Life Estimation

Battery Specifications (TurtleBot3 Standard LiPo)

Ideal Runtime (100% Efficiency)

Battery Life = 19.98 Wh / 11 W = 1.816 hours = 109 minutes

Adjusted Runtime (70% Real-World Efficiency)

109 × 0.7 = 76.3 minutes

Mission Duration Feasibility

The TurtleBot3 battery provides enough power to complete the mission at least three times under real-world conditions, at 30% inefficiency.


Electrical Subsystem Connections

The electrical subsystem integrates sensor feedback, PWM motor control, and power distribution for the launcher mechanism and TurtleBot3 operations as shown here:

System Overview

The circuit of the turtlebot is shown here

Elect_overview

IR Sensor (AMG8833) Connection

These sensors detect the heat signature of the target area and are connected directly to the Raspberry Pi I2C interface.

Flywheel Motor Control

Raspberry Pi GPIO outputs are 3.3V logic, but ESCs require a 5V signal. A logic level shifter is used to step up the PWM signals to 5V.


Rack and Pinion Servo (Continuous Rotation)

Motor Type: 360° Continuous Servo


Connections

Shown in the pictures:
Battery split into TurtleBot and towards ESC.
The wire is split again into ESC L and ESC R.
The 3 jumper cables are for the ESCs and common ground.

elec1 elec2

Testing and Validation


Problems with Motor Calibration


Unbalanced Flywheel Speed


Problems with Servo Upgrade and Positioning


Jittering Servo Motor during ROS Startup


Thermal Subsystem