An object of this power supply device is to enable an overheat protection level and an overvoltage protection level to be set accurately. This power supply device includes a Schottky barrier diode (D52), which is placed as a temperature detection element at a region where a temperature is measured, to which a reverse voltage is applied, and through which a reverse leakage current flows; a comparator (Z51) which sets a potential of an output terminal thereof to a low level when a voltage corresponding to the reverse leakage current becomes equal to or more than a reference voltage; and a light-emitting diode (PC2) which is connected between an output terminal (8a) and the output terminal of the comparator (Z51), and has a current of a predetermined value or more flowing therethrough to emit light because the output potential of the comparator (Z51) is set to the low level, wherein an operation of a control circuit (12) is stopped by a thyristor (TH1) which is turned on, based on the current flowing through a phototransistor PC1, in response to the light emission of the light-emitting diode (PC2).
In an overheat protection circuit for power supply devices in the present invention, overheat protection is provided by using a Schottky barrier diode (SBD) in place of a dedicated thermosensor. The overheat protection circuit is designed to flow reverse leakage current Ir resulting from temperatures of the SBD thermally coupled with a rectifier diode to a photocoupler inside an output-voltage detecting circuit in a direct-current power supply device. Thereby, where the reverse leakage current of the SBD is increased (where temperatures of the rectifier diode are elevated due to overload), a feedback signal of the output-voltage detecting circuit is increased to decrease the output voltage, thereby the direct-current power supply device is protected from overheat.
A voltage detecting apparatus with a capacitor having a switch for detecting a voltage of a direct-current power source, which can detect a malfunction of the switch without additional parts and effects to a measurement time in a normal condition, is provided. When a microcomputer measures a voltage between both terminals of a capacitor plural times, the sampled voltages are at most a prescribed threshold value, and a voltage decreases at least a prescribed difference of voltages in sampling order (each of all measured voltages between both terminals decreases at least a potential deference from a voltage measured previously in sampling order). Furthermore, when the voltage between both terminals of the capacitor becomes 0 volt in condition that a fifth switch SW5 is opened, it is judged that the fifth switch is in an abnormal condition.