JP2013054427A - Diagnostic output device - Google Patents

Diagnostic output device Download PDF

Info

Publication number
JP2013054427A
JP2013054427A JP2011190481A JP2011190481A JP2013054427A JP 2013054427 A JP2013054427 A JP 2013054427A JP 2011190481 A JP2011190481 A JP 2011190481A JP 2011190481 A JP2011190481 A JP 2011190481A JP 2013054427 A JP2013054427 A JP 2013054427A
Authority
JP
Japan
Prior art keywords
output
signal
circuit
detection
selection
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2011190481A
Other languages
Japanese (ja)
Inventor
Hiroshi Nakatani
博司 中谷
Naoya Onishi
直哉 大西
Jun Takehara
潤 竹原
Yoshitomi Sameda
芳富 鮫田
Makoto Toko
誠 登古
Fumitaka Mori
文隆 毛利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2011190481A priority Critical patent/JP2013054427A/en
Publication of JP2013054427A publication Critical patent/JP2013054427A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To reduce the possibility of abnormal contact between signals of detection circuits and an internal logic module and to reduce the number of input terminals and the circuit scale between the detection circuits and the internal logic module.SOLUTION: A diagnostic output device includes a selection circuit and an internal logic module. The selection circuit allows one of detection signals sent from respective detection circuits to selectively pass therethrough. At this time, the selection circuit allows, on the basis of an input selection signal, a detection signal sent from a detection circuit connected to an output circuit indicated by the selection signal to pass therethrough. While individually inputting output operation signals to respective output circuits, the internal logic module diagnoses whether an output signal has been outputted in accordance with a corresponding output operation signal or not on the basis of the detection signal which has passed through the selection circuit.

Description

本発明の実施形態は、診断付き出力装置に関する。   Embodiments described herein relate generally to an output device with diagnosis.

近年、装置の製造者・供給者に対し、国際標準の機能安全規格が国際電気標準化会議の規格IEC61508「電気・電子・プログラマブル電子安全関連系の機能安全」として纏められている。更に、システムの設計者・インテグレータ・ユーザに対しては、国際標準のプロセス用アプリケーション規格として、IEC61508が発行されている。   In recent years, international functional safety standards have been compiled as standard IEC 61508 “Functional safety of electrical / electronic / programmable electronic safety-related systems” of the International Electrotechnical Commission for equipment manufacturers and suppliers. Further, IEC 61508 is issued as an international standard process application standard for system designers, integrators, and users.

これらの規格では、システムの設計、保守、廃棄に至るライフサイクルの安全を評価し、リスク軽減の要求レベルである安全度水準(SIL; Safety Integrity Level)を定量的な評価尺度として定めている。   These standards assess the safety of the life cycle from system design, maintenance, and disposal, and define the safety integrity level (SIL), which is a required level of risk reduction, as a quantitative evaluation scale.

ここで、プラントなどを安全に停止させる安全計装システム等においては、前述した安全度水準を高めるために、高い安全性と信頼性が求められる。例えば、安全計装システム等では、制御装置の出力回路の故障・誤動作によって、誤った制御信号が出力されることにより、外部機器が異常な状態となることを避ける必要がある。誤った制御信号の出力を避けるためには、出力回路が正常に動作しているか否かを判別する必要がある。一般的には、外部への制御信号を機器内部で読み返すことで、出力回路が正常に動作しているか否かを判別するリードバック入力方法がある。   Here, in a safety instrumentation system or the like for safely stopping a plant or the like, high safety and reliability are required in order to increase the above-described safety level. For example, in a safety instrumented system or the like, it is necessary to avoid an external device from being in an abnormal state due to an erroneous control signal being output due to a failure or malfunction of an output circuit of a control device. In order to avoid erroneous control signal output, it is necessary to determine whether or not the output circuit is operating normally. In general, there is a readback input method for determining whether an output circuit is operating normally by reading back an external control signal inside the device.

特開2010−277220号公報JP 2010-277220 A

しかしながら、以上のようなリードバック入力方法は、通常は何の問題もないが、本発明者の検討によれば、次のような不都合がある。   However, the readback input method as described above usually has no problem, but according to the study of the present inventor, there are the following disadvantages.

例えば、複数の出力端を備える診断付き出力装置の場合、各出力端に対してそれぞれ検出回路−内部ロジック間の接続が必要となる。これに伴い、内部ロジック側の入力端子数及び回路規模が膨大となってしまう不都合と、検出回路−内部ロジック間の信号が混触することにより、診断誤りが生じ易くなる不都合とがある。   For example, in the case of an output device with diagnosis having a plurality of output terminals, a connection between the detection circuit and the internal logic is required for each output terminal. As a result, the number of input terminals on the internal logic side and the circuit scale become enormous, and there are inconveniences that a diagnosis error is likely to occur due to a mixture of signals between the detection circuit and the internal logic.

本発明が解決しようとする課題は、検出回路−内部ロジック間の信号混触の可能性を低減すると共に、検出回路−内部ロジック間の入力端子数及び回路規模を縮小し得る診断付き出力装置を提供することである。   The problem to be solved by the present invention is to provide a diagnostic output device capable of reducing the possibility of signal contact between the detection circuit and the internal logic, and reducing the number of input terminals and the circuit scale between the detection circuit and the internal logic. It is to be.

実施形態の診断付き出力装置は、複数の出力端、複数の出力回路、複数の検出回路、選択回路及び内部ロジックモジュールを備えている。   The output device with diagnosis according to the embodiment includes a plurality of output terminals, a plurality of output circuits, a plurality of detection circuits, a selection circuit, and an internal logic module.

前記複数の出力端は、複数の出力信号を個別に出力する。   The plurality of output terminals individually output a plurality of output signals.

前記複数の出力回路は、入力された出力操作信号に個別に応じて出力信号を前記各出力端のいずれかに出力する。   The plurality of output circuits output an output signal to any one of the output terminals in accordance with the input output operation signal.

前記複数の検出回路は、前記各出力回路と前記各出力端との間の出力信号を個別に検出して検出信号を送出する。   The plurality of detection circuits individually detect output signals between the output circuits and the output terminals and send out detection signals.

前記選択回路は、前記各検出回路から送出される検出信号のうちの1つの検出信号を選択的に通過させる。前記選択回路は、入力された選択信号に基づいて、前記選択信号が示す出力回路に接続された検出回路から送出された検出信号を通過させる。   The selection circuit selectively passes one detection signal among the detection signals transmitted from the detection circuits. The selection circuit passes a detection signal transmitted from a detection circuit connected to an output circuit indicated by the selection signal based on the input selection signal.

前記内部ロジックモジュールは、前記出力操作信号を前記各出力回路に個別に入力する一方、前記選択回路を通過した検出信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する。   The internal logic module individually inputs the output operation signal to each of the output circuits, and determines whether an output signal is output according to the output operation signal based on the detection signal that has passed through the selection circuit. Diagnose.

前記内部ロジックモジュールは、選択信号入力モジュール、出力操作信号入力モジュール及び判定モジュールを備えている。   The internal logic module includes a selection signal input module, an output operation signal input module, and a determination module.

前記選択信号入力モジュールは、定期的又は不定期に前記各出力回路のうちの1つの出力回路を選択し、当該選択した出力回路を示す選択信号を前記選択回路に入力する。   The selection signal input module selects one output circuit among the output circuits regularly or irregularly, and inputs a selection signal indicating the selected output circuit to the selection circuit.

前記出力操作信号入力モジュールは、前記選択された出力回路に前記出力操作信号を入力する。   The output operation signal input module inputs the output operation signal to the selected output circuit.

前記判定モジュールは、前記出力操作信号入力モジュールにより入力された出力操作信号と、前記選択回路を通過した検出信号とが一致するか否かを判定することにより、前記診断を実行する。   The determination module performs the diagnosis by determining whether or not the output operation signal input by the output operation signal input module matches the detection signal that has passed through the selection circuit.

第1の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。It is a schematic diagram which shows the output device with a diagnosis which concerns on 1st Embodiment, and its periphery structure. 同実施形態における信号波形を示す模式図である。It is a schematic diagram which shows the signal waveform in the same embodiment. 第2の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。It is a schematic diagram which shows the output device with a diagnosis which concerns on 2nd Embodiment, and its periphery structure. 同実施形態における信号波形を示す模式図である。It is a schematic diagram which shows the signal waveform in the same embodiment. 第3の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。It is a schematic diagram which shows the output device with a diagnosis which concerns on 3rd Embodiment, and its periphery structure. 同実施形態における信号波形を示す模式図である。It is a schematic diagram which shows the signal waveform in the same embodiment. 第4の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。It is a schematic diagram which shows the output device with a diagnosis which concerns on 4th Embodiment, and its periphery structure. 第5の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。It is a schematic diagram which shows the output device with a diagnosis which concerns on 5th Embodiment, and its periphery structure. 第6の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。It is a schematic diagram which shows the output device with a diagnosis which concerns on 6th Embodiment, and its periphery structure. 同実施形態における信号波形を示す模式図である。It is a schematic diagram which shows the signal waveform in the same embodiment. 第7の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。It is a schematic diagram which shows the output apparatus with a diagnosis which concerns on 7th Embodiment, and its periphery structure. 同実施形態における信号波形を示す模式図である。It is a schematic diagram which shows the signal waveform in the same embodiment. 第8の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。It is a schematic diagram which shows the output device with a diagnosis which concerns on 8th Embodiment, and its periphery structure.

以下、各実施形態について図面を用いて説明する。   Each embodiment will be described below with reference to the drawings.

<第1の実施形態>
図1は第1の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。この診断付き出力装置1は、複数の出力端1c1〜1c3、複数の出力回路121〜123、複数の検出回路131〜133、選択回路14及び内部ロジックモジュール11を備えている。なお、各出力端1c1〜1c3、各出力回路121〜123及び各検出回路131〜133は、互いに同じ個数分だけ設けられており、3系統に限らず、任意の複数個を設けることが可能である。
<First Embodiment>
FIG. 1 is a schematic diagram illustrating an output device with diagnosis and a peripheral configuration thereof according to the first embodiment. The output device with diagnosis 1 includes a plurality of output terminals 1c1 to 1c3, a plurality of output circuits 121 to 123, a plurality of detection circuits 131 to 133, a selection circuit 14, and an internal logic module 11. Note that the output terminals 1c1 to 1c3, the output circuits 121 to 123, and the detection circuits 131 to 133 are provided in the same number as each other. is there.

ここで、各出力端1c1〜1c3は、各出力回路121〜123から個別に出力された複数の出力信号を個別に負荷3に出力するためのものである。   Here, the output terminals 1c1 to 1c3 are for individually outputting a plurality of output signals output from the output circuits 121 to 123 to the load 3, respectively.

各出力回路121〜123は、電源2と負荷3とを接続する信号線を出力操作信号に応じてオンオフするスイッチング回路であり、具体的には、内部ロジックモジュール11から入力された出力操作信号に個別に応じて出力信号を各出力端1c1〜1c3のいずれかに出力する機能をもっている。   Each of the output circuits 121 to 123 is a switching circuit that turns on / off a signal line connecting the power source 2 and the load 3 according to an output operation signal. Specifically, the output circuits 121 to 123 are connected to the output operation signal input from the internal logic module 11. It has a function of outputting an output signal to any one of the output terminals 1c1 to 1c3 according to the individual case.

各検出回路131〜133は、各出力回路121〜123と各出力端1c1〜1c3との間の出力信号を個別に検出して検出信号を選択回路14に送出する機能をもっている。   Each of the detection circuits 131 to 133 has a function of individually detecting an output signal between each of the output circuits 121 to 123 and each of the output terminals 1c1 to 1c3 and sending the detection signal to the selection circuit 14.

選択回路14は、選択信号に応じて複数の入力信号から単一の出力信号を出力するマルチプレクサ機構であり、例えば、内部ロジックモジュール11から入力された選択信号に基づいて、当該選択信号が示す出力回路121〜123に接続された検出回路131〜133から送出された検出信号を内部ロジックモジュール11に通過させる機能をもっている。   The selection circuit 14 is a multiplexer mechanism that outputs a single output signal from a plurality of input signals in accordance with the selection signal. For example, based on the selection signal input from the internal logic module 11, an output indicated by the selection signal The internal logic module 11 has a function of passing detection signals sent from the detection circuits 131 to 133 connected to the circuits 121 to 123.

内部ロジックモジュール11は、出力操作信号を各出力回路121〜123に個別に入力する一方、選択回路14を通過した検出信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する機能をもっている。   The internal logic module 11 individually inputs an output operation signal to each of the output circuits 121 to 123, and whether or not an output signal is output according to the output operation signal based on the detection signal that has passed through the selection circuit 14. It has a function to diagnose.

具体的には内部ロジックモジュール11は、出力制御部111及び診断部112を備えている。   Specifically, the internal logic module 11 includes an output control unit 111 and a diagnosis unit 112.

出力制御部111は、診断部112により選択された出力回路(例、121)に出力操作信号を入力する出力操作信号入力機能をもっている。   The output control unit 111 has an output operation signal input function for inputting an output operation signal to the output circuit (for example, 121) selected by the diagnosis unit 112.

診断部112は、以下の各機能(f112-1)〜(f112-2)をもっている。   The diagnosis unit 112 has the following functions (f112-1) to (f112-2).

(f112-1) 定期的又は不定期に各出力回路121〜123のうちの1つの出力回路(例、121)を選択し、当該選択した出力回路(例、121)を示す選択信号を選択回路14に入力する選択信号入力機能。   (f112-1) One output circuit (for example, 121) is selected from the output circuits 121 to 123 regularly or irregularly, and a selection signal indicating the selected output circuit (for example, 121) is selected. 14 is a selection signal input function.

(f112-2) 出力制御部111により入力された出力操作信号と、選択回路14を通過した検出信号とが一致するか否かを判定することにより、診断を実行する判定機能。   (f112-2) A determination function for executing diagnosis by determining whether or not the output operation signal input by the output control unit 111 matches the detection signal that has passed through the selection circuit 14.

