digital stethoscope implementation on tms320c5515 dsp medical

28
Application Report SPRAB38A – June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical Development Kit (MDK) Vishal Markandey ............................................................................................................................. ABSTRACT The medical development kit (MDK) provides a development platform to TI medical customers, third parties, and other developers. This application report focuses on the C5515 MDK; however, the analog front ends that are included can also be used with other platforms. Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this document. NOTE: Disclaimer Statement: Do not use this medical development kit for the purpose of diagnosing patients. This application report may not include all of the details necessary to completely develop the design. It is provided as a reference and only intended to demonstrate the digital stethoscope application. Contents 1 Introduction .................................................................................................................. 2 2 Front-End Architecture ..................................................................................................... 5 3 DSP Subsystem ........................................................................................................... 10 4 PC Application ............................................................................................................. 16 5 Installation .................................................................................................................. 17 6 Running the Demo Application .......................................................................................... 19 7 Options and Selections ................................................................................................... 20 8 References ................................................................................................................. 21 Appendix A Front-End Board Schematics ................................................................................... 22 Appendix B FE Board BOM .................................................................................................... 25 Appendix C Sensors and Accessories ....................................................................................... 26 Appendix D MEDICAL DEVELOPMENT KIT (MDK) WARNINGS, RESTRICTIONS AND DISCLAIMER .......... 27 List of Figures 1 MDK Hardware Overview .................................................................................................. 3 2 Digital Stethoscope Front-End Board .................................................................................... 4 3 Sensor Coupled Microphone .............................................................................................. 4 4 Stethoscope Front-End Block Diagram .................................................................................. 5 5 Pre-Amplifier Stage With Gain 31 ........................................................................................ 6 6 First-Order Low-Pass Filter ................................................................................................ 7 7 Block Diagram of TLV320AIC3254 ....................................................................................... 8 8 Block Diagram of the Interface Between the C5515 DSP and TLV320AIC3254 ................................... 9 9 DSP Software Architecture ............................................................................................... 11 10 System Flow Chart ........................................................................................................ 12 11 Signal Before and After FIR Filter for Bell Mode ...................................................................... 13 1 SPRAB38A – June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical Development Kit (MDK) Copyright © 2010, Texas Instruments Incorporated

Upload: trinhdat

Post on 15-Jan-2017

320 views

Category:

Documents


20 download

TRANSCRIPT

Page 1: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

Application ReportSPRAB38A–June 2010

Digital Stethoscope Implementation on the TMS320C5515DSP Medical Development Kit (MDK)

Vishal Markandey .............................................................................................................................

ABSTRACT

The medical development kit (MDK) provides a development platform to TI medical customers, thirdparties, and other developers. This application report focuses on the C5515 MDK; however, the analogfront ends that are included can also be used with other platforms.

Please be aware that an important notice concerning availability, standard warranty, and use in criticalapplications of Texas Instruments semiconductor products and disclaimers thereto appears at the end ofthis document.

NOTE: Disclaimer Statement: Do not use this medical development kit for the purpose ofdiagnosing patients.

This application report may not include all of the details necessary to completely develop thedesign. It is provided as a reference and only intended to demonstrate the digitalstethoscope application.

Contents1 Introduction .................................................................................................................. 22 Front-End Architecture ..................................................................................................... 53 DSP Subsystem ........................................................................................................... 104 PC Application ............................................................................................................. 165 Installation .................................................................................................................. 176 Running the Demo Application .......................................................................................... 197 Options and Selections ................................................................................................... 208 References ................................................................................................................. 21Appendix A Front-End Board Schematics ................................................................................... 22Appendix B FE Board BOM .................................................................................................... 25Appendix C Sensors and Accessories ....................................................................................... 26Appendix D MEDICAL DEVELOPMENT KIT (MDK) WARNINGS, RESTRICTIONS AND DISCLAIMER .......... 27

List of Figures

1 MDK Hardware Overview .................................................................................................. 3

2 Digital Stethoscope Front-End Board .................................................................................... 4

3 Sensor Coupled Microphone .............................................................................................. 4

4 Stethoscope Front-End Block Diagram .................................................................................. 5

5 Pre-Amplifier Stage With Gain 31 ........................................................................................ 6

6 First-Order Low-Pass Filter ................................................................................................ 7

7 Block Diagram of TLV320AIC3254 ....................................................................................... 8

8 Block Diagram of the Interface Between the C5515 DSP and TLV320AIC3254 ................................... 9

9 DSP Software Architecture............................................................................................... 11

10 System Flow Chart ........................................................................................................ 12

11 Signal Before and After FIR Filter for Bell Mode ...................................................................... 13

1SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 2: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

Introduction www.ti.com

12 Signal Before and After FIR Filter for Diaphragm Mode ............................................................. 14

13 Signal Before and After FIR Filter for Extended Mode ............................................................... 14

14 Heart Waveform Showing S1 ............................................................................................ 15

15 LCD Screen ................................................................................................................ 16

16 PC Application ............................................................................................................. 17

17 Input Dialog Box ........................................................................................................... 19

18 LCD Screen Showing Volume Level 0dB .............................................................................. 20

19 LCD Screen Showing Mute On .......................................................................................... 21

20 Pre-Amplifier ............................................................................................................... 22

21 Codec Schematic.......................................................................................................... 23

22 Connector Interface Schematic.......................................................................................... 24

List of Tables

1 J22 Connector Interface.................................................................................................... 9

2 Jumper Settings for the Front-End Board .............................................................................. 10

3 Release CD Contents..................................................................................................... 18

4 Bill of Material .............................................................................................................. 25

1 Introduction

A number of emerging medical applications such as electrocardiography (ECG), digital stethoscope, andpulse oximeters, require DSP processing performance at very low power. The TMS320C5515 digitalsignal processor (DSP) is ideally suited for such applications. The C5515 is a member of TI's C5000™fixed-point DSP platform. To enable the development of a broad range of medical applications on theC5515, Texas Instruments has developed an MDK based on the C5515 DSP. A typical medicalapplication includes:

• An analog front end, including sensors to pick up signals of interest from the body• Signal processing algorithms for signal conditioning, performing measurements and running analytics

on measurements to determine the health condition• User control and interaction, including graphical display of the signal processing results and

connectivity to enable remote patient monitoring

1.1 Medical Development Kit (MDK) Overview

The MDK is designed to support complete medical applications development. It includes the followingelements:

• Analog front-end boards (FE boards) specific to the key target medical applications of the C5515(ECG, digital stethoscope, pulse oximeter), highlighting the use of the TI analog components formedical applications

