1 Introduction

Recently, signal detection has become extensively important as they are used to assess the health of the lungs, heart and other parts of body under observation. Besides that, non-invasive methods using PPG signals have also gained significant attention by researchers.

The HRV analysis gives significant information on ANS’s regulating function and balance status. HRV can be assessed in two ways, either as a time domain analysis or in the frequency domain as a PSD analysis. HRV is traditionally determined by digital processing of electrocardiograms (ECG). The R-wave peaks of QRS complexes in ECGs are detected by computer algorithms and R–R intervals (RRI) are calculated. Then, HRV parameters are computed using time domain and frequency domain methods [6].

However, the traditional measurement of ECG has several limitations: (1) ECG instruments generally require three electrodes attached to specific anatomical positions, which limit the subjects activities and make them uncomfortable; (2) the electrodes may cause skin irritations for some special subjects with allergies; (3) the ECG instruments are usually operated by specially trained nurses in the hospital and are not suitable for daily use at home. Therefore, new technologies have been developed to measure HRV without ECG, such as PPG [22].

In this paper, the green LED reflective PPG sensor is utilized to capture physiological signals. The main objective of our experiment is to understand various PPG signals in physiological state. Therefore, test status is divided into two parts: (1) static mode and (2) exercise mode.

In order to collect the signals, we adopt the short-term measurement in 5 min. In short, the main contributions of this paper are listed as follow: (1) We conduct the extensive experiment to capture the PPG signal from author only during static and exercise modes; (2) Before HRV analysis, normalized and smoothing process signals by using LabVIEW; (3) In time domain analysis, the 5 min length of HRV signal is divided into five groups, each 1 min for each group. Then, we calculated the heartbeat, SDNN, NN50, pNN50, nLF, nHF and LF/HF for each minute; (4) By using STFT in frequency domain analysis to observe the relative intensity of each band generated varies with time in time–frequency analysis diagram; (5) Using the concept of STFT which took time to cut a few part of signals, then the Fourier transform for each segment. We can get LF and HF values by PSD; (6) According to the static and exercise modes time and frequency domain results, we verify the measurement is stationary by favoring the autocorrelation coefficient and random procedure.

We adopted Pulse Sensor to observe physiological signals. So, the input is PPG signal. We investigated PPG signal for HRV using different physiological conditions. The rest of this paper has the following organization. Section 2 discusses related research on the Sect. 3 problem. Section 3 describes how to analysis PPG signal in time domain and frequency domain, introduced in this paper used STFT and person correlation coefficient. We showed experimental results in time domain and frequency domain and used correlation coefficient to analysis signals in Sect. 4. Section 5 discusses the conclusions and future work are mentioned for the progressing description.

2 Background Overview

2.1 Photoplethysmography

PPG are commonly worn on the fingertip. The purpose of using PPG is obtained PPI, and analysis time domain and frequency domain. PPG is the electro-optic technique of measuring the cardiovascular pulse wave found in the human body. With every pulse the blood vessels increase in thickness and the body absorb more light, as the light have to travel through more tissue. The change in blood volume is synchronous to the heart beat, so it can be used to detect heart rate. Photoplethysmography is just a means of plethysmography that utilizes optical techniques.

The PPG measurement is entirely non-invasive and can be applied to any blood bearing tissue. In this paper, through light reflection measurement to measure PPG heartbeat is shown in the Fig. 1 [12].

Fig. 1
figure 1

Schematic picture of reflection PPG [12]

The PPG signals are commonly used in medical diagnosis to obtain vital physiological information. PPG signals are recorded and analyzed by PPG sensor to provide heart rate measurements. We can see the body’s physiological data from the waveform of the PPG.

Optical sensors consist of a light source, typically a light-emitting diode, and a photodetector element. The light source is used to illuminate a region of tissue and the photodetector measures the amount of light exiting the tissue at a different location.

