The invention discloses a device and a method for evaluating the stability of a right leg driving loop for electroencephalogram acquisition, and belongs to the technical field of bio-
electricity signal acquisition. The device comprises a
signal triggering device, an injection
signal generating device, a double-path acquisition device, a
data processing unit and a configurable
human body impedance
simulation network. The method comprises the following steps: setting test parameters through an upper computer, and controlling an injection
signal generator to inject a sweep frequency sinusoidal signal to a to-be-tested right leg driving loop; the double-path acquisition device synchronously acquires an
injection point signal and a loop response signal; and the
data processing unit performs
Fourier transform on the signal, calculates open-loop amplitude-frequency and phase-frequency characteristics of a loop, and automatically calculates a
phase margin and a
gain margin to quantitatively evaluate the stability. According to the method, the problems of low precision, poor authenticity, poor
repeatability and the like of the existing
simulation and general instrument test method are solved, an electroencephalogram acquisition scene can be truly restored, and high-precision and automatic
loop stability test is realized.