This tag contains 2 private blog which isn't listed here.

Poor sleep quality due to sleep deprivation or fragmentation

Poor sleep quality due to sleep deprivation or fragmentation

Everyone experienced or will experience sleep problems at some point in their lives.

Poor sleep quality due to sleep deprivation or fragmentation may be the main cause for symptoms like reduced vigilance, memory deficits, fatigue and difficulty in maintaining equilibrium. Untreated sleep disorders have been linked to hypertension, heart disease, stroke, depression, diabetes and other chronic diseases.

According to the American Academy of Sleep Medicine, there are over 80 known sleep disorders so far, which can take many forms and can involve too little sleep, too much sleep or inadequate quality of sleep.

Currently, the gold standard in terms of sleep disorder diagnosis is overnight polysomnography (PSG). The main disadvantages with PSG are the high monitoring costs per patient, the scarcity of beds available and the uncertainty of whether the results are representative of a normal nights’ sleep. These are the main reasons why low-cost home diagnostic systems are likely to be advantageous. They aim is to reach a larger population by reducing the number of parameters recorded.

There are many monitoring modalities that have been explored for home sleep diagnostic systems which are based on analysis of EEG, ECG, body movement, oxyhemoglobin saturation level, blood pressure, respiration, temperature, audio and video recordings. Most of the times, the proposed systems combine two or more of this monitoring modalities to achieve better accuracy.

Monitoring devices designed as patches(e.g. Metria, ePatch) and textile technology(mainly by use of conductive fibers) were proposed as innovative tools for the development of comfortable devices for monitoring a variety of vital signs like ECG, bioimpedance, skin resistance, respiratory frequency.

Telemedicine is also a fresh field which raises a lot of interest in the scientific community because it promises to overcome the disadvantages of home monitoring systems( data loss mainly) and keep the advantages of in-lab monitoring(complete accurate sleep study). Telemedicine uses grid technology for analysis and recording.


The Master Thesis is tutored by Prof. Dr. Ralf Seepold (HTWG Konstanz - Germany, UC-Lab). The thesis is executed during an ERASMUS+ stay at HTWG Konstanz, Ubiquitous Computing Laboratory (UC-Lab).


Continue reading
Rate this blog entry:
2478 Hits 0 Comments

Let's get acquainted

Let's get acquainted

Hi everyone!

This is my first post in the UC-Lab Blog and first of all we have to present ourselves. We are part of the Department of Computer Science (Ubiquitous Computing) at the University of Applied Sciences Hochschule Konstanz (HTWG) in Germany. Here our location in Google maps: .

Our research fields are mobile sensors, intelligent environments and several other topics. We work on different projects but we always try to create innovative concepts that can be useful for the society.

Our international team consists of researchers and students ( and the professor. To present everyone shortly, Dr. Prof. Seepold is the mastermind of the team, Patrick is our Android guru, Oana is an exchange student from the mysterious Romania, Mario is our secret agent who was sent to Seville as a Bachelor exchange student to provide us with the latest developments of Spanish science. My name is Daniel and I stress people to research biological sensors.

Why do we write a blog? It’s pretty simple: we are extremely excited about what we are doing and we want to share the knowledge and the experience that we get while working on our projects. We are planning to post at least once a week (most probably every Monday). Of course, we will try not to be boring ;).

A little teaser: in the next post we are going to write about the Intel Galileo gen 2. As a small preview we are going to share already now the first version of some 3D models for Intel Galileo gen 2 case.

P.S. While printing the cases please don't forget to turn them so that they fit your 3D printer


Continue reading
Rate this blog entry:
1737 Hits 0 Comments

ECG monitoring and sleep disorders

ECG monitoring and sleep disorders

The gold standard for sleep monitoring and sleep disorders evaluation is PSG (Polysomnography). In this technique, the patient sleeps in a laboratory while his physiologic parameters are measured.

There is a rich diversity of PSG systems available, classified by AASM(American Academy  of Sleep Medicine) in two levels: level 1 for the standard PSG and level 2 for portable PSG.

