SlideShare a Scribd company logo
1 of 21
By Jonah Kohen
MS Electrical Engineering (Exp Jun 2017)
Stanford University
Principal Investigator: Prof. Gregory Kovacs, M.D. Ph.D.
 Congenital disease affecting 1 in 3,000 –
10,000 individuals.
 Routine cardiovascular checkups need to be
done. Emergencies can result if heart is not
routinely monitored.
 Notable Cases: Possibly Abraham
Lincoln, possibly Michael Phelps.
 Stanford Hospital is one of the only clinics in
the tri-state area for treating patients with
Marfan Syndrome. For patients living far
away, it can be hours of driving just to get a
simple checkup.
YOU CLINIC
 The RCEP is a handheld telemedical device
that measures ECG, stethoscope, and pulse
oximetry data.
 Data is transmitted via video conference. The
doctor can tell the patient where to place the
device and analyze the incoming data.
 Can be done in the comfort of the patient’s
home.
 Circular handheld device with four electrode
pairs placed around the perimeter of the
device.
 Patient places the device at various points on
their chest.
 Haptic feedback guides movement. (varying
levels of vibration depending on
distance from desired spot).
 Nathan Volman – PhD student: Project leader,
Hardware System Design
 Mouhammad Fouruzanfar – Postdoc: Signal
Processing and Extraction
 Jonah Kohen (me) – MS Student: Firmware
Programming
 MAX32600 Wellness Measurement
Microcontroller. 24 MHz, ARM M3 Processor
 High resolution AFE (16 bit channels, 500
ksps), useful peripherals, good part
ecosystem.
 Programmed in C, Eclipse IDE.
16
bit
ADC
Incoming
Data
Peripheral
Management Unit
(PMU)
ARM M3
Processor
Incoming Raw
Data
Outgoing
Encrypted Data
Trust
Protection
Unit (TPU)
Output
when
ADC
FIFO full
USB
Endpoint
Buffer
Encrypted Data
To host
 16 single-ended or 8 differential channels,
up to 500 ksps sampling rate.
 Output can be optionally passed through a
PGA with gains of 1X, 2X, 4X, or 8X.
 One channel can be sampled continuously, or
a set of channels can be scanned.
 Averaged samples are placed into a 16 bit
FIFO 32 samples large. Interrupt flag is set
when FIFO is near full.
16
bit
ADC
Incoming
Data
 At the time of programming, we did not have
the electrodes connected to the ADC inputs,
so we started with configuring one channel.
 One channel is sampled continuously,
samples are taken in bursts of 8 and
averaged. PGA is set to amplify signal by a
factor of 8.
 The actual sampling rate becomes 52.6 ksps.
16
bit
ADC
Incoming
Data
 PMU is another name for Direct Memory
Access Controller (DMA).
 Once the ADC FIFO is near full, an interrupt is
triggered, alerting the PMU to transfer the
data to the CPU.
 Once the PMU has filled a 2048 bit buffer of
samples, encryption begins.
Peripheral
Management Unit
(PMU)
Output
when
ADC
FIFO full
 Encryption needs to be done to secure the
transmitted medical data.
 The encryption module has been configured
to run 256 bit AES ECB encryption.
 The engine encrypts 16 8-bit blocks at a time
(128 bits total).
 We need to run the TPU 16 times for 2048
bits.
 The device is configured as a CDC-ACM
device.
 The output data rate of the transceiver alone
was measured to be 1.25 Mbps.
 1.25 Mbps corresponds to roughly 1.25 MHz.
 If a sample is 16 bits, this corresponds to an
output data rate of 1.25 Mbps/ 16 bits per
sample = 78.125 ksps.
 Since data comes in at max 52.6 ksps, the
output data is not a bottleneck
 To encrypt one chunk of 16 8 bit blocks, it
takes 1/32000 seconds, meaning it can
encrypt 32 kblocks per second.
 If a block contains 8 full samples, that means
it can encrypt 32 * 8 = 256 ksps, which is far
faster than the adc.
 There are no bottlenecks in our system. All
