WO2018003441A1 - 出力装置及び切替えシステム - Google Patents

出力装置及び切替えシステム Download PDF

Info

Publication number
WO2018003441A1
WO2018003441A1 PCT/JP2017/021107 JP2017021107W WO2018003441A1 WO 2018003441 A1 WO2018003441 A1 WO 2018003441A1 JP 2017021107 W JP2017021107 W JP 2017021107W WO 2018003441 A1 WO2018003441 A1 WO 2018003441A1
Authority
WO
WIPO (PCT)
Prior art keywords
cpu
output
circuit
voltage
capacitor
Prior art date
Application number
PCT/JP2017/021107
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 株式会社オートネットワーク技術研究所
Publication of WO2018003441A1 publication Critical patent/WO2018003441A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/28Modifications for introducing a time delay before switching
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements

Definitions

  • the present invention relates to an output device that outputs a voltage based on a signal input from the outside, and a switching system in which a switch is switched based on a voltage output from the output device.
  • the vehicle is equipped with a power supply system (see, for example, Patent Document 1) in which a switch is provided in a power supply path from the battery to the load.
  • a microcomputer hereinafter referred to as a microcomputer
  • outputs a high level voltage and a low level voltage When the microcomputer outputs a high level voltage, the switch is on and power is supplied from the battery to the load.
  • the microcomputer When the microcomputer outputs a low level voltage, the switch is off and power supply from the battery to the load is stopped.
  • a microcomputer with a built-in watchdog timer has been proposed.
  • the CPU Central Processing Unit
  • the CPU repeatedly instructs the output unit to repeatedly output a notification signal for notifying that the operation is normal to the watchdog timer.
  • the watchdog timer starts counting from zero each time a notification signal is input from the output unit.
  • the processing to output the notification signal to the watchdog timer is not performed in the output unit, and the watchdog timer Instruct the reset circuit to initialize the components of the microcomputer.
  • the reset circuit initializes the components of the microcomputer when initialization is instructed by the watchdog timer. Thereby, the state of the constituent parts of the microcomputer including the CPU returns to the initial state, that is, the state at the time when the microcomputer was shipped. This initialization is expected to return the CPU operation to normal.
  • the CPU When the CPU is activated or the CPU is initialized, the CPU checks whether data is properly stored in a predetermined process, for example, RAM (Random Access Memory) constituting the microcomputer. Execute the process. As a result of executing the predetermined process, the CPU executes the predetermined process again when a specific result, for example, a result indicating that data is appropriately stored in the RAM is not obtained. The CPU repeatedly executes a predetermined process until a specific result is obtained.
  • a predetermined process for example, RAM (Random Access Memory) constituting the microcomputer. Execute the process. As a result of executing the predetermined process, the CPU executes the predetermined process again when a specific result, for example, a result indicating that data is appropriately stored in the RAM is not obtained. The CPU repeatedly executes a predetermined process until a specific result is obtained.
  • a predetermined process for example, RAM (Random Access Memory) constituting the microcomputer.
  • a power supply system in which a switch provided in a power supply path from a battery to a load is turned on or off according to a voltage output by a microcomputer with a built-in watchdog timer can be considered.
  • the microcomputer outputs a low level voltage, for example, while the CPU repeatedly executes predetermined processing and the operation of the microcomputer is unstable. In this case, the switch is kept off.
  • the switch In some power systems, in situations where the switch must be locked on or off, it is preferable to lock the switch on. For example, in a power supply system in which the load is a headlight, it is preferable that the switch is fixed on and the load continues to operate in order to drive the vehicle safely. Therefore, the microcomputer configured as described above has a problem that the output voltage is not switched to an appropriate voltage, that is, a high level voltage when the operation is unstable.
  • the present invention has been made in view of such circumstances, and an object of the present invention is to provide an output device capable of switching the output voltage to an appropriate voltage when the operation of the processing unit is unstable. And a switching system including the output device.
  • An output device is an output device including an output circuit that outputs one of two voltages, a processing unit that executes a predetermined process, and a specified result as a result of the processing unit executing the predetermined process.
  • a determination unit that determines whether or not a result has been obtained, and the processing unit executes the predetermined process again when the determination unit determines that the specific result has not been obtained, and the output circuit Is configured to switch the output voltage to another voltage when the time during which the processing unit repeatedly executes the predetermined process exceeds a predetermined time.
  • the predetermined process when it is determined that the specific result is not obtained as a result of executing the predetermined process, the predetermined process is executed again.
  • the output circuit switches the output voltage to another voltage. Accordingly, when the predetermined process is repeatedly executed and the operation of the processing unit is unstable for a predetermined time or more, the output voltage can be switched to an appropriate voltage.
  • the output device includes a battery that is charged while the processing unit repeatedly executes the predetermined process, and when the terminal voltage value of the battery is equal to or higher than a predetermined voltage value, the output circuit is The output voltage is switched to the other voltage.
  • the battery while the predetermined process is repeatedly executed, the battery is charged and the terminal voltage value of the battery rises.
  • the terminal voltage value of the capacitor becomes equal to or higher than the predetermined voltage value, and the output voltage is switched to another voltage.
  • the output device includes a power supply circuit that supplies power to the processing unit, and the power supply circuit stops the power supply when the determination unit determines that the specific result is not obtained.
  • the power supply is resumed immediately after the power supply is stopped, and the processing unit is configured to execute the predetermined process again after the power supply circuit resumes the power supply. .
  • the power supply circuit when the power supply circuit determines that the specific result is not obtained, the power supply circuit restarts the processing unit that performs the predetermined process. The processing unit performs the predetermined process again after restarting.
  • a switching system includes the output device described above, a switch, and a switching circuit that switches the switch on or off based on a voltage output from the output circuit.
  • the switch is turned on or off based on the voltage output from the output circuit of the output device.
  • the output voltage can be switched to an appropriate voltage.
  • FIG. 1 is a block diagram illustrating a configuration of a main part of a power supply system according to Embodiment 1.
  • FIG. It is a block diagram which shows the principal part structure of an output device. It is a flowchart which shows the procedure of an initial process. It is a flowchart which shows the procedure of a time measurement restart process. It is a flowchart which shows the procedure of an output process. It is a timing chart for explaining an example of operation of an output device. It is a timing chart for explaining other examples of operation of an output device.
  • FIG. 10 is a block diagram showing a main configuration of a power supply system in a second embodiment. It is a flowchart which shows the procedure of an initial process. 10 is a flowchart illustrating a procedure of initial processing according to the third embodiment.
  • FIG. 1 is a block diagram illustrating a main configuration of a power supply system 1 according to the first embodiment.
  • the power supply system 1 is suitably mounted on a vehicle and includes a battery 10, a main switch 11, a load 12, a drive circuit 13, and an output device 14.
  • the main switch 11 is an N-channel FET (Field Effect Transistor).
  • the positive electrode of the battery 10 is connected to the drain of the main switch 11.
  • the source of the main switch 11 is connected to one end of the load 12.
  • the negative electrode of the battery 10 and the other end of the load 12 are grounded.
  • a drive circuit 13 is connected to the gate of the main switch 11.
  • An output device 14 is further connected to the drive circuit 13.
  • the main switch 11 when the voltage value of the gate is equal to or higher than a certain voltage value, a current can flow between the drain and the source. At this time, the main switch 11 is on. Further, in the main switch 11, when the gate voltage value is less than a certain voltage value, no current flows between the drain and the source. At this time, the main switch 11 is off.
  • the drive circuit 13 switches the main switch 11 on or off by adjusting the voltage value of the gate of the main switch 11. A high level voltage and a low level voltage are input to the drive circuit 13 from the output device 14. The drive circuit 13 switches the main switch 11 on when a high level voltage is input from the output device 14, and switches the main switch 11 off when a low level voltage is input from the output device 14. The drive circuit 13 functions as a switching circuit.
  • the load 12 is an electric device mounted on the vehicle.
  • the drive circuit 13 switches the main switch 11 on, power is supplied from the battery 10 to the load 12, and the load 12 operates.
  • the drive circuit 13 switches the main switch 11 off, power supply from the battery 10 to the load 12 is stopped, and the load 12 stops operating.
  • the output device 14 receives an ON signal for instructing switching of the main switch 11 and an OFF signal for instructing switching of the main switch 11 to OFF.
  • the output device 14 outputs a high level voltage or a low level voltage to the drive circuit 13 based on the input signal.
  • the power supply system 1 including the main switch 11, the drive circuit 13, and the output device 14 also functions as a switching system in which the drive circuit 13 switches the main switch 11 on or off based on the voltage output by the output device 14.
  • FIG. 2 is a block diagram showing a main configuration of the output device 14.
  • the output device 14 includes a backup circuit 20, an OR circuit 21, a microcomputer 22, a sub switch 23, a switching unit 24, and a resistor R1.
  • the backup circuit 20 includes a capacitor C1, a diode D1, and a resistor R2.
  • the OR circuit 21 has two input terminals and one output terminal.
  • the output terminal of the OR circuit 21 is connected to the drive circuit 13.
  • One input end of the OR circuit 21 is connected to the microcomputer 22 and one end of the resistor R1. The other end of the resistor R1 is grounded.
  • the other input terminal of the OR circuit 21 is connected to the cathode of the diode D1 of the backup circuit 20.
  • the anode of the diode D1 is connected to the microcomputer 22 and one end of each of the capacitor C1 and the resistor R2.
  • the other end of the capacitor C1 is grounded.
  • the other end of the resistor R2 is connected to one end of the sub switch 23. A voltage is applied to the other end of the sub switch 23.
  • the voltage value of the voltage applied to the other end of the sub switch 23 is Vcc.
  • the voltage value Vcc is constant.
  • the OR circuit 21 supplies a high level voltage from the output end to the drive circuit 13 Output.
  • the OR circuit 21 outputs a low level voltage from the output terminal when the voltage value at one end of the resistor R1 is less than the first threshold value and the voltage value at the cathode of the diode D1 is less than the second threshold value.
  • the drive circuit 13 switches the main switch 11 on when the OR circuit 21 outputs a high level voltage, and switches the main switch 11 off when the OR circuit 21 outputs a low level voltage.
  • Each of the first threshold value and the second threshold value is constant and exceeds zero V.
  • the OR circuit 21 functions as an output circuit.
  • the high level voltage and the low level voltage correspond to two voltages.
  • the microcomputer 22 outputs a high level voltage or a low level voltage to one input terminal of the OR circuit 21.
  • the voltage value at one end of the resistor R1 is equal to or higher than the first threshold value.
  • the microcomputer 22 outputs a low level voltage to one input terminal of the OR circuit 21, the voltage value at one end of the resistor R1 is less than the first threshold value.
  • the microcomputer 22 does not output a voltage to one input terminal of the OR circuit 21, no current flows through the resistor R1, so that the voltage value at one end of the resistor R1 is zero V, which is less than the first threshold value. . Accordingly, when the microcomputer 22 does not output a voltage to one input terminal of the OR circuit 21, and the voltage value at the cathode of the diode D1 is equal to or higher than the second threshold value, the OR circuit 21 generates a high level voltage from the output terminal. Output. In the same case, when the voltage value at the cathode of the diode D1 is less than the second threshold value, the OR circuit 21 outputs a low level from the output terminal.
  • the microcomputer 22 has an I / O port 31.
  • the I / O port 31 is connected to one end of the capacitor C1 and grounded.
  • the direction of the I / O port 31 is set to “input” or “output”.
  • the I / O port adjusts the output level to a high level or a low level.
  • the impedance of the I / O port 31 between the ground terminal to be grounded and one end of the capacitor C1 is an open impedance.
  • the fact that the impedance of the I / O port 31 is an open impedance is substantially the same as the connection between the I / O port 31 and one end of the capacitor C1 being cut off. The open impedance is almost infinite.
  • the impedance of the I / O port 31 is the ground impedance. That the impedance of the I / O port 31 is the ground impedance is substantially the same as that one end of the capacitor C1 is grounded.
  • the ground impedance is approximately zero ⁇ .
  • the switching unit 24 switches the sub switch 23 on or off.
  • the sub switch 23 When the sub switch 23 is on and the impedance of the I / O port 31 is an open impedance, the current hardly flows to the I / O port 31 via the resistor R2, and the sub switch 23 and the resistor R2 Through the capacitor C1. Thereby, the capacitor C1 is charged.
  • the capacitor C1 functions as a capacitor.
  • the sub switch 23 When the sub switch 23 is on and the connection between the I / O port 31 and the capacitor C1 is cut off, almost no current flows to the I / O port 31 via the resistor R2.
  • the capacitor C1 flows through the switch 23 and the resistor R2, and the capacitor C1 is charged.
  • the ground impedance is approximately zero ⁇ . For this reason, when the sub switch 23 is on and the impedance of the I / O port 31 is the ground impedance, the current hardly flows from one end of the resistor R2 to the capacitor C1, but flows to the I / O port 31. . Furthermore, current flows from one end of the capacitor C1 to the I / O port 31, and the capacitor C1 is discharged.
  • the capacitor C1 is not charged or discharged. Similarly, when the sub switch 23 is off, charging and discharging of the capacitor C1 are not performed even when the connection between the I / O port 31 and one end of the capacitor C1 is cut off.
  • the terminal voltage value of the capacitor C1 that is, the voltage value between both ends of the capacitor C1 is higher as the power value stored in the capacitor C1 is larger. Accordingly, when the capacitor C1 is charged, the terminal voltage value of the capacitor C1 increases, and when the capacitor C1 is discharged, the terminal voltage value of the capacitor C1 decreases.
  • the terminal voltage value of the capacitor C1 is input to the other input terminal of the OR circuit 21 via the diode D1.
  • the reference voltage value is equal to or lower than the voltage value Vcc.
  • the voltage value at the cathode of the diode D1 is not less than the second threshold value.
  • the voltage value at the cathode of the diode D1 is less than the second threshold value.
  • the OR circuit 21 when the terminal voltage value of the capacitor C1 is less than the reference voltage value, the OR circuit 21 outputs a voltage corresponding to the voltage output from the microcomputer 22 to the drive circuit 13.
  • the OR circuit 21 When the terminal voltage value of the capacitor C1 is equal to or higher than the reference voltage value, the OR circuit 21 outputs a high level voltage to the drive circuit 13 regardless of the voltage output from the microcomputer 22, and the drive circuit 13 causes the main switch 11 to Switch on.
  • the CR time constant of the capacitor C1 and the resistor R2 is calculated by the product of the capacitance of the capacitor C1 and the resistance value r2 of the resistor R2.
  • the capacitance of the capacitor C1 and the resistance value r2 of the resistor R2 are constant. For this reason, the CR time constant is also constant.
  • An arrival time from when charging to the capacitor C1 is started in a state where the terminal voltage value of the capacitor C1 is zero V until reaching the reference voltage value is determined by the voltage value Vcc and the CR time constant. As described above, the voltage value Vcc and the CR time constant are constant. For this reason, the arrival time is also constant.
  • the microcomputer 22 and the switching unit 24 are input with a start signal for instructing start of the microcomputer 22 and a stop signal for instructing stop of the operation of the microcomputer 22.
  • the activation signal is input to the microcomputer 22 and the switching unit 24 when, for example, an ignition switch (not shown) of the vehicle is switched on.
  • the stop signal is input to the microcomputer 22 and the switching unit 24 when the ignition switch is switched off, for example. Further, an on signal and an off signal are input to the microcomputer 22.
  • the microcomputer 22 starts when a start signal is input, and stops operating when a stop signal is input.
  • the microcomputer 22 outputs a high-level voltage to one input terminal of the OR circuit 21 when an ON signal is input to the microcomputer 22 in the activated state.
  • the microcomputer 22 outputs a low level voltage to one input terminal of the OR circuit 21 when an off signal is input to the microcomputer 22.
  • the direction of the I / O port 31 is set to “output”, and the output level of the I / O port 31 is low level.
  • the impedance of the I / O port 31 is the ground impedance.
  • the direction of the I / O port 31 is set to “input” or the connection between the I / O port 31 and one end of the capacitor C1 is established. Blocked state.
  • the impedance of the I / O port 31 is an open impedance.
  • the period during which the microcomputer 22 does not output the high level voltage or the low level voltage is a period during which the microcomputer 22 has stopped operating, and the microcomputer 22 has been started or is initially in the microcomputer 22. This is a period from the start of output to the start of output of a high level voltage or low level voltage.
  • the switching unit 24 switches the sub switch 23 on when a start signal is input, and switches the sub switch 23 off when a stop signal is input. Therefore, when the microcomputer 22 is activated and outputs a high level voltage or a low level voltage, the impedance of the I / O port 31 is the ground impedance, and the switching unit 24 switches the sub switch 23 to ON. . In this case, as described above, the capacitor C1 is discharged.
  • the microcomputer 22 includes a timer 30, an input unit 32, output units 33 and 34, a watchdog timer (hereinafter referred to as “WDT”) 35, a power supply circuit 36, and a ROM (Read Only Memory) 37. RAM 38, CPU 39 and reset circuit 40.
  • the timer 30, I / O port 31, input unit 32, output units 33 and 34, power supply circuit 36, ROM 37, RAM 38 and CPU 39 are connected to the bus 41.
  • the output unit 33 is connected to a connection node between one input end of the OR circuit 21 and one end of the resistor R1.
  • the output unit 34 is connected to the WDT 35 in addition to the bus 41.
  • the WDT 35 is further connected to the reset circuit 40.
  • the timer 30 starts measuring time according to the instruction from the CPU 39.
  • the timer 30 outputs a timer signal indicating that the timer time has elapsed to the CPU 39 and ends the time measurement.
  • the timer time is constant.
  • the direction of the I / O port 31 is set to “input” or “output” by the CPU 39.
  • the I / O port 31 adjusts the output level to a high level or a low level in accordance with an instruction from the CPU 39.
  • An ON signal and an OFF signal are input to the input unit 32.
  • the input unit 32 notifies that effect.
  • the output unit 33 outputs a high level voltage or a low level voltage to one input terminal of the OR circuit 21 in accordance with an instruction from the CPU 39.
  • the output unit 34 repeatedly outputs a notification signal for notifying that the CPU 39 is operating normally to the WDT 35 in accordance with an instruction from the CPU 39. Each time a notification signal is input from the output unit 34, the WDT 35 starts counting from zero. When the time measured by the WDT 35 is equal to or longer than the preset WDT time, the WDT 35 sends the reset circuit 40 to the timer 30, the I / O port 31, the input unit 32, the output units 33 and 34, Instructs initialization of WDT 35, ROM 37, RAM 38 and CPU 39. The WDT time is constant.
  • the reset circuit 40 initializes the timer 30, the I / O port 31, the input unit 32, the output units 33 and 34, the WDT 35, the ROM 37, the RAM 38, and the CPU 39 in accordance with instructions from the WDT 35. Specifically, these states are returned to the initial state, that is, the state at the time when the microcomputer 22 was shipped. Thereby, for example, the counter value, the register value, and the like return to the values at the time when the microcomputer 22 was shipped, and the operation mode of the microcomputer 22 returns to the operation mode at the time when the microcomputer 22 was shipped.
  • the start signal and the stop signal are input to the power circuit 36.
  • the power supply circuit 36 is connected to the timer 30, the I / O port 31, the input unit 32, the output units 33 and 34, the WDT 35, the ROM 37, the RAM 38, the CPU 39, and the reset circuit 40 via unillustrated wires. To supply power.
  • the power supply circuit 36 stops power supply to these.
  • the timer 30, the I / O port 31, the input unit 32, the output units 33 and 34, the WDT 35, the ROM 37, the RAM 38, the CPU 39, and the reset circuit 40 stop operating.
  • the power supply circuit 36 stops supplying power the connection between the I / O port 31 and one end of the capacitor C1 is in a disconnected state.
  • the connection between the output unit 33 and one input terminal of the OR circuit 21 and the connection node between the one ends of the resistor R1 is also cut off.
  • the stop signal is input to the power supply circuit 36 of the microcomputer 22 and the switching unit 24, the sub switch 23 is off and the connection between the I / O port 31 and one end of the capacitor C1 is cut off. Therefore, charging and discharging are not performed on the capacitor C1.
  • the CPU 39 instructs the power supply circuit 36 to restart.
  • the power supply circuit 36 restarts the timer 30, the I / O port 31, the input unit 32, the output units 33 and 34, the WDT 35, the ROM 37, the RAM 38, the CPU 39, and the reset circuit 40 when the CPU 39 instructs the restart. .
  • the power supply circuit 36 stops power supply to these, and immediately after stopping the power supply, the timer 30, the I / O port 31, the input unit 32, the output units 33 and 34, the WDT 35, and the ROM 37 , The power supply to the RAM 38, the CPU 39 and the reset circuit 40 is resumed.
  • the ROM 37 stores a control program P1.
  • the CPU 39 executes the control program P1 stored in the ROM 37.
  • the CPU 39 executes an initial process, a timing restart process, and an output process by executing the control program P1.
  • the initial process is a process that is executed first when the CPU 39 is activated or initialized.
  • the timing restart process is a process for causing the timer 30 to restart timing.
  • the output process is a process for causing the output unit 33 to output a high level voltage or a low level voltage.
  • the control program P1 is a computer program for causing the CPU 39 to execute initial processing, timing start processing, and output processing. Data is temporarily stored in the RAM 38 by the CPU 39.
  • the control program P1 may be stored in the storage medium A1 so that the computer can read it.
  • the control program P1 is stored in the storage medium A1 and the ROM 37 is configured so that data can be rewritten
  • the control program P1 read from the storage medium A1 by a reading device (not shown) is stored in the ROM 37.
  • the storage medium A1 is an optical disk, a flexible disk, a magnetic disk, a magnetic optical disk, a semiconductor memory, or the like.
  • the optical disc 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 control program P1 may be downloaded from an external device (not shown) connected to a communication network (not shown), and the downloaded control program P1 may be stored in the ROM 37.
  • the data stored in the RAM 38 is erased from the RAM 38 when the power supply circuit 36 stops supplying power.
  • the data stored in the ROM 37 is not erased by stopping the power supply performed by the power supply circuit 36.
  • the RAM 38 stores a timer flag value. The value of the timer flag is set to zero or one by the CPU 39.
  • FIG. 3 is a flowchart showing the procedure of initial processing.
  • the initial process is a process that is first executed by the CPU 39 when the CPU 39 is activated or initialized.
  • the CPU 39 first writes predetermined data to the RAM 38 (step S1), and reads the written data from the RAM 38 (step S2).
  • the CPU 39 determines whether or not the data written to the RAM 38 in step S1 matches the data read from the RAM 38 in step S2 (step S3).
  • step S1 When the CPU 39 determines that the data written in step S1 matches the data read in step S2 (S3: YES), the CPU 39 reads the data from the ROM 37 (step S4), and calculates a data value based on the read data (step S4). Step S5). Next, the CPU 39 determines whether or not the data value calculated in step S5 matches a preset setting value (step S6).
  • the set value is constant.
  • step S7 When it is determined that the data value matches the set value (S6: YES), the CPU 39 sets the direction of the I / O port 31 to “input” (step S7). Thereby, the impedance of the I / O port 31 becomes an open impedance. It should be noted that the connection between the I / O port 31 and one end of the capacitor C1 is cut off until the CPU 39 is activated and step S7 is executed.
  • the CPU 39 sets initial values of various variables used in the timing start process and the output process (step S8), and determines whether or not the initial values have been successfully set (step S9).
  • the CPU 39 sets the timer flag value to zero (step S10) and causes the timer 30 to start measuring time (step S11).
  • the timer 30 starts counting from zero.
  • the timer 30 outputs a timer signal to the CPU 39 when the measured time exceeds the timer time.
  • the CPU 39 ends the initial process.
  • the CPU 39 determines that the data written in step S1 does not match the data read in step S2 (S3: NO), determines that the data value does not match the set value (S6: NO), or initial When it is determined that the value setting has failed (S9: NO), the power supply circuit 36 is restarted (step S12).
  • the power supply circuit 36 restarts the timer 30, the I / O port 31, the input unit 32, the output units 33 and 34, the WDT 35, the ROM 37, the RAM 38, the CPU 39, and the reset circuit 40.
  • the CPU 39 executes initial processing again after the power supply circuit 36 resumes power supply.
  • Step S1 and S2 correspond to a predetermined process.
  • the CPU 39 functions as a processing unit and a determination unit.
  • Step S4 and S5 also correspond to predetermined processing.
  • the CPU 39 determines whether or not a specific result indicating that the initial value has been successfully set is obtained in step S9 as a result of executing step S8 of the initial process. If the CPU 39 determines that this specific result has not been obtained, the CPU 39 executes step S12 and executes the initial process again. Step S8 also corresponds to a predetermined process. When the CPU 39 determines that the specific result is not obtained in one of steps S3, S6, and S9, the CPU 39 causes the power supply circuit 36 to restart.
  • the sub switch 23 is on while any of initialization, restart, and initial processing is being executed. Further, during the same period, the impedance of the I / O port 31 is an open impedance, or the connection between the I / O port 31 and one end of the capacitor C1 is cut off. Therefore, the capacitor C1 is charged while any of initialization, restart, and initial processing is being executed. For this reason, the capacitor C1 is charged while the CPU 39 repeatedly executes the initial process. As described above, initialization is performed by the reset circuit 40, and restart is performed by the power supply circuit 36.
  • the output unit 33 has not started outputting voltage, so the voltage value at one input terminal of the OR circuit 21 is zero V, It is less than the first threshold. Accordingly, when the CPU 39 repeatedly executes the initial process, the voltage value at the cathode of the diode D1 is less than the second threshold value while the terminal voltage value of the capacitor C1 is less than the reference voltage value. The low level voltage is output to the drive circuit 13, and the drive circuit 13 keeps the main switch 11 off.
  • the voltage value at the cathode of the diode D1 becomes equal to or higher than the second threshold value.
  • the voltage output to the drive circuit 13 is switched from the low level voltage to the high level voltage, and the drive circuit 13 switches the main switch 11 from OFF to ON.
  • the terminal voltage value of the capacitor C1 becomes equal to or higher than the reference voltage value.
  • the OR circuit 21 switches the voltage output to the drive circuit 13 from the low level voltage to the high level voltage.
  • the reference time corresponds to the arrival time described above.
  • FIG. 4 is a flowchart showing the procedure of the timing restart process.
  • the CPU 39 executes time measurement restart processing each time a timer signal is output from the timer 30 to the CPU 39.
  • the timer 30 outputs a timer signal to the CPU 39 when the time counted by itself is equal to or greater than the timer time, and ends the time measurement. For this reason, the timer 30 is not measuring time at the time when the timing restart process is executed.
  • the CPU 39 sets the value of the timer flag to 1 (step S21) and causes the timer 30 to start timing (step S22). As a result, the timer 30 resumes timing. After executing step S22, the CPU 39 ends the timing restart process.
  • FIG. 5 is a flowchart showing the procedure of output processing.
  • the CPU 39 executes step S11 and ends the initial process, and then periodically executes the output process.
  • the CPU 39 determines whether or not the value of the timer flag is 1 (step S30). If the CPU 39 determines that the value of the timer flag is not 1, that is, the value of the timer flag is zero (S30: NO), the output process is terminated.
  • step S31 sets the value of a timer flag to zero, when it determines with the value of a timer flag being 1 (S30: YES) (step S31).
  • step S32 sets the direction of the I / O port 31 to “output” (step S32), and instructs the I / O port 31 to adjust the output level to the low level (step S33).
  • step S32 executes steps S32 and S33, the impedance of the I / O port 31 of the backup circuit 20 becomes the ground impedance. As a result, the capacitor C1 starts discharging, and the terminal voltage value of the capacitor C1 decreases.
  • the CPU 39 instructs the output unit 34 to output a notification signal to the WDT 35 (step S34).
  • the WDT 35 starts timing from zero.
  • step S35 determines whether the ON signal was input into the input part 32 after performing step S34 (step S35). If the CPU 39 determines that the ON signal has been input (S35: YES), the CPU 39 instructs the output unit 33 to output the high level voltage to one input terminal of the OR circuit 21 (step S36). As a result, the OR circuit 21 outputs a high level voltage to the drive circuit 13, and the drive circuit 13 switches the main switch 11 on. After executing step S36, the CPU 39 ends the output process.
  • the CPU 39 determines whether an off signal is input (step S37). If the CPU 39 determines that an off signal has been input (S37: YES), the CPU 39 instructs the output unit 33 to output a low level voltage to one input terminal of the OR circuit 21 (step S38).
  • the OR circuit 21 When the terminal voltage value of the capacitor C1 is less than the reference voltage value when step S38 is executed, the OR circuit 21 outputs a low level voltage to the drive circuit 13, and the drive circuit 13 turns off the main switch 11. Switch. When the terminal voltage value of the capacitor C1 is equal to or higher than the reference voltage value at the time when Step S38 is executed, the OR circuit 21 continues to output a high level voltage to the drive circuit 13, and the drive circuit 13 turns on the main switch 11. To maintain. If the CPU 39 determines that the OFF signal is not input (S37: NO), or after executing step S38, the output process is terminated.
  • the OR circuit 21 when the terminal voltage value of the capacitor C1 is less than the reference voltage value, when the ON signal is input to the input unit 32, the OR circuit 21 outputs a high level voltage and turns OFF to the input unit 32. When a signal is input, the OR circuit 21 outputs a low level voltage.
  • step S36 and step S38 execution of each of step S36 and step S38 is permitted when the value of the timer flag is 1.
  • the value of the timer flag is set to zero.
  • the value of the timer flag is not set to 1 until the CPU 39 executes the time measurement restart process, that is, until the time measured by the timer 30 is equal to or greater than the timer time. Therefore, the voltage output from the OR circuit 21 is not switched twice or more after the timer time elapses after the CPU 39 executes step S22 of the timing restart process.
  • FIG. 6 is a timing chart for explaining an example of the operation of the output device 14.
  • the CPU 39 ends the initial process without causing the power supply circuit 36 to restart.
  • FIG. 6 shows the transition of the terminal voltage value of the capacitor C1 and the transition of the voltage output from the OR circuit 21. The horizontal axis of these transitions shows time.
  • the high level voltage is indicated by “H” and the low level voltage is indicated by “L”.
  • the sub switch 23 When the activation signal is input to the power supply circuit 36 and the switching unit 24 of the microcomputer 22 or the CPU 39 is initialized by the reset circuit 40, the sub switch 23 is on and the I / O port 31 Since the connection with one end of the capacitor C1 is cut off, charging of the capacitor C1 is started. At the time when the start signal is input or the CPU 39 is initialized, the terminal voltage value of the capacitor C1 is less than the reference voltage value Vr, and the output unit 33 has not started outputting the voltage.
  • the OR circuit 21 outputs a low level voltage to the drive circuit 13, and the drive circuit 13 turns off the main switch 11.
  • the CPU 39 executes an initial process.
  • the CPU 39 sets the value of the timer flag to zero without causing the power supply circuit 36 to restart, starts the timer 30 and finishes the initial process.
  • the timer 30 outputs a timer signal to the CPU 39, and the CPU 39 executes a time measurement restart process.
  • the CPU 39 sets the value of the timer flag to 1 in the timing restart process, and causes the timer 30 to restart timing from zero.
  • the CPU 39 executes output processing.
  • the direction of the I / O port 31 is set to “output”, and the output level of the I / O port 31 is adjusted to the low level.
  • the impedance of the I / O port 31 becomes the ground impedance, and the capacitor C1 starts discharging.
  • the impedance of the I / O port 31 is maintained at the ground impedance until a start signal is input or the reset circuit 40 performs initialization.
  • the capacitor C1 is charged and the terminal voltage value of the capacitor C1 increases until the first output process is executed after the activation signal is input or the CPU 39 is initialized.
  • the first output process is executed before the terminal voltage value of the capacitor C1 becomes equal to or higher than the reference voltage value Vr, the terminal voltage value of the capacitor C1 does not become higher than the reference voltage value Vr, and the OR circuit 21 outputs A high level voltage or a low level voltage is output to the drive circuit 13 in accordance with the voltage output by the unit 33.
  • the output unit 33 When an on signal is input to the input unit 32 after the CPU 39 performs the first output process, the output unit 33 outputs a high level voltage in the output process performed after the on signal is input, and the driving circuit 13 switches the main switch 11 on. As a result, the load 12 operates.
  • the CPU 39 executes the first output process, when an off signal is input to the input unit 32, the output unit 33 outputs a low level voltage in the output process performed after the off signal is input, The drive circuit 13 switches the main switch 11 off. As a result, the load 12 stops operating.
  • the value of the timer flag is zero, the voltage output from the OR circuit 21 is not switched. In this case, after the value of the timer flag is set to 1 in the timing restart process, the voltage output from the OR circuit 21 is switched.
  • the CPU 39 executes the initial process again.
  • the time from when the start signal is input or when the CPU 39 is initialized until the output process is executed is the terminal voltage value of the capacitor C1 from zero V to the reference voltage value. The time until it becomes Vr or more, that is, shorter than the reference time.
  • the switching unit 24 switches off the sub switch 23 and the power supply circuit 36 stops supplying power.
  • the power supply circuit 36 stops supplying power
  • the I / O port 31 stops operating, and the connection between the I / O port 31 and one end of the capacitor C1 is cut off. Therefore, when a stop signal is input to the power supply circuit 36 and the switching unit 24 of the microcomputer 22, the capacitor C1 is not charged and discharged, and the terminal voltage value of the capacitor C1 is maintained.
  • FIG. 7 is a timing chart for explaining another example of the operation of the output device 14.
  • the time during which the CPU 39 repeatedly executes the initial processing is equal to or longer than the reference time.
  • FIG. 7 also shows the transition of the terminal voltage value of the capacitor C1 and the transition of the voltage output from the OR circuit 21, as in FIG. The horizontal axis of these transitions shows time. Also in FIG. 7, the high level voltage is indicated by “H” and the low level voltage is indicated by “L”.
  • the sub switch 23 When the activation signal is input or the CPU 39 is initialized, as described above, the sub switch 23 is on and the connection between the I / O port 31 and one end of the capacitor C1 is cut off. Therefore, charging of the capacitor C1 is started. At the time when the start signal is input or the CPU 39 is initialized, the terminal voltage value of the capacitor C1 is less than the reference voltage value Vr, and the output unit 33 has not started outputting the voltage.
  • the OR circuit 21 outputs a low level voltage to the drive circuit 13, and the drive circuit 13 turns off the main switch 11.
  • the CPU 39 executes an initial process.
  • the CPU 39 when the CPU 39 causes the power supply circuit 36 to restart, the CPU 39 restarts and executes the initial process again. Since the sub-switch 23 is on and the connection between the I / O port 31 and one end of the capacitor C1 is cut off from when the CPU 39 is restarted until the initial process is executed again, the capacitor C1 Charging is continued and the terminal voltage value of the capacitor C1 continues to rise.
  • the CPU 39 Until the power supply circuit 36 completes the initial process without restarting, the CPU 39 repeatedly executes the initial process without executing the timing restart process and the output process. While the CPU 39 repeatedly executes the initial process, the terminal voltage value of the capacitor C1 continues to rise.
  • the terminal voltage value of the capacitor C1 is equal to or higher than the reference voltage value Vr.
  • the OR circuit 21 switches the voltage output to the drive circuit 13 from the low level voltage to the high level voltage. Thereby, the drive circuit 13 switches the main switch 11 from OFF to ON, and the load 12 operates.
  • the terminal voltage value of the capacitor C1 After the terminal voltage value of the capacitor C1 reaches the voltage value Vcc, the terminal voltage value of the capacitor C1 is maintained at the voltage value Vcc until the impedance of the I / O port 31 is switched to the ground impedance.
  • the voltage output from the OR circuit 21 is appropriately set from the low level voltage. It is possible to switch to a high level voltage that is a voltage. Further, by providing the backup circuit 20, when the time during which the CPU 39 repeatedly executes the initial processing becomes equal to or longer than the reference time, the voltage output from the OR circuit 21 is switched from the low level voltage to the high level voltage.
  • the alternative configuration is easily implemented in hardware.
  • the number of predetermined processes executed by the CPU 39 in the initial process is not limited to three, and may be one. For example, if the probability that the data stored in the ROM 37 is changed and the probability that the initial value setting fails are very low, the CPU 39 does not have to execute steps S4 to S6 and S9. In this case, if the CPU 39 determines that the data written in step S1 matches the data read in step S2 (S3: YES), it executes step S7. Further, the CPU 39 executes step S10 after executing step S8. Further, the number of predetermined processes executed by the CPU 39 in the initial process may be two or four or more.
  • FIG. 8 is a block diagram showing a main configuration of the power supply system 1 according to the second embodiment.
  • the differences between the second embodiment and the first embodiment will be described. Since the configuration other than the configuration described later is the same as that in the first embodiment, the same reference numerals as those in the first embodiment are given to the components common to the first embodiment, and the description thereof is omitted. To do.
  • the reset circuit 40 is connected to the bus 41 in addition to the WDT 35.
  • the CPU 39 instructs the reset circuit 40 to initialize the timer 30, the I / O port 31, the input unit 32, the output units 33 and 34, the WDT 35, the ROM 37, the RAM 38, and the CPU 39. To do.
  • the reset circuit 40 When initialization is instructed by the WDT 35 or the CPU 39, the reset circuit 40 initializes the timer 30, the I / O port 31, the input unit 32, the output units 33 and 34, the WDT 35, the ROM 37, the RAM 38, and the CPU 39.
  • FIG. 9 is a flowchart showing the procedure of the initial process. Steps S41 to S51 of the initial process in the second embodiment are the same as steps S1 to S11 of the initial process in the first embodiment. Therefore, detailed description of steps S41 to S51 is omitted.
  • the CPU 39 determines that the data value does not match the set value (S46: NO), or initial If it is determined that the value setting has failed (S49: NO), the reset circuit 40 is initialized (step S52).
  • the reset circuit 40 initializes the timer 30, the I / O port 31, the input unit 32, the output units 33 and 34, the WDT 35, the ROM 37, the RAM 38, and the CPU 39, and the CPU 39 executes the initial process again.
  • the CPU 39 ends the initial process. As described in the first embodiment, the CPU 39 executes initial processing when it is initialized.
  • the reset circuit 40 performs initialization instead of the power supply circuit 36 restarting. As described in the first embodiment, while the reset circuit 40 is performing initialization, charging of the capacitor C1 is continued, and the terminal voltage value of the capacitor C1 continues to rise. Therefore, the output device 14 according to the second embodiment configured as described above has the same effect as the output device 14 according to the first embodiment.
  • the reset circuit 40 when the reset circuit 40 does not perform initialization in accordance with an instruction from the CPU 39, an activation signal is input, or output processing is performed after the reset circuit 40 performs initialization in accordance with an instruction from the WDT 35.
  • the time until execution is shorter than the reference time described in the first embodiment.
  • the CPU 39 executes step S51 to finish the initial process, and then periodically executes the output process.
  • the number of the predetermined processing executed by the CPU 39 is not limited to three and may be one.
  • the CPU 39 may not execute steps S44 to S46, S49.
  • the CPU 39 determines that the data written in step S41 matches the data read in step S42 (S43: YES), it executes step S47.
  • the CPU 39 executes step S50.
  • the number of predetermined processes executed by the CPU 39 in the initial process may be two or four or more.
  • the first and second embodiments it may not be detected based on the terminal voltage value of the capacitor C1 whether or not the time during which the CPU 39 repeatedly executes the initial processing is equal to or longer than the reference time. For example, based on the time measured by a timer (not shown), it may be detected whether or not the time during which the CPU 39 repeatedly executes the initial processing is equal to or longer than the reference time.
  • the WDT 35 operates in the same manner as in the first embodiment. Accordingly, the WDT 35 starts measuring time from zero each time a notification signal is input from the output unit 34. In the third embodiment, even when the WDT 35 is activated or initialized, the WDT 35 starts timing from zero. For this reason, the WDT 35 keeps timing while the CPU 39 executes the initialization process. As described in the first embodiment, when the time measured by the WDT 35 is equal to or longer than the WDT time, the WDT 35 sends the reset circuit 40 to the timer 30, the I / O port 31, the input unit 32, and the output unit. 33, 34, WDT 35, ROM 37, RAM 38 and CPU 39 are instructed to be initialized.
  • FIG. 10 is a flowchart showing a procedure of initial processing in the third embodiment. Steps S61 to S71 in the third embodiment are the same as steps S1 to S11 in the first embodiment. Therefore, detailed description of steps S61 to S71 is omitted.
  • step S61 determines that the data written in the RAM 38 in step S61 does not match the data read from the RAM 38 in step S62 (S63: NO), it executes step S61 again. If the CPU 39 determines in step S63 that the data written in step S61 does not match the data read in step S62 as a result of executing steps S61 and S62, the CPU 39 performs steps S61 and S62. Run again. CPU39 repeatedly performs step S61, S62 until it determines with the specific result having been obtained by step S63.
  • Step S64 If the CPU 39 determines that the data value does not match the set value (S66: NO), it executes Step S64 again. If the CPU 39 determines that the specific result that the data value matches the set value is not obtained in step S66 as a result of executing steps S64 and S65, the CPU 39 executes steps S64 and S65 again. CPU39 repeatedly performs step S64, S65 until it determines with the specific result having been obtained by step S66.
  • step S68 performs step S68, when it determines with the setting of an initial value having failed in step S69 (S69: NO). If the CPU 39 determines that the specific result that the initial value has been successfully set is not obtained in step S69 as a result of executing step S68, it executes step S68 again. The CPU 39 repeatedly executes step S68 until determining that the specific result is obtained in step S69.
  • the reset circuit 40 When the time measured by the WDT 35 is equal to or longer than the WDT time while the CPU 39 is executing the initial process, the reset circuit 40 performs initialization, and the CPU 39 executes the initial process from the beginning. As described above, when the WDT 35 is initialized, the WDT 35 counts from zero.
  • an output signal is executed after the activation signal is input or the CPU 39 is initialized.
  • the time until is shorter than the reference time described in Embodiment 1 and shorter than the WDT time.
  • CPU39 performs an output process periodically, after performing step S71 and complete
  • the output device 14 according to the third embodiment configured as described above has the same effects as the output device 14 according to the first embodiment.
  • the power supply circuit 36 restarts and the CPU 39 executes the initial process again.
  • the initial process is not terminated and is continued. For example, when the duration of the initial process is prolonged because the CPU 39 repeatedly executes steps S61 and S62 of the initial process, the time measured by the WDT 35 is equal to or longer than the WDT time. At this time, the reset circuit 40 performs initialization, and the CPU 39 executes initial processing from the beginning.
  • the OR circuit 21 outputs a high level voltage to the drive circuit 13 regardless of the voltage value at one end of the resistor R1.
  • the number of predetermined processes executed by the CPU 39 in the initial process in the third embodiment is not limited to three, and may be one. For example, if the probability that the data stored in the ROM 37 is changed and the probability that the initial value setting fails are very low, steps S64 to S66 and S69 need not be executed. In this case, if the CPU 39 determines that the data written in step S61 matches the data read in step S62 (S63: YES), it executes step S67. Furthermore, after executing step S68, the CPU 39 executes step S70. Further, the number of predetermined processes executed by the CPU 39 in the initial process may be two or four or more.
  • whether a start signal is input or whether the time from the initialization of the reset circuit 40 according to the instruction of the WDT 35 to the end of the initial processing is equal to or longer than the reference time.
  • the detection may not be performed based on the terminal voltage value of the capacitor C1. For example, based on the time measured by a timer (not shown), a start signal is input, or the time from the initialization of the reset circuit 40 according to the instruction of the WDT 35 to the end of the initial processing is a reference You may detect whether it became more than time.
  • the battery charged through the resistor R2 is not limited to the capacitor C1, and may be a battery.
  • the main switch 11 is not limited to an N-channel FET, but may be a P-channel FET, a bipolar transistor, a relay contact, or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electronic Switches (AREA)
  • Power Sources (AREA)

