Electronic device
The number of ports of a microcomputer is increased to detect an abnormality of the power supply line in a case where a power supply line to a load circuit is increased in number by two or more systems. A first resistor R 1 and a second resistor R 2 are commonly connected to one end of a third resistor R 3 . The other end of the third resistor R 3 is connected to a monitor port of the microcomputer 15 and is grounded through a fourth resistor R 4 . The microcomputer 15 determines a value of a monitor voltage input to the monitor port to determine an abnormality of a first power supply line L 1 and a second power supply line L 2 . Specifically, it is determined whether the first power supply line L 1 and the second power supply line L 2 are short-circuited to a ground side, or a voltage is not supplied to the first power supply line L 1 and the second power supply line L 2 due to an open circuit.
1. An electronic device, comprising:
a first power supply circuit which supplies power to a first load circuit through a first power supply line;
a second power supply circuit which supplies power to a second load circuit through a second power supply line;
a first resistor of which one end is connected to the first power supply line;
a second resistor of which one end is connected to the second power supply line;
a third resistor which is connected to the other ends of the first and second resistors;
a monitor circuit which receives a monitor voltage through the third resistor, and
a fourth resistor of which one end is connected to a line connecting the third resistor and the monitor circuit, and the other end is grounded, wherein a ratio of the resistance value of the first resistor and the resistance value of the second resistor is about two times, and the resistance value of the fourth resistor is four times a combined resistance value of the first resistor, the second resistor, and the third resistor,
wherein the monitor circuit determines an abnormality of the first power supply line and the second power supply line on the basis of the monitor voltage.
2. The electronic device according to claim 1 ,
wherein the first resistor has a resistance value larger than an internal resistance of the first load circuit, and the second resistor has a resistance value larger than an internal resistance of the second load circuit.
3. The electronic device according to claim 1 ,
wherein the monitor circuit determines whether the abnormality of the first power supply line and the second power supply line is a short circuit on the basis of the monitor voltage.