なお、内部ロジックモジュール11は、ハードウェア構成、又はハードウェア資源とソフトウェアとの組合せ構成のいずれでも実施可能となっており、これは以下の各実施形態でも同様である。例えば図1中、内部ロジックモジュール11内の出力制御部111は、ハードウェア構成のAND回路及びI/Oポートを有する構成として示したが、これに限らず、例えばAND回路をハードウェア資源(例、メモリ及びCPU)とソフトウェア(プログラム)との組合せ構成として実施してもよい。また、「モジュール」の語は、適宜、「ユニット」又は「デバイス」等と読み替えてもよい。   The internal logic module 11 can be implemented with either a hardware configuration or a combination configuration of hardware resources and software, and this is the same in the following embodiments. For example, in FIG. 1, the output control unit 111 in the internal logic module 11 is shown as a configuration having an AND circuit and an I / O port having a hardware configuration. However, the configuration is not limited thereto. , Memory and CPU) and software (program) may be combined. The term “module” may be read as “unit” or “device” as appropriate.

また、内部ロジックモジュール11は、出力制御部111及び診断部112を一定的に構成することにより、診断部112から出力制御部111に入力する信号及び信号線を省略してもよく、このことは以下の各実施形態でも同様である。   Further, the internal logic module 11 may omit the signals and signal lines input from the diagnosis unit 112 to the output control unit 111 by configuring the output control unit 111 and the diagnosis unit 112 to be constant. The same applies to the following embodiments.

次に、以上のように構成された診断付き出力装置の動作を説明する。   Next, the operation of the output device with diagnosis configured as described above will be described.

始めに、出力制御部111は、出力診断を行わない期間中、負荷3を制御するための通常の出力信号を装置外に出力するための出力操作信号を各出力回路121〜123にそれぞれ送出する。   First, the output control unit 111 sends an output operation signal for outputting a normal output signal for controlling the load 3 to the output circuits 121 to 123 during the period when the output diagnosis is not performed. .

出力回路121〜123は、出力操作信号を受けて、電源2と負荷3を接続する信号線をオン・オフ操作することにより、出力端1c1〜1c3を個別に介して負荷3に出力信号を出力する。   In response to the output operation signal, the output circuits 121 to 123 turn on / off the signal line connecting the power source 2 and the load 3 to output the output signal to the load 3 individually through the output terminals 1c1 to 1c3. To do.

そして、診断付き出力装置1は、定期的もしくは任意のタイミングで、各出力回路121〜123の出力信号を診断する。ここでは、図2(a)に示すように、定期的に診断する例について述べる。   And the output apparatus 1 with a diagnosis diagnoses the output signal of each output circuit 121-123 regularly or at arbitrary timings. Here, as shown in FIG. 2A, an example of regular diagnosis will be described.

診断部112は、診断を行うタイミングと診断を行う出力回路121〜123を選択し、例えば選択した出力回路121を診断対象として、図2(d)に示す如き、パルス波形をもつ診断パルス用内部信号S12を出力制御部111に送出する。なお、診断パルス用内部信号は、一度に1つの出力回路に対してのみ発行される。   The diagnosis unit 112 selects the diagnosis timing and the output circuits 121 to 123 for diagnosis. For example, the diagnosis circuit 112 uses the selected output circuit 121 as a diagnosis target and has a pulse waveform as shown in FIG. The signal S12 is sent to the output control unit 111. The diagnostic pulse internal signal is issued to only one output circuit at a time.

出力制御部111は、図2(c)に示す如き、通常制御用内部信号S11と、この診断パルス用内部信号S12との論理積(S13=S11・S12)を演算し、図2(e)に示す如き、出力操作信号を出力回路121に入力する。   The output control unit 111 calculates a logical product (S13 = S11 · S12) of the normal control internal signal S11 and the diagnostic pulse internal signal S12 as shown in FIG. The output operation signal is input to the output circuit 121 as shown in FIG.

また、出力操作信号が出力回路121に入力されるタイミングで、診断部112は選択回路14に対し、図2(b)に示すように、どの出力回路を診断するかの情報を示す選択信号を出力する。ここで、選択信号の信号線はパラレルバスの形態を採る。例えば8個の出力回路No.0〜No.7が存在する場合、選択信号の信号線は3ビットのパラレルバスで構成される。この場合、1個目の出力回路No.0への選択信号は2進数の“000”となり、4個目の出力回路No.5を指定する選択信号は2進数の“101”となる。補足すると、図2(b)に示す選択信号は10進数で表しているが、実際には2進数の情報となっている。   Also, at the timing when the output operation signal is input to the output circuit 121, the diagnosis unit 112 sends a selection signal indicating information on which output circuit is to be diagnosed to the selection circuit 14, as shown in FIG. Output. Here, the signal line of the selection signal takes the form of a parallel bus. For example, eight output circuits No. 0-No. When 7 exists, the signal line of the selection signal is constituted by a 3-bit parallel bus. In this case, the first output circuit No. The selection signal to 0 is binary “000” and the fourth output circuit No. The selection signal for designating 5 is the binary number “101”. Supplementally, the selection signal shown in FIG. 2B is expressed in decimal numbers, but is actually binary information.

出力回路121は、通常の出力信号と同様に、出力操作信号を受けて電源2と負荷3を接続する信号線をオン・オフ操作することにより、図2(f)に示すように、パルス波形の出力信号を出力端1c1に出力する。通常、出力信号はLo方向の方形波の形態を採る。   As shown in FIG. 2 (f), the output circuit 121 receives an output operation signal and turns on / off the signal line connecting the power source 2 and the load 3 as shown in FIG. Is output to the output terminal 1c1. Normally, the output signal takes the form of a square wave in the Lo direction.

出力信号は、負荷3と同時に、検出回路131にも入力される。検出回路131は、入力された出力信号を検出信号に変換し、図2(g)に示すように、検出信号を選択回路14に送出する。   The output signal is input to the detection circuit 131 simultaneously with the load 3. The detection circuit 131 converts the input output signal into a detection signal, and sends the detection signal to the selection circuit 14 as shown in FIG.

選択回路14は、診断部112からの選択信号により、図2(l)に示すように、選択された出力回路121に接続された検出回路131から受けた検出信号を通過させて内部ロジックモジュール11に送出する。   The selection circuit 14 allows the detection signal received from the detection circuit 131 connected to the selected output circuit 121 to pass through the internal logic module 11 as shown in FIG. To send.

内部ロジックモジュール11の診断部112は、出力制御部111により入力された出力操作信号(図2(e))と、選択回路14を通過した検出信号(図2(l))とが一致するか否かを判定する。   The diagnosis unit 112 of the internal logic module 11 determines whether the output operation signal (FIG. 2E) input by the output control unit 111 matches the detection signal that has passed through the selection circuit 14 (FIG. 2L). Determine whether or not.

この判定の結果、両者が一致したとき、診断部112は、出力制御部111に送出したパルス波形の信号が出力回路121、検出回路121及び選択回路14を介して帰還した旨を診断する。   As a result of the determination, when both match, the diagnosis unit 112 diagnoses that the pulse waveform signal sent to the output control unit 111 has returned via the output circuit 121, the detection circuit 121, and the selection circuit 14.

すなわち、診断部112が指定したパルス波形の送出先が出力回路121の場合、検出信号から送出波形と同様のパルス波形が帰ってくれば、出力制御部111から出力回路121、検出回路131及び選択回路14を介して診断部112に至るまでの一連の出力系統に属する各ブロックが正常に機能していることを確認できる。換言すると、パルス波形の信号を送出したにも関わらず、パルス波形の検出信号を確認できないとすれば、出力系統に属する各ブロックのうち1つ以上のブロックが故障しているか、ブロック間を結ぶ信号線にトラブルが起こっていることを検出できる。   That is, when the pulse waveform transmission destination designated by the diagnosis unit 112 is the output circuit 121, if the pulse waveform similar to the transmission waveform returns from the detection signal, the output control unit 111 outputs the output circuit 121, the detection circuit 131, and the selection. It can be confirmed that each block belonging to a series of output systems up to the diagnosis unit 112 via the circuit 14 functions normally. In other words, if the pulse waveform detection signal cannot be confirmed even though the pulse waveform signal is transmitted, one or more of the blocks belonging to the output system have failed or the blocks are connected. It is possible to detect that a trouble has occurred in the signal line.

次に、出力回路122を診断対象とする場合、前述同様に、出力制御部111は、図2(h)に示す如き、出力操作信号を出力回路122に入力する。   Next, when the output circuit 122 is to be diagnosed, the output control unit 111 inputs an output operation signal to the output circuit 122 as shown in FIG.

出力回路122は、操作出力信号に応じてパルス波形の出力信号を出力端1c2に出力する。検出回路132は、この出力信号を検出信号に変換し、図2(i)に示すように、検出信号を選択回路14に送出する。   The output circuit 122 outputs an output signal having a pulse waveform to the output terminal 1c2 in accordance with the operation output signal. The detection circuit 132 converts this output signal into a detection signal, and sends the detection signal to the selection circuit 14 as shown in FIG.

選択回路14は、診断部112からの選択信号“1”(=001)により、図2(l)に示すように、選択された出力回路122に接続された検出回路132から受けた検出信号を通過させて内部ロジックモジュール11に送出する。   The selection circuit 14 receives the detection signal received from the detection circuit 132 connected to the selected output circuit 122 by the selection signal “1” (= 001) from the diagnosis unit 112 as shown in FIG. Pass through and send to internal logic module 11.

内部ロジックモジュール11の診断部112は、出力制御部111により入力された出力操作信号(図2(h))と、選択回路14を通過した検出信号(図2(l))とが一致するか否かを判定する。   The diagnosis unit 112 of the internal logic module 11 determines whether the output operation signal (FIG. 2 (h)) input by the output control unit 111 matches the detection signal (FIG. 2 (l)) that has passed through the selection circuit 14. Determine whether or not.

この判定の結果、両者が一致したとき、診断部112は、出力制御部111に送出したパルス波形の信号が出力回路122、検出回路122及び選択回路14を介して帰還した旨を診断する。   As a result of this determination, when the two match, the diagnosis unit 112 diagnoses that the pulse waveform signal sent to the output control unit 111 has returned via the output circuit 122, the detection circuit 122, and the selection circuit 14.

以上の動作は、出力回路123を診断対象とする場合でも、図2(b)に示す選択信号“2”(=010)と、図2(j)に示す出力操作信号と、図2(k)及び図2(l)に示す検出信号とを用いて同様に実行される。   The above operation is performed even when the output circuit 123 is a diagnosis target, the selection signal “2” (= 010) shown in FIG. 2B, the output operation signal shown in FIG. ) And the detection signal shown in FIG. 2 (l).

上述したように本実施形態によれば、各検出回路131〜133から送出される検出信号のうちの1つの検出信号を選択的に通過させて内部ロジックモジュール11に送出する選択回路14を備えた構成により、検出回路−内部ロジック間の信号混触の可能性を低減すると共に、検出回路−内部ロジック間の入力端子数及び回路規模を縮小することができる。   As described above, according to this embodiment, the selection circuit 14 that selectively passes one detection signal among the detection signals transmitted from the detection circuits 131 to 133 and transmits the detection signal to the internal logic module 11 is provided. With the configuration, the possibility of signal contact between the detection circuit and the internal logic can be reduced, and the number of input terminals and the circuit scale between the detection circuit and the internal logic can be reduced.

補足すると、複数の出力回路121〜123を備えた診断付き出力装置1内の各信号経路はそれぞれ他の信号経路と信号混触を起こし得るが、選択回路14と内部ロジックモジュール11との間の信号は、信号線が1本に集約されているため、混触が起こりえない。   Supplementally, each signal path in the diagnostic output device 1 having a plurality of output circuits 121 to 123 may cause signal contact with other signal paths, but the signal between the selection circuit 14 and the internal logic module 11 may be different. Since the signal lines are integrated into one, no contact can occur.

また、パルス波形の信号は、他の信号線との混触・相互作用によるノイズ増大を避けるため、一度に1つの出力回路に対してのみ発行される。このため、選択回路14により検出回路131〜133と内部ロジックモジュール11との間の信号線を1本に統合しても、差支えが無い。   In addition, a pulse waveform signal is issued to only one output circuit at a time in order to avoid an increase in noise due to contact / interaction with other signal lines. For this reason, even if the selection circuit 14 integrates the signal lines between the detection circuits 131 to 133 and the internal logic module 11, there is no problem.

<第2の実施形態>
図3は第2の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図であり、図1と同一機能には同一の符号を付してその詳しい説明を省略し、ここでは異なる機能について主に述べる。なお、以下の各実施形態も同様にして重複する機能の説明を省略する。
<Second Embodiment>
FIG. 3 is a schematic diagram showing an output device with diagnosis and its peripheral configuration according to the second embodiment. The same functions as those in FIG. Is mainly described. In addition, description of the function which overlaps also in each following embodiment similarly is abbreviate | omitted.

第2の実施形態は、第1の実施形態の変形例であり、図1に示した選択回路14に代えて、輪番選択回路15を備えている。   The second embodiment is a modification of the first embodiment, and includes a ring number selection circuit 15 instead of the selection circuit 14 shown in FIG.

ここで、輪番選択回路15は、各検出回路131〜133のうちの1つの検出回路から受ける検出信号を選択的に通過させる回路であって、入力された切り替え信号に基づいて、通過させる検出信号を輪番で切り替える機能をもっている。   Here, the ring number selection circuit 15 is a circuit that selectively passes a detection signal received from one of the detection circuits 131 to 133, and is a detection signal that is passed based on the input switching signal. It has the function to switch between with a rotation number.

これに伴い、内部ロジックモジュール11は、出力操作信号を各出力回路121〜123に個別に入力する一方、輪番選択回路15を通過した検出信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する機能をもっている。   Accordingly, the internal logic module 11 individually inputs the output operation signal to each of the output circuits 121 to 123, while the output signal is output according to the output operation signal based on the detection signal that has passed through the wheel number selection circuit 15. It has a function to diagnose whether it has been output.

具体的には診断部112が、以下の各機能(f112-1’)〜(f112-2’)をもっている。   Specifically, the diagnosis unit 112 has the following functions (f112-1 ′) to (f112-2 ′).

(f112-1’)定期的又は不定期に各出力回路121〜123のうちの1つの出力回路(例、121)を輪番で選択し、当該選択した出力回路(例、121)を示す切り替え信号を輪番選択回路15に入力する切り替え信号入力機能。   (f112-1 ′) A switching signal indicating one output circuit (eg, 121) among the output circuits 121 to 123 at regular or irregular intervals by a rotation number and indicating the selected output circuit (eg, 121) Is a switching signal input function for inputting to the ring number selection circuit 15.

