WO2021192898A1 - 電流制御装置、スイッチ制御装置、電流制御方法及びコンピュータプログラム - Google Patents

電流制御装置、スイッチ制御装置、電流制御方法及びコンピュータプログラム Download PDF

Info

Publication number
WO2021192898A1
WO2021192898A1 PCT/JP2021/008502 JP2021008502W WO2021192898A1 WO 2021192898 A1 WO2021192898 A1 WO 2021192898A1 JP 2021008502 W JP2021008502 W JP 2021008502W WO 2021192898 A1 WO2021192898 A1 WO 2021192898A1
Authority
WO
WIPO (PCT)
Prior art keywords
constant current
voltage
current
value
circuit
Prior art date
Application number
PCT/JP2021/008502
Other languages
English (en)
French (fr)
Inventor
佳佑 若園
佑樹 杉沢
Original Assignee
株式会社オートネットワーク技術研究所
住友電装株式会社
住友電気工業株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社オートネットワーク技術研究所, 住友電装株式会社, 住友電気工業株式会社 filed Critical 株式会社オートネットワーク技術研究所
Priority to DE112021001769.1T priority Critical patent/DE112021001769T5/de
Priority to US17/906,824 priority patent/US20230370055A1/en
Priority to CN202180020680.1A priority patent/CN115280258A/zh
Publication of WO2021192898A1 publication Critical patent/WO2021192898A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/08Modifications for protecting switching circuit against overcurrent or overvoltage
    • H03K17/082Modifications for protecting switching circuit against overcurrent or overvoltage by feedback from the output to the control circuit
    • H03K17/0822Modifications for protecting switching circuit against overcurrent or overvoltage by feedback from the output to the control circuit in field-effect transistor switches
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current
    • G05F1/46Regulating voltage or current wherein the variable actually regulated by the final control device is dc
    • G05F1/56Regulating voltage or current wherein the variable actually regulated by the final control device is dc using semiconductor devices in series with the load as final control devices
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/08Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess current
    • H02H3/087Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess current for dc applications
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/10Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers
    • H02H7/12Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers for static converters or rectifiers
    • H02H7/122Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers for static converters or rectifiers for inverters, i.e. dc/ac converters
    • H02H7/1225Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers for static converters or rectifiers for inverters, i.e. dc/ac converters responsive to internal faults, e.g. shoot-through
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/14Modifications for compensating variations of physical values, e.g. of temperature
    • H03K17/145Modifications for compensating variations of physical values, e.g. of temperature in field-effect transistor switches
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/0063High side switches, i.e. the higher potential [DC] or life wire [AC] being directly connected to the switch and not via the load