• C5515 DSP evaluation module (EVM) main board• Medical applications software including example demonstrations

Figure 1 shows an overview of the MDK hardware, consisting of individual analog front-end boards forECG, digital stethoscope, pulse oximeter, and the C5515 DSP EVM. Any of the analog front-end boardscan be connected, one of at a time, to the C5515 EVM using universal connectors on the front-end boardsand the EVM. The analog front-end boards connect to the appropriate sensors for the ECG, digitalstethoscope or the pulse oximeter, and perform analog signal conditioning and analog-to-digitalconversion (ADC) of the signals from the sensor. Then, the digital signal is sent to the C5515 EVM wherethe C5515 DSP performs signal processing algorithms for the application. The DSP is also responsible formanaging user control and interaction including graphic display of the signal processing results. The signalprocessing results can also be transferred from the C5515 EVM to a PC for further display, analysis, andstorage using the PC application software that is provided with the MDK.

C5000, Code Composer Studio are trademarks of Texas Instruments.All other trademarks are the property of their respective owners.

2 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 3: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

ECGFront End

Un

iv. F

E C

on

DigitalStethoscope

Front End

Un

iv. F

E C

on

PulseOximeterFront End

Un

iv. F

E C

on

Un

iv. F

E C

on

Color LCD Display

Keypad

C5515 EVM

Front-EndDaughterboards

Common PlatformData process, memory, display, user input, etc.

www.ti.com Introduction

Figure 1. MDK Hardware Overview

1.2 MDK Digital Stethoscope System

The digital stethoscope system uses the front-end board and sensor to capture the acoustic sound wavesof the heart and lungs. This board contains the necessary circuitry for signal conditioning and acquiringsignals from the sensors. The analog signals are amplified and digitized before transmitting them to theDSP on the EVM for further processing, analysis, and display.

1.2.1 Key Features

The key features of the MDK digital stethoscope system are:

• Audio output for heart and lung sounds in three selectable modes:

– Bell mode (20 Hz to 220 Hz)– Diaphragm mode (50 Hz to 600 Hz)– Extended mode (20 Hz to 2000 Hz)

• Heart rate display in bell and diaphragm mode on liquid crystal display (LCD) and PC application• Five step volume control with mute option on the C5515 EVM• Real-time display of heart sound waveform on the PC application• Store, zoom and playback of heart sound waveform on the PC

1.2.2 MDK Hardware

The main elements of the MDK digital stethoscope system are:

• C5515 EVM• Digital stethoscope front-end board• Sensor

1.2.2.1 C5515 EVM

The EVM comes with a full compliment of on-board devices that suit a wide variety of applicationenvironments.

For further details on the C5515 EVM, see the Medical Devlopment Kit provided with your EVM.

3SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 4: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

2.5mm plugs

for Mic In

2.5mm plug

for ear phone out2.5 mm plug

for ear phone out

2.5 mm plugsfor Mic In

Diaphragm TubeCondenserMicrophone

2.5 mmAudio Plug

Introduction www.ti.com

The EVM operates from a + 5 V external power supply or battery and is designed to work with TI’s CodeComposer Studio™ integrated development environment (IDE). Code Composer Studio communicateswith the EVM board through the external emulator, or on-board emulator.

1.2.2.2 Digital Stethoscope Front-End Board

Figure 2 shows the digital stethoscope front-end board. The front-end board has three 2.5mm mono jackconnectors to connect the microphones and one 2.5 mm stereo jack to connect the head phone. Thefront-end board can be interfaced with the EVM board through a universal front-end connector. The C5515EVM board supplies power to the front-end board through the universal front-end connector. The front-endboard is interfaced with the C5515 EVM by using I2C and I2S interfaces.

Figure 2. Digital Stethoscope Front-End Board

The codec (TLV320AIC3254) on the front-end board is configured for 12 KHz sampling with 16-bit dataresolution. I2C interface is used for configuring the TLV320AIC3254 audio codec and I2S interface is usedfor codec data transfer.

1.2.2.3 Sensor

The sensor mainly has three parts:

• Diaphragm• Condenser microphone• 2.5 mm audio plug

Sound waves from the acoustic amplifier (diaphragm) are fed to the condenser microphone. The soundwaves hitting the condenser microphone change its capacitance by changing its impedance, whichproduces a voltage swing proportional to the amplitude of the input sound waves. The voltage swing of thesignal also depends on the bias voltage given for the microphone. A microphone bias voltage of 1.25 V isproduced by the audio codec.

The coupling of the acoustic sensor to the microphone is critical to pick up noise free sound signals fromthe human body.

An acoustic diaphragm can be coupled to the microphone as shown in Figure 3. Place the microphone asclose as possible to the diaphragm; the microphone should be connected to a 2.5 mm plug to connect the2.5 mm jack to the front-end board. The electric wire that connects the microphone to the plug is madelong enough to ensure that there is sufficient length to place the sensor on the subject.

Figure 3. Sensor Coupled Microphone

4 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 5: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

OPA335

OPA335

OPA335

2.5 mmMono Jack

CondenserAssemblyMIC

2.5 mmMono Jack

2.5 mmMono Jack

MIC BIAS

Pre-Amplifier

LPFFc = 2.5 kHz

ACCoupling

12 MHzCrystal Power

Supply

I2S

I2S

Front-EndConnectors

2.5 mmStereo Jack

Headphone

ContactMicrophone

TLV320AIC3254

www.ti.com Front-End Architecture

1.2.3 MDK Software

The software for the MDK application includes:

• C5515 software application• PC application

1.2.3.1 C5515 Software Application

The hardware is initialized by the DSP on the EVM. The DSP reads the digitized signals from the audiocodec via the I2S interface and processes it.

The processed digitized signals are sent back to the front-end board for conversion to analog signals andplay back. The signal is also provided to the PC application over the UART interface for display.

The LCD display on the C5515 EVM shows the mode of operation of the digital stethoscope: volumeindication bars, heart rate display and bell or diaphragm mode.

1.2.3.2 PC Application

The PC application, which has to be installed on the PC, can be used for viewing the heart waveform andheart rate values. It also provides options to zoom, store and playback the signals transmitted from theEVM. The PC application can operate in two modes: online and offline.

2 Front-End Architecture

Figure 4 shows the digital stethoscope front-end board architecture.

Figure 4. Stethoscope Front-End Block Diagram

The front-end board contains the following stages:

• Pre-amplifier• Low pass filter• AC coupling block• Audio codec• Front-end connector

5SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 6: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

100KR18200KVR210µF

C10 2

R1710K

OPA335

Pre-AMP_L_OUT