PPG signal composed by the two parts: (1) systolic, (2) diastolic. When the heart contraction, the pressure within the blood vessels, the blood volume of the generation period will continuously changed. If the heart diastolic pressure is relatively small, then the output of the previous systole blood circulation generated the impact of heart valve reflexed phenomenon, as shown in Fig. 2 [3, 4]. Thus, a complete PPG waveform includes the combination effects of systole pressure in the vessel wall. In addition, PPG will also be affected by the autonomic nervous system and the vascular status.

Fig. 2
figure 2

PPG signal waveform diagram [3, 4]

Currently, the most commonly used method is the optical detection. We use vascular caliber changes, reflecting the projected light, then through these angles to calculate continuous variation waveform vascular diameter. Detection principle of reflective optical sensors is shown in Fig. 3 [3, 4]. The LED light penetrate source into the skin, the light travel through the biological tissue, then the signal received by the photo detector. It used for measuring physiological signals to achieve the goal of non-invasive measurement. Optical measurement also can avoid signal interference of human potential and external signal to improve the accuracy of measurement. Therefore, light detection principle considerable number of applications in biomedical measurement.

Fig. 3
figure 3

Reflective optical sensor [2, 3]

The reflective PPG sensors have different light sources. The green LED is mainly used for sensing the heartbeat. The red and infrared LED light sources are used different light sources penetration intensities to compare, and calculate the oxygen concentration. Skin tissue and fat have a good absorption coefficient in green wavelength. Therefore, green light is more clearly observe heartbeat caused by the light intensity attenuation. We adopted the Pulse Sensor created by Joel Murphy and Yury Gitmanvanme as the heart rate sensor in this paper.

In Fig. 4, it is used to measure the pulse of the heart rate reflective photoelectric sensor. The Pulse Sensor uses PPG technology to generate the heartbeat signal. The small dimension and rounded shape of the Pulse Sensor makes it easy for capturing the heart rate signal from subject s’ fingers. Moreover, Pulse Sensor is relatively energy efficient, using 3–5 V with current consumption around 4 mA at 5 V.

Fig. 4
figure 4

Appearance of the pulse senor

In Fig. 5, this sensor uses a green LED from Kingbright (AM2520ZGC09) to illuminate the subject’s fingertip, and a light photo sensor from Avago (APDS-9008) measures the amount of light reflected back from the fingertips [5].

Fig. 5
figure 5

Block diagram of the pulse senor

By using the datasheet of AM2520ZGC09 [9] and APDS-9008 [10], the green LED generates light around 500 nm. The light sensor is extremely sensitive to detect light of the same wavelength. Moreover, the light producer and sensor are perfectly matched, allowing them to work together to effectively measure heart beat waveforms. Because of the green wavelength of 500 nm, it is not possible to use this sensor for measuring blood oxygen concentration.

It use a low-pass filter and MCP6001 [11] amplifiers in the back of the sensor, the amplified signal 330 times. Therefore, amplified signal can be easily collected.

In this paper, we used Pulse Sensor to collect subject’s physiological data, and then calculate the subject’s physiological state through LabVIEW.

2.2 Blood Pressure (BP)

BP is the pressure exerted by circulating blood upon the walls of blood vessels, and is one of the principal vital signs. Blood pressure usually refers to the arterial pressure of the systemic circulation. During each heartbeat, blood pressure varies between a maximum (systolic) and a minimum (diastolic) pressure. The blood pressure in the circulation is principally due to the pumping action of the heart. A normal blood pressure should be around 120/80 to be accounted for as a safe level, with 120 being measured through systole, and 80 through diastole [6].

In modern medicine, different physiological parameters have been widely used in the prevention of various diseases, as well as the initial detection of disease, wherein the blood pressure parameters used to evaluate the probability of the cardiovascular disease occur.

The Mean Arterial Pressure (MAP) is derived from a patient’s Systolic Blood Pressure (SBP) and Diastolic Blood Pressure (DBP). According to DBP, SBP and MAP, the blood pressure can be a basis to diagnosis health of patient. The detail of DBP and SBP is shown in Table 1 [25]. The MAP should be calculated when the clinical scenario mandates a blood pressure adjustment based on MAP rather than SBP, as well as for the management of patients with acute conditions, where there is a concern for appropriate organ perfusion. The relativity between blood pressure and heart as described follows:

