A Portable, Wireless Photoplethysomography Sensor for Assessing Health of Arteriovenous Fistula Using Class-Weighted Support Vector Machine

A portable, wireless photoplethysomography (PPG) sensor for assessing arteriovenous fistula (AVF) by using class-weighted support vector machines (SVM) was presented in this study. Nowadays, in hospital, AVF are assessed by ultrasound Doppler machines, which are bulky, expensive, complicated-to-operate, and time-consuming. In this study, new PPG sensors were proposed and developed successfully to provide portable and inexpensive solutions for AVF assessments. To develop the sensor, at first, by combining the dimensionless number analysis and the optical Beer Lambert’s law, five input features were derived for the SVM classifier. In the next step, to increase the signal-noise ratio (SNR) of PPG signals, the front-end readout circuitries were designed to fully use the dynamic range of analog-digital converter (ADC) by controlling the circuitries gain and the light intensity of light emitted diode (LED). Digital signal processing algorithms were proposed next to check and fix signal anomalies. Finally, the class-weighted SVM classifiers employed five different kernel functions to assess AVF quality. The assessment results were provided to doctors for diagonosis and detemining ensuing proper treatments. The experimental results showed that the proposed PPG sensors successfully achieved an accuracy of 89.11% in assessing health of AVF and with a type II error of only 9.59%.


Introduction
Arteriovenous fistulas (AVF) are the lifelines of the end stage renal disease (ESRD) patients. AVF refers to the surgical connection between the brachial artery and vein for hemodialysis (HD). Having built AVF by surgery, the brachial vein is gradually arterialized, and then its vessel wall eventually becomes strong enough to sustain repeated needle-insertions during HD treatments. However, after a long term of HD treatments, patients may suffer from various AVF dysfunctions, which result in low blood flow volume (BFV) or narrowed vessels, such as stenosis, calcification, thrombosis, etc. According to the National Kidney Foundation [1], the health of AVF is assessed by measuring the BFV flowing insides, which should be at least 600 mL/min for performing HD treatments. In hospital, BFV at AVF is often assessed by using an ultrasound Doppler machine, which is expensive, bulky, and hard-to-use. Therefore, an alternative solution is proposed herein to provide ESRD patients with a portable, reliable, and inexpensive way to assess their AVF at home.
where ε p denotes the average power dissipation rate of the blood flow; ρ denotes the blood density (about 1.056 g/cm 3 ); Q and Q ω denote the average BFV and its waveform shape; r denotes the radius of the measured vessel; S and β BC denote the geometry of blood vessel and the boundary condition respectively, which are typically viewed as constants; where the dimensionless parameters are where Re denotes the Reynolds number; η denotes the dynamic viscosity of blood (about 0.035 g/cm·s); Ca denotes the Cauchy number; E denotes the Young's elasticity modulus of the vessel wall, which is assumed to be a constant; St denotes the Strouhal number; f HR denotes the heart rate frequency. In Equation (1), the average power dissipation rate ε p can be defined as the difference between the total energy dissipation rate and the energy dissipation rate of the steady part of flow as where ε t and ε s denote the average of total power dissipation and the average of the steady component of flow; T denotes the heart rate period, which is 1/f HR ; p(t) and q(t) denote the instantaneous blood pressure and BFV, respectively. Moreover, Equation (5) can be further simplified since the blood pressure at the outlet of AVF is very small and can be neglected, as shown in Figure 1. where εp denotes the average power dissipation rate of the blood flow; ρ denotes the blood density (about 1.056 g/cm 3 ); Q and Qω denote the average BFV and its waveform shape; r denotes the radius of the measured vessel; S and βBC denote the geometry of blood vessel and the boundary condition respectively, which are typically viewed as constants; where the dimensionless parameters are η π ρ r Q Re 2 = (2) where Re denotes the Reynolds number; η denotes the dynamic viscosity of blood (about 0.035 g/cm•s); Ca denotes the Cauchy number; E denotes the Young's elasticity modulus of the vessel wall, which is assumed to be a constant; St denotes the Strouhal number; fHR denotes the heart rate frequency. In Equation (1), the average power dissipation rate εp can be defined as the difference between the total energy dissipation rate and the energy dissipation rate of the steady part of flow as where εt and εs denote the average of total power dissipation and the average of the steady component of flow; T denotes the heart rate period, which is 1/fHR; p(t) and q(t) denote the instantaneous blood pressure and BFV, respectively. Moreover, Equation (5) can be further simplified since the blood pressure at the outlet of AVF is very small and can be neglected, as shown in Figure 1. Therefore, in Equation (5), the energy power dissipation of AVF can be approximated using only the blood pressure at the inlet of AVF as  Therefore, in Equation (5), the energy power dissipation of AVF can be approximated using only the blood pressure at the inlet of AVF as where p in (t) and q in (t) denote the blood pressure and BFV at the inlet of AVF; P and P ω denote the average blood pressure and the corresponding waveform shape; k denotes the power loss ratio caused by waveform shape, which is assumed to be a constant. Furthermore, P can be expressed using the mean artery pressure, which is defined as in Reference [31] where SBP and DBP denote systolic blood pressure (SBP) and diastolic blood pressure (DBP), respectively. Therefore, substituting Equation (7) into Equation (6) gives Therefore, from Equations (2)-(8), the average BFV in Equation (1) can be written as Note that the exact orders of each parameter remain unknown from dimensionless analysis. However, the SVM algorithm is still feasible by applying the derived parameters as the input features, and by selecting a proper kernel function.