NC-0ER16

1

In-

In+

Out1

3.3 V3.3 V

1

5

V+U3

C60.1µF

R131M

MB

MIC_l_INC7

0.1µFR141M

MJI-25 10-SMT

R102K

3

V-

2

3

123

132

J8

Front-End Architecture www.ti.com

2.1 Pre-Amplifier Stage

The input signal from the sensor is very feeble; therefore, a pre-amplifier stage is included to increase theinput signal with a gain factor of 31. The pre-amplifier, with external mic bias circuitry, is implemented asshown in Figure 5.

Figure 5. Pre-Amplifier Stage With Gain 31

6 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 7: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

OPA335

Pre-AMP_L_OUT

In-

In+

Out1

3.3 V

4

5

V+

U4

0.1µFC8

MIC_L1

0.1µF

3

V-

2

To codec

R11 NO-0E R12 NC-0E

MIC_L_IN

C9620E

R15

www.ti.com Front-End Architecture

2.2 Low-Pass Filter

A low-pass filter is provided to remove high-frequency noise and also to act as an anti-aliasing filter. Sincea Sigma-Delta ADC (Codec) is chosen, requirements on the analog anti-aliasing filters are minimal. This isbecause over sampling relaxes the requirements on the base-band anti-aliasing filter; therefore, a simplefirst-order active low-pass filter is sufficient. Figure 6 shows the design of the low-pass filter.

Figure 6. First-Order Low-Pass Filter

The values for R and C are calculated according to the following equation:

F=1/ (2*3.14*R*C)

Where

F = Cut-off frequency required (2500 Hz) - based on the maximum frequency range of supported modes

R = 620E

C = 0.1 mF

7SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 8: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

SPI_Select

IN1_R

IN2_R

IN3_R

IN3_L

IN2_L

IN1_L

SC

L/S

SZ

Left

ADC

DRC

tplLeft

DAC

AGC

+

+

+

+

ADC

Signal

Proc.

DAC

Signal

Proc.

Right

ADC

DRC

tprRightDAC

AGC

ADC

Signal

Proc.

DAC

Signal

Proc.+

+

+

+

Vol . Ctrl

Vol . Ctrl

Data

Interface

Gain Adj.

Gain Adj.

0…

+47.5 dB

0.5 dB steps

0…+47.5 dB

0.5 dB

steps

-6...+29dB

1dB steps

-6...+29dB

1dB steps

-6...+29dB

1dB steps

-6...+29dB

1dB steps

SPI / I2C

Control Block

Pin Muxing/ Clock Routing

Secondary

12S IF

Primary

I2S Interface

Digital

Mic.

Interrupt

Ctrl

ALDO

DLDO

PLL

Mic

Bias

Ref

MicBias

Ref

LD

OS

ele

ct

Supplies

LD

Oin

HPVddD

Vd

d

AV

dd

IOV

dd

AV

ss

DV

ss

IOV

ss

SD

A/M

OS

I

MIS

O

SC

LK

MC

LK

GP

IO

DO

UT

DIN

BC

LK

WC

LK

miniDSP miniDSP

HPL

LOL

HPR

LOR

Reset

-30...0 dB

-30...0 dB

-72...0dB

-72...0dB

´ ´

´´

Front-End Architecture www.ti.com

2.3 Audio Codec

The TLV320AIC3254 audio codec is a flexible, low-power, low-voltage stereo audio codec withprogrammable inputs and outputs. The voltage supply range for TLV320AIC3254 is 1.5 V - 1.95 V(analog) and 1.65 V - 1.95 V (digital). Figure 7 shows the block diagram of the TLV320AIC3254 audiocodec.

Figure 7. Block Diagram of TLV320AIC3254

The record path for the TLV320AIC3254 contains programmable input channel configurations coveringsingle-ended and differential setups, as well as floating inputs or mixed input signals. It also includes adigitally controlled stereo microphone preamplifier and an integrated microphone bias. Programmable filterblocks are available that can remove audible noise that may be introduced by mechanical coupling.

The playback path offers signal processing blocks for filtering and effects, true differential output signals,flexible mixing of the digital-to-analog converter (DAC), and analog input signals as well as programmablevolume controls.

The codec is interfaced to the C5515 DSP using the I2C bus to configure the codec. The audio codecuses the the following configuration:

ADC gain 0 dBHost to audio Codec interface I2SSampling frequency 12 KHzData format 16-bit linearAudio output gain (DAC) Selectable by the user through the key pad, and the possible gain

values are -6, -3, 0, 3 and 6 dB’s

8 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 9: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

C5505 DSP TLV320AIC3254

C5505 EVM Digital Stethoscope FE

I2C_SCL

I2C_SDA

I2S1_RX

I2S1_DX

I2S1_FS

I2S1_CLK

RESET

www.ti.com Front-End Architecture

The AC coupled signal is fed to the left channel of the Delta-Sigma ADC of the audio codec; ADC outputis 12 ksps. The DSP reads these digitized signals from the audio codec via the I2S interface.

The processed digital audio output from the DSP is fed back to the DAC of the audio codec. From there,the audio codec amplifies the signal based on the selected DAC gain and outputs it to the headphone.

Figure 8 shows the AIC3254 interfaced to the C5515 DSP.

Figure 8. Block Diagram of the Interface Between the C5515 DSP and TLV320AIC3254

2.4 Front-End Connector

The front-end board is connected to the EVM through the universal front-end connector, which consists ofthree connector interfaces with legends on the EVM: J20, J21, and J22.

2.4.1 J20 Connector Interface at C5515 EVM

The mating for this connector is maintained, but no signals are used by the digital stethoscope front-endboard.

2.4.2 J21 Connector Interface at C5515 EVM

This connector carries the 5 V, 3.3 V and 1.8 V from the C5515 EVM. These voltages act as the primarysource for the digital stethoscope front-end board.

2.4.3 J22 Connector Interface at C5515 EVM

This connector carries GPIOs, I2S, I2C, SPI and interrupts from the C5515 EVM to the front-end board.Pin mapping for the used interfaces are shown in Table 1.

Table 1. J22 Connector Interface

Connector Pin Number (1) Signal Assigned

2 FE DETECT

5 I2S1 CLK

6 FE DETECT

9 I2S1 FS

14 I2S1 RX

16 I2C_SCL

19 I2S1 DX

20 I2C_SDA(1) Other connector pins are not used.

9SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 10: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

DSP Subsystem www.ti.com

2.5 Hardware Configuration

2.5.1 Jumper Settings