Table 1 Features of systolic and diastolic [25]
$$MAP = DBP + \frac{1}{3} \times \left( {SBP - DBP} \right)$$
(2.1)

Blood pressure is measured in millimeters of mercury (mm Hg). The higher number indicates systolic blood pressure. The lower number is diastolic blood pressure.

In Fig. 6 [23], the diastolic pressure is the relaxation of the chambers of the heart whereas systole is the contraction of the heart chambers. Therefore, the systolic pressure will show the pressure that your heart emits when blood is forced out of the heart, while diastolic pressure is the pressure exerted when the heart is relaxed. This is the main mechanism by which blood pressure operates [7].

Fig. 6
figure 6

Systolic and diastolic of heart activity [23]

American Heart Association (AHA) defined BP as 120/80 and (90–119)/(60–79) for the ideal blood pressure. The 115/75 is the best blood pressure. Currently, the high, low and normal blood pressure ranges are shown in Table 2 [8]. Table 3 [18] is a reference for you regarding the normal blood pressure level for 1–64 years old elderly. Different gender and age shows different ranges. Most people are not living in the ideal of healthy lifestyle and life continue to rise in blood pressure.

Table 2 Range of systolic and diastolic [8]
Table 3 Features of SBP and DBP [18]

2.3 Heart Rate Variability

HRV has emerged as multidisciplinary areas of research mainly due to continuous interactions between engineers, physicians and physiologists [17]. The parameter of HRV is important physiological information. In this paper, the HRV is an important basis of analysis in the PPI.

The HRV analysis gives significant information on Autonomic Nervous System (ANS)’s regulating function and balance status. The variation of heart rate during short term is analyzed with the method of time domain and frequency domain to provide the degree of balance and activity of ANS.

Heart rate variability, or HRV for short, is the degree of fluctuation in the length of the intervals between heartbeats [16]. The physiological origins of HRV are the fluctuations of the activity of cardiovascular vasoconstriction and vasodilation centers in brain. Normally, these fluctuations are a result of blood pressure oscillation, respiration, thermoregulation and circadian biorhythm.

As shown in Fig. 7, R–R intervals (RRI) or P–P intervals (PPI) can influence the length of beat-to-beat intervals and are measured in millisecond (ms). R–R intervals or P–P intervals are obtained from ECG or plethysmography [19]. The analysis method includes time domain analysis and frequency domain analysis, as shown in Fig. 8.

Fig. 7
figure 7

HRV standard of each band [19]

Fig. 8
figure 8

Time–frequency domain analysis

HRV can be assessed in two ways, either as a time domain analysis or in the frequency domain as a Power Spectral Density (PSD) analysis. In either method, the time intervals between each successive normal P–P interval (PPI) are first determined. The most important time domain measures are the SDNN, SDNN Index and the R-MSSD. The item of time domain is shown in Table 4 [2, 15].

Table 4 Time domain analysis of HRV [2, 15]

HRV measurements differentiate 24 h long-term recordings and short-term 5 min recordings by statistical variables analysis. The frequency domain is suitable for short-term analysis. HRV was measured with the power spectral analysis by Hyndman and Gregory in 1975. In the frequency domain HRV measurement are based on the PSD of the R–R interval or P–P interval calculated. The PSD is analyzed by calculating power and peak frequency for different frequency bands. [23].

The commonly used frequency (VLF, 0.003–0.04 Hz), low frequency (LF, 0.04–0.1 Hz), high frequency (HF, 0.15–0.4 Hz), include value of LF/HF, and total power (TP). The standard of each band is shown in Fig. 9 [15]. The power of LF and HF order control and balance of sympathetic and parasympathetic to normalize, which is relative value with assessment of the LF and HF power to total power. The item of frequency domain analysis is shown in Table 5 [2].

Fig. 9
figure 9

HRV standard of each band [15]

Table 5 Frequency domain analysis of HRV [2]

3 Methodology