Abstract

OR回路(21)は、ローレベル電圧又はハイレベル電圧を駆動回路に出力する。CPU(39)は、所定処理を実行し、実行結果として、特定結果が得られたか否かを判定する。CPU(39)は、特定結果が得られなかったと判定した場合、所定処理を再び実行する。CPU(39)が所定処理を繰り返し実行している時間が所定時間以上となった場合、OR回路(21)は、駆動回路に出力している電圧をローレベル電圧からハイレベル電圧に切替える。

Description

出力装置及び切替えシステム
 本発明は、外部から入力された信号に基づいて電圧を出力する出力装置と、該出力装置が出力した電圧に基づいてスイッチが切替えられる切替えシステムとに関する。
 車両には、バッテリから負荷への給電経路にスイッチが設けられている電源システム(例えば、特許文献1を参照)が搭載されている。特許文献1に記載の電源システムでは、マイクロコンピュータ(以下では、マイコンという)がハイレベル電圧及びローレベル電圧を出力する。マイコンがハイレベル電圧を出力している場合、スイッチはオンであり、バッテリから負荷へ給電される。マイコンがローレベル電圧を出力している場合、スイッチはオフであり、バッテリから負荷への給電は停止している。
特開2009-261153号公報
 ウォッチドッグタイマが内蔵されたマイコンが提案されている。このマイコンでは、CPU(Central Processing Unit)の動作が正常である場合、CPUは、出力部に指示して、動作が正常であることを通知する通知信号をウォッチドッグタイマに出力させる処理を繰り返し実行する。ウォッチドッグタイマは、出力部から通知信号が入力される都度、ゼロから計時を開始する。
 CPUの動作が異常であるために、出力部に通知信号をウォッチドッグタイマへ出力させる処理が行われず、ウォッチドッグタイマが計時している計時時間が所定時間以上となった場合、ウォッチドッグタイマは、リセット回路にマイコンの構成部の初期化を指示する。リセット回路は、ウォッチドッグタイマによって初期化が指示された場合、マイコンの構成部を初期化する。これにより、CPUを含むマイコンの構成部の状態が初期状態、即ち、マイコンが出荷された時点の状態に戻る。この初期化により、CPUの動作が正常に戻ることが期待される。
 CPUが起動するか、又は、CPUが初期化された場合、CPUは、所定処理、例えば、マイコンを構成するRAM(Random Access Memory)にデータが適切に記憶されるか否かを確認するための処理を実行する。CPUは、所定処理を実行した結果として、特定結果、例えば、RAMにデータが適切に記憶されることを示す結果が得られなかった場合、再び所定処理を実行する。CPUは、特定結果が得られるまで、所定処理を繰り返し実行する。
 電源システムとして、ウォッチドッグタイマが内蔵されたマイコンによって出力された電圧に応じて、バッテリから負荷への給電経路に設けられたスイッチがオン又はオフに切替えられる電源システムが考えられる。この電源システムでは、CPUが所定処理を繰り返し実行してマイコンの動作が不安定である間、マイコンは、例えばローレベル電圧を出力する。この場合、スイッチはオフに維持される。
 電源システムの中には、スイッチをオン又はオフに固定しなければならない状況では、スイッチのオンへの固定が好ましい電源システムがある。例えば、負荷がヘッドライトである電源システムでは、車両を安全に運転するため、スイッチがオンに固定され、負荷が作動し続けていることが好ましい。
 従って、以上のように構成されたマイコンには、動作が不安定である場合に、出力している電圧が適切な電圧、即ち、ハイレベル電圧に切替わらないという問題がある。
 本発明は斯かる事情に鑑みてなされたものであり、その目的とするところは、処理部の動作が不安定である場合に、出力している電圧を適切な電圧に切替えることができる出力装置、及び、該出力装置を備える切替えシステムを提供することにある。
 本発明に係る出力装置は、2つの電圧中の一方の電圧を出力する出力回路を備える出力装置において、所定処理を実行する処理部と、該処理部が前記所定処理を実行した結果として、特定結果が得られたか否かを判定する判定部とを備え、前記処理部は、該判定部によって、前記特定結果が得られなかったと判定された場合に再び前記所定処理を実行し、前記出力回路は、前記処理部が前記所定処理を繰り返し実行している時間が所定時間以上となった場合、出力している電圧を他の電圧に切替えるように構成してあることを特徴とする。
 本発明にあっては、所定処理を実行した結果として、特定結果が得られなかったと判定した場合、所定処理を再び実行する。所定処理を繰り返し実行している時間が所定時間以上となった場合、出力回路は、出力している電圧を他の電圧に切替える。
 従って、所定処理が繰り返し実行されて処理部の動作が不安定である時間が所定時間以上となった場合に、出力している電圧を適切な電圧に切替えることが可能である。
 本発明に係る出力装置は、前記処理部が前記所定処理を繰り返し実行している間、充電される蓄電器を備え、前記蓄電器の端子電圧値が所定電圧値以上である場合に、前記出力回路は、出力している電圧を前記他の電圧に切替えるように構成してあることを特徴とする。
 本発明にあっては、所定処理を繰り返し実行している間、蓄電器は充電され、蓄電器の端子電圧値が上昇する。所定処理を繰り返し実行している時間が所定時間以上となった場合、蓄電器の端子電圧値が所定電圧値以上となり、出力している電圧が他の電圧に切替わる。
 これにより、所定処理を繰り返し実行している時間が所定時間以上となった場合に、出力している電圧が他の電圧に切替わる構成を簡単にハードウェアで実現することが可能である。
 本発明に係る出力装置は、前記処理部への電力供給を行う電源回路を備え、前記電源回路は、前記判定部によって前記特定結果が得られなかったと判定された場合に前記電力供給を停止し、該電力供給を停止した直後に該電力供給を再開し、前記処理部は、前記電源回路が該電力供給を再開した後に再び前記所定処理を実行するように構成してあることを特徴とする。
 本発明にあっては、電源回路は、特定結果が得られなかったと判定した場合、所定処理を行う処理部を再起動する。処理部は、再起動した後、再び所定処理を実行する。
 本発明に係る切替えシステムは、前述した出力装置と、スイッチと、前記出力回路が出力した電圧に基づいて該スイッチをオン又はオフに切替える切替え回路とを備えることを特徴とする。
 本発明にあっては、出力装置の出力回路が出力した電圧に基づいて、スイッチがオン又はオフに切替えられる。
 本発明によれば、処理部の動作が不安定である場合に、出力している電圧を適切な電圧に切替えることができる。