data is transmitted and encrypted properly.
 ECG data, for all four electrode pairs, must be
sampled at1.2 kHz.
 Stethoscope has phonocardiogram and
seismocardiogram, which has a max
frequency of 2 kHz, so 4 kHz Nyquist.
 Pulse Ox = 400 Hz Nyquist.
 Total Frequency is roughly 6 kHz, but we
want 10 kHz to be safe.
 Maxim does not have nearly as large of a user
community as Arduino.
 The API Guide was extensive but not
sufficient to cover boundary cases.
 Result: Lots of debugging with JTAG.
 The RCEP is supposed to be a wireless
handheld device.
 USB was chosen initially because it has a fast
ODR and can be configured easily via the API.
 This was meant to be a temporary solution
until we could properly configure the BLE
module.
 All of our medical data needs to be
transmitted at MINIMUM 10 kHz
 Unfortunately, BLE can only transmit at about
4 kHz.
 Best alternative is a conventional WiFi
transceiver (RN-171), but power consumption
is worrisome.
 Need front end video conferencing software
to be developed.
 Haptic feedback so doctor can guide device
placement.
 Reproduction of 12 lead ECG from raw data +
compression.
 Work out wireless transmission.
RCEP_Longer_Presentation

More Related Content

What's hot

What's hot (20)

C04611318
C04611318C04611318
C04611318
 
FPGA based Heart Arrhythmia’s Detection Algorithm
FPGA based Heart Arrhythmia’s Detection AlgorithmFPGA based Heart Arrhythmia’s Detection Algorithm
FPGA based Heart Arrhythmia’s Detection Algorithm
 
Smart hospital technology
Smart hospital technologySmart hospital technology
Smart hospital technology
 
An ECG-on-Chip with 535-nW/Channel Integrated Lossless Data Compressor for Wi...
An ECG-on-Chip with 535-nW/Channel Integrated Lossless Data Compressor for Wi...An ECG-on-Chip with 535-nW/Channel Integrated Lossless Data Compressor for Wi...
An ECG-on-Chip with 535-nW/Channel Integrated Lossless Data Compressor for Wi...
 
Digital signal processing appliations ecg
Digital signal processing appliations   ecgDigital signal processing appliations   ecg
Digital signal processing appliations ecg
 
11
1111
11
 
The development of a wireless LCP-based intracranial pressure sensor for trau...
The development of a wireless LCP-based intracranial pressure sensor for trau...The development of a wireless LCP-based intracranial pressure sensor for trau...
The development of a wireless LCP-based intracranial pressure sensor for trau...
 
Overview of islab medical instruments
Overview of islab medical instrumentsOverview of islab medical instruments
Overview of islab medical instruments
 
Ecg based heart rate monitoring system implementation using fpga for low powe...
Ecg based heart rate monitoring system implementation using fpga for low powe...Ecg based heart rate monitoring system implementation using fpga for low powe...
Ecg based heart rate monitoring system implementation using fpga for low powe...
 
Electrical mapping of the heart
Electrical mapping of the heartElectrical mapping of the heart
Electrical mapping of the heart
 
Joint Project: PKU-TKK
Joint Project: PKU-TKKJoint Project: PKU-TKK
Joint Project: PKU-TKK
 
Forest bouandary alert system for animal
Forest bouandary alert system for animalForest bouandary alert system for animal
Forest bouandary alert system for animal
 
Projectppt
ProjectpptProjectppt
Projectppt
 
Ecg 2012
Ecg 2012Ecg 2012
Ecg 2012
 
Design an impedance plethysmography system for measuring limb
Design an impedance plethysmography system for measuring limbDesign an impedance plethysmography system for measuring limb
Design an impedance plethysmography system for measuring limb
 
Electroencephalogram
ElectroencephalogramElectroencephalogram
Electroencephalogram
 
EnSite™ System的基本設定_20120909_中區
EnSite™ System的基本設定_20120909_中區EnSite™ System的基本設定_20120909_中區
EnSite™ System的基本設定_20120909_中區
 
ECG Report_2014
ECG Report_2014ECG Report_2014
ECG Report_2014
 