We explained how to measure and analyze subject’s data in the time domain and frequency domain. We utilized Pulse Sensor display in Fig. 10 to measure PPI of PPG signals. In the experiment, six subjects were recorded during 5 min in static and dynamic conditions.

Fig. 10
figure 10

Pulse sensor

By utilizing USB-6009 developed by National Instruments to measure Pulse Sensor’s output signal as shown in Fig. 11. We adopt USB-6009 to measure PPG signal in differential input mode, and set the sample rate is 100 Hz shown as Fig. 12.

Fig. 11
figure 11

Pulse sensor plugged into USB-6009

Fig. 12
figure 12

Sample rate setting

And then, we analyzed signals which recorded 5 min through LabVIEW. The procedure of HRV analysis is shown as Fig. 13. The HRV is calculated by PPI and heart rate. The main analysis of heartrate is normal heart beat research.

Fig. 13
figure 13

HRV analysis step

3.1 Time–Frequency Domain Measurement and Analysis

Figure 14 shows the raw data for 5 min which recorded by Pulse Sensor. By favoring LabVIEW, we process those data. Figure 15 shows flow diagram of the signals analysis. In the section, we explained how to analyze signals in time domain and frequency domain.

Fig. 14
figure 14

The output signal from pulse sensor

Fig. 15
figure 15

Flow diagram of the signals analysis

In order to do signal processing in LabVIEW, we first normalized the raw data from Pulse Sensor. The normalized signal is shown in Fig. 16.

Fig. 16
figure 16

Normalization signal

The second step is signal smoothing. In this paper, we demonstrated the smoothing process: (1) before and (2) after. The objective of signal smoothing is to reduce the impact of noise in HRV measurement. In Fig. 17, we can show the signal before smoothing. Figure 18 displays the signal after smoothing process.

Fig. 17
figure 17

Signal before smoothing

Fig. 18
figure 18

Signal after smoothing

In third step, we could find heart rate and the parameters of heart rate variability in time domain. Furthermore, there are two ways to calculate heartbeats; one is to be calculated by (3.1).

$$Heart\,rate = \frac{1}{PPI}\times 60 \left( {\text{bpm}} \right)$$
(3.1)

The other method is to find the waveform produced in 1 min, and then calculate the peaks of each waveform shown as Fig. 19.

Fig. 19
figure 19

Peak detection and calculate heart beats

The 5 min length signal is divided into five groups, 1 min for each group. Then, the heart beats calculate for each minute as shown in Fig. 20.

Fig. 20
figure 20

Calculate heart beats in each minute

Clinically, SDNN is the most commonly used to make recommendations heart rate variability index in time domain analysis. In Kleiger’s paper [24], SDNN can be predicted death after myocardial infarction, is independent of the known risk factors such as left ventricular output rate (LVEF) or ventricular arrhythmia.

In this paper, we used recorded 5 min signals, and LabVIEW to design a high-pass filter. The threshold value for high pass filter should be entered to find P points. Then, we calculate the value of P–P interval through LabVIEW design program. After got the value of P–P interval, we use LabVIEW’s HRV Analysis VI to calculate SDNN as following [20]:

  • Mean PP

$${\text{Mean}} = \frac{{\mathop \sum \nolimits_{{{\text{i}} - 1}}^{\text{n}} {\text{P}}_{\text{i}} }}{\text{n}}$$
(3.2)

where \({\text{P}}_{\text{i}}\) is P–P interval (PPI) in millisecond.

  • SDNN (Standard deviation of normal interval):

The parameter represent heart rate variability of total, because SDNN average same with total power.

$${\text{SDNN}} = \sqrt {\sum\nolimits_{{{\text{i}} - 1}}^{\text{n}} {\frac{1}{\text{n}}\left( {{\text{P}}_{i} - \bar{x}} \right)^{2} } }$$
(3.3)

where \({\bar{\text{x}}}\) is the value of PPI average.

  • RMSSD (The root mean square of successive differences between adjacent NN interval):

RMSSD represent Parasympathetic activity, if RMSSD less than 20 of Parasympathetic Decreased ability to regulate for heart.