Definitions

  • the present disclosure relates to current control devices, switch control devices, current control methods and computer programs.
  • This application claims priority based on Japanese Application No. 2020-051503 filed on March 23, 2020, and incorporates all the contents described in the Japanese application.
  • Patent Document 1 discloses a switch control device for a vehicle that controls the power supply from the battery to the load.
  • a semiconductor switch is arranged in the current path of the current flowing from the battery to the load.
  • the power supply to the load is controlled by switching the semiconductor switch on or off.
  • One end of the resistor is connected to the upstream side of the semiconductor switch.
  • the switch control device described in Patent Document 1 includes a constant current circuit, and the constant current circuit draws a constant current from a battery via a resistor.
  • the current threshold value is represented by (resistance value of resistance) / (constant current) / (on resistance value of semiconductor switch). " ⁇ " Represents a product.
  • the on-resistance value is the resistance value of the semiconductor switch when the semiconductor switch is on.
  • the current threshold is preferably constant.
  • the on-resistance value of the semiconductor switch changes depending on the temperature of the semiconductor switch. Therefore, in the switch control device described in Patent Document 1, the constant current is changed according to the ambient temperature of the semiconductor switch, which fluctuates in the same manner as the temperature of the semiconductor switch. As a result, a configuration in which the fluctuation range of the current threshold value according to the temperature of the semiconductor switch is small is realized.
  • the current control device includes a constant current circuit in which a voltage is applied and draws a constant current according to the applied voltage, and a processing unit that executes processing. , The constant current value drawn by the constant current circuit is set, the voltage applied to the constant current circuit is adjusted to a voltage corresponding to the set set value, and the current indicating the constant current drawn by the constant current circuit is adjusted. Information is acquired, and it is determined whether or not to adjust the voltage applied to the constant current circuit based on the difference value between the constant current indicated by the acquired current information and the set value.
  • a semiconductor switch through which a current flows, a second resistor connected to one end on the upstream side of the semiconductor switch, and a switch voltage at one end on the downstream side of the semiconductor switch are used.
  • the second resistor has a switching unit that switches the semiconductor switch off when it is less than the resistance voltage at one end on the downstream side of the second resistor, and a constant current corresponding to the applied voltage is applied.
  • the processing unit includes a constant current circuit that draws in through the resistor of the above, and a processing unit that executes processing. The processing unit sets a value of the constant current that the constant current circuit draws in, and the voltage applied to the constant current circuit.
  • a step of setting the constant current value of the constant current circuit in which a voltage is applied and a constant current corresponding to the applied voltage is drawn and a step of applying the constant current to the constant current circuit.
  • a step of adjusting the voltage to a voltage corresponding to the set set value a step of acquiring current information indicating the constant current drawn by the constant current circuit, and a constant current indicated by the acquired current information and the set value.
  • the computer executes a step of determining whether or not to adjust the voltage applied to the constant current circuit based on the difference value.
  • the computer program includes a step of setting the constant current value of the constant current circuit that draws a constant current corresponding to the applied voltage, and a voltage applied to the constant current circuit. The difference between the step of adjusting the voltage according to the set value, the step of acquiring the current information indicating the constant current drawn by the constant current circuit, and the constant current indicated by the acquired current information and the set value.
  • the computer is made to perform a step of determining whether or not to adjust the voltage applied to the constant current circuit based on the value.
  • the present disclosure can be realized not only as a current control device provided with such a characteristic processing unit, but also as a current control method in which the characteristic processing is a step, or such a step can be performed on a computer. It can be realized as a computer program for execution. Further, the present disclosure can be realized as a semiconductor integrated circuit that realizes a part or all of the current control device, or can be realized as a current control system including the current control device.
  • FIG. It is a block diagram which shows the main part structure of the power supply system in Embodiment 1.
  • FIG. It is a timing chart for demonstrating the operation of a semiconductor switch. It is a graph which shows the relationship between the on-resistance value and the ambient temperature of a semiconductor switch.
  • It is a circuit diagram which shows the main part structure of a constant current circuit and a current regulator.
  • It is a block diagram which shows the main part structure of a microcomputer. It is a graph which shows the relationship between the rate of change of an on-resistance value and the ambient temperature of a semiconductor switch.
  • a processing unit having a CPU Central Processing Unit
  • a constant current value may be set according to the ambient temperature. In this case, the constant current drawn by the constant current circuit is adjusted based on the set value set by the processing unit.
  • the current threshold value is not adjusted to the preset target value, so there is a possibility that the semiconductor switch will not switch from on to off at an appropriate timing.
  • the constant current drawn by the constant current circuit can be matched with the set value set by the processing unit.
  • the current control device includes a constant current circuit to which a voltage is applied and draws a constant current according to the applied voltage, and a processing unit for executing the processing.
  • the processing unit sets the value of the constant current drawn by the constant current circuit, adjusts the voltage applied to the constant current circuit to a voltage corresponding to the set set value, and adjusts the constant current drawn by the constant current circuit. Is acquired, and it is determined whether or not to adjust the voltage applied to the constant current circuit based on the difference value between the constant current indicated by the acquired current information and the set value.
  • the constant current circuit includes an NPN type bipolar transistor in which a collector is arranged on the upstream side of the emitter in the constant current current path, and the current path.
  • the processing unit adjusts the base voltage of the bipolar transistor of the constant current circuit to a voltage corresponding to a set value, which has a resistor arranged on the downstream side of the bipolar transistor.
  • the current information is a voltage between both ends of the resistor.
  • the current control device includes a signal output unit that outputs a PWM signal and a smoothing circuit that smoothes the voltage of the PWM signal output by the signal output unit, and the smoothing circuit smoothes the voltage.
  • the voltage is applied to the base of the bipolar transistor, and the processing unit adjusts the duty of the PWM signal to a duty according to the set set value.
  • the switch control device includes a semiconductor switch through which a current flows, a second resistor connected to one end on the upstream side of the semiconductor switch, and a switch at one end on the downstream side of the semiconductor switch.
  • a switching unit that switches the semiconductor switch off when the voltage is less than the resistance voltage at one end on the downstream side of the second resistor, and a constant current corresponding to the applied voltage.
  • a constant current circuit that draws in through the second resistor and a processing unit that executes processing are provided, and the processing unit sets a value of the constant current that the constant current circuit draws in and applies it to the constant current circuit.
  • the current voltage is adjusted to a voltage corresponding to the set value, current information indicating the constant current drawn by the constant current circuit is acquired, and the difference value between the constant current indicated by the acquired current information and the set value is set. Based on the above, it is determined whether or not to adjust the voltage applied to the constant current circuit.
  • the switch control device includes a temperature detection unit that detects the ambient temperature of the semiconductor switch, and the processing unit determines the temperature according to the ambient temperature detected by the temperature detection unit. Set the set value of the constant current drawn by the current circuit.
  • a step of setting the constant current value of the constant current circuit to which a voltage is applied and a constant current corresponding to the applied voltage is set, and the constant current circuit.
  • the computer executes a step of determining whether or not to adjust the voltage applied to the constant current circuit based on the difference value from the value.
  • the computer program includes a step of setting a constant current value of a constant current circuit in which a voltage is applied and a constant current corresponding to the applied voltage is set, and a step of setting the constant current value in the constant current circuit.
  • the computer is made to perform a step of determining whether or not to adjust the voltage applied to the constant current circuit based on the difference value between.
  • the constant current drawn by the constant current circuit when the constant current drawn by the constant current circuit is different from the set value, it is constant by adjusting the voltage applied to the constant current circuit. Make fine adjustments to the current. Therefore, the constant current drawn by the constant current circuit can be matched with the set value set by the processing unit.
  • the meaning of "match” is not limited to the exact meaning.
  • the difference value between the constant current and the set value is less than a certain value, it may be considered that the constant current and the set value match.
  • the constant value is, for example, a value that can be regarded as an error.
  • the resistance value between the collector and the emitter of the bipolar transistor is adjusted so that the current flowing through the collector and the emitter becomes a current determined by the voltage of the base of the bipolar transistor. , Constant current flows. The higher the base voltage, the larger the constant current.
  • the voltage between both ends of the resistor is proportional to the constant current drawn by the constant current circuit.
  • the constant current is calculated based on the voltage between both ends of the resistor.
  • the voltage of the base of the bipolar transistor is adjusted by adjusting the duty of the PWM signal.
  • the fact that the switch voltage is less than the resistance voltage means that the current flowing through the semiconductor switch is (resistance value of the second resistance), (constant current) / (semiconductor). It corresponds to exceeding the current threshold represented by the on-resistance value of the switch). " ⁇ " Means a product. When the current flowing through the semiconductor switch exceeds the current threshold value, the semiconductor switch is switched off. This prevents an overcurrent that greatly exceeds the current threshold from flowing through the semiconductor switch.
  • the on-resistance value of the semiconductor switch fluctuates according to the temperature of the semiconductor switch, that is, the ambient temperature of the semiconductor switch.
  • the constant current setting value is set according to the ambient temperature of the semiconductor switch. Therefore, the current threshold value represented by (resistance value of the second resistance) / (constant current) / (on resistance value of the semiconductor switch) can be maintained at a constant value independent of the ambient temperature of the semiconductor switch. ..
  • FIG. 1 is a block diagram showing a main configuration of the power supply system 1 according to the first embodiment.
  • the power supply system 1 is preferably mounted on the vehicle and includes a switch control device 10, a battery 11, and a load 12.
  • the switch control device 10 has a semiconductor switch 20.
  • the semiconductor switch 20 is an N-channel MOSFET (Metal Oxide Semiconductor Field Effect Transistor).
  • the drain of the semiconductor switch 20 is connected to the positive electrode of the battery 11.
  • the source of the semiconductor switch 20 is connected to one end of the load 12.
  • the negative electrode of the battery 11 and the other end of the load 12 are grounded.
  • the semiconductor switch 20 When the semiconductor switch 20 is on, a current flows from the positive electrode of the battery 11 to the load 12 via the drain and source of the semiconductor switch 20. The battery 11 supplies electric power to the load 12 via the semiconductor switch 20. When the semiconductor switch 20 is off, no current flows through the drain and source of the semiconductor switch 20. Therefore, no power is supplied to the load 12.
  • the load 12 is an electric device mounted on the vehicle. The load 12 operates while the load 12 is being powered. When the power supply to the load 12 is stopped, the load 12 stops the operation.
  • the switch control device 10 controls the power supply from the battery 11 to the load 12 by switching the semiconductor switch 20 on or off.
  • the drain of the semiconductor switch 20 is one end on the upstream side of the semiconductor switch 20.
  • the source of the semiconductor switch 20 is one end on the downstream side of the semiconductor switch 20.
  • the switch control device 10 includes a device resistance 21, a temperature detection unit 22, a drive circuit 23, a controller 24, a comparator 25, and a current control device 26.
  • the comparator 25 has a positive end, a negative end, and an output end.
  • the current control device 26 includes a constant current circuit 30 and a current regulator 31.
  • the drain of the semiconductor switch 20 is connected to one end of the device resistor 21.
  • the device resistor 21 functions as a second resistor.
  • the other end of the device resistor 21 is connected to the constant current circuit 30.
  • the constant current circuit 30 is grounded.
  • the constant current circuit 30 is connected to the current regulator 31.
  • the current regulator 31 is further connected to the temperature detection unit 22.
  • the gate of the semiconductor switch 20 is connected to the drive circuit 23.
  • the drive circuit 23 is further separately connected to the controller 24 and the output terminal of the comparator 25.
  • the positive end of the comparator 25 is connected to the source of the semiconductor switch 20.
  • the negative end of the comparator 25 is connected to the other end of the device resistor 21.
  • the semiconductor switch 20 when the gate voltage whose reference potential is the source potential is equal to or higher than a constant voltage value, the semiconductor switch 20 is on. In the semiconductor switch 20, when the voltage of the gate whose reference potential is the potential of the source is less than a constant voltage, the semiconductor switch 20 is off.
  • Each of the controller 24 and the comparator 25 outputs a high level voltage or a low level voltage to the drive circuit 23.
  • the drive circuit 23 switches the semiconductor switch 20 on or off according to the output voltages of the controller 24 and the comparator 25.
  • the semiconductor switch 20 When the semiconductor switch 20 is switched on, the drive circuit 23 raises the voltage of the gate whose reference potential is the ground potential. As a result, the voltage of the gate whose reference potential is the potential of the source rises, and becomes a voltage equal to or higher than a certain voltage. As a result, the semiconductor switch 20 is switched on.
  • the drive circuit 23 lowers the voltage at the gate of the semiconductor switch 20 whose reference potential is the ground potential. As a result, the voltage of the gate whose reference potential is the potential of the source is lowered, and the voltage becomes less than a constant voltage. As a result, the semiconductor switch 20 is switched off.
  • the source voltage of the semiconductor switch 20 will be referred to as the switch voltage.
  • the voltage at one end of the device resistance 21 on the constant current circuit 30 side is referred to as a resistance voltage.
  • the reference potential of the switch voltage and the resistance voltage is the ground potential.
  • the constant current circuit 30 of the current control device 26 draws a constant current from the positive electrode of the battery 11 via the device resistor 21.
  • the constant current drawn into the constant current circuit 30 returns to the negative electrode of the battery 11.
  • the current regulator 31 applies a voltage to the constant current circuit 30.
  • the constant current circuit 30 draws a constant current according to the voltage applied by the current regulator 31.
  • Current information indicating the constant current drawn by the constant current circuit 30 is output from the constant current circuit 30 to the current regulator 31.
  • the temperature detection unit 22 detects the ambient temperature of the semiconductor switch 20 and outputs temperature information indicating the detected ambient temperature to the current regulator 31.
  • the current regulator 31 adjusts the voltage applied to the constant current circuit 30 based on the temperature information and the current information input from the temperature detection unit 22 and the constant current circuit 30. By adjusting the voltage applied to the constant current circuit 30, the constant current drawn by the constant current circuit 30 is adjusted.
  • the output voltage of the battery 11 is described as Vd.
  • the switch current flowing through the semiconductor switch 20 is referred to as Is.
  • the constant current drawn by the constant current circuit 30 is referred to as Ic.
  • Is and Ic are numerical values.
  • the on-resistance value of the semiconductor switch 20 is described as Ron.
  • the on-resistance value is the resistance value between the drain and the source of the semiconductor switch 20 when the semiconductor switch 20 is on.
  • the resistance value of the device resistance 21 is described as Rc.
  • the switch voltage is represented by (Vd-Ron ⁇ Is).
  • the resistance voltage is represented by (Vd-Rc ⁇ Ic).
  • Vd, Is, Ic, Ron and Rc are positive values.
  • the current threshold value represented by Rc / Ic / Ron is described as Is.
  • the fact that the switch voltage is greater than or equal to the resistance voltage means that the switch current Is is less than or equal to the current threshold value Is. Since the resistance value Rc, the constant current Ic, and the on-resistance value Ron of the device resistance 21 are positive values, the current threshold value Is is also a positive value.
  • the comparator 25 outputs a high level voltage to the drive circuit 23 when the switch current Is is equal to or less than the current threshold value Is.
  • the comparator 25 outputs a low level voltage to the drive circuit 23 when the switch current Is exceeds the current threshold value Is.
  • the switch voltage When the semiconductor switch 20 is off, the switch voltage is zero V.
  • the resistance voltage is represented by Vd-Rc ⁇ Ic. This value is a positive value. Therefore, when the semiconductor switch 20 is off, the switch voltage is less than the resistance voltage, so that the comparator 25 outputs a low level voltage.
  • FIG. 2 is a timing chart for explaining the operation of the semiconductor switch 20.
  • FIG. 2 shows the transition of the state of the semiconductor switch 20, the transition of the output voltage of the comparator 25 and the controller 24, and the transition of the switch current. Time is shown on the horizontal axis of these transitions.
  • the high level voltage and the low level voltage are indicated by "H” and "L", respectively.
  • the drive circuit 23 keeps the semiconductor switch 20 off.
  • the switch current is zero A and the comparator 25 outputs a low level voltage to the drive circuit 23.
  • the drive circuit 23 switches the semiconductor switch 20 from off to on. As a result, a current flows from the positive electrode of the battery 11 to the load 12 via the semiconductor switch 20.
  • the switch current is equal to or less than the current threshold value Is. Therefore, the comparator 25 switches the output voltage from the low level voltage to the high level voltage.
  • the drive circuit 23 switches the semiconductor switch 20 from on to off. As a result, the current flow is stopped through the semiconductor switch 20. As a result, the switch current drops to zero A, and the output voltage of the comparator 25 switches from the high level voltage to the low level voltage.
  • the drive circuit 23 switches the semiconductor switch 20 on or off according to the output voltage of the controller 24.
  • the controller 24 outputs a high level voltage to the drive circuit 23.
  • the controller 24 outputs a low level voltage to the drive circuit 23.
  • the semiconductor switch 20 when the controller 24 outputs a high level voltage, the semiconductor switch 20 is on, and a switch current flows through the semiconductor switch 20.
  • the switch current is less than the current threshold Is, and the comparator 25 outputs a high level voltage.
  • the comparator 25 switches the output voltage from the high level voltage to the low level voltage.
  • the drive circuit 23 switches the semiconductor switch 20 off.
  • the switch current drops to zero A.
  • an overcurrent that greatly exceeds the current threshold value Is is prevented from flowing through the semiconductor switch 20.
  • the drive circuit 23 functions as a switching unit. In the example of FIG. 2, after the semiconductor switch 20 is switched off, the semiconductor switch 20 is kept off. As described above, when the semiconductor switch 20 is off, the output voltage of the comparator 25 is a low level voltage.
  • FIG. 3 is a graph showing the relationship between the on-resistance value Ron and the ambient temperature of the semiconductor switch 20.
  • the on-resistance value Ron of the semiconductor switch 20 fluctuates according to the temperature of the semiconductor switch 20.
  • the ambient temperature of the semiconductor switch 20 fluctuates in the same manner as the temperature of the semiconductor switch 20. Therefore, the on-resistance value Ron of the semiconductor switch 20 fluctuates according to the ambient temperature of the semiconductor switch 20. As shown in FIG. 3, the on-resistance value Ron increases when the ambient temperature of the semiconductor switch 20 rises.
  • the drive circuit 23 may mistakenly switch the semiconductor switch 20 off even though the switch current is a normal current.
  • the current regulator 31 changes the constant current Ic drawn by the constant current circuit 30 in the same manner as the on-resistance value Ron according to the ambient temperature of the semiconductor switch 20 detected by the temperature detection unit. Let me. Specifically, when the on-resistance value Ron rises to a 1.2-fold value due to a change in the ambient temperature of the semiconductor switch 20, the current regulator 31 adjusts the constant current Ic to a 1.2-fold value. As a result, the current threshold value Is can be maintained at a constant target value independent of the ambient temperature of the semiconductor switch 20.
  • the resistance value Rc of the device resistance 21 is constant regardless of the ambient temperature of the semiconductor switch 20.
  • the current regulator 31 sets the value of the constant current Ic according to the ambient temperature of the semiconductor switch 20 indicated by the temperature information input from the temperature detection unit 22, and sets the voltage applied to the constant current circuit 30. Adjust to the voltage corresponding to the set value. As a result, the constant current circuit 30 adjusts the constant current. When the constant current indicated by the current information input from the constant current circuit 30 is different from the set value, the current regulator 31 finely adjusts the constant current by adjusting the voltage applied to the constant current circuit 30. ..
  • FIG. 4 is a circuit diagram showing a main configuration of the constant current circuit 30 and the current regulator 31.
  • the constant current circuit 30 has a transistor 40 and a circuit resistor 41.
  • the transistor 40 is an NPN type bipolar transistor.
  • the collector of the transistor 40 is connected to the other end of the device resistor 21.
  • the emitter of the transistor 40 is connected to the current regulator 31 and one end of the circuit resistor 41.
  • the other end of the circuit resistor 41 is grounded.
  • the base of the transistor 40 is connected to the current regulator 31.
  • the constant current flows in the order of the device resistor 21, the collector of the transistor 40, the emitter of the transistor 40, and the circuit resistor 41. Therefore, in the constant current path, the collector of the transistor 40 is arranged on the upstream side of the emitter of the transistor 40. In the constant current path, the circuit resistor 41 is arranged on the downstream side of the transistor 40.
  • the current regulator 31 applies a voltage whose reference potential is the ground potential to the base of the transistor 40.
  • Vb the voltage at the base of the transistor 40 whose reference potential is the ground potential
  • Ve The voltage of the emitter of the transistor 40 whose reference potential is the ground potential
  • Vbe The voltage between the base and the emitter of the transistor 40.
  • the voltage Vbe is substantially constant. When the transistor 40 is made of silicon, the voltage Vbe is about 0.6V.
  • the resistance value between the collector and the emitter of the transistor 40 is adjusted so that the voltage Ve of the emitter matches (Vb-Vbe). Specifically, when the base voltage Vb rises, the resistance value between the collector and the emitter of the transistor 40 decreases. As a result, the combined resistance value of the device resistor 21, the transistor 40, and the circuit resistor 41 decreases, and the current flowing through the circuit resistor 41 from the positive electrode of the battery 11 increases. As a result, the voltage Ve of the emitter rises to (Vb-Vbe).
  • the constant current is adjusted to (Vb-Vbe) / Rk.
  • the resistance value between the collector and the emitter of the transistor 40 decreases, and the constant current is maintained at (Vb-Vbe) / Rk.
  • the resistance value between the collector and the emitter of the transistor 40 rises, and the constant current is maintained at (Vb-Vbe) / Rk.
  • the current amplification factor represented by (current flowing into the collector) / (current flowing into the base) is described as hfe. Since the current flowing into the collector is a constant current Ic, the current flowing from the current regulator 31 to the base of the transistor 40 is represented by Ic / hfe. Therefore, the current output from the emitter of the transistor 40 toward the circuit resistor 41 is represented by (1 + hfe) ⁇ Ic / hfe.
  • the current amplification factor hfe, the voltage Vbe, and the resistance value Rk are substantially constant. Therefore, the constant current Ic can be adjusted by adjusting the voltage Vb of the base.
  • the current regulator 31 adjusts the base voltage Vb. The higher the base voltage Vb, the larger the constant current Ic.
  • the emitter voltage Ve is proportional to the constant current Ic. Since the resistance value Rk and the current amplification factor hfe are constants, the constant current Ic can be calculated based on the voltage Ve of the emitter. As the current information indicating the constant current Ic, the voltage Ve of the emitter, that is, the voltage between both ends of the circuit resistor 41 is output to the current regulator 31.
  • the current regulator 31 includes a microcomputer (hereinafter referred to as a microcomputer) 50 and a smoothing circuit 51.
  • the smoothing circuit 51 has a first resistor 60, a second resistor 61, and a capacitor 62.
  • the microcomputer 50 is connected to the temperature detection unit 22 and the emitter of the transistor 40.
  • the microcomputer 50 is further connected to one end of the first resistor 60 and the second resistor 61 of the smoothing circuit 51.
  • the other end of the first resistor 60 is connected to the base of the transistor 40 and one end of the capacitor 62.
  • the other ends of each of the first resistor 60 and the capacitor 62 are grounded.
  • the microcomputer 50 outputs a PWM (Pulse Width Modulation) signal composed of a high level voltage and a low level voltage to the smoothing circuit 51.
  • the voltage of the PWM signal is a voltage at which the reference potential is the ground potential.
  • the high level voltage of the PWM signal is a positive constant voltage, for example, 5V.
  • the low level voltage of the PWM signal is a voltage lower than the high level voltage, for example, zero V.
  • the microcomputer 50 adjusts the ratio of the PWM signal to the period during which the voltage is the high level voltage, that is, the duty in one cycle.
  • Duty is a value that is greater than or equal to zero and less than or equal to 1. The larger the duty, the longer the period during which the voltage is the high level voltage in one cycle.
  • the capacitor 62 smoothes the voltage of the PWM signal by charging and discharging.
  • the first and second time constants are large enough. Therefore, the voltage between both ends of the capacitor 62 substantially matches the average value of the voltages of the PWM signals in one cycle.
  • the voltage smoothed by the capacitor 62 that is, the voltage between both ends of the capacitor 62 is applied to the base of the transistor 40.
  • the voltage Vb at the base of the transistor 40 changes according to the duty of the PWM signal. The larger the duty of the PWM signal, the higher the voltage Vb at the base of the transistor 40.
  • the microcomputer 50 adjusts the base voltage Vb by adjusting the duty of the PWM signal. Temperature information is output from the temperature detection unit 22 to the microcomputer 50. Current information is output from the constant current circuit 30 to the microcomputer 50. The microcomputer 50 adjusts the duty of the PWM signal, that is, the base voltage Vb, based on the temperature information and the current information. A current flows through the first resistor 60 or from the capacitor 62 to the base of the transistor 40.
  • FIG. 5 is a block diagram showing a main configuration of the microcomputer 50.
  • the microcomputer 50 includes A / D conversion units 70 and 71, a signal output unit 72, a storage unit 73, and a control unit 74. These are connected to the internal bus 75.
  • the A / D conversion unit 70 is further connected to the temperature detection unit 22.
  • the A / D conversion unit 71 is further connected to one end of the circuit resistance 41 of the constant current circuit 30.
  • the signal output unit 72 is further connected to one end of the capacitor 62 of the smoothing circuit 51.
  • Analog temperature information is output from the temperature detection unit 22 to the A / D conversion unit 70.
  • the analog temperature information is, for example, a voltage that fluctuates according to the ambient temperature of the semiconductor switch 20.
  • the A / D conversion unit 70 converts the input analog temperature information into digital temperature information.
  • the control unit 74 acquires digital temperature information from the A / D conversion unit 70.
  • the ambient temperature of the semiconductor switch 20 indicated by the temperature information acquired by the control unit 74 substantially coincides with the ambient temperature of the semiconductor switch 20 at the time of acquisition.
  • the signal output unit 72 outputs a PWM signal toward the smoothing circuit 51.
  • the duty of the PWM signal is adjusted by the control unit 74.
  • the smoothing circuit 51 smoothes the voltage of the PWM signal output by the signal output unit 72.
  • Analog current information is output from the constant current circuit 30 to the A / D conversion unit 71.
  • the analog current information is the voltage of the emitter of the transistor 40, as described above.
  • the A / D conversion unit 71 converts the input analog current information into digital current information.
  • the control unit 74 acquires digital current information from the A / D conversion unit 71.
  • the constant current indicated by the current information acquired by the control unit 74 substantially coincides with the constant current at the time of acquisition.
  • the storage unit 73 is a non-volatile memory.
  • the computer program P is stored in the storage unit 73.
  • the control unit 74 has a processing element that executes processing, for example, a CPU (Central Processing Unit), and functions as a processing unit.
  • the processing element of the control unit 74 executes the current adjustment process and the fine adjustment process by executing the computer program P.
  • the current adjustment process is a process of adjusting the constant current to a set value.
  • the fine adjustment process is a process for finely adjusting a constant current.
  • the computer program P may be stored in the storage medium A so that the processing element of the control unit 74 can be read.
  • the computer program P read from the storage medium A by a reading device (not shown) is written in the storage unit 73.
  • the storage medium A is an optical disk, a flexible disk, a magnetic disk, a magnetic 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 in the storage unit 73.
  • the number of processing elements included in the control unit 74 is not limited to 1, and may be 2 or more.
  • the plurality of processing elements may jointly execute the current adjustment process, the fine adjustment process, and the like according to the computer program P.
  • the storage unit 73 stores reference value data indicating a reference value regarding the on-resistance value of the semiconductor switch 20.
  • the reference value is the on-resistance value of the semiconductor switch 20 when the ambient temperature of the semiconductor switch 20 is a predetermined temperature, for example, 27 degrees.
  • the manufacturer of the switch control device 10 measures the on-resistance value of the switch at a predetermined temperature in advance for the switch used as the semiconductor switch 20 of the switch control device 10, and uses the data indicating the measured on-resistance value as a reference. It is stored in the storage unit 73 as value data.
  • the storage unit 73 further stores set value data indicating a constant current set value.
  • the set value indicated by the set value data is updated by the control unit 74.
  • the storage unit 73 further stores a graph showing the relationship between the rate of change of the on-resistance value and the ambient temperature of the semiconductor switch 20, and a graph showing the relationship between the duty of the PWM signal and the set value of the constant current. ..
  • FIG. 6 is a graph showing the relationship between the rate of change of the on-resistance value and the ambient temperature of the semiconductor switch.
  • the rate of change of the on-resistance value is the ratio to the reference value indicated by the reference value data.
  • the rate of change of the on-resistance value is X.
  • X is a positive real number. As shown in FIG. 6, the rate of change of the on-resistance value increases as the ambient temperature of the semiconductor switch 20 increases.
  • FIG. 7 is a graph showing the relationship between the set values of duty and constant current.
  • the PWM signal duty setting value is proportional to the constant current setting value.
  • the larger the constant current setting value the larger the duty of the PWM signal.
  • the transistor 40 no current flows through the collector and the emitter of the transistor 40 unless the base voltage whose reference potential is the ground potential exceeds a certain value. Therefore, there are a plurality of values as the duty setting values when the constant current setting value is zero A.
  • a graph showing the relationship between the rate of change of the on-resistance value and the ambient temperature of the semiconductor switch 20 and a graph showing the relationship between the set values of the duty and the constant current are stored in advance in the storage unit 73.
  • FIG. 8 is a flowchart showing the procedure of the current adjustment process.
  • the control unit 74 periodically executes the current adjustment process.
  • the control unit 74 acquires temperature information from the A / D conversion unit 71 (step S1).
  • the control unit 74 sets the rate of change of the on-resistance value of the semiconductor switch 20 to the rate of change corresponding to the ambient temperature of the semiconductor switch 20 indicated by the temperature information acquired in step S1 (step S2).
  • step S2 for example, the control unit 74 sets the rate of change as the ambient temperature indicated by the temperature information acquired in step S1 in a graph (see FIG. 6) showing the relationship between the rate of change of the on-resistance value and the ambient temperature of the semiconductor switch. Set to the rate of change corresponding to.
  • the method of setting the rate of change is not limited to the method using a graph, and may be, for example, a method using a relational expression showing the relationship between the rate of change of the on-resistance value and the ambient temperature of the semiconductor switch. ..
  • the control unit 74 substitutes the ambient temperature indicated by the temperature information acquired in step S1 into the variable of the ambient temperature in the relational expression, and calculates the rate of change.
  • the control unit 74 sets the rate of change of the on-resistance value to the calculated rate of change.
  • the control unit 74 calculates the on-resistance value of the semiconductor switch 20 by multiplying the rate of change set in step S2 by the reference value indicated by the reference value data (step S3).
  • the control unit 74 sets the set value of the constant current drawn by the constant current circuit 30 to the constant current which is the target value for which the current threshold value is set in advance (step S4).
  • the current threshold value Is is represented by Rc ⁇ Ic / Roh.
  • Rc, Ic, and Ron are the resistance value, constant current, and on-resistance value of the device resistance 21, respectively.
  • the target value of the current threshold value Is is described as Ig
  • the constant current Ic at which the current threshold value Is is the target value Ig is represented by Ron ⁇ Ig / Rc.
  • step S4 the control unit 74 sets the constant current set value to Ron ⁇ Ig / Rc.
  • the target value Ig and the resistance value Rc are constants.
  • the on-resistance value Ron is the on-resistance value calculated in step S3.
  • the on-resistance value Ron is the reference value
  • the constant current Ic at which the current threshold value Is is the target value Ig is described as the reference current value. It is assumed that the on-resistance value Ron becomes X times the reference value according to the fluctuation of the ambient temperature of the semiconductor switch 20.
  • the set value of the constant current is set to X times the reference current value.
  • X is a positive real number.
  • the set value set in step S4 is also a value corresponding to the ambient temperature of the semiconductor switch 20.
  • control unit 74 updates the set value of the constant current indicated by the set value data to the set value set in step S4 (step S5), and sets the duty set value of the PWM signal by the set value data.
  • the duty is set to the set value corresponding to the current set value (step S6).
  • control unit 74 sets the duty, for example, the constant current set value indicated by the set value data in the graph (see FIG. 7) showing the relationship between the duty set value and the constant current set value. Set to the setting value corresponding to.
  • the method of setting the duty setting value is not limited to the method using a graph, and may be, for example, a method using a relational expression showing the relationship between the duty setting value and the constant current setting value. ..
  • the control unit 74 substitutes the set value indicated by the set value data into the variable of the set value of the constant current in the relational expression, and calculates the set value of the duty.
  • the control unit 74 sets the set value of the duty to the calculated set value.
  • the control unit 74 adjusts the duty of the PWM signal output by the signal output unit 72 to the set value of the duty set in step S6 (step S7).
  • the base voltage of the transistor 40 applied by the current regulator 31 is adjusted to a voltage corresponding to the duty set value set in step S6, that is, the constant current set value set in step S4. ..
  • the higher the duty the higher the voltage of the base.
  • the constant current is adjusted to a value corresponding to the adjusted base voltage. As mentioned above, the constant current increases as the base voltage increases.
  • the control unit 74 ends the current adjustment process after executing step S7.
  • the control unit 74 adjusts the constant current to a value corresponding to the on-resistance value of the semiconductor switch 20 by periodically executing the current adjustment process.
  • FIG. 9 is an explanatory diagram of the effect of the current adjustment process.
  • FIG. 9 shows a graph showing the relationship between the on-resistance value and the ambient temperature, a graph showing the relationship between the constant current and the ambient temperature, and a graph showing the relationship between the current threshold value and the ambient temperature.
  • the ambient temperature is the ambient temperature of the semiconductor switch 20.
  • the control unit 74 periodically executes the current adjustment process. As a result, the constant current fluctuates in the same manner as the on-resistance value according to the ambient temperature of the semiconductor switch 20. Specifically, when the on-resistance value becomes X times the reference value due to fluctuations in the ambient temperature, the constant current is adjusted to X times the reference current value in the current adjustment process.
  • X is a positive real number
  • the reference current value is a constant current whose current threshold value is the target value when the on-resistance value is the reference value. Since the constant current is adjusted as described above, the current threshold value is maintained at a constant target value regardless of the ambient temperature of the semiconductor switch 20, as shown in FIG.
  • FIG. 10 is a flowchart showing the procedure of the fine adjustment processing.
  • the duty of the PWM signal that is, the voltage at the base of the transistor 40 is adjusted so that the constant current becomes the set value.
  • the fine adjustment process is a process for adjusting the actual constant current to a set value.
  • the control unit 74 periodically executes the fine adjustment process.
  • the control unit 74 reads out the constant current set value indicated by the set value data (step S11), and acquires the current information from the A / D conversion unit 71 (step S12). As described above, the current information is the voltage between both ends of the circuit resistor 41 and indicates the actual constant current. Next, the control unit 74 determines whether or not the actual constant current indicated by the current information acquired in step S12 matches the set value read in step S11 (step S13).
  • the meaning of "match" in step S13 is not limited to a strict meaning. For example, when the difference value between the actual constant current and the set value is less than a predetermined value, the control unit 74 may determine in step S13 that the actual current value matches the set value.
  • the control unit 74 determines in step S13 that the actual current value is different from the set value.
  • the predetermined value is set in advance and is, for example, a value that can be regarded as an error.
  • step S13: YES When the control unit 74 determines that the actual constant current matches the set value (step S13: YES), the control unit 74 ends the fine adjustment process.
  • the control unit 74 determines that the actual constant current does not match the set value, that is, the actual constant current is different from the set value (step S13: NO), the current information acquired in step S12 is obtained. It is determined whether or not the actual constant current shown exceeds the set value read in step S11 (step S14).
  • step S15 the control unit 74 reduces the duty of the PWM signal output by the signal output unit 72 (step S15). As a result, the voltage at the base of the transistor 40 drops, and the constant current drops.
  • the reduction width of the duty may be a constant value.
  • the reduction width of the duty may be a width corresponding to the difference value between the constant current and the set value. In this case, the larger the difference value, the larger the amount of decrease.
  • the control unit 74 determines that the actual constant current does not exceed the set value (S14: NO)
  • the actual constant current is less than the set value, so that the PWM signal output by the signal output unit 72 Increase the duty (step S16).
  • the voltage at the base of the transistor 40 rises, and the constant current rises.
  • the increase in duty may be a constant value.
  • the increase width of the duty may be a width corresponding to the difference value between the constant current and the set value. In this case, the larger the difference value, the larger the increase.
  • step S13 determines whether or not to adjust the base voltage of the transistor 40 based on the difference value between the constant current indicated by the current information acquired in step S12 and the set value indicated by the set value data. Corresponds to determining.
  • the control unit 74 executes step S15 or step S16, and then executes step S13 again.
  • the control unit 74 determines the duty of the PWM signal output by the signal output unit 72, that is, the base of the transistor 40, until the actual constant current matches the set value. Adjust the voltage of.
  • the control unit 74 can match the actual constant current drawn by the constant current circuit 30 with the set value indicated by the set value data, that is, the set value set in step S4 of the current adjustment process.
  • the meaning of "match" with respect to the constant current and the set value is not limited to a strict meaning as described above.
  • the current information is not limited to the voltage between both ends of the circuit resistor 41, and may be, for example, the voltage between both ends of the device resistor 21.
  • the constant current can be calculated by dividing the voltage between both ends of the device resistance 21 by the resistance value of the device resistance 21.
  • a resistor may be arranged on the upstream side of the transistor 40. In this case, the current information may be the voltage across this resistor.
  • the adjustment of the duty of the PWM signal corresponds to the adjustment of the voltage of the base of the transistor 40. Therefore, the microcomputer 50 may directly adjust the voltage of the base of the transistor 40 instead of the duty of the PWM signal.
  • the higher the duty of the PWM signal the higher the base voltage of the transistor 40. Therefore, the control unit 74 sets the base voltage setting value in the same manner as the duty setting value.
  • the microcomputer 50 has a voltage application unit that directly applies a voltage to the base of the transistor 40 instead of the signal output unit. The voltage application unit is connected to the base of the transistor 40, and adjusts the voltage of the base according to the instruction of the microcomputer 50.
  • the constant current circuit 30 in the first embodiment is realized by a transistor 40 and a circuit resistor 41.
  • the configuration of the constant current circuit that draws in the constant current is not limited to the configuration of the constant current circuit 30.
  • the second embodiment will be described as different from the first embodiment.
  • Other configurations except the configuration described later are common to the first embodiment. Therefore, the components common to the first embodiment are designated by the same reference numerals as those of the first embodiment, and the description thereof will be omitted.
  • FIG. 11 is a block diagram showing a main configuration of the current control device 26a according to the second embodiment.
  • the switch control device 10 according to the second embodiment has other components other than the current control device 26 among the components included in the switch control device 10 according to the first embodiment.
  • the switch control device 10 in the second embodiment has a current control device 26a instead of the current control device 26.
  • the current control device 26a includes a constant current circuit 30a, a current regulator 31a, and a regulator 32.
  • the current regulator 31a has a microcomputer 50.
  • the other end of the device resistor 21 is connected to the constant current circuit 30a.
  • the constant current circuit 30a is grounded.
  • the drain of the semiconductor switch 20 is connected to the regulator 32.
  • the regulator 32 is connected to the constant current circuit 30 and the microcomputer 50 of the current regulator 31a.
  • the temperature detection unit 22 is connected to the microcomputer 50 of the current regulator 31a.
  • the microcomputer 50 is further connected to the constant current circuit 30.
  • the constant current circuit 30a of the current regulator 31a draws a constant current from the positive electrode of the battery 11 via the device resistor 21 as in the constant current circuit 30 in the first embodiment.
  • the regulator 32 steps down the output voltage of the battery 11 whose reference potential is the ground potential to a target voltage, and applies the target voltage to the constant current circuit 30a. As a result, a current flows from the regulator 32 to the constant current circuit 30a.
  • the target voltage is a voltage whose reference potential is the ground potential.
  • the current flowing from the regulator 32 to the constant current circuit 30a is referred to as a reference current.
  • the reference current is represented by Ir.
  • the constant current Ic drawn by the constant current circuit 30a substantially matches K times the reference current Ir.
  • K is a positive real number.
  • the reference current Ir changes according to the target voltage. Therefore, the constant current Ic is adjusted by adjusting the target voltage.
  • the microcomputer 50 acquires temperature information from the temperature detection unit 22 as in the first embodiment.
  • the microcomputer 50 further acquires current information indicating a constant current Ic from the constant current circuit 30a.
  • the microcomputer 50 adjusts the voltage applied to the constant current circuit 30a by the regulator 32 based on the acquired temperature information and current information.
  • the constant current circuit 30a and the current regulator 31a each operate in the same manner as the constant current circuit 30 and the current regulator 31a in the first embodiment.
  • the constant current circuit 30a has a first circuit resistor 80, a second circuit resistor 81, and a current mirror circuit 82.
  • the current mirror circuit 82 has a first transistor B1 and a second transistor B2.
  • the first transistor B1 and the second transistor B2 are NPN type bipolar transistors, respectively.
  • One end of the first circuit resistor 80 is connected to the other end of the device resistor 21.
  • the other end of the first circuit resistor 80 is connected to the collector of the first transistor B1.
  • One end of the second circuit resistor 81 is connected to the regulator 32.
  • the other end of the second circuit resistor 81 is connected to the collector and base of the second transistor B2.
  • the base of the first transistor B1 is connected to the base of the second transistor B2.
  • the emitters of the first transistor B1 and the second transistor B2 are grounded. Both ends of the first circuit resistor 80 are connected to the microcomputer 50.
  • the constant current Ic flows from the positive electrode of the battery 11 in the order of the device resistor 21, the first circuit resistor 80, and the first transistor B1.
  • the constant current Ic flows in the order of collector and base.
  • the reference current Ir flows from the regulator 32 in the order of the second circuit resistor 81 and the second transistor B2.
  • the second transistor B2 most of the reference current Ir flows in the order of collector and base. The current flowing through the collector and the base in the second transistor B2 substantially coincides with the reference current Ir.
  • the emitter and base of the first transistor B1 are connected to the emitter and base of the second transistor B2, respectively. Therefore, the voltage between the base and the emitter of the first transistor B1 is the same as the voltage between the base and the emitter of the second transistor B2.
  • the collector current flowing in the order of the collector and the emitter is determined by the voltage between the emitter and the base. Therefore, the constant current Ic is adjusted to K times the reference current Ir.
  • the relationship between the collector current and the voltage between the emitter and base is described as the transistor characteristic.
  • the constant current Ic substantially matches the reference current Ir.
  • the reference current Ir increases as the target voltage applied by the regulator 32 to one end of the second circuit resistor 81 of the constant current circuit 30a increases.
  • the microcomputer 50 outputs the target information indicating the set value of the target voltage to the regulator 32.
  • the regulator 32 adjusts the target voltage applied to one end of the second circuit resistor 81 of the constant current circuit 30a to a set value.
  • the microcomputer 50 adjusts the target voltage by outputting target information indicating various set values to the regulator 32.
  • the voltage between both ends of the first circuit resistor 80 is represented by (resistance value of the first circuit resistor 80) ⁇ Ic. Since the resistance value of the first circuit resistor 80 is a constant value, the constant current Ic can be calculated by dividing the voltage between both ends of the first circuit resistor 80 by the resistance value of the first circuit resistor 80. The voltage between both ends of the first circuit resistor 80 is output to the microcomputer 50 as current information indicating a constant current Ic. The microcomputer 50 adjusts the target voltage applied by the regulator 32 based on the temperature information input from the temperature detection unit 22 and the current information input from the constant current circuit 30a.
  • FIG. 12 is a block diagram showing a main configuration of the microcomputer 50.
  • the microcomputer 50 in the second embodiment has other components other than the signal output unit 72 among the components included in the microcomputer 50 in the first embodiment.
  • the microcomputer 50 in the second embodiment has a voltage adjusting unit 76 instead of the signal output unit 72.
  • the voltage adjusting unit 76 is separately connected to the internal bus 75 and the regulator 32.
  • the A / D conversion unit 71 operates in the same manner as in the first embodiment. However, the current information input to the A / D conversion unit 71 is not the voltage between both ends of the circuit resistor 41, but the voltage between both ends of the first circuit resistor.
  • the voltage adjusting unit 76 adjusts the target voltage applied by the regulator 32 to one end of the second circuit resistor 81 of the constant current circuit 30a by outputting target information indicating various set values.
  • the voltage adjusting unit 76 adjusts the target voltage according to the instruction of the control unit 74.
  • the control unit 74 executes the same current adjustment process as the current adjustment process of the first embodiment shown in FIG.
  • step S6 in the second embodiment the control unit 74 sets the set value of the target voltage, not the duty of the PWM signal, to the set value of the target voltage corresponding to the set value of the constant current indicated by the set value data.
  • the control unit 74 may set the target voltage set value using a graph showing the relationship between the target voltage set value and the constant current set value. Further, in step S6, the control unit 74 may set the target voltage set value using a relational expression showing the relationship between the target voltage set value and the constant current set value.
  • the larger the set value of the constant current the larger the set value of the target voltage is set.
  • step S7 in the second embodiment the control unit 74 instructs the voltage adjusting unit 76 to adjust the target voltage to the set value set in step S6. After executing step S7, the control unit 74 ends the current adjustment process.
  • the control unit 74 executes a fine adjustment process similar to the fine adjustment process of the first embodiment shown in FIG. In step S15 in the second embodiment, the control unit 74 instructs the voltage adjusting unit 76 to lower the target voltage instead of the duty of the PWM signal.
  • the amount of decrease in the target voltage may be a constant value.
  • the reduction width of the target voltage may be a width corresponding to the difference value between the actual constant current and the set value of the constant current. In this case, the larger the difference value, the larger the amount of decrease.
  • the control unit 74 instructs the voltage adjusting unit 76 to raise the target voltage instead of the duty of the PWM signal.
  • the increase range of the target voltage may be a constant value.
  • the increase width of the target voltage may be a width corresponding to the difference value between the actual constant current and the set value of the constant current. In this case, the larger the difference value, the larger the increase.
  • the control unit 74 executes step S15 or step S16, and then executes step S13 again, as in the first embodiment.
  • the control unit 74 repeatedly adjusts the target voltage applied by the regulator 32 until the actual constant current matches the set value.
  • the control unit 74 can match the actual constant current drawn by the constant current circuit 30 with the set value indicated by the set value data, that is, the set value set in step S4 of the current adjustment process.
  • the switch control device 10 according to the second embodiment similarly exhibits the effect of the switch control device 10 according to the first embodiment. Therefore, it is prevented that an overcurrent that greatly exceeds the current threshold value flows through the semiconductor switch 20, and the current threshold value is maintained at a constant value that does not depend on the ambient temperature of the semiconductor switch 20.
  • the method of adjusting the constant current Ic is not limited to the method of adjusting the target voltage.
  • the target voltage may be fixed.
  • a variable resistor is connected instead of the first circuit resistor 80.
  • the constant current Ic can be adjusted by adjusting the resistance value of the variable resistor.
  • the microcomputer 50 adjusts the resistance value of the variable resistor instead of adjusting the target voltage. The smaller the resistance value of the variable resistor, the larger the constant current Ic. Therefore, instead of lowering the target voltage, the resistance value of the variable resistor is raised. Instead of increasing the target voltage, decrease the resistance value of the variable resistor.
  • each of the first transistor B1 and the second transistor B2 is not limited to the NPN type bipolar transistor, and may be, for example, an N channel type FET.
  • the device in which the current control device 26 in the first embodiment or the current control device 26a in the second embodiment is used is not limited to the switch control device 10.
  • Each of the current control devices 26 and 26a can be used in a device that supplies a constant current to the load.
  • the semiconductor switch 20 is not limited to the N-channel MOSFET, and may be any semiconductor switch whose on-resistance value fluctuates according to the ambient temperature.
  • the semiconductor switch 20 may be, for example, a semiconductor switch whose on-resistance value decreases when the ambient temperature decreases.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Automation & Control Theory (AREA)
  • Continuous-Control Power Sources That Use Transistors (AREA)
  • Electronic Switches (AREA)
  • Emergency Protection Circuit Devices (AREA)
  • Protection Of Static Devices (AREA)
  • Control Of Voltage And Current In General (AREA)

