Bumblebee Robosub Paper 2023
Bumblebee Robosub Paper 2023
Amadeus Aristo Winarto, Amanda Koh Jing Ling, Ananya Agarwal, Benjamin Koh Zhao Hui, Chai Zi Yang, Chen Jiawei,
Chew Zhi En Samuel Joshua, Chin Zheng Hao, Drustan Yeo, Gokul Rajiv, Guk Yi Siong, He Shaoliang,
Ho Wei Zong Jasper, Irwin Kong Xunmeng, Justin Foo Guang En, Kaitlyn Ng Ke Yi, Kristoffer Videl Wijono,
Lee Chan Wai, Lee Shi-An Matthew, Lee Tze Han, Leong Deng Jun, Leong Xin Lei, Li Po Hsien, Lim Sheng Wei,
Lu Sicheng Isabella, Marvin Pranajaya, Michael Jervoso, Ng Cheng Yang Titus, Ng Xing Yu, Ng Zhia Yang,
Nguyen Minh Nguyen, Niu Xinyuan, Patrick Joy Surbakti, Png Qun Shen, Quek Wei, Rani Karthigeyan Rajendrakumar,
Sun Qifan, Seow Alex, Sim Justin, Stevanus Williem, Tan Chern Lin Justin, Tan Chew Miang Edwin, Teoh Xu En,
Tran Phuoc Huy Khang, Yam Jin Ee Dmitri, and Zhu Tianqi
alignments (see Section II-C2). Apart from adding buoyancy, fibreglass floats at-
tached to the main hull’s exterior also protect the
To better ascertain vehicle position, our Inertial
vehicle from impacts in transit or during testing.
Measurement Unit (IMU) has been upgraded to en-
Notably, floats of the top cover encase and shield the
able our localization pipeline to give more accurate
externally mounted sonar. The vehicle’s buoyancy
readings. Several tests were conducted to compare
can be fine-tuned by inserting floats in the cavities
different IMUs and presented in more detail in Sec-
of the 3D-printed shell affixed to the underside of
tion III-B. For knowledge of the externally mounted
the floats.
peripherals such as the actuation modules, our vehi-
cle’s Unified Robotics Description Format (URDF) An octagonal frame facilitates the mounting of ac-
was extensively used to model the relationships in tuation modules, allowing for rapid prototyping and
position and orientation between different parts of testing of our various actuators (see Section II-A3).
our vehicle. This allows for much better delivery Carrying handles on either side of the hull allow for
of autonomy compared to previous years, especially ease of handling.
with regard to aligning to obstacles.
To coordinate task-specific strategies, we employ 2) Design of Battery Hull
a Behaviour Tree-based mission planner. Based on Another creative aspect of the BBAUV 4.1 is the
our experiences using it for nearly two years, im- battery hull, manufactured with novel 3D metal-
provements and refinements were made in the run- printing technology; we also increased the rigidity-
up to this year’s competition. to-weight ratio by embedding lattices in the walls
and base (Fig. 3). The main and battery hulls are
directly connected with right-angled SubConn Low
II. D ESIGN C REATIVITY
Profile connectors, doing away with messy cables
A. Mechanical Sub-System and making battery changes quick and simple.
1) Design of Main Hull
debugging ports were also added to aid monitoring. and evaluation (see Section III-A), a 9 LED config-
The new backplanes also have a thicker copper layer uration for the module was selected and integrated
that improves heat dissipation and increases the with our Sensor and Telemetry Board (STB). The
current limit that can be drawn by daughter boards. copper-cored PCBs are directly connected to the
This allows greater speeds to be achieved without exposure pad of the LEDs to facilitate heat dissi-
risk of the thruster Electronic Speed Controls (ESC) pation and keep temperatures sufficiently cool. For
overloading the power lines. brightness control of the LEDs, the LT3950 constant
current driver was selected for its flexibility and
In our experience with plug-and-play daughter
safety features such as overcurrent, overvoltage and
boards, as the connectors near their rated mating
open LED.
counts, the gradual oxidation and degradation of the
contacts result in slower transmission speeds and
occasional disconnections. As a preventive action, 6) Actuation
contact cleaners and lubricants are extensively used With our two gripper designs, our actuation system
in our maintenance routines to extend the lifes- now consists of 2 Bluetrail underwater servos and
pan of existing boards and drive down cost and 2 stepper motors. The latter utilizes the TMC2209
wastage. drivers for smooth and precise control of the grip-
pers. Using Trinamic’s StallGuard™, actuators can
4) Firmware Improvement + DevOps be calibrated to a reverse-EMF threshold in order
to automatically stop the stepper movement without
Control messages from the software stack are for-
additional sensors or external input. Using Cool-
warded through multiple boards before arriving to
Step™, the maximum current threshold is dynam-
the ESCs. Reducing the latency of our communi-
ically set based on the load of individual motors,
cations and making the firmware generally more
minimizing the overall power consumption and heat
performant thus had a great impact on the vehi-
generation. The newly added suction gripper also
cle’s responsiveness. This was primarily achieved
uses SpreadCycle™ in its telescopic pulley mecha-
by moving from polling loops towards interrupt-
nism for dynamic motor control.
driven, Real-Time Operating System (RTOS)-like
code structure. Upstream software are also posi-
tively affected; less oscillatory behaviour was ob- 7) Acoustic Signal Processing
served in our Proportional-Integral-Derivative (PID) Due to its stability, our acoustic subsystem has
controller due to the faster feedback loop between undergone minimal changes. An automated pro-
controller and ESCs. grammable gain amplifier on the Data Acquisition
Board (DAQ) normalizes incoming pings to reduce
This is complemented by our migration to the Plat-
signal clipping, providing consistent measurements
formIO IDE, which supports multiple architectures
at all distances from the pinger. Pings are extracted
and platforms in a single codebase, simplifying
using short-time Fourier transforms with dynamic
code organization and sharing of common code.
thresholding, and pings with a low signal-to-noise
This has facilitated standardization and reduction
ratio are discarded, allowing the acoustic subsystem
of our technical debt, and alongside our increased
to perform even in noisy environments.
usage of static analyzers and linters, has greatly
reduced our chances of introducing bugs. Adoption
of proper workflows for version control and using C. Software Sub-System
a self-hosted Continuous Integration build pipeline 1) Mission Planner
has also made collaboration easier and safer.
Adopted last year, our mission planner utilizes Be-
haviour Trees (BT) and has proven to be highly
5) Status Light Module effective in defining complex behaviours for our
Previously, only one RGB LED was used as a status vehicle. We have enhanced our mission planner
indicator to provide feedback to operators outside with a Graphical User Interface (GUI) to facilitate
the pool, but was found to have limited visibility easy designing and modification of mission plans.
under daylight and required a redesign. After testing Furthermore, harnessing the abstracted nature of
NATIONAL UNIVERSITY OF SINGAPORE (BUMBLEBEE AUTONOMOUS SYSTEMS) 5
BTs, we have refactored our mission plans to en- compensate for non-linear terms in the vehicle’s
able different tasks to reuse the same high-level motion dynamics.
logic, thereby simplifying the mission planning pro-
Our thrust allocator uses quadratic programming
cess.
to optimise each thruster’s command based on the
required forces, and maintains control along each
2) Machine Learning Pipeline axis of motion even during thruster saturation.
We have upgraded our perception pipeline to lever-
age the benefits of both deep-learning and tradi- III. T EST S TRATEGY
tional computer vision (CV) approaches in order A. Custom Light Module
to improve our chances of localizing the different Key areas that were considered during the current
obstacles in the TRANSDEC environment. iteration were the LED’s brightness, heat generated,
The upgraded pipeline incorporates deep-learning and meeting the power budget. The circuit for the
models such as SuperPoint [1] and SuperGlue [2] constant current driver was simulated using LTSpice
to directly estimate obstacle poses by accurately to verify the behaviour of the driver and LEDs
matching image features from our camera against (Fig. 6). Using the simulation, the values of capac-
template images provided in training. These are itors and inductors in the buck-boost circuit were
used alongside object detection and segmentation also optimized for minimal ripple current.
models such as YOLOv8 [3], and supplemented
by traditional CV algorithms like Scale-Invariant
Feature Transform (SIFT) or Perspective-n-Point
(PnP).
An advantage of this hybrid pipeline is the abil-
ity to dynamically adjust our approach based on
environmental conditions and/or the task at hand,
allowing us to optimize the perception system’s
performance for various scenarios. In general, these
improvements have enabled us to achieve more Fig. 6: LTSpice simulation of current (pink) and
precise and robust perception capabilities. voltage (green) through driver over time.
R EFERENCES
[1] D. DeTone, T. Malisiewicz, and A. Rabinovich, “Superpoint:
Self-supervised interest point detection and description,”
CoRR, vol. abs/1712.07629, 2017. [Online]. Available: Fig. 11: CFD results of alternative model.
http://arxiv.org/abs/1712.07629
[2] P. Sarlin, D. DeTone, T. Malisiewicz, and A. Rabinovich,
“Superglue: Learning feature matching with graph neural
networks,” CoRR, vol. abs/1911.11763, 2019. [Online]. situated at the front move into place, and suc-
Available: http://arxiv.org/abs/1911.11763 cessfully prevented torpedoes from falling out in
[3] G. Jocher, A. Chaurasia, and J. Qiu, “YOLO tests.
by Ultralytics,” Jan. 2023. [Online]. Available:
https://github.com/ultralytics/ultralytics
A PPENDIX A
T ORPEDO CFD A NALYSIS
The CFD simulation results of the old model
(Fig. 9) and two proposed designs (Fig. 10 and 11)
are presented here. Note that the colour scale for
fluid velocities are normalized for ease of compar-
ison.
Fig. 12: Spring-loaded slot blocking launcher.
Fig. 14: Spread of torpedoes on styrofoam board. (a) Holding Fig. 16: 3D model of Actuation daughter board.
pin launcher. (b) Spring-loaded slot blocking launcher.
A PPENDIX C
BACKPLANE S YSTEM
Our backplane system makes extensive use of the
Samtec PowerStrip™ connectors. Where connec-
tions to other third-party components are required,
adapter daughter boards (Fig. 17) are used instead of
designing with proprietary connectors for flexibility Fig. 17: 3D model of ESC adapter daughter board.
and preventing vendor lock-in.
Such a design also simplifies power control from a
centralized power control board (Fig. 18).
A PPENDIX D
A RCHITECTURE B LOCK D IAGRAMS
The following initialisms are specific to our internal
usage and may be useful for elucidation of our
architecture: Fig. 18: 3D model of power control backplane.
A PPENDIX E
C OMPONENT S PECIFICATIONS
Hardware/ — — 3:1 — — —
Software
expertise
ratio
Testing time: — — 100 hours — — —
simulation
Testing time: — — 200 hours — — —
in-water
NATIONAL UNIVERSITY OF SINGAPORE (BUMBLEBEE AUTONOMOUS SYSTEMS) 14
A PPENDIX F
O UTREACH ACTIVITIES
Ever since our humble beginnings in 2012, Team
Bumblebee has continued to grow, and we have
become one of the most accomplished student teams
in the maritime robotics scene. Despite this, we
remain grateful to the community and our sponsors
for their support throughout the years. We believe in
the importance of fostering new relationships, and
strive to share our knowledge and experiences as a
form of giving back to the community.
Fig. 25: A recent sponsor appreciation event.
A. Lab Visits
As part of Team Bumblebee’s public relations cam- In order to gain experience and understanding of
paign, we regularly conduct lab visits for fellow real-world challenges, our team also regularly orga-
robotics teams and enthusiasts in the field of marine nizes visits with industrial partners. ST Engineering
robotics. Through these visits, we hope to exchange is one of our major sponsors, who have graciously
knowledge and build lasting friendships. loaned us sensors and other equipment to assist in
our testing and development.
B. Platinum Sponsors
Future Systems Technology Directorate (FSTD) —
For cash support.
DSO National Laboratories — For cash support and
technical guidance.
ST Engineering — For loaning of equipment.
Altium — For providing software licenses.
Fig. 27: Some Hornet 8.0 members conducting a pool test. Republic of Singapore Yacht Club — For providing
a testing location.
D. Collaboration with Local Schools Wartsila — For providing equipment.
Team Bumblebee have conducted sharing sessions
at a local high school to inspire students to pursue C. Gold Sponsors
engineering as a career. The team shared about their Avetics, Fugro, Kentronics, MacArtney, SBG Sys-
experiences at RoboNation’s competitions (Robo- tems, SLM Solutions and Würth Electronik.
Sub, RobotX) and the development and testing of
vehicles leading up to it.
D. Silver Sponsors
Bossard, Festo, Samtec, Solidworks, Southco and
Sparton.
E. Bronze Sponsors
Blue Trail Engineering, Edmund Optics, Lionsforge,
Pololu and TGN Technology.