実施の形態1における電源システムの要部構成を示すブロック図である。 出力装置の要部構成を示すブロック図である。 初期処理の手順を示すフローチャートである。 計時再開処理の手順を示すフローチャートである。 出力処理の手順を示すフローチャートである。 出力装置の動作の一例を説明するためのタイミングチャートである。 出力装置の動作の他例を説明するためのタイミングチャートである。 実施の形態2における電源システムの要部構成を示すブロック図である。 初期処理の手順を示すフローチャートである。 実施の形態3における初期処理の手順を示すフローチャートである。
 以下、本発明をその実施の形態を示す図面に基づいて詳述する。
(実施の形態1)
 図1は、実施の形態1における電源システム1の要部構成を示すブロック図である。電源システム1は、車両に好適に搭載されており、バッテリ10、メインスイッチ11、負荷12、駆動回路13及び出力装置14を備える。メインスイッチ11は、Nチャネル型のFET(Field Effect Transistor)である。
 バッテリ10の正極は、メインスイッチ11のドレインに接続されている。メインスイッチ11のソースは負荷12の一端に接続されている。バッテリ10の負極と、負荷12の他端とは接地されている。メインスイッチ11のゲートには、駆動回路13が接続されている。駆動回路13には、出力装置14が更に接続されている。
 メインスイッチ11について、ゲートの電圧値が一定電圧値以上である場合、ドレイン及びソース間に電流が流れることが可能である。このとき、メインスイッチ11はオンである。また、メインスイッチ11について、ゲートの電圧値が一定電圧値未満である場合、ドレイン及びソース間に電流が流れることはない。このとき、メインスイッチ11はオフである。
 駆動回路13は、メインスイッチ11のゲートの電圧値を調整することによって、メインスイッチ11をオン又はオフに切替える。駆動回路13には、出力装置14からハイレベル電圧及びローレベル電圧が入力される。駆動回路13は、出力装置14からハイレベル電圧が入力された場合、メインスイッチ11をオンに切替え、出力装置14からローレベル電圧が入力された場合、メインスイッチ11をオフに切替える。駆動回路13は切替え回路として機能する。
 負荷12は車両に搭載された電気機器である。駆動回路13がメインスイッチ11をオンに切替えた場合、バッテリ10から負荷12に給電され、負荷12は作動する。駆動回路13がメインスイッチ11をオフに切替えた場合、バッテリ10から負荷12への給電が停止し、負荷12は動作を停止する。
 出力装置14には、メインスイッチ11のオンへの切替えを指示するオン信号と、メインスイッチ11のオフへの切替えを指示するオフ信号とが入力される。出力装置14は、入力された信号に基づいて、ハイレベル電圧又はローレベル電圧を駆動回路13に出力する。
 メインスイッチ11、駆動回路13及び出力装置14を備える電源システム1は、出力装置14が出力した電圧に基づいて、駆動回路13がメインスイッチ11をオン又はオフに切替える切替えシステムとしても機能する。
 図2は出力装置14の要部構成を示すブロック図である。出力装置14は、バックアップ回路20、OR回路21、マイコン22、サブスイッチ23、切替え部24及び抵抗R1を有する。バックアップ回路20は、キャパシタC1、ダイオードD1及び抵抗R2を有する。OR回路21は、2つの入力端と1つの出力端とを有する。
 OR回路21の出力端は駆動回路13に接続されている。OR回路21の一方の入力端には、マイコン22と、抵抗R1の一端とが接続されている。抵抗R1の他端は接地されている。OR回路21の他方の入力端には、バックアップ回路20のダイオードD1のカソードが接続されている。ダイオードD1のアノードは、マイコン22と、キャパシタC1及び抵抗R2夫々の一端とに接続されている。キャパシタC1の他端は接地されている。抵抗R2の他端はサブスイッチ23の一端に接続されている。サブスイッチ23の他端には電圧が印加されている。サブスイッチ23の他端に印加されている電圧の電圧値はVccである。電圧値Vccは一定である。
 OR回路21は、抵抗R1の一端における電圧値が第1閾値以上であるか、又は、ダイオードD1のカソードにおける電圧値が第2閾値以上である場合、出力端からハイレベル電圧を駆動回路13に出力する。OR回路21は、抵抗R1の一端における電圧値が第1閾値未満であり、かつ、ダイオードD1のカソードにおける電圧値が第2閾値未満である場合、出力端からローレベル電圧を出力する。駆動回路13は、OR回路21がハイレベル電圧を出力した場合、メインスイッチ11をオンに切替え、OR回路21がローレベル電圧を出力した場合、メインスイッチ11をオフに切替える。
 第1閾値及び第2閾値夫々は、一定であり、ゼロVを超えている。OR回路21は出力回路として機能する。ハイレベル電圧及びローレベル電圧は2つの電圧に相当する。
 マイコン22は、OR回路21の一方の入力端にハイレベル電圧又はローレベル電圧を出力する。マイコン22がOR回路21の一方の入力端にハイレベル電圧を出力している場合、抵抗R1の一端における電圧値は第1閾値以上である。マイコン22がOR回路21の一方の入力端にローレベル電圧を出力している場合、抵抗R1の一端における電圧値は第1閾値未満である。
 更に、マイコン22がOR回路21の一方の入力端に電圧を出力していない場合、抵抗R1に電流が流れないため、抵抗R1の一端における電圧値はゼロVであり、第1閾値未満である。従って、マイコン22がOR回路21の一方の入力端に電圧を出力していない場合において、ダイオードD1のカソードにおける電圧値が第2閾値以上であるとき、OR回路21は出力端からハイレベル電圧を出力する。同様の場合において、ダイオードD1のカソードにおける電圧値が第2閾値未満であるとき、OR回路21は、出力端からローレベルを出力する。
 マイコン22はI/Oポート31を有する。I/Oポート31は、キャパシタC1の一端に接続されていると共に接地されている。I/Oポート31の方向は「入力」又は「出力」に設定される。I/Oポート31の方向が「出力」に設定されている場合、I/Oポートは、出力レベルをハイレベル又はローレベルに調整する。
 I/Oポート31の方向が「入力」に設定されている場合、接地される接地端と、キャパシタC1の一端との間におけるI/Oポート31のインピーダンスは、開放インピーダンスである。I/Oポート31のインピーダンスが開放インピーダンスであることは、I/Oポート31とキャパシタC1の一端との接続が遮断状態であることと略同じである。開放インピーダンスは略無限大である。
 I/Oポート31の方向が「出力」に設定されており、かつ、I/Oポート31の出力レベルがローレベルである場合、I/Oポート31のインピーダンスは接地インピーダンスである。I/Oポート31のインピーダンスが接地インピーダンスであることは、キャパシタC1の一端が接地されていることと略同じである。接地インピーダンスは略ゼロΩである。
 切替え部24はサブスイッチ23をオン又はオフに切替える。
 サブスイッチ23がオンである場合において、I/Oポート31のインピーダンスが開放インピーダンスであるとき、電流は、抵抗R2を介してI/Oポート31に殆ど流れることはなく、サブスイッチ23及び抵抗R2を介してキャパシタC1に流れる。これにより、キャパシタC1は充電される。キャパシタC1は蓄電器として機能する。
 サブスイッチ23がオンである場合において、I/Oポート31とキャパシタC1との接続が遮断状態であるときも、電流は、抵抗R2を介してI/Oポート31に殆ど流れることはなく、サブスイッチ23及び抵抗R2を介してキャパシタC1に流れ、キャパシタC1は充電される。
 前述したように、接地インピーダンスは略ゼロΩである。このため、サブスイッチ23がオンである場合において、I/Oポート31のインピーダンスが接地インピーダンスであるとき、電流は、抵抗R2の一端から、キャパシタC1に殆ど流れず、I/Oポート31に流れる。更に、キャパシタC1の一端から電流がI/Oポート31に流れ、キャパシタC1は放電する。
 サブスイッチ23がオフである場合において、I/Oポート31のインピーダンスが接地インピーダンスであるときも、キャパシタC1の一端から電流がI/Oポート31に流れ、キャパシタC1は放電する。
 結果、サブスイッチ23がオンであるか否かに無関係に、I/Oポート31のインピーダンスが接地インピーダンスである場合、キャパシタC1は放電する。
 サブスイッチ23がオフである場合において、I/Oポート31のインピーダンスが開放インピーダンスであるとき、キャパシタC1に係る充電及び放電が行われることはない。
 同様に、サブスイッチ23がオフである場合において、I/Oポート31とキャパシタC1の一端との接続が遮断状態であるときも、キャパシタC1に係る充電及び放電が行われることはない。
 キャパシタC1の端子電圧値、即ち、キャパシタC1の両端間の電圧値は、キャパシタC1が蓄えている電力値が大きい程、高い。従って、キャパシタC1が充電された場合、キャパシタC1の端子電圧値は上昇し、キャパシタC1が放電した場合、キャパシタC1の端子電圧値は低下する。キャパシタC1の端子電圧値は、ダイオードD1を介してOR回路21の他方の入力端に入力される。
 ダイオードD1に電流が流れた場合にダイオードD1で生じる電圧降下の幅と、第2閾値との和を基準電圧値と記載する。この電圧降下の幅は、一定であるため、基準電圧値も一定である。基準電圧値は電圧値Vcc以下である。
 キャパシタC1の端子電圧値が基準電圧値以上である場合、ダイオードD1のカソードにおける電圧値は第2閾値以上である。キャパシタC1の端子電圧値が基準電圧値未満である場合、ダイオードD1のカソードにおける電圧値は第2閾値未満である。
 従って、キャパシタC1の端子電圧値が基準電圧値未満である場合、OR回路21は、マイコン22が出力している電圧に応じた電圧を駆動回路13に出力する。キャパシタC1の端子電圧値が基準電圧値以上である場合、OR回路21は、マイコン22が出力している電圧に無関係にハイレベル電圧を駆動回路13に出力し、駆動回路13はメインスイッチ11をオンに切替える。
 キャパシタC1のキャパシタンスと、抵抗R2の抵抗値r2との積により、キャパシタC1及び抵抗R2のCR時定数が算出される。キャパシタC1のキャパシタンス、及び、抵抗R2の抵抗値r2夫々は一定である。このため、CR時定数も一定である。
 キャパシタC1の端子電圧値がゼロVである状態でキャパシタC1への充電が開始されてから、基準電圧値に到達するまでの到達時間は、電圧値VccとCR時定数とによって決まる。前述したように、電圧値Vcc及びCR時定数は一定である。このため、到達時間も一定である。
 マイコン22及び切替え部24には、マイコン22の起動を指示する起動信号と、マイコン22の動作の停止を指示する停止信号とが入力される。起動信号は、例えば、図示しない車両のイグニッションスイッチがオンに切替わった場合にマイコン22及び切替え部24に入力される。停止信号は、例えば、イグニッションスイッチがオフに切替わった場合にマイコン22及び切替え部24に入力される。マイコン22には、更に、オン信号及びオフ信号が入力される。
 マイコン22は、起動信号が入力された場合、起動し、停止信号が入力された場合、動作を停止する。マイコン22は、起動している場合において、オン信号がマイコン22に入力されたとき、ハイレベル電圧をOR回路21の一方の入力端に出力する。マイコン22は、同様の場合において、オフ信号がマイコン22に入力されたとき、ローレベル電圧をOR回路21の一方の入力端に出力する。
 マイコン22がハイレベル電圧又はローレベル電圧を出力している間、I/Oポート31の方向は「出力」に設定され、I/Oポート31の出力レベルはローレベルである。前述したように、I/Oポート31の方向が「出力」に設定され、かつ、I/Oポート31の出力レベルがローレベルである場合、I/Oポート31のインピーダンスは接地インピーダンスである。
 マイコン22がハイレベル電圧又はローレベル電圧を出力していない間、I/Oポート31の方向は「入力」に設定されているか、又は、I/Oポート31とキャパシタC1の一端との接続が遮断状態となっている。前述したように、I/Oポート31の方向が「入力」に設定されている場合、I/Oポート31のインピーダンスは開放インピーダンスである。
 マイコン22がハイレベル電圧又はローレベル電圧を出力していない期間は、具体的には、マイコン22が動作を停止している期間であり、マイコン22が起動したか、又は、マイコン22内で初期化が行われてからハイレベル電圧又はローレベル電圧の出力を開始するまでの期間である。
 切替え部24は、起動信号が入力された場合、サブスイッチ23をオンに切替え、停止信号が入力された場合、サブスイッチ23をオフに切替える。
 従って、マイコン22が起動してハイレベル電圧又はローレベル電圧を出力している場合、I/Oポート31のインピーダンスは接地インピーダンスであり、かつ、切替え部24はサブスイッチ23をオンに切替えている。この場合、前述したように、キャパシタC1は放電する。
 マイコン22は、I/Oポート31に加えて、タイマ30、入力部32、出力部33,34、ウォッチドッグタイマ(以下、WDTと記載する)35、電源回路36、ROM(Read Only Memory)37、RAM38、CPU39及びリセット回路40を有する。タイマ30、I/Oポート31、入力部32、出力部33,34、電源回路36、ROM37、RAM38及びCPU39はバス41に接続されている。出力部33は、バス41の他に、OR回路21の一方の入力端、及び、抵抗R1の一端間の接続ノードに接続されている。出力部34は、バス41の他に、WDT35に接続されている。WDT35は、更に、リセット回路40に接続されている。
 タイマ30は、CPU39の指示に従って計時を開始する。タイマ30が計時している計時時間が、予め設定されているタイマ時間以上となった場合、タイマ30は、タイマ時間が経過したことを示すタイマ信号をCPU39に出力し、計時を終了する。タイマ時間は一定である。
 I/Oポート31の方向は、CPU39によって、「入力」又は「出力」に設定される。I/Oポート31の方向が「出力」に設定されている場合、I/Oポート31は、CPU39の指示に従って、出力レベルをハイレベル又はローレベルに調整する。
 入力部32には、オン信号及びオフ信号が入力される。入力部32は、オン信号又はオフ信号が入力された場合、その旨を通知する。
 出力部33は、CPU39の指示に従って、ハイレベル電圧又はローレベル電圧をOR回路21の一方の入力端に出力する。
 出力部34は、CPU39の指示に従って、CPU39が正常に動作していることを通知する通知信号をWDT35に繰り返し出力する。
 WDT35は、出力部34から通知信号が入力される都度、ゼロから計時を開始する。WDT35が計時している計時時間が、予め設定されているWDT時間以上となった場合、WDT35は、リセット回路40に、タイマ30、I/Oポート31、入力部32、出力部33,34、WDT35、ROM37、RAM38及びCPU39の初期化を指示する。WDT時間は一定である。
 リセット回路40は、WDT35の指示に従って、タイマ30、I/Oポート31、入力部32、出力部33,34、WDT35、ROM37、RAM38及びCPU39を初期化する。具体的には、これらの状態を、初期状態、即ち、マイコン22が出荷された時点の状態に戻す。これにより、例えば、カウンタ値及びレジスタ値等が、マイコン22が出荷された時点の値に戻り、マイコン22の動作モードが、マイコン22が出荷された時点の動作モードに戻る。
 電源回路36には、起動信号及び停止信号が入力される。電源回路36は、起動信号が入力された場合、図示しない電線を介して、タイマ30、I/Oポート31、入力部32、出力部33,34、WDT35、ROM37、RAM38、CPU39及びリセット回路40に電力を供給する。電源回路36は、停止信号が入力された場合、これらへの電力供給を停止する。
 電源回路36が電力供給を停止した場合、タイマ30、I/Oポート31、入力部32、出力部33,34、WDT35、ROM37、RAM38、CPU39及びリセット回路40は動作を停止する。電源回路36が電力供給を停止している場合、I/Oポート31と、キャパシタC1の一端との接続は遮断状態である。同様の場合において、出力部33と、OR回路21の一方の入力端、及び、抵抗R1の一端間の接続ノードとの接続も遮断状態である。
 停止信号が、マイコン22の電源回路36と、切替え部24とに入力された場合、サブスイッチ23はオフであり、かつ、I/Oポート31とキャパシタC1の一端との接続が遮断状態であるため、キャパシタC1について充電及び放電が行われることはない。
 CPU39は電源回路36に再起動を指示する。電源回路36は、CPU39によって、再起動を指示された場合、タイマ30、I/Oポート31、入力部32、出力部33,34、WDT35、ROM37、RAM38、CPU39及びリセット回路40を再起動する。具体的には、電源回路36は、これらへの電力供給を停止し、この電力供給を停止した直後に、タイマ30、I/Oポート31、入力部32、出力部33,34、WDT35、ROM37、RAM38、CPU39及びリセット回路40への電力供給を再開する。
 ROM37には制御プログラムP1が記憶されている。CPU39は、ROM37に記憶されている制御プログラムP1を実行する。CPU39は、制御プログラムP1を実行することによって、初期処理、計時再開処理及び出力処理を実行する。初期処理は、CPU39が起動したか、又は、初期化された場合に最初に実行する処理である。計時再開処理は、タイマ30に計時を再開させる処理である。出力処理は、出力部33にハイレベル電圧又はローレベル電圧を出力させる処理である。制御プログラムP1は、初期処理、計時開始処理及び出力処理をCPU39に実行させるためのコンピュータプログラムである。RAM38には、CPU39によってデータが一時的に記憶される。
 なお、制御プログラムP1は、コンピュータが読み取り可能に、記憶媒体A1に記憶されていてもよい。制御プログラムP1が記憶媒体A1に記憶されており、かつ、データを書き換えることができるようにROM37が構成されている場合、図示しない読み出し装置によって記憶媒体A1から読み出された制御プログラムP1がROM37に記憶される。記憶媒体A1は、光ディスク、フレキシブルディスク、磁気ディスク、磁気光ディスク又は半導体メモリ等である。光ディスクは、CD(Compact Disc)-ROM(Read Only Memory)、DVD(Digital Versatile Disc)-ROM、又は、BD(Blu-ray(登録商標) Disc)等である。磁気ディスクは、例えばハードディスクである。また、図示しない通信網に接続されている図示しない外部装置から制御プログラムP1をダウンロードし、ダウンロードした制御プログラムP1をROM37に記憶してもよい。
 当然のことながら、RAM38に記憶されているデータは、電源回路36が電力供給を停止した場合、RAM38から消去される。ROM37に記憶されているデータは、電源回路36が行う電力供給の停止によってデータが消去されることはない。
 RAM38にはタイマフラグの値が記憶される。タイマフラグの値は、CPU39によってゼロ又は1に設定される。
 図3は初期処理の手順を示すフローチャートである。前述したように、初期処理は、CPU39が起動したか、又は、初期化された場合において、CPU39が最初に実行する処理である。CPU39は、まず、RAM38に予め決められたデータを書き込み(ステップS1)、書き込んだデータをRAM38から読み出す(ステップS2)。次に、CPU39は、ステップS1でRAM38に書き込んだデータがステップS2でRAM38から読み出したデータと一致するか否かを判定する(ステップS3)。
 CPU39は、ステップS1で書き込んだデータがステップS2で読出したデータと一致すると判定した場合(S3:YES)、ROM37からデータを読み出し(ステップS4)、読み出したデータに基づいてデータ値を算出する(ステップS5)。次に、CPU39は、ステップS5で算出したデータ値が、予め設定されている設定値と一致するか否かを判定する(ステップS6)。設定値は一定である。
 CPU39は、データ値が設定値と一致すると判定した場合(S6:YES)、I/Oポート31の方向を「入力」に設定する(ステップS7)。これにより、I/Oポート31のインピーダンスは開放インピーダンスとなる。
 なお、CPU39が起動してからステップS7が実行されるまで、I/Oポート31とキャパシタC1の一端との接続は遮断状態である。
 次に、CPU39は、計時開始処理及び出力処理で用いられる種々の変数の初期値を設定し(ステップS8)、初期値の設定に成功したか否かを判定する(ステップS9)。CPU39は、初期値の設定に成功したと判定した場合(S9:YES)、タイマフラグの値をゼロに設定し(ステップS10)、タイマ30に計時を開始させる(ステップS11)。これにより、タイマ30はゼロから計時を開始する。前述したように、タイマ30は、計時している計時時間がタイマ時間以上となった場合、タイマ信号をCPU39に出力する。
 CPU39は、ステップS11を実行した後、初期処理を終了する。
 CPU39は、ステップS1で書き込んだデータがステップS2で読出したデータと一致しないと判定した場合(S3:NO)、データ値が設定値と一致しないと判定した場合(S6:NO)、又は、初期値の設定に失敗したと判定した場合(S9:NO)、電源回路36に再起動を行わせる(ステップS12)。電源回路36は、タイマ30、I/Oポート31、入力部32、出力部33,34、WDT35、ROM37、RAM38、CPU39及びリセット回路40を再起動する。CPU39は、電源回路36が電力供給を再開した後、再び初期処理を実行する。
 CPU39は、ステップS12を実行した後、初期処理を終了する。
 CPU39は、初期処理のステップS1,S2を実行した結果として、ステップS3で、ステップS1で書き込んだデータがステップS2で読み出したデータと一致するという特定結果が得られたか否かを判定する。CPU39は、この特定結果が得られなかった場合、ステップS12を実行し、初期処理を再び実行する。ステップS1,S2は所定処理に相当する。CPU39は処理部及び判定部として機能する。
 また、CPU39は、初期処理のステップS4,S5を実行した結果として、ステップS6でデータ値が設定値に一致するという特定結果が得られたか否かを判定する。CPU39は、この特定結果が得られなかったと判定した場合、ステップS12を実行し、初期処理を再び実行する。ステップS4,S5も所定処理に相当する。
 更に、CPU39は、初期処理のステップS8を実行した結果として、ステップS9で初期値の設定に成功したという特定結果が得られたか否かを判定する。CPU39は、この特定結果が得られなかったと判定した場合、ステップS12を実行し、初期処理を再び実行する。ステップS8も所定処理に相当する。
 CPU39は、ステップS3,S6,S9の1つで特定結果が得られなかったと判定した場合、電源回路36に再起動を行わせる。
 初期化、再起動及び初期処理のいずれかが実行されている間、サブスイッチ23はオンである。また、同様の期間においては、I/Oポート31のインピーダンスが開放インピーダンスであるか、又は、I/Oポート31とキャパシタC1の一端との接続が遮断状態である。
 従って、初期化、再起動及び初期処理のいずれかが実行されている間、キャパシタC1は充電される。このため、CPU39が初期処理を繰り返し実行している間、キャパシタC1は充電される。前述したように、初期化はリセット回路40によって実行され、再起動は電源回路36によって実行される。
 初期化、再起動及び初期処理のいずれかが実行されている間、出力部33は電圧の出力を開始していないため、OR回路21の一方の入力端の電圧値は、ゼロVであり、第1閾値未満である。
 従って、CPU39が初期処理を繰り返し実行している場合において、キャパシタC1の端子電圧値が基準電圧値未満である間、ダイオードD1のカソードにおける電圧値が第2閾値未満であるため、OR回路21はローレベル電圧を駆動回路13に出力し、駆動回路13はメインスイッチ11をオフに維持している。
 CPU39が初期処理を繰り返し実行している場合において、キャパシタC1の端子電圧値が基準電圧値以上となったとき、ダイオードD1のカソードにおける電圧値が第2閾値以上となるため、OR回路21は、駆動回路13に出力している電圧をローレベル電圧からハイレベル電圧に切替え、駆動回路13はメインスイッチ11をオフからオンに切替える。
 出力装置14では、CPU39が初期処理を繰り返し実行している時間が基準時間以上となった場合、キャパシタC1の端子電圧値が基準電圧値以上となる。キャパシタC1の端子電圧値が基準電圧値以上となった場合、OR回路21は、駆動回路13に出力している電圧をローレベル電圧からハイレベル電圧に切替える。ここで、基準時間は、前述した到達時間に相当する。
 図4は計時再開処理の手順を示すフローチャートである。CPU39は、タイマ30からCPU39にタイマ信号が出力される都度、計時再開処理を実行する。前述したように、タイマ30は、自身が計時している計時時間がタイマ時間以上となった場合、タイマ信号をCPU39に出力し、計時を終了する。このため、計時再開処理が実行された時点では、タイマ30は計時を行っていない。
 計時再開処理では、CPU39は、タイマフラグの値を1に設定し(ステップS21)、タイマ30に計時を開始させる(ステップS22)。これにより、タイマ30は計時を再開する。CPU39は、ステップS22を実行した後、計時再開処理を終了する。
 図5は出力処理の手順を示すフローチャートである。CPU39は、ステップS11を実行して初期処理を終了してから、出力処理を周期的に実行する。CPU39は、まず、タイマフラグの値が1であるか否かを判定する(ステップS30)。CPU39は、タイマフラグの値が1ではない、即ち、タイマフラグの値がゼロであると判定した場合(S30:NO)、出力処理を終了する。
 CPU39は、タイマフラグの値が1であると判定した場合(S30:YES)、タイマフラグの値をゼロに設定する(ステップS31)。次に、CPU39は、I/Oポート31の方向を「出力」に設定し(ステップS32)、I/Oポート31に指示して、出力レベルをローレベルに調整させる(ステップS33)。CPU39がステップS32,S33を実行することによって、バックアップ回路20のI/Oポート31のインピーダンスが接地インピーダンスとなる。これにより、キャパシタC1は放電を開始し、キャパシタC1の端子電圧値は低下する。
 次に、CPU39は、出力部34に指示して、通知信号をWDT35へ出力させる(ステップS34)。これにより、WDT35はゼロから計時を開始する。
 CPU39は、ステップS34を実行した後、入力部32にオン信号が入力されたか否かを判定する(ステップS35)。CPU39は、オン信号が入力されたと判定した場合(S35:YES)、出力部33に指示して、ハイレベル電圧をOR回路21の一方の入力端へ出力させる(ステップS36)。これにより、OR回路21はハイレベル電圧を駆動回路13に出力し、駆動回路13はメインスイッチ11をオンに切替える。CPU39は、ステップS36を実行した後、出力処理を終了する。
 CPU39は、オン信号が入力されていないと判定した場合(S35:NO)、オフ信号が入力されたか否かを判定する(ステップS37)。CPU39は、オフ信号が入力されたと判定した場合(S37:YES)、出力部33に指示して、ローレベル電圧をOR回路21の一方の入力端へ出力させる(ステップS38)。
 ステップS38が実行された時点において、キャパシタC1の端子電圧値が基準電圧値未満であった場合、OR回路21はローレベル電圧を駆動回路13に出力し、駆動回路13はメインスイッチ11をオフに切替える。
 ステップS38が実行された時点において、キャパシタC1の端子電圧値が基準電圧値以上であった場合、OR回路21はハイレベル電圧を駆動回路13に出力し続け、駆動回路13はメインスイッチ11をオンに維持する。
 CPU39は、オフ信号が入力されていないと判定した場合(S37:NO)、又は、ステップS38を実行した後、出力処理を終了する。
 以上のように、キャパシタC1の端子電圧値が基準電圧値未満である場合においては、入力部32にオン信号が入力されたとき、OR回路21はハイレベル電圧を出力し、入力部32にオフ信号が入力されたとき、OR回路21はローレベル電圧を出力する。
 出力処理では、ステップS36及びステップS38夫々の実行は、タイマフラグの値が1である場合に許可される。ステップS36又はステップS38が実行された時点では、タイマフラグの値はゼロに設定されている。タイマフラグの値は、CPU39が計時再開処理を実行するまで、即ち、タイマ30が計時している計時時間がタイマ時間以上となるまで、1に設定されることはない。従って、CPU39が計時再開処理のステップS22を実行してから、タイマ時間が経過するまでに、OR回路21が出力している電圧を2回以上切替えることはない。
 図6は、出力装置14の動作の一例を説明するためのタイミングチャートである。ここでは、CPU39が電源回路36に再起動を行わせることなく初期処理を終了する例を説明する。
 図6には、キャパシタC1の端子電圧値の推移と、OR回路21が出力する電圧の推移とが示されている。これらの推移の横軸には、時間が示されている。図6では、ハイレベル電圧を「H」で示し、ローレベル電圧を「L」で示している。
 起動信号がマイコン22の電源回路36と切替え部24とに入力されるか、又は、リセット回路40によってCPU39が初期化された場合、サブスイッチ23はオンであり、かつ、I/Oポート31とキャパシタC1の一端との接続が遮断状態であるため、キャパシタC1の充電が開始される。起動信号が入力されるか、又は、CPU39が初期化された時点では、キャパシタC1の端子電圧値は基準電圧値Vr未満であり、かつ、出力部33は電圧の出力を開始していないため、OR回路21は駆動回路13にローレベル電圧を出力し、駆動回路13はメインスイッチ11をオフにしている。
 起動信号が入力されるか、又は、CPU39が初期化された後、CPU39は、初期処理を実行する。ここで、CPU39は、電源回路36に再起動を行わせることなく、タイマフラグの値をゼロに設定し、タイマ30の計時を開始させて初期処理を終了する。初期処理が終了した後、タイマ30が計時している計時時間がタイマ時間以上となった場合、タイマ30はタイマ信号をCPU39に出力し、CPU39は計時再開処理を実行する。CPU39は、計時再開処理で、タイマフラグの値を1に設定し、タイマ30に計時をゼロから再開させる。
 次に、CPU39は出力処理を実行する。出力処理では、タイマフラグの値が1であるため、I/Oポート31の方向は「出力」に設定され、I/Oポート31の出力レベルはローレベルに調整される。これにより、I/Oポート31のインピーダンスは接地インピーダンスとなり、キャパシタC1は放電を開始する。これ以降、起動信号が入力されるか、又は、リセット回路40が初期化を行うまで、I/Oポート31のインピーダンスは接地インピーダンスに維持される。
 以上のように、起動信号が入力されるか、又は、CPU39が初期化されてから、最初の出力処理が実行されるまで、キャパシタC1は充電され、キャパシタC1の端子電圧値は上昇する。キャパシタC1の端子電圧値が基準電圧値Vr以上となる前に最初の出力処理が実行された場合、キャパシタC1の端子電圧値が基準電圧値Vr以上となることはなく、OR回路21は、出力部33が出力した電圧に従って、ハイレベル電圧又はローレベル電圧を駆動回路13に出力する。
 CPU39が最初の出力処理を実行した後において、入力部32にオン信号が入力された場合、オン信号が入力された後に実行される出力処理で出力部33はハイレベル電圧を出力し、駆動回路13はメインスイッチ11をオンに切替える。これにより、負荷12は作動する。
 また、CPU39が最初の出力処理を実行した後において、入力部32にオフ信号が入力された場合、オフ信号が入力された後に実行される出力処理で出力部33はローレベル電圧を出力し、駆動回路13はメインスイッチ11をオフに切替える。これにより、負荷12は動作を停止する。
 ただし、タイマフラグの値がゼロである場合、OR回路21が出力している電圧が切替えられることはない。この場合、計時再開処理でタイマフラグの値が1に設定された後、OR回路21が出力している電圧が切替えられる。
 最初の出力処理が実行された後において、起動信号が入力されるか、又は、CPU39が初期化された場合、CPU39は再び初期処理を実行する。
 再起動が行われない場合において、起動信号が入力されるか、又は、CPU39が初期化されてから出力処理が実行されるまでの時間は、キャパシタC1の端子電圧値がゼロVから基準電圧値Vr以上となるまでの時間、即ち、基準時間よりも短い。
 前述したように、マイコン22の電源回路36と切替え部24とに停止信号が入力された場合、切替え部24はサブスイッチ23をオフに切替え、電源回路36は電力供給を停止する。電源回路36が電力供給を停止した場合、I/Oポート31は動作を停止し、I/Oポート31とキャパシタC1の一端との接続は遮断状態となる。従って、マイコン22の電源回路36と切替え部24とに停止信号が入力された場合、キャパシタC1に係る充電及び放電は行われず、キャパシタC1の端子電圧値は保持される。
 図7は、出力装置14の動作の他例を説明するためのタイミングチャートである。ここでは、CPU39が初期処理を繰り返し実行している時間が基準時間以上となる例を説明する。
 図7にも、図6と同様に、キャパシタC1の端子電圧値の推移と、OR回路21が出力する電圧の推移とが示されている。これらの推移の横軸には、時間が示されている。図7でも、ハイレベル電圧を「H」で示し、ローレベル電圧を「L」で示している。
 起動信号が入力されるか、又は、CPU39が初期化された場合、前述したように、サブスイッチ23はオンであり、かつ、I/Oポート31とキャパシタC1の一端との接続が遮断状態であるため、キャパシタC1の充電が開始される。起動信号が入力されるか、又は、CPU39が初期化された時点では、キャパシタC1の端子電圧値は基準電圧値Vr未満であり、かつ、出力部33は電圧の出力を開始していないため、OR回路21は駆動回路13にローレベル電圧を出力し、駆動回路13はメインスイッチ11をオフにしている。
 起動信号が入力されるか、又は、CPU39が初期化された後、CPU39は、初期処理を実行する。この初期処理で、CPU39が電源回路36に再起動を行わせた場合、CPU39は再起動し、再び、初期処理を実行する。CPU39が再起動してから再び初期処理を実行するまでの間、サブスイッチ23はオンであり、かつ、I/Oポート31とキャパシタC1の一端との接続は遮断状態であるので、キャパシタC1の充電が継続され、キャパシタC1の端子電圧値は上昇し続ける。
 電源回路36が再起動を行うことなく初期処理が終了されるまで、CPU39は、計時再開処理及び出力処理を実行することなく、初期処理を繰り返し実行する。CPU39が初期処理を繰り返し実行している間、キャパシタC1の端子電圧値は上昇し続ける。
 CPU39が初期処理を繰り返し実行している時間が基準時間以上となった場合、キャパシタC1の端子電圧値が基準電圧値Vr以上となる。キャパシタC1の端子電圧値が基準電圧値Vr以上となった場合、OR回路21は、駆動回路13に出力している電圧をローレベル電圧からハイレベル電圧に切替える。これにより、駆動回路13はメインスイッチ11をオフからオンに切替え、負荷12は作動する。
 キャパシタC1の端子電圧値が電圧値Vccに到達した後においては、I/Oポート31のインピーダンスが接地インピーダンスに切替わるまで、キャパシタC1の端子電圧値は電圧値Vccに維持される。
 以上のように、CPU39が初期処理を繰り返し実行してCPU39の動作が不安定である時間が基準時間以上となった場合、OR回路21が出力している電圧を、ローレベル電圧から、適切な電圧であるハイレベル電圧に切替えることができる。
 また、バックアップ回路20を設けることによって、CPU39が初期処理を繰り返し実行している時間が基準時間以上となった場合に、OR回路21が出力している電圧がローレベル電圧からハイレベル電圧に切替わる構成が簡単にハードウェアで実現されている。
 なお、初期処理においてCPU39が実行する所定処理の数は3に限定されず、1であってもよい。例えば、ROM37に記憶されているデータが変更される確率と、初期値の設定に失敗する確率が極めて低い場合、CPU39はステップS4~S6,S9を実行しなくてもよい。この場合、CPU39は、ステップS1で書き込んだデータがステップS2で読み出したデータと一致したと判定した場合(S3:YES)、ステップS7を実行する。更に、CPU39は、ステップS8を実行した後、ステップS10を実行する。
 また、初期処理においてCPU39が実行する所定処理の数は、2、又は4以上であってもよい。
