The invention relates to the technical field of electrocardiogram measurement, in particular to an electrocardiogram measurement method based on ultrasonic signals of an intelligent
loudspeaker box, which comprises the following steps: receiving a plurality of mixed
subcarrier signals with different frequencies; on the basis of the received
signal matrix, constructing and solving a
frequency spectrum function at each sampling moment, and after a
propagation time delay true value of each candidate object
subcarrier signal at each sampling moment on a corresponding target path is obtained, calculating to obtain an enhanced ultrasonic
signal of each candidate object in a preset time period on the basis of a carrier forming technology; determining a target user by adopting a spectrum
amplitude ratio method and ultrasonic signal
phase change; and extracting an ultrasonic
heartbeat signal of each target user in a preset time period by using an adaptive IIR comb notch filter, inputting the ultrasonic
heartbeat signal into the trained electrocardiogram
signal prediction model, and outputting an electrocardiogram
signal prediction value of each target user in the preset time period. The method has the advantages of good monitoring effect on the multi-user ultrasonic
heartbeat signals, high accuracy, high speed and good real-time performance.