WO2008038710A1 - Détecteur de défauts, procédé et programme de détection de défauts - Google Patents
Détecteur de défauts, procédé et programme de détection de défauts Download PDFInfo
- Publication number
- WO2008038710A1 WO2008038710A1 PCT/JP2007/068802 JP2007068802W WO2008038710A1 WO 2008038710 A1 WO2008038710 A1 WO 2008038710A1 JP 2007068802 W JP2007068802 W JP 2007068802W WO 2008038710 A1 WO2008038710 A1 WO 2008038710A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- comparison result
- comparison
- input signals
- count value
- value
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B9/00—Safety arrangements
- G05B9/02—Safety arrangements electric
- G05B9/03—Safety arrangements electric with multiple-channel loop, i.e. redundant control systems
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B29/00—Checking or monitoring of signalling or alarm systems; Prevention or correction of operating errors, e.g. preventing unauthorised operation
- G08B29/16—Security signalling or alarm systems, e.g. redundant systems
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24196—Plausibility check in channels for correct sequence or result
Definitions
- Failure detection apparatus failure detection method, and failure detection program
- the present invention relates to a failure detection apparatus, a failure detection method, and a failure detection program for determining a plurality of redundant input signals, and is obtained by comparing a plurality of redundant input signals.
- the present invention relates to a failure detection apparatus, a failure detection method, and a failure detection program for filtering a comparison result indicating matching or mismatching to determine normality / abnormality of a plurality of input signals.
- a remote master station and multiple sequencers are connected with a transmission cable, etc., and the remote master station communicates with each remote I / O station to provide remote I / O stations.
- a network is configured to control various devices such as solenoid valves, motors, and sensors connected to the / O station.
- the remote master station controls and monitors the equipment connected to the remote I / O station via each remote I / O station.
- the remote I / O station is provided with an input detection circuit for detecting that an input means such as a push button, a lever, or a switch is operated by a user.
- This input detection circuit corresponds to one input means (for example, a push button).
- a push button When the push button is pressed, a plurality of switches are turned on and output detection signals corresponding to the number of switches are output. That is, the input detection circuit redundantly outputs a plurality of input detection signals indicating that one input means has been operated.
- Such a redundant input detection signal is a force that has the same polarity when the push button and the input detection circuit (switch, wiring, etc.) are normal. For example, 1 of the input detection circuit switch If a foreign object enters one or the wiring to the power supply or ground is disconnected, at least one polarity of the redundant input detection signal will be different from other input detection signals.
- Patent Document 1 As a conventional technique for detecting such a state, that is, an abnormality in a redundant input detection signal, there is, for example, Patent Document 1.
- Patent Document 1 describes an error of two signal transmitters having double redundancy of an automation facility.
- a transmitter error that is not only due to a conductor failure is automatically recognized with a high probability, and a signal transmitter error detection and recognition method with redundancy of an automated facility that finds the position. Techniques related to this are disclosed.
- a difference detector which is an exclusive OR (XOR) element, detects whether the signals from the two signal transmitters match, and if they do not match, Start the element and start measuring the waiting time T. When the measurement of the waiting time T is completed, determine whether the two signal transmitters and their signals are normal. Yes.
- XOR exclusive OR
- Patent Document 1 Japanese Patent Laid-Open No. 5-225481
- the measurement of the waiting time T is continued instead of starting the measurement of the waiting time T every time a mismatch is detected, and the input signal is output after the waiting time T has elapsed. It is conceivable to determine whether or not it is normal. However, in this case, there arises a problem that the change of the input signal during the waiting time T cannot be considered.
- the present invention has been made in view of the above, and a failure detection device capable of accurately detecting a failure according to a change in a redundant input signal within a predetermined time
- An object is to obtain a failure detection method and a failure detection program.
- the present invention provides comparison means for comparing whether or not the polarities of a plurality of redundant input signals match, and a predetermined sample.
- a comparison result storage means for holding a comparison result of the comparison means for each pulling cycle; and a plurality of comparison results stored in the comparison result storage means, in a chronological order from the latest comparison result.
- determining means for determining whether or not the plurality of redundant input signals are normal by using a comparison result corresponding to a predetermined number of samplings.
- the comparison means compares whether or not the polarities of the plurality of redundant input signals match
- the comparison result storage means compares the comparison means for each predetermined sampling period.
- the comparison means stores a comparison result for a predetermined number of samplings in a chronological order from the latest comparison result among a plurality of comparison results stored in the comparison result storage means. Since it is determined whether or not multiple input signals are normal, whether the comparison results for the number of samplings matches or does not match is determined from the latest comparison results. Can do. In other words, it is possible to obtain a failure detection device that can determine normality / abnormality in accordance with changes in a plurality of redundant input signals for a predetermined “sampling period ⁇ sampling number”. There is an effect.
- FIG. 1 is a block diagram showing an example of a configuration of a network system to which a failure detection apparatus according to the present invention is applied.
- FIG. 2 is a block diagram showing the configuration of the first embodiment of the failure detection apparatus according to the present invention.
- FIG. 3 is a timing chart for explaining the operation of the first embodiment of the failure detection apparatus according to the present invention.
- FIG. 4 is a timing chart for explaining the operation of the first embodiment of the failure detection apparatus according to the present invention.
- FIG. 5 is a block diagram showing a configuration of a failure detection apparatus when weighting is performed.
- FIG. 6 is a timing chart for explaining the operation of the second embodiment of the failure detection apparatus according to the present invention.
- FIG. 7 is a block diagram showing a configuration of a failure detection apparatus according to Embodiment 2 of the present invention.
- FIG. 8 shows a case where the user selects judgment based on a judgment threshold or judgment based on a judgment pattern. It is a block diagram which shows the structure of this failure detection apparatus.
- FIG. 9 is a diagram showing a list of determination conditions set in the determination mode setting unit of the failure detection apparatus shown in FIG. 8 and the presence / absence of weighting.
- FIG. 10 is a block diagram showing the configuration of the third embodiment of the failure detection apparatus according to the present invention.
- FIG. 11 is a diagram showing an example of the configuration of the second comparison result storage unit shown in FIG.
- FIG. 12 is a timing chart for explaining the operation of the third embodiment of the failure detection apparatus according to the present invention.
- FIG. 13 is a diagram for explaining events detected by the failure detection apparatus according to the third embodiment of the present invention.
- FIG. 14 is a block diagram showing a configuration of the fourth embodiment of the failure detection apparatus according to the present invention.
- FIG. 15 is a timing chart for illustrating the operation of the embodiment 4 of the failure detection apparatus according to the present invention.
- FIG. 1 is a block diagram showing an example of the configuration of a network system to which the failure detection apparatus according to the present invention is applied.
- the network system is connected to a remote I / O station 80 to which equipment 81 to be controlled / monitored (for example, a solenoid valve, motor, sensor, etc.) is connected, and a remote master station 90 by a power transmission cable 91.
- the remote master station 90 controls / monitors the device 81 via the remote I / O station 80.
- the remote I / O station 80 is provided with an input detection circuit that detects that an input means such as a push button, a lever, or a switch has been operated by the user. An abnormality in the detection circuit is detected.
- the input detection circuit includes a plurality of switches.
- the input detection circuit corresponds to one input means (for example, a push button). When the push button is pressed, a plurality of switches are turned on, and input detection signals corresponding to the number of switches are output. That is, the input detection circuit redundantly outputs a plurality of input detection signals indicating that one input means has been operated.
- FIG. 2 is a block diagram showing a configuration of the first embodiment of the failure detection apparatus according to the present invention.
- the failure detection apparatus includes a comparison unit 3, a sampling number setting unit 11, a sampling period setting unit 12, and a determination threshold setting unit 13, a setting unit 1 and a clock generation unit 2 n (l ⁇ nn is a natural number)
- a comparison result storage unit 4 and a determination unit 5 having a plurality of latches 41 (indicating 41 41 n) are provided.
- the comparison unit 3 compares the redundant input signals XO Xk of k (l ⁇ k, k is a natural number) and determines whether or not the input signals XO Xk all match! / To do.
- the comparison unit 3 outputs the comparison result CMP to the comparison result storage unit 4.
- setting unit 1 various setting values relating to the operation of the failure detection apparatus are set.
- Various setting values held by the setting unit 1 are set by communication from the remote master station 90 in the same manner as the control parameters for the device 81 connected to the remote I / O station 80. In other words, it can be set arbitrarily by the user.
- sampling cycle setting unit 12 a clock cycle for storing the comparison result from the comparison unit 3 in the comparison result storage unit 4, that is, a sampling cycle of the comparison result is set.
- the sampling number setting section 11 the number of comparison results used by the determination section 5 for normal / abnormal determination, that is, the number of samplings of the comparison results is set.
- the determination threshold setting unit 13 a determination threshold used by the determination unit 5 for normal / abnormal determination is set.
- the clock generation unit 2 generates a sampling clock having a sampling period set in the sampling period setting unit 12 using a clock used in the transmitter or the remote I / O station 80, and compares the generated sampling clocks. The result is supplied to the latch 41 of the result storage unit 4.
- the comparison result storage unit 4 configures a shift register with n latches 41, and “n X sampling period from the current time in synchronization with the rise or fall of the sampling clock supplied from the clock generation unit 2. “Hold the previous n comparison results.
- latch 41 is connected in the order of latch 41 1, latch 41 2,..., Latch 41—n, so the first stage latch 41 1 is compared in the current sampling period. The result is held, the comparison result in the sampling period one time before the current is held in latch 41-2, and the comparison result in the sampling period n times before the current is held in latch 41-n .
- the latch 41 outputs the held comparison result to the determination unit 5.
- the determination unit 5 has a count function that counts the number of comparison results indicating that at least one of the input signals XO Xk among the comparison results input from the latch 41 does not match.
- the input signal X0 Xk based on the count value of the comparison result indicating that they do not match, the sampling number set in the sampling number setting unit 11 and the determination threshold set in the determination threshold setting unit 13. Threshold determination processing is performed to determine normal / abnormal.
- the determination unit 5 determines from the first stage latch 41-1 holding the current comparison result to the latches 41 corresponding to the number of samplings, that is, from the time of the current sampling cycle, Of the comparison results corresponding to the number of samplings up to the “X sampling period” time, the number of comparison results indicating a mismatch is counted.
- the determination unit 5 compares the count value with the determination threshold value, determines that the count value is equal to or greater than the determination threshold value, and determines that the count value is smaller than the determination threshold value. .
- the determination unit 5 outputs the determination result as an output signal Y.
- the input signal X0 and the input signal XI are continuously longer than the filtering processing time ("sampling period X number of samplings", which is 5T in this case).
- sampling period X number of samplings which is 5T in this case.
- the operation of the failure detection apparatus when the values do not match will be described. Note that the latch 41 41 5 before time tO holds the comparison result indicating a match!
- the comparison unit 3 gives the comparison result CMP and the comparison result (in this case, indicating that the input signal X0 and the input signal XI match) Is "L”).
- the latch 41 2 41 5 holds the output of the previous latch 41— ;! 41-4, and the first latch 41-1 holds the comparison result CMP. In this case, the latches 41-1 41 5 hold “L”.
- the determination unit 5 determines whether the output (holding value) of the latch 41— ;! 41-5 is a comparison result indicating a mismatch (in this case, “H”), and the number of comparison results indicating a mismatch. Count.
- the comparison unit 3 sets the comparison result CMP to a comparison result (in this case, “H”) indicating that the input signal X0 and the input signal XI do not match.
- the latches 41 2 41 5 hold the output ("L") of the previous latch 41 41-4, and the first latch 41-1 holds the comparison result CMP ("H") To do.
- the mismatch count value of the determination unit 5 becomes “1”.
- the judgment threshold is “1” (complete match judgment by filtering process)
- the discrepancy count value is equal to or greater than the judgment threshold, so the judgment unit 5 sets the output signal Y to “H” indicating that an abnormality has been detected.
- the judgment threshold is “3” (majority majority judgment by filtering process) and when the judgment threshold is “5” (complete mismatch judgment by filtering process)
- the mismatch count value is smaller than the judgment threshold. 5 sets the output signal to "L”.
- the comparison unit 3 sets the comparison signal to "H”.
- the latch 41 2 4 15 holds the output of the previous latch 41 41-4
- the first latch 41-1 holds the comparison result CMP up to Ijt8.
- the determination unit 5 counts up the mismatch count value as “1“ 2 “3“ 4 “5”.
- the determination threshold is “3”
- the mismatch count value is equal to or greater than the determination threshold at time t6. Therefore, the determination unit 5 sets the output signal Y to “H”.
- the determination threshold is “5”, the mismatch count value is equal to or greater than the determination threshold at time t8. Therefore, the determination unit 5 sets the output signal Y to “H”.
- the input signal XI changes from “L” to "H”. Since both the input signal X0 and the input signal XI are “H”, the comparison unit 3 sets the comparison result CMP to “L”. Latch 41-2 41 5 holds the output ("H") of the previous latch 41— ;! 41-4, and the first latch 41 1 holds the comparison result CMP ("L"). As a result, the mismatch count value of the determination unit 5 becomes “4”. As a result, when the determination threshold value is “5”, the mismatch count value becomes smaller than the determination threshold value, and the determination unit 5 sets the output signal Y to “L”.
- the failure detection apparatus detects a failure in an input detection circuit that outputs a plurality of input signals X;! To Xk that should be essentially the same signal, and is redundant for safety. Therefore, even if it returns to normal after detecting an abnormality, it has the power S to keep it abnormal. Therefore, after outputting the output signal Y indicating that the abnormality has been detected, the determination unit 5 may hold the output signal Y without depending on the determination result. In this case, the determination unit 5 may change the output signal Y to a signal indicating normality by a reset signal input from the outside.
- the comparison unit 3 sets the comparison result CMP to "L”, and the latches 41-2 to 41-5 are latched. ; Holds the output of! To 41-4 (in this case, "L"), and the first latch 41-1 holds the comparison result CMP (in this case, "L”). Since all outputs of the latches 41 41 5 are “L”, the mismatch count value is “0”, and the determination unit 5 outputs the output signal regardless of whether the determination threshold is “0”, “3”, or “5”. Set Y to "L”.
- the comparison unit 3 sets the comparison result to "H”.
- the latches 41 2 to 4 15 hold the output of the latch 41 41 4 (in this case, “L”), and the first latch 41—1 holds the comparison result CMP (in this case, “H”). Hold.
- the mismatch count value of the determination unit 5 becomes “1”, and when the determination threshold is “1”, the determination unit 5 sets the output signal Y to “H” and holds the determination threshold “3”. Or, in case of “5”, set the output signal Y to “L”.
- Latch 41 2-41 — 5 holds the output of latch 41— ;! to 41-4 (in this case, latch 41-2 holds “H” and latches 41-3 to 41-5 hold “L”) )
- the first stage latch 41-1 holds the comparison result CMP (in this case, "H”).
- the discrepancy count value of the determination unit 5 becomes “2”.
- the determination threshold force S is “l”
- the determination unit 5 holds the output signal Y at “H” and the determination threshold value is “3”.
- the determination threshold value is “3”.
- the latches 41 2 to 41 5 hold the outputs of the preceding latch 41 41;! To 41-4 (in this case, the latch 41-2 holds “H” and the latch 41 — 3 to 41—5 holds “L”), and the first latch 41—1 holds the comparison result CMP (“L”). Since Latch 41-1 held “L”, the discrepancy count value of decision unit 5 is “2” as in the previous sampling time t3, and decision unit 5 outputs when the decision threshold is “1”. Hold signal Y at "H” and set output signal Y to "L” when judgment threshold force ⁇ 3 "or” 5 ".
- the comparison unit 3 sets the comparison result CMP to “H”.
- the latches 41 2 to 41 5 hold the outputs of the preceding latch 41 1 !! to 41-4 (in this case, the latches 41-2, 41-5 hold “L”).
- the latches 41-3 and 41-4 hold "H"), and the latch 411 in the first stage holds the comparison result CMP ("H").
- the discrepancy count value of the determination unit 5 is “3”.
- the determination threshold value is “1” or “3”
- the determination unit 5 holds the output signal Y at “H” and the determination threshold value is “5”. In case of "”, set the output signal Y to "L”.
- the latches 41 2 to 41 5 hold the outputs of the preceding latches 41 1;! To 41 4 (in this case, the latches 41-2, 41-4, 41-5 are “H” And latch 41-3 is "L”
- the first latch 41 1 holds the comparison result CMP (“L”).
- the mismatch count value of the determination unit 5 becomes “3”, and the determination unit 5 sets the determination threshold “1”.
- the output signal Y is held at “H”, and when the judgment threshold is “5”, the output signal Y is set at “L”.
- the comparison unit 3 compares whether or not the polarities of the plurality of redundant input signals X0 to Xk match, and the comparison result storage unit 4 Holds the comparison result of the comparison unit 3 for each sampling period set in the sampling period setting unit 12, and the determination unit 5 sets the sampling number set in the sampling number setting unit 11 in chronological order from the latest comparison result.
- the number of non-matching comparison results indicating that the polarities of the input signals X0 to Xk do not match is counted, and the count value is set in the judgment threshold setting unit 13 Therefore, it is determined that the input signals X0 to Xk are abnormal, and if the count value is smaller than the determination threshold, it is determined to be normal.
- mismatch ratio Normal / abnormal can be judged according to In other words, the normality / abnormality is judged by the force S according to the change of the input signals X0 to Xk for a predetermined “sampling period X number of samplings”.
- the sampling number, the sampling period, and the determination threshold are externally set to the sampling number setting unit 11, the sampling period setting unit 12, and the determination threshold setting unit 13.
- the number of comparison results used for judgment, the time to hold the comparison results, and the ratio of the number of matches / mismatches for judging normality / abnormality can be changed.
- the normal / abnormal judgment criteria for redundant input signals X0 and XI can be changed according to the system.
- weighting may be performed when counting the number of mismatch comparison results indicating that the polarities of the input signals X0 and XI are mismatched. The weighting is set to depend on the order of the polynomial, for example, using a polynomial fitting method that fits this curve assuming that the signal waveform can be partially approximated by a polynomial curve.
- FIG. 5 is a block diagram showing the configuration of the failure detection apparatus when weighting is performed.
- a determination mode setting unit 14 and a weighting setting unit 15 are added to the setting unit 1 of the failure detection device of FIG. Note that components having the same functions as those of the failure detection apparatus shown in FIG. 2 are denoted by the same reference numerals, and redundant description is omitted.
- the determination mode setting unit 14 is set with a mode indicating whether or not weighting is performed.
- a weight (weighting factor) corresponding to the number of samplings from the current sampling period to the sampling period corresponding to the number of samplings in time series is set. For example, when the sampling number is “5”, the weighting factors W1 to W5 associated with the latches 41— ;! to 41-5 are set.
- the determination unit 5 When the "unweighted mode” indicating that no weighting is performed is set in the determination mode setting unit 14, the determination unit 5 does not match the polarities of the input signals X0 and XI as described above. The discrepancy comparison result indicating this is counted as “1”, and the normality / abnormality is determined by comparing the count value with the determination threshold.
- the determination unit 5 sets the mismatch comparison result indicating that the polarities of the input signals X0 and XI are mismatched to “1”. The value obtained by multiplying the weighting factors W1 to W5 associated with the latch 41— ;! to 41-5, which holds the result of the mismatch comparison, is counted as a force count value. Then the normal / abnormal judgment is made by comparing the count value with the judgment threshold.
- the force S the input signal, which is obtained by counting the comparison result indicating that at least one of the polarities of the input signals X0 to Xk does not match is compared with the determination threshold value.
- the determination unit 5 outputs an output signal Y indicating normal when the count value is equal to or greater than the determination threshold, and an output signal indicating abnormal when the count value is smaller than the determination threshold. Y should be output.
- the input signal input to the failure detection apparatus is a single input means corresponding to a plurality of switch forces provided in an input detection circuit that detects that an input device such as a push button, a lever, or a switch is operated. This is a redundant signal that is generated when the is operated. Therefore, the input signal is a signal obtained by converting an analog signal power and an analog signal into a digital signal.
- the comparison unit 3 compares each analog input signal with a predetermined threshold value. If the analog input signal is equal to or greater than the threshold value, the comparison unit 3 determines that the signal is “H”.
- the input signal is smaller than the threshold, it is judged as “L” and whether or not they match each other.
- the input signal is a digital signal
- each analog signal in which the input detection circuit is made redundant is compared with a predetermined threshold value. If the analog signal is equal to or greater than the threshold value, the signal is set to “H”. If the analog signal is smaller than the threshold, a digital signal with “L” is generated. In other words, even when the analog detection signal generated when the switch is turned on, either the input detection circuit or the comparison unit 3, is converted to digital, it is “H” or “L”. "Is decided.
- the threshold value Th for determining the input signals X0 and XI as “H” or “L” is the threshold value Th, and the analog signal corresponding to the input signal XO is indicated by a dotted line.
- the threshold value Th is between the voltage value indicating "H”
- the input signal XO becomes “H”
- the analog signal corresponding to the input signal XI indicates the voltage value indicating "L” as indicated by the broken line
- the threshold Th the input signal XI is "L”. Therefore, in FIG.
- the comparison unit 3 outputs a comparison result indicating that the input signals XO and XI do not match, and the times t2, t3, At t4, t6, t7, t8, tlO, and til, the comparison unit 3 outputs a comparison result indicating that the input signals X0 and XI match. Therefore, when the number of samplings is “5”, judgment threshold is “3”, and “unweighted mode”, the time 0 t6 t7 t8 At tlO and ti l, the count value of the mismatch counter is “1” and the time
- the count value of the mismatch counter becomes “2”, and the determination unit 5 outputs an output signal Y (in this case, “L”) indicating normal.
- the analog signal that is the source of the input signal X0 XI is an unstable state for both signals, and the force and the state are periodically continuous. This is to detect a failure in the input detection circuit that outputs the input signal Xl Xk, and considering that redundancy is provided for safety reasons, this analog signal may be unstable or periodic inconsistent. I want it to be detectable.
- the determination threshold is made small, for example, when counting the non-matching comparison results, the determination threshold is set to "1" so that all-matches are normal. Anomalies can also be detected in signal X0 XI. However, if the judgment threshold is set to “1”, an error will be detected if there is even one discrepancy due to signal deviation or noise due to the switch characteristics, and the system must be stopped each time. Therefore, the judgment using the comparison result for each sampling period cannot be fully utilized.
- the normality / abnormality of the redundant input signal is determined not by the threshold value but by the comparison result pattern for each sampling period.
- FIG. 7 is a block diagram showing the configuration of the second embodiment of the failure detection apparatus according to the present invention.
- the determination threshold setting section 13 is deleted from the setting section 1 of the failure detection apparatus of the first embodiment shown in FIG. Instead of 13, a pattern setting unit 16 is added.
- Components having the same functions as those of the failure detection apparatus of the first embodiment shown in FIG. 2 are given the same reference numerals, and redundant descriptions are omitted.
- a determination pattern indicating a match / mismatch for the number of samplings from the current sampling period to the sampling period for the number of samplings in time series is set. Specifically, for example, when the sampling number is “5”, a determination pattern associated with the latch 41 41 5 is registered. It should be noted that even if there are multiple judgment patterns, power is not acceptable.
- the determination unit 5 obtains a comparison result pattern from the current sampling period to a sampling period corresponding to the number of samplings in time series and a determination pattern registered in the pattern setting unit 16. If the comparison result pattern matches the judgment pattern! /, It is judged as abnormal, and if the comparison result pattern does not match the judgment pattern, it is judged normal. . If there are a plurality of determination patterns registered in the pattern setting unit 16, it may be determined that there is an abnormality when they match at least one determination pattern.
- the comparison unit 3 shows the comparison result CMP, and the input signal X0 and the input signal XI do not match.
- the comparison result in this case, “H”
- latch 41-1 holds “H”
- latches 41 2 to 41 5 hold “L”, thereby latch 41—;
- the pattern of the comparison result of 41-5 is “HLLLL” in time series ⁇ IJ.Determining unit 5 compares the determination pattern “HLLLH” set in pattern setting unit 16 with the time-series pattern “HLLLL”. To do. Since the result of the comparison is inconsistent, the determination unit 5 sets the output signal Y to “L” indicating normality.
- the judgment unit 5 sets the output signal Y to “L”. To.
- the comparison unit 3 shows the comparison result, and the comparison result indicating that the input signals X0 and XI match (in this case, "L” )
- latch 41-1, 41 -4, 41 5 hold “L” and latches 41 2 41 3 hold “H”.
- the pattern of the comparison result of the latch 41 41 5 becomes “LHHLL” in time series and does not match the determination pattern “HLLLH”, so the determination unit 5 sets the output signal Y to “L”.
- the comparison unit 3 sets the comparison result to “L”, and the latches 41 1 41-2, 41-5 hold “L” and latch 41—3 41—4 holds “H”.
- the pattern of the comparison result of the latch 41— ;! 41-5 becomes “LLHH L” in time series and does not match the determination pattern “HLLLH”. Therefore, the determination unit 5 sets the output signal Y to “L”.
- the comparison unit 3 sets the comparison result to “H” and latches 41 ⁇ 1 41 ⁇ 5. Holds “H”, and latches 41–2 41–4 hold “L”, so that the pattern of the comparison result of latch 41— ;! 41-5 becomes “HLLLH” in time series. Matches 'HLLLH'. Therefore, the determination unit 5 sets the output signal to “H” indicating abnormality.
- the comparison unit 3 compares whether or not the polarities of the plurality of redundant input signals X0 XI match, and the comparison result storage unit 4
- the comparison result of the comparison unit 3 is held for each sampling period set in the sampling period setting unit 12, and the determination unit 5 is set to the sampling number set in the sampling number setting unit 11 in time series from the current sampling period.
- the comparison results for the number of samplings up to the sampling period are arranged in chronological order from the comparison result of the current sampling period, and the matching pattern and the judgment pattern set in the pattern setting part 16 of the setting part 1 If the match 'disagreement pattern matches the judgment pattern, it is judged abnormal, and if the match' mismatch pattern does not match the judgment pattern, it is judged normal.
- Normality / abnormality can be determined according to changes in the input signal XO, XI for the specified sampling period X number of samplings, and errors in the input signals XO, XI that cannot be detected by threshold determination Can be detected.
- the number of determination patterns may increase, so that it is preferably used in combination with the threshold value determination described in the first embodiment. For example, even if it is determined to be abnormal by the threshold determination, if it matches the determination pattern, that is, if it is a specific pattern, it is determined to be normal.
- FIG. 8 is a block diagram showing the configuration of the failure detection apparatus when the user selects determination based on a determination threshold or determination based on a determination pattern.
- the pattern setting unit 16 of the second embodiment is added to the setting unit 1 of the failure detection device shown in FIG.
- FIG. 9 shows a list of determination conditions and weighting presence / absence set in the determination mode setting unit 14 of the failure detection apparatus shown in FIG.
- the judgment unit 5 does not match the comparison result of the latch 41 as described in the first embodiment.
- the number of comparison results indicating or the number of comparison results indicating coincidence is counted, and the normality / abnormality is determined by comparing the count value with the determination threshold value set in the determination threshold value setting unit 13.
- the determination unit 5 determines whether the comparison result of the latch 41 is the same as described in the first embodiment.
- the comparison result indicating mismatch or the comparison result indicating match is set to ⁇ 1 ''.
- the value obtained by multiplying the weighting coefficient set in the weight setting unit 15 in association with the latch 41 is counted, and the count value is compared with the determination threshold value set in the determination threshold setting unit 13 to determine whether normal / Judge abnormalities.
- the determination unit 5 arranges the comparison results of the latch 41 in time series as described in the second embodiment. Compare the judgment pattern and the judgment pattern set in the pattern setting section 16 to judge normality / abnormality.
- the determination mode setting unit 14 is set to a threshold determination (with / without weighting) or pattern determination mode
- the determination unit 5 determines whether the threshold determination (with / without weighting) and the pattern are performed. The normal / abnormal judgment is made based on the judgment, and when one judgment result becomes abnormal, it is judged as abnormal.
- the determination mode setting unit 14 is set to a mode for performing threshold determination (with / without weighting) and pattern determination
- the determination unit 5 performs threshold determination (with / without weighting) and pattern determination.
- the normal / abnormal judgment is made by, and if both judgment results are abnormal, it is judged as abnormal.
- a third embodiment of the present invention will be described with reference to FIGS.
- the comparison results of the input signals X0 to Xk determined by the comparison unit 3 are stored in time series in the comparison result storage unit 4 that constitutes the shift register by the latch 41, the sampling is performed. Latches 41 are required. For this reason, when the number of samplings increases, the number of latches 41 also increases, resulting in a problem of excessive resources.
- the comparison result storage unit stores the comparison result in the time series and the comparison result used for the determination (mismatch) Or a second comparison result storage unit that stores a count value of coincidence), and suppresses an increase in resources even when the number of samplings is large.
- FIG. 10 is a block diagram showing a configuration of the third embodiment of the failure detection apparatus according to the present invention.
- the failure detection device of the third embodiment shown in FIG. 10 includes a determination unit 5a instead of the determination unit 5 of the failure detection device of the first embodiment shown in FIG.
- a memory unit 7, a comparison result control unit 8, and a reset signal generation unit 9 are added.
- Components having the same functions as those of the failure detection apparatus of the first embodiment shown in FIG. 2 are given the same reference numerals, and redundant descriptions are omitted.
- the configuration and function of the first comparison result storage unit 6 shown in FIG. 10 are the same as those of the comparison result storage unit 4 shown in FIG.
- the second comparison result storage unit 7 stores, for each "n X sampling period", the number of mismatches or coincidence of n comparison results from the current time to "n X sampling period", ie, the first
- the comparison result storage unit 6 latches 41— ;! to 41—n hold! /, And the comparison result count value indicating that there is a mismatch is the maximum m (m is a natural number). Hold.
- FIG. 11 is a diagram illustrating an example of the configuration of the second comparison result storage unit 7 illustrated in FIG.
- the second comparison result storage unit 7 is composed of a general ring buffer that designates m buffers 71 (indicating 71— ;! to 71—m) as pointer values.
- m buffers 71 indicating 71— ;! to 71—m
- the pointer value 1 indicates the buffer 71-1
- the pointer value 2 indicates the buffer 71-2
- "" the pointer value m indicates the buffer 71-m.
- comparison result control unit 8 writes the force value of the comparison result to the second comparison result storage unit 7 and the comparison result count value from the second comparison result storage unit 7. Controls reading of.
- the comparison result control unit 8 performs the initial operation executed when the power of the own device is turned on or reset.
- the necessary buffer 71 The write cycle for storing the number and the count value of the comparison result in the second comparison result storage unit 7 is obtained.
- the comparison result control unit 8 generates the necessary number of buffers 71 (hereinafter referred to as the number of effective buffers h) and the write cycle obtained by (Equation 1) and (Equation 2), and the clock generation unit 2. Generates and generates control signals (write signal WT, write pointer value WP, read signal RT, read pointer value RP, etc.) for the second comparison result storage unit 7 based on the sampling clock CLK of the sampling cycle to be generated The control signal is output to the second comparison result storage unit 7. Also, the write signal WT, which is one of the control signals, is output to the reset signal generation unit 9.
- the comparison result control unit 8 outputs the write signal WT and the write pointer value WP every write cycle Tw. Further, the comparison result control unit 8 outputs the read signal RT and the read pointer value RP to the second comparison result storage unit 7 for each read cycle Tr having a value equal to the sampling cycle T, and the buffer 71 holds it. The value to be output is output to the judgment unit 5a.
- the determination unit 5a determines the number of sampling times X before the sampling period from the current time.
- the number of comparison results indicating that there is a mismatch among the comparison results within the time period in (1) is obtained, and the obtained number, the sampling number set in the sampling number setting unit 11, and the determination threshold setting unit 13 are set.
- a threshold value determination process for determining normality / abnormality of the input signals XO to Xk is performed.
- the determination unit 5a counts the number of comparison results indicating that at least one of the input signals XO to Xk is inconsistent among the comparison results input from the latch 41.
- Function, an addition function for adding the count value counted by the count function and the value input from the second comparison result storage unit 7, the value obtained by the addition function, and the sampling number setting unit 11 Based on the number of samplings set to 1 and the determination threshold set in the determination threshold setting unit 13, threshold determination processing for determining normality / abnormality of the input signals XO to Xk is performed.
- the determination unit 5a holds the current comparison result by the count function.
- the first stage latch 41—1 to the last stage latch 41 1 n that is, of the n comparison results from the current sampling period time to the “number of latch 41 n X sampling period” time, is inconsistent
- the number of comparison results indicating this is counted, and this count value is set as the mismatch count value in the first comparison result storage unit 6.
- the determination unit 5a uses the addition function to count the mismatch count value in the first comparison result storage unit 6 counted by the count function and the mismatch count value held in the second comparison result storage unit 7, that is, the latest count value.
- the value written in buffer 71 from the buffer 71 where the value was written to the buffer 71 up to the number of valid buffers h before is added, and the comparison result count number indicating that there is a mismatch among the comparison results for the sampling number (mismatch Find the total count).
- the determination unit 5a compares the total number of mismatches obtained by the addition function with a determination threshold, and determines that the total number of mismatches is abnormal when the total number of mismatches is equal to or greater than the determination threshold. If it is smaller than the determination threshold, it is determined to be normal.
- the determination unit 5a outputs the determination result as an output signal Y. Further, the determination unit 5a outputs the mismatch count value CNT in the first comparison result storage unit 6 obtained by the addition function to the second comparison result storage unit 7.
- the reset signal generation unit 9 outputs the reset signal RES 1 after the comparison result control unit 8 holds the mismatch count value CNT in the first comparison result storage unit 6 in the second comparison result storage unit 7. Output to latch 41 and reset the value of latch 41. In this case, the value held by the latch 41 is set to a value indicating that the comparison result matches.
- the operation of the failure detection apparatus according to the present invention will be described by taking as an example the case where the cycle is “cho” and the number of samplings is “12”.
- comparison unit 3 outputs a comparison result CMP between input signal X0 and input signal XI.
- the comparison unit 3 compares the comparison result CMP and indicates that the input signal X0 and the input signal XI do not match.
- Set the result in this case, "H”
- Latch 41—2,41—3 is the previous latch 41—1, 41 2 is held, and the first latch 41-1 holds the comparison result CMP. In this case, the latch 41-1 holds “H”, and the latches 41 2 to 41 3 hold “L”.
- the comparison result control unit 8 asserts the read signal RT (in this case, “H”), sets the read pointer values to “1”, “2”, “3”, and buffers 71—; 71 ⁇ 3 The values held in this case (all “0” in this case) are output to the judgment unit 5a, and then the read signal RT is negated (in this case “L”).
- the determination unit 5a determines whether or not the outputs of the latch 411-1 to the latch 41-3 are a comparison result indicating a mismatch (in this case, "H"), and the number of comparison results indicating a mismatch Count.
- a comparison result indicating a mismatch in this case, "H”
- the number of comparison results indicating a mismatch in the first comparison result storage unit 6)
- the discrepancy count value (CNT) is “1”.
- the determination unit 5a adds the values input from the buffers 71-1 to 71-3 to the mismatch count value CNT in the first comparison result storage unit 6 to obtain a mismatch total count value.
- the mismatch count value in the first comparison result storage unit 6 is “1”, and all the values input from the buffers 71— ;! to 71-3 are “0”. Becomes "1".
- the determination unit 5a sets the output signal Y to “L” indicating normality.
- latches 41-2 and 41-3 hold the outputs of the preceding latches 41-1 and 41-2, and latch 41-1 holds the comparison result COM
- the second comparison result control unit 8 controls the buffer 71— ;! to 71-3 and causes the determination unit 5a to output the value held in the buffer 71— ;! to 71-3.
- the comparison result output processing operation of the first comparison result storage unit 6 obtains the mismatch count value of the first comparison result storage unit 6 and the determined mismatch count value of the first comparison result storage unit 6 and the buffer 71 — ;!
- the sampling period does not coincide with the write cycle to the buffer 71 of the second comparison result storage unit 7, so only the processing operation within the write cycle is performed as at time tO.
- the input signal X0 is "H” and the input signal XI is "L”.
- the unit 3 sets the comparison result CMP to “H”, the latches 41 1 and 41 2 hold “H”, and the latch 41 3 holds “L” by the first comparison result storage processing operation.
- the comparison result control unit 8 outputs the values held in the buffer 71— ;! 71-3 (in this case, all “0”) to the determination unit 5a.
- the determination unit 5a obtains a mismatch count value (in this case “2”) in the first comparison result storage unit 6 and a total mismatch count value (in this case “2”). And output the output signal Y (in this case, "L").
- the second comparison result storage unit Write processing to the buffer 71 which is 7.
- the processing operation within the write cycle is performed in the same manner as at times tO and tl.
- the comparison unit 3 sets the comparison result CMP to "H” and performs the first comparison result storage processing operation.
- Latch 41 41 —3 holds “H”.
- the comparison result control unit 8 causes the determination unit 5a to output the values held in the buffer 71— ;! 713 (in this case, all “0”).
- the determination unit 5a determines the mismatch count value CNT (“3” in this case) of the first comparison result storage unit 6 and the total mismatch count value (“3” in this case). Find the output signal Y (in this case "L”). Further, the determination unit 5a outputs the mismatch count value CNT (in this case, “3”) in the first comparison result storage unit 6 to the second comparison result storage unit 7.
- the comparison result control unit 8 controls the write signal WT and the write pointer value WP to obtain the second comparison result.
- the buffer 71 of the storage unit 7 holds the mismatch count value CNT of the first comparison result storage unit 6.
- the comparison result control unit 8 asserts the write signal WT (in this case, "H"), sets the write pointer value to "1", and sets the mismatch count value CNT (this in the buffer 71-1). In case, keep “3”).
- the comparison result control unit 8 sends the write signal W T is negated (in this case "L").
- the reset signal generation unit 9 When it is recognized that 1 holds the mismatch count value CNT of the first comparison result storage unit 6, the reset signal generation unit 9 asserts the reset signal RES1 (in this case, “H”). As a result, the latch 41— ;! 41—3 resets the output to a value (in this case, “L”) indicating that the comparison results match. The reset signal generator 9 negates the reset signal RES 1 (in this case, “L”) after the output power L ”of the latch 41— ;! 41-3 is reached.
- comparison result control unit 8 controls write signal WT and write pointer direct WP to write mismatch count value CNT in first comparison result storage unit 6
- write cycle processing combining the second comparison result storage processing operation held in the buffer 71 indicated by the pointer value WP and the first comparison result reset processing operation in which the reset signal generation unit 9 resets the value of the latch 41 41 3
- motion
- the sampling period is not the same as the writing period to the buffer 71 of the second comparison result storage unit 7 as at time tO, so the processing within the writing period is the same as at time tO. Only the operation is performed.
- the comparison unit 3 sets the comparison result CMP to "H” and stores the first comparison result.
- the latch 41 — 1 holds “H” by the processing operation and the latches 41 2, 41 — 3 hold “L”, and the comparison result control unit 8 causes the buffer to be buffered by the second comparison result output processing operation.
- 71— ;! 71—3 causes the determination unit 5a to output the value held in buffer 3 (in this case, buffer 71-1 is “3” and notifiers 71-2, 71-3 are “0”) .
- the determination unit 5a obtains the mismatch count value (in this case “1”) and the total mismatch count value (in this case “4”) in the first comparison result storage unit 6.
- Output signal Y ("L” in this case).
- the comparison unit 3 sets the comparison result CMP to "L", and is latched by the first comparison result storage processing operation. 41-3 holds “L” and latch 41 2 holds “H”. Also, by the second comparison result output processing operation, the comparison result control unit 8 causes the value held in the buffer 71— ;! 71-3 (this value In this case, the buffer 71-1 is “3” and the buffers 71-2, 713 are “0”). Further, by the determination processing operation, the determination unit 5a obtains the mismatch count value (in this case “1”) and the total mismatch count value (in this case “4”) in the first comparison result storage unit 6. Output signal Y ("L” in this case).
- the comparison unit 3 sets the comparison result CMP to “H” and performs the first comparison result storage processing operation.
- the latches 41-1 and 41-3 hold “H”, and the latch 412 holds “L”.
- the comparison result control unit 8 causes the value held in the buffer 71— ;! to 71-3 (in this case, the buffer 71-1 is “3”).
- Buffers 71-2, 71-3 are “0”), and outputs to judgment section 5a.
- the determination unit 5a obtains the mismatch count value CNT (in this case “2”) and the total mismatch count value (in this case “5”) in the first comparison result storage unit 6. Output signal Y ("L” in this case). Further, the determination unit 5a outputs the mismatch count value CNT (“2” in this case) in the first comparison result storage unit 6 to the second comparison result storage unit 7.
- the write cycle processing operation is performed from time t5a after the cycle operation within the write cycle at the sampling time starting from time t5 is completed.
- the mismatch count value CNT of the first comparison result storage unit 6 is held in the buffer 71 of the second comparison result storage unit 7 by the second comparison result storage processing operation.
- the comparison result control unit 8 sets the write pointer value WP by one (in this case, “2”), and stores the mismatch count value CNT (in the first comparison result storage unit 6 in the buffer 71-2. In this case, “2”) is retained.
- the comparison result control unit 8 sets the write signal WT to “L”.
- the reset signal generation unit 9 sets the reset signal RES 1 to "H” and outputs the outputs of the latches 41— ;! to 41-3 to “L”. Reset to , Latch 41— ;! After the output force L ”of 41-3 is reached, set the reset signal RES 1 to“ L ”.
- the comparison unit 3 sets the comparison result CMP to “H” and performs the first comparison result storage processing operation.
- Latch 41-1 holds “H” and latches 41-2, 41-3 hold “L”.
- the comparison result control unit 8 causes the value stored in the buffer 71— ;! 71-3 (in this case, the buffer 71-1 is “3”, Buffer 71-2 Force S “2”, 71-3 is “0”).
- the determination unit 5a obtains the mismatch count value (in this case “1”) and the total mismatch count value (in this case “6”) in the first comparison result storage unit 6.
- Set output signal Y to "L”.
- the comparison unit 3 sets the comparison result CMP to "H” and stores the first comparison result.
- the latches 41-1 and 41 2 hold “H”, and the latch 413 3 holds “L.”
- the comparison result control unit 8 sets the buffer 71. ——! 71— Determines the value held by 3 (in this case, buffer 71-1 is “3”, buffer 71—2 force S is “2”, 71-3 is “0”) Output to part 5a.
- the determination unit 5a obtains a mismatch count value (in this case, “2”) and a total mismatch count value (in this case, “7”) in the first comparison result storage unit 6.
- the determination threshold is “7”
- the determination unit 5a sets the output signal Y to a value (here, “H”) indicating that the output signal Y is abnormal.
- the comparison unit 3 sets the comparison result CMP to “H” and performs the first comparison result storage processing operation.
- Latch 41 41 —3 holds “H”.
- the comparison result control unit 8 causes the value stored in the buffer 71— ;! 71-3 (in this case, the buffer 71-1 is “3” and the buffer 71— ;! 71-2 is “2” and buffer 71-3 is “0”).
- the determination unit 5a obtains the mismatch count value CNT (“3” in this case) and the total mismatch count value (“8” in this case) in the first comparison result storage unit 6.
- Set output signal Y to "H”.
- the determination unit 5a outputs the mismatch count value CNT (in this case, “3”) in the first comparison result storage unit 6 to the second comparison result storage unit 7.
- the write cycle processing operation is performed from time t8a after the cycle operation within the write cycle at the sampling time starting from time t8 is completed.
- the mismatch count value CNT of the first comparison result storage unit 6 is held in the buffer 71 of the second comparison result storage unit 7 by the second comparison result storage processing operation.
- the comparison result control unit 8 sets the write pointer value WP by one (in this case, “3”) and stores it in the buffer 71-3 in the first comparison result storage unit 6 as a mismatch count value CNT ( In this case, “3”) is retained.
- the comparison result control unit 8 sets the write signal WT to “L”.
- the reset signal generation unit 9 sets the reset signal RES 1 to "H” and the outputs of the latches 41— ;! to 41-3 to “L”. After resetting to the output power L "of the latch 41— ;! to 41-3, set the reset signal RES 1 to“ L ”.
- the comparison unit 3 sets the comparison result CMP to "H”, and the first comparison result storage process According to the operation, the latches 41-1 and 41-2 hold “H”, and the latch 41-3 holds “L”, and the comparison result control unit 8 operates as a result of the second comparison result output processing operation.
- Buffer 71 — ;! ⁇ 71—3 holds (In this case, the buffer 71-1 is “3”, the buffer 71-2 is “2”, and 713 is “3”) is output to the determination unit 5a. Further, by the determination processing operation, the determination unit 5a obtains the mismatch count value (in this case “2”) and the total mismatch count value (in this case “10”) in the first comparison result storage unit 6, Set output signal Y to "H".
- the sampling period coincides with the write cycle to the buffer 71 of the second comparison result storage unit 7, and therefore, after the processing operation within the write cycle is performed as in time t2, Write processing to the buffer 71 which is the comparison result storage unit 2 of 2 is performed.
- the processing operation within the write cycle is performed in the same manner as at time to.
- the comparison unit 3 sets the comparison result CMP to “H” and performs the first comparison result storage processing operation. Latch 41 one;! ⁇ 41-3 hold "H”.
- the comparison result control unit 8 causes the value held in the buffer 71— ;! to 71-3 (in this case, the buffer 71-1 is “3”, Buffer 71-2 is “2” and Buffer 71-3 is “3”).
- the determination unit 5a obtains the mismatch count value CNT (“3” in this case) and the total mismatch count value (“8” in this case) in the first comparison result storage unit 6. Set output signal Y to "H”. Further, the determination unit 5a outputs the mismatch count value CNT (in this case, “11”) in the first comparison result storage unit 6 to the second comparison result storage unit 7.
- the write cycle processing operation is performed from time tl la after the end of the cycle operation within the write cycle at the sampling time starting from time ti l.
- the mismatch count value CNT of the first comparison result storage unit 6 is held in the buffer 71 of the second comparison result storage unit 7 by the second comparison result storage processing operation.
- the comparison result control unit 8 sets the write pointer value WP by one (in this case, “1”) as a value (1 in this case) to the buffer 71-1 in the mismatch count value CNT ( In this case, keep “3”).
- the comparison result control unit 8 sets the write signal WT to “L”.
- the reset signal generation unit 9 sets the reset signal RES 1 to "H” and outputs the outputs of the latches 41- to 41-3 to "L”. To the output of Latch 41— ;! to 41—3. After resetting to “L”, set the reset signal RES1 to “L”. [0126] As described above, in the third embodiment, the comparison unit 3 compares whether or not the polarities of the plurality of redundant input signals X0 to Xk match, and the first comparison The result storage unit 6 holds n comparison results in chronological order from the latest comparison result of the comparison unit 3 for each predetermined sampling period, and the second comparison result storage unit 7 stores the first comparison result.
- Storage unit 6 3 ⁇ 4 The number of comparison results indicating that at least one polarity of a plurality of redundant input signals X0 to Xk is inconsistent among n comparison results when holding three comparison results.
- the determination unit 5a holds at least one of the redundant input signals X0 to Xk out of the n comparison results held in the first comparison result storage unit 6.
- the count value of the comparison result indicating that the two polarities do not match is stored in the second comparison result storage unit 7.
- the total value of the comparison results is obtained by adding the force count values from the latest count value to the predetermined number of samplings, and the calculated total value is greater than or equal to the predetermined threshold value. Is determined to be abnormal, and the total value obtained is smaller than a predetermined determination threshold, in which case it is determined to be normal. While suppressing an increase in resources, it is possible to determine normality / abnormality according to changes in the input signals X0 to Xk for a predetermined “sampling period X number of samplings”.
- the second comparison result storage unit 7 is configured with a ring buffer.
- the storage means is not limited to the ring buffer as long as it can store the number of values indicating the mismatch held by the latch 41 of the first comparison result storage unit 6.
- the force S, the input signal, and the comparison result indicating that the polarity of at least one of the input signals X0 to Xk is inconsistent are counted and compared with the determination threshold value.
- a comparison result indicating that the polarities of all X0 to Xk are the same may be counted and compared with the determination threshold value.
- the second comparison result storage unit 7 shows a comparison result indicating that the polarities of all the input signals X0 to Xk are the same among n comparison results held by the first comparison result storage unit 6.
- the determination unit 5 outputs an output signal Y indicating that the count value is equal to or greater than the determination threshold. If the value is smaller than that, an output signal Y indicating an abnormality may be output.
- the second comparison result storage unit 7 indicates mismatch or coincidence among the comparison results held for each sampling time by the latch 41 of the first comparison result storage unit 6.
- the second comparison result storage unit 7 since the second comparison result storage unit 7 holds the count value of the comparison result indicating mismatch or coincidence, the time series of the comparison result is lost. Since the time of “sampling period X number of samplings” becomes longer, if the time series of the comparison result is lost, the problem arises that the mismatch of input signals due to different events is regarded as the same event.
- the second comparison The buffer 71 of the result storage unit 7 holds a mismatch value or a count value of 1S.
- the input signal X0 is “H” from time tO to time t2
- the input signal XI is from time tO to time t2. It is assumed that “L” from tl until time tl and “H '' from time tl to time t3.
- the comparison result is from time tO to time tl and from time t2 to time t3.
- the comparison result is a value indicating coincidence from time tl to time t2, so the second comparison result storage unit 7 stores the time from time tO to time and from time t2 to time t3. “50” is held in the buffer holding the comparison result with “0”, and “0” is held in the buffer holding the comparison result from time tl to time t2.
- event A is a mismatch between the comparison results when the input signal X0 is "H” and the input signal XI is "L”.
- event B where the input signal XI is "L” and the input signal XI is "H”, which is a mismatch, and the mismatch between the two events A and B is different.
- Event A and event B are identified as the same event even though there is a period between input signal X0 and input signal XI between event A and event B because the time series is lost. I will consider it.
- the first comparison result storage unit 6 and the second comparison result storage unit 7 in the coincidence period of the comparison result between the event A and the event B.
- the value of is reset to distinguish between two different events to detect an exact discrepancy event.
- FIG. 14 is a block diagram showing a configuration of the failure detection apparatus according to the fourth embodiment of the present invention.
- a reset condition setting unit 18 is added to the setting unit 1 of the failure detection device of the third embodiment shown in FIG. Instead of 9, a reset signal generation unit 9a is provided.
- Components having the same functions as those of the negotiation detection apparatus according to the third embodiment shown in FIG. 10 are given the same reference numerals, and redundant descriptions are omitted.
- the reset condition setting unit 18 includes a first comparison result storage unit 6 and a second comparison result storage unit.
- a reset condition for resetting the value held by 7 is set. Reset condition is
- the reset condition setting unit 18 includes a set value indicating that the reset according to the above (condition 1) to (condition 3) is not performed, a set value indicating that the reset is performed according to the above (condition 1), and the above (condition Either a set value indicating that the reset is performed by 2) or a set value indicating that the reset is performed by the above (condition 3) is set.
- a setting value indicating that resetting is performed according to the above (condition 2)
- a value y indicating the number of comparison results to be determined and a reset threshold are also set. In this case, the value y indicating the number of comparison results to be determined is set equal to the reset threshold.
- the above (Condition 3) indicates that reset is to be performed.
- a value y indicating the number of comparison results to be judged and a reset threshold are also set.
- the set value to be set in the reset condition setting unit 18 is set by communication from the remote master station 90 in the same manner as the control parameter for the device 81 connected to the remote I / O station 80. That is, it can be arbitrarily set by the user.
- the reset signal generation unit 9a includes the set value set in the reset condition setting unit 18 and the comparison unit 3 Based on the input comparison result CMP, the reset signal RES1 is asserted to reset the latch 41 of the first comparison result storage unit 6, and the reset signal RES2 is asserted for a predetermined period and passed through the comparison result control unit 8. Reset the buffer 71 in the second comparison result storage unit 7.
- the reset signal generation unit 9a outputs the ratio output by the comparison unit 3.
- the comparison result CMP is monitored, and the reset signals RES 1 and RES2 are asserted when the comparison result CMP changes from a value indicating mismatch to a value indicating match.
- the reset signal generation unit 9a determines that the comparison result CMP output from the comparison unit 3 matches. The count value is counted up for the indicated value, and if the comparison result CMP indicates a mismatch, the count value is reset, and the count value force counted by this count function is greater than the reset threshold. When this happens, reset signals RES 1 and RES 2 are asserted.
- the reset signal generation unit 9a performs "yX sampling period" time from the current sampling time.
- the comparison result CMP output from the comparison unit 3 is a value indicating a match, it has a count function that counts up the count value, and the count value counted by this count function and the reset threshold value Assert the reset signals RES 1 and RES2 when a negative signal is detected.
- the predetermined time is a time required to reset the values of the latch 41 and the buffer 71.
- the reset signals RES1 and RES2 are negated next when the reset signals RES1 and RES2 are asserted.
- the condition indicated by the set value set in the reset condition setting unit 18 may be satisfied after the comparison result indicates a mismatch at least once.
- the reset signal generation unit 9a has a force S that causes the comparison result CMP to be counted.
- the time from the current sampling time to “y (2 ⁇ y, y is a natural number) X sampling period” The number of matches may be counted and output to the reset condition setting unit 18.
- the difference between the failure detection device of the fourth embodiment and the failure detection device of the third embodiment is that the reset signal generation unit 9a depends on any of the above (condition 1) to (condition 3). This is only the operation when the reset signals RES 1 and RES2 are asserted, so here only the operation of the difference is taken as an example when the reset signals RESI and RES2 are asserted according to the above (condition 1). explain.
- the reset condition setting unit 18 is set to perform a reset when the above (condition 1), that is, the comparison result CMP indicates a match. Therefore, the reset signal generator 9a Recognizes that the reset condition has been satisfied because the comparison result CMP has become “L”, and asserts the reset signals RES 1 and RES 2 (in this case, “H”).
- the latch 41 sets the output to a value ("L” in this case) indicating that the comparison result matches.
- the comparison result control unit 8 asserts the write signal WT (in this case “H”) and sets the write pointer WP to “1”, “2”, “3”. Write “0” to all the buffers 71 in the second comparison result storage unit 7 to reset the buffers 71.
- the input signal XI changes from “L” to "H”.
- the comparison unit 3 sets the comparison result CMP to a value (in this case, “H”) indicating that the input signal X0 and the input signal XI do not match.
- the comparison result CMP of the comparison unit 3 becomes “H”
- the reset signal generation unit 9a negates the reset signals RES 1 and RES2 (in this case, “L”).
- the comparison result control unit 8 starts measuring the write cycle Tw from the next sampling time (here, time t3).
- comparison unit 3 sets the comparison result CMP to “H.”
- Comparison result control unit 8 Since the measurement of the write period Tw starts from time t3, only the processing operation within the write period described in the third embodiment is performed from time t3 to time t4.
- the reset signal generation unit 9a confirms that the polarities of all the input signals X0 to Xk in which the comparison result of the comparison unit 3 is made redundant match.
- the comparison result of the comparison unit 3 indicates that the polarities of all the input signals X0 to Xk that have been made redundant in a predetermined number of times coincide with each other, or are made redundant within a predetermined period.
- the first comparison result storage unit 6 and the second comparison result Since the storage unit 7 is reset, different events are distinguished and an exact mismatch is detected. Can detect elephants.
- event B from time t2 to t3 that is, the input signal X0 is "L” and the input signal XI is "H” It is possible to distinguish between mismatched event B and event A, and an exact mismatch event can be detected.
- the reset condition can be set in the reset condition setting unit 18 from the outside, the reset condition for distinguishing the event according to the system to which the present apparatus is applied is set. Can be changed.
- the failure detection apparatus according to the present invention is a remote I / O station. It is not limited to O station.
- the remote I / O station 80 often has a CPU for controlling and monitoring the device 81.
- Each function described above realized by the section 9a may be realized by software and executed by the CPU in the remote I / O station 80 or a dedicated CPU! /.
- the failure detection apparatus is useful for detecting a failure in a circuit that generates a plurality of redundant input signals, and particularly in a redundant I / O station at a production site. It is suitable for detecting abnormalities in the converted input signal.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Computer Security & Cryptography (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
- Safety Devices In Control Systems (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Description
Claims
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020097006039A KR101029394B1 (ko) | 2006-09-28 | 2007-09-27 | 고장 검출 장치, 고장 검출 방법 및 고장 검출 프로그램 |
JP2008536422A JP4942756B2 (ja) | 2006-09-28 | 2007-09-27 | 故障検出装置、故障検出方法、および故障検出プログラム |
US12/443,627 US8572472B2 (en) | 2006-09-28 | 2007-09-27 | Fault detection apparatus, fault detection method, and fault detection program |
CN200780036315XA CN101523307B (zh) | 2006-09-28 | 2007-09-27 | 故障检测装置以及故障检测方法 |
DE112007002244T DE112007002244T5 (de) | 2006-09-28 | 2007-09-27 | Fehlerdetektionsvorrichtung, Fehlerdetektionsverfahren und Fehlerdetektionsprogramm |
TW096136131A TWI348129B (en) | 2006-09-28 | 2007-09-28 | Disorder detection device, disorder detection method and disorder detection program |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006-264959 | 2006-09-28 | ||
JP2006264959 | 2006-09-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008038710A1 true WO2008038710A1 (fr) | 2008-04-03 |
Family
ID=39230145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2007/068802 WO2008038710A1 (fr) | 2006-09-28 | 2007-09-27 | Détecteur de défauts, procédé et programme de détection de défauts |
Country Status (7)
Country | Link |
---|---|
US (1) | US8572472B2 (ja) |
JP (1) | JP4942756B2 (ja) |
KR (1) | KR101029394B1 (ja) |
CN (1) | CN101523307B (ja) |
DE (1) | DE112007002244T5 (ja) |
TW (1) | TWI348129B (ja) |
WO (1) | WO2008038710A1 (ja) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016099879A (ja) * | 2014-11-25 | 2016-05-30 | 株式会社日立製作所 | 制御コントローラおよびその制御方法 |
WO2018131497A1 (ja) * | 2017-01-12 | 2018-07-19 | 富士フイルム株式会社 | 状態判定装置 |
Families Citing this family (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8745451B2 (en) * | 2009-07-02 | 2014-06-03 | Sony Corporation | Method and device for processing signal data |
WO2011135656A1 (ja) * | 2010-04-26 | 2011-11-03 | 三菱電機株式会社 | 安全装置および故障検出方法 |
KR101036335B1 (ko) * | 2011-01-20 | 2011-05-23 | 주식회사 광명전기 | 수질관리를 위한 통합관리시스템의 성능진단 장치 및 그 방법 |
CN105339852A (zh) * | 2013-06-26 | 2016-02-17 | 三菱电机株式会社 | 远程单元及远程单元的异常判定方法 |
CN103529692B (zh) * | 2013-10-30 | 2016-04-13 | 中国航天空气动力技术研究院 | 针对长航时无人机的简易余度飞控系统故障重构方法 |
US9384857B2 (en) | 2014-04-30 | 2016-07-05 | International Business Machines Corporation | Error control using threshold based comparison of error signatures |
JP6387707B2 (ja) * | 2014-07-01 | 2018-09-12 | 富士通株式会社 | 異常検出システム、表示装置、異常検出方法及び異常検出プログラム |
DE102014214410A1 (de) * | 2014-07-23 | 2016-01-28 | Zf Friedrichshafen Ag | Erkennung der Betätigung einer Schaltervorrichtung |
CN104699076B (zh) * | 2015-02-11 | 2017-07-28 | 广东威灵电机制造有限公司 | 一种电机控制系统及其微电子故障检测方法和装置 |
CN104914872A (zh) * | 2015-04-20 | 2015-09-16 | 中国科学院长春光学精密机械与物理研究所 | 适用于小型民用无人机的传感器双余度飞控计算机系统 |
KR101745969B1 (ko) | 2015-05-28 | 2017-06-13 | 대전보건대학 산학협력단 | 수족구병 원인 바이러스 검출용 조성물, 이를 이용한 검출 방법 및 진단키트 |
CN204810113U (zh) | 2015-07-16 | 2015-11-25 | 瑞声光电科技(常州)有限公司 | 振动电机 |
JP6409812B2 (ja) * | 2016-04-01 | 2018-10-24 | 横河電機株式会社 | 冗長化装置、冗長化システム、及び冗長化方法 |
JP7029362B2 (ja) * | 2018-08-16 | 2022-03-03 | 三菱重工業株式会社 | 異常検出装置、異常検出方法、及びプログラム |
JP7014102B2 (ja) * | 2018-08-29 | 2022-02-01 | 株式会社デンソーウェーブ | 産業機器用の機能安全モジュール |
CN109782307B (zh) * | 2018-09-28 | 2020-10-30 | 和芯星通科技(北京)有限公司 | 一种载波相位的极性判定方法及装置 |
CN109696902B (zh) * | 2018-12-06 | 2022-06-10 | 奇瑞汽车股份有限公司 | 一种信号记录装置、故障点检测电路及方法 |
KR20210004135A (ko) * | 2019-07-03 | 2021-01-13 | 에스케이하이닉스 주식회사 | 패일 정보 제어회로, 이를 포함하는 반도체 장치 및 반도체 장치의 패일 정보 제어방법 |
JP7380198B2 (ja) | 2019-12-26 | 2023-11-15 | セイコーエプソン株式会社 | ヘッドユニット制御装置、ヘッドユニット及び液体吐出装置 |
JP7463721B2 (ja) * | 2019-12-26 | 2024-04-09 | セイコーエプソン株式会社 | ヘッドユニット |
JP7452006B2 (ja) | 2019-12-26 | 2024-03-19 | セイコーエプソン株式会社 | 液体吐出装置 |
CN111668804B (zh) * | 2020-06-22 | 2021-10-22 | 联想(北京)有限公司 | 过流保护方法、装置和电子设备 |
US11313702B2 (en) * | 2020-07-30 | 2022-04-26 | Microchip Technology Inc. | System and method for monitoring analog front-end (AFE) circuitry of an inductive position sensor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5723118A (en) * | 1980-07-17 | 1982-02-06 | Meidensha Electric Mfg Co Ltd | Detection system for scattered error data |
JPH04367003A (ja) * | 1991-06-14 | 1992-12-18 | Tokyo Keisan Service Kk | シーケンス制御回路用異常検出回路 |
JPH08221116A (ja) * | 1995-02-20 | 1996-08-30 | Hitachi Ltd | 診断機能付きディジタル入力装置 |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5836362B2 (ja) * | 1976-02-18 | 1983-08-09 | 株式会社日立製作所 | 誤り判定装置 |
JPS58119244A (ja) * | 1982-01-11 | 1983-07-15 | Nippon Signal Co Ltd:The | 情報伝送装置 |
US4566101A (en) | 1983-02-28 | 1986-01-21 | United Technologies Corporation | Oscillatory failure monitor |
JPS6415A (en) | 1988-03-17 | 1989-01-05 | Freunt Ind Co Ltd | Absorption-improving drug preparation |
DE59103707D1 (de) | 1991-07-22 | 1995-01-12 | Siemens Ag | Verfahren zur Fehlererkennung und -lokalisierung von redundanten Signalgebern einer Automatisierungsanlage. |
CN1213429A (zh) | 1996-02-16 | 1999-04-07 | 住友金属工业株式会社 | 异常检测方法及异常检测系统 |
JPH10198302A (ja) * | 1997-01-10 | 1998-07-31 | Matsushita Electric Ind Co Ltd | マルチスキャン型ディスプレイ装置 |
CN1261801A (zh) | 1997-04-29 | 2000-08-02 | 肯尼思·布卢姆公司 | 报偿缺陷综合征的等位基因多基因诊断和治疗 |
JPH11175362A (ja) | 1997-12-16 | 1999-07-02 | Toshiba Ave Co Ltd | 誤り訂正装置及びデータ再生装置 |
US20020124663A1 (en) | 1999-04-07 | 2002-09-12 | Yoshitomo Tokumoto | Rotational angle detecting device, torque detecting device and steering apparatus |
US6252428B1 (en) * | 1999-04-07 | 2001-06-26 | Advanced Micro Devices, Inc. | Method and apparatus for detecting a sinusoidal signal |
US7054786B2 (en) | 2000-07-04 | 2006-05-30 | Tokyo Electron Limited | Operation monitoring method for treatment apparatus |
US6715062B1 (en) * | 2000-07-26 | 2004-03-30 | International Business Machines Corporation | Processor and method for performing a hardware test during instruction execution in a normal mode |
US6725402B1 (en) | 2000-07-31 | 2004-04-20 | Advanced Micro Devices, Inc. | Method and apparatus for fault detection of a processing tool and control thereof using an advanced process control (APC) framework |
ATE423339T1 (de) * | 2001-04-26 | 2009-03-15 | Abb As | Verfahren zur uberwachung und zum erkennen eines sensorausfalls in öl- und gasproduktionssystemen |
KR100468162B1 (ko) * | 2001-08-10 | 2005-01-26 | 삼성전자주식회사 | 비대칭에러 보정장치 및 그 방법과, 이를 적용한 광학재생 시스템의 클럭복원장치 |
US6888497B2 (en) * | 2002-12-27 | 2005-05-03 | Motorola, Inc. | Method and mobile station for determining a code phase |
US7344882B2 (en) | 2003-05-12 | 2008-03-18 | Bristol-Myers Squibb Company | Polynucleotides encoding variants of the TRP channel family member, LTRPC3 |
JP2005202766A (ja) * | 2004-01-16 | 2005-07-28 | National Institute Of Information & Communication Technology | 類似コンテンツの同時提示システム |
US7958430B1 (en) * | 2005-06-20 | 2011-06-07 | Cypress Semiconductor Corporation | Flash memory device and method |
-
2007
- 2007-09-27 US US12/443,627 patent/US8572472B2/en active Active
- 2007-09-27 JP JP2008536422A patent/JP4942756B2/ja active Active
- 2007-09-27 KR KR1020097006039A patent/KR101029394B1/ko active IP Right Grant
- 2007-09-27 WO PCT/JP2007/068802 patent/WO2008038710A1/ja active Search and Examination
- 2007-09-27 CN CN200780036315XA patent/CN101523307B/zh active Active
- 2007-09-27 DE DE112007002244T patent/DE112007002244T5/de not_active Withdrawn
- 2007-09-28 TW TW096136131A patent/TWI348129B/zh active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5723118A (en) * | 1980-07-17 | 1982-02-06 | Meidensha Electric Mfg Co Ltd | Detection system for scattered error data |
JPH04367003A (ja) * | 1991-06-14 | 1992-12-18 | Tokyo Keisan Service Kk | シーケンス制御回路用異常検出回路 |
JPH08221116A (ja) * | 1995-02-20 | 1996-08-30 | Hitachi Ltd | 診断機能付きディジタル入力装置 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016099879A (ja) * | 2014-11-25 | 2016-05-30 | 株式会社日立製作所 | 制御コントローラおよびその制御方法 |
WO2018131497A1 (ja) * | 2017-01-12 | 2018-07-19 | 富士フイルム株式会社 | 状態判定装置 |
JPWO2018131497A1 (ja) * | 2017-01-12 | 2019-11-07 | 富士フイルム株式会社 | 状態判定装置 |
US11167550B2 (en) | 2017-01-12 | 2021-11-09 | Fujifilm Corporation | Redundant sensor data serialization, sensed state determination and sensor malfunction diagnosis apparatus |
Also Published As
Publication number | Publication date |
---|---|
TW200821997A (en) | 2008-05-16 |
US20100100799A1 (en) | 2010-04-22 |
TWI348129B (en) | 2011-09-01 |
JPWO2008038710A1 (ja) | 2010-01-28 |
KR20090045378A (ko) | 2009-05-07 |
KR101029394B1 (ko) | 2011-04-15 |
DE112007002244T5 (de) | 2009-07-30 |
US8572472B2 (en) | 2013-10-29 |
CN101523307B (zh) | 2011-06-15 |
JP4942756B2 (ja) | 2012-05-30 |
CN101523307A (zh) | 2009-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2008038710A1 (fr) | Détecteur de défauts, procédé et programme de détection de défauts | |
US10359469B2 (en) | Non-intrusive on-chip analog test/trim/calibrate subsystem | |
CN107005753B (zh) | 用于发送和接收传感器信号的设备 | |
JP2007518974A (ja) | 拡張ハードウェアエラー検出を備えたプロセス測定装置 | |
US11940869B2 (en) | Determining functional safety state using software-based ternary state translation of analog input | |
US20220382239A1 (en) | Ensuring Functional Safety Requirement Satisfaction For Ouput Determination and Output of Safety Messages | |
DK2835700T3 (en) | Method for parameterizing field apparatus | |
CN110632525A (zh) | 准实时传感器测量验证 | |
JP5731141B2 (ja) | アナログ信号入力装置 | |
US8717066B2 (en) | Clock diagnosis circuit | |
US20230163772A1 (en) | Fault detection within an analog-to-digital converter | |
JP2021022206A (ja) | 産業用制御装置の入力モジュール | |
US20220382243A1 (en) | Switching between safety and non-safety states using a remote controller while ensuring functional safety requirement satisfaction | |
US9519565B2 (en) | Method for automatically monitoring at least one component of a physical system | |
KR102286344B1 (ko) | 아날로그-디지털 변환 장치 및 아날로그-디지털 변환 장치의 동작 방법 | |
JP6705732B2 (ja) | アナログ出力装置 | |
US20240337988A1 (en) | Switching between safety and non-safety states using a remote controller while ensuring functional safety requirement satisfaction | |
US10528417B2 (en) | Clock signal inspection device, plant monitoring controller, and method for diagnosing clock signal inspection device | |
WO2023286517A1 (ja) | 故障検出装置及び故障検出方法 | |
JP6946914B2 (ja) | 電子制御装置 | |
WO2022190539A1 (ja) | スイッチシステム及びスイッチ | |
KR20240029660A (ko) | 차량 진단 장치 및 방법 | |
WO2022251388A2 (en) | Ensuring functional safety requirement satisfaction using fault-detectable microcontroller identifiers | |
JP5430388B2 (ja) | 負荷制御回路 | |
JP6813963B2 (ja) | 作動状態記録システム及び作動状態記録方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 200780036315.X Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07828548 Country of ref document: EP Kind code of ref document: A1 |
|
DPE1 | Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101) | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2008536422 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020097006039 Country of ref document: KR |
|
WWE | Wipo information: entry into national phase |
Ref document number: 12443627 Country of ref document: US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1120070022442 Country of ref document: DE |
|
RET | De translation (de og part 6b) |
Ref document number: 112007002244 Country of ref document: DE Date of ref document: 20090730 Kind code of ref document: P |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07828548 Country of ref document: EP Kind code of ref document: A1 |
|
REG | Reference to national code |
Ref country code: DE Ref legal event code: 8607 |
|
DPE1 | Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101) |