Abstract

電流制御装置は定電流回路(30)及び電流調整器(31)を備える。電流調整器(31)は定電流回路(30)に電圧を印加する。定電流回路(30)は、印加された電圧に応じた定電流を引き込む。マイコン(50)は、定電流回路(30)が引き込む定電流の値を設定し、電流調整器(31)が定電流回路(30)に印加する電圧を、設定した設定値に応じた電圧に調整する。マイコン(50)は、定電流回路(30)が引き込む定電流と設定値との差分値に基づいて、電流調整器(31)が定電流回路(30)に印加している電圧を調整する。

Description

電流制御装置、スイッチ制御装置、電流制御方法及びコンピュータプログラム
 本開示は、電流制御装置、スイッチ制御装置、電流制御方法及びコンピュータプログラムに関する。
 本出願は、2020年3月23日出願の日本出願第2020-051503号に基づく優先権を主張し、前記日本出願に記載された全ての記載内容を援用するものである。
 特許文献1には、バッテリから負荷への電力供給を制御する車両用のスイッチ制御装置が開示されている。このスイッチ制御装置では、バッテリから負荷に流れる電流の電流経路に半導体スイッチが配置されている。半導体スイッチをオン又はオフに切替えることによって負荷への電力供給を制御する。半導体スイッチの上流側に抵抗の一端が接続されている。特許文献1に記載のスイッチ制御装置は定電流回路を備え、定電流回路はバッテリから抵抗を介して定電流を引き込んでいる。
 半導体スイッチがオンである場合において、半導体スイッチの下流側の一端の電圧を抵抗の他端の電圧と比較する。これにより、半導体スイッチを介して流れる電流が電流閾値以上であるか否かを判定することができる。電流閾値は、(抵抗の抵抗値)・(定電流)/(半導体スイッチのオン抵抗値)で表される。「・」は積を表す。オン抵抗値は、半導体スイッチがオンである場合における半導体スイッチの抵抗値である。
 電流閾値は一定であることが好ましい。しかしながら、半導体スイッチのオン抵抗値は、半導体スイッチの温度に応じて変化する。このため、特許文献1に記載のスイッチ制御装置では、半導体スイッチの温度と同様に変動する半導体スイッチの周囲温度に応じて、定電流を変動させる。結果、半導体スイッチの温度に応じた電流閾値の変動幅が小さい構成が実現される。