$$RMSSD = \sqrt {\sum\nolimits_{i = 2}^{n} {\frac{1}{n - 1}\left( {P_{i} - P_{i - 1} } \right)^{2} } }$$
(3.4)

We want to know PPG waveforms in the frequency domain, so we used short-time Fourier transform (STFT) for analysis. In STFT’s time–frequency analysis diagram, it can be seen that the frequency distribution for each time shown as Fig. 21.

Fig. 21
figure 21

Time versus frequency diagram

We can observe the relative intensity of each band generated varies with time in time–frequency analysis diagram. But, it is difficult to see LF and HF values in time–frequency analysis diagram, so we used a different method to get LF and HF values. The concept of STFT which took time to cut a few part of signals, then the Fourier transform for each segment shown as Fig. 22 [13]. In our experiments’ case, we recorded signal for 5 min, and cut five segments, 1 min for each segment, then used FFT for each segment shown as Fig. 23.

Fig. 22
figure 22

Schematic diagram of STFT [13]

Fig. 23
figure 23

FFT for each minute

We applied FFT for 5 min as shown in Fig. 24. In order to observe different between short time and direct FFT analysis, and the result of 5 min FFT analysis as shown in Fig. 24. Another point of view, STFT has a higher temporal resolution than FFT; it can help us understand the relative intensity of each band generated varies with time.

Fig. 24
figure 24

FFT for 5 min

3.2 Short Time Fourier Transform

In this paper, we used STFT to observe the time and frequency variation in PPG waveforms. For signal or time series analysis, Fourier analysis provides several advantages: a simple way for us, enables us to analyze through Fourier method, and obtaining characteristics of signals, also further understanding of the physical meaning of signals implied.

Fourier analysis is the use of a complex sine wave signal \(e^{i\omega t}\) as the basis function to complete transform; generally this conversion is defined as:

$$F\left( \omega \right) \le f\left( t \right),e^{i\omega t} \ge \int {f\left( t \right)e^{ - i\omega t} dt}$$
(3.5)

It is a linear combination of the signal into a number of fixed frequency harmonic functions; the size of each harmonic function is also representative of a certain frequency of the harmonic function with the energy magnitude, so we get frequency distribution of energy from Fourier analysis.

Because \(e^{i\omega t}\) is an unlimited extension of the basal function on the time axis, so the message at any time-local spread to the whole of the frequency axis, it is difficult to distinguish these messages on \(F\left( \omega \right)\). In order to be able clearly describe the information signal same time in the frequency and time area, STFT is proposed. STFT is a time–frequency representations analytical technique, which is defined as:

$$F\left( {\tau ,\omega } \right) = \int {f\left( t \right)w\left( {t - \tau } \right)e^{ - i\omega t} dt}$$
(3.6)

In which \({\text{w}}\left( \cdot \right)\) is some suitable window function (e.g., Gaussian). The STFT’s basis function is to do different frequency modulation and time shift to produce. But, STFT have a resolution limit problem. Due to the basic functions on each frequency modulation function has a window function which at the same time support width. So, the results the time–frequency resolutions at each position on plane are same, as shown in Fig. 25 [1].

Fig. 25
figure 25

Basic function of STFT in the time–frequency resolution [1]

In addition, according to the uncertainty principle:

$$\Delta t\Delta \omega \ge \frac{1}{2}$$
(3.7)

In which \(\Delta t\) is the base time to support the width; \(\Delta \omega\) is base band width. This theorem prevents the substrate in the frequency or times have any resolution, this means that between the time and frequency have resolution trade-offs exist problems. Use a time to support narrow substrate, an increase of resolution in time, will reduce the frequency resolution. Similarly, it reduces the resolution in time and it increases the frequency resolution.

3.3 Pearson Correlation coefficient