For a sleep study both levels must accommodate the minimum of seven channels:

  • EEG(Electroencephalogram): to determine arousals from brain activity;
  • EOG(Electroculogram): to detect REM sleep;
  • EMG(Electromyography) submentonian: to look for limb movements that cause arousals;
  • ECG(Electrocardiogram): for heart rate calculation
  • ChestWall monitors: to document respiratory movements;
  • Thermistor and/or nasal cannula: to nasal and oral airflow measurements;
  • Oximetry: to measure oxyhemoglobin saturation(SpO2).

In terms of PSG home sleep testing, there are some solutions in the market. Somté PSG [1]implements a fully PSG home sleep testing. It has twenty five available channels and a software for data analysis.

Although offers a complete sleep study, such modality is not comfortable and is invasive for person in study as well as expensive, time-consuming and complex.

 Recent studies have shown that heart rate alone has the potential to be a reliable mean for identifying sleep stages and diagnosing some sleep disorders. For example, it is a known fact that episodes of OSA are accompanied by a characteristic HR pattern consisting of bradycardia during apnea followed by abrupt tachycardia on its cessation [2], which can be used to detect OSA. 

The electrocardiogram or ECG is a major diagnostic tool for the assessment of the health of the heart. It is a measurement taken at the surface of the skin which reflects the electrical phenomena in the heart when the SA (sinoatrial) node triggers the electrical sequence that controls heart action.


Figure 1- Schematic representation of normal ECG


Normal heart beat consist of a P wave, a QRS complex and a T wave, Figure 1.

The P wave is the electrical signature of the current that causes atrial depolarization.

The QRS complex corresponds to the current that causes contraction of the left and right ventricles. This contraction is much more forceful than that of the atria and involves more muscle mass, thus the resulted ECG deflection is greater.

The T wave represents the re-polarization of the ventricles.

ECG signal is governed by autonomous nervous system. This is the reason why the ECG signal is well correlated with breathing [3] and can be source of the correlation with the different sleep stages [4] [5].

There are many methods for the processing of ECG signal. The four most documented methods are  Heart Rate Variability (HRV) , Detrended Fluctuation Analysis (DFA) , Progressive Detrended Fluctuation Analysis (PDFA), Heart Rate Morphology ,Multi-scale Entropy Analysis, Information-Based Similarity.

There are some few difficulties in processing of the ECG signal which are imposed by its biological origin : Heart rate has many individual components and is driven by competitive forces (sympathetic and parasympathetic) and more over there are more of regulation mechanisms. This causes the creation of complex fluctuations. These fluctuations are not simply the result of responses on external factors, but they are persistent during physical load, rest and sleep. This non-stationarity is common for stochastic processes and therefore imposes that similar methods of processing may be used.

Recent studies have shown that HRV has the best results in the sleep disorders field.

HR(heart rate) can be derived directly from the ECG, or indirectly from other physiological waveforms, such as the PPG signal [6]. Analysis both in time domain and frequency domain are possible.

In a study from 2006 [7], HR variation was used to estimate REM and N-REM sleep durations, given that HR variation is well correlated with the sleep cycle [8] . A concordance of 88.8% was obtained for the estimated REM Sleep compared to actual REM sleep detected with EEG, EOG and EMG.

HRV(heart rate variability) is a black box with HR as the output. A study from 2011 [9], reviewed the ways in which HRV can be applied to understand autonomic changes during different sleep stages.It has also been applied to understand the effect of sleep-disordered breathing, periodic limb movements and insomnia both during sleep and during the daytime. HRV has been successfully used to screen people for possible referral to a Sleep Lab. It has also been used to monitor the effects of continuous positive airway pressure (CPAP).

A novel HRV measure, cardiopulmonary coupling (CPC) has been proposed for sleep quality. Evidence also suggests that HRV collected during a PSG can be used in risk stratification models, at least for older adults. Caveats for accurate interpretation of HRV are also presented. Conclusions of the study [9] clearly demonstrate the relevance of HRV analysis to clinical sleep medicine. At the same time, it states that clinical applications of HRV to sleep are still in their infancy.