Report
ReportReport
Report
 
Domain meetup: E-Healthcare #2
Domain meetup: E-Healthcare #2Domain meetup: E-Healthcare #2
Domain meetup: E-Healthcare #2
 

Viewers also liked

RCEP+consultation+Chennai+28+9+15.compressed (1)
RCEP+consultation+Chennai+28+9+15.compressed (1)RCEP+consultation+Chennai+28+9+15.compressed (1)
RCEP+consultation+Chennai+28+9+15.compressed (1)
Soumya TS
 
CPM- Certificates - RCEP
CPM- Certificates - RCEPCPM- Certificates - RCEP
CPM- Certificates - RCEP
Vazrik Abramian
 

Viewers also liked (9)

FTA, Free trade agreement, China RCEP
FTA, Free trade agreement, China RCEPFTA, Free trade agreement, China RCEP
FTA, Free trade agreement, China RCEP
 
RCEP+consultation+Chennai+28+9+15.compressed (1)
RCEP+consultation+Chennai+28+9+15.compressed (1)RCEP+consultation+Chennai+28+9+15.compressed (1)
RCEP+consultation+Chennai+28+9+15.compressed (1)
 
ASEAN and RCEP ppt
ASEAN and RCEP pptASEAN and RCEP ppt
ASEAN and RCEP ppt
 
CANADA KOREA FTA - November 2014
CANADA KOREA FTA - November 2014CANADA KOREA FTA - November 2014
CANADA KOREA FTA - November 2014
 
CPM- Certificates - RCEP
CPM- Certificates - RCEPCPM- Certificates - RCEP
CPM- Certificates - RCEP
 
Monterey Bay Economic Partnership Regional Website Launch
Monterey Bay Economic Partnership Regional Website Launch Monterey Bay Economic Partnership Regional Website Launch
Monterey Bay Economic Partnership Regional Website Launch
 
Comprehensive Economic Development Strategies (CEDS)
Comprehensive Economic Development Strategies (CEDS)Comprehensive Economic Development Strategies (CEDS)
Comprehensive Economic Development Strategies (CEDS)
 
Passenger Trains For Va Peninsula Csx 7 17 09
Passenger Trains For Va Peninsula Csx 7 17 09Passenger Trains For Va Peninsula Csx 7 17 09
Passenger Trains For Va Peninsula Csx 7 17 09
 
ASEAN Economic Community: Present & Future
ASEAN Economic Community: Present & FutureASEAN Economic Community: Present & Future
ASEAN Economic Community: Present & Future
 

Similar to RCEP_Longer_Presentation

Sharmila Devices
Sharmila DevicesSharmila Devices
Sharmila Devices
ramugus
 
Vivek_Presentation1.pptx
Vivek_Presentation1.pptxVivek_Presentation1.pptx
Vivek_Presentation1.pptx
VishalLabde
 
Ece4760 progress report2
Ece4760 progress report2Ece4760 progress report2
Ece4760 progress report2
Chuck Moyes
 

Similar to RCEP_Longer_Presentation (20)

PC based oscilloscope
PC based oscilloscopePC based oscilloscope
PC based oscilloscope
 
Biomedical Parameter Transfer Using Wireless Communication
Biomedical Parameter Transfer Using Wireless CommunicationBiomedical Parameter Transfer Using Wireless Communication
Biomedical Parameter Transfer Using Wireless Communication
 
Sensors 20-00904-v2
Sensors 20-00904-v2Sensors 20-00904-v2
Sensors 20-00904-v2
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
An Implementation of Embedded System in Patient Monitoring System
An Implementation of Embedded System in Patient Monitoring SystemAn Implementation of Embedded System in Patient Monitoring System
An Implementation of Embedded System in Patient Monitoring System
 
An Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDL
An Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDLAn Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDL
An Efficient Design and FPGA Implementation of JPEG Encoder using Verilog HDL
 
Presentation .pdf
Presentation .pdfPresentation .pdf
Presentation .pdf
 
Sanath
SanathSanath
Sanath
 