In order to verify whether the value each time correlated, we used the correlation coefficient to analysis. The correlation coefficient between two variables is used to reflect the linear relationship between intensity and direction. The most commonly used is the Pearson product-moment correlation coefficient, which defined as two divided by two variable covariance standard deviation (the square root of the variance). The range of the correlation coefficient is [−1, +1]. The correlation coefficient for the “+1” represents that two groups of variables are perfect positive correlation. Meanwhile, “−1” represents two groups of variables perfect negative correlation. The formula of Pearson product-moment correlation coefficient is as following [14, 21]:

$$Corr = \frac{{\mathop \sum \nolimits_{i = 1}^{N} \left( {X_{i} - \bar{X}} \right)\left( {Y_{i} - \bar{Y}} \right)}}{{\sqrt {\mathop \sum \nolimits_{i = 1}^{N} \left( {X_{i} - \bar{X}} \right)^{2} } \sqrt {\mathop \sum \nolimits_{i = 1}^{N} \left( {Y_{i} - \bar{Y}} \right)^{2} } }}$$
(3.8)

We can see that the degree of correlation values through the Table 6.

Table 6 The absolute value of the correlation coefficient and relevance

4 Experimental Results

4.1 Experimental Results

The main objective of our experiment is to understand differences PPG signals in physiological state. Test status is divided into two parts: (1) static mode (2) exercise mode. Static mode measurements were measured with the most comfortable position as shown Fig. 26. First, subject need to relax 5 min. After relaxing, we capture the PPG for 5 min by means of PPG sensor. The measurement values are store in LabVIEW and use for analysis.

Fig. 26
figure 26

Static mode measurement block diagram

The exercise mode measurements were measured after spinning 5 min shown as Fig. 27.

Fig. 27
figure 27

Exercise mode measurement block diagram

After the test, the signal processing and computing is done through LabVIEW. Finally, the computation of the heartbeat, SDNN, NN50, pNN50, nLF, nHF and LF/HF, and data through Excel for statistical analysis.

4.2 Static Mode Time Domain Analysis Results

The data were recorded 10 times. After signal normalized and smoothed, we used LabVIEW’s HRV Analysis VI to calculate SDNN, NN50 and pNN50. The result for data analysis is shown in the Table 7.

Table 7 Time domain results in static mode

4.3 Static Mode Frequency Domain Analysis Results

The next step is frequency domain analysis. We used two methods for frequency domain analysis of subject in static mode. The first method is directly transformed the whole recorded signal (Fig. 28) to see the frequency distribution. The results are shown in Fig. 29. The second method is FFT analysis for five groups separated recorded signal. Figure 30 shows the frequency distribution of each group. In addition, we also used FFT for comparing the 1 and 5 min length signals Figs. (31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57).

Fig. 28
figure 28

Subject 1 signal in static mode

Fig. 29
figure 29

Subject 1 result in static mode utilizing the STFT method

Fig. 30
figure 30

Subject 1 result in static mode using the FFT method

Fig. 31
figure 31

Subject 2 signal in static mode

Fig. 32
figure 32

Subject 2 result in static mode utilizing the STFT method

Fig. 33
figure 33

Subject 2 result in static mode utilizing the FFT method

Fig. 34
figure 34

Subject 3 signal in static mode

Fig. 35
figure 35

Subject 3 result in static mode utilizing the STFT method

Fig. 36
figure 36

Subject 3 result in static mode utilizing the FFT method

Fig. 37
figure 37

Subject 4 signal in static mode

Fig. 38
figure 38

Subject 4 result in static mode utilizing the STFT method

Fig. 39
figure 39

Subject 4 result in static mode utilizing the FFT method

Fig. 40
figure 40

Subject 5 signal in static mode

Fig. 41
figure 41

Subject 5 result in static mode utilizing the STFT method

Fig. 42
figure 42

Subject 5 result in static mode utilizing the FFT method

Fig. 43
figure 43

Subject 6 signal in static mode

Fig. 44
figure 44

Subject 6 result in static mode utilizing the STFT method

Fig. 45
figure 45

Subject 6 result in static mode utilizing the FFT method

Fig. 46
figure 46

Subject 7 signal in static mode

Fig. 47
figure 47

Subject 7 result in static mode utilizing the STFT method

