Tailor

A low-power wireless wearable device to facilitate autonomous insulin dosing for diabetic patients in a hardware-in-the-loop fashion.

Tailor

Project Overview

Tailor is a low-power wrist-worn device aimed at individuals with type 1 diabetes who rely on an insulin pump and continuous glucose monitoring. It is designed as a hardware-in-the-loop wearable that learns from everyday behavior and provides preemptive insulin support, rather than forcing users to micromanage every meal and activity to control their glucose levels.

The device combines IMU sensing, photoplethysmography (PPG), and skin temperature with embedded AI models to estimate the timing and approximate size of meals, detect unannounced exercise, and track slow physiological changes such as menstrual cycle related shifts in insulin sensitivity, which are known to affect glucose regulation in women. These estimates are then fed into closed-loop control algorithms, either to suggest the injection of insulin boluses and corrections to the user or to drive autonomous insulin dosing in simulation.

Clinical Motivation

Even with the arrival of commercial hybrid closed-loop systems, many people with type 1 diabetes still struggle to keep their glucose in range and to feel that the technology is working for them. Real-world studies have shown that some users abandon artificial pancreas systems after a few months because they find them rigid, demanding, or poorly aligned with their lifestyle. In practice, patients differ widely in how much interaction they want with their devices, how they manage meals and exercise, and how comfortable they are wearing multiple wearables at all times.

On top of this, there is growing evidence that sex and gender affect the pathophysiology of diabetes, the incidence of complications, and the response to treatment. Differences in body composition, hormones, and lifestyle lead to different glucose dynamics in women and men, and women often report a more challenging experience managing glucose due to menstrual cycle related fluctuations in insulin sensitivity. These differences are rarely reflected in current control algorithms.

Within this context, Tailor serves as an experimental platform to prototype new decision support strategies that are flexible enough to adapt to different users and explicitly account for sex specific effects. For women, Tailor aims to provide on-body sensing that can track menstrual cycle phases in real time and integrate this information into insulin dosing strategies. For all users, the goal is to ease the burden of meal and exercise management without compromising safety.

Figure 2: Closeup view of the Tailor wearable device

Figure 2: Closeup view of the Tailor wearable device.

System Architecture

Tailor is implemented as a smartwatch style wearable that acts as a companion to an insulin pump and Continuous Glucose Monitoring (CGM) system. It is designed to be worn on the wrist and features a 1.14 inch TFT display, a haptic motor for vibrotactile feedback, and a physical pushbutton for user interaction. The device is charged through a magnetic connector to simplify daily use and avoid exposing mechanical connectors to sweat and dust.

The sensing front end includes a 6-DoF inertial measurement unit (IMU) used to detect arm movements related to eating, drinking, and exercise, as well as overall activity levels. A multi wavelength PPG sensor provides heart rate, heart rate variability, and blood pressure information, which, combined with a high resolution skin temperature sensor (0.1 ºC accuracy), enables continuous tracking of circadian patterns and slow drifts in basal temperature. These signals can be used to infer menstrual cycle phases in women and other physiological changes that affect glucose regulation.

At the core of the device, an STM32WB55 microcontroller runs on-edge AI models for meal detection, activity classification, and menstrual phase estimation. Through Bluetooth Low Energy (BLE) communication, it can stream raw or processed sensor data to a phone and communicate with an insulin pump and CGM system for autonomous insulin dosing.

Figure 3: Block diagram of the Tailor wearable device

Figure 3: Block diagram of the Tailor wearable device.

Implementation

To keep the device practical for everyday use, the hardware is designed from the ground up with ultra low power operation in mind. To this end, the STM32WB55 microcontroller was selected owing to its low active mode power consumption of 53 μA/MHz.

By the same token, the device is designed to be minimally invasive, with a small form factor and a lightweight design, with the PCB measuring only 35 x 18 mm. To achieve this, the device has been implemented as a 6-layer HDI PCB. As Figure 4 shows, the board is the same size as the 1.14 inch TFT display it uses to present information to the user. In order to add extra functionality without requiring a full system redesign, a modular approach was followed in which an additional flexible PCB connects to the main PCB through an FPC connector.

Figure 4a: Front view of the Tailor wearable device PCB

Figure 4a: Front view of the Tailor wearable device PCB.

Figure 4b: Back view of the Tailor wearable device PCB

Figure 4b: Back view of the Tailor wearable device PCB.

In addition, care was taken to minimize standby power consumption, since many users remove their device overnight or during activities where it is not needed. In deep sleep, Tailor draws less than 10 µW thanks to a combination of deep sleep modes and peripheral power gating. Similarly, in active mode, with the screen off, the device draws less than 10 mW. The wearable also features a pushbutton on/off controller which can fully power down the device when not in use, enabling a travel or storage mode for extended periods of inactivity.