Another study from 2008 [10] described an analysis algorithm of the ECG signal that is capable of diagnosing SBD by detecting episodes using CVHR(cyclic variations in heart rate). Applying the algorithm to 35 polysomnographic recordings provided by MIT Apnea Database the authors achieved a diagnostic accuracy of 77%.Using the ECG signal for detecting episodes of sleep disordered breathing seems reasonable as this events are known to be associated with autonomic reactions such as increases in blood pressure or frequent CVHR [11], but further improvements on the algorithm are needed.

The analysis of dynamic changes in ECG morphology using sophisticated algorithms enables the derivation of respiration from the ECG by tracking the amplitudes of the prominent R-wave. The derived respiratory curve is called ECG-derived respiration and correlates reasonably well with respiratory effort based on inductance plethysmography.

The combination of EDR(ECG-derived respiration) and sleep apnea related HRV has the potential to be a good and reliable detection tool for sleep apnea, but high-quality,empirical evidence on this subject is so far lacking [12].



"COMPUMEDICS," 2014. [Online]. Available:


C. Guilleminault, R. Winkle, S. Connolly, K. Melvin and A. Tilkian, "Cyclical variation of the heart rate in sleep apnoea syndrome: mechanisms, and usefulness of 24 h electrocardiography as a screening technique," 1984.


S. R. Heinrich, F. Becker, S. Havlin, A. Bunde, J. W. Kantelhardt and T. Penzel, "Breathing during REM and NREM sleep: correlated versus uncorrelated behaviour," 2003.


J. W. Kantelhard, T. Penzel, J. Hermann, J.-H. Peter, A. Bunde, S. Havlin and K. Voigt, "Correlated and uncorrelated regions in heartrate fluctuations during sleep," 2000.


H. Becker, J. Peter, A. Bunde, T. Penzel and J. Kantelhard, "Detrended fluctuation analysis and spectral analysis of heart rate variability for sleep stage and sleep apnea identification," 2003.


J. Allen, "Photoplethysmography and its application in clinical physiological measurement," 2007.


M. Yaso, S. T. A. Nuruki and K. Yunokuchi, "Detection of REM sleep by heart rate," 2006.


M. Koki, M. Yaso, S. Tsujimura and K. Yunokuch, "Detection of the period of the REM sleep using HR in real time," 2005.


P. K. Stein and Y. Pu, "Heart rate variability, sleep and sleep disorders," 2011.


S. Canisius, T. Ploch, V. Gross, A. Jerrentrup, T. Penzel and K. Kesper, "Detection of Sleep Disordered Breathing by automated ECG analysis," 2008.


J. H. Peter, U. Koehler, L. Grote and T. Podszus, "Manifestations and consequences of obstructive sleep apnoea," 1995.


N. Collop, S. Tracy and V. Kapur, "Obstructive sleep apnea devices for out-of-center (OOC) testing: technology evaluation," 2008.

Continue reading
Rate this blog entry:
4635 Hits 0 Comments

Autonomous Prototype Model Car

Autonomous Prototype Model Car

(*) Blog image taken from

Researcher for project : Afshin KHALGHDOOST 

Study degree : BSc from school of engineering Polytechnique Paris-UPMC; Current student for Master degree in this school