Fig. 48
figure 48

Subject 7 result in static mode utilizing the FFT method

Fig. 49
figure 49

Subject 8 signal in static mode

Fig. 50
figure 50

Subject 8 result in static mode utilizing the STFT method

Fig. 51
figure 51

Subject 8 result in static mode utilizing the FFT method

Fig. 52
figure 52

Subject 9 signal in static mode

Fig. 53
figure 53

Subject 9 result in static mode utilizing the STFT method

Fig. 54
figure 54

Subject 9 result in static mode utilizing the FFT method

Fig. 55
figure 55

Subject 10 signal in static mode

Fig. 56
figure 56

Subject 10 result in static mode utilizing the STFT method

Fig. 57
figure 57

Subject 10 result in static mode utilizing the FFT method

We recorded ten times data in static mode, using STFT and FFT to analysis and find frequency distribution as LF, HF and LF/HF. Between Figs. 28 and 57 are frequency domain results in static mode. After frequency domain analyzed, we recorded results shown in Tables 8 and 9.

Table 8 Frequency domain results in static mode between subject 1 and subject 5
Table 9 Frequency domain results in static mode between subject 6 and subject 10

Tables 8 and 9 shows the recorded nLF, nHF and LF/HF for static mode. Time period was divided into 5 groups: 0–1, 1–2, 2–3, 3–4, and 4–5. In addition, the data derived from 5 subjects; namely subject 1 to subject 5. Table 9 shows the nLF, nHF and LF/HF values for subject 6 to subject 10. We use Tables 8 and 9 to calculate the correlation coefficient as shown in Table 10. Table 11 shows the results of FFT transform which used the second method. Furthermore, the results show nLF, nHF and LF/HF from 10 subjects of experiment in static case.

Table 10 Subjects to each time period in the static mode analysis of the correlation coefficient
Table 11 frequency domain results in static mode using FFT for 5 min

4.4 Exercise Mode Time Domain Analysis Results

The exercise mode is started by spinning for 5 min, and then sits on chair. While sitting, the data is recorded for 5 min. In exercise mode, the data recorded 10 times (Figs. 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86). The subject is the author himself. The results of time domain analysis for exercise mode are shown Table 12.

Fig. 58
figure 58

Subject 1 signal in exercise mode

Fig. 59
figure 59

Subject 1 result in exercise mode utilizing the STFT method

Fig. 60
figure 60

Subject 1 result in exercise mode utilizing the FFT method

Fig. 61
figure 61

Subject 2 signal in exercise mode

Fig. 62
figure 62

Subject 2 result in exercise mode utilizing the STFT method

Fig. 63
figure 63

Subject 2 result in exercise mode utilizing the FFT method

Fig. 64
figure 64

Subject 3 signal in exercise mode

Fig. 65
figure 65

Subject 3 result in exercise mode utilizing the STFT method

Fig. 66
figure 66

Subject 3 result in exercise mode utilizing the FFT method

Fig. 67
figure 67

Subject 4 signal in exercise mode

Fig. 68
figure 68

Subject 4 result in exercise mode utilizing the STFT method

Fig. 69
figure 69

Subject 4 result in exercise mode utilizing the FFT method

Fig. 70
figure 70

Subject 5 signal in exercise mode

Fig. 71
figure 71

Subject 5 result in exercise mode utilizing the STFT method

Fig. 72
figure 72

Subject 5 result in exercise mode utilizing the FFT method

Fig. 73
figure 73

Subject 6 signal in exercise mode

Fig. 74
figure 74

Subject 6 result in exercise mode utilizing the STFT method

Fig. 75
figure 75

Subject 6 result in exercise mode utilizing the FFT method

Fig. 76
figure 76

Subject 7 signal in exercise mode

Fig. 77
figure 77

Subject 7 result in exercise mode utilizing the STFT method

Fig. 78
figure 78

Subject 7 result in exercise mode utilizing the FFT method

Fig. 79
figure 79

Subject 8 signal in exercise mode

Fig. 80
figure 80

Subject 8 result in exercise mode utilizing the STFT method

