Corrosion sensor circuit
A corrosion sensor circuit includes a microcontroller, corrosion sensors, resistors serving as pull-up resistors, and a resistor serving as a pull-down resistor. The corrosion sensors are connected to power terminals at their respective one ends. The resistors have their respective one ends connected respectively to respective opposite ends of the corrosion sensors and have their respective opposite ends connected to an input port of the microcontroller. The resistor is connected to the input port at one end and to ground at an opposite end, being connected to no corrosion sensors.
1 . A corrosion sensor circuit to detect a corrosion state of an apparatus, the corrosion sensor circuit comprising:
a microcontroller;
one or more corrosion sensors connected to an input port of the microcontroller; and
one or more first resistors connected to the input port, each of the one or more first resistors being connected to each of the one or more corrosion sensors, respectively,
wherein
the one or more corrosion sensors include a first corrosion sensor, a second corrosion sensor that reacts to a property of a different corrosive substance compared with the first corrosion sensor, and a third corrosion sensor that reacts to a property of a different corrosive substance compared with the first corrosion sensor and the second corrosion sensor,
the one or more first resistors include a first pull-up resistor connected to the first corrosion sensor, a second pull-up resistor connected to the second corrosion sensor, and a first pull-down resistor connected to the third corrosion sensor, and
the corrosion sensor circuit further comprises a second resistor that is directly connected to the third corrosion sensor and is not directly connected to both the first corrosion sensor and the second corrosion sensor.
2 . The corrosion sensor circuit according to claim 1 , wherein
the microcontroller detects a voltage at the input port and estimates the apparatus's corrosion state based on the voltage detected.
3 . The corrosion sensor circuit according to claim 1 , wherein
the microcontroller detects a logical value at the input port and estimates the apparatus's corrosion state based on the logical value detected.
4 . The corrosion sensor circuit according to claim 1 , wherein
the number of the one or more corrosion sensors is three or more, and
the three or more corrosion sensors include a plurality of corrosion sensors that react to properties of different corrosive substances.
5 . The corrosion sensor circuit according to claim 1 , wherein
the number of the one or more corrosion sensors is three or more, and
the three or more corrosion sensors are made of different metals as materials.
6 . The corrosion sensor circuit according to claim 1 , wherein the number of the one or more corrosion sensors is three or more, and the three or more corrosion sensors are made of identical metals and have different metal thicknesses.
7 . The corrosion sensor circuit according to claim 6 , wherein the microcontroller computes, for each of the one or more corrosion sensors, an amount of change in resistance value of a series circuit of each of the one or more corrosion sensors and a respective first resistor of the one or more first resistors and estimates a degree of corrosion based on a mean of the amount of change.
8 . The corrosion sensor circuit according to claim 1 , wherein
the first pull-up resistor is connected to the first corrosion sensor, and the second pull-up resistor is connected to the second corrosion sensor, on a pull-up side.
9 . The corrosion sensor circuit according to claim 8 , wherein
the first pull-down resistor is connected to the third corrosion sensor on a pull-down side.
10 . The corrosion sensor circuit according to claim 1 , wherein
the first pull-down resistor is connected to the third corrosion sensor on a pull-down side.
11 . The corrosion sensor circuit according to claim 1 , wherein the microcontroller detects a voltage at the input port and estimates a degree of corrosion of each of the one or more corrosion sensors based on an amount of change in the voltage detected over time.
12 . The corrosion sensor circuit according to claim 1 , wherein each of the one or more corrosion sensors and a respective first resistor of the one or more first resistors are connected to the input port of the microcontroller, the input port is an input port that does not use logic at a time of high impedance, and the microcontroller detects a voltage or a logical value at the input port.
13 . The corrosion sensor circuit according to claim 12 , wherein
the microcontroller estimates a degree of corrosion of each of the one or more corrosion sensors based on a detection value that is detected at the input port when the input port does not receive a communication signal and an input signal.
14 . The corrosion sensor circuit according to claim 1 , wherein
the microcontroller, the one or more corrosion sensors, the one or more first resistors, and the second resistor are mounted on a printed board,
the one or more corrosion sensors have no corrosion-resistant coating, and
other circuit components except for the one or more corrosion sensors have a corrosion-resistant coating.
15 . The corrosion sensor circuit according to claim 1 , wherein the number of the one or more corrosion sensors is three or more, and the microcontroller detects a voltage at the input port and identifies a substance that is a main cause of corrosion based on an amount of change in the voltage detected.
16 . The corrosion sensor circuit according to claim 1 , wherein the number of the one or more corrosion sensors is three or more, and the microcontroller detects a logical value at the input port and identifies a substance that is a main cause of corrosion based on a change of the logical value detected.
17 . The corrosion sensor circuit according to claim 1 , wherein the number of the one or more corrosion sensors is three or more, and the microcontroller detects, for each of the one or more corrosion sensors, a variance of a resistance value of a series circuit of each of the one or more corrosion sensors and a respective first resistor of the one or more first resistors and identifies, based on information on the variance, a respective corrosion sensor of the one or more corrosion sensors connected in the series circuit where the resistance value indicates an open state.
18 . The corrosion sensor circuit according to claim 17 , wherein
when order of the open state indicated by the resistance values and a relationship between a rate of increase in resistance value and a rate of decrease in voltage to be detected by the microcontroller are known in advance, a degree of corrosion of each of the one or more corrosion sensors is estimated based on the rate of decrease in the voltage.