WO2021015244A1 - 入力装置及び入力診断方法 - Google Patents

入力装置及び入力診断方法 Download PDF

Info

Publication number
WO2021015244A1
WO2021015244A1 PCT/JP2020/028473 JP2020028473W WO2021015244A1 WO 2021015244 A1 WO2021015244 A1 WO 2021015244A1 JP 2020028473 W JP2020028473 W JP 2020028473W WO 2021015244 A1 WO2021015244 A1 WO 2021015244A1
Authority
WO
WIPO (PCT)
Prior art keywords
voltage
input
signal
state
switch
Prior art date
Application number
PCT/JP2020/028473
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 JP2020563571A priority Critical patent/JP6906719B2/ja
Priority to CN202080052005.2A priority patent/CN114144737B/zh
Priority to US17/609,788 priority patent/US11448699B2/en
Publication of WO2021015244A1 publication Critical patent/WO2021015244A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • G01R31/3277Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches
    • G01R31/3278Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches of relays, solenoids or reed switches
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16566Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533
    • G01R19/16576Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533 comparing DC or AC voltage with one threshold
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • G01R31/3277Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/14Plc safety
    • G05B2219/14006Safety, monitoring in general

Definitions

  • This disclosure relates to an input device and an input diagnostic method.
  • Equipment used in the field of FA is generally required to have safety.
  • Equipment used in the field of FA is generally required to have safety.
  • an input device of a type that is connected to an external switch via wiring and a signal indicating the state of the switch is input even if the state of the switch does not change due to an external force, the wiring It is required to confirm that the conduction state is normal. Therefore, a technique for self-diagnosis using such an input device has been proposed (see, for example, Patent Document 1).
  • Patent Document 1 describes a safety input device that outputs a pulse train signal as self-diagnosis pattern data and receives the pulse train signal via a controlled object. This safety input device executes self-diagnosis processing by determining whether or not there is a difference between the output self-diagnosis pattern data and the self-diagnosis pattern data decoded from the received signal.
  • the safety input device described in Patent Document 1 obtains a signal for normal control by passing the received signal through a low-pass filter and removing the pulse train signal used for self-diagnosis. If a control signal that has passed through such a low-pass filter is used, it may not be possible to respond to the input signal at high speed. Therefore, there is room for improving the input responsiveness of the input device while performing self-diagnosis.
  • the purpose of this disclosure is to improve the input responsiveness of the input device while performing self-diagnosis.
  • the input device of the present disclosure is an input device connected to a switch and the state of the switch is input as a voltage corresponding to the state, the first voltage and the first voltage.
  • a second voltage different from the second voltage an output means that outputs a voltage selected from, and an input signal that is input via a switch in which the voltage output from the output means is closed and corresponds to the input input voltage.
  • An output input means a diagnostic means for diagnosing whether or not the input signal changes when the voltage output from the output means is switched to the second voltage, and a state signal indicating the state of the switch based on the input signal.
  • the second voltage is a voltage different from the reference voltage input to the input means when the switch is in the open state.
  • the diagnostic means diagnoses whether or not the input signal changes when the voltage output from the output means is switched to the second voltage. As a result, it is confirmed whether or not the conduction state between the input device and the switch is normal. Further, the generation means generates a state signal indicating the state of the switch based on the input signal corresponding to the input voltage.
  • the input voltage is equal to the voltage selected from the first voltage and the second voltage when the switch is closed, the state signal can be directly generated from the input signal corresponding to the input voltage. .. Therefore, it is possible to improve the input responsiveness of the input device while performing the self-diagnosis.
  • the figure which shows the structure of the input circuit which concerns on Embodiment 1. The figure which shows the correspondence relationship between the input voltage, the input signal and the state signal which concerns on Embodiment 1.
  • the figure which shows the structure of the output circuit which concerns on a comparative example The figure which shows the structure of the input circuit which concerns on a comparative example.
  • the figure which shows the transition of the signal when the diagnosis by the input device which concerns on a comparative example is executed
  • the figure which shows the transition of the signal when the state of a switch which concerns on a comparative example is switched.
  • the figure which shows the example of the pulse train which concerns on the comparative example The figure which shows the structure of the input device which concerns on Embodiment 2.
  • the figure which shows the transition of the signal when the diagnosis which concerns on Embodiment 2 is executed The figure which shows the transition of the signal when the state of a switch which concerns on Embodiment 2 is switched.
  • the figure for demonstrating the reference voltage which concerns on a modification The figure which shows the reference voltage which concerns on a modification
  • FIG. 1 shows the configuration of a PLC (Programmable Logic Controller) 100 including an input device 10 according to the present embodiment.
  • the PLC 100 together with the switch 20 and the device 21, constitutes a control system 1000 constructed in a factory.
  • the PLC 100 and the device 21 are connected to each other via a dedicated line or an industrial network and communicate with each other. Further, the input device 10 of the PLC 100 and the switch 20 are connected via two wires.
  • the PLC 100 is a control device that controls the equipment 21 installed on the production line, and operates the production line according to the state of the switch 20. For example, the PLC 100 stops the production line when the switch 20 which is an emergency stop button is pressed by the user 22, and operates the production line in other cases.
  • the PLC 100 includes a CPU (Central Processing Unit) unit 101 that executes arithmetic processing, and an input device 10 that functions as an input unit of the PLC 100.
  • CPU Central Processing Unit
  • the state of the switch 20 is input to the input device 10 as a voltage corresponding to the state.
  • the input device 10 has a processor 110 that executes various arithmetic processes and exerts a function described later, an output circuit 120 that outputs an output voltage according to an instruction from the processor 110, and an output circuit 120.
  • the negative voltage generation circuit 130 that generates the negative voltage used by the device, the output terminal 141 and the input terminal 142 that are electrically connected to the switch 20 via wiring, and the voltage output from the output circuit 120 presses the switch 20. It has an input circuit 150, which is input via the input circuit 150.
  • the processor 110 is, for example, an LSI (Large Scale Integration) integrated as a SoC (System-on-a-Chip) together with an MPU (Micro Processing Unit) or a RAM (Random Access Memory).
  • the hardware configuration of the processor 110 is not limited to this, and may be an FPGA (Field Programmable Gate Array), an ASIC (Application Specific Integrated Circuit), or other IC components.
  • the processor 110 generates a conduction state of the output control unit 111 that controls the output of the voltage by the output circuit 120 and the wiring from the output circuit 120 to the input circuit 150 via the switch 20 by the input circuit 150.
  • the diagnostic unit 112 that diagnoses from the input signal 33, the generation unit 113 that generates the status signal 34 indicating the open / closed state of the switch 20 from the input signal 33, and the capture unit 114 that captures the status signal 34 and provides it to the CPU unit 101. And have.
  • the output control unit 111 transmits the control signal 31 to the output circuit 120, so that the output circuit 120 outputs a voltage corresponding to the control signal 31.
  • the control signal 31 includes a first control signal 311 and a second control signal 312, and both the first control signal 311 and the second control signal 312 are in the ON state depending on whether or not self-diagnosis is being executed. Alternatively, it is a 1-bit signal indicating either one of the off states.
  • the first control signal 311 is a current signal having a current value indicating an on state when the diagnosis is not executed and a current value indicating an off state when the diagnosis is being executed.
  • the second control signal 312 is a current signal having a current value indicating an on state when the diagnosis is being executed and having a current value indicating an off state when the diagnosis is not being executed.
  • the current value corresponding to any of the states may be zero.
  • the first control signal 311 and the second control signal 312 may be changed from a current signal to a voltage signal having a voltage value corresponding to the presence or absence of execution of diagnosis.
  • the current value indicating the on state of the first control signal 311 is, for example, 10 ⁇ A, and the current value indicating the off state is zero A.
  • the current value indicating the on state of the second control signal 312 is, for example, 10 ⁇ A, and the current value indicating the off state is zero A.
  • the output control unit 111 outputs a control signal 31 including the first control signal 311 and the second control signal 312 corresponding to the time when the diagnosis is not executed in the normal time when the diagnosis is not executed while the production line is operated. , For example, an output voltage of 24 V is output to the output circuit 120 as the first voltage. Further, in the diagnosis period in which the self-diagnosis is executed while the production line is operating, the output control unit 111 outputs a control signal 31 including the first control signal 311 and the second control signal 312 corresponding to the time when the diagnosis is executed. It is output, and a negative output voltage is output to the output circuit 120 as the second voltage. The negative output voltage is, for example, -12V. Further, the output control unit 111 transmits a period signal 32 indicating whether or not the current time is within the diagnosis period to the diagnosis unit 112.
  • the diagnostic unit 112 receives the period signal 32 from the output control unit 111, and receives the first input signal 331 of the input signals 33 generated by the input circuit 150 from the input circuit 150. Then, the diagnosis unit 112 diagnoses whether or not the first input signal 331 has changed when the current time is within the diagnosis period, so that the input circuit 150 is connected from the output circuit 120 via the switch 20. It is diagnosed whether or not the continuity state in the path 40 leading to is normal. Specifically, the diagnostic unit 112 diagnoses that the conduction state is normal when the first input signal 331 changes, and when the first input signal 331 does not change, the value of the voltage signal input to the input circuit 150 is Judge that it is stuck and diagnose that the continuity state is abnormal.
  • the processor 110 may notify the CPU unit 101 of the detection of the abnormality, or may execute other processing. Further, when the diagnosis of the diagnosis unit 112 does not detect an abnormality, the processor 110 may notify the CPU unit 101 that the continuity state is normal, or the next time without executing the process based on the diagnosis result. You may wait until the diagnosis.
  • the diagnostic unit 112 corresponds to an example of diagnostic means for diagnosing whether or not the input signal changes when the voltage output from the output circuit 120 as the output means in the input device 10 is switched to the second voltage.
  • the generation unit 113 receives the input signal 33 generated by the input circuit 150.
  • the input signal 33 includes a first input signal 331 and a second input signal 332, and both the first input signal 331 and the second input signal 332 are either high level or low level corresponding to the voltage value of the input voltage. It is a 1-bit signal having one of the voltage levels.
  • the first input signal 331 has a high level voltage value when the input voltage exceeds the first threshold voltage, and a low level voltage value when the input voltage is lower than the first threshold voltage. It is a voltage signal to have.
  • the second input signal 332 is a voltage signal having a high level voltage value when the input voltage exceeds the second threshold voltage and having a low level voltage value when the input voltage is lower than the second threshold voltage. is there.
  • the voltage value corresponding to any of the states may be zero V equal to the ground potential.
  • the first input signal 331 and the second input signal 332 may be changed from a voltage signal to a current signal having a current value corresponding to the input voltage.
  • the high-level voltage value of the first input signal 331 is, for example, 5V
  • the low-level voltage value is, for example, zero V.
  • the high level voltage value of the second input signal 332 is, for example, 5V
  • the low level voltage value is, for example, zero V.
  • the generation unit 113 generates a state signal 34 indicating the open / closed state of the switch 20 by a logical operation from these input signals 33, and transmits the state signal 34 to the acquisition unit 114.
  • the input signal 33 indicates the open / closed state of the switch 20 in order to correspond to the input voltage, and indicates whether the input voltage is equal to the first voltage or the second voltage when the switch 20 is in the closed state.
  • the input signal 33 is a signal that directly indicates the open / closed state of the switch and does not indicate other information, whereas the input signal 33 indicates other information in addition to the open / closed state of the switch. It is different from the signal 33.
  • the generation unit 113 corresponds to an example of a generation means in the input device 10 that generates a state signal indicating the state of the switch based on the input signal.
  • the capture unit 114 receives the status signal 34 from the generation unit 113 and outputs the capture signal to the outside according to the value of the status signal 34. For example, the capturing unit 114 may notify the CPU unit 101 of the value of the state signal 34 as it is or the value obtained by processing the state signal 34.
  • the output circuit 120 outputs an output voltage selected from the first voltage and the second voltage to the output terminal 141 according to the control signal 31.
  • the output circuit 120 corresponds to an example of an output means that outputs a voltage selected from the first voltage and the second voltage in the input device 10.
  • FIG. 3 shows an outline of the circuit configuration of the output circuit 120. As shown in FIG. 3, the output circuit 120 has a transistor 121 and a relay 122 as switching elements.
  • the transistor 121 is a PNP type bipolar transistor for applying a first voltage V1 to the output terminal 141 in response to the first control signal 311 included in the control signal 31.
  • a first voltage is applied to the emitter of the transistor 121 as the power supply voltage V1
  • a current signal as the first control signal 311 is input to the base connected to the output control unit 111, and the collector connects the connection point P1. It is connected to the output terminal 141 via.
  • the first control signal 311 is on, the first voltage is applied to the connection point P1, and when the first control signal 311 is off, the first voltage is not applied to the connection point P1.
  • the relay 122 is, for example, a mechanical relay or a semiconductor relay. In the following, an example in which the relay 122 is a mechanical relay will be mainly described.
  • the relay 122 has a coil and a switch corresponding to a contact that is closed by an electromagnetic force generated when a current flows through the coil. One terminal of the coil is connected to the output control unit 111, the other terminal is connected to the ground, and a current signal as a second control signal 312 included in the control signal 31 is input to the coil. This current signal closes the switch of the relay 122 when it is on, and opens the switch when it is off.
  • One terminal of this switch is connected to the negative voltage generation circuit 130 to apply a second voltage which is a negative voltage, and the other terminal is connected to the output terminal 141 via the connection point P1.
  • connection point P1 and the output terminal 141 are connected via the connection point P2, and this connection point P2 is connected to the ground via a resistor.
  • FIG. 4 shows the relationship between the state of the control signal 31 and the output voltage output from the output circuit 120.
  • the first voltage V1 is output as the output voltage.
  • the second voltage V2 is output as the output voltage.
  • the output voltage becomes the ground reference voltage.
  • the negative voltage generation circuit 130 is a circuit that generates a second voltage which is a negative voltage.
  • FIG. 5 shows an outline of the circuit configuration of the negative voltage generating circuit 130. As shown in FIG. 5, the negative voltage generation circuit 130 includes a power supply IC 131, capacitors C1 and C2, and diodes D1 and D2.
  • the power supply IC 131 is an element that generates a clock for generating a negative voltage by the charge pump, is connected to the power supply and ground, and is connected to the output circuit 120 via the capacitor C1 and the diode D2 in this order. ..
  • the power supply IC 131 monitors the voltage at the connection point P5 that connects the clock generator 1311 that generates a clock and switches the voltage applied to the capacitor C1 and the diode D2 and the output circuit 120, and generates the clock by the clock generator 1311. It has a voltage feedback circuit 1312 to control.
  • One terminal of the capacitor C1 is connected to the clock generator 1311 of the power supply IC 131, and the other terminal is connected to the cathode of the diode D2 via the connection point P3.
  • the connection point P3 is connected to the ground via the diode D1
  • the anode of the diode D1 is connected to the connection point P3, and the cathode is connected to the ground.
  • the anode of the diode D2 and the connection point P5 are connected via the connection point P4, and the connection point P4 is connected to the ground via the capacitor C2.
  • the voltage applied to the capacitor C2 decreases every time switching by the clock generator 1311 is executed. Then, the voltage feedback circuit 1312 stops switching by the clock generator 1311 when the voltage of the capacitor C2 falls below the target value of the second voltage, and when the voltage of the capacitor C2 exceeds the second voltage, the clock generator Let 1311 perform the switching. Due to the feedback by the voltage feedback circuit 1312, the voltage at the connection point P5 becomes equal to the second voltage, and the negative voltage generation circuit 130 generates the second voltage as a negative voltage.
  • the output terminal 141 and the input terminal 142 are each connected to different terminals of the switch 20 via wiring.
  • the switch 20 is a device that opens and closes the electrical connection between the output terminal 141 and the input terminal 142. It should be.
  • the switch 20 may be a sensor installed on a belt conveyor and opened when it comes into contact with a work, or may be built in a robot as a switching element.
  • the input circuit 150 generates an input signal 33 corresponding to this input voltage from the input voltage input to the input terminal 142, and transmits the first input signal 331 of the input signals 33 to the diagnostic unit 112 and the generation unit 113. Then, the second input signal 332 is transmitted to the generation unit 113.
  • the input signal 33 includes a first voltage output from the output circuit 120 when the switch 20 is closed, a second voltage output from the output circuit 120 when the switch 20 is closed, and a switch. It is a signal for identifying which is equal to the reference voltage input when 20 is in the open state. The reference voltage is equal to the ground potential.
  • the input circuit 150 corresponds to an example of an input means in which the voltage output from the output means is input via a closed switch in the input device 10 and an input signal corresponding to the input input voltage is output.
  • FIG. 6 shows an outline of the circuit configuration of the input circuit 150.
  • the input circuit 150 has comparators 151 and 152 in which the input voltage at the input terminal 142 is input via the connection point P6.
  • the connection point P6 is connected to the ground via a pull-down resistor.
  • the switch 20 When the switch 20 is in the closed state, an input voltage equal to the output voltage is input to the input circuit 150, and when the switch 20 is in the open state, a reference voltage equal to the ground is input.
  • the connection point P6 connected to the pull-down resistor is arranged between the input terminal 142 and the input circuit 150, but the connection point P6 is not limited to this, and the connection point P6 is the input terminal 142. It may be arranged between the switch 20 and the switch 20.
  • the comparator 151 compares the voltages in order to determine whether the input voltage is equal to the first voltage. Specifically, the comparator 151 compares the first threshold voltage Vt1 lower than the first voltage and higher than the reference voltage with the input voltage, and when the input voltage exceeds the first threshold voltage Vt1, a high level first. The input signal 331 is output, and when the input voltage is lower than the first threshold voltage Vt1, the low-level first input signal 331 is output.
  • the first threshold voltage is, for example, 12V and can be obtained by dividing the power supply voltage of 24V.
  • the comparator 151 transmits the first input signal 331 to the diagnosis unit 112 and the generation unit 113.
  • the comparator 152 compares the voltages in order to determine whether the input voltage is equal to the second voltage. Specifically, the comparator 152 compares the second threshold voltage Vt2, which is lower than the reference voltage and higher than the second voltage, with the input voltage, and when the input voltage exceeds the second threshold voltage Vt2, the second threshold voltage is high. The input signal 332 is output, and when the input voltage is lower than the second threshold voltage Vt2, the low level second input signal 332 is output.
  • the second threshold voltage is, for example, -6V, and is obtained by dividing the negative voltage of -12V generated by the negative voltage generation circuit 130.
  • the second input signal 332 When the input voltage is equal to the second voltage, the second input signal 332 is at a low level, and when the input voltage is equal to the first voltage or the reference voltage, the second input signal 332 is at a high level. That is, the second input signal 332 is a signal indicating whether or not the input voltage exceeds the second threshold voltage. Then, the comparator 152 transmits the second input signal 332 to the generation unit 113.
  • the generation unit 113 outputs a negative value for the exclusive OR of the first input signal 331 and the second input signal 332 as the state signal 34.
  • This logical operation is executed by treating the high level of each of the first input signal 331 and the second input signal 332 as true or 1, and treating the low level as false or zero.
  • FIG. 7 shows the relationship between the levels of the two input signals 33 and the values of the state signals 34. Specifically, when the input voltage Vi is higher than the first threshold voltage Vt1, it is indicated as "H” that both of the two input signals 33 have high levels, and in this case, the value of the state signal 34 is ". 1 ”.
  • the generation unit 113 indicates when the input voltage is higher than the first threshold voltage by the first input signal 331 and when the input voltage is lower than the second threshold voltage by the second input signal 332.
  • the first input signal 331 indicates that the input voltage is lower than the first threshold voltage
  • the second input signal indicates that the input voltage is higher than the second threshold voltage.
  • it produces a state signal 33 indicating that the switch 20 is in the open state.
  • the value of the state signal 34 becomes "1" indicating the closed state of the switch 20.
  • the value of the state signal 34 becomes "zero" indicating the open state of the switch 20.
  • FIG. 8 is a timing chart showing the transition of signals when the input device 10 executes a diagnosis.
  • the first control signal 311 in normal times when the diagnosis is not executed, the first control signal 311 is in the on state and the second control signal 312 is in the off state, and the first voltage is used as the output voltage from the output circuit 120. V1 is output.
  • the diagnosis unit 112 diagnoses it as normal.
  • FIG. 9 is a timing chart showing the transition of the signal when the operation of the switch 20 occurs.
  • the switch 20 is in the open state from time T1 to time T2 within the diagnosis period, is temporarily closed in the subsequent normal time, and is opened again after time T3.
  • the first input signal 331 changes in the same manner as in the example of FIG. 8, but the second input signal 332 has a high level when the switch 20 is in the open state, so that the second input signal 332 has a low level.
  • the period is from the start of the diagnosis period to the time T1.
  • the value of the state signal 34 becomes “zero”, so that the period from time T1 to time T2 and the period after time T3 Then, the value of the state signal 34 becomes “zero”.
  • the transition of the state signal 34 corresponds to the state of the switch 20, and the state signal 34 can be said to be a signal indicating the state of the switch 20.
  • FIG. 10 shows the transition of the signal when the diagnosis unit 112 diagnoses an abnormality.
  • the input voltage is fixed to the first voltage V1 regardless of the state of the switch 20.
  • the input voltage can be fixed as shown in FIG.
  • the first input signal 331 is fixed at a high level and does not change even during the diagnosis period, so that the diagnosis unit 112 diagnoses as abnormal.
  • the input diagnosis process shown in FIG. 11 shows the operation of the input device 10 at the time of diagnosis, but the actual operation of the input device 10 does not always follow the order shown in the figure.
  • the generation of the input signal 33 by the input circuit 150 is shown as step S3 in FIG. 11, but the input circuit 150 constantly generates the input signal corresponding to the input voltage, and the step in FIG. 11 S3 conveniently indicates the generation of the input signal resulting from the execution of step S2.
  • the input device 10 determines whether or not the current time corresponds to the execution timing of the diagnosis (step S1). Specifically, the processor 110 determines whether or not a certain time has elapsed since the previous diagnosis.
  • the fixed time is, for example, 1 minute, 1 hour, or 1 day.
  • step S1 When it is determined that the current time is not the diagnosis execution timing (step S1; No), the input device 10 repeats the determination in step S1 and waits until the diagnosis execution timing. On the other hand, when it is determined that the current time is the execution timing of the diagnosis (step S1; Yes), the input device 10 outputs the second voltage (step S2). Specifically, the output control unit 111 changes the value of the control signal 31 to change the output voltage output from the output circuit 120 from the first voltage to the second voltage. As a result, the output circuit 120 outputs the second voltage.
  • step S3 the input device 10 generates an input signal 33 (step S3).
  • the input circuit 150 generates a first input signal 331 and a second input signal 332 corresponding to the input voltage.
  • This step S3 corresponds to an example of an input step that outputs an input signal based on the input voltage input via the switch 20 in the closed state among the first voltage and the second voltage in the input diagnosis method.
  • the input device 10 determines whether or not the input signal changes (step S4). Specifically, when the diagnosis period in which the second voltage is output from the output circuit 120 comes, the diagnosis unit 112 determines whether or not the first input signal 331 of the input signals 33 changes.
  • This step S4 corresponds to an example of a diagnosis step of diagnosing whether or not the input signal changes when the input voltage is switched to the second voltage in the input diagnosis method.
  • step S5 When it is determined that the input signal has changed (step S4; Yes), the input device 10 generates a state signal 34 (step S5). Specifically, the generation unit 113 generates a state signal 34 indicating a value obtained by a logical operation from the values of the two input signals 33, and outputs the state signal 34 to the acquisition unit 114.
  • This step S5 corresponds to an example of a generation step of generating a state signal based on the input signal in the input diagnosis method. After that, the input device 10 repeats the processes after step S1.
  • step S6 when it is determined that the input signal does not change (step S4; No), the input device 10 executes an abnormality process (step S6). Specifically, the diagnosis unit 112 notifies the outside that an abnormality has occurred. After that, the input diagnosis process ends.
  • the diagnostic unit 112 diagnoses whether or not the input signal 33 changes when the voltage output from the output circuit 120 is switched to the second voltage. As a result, it is confirmed whether or not the conduction state between the input device 10 and the switch 20 is normal. Further, the generation unit 113 generates a state signal 34 indicating the state of the switch 20 based on the input signal 33 corresponding to the input voltage.
  • the state signal 34 is directly generated from the input signal corresponding to the input voltage. Can be done. Therefore, it is not necessary to pass the signal through the filter, and the input responsiveness of the input device 10 can be improved while performing the self-diagnosis.
  • diagnosis unit 112 diagnoses whether or not the input signal 33 has changed. Therefore, the diagnosis unit 112 diagnoses as normal when the input voltage changes from the first voltage to the second voltage. Further, the diagnosis unit 112 diagnoses as normal when the switch 20 is opened by an external force during the diagnosis period and the input voltage becomes equal to the reference voltage. That is, the diagnosis unit 112 can make a diagnosis regardless of the open / closed state of the switch 20.
  • the switch 20 when the switch 20 is in the open state, a reference voltage lower than the first voltage is input to the input circuit 150, and the second voltage is a voltage lower than the reference voltage. Then, the input circuit 150 outputs the first input signal 331 and the second input signal 332 as input signals, and the generation unit 113 generates a state signal 34 indicating the state of the switch 20 from these signals. Therefore, the self-diagnosis is performed using the voltage range from the first voltage to the second voltage, which is wider than the voltage range from the first voltage to the reference voltage. As a result, the input response can be improved without reducing the noise margin.
  • the input device 50 shown in FIG. 12 includes a processor 510 corresponding to the processor 110 of the input device 10, an output circuit 520 that outputs a voltage according to an instruction from the processor 510, and an input circuit that outputs an input signal corresponding to the input voltage. It has 550 and.
  • the processor 510 includes an output control unit 511 that controls the output of voltage by the output circuit 520, a diagnostic unit 512 that diagnoses whether or not the input signal output from the input circuit 550 changes, and a high frequency range with respect to the input signal. It has a filter unit 513 that performs filtering for removing the components of the above, and an acquisition unit 514 that captures the filtered signal.
  • the output control unit 511 changes the output voltage output from the output circuit 520 to a reference voltage in this diagnosis period, with the diagnosis period being a sufficiently short period to be removed by filtering by the filter unit 513.
  • the output circuit 520 corresponds to a circuit in which the part related to the second voltage is omitted from the output circuit 120.
  • the input circuit 550 corresponds to a circuit in which the portion related to the second input signal 332 is omitted from the input circuit 150.
  • FIG. 15 is a timing chart showing the transition of signals when the diagnosis by the input device 50 is executed.
  • the control signal output from the output control unit 511 to the output circuit 520 is in the on state in normal times, but is in the off state during the diagnosis period. Therefore, the output voltage is equal to the first voltage V1 in normal times, but becomes the reference voltage V0 in the diagnosis period.
  • the input voltage input to the input circuit 550 is equal to the output voltage.
  • the input signal is high level in normal times, but low level during the diagnostic period.
  • the filter signal filtered by the filter unit 513 is a signal whose value remains "1" because only the low frequency component passes through and short pulses are removed.
  • FIG. 16 is a timing chart showing the transition of signals when the switch 20 connected to the input device 50 is operated.
  • the switch 20 when the switch 20 is opened at the time T11, the input voltage becomes equal to the reference voltage and the input signal becomes the low level after the time T11.
  • the value of the filter signal changes from time T12 after time T11 to "zero". Thereby, the diagnosis can be performed without confusing the short pulse for self-diagnosis with the switch operation, but the input responsiveness to the switch operation of the input device 50 is low.
  • FIG. 17 shows an example in which the input voltage is fixed during the diagnosis period and the input signal should remain constant like the line L1, but is distorted like the line L2 due to the influence of noise. ..
  • the input voltage since the input voltage is fixed, it should be diagnosed as abnormal, but it may be erroneously diagnosed as normal.
  • FIG. 18 shows an example in which the input voltage changes during the diagnosis period, but the input signal should change like the line L1, but is distorted like the line L2 due to the influence of noise. In this example, it should be diagnosed as normal because the input voltage is changing, but it may be misdiagnosed as abnormal.
  • the input device 10 it is possible to distinguish between the fluctuation of the input voltage for diagnosis and the fluctuation of the input voltage due to the switch operation by the voltage level. This eliminates the need for filtering as used in the input device 50 to distinguish switch operations from diagnostic pulse trains. As a result, it is not necessary to shorten the diagnosis period, and it can be lengthened to some extent. Therefore, the influence of noise superimposed on the short pulse does not occur. Further, according to the input device 10, even if the switch 20 is opened during the diagnosis period, the diagnosis can be accurately executed.
  • filtering for removing noise may be executed as long as the input responsiveness is not impaired. Further, in FIG. 11, when the input device 10 diagnoses an abnormality, the abnormality is notified without generating the state signal 34, but the abnormality may be notified and the state signal 34 may be generated.
  • Embodiment 2 Subsequently, the second embodiment will be described focusing on the differences from the first embodiment described above.
  • the same reference numerals are used for the same or equivalent configurations as those in the first embodiment.
  • the present embodiment is different from the first embodiment in that the second voltage is higher than the reference voltage.
  • the input device 60 includes a processor 610, an output circuit 620, an output terminal 641 and an input terminal 642, and an input circuit 650.
  • the processor 610 includes an output control unit 611 that controls the output of voltage by the output circuit 620, a diagnostic unit 612 that diagnoses whether or not the input signal 73 generated by the input circuit 650 changes, and a switch 20 from the input signal 73. It has a generation unit 613 that generates a state signal 74 indicating the state of the above, and a capture unit 614 that captures the state signal 74.
  • the output control unit 611 transmits the control signal 71 to the output circuit 620 to output the voltage corresponding to the control signal 71 to the output circuit 620.
  • the control signal 71 is a signal equivalent to the control signal 31, and as shown in FIG. 4, a first control signal for outputting the first voltage and a second control signal for outputting the second voltage. And, including.
  • the output control unit 611 normally outputs a control signal 71 including a first control signal in the on state and a second control signal in the off state, and outputs an output voltage of, for example, 24 V as the first voltage to the output circuit 620. To output to.
  • the output control unit 611 outputs a control signal 71 including the first control signal in the off state and the second control signal in the on state, and uses the first voltage as the second voltage.
  • the output circuit 620 is made to output an output voltage of 12 V, which is low and higher than the reference voltage. Further, the output control unit 611 transmits a period signal 72 indicating whether or not the current time is within the diagnosis period to the diagnosis unit 612.
  • the diagnostic unit 612 receives the period signal 72 from the output control unit 611, and receives the first input signal 731 of the input signals 73 generated by the input circuit 650 from the input circuit 650. Then, the diagnosis unit 612 diagnoses whether or not the first input signal 731 has changed.
  • the generation unit 613 receives the input signal 73 generated by the input circuit 650.
  • the input signal 73 includes a first input signal 731 and a second input signal 732, and both the first input signal 731 and the second input signal 732 are either high level or low level corresponding to the input voltage. It is a 1-bit signal having a voltage level.
  • the first input signal 731 and the second input signal 732 are equivalent to the first input signal 331 and the second input signal 332 in that they are such 1-bit signals, but the first input signal 731 and the first input signal 731 and the first The differences from the input signal 331 and the differences between the second input signal 732 and the second input signal 332 will be described later.
  • the generation unit 613 generates a state signal 74 indicating the open / closed state of the switch 20 by a logical operation from these input signals 73, and transmits the state signal 74 to the acquisition unit 614.
  • the output circuit 620 outputs an output voltage selected from the first voltage and the second voltage to the output terminal 641 according to the control signal 71.
  • FIG. 21 shows an outline of the circuit configuration of the output circuit 620. As shown in FIG. 21, the output circuit 620 differs from the output circuit 120 according to the first embodiment in that it has a transistor 622, a resistor R1 and a Zener diode Z1 as switching elements instead of the relay 122.
  • the transistor 622 is a PNP type bipolar transistor for applying a second voltage V2 to the output terminal 641 in response to the second control signal 712 included in the control signal 71.
  • the emitter of the transistor 622 is connected to the connection point P7 connecting the Zener diode Z1 and the resistor R1, and the current signal as the second control signal 712 is input to the base connected to the output control unit 611, and the collector , It is connected to the output terminal 641 via the connection point P1.
  • the anode of the Zener diode Z1 is connected to ground and the cathode is connected to the connection point P7.
  • One end of the resistor R1 is connected to the connection point P7, and the power supply voltage V1 is applied to the other end.
  • the connection point P1 When the second control signal 712 is in the ON state, the second voltage V2 divided by the resistor R1 from the first voltage V1 is applied to the connection point P1, and when the second control signal 712 is in the OFF state, the connection point. No second voltage is applied to P1.
  • the output terminal 641 and the input terminal 642 are each connected to different terminals of the switch 20 via wiring.
  • the input circuit 650 generates an input signal 73 corresponding to this input voltage from the input voltage input to the input terminal 642, and transmits the first input signal 731 of the input signals 73 to the diagnostic unit 612 and the generation unit 613. Then, the second input signal 732 is transmitted to the generation unit 613.
  • the input signal 73 includes a first voltage output from the output circuit 620 when the switch 20 is closed, a second voltage output from the output circuit 620 when the switch 20 is closed, and a switch. It is a signal for identifying which is equal to the reference voltage applied when 20 is in the open state. The reference voltage is equal to the ground potential.
  • FIG. 22 shows an outline of the circuit configuration of the input circuit 650. As shown in FIG. 22, the input circuit 650 has the same configuration as the input circuit 150 according to the first embodiment.
  • the comparator 151 of the input circuit 650 compares the input voltage with the first threshold voltage Vt1 which is lower than the first voltage and higher than the second voltage. Then, the comparator 151 outputs a high-level first input signal 731 when the input voltage exceeds the first threshold voltage Vt1, and a low-level first when the input voltage is lower than the first threshold voltage Vt1.
  • the input signal 731 is output.
  • the first threshold voltage is, for example, 18V and can be obtained by dividing the power supply voltage of 24V.
  • the comparator 151 transmits the first input signal 731 to the diagnosis unit 612 and the generation unit 613.
  • the comparator 152 of the input circuit 650 compares the voltages in order to determine whether or not the input voltage is equal to the reference voltage. Specifically, the comparator 152 compares the input voltage with the second threshold voltage Vt2, which is lower than the second voltage and higher than the reference voltage, and when the input voltage exceeds the second threshold voltage Vt2, the second threshold voltage is high. The input signal 732 is output, and when the input voltage is lower than the second threshold voltage Vt2, the low level second input signal 732 is output.
  • the second threshold voltage is, for example, 6 V, and can be obtained by dividing the power supply voltage.
  • the second input signal 732 When the input voltage is equal to the second voltage, the second input signal 732 is at a low level, and when the input voltage is equal to the first voltage or the reference voltage, the second input signal 732 is at a high level. Then, the comparator 152 transmits the second input signal 732 to the generation unit 613.
  • the generation unit 613 outputs the value of the logical sum of the first input signal 731 and the second input signal 732 as the state signal 74.
  • FIG. 23 shows the relationship between the levels of the two input signals 73 and the values of the state signals 74. Specifically, when the input voltage Vi is higher than the first threshold voltage Vt1, both of the two input signals 73 have high levels, and in this case, the value of the state signal 74 becomes “1”. When the input voltage Vi is higher than the second threshold voltage Vt2 and lower than the first threshold voltage Vt1, the first input signal 731 becomes low level, the second input signal 732 becomes high level, and the value of the state signal 74 becomes high. It becomes "1".
  • the generation unit 613 When the input voltage Vi is lower than the second threshold voltage Vt2, both of the two input signals 73 are at a low level, and the value of the state signal 74 is “zero”. Taken together, the generation unit 613 generates a state signal 74 indicating that the switch 20 is in the closed state when the second input signal 732 indicates that the input voltage is higher than the second threshold voltage, and the input voltage. When the second input signal 732 indicates that is lower than the second threshold voltage, it generates a state signal 74 indicating that the switch 20 is in the open state. In other words, when the input voltage is equal to either the first voltage or the second voltage, that is, when the switch 20 is in the closed state, the value of the state signal 74 becomes "1" indicating the closed state of the switch 20. When the input voltage is equal to the reference voltage, that is, when the switch 20 is in the open state, the value of the state signal 74 becomes "zero" indicating the open state of the switch 20.
  • FIG. 24 is a timing chart showing the transition of signals when diagnosis is performed by the input device 60.
  • the input device 60 turns on the first control signal 711 and turns off the second control signal 712 in normal times, but turns off the first control signal 711 during the diagnosis period.
  • the second control signal 712 is turned on.
  • the output voltage is equal to the first voltage V1 in normal times, but is equal to the second voltage V2 in the diagnosis period.
  • the switch 20 remains closed and does not change, the input voltage changes in the same manner as the output voltage.
  • both of the two input signals 73 are at a high level, but during the diagnosis period, the second input signal 732 is at a high level.
  • the first input signal 731 becomes low level as it is.
  • the value of the state signal 74 remains “1” and does not change, and corresponds to the state of the switch 20.
  • FIG. 25 is a timing chart showing the transition of signals when the operation of the switch 20 occurs.
  • the switch 20 is in the open state from the time T1 to the time T2 during the diagnosis period, and after that, the switch 20 is once closed and then opened again after the time T3.
  • the input voltage becomes equal to the reference voltage
  • both of the two input signals 73 become low levels
  • the value of the state signal 74 also becomes zero.
  • the state signal 74 changes equally with the state of the switch 20.
  • the input device 60 it is possible to improve the input responsiveness while executing the self-diagnosis as in the first embodiment.
  • the second voltage is lower than the first voltage, and when the switch is in the open state, a reference voltage lower than the second voltage is input to the input circuit 650. Since the second voltage can be easily obtained by dividing the voltage from the power supply voltage, a complicated circuit becomes unnecessary, and the input device can be realized with a simple circuit configuration.
  • the input devices 10 and 60 correspond to the input unit of the PLC 100 has been described, but the present invention is not limited to this, and the input devices 10 and 60 are integrated control devices capable of acquiring a signal from the switch 20. There may be.
  • the output circuits 120 and 620 may further output a reference voltage according to the instructions from the processors 110 and 610. Further, a voltage selected from three or more types of voltages different from the reference voltage may be output. Further, the voltage values of the first voltage, the second voltage, and the reference voltage input to the input circuit 150 when the switch 20 is in the open state may be different from each other and may be arbitrarily changed. ..
  • the input signal is composed of two signals indicating a 1-bit value
  • the present invention is not limited to this, and the input signal is equal to the input voltage equal to the first voltage and the second voltage. It suffices if the input voltage can be distinguished from the input voltage equal to the reference voltage when the switch is open. For example, an input signal is high level when the input voltage is equal to the first voltage, low level when the input voltage is equal to the second voltage, and high level when the input voltage is equal to the reference voltage. It may be a signal that switches low levels alternately.
  • connection point P6 may be connected to the power supply via a resistor and may be connected to ground via another resistor.
  • the reference voltage divided by the two resistors is input to the input circuit 150.
  • the input devices 10 and 60 may be configured by omitting either one of the circuit units 161, 162 shown in FIG. 26.
  • the configuration is equal to that according to the first embodiment, and when the circuit unit 162 is omitted, the reference voltage is equal to the power supply voltage V3.
  • the reference voltage may be a voltage different from each of the first voltage and the second voltage output from the output circuit 120, and the level of the reference voltage may be arbitrarily changed.
  • the output circuit 120 may be arranged outside the input devices 10 and 60. ..
  • the diagnostic unit 112 may acquire the period signal 32 from the external output circuit 120.
  • the diagnosis unit 112 may execute the diagnosis during the diagnosis period in which the timing is predetermined in common with the external output circuit 120 without the diagnosis unit 112 acquiring the period signal 32.
  • the output circuit 120 may alternately output the first voltage and the second voltage at a predetermined cycle, and the diagnosis unit 112 may execute the diagnosis according to this cycle. For example, the output circuit 120 switches the output voltage between the first voltage and the second voltage every second, and the diagnostic unit 112 determines whether or not the input signal has changed in the past one second at an arbitrary timing. You may diagnose.
  • the input device 10 may include an output control unit 111, a diagnostic unit 112, a generation unit 113, and an acquisition unit 114 as functions realized by separate hardware.
  • This disclosure is suitable for self-diagnosis of a device that obtains input from the outside.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Electronic Switches (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

入力装置(10)は、スイッチ(20)に接続されて、該スイッチ(20)の状態が該状態に対応する電圧として入力される装置である。入力装置(10)は、第1電圧と、該第1電圧とは異なる第2電圧と、から選択された電圧を出力する出力回路(120)と、出力回路(120)から出力された電圧が閉状態であるスイッチ(20)を介して入力され、入力された入力電圧に対応する入力信号(33)を出力する入力回路(150)と、出力回路(120)から出力される電圧が第2電圧に切り替わったときに、入力信号が変化するか否かを診断する診断部(112)と、入力信号(33)に基づいてスイッチ(20)の状態を示す状態信号(34)を生成する生成部(113)と、を備える。第2電圧は、スイッチ(20)が開状態であるときに入力回路(150)に入力される基準電圧とは異なる電圧である。

Description

入力装置及び入力診断方法
 本開示は、入力装置及び入力診断方法に関する。
 FA(Factory Automation)の現場で用いられる装置には、一般的に、安全性を有することが求められる。例えば、外部のスイッチと配線を介して接続され、当該スイッチの状態を示す信号が入力されるタイプの入力装置について、当該スイッチの状態が外力によって変化することがない場合であっても、配線の導通状態が正常であることを確認することが求められる。そこで、このようなタイプの入力装置による自己診断のための技術が提案されている(例えば、特許文献1を参照)。
 特許文献1には、パルス列信号を自己診断パターンデータとして出力し、被制御対象を介して当該パルス列信号を受信する安全入力装置について記載されている。この安全入力装置は、出力した自己診断パターンデータと、受信した信号から復号された自己診断パターンデータと、の相違の有無を判定することによる自己診断処理を実行する。
特開2011-145988号公報
 特許文献1に記載の安全入力装置は、受信した信号を低域通過フィルタに通して自己診断に用いるパルス列信号を取り除くことで、通常の制御用の信号を得ている。このような低域通過フィルタを通過した制御用の信号を利用すると、入力された信号に対して高速に応答することができないおそれがある。したがって、自己診断を実行しつつ入力装置の入力応答性を向上させる余地があった。
 本開示は、自己診断を実行しつつ入力装置の入力応答性を向上させることを目的とする。
 上記目的を達成するため、本開示の入力装置は、スイッチに接続されて、該スイッチの状態が該状態に対応する電圧として入力される入力装置であって、第1電圧と、該第1電圧とは異なる第2電圧と、から選択された電圧を出力する出力手段と、出力手段から出力された電圧が閉状態であるスイッチを介して入力され、入力された入力電圧に対応する入力信号を出力する入力手段と、出力手段から出力される電圧が第2電圧に切り替わったときに、入力信号が変化するか否かを診断する診断手段と、入力信号に基づいてスイッチの状態を示す状態信号を生成する生成手段と、を備え、第2電圧は、スイッチが開状態であるときに入力手段に入力される基準電圧とは異なる電圧である。
 本開示によれば、診断手段は、出力手段から出力される電圧が第2電圧に切り替わったときに、入力信号が変化するか否かを診断する。これにより、入力装置とスイッチとの間における導通状態が正常であるか否かが確認される。また、生成手段は、入力電圧に対応する入力信号に基づいてスイッチの状態を示す状態信号を生成する。ここで、入力電圧は、スイッチが閉状態であるときには第1電圧及び第2電圧から選択された電圧に等しいことから、入力電圧に対応する入力信号から直接的に状態信号を生成することができる。このため、自己診断を実行しつつ入力装置の入力応答性を向上させることができる。
実施の形態1に係る制御システムの構成を示す図 実施の形態1に係る入力装置の構成を示す図 実施の形態1に係る出力回路の構成を示す図 実施の形態1に係る制御信号と出力電圧との対応関係を示す図 実施の形態1に係る負電圧発生回路の構成を示す図 実施の形態1に係る入力回路の構成を示す図 実施の形態1に係る入力電圧と入力信号と状態信号との対応関係を示す図 実施の形態1に係る診断が実行される際の信号の推移を示す図 実施の形態1に係るスイッチの状態が切り替わる際の信号の推移を示す図 実施の形態1に係る入力装置において異常と診断される際の信号の推移を示す図 実施の形態1に係る入力診断処理を示すフローチャート 比較例に係る入力装置の構成を示す図 比較例に係る出力回路の構成を示す図 比較例に係る入力回路の構成を示す図 比較例に係る入力装置による診断が実行される際の信号の推移を示す図 比較例に係るスイッチの状態が切り替わる際の信号の推移を示す図 比較例に係る入力装置に対するノイズの影響について説明するための第1の図 比較例に係る入力装置に対するノイズの影響について説明するための第2の図 比較例に係るパルス列の例を示す図 実施の形態2に係る入力装置の構成を示す図 実施の形態2に係る出力回路の構成を示す図 実施の形態2に係る入力回路の構成を示す図 実施の形態2に係る入力電圧と入力信号と状態信号との対応関係を示す図 実施の形態2に係る診断が実行される際の信号の推移を示す図 実施の形態2に係るスイッチの状態が切り替わる際の信号の推移を示す図 変形例に係る基準電圧について説明するための図
 以下、本開示の実施の形態に係る入力装置10について、図面を参照しつつ詳細に説明する。
 実施の形態1.
 図1には、本実施の形態に係る入力装置10を含むPLC(Programmable Logic Controller)100の構成が示されている。PLC100は、スイッチ20及び機器21とともに、工場に構築される制御システム1000を構成する。PLC100と機器21とは、専用線又は産業用ネットワークを介して接続されて互いに通信する。また、PLC100の入力装置10とスイッチ20とは、2本の配線を介して接続される。
 PLC100は、製造ラインに設置された機器21を制御する制御装置であって、スイッチ20の状態に応じて製造ラインを稼働させる。例えば、PLC100は、緊急停止ボタンであるスイッチ20がユーザ22によって押された場合に、製造ラインを停止させ、それ以外の場合には製造ラインを稼働させる。PLC100は、演算処理を実行するCPU(Central Processing Unit)ユニット101と、PLC100の入力ユニットとして機能する入力装置10と、を有する。
 入力装置10には、スイッチ20の状態が当該状態に対応する電圧として入力される。図2に示されるように、入力装置10は、種々の演算処理を実行して後述の機能を発揮するプロセッサ110と、プロセッサ110からの指示に従って出力電圧を出力する出力回路120と、出力回路120によって利用される負電圧を生成する負電圧発生回路130と、スイッチ20と配線を介して電気的に接続される出力端子141及び入力端子142と、出力回路120から出力された電圧がスイッチ20を介して入力される入力回路150と、を有する。
 プロセッサ110は、例えば、MPU(Micro Processing Unit)、又は、RAM(Random Access Memory)とともにSoC(System-on-a-Chip)として集積されたLSI(Large Scale Integration)である。ただし、プロセッサ110としてのハードウェア構成はこれに限定されず、FPGA(Field Programmable Gate Array)、ASIC(Application Specific Integrated Circuit)、その他のIC部品であってもよい。プロセッサ110は、その機能として、出力回路120による電圧の出力を制御する出力制御部111と、出力回路120からスイッチ20を介して入力回路150に至る配線の導通状態を、入力回路150によって生成される入力信号33から診断する診断部112と、スイッチ20の開閉状態を示す状態信号34を入力信号33から生成する生成部113と、状態信号34を取り込んでCPUユニット101に提供する取込部114と、を有する。
 出力制御部111は、制御信号31を出力回路120に送信することで、制御信号31に応じた電圧を出力回路120に出力させる。制御信号31は、第1制御信号311及び第2制御信号312を含み、第1制御信号311及び第2制御信号312はいずれも、自己診断を実行中であるか否かに対応してオン状態又はオフ状態のいずれか一方の状態を示す1ビットの信号である。詳細には、第1制御信号311は、診断が実行されていないときにオン状態を示す電流値を有し、診断が実行されているときにオフ状態を示す電流値を有する電流信号である。第2制御信号312は、診断が実行されているときにオン状態を示す電流値を有し、診断が実行されていないときにオフ状態を示す電流値を有する電流信号である。ここで、いずれかの状態に対応する電流値は、ゼロであってもよい。なお、第1制御信号311及び第2制御信号312を、電流信号から、診断の実行の有無に対応する電圧値を有する電圧信号に変更してもよい。第1制御信号311のオン状態を示す電流値は、例えば10μAであって、オフ状態を示す電流値は、ゼロAである。第2制御信号312のオン状態を示す電流値は、例えば10μAであって、オフ状態を示す電流値は、ゼロAである。
 出力制御部111は、製造ラインを稼働させる一方で診断が実行されない通常時においては、診断が実行されないときに対応する第1制御信号311及び第2制御信号312を含む制御信号31を出力して、第1電圧として例えば24Vの出力電圧を出力回路120に出力させる。また、出力制御部111は、製造ラインを稼働させつつ自己診断を実行する診断期間においては、診断が実行されるときに対応する第1制御信号311及び第2制御信号312を含む制御信号31を出力して、第2電圧として負の出力電圧を出力回路120に出力させる。負の出力電圧は、例えばマイナス12Vである。また、出力制御部111は、現在時刻が診断期間内であるか否かを示す期間信号32を診断部112に送信する。
 診断部112は、出力制御部111から期間信号32を受信し、入力回路150によって生成される入力信号33のうちの第1入力信号331を入力回路150から受信する。そして、診断部112は、現在時刻が診断期間内の時刻になったときに、第1入力信号331が変化したか否かを診断することにより、出力回路120からスイッチ20を介して入力回路150に至る経路40における導通状態が正常であるか否かを診断する。詳細には、診断部112は、第1入力信号331が変化したときには導通状態が正常であると診断し、第1入力信号331が変化しないときには、入力回路150に入力される電圧信号の値が固着していると判断して、導通状態が異常であると診断する。診断部112の診断によって異常が検出された場合に、プロセッサ110は、CPUユニット101に異常の検出を通知してもよいし、他の処理を実行してもよい。また、診断部112の診断により異常が検出されない場合に、プロセッサ110は、導通状態が正常である旨をCPUユニット101に通知してもよいし、診断結果に基づく処理を実行することなく次回の診断まで待機してもよい。診断部112は、入力装置10において出力手段としての出力回路120から出力される電圧が第2電圧に切り替わったときに入力信号が変化するか否かを診断する診断手段の一例に相当する。
 生成部113は、入力回路150によって生成される入力信号33を受信する。入力信号33は、第1入力信号331及び第2入力信号332を含み、第1入力信号331及び第2入力信号332はいずれも、入力電圧の電圧値に対応してハイレベル又はローレベルのいずれか一方の電圧レベルを有する1ビットの信号である。詳細には、第1入力信号331は、入力電圧が第1閾値電圧を超える場合に、ハイレベルの電圧値を有し、入力電圧が第1閾値電圧を下回る場合に、ローレベルの電圧値を有する電圧信号である。第2入力信号332は、入力電圧が第2閾値電圧を超える場合に、ハイレベルの電圧値を有し、入力電圧が第2閾値電圧を下回る場合に、ローレベルの電圧値を有する電圧信号である。ここで、いずれかの状態に対応する電圧値は、グランド電位に等しいゼロVであってもよい。なお、第1入力信号331及び第2入力信号332を、電圧信号から、入力電圧に対応する電流値を有する電流信号に変更してもよい。第1入力信号331のハイレベルの電圧値は、例えば5Vであって、ローレベルの電圧値は、例えばゼロVである。第2入力信号332のハイレベルの電圧値は、例えば5Vであって、ローレベルの電圧値は、例えばゼロVである。
 生成部113は、これらの入力信号33から論理演算により、スイッチ20の開閉状態を示す状態信号34を生成して、取込部114に送信する。入力信号33は、入力電圧に対応するため、スイッチ20の開閉状態を示すとともに、スイッチ20が閉状態であるときには入力電圧が第1電圧と第2電圧のいずれに等しいかを示す。入力信号33がスイッチの開閉状態に加えて他の情報を示すのに対して、状態信号34は、スイッチの開閉状態を直接的に示す信号であって、他の情報を示さない点で、入力信号33とは異なる。生成部113は、入力装置10において、入力信号に基づいてスイッチの状態を示す状態信号を生成する生成手段の一例に相当する。
 取込部114は、生成部113から状態信号34を受信して、状態信号34の値に応じて外部に取込信号を出力する。例えば、取込部114は、状態信号34の値をそのまま、又は状態信号34を加工した値を、CPUユニット101に通知してもよい。
 出力回路120は、制御信号31に従って、第1電圧及び第2電圧から選択された出力電圧を出力端子141に出力する。出力回路120は、入力装置10において第1電圧及び第2電圧から選択された電圧を出力する出力手段の一例に相当する。図3には、出力回路120の回路構成の概要が示されている。図3に示されるように、出力回路120は、スイッチング素子としてのトランジスタ121及びリレー122を有する。
 トランジスタ121は、制御信号31に含まれる第1制御信号311に応じて第1電圧V1を出力端子141に印加するためのPNP型バイポーラトランジスタである。トランジスタ121のエミッタには、電源電圧V1として第1電圧が印加され、出力制御部111に接続されたベースには、第1制御信号311としての電流信号が入力され、コレクタは、接続点P1を介して出力端子141に接続される。第1制御信号311がオン状態であるときには、接続点P1に第1電圧が印加され、第1制御信号311がオフ状態であるときには、接続点P1に第1電圧が印加されることはない。
 リレー122は、例えば、メカニカルリレー又は半導体リレーである。以下では、リレー122がメカニカルリレーである例を中心に説明する。リレー122は、コイルと、当該コイルに電流が流れたときに生じる電磁力で閉状態になる接点に相当するスイッチと、を有する。コイルの一方の端子は出力制御部111に接続され、他方の端子はグランドに接続されて、コイルには制御信号31に含まれる第2制御信号312としての電流信号が入力される。この電流信号は、オン状態であるときにリレー122のスイッチを閉状態とし、オフ状態であるときにスイッチを開状態とする。このスイッチの一方の端子は負電圧発生回路130に接続されて負電圧である第2電圧が印加され、他方の端子は接続点P1を介して出力端子141に接続される。
 接続点P1と出力端子141とは、接続点P2を介して接続され、この接続点P2は、抵抗を介してグランドに接続される。
 図4には、制御信号31の状態と、出力回路120から出力される出力電圧と、の関係が示されている。図4に示されるように、第1制御信号311がオン状態であり第2制御信号312がオフ状態であるときには、出力電圧として第1電圧V1が出力される。また、第1制御信号311がオフ状態であり第2制御信号312がオン状態であるときには、出力電圧として第2電圧V2が出力される。なお、第1制御信号311及び第2制御信号312の双方がオフ状態であるときには、出力電圧がグランドである基準電圧となる。
 負電圧発生回路130は、負電圧である第2電圧を生成する回路である。図5には、負電圧発生回路130の回路構成の概要が示されている。図5に示されるように、負電圧発生回路130は、電源IC131と、コンデンサC1,C2と、ダイオードD1,D2と、を有する。
 電源IC131は、チャージポンプにより負電圧を発生するためのクロックを生成する素子であって、電源とグランドに接続されるとともに、コンデンサC1及びダイオードD2をこの順で介して出力回路120に接続される。電源IC131は、クロックを生成してコンデンサC1に印加する電圧をスイッチングするクロックジェネレータ1311と、ダイオードD2と出力回路120とを接続する接続点P5における電圧を監視してクロックジェネレータ1311によるクロックの生成を制御する電圧フィードバック回路1312と、を有する。
 コンデンサC1の一方の端子は、電源IC131のクロックジェネレータ1311に接続され、他方の端子は、接続点P3を介してダイオードD2のカソードに接続される。接続点P3は、ダイオードD1を介してグランドに接続され、このダイオードD1のアノードは接続点P3に接続され、カソードはグランドに接続される。また、ダイオードD2のアノードと接続点P5とは、接続点P4を介して接続され、この接続点P4は、コンデンサC2を介してグランドに接続される。
 このような回路構成を有する負電圧発生回路130において、コンデンサC2に印加される電圧は、クロックジェネレータ1311によるスイッチングが実行される毎に低下する。そして、電圧フィードバック回路1312は、このコンデンサC2の電圧が目標値である第2電圧を下回るときに、クロックジェネレータ1311によるスイッチングを停止させ、コンデンサC2の電圧が第2電圧を上回るときに、クロックジェネレータ1311にスイッチングを実行させる。電圧フィードバック回路1312によるフィードバックにより、接続点P5における電圧は、第2電圧に等しくなり、負電圧発生回路130によって負電圧として第2電圧が生成される。
 図2に戻り、出力端子141及び入力端子142はそれぞれ、配線を介してスイッチ20の異なる端子に接続される。なお、スイッチ20がユーザ22によって操作される非常停止ボタンである例を説明したが、これには限定されず、スイッチ20は、出力端子141と入力端子142との電気的な接続を開閉する機器であればよい。例えば、スイッチ20は、ベルトコンベアに設置され、ワークと接触したときに開状態になるセンサであってもよいし、スイッチング素子としてロボットに内蔵されてもよい。
 入力回路150は、入力端子142に入力された入力電圧から、この入力電圧に対応する入力信号33を生成して、入力信号33のうち第1入力信号331を診断部112及び生成部113に送信し、第2入力信号332を生成部113に送信する。入力信号33は、入力電圧が、スイッチ20が閉状態のときに出力回路120から出力された第1電圧と、スイッチ20が閉状態のときに出力回路120から出力された第2電圧と、スイッチ20が開状態のときに入力される基準電圧と、のいずれに等しいかを識別するための信号である。基準電圧は、グランド電位に等しい。入力回路150は、入力装置10において、出力手段から出力された電圧が閉状態であるスイッチを介して入力され、入力された入力電圧に対応する入力信号を出力する入力手段の一例に相当する。
 図6には、入力回路150の回路構成の概要が示されている。図6に示されるように、入力回路150は、入力端子142における入力電圧が接続点P6を介して入力される比較器151,152を有する。ここで、接続点P6は、プルダウン抵抗を介してグランドに接続されている。入力回路150には、スイッチ20が閉状態であるときには、出力電圧に等しい入力電圧が入力され、スイッチ20が開状態であるときには、グランドに等しい基準電圧が入力される。なお、図6の例では、入力端子142と入力回路150との間に、プルダウン抵抗に接続される接続点P6が配置されたが、これには限定されず、接続点P6は、入力端子142とスイッチ20との間に配置されてもよい。
 比較器151は、入力電圧が第1電圧に等しいか否かを判定するために電圧を比較する。詳細には、比較器151は、第1電圧より低く基準電圧より高い第1閾値電圧Vt1と入力電圧とを比較して、入力電圧が第1閾値電圧Vt1を超える場合にはハイレベルの第1入力信号331を出力し、入力電圧が第1閾値電圧Vt1を下回る場合にはローレベルの第1入力信号331を出力する。第1閾値電圧は、例えば12Vであって、24Vの電源電圧を分圧することで得られる。入力電圧が第1電圧に等しい場合には第1入力信号331はハイレベルになり、入力電圧が第2電圧又は基準電圧に等しい場合には第1入力信号331はローレベルになる。すなわち、第1入力信号331は、入力電圧が第1閾値電圧を超えるか否かを示す信号である。そして、比較器151は、第1入力信号331を診断部112及び生成部113に送信する。
 比較器152は、入力電圧が第2電圧に等しいか否かを判定するために電圧を比較する。詳細には、比較器152は、基準電圧より低く第2電圧より高い第2閾値電圧Vt2と入力電圧とを比較して、入力電圧が第2閾値電圧Vt2を超える場合にはハイレベルの第2入力信号332を出力し、入力電圧が第2閾値電圧Vt2を下回る場合にはローレベルの第2入力信号332を出力する。第2閾値電圧は、例えばマイナス6Vであって、負電圧発生回路130によって生成されたマイナス12Vの負電圧を分圧することで得られる。入力電圧が第2電圧に等しい場合には第2入力信号332はローレベルになり、入力電圧が第1電圧又は基準電圧に等しい場合には第2入力信号332はハイレベルになる。すなわち、第2入力信号332は、入力電圧が第2閾値電圧を超えるか否かを示す信号である。そして、比較器152は、第2入力信号332を生成部113に送信する。
 ここで、生成部113による状態信号34の生成について説明する。図6に示されるように、生成部113は、第1入力信号331と第2入力信号332との排他的論理和に対する否定の値を状態信号34として出力する。この論理演算は、第1入力信号331及び第2入力信号332それぞれのハイレベルを真或いは1として扱い、ローレベルを偽或いはゼロとして扱うことで実行される。図7には、2つの入力信号33のレベルと状態信号34の値との関係が示されている。詳細には、入力電圧Viが第1閾値電圧Vt1より高い場合には、2つの入力信号33はいずれもハイレベルとなることが「H」として示され、この場合に状態信号34の値が「1」となる。また、入力電圧Viが第2閾値電圧Vt2より高く第1閾値電圧Vt1より低い場合には、第1入力信号331がローレベルとなることが「L」として示され、この場合には第2入力信号332がハイレベルとなり、状態信号34の値が「ゼロ」となる。また、入力電圧Viが第2閾値電圧Vt2より低い場合には、2つの入力信号33がいずれもローレベルとなり、状態信号34の値が「1」となる。総合すると、生成部113は、入力電圧が第1閾値電圧より高いことが第1入力信号331によって示される場合及び入力電圧が第2閾値電圧より低いことが第2入力信号332によって示される場合には、スイッチ20が閉状態であることを示す状態信号33を生成し、入力電圧が第1閾値電圧より低いことが第1入力信号331によって示され第2閾値電圧より高いことが第2入力信号332によって示される場合には、スイッチ20が開状態であることを示す状態信号33を生成する。換言すると、入力電圧が第1電圧及び第2電圧のいずれかに等しい場合、すなわちスイッチ20が閉状態である場合には、状態信号34の値がスイッチ20の閉状態を示す「1」となり、入力電圧が基準電圧に等しい場合、すなわちスイッチ20が開状態であるときには、状態信号34の値がスイッチ20の開状態を示す「ゼロ」となる。
 図8は、入力装置10が診断を実行するときの信号の推移を示すタイミングチャートである。図8に示されるように、診断が実行されない平常時においては、第1制御信号311がオン状態であり第2制御信号312がオフ状態であって、出力回路120からは出力電圧として第1電圧V1が出力される。診断期間においては、第1制御信号311がオフ状態になり第2制御信号312がオン状態になって、出力回路120からは第2電圧V2が出力される。診断の対象となる第1入力信号が平常時と診断期間とで変化していることから、診断部112によって正常であると診断される。
 スイッチ20が閉状態のまま変化しなければ、入力電圧は、出力電圧と同様に推移する。そして、平常時においてハイレベルである2つの入力信号33はいずれも、診断期間においてローレベルになる。図7に示されたように、入力信号33がいずれもハイレベルである場合、及びいずれもローレベルである場合の双方において、状態信号34の値は「1」であるため、図8において状態信号34の値は「1」のまま変化しない。
 図9は、スイッチ20の操作が発生したときの信号の推移を示すタイミングチャートである。図9に示される例では、診断期間内における時刻T1から時刻T2までにスイッチ20が開状態となり、その後の平常時には一旦閉状態となってから時刻T3以降に再び開状態となる。スイッチ20が開状態となっているときには、入力電圧が基準電圧に等しくなる。第1入力信号331は、図8の例と同様に推移するが、第2入力信号332は、スイッチ20が開状態となっているときには、ハイレベルになるため、第2入力信号332がローレベルになる期間は、診断期間の開始から時刻T1までである。図7に示されたように、2つの入力信号33のレベルが異なる場合には、状態信号34の値は「ゼロ」となるため、時刻T1から時刻T2までの期間、及び時刻T3以降の期間では、状態信号34の値が「ゼロ」になる。
 図8,9からわかるように、状態信号34の推移は、スイッチ20の状態と対応しており、状態信号34は、スイッチ20の状態を示す信号といえる。
 図10には、診断部112によって異常と診断される場合の信号の推移が示されている。図10の例では、スイッチ20の状態に関わらず、入力電圧が第1電圧V1に固着している。出力回路120からスイッチ20を経由して入力回路150に至る経路に異常が生じた場合には、図10に示されるように入力電圧が固定され得る。この場合には、第1入力信号331がハイレベルに固定され、診断期間になっても変化しないため、診断部112が異常であると診断する。
 続いて、入力装置10によって実行される入力診断処理について、図11を用いて説明する。図11に示される入力診断処理は、診断時における入力装置10の動作を示しているが、入力装置10の実際の動作が同図の順序に従うとは限らない。例えば、入力回路150による入力信号33の生成は、図11中のステップS3として示されているが、入力回路150は、入力電圧に対応する入力信号を常時生成しており、図11中のステップS3は、ステップS2の実行に起因する入力信号の生成を便宜的に示すものである。
 入力診断処理では、入力装置10は、現在時刻が診断の実行タイミングに相当するか否かを判定する(ステップS1)。具体的には、プロセッサ110が、前回の診断から一定時間が経過したか否かを判定する。一定時間は、例えば、1分間、1時間又は1日間である。
 現在時刻が診断の実行タイミングではないと判定した場合(ステップS1;No)、入力装置10は、ステップS1の判定を繰り返して、診断の実行タイミングまで待機する。一方、現在時刻が診断の実行タイミングであると判定した場合(ステップS1;Yes)、入力装置10は、第2電圧を出力する(ステップS2)。具体的には、出力制御部111が、制御信号31の値を変更することで、出力回路120から出力される出力電圧を、第1電圧から第2電圧に変更させる。これにより、出力回路120が第2電圧を出力する。
 次に、入力装置10は、入力信号33を生成する(ステップS3)。具体的には、入力回路150が、入力電圧に対応する第1入力信号331及び第2入力信号332を生成する。このステップS3は、入力診断方法において、第1電圧及び第2電圧のうちの、閉状態であるスイッチ20を介して入力された入力電圧に基づく入力信号を出力する入力ステップの一例に相当する。
 次に、入力装置10は、入力信号が変化するか否かを判定する(ステップS4)。具体的には、出力回路120から第2電圧が出力される診断期間になるときに、診断部112が、入力信号33のうちの第1入力信号331が変化するか否かを判定する。このステップS4は、入力診断方法において入力される電圧が第2電圧に切り替わったときに入力信号が変化するか否かを診断する診断ステップの一例に相当する。
 入力信号が変化したと判定した場合(ステップS4;Yes)、入力装置10は、状態信号34を生成する(ステップS5)。具体的には、生成部113が、2つの入力信号33の値から論理演算により得た値を示す状態信号34を生成して、取込部114に出力する。このステップS5は、入力診断方法において、入力信号に基づいて状態信号を生成する生成ステップの一例に相当する。その後、入力装置10は、ステップS1以降の処理を繰り返す。
 一方、入力信号が変化しないと判定した場合(ステップS4;No)、入力装置10は、異常処理を実行する(ステップS6)。具体的には、診断部112が、異常が発生した旨を外部に通知する。その後、入力診断処理が終了する。
 以上、説明したように、診断部112は、出力回路120から出力される電圧が第2電圧に切り替わったときに、入力信号33が変化するか否かを診断する。これにより、入力装置10とスイッチ20との間における導通状態が正常であるか否かが確認される。また、生成部113は、入力電圧に対応する入力信号33に基づいてスイッチ20の状態を示す状態信号34を生成する。ここで、入力電圧は、スイッチ20が閉状態であるときには第1電圧及び第2電圧から選択された電圧に等しいことから、入力電圧に対応する入力信号から直接的に状態信号34を生成することができる。このため、信号をフィルタに通す必要がなく、自己診断を実行しつつ入力装置10の入力応答性を向上させることができる。
 また、診断部112は、入力信号33が変化したか否かを診断する。このため、診断部112は、入力電圧が第1電圧から第2電圧に変化した場合に、正常であると診断する。さらに、診断部112は、診断期間においてスイッチ20が外力により開状態とされて、入力電圧が基準電圧に等しくなった場合に、正常であると診断する。すなわち、診断部112は、スイッチ20の開閉状態によらず診断することができる。
 また、入力回路150には、スイッチ20が開状態であるときには第1電圧より低い基準電圧が入力され、第2電圧は、基準電圧より低い電圧である。そして、入力回路150は、第1入力信号331及び第2入力信号332を入力信号として出力し、生成部113は、これらの信号からスイッチ20の状態を示す状態信号34を生成した。このため、第1電圧から基準電圧までの電圧範囲よりも広い、第1電圧から第2電圧までの電圧範囲を利用して、自己診断が実行される。これにより、ノイズマージンを小さくすることなく、入力応答性を向上させることができる。
 ここで、本実施の形態に係る入力装置10と比較するために、出力する電圧が2つのレベルから選択されることなく1つのレベルに固定されている例について説明する。図12に示される入力装置50は、入力装置10のプロセッサ110に対応するプロセッサ510と、プロセッサ510からの指示に従って電圧を出力する出力回路520と、入力電圧に対応する入力信号を出力する入力回路550と、を有する。
 プロセッサ510は、出力回路520による電圧の出力を制御する出力制御部511と、入力回路550から出力される入力信号が変化するか否かを診断する診断部512と、入力信号に対して高域の成分を取り除くフィルタリングを施すフィルタ部513と、フィルタリングされた信号を取り込む取込部514と、を有する。出力制御部511は、診断期間を、フィルタ部513によるフィルタリングによって取り除かれる十分短い期間として、この診断期間において出力回路520から出力される出力電圧を基準電圧に変更する。
 出力回路520は、図13に示されるように、出力回路120から第2電圧に関する部分を省略した回路に相当する。また、入力回路550は、図14に示されるように、入力回路150から第2入力信号332に関する部分を省略した回路に相当する。
 図15は、入力装置50による診断が実行される際の信号の推移を示すタイミングチャートである。図15に示されるように、出力制御部511から出力回路520に出力される制御信号は、平常時においてはオン状態であるが、診断期間においてはオフ状態になる。このため、出力電圧は、平常時においては第1電圧V1に等しいが、診断期間においては基準電圧V0となる。
 スイッチ20が閉状態のまま変化しなければ、入力回路550に入力される入力電圧は、出力電圧に等しい。入力信号は、平常時においてはハイレベルであるが、診断期間においてはローレベルとなる。そして、フィルタ部513によるフィルタリングが施されたフィルタ信号は、低域成分のみが通過して、短いパルスが取り除かれるため、値が「1」のまま変化しない信号となる。
 図16には、入力装置50に接続されたスイッチ20が操作された場合の信号の推移を示すタイミングチャートである。図16に示されるように、スイッチ20が時刻T11において開状態となると、時刻T11以降には、入力電圧が基準電圧に等しくなり、入力信号がローレベルとなる。しかしながら、フィルタ部513によるフィルタリングの結果、フィルタ信号は、時刻T11より後の時刻T12から値が「ゼロ」に変化している。これにより、自己診断のための短いパルスをスイッチ操作と混同することなく診断を実行することができるが、入力装置50のスイッチ操作に対する入力応答性は低い。
 また、短いパルスを利用した自己診断は、ノイズの影響を受けやすい。例えば、図17には、診断期間において入力電圧が固着しており、入力信号が線L1のように一定のまま推移すべきところ、ノイズの影響により線L2のように歪む例が示されている。この例では、入力電圧が固定されているため異常であると診断すべきであるが、正常であると誤診断されるおそれがある。
 図18には、診断期間において入力電圧が変化するが、入力信号が線L1のように推移すべきところ、ノイズの影響により線L2のように歪む例が示されている。この例では、入力電圧が変化しているため正常であると診断すべきであるが、異常であると誤診断されるおそれがある。
 上述の特許文献1に記載の技術によれば、診断のために複雑なパルス列が一致するか否かが判定される。例えば図19に示されるような複雑なパルス列と一致するようにノイズが発生する確率は十分に低いため、図17に示されるように、異常を見逃してしまうような誤診断の発生を回避することができる。一方、パルス列を構成するパルスがすべて一致しなければ異常であると判定されるため、パルス列を構成するいずれかのパルスが図18に示されるようにノイズにより歪むと、異常であると誤診断されてしまう。
 さらに、上述の特許文献1に記載の技術によれば、診断期間においてスイッチ20が開状態になると、パルス列が入力回路550に入力されないため、正確な診断を実行することができない。具体的には、スイッチ20が開状態であるときには、導通状態が正常であるにも関わらず異常と診断されることが考えられる。
 これに対して、本実施の形態に係る入力装置10によれば、診断のための入力電圧の変動と、スイッチ操作による入力電圧の変動と、を電圧レベルにより見分けることが可能となる。このため、入力装置50においてスイッチ操作を診断のためのパルス列と区別するために用いられたようなフィルタリングの必要がなくなる。これにより、診断期間を短くする必要がなく、ある程度長くすることができる。従って、短いパルスに重畳するノイズの影響が生じることもない。また、入力装置10によれば、診断期間においてスイッチ20が開状態とされても、正確に診断を実行することができる。
 なお、入力装置10においてフィルタリングの必要が無いことを説明したが、入力応答性を損なわない範囲で、例えばノイズを除去するためのフィルタリングを実行してもよい。また、図11において、入力装置10は、異常と診断したときには状態信号34を生成することなく異常を報知したが、異常を報知するとともに状態信号34を生成してもよい。
 実施の形態2.
 続いて、実施の形態2について、上述の実施の形態1との相違点を中心に説明する。なお、上記実施の形態1と同一又は同等の構成については、同等の符号を用いる。本実施の形態は、第2電圧が基準電圧より高い点で、実施の形態1とは異なる。
 本実施の形態に係る入力装置60は、図20に示されるように、プロセッサ610と、出力回路620と、出力端子641及び入力端子642と、入力回路650と、を有する。プロセッサ610は、出力回路620による電圧の出力を制御する出力制御部611と、入力回路650によって生成される入力信号73が変化するか否かを診断する診断部612と、入力信号73からスイッチ20の状態を示す状態信号74を生成する生成部613と、状態信号74を取り込む取込部614と、を有する。
 出力制御部611は、制御信号71を出力回路620に送信することで、制御信号71に応じた電圧を出力回路620に出力させる。制御信号71は、制御信号31と同等の信号であって、図4に示されるように、第1電圧を出力するための第1制御信号と、第2電圧を出力するための第2制御信号と、を含む。出力制御部611は、通常時には、オン状態である第1制御信号とオフ状態である第2制御信号とを含む制御信号71を出力して、第1電圧として例えば24Vの出力電圧を出力回路620に出力させる。また、出力制御部611は、診断期間においては、オフ状態である第1制御信号とオン状態である第2制御信号とを含む制御信号71を出力して、第2電圧として、第1電圧より低く基準電圧より高い12Vの出力電圧を出力回路620に出力させる。また、出力制御部611は、現在時刻が診断期間内であるか否かを示す期間信号72を診断部612に送信する。
 診断部612は、出力制御部611から期間信号72を受信し、入力回路650によって生成される入力信号73のうちの第1入力信号731を入力回路650から受信する。そして、診断部612は、第1入力信号731が変化したか否かを診断する。
 生成部613は、入力回路650によって生成される入力信号73を受信する。入力信号73は、第1入力信号731及び第2入力信号732を含み、第1入力信号731及び第2入力信号732はいずれも、入力電圧に対応してハイレベル又はローレベルのいずれか一方の電圧レベルを有する1ビットの信号である。このような1ビットの信号である点で、第1入力信号731及び第2入力信号732は、第1入力信号331及び第2入力信号332と同等であるが、第1入力信号731と第1入力信号331との相違点、及び第2入力信号732と第2入力信号332との相違点については、後述する。生成部613は、これらの入力信号73から論理演算により、スイッチ20の開閉状態を示す状態信号74を生成して、取込部614に送信する。
 出力回路620は、制御信号71に従って、第1電圧及び第2電圧から選択された出力電圧を出力端子641に出力する。図21には、出力回路620の回路構成の概要が示されている。図21に示されるように、出力回路620は、スイッチング素子としてリレー122に代えてトランジスタ622、抵抗R1及びツェナーダイオードZ1を有する点で、実施の形態1に係る出力回路120と異なっている。
 トランジスタ622は、制御信号71に含まれる第2制御信号712に応じて第2電圧V2を出力端子641に印加するためのPNP型バイポーラトランジスタである。トランジスタ622のエミッタは、ツェナーダイオードZ1と抵抗R1とを接続する接続点P7に接続され、出力制御部611に接続されたベースには、第2制御信号712としての電流信号が入力され、コレクタは、接続点P1を介して出力端子641に接続される。ツェナーダイオードZ1のアノードはグランドに接続され、カソードは接続点P7に接続される。抵抗R1の一端は接続点P7に接続され、他端には電源電圧V1が印加される。第2制御信号712がオン状態であるときには、第1電圧V1から抵抗R1により分圧された第2電圧V2が接続点P1に印加され、第2制御信号712がオフ状態であるときには、接続点P1に第2電圧が印加されることはない。
 図20に戻り、出力端子641及び入力端子642はそれぞれ、配線を介してスイッチ20の異なる端子に接続される。
 入力回路650は、入力端子642に入力された入力電圧から、この入力電圧に対応する入力信号73を生成して、入力信号73のうち第1入力信号731を診断部612及び生成部613に送信し、第2入力信号732を生成部613に送信する。入力信号73は、入力電圧が、スイッチ20が閉状態のときに出力回路620から出力された第1電圧と、スイッチ20が閉状態のときに出力回路620から出力された第2電圧と、スイッチ20が開状態のときに印加される基準電圧と、のいずれに等しいかを識別するための信号である。基準電圧は、グランド電位に等しい。図22には、入力回路650の回路構成の概要が示されている。図22に示されるように、入力回路650は、実施の形態1に係る入力回路150と同等の構成を有する。
 ただし、入力回路650の比較器151は、第1電圧より低く第2電圧より高い第1閾値電圧Vt1と入力電圧とを比較する。そして、比較器151は、入力電圧が第1閾値電圧Vt1を超える場合にはハイレベルの第1入力信号731を出力し、入力電圧が第1閾値電圧Vt1を下回る場合にはローレベルの第1入力信号731を出力する。第1閾値電圧は、例えば18Vであって、24Vの電源電圧を分圧することで得られる。入力電圧が第1電圧に等しい場合には第1入力信号731はハイレベルになり、入力電圧が第2電圧又は基準電圧に等しい場合には第1入力信号731はローレベルになる。そして、比較器151は、第1入力信号731を診断部612及び生成部613に送信する。
 また、入力回路650の比較器152は、入力電圧が基準電圧に等しいか否かを判定するために電圧を比較する。詳細には、比較器152は、第2電圧より低く基準電圧より高い第2閾値電圧Vt2と入力電圧とを比較して、入力電圧が第2閾値電圧Vt2を超える場合にはハイレベルの第2入力信号732を出力し、入力電圧が第2閾値電圧Vt2を下回る場合にはローレベルの第2入力信号732を出力する。第2閾値電圧は、例えば6Vであって、電源電圧を分圧することで得られる。入力電圧が第2電圧に等しい場合には第2入力信号732はローレベルになり、入力電圧が第1電圧又は基準電圧に等しい場合には第2入力信号732はハイレベルになる。そして、比較器152は、第2入力信号732を生成部613に送信する。
 また、生成部613は、第1入力信号731と第2入力信号732との論理和の値を状態信号74として出力する。図23には、2つの入力信号73のレベルと状態信号74の値との関係が示されている。詳細には、入力電圧Viが第1閾値電圧Vt1より高い場合には、2つの入力信号73はいずれもハイレベルとなり、この場合に状態信号74の値が「1」となる。また、入力電圧Viが第2閾値電圧Vt2より高く第1閾値電圧Vt1より低い場合には、第1入力信号731がローレベルとなり、第2入力信号732がハイレベルとなり、状態信号74の値が「1」となる。また、入力電圧Viが第2閾値電圧Vt2より低い場合には、2つの入力信号73がいずれもローレベルとなり、状態信号74の値が「ゼロ」となる。総合すると、生成部613は、入力電圧が第2閾値電圧より高いことが第2入力信号732によって示される場合には、スイッチ20が閉状態であることを示す状態信号74を生成し、入力電圧が第2閾値電圧より低いことが第2入力信号732によって示される場合には、スイッチ20が開状態であることを示す状態信号74を生成する。換言すると、入力電圧が第1電圧及び第2電圧のいずれかに等しい場合、すなわちスイッチ20が閉状態である場合には、状態信号74の値がスイッチ20の閉状態を示す「1」となり、入力電圧が基準電圧に等しい場合、すなわちスイッチ20が開状態であるときには、状態信号74の値がスイッチ20の開状態を示す「ゼロ」となる。
 図24は、入力装置60による診断が行われる際の信号の推移を示すタイミングチャートである。図24に示されるように、入力装置60は、平常時においては第1制御信号711をオン状態として第2制御信号712をオフ状態とするが、診断期間においては第1制御信号711をオフ状態として第2制御信号712をオン状態とする。これにより、出力電圧は、平常時においては第1電圧V1に等しいが、診断期間においては第2電圧V2に等しくなる。
 スイッチ20が閉状態のまま変化しなければ、入力電圧は出力電圧と同様に推移する。図23からわかるように、入力電圧が第1閾値電圧Vt1より高い平常時においては、2つの入力信号73がいずれもハイレベルとなるが、診断期間においては、第2入力信号732はハイレベルのまま第1入力信号731がローレベルになる。そして、状態信号74の値は「1」のまま変化せず、スイッチ20の状態に対応する。
 図25は、スイッチ20の操作が発生した場合における信号の推移を示すタイミングチャートである。図25に示されるように、診断期間中の時刻T1から時刻T2までにスイッチ20が開状態となり、その後に一端閉状態となってから時刻T3以降に再び開状態となっている。スイッチ20が開状態となっている期間においては、入力電圧が基準電圧に等しくなり、2つの入力信号73がいずれもローレベルとなって、状態信号74の値もゼロとなる。図24,25からわかるように、状態信号74は、スイッチ20の状態と等しく推移している。
 以上、説明したように、本実施の形態に係る入力装置60によれば、実施の形態1と同様に、自己診断を実行しつつ入力応答性を向上させることができる。
 また、第2電圧は第1電圧より低く、入力回路650には、スイッチが開状態であるときには、第2電圧より低い基準電圧が入力される。第2電圧は、電源電圧から分圧することで容易に得ることができるため、複雑な回路が不要となり、簡易な回路構成で入力装置を実現することができる。
 以上、本開示の実施の形態について説明したが、本開示は上記実施の形態によって限定されるものではない。
 例えば、入力装置10,60がPLC100の入力ユニットに相当する例について説明したが、これには限定されず、入力装置10,60は、スイッチ20からの信号を取得可能な一体型の制御装置であってもよい。
 また、出力回路120,620が第1電圧及び第2電圧のいずれかを出力する例について説明したが、これには限定されない。出力回路120,620は、プロセッサ110,610からの指示に従って、さらに基準電圧を出力してもよい。また、基準電圧とは異なる3種類以上の電圧から選択された電圧を出力してもよい。さらに、第1電圧、第2電圧、及び、スイッチ20が開状態であるときに入力回路150に入力される基準電圧の電圧値は、互いに異なる値であればよく、任意に変更してもよい。
 また、入力信号が、1ビットの値を示す2つの信号から構成される例について説明したが、これには限定されず、入力信号は、第1電圧に等しい入力電圧と、第2電圧に等しい入力電圧と、スイッチが開状態であるときの基準電圧に等しい入力電圧と、を識別可能であればよい。例えば、入力信号は、入力電圧が第1電圧に等しいときにハイレベルであって、入力電圧が第2電圧に等しいときにローレベルであって、入力電圧が基準電圧に等しいときにハイレベルとローレベルを交互にスイッチングする信号であってもよい。
 また、上記実施の形態では、スイッチ20が開状態であるときに入力回路150に入力される基準電圧が、グランドに等しい例について説明したが、これには限定されない。例えば、図26に示されるように、接続点P6が、抵抗を介して電源に接続されるとともに、他の抵抗を介してグランドに接続されてもよい。図26の例では、スイッチ20が開状態であるときには、2つの抵抗によって分圧された基準電圧が入力回路150に入力されることとなる。
 また、図26に示される回路部161,162のいずれか一方を省略して入力装置10,60を構成してもよい。回路部161が省略される場合は、上記実施の形態1に係る構成に等しく、回路部162が省略される場合には、基準電圧が電源電圧V3に等しくなる。ここで、基準電圧は、出力回路120から出力される第1電圧及び第2電圧のそれぞれと異なる電圧であればよく、基準電圧のレベルを任意に変更してもよい。
 また、上記実施の形態では、入力装置10,60が出力回路120を備える例について説明したが、これには限定されず、出力回路120は、入力装置10,60の外部に配置されてもよい。出力回路120が外部に配置される場合には、入力装置10,60が、スイッチ20を介して、第1電圧と第2電圧とを出力する電源としての出力回路120に接続される。この場合には、診断部112は、外部の出力回路120から期間信号32を取得すればよい。ただし、診断部112が期間信号32を取得することなく、外部の出力回路120と共通して予めタイミングが定められた診断期間において、診断部112が診断を実行してもよい。さらに、出力回路120が、第1電圧と第2電圧とを予め定められた周期で交互に出力し、診断部112は、この周期に従って診断を実行してもよい。例えば、出力回路120が1秒毎に出力電圧を第1電圧と第2電圧との一方に切り替えて、診断部112は、任意のタイミングで、過去1秒間において入力信号が変化したか否かを診断してもよい。
 また、上記実施の形態では、単一のプロセッサ110,610が複数の機能を発揮する例について説明したが、これには限定されない。例えば、入力装置10は、出力制御部111、診断部112、生成部113、及び取込部114を、別個のハードウェアにより実現される機能として備えてもよい。
 本開示は、本開示の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、本開示を説明するためのものであり、本開示の範囲を限定するものではない。つまり、本開示の範囲は、実施の形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の開示の意義の範囲内で施される様々な変形が、本開示の範囲内とみなされる。
 なお、本願については、2019年7月23日に出願された国際特許出願PCT/JP2019/028810号に基づく優先権を主張するものであり、国際特許出願PCT/JP2019/028810号の全内容を参照として取り込むものとする。
 本開示は、外部から入力を得る装置の自己診断に適している。
 10,60 入力装置、 112,612 診断部、 113,613 生成部、 120,620 出力回路、 150,650 入力回路、 161,162 回路部、 20 スイッチ、 33,73 入力信号、 331,731 第1入力信号、 332,732 第2入力信号、 34,74 状態信号。

Claims (4)

  1.  スイッチに接続されて、該スイッチの状態が該状態に対応する電圧として入力される入力装置であって、
     第1電圧と、該第1電圧とは異なる第2電圧と、から選択された電圧を出力する出力手段と、
     前記出力手段から出力された電圧が閉状態である前記スイッチを介して入力され、入力された入力電圧に対応する入力信号を出力する入力手段と、
     前記出力手段から出力される電圧が前記第2電圧に切り替わったときに、前記入力信号が変化するか否かを診断する診断手段と、
     前記入力信号に基づいて前記スイッチの状態を示す状態信号を生成する生成手段と、
     を備え、
     前記第2電圧は、前記スイッチが開状態であるときに前記入力手段に入力される基準電圧とは異なる電圧である、入力装置。
  2.  前記入力手段には、前記スイッチが開状態であるときには前記第1電圧より低い前記基準電圧が入力され、
     前記第2電圧は、前記基準電圧より低い電圧であって、
     前記入力手段は、前記入力電圧が、前記第1電圧より低く前記基準電圧より高い第1閾値電圧を超えるか否かを示す第1入力信号と、前記入力電圧が、前記基準電圧より低く前記第2電圧より高い第2閾値電圧を超えるか否かを示す第2入力信号と、を前記入力信号として出力し、
     前記診断手段は、前記第1入力信号が変化するか否かを診断し、
     前記生成手段は、前記入力電圧が前記第1閾値電圧より高いことが前記第1入力信号によって示される場合及び前記入力電圧が前記第2閾値電圧より低いことが前記第2入力信号によって示される場合には、前記スイッチが閉状態であることを示す前記状態信号を生成し、前記入力電圧が前記第1閾値電圧より低いことが前記第1入力信号によって示され前記第2閾値電圧より高いことが前記第2入力信号によって示される場合には、前記スイッチが開状態であることを示す前記状態信号を生成する、
     請求項1に記載の入力装置。
  3.  前記第2電圧は、前記第1電圧より低い電圧であって、
     前記入力手段には、前記スイッチが開状態であるときには前記第2電圧より低い前記基準電圧が入力され、
     前記入力手段は、前記入力電圧が、前記第1電圧より低く前記第2電圧より高い第1閾値電圧を超えるか否かを示す第1入力信号と、前記入力電圧が、前記第2電圧より低く前記基準電圧より高い第2閾値電圧を超えるか否かを示す第2入力信号と、を前記入力信号として出力し、
     前記診断手段は、前記第1入力信号が変化するか否かを診断し、
     前記生成手段は、前記入力電圧が前記第2閾値電圧より高いことが前記第2入力信号によって示される場合には、前記スイッチが閉状態であることを示す前記状態信号を生成し、前記入力電圧が前記第2閾値電圧より低いことが前記第2入力信号によって示される場合には、前記スイッチが開状態であることを示す前記状態信号を生成する、
     請求項1に記載の入力装置。
  4.  スイッチの状態が該状態に対応する電圧として入力される入力装置によって実行される入力診断方法であって、
     第1電圧と、該第1電圧とは異なる第2電圧と、のうちの、閉状態である前記スイッチを介して入力された入力電圧に基づく入力信号を出力する入力ステップと、
     入力される電圧が前記第2電圧に切り替わったときに、前記入力信号が変化するか否かを診断する診断ステップと、
     前記入力信号に基づいて前記スイッチの状態を示す状態信号を生成する生成ステップと、
     を含み、
     前記第2電圧は、前記スイッチが開状態であるときに入力される基準電圧とは異なる電圧である、入力診断方法。
PCT/JP2020/028473 2019-07-23 2020-07-22 入力装置及び入力診断方法 WO2021015244A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2020563571A JP6906719B2 (ja) 2019-07-23 2020-07-22 入力装置及び入力診断方法
CN202080052005.2A CN114144737B (zh) 2019-07-23 2020-07-22 输入装置及输入诊断方法
US17/609,788 US11448699B2 (en) 2019-07-23 2020-07-22 Input device, and input diagnosing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
PCT/JP2019/028810 WO2021014558A1 (ja) 2019-07-23 2019-07-23 入力診断装置及び入力診断方法
JPPCT/JP2019/028810 2019-07-23

Publications (1)

Publication Number Publication Date
WO2021015244A1 true WO2021015244A1 (ja) 2021-01-28

Family

ID=74192968

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/JP2019/028810 WO2021014558A1 (ja) 2019-07-23 2019-07-23 入力診断装置及び入力診断方法
PCT/JP2020/028473 WO2021015244A1 (ja) 2019-07-23 2020-07-22 入力装置及び入力診断方法

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/028810 WO2021014558A1 (ja) 2019-07-23 2019-07-23 入力診断装置及び入力診断方法

Country Status (4)

Country Link
US (1) US11448699B2 (ja)
JP (2) JPWO2021014558A1 (ja)
CN (1) CN114144737B (ja)
WO (2) WO2021014558A1 (ja)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5046374A (ja) * 1973-08-30 1975-04-25 Toyo Kogyo Co
JPS5076567A (ja) * 1973-11-09 1975-06-23
JPS58194428A (ja) * 1982-02-18 1983-11-12 イム・エレクトロ−ニク・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツング スイツチ装置と故障表示器を備えた回路装置
JPS6410533A (en) * 1987-07-02 1989-01-13 Ckd Corp Troubleshooting device of detecting switch
JPH05232176A (ja) * 1992-02-25 1993-09-07 Nec Tohoku Ltd 導通試験装置
JPH11237427A (ja) * 1998-02-23 1999-08-31 Rinnai Corp スイッチ状態検出装置
DE102006054877A1 (de) * 2006-11-20 2008-05-21 Endress + Hauser Wetzer Gmbh + Co. Kg Verfahren und Vorrichtung zur Überwachung einer Schaltereinheit
JP2010140803A (ja) * 2008-12-12 2010-06-24 Japan Radio Co Ltd 接点の自己診断方式
JP2013032946A (ja) * 2011-08-01 2013-02-14 Denso Corp 通電制御装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5404442B2 (ja) 2010-01-18 2014-01-29 株式会社東芝 安全入力装置
JP5910172B2 (ja) * 2012-03-01 2016-04-27 株式会社Gsユアサ スイッチ故障診断装置、電池パックおよびスイッチ故障診断プログラム、スイッチ故障診断方法
JP6146332B2 (ja) * 2013-09-11 2017-06-14 トヨタ自動車株式会社 リレーの固着判別システム
EP2960922B1 (en) * 2014-06-24 2017-06-14 ALSTOM Transport Technologies Device and method for determining a state of an electromechanical relay contact, and a system including such a device
US9778319B2 (en) * 2014-11-07 2017-10-03 Nxp Usa, Inc. Systems and methods for switch health determination
KR20170052095A (ko) * 2015-11-03 2017-05-12 현대자동차주식회사 배터리 제어 시스템 및 릴레이 융착 검출 방법
CN107991603B (zh) * 2016-10-26 2020-11-27 宁德时代新能源科技股份有限公司 继电器诊断方法及系统
CN106449274B (zh) * 2016-10-31 2018-08-21 国网山东省电力公司莱芜供电公司 一种带自诊断报警功能的继电器输出装置及其诊断报警方法
KR102090482B1 (ko) * 2017-01-11 2020-03-18 엘에스산전 주식회사 계전기 융착 감지장치 및 감지방법
CN109491300B (zh) * 2018-12-26 2021-02-09 浙江中控技术股份有限公司 一种开关量信号的输出电路及方法

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5046374A (ja) * 1973-08-30 1975-04-25 Toyo Kogyo Co
JPS5076567A (ja) * 1973-11-09 1975-06-23
JPS58194428A (ja) * 1982-02-18 1983-11-12 イム・エレクトロ−ニク・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツング スイツチ装置と故障表示器を備えた回路装置
JPS6410533A (en) * 1987-07-02 1989-01-13 Ckd Corp Troubleshooting device of detecting switch
JPH05232176A (ja) * 1992-02-25 1993-09-07 Nec Tohoku Ltd 導通試験装置
JPH11237427A (ja) * 1998-02-23 1999-08-31 Rinnai Corp スイッチ状態検出装置
DE102006054877A1 (de) * 2006-11-20 2008-05-21 Endress + Hauser Wetzer Gmbh + Co. Kg Verfahren und Vorrichtung zur Überwachung einer Schaltereinheit
JP2010140803A (ja) * 2008-12-12 2010-06-24 Japan Radio Co Ltd 接点の自己診断方式
JP2013032946A (ja) * 2011-08-01 2013-02-14 Denso Corp 通電制御装置

Also Published As

Publication number Publication date
WO2021014558A1 (ja) 2021-01-28
JPWO2021015244A1 (ja) 2021-09-13
CN114144737A (zh) 2022-03-04
CN114144737B (zh) 2023-01-31
JP6906719B2 (ja) 2021-07-21
US20220146577A1 (en) 2022-05-12
US11448699B2 (en) 2022-09-20
JPWO2021014558A1 (ja) 2021-09-27

Similar Documents

Publication Publication Date Title
JP6874125B2 (ja) 電子制御装置
KR100296984B1 (ko) 전자제어장치용감시시스템
CN108574508B (zh) 电气设备以及接收设备
US8587323B2 (en) Method for diagnosing an electrical connection, and output assembly
US5452308A (en) Method for monitoring symmetrical two-wire bus lines and two-wire bus interfaces and device for carrying out the method
WO2021015244A1 (ja) 入力装置及び入力診断方法
JP6088642B2 (ja) 複数のアナログ信号検出チャネルを有するアナログ信号入力回路
CN111373225A (zh) 曲轴传感器、变速箱传感器或凸轮轴传感器,实现这种传感器的诊断系统和诊断方法
JP3802093B2 (ja) 時間プログラムに従ってスイッチング装置を操作する制御装置
JP4103145B2 (ja) 入力モジュール
CN109417000B (zh) 用于消耗器的故障安全断开的装置
JP5740791B2 (ja) ディジタル出力回路
JP5397604B2 (ja) デジタル出力モジュール
US10528417B2 (en) Clock signal inspection device, plant monitoring controller, and method for diagnosing clock signal inspection device
JP2008108196A (ja) 出力装置
JP3721363B2 (ja) 負荷駆動用ic
US11619919B2 (en) Circuit arrangement for switching an electrical load and method for checking a status of a safety output of a circuit arrangement
JP5506884B2 (ja) 安全監視入力装置
JP2018080930A (ja) オープンコレクタ方式の回転センサの自己診断回路
JP5511475B2 (ja) 信号処理システムおよびこれに用いる信号源ユニットならびに信号処理ユニット
JP2018026918A (ja) 回路故障診断装置および駆動制御装置
JP6846989B2 (ja) フェールセーフ回路
JP2022169335A (ja) 自己診断機能付き電圧監視回路及び電子制御装置
JPH0812762B2 (ja) 検出スイッチの故障診断装置
SU1762292A1 (ru) Блок согласовани дл системы цифрового управлени

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2020563571

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 20845080

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: 20845080

Country of ref document: EP

Kind code of ref document: A1