Fig. 81
figure 81

Subject 8 result in exercise mode utilizing the FFT method

Fig. 82
figure 82

Subject 9 signal in exercise mode

Fig. 83
figure 83

Subject 9 result in exercise mode utilizing the STFT method

Fig. 84
figure 84

Subject 9 result in exercise mode utilizing the FFT method

Fig. 85
figure 85

Subject 10 signal in exercise mode

Fig. 86
figure 86

Subject 10 result in exercise mode utilizing the STFT method

Table 12 Time domain results in exercise mode

4.5 Exercise Mode Frequency Domain Analysis Results

Between Figs. 58 and 87 are frequency domain results in exercise mode. We recorded the waveform of frequency domain analysis, also recorded results shown in Tables 13 and 14.

Fig. 87
figure 87

Subject 10 result in exercise mode utilizing the FFT method

Table 13 Frequency domain results in exercise mode between subject 1 and subject 5
Table 14 Frequency domain results in exercise mode between Subject 6 and Subject 10

Tables 13 and 14 shows the recorded nLF, nHF and LF/HF for static mode. Time period was divided into 5 groups: 0–1, 1–2, 2–3, 3–4, and 4–5 (Table 15). In addition, the data derived from 5 subjects; namely subject 1 to subject 5. Table 14 shows the nLF, nHF and LF/HF values for subject 6 to subject 10. In Table 16, the FFT is used to transform the 5 min recorded PPG signals. This effort is used to compare each recorded signal.

Table 15 Subjects to each time period in the exercise mode analysis of the correlation coefficient
Table 16 frequency domain results in exercise mode using FFT

4.6 Analysis Results in Static and Exercise Modes

For simply analysis, we collected ten subjects’ raw data in static and exercise mode. The data included mean, SD and coefficient of variation (C.V.) shown as Tables 17 and 18.

Table 17 Mean, SD, and C.V. parameters of raw data in static mode
Table 18 Mean, SD, and C.V. parameters of raw data in exercise mode

5 Conclusions

In this paper, in order to capture physiological signals in static and exercise modes using the green LED reflective PPG are done for ten times. The measuring time is 5 min. The measured data cuts into five segments for time domain and frequency domain analysis through STFT. Then, we find the physiological significance of each representative signal.

According to the experimental results in time domain analysis, the value of SDNN is about 25.95 ms and the average heartbeat is about 91.32 bpm in the static mode. Meanwhile, the value of SDNN is about 20.23 ms. The average heartbeat is about 112.66 bpm in the exercise mode. Moreover, the value of LF/HF in time frequency analysis is about 1.22 in static mode. The value of LF/HF is about 1.29 in the exercise mode. Refer to Tables 17 and 18 for static mode and exercise mode, the raw signals in static mode C.V. is about 24.85%; and for the exercise mode, C.V. is about 28.71%. Those shows that the signals in the exercise mode are vary larger than the static mode.

Furthermore, according to the static and exercise mode frequency domain results per minute correlation coefficient analysis, the correlation coefficient of static mode is about 80%, and the correlation coefficient of exercise mode is about 70%. In the correlation coefficient for 2–3 min with 0–1 min of the exercise mode falls below 0.7, and the reason for the state to exercise condition back to the static condition of measurement, thus, physiological condition stabilized.

In the hardware, PPG equipment is suffered from body shaking during measurement. Since the contact position is not good, the data is inaccurate. In static mode measurement and record signal is easier than in exercise mode; therefore, the combination of green and infrared light reflective PPG in the future, and enhance its stability, practicality, and correlation analysis between \({\text{SpO}}_{2}\) and autonomic nerve system.

In terms of data, due to only take their own experiments results to make inferences, the number of samples is too small. We will increase the number of data samples and different ages in the future, and brought together into big data. We believe the data which in the statistical analysis would be more accurate and reliability also would higher. In the application of future, we can explore emotional management in the case of listening music by this paper method, then through various emotional states, to observer correlation between different physiological states and HRV. And sort out the correlation statistical results, for further analysis.