There are three audio input channels to the front-end board. Connector J5 and J8 can input microphonesignals, whereas connector J13 inputs the contact microphone signal. Jumper settings are provided on thefront-end board to select the required audio channel to the TLV320AIC3254 codec. Table 2 identifies thejumper settings available on the front-end board.

The version of the software provided with the kit only supports the selection of audio input throughconnector J8 to channel 2 left input of codec (J4 should be closed).

The codec supports both I2C and SPI mode for configuration. Jumper J9 should be closed to select theI2C mode for configuration.The I2C mode is only supported with the version of software provided with thekit.

Table 2. Jumper Settings for the Front-End Board

Identification Connection Description

Jumper J1 Closed (1) Select microphone input J5 to channel 1 right input of codec

Open Deselect microphone input J5 to channel 1 right input of codec

Jumper J2 Closed (1) Select microphone input J8 to channel 1 left input of codec

Open Deselect microphone input J8 to channel 1 left input of codec

Jumper J3 Closed (1) Select microphone input J5 to channel 2 right input of codec

Open Deselect microphone input J5 to channel 2 right input of codec

Jumper J4 Closed (default) Select microphone input J8 to channel 2 left input of codec

Open Deselect microphone input J8 to channel 2 left input of codec

Jumper J6 Closed (1) Select contact microphone input J13 to channel 3 right input of codec

Open Deselect contact microphone input J13 to channel 3 right input of codec

Jumper J7 Closed (1) Select contact microphone input J13 to channel 3 left input of codec

Open Deselect contact microphone input J13 to channel 3 left input of codec

Jumper J9 Closed (default) I2C mode select for configuring the codec

Open (1) SPI mode select for configuring the codec (Not supported)(1) Support requires modification in software

2.5.2 Resistor Gain Setting

The hardware amplifier gain can be selected using the potentiometer VR2 provided on the front-endboard. The minimum gain provided is 11; this can be obtained by selecting the VR2 position at minimum.The maximum gain provided is 31; this can be obtained by selecting VR2 position at maximum.

3 DSP Subsystem

The DSP software, running on the C5515 EVM, takes the digitized signal from the front-end board andprocesses it. The processed heart sound waveform is sent back to the front-end board for conversion toanalog signals and playback. The signals are also provided to the PC application over UART interface fordisplay.

10 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 11: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

FIRFilter

Acquisition Buffer

FrontEnd

Board

Input Buffer

RS

23

2

I2C

I2SHR

Detection

Output Buffer(Left Channel)

5 StepVolumeControl

DisplayUART

PC

Display

UI Control

(Key Pad)

Output Buffer(Right Channel)

www.ti.com DSP Subsystem

Figure 9 shows the high-level architecture of the DSP subsystem.

Figure 9. DSP Software Architecture

11SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 12: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

From Codec

Mode Selected by User

FIR Filter forBell Mode

C5505 LCDDisplay

FIR Filter forDiaphragm Mode

FIR Filter forExtended Mode

Five Step VolumeControl

Heart Rate Caculation forBell or Diaphragm Mode

UARTTransmission

To Codec To PC Display

DSP Subsystem www.ti.com

Figure 10 shows a simplified system flow chart for the DSP software.

Figure 10. System Flow Chart

The following list describes the system flow for the DSP subsystem:

• Based on the mode selected, digital signals from the front-end board are fed to the corresponding filter• FIR BPF (Hamming window) filter with order 161 is used to remove noise and unwanted signals• The filtered output is fed back to the codec on the front-end board• Filtered output is also passed to the PC application over UART interface for display and storage• Heart beat detection algorithm is applied for bell and diaphragm modes• Heart rate, operating mode, and volume level are displayed on the LCD screen

The various blocks of the DSP subsystem are described in the following sections.

3.1 Data Acquisition

ADC output data from the front-end board is stored into two 128-word input buffers using a ping-pongmechanism by utilizing the direct memory access (DMA) of the C5515 DSP. Processed data from theDSP, for both left and right channels, is output to four 128-word output buffers using the ping-pongmechanism.

12 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 13: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

www.ti.com DSP Subsystem

3.2 FIR Digital Filter

The digital stethoscope has three different finite impulse response (FIR) filters implemented for the threeoperating modes. The filter being used is the FIR hamming window band pass with order of 161, whichprovides a sharp cutoff with attenuation of about 50dB. The sampling frequency is 12000 samples/second.

Buffer shifting convolution algorithm is used for the realization of the filter.

The band pass frequency range for bell, diaphragm, and extended modes is shown in the following list:

• Bell mode - 20 Hz to 220 Hz• Diaphragm mode - 50 Hz to 600 Hz• Extended mode is 20 Hz to 2000 Hz

Figure 11 shows the sound waveform before and after applying the filter for the bell mode.

Figure 11. Signal Before and After FIR Filter for Bell Mode

13SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 14: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

DSP Subsystem www.ti.com

Figure 12 shows the sound waveform before and after applying the filter for the diaphragm mode.

Figure 12. Signal Before and After FIR Filter for Diaphragm Mode

Figure 13 shows the sound waveform before and after applying the filter for the extended mode.

Figure 13. Signal Before and After FIR Filter for Extended Mode

14 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 15: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

FIR + MA Fltered Output

HR = (Sampling Rate * 60) / Number Sample Between 2 S1 Peaks

[ ] [ ]

11

0

My i x i j

M j

-

= +å

=

www.ti.com DSP Subsystem

3.3 Heart Beat Detection

Heart rate detection algorithm has the following steps:

1. Smoothen the FIR filter output by using the 5 tap moving average filter.2. Detect the S1 (first heart sound) by calculating the maximum slope of the smoothened waveform.3. Disable the S1 detection logic for 100 msec.4. Measure the number of samples between two consecutive S1’s.5. Calculate the heart rate using the following formula:

(a) HR = ((Sampling Rate * 60)/Number of samples between two consecutive S1’s)(b) Where, sampling rate = 12000 Hz

6. Apply eight data point moving average logic to compute the average heart rate.

Figure 14. Heart Waveform Showing S1

The moving average filter is implemented using a recursive algorithm. The order of the moving averagefilter used is 5. The following equation shows the moving average window:

Where

M – order of filter

x[i] – i th input sample

y[i] – i th filtered output

3.4 UART Transmission

The filtered output (at data rate 12000 sps) is decimated to 3000 sps and sent to UART for transmission.Decimation is implemented by averaging four samples.

The following parameters are sent over UART to the PC application every one sec.

• Heart rate• Operating mode• Volume

The UART configuration that is used is 115200 bps, 8 data bits, 1 stop bit and no parity.

15SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 16: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

PC Application www.ti.com

3.5 LCD Display