(実施の形態2)
 図8は、実施の形態2における電源システム1の要部構成を示すブロック図である。
 以下では、実施の形態2について、実施の形態1と異なる点を説明する。後述する構成を除く他の構成については、実施の形態1と共通しているため、実施の形態1と共通する構成部には実施の形態1と同一の参照符号を付してその説明を省略する。
 実施の形態2における電源システム1を実施の形態1における電源システム1と比較した場合、マイコン22の構成と、初期処理とが異なる。実施の形態2におけるマイコン22では、リセット回路40は、WDT35の他に、バス41に接続されている。
 実施の形態2では、WDT35だけではなく、CPU39も、リセット回路40に、タイマ30、I/Oポート31、入力部32、出力部33,34、WDT35、ROM37、RAM38及びCPU39の初期化を指示する。リセット回路40は、WDT35又はCPU39によって初期化が指示された場合、タイマ30、I/Oポート31、入力部32、出力部33,34、WDT35、ROM37、RAM38及びCPU39を初期化する。
 図9は初期処理の手順を示すフローチャートである。実施の形態2における初期処理のステップS41~S51は、実施の形態1における初期処理のステップS1~S11と同様である。このため、ステップS41~S51の詳細な説明を省略する。
 CPU39は、ステップS41で書き込んだデータがステップS42で読出したデータと一致しないと判定した場合(S43:NO)、データ値が設定値と一致しないと判定した場合(S46:NO)、又は、初期値の設定に失敗したと判定した場合(S49:NO)、リセット回路40に初期化を行わせる(ステップS52)。
 これにより、リセット回路40は、タイマ30、I/Oポート31、入力部32、出力部33,34、WDT35、ROM37、RAM38及びCPU39を初期化し、CPU39は再び初期処理を実行する。
 CPU39は、ステップS52を実行した後、初期処理を終了する。実施の形態1で述べたように、CPU39は、初期化された場合、初期処理を実行する。
 実施の形態2においては、電源回路36が再起動を行う代わりに、リセット回路40が初期化を行う。実施の形態1で述べたように、リセット回路40が初期化を実行している間、キャパシタC1の充電は継続され、キャパシタC1の端子電圧値は上昇し続ける。
 従って、以上のように構成された実施の形態2における出力装置14も、実施の形態1における出力装置14と同様の効果を奏する。
 実施の形態2においては、CPU39の指示に従ってリセット回路40が初期化を行わない場合に、起動信号が入力されるか、又は、WDT35の指示に従ってリセット回路40が初期化を行ってから出力処理が実行されるまでの時間は、実施の形態1で述べた基準時間よりも短い。
 CPU39は、ステップS51を実行して初期処理を終了してから、出力処理を周期的に実行する。
 なお、実施の形態2における初期処理においても、CPU39が実行する所定処理の数は3に限定されず、1であってもよい。例えば、ROM37に記憶されているデータが変更される確率と、初期値の設定に失敗する確率が極めて低い場合、CPU39は、ステップS44~S46,S49を実行しなくてもよい。この場合、CPU39は、ステップS41で書き込んだデータがステップS42で読み出したデータと一致したと判定した場合(S43:YES)、ステップS47を実行する。更に、CPU39は、ステップS48を実行した後、ステップS50を実行する。
 また、初期処理においてCPU39が実行する所定処理の数は、2、又は4以上であってもよい。
 また、実施の形態1,2において、CPU39が初期処理を繰り返し実行している時間が基準時間以上となったか否かを、キャパシタC1の端子電圧値に基づいて検知しなくてもよい。例えば、図示しないタイマが計時している計時時間に基づいて、CPU39が初期処理を繰り返し実行している時間が基準時間以上となったか否かを検知してもよい。