特開2017-229138号公報
 本開示の一態様に係る電流制御装置は、電圧が印加されており、印加されている電圧に応じた定電流を引き込む定電流回路と、処理を実行する処理部とを備え、前記処理部は、前記定電流回路が引き込む定電流の値を設定し、前記定電流回路に印加されている電圧を、設定した設定値に応じた電圧に調整し、前記定電流回路が引き込む定電流を示す電流情報を取得し、取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加されている電圧を調整するか否かを判定する。
 本開示の一態様に係るスイッチ制御装置は、電流が流れる半導体スイッチと、前記半導体スイッチの上流側の一端に接続される第2の抵抗と、前記半導体スイッチの下流側の一端のスイッチ電圧が、前記第2の抵抗の下流側の一端の抵抗電圧未満である場合に前記半導体スイッチをオフに切替える切替え部と、電圧が印加されており、印加されている電圧に応じた定電流を前記第2の抵抗を介して引き込む定電流回路と、処理を実行する処理部とを備え、前記処理部は、前記定電流回路が引き込む定電流の値を設定し、前記定電流回路に印加されている電圧を、設定した設定値に応じた電圧に調整し、前記定電流回路が引き込む定電流を示す電流情報を取得し、取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加されている電圧を調整するか否かを判定する。
 本開示の一態様に係る電流制御方法では、電圧が印加され、印加された電圧に応じた定電流を引き込む定電流回路の前記定電流の値を設定するステップと、前記定電流回路に印加する電圧を、設定した設定値に応じた電圧に調整するステップと、前記定電流回路が引き込む定電流を示す電流情報を取得するステップと、取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加する電圧を調整するか否かを判定するステップとをコンピュータが実行する。
 本開示の一態様に係るコンピュータプログラムは、電圧が印加され、印加された電圧に応じた定電流を引き込む定電流回路の前記定電流の値を設定するステップと、前記定電流回路に印加する電圧を、設定した設定値に応じた電圧に調整するステップと、前記定電流回路が引き込む定電流を示す電流情報を取得するステップと、取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加する電圧を調整するか否かを判定するステップとをコンピュータに実行させる。
 なお、本開示を、このような特徴的な処理部を備える電流制御装置として実現することができるだけでなく、かかる特徴的な処理をステップとする電流制御方法として実現したり、かかるステップをコンピュータに実行させるためのコンピュータプログラムとして実現したりすることができる。また、本開示を、電流制御装置の一部又は全部を実現する半導体集積回路として実現したり、電流制御装置を含む電流制御システムとして実現したりすることができる。
実施形態1における電源システムの要部構成を示すブロック図である。 半導体スイッチの動作を説明するためのタイミングチャートである。 オン抵抗値及び半導体スイッチの周囲温度の関係を示すグラフである。 定電流回路及び電流調整器の要部構成を示す回路図である。 マイコンの要部構成を示すブロック図である。 オン抵抗値の変化率と半導体スイッチの周囲温度との関係を示すグラフである。 デューティ及びスイッチ電流の設定値の関係を示すグラフである。 電流調整処理の手順を示すフローチャートである。 電流調整処理の効果の説明図である。 微調整処理の手順を示すフローチャートである。 実施形態2における電流制御装置の要部構成を示すブロック図である。 マイコンの要部構成を示すブロック図である。
[本開示が解決しようとする課題]
 特許文献1に記載されているように、半導体スイッチの下流側の一端の電圧を抵抗の他端の電圧と比較するスイッチ制御装置では、例えばCPU(Central Processing Unit)を有する処理部が半導体スイッチの周囲温度に応じた定電流の値を設定してもよい。この場合、定電流回路が引き込む定電流は、処理部が設定した設定値に基づいて調整される。
 ここで、調整後の定電流が設定値と異なる場合、電流閾値が予め設定されている目標値に調整されないので、適切なタイミングで半導体スイッチがオンからオフに切替わらない可能性がある。
 そこで、定電流回路が引き込む定電流を処理部が設定した設定値に一致させることができる電流制御装置、スイッチ制御装置、電流制御方法及びコンピュータプログラムを提供することを目的とする。
[本開示の効果]
 本開示によれば、定電流回路が引き込む定電流を処理部が設定した設定値に一致させることができる。
[本開示の実施形態の説明]
 最初に本開示の実施態様を列挙して説明する。以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。