Optical Theory of PPG Sensors
PPG sensors are optical sensors for measuring intravascular blood volume changes noninvasively. A typical PPG signal is composed of a small pulsating part denoted as AC, and a large stationary part denoted as DC, as shown in Figure 2.
where p in (t) and q in (t) denote the blood pressure and BFV at the inlet of AVF; P and Pω denote the average blood pressure and the corresponding waveform shape; k denotes the power loss ratio caused by waveform shape, which is assumed to be a constant. Furthermore, P can be expressed using the mean artery pressure, which is defined as in Reference [31] where SBP and DBP denote systolic blood pressure (SBP) and diastolic blood pressure (DBP), respectively. Therefore, substituting Equation (7) into Equation (6) gives Therefore, from Equations (2)-(8), the average BFV in Equation (1) can be written as Note that the exact orders of each parameter remain unknown from dimensionless analysis. However, the SVM algorithm is still feasible by applying the derived parameters as the input features, and by selecting a proper kernel function.

Optical Theory of PPG Sensors
PPG sensors are optical sensors for measuring intravascular blood volume changes noninvasively. A typical PPG signal is composed of a small pulsating part denoted as AC, and a large stationary part denoted as DC, as shown in Figure 2.   The mathematical equation of PPG signals can be described using the well-known optical Beer Lambert's law [32] as where I PPG denotes the measured PPG signals; I 0 and I amb denote the intensity of the incident light and the ambient light; ε b and ε t denote the light absorption coefficients of blood and tissues respectively, which are functions of light wavelength; c b and c t denote the Mohr concentration of blood and tissues, respectively; s b and s t denote the length of light transmission path in blood and tissues, respectively. Moreover, Equation (10) can be factored to DC and AC terms by applying the Taylor series approximation as Furthermore, to cancel the ambient light interferences, the perfusion index (PI) is introduced herein, as described in References [33,34], which is defined as AC divided by DC, as where an absolute symbol is added for calculating convenience. From Equation (12), it can be observed that the ambient light interferences (I amb ) are normalized and will not affect later algorithms. Furthermore, considering the blood oxygen saturation levels, the term ε b c b in Equation (12) can be further expanded as in Reference [35] where SpO 2 denotes the blood oxygen saturation levels; ε HbO and ε Hb denote the light absorption coefficients of oxy-hemoglobin and hemoglobin, respectively. Moreover, the light transmission path in blood vessel (s b ) can be viewed as the diameter of the measured vessel. Hence, combining Equations (12) and (13), the radius of the measured vessel can be written as Therefore, substitution of Equation (3) into Equation (9) yields In summary, the five input features for the SVM algorithm, including SBP, DBP, SpO 2 , f HR and PI, are derived by combining the dimensionless analysis and the optical theory of PPG signals.

System Designs
The architecture of the proposed PPG sensor system is shown in Figure 3, which is mainly composed of the sensor probe, the analog front-end readout circuitries, the microcontroller unit (MCU), and the software algorithms in APP or laptop. The photo of the proposed portable PPG sensor, which is only 9 cm × 3.5 cm × 1.5 cm in size, is shown in Figure 4a. Moreover, the sensor probe, the readout circuitries, the control panels, the Bluetooth antenna, the liquid crystal display (LCD) monitor, and the chargeable lithium battery are all implemented on a printed circuit board (PCB), as shown in Figure 4b. Moreover, the photo of the proposed sensor measuring is shown in Figure 4c, where the proposed PPG sensor can be operated by patients themselves without the aids of medical personnel. The detailed design of the hardware circuitries and the software algorithms are described as follows.

