Download WEEKLY PROGRESS REPORT Student: Rizal Maulana 102521603

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Serial digital interface wikipedia , lookup

Amplifier wikipedia , lookup

Regenerative circuit wikipedia , lookup

Schmitt trigger wikipedia , lookup

Flip-flop (electronics) wikipedia , lookup

Broadcast television systems wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Multimeter wikipedia , lookup

Phase-locked loop wikipedia , lookup

Battle of the Beams wikipedia , lookup

Television standards conversion wikipedia , lookup

Time-to-digital converter wikipedia , lookup

Operational amplifier wikipedia , lookup

Rectiverter wikipedia , lookup

Mixing console wikipedia , lookup

Dynamic range compression wikipedia , lookup

Oscilloscope wikipedia , lookup

Signal Corps (United States Army) wikipedia , lookup

Index of electronics articles wikipedia , lookup

HD-MAC wikipedia , lookup

Telecommunication wikipedia , lookup

Valve RF amplifier wikipedia , lookup

Cellular repeater wikipedia , lookup

Oscilloscope types wikipedia , lookup

Analog television wikipedia , lookup

Oscilloscope history wikipedia , lookup

Analog-to-digital converter wikipedia , lookup

High-frequency direction finding wikipedia , lookup

Opto-isolator wikipedia , lookup

Transcript
WEEKLY PROGRESS REPORT
Student: Rizal Maulana
102521603
Date : 2014 / 06 / 05
I.
This Week Achievement
This week I finished to sent the output signal from PPG circuit to personal
computer (PC). I used National Instruments Data Acquisition NI-USB 6008 as the
interface between PPG circuit and PC. The purpose of this step is sent the signal from
PPG circuit to PC and then analyzed this signal using MATLAB.
The NI USB-6008 provides connection to eight single-ended analog input (AI)
channels, two analog output (AO) channels, 12 digital input/output (DIO) channels, and
32-bit counter with full-speed USB interface. Table 1 shows the features of NI-USB
6008.
Table 1. NI USB-6008 Features
Figure 1 shows the pinout of the NI-USB 6008. Analog input signal names are
listed as single-ended analog input name, AI x, and then differential analog input name,
(AI x+/-). Refer to Table 2 for a detailed description of each signal.
Figure 1. NI-USB 6008 Pinout
Table 2. Signal Description
The NI USB-6008 has eight analog input channels that can use for four
differential analog input measurements or eight single-ended analog input
measurements. Figure 2 shows the analog input circuitry of the NI USB-6008.
Figure 2. NI USB-6008 Analog Input Circuitry
The main blocks featured in the NI USB-6008 analog input circuitry are as follows :
 MUX – The NI USB-6008 has one analog-to-digital converter (ADC). The
multiplexer (MUX) routes one AI channel at a time to the PGA.
 PGA – The programmable-gain amplifier provides input gains of 1, 2, 4, 5, 8, 10,
16, or 20 when configured for differential measurements and gain of 1 when
configured for single-ended measurements. The PGA gain is automatically
calculated based on the voltage range selected in the measurement application.
 ADC – The analog-to-digital (ADC) digitizes the AI signal by converting the
analog voltage into digital code.
 AI FIFO – The NI USB-6008 can perform both single and multiple analog-todigital conversions of a fixed or infinite number of samples. A first-in-first-out
(FIFO) buffer holds data during AI acquisitions to ensure that no data is lost.
To connect referenced single-ended (RSE) voltage signals to the NI USB-6008,
connect the positive voltage to signal to an AI terminal, and the ground signal to a GND
terminal, as shows in Figure 3.
Figure 3. Connecting a Reference Single-Ended Voltage Signal
Measurement Using LabVIEW
The first step of this measurement is connect the output from PPG circuit signal
to one of the analog input pinout of the NI USB-6008. In this measurement, I used
analog input 0 (pin 2) to get the signal from PPG circuit, and ground (pin 1) for the
reference signal in this measurement. Figure 4 shows the measurement process using
NI USB-6008.
Figure 4. Measurement Process Using NI USB-6008
After connected all of the required pinout, the next step is build a LabVIEW
block diagram to display the measurement result in LabVIEW. Figure 5 shows the
block diagram in LabVIEW.
Figure 5. LabVIEW Block Diagram
After finished build a LabVIEW block diagram, we can connect NI USB-6008
through USB connection. Thereafter, we can run this project to get the signal data from
PPG circuit. Figure 6 and Figure 7 shows the measurement result in LabVIEW when
the subject stationary posture and when the subject doing some motion, respectively.
Figure 6. PPG Ouput Signal When the Subject in Stationary Posture
Figure 7. PPG Output Signal When the Subject Doing Some Motion
From this measurement result using LabVIEW, it can be seen that the result is
similar to measurement result using oscilloscope.
Measurement Using MATLAB
To measure the signal data from NI USB-6008 or other data acquisition
hardware in MATLAB, MATLAB must have Data Acquisition Toolbox to be able to
this measurement. Data Acquisition Toolbox software provides a complete set of tools
for analog input, analog output, and digital I/O from a variety of PC-compatible data
acquisition hardware. The toolbox lets to configure the external hardware devices, read
data into MATLAB and Simulink environments for immediate analysis and send out
data.
The measurement using MATLAB has a similar step with measurement using
LabVIEW. The first step is connect the output from PPG circuit signal to analog input
pinout of the NI USB-6008. I used analog input 0 (pin 2) to get the signal from PPG
circuit, and ground (pin 1) for the reference signal in this measurement. After connected
all of the required pinout, the next step is write a MATLAB code to get the PPG signal
data from the NI USB-6008. After finished write a MATLAB code, we can run this
code to get the signal data from PPG circuit. Figure 8 and Figure 9 shows the
measurement result in MATLAB when the subject stationary posture and when the
subject doing some motion, respectively.
Figure 8. PPG Ouput Signal When the Subject in Stationary Posture
Figure 9. PPG Output Signal When the Subject Doing Some Motion
From this measurement result using MATLAB, it can be seen that the result is
similar to measurement result using oscilloscope and LabVIEW.
II.
Problems Encountered
After finished send the data to MATLAB, it can be seen that the motion artifact
is greatly affected the PPG signal, so I need the reference motion signal to remove this
artifact from PPG signal. And the reference motion signal can be obtained from
accelerometer sensor. So, I need a acceleremoter sensor to process the PPG signal using
MATLAB.
III.
Targets for Next Week
My targets for this week is to solved this problem. So, the PPG signal can be
processed using MATLAB.