Ffeature extraction of epilepsy eeg using discrete wavelet transform
Ffeature extraction of epilepsy eeg  using discrete wavelet transformFfeature extraction of epilepsy eeg  using discrete wavelet transform
Ffeature extraction of epilepsy eeg using discrete wavelet transform
 
Medical sensing, localization, and communications usingultra wideband technol...
Medical sensing, localization, and communications usingultra wideband technol...Medical sensing, localization, and communications usingultra wideband technol...
Medical sensing, localization, and communications usingultra wideband technol...
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Sharmila Devices
Sharmila DevicesSharmila Devices
Sharmila Devices
 
Final thesis presentation on bci
Final thesis presentation on bciFinal thesis presentation on bci
Final thesis presentation on bci
 
Distance measuring unit with zigbee protocol, Ultra sonic sensor
Distance measuring unit with zigbee protocol, Ultra sonic sensorDistance measuring unit with zigbee protocol, Ultra sonic sensor
Distance measuring unit with zigbee protocol, Ultra sonic sensor
 
Cardionics Belgium ECG systems for CRO
Cardionics Belgium ECG systems for CROCardionics Belgium ECG systems for CRO
Cardionics Belgium ECG systems for CRO
 
Vivek_Presentation1.pptx
Vivek_Presentation1.pptxVivek_Presentation1.pptx
Vivek_Presentation1.pptx
 
Compression and encryption for ECG biomedical signal in healthcare system
Compression and encryption for ECG biomedical signal in healthcare systemCompression and encryption for ECG biomedical signal in healthcare system
Compression and encryption for ECG biomedical signal in healthcare system
 
0 b0k73f kxjbk1txc5q3jmvdjhymm
0 b0k73f kxjbk1txc5q3jmvdjhymm0 b0k73f kxjbk1txc5q3jmvdjhymm
0 b0k73f kxjbk1txc5q3jmvdjhymm
 
Microcontroller Based Obstacle Detection Device Using Voice Signal for the V...
Microcontroller Based Obstacle Detection Device Using Voice  Signal for the V...Microcontroller Based Obstacle Detection Device Using Voice  Signal for the V...
Microcontroller Based Obstacle Detection Device Using Voice Signal for the V...
 
Ece4760 progress report2
Ece4760 progress report2Ece4760 progress report2
Ece4760 progress report2
 