(f112-2’)出力制御部111により入力された出力操作信号と、輪番選択回路15を通過した検出信号とが一致するか否かを判定することにより、診断を実行する判定機能。   (f112-2 ′) A determination function for executing diagnosis by determining whether or not the output operation signal input by the output control unit 111 matches the detection signal that has passed through the wheel number selection circuit 15.

なお、出力制御部111は、前述同様の出力操作信号入力機能をもっている。   The output control unit 111 has an output operation signal input function similar to that described above.

次に、以上のように構成された診断付き出力装置の動作を説明する。   Next, the operation of the output device with diagnosis configured as described above will be described.

本実施形態の動作は、図4に示すように、診断対象となる出力回路121,…が輪番で回ることを除き、第1の実施形態と同様である。   As shown in FIG. 4, the operation of this embodiment is the same as that of the first embodiment, except that the output circuit 121,.

例えば、診断部112は、前述した選択信号の代わりに、図4(b’)に示すように、診断対象の出力回路121〜123を輪番で切り替えるための切り替え信号を発行し、この切り替え信号を輪番選択回路15に送出する。なお、この切り替え信号の信号線は、第1の実施形態の選択信号におけるパラレルバスとは異なり、輪番の切り替えタイミングを示すだけの1ビット信号線である。   For example, instead of the selection signal described above, the diagnosis unit 112 issues a switching signal for switching the output circuits 121 to 123 to be diagnosed with a rotation number as shown in FIG. This is sent to the ring number selection circuit 15. Note that the signal line for the switching signal is a 1-bit signal line that only indicates the switching timing of the rotation number, unlike the parallel bus in the selection signal of the first embodiment.

輪番選択回路15は、診断部112からの切り替え信号により、図2(l)に示すように、選択された出力回路121に接続された検出回路131から受けた検出信号を通過させて内部ロジックモジュール11に送出する。   In response to the switching signal from the diagnosis unit 112, the ring number selection circuit 15 passes the detection signal received from the detection circuit 131 connected to the selected output circuit 121 as shown in FIG. 11 to send.

内部ロジックモジュール11の診断部112は、出力制御部111により入力された出力操作信号(図2(e))と、輪番選択回路15を通過した検出信号(図2(l))とが一致するか否かを判定する。   The diagnosis unit 112 of the internal logic module 11 matches the output operation signal (FIG. 2 (e)) input by the output control unit 111 with the detection signal (FIG. 2 (l)) that has passed through the wheel number selection circuit 15. It is determined whether or not.

この判定の結果、両者が一致したとき、診断部112は、出力制御部111に送出したパルス波形の信号が出力回路121、検出回路121及び輪番選択回路15を介して帰還した旨を診断する。   As a result of the determination, when both match, the diagnosis unit 112 diagnoses that the pulse waveform signal sent to the output control unit 111 has returned via the output circuit 121, the detection circuit 121, and the wheel number selection circuit 15.

以上の動作は、出力回路122又は出力回路123を診断対象とする場合でも、診断対象となる出力回路122,123が輪番で回ることを除き、第1の実施形態と同様に実行される。   Even when the output circuit 122 or the output circuit 123 is to be diagnosed, the above operation is executed in the same manner as in the first embodiment, except that the output circuits 122 and 123 to be diagnosed rotate in a ring.

上述したように本実施形態によれば、出力回路121〜123を示す選択信号に代えて、出力回路121〜123を輪番で切り替える切り替え信号を用いた構成により、出力回路121〜123の個数を2進数で示す本数だけ用いる選択信号線に代えて、1本の切り替え信号線を用いることから、第1の実施形態の効果に加え、検出回路131〜133と内部ロジックモジュール11との間の入力端子数及び回路規模をさらに縮小することができる。   As described above, according to the present embodiment, instead of the selection signal indicating the output circuits 121 to 123, the number of the output circuits 121 to 123 is set to 2 by the configuration using the switching signal for switching the output circuits 121 to 123 by the rotation number. Since one switching signal line is used instead of the selection signal lines used in the number indicated by the decimal number, in addition to the effects of the first embodiment, an input terminal between the detection circuits 131 to 133 and the internal logic module 11 The number and circuit scale can be further reduced.

<第3の実施形態>
図5は第3の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。
<Third Embodiment>
FIG. 5 is a schematic diagram illustrating an output device with diagnosis and a peripheral configuration thereof according to the third embodiment.

第3の実施形態は、第1の実施形態の変形例であり、図1に示した診断部112と選択回路14との間の選択信号線に代えて、内部ロジックモジュール11と各出力回路121〜123との間と、選択回路14との間に設けられたコード化回路16を備えている。   The third embodiment is a modification of the first embodiment, and instead of the selection signal line between the diagnosis unit 112 and the selection circuit 14 illustrated in FIG. 1, the internal logic module 11 and each output circuit 121. ˜123 and the selection circuit 14 are provided with a coding circuit 16.

ここで、コード化回路16は、内部ロジックモジュール11から各出力回路121,…に個別に入力される出力操作信号を抽出し、当該抽出した出力操作信号をコード化することにより、当該出力操作信号が入力される出力回路121,…を示す選択信号を作成する機能をもっている。コード化回路16は、エンコーダ回路として構成される。   Here, the encoding circuit 16 extracts the output operation signal that is individually input from the internal logic module 11 to each of the output circuits 121,..., And encodes the extracted output operation signal. Has a function of creating a selection signal indicating the output circuits 121,. The encoding circuit 16 is configured as an encoder circuit.

これに伴い、選択回路14は、各検出回路131〜133から送出される検出信号のうちの1つの検出信号を選択的に通過させる回路であって、コード化回路16により作成された選択信号に基づいて、この選択信号が示す出力回路121,…に接続された検出回路131,…から送出された検出信号を通過させる機能をもっている。   Accordingly, the selection circuit 14 is a circuit that selectively passes one detection signal among the detection signals transmitted from the detection circuits 131 to 133, and the selection circuit 14 generates a selection signal generated by the encoding circuit 16. Based on this, the detection signal sent from the detection circuits 131,... Connected to the output circuits 121,.

また、診断部112は、以下の各機能(f112-1’’)〜(f112-2)をもっている。   The diagnosis unit 112 has the following functions (f112-1 ″) to (f112-2).

(f112-1’’) 定期的又は不定期に各出力回路121〜123のうちの1つの出力回路(例、121)を選択する出力回路選択機能。   (f112-1 ″) An output circuit selection function that selects one output circuit (for example, 121) among the output circuits 121 to 123 regularly or irregularly.

(f112-2) 出力制御部111により入力された出力操作信号と、選択回路14を通過した検出信号とが一致するか否かを判定することにより、診断を実行する判定機能。   (f112-2) A determination function for executing diagnosis by determining whether or not the output operation signal input by the output control unit 111 matches the detection signal that has passed through the selection circuit 14.

なお、出力制御部111は、前述同様の出力操作信号入力機能をもっている。   The output control unit 111 has an output operation signal input function similar to that described above.

次に、以上のように構成された診断付き出力装置の動作を説明する。   Next, the operation of the output device with diagnosis configured as described above will be described.

本実施形態の動作は、図5及び図6に示すように、診断部112が選択信号を選択回路14に入力しないことと、選択回路14に入力される選択信号がコード化回路16によって自動的に作成されることを除き、第1の実施形態と同様である。補足すると、本実施形態の動作においては、選択信号が作成される期間は、出力操作信号が内部ロジックモジュール11から各出力回路121〜123に入力される期間であるため、第1の実施形態における選択信号が作成される期間よりも短い。   As shown in FIGS. 5 and 6, the operation of this embodiment is that the diagnosis unit 112 does not input a selection signal to the selection circuit 14 and the selection signal input to the selection circuit 14 is automatically generated by the encoding circuit 16. This is the same as in the first embodiment except that it is created. Supplementally, in the operation of the present embodiment, the period during which the selection signal is created is a period in which the output operation signal is input from the internal logic module 11 to each of the output circuits 121 to 123. It is shorter than the period in which the selection signal is generated.

例えば、診断付き出力装置1は、定期的もしくは任意のタイミングで、各出力回路121〜123の出力信号を診断する。ここでは、図6(a)に示すように、定期的に診断する例について述べる。   For example, the diagnostic output device 1 diagnoses the output signals of the output circuits 121 to 123 periodically or at an arbitrary timing. Here, as shown in FIG. 6A, an example of regular diagnosis will be described.

診断部112は、診断を行うタイミングと診断を行う出力回路121〜123を選択し、例えば選択した出力回路121を診断対象として、パルス波形をもつ診断パルス用内部信号を出力制御部111に送出する。なお、診断パルス用内部信号は、一度に1つの出力回路に対してのみ発行される。   The diagnosis unit 112 selects the diagnosis timing and the output circuits 121 to 123 that perform the diagnosis. For example, the diagnosis unit 112 sends a diagnostic pulse internal signal having a pulse waveform to the output control unit 111 with the selected output circuit 121 as a diagnosis target. . The diagnostic pulse internal signal is issued to only one output circuit at a time.

出力制御部111は、通常制御用内部信号と、この診断パルス用内部信号との論理積を演算し、図6(e)に示す如き、出力操作信号を出力回路121に入力する。   The output control unit 111 calculates a logical product of the internal signal for normal control and the internal signal for diagnostic pulse, and inputs an output operation signal to the output circuit 121 as shown in FIG.

また、出力操作信号が出力回路121に入力されるタイミングで、コード化回路16は、選択回路14に対し、図6(b)に示すように、どの出力回路を診断するかの情報を示す選択信号を出力する。ここで、選択信号の信号線はパラレルバスの形態を採る。   In addition, at the timing when the output operation signal is input to the output circuit 121, the encoding circuit 16 selects information indicating which output circuit is to be diagnosed, as shown in FIG. Output a signal. Here, the signal line of the selection signal takes the form of a parallel bus.

出力回路121は、通常の出力信号と同様に、出力操作信号を受けて電源2と負荷3を接続する信号線をオン・オフ操作することにより、パルス波形の出力信号を出力端1c1に出力する。出力信号は、負荷3と同時に、検出回路131にも入力される。   The output circuit 121 outputs an output signal having a pulse waveform to the output terminal 1c1 by receiving an output operation signal and turning on / off the signal line connecting the power source 2 and the load 3 in the same manner as a normal output signal. . The output signal is input to the detection circuit 131 simultaneously with the load 3.

検出回路131は、入力された出力信号を検出信号に変換し、図6(g)に示すように、検出信号を選択回路14に送出する。   The detection circuit 131 converts the input output signal into a detection signal, and sends the detection signal to the selection circuit 14 as shown in FIG.

選択回路14は、コード化回路16からの選択信号により、図6(l)に示すように、選択された出力回路121に接続された検出回路131から受けた検出信号を通過させて内部ロジックモジュール11に送出する。   The selection circuit 14 passes the detection signal received from the detection circuit 131 connected to the selected output circuit 121 by the selection signal from the coding circuit 16 as shown in FIG. 11 to send.

内部ロジックモジュール11の診断部112は、出力制御部111により入力された出力操作信号(図2(e))と、選択回路14を通過した検出信号(図2(l))とが一致するか否かを判定する。   The diagnosis unit 112 of the internal logic module 11 determines whether the output operation signal (FIG. 2E) input by the output control unit 111 matches the detection signal that has passed through the selection circuit 14 (FIG. 2L). Determine whether or not.

この判定の結果、両者が一致したとき、診断部112は、出力制御部111に送出したパルス波形の信号が出力回路121、検出回路121及び選択回路14を介して帰還した旨を診断する。   As a result of the determination, when both match, the diagnosis unit 112 diagnoses that the pulse waveform signal sent to the output control unit 111 has returned via the output circuit 121, the detection circuit 121, and the selection circuit 14.

以上の動作は、出力回路122を診断対象とする場合でも、図6(b)に示す選択信号“1”(=001)と、図6(h)に示す出力操作信号と、図6(i)及び図6(l)に示す検出信号とを用いて同様に実行される。   The above operation is performed even when the output circuit 122 is a diagnosis target, the selection signal “1” (= 001) shown in FIG. 6B, the output operation signal shown in FIG. ) And the detection signal shown in FIG. 6 (l).

また、出力回路123を診断対象とする場合でも、図6(b)に示す選択信号“2”(=010)と、図6(j)に示す出力操作信号と、図6(k)及び図6(l)に示す検出信号とを用いて同様に実行される。   Even when the output circuit 123 is to be diagnosed, the selection signal “2” (= 010) shown in FIG. 6B, the output operation signal shown in FIG. 6J, and FIGS. This is similarly performed using the detection signal shown in 6 (l).

上述したように本実施形態によれば、各出力回路121,…に個別に入力される出力操作信号をコード化して選択信号を作成するコード化回路16を備えた構成により、第1の実施形態の効果に加え、選択信号のコントロールがコード化回路16により自動的に行われる為、内部ロジックモジュール11の内部回路又はソフトウエア設計を単純化することができる。   As described above, according to the present embodiment, the first embodiment has a configuration including the coding circuit 16 that codes the output operation signals individually input to the output circuits 121,. In addition to the above effect, the control of the selection signal is automatically performed by the coding circuit 16, so that the internal circuit or software design of the internal logic module 11 can be simplified.

<第4の実施形態>
図7は第4の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。
<Fourth Embodiment>
FIG. 7 is a schematic diagram showing an output device with diagnosis and its peripheral configuration according to the fourth embodiment.

第4の実施形態は、第1の実施形態の変形例であり、図1に示した選択回路14に代えて、複数の反転XOR回路171〜173及びAND回路18を備えている。また、図1に示した診断部112に代えて、診断動作部113を備えている。   The fourth embodiment is a modification of the first embodiment, and includes a plurality of inversion XOR circuits 171 to 173 and an AND circuit 18 instead of the selection circuit 14 shown in FIG. Further, a diagnosis operation unit 113 is provided instead of the diagnosis unit 112 shown in FIG.