(1)本開示の一態様に係る電流制御装置は、電圧が印加されており、印加されている電圧に応じた定電流を引き込む定電流回路と、処理を実行する処理部とを備え、前記処理部は、前記定電流回路が引き込む定電流の値を設定し、前記定電流回路に印加されている電圧を、設定した設定値に応じた電圧に調整し、前記定電流回路が引き込む定電流を示す電流情報を取得し、取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加されている電圧を調整するか否かを判定する。
(2)本開示の一態様に係る電流制御装置では、前記定電流回路は、前記定電流の電流経路にて、コレクタがエミッタの上流側に配置されるNPN型のバイポーラトランジスタと、前記電流経路において、前記バイポーラトランジスタの下流側に配置される抵抗とを有し、前記処理部は、前記定電流回路が有する前記バイポーラトランジスタのベースの電圧を、設定した設定値に応じた電圧に調整する。
(3)本開示の一態様に係る電流制御装置では、前記電流情報は前記抵抗の両端間の電圧である。
(4)本開示の一態様に係る電流制御装置は、PWM信号を出力する信号出力部と、前記信号出力部が出力したPWM信号の電圧を平滑する平滑回路とを備え、前記平滑回路が平滑した電圧が前記バイポーラトランジスタのベースに印加され、前記処理部は、前記PWM信号のデューティを、設定した設定値に応じたデューティに調整する。
(5)本開示の一態様に係るスイッチ制御装置は、電流が流れる半導体スイッチと、前記半導体スイッチの上流側の一端に接続される第2の抵抗と、前記半導体スイッチの下流側の一端のスイッチ電圧が、前記第2の抵抗の下流側の一端の抵抗電圧未満である場合に前記半導体スイッチをオフに切替える切替え部と、電圧が印加されており、印加されている電圧に応じた定電流を前記第2の抵抗を介して引き込む定電流回路と、処理を実行する処理部とを備え、前記処理部は、前記定電流回路が引き込む定電流の値を設定し、前記定電流回路に印加されている電圧を、設定した設定値に応じた電圧に調整し、前記定電流回路が引き込む定電流を示す電流情報を取得し、取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加されている電圧を調整するか否かを判定する。
(6)本開示の一態様に係るスイッチ制御装置は、前記半導体スイッチの周囲温度を検出する温度検出部を備え、前記処理部は、前記温度検出部が検出した周囲温度に応じて、前記定電流回路が引き込む定電流の設定値を設定する。
(7)本開示の一態様に係る電流制御方法では、電圧が印加され、印加された電圧に応じた定電流を引き込む定電流回路の前記定電流の値を設定するステップと、前記定電流回路に印加する電圧を、設定した設定値に応じた電圧に調整するステップと、前記定電流回路が引き込む定電流を示す電流情報を取得するステップと、取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加する電圧を調整するか否かを判定するステップとをコンピュータが実行する。
(8)本開示の一態様に係るコンピュータプログラムは、電圧が印加され、印加された電圧に応じた定電流を引き込む定電流回路の前記定電流の値を設定するステップと、前記定電流回路に印加する電圧を、設定した設定値に応じた電圧に調整するステップと、前記定電流回路が引き込む定電流を示す電流情報を取得するステップと、取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加する電圧を調整するか否かを判定するステップとをコンピュータに実行させる。
 上記の態様に係る電流制御装置、電流制御方法及びコンピュータプログラムにあっては、例えば、定電流回路が引き込む定電流が設定値と異なる場合、定電流回路に印加する電圧を調整することによって、定電流の微調整を行う。このため、定電流回路が引き込む定電流を、処理部が設定した設定値に一致させることができる。「一致」の意味は厳密な意味に限定されない。定電流と設定値との差分値が一定値未満である場合に定電流と設定値とが一致しているとみなしてもよい。一定値は、例えば、誤差とみなすことができる値である。
 上記の態様に係る電流制御装置にあっては、バイポーラトランジスタのコレクタ及びエミッタ間の抵抗値は、コレクタ及びエミッタを介して流れる電流が、バイポーラトランジスタのベースの電圧によって決まる電流となるように調整され、定電流が流れる。ベースの電圧が高い程、定電流は大きい。
 上記の態様に係る電流制御装置にあっては、抵抗の両端間の電圧は、定電流回路が引き込む定電流に比例する。抵抗の両端間の電圧に基づいて定電流を算出する。
 上記の態様に係る電流制御装置にあっては、PWM信号のデューティを調整することによって、バイポーラトランジスタのベースの電圧を調整する。ベースの電圧はデューティが大きい程、高い。
 上記の態様に係るスイッチ制御装置にあっては、スイッチ電圧が抵抗電圧未満であることは、半導体スイッチを介して流れる電流が、(第2の抵抗の抵抗値)・(定電流)/(半導体スイッチのオン抵抗値)によって表される電流閾値を超えていることに相当する。「・」は積を意味する。半導体スイッチを介して流れる電流が電流閾値を超えた場合、半導体スイッチをオフに切替える。これにより、電流閾値を大きく超える過電流が半導体スイッチを介して流れることが防止される。
 上記の態様に係るスイッチ制御装置にあっては、半導体スイッチのオン抵抗値は、半導体スイッチの温度、即ち、半導体スイッチの周囲温度に応じて変動する。定電流の設定値は半導体スイッチの周囲温度に応じて設定される。このため、(第2の抵抗の抵抗値)・(定電流)/(半導体スイッチのオン抵抗値)によって表される電流閾値を、半導体スイッチの周囲温度に依存しない一定値に維持することができる。
[本開示の実施形態の詳細]
 本開示の実施形態に係る電源システムの具体例を、以下に図面を参照しつつ説明する。なお、本発明はこれらの例示に限定されるものではなく、請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
(実施形態1)
<電源システムの構成>
 図1は、実施形態1における電源システム1の要部構成を示すブロック図である。電源システム1は、好適に車両に搭載されており、スイッチ制御装置10、バッテリ11及び負荷12を備える。スイッチ制御装置10は半導体スイッチ20を有する。半導体スイッチ20はNチャネル型のMOSFET(Metal Oxide Semiconductor Field Effect Transistor)である。半導体スイッチ20のドレインはバッテリ11の正極に接続されている。半導体スイッチ20のソースは負荷12の一端に接続されている。バッテリ11の負極と、負荷12の他端とは接地されている。
 半導体スイッチ20がオンである場合、バッテリ11の正極から、電流が半導体スイッチ20のドレイン及びソースを介して負荷12に流れる。バッテリ11は半導体スイッチ20を介して負荷12に電力を供給する。半導体スイッチ20がオフである場合、半導体スイッチ20のドレイン及びソースを介して電流が流れない。従って、負荷12に電力が供給されることはない。負荷12は、車両に搭載されている電気機器である。負荷12に電力が供給されている間、負荷12は作動する。負荷12への電力供給が停止した場合、負荷12は動作を停止する。スイッチ制御装置10では、半導体スイッチ20をオン又はオフに切替えることによってバッテリ11から負荷12への電力供給を制御する。
 半導体スイッチ20がオンである場合、電流は半導体スイッチ20のドレイン及びソースの順に流れる。従って、半導体スイッチ20のドレインは、半導体スイッチ20の上流側の一端である。半導体スイッチ20のソースは、半導体スイッチ20の下流側の一端である。
<スイッチ制御装置10の構成>
 スイッチ制御装置10は、半導体スイッチ20に加えて、装置抵抗21、温度検出部22、駆動回路23、制御器24、コンパレータ25及び電流制御装置26を有する。コンパレータ25は、プラス端、マイナス端及び出力端を有する。電流制御装置26は定電流回路30及び電流調整器31を有する。
 半導体スイッチ20のドレインは、装置抵抗21の一端に接続されている。装置抵抗21は第2の抵抗として機能する。装置抵抗21の他端は定電流回路30に接続されている。定電流回路30は接地されている。電流制御装置26内では、定電流回路30は電流調整器31に接続されている。電流調整器31は、更に、温度検出部22に接続されている。半導体スイッチ20のゲートは駆動回路23に接続されている。駆動回路23は、更に、制御器24とコンパレータ25の出力端とに各別に接続されている。コンパレータ25のプラス端は半導体スイッチ20のソースに接続されている。コンパレータ25のマイナス端は、装置抵抗21の他端に接続されている。
 半導体スイッチ20において、基準電位がソースの電位であるゲートの電圧が一定電圧値以上である場合、半導体スイッチ20はオンである。半導体スイッチ20において、基準電位がソースの電位であるゲートの電圧が一定電圧未満である場合、半導体スイッチ20はオフである。
 制御器24及びコンパレータ25それぞれは、ハイレベル電圧又はローレベル電圧を駆動回路23に出力する。駆動回路23は、制御器24及びコンパレータ25の出力電圧に応じて、半導体スイッチ20をオン又はオフに切替える。駆動回路23は、半導体スイッチ20をオンに切替える場合、基準電位が接地電位であるゲートの電圧を上昇させる。これにより、基準電位がソースの電位であるゲートの電圧が上昇し、一定電圧以上の電圧となる。結果、半導体スイッチ20がオンに切替わる。駆動回路23は、半導体スイッチ20をオフに切替える場合、基準電位が接地電位である半導体スイッチ20のゲートの電圧を低下させる。これにより、基準電位がソースの電位であるゲートの電圧が低下し、一定電圧未満の電圧となる。結果、半導体スイッチ20がオフに切替わる。
 以下では、半導体スイッチ20のソースの電圧をスイッチ電圧と記載する。装置抵抗21の定電流回路30側の一端の電圧を抵抗電圧と記載する。スイッチ電圧及び抵抗電圧の基準電位は接地電位である。コンパレータ25は、スイッチ電圧が抵抗電圧以上である場合、ハイレベル電圧を駆動回路23に出力する。コンパレータ25は、スイッチ電圧が抵抗電圧未満である場合、ローレベル電圧を駆動回路23に出力する。
 電流制御装置26の定電流回路30は、バッテリ11の正極から装置抵抗21を介して定電流を引き込む。定電流回路30に引き込まれた定電流はバッテリ11の負極に戻る。電流調整器31は定電流回路30に電圧を印加している。定電流回路30は、電流調整器31が印加した電圧に応じた定電流を引き込む。定電流回路30から電流調整器31に、定電流回路30が引き込む定電流を示す電流情報が出力される。
 温度検出部22は、半導体スイッチ20の周囲温度を検出し、検出した周囲温度を示す温度情報を電流調整器31に出力する。電流調整器31は、温度検出部22及び定電流回路30から入力された温度情報及び電流情報に基づいて、定電流回路30に印加されている電圧を調整する。定電流回路30に印加されている電圧を調整することによって、定電流回路30が引き込む定電流が調整される。
 バッテリ11の出力電圧をVdと記載する。半導体スイッチ20を介して流れるスイッチ電流をIsと記載する。定電流回路30が引き込む定電流をIcと記載する。Is及びIcは数値である。半導体スイッチ20のオン抵抗値をRonと記載する。オン抵抗値は、半導体スイッチ20がオンである場合における半導体スイッチ20のドレイン及びソース間の抵抗値である。装置抵抗21の抵抗値をRcと記載する。この場合、スイッチ電圧は(Vd-Ron・Is)で表される。抵抗電圧は(Vd-Rc・Ic)で表される。Vd、Is、Ic、Ron及びRcは正値である。
 半導体スイッチ20はオンであると仮定する。前述したように、スイッチ電圧が抵抗電圧以上である場合、即ち、下記式が満たされる場合、コンパレータ25はハイレベル電圧を出力する。
 Vd-Ron・Is≧Vd-Rc・Ic
 この不等式を展開した場合、下記式が得られる。
 Is≦Rc・Ic/Ron
 Rc・Ic/Ronで表される電流閾値をIthと記載する。展開した不等式が示すように、スイッチ電圧が抵抗電圧以上であることは、スイッチ電流Isが電流閾値Ith以下であることを意味する。装置抵抗21の抵抗値Rc、定電流Ic及びオン抵抗値Ronは正値であるため、電流閾値Ithも正値である。
 前述したように、スイッチ電圧が抵抗電圧未満である場合、即ち、下記式が満たされる場合、コンパレータ25はローレベル電圧を出力する。
 Vd-Ron・Is<Vd-Rc・Ic
 この不等式を展開した場合、下記式が得られる。
 Is>Rc・Ic/Ron(=Ith)
 スイッチ電圧が抵抗電圧未満であることは、スイッチ電流Isが電流閾値Ithを超えていることを意味する。
 従って、コンパレータ25は、スイッチ電流Isが電流閾値Ith以下である場合、ハイレベル電圧を駆動回路23に出力する。コンパレータ25は、スイッチ電流Isが電流閾値Ithを超えている場合、ローレベル電圧を駆動回路23に出力する。
 半導体スイッチ20がオフである場合、スイッチ電圧はゼロVである。抵抗電圧は、Vd-Rc・Icで表される。この値は正値である。従って、半導体スイッチ20がオフである場合、スイッチ電圧は抵抗電圧未満であるので、コンパレータ25はローレベル電圧を出力する。
<半導体スイッチ20の動作>
 図2は、半導体スイッチ20の動作を説明するためのタイミングチャートである。図2は、半導体スイッチ20の状態の推移と、コンパレータ25及び制御器24の出力電圧の推移と、スイッチ電流の推移とが示されている。これらの推移の横軸には時間が示されている。図2では、ハイレベル電圧及びローレベル電圧それぞれは、「H」及び「L」によって示されている。
 制御器24がローレベル電圧を駆動回路23に出力している場合、駆動回路23は、半導体スイッチ20をオフに維持する。半導体スイッチ20がオフである場合、スイッチ電流はゼロAであり、コンパレータ25はローレベル電圧を駆動回路23に出力する。
 制御器24が出力電圧をローレベル電圧からハイレベル電圧に切替えた場合、駆動回路23は半導体スイッチ20をオフからオンに切替える。これにより、バッテリ11の正極から半導体スイッチ20を介して負荷12に電流が流れる。電源システム1が正常である場合においては、半導体スイッチ20がオンであるとき、スイッチ電流は電流閾値Ith以下である。このため、コンパレータ25は、出力電圧をローレベル電圧からハイレベル電圧に切替える。
 制御器24が出力電圧をハイレベル電圧からローレベル電圧に切替えた場合、駆動回路23は半導体スイッチ20をオンからオフに切替える。これにより、半導体スイッチ20を介して電流の通流が停止する。結果、スイッチ電流がゼロAに低下し、コンパレータ25の出力電圧はハイレベル電圧からローレベル電圧に切替わる。
 以上のように、電源システム1が正常である場合、駆動回路23は、制御器24の出力電圧に応じて、半導体スイッチ20をオン又はオフに切替える。制御器24は、負荷12を作動させる場合、ハイレベル電圧を駆動回路23に出力する。制御器24は、負荷12の動作を停止させる場合、ローレベル電圧を駆動回路23に出力する。
 前述したように、制御器24がハイレベル電圧を出力している場合、半導体スイッチ20はオンであり、半導体スイッチ20を介してスイッチ電流が流れる。電源システム1が正常である場合、スイッチ電流は電流閾値Ith未満であり、コンパレータ25はハイレベル電圧を出力している。
 半導体スイッチ20がオンである状態で電源システム1において異常が発生し、スイッチ電流が上昇したと仮定する。スイッチ電流が電流閾値Ithを超えた場合、コンパレータ25は、出力電圧をハイレベル電圧からローレベル電圧に切替える。制御器24の出力電圧がハイレベル電圧である状態でコンパレータ25の出力電圧がハイレベル電圧からローレベル電圧に切替わった場合、駆動回路23は半導体スイッチ20をオフに切替える。これにより、スイッチ電流はゼロAに低下する。結果、電流閾値Ithを大きく超える過電流が半導体スイッチ20を介して流れることが防止される。駆動回路23は切替え部として機能する。図2の例では、半導体スイッチ20がオフに切替わった後、半導体スイッチ20はオフに維持されている。前述したように、半導体スイッチ20がオフである場合、コンパレータ25の出力電圧はローレベル電圧である。