RCEP_Longer_Presentation

  • 1. By Jonah Kohen MS Electrical Engineering (Exp Jun 2017) Stanford University Principal Investigator: Prof. Gregory Kovacs, M.D. Ph.D.
  • 2.  Congenital disease affecting 1 in 3,000 – 10,000 individuals.  Routine cardiovascular checkups need to be done. Emergencies can result if heart is not routinely monitored.  Notable Cases: Possibly Abraham Lincoln, possibly Michael Phelps.
  • 3.  Stanford Hospital is one of the only clinics in the tri-state area for treating patients with Marfan Syndrome. For patients living far away, it can be hours of driving just to get a simple checkup. YOU CLINIC
  • 4.  The RCEP is a handheld telemedical device that measures ECG, stethoscope, and pulse oximetry data.  Data is transmitted via video conference. The doctor can tell the patient where to place the device and analyze the incoming data.  Can be done in the comfort of the patient’s home.
  • 5.  Circular handheld device with four electrode pairs placed around the perimeter of the device.  Patient places the device at various points on their chest.  Haptic feedback guides movement. (varying levels of vibration depending on distance from desired spot).
  • 6.  Nathan Volman – PhD student: Project leader, Hardware System Design  Mouhammad Fouruzanfar – Postdoc: Signal Processing and Extraction  Jonah Kohen (me) – MS Student: Firmware Programming
  • 7.  MAX32600 Wellness Measurement Microcontroller. 24 MHz, ARM M3 Processor  High resolution AFE (16 bit channels, 500 ksps), useful peripherals, good part ecosystem.  Programmed in C, Eclipse IDE.
  • 8. 16 bit ADC Incoming Data Peripheral Management Unit (PMU) ARM M3 Processor Incoming Raw Data Outgoing Encrypted Data Trust Protection Unit (TPU) Output when ADC FIFO full USB Endpoint Buffer Encrypted Data To host
  • 9.  16 single-ended or 8 differential channels, up to 500 ksps sampling rate.  Output can be optionally passed through a PGA with gains of 1X, 2X, 4X, or 8X.  One channel can be sampled continuously, or a set of channels can be scanned.  Averaged samples are placed into a 16 bit FIFO 32 samples large. Interrupt flag is set when FIFO is near full. 16 bit ADC Incoming Data
  • 10.  At the time of programming, we did not have the electrodes connected to the ADC inputs, so we started with configuring one channel.  One channel is sampled continuously, samples are taken in bursts of 8 and averaged. PGA is set to amplify signal by a factor of 8.  The actual sampling rate becomes 52.6 ksps. 16 bit ADC Incoming Data
  • 11.  PMU is another name for Direct Memory Access Controller (DMA).  Once the ADC FIFO is near full, an interrupt is triggered, alerting the PMU to transfer the data to the CPU.  Once the PMU has filled a 2048 bit buffer of samples, encryption begins. Peripheral Management Unit (PMU) Output when ADC FIFO full
  • 12.  Encryption needs to be done to secure the transmitted medical data.  The encryption module has been configured to run 256 bit AES ECB encryption.  The engine encrypts 16 8-bit blocks at a time (128 bits total).  We need to run the TPU 16 times for 2048 bits.
  • 13.  The device is configured as a CDC-ACM device.  The output data rate of the transceiver alone was measured to be 1.25 Mbps.
  • 14.  1.25 Mbps corresponds to roughly 1.25 MHz.  If a sample is 16 bits, this corresponds to an output data rate of 1.25 Mbps/ 16 bits per sample = 78.125 ksps.  Since data comes in at max 52.6 ksps, the output data is not a bottleneck
  • 15.  To encrypt one chunk of 16 8 bit blocks, it takes 1/32000 seconds, meaning it can encrypt 32 kblocks per second.  If a block contains 8 full samples, that means it can encrypt 32 * 8 = 256 ksps, which is far faster than the adc.  There are no bottlenecks in our system. All data is transmitted and encrypted properly.
  • 16.  ECG data, for all four electrode pairs, must be sampled at1.2 kHz.  Stethoscope has phonocardiogram and seismocardiogram, which has a max frequency of 2 kHz, so 4 kHz Nyquist.  Pulse Ox = 400 Hz Nyquist.  Total Frequency is roughly 6 kHz, but we want 10 kHz to be safe.
  • 17.  Maxim does not have nearly as large of a user community as Arduino.  The API Guide was extensive but not sufficient to cover boundary cases.  Result: Lots of debugging with JTAG.
  • 18.  The RCEP is supposed to be a wireless handheld device.  USB was chosen initially because it has a fast ODR and can be configured easily via the API.  This was meant to be a temporary solution until we could properly configure the BLE module.
  • 19.  All of our medical data needs to be transmitted at MINIMUM 10 kHz  Unfortunately, BLE can only transmit at about 4 kHz.  Best alternative is a conventional WiFi transceiver (RN-171), but power consumption is worrisome.
  • 20.  Need front end video conferencing software to be developed.  Haptic feedback so doctor can guide device placement.  Reproduction of 12 lead ECG from raw data + compression.  Work out wireless transmission.

Editor's Notes

  1. This is the project I pursued last year. I am not in that lab anymore but I thought it was a good project to talk to you about.
  2. ECG = Electrocardiogram Seismocardiogram = stethoscopic measurement of the heart. Pulse Oximetry = measuring oxygen in blood via a shining light. Also measures heartbeat.
  3. MAX32600 is made by Maxim Integrated
  4. Host = computer the patient is using
  5. Cyclic ADC. PGA = Programmable Gain Amplifier.
  6. AES = Advanced Encryption Standard. ECB = Electronic Code Book.
  7. CDC-ACM = Communication Device Class, Abstract Control Module. Explain this
  8. ODR = Output Data Rate