(実施の形態3)
 実施の形態3における電源システム1を実施の形態1における電源システム1と比較した場合、WDT35の構成と、CPU39が実行する初期処理とが異なる。
 以下では、実施の形態3について、実施の形態1と異なる点を説明する。後述する構成を除く他の構成については、実施の形態1と共通しているため、実施の形態1と共通する構成部には実施の形態1と同一の参照符号を付してその説明を省略する。
 WDT35は、実施の形態1と同様に作用する。従って、WDT35は、出力部34から通知信号が入力される都度、ゼロから計時を開始する。実施の形態3では、WDT35が起動したか、又は、初期化された場合も、WDT35は、ゼロから計時を開始する。このため、WDT35は、CPU39が初期化処理を実行している間も、計時を行っている。実施の形態1で述べたように、WDT35が計時している計時時間がWDT時間以上となった場合、WDT35は、リセット回路40に、タイマ30、I/Oポート31、入力部32、出力部33,34、WDT35、ROM37、RAM38及びCPU39の初期化を指示する。
 図10は、実施の形態3における初期処理の手順を示すフローチャートである。実施の形態3におけるステップS61~S71は実施の形態1におけるステップS1~S11と同様である。このため、ステップS61~S71の詳細な説明を省略する。
 CPU39は、ステップS61でRAM38に書き込んだデータがステップS62でRAM38から読み出したデータと一致しないと判定した場合(S63:NO)、ステップS61を再び実行する。CPU39は、ステップS61,S62を実行した結果として、ステップS63で、ステップS61で書き込んだデータがステップS62で読み出したデータと一致するという特定結果が得られなかったと判定した場合、ステップS61,S62を再び実行する。CPU39は、ステップS63で特定結果が得られたと判定するまで、ステップS61,S62を繰り返し実行する。
 CPU39は、データ値が設定値と一致しないと判定した場合(S66:NO)、ステップS64を再び実行する。CPU39は、ステップS64,S65を実行した結果として、ステップS66でデータ値が設定値に一致するという特定結果が得られなかったと判定した場合、ステップS64,S65を再び実行する。CPU39は、ステップS66で特定結果が得られたと判定するまで、ステップS64,S65を繰り返し実行する。
 CPU39は、ステップS69で初期値の設定に失敗したと判定した場合(S69:NO)、ステップS68を実行する。CPU39は、ステップS68を実行した結果として、ステップS69で初期値の設定に成功したという特定結果が得られなかったと判定した場合、ステップS68を再び実行する。CPU39は、ステップS69で特定結果が得られたと判定するまで、ステップS68を繰り返し実行する。
 CPU39が初期処理を実行している間にWDT35が計時している計時時間がWDT時間以上となった場合、リセット回路40は初期化を行い、CPU39は初期処理を最初から実行する。前述したように、WDT35が初期化された場合、WDT35はゼロから計時する。
 実施の形態3においては、初期処理のステップS63,S66,S69の判定が2回以上行われない場合、起動信号が入力されるか、又は、CPU39が初期化されてから出力処理が実行されるまでの時間は、実施の形態1で述べた基準時間よりも短く、WDT時間よりも短い。
 CPU39は、ステップS71を実行して初期処理を終了した後、出力処理を周期的に実行する。
 以上のように構成された実施の形態3における出力装置14も、実施の形態1における出力装置14と同様の効果を奏する。
 実施の形態1においては、CPU39が初期処理のステップS3,S6,S9のいずれかで特定結果が得られなかったと判定する都度、電源回路36が再起動を行い、CPU39は初期処理を再び実行する。実施の形態3においては、CPU39が初期処理のステップS63,S66,S69のいずれかで特定結果が得られなかったと判定した場合、初期処理が終了されず、継続される。そして、例えば、CPU39が初期処理のステップS61,S62を繰り返し実行しているために初期処理の継続期間が長期化した場合、WDT35が計時している計時時間がWDT時間以上となる。このとき、リセット回路40は初期化を行い、CPU39は初期処理を最初から実行する。
 実施の形態1で述べたように、リセット回路40が初期化を実行している間、キャパシタC1の充電は継続され、キャパシタC1の端子電圧値は上昇し続ける。従って、CPU39が初期処理を繰り返し実行している間、実施の形態1で述べたように、キャパシタC1の充電が継続され、キャパシタC1の端子電圧値は上昇し続ける。キャパシタC1の端子電圧値が基準電圧値Vr以上となった場合、OR回路21は、抵抗R1の一端における電圧値に無関係にハイレベル電圧を駆動回路13に出力する。
 なお、実施の形態3における初期処理においてCPU39が実行する所定処理の数は3に限定されず、1であってもよい。例えば、ROM37に記憶されているデータが変更される確率と、初期値の設定に失敗する確率が極めて低い場合、ステップS64~S66,S69を実行しなくてもよい。この場合、CPU39は、ステップS61で書き込んだデータがステップS62で読み出したデータと一致したと判定した場合(S63:YES)、ステップS67を実行する。更に、CPU39は、ステップS68を実行した後、ステップS70を実行する。
 また、初期処理においてCPU39が実行する所定処理の数は、2、又は4以上であってもよい。
 また、実施の形態3において、起動信号が入力されるか、又は、WDT35の指示に従ってリセット回路40が初期化を行ってから初期処理が終了するまでの時間が基準時間以上となったか否かを、キャパシタC1の端子電圧値に基づいて検知しなくてもよい。例えば、図示しないタイマが計時している計時時間に基づいて、起動信号が入力されるか、又は、WDT35の指示に従ってリセット回路40が初期化を行ってから初期処理が終了するまでの時間が基準時間以上となったか否かを検知してもよい。
 更に、実施の形態1~3において、抵抗R2を介して充電される蓄電器は、キャパシタC1に限定されず、電池であってもよい。
 また、実施の形態1~3において、メインスイッチ11は、Nチャネル型のFETに限定されず、Pチャネル型のFET、バイポーラトランジスタ又はリレー接点等であってもよい。
 開示された実施の形態1~3はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述した意味ではなく、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。
 11 メインスイッチ
 13 駆動回路(切替え回路)
 14 出力装置
 21 OR回路(出力回路)
 36 電源回路
 39 CPU(処理部、判定部)
 C1 キャパシタ(蓄電器)

