摘要 |
Provided is an electronic control device having an input processing circuit capable of arbitrarily connecting a pull-up resistor or a pull-down resistor or both of the pull-up resistor and the pull-down resistor to an input signal from outside and capable of arbitrarily setting a resistance value of the pull-up resistor and/or the pull-down resistor connected, wherein whether the resistance value of the pull-up/pull-down resistor is a designed value can be diagnosed. Provided is the input processing circuit provided with a unit that diagnoses whether the resistance value of the pull-up resistor and/or the pull-down resistor is within an expected range. Specifically, the pull-down resistor is connected to the pull-up resistor when the resistance value of the pull-up resistor is to be diagnosed, the pull-up resistor is connected to the pull-down resistor when the resistance value of the pull-down resistor is to be diagnosed, and the resistance value is diagnosed based on the voltage divided by both of the pull-up resistor and the pull-down resistor. Alternatively, the pull-up resistor or the pull-down resistor is connected to an externally-connected reference resistor group having a known resistance value, and the resistance value is diagnosed based on the voltage divided by both of the pull-up resistor and the pull-down resistor. |