ECG signals and sleep monitoring parameters complement each other and can be used for qualitative diagnosis of sleep apnea syndrome and cardio-related diseases.However,due to the limitations of the instrument volume and the detection environment,it is often challenging to integrate these two functions in practical applications.In this paper,a 12-lead dynamic electrocardiograph integrated with sleep monitoring is designed.The system's volume is reduced by combining the integrated ECG simulation front end with a miniature sensor.The system achieves the extraction,conditioning,and calculation of 12-lead ECG signals and sleep-related parameters and writes the data to a memory card in real time,which offers convenience for users and doctors in the diagnostic process.