Hardware Circuitries Design
The analog readout circuitry of the proposed PPG sensors is composed of a light emitted diode (LED), a programmable LED driver, a photodiode (PD), a transimpedance amplifier (TIA), a low-pass filter (LPF), a programmable gain amplifier (PGA), and an analog-to-digital converter (ADC), as shown in Figure 3. First, at the probe, the LED with 904 nm wavelength is used, of which light may penetrate the typical depth of the AVF, as shown in Figure 5. Second, the TIA circuit is

Hardware Circuitries Design
The analog readout circuitry of the proposed PPG sensors is composed of a light emitted diode (LED), a programmable LED driver, a photodiode (PD), a transimpedance amplifier (TIA), a low-pass filter (LPF), a programmable gain amplifier (PGA), and an analog-to-digital converter (ADC), as shown in Figure 3. First, at the probe, the LED with 904 nm wavelength is used, of which light may penetrate the typical depth of the AVF, as shown in Figure 5. Second, the TIA circuit is

Hardware Circuitries Design
The analog readout circuitry of the proposed PPG sensors is composed of a light emitted diode (LED), a programmable LED driver, a photodiode (PD), a transimpedance amplifier (TIA), a low-pass filter (LPF), a programmable gain amplifier (PGA), and an analog-to-digital converter (ADC), as shown in Figure 3. First, at the probe, the LED with 904 nm wavelength is used, of which light may penetrate the typical depth of the AVF, as shown in Figure 5. Second, the TIA circuit is proposed to transform Sensors 2018, 18, 3854 7 of 18 the current signals from the PD into voltage signals, which are much preferred in discrete circuit applications. Next on, to deal with the ambient light flickers from power lines (50 or 60 Hz), where the frequency is much higher than the heart rate frequency (0.8 to 2 Hz), the LPF with cutoff frequency 10 Hz is designed herein. Moreover, the PGA circuit and the programmable LED driver are designed herein to increase the signal-noise ratio (SNR), as well as to avoid the sensed signals from saturation by controlling the amplitudes of PPG signals to fully use the dynamic range of the ADC. Finally, the converted digital PPG signals from the ADC will be transmitted to the MCU and then transmitted to smart phone APPs or laptops via Bluetooth for further signal processing and assessing algorithms. proposed to transform the current signals from the PD into voltage signals, which are much preferred in discrete circuit applications. Next on, to deal with the ambient light flickers from power lines (50 or 60 Hz), where the frequency is much higher than the heart rate frequency (0.8 to 2 Hz), the LPF with cutoff frequency 10 Hz is designed herein. Moreover, the PGA circuit and the programmable LED driver are designed herein to increase the signal-noise ratio (SNR), as well as to avoid the sensed signals from saturation by controlling the amplitudes of PPG signals to fully use the dynamic range of the ADC. Finally, the converted digital PPG signals from the ADC will be transmitted to the MCU and then transmitted to smart phone APPs or laptops via Bluetooth for further signal processing and assessing algorithms.

Digital Signal Processing
To deal with PPG signal anomalies, four digital signal processing algorithms are designed herein, including the saturation detection, the outlier fixing, the finite impulse response (FIR) filter, and the power spectrum density (PSD) evaluation, as shown in Figure 6. First, the signal saturations are detected to avoid failure in extracting the features from PPG signals. The programmable LED light intensity driver and the PGA in the readout circuitries are designed to deal with signal saturations by decreasing the signal amplitude to fit the full dynamic range of ADC, as shown in Figure 7. Second, the signal outlier fixing process is introduced to fix the pulse noise caused by electrostatics due to constant contact of sensor and skins. The signal outlier points can be detected by observing the slope of PPG signals, and then they can be fixed by using interpolation, as shown in Figure 8. Next, to deal with the low frequency motion artifacts, such as vasomotion (0.8-0.25 Hz), respiration (0.2-0.4 Hz), etc., an FIR bandpass filter with cutoff frequencies 0.82 Hz and 10 Hz is designed to cancel the DC drifting, as shown in Figure 9. Finally, for other non-periodic motion artifacts, such as patients' talking, moving, etc., the PSD evaluation method is introduced herein to provide a quantitative index for describing the quality of PPG signals [6]. It can be seen from Figure 10 that PPG signals are contaminated by motion artifacts with much lower PSD values due to the large white noise induced by the non-periodic motion. Therefore, by evaluating the value of PSD, proper warning messages can be sent to users to reduce the motion artifact noise. In summary, the four signal processing algorithms mentioned above are able to check and fix the signal anomalies in real time and to increase the SNR, as well as to reduce the motion artifacts.