Claims (4)

  1.  2つの電圧中の一方の電圧を出力する出力回路を備える出力装置において、
     所定処理を実行する処理部と、
     該処理部が前記所定処理を実行した結果として、特定結果が得られたか否かを判定する判定部と
     を備え、
     前記処理部は、該判定部によって、前記特定結果が得られなかったと判定された場合に再び前記所定処理を実行し、
     前記出力回路は、前記処理部が前記所定処理を繰り返し実行している時間が所定時間以上となった場合、出力している電圧を他の電圧に切替えるように構成してあること
     を特徴とする出力装置。
  2.  前記処理部が前記所定処理を繰り返し実行している間、充電される蓄電器を備え、
     前記蓄電器の端子電圧値が所定電圧値以上である場合に、前記出力回路は、出力している電圧を前記他の電圧に切替えるように構成してあること
     を特徴とする請求項1に記載の出力装置。
  3.  前記処理部への電力供給を行う電源回路を備え、
     前記電源回路は、前記判定部によって前記特定結果が得られなかったと判定された場合に前記電力供給を停止し、該電力供給を停止した直後に該電力供給を再開し、
     前記処理部は、前記電源回路が該電力供給を再開した後に再び前記所定処理を実行するように構成してあること
     を特徴とする請求項1又は請求項2に記載の出力装置。
  4.  請求項1から請求項3のいずれか1つに記載の出力装置と、
     スイッチと、
     前記出力回路が出力した電圧に基づいて該スイッチをオン又はオフに切替える切替え回路と
     を備えることを特徴とする切替えシステム。
