Sleep is a fundamental need for human and is associated with the working performance and the disease occurrence. Furthermore, the amount of people with sleep disorder or apnea increased largely. Thus, the analysis of sleep stages and the measurement of sleep quality became more important recently. In clinical settings, the analysis of daily sleep quality depends on actigraphy and sleep log. However, the uses of actigraphy and sleep log are not really convenient for patients. In this trial, the investigators will measure the subjects' ECG signal and movement using a portable ECG device with motion sensor. On the other hand, the sleep stages are also obtained from the current wide-established measurement- polysomnography. The ECG signals, movements, and sleep stages will be analyzed by our algorithm of artificial neural network. Then, the investigators can obtain the preliminary analysis of sleep quality can be obtained by using ECG device with our algorithm. It is helpful for doctors to realize the patent's sleep quality quickly