<半導体スイッチ20のオン抵抗値の温度依存性>
 図3はオン抵抗値Ron及び半導体スイッチ20の周囲温度の関係を示すグラフである。半導体スイッチ20のオン抵抗値Ronは半導体スイッチ20の温度に応じて変動する。半導体スイッチ20の周囲温度は、半導体スイッチ20の温度と同様に変動する。従って、半導体スイッチ20のオン抵抗値Ronは半導体スイッチ20の周囲温度に応じて変動する。図3に示すように、オン抵抗値Ronは、半導体スイッチ20の周囲温度が上昇した場合、上昇する。
 従って、装置抵抗21の抵抗値Rc及び定電流Icが固定されている場合において、半導体スイッチ20の周囲温度が高いとき、オン抵抗値Ronが大きいので、電流閾値Ithは小さい。従って、半導体スイッチ20の周囲温度が高い場合、スイッチ電流は正常な電流であるにも関わらず、駆動回路23が半導体スイッチ20を誤ってオフに切替える可能性がある。
 このため、スイッチ制御装置10では、電流調整器31は、定電流回路30が引き込む定電流Icを、温度検出部が検出した半導体スイッチ20の周囲温度に応じて、オン抵抗値Ronと同様に変化させる。具体的には、半導体スイッチ20の周囲温度の変化によって、オン抵抗値Ronが1.2倍の値に上昇した場合、電流調整器31は定電流Icを1.2倍の値に調整する。これにより、電流閾値Ithを、半導体スイッチ20の周囲温度に依存しない一定の目標値に維持することができる。
 装置抵抗21の抵抗値Rcは、半導体スイッチ20の周囲温度に無関係に一定である。   
 電流調整器31は、温度検出部22から入力された温度情報が示す半導体スイッチ20の周囲温度に応じて、定電流Icの値を設定し、定電流回路30に印加されている電圧を、設定した設定値に対応する電圧に調整する。これにより、定電流回路30は定電流を調整する。電流調整器31は、定電流回路30から入力された電流情報が示す定電流が設定値と異なる場合、定電流回路30に印加している電圧を調整することによって、定電流の微調整を行う。
<定電流回路30の構成>
 図4は、定電流回路30及び電流調整器31の要部構成を示す回路図である。定電流回路30はトランジスタ40及び回路抵抗41を有する。トランジスタ40は、NPN型のバイポーラトランジスタである。トランジスタ40のコレクタは装置抵抗21の他端に接続されている。トランジスタ40のエミッタは、電流調整器31と回路抵抗41の一端とに接続されている。回路抵抗41の他端は接地されている。トランジスタ40のベースは電流調整器31に接続されている。
 定電流は、装置抵抗21、トランジスタ40のコレクタ、トランジスタ40のエミッタ及び回路抵抗41の順に流れる。従って、定電流の電流経路において、トランジスタ40のコレクタは、トランジスタ40のエミッタの上流側に配置されている。定電流の電流経路において、回路抵抗41はトランジスタ40の下流側に配置されている。
 電流調整器31は、基準電位が接地電位である電圧をトランジスタ40のベースに印加している。以下では、基準電位が接地電位であるトランジスタ40のベースの電圧をVbと記載する。基準電位が接地電位であるトランジスタ40のエミッタの電圧をVeと記載する。トランジスタ40のベース及びエミッタ間の電圧をVbeと記載する。電圧Vbeは実質的に一定である。トランジスタ40がシリコンで形成されている場合、電圧Vbeは、約0.6Vである。
 トランジスタ40のコレクタ及びエミッタ間の抵抗値は、エミッタの電圧Veが(Vb-Vbe)に一致するように調整される。具体的には、ベースの電圧Vbが上昇した場合、トランジスタ40のコレクタ及びエミッタ間の抵抗値は低下する。これにより、装置抵抗21、トランジスタ40及び回路抵抗41の合成抵抗値が低下し、バッテリ11の正極から回路抵抗41を流れる電流が上昇する。これにより、エミッタの電圧Veが(Vb-Vbe)まで上昇する。
 ベースの電圧Vbが低下した場合、トランジスタ40のコレクタ及びエミッタ間の抵抗値は上昇する。これにより、装置抵抗21、トランジスタ40及び回路抵抗41の合成抵抗値が上昇し、バッテリ11の正極から回路抵抗41を流れる電流が上昇する。これにより、エミッタの電圧Veが(Vb-Vbe)まで低下する。
 回路抵抗41の抵抗値をRkと記載した場合、回路抵抗41を流れる電流は、(Vb-Vbe)/Rkに調整され、トランジスタ40のコレクタ及びエミッタを介して定電流が流れる。
 バッテリ11の出力電圧が変動した場合であっても、定電流は(Vb-Vbe)/Rkに調整される。バッテリ11の出力電圧が低下した場合、トランジスタ40のコレクタ及びエミッタ間の抵抗値は低下し、定電流が(Vb-Vbe)/Rkに維持される。バッテリ11の出力電圧が上昇した場合、トランジスタ40のコレクタ及びエミッタ間の抵抗値が上昇し、定電流が(Vb-Vbe)/Rkに維持される。
 トランジスタ40において、(コレクタに流れ込む電流)/(ベースに流れ込む電流)で表される電流増幅率をhfeと記載する。コレクタに流れ込む電流は定電流Icであるので、電流調整器31からトランジスタ40のベースに流れる電流はIc/hfeで表される。従って、トランジスタ40のエミッタから回路抵抗41に向けて出力される電流は、(1+hfe)・Ic/hfeで表される。
 この電流は、(Vb-Vbe)/Rkに一致するので、定電流Icは下記式で表される。
 Ic=hfe・(Vb-Vbe)/((1+hfe)・Rk)
 電流増幅率hfe、電圧Vbe及び抵抗値Rkは実質的に一定である。このため、ベースの電圧Vbを調整することによって定電流Icを調整することができる。電流調整器31はベースの電圧Vbを調整する。ベースの電圧Vbが高い程、定電流Icは大きい。
 エミッタの電圧Veは下記式で表される。
 Ve=Rk・(1+hfe)・Ic/hfe
 エミッタの電圧Veは定電流Icに比例する。抵抗値Rk及び電流増幅率hfeは定数であるので、エミッタの電圧Veに基づいて、定電流Icを算出することができる。定電流Icを示す電流情報として、エミッタの電圧Ve、即ち、回路抵抗41の両端間の電圧が電流調整器31に出力される。
<電流調整器31の構成>
 図4に示すように、電流調整器31は、マイクロコンピュータ(以下、マイコンという)50及び平滑回路51を有する。平滑回路51は、第1抵抗60、第2抵抗61及びキャパシタ62を有する。マイコン50は、温度検出部22及びトランジスタ40のエミッタに接続されている。マイコン50は、更に、平滑回路51の第1抵抗60及び第2抵抗61の一端に接続されている。第1抵抗60の他端は、トランジスタ40のベースと、キャパシタ62の一端に接続されている。第1抵抗60及びキャパシタ62それぞれの他端は接地されている。
 マイコン50は、平滑回路51に向けて、ハイレベル電圧及びローレベル電圧によって構成されるPWM(Pulse Width Modulation)信号を出力する。PWM信号の電圧は、基準電位が接地電位である電圧である。PWM信号のハイレベル電圧は、正の一定電圧であり、例えば、5Vである。PWM信号のローレベル電圧は、ハイレベル電圧よりも低い電圧であり、例えば、ゼロVである。
 PWM信号では、ローレベル電圧からハイレベル電圧への切替え、又は、ハイレベル電圧からローレベル電圧の切替えが周期的に行われる。マイコン50は、PWM信号に関して、1周期において、電圧がハイレベル電圧である期間が占める割合、即ち、デューティを調整する。デューティは、ゼロ以上であり、かつ、1以下である値である。デューティが大きい程、1周期において電圧がハイレベル電圧である期間が長い。
 PWM信号の電圧がハイレベル電圧である場合、マイコン50から電流が第1抵抗60及びキャパシタ62の順に流れ、キャパシタ62が充電される。第1抵抗60の抵抗値をR1と記載する。キャパシタ62のキャパシタンスをCと記載する。キャパシタ62の充電速度は、R1・Cで表される第1時定数が大きい程、遅い。PWM信号の電圧がローレベル電圧である場合、キャパシタ62から電流が第1抵抗60及び第2抵抗61の順に流れ、キャパシタ62は放電する。第2抵抗61の抵抗値をR2と記載する。キャパシタ62の放電速度は、(R1+R2)・Cで表される第2時定数が大きい程、遅い。
 以上のように、キャパシタ62は充放電を行うことによって、PWM信号の電圧を平滑する。第1時定数及び第2時定数は十分に大きい。このため、キャパシタ62の両端間の電圧は、1周期のPWM信号の電圧の平均値に実質的に一致する。キャパシタ62が平滑した電圧、即ち、キャパシタ62の両端間の電圧がトランジスタ40のベースに印加される。トランジスタ40のベースの電圧Vbは、PWM信号のデューティに応じて変化する。PWM信号のデューティが大きい程、トランジスタ40のベースの電圧Vbは高い。
 マイコン50は、PWM信号のデューティを調整することによってベースの電圧Vbを調整する。温度検出部22からマイコン50に温度情報が出力される。定電流回路30からマイコン50に電流情報が出力される。マイコン50は、温度情報及び電流情報に基づいて、PWM信号のデューティ、即ち、ベースの電圧Vbを調整する。
 なお、第1抵抗60を介して、又は、キャパシタ62からトランジスタ40のベースに電流が流れ込む。
<マイコン50の構成>
 図5はマイコン50の要部構成を示すブロック図である。マイコン50は、A/D変換部70,71、信号出力部72、記憶部73及び制御部74を有する。これらは内部バス75に接続されている。A/D変換部70は、更に、温度検出部22接続されている。A/D変換部71は、更に、定電流回路30の回路抵抗41の一端に接続されている。信号出力部72は、更に、平滑回路51のキャパシタ62の一端に接続されている。
 温度検出部22からアナログの温度情報がA/D変換部70に出力される。アナログの温度情報は、例えば、半導体スイッチ20の周囲温度に応じて変動する電圧である。A/D変換部70は、入力されたアナログの温度情報をデジタルの温度情報に変換する。制御部74は、A/D変換部70からデジタルの温度情報を取得する。制御部74が取得した温度情報が示す半導体スイッチ20の周囲温度は、取得時点における半導体スイッチ20の周囲温度と実質的に一致する。
 信号出力部72は、平滑回路51に向けてPWM信号を出力している。PWM信号のデューティは制御部74によって調整される。平滑回路51は、信号出力部72が出力したPWM信号の電圧を平滑する。
 定電流回路30からアナログの電流情報がA/D変換部71に出力される。アナログの電流情報は、前述したように、トランジスタ40のエミッタの電圧である。A/D変換部71は、入力されたアナログの電流情報をデジタルの電流情報に変換する。制御部74は、A/D変換部71からデジタルの電流情報を取得する。制御部74が取得した電流情報が示す定電流は、取得時点における定電流と実質的に一致する。
 記憶部73は不揮発性メモリである。記憶部73には、コンピュータプログラムPが記憶されている。制御部74は、処理を実行する処理素子、例えば、CPU(Central Processing Unit)を有し、処理部として機能する。制御部74の処理素子は、コンピュータプログラムPを実行することによって、電流調整処理及び微調整処理を実行する。電流調整処理は、定電流を設定値に調整する処理である。微調整処理は、定電流の微調整を行う処理である。
 なお、コンピュータプログラムPは、制御部74の処理素子が読み取り可能に記憶媒体Aに記憶されていてもよい。この場合、図示しない読み出し装置によって記憶媒体Aから読み出されたコンピュータプログラムPが記憶部73に書き込まれる。記憶媒体Aは、光ディスク、フレキシブルディスク、磁気ディスク、磁気光ディスク又は半導体メモリ等である。光ディスクは、CD(Compact Disc)-ROM(Read Only Memory)、DVD(Digital Versatile Disc)-ROM、又は、BD(Blu-ray(登録商標) Disc)等である。磁気ディスクは、例えばハードディスクである。また、図示しない通信網に接続されている図示しない装置からコンピュータプログラムPをダウンロードし、ダウンロードしたコンピュータプログラムPを記憶部73に書き込んでもよい。
 制御部74が有する処理素子の数は、1に限定されず、2以上であってもよい。この場合、複数の処理素子がコンピュータプログラムPに従って、電流調整処理及び微調整処理等を協同で実行してもよい。
 記憶部73には、コンピュータプログラムPの他に、半導体スイッチ20のオン抵抗値に関する基準値を示す基準値データが記憶されている。基準値は、半導体スイッチ20の周囲温度が所定温度、例えば、27度である場合における半導体スイッチ20のオン抵抗値である。半導体スイッチ20として用いられるスイッチの基準値、即ち、所定温度におけるスイッチのオン抵抗値に関して、製造誤差が存在する。このため、スイッチ制御装置10の製造者は、スイッチ制御装置10の半導体スイッチ20として用いるスイッチについて、事前に、所定温度におけるスイッチのオン抵抗値を測定し、測定したオン抵抗値を示すデータを基準値データとして記憶部73に記憶する。
 記憶部73には、更に、定電流の設定値を示す設定値データが記憶されている。設定値データが示す設定値は、制御部74によって更新される。記憶部73には、更に、オン抵抗値の変化率と半導体スイッチ20の周囲温度との関係を示すグラフと、PWM信号のデューティ及び定電流の設定値の関係を示すグラフとが記憶されている。
 図6は、オン抵抗値の変化率と半導体スイッチの周囲温度との関係を示すグラフである。オン抵抗値の変化率は、基準値データが示す基準値との比率である。オン抵抗値が基準値のX倍である場合、オン抵抗値の変化率はXである。Xは正の実数である。図6に示すように、オン抵抗値の変化率は半導体スイッチ20の周囲温度が高い程、高い。
 図7は、デューティ及び定電流の設定値の関係を示すグラフである。定電流の設定値がゼロを超える範囲においては、PWM信号のデューティの設定値は、定電流の設定値に比例する。定電流の設定値が大きい程、PWM信号のデューティは大きい。トランジスタ40において、基準電位が接地電位であるベースの電圧が一定値以上とならない限り、電流がトランジスタ40のコレクタ及びエミッタを介して流れない。このため、定電流の設定値がゼロAである場合におけるデューティの設定値として複数の値が存在する。
 オン抵抗値の変化率と半導体スイッチ20の周囲温度との関係を示すグラフと、デューティ及び定電流の設定値の関係を示すグラフとが記憶部73に予め記憶されている。