The LCD display shows the MDK application: volume indication bars, modes of operation, heart ratedisplay, and bell or diaphragm mode. A sample LCD screen is shown in Figure 15.

Figure 15. LCD Screen

The LCD display on the EVM is controlled using the SW7, SW10, SW12 and SW13 keys. For each ofthese key, an interrupt is generated and communicated to the DSP through the SAR interrupt.

4 PC Application

The PC application is used for viewing the heart waveform and heart rate values. It also provides optionsto zoom, store, and playback the signals.

The PC application has two modes of operation: online and offline.

• Online mode: the digital stethoscope signals are plotted in real-time• Offline Mode: the recorded stethoscope wave files are played back

The PC application uses two timers in the online mode of operation: acquisition timer and display timer.

The acquisition timer is set for 100 ms interval for reading the data from the serial port. After retrieving thedata from the serial port, it parses the stream of bytes for different variables such as mode of operation,heart rate, volume and steth sample value. The data object for each sample is stored in a queue buffer.

16 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 17: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

www.ti.com Installation

The display timer is set to an interval of 60 ms and is used for plotting the stethoscope wave form, andupdating the mode of operation, heart rate, and volume information on the screen. This timer elapsesevery 60 ms; in each elapsed event 18 samples are plotted on the screen. Figure 16 shows a sample PCapplication snapshot.

Figure 16. PC Application

5 Installation

5.1 Components and Accessories Required

The following components and accessories are required for the MDK digital stethoscope installation.

• C5515 EVM• Digital stethoscope front-end board• Code Composer Studio v3.3• RS232 cable• USB cable• Stethoscope diaphragm coupled with condenser microphone• Stereo headphone• C5515 DSP application software• PC application software

5.2 Hardware Installation1. Mount the stethoscope front-end board on top of the C5515 EVM at connectors J20, J21 and J22.

Ensure that there is a firm connection between the front-end board and the EVM.2. Connect the USB cable between the PC and the C5515 EVM for the debug mode of operation.3. Connect the stethoscope sensor plug at J8.

The front-end board has a 2.5 mm jack; the mechanical adapter supplied with the stethoscope kit canbe used to connect the 3.5 mm plug. First, connect the adapter to the microphone plug, then; insert itinto jack J8 of the front-end board.

NOTE: If you want to sample heart sounds that are played on the PC, connect the line out from thePC to J8 of the stethoscope front-end board.

17SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 18: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

Installation www.ti.com

4. Connect the stereo headphone at J14 on stethoscope front-end board.The front-end board has 2.5 mm jack; the mechanical adapter supplied with the stethoscope kit can beused to connect the 3.5 mm plug. First, connect the adapter to the headphone plug, then; insert it intojack J8 of the front-end board.

5. Connect the serial cable (UART) to the DB9 connector (J13) of the C5515 EVM and the other end tothe serial port of the PC for viewing signals on the PC application.

6. Connect the power supply into power jack J7 on the C5515 EVM.7. Keep jumper J4 and J9 in the closed position.8. Place the sensor on the body to listen to heart and/or lung sounds.

5.3 Software Installation

5.3.1 System Requirements

The following installations are required to run the software provided with the MDK digital stethoscope kit.

• Code Composer Studio v3.3• USB driver for Code Composer Studio v3.3• NET 2.0 framework

Table 3 explains the content of the CD provided with the MDK digital stethoscope kit.

Table 3. Release CD Contents

S Number Directory/Filename Contains

1 StethSystem_V_0_4.2 Project source code

2 Output Contains two files:

STETHSystem.out

c5505evm.gel

3 PCApplication Executable for PC application

4 BootImageCreation.zip Folder that contains the following files:

bootImage.exe

convertBind0.bat

convertEnc0.bat

convertInsecure.bat

programmer.out

readme.txt

5 Document Contains the following documents:

ReleaseNote.txt

Quick starter guide V6.0 doc

5.3.2 C5515 DSP Software (debug mode) Installation Steps1. Copy the c5505evm.gel file from the CD to <CCS installation dir>/CC/GEL/.2. Copy the StethSystem directory from the CD to a local directory on the PC where Code Composer

Studio is installed.

5.3.3 C5515 DSP Software (standalone mode) Installation Steps1. Copy the BootImageCreation.zip file from the CD to a local directory on the PC where Code Composer

Studio is installed. This path needs to be used later for Flashing; ensure that there are no spaces inthe path name.

2. Copy the STETHSystem.out file from the CD to the < BootImageCreation> folder.3. Execute convertInsecure.bat from the <BootImageCreation> folder to create the new

InsecureBootImage.bin file.4. Open Code Composer Studio.

18 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 19: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

www.ti.com Running the Demo Application

5. Power on the C5515 EVM.6. Select Debug → Connect in Code Composer Studio to connect to the C5515 EVM.7. Load programmer.out C5515 EVM from the < BootImageCreation> folder.8. Select Debug → Run in Code Composer Studio.9. Enter 241:<BootImageCreation Folder>\InsecureBootImage.bin and press OK in the popup window

shown in Figure 17.

Figure 17. Input Dialog Box

10. Wait until Programming Complete.11. Power off the C5515 EVM and disconnect.

5.3.4 PC Application Installation Steps

Prior to installing the PC application, ensure that .NET 2.0 framework is installed on the system. .NET 2.0redistributable framework can be downloaded from the following URL:http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en.

1. Open the PCApplication folder on the CD and double click on C55x Steth Medical DevelopmentKit.msi.

2. Click Next on the welcome screen to continue the installation.3. Browse to the folder where the application is installed. Select the installation mode for Everyone or Self

and click Next.4. Click Next on the Confirmation screen. This installs the application into the specified folder.5. Click Close to complete and exit the installation.

6 Running the Demo Application

The digital stethoscope application can be run in two modes: standalone and debug.

• Standalone mode, for running from Flash memory• Debug mode, for loading and debugging using Code Composer Studio

6.1 Running in Standalone Mode1. Complete the installation steps provided in Section 5.3.2. Power on the C5515 EVM using slide switch SW4.3. Place the sensor to listen to heart and/or lung sounds.

6.2 Running in Debug mode1. Complete the installation steps provided in Section 5.3.2. Power on the C5515 EVM using slide switch SW4.3. Open Code Composer Studio.4. Click on Debug → Connect in Code Composer Studio to connect to the C5515 EVM.5. Click on Project → Open in Code Composer Studio and select the STETHSystem.pjt file.6. Click on File → Load .out file in Code Composer Studio. The .out file is located in the Debug directory.7. Execute the application.8. Place the sensor to listen to heart and/or lung sounds.

19SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 20: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

Options and Selections www.ti.com

6.3 Running the PC Application

6.3.1 Online Mode

The following steps are required to view signals in online mode using the PC application:

1. Connect the RS232 cable between the PC COM port and the C5515 EVM.2. Complete the installation steps provided in Section 5.3.3. Open the PC application.4. Select online mode and click OK.5. Select the available COM port and click OK.6. Signals transmitted from the C5515 EVM can be viewed on the PC application.

6.3.2 Offline mode

The following steps are required to view signals in offline mode stored on the PC using the PC application:

1. Open the PC application.2. Select offline mode and click OK.3. Browse and select the previously saved .wav file and click OK.4. Heart waveforms can be viewed on the PC application.

7 Options and Selections

7.1 On the C5515 EVM

7.1.1 Mode Selection

The operating mode can be selected depending on your diagnostic requirement. To switch betweendifferent modes, switch SW7 needs to be pressed at run time.

By default, the application works in bell mode. Pressing the switch changes the mode selection that canbe viewed on the LCD screen and also on the PC application.

7.1.2 Volume Control

The volume of the output signal can be increased or decreased by pressing switch SW12 or SW13,respectively. The selected volume is indicated using the volume bar on the LCD screen by highlighting theyellow indicator bars. The default volume level will be 0 dB (3 yellow bars). A green dot on the LCDscreen indicates that the volume is on as shown in Figure 18.

Figure 18. LCD Screen Showing Volume Level 0dB

20 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 21: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

www.ti.com References

7.1.3 Mute Option

The output sound can be muted and un-muted by pressing switch SW8 on the C5515 EVM. A red dot onthe LCD screen indicates that the volume has been muted as shown in Figure 19.

Figure 19. LCD Screen Showing Mute On

7.2 PC Application

The following features are provided on the PC application.

• Zoom In - This can be used to zoom in the heart sound display on PC application and to amplify theheart sounds while storing.

• Zoom Out - This can be used to zoom out the heart sound display on PC application and to reducethe amplification of heart sound while storing.

• Start Recording - This can be used to start the recording of the heart sound. During recording, thissame button is used for the Stop Recording operation. Note that after the start recording option isselected, the zoom options get disabled.

• Stop Recording - This can be used to stop recording and save the heart sound as a .wav file. It canbe played back using the PC application in offline mode, or also using media players.

• Clear: This can be used to clear the screen and start a fresh display of the waveform.• Cancel: This can be used to close the form.

8 References• TMS320VC5505 DSP Medical Development Kit (MDK) Quick Start Guide (SPRUGO1)

21SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 22: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

Jumper configuration forinput channel selection

MIC

_R

_IN

PR

E-A

MP

_R

_O

UT

PR

E-A

MP

_R

_O

UT

MIC

_R

_IN

PR

E-A

MP

_L

_O

UT

MB

MIC

_L

_IN

MIC

_L

_IN

MIC

_L

MIC

_R

MIC

_R

MIC

_L

PR

E-A

MP

_L

_O

UT

PR

E-A

MP

_C

M_O

UT

CM

_IN

PR

E-A

MP

_C

M_O

UT

CM

_IN

CM

_O

UT

1

CM

_O

UT

MIC

_R

1

MIC

_L1

MIC

_R

MIC

_L

CM

_O

UT

3.3

V3.3

V

3.3

V

3.3

V3.3

V

3.3

V

3.3

V3.3

V

3.3

V

5V

MIC

_2

RM

IC_2

L

MIC

_3

RM

IC_3

L

MIC

_1

RM

IC_1

LM

B

Bypass

path

To

codec

Bypass

path

PR

E-A

MP

LIF

IER

SE

CT

ION

Clo

se t

he

jum

pers

for

co

nne

ctin

gin

pu

tsig

nalto

cha

nn

el2

Clo

se t

he

jum

pers

for

co

nne

ctin

gin

pu

tsig

nalto

cha

nn

el1

INP

UT

CH

AN

NE

L

1 2 3

J1J2

J3

J4

J6

J7

CC

CC

CC

OO

OO

OO

OO

OO

OO

C=

CL

OS

EO

=O

PE

N

Clo

se t

he

jum

pers

for

co

nne

ctin

gin

pu

tsig

nalto

cha

nn

el3

Bypass

path

ContactMicrophone

Channel

J5

MJ1-2

510-S

MT

11

33

22

C1

4

0.1

uF

VR

32

00

K

13

2

R4

1M

J4

R26

NC

-0E

J13

SJ1-2

513-S

MT1 3 2

C2

0.1

uF

R1

31M

R8

10

K

R2

510

K

C11

0.1

uF

R12

NC

-0E

R19

NC

-0E

J6

R20

NC

-0E

C40

NC

-1n

F

R1

6N

C-0

E

R9

NC

-0E

R2

11M

U5

OP

A3

35

In-

4

In+

3

Out

1

V+5 V- 2

R1

710

K

U3 O

PA

335

In-

4

In+

3

Out

1

V+5 V- 2

U4

OPA

335

In-

4

In+

3

Out

1

V+5 V- 2

C38

NC

-1nF

C5

10

uF

C1

5

10

uF

J7

R1

41M

C3

5

0.1

uF

R2

21M

VR

22

00

K

13

2

C1

0.1

uF

C6

0.1

uF

U1 O

PA

335

In-

4

In+

3

Out

1

V+5 V- 2

U2

OP

A33

5

In-

4

In+

3

Ou

t1

V+5 V- 2

R7

NC

-0E

C1

0

10

uF

C13

0.1

uF

C4

0.1

uF

R2

4N

C-0

E

C9

0.1

uF

J1

C8

0.1

uF

C7

0.1

uF

J8

MJ1-2

510-S

MT

11

33

22

R2

NC

-0E

C39

NC

-1n

F

U7

OP

A33

5

In-

4

In+

3

Ou

t1

V+5 V- 2

C3

6

0.1

uF

R23

620E

R5

1M

J3

R1

02K

VR

12

00

K

13

2

R6

620E

R3

NC

-0E

R1

5

62

0E

C3

7

0.1

uF

R18

100K

C12

0.1

uF

J2

R1

2K

R11

NC

-0E

C3

0.1

uF

Pre

-Am

pli

fie

r S

ec

tio

n

www.ti.com

Appendix A Front-End Board Schematics

A.1 Front-End Board Schematics

The schematics for the digital stethoscope front-end board are shown below:

Figure 20. Pre-Amplifier

22 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 23: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

CO

DE

C

HP

_R

OU

T

HP

_LO

UT

MC