ここで、複数の反転XOR回路171〜173は、各出力回路121〜123に個別に入力される出力操作信号と、各検出回路131〜133から送出された検出信号との排他的論理和を個別に演算し、この演算結果を反転させた個別診断信号をAND回路18に送出する機能をもっている。補足すると、反転XOR回路171は、出力回路121向けの出力操作信号と、検出回路131による検出信号とに関し、両信号が矛盾した場合にはロウレベル“Lo(ゼロ)”を示す個別診断信号を出力し、両信号が一致した場合にはハイレベル“Hi(1)”を示す個別診断信号を出力するものである。反転XOR回路172,173の機能も同様である。なお、「反転XOR回路171〜173」は「個別診断回路171〜173」と読み替えてもよい。   Here, the plurality of inverting XOR circuits 171 to 173 individually perform exclusive OR of output operation signals individually input to the output circuits 121 to 123 and detection signals sent from the detection circuits 131 to 133. And has a function of sending an individual diagnosis signal obtained by inverting the calculation result to the AND circuit 18. Supplementally, the inverting XOR circuit 171 outputs an individual diagnostic signal indicating a low level “Lo (zero)” when both signals are inconsistent with respect to the output operation signal for the output circuit 121 and the detection signal from the detection circuit 131. When both signals match, an individual diagnostic signal indicating a high level “Hi (1)” is output. The functions of the inverting XOR circuits 172 and 173 are the same. The “inverted XOR circuits 171 to 173” may be read as “individual diagnostic circuits 171 to 173”.

AND回路18は、複数の反転XOR回路171〜173から送出された個別診断信号の論理積を演算し、この演算結果を示す診断信号を内部ロジックモジュール11に送出する機能をもっている。ここで、診断信号は、ロウレベル“Lo(ゼロ)”又はハイレベル“Hi(1)”の演算結果を示している。なお、「AND回路18」は「診断回路18」と読み替えてもよい。   The AND circuit 18 has a function of calculating a logical product of the individual diagnostic signals transmitted from the plurality of inverting XOR circuits 171 to 173 and transmitting a diagnostic signal indicating the calculation result to the internal logic module 11. Here, the diagnostic signal indicates a calculation result of the low level “Lo (zero)” or the high level “Hi (1)”. “AND circuit 18” may be read as “diagnostic circuit 18”.

これに伴い、内部ロジックモジュール11は、出力操作信号を各出力回路121〜123に個別に入力する一方、AND回路18から送出された診断信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する機能をもっている。   Accordingly, the internal logic module 11 individually inputs the output operation signal to each of the output circuits 121 to 123, while the output signal is output according to the output operation signal based on the diagnostic signal sent from the AND circuit 18. It has a function to diagnose whether it has been output.

内部ロジックモジュール11内の診断動作部113は、以下の各機能(f113)〜(f113)をもっている。   The diagnostic operation unit 113 in the internal logic module 11 has the following functions (f113) to (f113).

(f113-1) 定期的又は不定期に各出力回路121〜123のうちの1つの出力回路(例、121)を選択する出力回路選択機能。   (f113-1) An output circuit selection function for selecting one output circuit (for example, 121) among the output circuits 121 to 123 regularly or irregularly.

(f113-2) AND回路18を通過した診断信号がハイレベル“Hi(1)”を示すか否かを判定することにより、診断を実行する判定機能。   (f113-2) A determination function for executing diagnosis by determining whether or not the diagnosis signal that has passed through the AND circuit 18 indicates the high level “Hi (1)”.

なお、出力制御部111は、前述同様に、診断動作部113により選択された出力回路121,…に出力操作信号を入力する出力操作信号入力機能をもっている。   As described above, the output control unit 111 has an output operation signal input function for inputting an output operation signal to the output circuits 121,... Selected by the diagnosis operation unit 113.

次に、以上のように構成された診断付き出力装置の動作を説明する。   Next, the operation of the output device with diagnosis configured as described above will be described.

本実施形態の動作は、各出力回路121〜123向けの出力操作信号と、各検出回路131〜133による検出信号とが個別に一致するか否かを、各反転XOR回路171〜173、AND回路18及び診断動作部113を用いて診断することを除き、第1の実施形態と同様である。   In the operation of the present embodiment, whether or not the output operation signal for each of the output circuits 121 to 123 and the detection signal of each of the detection circuits 131 to 133 individually match each other is determined based on each of the inverted XOR circuits 171 to 173 and the AND circuit. 18 and the diagnosis operation unit 113 are the same as in the first embodiment except that diagnosis is performed.

例えば、反転XOR回路171には、出力回路121向けの出力操作信号(a)と検出回路131による検出信号(b)が入力されると、排他的論理和の反転演算結果を示す個別診断信号がAND回路18に出力される。   For example, when the output operation signal (a) for the output circuit 121 and the detection signal (b) from the detection circuit 131 are input to the inverting XOR circuit 171, an individual diagnostic signal indicating the result of the inverting operation of the exclusive OR is obtained. It is output to the AND circuit 18.

具体的には、出力操作信号(a)と検出信号(b)が矛盾した状態にある場合、反転XOR回路171はロウレベル“Lo(ゼロ)”の個別診断信号をAND回路18に出力する。反転XOR回路172,173も同様に動作する。   Specifically, when the output operation signal (a) and the detection signal (b) are in a contradictory state, the inverted XOR circuit 171 outputs the individual diagnostic signal of the low level “Lo (zero)” to the AND circuit 18. The inverting XOR circuits 172 and 173 operate similarly.

AND回路18は、各反転XOR回路171〜173の個別診断信号がそれぞれ入力される。ここで、各出力信号と検出信号が全て正常な場合には、“1”同士を掛け合わせることになり、AND回路18は、ハイレベル“Hi(1)”の診断信号を内部ロジックモジュール11に出力する。なお、何れかの出力信号と検出信号が矛盾した状態にある場合には、AND回路18は、ロウレベル“Lo(ゼロ)”の診断信号を内部ロジックモジュール11に出力する。   The AND circuit 18 receives the individual diagnostic signals of the inverted XOR circuits 171 to 173, respectively. Here, when each output signal and detection signal are all normal, “1” s are multiplied together, and the AND circuit 18 sends a diagnostic signal of high level “Hi (1)” to the internal logic module 11. Output. If any output signal and the detection signal are inconsistent, the AND circuit 18 outputs a low-level “Lo (zero)” diagnostic signal to the internal logic module 11.

これにより、内部ロジックモジュール11内の診断動作部113は、各出力操作信号の出力タイミングによらず、AND回路18からロウレベルの診断信号が入力されてきた場合、各出力回路121,…及び各検出回路131,…のうちのいずれか1つ以上の回路に異常があったと見なすことができる(各回路の動作遅れ時間による、出力操作信号の送出と検出信号の入力のタイムラグに対しては、内部ロジックモジュール11側で不感時間を確保する。)
上述したように本実施形態によれば、反転XOR回路171〜173、AND回路18及び診断動作部113を備えた構成により、第1の実施形態の効果に加え、出力回路121〜123の診断が各回路171〜173,18により自動的に行われる為、内部ロジックモジュール11の診断用内部回路又はソフトウエア設計を単純化することができる診断付き出力装置を得ることができる。
As a result, the diagnosis operation unit 113 in the internal logic module 11 detects each output circuit 121,. It can be considered that any one or more of the circuits 131,... Are abnormal (with respect to the time lag between the output operation signal transmission and the detection signal input due to the operation delay time of each circuit) (The dead time is secured on the logic module 11 side.)
As described above, according to the present embodiment, the configuration including the inverting XOR circuits 171 to 173, the AND circuit 18, and the diagnostic operation unit 113 enables the diagnosis of the output circuits 121 to 123 in addition to the effects of the first embodiment. Since each of the circuits 171 to 173 and 18 is automatically performed, an output device with diagnosis that can simplify the internal circuit for diagnosis or software design of the internal logic module 11 can be obtained.

<第5の実施形態>
図8は第5の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。
<Fifth Embodiment>
FIG. 8 is a schematic diagram illustrating an output device with diagnosis and a peripheral configuration thereof according to the fifth embodiment.

第5の実施形態は、第4の実施形態の変形例であり、図7に示したAND回路18に代えて、第3の実施形態と同様のコード化回路16及び選択回路14を備えている。   The fifth embodiment is a modification of the fourth embodiment, and includes an encoding circuit 16 and a selection circuit 14 similar to those of the third embodiment, instead of the AND circuit 18 shown in FIG. .

ここで、コード化回路16は、第3の実施形態と同様のものである。   Here, the encoding circuit 16 is the same as that of the third embodiment.

選択回路14は、各検出回路131〜133から送出される検出信号のうちの1つの検出信号を選択的に通過させる回路であって、コード化回路16により作成された選択信号に基づいて、この選択信号が示す出力回路121,…に検出回路131,…を介して接続された反転XOR回路171,…から送出された個別診断信号を通過させる機能をもっている。   The selection circuit 14 is a circuit that selectively passes one detection signal among the detection signals transmitted from the detection circuits 131 to 133, and is based on the selection signal created by the encoding circuit 16. Has a function of passing the individual diagnostic signals sent from the inverting XOR circuits 171 connected to the output circuits 121 shown by the selection signal via the detection circuits 131.

これに伴い、内部ロジックモジュール11は、出力操作信号を各出力回路121〜123に個別に入力する一方、選択回路14を通過した個別診断信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する機能をもっている。   Accordingly, the internal logic module 11 individually inputs the output operation signal to each of the output circuits 121 to 123, and on the basis of the individual diagnosis signal that has passed through the selection circuit 14, the output signal is output according to the output operation signal. It has a function to diagnose whether it has been output.