PCT/JP2017/021107 2016-06-27 2017-06-07 出力装置及び切替えシステム WO2018003441A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016126774A JP6720725B2 (ja) 2016-06-27 2016-06-27 出力装置及び切替えシステム
JP2016-126774 2016-06-27

Publications (1)

Publication Number Publication Date
WO2018003441A1 true WO2018003441A1 (ja) 2018-01-04

Family

ID=60786225

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/021107 WO2018003441A1 (ja) 2016-06-27 2017-06-07 出力装置及び切替えシステム

Country Status (2)

Country Link
JP (1) JP6720725B2 (ja)
WO (1) WO2018003441A1 (ja)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013064385A (ja) * 2011-09-20 2013-04-11 Denso Corp スタータ制御装置
JP2013209982A (ja) * 2012-02-27 2013-10-10 Denso Corp エンジン自動停止始動制御装置
JP2014019416A (ja) * 2012-07-24 2014-02-03 Hitachi Automotive Systems Ltd 車両制御装置
WO2014175089A1 (ja) * 2013-04-26 2014-10-30 株式会社オートネットワーク技術研究所 フェイルセーフ回路

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001156610A (ja) * 1999-11-24 2001-06-08 Nec Corp ウォッチドッグタイマ制御回路およびウォッチドッグタイマ制御方法
CA2849383C (en) * 2013-08-20 2016-06-07 Yasunori Kimura Construction machine controller
JP2015217911A (ja) * 2014-05-21 2015-12-07 株式会社デンソー 電子制御装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013064385A (ja) * 2011-09-20 2013-04-11 Denso Corp スタータ制御装置
JP2013209982A (ja) * 2012-02-27 2013-10-10 Denso Corp エンジン自動停止始動制御装置
JP2014019416A (ja) * 2012-07-24 2014-02-03 Hitachi Automotive Systems Ltd 車両制御装置
WO2014175089A1 (ja) * 2013-04-26 2014-10-30 株式会社オートネットワーク技術研究所 フェイルセーフ回路

