Detection circuit and power supply control device
The detection circuit addresses voltage inefficiencies in power supply systems by calculating and adjusting circuit voltage to prevent semiconductor switch malfunctions, ensuring efficient and safe operation.
Patent Information
- Application Number
- JP2020167159
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-01
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2040-10-01
AI Technical Summary
Conventional power supply systems face issues with voltage boosting inefficiencies due to non-negligible resistance in connection lines, leading to insufficient voltage application to semiconductor switches, which can cause overheating and malfunction.
A detection circuit that outputs a current based on circuit voltage between the input terminal of a semiconductor switch and the ground of a switching circuit, using a circuit resistance to calculate the voltage and ensure appropriate voltage application, thereby preventing semiconductor switch malfunctions.
The solution effectively detects and adjusts the voltage to ensure proper operation of semiconductor switches, preventing overheating and malfunctions by accurately determining the circuit voltage and controlling the switching circuit.
Smart Images

Figure 0007571443000001 
Figure 0007571443000002 
Figure 0007571443000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a detection circuit and a power supply control device. [Background technology]
[0002] A vehicle is equipped with a power supply system (see, for example, Patent Document 1) that supplies power from a DC power supply to a load. In the power supply system described in Patent Document 1, a semiconductor switch is disposed in a current path of a current that flows from the positive electrode of the DC power supply to one end of the load. The semiconductor switch is an N-channel type field effect transistor (FET). The positive electrode of the DC power supply is connected to an input end of the semiconductor switch, to which a current is input, i.e., the drain. A switching circuit boosts the voltage at the input end of the semiconductor switch and applies the boosted voltage to a control end of the semiconductor switch, i.e., the gate. This switches the semiconductor switch on. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-106624 A Summary of the Invention [Problem to be solved by the invention]
[0004] In a conventional power supply system such as that described in Patent Document 1, a switching circuit boosts the voltage between the ground of the switching circuit and the input of a semiconductor switch. The negative terminal of the DC power supply is grounded by connecting the negative terminal of the DC power supply to a ground conductor, for example the body of a vehicle. The switching circuit is connected to the ground conductor by a connecting line. When power is supplied to the switching circuit, a current flows through the switching circuit, the connecting line and the ground conductor in this order. The ground of the switching circuit is the potential of one end of the connecting line on the upstream side.
[0005] Assume that the resistance value of the connection line is a value that cannot be ignored. In this case, the voltage between the ground of the switching circuit and the input end of the semiconductor switch is less than the voltage between both ends of the DC power supply, and the higher the voltage between both ends of the connection line, the lower the resistance value. If the switching circuit performs a voltage boost in a state in which the voltage between the ground of the switching circuit and the input end of the semiconductor switch is less than a certain value, there is a possibility that an appropriate voltage will not be applied from the switching circuit to the semiconductor switch. In this case, for example, in the semiconductor switch, the resistance value between the input end and the output end from which the current is output may not decrease to a sufficiently small resistance value.
[0006] When a current flows through a semiconductor switch without a sufficiently small resistance between the input and output ends of the semiconductor switch, the semiconductor switch generates a large amount of heat. This may cause the temperature of the semiconductor switch to rise abnormally, resulting in failure of the semiconductor switch. In order to prevent failure of the semiconductor switch, if the voltage between the ground of the switching circuit and the input end of the semiconductor switch is less than a certain value, the switching circuit should not be instructed to switch the semiconductor switch on. In order to realize this configuration, it is necessary to detect the voltage between the ground of the switching circuit and the input end of the semiconductor switch, rather than the voltage between both ends of the DC power supply.
[0007] The present disclosure has been made in consideration of these circumstances, and has as its object to provide a detection circuit that detects the voltage between the input terminal of a semiconductor switch to which current is input and the ground of a switching circuit that switches the semiconductor switch on and off, and a power supply control device that is equipped with this detection circuit. [Means for solving the problem]
[0008] A detection circuit according to one aspect of the present disclosure includes a current output device that outputs a current corresponding to a circuit voltage between an input end of a semiconductor switch to which a current is input and a ground of a switching circuit that switches the semiconductor switch on or off, and a circuit resistance through which the current output by the current output device flows, wherein a voltage across the circuit resistance is output, and the voltage across the ground of the switching circuit and one downstream end of the circuit resistance exceeds zero V.
[0009] A power supply control device according to one embodiment of the present disclosure is a power supply control device that controls power supply via a semiconductor switch, and includes a switching circuit that switches the semiconductor switch on or off, a detection circuit that detects a circuit voltage between an input terminal of the semiconductor switch to which a current is input and a ground of the switching circuit and outputs a voltage indicating the detected circuit voltage, and a processing unit that executes processing, wherein the processing unit instructs the switching circuit to switch the semiconductor switch on or off in response to the voltage output by the detection circuit, the detection circuit has a current output device that outputs a current corresponding to the circuit voltage, and a circuit resistance through which the current output by the current output device flows, the detection circuit outputs a voltage across the circuit resistance, and the voltage between the ground of the switching circuit and one end downstream of the circuit resistance exceeds zero V.
[0010] The present disclosure can be realized not only as a power supply control device having such a characteristic processing unit, but also as a power supply control method having such characteristic processing steps, or as a computer program for causing a computer to execute such steps. Furthermore, the present disclosure can be realized as a semiconductor integrated circuit that realizes part or all of the power supply control device, or as a power supply system including the power supply control device. Effect of the Invention
[0011] According to the above aspect, the voltage between the input terminal of the semiconductor switch to which a current is input and the ground of the switching circuit that switches the semiconductor switch on and off is detected. [Brief description of the drawings]
[0012] [Figure 1] 1 is a block diagram showing a configuration of a main part of a power supply system according to a first embodiment. [Diagram 2] FIG. 4 is a circuit diagram of a first controller and a first detection circuit. [Diagram 3] FIG. 4 is a circuit diagram of a second controller and a second detection circuit. [Figure 4] FIG. 2 is a block diagram showing a main configuration of a microcomputer; [Diagram 5] 13 is a flowchart showing a procedure of a second failure detection process. [Figure 6] 10 is a flowchart showing a procedure of a second power supply control process. [Figure 7] 10 is a flowchart showing the procedure of a second power supply control process in the second embodiment. [Figure 8] FIG. 11 is a circuit diagram of a second detection circuit in the third embodiment. [Figure 9] FIG. 2 is a block diagram showing a main configuration of a microcomputer; [Figure 10] 13 is a flowchart showing a procedure of a second failure detection process. [Figure 11] 10 is a flowchart showing a procedure of a second power supply control process. [Figure 12] 13 is a flowchart showing the procedure of a second power supply control process in the fourth embodiment. [Figure 13] FIG. 13 is a block diagram showing a configuration of a main part of a power supply system according to a fifth embodiment. [Figure 14] FIG. 13 is a block diagram showing a configuration of a main part of a power supply system according to a sixth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] [Description of the embodiments of the present disclosure] First, the embodiments of the present disclosure will be listed and described. At least a part of the embodiments described below may be arbitrarily combined.
[0014] (1) A detection circuit according to one aspect of the present disclosure includes a current output device that outputs a current corresponding to a circuit voltage between an input end of a semiconductor switch to which a current is input and a ground of a switching circuit that switches the semiconductor switch on or off, and a circuit resistance through which the current output by the current output device flows, wherein a voltage across the circuit resistance is output, and the voltage across the ground of the switching circuit and one downstream end of the circuit resistance exceeds zero V.
[0015] In the above embodiment, the circuit voltage is detected by outputting a current corresponding to the circuit voltage. When the resistance value of the circuit resistor is constant, the voltage across the circuit resistor is proportional to the current output to the circuit resistor. A current corresponding to the circuit voltage flows through the circuit resistor. Therefore, the circuit voltage can be calculated based on the voltage across the circuit resistor. In addition, since the circuit voltage is converted into a current corresponding to the circuit voltage, a microcomputer (hereinafter referred to as a microcomputer) whose ground is different from the ground of the switching circuit can calculate the circuit voltage.
[0016] (2) In a detection circuit according to one embodiment of the present disclosure, the current output device includes an equipment resistor through which a current flows from an input terminal of the semiconductor switch, and a PNP-type bipolar transistor having an emitter connected to one end downstream of the equipment resistor, the base potential of the bipolar transistor is the ground of the switching circuit, and the current output from the collector of the bipolar transistor flows into the circuit resistor.
[0017] In the above embodiment, the bipolar transistor adjusts the resistance between the emitter and the collector so that the current flowing through the device resistance is proportional to the circuit voltage, and as a result, the circuit voltage is converted into a current proportional to the circuit voltage.
[0018] (3) According to one aspect of the present disclosure Detection Circuit includes a connection switch connected between the input end of the semiconductor switch and the current output device, and the current output device outputs a current drawn from the input end of the semiconductor switch to the circuit resistor.
[0019] In the above embodiment, the detection circuit is activated by switching the connection switch on. The detection circuit is stopped by switching the connection switch off. The detection circuit is activated only during the period when it is necessary to detect the circuit voltage. This reduces unnecessary power consumption.
[0020] (4) A power supply control device according to one aspect of the present disclosure is a power supply control device that controls power supply via a semiconductor switch, and includes a switching circuit that switches the semiconductor switch on or off, a detection circuit that detects a circuit voltage between an input terminal of the semiconductor switch to which a current is input and a ground of the switching circuit and outputs a voltage indicative of the detected circuit voltage, and a processing unit that executes processing, wherein the processing unit instructs the switching circuit to switch the semiconductor switch on or off in response to the voltage output by the detection circuit, the detection circuit has a current output device that outputs a current in response to the circuit voltage, and a circuit resistance through which the current output by the current output device flows, the detection circuit outputs a voltage across the circuit resistance, and a voltage between the ground of the switching circuit and one end downstream of the circuit resistance exceeds zero V.
[0021] In the above aspect, the semiconductor switch is appropriately switched on or off in response to the circuit voltage output by the detection circuit.
[0022] (5) A power supply control device according to one embodiment of the present disclosure includes a current output unit that outputs a current corresponding to the current flowing through the semiconductor switch, and a voltage between the ground of the switching circuit and one end downstream of the circuit resistance varies according to the current output by the current output unit.
[0023] In the above aspect, the circuit voltage varies according to the current output by the current output section.
[0024] (6) In a power supply control device according to an aspect of the present disclosure, the switching circuit boosts the circuit voltage and applies the boosted voltage to a control end of the semiconductor switch, thereby switching on the semiconductor switch.
[0025] In the above embodiment, the semiconductor switch is, for example, an N-channel FET. In this case, the input terminal and the control terminal of the semiconductor switch are, for example, a drain and a gate, respectively. The switching circuit boosts the circuit voltage and applies the boosted voltage to the control terminal. This switches the semiconductor switch on.
[0026] (7) In a power supply control device according to one aspect of the present disclosure, the processing unit determines, based on the voltage output by the detection circuit when the semiconductor switch is off, whether the circuit voltage is an on-voltage that can be boosted to a voltage that switches the semiconductor switch on. If it is determined that the circuit voltage is the on-voltage, it instructs the switching circuit to switch the semiconductor switch on, and after instructing the switching of the semiconductor switch on, it determines whether the semiconductor switch is on.
[0027] In the above aspect, when the circuit voltage is the on-voltage, it is confirmed whether or not it is possible to switch the semiconductor switch on.
[0028] (8) In a power supply control device according to one aspect of the present disclosure, power is supplied to the switching circuit by current flowing from the input terminal of the semiconductor switch to the switching circuit and then to the ground of the switching circuit, and the processing unit determines whether the circuit voltage is less than a threshold voltage based on the voltage output by the detection circuit when the semiconductor switch is off, and if it determines that the circuit voltage is less than the threshold voltage, determines whether the switching circuit is operating.
[0029] In the above embodiment, when the voltage applied to the switching circuit is less than a certain voltage, the switching circuit stops operating. The threshold voltage is, for example, this certain voltage. If the switching circuit is operating even though the voltage across the load circuit is less than the threshold voltage, this means that a failure has occurred in the detection circuit. By determining whether the switching circuit is operating or not, it is possible to detect a failure in the detection circuit.
[0030] [Details of the embodiment of the present disclosure] Specific examples of power supply systems according to embodiments of the present disclosure will be described below with reference to the drawings. Note that the present invention is not limited to these examples, but is defined by the claims, and is intended to include all modifications within the meaning and scope of the claims.
[0031] (Embodiment 1) <Power supply system configuration> FIG. 1 is a block diagram showing a main configuration of a power supply system 1 in the first embodiment. The power supply system 1 is mounted on a vehicle and includes a DC power supply 10, a first load 11, a second load 12, and a power supply control device 13. The DC power supply 10 is, for example, a battery. A first conductor W1 and a second conductor W2 whose resistance value cannot be ignored are used for connection of the power supply system 1. The equivalent circuits of the first conductor W1 and the second conductor W2 are represented by the first conductor resistance Rw1 and the second conductor resistance Rw2, respectively. An example of the first conductor W1 and the second conductor W2 is a long conductor. When the first conductor W1 is long, the resistance value of the first conductor resistance Rw1 is a value that cannot be ignored. When the second conductor W2 is long, the resistance value of the second conductor resistance Rw2 is a value that cannot be ignored.
[0032] The negative electrode of the DC power supply 10 is connected to the ground conductor G. Grounding is achieved by connecting to the ground conductor G. The ground conductor G is, for example, the body of a vehicle. The positive electrode of the DC power supply 10 is connected to the power supply control device 13 and one end of a first conductor resistance Rw1. The other end of the first conductor resistance Rw1 is connected to the power supply control device 13. The power supply control device 13 is further connected to one end of each of a first load 11, a second load 12, and a second conductor resistance Rw2. The power supply control device 13, the other end of the first load 11, the other end of the second load 12, 2nd conductor resistance Rw2 The other end of the terminal is connected to a ground conductor G.
[0033] The DC power supply 10 supplies power to the power supply control device 13. At this time, the current flows from the positive electrode of the DC power supply 10 through the power supply control device 13 and the ground conductor G in this order. The DC power supply 10 also supplies power to the first load 11. At this time, the current flows from the positive electrode of the DC power supply 10 through the power supply control device 13, the first load 11 and the ground conductor G in this order. The DC power supply 10 also supplies power to the second load 12. At this time, the current flows from the positive electrode of the DC power supply 10 through the first conductor resistance Rw1, the power supply control device 13, the second load 12 and the ground conductor G in this order.
[0034] The power supply control device 13 controls power supply from the DC power source 10 to the first load 11, and also controls power supply from the DC power source 10 to the second load 12. The first load 11 and the second load 12 are electric devices mounted on the vehicle. Each of the first load 11 and the second load 12 operates when power is supplied, and stops operating when the power supply is stopped.
[0035] <Configuration of power supply control device 13> The power supply control device 13 includes a first controller 21, a second controller 22, a regulator 23, a first detection circuit 24, a second detection circuit 25, and a microcomputer 26. In the power supply control device 13, the first controller 21, the regulator 23, and the first detection circuit 24 are connected to the positive electrode of the DC power supply 10. The first controller 21 is further connected to one end on the upstream side of the first load 11 and the microcomputer 26. The regulator 23 and the first detection circuit 24 are further connected to the microcomputer 26. The first controller 21, the first detection circuit 24, and the microcomputer 26 are connected to the ground conductor G.
[0036] The second controller 22 and the second detection circuit 25 are connected to one end on the downstream side of the first conductor resistor Rw1, the microcomputer 26, and one end of the second conductor resistor Rw2. The second controller 22 is further connected to one end on the upstream side of the second load 12. The second detection circuit 25 is further connected to the ground conductor G.
[0037] A current flows from the positive electrode of the DC power supply 10 through the first controller 21 and the ground conductor G in this order, and the DC power supply 10 supplies power to the first controller 21. The first controller 21 has a first FET 30 (see FIG. 2) that functions as a semiconductor switch. The DC power supply 10 supplies power to the first load 11 via the first FET 30. The microcomputer 26 outputs a first instruction signal indicating a high-level voltage and a low-level voltage to the first controller 21.
[0038] In the first controller 21, when the voltage indicated by the first instruction signal switches from a low level voltage to a high level voltage while the first load current flowing through the first load 11 is less than a certain first threshold current, the first FET 30 is switched on. As a result, a current flows from the positive electrode of the DC power supply 10 to the first FET 30, the first load 11, and the ground conductor G in this order, and power is supplied to the first load 11. When the voltage indicated by the first instruction signal switches from a high level voltage to a low level voltage, or when the first load current increases to a current equal to or greater than the first threshold current, the first FET 30 is switched off. As a result, power supply to the first load 11 is stopped, and the first load 11 stops operating.
[0039] Hereinafter, the voltage of the positive electrode of the DC power supply 10 will be referred to as the power supply voltage. The reference potential of the power supply voltage is the potential of the ground conductor G. The ground of the microcomputer 26 is also the potential of the ground conductor G. The power supply voltage fluctuates due to various factors. The first detection circuit 24 detects the power supply voltage. The first detection circuit 24 outputs a voltage indicating the detected power supply voltage to the microcomputer 26 as power supply voltage information. The microcomputer 26 switches the voltage indicated by the first instruction signal to a high-level voltage or a low-level voltage according to the power supply voltage indicated by the power supply voltage information. This realizes switching of the first FET 30 according to the power supply voltage.
[0040] The regulator 23 steps down the power supply voltage to a constant voltage and applies the stepped-down voltage to the microcomputer 26. As a result, a current flows from the positive electrode of the DC power supply 10 through the regulator 23, the microcomputer 26, and the ground conductor G in this order, and power is supplied to the microcomputer 26. The reference potential of the voltage stepped down by the regulator 23 is the potential of the ground conductor G.
[0041] A current flows from the positive electrode of the DC power supply 10 through the first conductor resistor Rw1, the second controller 22, the second conductor resistor Rw2, and the ground conductor G in this order, and the DC power supply 10 supplies power to the second controller 22. The second controller 22 has a second FET 40 (see FIG. 3) that functions as a semiconductor switch. The DC power supply 10 supplies power to the second load 12 via the second FET 40. The microcomputer 26 outputs a second instruction signal indicating a high-level voltage and a low-level voltage to the second controller 22.
[0042] When the voltage indicated by the second instruction signal is switched from a low level voltage to a high level voltage while the second load current flowing through the second load 12 is less than a certain second threshold current, the second FET 40 is switched on. As a result, a current flows from the positive electrode of the DC power supply 10 through the first conductor resistor Rw1, the second FET 40, the second load 12, and the ground conductor G in this order, and power is supplied to the second load 12. When the voltage indicated by the second instruction signal is switched from a high level voltage to a low level voltage, or when the second load current increases to a current equal to or greater than the second threshold current, the second FET 40 is switched off. As a result, power supply to the second load 12 is stopped, and the second load 12 stops operating.
[0043] As described above, in the power supply control device 13, the power supply via the first FET 30 is controlled by switching the first FET 30 on or off. Furthermore, the power supply via the second FET 40 is controlled by switching the second FET 40 on or off.
[0044] The first FET 30 and the second FET 40 are N-channel type FETs. In each of the first FET 30 and the second FET 40, a current is input to the drain and a current is output from the source. In each of the first FET 30 and the second FET 40, the drain functions as an input end to which a current is input, and the source functions as an output end from which a current is output.
[0045] Hereinafter, the voltage of the drain of the second FET 40 will be referred to as the circuit voltage. The reference potential of the circuit voltage is the potential of one end on the upstream side of the second conductor resistor Rw2. When the power supply voltage fluctuates, the circuit voltage also fluctuates. The second detection circuit 25 detects the circuit voltage and outputs a voltage indicating the detected circuit voltage to the microcomputer 26 as circuit voltage information. The reference potential of the circuit voltage information is the ground of the microcomputer 26, i.e., the potential of the ground conductor G. The microcomputer 26 switches the voltage indicated by the second instruction signal to a high-level voltage or a low-level voltage according to the circuit voltage indicated by the circuit voltage information. This realizes switching of the second FET 40 according to the circuit voltage.
[0046] <Configuration of first controller 21> FIG. 2 is a circuit diagram of the first controller 21 and the first detection circuit 24. The first controller 21 has a first output section 31, a first drive circuit 32, and a first voltage resistor 33 in addition to the first FET 30. The drain of the first FET 30 is connected to the positive electrode of the DC power supply 10. The source of the first FET 30 is connected to the first output section 31. The first output section 31 is further connected to one end of the upstream side of the first load 11 and one end of the first voltage resistor 33, respectively. The drain and gate of the first FET 30 are each connected to the first drive circuit 32. The first drive circuit 32 is further connected to the microcomputer 26. The connection node between the first output section 31 and the first voltage resistor 33 is connected to the microcomputer 26 and the first drive circuit 32. The other end of the first drive circuit 32 and the first voltage resistor 33 are connected to the ground conductor G.
[0047] In the first FET 30, when the voltage of the gate, the reference potential of which is the potential of the source, is equal to or higher than a certain first switch voltage, the resistance value between the drain and source of the first FET 30 is sufficiently small. At this time, the first FET 30 is on, and a current can flow through the drain and source of the first FET 30. When the first FET 30 is on, a current flows from the positive electrode of the DC power supply 10 to the first FET 30, the first output section 31, the first load 11, and the ground conductor G in this order. In the first FET 30, when the voltage of the gate, the reference potential of which is the potential of the source, is lower than the first switch voltage, the resistance value between the drain and source of the first FET 30 is sufficiently large. At this time, the first FET 30 is off, and no current flows through the drain and source of the first FET 30.
[0048] A current flows from the positive electrode of the DC power supply 10 through the first drive circuit 32 and the ground conductor G in this order, supplying power to the first drive circuit 32. When the power supply voltage rises to a voltage equal to or higher than a certain first operating voltage, the first drive circuit 32 operates. When the power supply voltage drops to a voltage lower than the first operating voltage, the first drive circuit 32 stops operating. The ground of the first drive circuit 32 is at the potential of the ground conductor G.
[0049] The first drive circuit 32 boosts the power supply voltage and applies the boosted voltage to the gate of the first FET 30. As a result, in the first FET 30, the gate voltage, whose reference potential is the source potential, rises to a voltage equal to or higher than the first switch voltage. As a result, the first FET 30 is switched on. The reference potential of the boosted voltage is the potential of the ground conductor G. When the first drive circuit 32 stops boosting the voltage, in the first FET 30, the gate voltage, whose reference potential is the source potential, drops to a voltage lower than the first switch voltage. As a result, the first FET 30 is switched off. As described above, the first drive circuit 32 switches the first FET 30 on or off by adjusting the gate voltage of the first FET 30.
[0050] The first output section 31 is configured using, for example, a current mirror circuit, and outputs a current proportional to the first load current flowing through the first load 11 via the first FET 30 to the first voltage resistor 33. The resistance value of the first voltage resistor 33 is constant. Therefore, the voltage across the first voltage resistor 33 is proportional to the current flowing through the first voltage resistor 33. Therefore, the voltage across the first voltage resistor 33 is proportional to the first load current. The voltage across the first voltage resistor 33 is output to the microcomputer 26 and the first drive circuit 32 as first current information indicating the first load current.
[0051] As described above, the microcomputer 26 outputs the first instruction signal to the first drive circuit 32. When the voltage indicated by the first instruction signal switches from a low level voltage to a high level voltage while the first load current indicated by the first current information is less than the first threshold current, the first drive circuit 32 switches the first FET 30 on. When the voltage indicated by the first instruction signal switches from a high level voltage to a low level voltage, or when the first load current indicated by the first current information becomes equal to or greater than the first threshold current, the first drive circuit 32 switches the first FET 30 off.
[0052] The microcomputer 26 communicates with the first drive circuit 32. By communicating with the first drive circuit 32, the microcomputer 26 can determine whether the first drive circuit 32 is operating. For example, the microcomputer 26 transmits a request signal to the first drive circuit 32 to request the first drive circuit 32 to transmit a response signal. The microcomputer 26 determines whether the first drive circuit 32 is operating based on whether the microcomputer 26 has received a response signal from the first drive circuit 32.
[0053] <Configuration of first detection circuit 24> The first detection circuit 24 has two voltage-dividing resistors Rd1 and Rd2. One end of the voltage-dividing resistor Rd1 is connected to the positive electrode of the DC power supply 10. The other end of the voltage-dividing resistor Rd1 is connected to one end of the voltage-dividing resistor Rd2. The other end of the voltage-dividing resistor Rd2 is connected to the ground conductor G. A connection node between the two voltage-dividing resistors Rd1 and Rd2 is connected to the microcomputer 26.
[0054] The first detection circuit 24 divides the power supply voltage. The resistance values of the two voltage dividing resistors Rd1 and Rd2 are constant. Therefore, the voltage obtained by the first detection circuit 24 dividing the power supply voltage is proportional to the power supply voltage. The first detection circuit 24 detects the power supply voltage by dividing the power supply voltage. The first detection circuit 24 outputs the voltage obtained by dividing the power supply voltage to the microcomputer 26 as power supply voltage information. As described above, the microcomputer 26 switches the voltage indicated by the first instruction signal to a high-level voltage or a low-level voltage according to the power supply voltage indicated by the power supply voltage information.
[0055] <Configuration of second controller 22> FIG. 3 is a circuit diagram of the second controller 22 and the second detection circuit 25. The second controller 22 has a second output section 41, a second drive circuit 42, and a second voltage resistor 43 in addition to the second FET 40. The drain of the second FET 40 is connected to one end on the downstream side of the first conductor resistor Rw1. The upstream end of the first conductor resistor Rw1 is connected to the positive electrode of the DC power supply 10. The source of the second FET 40 is connected to the second output section 41. The second output section 41 is further connected to one end on the upstream side of the second load 12 and one end of the second voltage resistor 43. The drain and gate of the second FET 40 are each connected to the second drive circuit 42. The second drive circuit 42 is further connected to the microcomputer 26. A connection node between the second output section 41 and the second voltage resistor 43 is connected to the microcomputer 26 and the second drive circuit 42. The other ends of the second drive circuit 42 and the second voltage resistor 43 are connected to one upstream end of the second conductor resistor Rw2. As described above, one downstream end of the second conductor resistor Rw2 is connected to the ground conductor G.
[0056] In the second FET 40, when the voltage of the gate, the reference potential of which is the potential of the source, is equal to or higher than a certain second switch voltage, the resistance value between the drain and source of the second FET 40 is sufficiently small. At this time, the second FET 40 is on, and a current can flow through the drain and source of the second FET 40. When the second FET 40 is on, a current flows from the positive electrode of the DC power supply 10 to the second FET 40, the second output section 41, the second load 12, and the ground conductor G in this order. In the second FET 40, when the voltage of the gate, the reference potential of which is the potential of the source, is lower than the second switch voltage, the resistance value between the drain and source of the second FET 40 is sufficiently large. At this time, the second FET 40 is off, and no current flows through the drain and source of the second FET 40.
[0057] A current flows from the positive electrode of the DC power supply 10 through the first conductor resistance Rw1, the second drive circuit 42, the second conductor resistance Rw2, and the ground conductor G in this order. This supplies power to the second drive circuit 42. When the circuit voltage rises to a voltage equal to or higher than a certain second operating voltage, the second drive circuit 42 operates. When the circuit voltage drops to a voltage less than the second operating voltage, the second drive circuit 42 stops operating. The ground of the second drive circuit 42 is the potential of one end on the upstream side of the second conductor resistance Rw2. When power is supplied to the second drive circuit 42, a current flows from the drain of the second FET 40, through the second drive circuit 42, and through the ground of the second drive circuit 42 in this order.
[0058] The second drive circuit 42 adjusts the gate voltage, the reference potential of which is the ground of the second drive circuit 42. As described above, the reference potential of the circuit voltage is the potential of one end on the upstream side of the second conductor resistor Rw2, i.e., the ground of the second drive circuit 42. The second drive circuit 42 boosts the circuit voltage and applies the boosted voltage to the gate of the second FET 40. As a result, in the second FET 40, the gate voltage, the reference potential of which is the source potential, rises to a voltage equal to or higher than the second switch voltage. As a result, the second FET 40 is switched on. The reference potential of the boosted voltage is the ground of the second drive circuit 42.
[0059] The second drive circuit 42 stops boosting the circuit voltage. This causes the gate voltage, whose reference potential is the ground of the second drive circuit 42, to drop. As a result, in the second FET 40, the gate voltage, whose reference potential is the source potential, drops to a voltage less than the second switch voltage. This switches the second FET 40 off.
[0060] The second output section 41 is configured using, for example, a current mirror circuit, and outputs a current proportional to the second load current flowing through the second load 12 via the second FET 40. The second output section 41 functions as a current output section. The current output by the second output section 41 flows through the second voltage resistor 43 and the second conductor resistor Rw2. The resistance value of the second voltage resistor 43 is constant. Therefore, the voltage across the second voltage resistor 43 is proportional to the current flowing through the second voltage resistor 43. Therefore, the voltage across the second voltage resistor 43 is proportional to the second load current. The voltage across the second voltage resistor 43 is output to the second drive circuit 42 as one piece of second current information indicating the second load current.
[0061] The resistance value of the second conductor resistor Rw2 is also constant. Therefore, the voltage across the series circuit in which the second conductor resistor Rw2 is connected in series to the second voltage resistor 43 is proportional to the current flowing through the second voltage resistor 43. Therefore, the voltage across the series circuit is proportional to the second load current. The voltage across the series circuit is output to the microcomputer 26 as another piece of second current information indicating the second load current.
[0062] As described above, the microcomputer 26 outputs the second instruction signal to the second drive circuit 42. The second drive circuit 42 switches the second FET 40 on when the voltage indicated by the second instruction signal switches from a low level voltage to a high level voltage while the second load current indicated by the second current information is less than the second threshold current. The second drive circuit 42 switches the second FET 40 off when the voltage indicated by the second instruction signal switches from a high level voltage to a low level voltage or when the second load current indicated by the second current information becomes a current equal to or greater than the second threshold current.
[0063] The microcomputer 26 communicates with the second drive circuit 42, similarly to the first drive circuit 32. By communicating with the second drive circuit 42, the microcomputer 26 can determine whether the second drive circuit 42 is operating or not. For example, the microcomputer 26 transmits a request signal to the second drive circuit 42 requesting transmission of a response signal, and determines whether the second drive circuit 42 is operating or not based on whether the microcomputer 26 has received a response signal from the second drive circuit 42.
[0064] <Configuration of second detection circuit 25> The second detection circuit 25 has a current output device 50 and a circuit resistor 51. The current output device 50 has a device resistor Re and a transistor Te. The transistor Te is a PNP type bipolar transistor.
[0065] One end of the device resistance Re is connected to the drain of the second FET 40. The other end of the device resistance Re is connected to the emitter of the transistor Te. The base of the transistor Te is connected to one end of the upstream side of the second conductor resistance Rw2. Therefore, the potential of the base of the transistor Te is the ground of the second drive circuit 42. The collector of the transistor Te is connected to the microcomputer 26 and one end of the circuit resistance 51. The other end of the circuit resistance 51 is connected to the ground conductor G.
[0066] A current flows from the positive electrode of the DC power supply 10 through the first conductor resistance Rw1, the device resistance Re, the transistor Te, the circuit resistance 51, and the ground conductor G in this order. Therefore, the current flows from one end on the downstream side of the first conductor resistance Rw1, i.e., the drain of the second FET 40, to the device resistance Re. In the transistor Te, the current flows through the emitter and collector in this order. The emitter of the transistor Te is connected to one end on the downstream side of the device resistance Re.
[0067] In the transistor Te, a small portion of the current input from the device resistance Re to the emitter flows in this order from the base to the second conductor resistance Rw2 and the ground conductor G. Almost all of the current input to the emitter is output from the collector. Therefore, the current output from the base is a negligible value, and the current input to the emitter and the current output from the collector are substantially the same.
[0068] The drain voltage of the second FET 40 is written as Vd. The voltage at one end on the upstream side of the second conductor resistance Rw2 is written as Vg. The reference potential of each of the voltages Vd and Vg is the potential of the ground conductor G. (Vb-Vg) is the circuit voltage. The resistance value of the device resistance Re is written as re. The voltage (absolute value) between the base and emitter of the transistor Te is written as Vf. The current flowing through the device resistance Re is written as Iv.
[0069] The transistor Te adjusts the resistance between the emitter and collector so that the voltage of the emitter, whose reference potential is the potential of the ground conductor G, becomes (Vg+Vf). As a result, the transistor Te adjusts the resistance between the emitter and collector so that the current Iv satisfies the following formula (1). Iv = (Vd - (Vg + Vf)) / re (1) As described above, almost all of the current input to the emitter is output from the collector, so the current flowing through the circuit resistor 51 substantially coincides with the current Iv.
[0070] By expanding equation (1), we obtain the following equation (2). Iv = ((Vd - Vg) - Vf) / re (2) As described above, (Vd-Vg) is the circuit voltage. Since the voltage Vf and the resistance value re are each substantially constant, the current Iv is proportional to the circuit voltage. Therefore, the current output device 50 converts the circuit voltage into a current Iv proportional to the circuit voltage, and outputs the converted current Iv to the circuit resistor 51. The current Iv is a current drawn from the drain of the second FET 40. The current Iv output from the collector of the transistor Te of the current output device 50 flows via the circuit resistor 51. The current output device 50 detects the circuit voltage by outputting the current Iv.
[0071] The resistance value of the circuit resistor 51 is written as rc. The voltage across the circuit resistor 51 is written as Vc. The voltage Vc is expressed by the following formula (3). Vc = rc Iv (3) When the current Iv is eliminated using equations (2) and (3), the following equation (4) is satisfied for the voltage Vc. Vc=((Vd-Vg)-Vf)·rc / re···(4)
[0072] As mentioned above, (Vd-Vg) is the circuit voltage. Not only the voltage Vf and the resistance value re, but also the resistance value rc are substantially constant values. Therefore, the voltage Vc is proportional to the circuit voltage. Since the voltage Vf and the resistance values rc and re are substantially constant values, the circuit voltage, i.e., (Vd-Vg), can be calculated by substituting the voltage Vc into equation (4).
[0073] As described above, the second detection circuit 25 detects the circuit voltage, and outputs the voltage Vc proportional to the detected circuit voltage as circuit voltage information to the microcomputer 26. The microcomputer 26 calculates the circuit voltage based on the circuit voltage information, i.e., the voltage Vc and equation (4). The ground of the microcomputer 26 is at the potential of the ground conductor G as described above, and is different from the ground of the second drive circuit 42. However, in the second detection circuit 25, the current output device 50 converts the circuit voltage into a current Iv, so that the microcomputer 26 can calculate the circuit voltage.
[0074] When power is supplied to the second drive circuit 42, a current flows from the positive electrode of the DC power supply 10 through the first conductor resistance Rw1, the second drive circuit 42, the second conductor resistance Rw2, and the ground conductor G in this order. One downstream end of the circuit resistance 51 is connected to the ground conductor G. As described above, the potential of one upstream end of the second conductor resistance Rw2 is the ground of the second drive circuit 42. When power is supplied to the second drive circuit 42, a current flows through the second conductor resistance Rw2, so that the voltage between the ground of the second drive circuit 42 and one downstream end of the circuit resistance 51 exceeds zero V.
[0075] As described above, the current output by the second output section 41 is proportional to the second load current and flows through the second conductor resistance Rw2. Therefore, when the second FET 40 is off, the current output from the second output section 41 is zero A. When the second FET 40 is switched on, the current output from the second output section 41 increases. This causes the current flowing through the second conductor resistance Rw2 to also increase. Also, when the second FET 40 is off, the current flowing through the first conductor resistance Rw1 is only the current flowing through the second drive circuit 42, and is small. When the second FET 40 is switched on, the current flowing through the first conductor resistance Rw1 is the sum of the current flowing through the second drive circuit 42 and the current flowing through the second FET 40. From the above, the circuit voltage when the second FET 40 is off is higher than the circuit voltage when the second FET 40 is on.
[0076] As described above, the current output by the second output unit 41 flows through the second conductor resistor Rw2. Therefore, the voltage across the second conductor resistor Rw2, i.e., the voltage across the ground of the second drive circuit 42 and the downstream end of the circuit resistor 51, varies according to the current output by the second output unit 41.
[0077] <Microcomputer 26 Configuration> 4 is a block diagram showing the main configuration of the microcomputer 26. The microcomputer 26 has A / D conversion units 60, 61, 62, 63, signal output units 64, 65, communication units 66, 67, a notification unit 68, a storage unit 69, and a control unit 70. The A / D conversion units 60, 61, 62, 63, signal output units 64, 65, communication units 66, 67, a notification unit 68, a storage unit 69, and a control unit 70 are connected to an internal bus 71.
[0078] The A / D conversion unit 60 is further connected to a connection node between the voltage dividing resistors Rd1 and Rd2 of the first detection circuit 24. The signal output unit 64 and the communication unit 66 are further connected to the first drive circuit 32. The A / D conversion unit 61 is further connected to a connection node between the first output unit 31 and the first voltage resistor 33 of the first controller 21. The A / D conversion unit 62 is further connected to one end of the upstream side of the circuit resistor 51 of the second detection circuit 25. The signal output unit 65 and the communication unit 67 are further connected to the second drive circuit 42. The A / D conversion unit 63 is connected to a connection node between the second output unit 41 and the second voltage resistor 43 of the second controller 22.
[0079] Analog power supply voltage information is input from the first detection circuit 24 to the A / D conversion unit 60. The A / D conversion unit 60 converts the input analog power supply voltage information into digital power supply voltage information. The control unit 70 obtains the digital power supply voltage information from the A / D conversion unit 60. The signal output section 64 outputs a first instruction signal to the first drive circuit 32. The signal output section 64 switches the voltage indicated by the first instruction signal to a high-level voltage or a low-level voltage in accordance with an instruction from the control section . The communication section 66 transmits signals to the first drive circuit 32 and receives signals from the first drive circuit 32 in accordance with instructions from the control section 70.
[0080] The first controller 21 inputs analog first current information to the A / D converter 61. The A / D converter 61 converts the input analog first current information into digital first current information. The control unit 70 acquires the digital first current information from the A / D converter 61.
[0081] Analog circuit voltage information is input from the second detection circuit 25 to the A / D conversion unit 62. The A / D conversion unit 62 converts the input analog circuit voltage information into digital circuit voltage information. The control unit 70 obtains the digital circuit voltage information from the A / D conversion unit 62. The signal output section 65 outputs the second instruction signal to the second drive circuit 42. In accordance with an instruction from the control section 70, the signal output section 65 switches the voltage indicated by the second instruction signal between a high-level voltage or a low-level voltage. The communication section 67 transmits signals to the second drive circuit 42 and receives signals from the second drive circuit 42 in accordance with instructions from the control section 70.
[0082] The second controller 22 inputs the analog second current information to the A / D converter 63. The A / D converter 63 converts the input analog second current information into digital second current information. The control unit 70 acquires the digital second current information from the A / D converter 63. The notification unit 68 issues a notification in accordance with instructions from the control unit 70. The notification is realized by transmitting a signal, turning on a lamp, displaying a message, or the like.
[0083] The storage unit 69 is, for example, a non-volatile memory. A computer program P is stored in the storage unit 69. The control unit 70 has a processing element that executes processing, for example, a CPU (Central Processing Unit). The processing element of the control unit 70 executes the computer program P to execute a first fault detection process, a first power supply control process, a second fault detection process, a second power supply control process, and the like. The control unit 70 functions as a processing unit.
[0084] The first fault detection process is a process for detecting a fault relating to the first controller 21 or the first detection circuit 24. The first power supply control process is a process for controlling the power supply to the first load 11. The second fault detection process is a process for detecting a fault relating to the second controller 22 or the second detection circuit 25. The second power supply control process is a process for controlling the power supply to the second load 12.
[0085] The computer program P may be stored in the storage medium A so that the processing element of the control unit 70 can read it. In this case, the computer program P read from the storage medium A by a reading device (not shown) is written to the storage unit 69. The storage medium A is an optical disk, a flexible disk, a magnetic disk, a magneto-optical disk, a semiconductor memory, or the like. The optical disk is a CD (Compact Disc)-ROM (Read Only Memory), a DVD (Digital Versatile Disc)-ROM, or a BD (Blu-ray (registered trademark) Disc). The magnetic disk is, for example, a hard disk. The computer program P may be downloaded from a device (not shown) connected to a communication network (not shown), and the downloaded computer program P may be written to the storage unit 69.
[0086] The number of processing elements included in the control unit 70 is not limited to 1, and may be 2 or more. In this case, the multiple processing elements may cooperatively execute the first fault detection process, the first power supply control process, the second fault detection process, the second power supply control process, etc. in accordance with the computer program P.
[0087] When the technology of the present disclosure is compared with the conventional technology, the main differences are the second fault detection process and the second power supply control process. Therefore, in the following, the second fault detection process and the second power supply control process will be described first. After that, the first fault detection process will be described by describing the difference between the first fault detection process and the second fault detection process. The first power supply control process will be described by describing the difference between the first power supply control process and the second power supply control process. These processes will be described under the assumption that the first load current does not increase to a current equal to or greater than the first threshold current, and the second load current does not increase to a current equal to or greater than the second threshold current.
[0088] <Second failure detection process> 5 is a flowchart showing the procedure of the second fault detection process. The control unit 70 executes the second fault detection process before operating the second load 12. For example, the control unit 70 executes the second fault detection process when the vehicle engine starts with the second load 12 stopped operating. Therefore, the second fault detection process is executed in a state where the second FET 40 is off. If no fault is detected in the second fault detection process, the control unit 70 executes the second power supply control process.
[0089] In the second failure detection process, the control unit 70 acquires circuit voltage information from the A / D conversion unit 62 (step S1). The circuit voltage information acquired in step S1 is the voltage output by the second detection circuit 25 when the second FET 40 is off. The circuit voltage indicated by the circuit voltage information acquired in step S1 is higher than the circuit voltage when the second FET 40 is on. Next, the control unit 70 determines whether the circuit voltage indicated by the circuit voltage information acquired in step S1 is less than the second operating voltage (step S2). If the circuit voltage is less than the second operating voltage, the second drive circuit 42 stops operating. The second operating voltage functions as a threshold voltage.
[0090] When the control unit 70 determines that the circuit voltage indicated by the circuit voltage information is less than the second operating voltage (S2: YES), it determines whether or not the second drive circuit 42 is operating (step S3). If the second drive circuit 42 is operating at the time step S3 is executed, this indicates that the second detection circuit 25 is not outputting an appropriate voltage, that is, a failure has occurred in the second detection circuit 25. The control unit 70 can detect a failure in the second detection circuit 25 by executing step S2.
[0091] As a method for determining whether the second drive circuit 42 is operating, a method using communication can be used. In this method, the control unit 70, for example, 67 Then, the second drive circuit 42 transmits a request signal to the second drive circuit 42 to request the transmission of a response signal. to make Within a predetermined period of time after the request signal is transmitted, the communication unit 67If the communication unit 70 receives the response signal, the control unit 70 determines that the second drive circuit 42 is in operation. 67 If the control unit 70 does not receive a response signal, the control unit 70 determines that the second drive circuit 42 is not operating.
[0092] Another method for determining whether the second driving circuit 42 is operating includes a method of checking the state of the second FET 40. In this method, the control unit 70, for example, instructs the signal output unit 65 to switch the voltage indicated by the second instruction signal from a low-level voltage to a high-level voltage. In a state in which the second instruction signal indicates a high-level voltage, the control unit 70 acquires second current information from the A / D conversion unit 63 and instructs the signal output unit 65 to return the voltage indicated by the second instruction signal to a low-level voltage. When the second load current indicated by the second current information is equal to or greater than a certain value, it indicates that the second FET 40 is on. When the second load current indicated by the second current information is less than a certain value, it indicates that the second FET 40 is off. When the second load current indicated by the second current information is equal to or greater than a certain value, the control unit 70 determines that the second driving circuit 42 is operating. When the second load current indicated by the second current information is less than a certain value, the control unit 70 determines that the second driving circuit 42 is not operating.
[0093] When the control unit 70 determines that the second drive circuit 42 is operating (S3: YES), it determines that a fault has occurred in the second detection circuit 25 and fixes the second FET 40 to on or off (step S4). The control unit 70 fixes the second FET 40 to on by instructing the signal output unit 65 to fix the voltage indicated by the second instruction signal to a high-level voltage. The control unit 70 fixes the second FET 40 to off by instructing the signal output unit 65 to fix the voltage indicated by the second instruction signal to a low-level voltage.
[0094] The second load 12 is fixed to on or off depending on the characteristics of the second load 12. It is assumed that the second load 12 is a load that is not likely to cause a hindrance to driving when it is stopped, for example, a room lamp. In this case, in step S4, the control unit 70 fixes the second FET 40 to off. It is assumed that the second load 12 is a load that is likely to cause a hindrance to driving when it is stopped, for example, a headlight. In this case, in step S4, the control unit 70 fixes the second FET 40 to on.
[0095] When the control unit 70 determines that the circuit voltage indicated by the circuit voltage information is equal to or higher than the second operating voltage (S2: NO), it determines whether or not the circuit voltage indicated by the circuit voltage information acquired in step S1 is an on-voltage (step S5). When the circuit voltage is low, the second drive circuit 42 cannot boost the circuit voltage to a voltage that switches the second FET 40 on. The on-voltage is a voltage that can be boosted to a voltage that switches the second FET 40 on, and is a voltage within a preset voltage range. When the second FET 40 is off and the circuit voltage is an on-voltage, even when the second FET 40 is switched on, the circuit voltage is high and the second drive circuit 42 can switch the second FET 40 on.
[0096] When the control unit 70 determines that the circuit voltage is an on-voltage (S5: YES), it instructs the signal output unit 65 to switch the second FET 40 to on (step S6). Specifically, the control unit 70 instructs the signal output unit 65 to switch the voltage indicated by the second instruction signal from a low-level voltage to a high-level voltage. This causes the second drive circuit 42 to switch the second FET 40 to on.
[0097] Next, the control unit 70 determines whether or not the second FET 40 is on based on the second load current indicated by the second current information acquired from the A / D conversion unit 63 (step S7). In step S7, the control unit 70 determines that the second FET 40 is on if the second load current is equal to or greater than a certain value. The control unit 70 determines that the second FET 40 is not on if the second load current is less than the certain value. The control unit 70 executes steps S6 and S7 to check whether or not it is possible to switch the second FET 40 on.
[0098] When the control unit 70 determines that the second FET 40 is on (S7: YES), it instructs the signal output unit 65 to switch the second FET 40 off (step S8). Specifically, the control unit 70 instructs the signal output unit 65 to switch the voltage indicated by the second instruction signal to a low-level voltage. This causes the second drive circuit 42 to switch the second FET 40 off. After executing step S8, the control unit 70 ends the second failure detection process. When the control unit 70 ends the second failure detection process after executing step S8, it executes the second power supply control process.
[0099] When the control unit 70 determines that the second drive circuit is not operating (S3: NO), when the control unit 70 determines that the circuit voltage is not an ON voltage after executing step S4 (S5: NO), or when the control unit 70 determines that the second FET 40 is not ON (S7: NO), the control unit 70 causes the notification unit 68 to perform notification (step S9). When the control unit 70 determines that the second drive circuit is not operating or when the control unit 70 determines that the circuit voltage is not an ON voltage, the control unit 70 instructs the notification unit 68 to output, for example, a signal indicating that the circuit voltage is low to a device (not shown). In the notification performed after the execution of step S4, for example, a signal indicating that a failure has occurred in the second detection circuit 25 is output to the device. When the control unit 70 determines that the second FET 40 is not ON, the control unit 70 instructs the notification unit 68 to output, for example, a signal indicating that a failure has occurred in the second detection circuit 25 or the second drive circuit 42 to the device.
[0100] After executing step S9, the control unit 70 ends the second failure detection process. When the control unit 70 ends the second failure detection process after executing step S9, the control unit 70 does not execute the second power supply control process.
[0101] <Second power supply control process> 6 is a flowchart showing the procedure of the second power supply control process. The second power supply control process is executed in a state where the second FET 40 is off. In the second power supply control process, the control unit 70 determines whether or not to operate the second load 12 (step S11). For example, when an acceptance device (not shown) accepts an instruction to operate the second load 12, the control unit 70 determines to operate the second load 12. When the acceptance device does not accept an instruction to operate the second load 12, the control unit 70 determines not to operate the second load 12.
[0102] When the control unit 70 determines not to operate the second load 12 (S11: NO), it ends the second power supply control process and starts the second power supply control process again. Therefore, when the control unit 70 determines not to operate the second load 12 in step S11, it executes step S11 again.
[0103] When the control unit 70 determines to operate the second load 12 (S11: YES), it acquires circuit voltage information from the A / D conversion unit 62 (step S12). The circuit voltage indicated by the circuit voltage information acquired in step S12 is the circuit voltage when the second FET 40 is off. Next, the control unit 70 determines whether the circuit voltage indicated by the circuit voltage information acquired in step S12 is within a normal range (step S13). The normal range is a range of circuit voltages within which the second drive circuit 42 can appropriately switch the second FET 40 on or off.
[0104] When the control unit 70 determines that the circuit voltage is within the normal range (S13: YES), it instructs the signal output unit 65 to switch the second FET 40 on (step S14), similar to step S6 of the second fault detection process. This causes power to be supplied to the second load 12, and the second load 12 operates. After executing step S14, the control unit 70 acquires circuit voltage information from the A / D conversion unit 62 (step S15). The circuit voltage indicated by the circuit voltage information acquired in step S15 is the circuit voltage when the second FET 40 is on.
[0105] Next, the control unit 70 determines whether or not the circuit voltage indicated by the circuit voltage information acquired in step S15 is within the normal range (step S16). When the control unit 70 determines that the circuit voltage is within the normal range (S16: YES), it determines whether or not to stop the operation of the second load 12 (step S17). For example, when the reception device receives an instruction to stop the second load 12, the control unit 70 determines to stop the operation of the second load 12. When the reception device does not receive an instruction to stop the second load 12, the control unit 70 determines not to stop the operation of the second load 12.
[0106] When the control unit 70 determines not to stop the operation of the second load 12 (S17: NO), it executes step S15 again and repeatedly executes steps S16 and S17 until the circuit voltage becomes a voltage outside the normal range or the operation of the second load 12 is stopped. When the control unit 70 determines that the circuit voltage is not within the normal range (S16: NO) or determines that the operation of the second load 12 is stopped (S17: YES), it instructs the signal output unit 65 to switch the second FET 40 to OFF (step S18) as in step S8 of the second failure detection process, and ends the second power supply control process. After ending the second power supply control process, the control unit 70 executes the second power supply control process again. For example, when the engine stops operating, the control unit 70 stops repeating the second power supply control process.
[0107] As described above, in the second power supply control process, the control unit 70 instructs the signal output unit 65 to switch the second FET 40 on or off according to the circuit voltage indicated by the circuit voltage information output by the second detection circuit 25. The second drive circuit 42 switches the second FET 40 on or off according to the instruction of the control unit 70. Therefore, the second FET 40 is appropriately switched on or off by the second drive circuit 42 according to the circuit voltage detected by the second detection circuit 25. The power supply to the second load 12 is appropriately controlled. The second drive circuit 42 functions as a switching circuit.
[0108] <First failure detection process and first power supply control process> The control unit 70 executes the first fault detection process in the same manner as the second fault detection process. The control unit 70 executes the first power supply control process in the same manner as the second power supply control process. The second FET 40, the second drive circuit 42, the circuit voltage information, the second operating voltage, and the second current information described in the description of the second fault detection process and the second power supply control process correspond to the first FET 30, the first drive circuit 32, the power supply voltage information, the first operating voltage, and the first current information in the first fault detection process and the first power supply control process, respectively.
[0109] Furthermore, the A / D conversion units 62 and 63, the signal output unit 65, and the communication unit 67 described in the second fault detection process and the second power supply control process correspond to the A / D conversion units 60 and 61, the signal output unit 64, and the communication unit 66 in the first fault detection process and the first power supply control process. The normal range in the first power supply control process is a range of power supply voltages in which the first drive circuit 32 can appropriately switch the first FET 30 on or off.
[0110] (Embodiment 2) In the second power supply control process in the first embodiment, the second drive circuit 42 switches the second FET 40 on or off depending on whether the circuit voltage is within the normal range. However, the switching of the second FET 40 is not limited to switching depending on whether the circuit voltage is within the normal range. The following describes the differences between embodiment 2 and embodiment 1. Except for the configuration described below, other configurations are common to embodiment 1. For this reason, components common to embodiment 1 are given the same reference numerals as embodiment 1, and descriptions of those components are omitted.
[0111] <Microcomputer 26 Configuration> In the second embodiment, the signal output unit 65 shown in FIG. 4 outputs a second PWM signal to the second drive circuit 42 instead of the second instruction signal. The second PWM signal indicates a high-level voltage and a low-level voltage, similar to the second instruction signal. As in the first embodiment, the second drive circuit 42 switches the second FET 40 on when the voltage indicated by the second PWM signal switches from a low-level voltage to a high-level voltage. The second drive circuit 42 switches the second FET 40 off when the voltage indicated by the second PWM signal switches from a high-level voltage to a low-level voltage. The second drive circuit 42 maintains the second FET 40 off when the output of the second PWM signal is stopped.
[0112] The second PWM signal periodically switches from a low level voltage to a high level voltage. The duty of the second PWM signal is adjusted by adjusting the timing of switching from the high level voltage to the low level voltage. The duty is the ratio of the period during which the second PWM signal indicates a high level voltage in one period. The second PWM signal may be switched from a high-level voltage to a low-level voltage periodically. In this case, the duty of the second PWM signal is adjusted by adjusting the timing of switching from the low-level voltage to the high-level voltage.
[0113] The signal output unit 65 outputs the second PWM signal and stops output of the second PWM signal in accordance with instructions from the control unit 70. The control unit 70 sets the duty of the second PWM signal in the signal output unit 65. When the signal output unit 65 is outputting the second PWM signal, it adjusts the duty of the second PWM signal to the set value.
[0114] <Second power supply control process> 7 is a flowchart showing the procedure of the second power supply control process in the embodiment 2. In the second power supply control process in the embodiment 2, steps common to the steps of the second power supply control process in the embodiment 1 are given the same reference numerals, and the description of those steps is omitted. The common steps are steps S11, S12, S15, and S17.
[0115] The second power supply control process in the second embodiment is executed in a state in which the second FET 40 is off, as in the first embodiment. In the second power supply control process, the control unit 70 first executes step S11. If the control unit 70 determines not to operate the second load 12 (S11: NO), it ends the second power supply control process and starts the second power supply control process again. Therefore, if the control unit 70 determines not to operate the second load 12 in step S11, it executes step S11 again.
[0116] When the control unit 70 determines to operate the second load 12 (S11: YES), it executes step S12. After acquiring the circuit voltage information from the A / D conversion unit 62 in step S12, the control unit 70 sets the duty of the second PWM signal in the signal output unit 65 to a value corresponding to the circuit voltage indicated by the acquired circuit voltage information (step S21). The circuit voltage indicated by the circuit voltage information acquired in step S12 is the circuit voltage when the second FET 40 is off.
[0117] Next, the control unit 70 instructs the signal output unit 65 to output the second PWM signal to the second drive circuit 42 (step S22). As a result, the second drive circuit 42 alternately switches the second FET 40 on and off in accordance with the voltage indicated by the second PWM signal. As a result, a current flows through the first conductor resistance Rw1, the second FET 40, the second output unit 41, the second load 12, and the ground conductor G in this order, and power is supplied to the second load 12. The average value of the voltage applied to the second load 12 is adjusted to a value corresponding to the duty of the second PWM signal.
[0118] After executing step S22, the control unit 70 executes step S15. In step S15, the control unit 70 acquires circuit voltage information while the second FET 40 is on, that is, while the second PWM signal indicates a high-level voltage. After acquiring the circuit voltage information in step S15, the control unit 70 changes the duty of the second PWM signal to a value according to the circuit voltage indicated by the acquired circuit voltage information (step S23). This changes the duty of the second PWM signal. After executing step S23, the control unit 70 executes step S17.
[0119] When the control unit 70 determines not to stop the operation of the second load 12 (S17: NO), it executes step S15. The control unit 70 repeats changing the duty according to the circuit voltage until it determines to stop the operation of the second load 12. When the control unit 70 determines to stop the operation of the second load 12 (S17: YES), it instructs the signal output unit 65 to stop outputting the second PWM signal (step S24) and ends the second power supply control process. After ending the second power supply control process, the control unit 70 executes the second power supply control process again. For example, when the engine stops operating, the control unit 70 stops repeating the second power supply control process.
[0120] As described above, in the second power supply control process, the control unit 70 changes the duty of the second PWM signal according to the circuit voltage indicated by the circuit voltage information output by the second detection circuit 25. The second drive circuit 42 switches the second FET 40 on or off according to the voltage indicated by the second PWM signal. Therefore, the average value of the voltage applied to the second load 12 is adjusted to an appropriate value, and the power supply to the second load 12 is appropriately controlled. The second load 12 in the second embodiment is, for example, a lamp. The power supply control device 13 and the second detection circuit 25 in the second embodiment have the same effects as the power supply control device 13 and the second detection circuit 25 in the first embodiment.
[0121] <Note> In the second embodiment, the signal output unit 64 may be configured similarly to the signal output unit 65. In this case, the signal output unit 64 outputs a first PWM signal similar to the second PWM signal, and the first drive circuit 32 switches the first FET 30 on or off according to the voltage indicated by the first PWM signal. The control unit 70 executes the first power supply control process similarly to the second power supply control process.
[0122] The second FET 40, the second drive circuit 42, and the circuit voltage information described in the description of the second power supply control process correspond to the first FET 30, the first drive circuit 32, and the power supply voltage information in the first power supply control process. Furthermore, the A / D conversion units 62 and 63 and the signal output unit 65 described in the description of the second power supply control process correspond to the A / D conversion units 60 and 61 and the signal output unit 64 in the first power supply control process.
[0123] (Embodiment 3) In the first embodiment, a current constantly flows through the second detection circuit 25, and the second detection circuit 25 constantly detects the circuit voltage. However, the second detection circuit 25 does not have to constantly detect the circuit voltage. The following describes the differences between embodiment 3 and embodiment 1. Except for the configuration described below, other configurations are common to embodiment 1. Therefore, components common to embodiment 1 are given the same reference numerals as embodiment 1, and descriptions of those components are omitted.
[0124] <Configuration of second detection circuit 25> 8 is a circuit diagram of the second detection circuit 25 in the embodiment 3. The second detection circuit 25 in the embodiment 3 has a current output device 50 and a circuit resistor 51, similar to the embodiment 1. The connection between the current output device 50 and the circuit resistor 51 is similar to the embodiment 1, except for the connection of one end on the upstream side of the device resistance Re.
[0125] The second detection circuit 25 in the third embodiment further includes a first circuit switch 52, a second circuit switch 53, and switch resistors 54, 55, 56, and 57. The first circuit switch 52 is a PNP-type bipolar transistor. The second circuit switch 53 is an NPN-type bipolar transistor.
[0126] The emitter of the first circuit switch 52 is connected to the drain of the second FET 40. The collector of the first circuit switch 52 is connected to one end on the upstream side of the device resistance Re. A switch resistor 54 is connected between the emitter and base of the first circuit switch 52. One end of a switch resistor 55 is connected to the base of the first circuit switch 52. The first circuit switch 52 functions as a connection switch.
[0127] The other end of the switch resistor 55 is connected to the collector of the second circuit switch 53. The emitter of the second circuit switch 53 is connected to the ground conductor G. A switch resistor 56 is connected between the emitter and base of the second circuit switch 53. The base of the second circuit switch 53 is connected to the microcomputer 26 via a switch resistor 57.
[0128] Regarding the second circuit switch 53, the microcomputer 26 adjusts the base voltage, whose reference potential is the potential of the ground conductor G, to a high-level voltage or a low-level voltage. When the microcomputer 26 adjusts the base voltage of the second circuit switch 53 to a high-level voltage, the second circuit switch 53 is switched on. When the second circuit switch 53 is on, the resistance value between the collector and emitter of the second circuit switch 53 is sufficiently small, and a current can flow through the collector and the emitter.
[0129] When the second circuit switch 53 is on, a current flows from one end on the upstream side of the second load circuit F2 to the switch resistors 54 and 55, the second circuit switch 53, and the ground conductor G. This switches the first circuit switch 52 on. When the first circuit switch 52 is on, the resistance value between the emitter and the collector of the first circuit switch 52 is sufficiently small, and a current can flow through the emitter and the collector. When the first circuit switch 52 is on, the current output device 50 draws in a current from the drain of the second FET 40 through the first circuit switch 52, and the second detection circuit 25 detects the circuit voltage. As described above, when the first circuit switch 52 is on, the second detection circuit 25 operates.
[0130] When the microcomputer 26 adjusts the base voltage of the second circuit switch 53 to a low-level voltage, the second circuit switch 53 is switched off. When the second circuit switch 53 is off, the resistance between the collector and emitter of the second circuit switch 53 is sufficiently large, and no current flows through the collector and emitter.
[0131] When the second circuit switch 53 is switched off, the flow of current through the switch resistor 54 stops, and the first circuit switch 52 is switched off. When the first circuit switch 52 is off, the resistance between the emitter and collector of the first circuit switch 52 is large enough that no current flows through the emitter and collector. When the first circuit switch 52 is switched off, the current output device 50 stops drawing current through the first circuit switch 52, and the second detection circuit 25 stops operating.
[0132] As described above, the microcomputer 26 switches the first circuit switch 52 on or off by adjusting the base voltage of the second circuit switch 53 to a high-level voltage or a low-level voltage.
[0133] <Configuration of first detection circuit 24> The first detection circuit 24 in the third embodiment has a first circuit switch 52, a second circuit switch 53, and switch resistors 54, 55, 56, and 57 in the same manner as the second detection circuit 25, in addition to the voltage dividing resistors Rd1 and Rd2. The first circuit switch 52, the second circuit switch 53, and the switch resistors 54, 55, 56, and 57 are connected in the same manner as the second detection circuit 25. Therefore, the first circuit switch 52 is connected between the first load circuit F1 and one end on the upstream side of the voltage dividing resistor Rd1. The emitter of the second circuit switch 53 is connected to one end on the downstream side of the voltage dividing resistor Rd2. The base of the second circuit switch 53 is connected to the microcomputer 26 via the switch resistor 57.
[0134] The microcomputer 26 switches the first circuit switch 52 on or off by adjusting the base voltage of the second circuit switch 53, whose reference potential is the potential of the ground conductor G, to a high-level voltage or a low-level voltage. When the base of the second circuit switch 53 is switched to a high-level voltage, the first circuit switch 52 is switched on and the first detection circuit 24 is activated. When the base of the second circuit switch 53 is switched to a low-level voltage, the first circuit switch 52 is switched off and the first detection circuit 24 stops operating.
[0135] <Microcomputer 26 Configuration> 9 is a block diagram showing the main configuration of the microcomputer 26. The microcomputer 26 in the third embodiment has switching units 72 and 73 in addition to the components of the microcomputer 26 in the first embodiment. The switching units 72 and 73 are connected to an internal bus 71. The switching unit 72 is further connected to the second circuit switch 53 via a switch resistor 57 in the first detection circuit 24. The switching unit 73 is further connected to the second circuit switch 53 via a switch resistor 57 in the second detection circuit 25.
[0136] The switching unit 72 adjusts the base voltage of the second circuit switch 53, whose reference potential is the potential of the ground conductor G, to a high-level voltage or a low-level voltage in the first detection circuit 24. The switching unit 72 switches the first circuit switch 52 on or off in accordance with an instruction from the control unit 70. Specifically, the switching unit 72 adjusts the base voltage of the second circuit switch 53 to a high-level voltage, thereby switching the second circuit switch 53 on. As a result, the first circuit switch 52 is switched on. The switching unit 72 adjusts the base voltage of the second circuit switch 53 to a low-level voltage, thereby switching the second circuit switch 53 off. As a result, the first circuit switch 52 is switched off.
[0137] Similarly, in the second detection circuit 25, the switching unit 73 adjusts the base voltage of the second circuit switch 53, whose reference potential is the potential of the ground conductor G, to a high-level voltage or a low-level voltage. The switching unit 73 switches the first circuit switch 52 on or off in accordance with an instruction from the control unit 70. Specifically, the switching unit 73 switches the second circuit switch 53 on by adjusting the base voltage of the second circuit switch 53 to a high-level voltage. This switches the first circuit switch 52 on. The switching unit 73 switches the second circuit switch 53 off by adjusting the base voltage of the second circuit switch 53 to a low-level voltage. This switches the first circuit switch 52 off.
[0138] <Second failure detection process> 10 is a flowchart showing the procedure of the second fault detection process. As in the first embodiment, the control unit 70 executes the second fault detection process before operating the second load 12. Therefore, the second fault detection process is executed in a state where the second FET 40 is off. If no fault is detected in the second fault detection process, the control unit 70 executes the second power supply control process. The second fault detection process in the third embodiment executes all the steps executed in the second fault detection process in the first embodiment. These steps are given the same reference numerals, and the description of these steps is omitted. The steps executed in the second fault detection process in the first embodiment are steps S1 to S9.
[0139] In the second failure detection process, the control unit 70 first causes the switching unit 72 to switch on the first circuit switch 52 of the second detection circuit 25, thereby activating the second detection circuit 25 (step S31). After executing step S31, the control unit 70 executes step S1 and obtains circuit voltage information from the A / D conversion unit 62.
[0140] After executing step S1, the control unit 70 causes the switching unit 72 to switch off the first circuit switch 52 of the second detection circuit 25, thereby stopping the operation of the second detection circuit 25 (step S32). After executing step S32, the control unit 70 executes step S2.
[0141] <Second power supply control process> 11 is a flowchart showing the procedure of the second power supply control process. As in the first embodiment, the second power supply control process is executed in a state in which the second FET 40 is off. In the second power supply control process in the third embodiment, all steps executed in the second power supply control process in the first embodiment are executed. These steps are given the same reference numerals, and the description of these steps is omitted. The steps executed in the second power supply control process in the first embodiment are steps S11 to S18.
[0142] In the second power supply control process, when it is determined that the second load 12 is to be operated (S11: YES), the control unit 70 causes the switching unit 72 to switch on the first circuit switch 52 of the second detection circuit 25, thereby activating the second detection circuit 25 (step S 41 The control unit 70 performs step S 41 After executing step S12, step S12 is executed.
[0143] After executing step S18, or when it is determined that the circuit voltage indicated by the circuit voltage information acquired in step S12 is not within the normal range (S13: NO), the control unit 70 stops the operation of the second detection circuit 25 by having the switching unit 72 switch off the first circuit switch 52 of the second detection circuit 25 (step S42). After executing step S42, the control unit 70 ends the second power supply control process.
[0144] <First failure detection process and first power supply control process> The control unit 70 executes the first failure detection process in the same manner as the second failure detection process. The control unit 70 executes the first power supply control process in the same manner as the second power supply control process. When it is necessary to acquire power supply voltage information, the control unit 70 instructs the switching unit 72 to switch the first circuit switch 52 of the first detection circuit 24 on. This causes the first detection circuit 24 to operate. When it is no longer necessary to acquire power supply voltage information, the control unit 70 instructs the switching unit 72 to switch the first circuit switch 52 of the first detection circuit 24 off. This causes the first detection circuit 24 to stop operating.
[0145] As described above, in the power supply control device 13 in the third embodiment, the first detection circuit 24 is operated only during the period when it is necessary to detect the power supply voltage. The second detection circuit 25 is operated only during the period when it is necessary to detect the circuit voltage. This reduces unnecessary power consumption. The power supply control device 13 in the third embodiment has the same effects as the power supply control device 13 in the first embodiment.
[0146] (Embodiment 4) In the second embodiment, the microcomputer 26, the first detection circuit 24, and the second detection circuit 25 may be configured in the same manner as in the third embodiment. The following describes the differences between embodiment 4 and embodiment 2. Configurations other than those described below are common to embodiment 2. For this reason, components common to embodiment 2 are given the same reference numerals as embodiment 2, and descriptions of those components are omitted.
[0147] <First failure detection process and second failure detection process> In the power supply control device 13 in the fourth embodiment, the microcomputer 26, the first detection circuit 24, and the second detection circuit 25 are configured similarly to those in the third embodiment. The control unit 70 of the microcomputer 26 executes the first fault detection process and the second fault detection process in the same manner as in the third embodiment.
[0148] <Second power supply control process> 12 is a flowchart showing the procedure of the second power supply control process in embodiment 4. As in embodiment 2, the second power supply control process is executed in a state in which the second FET 40 is off. In the second power supply control process in the fourth embodiment, all steps executed in the second power supply control process in the second embodiment are executed. These steps are given the same reference numerals, and the description of these steps is omitted. The steps executed in the second power supply control process in the second embodiment are steps S11, S12, S15, S17, and S21 to S24.
[0149] In the second power supply control process, when the control unit 70 determines to operate the second load 12 (S11: YES), the control unit 70 operates the second detection circuit 25 by causing the switching unit 72 to switch on the first circuit switch 52 of the second detection circuit 25 (step S51). After executing step S51, the control unit 70 executes step S12.
[0150] After executing step S24, the control unit 70 causes the switching unit 72 to switch off the first circuit switch 52 of the second detection circuit 25, thereby stopping the operation of the second detection circuit 25 (step S52). After executing step S52, the control unit 70 ends the second power supply control process.
[0151] <First power supply control process> The control unit 70 executes the first power supply control process in the same manner as the second power supply control process. When it is necessary to acquire power supply voltage information, the control unit 70 operates the first detection circuit 24. When it is no longer necessary to acquire power supply voltage information, the control unit 70 stops the operation of the first detection circuit 24.
[0152] As described above, in the power supply control device 13 in the fourth embodiment, the first detection circuit 24 is operated only during the period when it is necessary to detect the power supply voltage. The second detection circuit 25 is operated only during the period when it is necessary to detect the circuit voltage. This reduces unnecessary power consumption. The power supply control device 13 in the fourth embodiment has the same effects as the power supply control device 13 in the second embodiment.
[0153] <Note> In the third and fourth embodiments, the first circuit switch 52 is not limited to a PNP bipolar transistor and may be a P-channel FET. The second circuit switch 53 is not limited to an NPN bipolar transistor and may be an N-channel FET. The first circuit switch 52 is not limited to a semiconductor switch and may be a relay contact. The circuit that switches the first circuit switch 52 on and off is not limited to a circuit using the second circuit switch 53.
[0154] (Embodiment 5) The number of DC power supplies included in the power supply system 1 in the first embodiment is one. However, the number of DC power supplies included in the power supply system 1 is not limited to one. The following describes the differences between embodiment 5 and embodiment 1. Except for the configuration described below, other configurations are common to embodiment 1. For this reason, components common to embodiment 1 are given the same reference numerals as embodiment 1, and descriptions of those components are omitted.
[0155] <Power supply system 1 configuration> 13 is a block diagram showing a configuration of a main part of a power supply system 1 according to the fifth embodiment. The power supply system 1 according to the fifth embodiment includes a second DC power supply 14 in addition to the components included in the power supply system 1 according to the first embodiment. The second DC power supply 14 is, for example, a battery. The negative electrode of the second DC power supply 14 is connected to the ground conductor G. The positive electrode of the second DC power supply 14 is connected to one end of the first conductor resistance Rw1. The other end of the first conductor resistance Rw1 is connected in the same manner as in the first embodiment. In the fifth embodiment, the second DC power supply 14, rather than the DC power supply 10, functions as a power supply for the second load 12, the second controller 22, and the second detection circuit 25.
[0156] The power supply control device 13, the first detection circuit 24, and the second detection circuit 25 in the fifth embodiment have the same effects as the power supply control device 13, the first detection circuit 24, and the second detection circuit 25 in the first embodiment, respectively.
[0157] (Embodiment 6) In the first embodiment, the downstream end of the second load 12 is connected to the ground conductor G. However, the downstream end of the second load 12 is not limited to being connected to the ground conductor G. In the following, an embodiment 6 The following describes the differences from embodiment 1. Except for the configuration described below, the other configurations are common to embodiment 1. Therefore, the same reference numerals as in embodiment 1 are used for the components common to embodiment 1, and the description of those components is omitted.
[0158] <Power supply system 1 configuration> 14 is a block diagram showing a configuration of a main part of the power supply system 1 in the sixth embodiment. In the power supply system 1 in the sixth embodiment, one end on the downstream side of the second load 12 is connected to one end on the upstream side of the second conductor resistor Rw2. In the power supply system 1 in the sixth embodiment, when the second FET 40 of the second controller 22 is on, a current flows from the positive electrode of the DC power supply 10 through the first conductor resistor Rw1, the second FET 40, the second output unit 41, the second load 12, the second conductor resistor Rw2, and the ground conductor G in this order. In this case, the circuit voltage is equal to the voltage of the drain of the second FET 40, which is the reference potential of the potential of one end on the downstream side of the second load 12.
[0159] The power supply control device 13, the first detection circuit 24, and the second detection circuit 25 in the sixth embodiment have the same effects as the power supply control device 13, the first detection circuit 24, and the second detection circuit 25 in the first embodiment, respectively.
[0160] <Note> In the second to fourth and sixth embodiments, the power supply system 1 may include a DC power supply 10 and a second DC power supply 14, similarly to the fifth embodiment. In the second to fifth embodiments, similarly to the sixth embodiment, the downstream end of the second load 12 is connected to One end of the upstream side of the second conductor resistor Rw2 may be also possible.
[0161] In the first to sixth embodiments, as long as the second conducting wire W2 is used, it is necessary to detect the circuit voltage, and the second detection circuit 25 operates effectively. For this reason, the first conducting wire W1 may be a conducting wire whose resistance value can be ignored. In the first to sixth embodiments, the connection destination of one end on the downstream side of the second voltage resistor 43 of the second controller 22 is not limited to one end on the upstream side of the second conductor resistor Rw2, and may be the ground conductor G. In this case, the current output by the second output unit 41 does not flow through the second conductor resistor Rw2, and therefore the voltage across the second conductor resistor Rw2 does not fluctuate according to the current output by the second output unit 41.
[0162] In the first to sixth embodiments, the member connected between the positive electrode of the DC power supply 10 and the drain of the second FET 40 may be a resistive member having a resistance component. Therefore, a circuit element whose resistance value cannot be ignored may be arranged in place of the first conducting wire W1. This circuit element is, for example, a semiconductor switch whose on-resistance value cannot be ignored. Similarly, in the first to sixth embodiments, the member connected between the second driving circuit 42 and the ground conductor G may be a resistive member having a resistance component. Therefore, a circuit element whose resistance value cannot be ignored may be arranged in place of the second conducting wire W2.
[0163] In the first to sixth embodiments, the switches for controlling the power supply to the first load 11 and the second load 12 may be semiconductor switches having a smaller resistance between the current input terminal and the current output terminal as the voltage applied to the control terminal increases. Therefore, an IGBT (Insulated Gate Bipolar Transistor) may be used instead of the first FET 30. Similarly, an IGBT may be used instead of the second FET 40.
[0164] The disclosed embodiments 1 to 6 are illustrative in all respects and should not be considered as limiting. The scope of the present invention is defined by the claims, not by the above meaning, and is intended to include all modifications within the scope and meaning equivalent to the claims. [Explanation of symbols]
[0165] 1 Power System 10 DC power supply 11 1st load 12 2nd load 13 Power supply control device 14 Second DC power source 21 First controller 22 Second controller 23 Regulator 24 First detection circuit 25 Second detection circuit 26 Microcomputer 30 1st FET 31 First output section 32 First drive circuit 33 First voltage resistor 40 Second FET (semiconductor switch) 41 Second output section (current output section) 42 Second drive circuit (switching circuit) 43 Second voltage resistor 50 Current output device 51 circuit resistance 52 First circuit switch (connection switch) 53 Second circuit switch 54, 55, 56, 57 Switch Resistance 60, 61, 62, 63 A / D conversion section 64,65 Signal output section 66,67 Communications Department 68 Notification Department 69 Memory section 70 Control section (processing section) 71 Internal Bus 72,73 Switching section A storage medium F1 1st load circuit F2 2nd load circuit G Ground conductor P Computer Program Rd1, Rd2 voltage dividing resistor Re equipment resistance Rw1 1st conductor resistance Rw2 2nd conductor resistance Te transistor (bipolar transistor) W1 1st conductor W2 Second Conductor
Claims
1. a current output device that outputs a current corresponding to a circuit voltage between an input terminal of a semiconductor switch to which a current is input and a ground of a switching circuit that switches the semiconductor switch on or off; A circuit resistance through which the current output by the current output device flows; Equipped with The voltage across the circuit resistor is output. the voltage between the ground of the switching circuit and one end of the downstream side of the circuit resistor is greater than zero volts; the ground of the switching circuit is grounded to a ground conductor via a conductor resistance; a downstream end of the circuit resistor is grounded to the ground conductor; The current output device is A device resistor through which a current flows from an input terminal of the semiconductor switch; a PNP bipolar transistor having an emitter connected to one end downstream of the device resistor; having the potential of the base of the bipolar transistor is the ground of the switching circuit; The current output from the collector of the bipolar transistor flows through the circuit resistor. Detection circuit.
2. a connection switch connected between the input terminal of the semiconductor switch and the current output device, The current output device outputs a current drawn from an input terminal of the semiconductor switch to the circuit resistor.
2. The detection circuit of claim 1.
3. A power supply control device that controls power supply via a semiconductor switch, A switching circuit for switching the semiconductor switch on or off; a detection circuit that detects a circuit voltage between an input terminal of the semiconductor switch to which a current is input and a ground of the switching circuit, and outputs a voltage indicative of the detected circuit voltage; A processing unit for executing processing; Equipped with the processing unit instructs the switching circuit to switch the semiconductor switch on or off in response to the voltage output by the detection circuit; The detection circuit includes: a current output device that outputs a current corresponding to the circuit voltage; A circuit resistance through which the current output by the current output device flows; having The detection circuit outputs a voltage across the circuit resistor; the voltage between the ground of the switching circuit and one end of the downstream side of the circuit resistor is greater than zero volts; the ground of the switching circuit is grounded to a ground conductor via a conductor resistance; a downstream end of the circuit resistor is grounded to the ground conductor; The current output device is A device resistor through which a current flows from an input terminal of the semiconductor switch; a PNP bipolar transistor having an emitter connected to one end downstream of the device resistor; having the potential of the base of the bipolar transistor is the ground of the switching circuit; The current output from the collector of the bipolar transistor flows through the circuit resistor. Power supply control device.
4. a current output unit that outputs a current corresponding to a current flowing through the semiconductor switch, The voltage between the ground of the switching circuit and one end on the downstream side of the circuit resistor varies according to the current output by the current output section. The power supply control device according to claim 3.
5. The switching circuit boosts the circuit voltage and applies the boosted voltage to a control end of the semiconductor switch, thereby switching on the semiconductor switch. The power supply control device according to claim 3 or 4.
6. The processing unit includes: determining whether or not the circuit voltage is an on-voltage that can be boosted to a voltage that switches the semiconductor switch on, based on a voltage output by the detection circuit when the semiconductor switch is off; instructing the switching circuit to switch the semiconductor switch on when it is determined that the circuit voltage is the on-voltage; Determining whether the semiconductor switch is on after instructing the semiconductor switch to be switched on The power supply control device according to claim 5.
7. a current flows from an input terminal of the semiconductor switch to the switching circuit and then to a ground of the switching circuit, thereby supplying power to the switching circuit; The processing unit includes: determining whether the circuit voltage is less than a threshold voltage based on a voltage output by the detection circuit when the semiconductor switch is off; If it is determined that the circuit voltage is less than the threshold voltage, it is determined whether the switching circuit is activated. The power supply control device according to any one of claims 3 to 6.
Citation Information
Patent Citations
Semiconductor device
JP2009010477A
Power module
JP2014158281A
Current detection circuit and DC-DC converter comprising the same
JP2017175746A
Switch control device
JP2018129761A
Power supply control device and power supply control method
JP2019106624A
