Device Technologies and Biomedical Robotics
A Machine Learning and Hardware Solution for Early Risk Detection of Post-Thrombotic Syndrome
Jason Lee
Undergraduate Research Engineer
University of Pittsburgh
Santa Clara, California, United States
Cyrus Darvish
Research Engineer
University of Pittsburgh, United States
Pete Gueldner
Graduate Research Student
University of Pittsburgh, United States
David Vorp
Senior Associate Dean for Research and Facilities
University of Pittsburgh, United States
Timothy Chung
Research Assistant Professor
University of Pittsburgh, United States
The existing prototype utilizes arrays of pressure sensors and Arduino Nano microcontroller boards (Arduino, Somerville, MA, USA) to read vein compliance. A total of nine pressure sensors were configured into three separate arrays, each comprised of three sensors. Each array was assigned an individual Arduino Nano v3.0 board connected to a computer through mini-USB connection. The sensor arrays were then embedded in a custom PDMS mold to separate the electrical components from the sensors. The connection between each sensor and the corresponding Arduino Nano of its array is established at an analog pin through a signal pin on an amplifier (Figure 1A). A power distribution block connected to a constant 5-volts power brick supplies constant voltage for the amplifiers. Recordings from the sensors are facilitated by a Python script that utilizes the multiprocessing and pySerial libraries to interface with the Arduinos and perform concurrent data collection across all three Arduinos. A supporting C++ script for supplying sensor values to requests from the Python script was written in Arduino IDE and uploaded to each Arduino board. The analog values directly recorded from the Arduinos are converted to a voltage value using equation 1.
eq. 1
The sensor arrays and linked electrical components were attached onto an inflatable cuff. They were strategically positioned such that the sensor arrays were facing the cuff’s interior, enabling them to record from anterior and lateral sides of a patient’s leg. The electronics and Arduino boards were affixed to the exterior of the cuff (Figure 1B).
Concurrent and rapid data acquisition across all three Arduinos was an important design consideration for getting the most accurate representation of vein compliance in real time. Initially, a single Arduino board and nine analog ports were used to read the sensors. However, high latency between successive readings was observed due to the serial communication limitation of Arduino boards. The low latency of our new set-up provides an improved solution to measure vein compliance in real-time. Simultaneous data collection from the three Arduinos occurred nearly in sync with each same positioned sensor in an array (top, middle, bottom) being recorded at the same time across all boards within the millisecond. Within an individual array, the serial connection of the sensors resulted in about 2-4 milliseconds in latency between each sensor. Each cycle, or the time it took to read a sensor again after a having previously read it, was around 10-11 milliseconds in latency. In total, the Arduinos recorded approximately 12±2 complete cycles every 1/10th of a second. A trial reading was conducted by placing the cuff around a test subject’s upper thigh and inflating it to 240mmHg. The resulting plot of sensor values showed the real-time recorded values across all nine sensors starting at the max pressure and as the pressure was slowly released (Figure 1C).
This study has laid the groundwork for an innovative solution to predict the transition from DVT to PTS. With a functional prototype, our primary focus going forward will be on data acquisition and data refinement through post-processing methods. Our data will be obtained from a diverse set of patient profiles, encompassing healthy patients and patients diagnosed with DVT and PTS. Upon completion of data acquisition, our efforts will pivot towards the training of a machine learning model to predict the risk of PTS given the measured vein compliance of a patient. The sensitivity and specificity of this model to various patient factors will be tested and fine-tuned. Ultimately, this study, while in its initial stages, carries the potential to significantly improve patient outcomes by providing early and accurate prediction of PTS.
[1] “Impact of Blood Clots on the United States”. Centers for Disease Control and Prevention (CDC). June 09, 2022. https://www.cdc.gov/ncbddd/dvt/infographic-impact.html
[2] Susan R. Kahn; “The post-thrombotic syndrome.” Hematology Am Soc Hematol Educ Program 2016; 2016 (1): 413–418. doi: 10.1182/asheducation-2016.1.413