Digital Signal Processing
To deal with PPG signal anomalies, four digital signal processing algorithms are designed herein, including the saturation detection, the outlier fixing, the finite impulse response (FIR) filter, and the power spectrum density (PSD) evaluation, as shown in Figure 6. First, the signal saturations are detected to avoid failure in extracting the features from PPG signals. The programmable LED light intensity driver and the PGA in the readout circuitries are designed to deal with signal saturations by decreasing the signal amplitude to fit the full dynamic range of ADC, as shown in Figure 7. Second, the signal outlier fixing process is introduced to fix the pulse noise caused by electrostatics due to constant contact of sensor and skins. The signal outlier points can be detected by observing the slope of PPG signals, and then they can be fixed by using interpolation, as shown in Figure 8. Next, to deal with the low frequency motion artifacts, such as vasomotion (0.8-0.25 Hz), respiration (0.2-0.4 Hz), etc., an FIR bandpass filter with cutoff frequencies 0.82 Hz and 10 Hz is designed to cancel the DC drifting, as shown in Figure 9. Finally, for other non-periodic motion artifacts, such as patients' talking, moving, etc., the PSD evaluation method is introduced herein to provide a quantitative index for describing the quality of PPG signals [6]. It can be seen from Figure 10 that PPG signals are contaminated by motion artifacts with much lower PSD values due to the large white noise induced by the non-periodic motion. Therefore, by evaluating the value of PSD, proper warning messages can be sent to users to reduce the motion artifact noise. In summary, the four signal processing algorithms mentioned above are able to check and fix the signal anomalies in real time and to increase the SNR, as well as to reduce the motion artifacts.  Figure 6. The flow chart of the digital signal processing in the proposed PPG sensor system. Figure 6. The flow chart of the digital signal processing in the proposed PPG sensor system.

Class-Weighted Support Vector Machine
In this work, a class-weighted SVM classifier ws proposed for assessing the health of AVF. SVM is a popular supervised learning model for data classification. Its basic concept is to construct an optimized hyper-plane from the mapping results of a kernel function to classify the data into different classes [36]. However, a traditional SVM model may sometimes produce sub-optimal results while classifying an imbalanced dataset, which is often the case in bio-medical applications. Therefore, to deal with imbalanced classifications, the class-weighted SVM classifier model was introduced herein, as described in Reference [37], where the objective function is to minimize

Class-Weighted Support Vector Machine
In this work, a class-weighted SVM classifier ws proposed for assessing the health of AVF. SVM is a popular supervised learning model for data classification. Its basic concept is to construct an optimized hyper-plane from the mapping results of a kernel function to classify the data into different classes [36]. However, a traditional SVM model may sometimes produce sub-optimal results while classifying an imbalanced dataset, which is often the case in bio-medical applications. Therefore, to deal with imbalanced classifications, the class-weighted SVM classifier model was introduced herein, as described in Reference [37], where the objective function is to minimize