<電流調整処理>
 図8は電流調整処理の手順を示すフローチャートである。制御部74は、電流調整処理を周期的に実行する。電流調整処理では、制御部74は、A/D変換部71から温度情報を取得する(ステップS1)。次に、制御部74は、半導体スイッチ20のオン抵抗値の変化率を、ステップS1で取得した温度情報が示す半導体スイッチ20の周囲温度に対応する変化率に設定する(ステップS2)。ステップS2では、制御部74は、例えば、変化率を、オン抵抗値の変化率と半導体スイッチの周囲温度との関係を示すグラフ(図6参照)においてステップS1で取得した温度情報が示す周囲温度に対応する変化率に設定する。
 なお、変化率を設定する方法は、グラフを用いた方法に限定されず、例えば、オン抵抗値の変化率と半導体スイッチの周囲温度との関係を示す関係式を用いた方法であってもよい。この場合、制御部74は、関係式において、周囲温度の変数に、ステップS1で取得した温度情報が示す周囲温度を代入し、変化率を算出する。制御部74は、オン抵抗値の変化率を、算出した変化率に設定する。
 次に、制御部74は、ステップS2で設定した変化率に、基準値データが示す基準値を乗算することによって、半導体スイッチ20のオン抵抗値を算出する(ステップS3)。次に、制御部74は、定電流回路30が引き込む定電流の設定値を、電流閾値が予め設定されている目標値となる定電流に設定する(ステップS4)。前述したように、電流閾値IthはRc・Ic/Rohで表される。Rc、Ic及びRonそれぞれは、装置抵抗21の抵抗値、定電流及びオン抵抗値である。電流閾値Ithの目標値をIgと記載した場合、電流閾値Ithが目標値Igとなる定電流IcはRon・Ig/Rcで表される。
 ステップS4では、制御部74は、定電流の設定値をRon・Ig/Rcに設定する。ここで、目標値Ig及び抵抗値Rcは定数である。オン抵抗値RonはステップS3で算出したオン抵抗値である。オン抵抗値Ronが基準値である場合において、電流閾値Ithが目標値Igとなる定電流Icを基準電流値と記載する。半導体スイッチ20の周囲温度が変動に応じてオン抵抗値Ronが基準値のX倍となったと仮定する。この場合、ステップS4では、定電流の設定値は、基準電流値のX倍に設定される。前述したように、Xは正の実数である。
 ステップS3で算出したオン抵抗値は、温度情報が示す半導体スイッチ20の周囲温度に応じた値であるため、ステップS4で設定される設定値も半導体スイッチ20の周囲温度に応じた値である。
 次に、制御部74は、設定値データが示す定電流の設定値を、ステップS4で設定した設定値に更新し(ステップS5)、PWM信号のデューティの設定値を、設定値データが示す定電流の設定値に対応するデューティの設定値に設定する(ステップS6)。ステップS6では、制御部74は、例えば、デューティの設定値を、デューティの設定値と定電流の設定値との関係を示すグラフ(図7参照)において、設定値データが示す定電流の設定値に対応する設定値に設定する。
 なお、デューティの設定値を設定する方法は、グラフを用いた方法に限定されず、例えば、デューティの設定値と定電流の設定値との関係を示す関係式を用いた方法であってもよい。この場合、制御部74は、関係式において、定電流の設定値の変数に、設定値データが示す設定値を代入し、デューティの設定値を算出する。制御部74は、デューティの設定値を、算出した設定値に設定する。
 次に、制御部74は、信号出力部72が出力しているPWM信号のデューティを、ステップS6で設定したデューティの設定値に調整する(ステップS7)。これにより、電流調整器31が印加しているトランジスタ40のベースの電圧は、ステップS6で設定したデューティの設定値、即ち、ステップS4で設定した定電流の設定値に応じた電圧に調整される。前述したように、ベースの電圧は、デューティが大きい程、高い。定電流は、調整されたベースの電圧に対応する値に調整される。前述したように、定電流は、ベースの電圧が高い程、大きい。
 制御部74は、ステップS7を実行した後、電流調整処理を終了する。制御部74は、電流調整処理を周期的に実行することによって、定電流を半導体スイッチ20のオン抵抗値に応じた値に調整する。
<電流調整処理の効果>
 図9は電流調整処理の効果の説明図である。図9には、オン抵抗値及び周囲温度の関係を示すグラフと、定電流及び周囲温度の関係を示すグラフと、電流閾値及び周囲温度の関係を示すグラフとが示されている。ここで、周囲温度は、半導体スイッチ20の周囲温度である。
 種々の原因で、半導体スイッチ20の温度、即ち、半導体スイッチ20の周囲温度は変動する。図9に示すように、半導体スイッチ20の周囲温度が変動した場合、半導体スイッチ20のオン抵抗値も変動する。制御部74は電流調整処理を周期的に実行する。これにより、定電流は、半導体スイッチ20の周囲温度に応じてオン抵抗値と同様に変動する。具体的には、周囲温度の変動によって、オン抵抗値が基準値のX倍になった場合、電流調整処理において、定電流は、基準電流値のX倍に調整される。前述したように、Xは正の実数であり、基準電流値は、オン抵抗値が基準値である場合において、電流閾値が目標値となる定電流である。以上のように定電流が調整されるので、電流閾値は、図9に示すように、半導体スイッチ20の周囲温度に無関係に一定の目標値に維持される。
<微調整処理>
 図10は微調整処理の手順を示すフローチャートである。電流調整処理では、定電流が設定値となるように、PWM信号のデューティ、即ち、トランジスタ40のベースの電圧が調整される。しかしながら、電流調整処理の実行によって、実際の定電流が設定値に調整されていない可能性がある。微調整処理は、実際の定電流を設定値に調整する処理である。制御部74は周期的に微調整処理を実行する。
 微調整処理では、制御部74は、設定値データが示す定電流の設定値を読み出し(ステップS11)、A/D変換部71から電流情報を取得する(ステップS12)。前述したように、電流情報は、回路抵抗41の両端間の電圧であり、実際の定電流を示す。次に、制御部74は、ステップS12で取得した電流情報が示す実際の定電流がステップS11で読み出した設定値と一致するか否かを判定する(ステップS13)。ここで、ステップS13の「一致」の意味は厳密な意味に限定されない。例えば、実際の定電流と設定値との差分値が所定値未満である場合に、制御部74は、ステップS13において実際の電流値が設定値と一致していると判定してもよい。この場合、実際の電流値と設定値との差分値が所定値以上である場合に、制御部74は、ステップS13において実際の電流値が設定値と異なっていると判定する。所定値は、予め設定されており、例えば、誤差と見なすことができる値である。
 制御部74は、実際の定電流が設定値と一致していると判定した場合(ステップS13:YES)、微調整処理を終了する。制御部74は、実際の定電流が設定値と一致していない、即ち、実際の定電流が設定値と異なっていると判定した場合(ステップS13:NO)、ステップS12で取得した電流情報が示す実際の定電流がステップS11で読み出した設定値を超えているか否かを判定する(ステップS14)。制御部74は、実際の定電流が設定値を超えていると判定した場合(S14:YES)、信号出力部72が出力しているPWM信号のデューティを下げる(ステップS15)。これにより、トランジスタ40のベースの電圧が低下し、定電流が低下する。第1例として、デューティの下げ幅は一定値であってもよい。第2例として、デューティの下げ幅は、定電流及び設定値の差分値に応じた幅であってもよい。この場合、差分値が大きい程、下げ幅は大きい。
 制御部74は、実際の定電流が設定値を超えていないと判定した場合(S14:NO)、実際の定電流は設定値未満であるので、信号出力部72が出力しているPWM信号のデューティを上げる(ステップS16)。これにより、トランジスタ40のベースの電圧が上昇し、定電流が上昇する。第1例として、デューティの上げ幅は一定値であってもよい。第2例として、デューティの上げ幅は、定電流及び設定値の差分値に応じた幅であってもよい。この場合、差分値が大きい程、上げ幅は大きい。
 制御部74は、ステップS13において、実際の定電流が設定値と一致すると判定した場合、微調整処理を終了し、実際の定電流が設定値と一致しないと判定した場合、定電流回路30が有するトランジスタ40のベース電圧を調整する。このため、ステップS13を実行することは、ステップS12で取得した電流情報が示す定電流と、設定値データ示す設定値との差分値に基づいて、トランジスタ40のベースの電圧を調整するか否かを判定することに相当する。
 制御部74は、ステップS15又はステップS16を実行した後、ステップS13を再び実行する。制御部74は、実際の定電流が設定値と異なっている場合、実際の定電流が設定値と一致するまで、信号出力部72が出力しているPWM信号のデューティ、即ち、トランジスタ40のベースの電圧を繰り返し調整する。これにより、制御部74は、定電流回路30が引き込む実際の定電流を、設定値データが示す設定値、即ち、電流調整処理のステップS4で設定された設定値に一致させることができる。定電流及び設定値に関する「一致」の意味は、前述したように、厳密な意味に限定されない。
<なお書き>
 電流情報は、回路抵抗41の両端間の電圧に限定されず、例えば、装置抵抗21の両端間の電圧であってもよい。この場合、装置抵抗21の両端間の電圧を、装置抵抗21の抵抗値で除算することによって、定電流を算出することができる。また、定電流の電流経路において、トランジスタ40の上流側に抵抗を配置してもよい。この場合、電流情報は、この抵抗の両端間の電圧であってもよい。
 PWM信号のデューティの調整は、トランジスタ40のベースの電圧の調整に相当する。このため、マイコン50は、PWM信号のデューティではなく、トランジスタ40のベースの電圧を直接に調整してもよい。PWM信号のデューティが高い程、トランジスタ40のベースの電圧が高いので、制御部74は、ベースの電圧の設定値をデューティの設定値と同様に設定する。トランジスタ40のベースの電圧を直接に調整する構成では、マイコン50は、信号出力部の代わりに、トランジスタ40のベースに直接に電圧を印加する電圧印加部を有する。電圧印加部は、トランジスタ40のベースに接続され、マイコン50の指示に従って、ベースの電圧を調整する。
(実施形態2)
 実施形態1における定電流回路30はトランジスタ40及び回路抵抗41によって実現されている。しかしながら、定電流を引き込む定電流回路の構成は定電流回路30の構成に限定されない。
 以下では、実施形態2について、実施形態1と異なる点を説明する。後述する構成を除く他の構成は実施形態1と共通している。このため、実施形態1と共通する構成部には、実施形態1と同一の参照符号を付してその説明を省略する。
<電流制御装置の構成>
 図11は実施形態2における電流制御装置26aの要部構成を示すブロック図である。実施形態2におけるスイッチ制御装置10は、実施形態1におけるスイッチ制御装置10が有する構成部の中で、電流制御装置26を除く他の構成部を有する。実施形態2におけるスイッチ制御装置10は、電流制御装置26の代わりに、電流制御装置26aを有する。電流制御装置26aは、定電流回路30a、電流調整器31a及びレギュレータ32を有する。電流調整器31aはマイコン50を有する。
 装置抵抗21の他端は定電流回路30aに接続されている。定電流回路30aは接地されている。半導体スイッチ20のドレインはレギュレータ32に接続されている。レギュレータ32は、定電流回路30と、電流調整器31aのマイコン50に接続されている。温度検出部22は電流調整器31aのマイコン50に接続されている。マイコン50は、更に、定電流回路30に接続されている。
 電流調整器31aの定電流回路30aは、実施形態1における定電流回路30と同様に、バッテリ11の正極から、装置抵抗21を介して定電流を引き込む。レギュレータ32は、基準電位が接地電位であるバッテリ11の出力電圧を目標電圧に降圧し、目標電圧を定電流回路30aに印加する。これにより、レギュレータ32から定電流回路30aに電流が流れる。目標電圧は基準電位が接地電位である電圧である。レギュレータ32から定電流回路30aに流れる電流を参照電流と記載する。参照電流をIrで表す。
 定電流回路30aが引き込む定電流Icは、参照電流IrのK倍に実質的に一致する。Kは正の実数である。参照電流Irは目標電圧に応じて変化する。このため、目標電圧を調整することによって、定電流Icが調整される。
 マイコン50は、実施形態1と同様に、温度検出部22から温度情報を取得する。マイコン50は、更に、定電流回路30aから定電流Icを示す電流情報を取得する。マイコン50は、取得した温度情報及び電流情報に基づいて、レギュレータ32が定電流回路30aに印加する電圧を調整する。
 以上のように、定電流回路30a及び電流調整器31aそれぞれは、実施形態1における定電流回路30及び電流調整器31aと同様に作用する。
<定電流回路30aの構成>
 定電流回路30aは、第1回路抵抗80、第2回路抵抗81及びカレントミラー回路82を有する。カレントミラー回路82は第1トランジスタB1及び第2トランジスタB2を有する。第1トランジスタB1及び第2トランジスタB2それぞれはNPN型のバイポーラトランジスタである。
 第1回路抵抗80の一端は、装置抵抗21の他端に接続されている。第1回路抵抗80の他端は、第1トランジスタB1のコレクタに接続されている。第2回路抵抗81の一端はレギュレータ32に接続されている。第2回路抵抗81の他端は、第2トランジスタB2のコレクタ及びベースに接続されている。第1トランジスタB1のベースは第2トランジスタB2のベースに接続されている。第1トランジスタB1及び第2トランジスタB2のエミッタは接地されている。第1回路抵抗80の両端はマイコン50に接続されている。
 定電流Icは、バッテリ11の正極から、装置抵抗21、第1回路抵抗80及び第1トランジスタB1の順に流れる。第1トランジスタB1では、定電流Icはコレクタ及びベースの順に流れる。参照電流Irは、レギュレータ32から、第2回路抵抗81及び第2トランジスタB2の順に流れる。第2トランジスタB2では、参照電流Irの大部分がコレクタ及びベースの順に流れる。第2トランジスタB2においてコレクタ及びベースを流れる電流は参照電流Irと実質的に一致する。
 前述したように、第1トランジスタB1のエミッタ及びベースそれぞれは、第2トランジスタB2のエミッタ及びベースに接続されている。このため、第1トランジスタB1におけるベース及びエミッタ間の電圧は、第2トランジスタB2におけるベース及びエミッタ間の電圧は一致する。NPN型のバイポーラトランジスタにおいて、コレクタ及びエミッタの順に流れるコレクタ電流は、エミッタ及びベース間の電圧によって決まる。このため、定電流Icは参照電流IrのK倍に調整される。
 コレクタ電流とエミッタ及びベース間の電圧との関係をトランジスタ特性と記載する。第1トランジスタB1及び第2トランジスタB2のトランジスタ特性が同じである場合、定電流Icは参照電流Irに実質的に一致する。参照電流Irは、レギュレータ32が定電流回路30aの第2回路抵抗81の一端に印加する目標電圧が高い程、大きい。
 マイコン50は、目標電圧の設定値を示す目標情報をレギュレータ32に出力する。レギュレータ32は、定電流回路30aの第2回路抵抗81の一端に印加する目標電圧を設定値に調整する。マイコン50は、種々の設定値を示す目標情報をレギュレータ32に出力することによって目標電圧を調整する。
 第1回路抵抗80の両端間の電圧は、(第1回路抵抗80の抵抗値)・Icで表される。第1回路抵抗80の抵抗値は一定値であるので、第1回路抵抗80の両端間の電圧を、第1回路抵抗80の抵抗値で除算することによって定電流Icを算出することができる。第1回路抵抗80の両端間の電圧が、定電流Icを示す電流情報としてマイコン50に出力される。
 マイコン50は、温度検出部22から入力される温度情報と、定電流回路30aから入力される電流情報とに基づいて、レギュレータ32が印加する目標電圧を調整する。