LK

HP

_L

OU

TH

P_R

OU

T

MC

LK

3.3

V

3.3

V

3.3

V

3.3

VA

1.8

VA

3.3

VA

1.8

VA

1.8

V

3.3

V

1.8

VA

3.3

VA

MB

RE

SE

T

MIC

_1R

MIC

_2L

MIC

_2R

MIC

_3L

MIC

_3R

MIC

_1L

I2S

1_C

LK

I2S

1_F

S

I2S

1_D

X

I2C

_S

CL

I2C

_S

DA

I2S

1_R

X

12.0

0M

hz

Clo

se

th

eju

mp

er

fo

rs

ele

ctin

gI2

Cin

te

rfa

ce

Pla

ce

nea

rto

the

code

c

J9

2pin

head

er

C19

0.1

uF

L2

BK

212

5H

M4

71

-T

R3

310K

R2

7

10

K

C2

2

10

uF

J1

4

SJ1-2

51

3-S

MT

132

R2

810K

C21

10u

F

C16

0.1

uF

Y1

CS

X7

50

FB

C12

.00

0M

-UT

OE1

OU

T3

GN

D 2

VD

D4

C28

10u

F

C17

0.1

uF

C25

220

uF

C2

3

10

uF

U9

TLV

320

AIC

32

54

AVSS17

IN1R

14

DVSS28

IOVSS7

LO

R2

3

SC

LK

8

LO

L2

2

BC

LK

2

GP

IO3

2IOVDD

6

LDOIN/HPVDD26

MIC

BIA

S19

LD

OS

ELE

CT

30

WC

LK

3

IN3L

20

DVDD29

IN2L

15

HP

R2

7IN

1L

13

SD

A/M

OS

I1

0IN

3R

21

HP

L2

5

RE

SE

T*

31

DIN

4

MC

LK

1

IN2R

16

AVDD24

DO

UT

5

SC

L/S

SZ

9

MIS

O11

SP

I_S

EL

EC

T1

2

RE

F1

8

GND33

C24

220

uF

L1

BK

212

5H

M4

71

-T

C26

0.1

uF

C2

7

0.1

uF

C18

0.1

uF

C20

10u

F

Co

dec

www.ti.com Front-End Board Schematics

Figure 21. Codec Schematic

23SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 24: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

DNI

CONNECTOR INTERFACE

BR

D_D

ET

0

BR

D_

DE

T1

BR

D_

DE

T1

BR

D_D

ET

0

3.3

V3

.3V

3.3

V

1.8

V5V

I2S

1_R

X

I2S

1_C

LK

I2S

1_

FS

I2S

1_

DX

RE

SE

T

I2C

_S

DA

I2C

_S

CL

BR

D_

DE

T1

BR

D_D

ET

0

EC

G

ST

ET

H

SP

O2

11

01

10

FR

ON

TE

ND

BO

AR

DD

ET

EC

TIO

NM

EC

HA

NIS

M

EV

MG

ND

-F

EG

ND

ISO

LA

TIO

N

CO

NN

EC

TO

RIN

TE

RF

AC

E

DN

I

TP

4

C30

100

uF

R30

10K R32

0E

C3

4

100

uF

C31

0.1

uF

L3

BK

2125

HM

47

1-T

R2

9

10

K

TP

1

C2

9

0.1

uF

TP

2C

33

0.1

uF

J1

0

PO

WE

R_

CO

NN

1 3 5 7 9

2 4 6 810

TP

3

J12

DU

MM

Y_C

ON

N

1 3 5 7 9 11

13

15

17

19

2 4 6 81

01

21

41

61

82

0

R3

1

NC

-0E

J11

DA

TA

_C

ON

N

1 3 5 7 911 13

15

17

19

2 4 6 8 10

12

14

16

18

20

C3

2

10

0u

F

Co

nn

ecto

r In

terf

ace

Front-End Board Schematics www.ti.com

Figure 22. Connector Interface Schematic

24 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 25: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

www.ti.com

Appendix B FE Board BOM

B.1 FE Board BOM

Table 4 provides the bill of material for the digital stethoscope front-end board.

Table 4. Bill of Material

Item Quantity Value Reference Description Part Number Manufacturer DNI

1 24 0.1 mF C1,C2,C3,C4,C6,C7,C8 CAP CERM 0.10 mF 50 V ECJ-1VB1C104K Panasonic,C9,C11,C12,C13,C14, 5% 0603 SMDC16,C17,C18,C19,C26,C27,C29,C31,C33,C35,C36,C37

2 8 10 mF C5,C10,C15,C20,C21, CAPACITOR TANT 10 mF T350E106K016AS KEMETC22,C23,C28 16 V 10% RAD

3 2 220 mF C25,C24 CAP 220 mF 16 V ELECT EEV-FC1C221P PanasonicFC SMD

4 3 100 mF C30,C32,C34 CAP ELECT 100 mF 16 V EEE-TK1C101P PanasonicTK SMD

5 3 NC-1 nF C38,C39,C40 CAP CERM 0.10 mF 50 V ECJ-1VB1C104K Panasonic Yes5% 0603 SMD

6 7 2 pin header J1,J2,J3,J4,J6,J7,J9 CONN HEADER 2POS .100 LOCAL LOCALVERT TIN

7 2 MJ1-2510-SMT J5,J8 SMT CONN AUDIO JACK MJ1-2510-SMT CUIMONO 2.5MM SMD

8 1 POWER_CONN J10 Elevated Female Header BB02-KD102-T03- Gradconn5x2 100000

9 1 DATA_CONN J11 Elevated Female Header BB02-KD202-T03- Gradconn10x2 100000

10 1 DUMMY_CONN J12 Elevated Female Header10x2

11 2 SJ1-2513-SMT J14,J13 CONN AUDIO JACK SJ1-2513-SMT CUISTEREO 2.5MM SMD

12 3 BK2125HM471-T L1,L2,L3 FERRITE BEAD 470 Ω BK2125HM471-T Taiyo Yuden0805

13 2 2K R10,R1 RES 2.00K Ω 1/10W 1% RC0603FR-072KL Yageo0603 SMD

14 13 NC-0E R2,R3,R7,R9,R11,R12, RES ZERO Ω 1/10W 5% ERJ-3GEY0R00V Panasonic YesR16,R19,R20,R24,R26, 0603 SMDR31

15 1 100K R18 RES 100K Ω 1/10W 5% RC0603JR-07100KL Yageo0603 SMD

16 6 1M R4,R5,R13,R14,R21,R RES 1.0M Ω 1/10W 5% RC0603JR-071ML Yageo22 0603 SMD