内部ロジックモジュール11内の診断動作部113は、前述した機能(f113-2)に代えて、以下の機能(f113-2’)をもっている。   The diagnostic operation unit 113 in the internal logic module 11 has the following function (f113-2 ') instead of the function (f113-2) described above.

(f113-2’) 選択回路14を通過した個別診断信号がハイレベル“Hi(1)”を示すか否かを判定することにより、診断を実行する判定機能。   (f113-2 ') A determination function for executing diagnosis by determining whether or not the individual diagnosis signal that has passed through the selection circuit 14 indicates a high level "Hi (1)".

なお、出力制御部111は、第4の実施形態と同様の出力操作信号入力機能をもっている。   Note that the output control unit 111 has an output operation signal input function similar to that of the fourth embodiment.

次に、以上のように構成された診断付き出力装置の動作を説明する。   Next, the operation of the output device with diagnosis configured as described above will be described.

本実施形態の動作は、AND回路18に代えて、コード化回路16及び選択回路14を用いることを除き、第4の実施形態と同様である。   The operation of the present embodiment is the same as that of the fourth embodiment except that the encoding circuit 16 and the selection circuit 14 are used instead of the AND circuit 18.

例えば、選択回路14には、各反転XOR回路171〜173から個別診断信号(出力信号と検出信号との両信号が矛盾した場合にはロウレベル“Lo(ゼロ)”、両信号が一致している場合にはハイレベル“Hi(1)”)が入力される。   For example, the selection circuit 14 receives the individual diagnosis signals from the inverting XOR circuits 171 to 173 (the low level “Lo (zero)” when both the output signal and the detection signal contradict each other), and the both signals match. In this case, a high level “Hi (1)”) is input.

コード化回路16は、第3の実施形態と同様に、各出力回路121,…に入力される出力操作信号をコード化して選択信号を作成する。選択回路14は、作成された選択信号に基づいて、各反転XOR回路171,…の個別診断信号のうち、選択信号が示す出力回路121,…に対応した反転XOR回路171,…の個別診断信号を通過させて診断動作部113に送出する。   As in the third embodiment, the encoding circuit 16 encodes the output operation signal input to each output circuit 121, and creates a selection signal. Based on the generated selection signal, the selection circuit 14 selects the individual diagnostic signal of the inverted XOR circuits 171,... Corresponding to the output circuit 121,. Is sent to the diagnostic operation unit 113.

診断動作部113は、この個別診断信号がハイレベル“Hi(1)”を示すか否かを判定することにより、診断を実行する。   The diagnosis operation unit 113 executes diagnosis by determining whether or not the individual diagnosis signal indicates a high level “Hi (1)”.

ここで、第4の実施形態では、診断動作部113には、全ての個別診断信号を論理積演算した診断信号が入力されていたため、ロウレベル“Lo(ゼロ)“の診断信号が入力された場合に、実際にどの出力回路171〜173又は検出回路131〜133で不一致が検出されたのかを認識できない。   Here, in the fourth embodiment, since the diagnosis signal obtained by logical product operation of all the individual diagnosis signals is input to the diagnosis operation unit 113, the diagnosis signal of the low level “Lo (zero)” is input. In addition, it is impossible to recognize which output circuit 171 to 173 or detection circuit 131 to 133 actually detects the mismatch.

これに対し、本実施形態では、選択信号が示す出力回路121,…に対応した反転XOR回路171,…の個別診断信号がコード化回路16及び選択回路14で自動的に選択される。このため、診断動作部113では、出力操作信号の切り替えタイミングを自身が把握してさえいれば、何れの出力系統で不一致が検出されたかを即時に認識することができる。   On the other hand, in the present embodiment, the individual diagnostic signals of the inverting XOR circuits 171,... Corresponding to the output circuits 121,. For this reason, the diagnostic operation unit 113 can immediately recognize which output system the mismatch is detected as long as the diagnosis operation unit 113 knows the switching timing of the output operation signal.

上述したように本実施形態によれば、AND回路18に代えて、コード化回路16及び選択回路14を備えた構成により、第4の実施形態の効果に加え、異常発生箇所の同定が、反転XOR回路171〜173のいずれかと、コード化回路16及び選択回路14とにより自動的に行われる為、より精密に異常を診断することができる診断付き出力装置を得ることができる。   As described above, according to the present embodiment, the configuration including the encoding circuit 16 and the selection circuit 14 instead of the AND circuit 18 enables the identification of the abnormality occurrence location to be reversed in addition to the effects of the fourth embodiment. Since it is automatically performed by any of the XOR circuits 171 to 173, the encoding circuit 16 and the selection circuit 14, an output device with diagnosis capable of more accurately diagnosing an abnormality can be obtained.

<第6の実施形態>
図9は第6の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。
<Sixth Embodiment>
FIG. 9 is a schematic diagram illustrating an output device with diagnosis and a peripheral configuration thereof according to the sixth embodiment.

第6の実施形態は、第1の実施形態の変形例であり、図9に示すように、図1に示した内部ロジックモジュール11と出力回路121〜123との間に、出力選択回路19を備えている。   The sixth embodiment is a modification of the first embodiment. As shown in FIG. 9, an output selection circuit 19 is provided between the internal logic module 11 and the output circuits 121 to 123 shown in FIG. 1. I have.

ここで、出力選択回路19は、統合(マルチプレクス)された出力操作信号からなる統合出力操作信号と、選択信号とが内部ロジックモジュール11から入力されると、この選択信号に基づいて、当該統合出力操作信号から分離(デマルチプレクス)した出力操作信号を当該選択信号が示す出力回路121,…に入力する一方、当該選択信号が示さない出力回路122,…には出力信号を出力させない状態の出力操作信号を維持する機能をもっている。補足すると、内部ロジックモジュール11内の出力制御部111’と、出力選択回路19との間は、統合出力操作信号を伝送する1ビット信号線で接続されている。   Here, when the integrated output operation signal including the integrated (multiplexed) output operation signal and the selection signal are input from the internal logic module 11, the output selection circuit 19 performs the integration based on the selection signal. The output operation signal separated (demultiplexed) from the output operation signal is input to the output circuit 121,... Indicated by the selection signal, while the output circuit 122,. Has the function of maintaining the output operation signal. Supplementally, the output control unit 111 ′ in the internal logic module 11 and the output selection circuit 19 are connected by a 1-bit signal line that transmits an integrated output operation signal.

これに伴い、内部ロジックモジュール11は、統合出力操作信号を出力選択回路19に入力する一方、選択回路14を通過した検出信号に基づいて、当該統合出力操作信号に応じて出力信号が出力されたか否かを診断する機能をもっている。   Accordingly, the internal logic module 11 inputs the integrated output operation signal to the output selection circuit 19, and on the basis of the detection signal that has passed through the selection circuit 14, has the output signal been output according to the integrated output operation signal? Has a function to diagnose whether or not.

ここで、出力制御部111’は、診断部112’により選択された出力回路121,…に入力される出力操作信号を統合して統合出力操作信号を作成し、当該統合出力操作信号を出力選択回路19に入力する出力操作信号入力機能をもっている。なお、統合は、複数の出力操作信号を時分割で切り替えることにより実行可能となっている。補足すると、出力制御部111’では、複数の出力操作信号を、診断部112’から受けた選択信号に基づいてマルチプレクスして1本の出力操作信号に統合している。   Here, the output control unit 111 ′ creates an integrated output operation signal by integrating the output operation signals input to the output circuits 121,... Selected by the diagnosis unit 112 ′, and selects the integrated output operation signal as an output. An output operation signal input function for inputting to the circuit 19 is provided. The integration can be executed by switching a plurality of output operation signals in a time division manner. Supplementally, the output control unit 111 ′ multiplexes a plurality of output operation signals based on the selection signal received from the diagnosis unit 112 ′ and integrates them into one output operation signal.

診断部112’は、定期的又は不定期に各出力回路121〜123のうちの1つの出力回路(例、121)を選択し、当該選択した出力回路(例、121)を示す選択信号を出力選択回路19及び選択回路14に入力する選択信号入力機能と、出力制御部111’により入力された統合出力操作信号と、選択回路14を通過した検出信号とが一致するか否かを判定することにより、診断を実行する判定機能とをもっている。また、診断部112’の選択信号入力機能は、選択信号を出力制御部111’にも入力する機能をも含んでいる。   The diagnosis unit 112 ′ selects one output circuit (eg, 121) among the output circuits 121 to 123 regularly or irregularly, and outputs a selection signal indicating the selected output circuit (eg, 121). It is determined whether or not the selection signal input function input to the selection circuit 19 and the selection circuit 14, the integrated output operation signal input by the output control unit 111 ′, and the detection signal that has passed through the selection circuit 14 match. Thus, it has a determination function for executing diagnosis. The selection signal input function of the diagnosis unit 112 ′ also includes a function of inputting the selection signal to the output control unit 111 ′.

次に、以上のように構成された診断付き出力装置の動作を説明する。   Next, the operation of the output device with diagnosis configured as described above will be described.

本実施形態の動作は、図10に示すように、内部ロジックモジュール11が統合出力操作信号及び選択信号を出力選択回路19に入力することを除き、第1の実施形態と同様である。   The operation of this embodiment is the same as that of the first embodiment except that the internal logic module 11 inputs an integrated output operation signal and a selection signal to the output selection circuit 19 as shown in FIG.

例えば、診断付き出力装置1は、定期的もしくは任意のタイミングで、各出力回路121〜123の出力信号を診断する。ここでは、図10(a)に示すように、定期的に診断する例について述べる。   For example, the diagnostic output device 1 diagnoses the output signals of the output circuits 121 to 123 periodically or at an arbitrary timing. Here, as shown in FIG. 10A, an example of regular diagnosis will be described.

診断部112’は、診断を行うタイミングと診断を行う出力回路121〜123を選択し、例えば選択した出力回路121を診断対象として、パルス波形をもつ診断パルス用内部信号を出力制御部111’に入力すると共に、図10(b)に示すように、選択した出力回路121を示す選択信号を出力制御部111’、出力選択回路19及び選択回路14に入力する。なお、診断パルス用内部信号は、一度に1つの出力回路に対してのみ発行される。また、選択信号の信号線はパラレルバスの形態を採る。   The diagnosis unit 112 ′ selects the diagnosis timing and the output circuits 121 to 123 that perform the diagnosis. For example, the selected output circuit 121 is a diagnosis target, and the diagnostic pulse internal signal having a pulse waveform is output to the output control unit 111 ′. At the same time, as shown in FIG. 10B, a selection signal indicating the selected output circuit 121 is input to the output control unit 111 ′, the output selection circuit 19, and the selection circuit 14. The diagnostic pulse internal signal is issued to only one output circuit at a time. The signal line of the selection signal takes the form of a parallel bus.

出力制御部111’は、通常制御用内部信号と、この診断パルス用内部信号との論理積を演算し、得られた出力操作信号を選択信号に基づいて統合することにより、図10(ehj)に示す如き、統合出力操作信号を作成する。この統合出力操作信号は、出力制御部111’から出力選択回路19に入力される。   The output control unit 111 ′ calculates a logical product of the internal signal for normal control and the internal signal for diagnostic pulse, and integrates the obtained output operation signal based on the selection signal, so that FIG. 10 (ehj) An integrated output operation signal is created as shown in FIG. This integrated output operation signal is input from the output control unit 111 ′ to the output selection circuit 19.

出力選択回路19は、統合出力操作信号及び選択信号が入力されると、この選択信号に基づいて、図10(e)に示すように、当該統合出力操作信号から分離した出力操作信号を当該選択信号が示す出力回路121,…に入力する一方、当該選択信号が示さない出力回路122,…には出力信号を出力させない状態の出力操作信号を維持する。   When the integrated output operation signal and the selection signal are input, the output selection circuit 19 selects the output operation signal separated from the integrated output operation signal based on the selection signal, as shown in FIG. While being input to the output circuit 121,... Indicated by the signal, the output operation signal in a state where the output signal is not output to the output circuit 122,.

出力回路121は、入力された出力操作信号に応じて電源2と負荷3を接続する信号線をオン・オフ操作することにより、パルス波形の出力信号を出力端1c1に出力する。出力信号は、負荷3と同時に、検出回路131にも入力される。   The output circuit 121 outputs a pulse waveform output signal to the output terminal 1c1 by turning on / off a signal line connecting the power source 2 and the load 3 in accordance with the input output operation signal. The output signal is input to the detection circuit 131 simultaneously with the load 3.

検出回路131は、入力された出力信号を検出信号に変換し、図10(g)に示すように、検出信号を選択回路14に送出する。   The detection circuit 131 converts the input output signal into a detection signal, and sends the detection signal to the selection circuit 14 as shown in FIG.

選択回路14は、診断部112’からの選択信号により、図10(l)に示すように、選択された出力回路121に接続された検出回路131から受けた検出信号を通過させて内部ロジックモジュール11に送出する。   The selection circuit 14 allows the detection signal received from the detection circuit 131 connected to the selected output circuit 121 to pass through the internal logic module, as shown in FIG. 11 to send.

診断部112’は、出力制御部111’により入力された統合出力操作信号(図10(ehj))と、選択回路14を通過した検出信号(図10(l))とが一致するか否かを判定する。   The diagnosis unit 112 ′ determines whether or not the integrated output operation signal (FIG. 10 (ehj)) input by the output control unit 111 ′ matches the detection signal (FIG. 10 (l)) that has passed through the selection circuit 14. Determine.

この判定の結果、両者が一致したとき、診断部112’は、出力制御部111’に送出したパルス波形の信号が出力回路121、検出回路121及び選択回路14を介して帰還した旨を診断する。   As a result of this determination, when the two match, the diagnosis unit 112 ′ diagnoses that the pulse waveform signal sent to the output control unit 111 ′ has returned via the output circuit 121, the detection circuit 121, and the selection circuit 14. .

換言すると、内部ロジックモジュール11では、マルチプレクスされた出力操作信号(統合出力操作信号)を出力し、マルチプレクスされた検出信号が入力される。診断部112’では、この両マルチプレクス信号の一致確認により、何れの出力系統で不一致が検出されたかを認識することができる。   In other words, the internal logic module 11 outputs a multiplexed output operation signal (integrated output operation signal) and receives a multiplexed detection signal. The diagnosis unit 112 ′ can recognize in which output system the mismatch is detected by confirming the coincidence of both multiplexed signals.

以上の動作は、出力回路122を診断対象とする場合でも、図10(b)に示す選択信号“1”(=001)と、図10(ehj)に示す統合出力操作信号と、図10(i)及び図10(l)に示す検出信号とを用いて同様に実行される。   The above operation is performed even when the output circuit 122 is a diagnosis target, the selection signal “1” (= 001) shown in FIG. 10B, the integrated output operation signal shown in FIG. i) and the detection signal shown in FIG. 10L are similarly executed.

また、出力回路123を診断対象とする場合でも、図10(b)に示す選択信号“2”(=010)と、図10(ehj)に示す統合出力操作信号と、図10(k)及び図10(l)に示す検出信号とを用いて同様に実行される。   Further, even when the output circuit 123 is a diagnosis target, the selection signal “2” (= 010) shown in FIG. 10B, the integrated output operation signal shown in FIG. 10Ehj, and FIGS. The same processing is performed using the detection signal shown in FIG.

上述したように本実施形態によれば、内部ロジックモジュール11と出力回路121〜123との間に出力選択回路19を備えた構成により、内部ロジックモジュール11と出力選択回路19との間の信号経路を1本に集約したため、この間では信号混触が起こりえない。よって、本実施形態によれば、第1の実施形態の効果に加え、内部ロジックモジュール11と出力選択回路19との間の信号混触の可能性を低減させることができる。   As described above, according to the present embodiment, the signal path between the internal logic module 11 and the output selection circuit 19 is achieved by the configuration including the output selection circuit 19 between the internal logic module 11 and the output circuits 121 to 123. In this period, signal contact cannot occur. Therefore, according to the present embodiment, in addition to the effects of the first embodiment, the possibility of signal contact between the internal logic module 11 and the output selection circuit 19 can be reduced.

<第7の実施形態>
図11は第7の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。
<Seventh Embodiment>
FIG. 11 is a schematic diagram illustrating an output device with diagnosis and a peripheral configuration thereof according to the seventh embodiment.

第7の実施形態は、第6の実施形態の変形例であり、図9に示した出力選択回路19に代えて、出力輪番選択回路1aを備えている。   The seventh embodiment is a modification of the sixth embodiment, and includes an output wheel number selection circuit 1a instead of the output selection circuit 19 shown in FIG.

ここで、出力輪番選択回路1aは、統合(マルチプレクス)された出力操作信号からなる統合出力操作信号から出力操作信号を分離(デマルチプレクス)し、当該分離した出力操作信号を各出力回路121〜123のうちの1つの出力回路121,…に入力する回路であって、診断部112’から入力された切り替え信号に基づいて、出力操作信号の入力先の出力回路121,…を輪番で切り替える一方、出力操作信号が入力されない出力回路122,…には出力信号を出力させない状態の出力操作信号を維持する機能をもっている。   Here, the output wheel number selection circuit 1a separates (demultiplexes) the output operation signal from the integrated output operation signal composed of the integrated (multiplexed) output operation signals, and outputs the separated output operation signals to the output circuits 121. Are input to one of the output circuits 121,..., And switch the output circuit 121 to which the output operation signal is input based on the switching signal input from the diagnosis unit 112 ′. On the other hand, the output circuits 122 to which no output operation signal is input has a function of maintaining the output operation signal in a state in which the output signal is not output.

これに伴い、内部ロジックモジュール11は、統合出力操作信号を出力輪番選択回路1aに入力する一方、輪番選択回路15を通過した検出信号に基づいて、当該統合出力操作信号に応じて出力信号が出力されたか否かを診断する機能をもっている。   Accordingly, the internal logic module 11 inputs an integrated output operation signal to the output wheel number selection circuit 1a, and outputs an output signal according to the integrated output operation signal based on the detection signal that has passed through the wheel number selection circuit 15. It has a function of diagnosing whether or not it has been done.

ここで、出力制御部111’は、診断部112’により選択された出力回路121,…に入力される出力操作信号を統合して統合出力操作信号を作成し、当該統合出力操作信号を出力輪番選択回路1aに入力する出力操作信号入力機能をもっている。なお、統合は、複数の出力操作信号を時分割で切り替えることにより実行可能となっている。補足すると、出力制御部111’では、パラレル入力−シリアル出力シフトレジスタの仕組みを利用して、複数の出力操作信号を、診断部112’から受けた切り替え信号に基づいてマルチプレクスして1本の出力操作信号に統合している。   Here, the output control unit 111 ′ creates an integrated output operation signal by integrating the output operation signals input to the output circuits 121,... Selected by the diagnosis unit 112 ′, and outputs the integrated output operation signal as an output wheel number. It has an output operation signal input function for inputting to the selection circuit 1a. The integration can be executed by switching a plurality of output operation signals in a time division manner. Supplementally, in the output control unit 111 ′, a plurality of output operation signals are multiplexed based on the switching signal received from the diagnosis unit 112 ′ by using a parallel input-serial output shift register mechanism. Integrated into output operation signal.

