PURPOSE: A medical device with a circuit is provided to maintain the normal state of a medical device by preventing malfunction of the medical device. CONSTITUTION: A medical device with a circuit comprises a voltage output unit(110) for applying voltage to the intestine of a human body, an input unit(120) which is connected to the output terminal of the voltage output unit and intestine of the human body and gradually reduces the voltage of an input signal, an electrocardiogram measurement unit(130) which is directly connected to the heart and measures the electrocardiogram, and a processor(140) which controls the voltage applying operation of the voltage output unit. [Reference numerals] (110) Voltage output unit; (120) Input unit; (130) Electrocardiogram measuring unit; (140) Processor; (150) Wireless communication unit고전압으로부터 시스템을 보호하기 위한 회로를 구비한 의료기기가 제공된다. 본 의료기기는, 인체의 장기로 전압을 인가하는 전압 출력부, 전압 출력부의 출력단과 인체의 장기에 연결되어 있으며 입력 신호의 전압을 단계적으로 저감시키는 입력부 및 전압 출력부의 전압 인가 동작을 제어하는 프로세서를 포함한다. 이에 의해, 자체적으로 발생되는 고전압으로부터 시스템을 보호할 수 있어, 고전압 역류에 의한 의료기기 고장 발생을 방지할 수 있게 된다.