17 3 620E R6,R15,R23 RES 620 Ω 1/10W 5% 0603 ERJ-3GEYJ621V PanasonicSMD

18 8 10K R8,R17,R25,R27,R28, RES 10K Ω 1/10W 5% 0603 RC0603JR-0710KL YageoR29,R30,R33 SMD

19 1 0E R32 RES ZERO Ω 1/10W 5% ERJ-3GEY0R00V Panasonic0603 SMD

20 6 OPA335 U1,U2,U3,U4,U5,U7 IC OP AMP CMOS SGL OPA335AIDBVT TISPLY SOT-23-5

21 1 TLV320AIC3254 U9 IC STEREO AUDIO TLV320AIC3254 TICODEC 1.8 V 32QFN

22 3 200K VR1,VR2,VR3 POT 200K Ω 4MM SQ 3314G-1-204E Bourns, IncCERMET SMD

23 1 CSX750FBC12.000M- Y1 OSCILLATOR 12.0000 CSX750FBC12.000 CITIZENUT MHZ SMD M-UT

25SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 26: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

www.ti.com

Appendix C Sensors and Accessories

C.1 Stethoscope Diaphragm

Type: Acoustic Stethoscope Diaphragm

A typical acoustic stethoscope diaphragm details is as given below.

Vendor: 3M LITTMANNModel Number: Classic II SE 2203

For further details and purchases, see the following URL:http://www.stethoscope-gallery.com/main/home.aspx.

C.2 Condensor Microphone

Type: MICROPHONE OMNI DIRECT 6MM W/CAP

A typical condenser microphone details is given below.

Manufacturer: PanasonicVendor: DigikeyModel Number: WM-64C

For further details and purchases, see the following URL:http://parts.digikey.com/1/parts/858-microphone-omni-direct-6mm-w-cap-wm-64c.html.

C.3 2.5mm Audio Cable Assembly

Type: Single Ended Audio cable

A typical audio cable details is given below.

Manufacturer: Tensility International CorpVendor: DigikeyModel Number: CA-2202

For further details and purchases, see the following URL:http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&amp;name=CP-2202-ND.

26 Digital Stethoscope Implementation on the TMS320C5515 DSP Medical SPRAB38A–June 2010Development Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 27: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

www.ti.com

Appendix D MEDICAL DEVELOPMENT KIT (MDK) WARNINGS, RESTRICTIONS ANDDISCLAIMER

Not for Diagnostic Use: For Feasibility Evaluation Only in Laboratory/Development Environments.

The MDK may not be used for diagnostic purposes.

This MDK is intended solely for evaluation and development purposes. It is not intended for diagnostic useand may not be used as all or part of an end equipment product.

This MDK should be used solely by qualified engineers and technicians who are familiar with the risksassociated with handling electrical and mechanical components, systems and subsystems.

Your Obligations and Responsibilities.

Please consult the TMS320VC5505 DSP Medical Development Kit (MDK) Quick Start Guide (SPRUGO1)prior to using the MDK. Any use of the MDK outside of the specified operating range may cause danger tothe users and/or produce unintended results, inaccurate operation, and permanent damage to the MDKand associated electronics. You acknowledge and agree that:

• You are responsible for compliance with all applicable Federal, State and local regulatory requirements(including but not limited to Food and Drug Administration regulations, UL, CSA, VDE, CE, RoHS andWEEE,) that relate to your use (and that of your employees, contractors or designees) of the MDK forevaluation, testing and other purposes.

• You are responsible for the safety of you and your employees and contractors when using or handlingthe MDK. Further, you are responsible for ensuring that any contacts or interfaces between the MDKand any human body are designed to be safe and to avoid the risk of electrical shock.

• You will defend, indemnify and hold TI, its licensors and their representatives harmless from andagainst any and all claims, damages, losses, expenses, costs and liabilities (collectively, "Claims")arising out of or in connection with any use of the MDK that is not in accordance with the terms of thisagreement. This obligation shall apply whether Claims arise under the law of tort or contract or anyother legal theory, and even if the MDK fails to perform as described or expected.

WARNINGTo minimize risk of electric shock hazard, use only the followingpower supplies for the EVM module: Medical DevelopmentApplications: SL Power AULT Model MW173KB0503F01.

27SPRAB38A–June 2010 Digital Stethoscope Implementation on the TMS320C5515 DSP MedicalDevelopment Kit (MDK)

Copyright © 2010, Texas Instruments Incorporated

Page 28: Digital Stethoscope Implementation on TMS320C5515 DSP Medical

IMPORTANT NOTICE

Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,and other changes to its products and services at any time and to discontinue any product or service without notice. Customers shouldobtain the latest relevant information before placing orders and should verify that such information is current and complete. All products aresold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.

TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standardwarranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except wheremandated by government requirements, testing of all parameters of each product is not necessarily performed.

TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products andapplications using TI components. To minimize the risks associated with customer products and applications, customers should provideadequate design and operating safeguards.

TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Informationpublished by TI regarding third-party products or services does not constitute a license from TI to use such products or services or awarranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectualproperty of the third party, or a license from TI under the patents or other intellectual property of TI.

Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompaniedby all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptivebusiness practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additionalrestrictions.

Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids allexpress and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is notresponsible or liable for any such statements.

TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonablybe expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governingsuch use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, andacknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their productsand any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may beprovided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products insuch safety-critical applications.

TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products arespecifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet militaryspecifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely atthe Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.

TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products aredesignated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designatedproducts in automotive applications, TI will not be responsible for any failure to meet such requirements.

Following are URLs where you can obtain information on other Texas Instruments products and application solutions:

Products Applications

Amplifiers amplifier.ti.com Audio www.ti.com/audio

Data Converters dataconverter.ti.com Automotive www.ti.com/automotive

DLP® Products www.dlp.com Communications and www.ti.com/communicationsTelecom

DSP dsp.ti.com Computers and www.ti.com/computersPeripherals

Clocks and Timers www.ti.com/clocks Consumer Electronics www.ti.com/consumer-apps

Interface interface.ti.com Energy www.ti.com/energy

Logic logic.ti.com Industrial www.ti.com/industrial

Power Mgmt power.ti.com Medical www.ti.com/medical

Microcontrollers microcontroller.ti.com Security www.ti.com/security

RFID www.ti-rfid.com Space, Avionics & www.ti.com/space-avionics-defenseDefense

RF/IF and ZigBee® Solutions www.ti.com/lprf Video and Imaging www.ti.com/video

Wireless www.ti.com/wireless-apps

Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265Copyright © 2010, Texas Instruments Incorporated