Class-Weighted Support Vector Machine
In this work, a class-weighted SVM classifier ws proposed for assessing the health of AVF. SVM is a popular supervised learning model for data classification. Its basic concept is to construct an optimized hyper-plane from the mapping results of a kernel function to classify the data into different classes [36]. However, a traditional SVM model may sometimes produce sub-optimal results while classifying an imbalanced dataset, which is often the case in bio-medical applications. Therefore, to deal with imbalanced classifications, the class-weighted SVM classifier model was introduced herein, as described in Reference [37], where the objective function is to minimize where n denotes the number of training samples; α denotes the Lagrange multiplier; x denotes the features vector with the class label y; G denotes the kernel function; α + and α − denote the Lagrange multiplier to positive and negative samples, respectively; C + and C − denote the misclassification costs for positive and negative samples, respectively. Additionally, it is reported that the class-weighted SVM classifier can be optimized by setting the ratio C + / C − to the ratio of the sample size of the two classes [38]. Moreover, from Equation (4), the five input features are determined for the classifier, as listed in Table 1. Note that all features in Table 1. are normalized to values between −1 and 1 before training to avoid weighted errors. Furthermore, since there is neither order information from Equation (4) nor enough statistical knowledge of features from subjects, five different kernel functions are proposed herein, including a radial basis function (RBF) kernel, linear kernel, second-order polynomial, third-order polynomial, and fourth-order polynomial, which are as in Reference [39] where G RBF denotes the RBF kernel; σ denotes the scaling factor of RBF kernel; G Linear denotes the linear kernel; G Poly,d denotes the d-th order polynomial kernel; d is set as 2, 3, and 4 to employ the second-, third-, and fourth-order polynomial kernels, respectively. Note that the orders of the polynomial kernel higher than 4 is not used herein due to heavy computation loading. The values of C + , C − and σ are determined by using the grid search technique via the Matlab Machine Learning Toolbox, aiming at optimizing the accuracy of the SVM classifier. Furthermore, the k-fold cross validation process is introduced herein to validate the performance of classifiers. The steps of the k-fold cross validation process are as Step (1) All subjects are randomly grouped into k non-overlapping subsets.
Step (2) One subset is tested with other k-1 subsets as the training set.
Step (3) Step (2) repeats k times with different subsets as testing.
Step (4) The average accuracy and error can be then calculated.
In this work, k is set to 10.

Experimental Setup
According to the guideline from the National Kidney Foundation [1], BFV at healthy AVF should be at least 600 mL/min for performing HD treatments. Therefore, subjects can be grouped into the positive class (healthy AVF) and the negative class (dysfunctional AVF) by evaluating whether the BFV at AVF is larger than 600 mL/min. Prior to the experiments, the nephrologists label the subjects into the positive and the negative classes based on whether BFV exceeds 600 mL/min by the ultrasound Doppler machine. This labeling by the nephrologists serves as the ground truth for the SVM classifier. In this work, there were a total of 101 ESRD subjects with AVF participating in the experiments, including 73 subjects labeled as positive class and 28 subjects labeled as negative class. Before starting the measurements, all subjects are asked to rest for at least 15 min. During the experiments, subjects were asked to sit still and each of them was measured for 1 minute using the proposed PPG sensor. After that, the SBP and DBP values of each subject were measured by an electronic sphygmomanometer and the SpO 2 value was measured using an oximeter. Moreover, the reproducibility of the proposed PPG sensor was also tested. There were 5 volunteers participating in the reproducibility experiment, including 3 patients with healthy AVF and 2 patients with dysfunctional AVF. Each of them was measured 3 times using the proposed PPG sensors to find out the reproducibility on a single patient.

Experimental Results
The confusion matrices resulting from the classification using five different kernel functions are shown in Figure 11, where TP, FN, FP, and TN denote the ratios of the true-positive, false-negative, false-positive, and true-negative samples, respectively. The optimized costs, scaling factor, and performance of the five classifiers are shown in Table 2. The experimental results of the reproducibility test are shown in Table 3, where the proposed PPG sensors achieve high reproducibility for the SVM classifiers using the RBF kernel and fourth-order polynomial kernel.

Experimental Setup
According to the guideline from the National Kidney Foundation [1], BFV at healthy AVF should be at least 600 mL/min for performing HD treatments. Therefore, subjects can be grouped into the positive class (healthy AVF) and the negative class (dysfunctional AVF) by evaluating whether the BFV at AVF is larger than 600 mL/min. Prior to the experiments, the nephrologists label the subjects into the positive and the negative classes based on whether BFV exceeds 600 mL/min by the ultrasound Doppler machine. This labeling by the nephrologists serves as the ground truth for the SVM classifier. In this work, there were a total of 101 ESRD subjects with AVF participating in the experiments, including 73 subjects labeled as positive class and 28 subjects labeled as negative class. Before starting the measurements, all subjects are asked to rest for at least 15 min. During the experiments, subjects were asked to sit still and each of them was measured for 1 minute using the proposed PPG sensor. After that, the SBP and DBP values of each subject were measured by an electronic sphygmomanometer and the SpO2 value was measured using an oximeter. Moreover, the reproducibility of the proposed PPG sensor was also tested. There were 5 volunteers participating in the reproducibility experiment, including 3 patients with healthy AVF and 2 patients with dysfunctional AVF. Each of them was measured 3 times using the proposed PPG sensors to find out the reproducibility on a single patient.