<マイコン50の構成>
 図12はマイコン50の要部構成を示すブロック図である。実施形態2におけるマイコン50は、実施形態1におけるマイコン50が有する構成部の中で、信号出力部72を除く他の構成部を有する。実施形態2におけるマイコン50は、信号出力部72の代わりに、電圧調整部76を有する。電圧調整部76は、内部バス75と、レギュレータ32とに各別に接続されている。
 A/D変換部71は、実施形態1と同様に作用する。ただし、A/D変換部71に入力される電流情報は、回路抵抗41の両端間の電圧ではなく、第1回路抵抗の両端間の電圧である。
 電圧調整部76は、種々の設定値を示す目標情報を出力することによってレギュレータ32が定電流回路30aの第2回路抵抗81の一端に印加する目標電圧を調整する。電圧調整部76は、制御部74の指示に従って目標電圧を調整する。
<電流調整処理>
 制御部74は、図8に示す実施形態1の電流調整処理と同様の電流調整処理を実行する。実施形態2におけるステップS6では、制御部74は、PWM信号のデューティではなく、目標電圧の設定値を、設定値データが示す定電流の設定値に対応する目標電圧の設定値に設定する。ステップS6では、実施形態1と同様に、制御部74は、目標電圧の設定値と定電流の設定値との関係を示すグラフを用いて目標電圧の設定値を設定してもよい。更に、ステップS6では、制御部74は、目標電圧の設定値と定電流の設定値との関係を示す関係式を用いて目標電圧の設定値を設定してもよい。ステップS6では、定電流の設定値が大きい程、目標電圧の設定値は大きい値に設定される。
 実施形態2におけるステップS7では、制御部74は、電圧調整部76に指示して、目標電圧をステップS6で設定した設定値に調整させる。制御部74はステップS7を実行した後、電流調整処理を終了する。
<微調整処理>
 制御部74は、図10に示す実施形態1の微調整処理と同様の微調整処理を実行する。実施形態2におけるステップS15では、制御部74は、電圧調整部76に指示して、PWM信号のデューティではなく、目標電圧を下げさせる。第1例として、目標電圧の下げ幅は一定値であってもよい。第2例として、目標電圧の下げ幅は、実際の定電流と定電流の設定値との差分値に応じた幅であってもよい。この場合、差分値が大きい程、下げ幅は大きい。
 実施形態2におけるステップS16では、制御部74は、電圧調整部76に指示して、PWM信号のデューティではなく、目標電圧を上げさせる。第1例として、目標電圧の上げ幅は一定値であってもよい。第2例として、目標電圧の上げ幅は、実際の定電流と定電流の設定値との差分値に応じた幅であってもよい。この場合、差分値が大きい程、上げ幅は大きい。
 制御部74は、実施形態1と同様に、ステップS15又はステップS16を実行した後、ステップS13を再び実行する。制御部74は、実際の定電流が設定値と異なっている場合、実際の定電流が設定値と一致するまで、レギュレータ32が印加している目標電圧を繰り返し調整する。これにより、制御部74は、定電流回路30が引き込む実際の定電流を、設定値データが示す設定値、即ち、電流調整処理のステップS4で設定された設定値に一致させることができる。
<スイッチ制御装置10の効果>
 実施形態2におけるスイッチ制御装置10は、実施形態1におけるスイッチ制御装置10が奏する効果を同様に奏する。従って、電流閾値が大きく超える過電流が半導体スイッチ20を介して流れることが防止され、電流閾値が半導体スイッチ20の周囲温度に依存しない一定値に維持される。
<実施形態2のなお書き>
 実施形態2において、定電流Icを調整する方法は、目標電圧を調整する方法に限定されない。目標電圧は固定されていてもよい。この場合、例えば、第1回路抵抗80の代わりに可変抵抗を接続する。可変抵抗の抵抗値を調整することによって定電流Icを調整することができる。この構成では、マイコン50は、目標電圧を調整する代わりに、可変抵抗の抵抗値を調整する。可変抵抗の抵抗値が小さい程、定電流Icは大きい。従って、目標電圧を下げる代わりに、可変抵抗の抵抗値を上げる。目標電圧を上げる代わりに、可変抵抗の抵抗値を下げる。
 実施形態2において、第1トランジスタB1及び第2トランジスタB2それぞれは、NPN型のバイポーラトランジスタに限定されず、例えば、Nチャネル型のFETであってもよい。
<実施形態1,2の変形例>
 実施形態1における電流制御装置26又は実施形態2における電流制御装置26aが用いられる装置は、スイッチ制御装置10に限定されない。電流制御装置26,26aそれぞれは、負荷に定電流を供給する装置において用いることができる。
 実施形態1,2において、半導体スイッチ20は、Nチャネル型のMOSFETに限定されず、周囲温度に応じてオン抵抗値が変動する半導体スイッチであればよい。半導体スイッチ20は、例えば、周囲温度が低下した場合にオン抵抗値が低下する半導体スイッチであってもよい。
 開示された実施形態1,2はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述した意味ではなく、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。
 1 電源システム
 10 スイッチ制御装置
 11 バッテリ
 12 負荷
 20 半導体スイッチ
 21 装置抵抗(第2の抵抗)
 22 温度検出部
 23 駆動回路(切替え部)
 24 制御器
 25 コンパレータ
 26,26a 電流制御装置
 30,30a 定電流回路
 31,31a 電流調整器
 32 レギュレータ
 40 トランジスタ
 41 回路抵抗
 50 マイコン
 51 平滑回路
 60 第1抵抗
 61 第2抵抗
 62 キャパシタ
 70,71 A/D変換部
 72 信号出力部
 73 記憶部
 74 制御部(処理部)
 75 内部バス
 76 電圧調整部
 80 第1回路抵抗
 81 第2回路抵抗
 82 カレントミラー回路
 A 記憶媒体
 B1 第1トランジスタ
 B2 第2トランジスタ
 P コンピュータプログラム

Claims (8)

  1.  電圧が印加されており、印加されている電圧に応じた定電流を引き込む定電流回路と、
     処理を実行する処理部と
     を備え、
     前記処理部は、
     前記定電流回路が引き込む定電流の値を設定し、
     前記定電流回路に印加されている電圧を、設定した設定値に応じた電圧に調整し、
     前記定電流回路が引き込む定電流を示す電流情報を取得し、
     取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加されている電圧を調整するか否かを判定する
     電流制御装置。
  2.  前記定電流回路は、
     前記定電流の電流経路にて、コレクタがエミッタの上流側に配置されるNPN型のバイポーラトランジスタと、
     前記電流経路において、前記バイポーラトランジスタの下流側に配置される抵抗と
     を有し、
     前記処理部は、前記定電流回路が有する前記バイポーラトランジスタのベースの電圧を、設定した設定値に応じた電圧に調整する
     請求項1に記載の電流制御装置。
  3.  前記電流情報は前記抵抗の両端間の電圧である
     請求項2に記載の電流制御装置。
  4.  PWM信号を出力する信号出力部と、
     前記信号出力部が出力したPWM信号の電圧を平滑する平滑回路と
     を備え、
     前記平滑回路が平滑した電圧が前記バイポーラトランジスタのベースに印加され、
     前記処理部は、前記PWM信号のデューティを、設定した設定値に応じたデューティに調整する
     請求項2又は請求項3に記載の電流制御装置。
  5.  電流が流れる半導体スイッチと、
     前記半導体スイッチの上流側の一端に接続される第2の抵抗と、
     前記半導体スイッチの下流側の一端のスイッチ電圧が、前記第2の抵抗の下流側の一端の抵抗電圧未満である場合に前記半導体スイッチをオフに切替える切替え部と、
     電圧が印加されており、印加されている電圧に応じた定電流を前記第2の抵抗を介して引き込む定電流回路と、
     処理を実行する処理部と
     を備え、
     前記処理部は、
     前記定電流回路が引き込む定電流の値を設定し、
     前記定電流回路に印加されている電圧を、設定した設定値に応じた電圧に調整し、
     前記定電流回路が引き込む定電流を示す電流情報を取得し、
     取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加されている電圧を調整するか否かを判定する
     スイッチ制御装置。
  6.  前記半導体スイッチの周囲温度を検出する温度検出部を備え、
     前記処理部は、前記温度検出部が検出した周囲温度に応じて、前記定電流回路が引き込む定電流の設定値を設定する
     請求項5に記載のスイッチ制御装置。
  7.  電圧が印加され、印加された電圧に応じた定電流を引き込む定電流回路の前記定電流の値を設定するステップと、
     前記定電流回路に印加する電圧を、設定した設定値に応じた電圧に調整するステップと、
     前記定電流回路が引き込む定電流を示す電流情報を取得するステップと、
     取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加する電圧を調整するか否かを判定するステップと
     をコンピュータが実行する電流制御方法。
  8.  電圧が印加され、印加された電圧に応じた定電流を引き込む定電流回路の前記定電流の値を設定するステップと、
     前記定電流回路に印加する電圧を、設定した設定値に応じた電圧に調整するステップと、
     前記定電流回路が引き込む定電流を示す電流情報を取得するステップと、
     取得した電流情報が示す定電流と設定した設定値との差分値に基づいて、前記定電流回路に印加する電圧を調整するか否かを判定するステップと
     をコンピュータに実行させるためのコンピュータプログラム。
PCT/JP2021/008502 2020-03-23 2021-03-04 電流制御装置、スイッチ制御装置、電流制御方法及びコンピュータプログラム WO2021192898A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE112021001769.1T DE112021001769T5 (de) 2020-03-23 2021-03-04 Stromsteuervorrichtung, Schaltersteuervorrichtung, Stromsteuerverfahren und Computerprogramm
US17/906,824 US20230370055A1 (en) 2020-03-23 2021-03-04 Current control device, switch control device, current control method, and computer program
CN202180020680.1A CN115280258A (zh) 2020-03-23 2021-03-04 电流控制装置、开关控制装置、电流控制方法及计算机程序

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020051503A JP7472577B2 (ja) 2020-03-23 2020-03-23 電流制御装置、スイッチ制御装置、電流制御方法及びコンピュータプログラム
JP2020-051503 2020-03-23

Publications (1)

Publication Number Publication Date
WO2021192898A1 true WO2021192898A1 (ja) 2021-09-30

Family

ID=77849183

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/008502 WO2021192898A1 (ja) 2020-03-23 2021-03-04 電流制御装置、スイッチ制御装置、電流制御方法及びコンピュータプログラム

Country Status (5)

Country Link
US (1) US20230370055A1 (ja)
JP (1) JP7472577B2 (ja)
CN (1) CN115280258A (ja)
DE (1) DE112021001769T5 (ja)
WO (1) WO2021192898A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006164089A (ja) * 2004-12-10 2006-06-22 Sharp Corp 直流安定化電源装置
JP2017229138A (ja) * 2016-06-21 2017-12-28 株式会社オートネットワーク技術研究所 給電制御装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100622918B1 (ko) * 2005-02-01 2006-09-14 엘지전자 주식회사 이동통신단말기의 배터리 충전전류 자가보상장치 및 이를이용한 보상방법
JP4749049B2 (ja) * 2005-06-15 2011-08-17 ローム株式会社 定電流回路および電子機器
CN201311605Y (zh) * 2008-10-23 2009-09-16 安然 一种恒流控制装置
CN203645132U (zh) * 2013-12-17 2014-06-11 青岛海信宽带多媒体技术有限公司 一种dbr电流控制电路以及光模块
CN203645892U (zh) * 2013-12-30 2014-06-11 广东瑞德智能科技股份有限公司 一种恒流可调背光电路
JP6311357B2 (ja) * 2014-03-05 2018-04-18 株式会社オートネットワーク技術研究所 防止装置
CN205179468U (zh) * 2015-11-24 2016-04-20 深圳怡化电脑股份有限公司 一种可调节的恒流驱动电路和红外发光传感器
JP6790350B2 (ja) * 2015-12-03 2020-11-25 株式会社オートネットワーク技術研究所 給電制御装置
CN107479608A (zh) * 2017-09-18 2017-12-15 东莞博力威电池有限公司 一种控制输出恒定电流的电路

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006164089A (ja) * 2004-12-10 2006-06-22 Sharp Corp 直流安定化電源装置
JP2017229138A (ja) * 2016-06-21 2017-12-28 株式会社オートネットワーク技術研究所 給電制御装置

Also Published As

Publication number Publication date
DE112021001769T5 (de) 2023-01-05
JP7472577B2 (ja) 2024-04-23
CN115280258A (zh) 2022-11-01
US20230370055A1 (en) 2023-11-16
JP2021149839A (ja) 2021-09-27

Similar Documents

Publication Publication Date Title
US9977443B2 (en) Low dropout linear regulators and starting methods therefor
EP3872973B1 (en) Regulator and chip
US7339775B2 (en) Overcurrent protection circuit and DC power supply
US9063558B2 (en) Current limiting circuit configured to limit output current of driver circuit
JP2019142377A (ja) 給電制御装置
US10761549B2 (en) Voltage sensing mechanism to minimize short-to-ground current for low drop-out and bypass mode regulators
US20180358806A1 (en) Power supply control apparatus
US20050088154A1 (en) Voltage regulator
WO2017204038A1 (ja) 給電制御装置、給電制御方法及びコンピュータプログラム
JP6543908B2 (ja) 変圧装置
WO2021192898A1 (ja) 電流制御装置、スイッチ制御装置、電流制御方法及びコンピュータプログラム
TWI674728B (zh) 電池充電電路
US20190165561A1 (en) Power supply control apparatus, power supply control method, and computer program
TWI694322B (zh) 電壓調整器
JP2023141944A (ja) バックアップ電源装置及びバックアップ電源装置の制御方法
KR101347538B1 (ko) 저전압 강하 레귤레이터의 돌입 전류 보호회로
WO2021230051A1 (ja) 給電制御装置
WO2021215138A1 (ja) 給電制御装置
WO2021205816A1 (ja) 給電制御装置
US11870427B2 (en) Power supply control device
US20230163758A1 (en) Gate drive device
WO2022070569A1 (ja) 検出回路及び給電制御装置
JP6760215B2 (ja) 電圧検出器及び信号出力装置
JPH1022107A (ja) デジタル可変抵抗および電源装置
JP2014078158A (ja) 電源回路

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21775277

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21775277

Country of ref document: EP

Kind code of ref document: A1