診断部112’は、定期的又は不定期に各出力回路121〜123のうちの1つの出力回路(例、121)を選択し、当該選択した出力回路(例、121)を輪番で示す切り替え信号を出力輪番選択回路1a及び輪番選択回路15に入力する切り替え信号入力機能と、出力制御部111’により入力された統合出力操作信号と、輪番選択回路15を通過した検出信号とが一致するか否かを判定することにより、診断を実行する判定機能とをもっている。また、診断部112’の切り替え信号入力機能は、切り替え信号を出力制御部111’にも入力する機能をも含んでいる。   The diagnosis unit 112 ′ selects one output circuit (for example, 121) among the output circuits 121 to 123 regularly or irregularly, and a switching signal indicating the selected output circuit (for example, 121) with a rotation number. Is input to the output wheel number selection circuit 1a and the wheel number selection circuit 15, whether the integrated output operation signal input by the output control unit 111 ′ matches the detection signal that has passed through the wheel number selection circuit 15 or not. By determining whether or not, a determination function for executing diagnosis is provided. The switching signal input function of the diagnosis unit 112 ′ also includes a function of inputting the switching signal to the output control unit 111 ′.

次に、以上のように構成された診断付き出力装置の動作を説明する。   Next, the operation of the output device with diagnosis configured as described above will be described.

本実施形態の動作は、図11に示すように、診断対象となる出力回路121,…が輪番で回ることを除き、第6の実施形態と同様である。   As shown in FIG. 11, the operation of this embodiment is the same as that of the sixth embodiment, except that the output circuit 121,.

例えば、診断部112’は、図10(b’)に示すように、診断対象の出力回路121〜123を輪番で切り替えるための切り替え信号を発行し、この切り替え信号を出力制御部111’、出力輪番選択回路1a及び輪番選択回路15に送出する。この切り替え信号の信号線は、輪番の切り替えタイミングを示すだけの1ビット信号線である。   For example, as shown in FIG. 10 (b ′), the diagnosis unit 112 ′ issues a switching signal for switching the output circuits 121 to 123 to be diagnosed by the rotation number, and outputs the switching signal to the output control unit 111 ′. This is sent to the ring number selection circuit 1a and the ring number selection circuit 15. The signal line for the switching signal is a 1-bit signal line that only indicates the switching timing of the wheel number.

出力制御部111’は、前述した通常制御用内部信号及び診断パルス用内部信号の論理積を演算して得られた出力操作信号を切り替え信号に基づいて統合することにより、図12(ehj)に示す如き、統合出力操作信号を作成する。この統合出力操作信号は、出力制御部111’から出力輪番選択回路1aに入力される。   The output control unit 111 ′ integrates the output operation signal obtained by calculating the logical product of the above-described internal signal for normal control and the internal signal for diagnosis pulse based on the switching signal, so that FIG. As shown, an integrated output operation signal is created. This integrated output operation signal is input from the output controller 111 'to the output wheel number selection circuit 1a.

出力輪番選択回路1aは、統合出力操作信号及び切り替え信号が入力されると、この切り替え信号に基づいて、図12(e)に示すように、この統合出力操作信号から分離した出力操作信号の入力先の出力回路121,…を輪番で切り替える一方、出力操作信号が入力されない出力回路122,…には出力信号を出力させない状態の出力操作信号を維持する。   When the integrated output operation signal and the switching signal are input, the output wheel number selection circuit 1a receives the input of the output operation signal separated from the integrated output operation signal based on the switching signal, as shown in FIG. While the previous output circuits 121,... Are switched by a wheel number, the output operation signals in a state in which no output signals are output are maintained in the output circuits 122,.

出力回路121は、入力された出力操作信号に応じて電源2と負荷3を接続する信号線をオン・オフ操作することにより、パルス波形の出力信号を出力端1c1に出力する。出力信号は、負荷3と同時に、検出回路131にも入力される。   The output circuit 121 outputs a pulse waveform output signal to the output terminal 1c1 by turning on / off a signal line connecting the power source 2 and the load 3 in accordance with the input output operation signal. The output signal is input to the detection circuit 131 simultaneously with the load 3.

検出回路131は、入力された出力信号を検出信号に変換し、図12(g)に示すように、検出信号を輪番選択回路15に送出する。   The detection circuit 131 converts the input output signal into a detection signal, and sends the detection signal to the wheel number selection circuit 15 as shown in FIG.

輪番選択回路15は、診断部112からの切り替え信号により、図12(l)に示すように、選択された出力回路121に接続された検出回路131から受けた検出信号を通過させて内部ロジックモジュール11に送出する。   In response to the switching signal from the diagnosis unit 112, the ring number selection circuit 15 passes the detection signal received from the detection circuit 131 connected to the selected output circuit 121 as shown in FIG. 11 to send.

内部ロジックモジュール11の診断部112は、出力制御部111’により入力された統合出力操作信号(図12(ehj))と、輪番選択回路15を通過した検出信号(図12(l))とが一致するか否かを判定する。   The diagnosis unit 112 of the internal logic module 11 includes an integrated output operation signal (FIG. 12 (ehj)) input by the output control unit 111 ′ and a detection signal (FIG. 12 (l)) that has passed through the wheel number selection circuit 15. It is determined whether or not they match.

この判定の結果、両者が一致したとき、診断部112’は、出力制御部111に送出したパルス波形の信号が出力回路121、検出回路121及び輪番選択回路15を介して帰還した旨を診断する。   As a result of this determination, when the two match, the diagnosis unit 112 ′ diagnoses that the pulse waveform signal sent to the output control unit 111 has returned via the output circuit 121, the detection circuit 121, and the wheel number selection circuit 15. .

換言すると、内部ロジックモジュール11では、マルチプレクスされた出力操作信号(統合出力操作信号)を出力し、マルチプレクスされた検出信号が入力されるため、この両マルチプレクス信号の一致確認により、何れの出力系統で不一致が検出されたかを認識することができる。   In other words, the internal logic module 11 outputs a multiplexed output operation signal (integrated output operation signal) and receives a multiplexed detection signal. It is possible to recognize whether a mismatch is detected in the output system.

以上の動作は、出力回路122又は出力回路123を診断対象とする場合でも、内部ロジックモジュール11が統合出力操作信号及び切り替え信号を出力輪番選択回路1aに入力することを除き、第6の実施形態と同様に実行される。   The above operation is the same as that in the sixth embodiment except that the internal logic module 11 inputs the integrated output operation signal and the switching signal to the output wheel number selection circuit 1a even when the output circuit 122 or the output circuit 123 is a diagnosis target. Is executed in the same way as

上述したように本実施形態によれば、出力回路121〜123を示す選択信号に代えて、出力回路121〜123を輪番で切り替える切り替え信号を用いた構成により、パラレルバスの選択信号線に代えて、1ビット切り替え信号線を用いることから、第6の実施形態の効果に加え、内部ロジックモジュール11に接続された信号線の入力端子数及び回路規模をさらに縮小することができる。   As described above, according to the present embodiment, instead of the selection signal indicating the output circuits 121 to 123, the configuration using the switching signal for switching the output circuits 121 to 123 with the rotation number replaces the selection signal line of the parallel bus. Since the 1-bit switching signal line is used, in addition to the effect of the sixth embodiment, the number of input terminals and the circuit scale of the signal line connected to the internal logic module 11 can be further reduced.

<第8の実施形態>
図13は第8の実施形態に係る診断付き出力装置及びその周辺構成を示す模式図である。
<Eighth Embodiment>
FIG. 13 is a schematic diagram showing an output device with diagnosis and its peripheral configuration according to the eighth embodiment.

第8の実施形態は、第1の実施形態の変形例であり、図1に示した内部ロジックモジュール11と各出力回路121〜123との間に、複数の出力フォトカプラ1b1〜1b3を個別に備えている。また、図1に示した検出回路131〜133に代えて、複数の検出フォトカプラ134〜136を個別に備えている。なお、検出フォトカプラ134〜136は、前述した検出回路131〜133としても機能している。   The eighth embodiment is a modification of the first embodiment, and a plurality of output photocouplers 1b1 to 1b3 are individually provided between the internal logic module 11 shown in FIG. 1 and each of the output circuits 121 to 123. I have. Further, instead of the detection circuits 131 to 133 shown in FIG. 1, a plurality of detection photocouplers 134 to 136 are individually provided. The detection photocouplers 134 to 136 also function as the detection circuits 131 to 133 described above.

ここで、各出力フォトカプラ1b1,…は、内部ロジックモジュール11から送出された出力操作信号に個別に応じて出力操作信号を各出力回路121,…のいずれかに入力する機能をもっている。   Here, each output photocoupler 1b1,... Has a function of inputting an output operation signal to any one of the output circuits 121,... According to the output operation signal sent from the internal logic module 11.

各検出フォトカプラ134,…は、各出力回路121,…と各出力端1c1,…との間の出力信号を個別に検出して検出信号を選択回路14に送出する機能をもっている。   Each of the detection photocouplers 134 has a function of individually detecting an output signal between each of the output circuits 121,... And each of the output terminals 1c1,.

これに伴い、内部ロジックモジュール11は、出力操作信号を各出力フォトカプラ1b1,…に個別に送出する一方、選択回路14を通過した検出信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する機能をもっている。   Accordingly, the internal logic module 11 individually sends output operation signals to the output photocouplers 1b1,..., While the output signal is output in accordance with the output operation signal based on the detection signal that has passed through the selection circuit 14. It has a function to diagnose whether it has been output.

内部ロジックモジュール内の出力制御部111は、診断部112により選択された出力回路121,…に接続された出力フォトカプラ1b1,…に出力操作信号を送出する機能をもっている。   The output control unit 111 in the internal logic module has a function of sending an output operation signal to the output photocouplers 1b1,... Connected to the output circuits 121,.

内部ロジックモジュール内の診断部112は、定期的又は不定期に各出力回路121,…のうちの1つの出力回路を選択し、当該選択した出力回路121,…を示す選択信号を選択回路14に入力する選択信号入力機能をもっている。   The diagnosis unit 112 in the internal logic module selects one output circuit among the output circuits 121,... Regularly or irregularly, and sends a selection signal indicating the selected output circuit 121,. It has a selection signal input function.

また、診断部112は、出力制御部111により送出された出力操作信号と、選択回路14を通過した検出信号とが一致するか否かを判定することにより、診断を実行する判定機能をもっている。   Further, the diagnosis unit 112 has a determination function for executing diagnosis by determining whether or not the output operation signal sent from the output control unit 111 matches the detection signal that has passed through the selection circuit 14.

次に、以上のように構成された診断付き出力装置の動作を説明する。   Next, the operation of the output device with diagnosis configured as described above will be described.

本実施形態の動作は、出力制御部111から送出された出力操作信号が出力フォトカプラ1b1,…を個別に介して出力回路121,…に入力され、出力回路121,…から出力された出力信号が検出フォトカプラ134,…に検出されて検出信号が選択回路に入力されることを除き、図2に示したように、第1の実施形態と同様である。   In the operation of the present embodiment, the output operation signals sent from the output control unit 111 are individually input to the output circuits 121,... Via the output photocouplers 1b1,. Are detected by the detection photocouplers 134,... And the detection signal is input to the selection circuit, as shown in FIG.

すなわち、本実施形態は、出力フォトカプラ1b1〜1b3及び検出フォトカプラ134〜136を備えた構成により、出力回路121〜123及び出力端1c1〜1c3と、内部ロジックモジュール11とが電気的に絶縁される。このため、内部ロジックモジュール11と出力フォトカプラ1b1〜1b3との間、及び内部ロジックモジュール11と検出フォトカプラ134〜136間の配線を、電気的に装置外の影響から切り離すことができる。   That is, in the present embodiment, the output circuits 121 to 123 and the output terminals 1c1 to 1c3 are electrically insulated from the internal logic module 11 by the configuration including the output photocouplers 1b1 to 1b3 and the detection photocouplers 134 to 136. The For this reason, the wiring between the internal logic module 11 and the output photocouplers 1b1 to 1b3 and between the internal logic module 11 and the detection photocouplers 134 to 136 can be electrically separated from the influence outside the apparatus.

上述したように本実施形態によれば、出力フォトカプラ1b1〜1b3及び検出フォトカプラ134〜136を備えた構成により、第1の実施形態の効果に加え、電源2及び負荷3側からの電気的影響を軽減することで、誤診断の確率を低減することができる。   As described above, according to the present embodiment, the configuration including the output photocouplers 1b1 to 1b3 and the detection photocouplers 134 to 136, in addition to the effects of the first embodiment, the electrical from the power source 2 and the load 3 side. By reducing the influence, the probability of misdiagnosis can be reduced.

以上説明した少なくとも一つの実施形態によれば、各検出回路131〜133(又は各検出フォトカプラ134〜136)と内部ロジックモジュール11との間に、多入力1出力の選択回路14、輪番選択回路15又はAND回路18を備えた構成により、検出回路−内部ロジック間の信号混触の可能性を低減すると共に、検出回路−内部ロジック間の入力端子数及び回路規模を縮小することができる。   According to at least one embodiment described above, a multi-input one-output selection circuit 14, a ring number selection circuit between each detection circuit 131-133 (or each detection photocoupler 134-136) and the internal logic module 11. The configuration including 15 or the AND circuit 18 can reduce the possibility of signal contact between the detection circuit and the internal logic, and can reduce the number of input terminals and the circuit scale between the detection circuit and the internal logic.

なお、上記の各実施形態に記載した手法は、コンピュータに実行させることのできるプログラムとして、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスクなど)、光ディスク(CD−ROM、DVDなど)、光磁気ディスク(MO)、半導体メモリなどの記憶媒体に格納して頒布することもできる。   Note that the methods described in the above embodiments are, as programs that can be executed by a computer, magnetic disks (floppy (registered trademark) disks, hard disks, etc.), optical disks (CD-ROMs, DVDs, etc.), magneto-optical disks. (MO), stored in a storage medium such as a semiconductor memory, and distributed.

また、この記憶媒体としては、プログラムを記憶でき、かつコンピュータが読み取り可能な記憶媒体であれば、その記憶形式は何れの形態であっても良い。   In addition, as long as the storage medium can store a program and can be read by a computer, the storage format may be any form.