Today, we can observe that we are surrounded by machines and each of them is destined to assure a need of our society. Each of them exists in different sizes from an airplane to a mobile phone. We have always understood that these machines have been created by passing a complicated engineering process. It is true that sometimes many of them are manufactured by validating a long chain of reflection, high technology conception, design, tests and etc. This concerns particularly cars which became an essential element for our society and a part of our life depends on these machines. As regards cars uses, they enable people to move from a point to another point and they also provide several advantages such as saving money, energy, time.
Meanwhile, as the technology has been improved over the time, these machines have been equipped with advanced sensors, Global Positioning System (GPS), motors and electronic components for a better control and comfort for driver and its passengers. Many industrial project are currently running for this kind of new generation machine like for example Google project named “Google Self-Driving Car “ which consist of using cameras , radars , GPS receiver and sensors for an auto control. Other companies have also launched similar projects for example Mercedes, Jaguar and etc. It has always been an opened question to ask if these machines are technically very complicated to be modeled in small size like a toy or not? To answer this question, our laboratory is engaged to create an electronic Autonomous Prototype Model Car (APMC) which can be not only controlled by a regular game controller but also drive on autonomous way and can reach the destination by avoiding obstacles.

In this project, we will work on this electronic car which can be controlled in different ways. There are 2 important ways of communication for the APMC.

The first way is based on Bluetooth communication between the APMC and a game controller. This type of communication concerns short range activity. Control orders come from the controller wirelessly and the APMC detect immediately orders and behave exactly as it is asked by user.

The second way of communication is based on Global System for Mobile Communications (GSM). This type of communication will be used for long range control. User controls by distance that APMC. Orders arrive via GSM from user to the APMC and after machine will interpreter the information and execute the order.

How must APMC work?

There is a main board in this APMC which is considered as the heart of the project. This card constitute an important point to manage data. It allows the APMC to move by controlling directly direction and speed of wheels. This is the storage center of information. It checks instantaneously the position of the car and can after provides these information to other devices which are located in ray of recognition and are connected to the APMC. As it was explained above, there are two forms of communication for this APMC. The first way based on Bluetooth functionalities, receiving information coming from game controller. User is the person who choses the next near position of the car by moving simply the multidirectional buttons. He can also control the speed via different touches.
These information are transited via Bluetooth and are translated according to a protocol in the main board. After the interpretation of data, an order will be sent to the concerned component. This type of communication is in one-direction because information arrive only from game controller and there is not any information in return. In the second way of communication, user sends via GSM coordinates of a position to the APMC. Once the information is received by the main board, it calculates new routes and only the shortest path to the destination. After it starts its route and communicate its current coordinates position via GSM to the user. Information is transited in both directions.

Constraints on automatic function

The APMC must be able to reach the destination by avoiding any obstacles on its route. For this goal, sensors will be installed on the APMC. Use of digital sensors may prevent the main board from using the CAN component. Other factors such as wind, rain and … should be take into account for functional work of this APMC. It must continue its route and any external factor cannot cause the overthrow of that. If a problem occurs during operation phase of the APMC, a warning message will be sent to user giving the current position with an emergency status.


Which technologies for this project?

For the main board: Intel Edison with kit for Arduino (Bluetooth integrated)


Digital sensors :
Undefined  (possible : VISHAY  TSOP75236TT  IR SENSOR IC 36KHZ) –> FARNELL.COM



GPS module :


GSM module:



  1. STEP 1
    ☒Preparation and understanding of INTEL EDISON
    ☒Connect game controller to the Main Board via Bluetooth
    ☐Handling motors and controlling speed and direction of wheels by game controller
    ☐Preparation of algorithms, protocols and assembly phase
    ☐Test and verification phase
  2. Step 2
    ☐2.1 Preparation and understanding of the concept
    ☐Connect GPS and GSM to the Main Board
    ☐Handling motors and controlling speed and direction of wheels by game controller
    ☐Preparation of algorithms, protocols and assembly phase
    ☐Test and verification phase


1.1 [ from 1 June to 7 June ]

1.2 [ from 7 June to 14 June ]

1.3 [ from 14 June to 21 June ]

1.4 [ from 21 June to 25 June ]

1.5 [ from 25 June to 30 June ]

2.1 [ from 1 July to 4 July ]

2.2 [ from 4 July to 6 July ]

2.3 [ from 6 July to 10 July ]

2.4 [ from 10 July to 20 July ]

2.5 [ from 20 July to 28 July ] 




Continue reading
Rate this blog entry:
5006 Hits 0 Comments