Also Published As

Publication number Publication date
JP2018006815A (ja) 2018-01-11
JP6720725B2 (ja) 2020-07-08

Similar Documents

Publication Publication Date Title
JP6057506B2 (ja) 電池の充電用および放電電流保護の能力を備えた電力トポロジ
JP3599300B2 (ja) 半導体記憶装置
US10884445B2 (en) Power supply control device for maintaining power supply to a load
WO2017065055A1 (ja) 電流制御装置、電流制御方法及びコンピュータプログラム
WO2017110878A1 (ja) 給電制御装置
CN113453108B (zh) 无线耳机、无线耳机系统和无线耳机的关机方法
JP2022105038A (ja) 給電制御装置、給電制御方法及びコンピュータプログラム
CN109215709B (zh) 电阻式存储器装置及其电阻式存储单元的设定方法
WO2018003441A1 (ja) 出力装置及び切替えシステム
US20020000841A1 (en) Sense amplifier with improved sensitivity
JP2007041824A (ja) 電子制御ユニットのリセット回路
JP7067033B2 (ja) 給電制御装置、給電制御方法及びコンピュータプログラム
JP7143797B2 (ja) 車載カメラモジュールの電源制御装置
CN110417389B (zh) 上电复位电路
JP2016082682A (ja) 通電制御装置及び通電制御方法
JP5851980B2 (ja) 電源起動・停止制御回路
JPH07253830A (ja) リセット信号発生回路およびリセット信号発生方法
WO2021117492A1 (ja) スイッチ装置、電流判定方法及びコンピュータプログラム
US20180046584A1 (en) Address control circuit and control method for address control circuit
JP2000172382A (ja) 制御対象の状態維持回路装置及び状態維持方法
JPH10293998A (ja) 不揮発性半導体記憶装置
CN115754703A (zh) 开关动作检测电路、方法、计算机设备及存储介质
CN117121320A (zh) 供电控制系统和处理方法
JP2010239531A (ja) 負荷駆動装置及び負荷駆動制御装置
JPH09102751A (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: 17819806

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17819806

Country of ref document: EP

Kind code of ref document: A1