また、記憶媒体からコンピュータにインストールされたプログラムの指示に基づきコンピュータ上で稼働しているOS(オペレーティングシステム)や、データベース管理ソフト、ネットワークソフト等のMW(ミドルウェア)等が上記実施形態を実現するための各処理の一部を実行しても良い。   In addition, an OS (operating system) running on a computer based on an instruction of a program installed in the computer from a storage medium, MW (middleware) such as database management software, network software, and the like realize the above-described embodiment. A part of each process may be executed.

さらに、各実施形態における記憶媒体は、コンピュータと独立した媒体に限らず、LANやインターネット等により伝送されたプログラムをダウンロードして記憶または一時記憶した記憶媒体も含まれる。   Furthermore, the storage medium in each embodiment is not limited to a medium independent of a computer, but also includes a storage medium in which a program transmitted via a LAN, the Internet, or the like is downloaded and stored or temporarily stored.

また、記憶媒体は1つに限らず、複数の媒体から上記の各実施形態における処理が実行される場合も本発明における記憶媒体に含まれ、媒体構成は何れの構成であっても良い。   Further, the number of storage media is not limited to one, and the case where the processing in each of the above embodiments is executed from a plurality of media is also included in the storage media in the present invention, and the media configuration may be any configuration.

なお、各実施形態におけるコンピュータは、記憶媒体に記憶されたプログラムに基づき、上記の各実施形態における各処理を実行するものであって、パソコン等の1つからなる装置、複数の装置がネットワーク接続されたシステム等の何れの構成であっても良い。   The computer in each embodiment executes each process in each of the above embodiments based on a program stored in a storage medium, and a single device such as a personal computer or a plurality of devices are connected to a network. Any configuration of the system or the like may be used.

また、各実施形態におけるコンピュータとは、パソコンに限らず、情報処理機器に含まれる演算処理装置、マイコン等も含み、プログラムによって本発明の機能を実現することが可能な機器、装置を総称している。   In addition, the computer in each embodiment is not limited to a personal computer, and includes an arithmetic processing device, a microcomputer, and the like included in an information processing device, and is a generic term for devices and devices that can realize the functions of the present invention by a program. Yes.

なお、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   In addition, although some embodiment of this invention was described, these embodiment is shown as an example and is not intending limiting the range of invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1…診断付き出力装置、2…電源、3…負荷、11…内部ロジックモジュール、111…出力制御部、112…診断部、113…診断動作部、121〜123…出力回路、131〜133…検出回路、134〜136…検出フォトカプラ、14…選択回路、15…輪番選択回路、16…コード化回路、171〜173…反転XOR回路、18…AND回路、19…出力選択回路、1a…出力輪番選択回路、1b1〜1b3…出力フォトカプラ、1c1〜1c3…出力端。   DESCRIPTION OF SYMBOLS 1 ... Output device with diagnosis, 2 ... Power supply, 3 ... Load, 11 ... Internal logic module, 111 ... Output control part, 112 ... Diagnosis part, 113 ... Diagnosis operation part, 121-123 ... Output circuit, 131-133 ... Detection Circuits 134 to 136... Detection photocouplers 14... Selection circuit 15... Rotation number selection circuit 16... Coding circuit 171 to 173 ... inverted XOR circuit 18. Selection circuit, 1b1 to 1b3... Output photocoupler, 1c1 to 1c3.

Claims (8)