Experimental Results
The confusion matrices resulting from the classification using five different kernel functions are shown in Figure 11, where TP, FN, FP, and TN denote the ratios of the true-positive, false-negative, false-positive, and true-negative samples, respectively. The optimized costs, scaling factor, and performance of the five classifiers are shown in Table 2. The experimental results of the reproducibility test are shown in Table 3, where the proposed PPG sensors achieve high reproducibility for the SVM classifiers using the RBF kernel and fourth-order polynomial kernel.   The ratio of C + / C − is set to the ratio of positive samples and negative samples.  The ratio of C + / C − is set to the ratio of positive samples and negative samples.

Discussion
Based on the experimental results in Table 2, the SVM classifier with RBF kernel achieves higher accuracy and lower error as compared to others. In many similar researches about SVM classification on bio-medical applications [40][41][42], the classifier with the RBF kernel often renders better results as opposed to the others with linear and polynomial kernels. The reason is that the features' space induced by RBF is in an infinite dimension, whilst the others by linear or polynomial kernels are kept as in the original dimension [43]. However, despite the good results, the computation loadings of RBF kernels may increase significantly while training a large database. Moreover, the SVM classifier using RBF kernel is more likely to encounter over-fitting issues [44]. Therefore, the linear kernel, polynomial kernel, and other custom-made kernels are much preferred for linear separable data. Although the criterion of choosing a proper kernel function without any prior knowledge of the samples is still a data-dependent problem, it is believed that better results can be achieved by combining the kernel function with prior statistical information. Furthermore, physiological information, such as weight, age, gender, etc., can also be considered as input features to improve the classifier performance in future works.
In addition, Table 2 also shows that the accuracy of the classifier using the fourth-order polynomial kernel is very close to the RBF kernel's. Therefore, it can be deduced that the order of the five features derived from Equation (4) is possible to be fourth. This deduction is consistent with the known Hagen-Poiseuille Equation, where the flow of incompressible, laminar, steady fluid inside a cylindrical, solid tube is proportional to the fourth order of vessel radius, which is also proportional to PI based on Equation (3). More future works can be conducted on related topics about extracting other features for improving classifiers, and about determining the exact function for assessing AVF by combining numerical analysis and fluid mechanics simulation.
A comparison table between the current study and other previous research is shown in Table 4, where the proposed PPG sensor renders high accuracy and a low type II error with an adequate number of subjects. Table 4 also shows that though the bilateral PPG sensors using neural networks [5] claimed the highest accuracy, the sensors' sizes are too large to turn into a portable device. Moreover, the prior research of the authors [6] using a single PPG sensor with the neural network algorithms reveals an extremely high type II error, which may lead to delayed treatments in clinical practice. As for the researches presented in References [2,3], though acoustic sensors using stethoscope auscultation show promising results, the long tubes of the stethoscope sensors are inferior to a PPG sensor for device portability. However, it is possible that a sensor fusion system combining both optical PPG sensors and acoustic stethoscope sensors can be developed in the future to provide ESRD patients a more accurate and reliable solution to AVF assessments. There are still some limitations in the proposed PPG sensors, but these can be improved in future works. First, though the proposed PPG sensor can be operated by the users themselves easily without the aid of medical personnel, it is still inferior to other handheld-free devices [2,3,5]. Moreover, despite many signal processing algorithms designed in the system, serious motion artifacts and ambient light interferences may still lead to failure in assessment. Therefore, to overcome the issues of motion artifacts and ambient light interferences, as well as to achieve handheld-free operation of devices, new wearable patch-type PPG sensors for assessing health of AVF are currently under development by the authors' group, which is supposed to be more prospective then portable-type PPG sensors. The flexible patch-type PPG sensor can be attached tightly to a patients' skin to work against the ambient light interferences and motion artifacts. These patch-type PPG sensors are expected to be publicized in the near future.

Conclusions
In this work, a portable and wireless PPG sensor system for assessing AVF quality using a class-weighted SVM classifier was proposed, aiming at providing a small-sized and inexpensive sesnor module, as opposed to conventional bulky and expensive Doppler machines. Towards the development of the sensor, the readout circuitries and digital signal processing algorithms were designed to increase the SNR of PPG signals. With the sensor module developed, the class-weighted SVM classifiers were used to assess AVF quality. The assessment results were provided to doctors for diagonosis and detemining ensuing proper treatments. Finally, the experimental results by the proposed PPG sensor with a class-weighted SVM classifier using RBF kernel achieved successfully high accuracy (89.11%) and a low type II error (9.59%).