複数の出力信号を個別に出力するための複数の出力端と、
入力された出力操作信号に個別に応じて出力信号を前記各出力端のいずれかに出力する複数の出力回路と、
前記各出力回路と前記各出力端との間の出力信号を個別に検出して検出信号を送出する複数の検出回路と、
前記各検出回路から送出される検出信号のうちの1つの検出信号を選択的に通過させる選択回路であって、入力された選択信号に基づいて、前記選択信号が示す出力回路に接続された検出回路から送出された検出信号を通過させる前記選択回路と、
前記出力操作信号を前記各出力回路に個別に入力する一方、前記選択回路を通過した検出信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する内部ロジックモジュールとを備え、
前記内部ロジックモジュールは、
定期的又は不定期に前記各出力回路のうちの1つの出力回路を選択し、当該選択した出力回路を示す選択信号を前記選択回路に入力する選択信号入力モジュールと、
前記選択された出力回路に前記出力操作信号を入力する出力操作信号入力モジュールと、
前記出力操作信号入力モジュールにより入力された出力操作信号と、前記選択回路を通過した検出信号とが一致するか否かを判定することにより、前記診断を実行する判定モジュールと、
を備えたことを特徴とする診断付き出力装置。
A plurality of output terminals for individually outputting a plurality of output signals;
A plurality of output circuits for outputting output signals to any one of the output terminals according to the input output operation signals individually;
A plurality of detection circuits that individually detect output signals between the output circuits and the output terminals and send detection signals;
A selection circuit that selectively passes one detection signal out of the detection signals transmitted from each detection circuit, the detection circuit connected to the output circuit indicated by the selection signal based on the input selection signal The selection circuit for passing the detection signal transmitted from the circuit;
An internal logic module for diagnosing whether an output signal is output in accordance with the output operation signal based on a detection signal that has passed through the selection circuit while individually inputting the output operation signal to each of the output circuits; With
The internal logic module is
A selection signal input module that selects one of the output circuits periodically or irregularly, and inputs a selection signal indicating the selected output circuit to the selection circuit;
An output operation signal input module for inputting the output operation signal to the selected output circuit;
A determination module that performs the diagnosis by determining whether or not the output operation signal input by the output operation signal input module matches the detection signal that has passed through the selection circuit;
An output device with diagnosis, comprising:
複数の出力信号を個別に出力するための複数の出力端と、
入力された出力操作信号に個別に応じて出力信号を前記各出力端のいずれかに出力する複数の出力回路と、
前記各出力回路と前記各出力端との間の出力信号を個別に検出して検出信号を送出する複数の検出回路と、
前記各検出回路のうちの1つの検出回路から受ける検出信号を選択的に通過させる輪番選択回路であって、入力された切り替え信号に基づいて、前記通過させる検出信号を輪番で切り替える前記輪番選択回路と、
前記出力操作信号を前記各出力回路に個別に入力する一方、前記輪番選択回路を通過した検出信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する内部ロジックモジュールとを備え、
前記内部ロジックモジュールは、
定期的又は不定期に前記各出力回路のうちの1つの出力回路を輪番で選択し、当該選択した出力回路を示す切り替え信号を前記輪番選択回路に入力する切り替え信号入力モジュールと、
前記選択された出力回路に前記出力操作信号を入力する出力操作信号入力モジュールと、
前記出力操作信号入力モジュールにより入力された出力操作信号と、前記輪番選択回路を通過した検出信号とが一致するか否かを判定することにより、前記診断を実行する判定モジュールと、
を備えたことを特徴とする診断付き出力装置。
A plurality of output terminals for individually outputting a plurality of output signals;
A plurality of output circuits for outputting output signals to any one of the output terminals according to the input output operation signals individually;
A plurality of detection circuits that individually detect output signals between the output circuits and the output terminals and send detection signals;
A wheel number selection circuit for selectively passing a detection signal received from one of the detection circuits, wherein the wheel number selection circuit switches the detection signal to be passed by a wheel number based on an input switching signal. When,
An internal logic module that diagnoses whether an output signal is output according to the output operation signal based on a detection signal that has passed through the wheel number selection circuit while individually inputting the output operation signal to each of the output circuits And
The internal logic module is
A switching signal input module that selects one output circuit among the output circuits periodically or irregularly by a wheel number, and inputs a switching signal indicating the selected output circuit to the wheel number selection circuit;
An output operation signal input module for inputting the output operation signal to the selected output circuit;
A determination module that executes the diagnosis by determining whether or not the output operation signal input by the output operation signal input module matches the detection signal that has passed through the wheel number selection circuit;
An output device with diagnosis, comprising:
複数の出力信号を個別に出力するための複数の出力端と、
入力された出力操作信号に個別に応じて出力信号を前記各出力端のいずれかに出力する複数の出力回路と、
前記各出力回路と前記各出力端との間の出力信号を個別に検出して検出信号を送出する複数の検出回路と、
前記入力される出力操作信号を抽出し、当該抽出した出力操作信号をコード化することにより、当該出力操作信号が入力される出力回路を示す選択信号を作成するコード化回路と、
前記各検出回路から送出される検出信号のうちの1つの検出信号を選択的に通過させる選択回路であって、前記作成された選択信号に基づいて、前記選択信号が示す出力回路に接続された検出回路から送出された検出信号を通過させる前記選択回路と、
前記出力操作信号を前記各出力回路に個別に入力する一方、前記選択回路を通過した検出信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する内部ロジックモジュールとを備え、
前記内部ロジックモジュールは、
定期的又は不定期に前記各出力回路のうちの1つの出力回路を選択する出力回路選択モジュールと、
前記出力回路選択モジュールにより選択された出力回路に前記出力操作信号を入力する出力操作信号入力モジュールと、
前記出力操作信号入力モジュールにより入力された出力操作信号と、前記選択回路を通過した検出信号とが一致するか否かを判定することにより、前記診断を実行する判定モジュールと、
を備えたことを特徴とする診断付き出力装置。
A plurality of output terminals for individually outputting a plurality of output signals;
A plurality of output circuits for outputting output signals to any one of the output terminals according to the input output operation signals individually;
A plurality of detection circuits that individually detect output signals between the output circuits and the output terminals and send detection signals;
An encoding circuit that extracts the input output operation signal and creates a selection signal indicating an output circuit to which the output operation signal is input by encoding the extracted output operation signal;
A selection circuit that selectively passes one detection signal of detection signals transmitted from each detection circuit, and is connected to an output circuit indicated by the selection signal based on the created selection signal The selection circuit for passing the detection signal transmitted from the detection circuit;
An internal logic module for diagnosing whether an output signal is output in accordance with the output operation signal based on a detection signal that has passed through the selection circuit while individually inputting the output operation signal to each of the output circuits; With
The internal logic module is
An output circuit selection module that selects one of the output circuits regularly or irregularly; and
An output operation signal input module for inputting the output operation signal to the output circuit selected by the output circuit selection module;
A determination module that performs the diagnosis by determining whether or not the output operation signal input by the output operation signal input module matches the detection signal that has passed through the selection circuit;
An output device with diagnosis, comprising:
複数の出力信号を個別に出力するための複数の出力端と、
入力された出力操作信号に個別に応じて出力信号を前記各出力端のいずれかに出力する複数の出力回路と、
前記各出力回路と前記各出力端との間の出力信号を個別に検出して検出信号を送出する複数の検出回路と、
前記入力される出力操作信号と、前記送出された検出信号との排他的論理和を個別に演算し、この演算結果を反転させた個別診断信号を送出する複数の反転XOR回路と、
前記複数の反転XOR回路から送出された個別診断信号の論理積を演算し、この演算結果を示す診断信号を送出するAND回路と、
前記出力操作信号を前記各出力回路に個別に入力する一方、前記AND回路から送出された診断信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する内部ロジックモジュールとを備え、
前記内部ロジックモジュールは、
定期的又は不定期に前記各出力回路のうちの1つの出力回路を選択する出力回路選択モジュールと、
前記出力回路選択モジュールにより選択された出力回路に前記出力操作信号を入力する出力操作信号入力モジュールと、
前記AND回路から送出された診断信号がハイレベルを示すか否かを判定することにより、前記診断を実行する判定モジュールと、
を備えたことを特徴とする診断付き出力装置。
A plurality of output terminals for individually outputting a plurality of output signals;
A plurality of output circuits for outputting output signals to any one of the output terminals according to the input output operation signals individually;
A plurality of detection circuits that individually detect output signals between the output circuits and the output terminals and send detection signals;
A plurality of inverted XOR circuits that individually calculate exclusive OR of the input output operation signal and the transmitted detection signal, and send individual diagnostic signals obtained by inverting the calculation result;
An AND circuit for calculating a logical product of the individual diagnostic signals sent from the plurality of inverting XOR circuits and sending a diagnostic signal indicating the result of the calculation;
An internal logic module that individually diagnoses whether or not an output signal is output in accordance with the output operation signal based on a diagnosis signal sent from the AND circuit while individually inputting the output operation signal to each of the output circuits And
The internal logic module is
An output circuit selection module that selects one of the output circuits regularly or irregularly; and
An output operation signal input module for inputting the output operation signal to the output circuit selected by the output circuit selection module;
A determination module for executing the diagnosis by determining whether or not the diagnosis signal sent from the AND circuit indicates a high level;
An output device with diagnosis, comprising:
複数の出力信号を個別に出力するための複数の出力端と、
入力された出力操作信号に個別に応じて出力信号を前記各出力端のいずれかに出力する複数の出力回路と、
前記各出力回路と前記各出力端との間の出力信号を個別に検出して検出信号を送出する複数の検出回路と、
前記入力される出力操作信号と、前記送出された検出信号との排他的論理和を個別に演算し、この演算結果を反転させた個別診断信号を送出する複数の反転XOR回路と、
前記入力される出力操作信号を抽出し、当該抽出した出力操作信号をコード化することにより、当該出力操作信号が入力される出力回路を示す選択信号を作成するコード化回路と、
前記各反転XOR回路から送出される個別診断信号のうちの1つの個別診断信号を選択的に通過させる選択回路であって、前記作成された選択信号に基づいて、前記選択信号が示す出力回路に検出回路を介して接続された反転XOR回路から送出された個別診断信号を通過させる前記選択回路と、
前記出力操作信号を前記各出力回路に個別に入力する一方、前記選択回路を通過した個別診断信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する内部ロジックモジュールとを備え、
前記内部ロジックモジュールは、
定期的又は不定期に前記各出力回路のうちの1つの出力回路を選択する出力回路選択モジュールと、
前記出力回路選択モジュールにより選択された出力回路に前記出力操作信号を入力する出力操作信号入力モジュールと、
前記選択回路を通過した個別診断信号がハイレベルを示すか否かを判定することにより、前記診断を実行する判定モジュール)と、
を備えたことを特徴とする診断付き出力装置。
A plurality of output terminals for individually outputting a plurality of output signals;
A plurality of output circuits for outputting output signals to any one of the output terminals according to the input output operation signals individually;
A plurality of detection circuits that individually detect output signals between the output circuits and the output terminals and send detection signals;
A plurality of inverted XOR circuits that individually calculate exclusive OR of the input output operation signal and the transmitted detection signal, and send individual diagnostic signals obtained by inverting the calculation result;
An encoding circuit that extracts the input output operation signal and creates a selection signal indicating an output circuit to which the output operation signal is input by encoding the extracted output operation signal;
A selection circuit for selectively passing one individual diagnosis signal out of the individual diagnosis signals transmitted from each of the inversion XOR circuits, and based on the created selection signal, an output circuit indicated by the selection signal; The selection circuit for passing an individual diagnostic signal sent from an inverting XOR circuit connected through a detection circuit;
An internal logic module that individually diagnoses whether an output signal is output according to the output operation signal based on the individual diagnosis signal that has passed through the selection circuit while individually inputting the output operation signal to each of the output circuits And
The internal logic module is
An output circuit selection module that selects one of the output circuits regularly or irregularly; and
An output operation signal input module for inputting the output operation signal to the output circuit selected by the output circuit selection module;
A determination module that executes the diagnosis by determining whether or not the individual diagnosis signal that has passed through the selection circuit indicates a high level;
An output device with diagnosis, comprising:
複数の出力信号を個別に出力するための複数の出力端と、
入力された出力操作信号に個別に応じて出力信号を前記各出力端のいずれかに出力する複数の出力回路と、
前記各出力回路と前記各出力端との間の出力信号を個別に検出して検出信号を送出する複数の検出回路と、
前記各検出回路から送出される検出信号のうちの1つの検出信号を選択的に通過させる選択回路であって、入力された選択信号に基づいて、前記選択信号が示す出力回路に接続された検出回路から送出された検出信号を通過させる前記選択回路と、
統合された出力操作信号からなる統合出力操作信号と、前記選択信号とが入力されると、この選択信号に基づいて、前記統合出力操作信号から分離した出力操作信号を当該選択信号が示す出力回路に入力する一方、当該選択信号が示さない出力回路には前記出力信号を出力させない状態の出力操作信号を維持する出力選択回路と、
前記統合出力操作信号を前記出力選択回路に入力する一方、前記選択回路を通過した検出信号に基づいて、当該統合出力操作信号に応じて出力信号が出力されたか否かを診断する内部ロジックモジュールとを備え、
前記内部ロジックモジュールは、
定期的又は不定期に前記各出力回路のうちの1つの出力回路を選択し、当該選択した出力回路を示す選択信号を前記出力選択回路及び前記選択回路に入力する選択信号入力モジュールと、
前記選択された出力回路に入力される出力操作信号を統合して前記統合出力操作信号を作成し、当該統合出力操作信号を前記出力選択回路に入力する出力操作信号入力モジュールと、
前記出力操作信号入力モジュールにより入力された統合出力操作信号と、前記選択回路を通過した検出信号とが一致するか否かを判定することにより、前記診断を実行する判定モジュールと、
を備えたことを特徴とする診断付き出力装置。
A plurality of output terminals for individually outputting a plurality of output signals;
A plurality of output circuits for outputting output signals to any one of the output terminals according to the input output operation signals individually;
A plurality of detection circuits that individually detect output signals between the output circuits and the output terminals and send detection signals;
A selection circuit that selectively passes one detection signal out of the detection signals transmitted from each detection circuit, the detection circuit connected to the output circuit indicated by the selection signal based on the input selection signal The selection circuit for passing the detection signal transmitted from the circuit;
When an integrated output operation signal composed of an integrated output operation signal and the selection signal are input, an output circuit in which the selection signal indicates an output operation signal separated from the integrated output operation signal based on the selection signal An output selection circuit that maintains an output operation signal in a state in which the output signal is not output to the output circuit that is not indicated by the selection signal,
An internal logic module for diagnosing whether or not an output signal is output according to the integrated output operation signal based on a detection signal passing through the selection circuit while inputting the integrated output operation signal to the output selection circuit; With
The internal logic module is
A selection signal input module for selecting one of the output circuits at regular or irregular intervals and inputting a selection signal indicating the selected output circuit to the output selection circuit and the selection circuit;
An output operation signal input module that integrates output operation signals input to the selected output circuit to create the integrated output operation signal, and inputs the integrated output operation signal to the output selection circuit;
A determination module that executes the diagnosis by determining whether or not an integrated output operation signal input by the output operation signal input module matches a detection signal that has passed through the selection circuit;
An output device with diagnosis, comprising:
複数の出力信号を個別に出力するための複数の出力端と、
入力された出力操作信号に個別に応じて出力信号を前記各出力端のいずれかに出力する複数の出力回路と、
前記各出力回路と前記各出力端との間の出力信号を個別に検出して検出信号を送出する複数の検出回路と、
前記各検出回路のうちの1つの検出回路から受ける検出信号を選択的に通過させる輪番選択回路であって、入力された切り替え信号に基づいて、前記通過させる検出信号を輪番で切り替える前記輪番選択回路と、
統合された出力操作信号からなる統合出力操作信号から出力操作信号を分離し、当該分離した出力操作信号を前記各出力回路のうちの1つの出力回路に入力する出力輪番選択回路であって、入力された前記切り替え信号に基づいて、前記出力操作信号の入力先の出力回路を輪番で切り替える一方、前記出力操作信号が入力されない出力回路には前記出力信号を出力させない状態の出力操作信号を維持する前記出力輪番選択回路と、
前記各検出回路のうちの1つの検出回路から受ける検出信号を通過させる輪番選択回路であって、入力された切り替え信号に基づいて、前記通過させる検出信号を輪番で切り替える前記輪番選択回路と、
前記統合出力操作信号を前記出力輪番選択回路に入力する一方、前記輪番選択回路を通過した検出信号に基づいて、当該統合出力操作信号に応じて出力信号が出力されたか否かを診断する内部ロジックモジュールとを備え、
前記内部ロジックモジュールは、
定期的又は不定期に前記各出力回路のうちの1つの出力回路を輪番で選択し、当該選択した出力回路を示す切り替え信号を前記出力輪番選択回路及び前記輪番選択回路に入力する切り替え信号入力モジュールと、
前記選択された出力回路に入力される出力操作信号を統合して前記統合出力操作信号を作成し、当該統合出力操作信号を前記出力輪番選択回路に入力する出力操作信号入力モジュールと、
前記出力操作信号入力モジュールにより入力された統合出力操作信号と、前記選択回路を通過した検出信号とが一致するか否かを判定することにより、前記診断を実行する判定モジュールと、
を備えたことを特徴とする診断付き出力装置。
A plurality of output terminals for individually outputting a plurality of output signals;
A plurality of output circuits for outputting output signals to any one of the output terminals according to the input output operation signals individually;
A plurality of detection circuits that individually detect output signals between the output circuits and the output terminals and send detection signals;
A wheel number selection circuit for selectively passing a detection signal received from one of the detection circuits, wherein the wheel number selection circuit switches the detection signal to be passed by a wheel number based on an input switching signal. When,
An output wheel number selection circuit that separates an output operation signal from an integrated output operation signal composed of an integrated output operation signal and inputs the separated output operation signal to one of the output circuits. Based on the switched signal, the output operation signal to which the output operation signal is input is switched by a rotation number, while the output operation signal in the state where the output signal is not output to the output circuit to which the output operation signal is not input is maintained. The output wheel number selection circuit;
A wheel number selection circuit for passing a detection signal received from one of the detection circuits, and the wheel number selection circuit for switching the detection signal to be passed by a wheel number based on an input switching signal;
An internal logic that inputs the integrated output operation signal to the output wheel number selection circuit and diagnoses whether an output signal is output according to the integrated output operation signal based on a detection signal that has passed through the wheel number selection circuit Module and
The internal logic module is
A switching signal input module that periodically or irregularly selects one output circuit of the output circuits by a wheel number, and inputs a switching signal indicating the selected output circuit to the output wheel number selecting circuit and the wheel number selecting circuit. When,
An output operation signal input module that integrates output operation signals input to the selected output circuit to create the integrated output operation signal, and inputs the integrated output operation signal to the output wheel number selection circuit;
A determination module that executes the diagnosis by determining whether or not an integrated output operation signal input by the output operation signal input module matches a detection signal that has passed through the selection circuit;
An output device with diagnosis, comprising:
複数の出力信号を個別に出力するための複数の出力端と、
入力された出力操作信号に個別に応じて出力信号を前記各出力端のいずれかに出力する複数の出力回路と、
送出された出力操作信号に個別に応じて出力操作信号を前記各出力回路のいずれかに入力する複数の出力フォトカプラと、
前記各出力回路と前記各出力端との間の出力信号を個別に検出して検出信号を送出する複数の検出フォトカプラと、
前記各検出フォトカプラから送出される検出信号のうちの1つの検出信号を選択的に通過させる選択回路であって、入力された選択信号に基づいて、前記選択信号が示す出力回路に接続された検出フォトカプラから送出された検出信号を通過させる前記選択回路と、
前記出力操作信号を前記各出力フォトカプラに個別に送出する一方、前記選択回路を通過した検出信号に基づいて、当該出力操作信号に応じて出力信号が出力されたか否かを診断する内部ロジックモジュールと、
前記内部ロジックモジュールは、
定期的又は不定期に前記各出力回路のうちの1つの出力回路を選択し、当該選択した出力回路を示す選択信号を前記選択回路に入力する選択信号入力モジュールと、
前記選択された出力回路に接続された出力フォトカプラに前記出力操作信号を送出する出力操作信号送出モジュールと、
前記出力操作信号送出モジュールにより送出された出力操作信号と、前記選択回路を通過した検出信号とが一致するか否かを判定することにより、前記診断を実行する判定モジュールと、
を備えたことを特徴とする診断付き出力装置。
A plurality of output terminals for individually outputting a plurality of output signals;
A plurality of output circuits for outputting output signals to any one of the output terminals according to the input output operation signals individually;
A plurality of output photocouplers that individually input output operation signals to any of the output circuits according to the output operation signals that have been sent,
A plurality of detection photocouplers that individually detect output signals between the output circuits and the output terminals and send out detection signals;
A selection circuit that selectively passes one detection signal of detection signals transmitted from each detection photocoupler, and is connected to an output circuit indicated by the selection signal based on the input selection signal The selection circuit for passing the detection signal transmitted from the detection photocoupler;
An internal logic module that diagnoses whether an output signal is output according to the output operation signal based on a detection signal that passes through the selection circuit while individually sending the output operation signal to each output photocoupler When,
The internal logic module is
A selection signal input module that selects one of the output circuits periodically or irregularly, and inputs a selection signal indicating the selected output circuit to the selection circuit;
An output operation signal sending module for sending the output operation signal to an output photocoupler connected to the selected output circuit;
A determination module for executing the diagnosis by determining whether or not the output operation signal transmitted by the output operation signal transmission module matches the detection signal that has passed through the selection circuit;
An output device with diagnosis, comprising:
JP2011190481A 2011-09-01 2011-09-01 Diagnostic output device Pending JP2013054427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011190481A JP2013054427A (en) 2011-09-01 2011-09-01 Diagnostic output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011190481A JP2013054427A (en) 2011-09-01 2011-09-01 Diagnostic output device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2015029695A Division JP5925925B2 (en) 2015-02-18 2015-02-18 Output device with diagnosis

Publications (1)

Publication Number Publication Date
JP2013054427A true JP2013054427A (en) 2013-03-21

Family

ID=48131393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011190481A Pending JP2013054427A (en) 2011-09-01 2011-09-01 Diagnostic output device

Country Status (1)

Country Link
JP (1) JP2013054427A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104460405A (en) * 2013-09-18 2015-03-25 株式会社东芝 Output apparatus and diagnosis method therefor

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5532102A (en) * 1978-08-28 1980-03-06 Hitachi Ltd Diagnostic method for trouble of analog output interface

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5532102A (en) * 1978-08-28 1980-03-06 Hitachi Ltd Diagnostic method for trouble of analog output interface

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104460405A (en) * 2013-09-18 2015-03-25 株式会社东芝 Output apparatus and diagnosis method therefor
JP2015060398A (en) * 2013-09-18 2015-03-30 株式会社東芝 Output device and diagnostic method thereof
KR101560493B1 (en) 2013-09-18 2015-10-14 가부시끼가이샤 도시바 Output device and diagnosis method thereof
CN104460405B (en) * 2013-09-18 2017-04-12 株式会社东芝 Output apparatus and diagnosis method therefor

Similar Documents

Publication Publication Date Title
EP1857936B1 (en) Information processing apparatus and information processing method
WO2018221136A1 (en) Abnormality determination device, abnormality determination method, and abnormality determination program
JP2011145831A (en) Safety output device
US8793533B2 (en) Method and device for performing failsafe hardware-independent floating-point arithmetic
JP2005345189A (en) Method for detecting abnormality of r/d converter
JP2011145988A (en) Safety input device
JP5925925B2 (en) Output device with diagnosis
CN101790722A (en) Method and device for monitoring avionics systems connected to a shared medium
JP2013054427A (en) Diagnostic output device
JP2013077048A (en) Computer equipped with self-diagnosis function, software creation method, and software creation device
JP2016103110A (en) Multiplexing control device
JP2011128821A (en) Redundant field apparatus
JP2013077921A (en) Clock diagnosis circuit
Großmann et al. Efficient application of multi-core processors as substitute of the E-Gas (Etc) monitoring concept
US20120307650A1 (en) Multiplex system
KR100981659B1 (en) Industrial controller
JP7338608B2 (en) Apparatus, method and program
JP2020145356A (en) Integrated circuit device
JP2006276957A (en) Safety system
JP5559100B2 (en) Electronic control system
JP7455772B2 (en) Logic circuit with error detection function and high safety control system
JP2014011591A (en) Transmission device, transmission system, and self-diagnostic method thereof
JP2012160149A (en) Duplex circuit, semiconductor device and test method
US10528417B2 (en) Clock signal inspection device, plant monitoring controller, and method for diagnosing clock signal inspection device
JP2012059201A (en) Abnormality detection apparatus and abnormality detection method for serial/parallel conversion system

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131205

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131212

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131219

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131226

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140109

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150106

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150428