Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7484538B2 - Condition determination system and machine tool - Google Patents
[go: Go Back, main page]

JP7484538B2 - Condition determination system and machine tool - Google Patents

Condition determination system and machine tool Download PDF

Info

Publication number
JP7484538B2
JP7484538B2 JP2020130859A JP2020130859A JP7484538B2 JP 7484538 B2 JP7484538 B2 JP 7484538B2 JP 2020130859 A JP2020130859 A JP 2020130859A JP 2020130859 A JP2020130859 A JP 2020130859A JP 7484538 B2 JP7484538 B2 JP 7484538B2
Authority
JP
Japan
Prior art keywords
contact
switch
packet
unit
control unit
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.)
Active
Application number
JP2020130859A
Other languages
Japanese (ja)
Other versions
JP2022027070A (en
Inventor
康吉 磯田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2020130859A priority Critical patent/JP7484538B2/en
Publication of JP2022027070A publication Critical patent/JP2022027070A/en
Application granted granted Critical
Publication of JP7484538B2 publication Critical patent/JP7484538B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Keying Circuit Devices (AREA)
  • Safety Devices In Control Systems (AREA)

Description

本技術は、スイッチのオン/オフ状態を判定する状態判定システム、及び工作機械に関する。 This technology relates to a state determination system that determines the on/off state of a switch, and to a machine tool.

工作機械や産業用ロボット等は使用環境が安全である時のみモータ等の動力発生器に電力を供給する安全回路を有する。安全回路は、非常停止スイッチ等の安全スイッチやセーフティドアスイッチ等の安全エリアセンサからの入力信号を受け付ける。その入力信号に基づき、安全回路はスイッチの接点の開閉状態を監視してスイッチのオン/オフ状態を判定し、不具合の発生時、モータ等への駆動を停止し、不具合原因が取り除かれない場合、モータ等の再駆動を行なわない。 Machine tools, industrial robots, etc. have safety circuits that supply power to motors and other power generators only when the environment in which they are used is safe. The safety circuit receives input signals from safety switches such as emergency stop switches and safety area sensors such as safety door switches. Based on the input signals, the safety circuit monitors the open/closed state of the switch contacts to determine the on/off state of the switch, and stops driving the motor etc. when a malfunction occurs, and will not restart the motor etc. if the cause of the malfunction is not removed.

スイッチの接点の開閉状態は、開閉検出回路が検出する。特許文献1の場合、接点へ入力する信号をパルス化し、送り出した波形と接点から戻ってくる信号の波形とを比較し、電源短絡ではなく、所定の経路を経たものであると認識する。 The open/closed state of the switch contacts is detected by an open/close detection circuit. In the case of Patent Document 1, the signal input to the contacts is converted into a pulse, and the waveform sent out is compared with the waveform of the signal returning from the contacts to determine that the power supply is not short-circuited and that the signal has traveled through a specified path.

特開2019-150864号公報JP 2019-150864 A

特許文献1の技術により複数の接点間での配線短絡による開閉の誤検出を防止する場合、上記パルスのタイミングをずらすことになる。工作機械の規模によっては非常停止スイッチやドアスイッチのみでも100近く存在する。タイミング調整によりスイッチの各接点に対し誤検出が生じないようにする場合、タイミングをずらす程パルス間隔が長くなって未検出時間が長くなる。従って、スイッチのオン/オフの検出の精度が悪くなる。
この安全回路はB接点回路にパルステスト機能を付与した形になる。B接点回路は通常はオンであり、テストのためのオフパルスを流すことになり、オン期間は長い。スイッチの接点には最小接点電流が設定されており、通電電流を絞るには限界があり、オン期間が長い場合、スイッチ回路の消費電力が増大する。
When using the technology of Patent Document 1 to prevent erroneous detection of open/closed states due to wiring shorts between multiple contacts, the timing of the pulses is shifted. Depending on the size of a machine tool, there may be nearly 100 emergency stop switches and door switches alone. When adjusting the timing to prevent erroneous detection of each switch contact, the more the timing is shifted, the longer the pulse interval becomes, and the longer the non-detection time becomes. This results in a decrease in the accuracy of switch on/off detection.
This safety circuit is a type that adds a pulse test function to a B contact circuit. The B contact circuit is normally on, and an off pulse is sent for testing, so the on period is long. A minimum contact current is set for the switch contact, and there is a limit to how much the current can be reduced, so if the on period is long, the power consumption of the switch circuit increases.

本開示は斯かる事情に鑑みてなされたものであり、良好に接点の開閉状態を検出してスイッチのオン/オフ状態を判定する状態判定システム、及び工作機械を提供することを目的とする。 This disclosure has been made in light of these circumstances, and aims to provide a state determination system and machine tool that can accurately detect the open/closed state of a contact and determine the on/off state of a switch.

本発明の一態様に係る状態判定システムは、第一接点を備えるスイッチと、前記第一接点に対応する第一固有値を記憶し、該第一固有値を含む第一出力信号を出力し、前記第一接点の入力側に接続した第一出力端子を有する第一制御部と、前記第一接点に対応する第一期待値を記憶し、前記第一接点の出力側に接続してあり、前記第一接点が閉状態である場合に第一入力信号を入力する第一入力端子を有する第二制御部とを備え、前記第二制御部は、前記第一入力信号が含む第一固有値が前記第一期待値と一致する場合に、前記第一接点が閉状態であると判定する。 A state determination system according to one aspect of the present invention includes a switch having a first contact, a first control unit that stores a first eigenvalue corresponding to the first contact, outputs a first output signal including the first eigenvalue, and has a first output terminal connected to the input side of the first contact, and a second control unit that stores a first expected value corresponding to the first contact, is connected to the output side of the first contact, and has a first input terminal that inputs a first input signal when the first contact is in a closed state, and the second control unit determines that the first contact is in a closed state when the first eigenvalue included in the first input signal matches the first expected value.

上記構成によれば、通信の成立の有無、固有値と期待値との比較という複数段階で接点の開閉を判定するので、電源短絡や地絡の他に、近接する電線との混線による異常を検出でき、スイッチのオン/オフ状態を誤って判定することが防止される。スイッチのオン/オフ状態を良好に判定して、異常の有無を良好に判定できる。
第一制御部が送信する信号と第二制御部が受信する受信信号とが同期している必要がなく、クロック等を共有する必要がなく、第二制御部は第一制御部から独立して接点の開閉状態を判定できる。
固有値を含む信号のデータで判定するので、オン期間を短くすることができ、スイッチ回路における消費電力を抑制することができる。
According to the above configuration, the open/close status of the contacts is judged at multiple stages, including whether communication is established and comparing the eigenvalue with the expected value, so that in addition to power supply short circuits and ground faults, abnormalities due to cross-connection with nearby electric wires can be detected and erroneous judgment of the on/off state of the switch can be prevented. The on/off state of the switch can be accurately judged, and the presence or absence of an abnormality can be accurately judged.
There is no need for the signal transmitted by the first control unit and the signal received by the second control unit to be synchronized, and there is no need to share a clock, etc., and the second control unit can determine the open/closed state of the contacts independently of the first control unit.
Since the determination is made based on the data of the signal including the eigenvalue, the ON period can be shortened, and the power consumption in the switch circuit can be reduced.

上述の状態判定システムにおいて、前記スイッチは第二接点を備え、前記第一制御部は、前記第一期待値、及び前記第二接点に対応する第二期待値をさらに記憶し、前記第一接点の出力側に接続してあり、前記第一接点が閉状態である場合に第一入力信号を入力する第二入力端子と、前記第二接点の出力側に接続してあり、前記第二接点が閉状態である場合に第二入力信号を入力する第三入力端子とを備え、前記第二入力端子が入力した前記第一入力信号が含む第一固有値が前記第一期待値と一致する場合に、前記第一接点が閉状態であると判定し、前記第三入力端子が入力した前記第二入力信号が含む第二固有値が前記第二期待値と一致する場合に、前記第二接点が閉状態であると判定し、前記第二制御部は、前記第二接点に対応する第二固有値、前記第一期待値、及び前記第二期待値を記憶し、前記第二固有値を含む第二出力信号を出力し、前記第二接点の入力側に接続した第二出力端子と、前記第二接点の出力側に接続してあり、前記第二接点が閉状態である場合に第二入力信号を入力する第四入力端子とを備え、前記第四入力端子が入力した前記第二入力信号が含む第二固有値が前記第二期待値と一致する場合に、前記第二接点が閉状態であると判定してもよい。 In the above-mentioned state determination system, the switch has a second contact, and the first control unit further stores the first expected value and a second expected value corresponding to the second contact, and is provided with a second input terminal connected to the output side of the first contact and inputting a first input signal when the first contact is in a closed state, and a third input terminal connected to the output side of the second contact and inputting a second input signal when the second contact is in a closed state, and determines that the first contact is in a closed state when a first eigenvalue contained in the first input signal input to the second input terminal matches the first expected value, and determines that the first contact is in a closed state when the first eigenvalue contained in the first input signal input to the third input terminal matches the first expected value. When a second eigenvalue included in the input signal matches the second expected value, the second contact is determined to be in a closed state, and the second control unit stores the second eigenvalue, the first expected value, and the second expected value corresponding to the second contact, outputs a second output signal including the second eigenvalue, and includes a second output terminal connected to the input side of the second contact and a fourth input terminal connected to the output side of the second contact and inputs a second input signal when the second contact is in a closed state, and may determine that the second contact is in a closed state when a second eigenvalue included in the second input signal input to the fourth input terminal matches the second expected value.

上記構成によれば、スイッチが接点を二つ有し、安全システムが二重化されている場合に、制御部間で同期を取らずに、二つの接点の開閉状態を独立して判定できる。上述のように接点を多重化した場合に、接点間の同期タイミングをずらす為パルス間隔が長くなり、未検出時間が長くなるという問題も生じない。従って、良好に接点の開閉状態を検出でき、スイッチのオン/オフを判定できる。 According to the above configuration, when the switch has two contacts and the safety system is duplicated, the open/closed state of the two contacts can be determined independently without synchronization between the control units. When the contacts are multiplexed as described above, the synchronization timing between the contacts is shifted, which lengthens the pulse interval and avoids the problem of long undetected time. Therefore, the open/closed state of the contacts can be detected well, and the on/off state of the switch can be determined.

上述の状態判定システムにおいて、前記第一制御部及び前記第二制御部は、前記第一接点及び前記第二接点の少なくとも一方が開状態である場合に、前記スイッチは操作された、又は異常であると判定し、前記第一接点及び前記第二接点の両方が閉状態である場合に、正常であると判定してもよい。 In the above-mentioned state determination system, the first control unit and the second control unit may determine that the switch has been operated or is abnormal when at least one of the first contact and the second contact is in an open state, and may determine that the switch is normal when both the first contact and the second contact are in a closed state.

上記構成によれば、第一接点及び前記第二接点の両方が閉状態である場合にのみ、スイッチは正常であると判定でき、安全性が高まる。 With the above configuration, the switch can be determined to be normal only when both the first contact and the second contact are closed, increasing safety.

上述の状態判定システムにおいて、前記第一制御部及び前記第二制御部は、判定結果を他方の制御部へ送信し、各制御部の判定結果が一致しない場合、異常であると判定してもよい。 In the above-mentioned condition determination system, the first control unit and the second control unit may transmit the determination results to the other control unit, and if the determination results of each control unit do not match, it may be determined that an abnormality has occurred.

上記構成によれば、各制御部の判定結果が一致する場合のみ、正常と判定するので、より安全性が高まる。 With the above configuration, the system is deemed normal only when the judgment results of each control unit match, thus improving safety.

上述の状態判定システムにおいて、前記第一制御部及び前記第二制御部の通信は、シリアル通信であってもよい。 In the above-mentioned state determination system, the communication between the first control unit and the second control unit may be serial communication.

上記構成によれば、回路数が少なく低コスト、配線が簡単であり、長距離間の通信も行うことができる。クロック(タイミング)のずれが発生しにくく、ノイズにも強い The above configuration requires fewer circuits, is low cost, and wiring is simple, allowing communication over long distances. Clock (timing) deviations are less likely to occur, and it is also resistant to noise.

上述の状態判定システムにおいて、複数のスイッチを備えてもよい。 The above-mentioned state determination system may be provided with multiple switches.

上記構成によれば、複数のスイッチを有し、安全システムが多重化されている場合に、制御部間で同期を取らずに、複数のスイッチの接点の開閉状態を独立して判定できる。上述のように接点を多重化した場合に、接点間の同期タイミングをずらす為パルス間隔が長くなり、未検出時間が長くなるという問題も生じない。従って、良好に接点の開閉状態を検出でき、スイッチのオン/オフを判定できる。 According to the above configuration, when there are multiple switches and the safety system is multiplexed, the open/closed state of the contacts of the multiple switches can be determined independently without synchronization between the control units. When the contacts are multiplexed as described above, the synchronization timing between the contacts is shifted, which lengthens the pulse interval and avoids the problem of long undetected time. Therefore, the open/closed state of the contacts can be detected well, and the on/off state of the switch can be determined.

上述の状態判定システムにおいて、前記スイッチは、さらに接点を備え、該接点に対応する制御部を備えてもよい。 In the above-mentioned state determination system, the switch may further include a contact and a control unit corresponding to the contact.

上記構成によれば、接点を三以上有し、安全システムが多重化されている場合に、制御部間で複数の接点の開閉状態を独立して良好に判定でき、スイッチのオン/オフを良好に判定できる。 With the above configuration, when there are three or more contacts and the safety system is multiplexed, the open/closed states of the multiple contacts can be determined independently and accurately between the control units, allowing accurate determination of the on/off state of the switch.

本発明の一態様に係る工作機械は、前記スイッチはノーマルクローズ型であり、非常停止時、ドアが開いた時、又は部材の位置が異常である時に接点が開状態になる上述の状態判定システムを備える。 In one embodiment of the present invention, the machine tool has a normally closed switch and is equipped with the above-mentioned state determination system in which the contacts are open when an emergency stop occurs, a door is open, or a member is in an abnormal position.

上記構成によれば、スイッチのオン/オフ状態を良好に判定し、異常が生じてスイッチが操作されたことを検出して、モータ等の動力発生器の駆動を停止し、不具合原因が取り除かれない場合、モータ等の再駆動を行なわないようにすることができ、製造現場の安全が良好に確保される。 The above configuration accurately determines the on/off state of the switch, detects when an abnormality has occurred and the switch has been operated, stops the operation of the power generator such as a motor, and prevents the motor from being driven again if the cause of the malfunction is not eliminated, thereby ensuring safety at the manufacturing site.

本発明の一態様に係る状態判定システムにあっては、良好に接点の開閉状態を検出してスイッチのオン/オフ状態を判定することができる。 The state determination system according to one aspect of the present invention can effectively detect the open/closed state of the contacts and determine the on/off state of the switch.

実施形態1に係る状態判定システムを備える工作機械を略示するブロック図である。1 is a block diagram illustrating a simplified diagram of a machine tool equipped with a state determination system according to a first embodiment; FPGA1によるパケットの送信処理の手順を示すフローチャートである。11 is a flowchart showing a procedure of a packet transmission process by the FPGA 1; パケットの構成例を示す概念図である。FIG. 2 is a conceptual diagram showing an example of a packet configuration. FPGA2による接点の開閉状態の判定処理の手順を示すフローチャートである。10 is a flowchart showing a procedure for a process of determining an open/closed state of a contact by the FPGA 2; 送信周期、送信パケット、ノイズ、接点の開閉、判定の回数、受信間隔、受信パケット、開閉の判定を示すタイミングチャートである。11 is a timing chart showing a transmission period, a transmission packet, noise, opening and closing of a contact, the number of judgments, a reception interval, a reception packet, and a judgment of opening and closing. 実施形態2に係る状態判定システムを備える工作機械を略示するブロック図である。FIG. 11 is a block diagram illustrating a machine tool equipped with a state determination system according to a second embodiment. FPGAによるスイッチのオン/オフの判定処理の手順を示すフローチャートである。10 is a flowchart showing a procedure for a process of determining whether a switch is on or off by an FPGA. 2つのFPGAによる2つの接点の開閉の判定、2つの判定部によるスイッのオン/オフの判定を示すタイミングチャートである。11 is a timing chart showing the determination of opening and closing of two contacts by two FPGAs, and the determination of on/off of a switch by two determination units. 実施形態3に係る状態判定システムを備える工作機械を略示するブロック図である。FIG. 11 is a block diagram illustrating a machine tool equipped with a state determination system according to a third embodiment. 実施形態4に係る状態判定システムを備える工作機械を略示するブロック図である。FIG. 13 is a block diagram illustrating a machine tool equipped with a state determination system according to a fourth embodiment. FPGA1によるスイッチのオン/オフの判定処理の手順を示すフローチャートである。11 is a flowchart showing a procedure for a process of determining whether a switch is on or off by the FPGA 1.

(実施形態1)
以下本発明を実施形態1に係る状態判定システムを示す図面に基づいて説明する。図1は、実施形態1に係る状態判定システム5を備える工作機械100を略示するブロック図である。
状態判定システム5は、FPGA1(Field Programmable Gate Array)、FPGA2、接点31を有するスイッチ3を備える。工作機械100が状態判定システム5を備え、スイッチ3がノーマルクローズ型の非常停止スイッチである場合につき説明する。本実施形態に係る状態判定システム5を適用する機械は工作機械100に限定されない。スイッチ3は非常停止スイッチである場合に限定されず、ドアが開いた時、又は部材の位置が異常である時に接点が開状態になるものでもよい。また、スイッチはノーマルオープン型でもよい。
(Embodiment 1)
Hereinafter, the present invention will be described with reference to the drawings showing a state determination system according to embodiment 1. Fig. 1 is a block diagram that shows a simplified view of a machine tool 100 equipped with a state determination system 5 according to embodiment 1.
Status determination system 5 includes a field programmable gate array (FPGA 1), an FPGA 2, and a switch 3 having contacts 31. A case will be described in which machine tool 100 includes status determination system 5 and switch 3 is a normally closed emergency stop switch. Machines to which status determination system 5 according to this embodiment is applied are not limited to machine tool 100. Switch 3 is not limited to being an emergency stop switch, and may be one whose contacts are opened when a door is open or when a member is in an abnormal position. In addition, the switch may be of a normally open type.

制御部6は工作機械100のモータ等の動力発生器の駆動を制御する。FPGA2の後述する判定部21は接点31の開閉状態を検出し、スイッチ3のオン/オフ状態を判定して制御部6へ出力する。制御部6はスイッチ3が操作され、状態判定システム5により接点31が開状態であると判定した場合、モータ等の駆動を停止する。集積回路(Integrated Circuit)としてFPGAの代わりに、ASIC(Application Specific Integrated Circuit)を用いてもよい。ICとして多数のシリアルポートを用意できるものであればよい。 The control unit 6 controls the driving of a power generator such as a motor of the machine tool 100. A later-described judgment unit 21 of the FPGA 2 detects the open/closed state of the contact 31, judges the on/off state of the switch 3, and outputs the result to the control unit 6. When the switch 3 is operated and the state judgment system 5 judges that the contact 31 is in an open state, the control unit 6 stops the driving of the motor, etc. Instead of an FPGA, an ASIC (Application Specific Integrated Circuit) may be used as the integrated circuit. Any IC that can provide multiple serial ports will suffice.

FPGA1は、パケット生成部11、送信部12、メモリ13、計時部14、及び出力端子15を備える。メモリ13には接点31に対応する識別符号である固有値Aを記憶してある。パケット生成部11は、メモリ13から固有値Aを読み出してパケットを生成する。出力端子15は接点31の入力側に接続してあり、生成したパケットを出力する。計時部14は計時を行う。パケットの通信プロトコルは既存のHTTP(Hypertext Transfer Protocol)等のものでも、独自のものでもよい。 The FPGA 1 comprises a packet generation unit 11, a transmission unit 12, a memory 13, a timing unit 14, and an output terminal 15. A unique value A, which is an identification code corresponding to the contact 31, is stored in the memory 13. The packet generation unit 11 reads out the unique value A from the memory 13 and generates a packet. The output terminal 15 is connected to the input side of the contact 31 and outputs the generated packet. The timing unit 14 performs timing. The packet communication protocol may be an existing protocol such as HTTP (Hypertext Transfer Protocol) or a unique protocol.

図2はFPGA1によるパケットの送信処理の手順を示すフローチャートである。FPGA1は一定の周期で以下の送信処理を行う。
FPGA1はパケット生成部11において、メモリ13から固有値Aを読み出す(S1)。
2 is a flow chart showing a procedure of packet transmission processing by the FPGA 1. The FPGA 1 performs the following transmission processing at regular intervals.
The packet generating unit 11 of the FPGA 1 reads out the unique value A from the memory 13 (S1).

FPGA1はパケット生成部11において、固有値A及びCRC符号を含むパケットを生成する(S2)。
図3はパケットの構成例を示す概念図である。パケットは、例えばヘッダ、データ、フッタにより構成する。ヘッダはスタートビットで構成する。ヘッダはアドレスを含んでもよい。データは固有値Aを含む。フッタは、データのCRC(Cyclic Redundancy Code)符号等とエンドビットにより構成する。CRC符号は、データの伝送が正確に行ったか否かを調べるために用いる。送信前に検査用のCRC値を算出してデータに付加し、受信時に同じ箇所のデータについて同じ手順でCRC値を算出する。両者が一致する場合、誤りがないと判定し、一致しない場合、データの一部が欠落した、又は変化したと判定する。
The packet generator 11 of the FPGA 1 generates a packet including the unique value A and a CRC code (S2).
FIG. 3 is a conceptual diagram showing an example of a packet configuration. A packet is composed of, for example, a header, data, and a footer. The header is composed of a start bit. The header may include an address. The data includes a unique value A. The footer is composed of a data CRC (Cyclic Redundancy Code) code and an end bit. The CRC code is used to check whether the data has been transmitted correctly. Before transmission, a check CRC value is calculated and added to the data, and when received, the CRC value is calculated for the same part of the data using the same procedure. If the two match, it is determined that there is no error, and if they do not match, it is determined that part of the data is missing or has changed.

FPGA1は、送信部12により、計時部14が計時した所定のタイミングで出力端子15からパケットを送信し(S3)、処理を終了する。 The FPGA 1 transmits a packet from the output terminal 15 at a predetermined timing measured by the timer 14 via the transmitter 12 (S3), and ends the process.

FPGA2は、判定部21、比較部22、受信部23、メモリ24、計時部25、及び入力端子26を備える。メモリ24には接点31に対応し、固有値Aと同一である期待値Aを記憶してある。入力端子26は、接点31の出力側に接続してあり、接点31が閉状態である場合にパケットを入力する。比較部22は、パケットのデータの固有値Aと期待値Aとを比較する。 The FPGA 2 comprises a judgment unit 21, a comparison unit 22, a reception unit 23, a memory 24, a timer unit 25, and an input terminal 26. The memory 24 stores an expected value A that corresponds to the contact 31 and is identical to the unique value A. The input terminal 26 is connected to the output side of the contact 31, and inputs a packet when the contact 31 is in a closed state. The comparison unit 22 compares the unique value A of the packet data with the expected value A.

受信部23は、一定の周期で動作するが、動作の周期は送信部12の送信の周期と同期していない。受信部23はパケットの受信を待機する。送信部12と同期していないので、パケットをいつ受信するかは分からない。受信部23は接点31が閉である場合、入力端子26によりパケットを受信する。 The receiving unit 23 operates at a constant cycle, but the cycle is not synchronized with the transmission cycle of the transmitting unit 12. The receiving unit 23 waits to receive a packet. Since it is not synchronized with the transmitting unit 12, it is not known when the packet will be received. When the contact 31 is closed, the receiving unit 23 receives a packet via the input terminal 26.

判定部21は、パケットを時間a以上受信していない場合、又はパケットが破損している場合、接点31は開状態であると判定し、パケットが正常(CRC符号が一致する)でも固有値が期待値Aと一致しない場合、混線等が生じ、接点31は開状態であると判定し、スイッチ3はオフであると判定する。判定部21は、パケットを正常に受信し、かつパケットの固有値が期待値Aと一致した場合、接点31は閉状態であり、スイッチ3はオンであると判定する。 If the determination unit 21 has not received a packet for time a or more, or if the packet is corrupted, it determines that the contact 31 is open, and if the packet is normal (CRC code matches) but the unique value does not match the expected value A, crosstalk or the like has occurred, it determines that the contact 31 is open, and it determines that the switch 3 is off. If the determination unit 21 receives a packet normally and the unique value of the packet matches the expected value A, it determines that the contact 31 is closed and the switch 3 is on.

図4はFPGA2による接点31の開閉状態の判定処理の手順を示すフローチャートである。
FPGA2は計時部25において、計時を開始する(S11)。
FPGA2は受信部23において、入力端子26からパケットを受信したか否かを判定する(S12)。
FIG. 4 is a flowchart showing a procedure for determining the open/closed state of the contact 31 by the FPGA 2.
The FPGA 2 starts measuring time in the timer section 25 (S11).
The receiving section 23 of the FPGA 2 determines whether or not a packet has been received from the input terminal 26 (S12).

FPGA2は、受信部23によりパケットを受信していないと判定した場合(S12:NO)、判定部21により時間aが経過したか否かを判定する(S13)。FPGA2は時間aが経過していないと判定した場合(S13:NO)、処理をS12へ戻す。
FPGA2は時間aが経過したと判定した場合(S13:YES)、接点31が開状態であると判定し、即ちスイッチ3はオフであり、スイッチ3が操作されたと判定する(S14)。
When the FPGA 2 determines that the receiving unit 23 has not received a packet (S12: NO), the determining unit 21 determines whether or not the time a has elapsed (S13). When the FPGA 2 determines that the time a has not elapsed (S13: NO), the process returns to S12.
When the FPGA 2 determines that the time a has elapsed (S13: YES), it determines that the contact 31 is open, that is, the switch 3 is off, and thus determines that the switch 3 has been operated (S14).

FPGA2は、受信部23によりパケットを受信したと判定した場合(S12:YES)、パケットが正常であるか否かを判定する(S15)。FPGA2は受信部23によりCRC値を算出し、CRC値が一致した場合、パケットが正常であると判定する。FPGA2はパケットが正常でないと判定した場合(S15:NO)、処理をS14へ進める。 When the FPGA 2 determines that the receiving unit 23 has received a packet (S12: YES), it determines whether the packet is normal or not (S15). The FPGA 2 calculates a CRC value using the receiving unit 23, and determines that the packet is normal if the CRC values match. When the FPGA 2 determines that the packet is not normal (S15: NO), it advances the process to S14.

FPGA2は受信部23によりパケットが正常であると判定した場合(S15:YES)、デコード処理を行う。 If the receiving unit 23 of the FPGA 2 determines that the packet is normal (S15: YES), it performs a decoding process.

FPGA2は、比較部22において、メモリ24から期待値Aを読み出し、デコード処理してパケットから取り出したデータの固有値を期待値Aと比較し、期待値Aと一致しているか否かを判定し(S17)、判定結果を判定部21へ出力する。なお、デコード処理はパケットからヘッダとフッタを除去することを言う。 In the comparison unit 22, the FPGA 2 reads the expected value A from the memory 24, compares the unique value of the data extracted from the packet by decoding processing with the expected value A, and determines whether it matches the expected value A (S17), and outputs the determination result to the determination unit 21. Note that the decoding processing refers to removing the header and footer from the packet.

FPGA2は、判定部21において、固有値が期待値Aと一致していない場合(S17:NO)、接点31は開状態と判定し、即ちスイッチ3はオフであると判定する(S14)。
FPGA2は、判定部21において、固有値が期待値Aと一致している場合(S17:YES)、接点31は閉状態と判定し、即ちスイッチ3はオンであると判定する(S18)。
FPGA2は、判定部21により、判定結果を制御部6へ出力し(S19)、処理を終止する。
制御部6は、判定部21によりスイッチ3はオフであることを入力した場合、モータ等の駆動を停止する。
If the determination unit 21 of the FPGA 2 determines that the eigenvalue does not match the expected value A (S17: NO), the FPGA 2 determines that the contact 31 is open, that is, that the switch 3 is off (S14).
When the determination unit 21 of the FPGA 2 determines that the eigenvalue matches the expected value A (S17: YES), the FPGA 2 determines that the contact 31 is in a closed state, that is, that the switch 3 is on (S18).
The FPGA 2 causes the determination unit 21 to output the determination result to the control unit 6 (S19), and ends the process.
When the control unit 6 receives an input from the determination unit 21 indicating that the switch 3 is off, the control unit 6 stops driving the motor and the like.

図5は、送信周期、送信パケット、ノイズ、接点の開閉、判定の回数、受信間隔、受信パケット、開閉の判定を示すタイミングチャートである。ここで、説明の為に送信のパケットがない、異常データを送信する場合を示しているが、通常、送信部12は一定の周期で、固有値Aを含むパケットを送信する。状態判定システム5の送信部12と受信部23は同期せず、受信部23はパケットを受信した時に処理する割り込む動作を行うが、安全確保のためのシステムであり、時間aが経過しても受信していない場合、接点が開状態であると判定する。 Figure 5 is a timing chart showing the transmission period, transmitted packets, noise, opening and closing of contacts, number of judgments, reception interval, received packets, and opening and closing judgments. For the sake of explanation, a case is shown here where no packets are sent and abnormal data is sent, but normally, the transmitter 12 transmits packets containing the unique value A at regular intervals. The transmitter 12 and receiver 23 of the state judgment system 5 are not synchronized, and the receiver 23 performs an interrupt operation to process when a packet is received, but this is a safety system, and if no packet is received after the passage of time a, it is judged that the contacts are open.

接点31が開状態であるとして初期化されている。
FPGA1は、送信周期1回目で、正常データを含むパケットを送信部12により送信する。このとき接点31は開いている。接点31が開いているので、時間aが経過した時点A(判定1回目)で、FPGA2は受信部23によりパケットを入力できない。判定部21は、A点まで直前の状態(接点開)を維持し、A点で改めて接点31は開状態であると判定し、計時をクリアする。
Contact 31 is initialized as being open.
In the first transmission cycle, FPGA 1 transmits a packet including normal data from transmitting unit 12. At this time, contact 31 is open. Because contact 31 is open, FPGA 2 cannot input a packet through receiving unit 23 at point A (first judgment) after time a has elapsed. Judgment unit 21 maintains the previous state (contact open) up to point A, judges again that contact 31 is in the open state at point A, and clears the timer.

FPGA1は、送信周期2回目で、パケットを送信しない。接点31は2回目の直前に閉状態になっている。パケットが送信されていないので、時間aが経過した時点B(判定2回目)で、FPGA2は受信部23によりパケットを入力できない。判定部21は、B点まで、直前の状態(接点開)を維持し、B点で改めて接点31は開状態であると判定し、計時をクリアする。 FPGA1 does not transmit a packet in the second transmission cycle. Contact 31 is in a closed state just before the second cycle. Because no packet has been transmitted, FPGA2 cannot input a packet via the receiver 23 at point B (second determination) after time a has elapsed. The determination unit 21 maintains the previous state (contact open) up to point B, at which point it is determined that contact 31 is again in an open state, and clears the timer.

FPGA1は、送信周期3回目で、正常データを含むパケットを送信部12により送信するが、このときノイズが入る。判定部21は、B点からC点(判定3回目)までの間は従前の状態を維持し、C点で破損パケットを受信部23により受信する。判定部21はC点で破損パケットを受信したので、改めて接点31は開状態であると判定し、計時をクリアする。 In the third transmission cycle, FPGA1 transmits a packet containing normal data from transmitter 12, but noise is introduced at this time. Judgment unit 21 maintains the previous state from point B to point C (third judgment), and receives a corrupted packet at point C via receiver 23. Since judgment unit 21 received the corrupted packet at point C, it again judges that contact 31 is open and clears the timer.

FPGA1は、送信周期4回目で、固有値Aと異なる固有値を含む異常データを含むパケットを送信部12により送信する。判定部21は、C点からD点(判定4回目)までの間は従前の状態を維持し、D点で異常データを含むパケットを受信部23により受信する。判定部21はD点で異常データを含むパケットを受信したので、改めて接点31は開状態であると判定し、計時をクリアする。 In the fourth transmission cycle, FPGA1 transmits a packet containing abnormal data that contains an eigenvalue different from eigenvalue A via transmitter 12. Determination unit 21 maintains the previous state from point C to point D (fourth determination), and receives a packet containing abnormal data at point D via receiver 23. Since determination unit 21 received a packet containing abnormal data at point D, it again determines that contact 31 is open and clears the timer.

FPGA2は、送信周期5回目で、正常データを含むパケットを送信部12により送信する。判定部21は、D点からE点(判定5回目)までの間は従前の状態を維持し、FPGA2は、E点で正常データを含むパケットを受信部23により受信する。判定部21はE点で正常データを含むパケットを受信したので、接点31は閉状態であると判定し、出力を変更し、計時をクリアする。 In the fifth transmission cycle, FPGA2 transmits a packet containing normal data via transmitter 12. Judgment unit 21 maintains the previous state from point D to point E (fifth judgment), and FPGA2 receives a packet containing normal data at point E via receiver 23. Since judgment unit 21 received a packet containing normal data at point E, it judges that contact 31 is closed, changes the output, and clears the timer.

本実施形態によれば、通信の成立の有無、データの正否、固有値と期待値との比較という複数段階で接点31の開閉を判定するので、電源短絡や地絡の他に、近接する電線との混線による異常も検出でき、スイッチのオン/オフ状態を誤って判定することが防止される。
FPGA1が送信する信号とFPGA2が受信する受信信号とが同期している必要がなく、計時部等を共有する必要がなく、FPGA2はFPGA1から独立して接点31の開閉状態を判定できる。
パケットのデータの固有値で判定するので、オン期間を短くしてスイッチ回路における消費電力を抑制することができる。
According to this embodiment, the opening and closing of the contact 31 is determined at multiple stages, including whether communication has been established, whether the data is correct, and a comparison between the eigenvalue and the expected value. This makes it possible to detect abnormalities due to cross-connection with nearby electric wires in addition to power supply short circuits and ground faults, and prevents erroneous determination of the on/off state of the switch.
There is no need for the signal transmitted by FPGA1 and the signal received by FPGA2 to be synchronized, there is no need to share a clock unit or the like, and FPGA2 can determine the open/closed state of contact 31 independently of FPGA1.
Since the determination is made based on a unique value of the packet data, the ON period can be shortened to reduce power consumption in the switch circuit.

(実施形態2)
図6は、実施形態2に係る状態判定システム5を備える工作機械100を略示するブロック図である。
状態判定システム5のスイッチ3は、接点31及び接点32を有し、接点31及び接点32はスイッチ3の操作に同期して開状態になる。
(Embodiment 2)
FIG. 6 is a block diagram illustrating a machine tool 100 equipped with a state determination system 5 according to the second embodiment.
The switch 3 of the state determination system 5 has a contact 31 and a contact 32, and the contacts 31 and 32 are opened in synchronization with the operation of the switch 3.

状態判定システム5のFPGA1は、パケット生成部11、送信部12、メモリ13、計時部14、判定部16、判定部17、比較部18、比較部19、受信部20、出力端子15、入力端子41、入力端子42を備える。メモリ13には接点31に対応する識別符号である固有値A、接点31に対応し、固有値Aと同一である期待値A、接点32に対応し、後述する固有値Bと同一である期待値Bを記憶してある。パケット生成部11は、メモリ13から固有値Aを読み出してパケットを生成する。出力端子15は接点31の入力側に接続してあり、生成したパケットを出力する。入力端子41は接点31の出力側に接続してあり、接点31が閉状態である場合にパケットを入力する。入力端子42は接点32の出力側に絶縁回路45を介して接続してあり、接点32が閉状態である場合にパケットを入力する。 The FPGA 1 of the state determination system 5 includes a packet generation unit 11, a transmission unit 12, a memory 13, a timer unit 14, a determination unit 16, a determination unit 17, a comparison unit 18, a comparison unit 19, a reception unit 20, an output terminal 15, an input terminal 41, and an input terminal 42. The memory 13 stores a unique value A, which is an identification code corresponding to the contact 31, an expected value A corresponding to the contact 31 and which is the same as the unique value A, and an expected value B corresponding to the contact 32 and which is the same as the unique value B described later. The packet generation unit 11 reads the unique value A from the memory 13 and generates a packet. The output terminal 15 is connected to the input side of the contact 31 and outputs the generated packet. The input terminal 41 is connected to the output side of the contact 31 and inputs a packet when the contact 31 is in a closed state. The input terminal 42 is connected to the output side of the contact 32 via an insulating circuit 45 and inputs a packet when the contact 32 is in a closed state.

受信部20は、一定の周期で動作するが、動作の周期は送信部12の送信の周期と同期していない。受信部20はパケットの受信を待機する。受信部20は接点31が閉である場合、入力端子41からパケットを受信する。受信部20は入力端子41から受信したパケットが正常である場合、デコード処理を行い、比較部18へ出力する。比較部18はデコード処理したデータが含む固有値をメモリ13から読み出した期待値Aと比較し、結果を判定部17へ出力する。判定部17は、入力端子41からパケットを時間a以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Aと一致しない場合、何れか一つでも成立すると接点31は開状態であると判定する。判定部17は、パケットを正常に受信し、かつパケットの固有値が期待値Aと一致した場合、接点31は閉状態であると判定する。 The receiving unit 20 operates at a constant cycle, but the cycle of operation is not synchronized with the cycle of transmission by the transmitting unit 12. The receiving unit 20 waits to receive a packet. When the contact 31 is closed, the receiving unit 20 receives a packet from the input terminal 41. When the packet received from the input terminal 41 is normal, the receiving unit 20 performs a decode process and outputs the packet to the comparing unit 18. The comparing unit 18 compares the unique value contained in the decoded data with the expected value A read from the memory 13, and outputs the result to the determining unit 17. When any one of the following is true, the determining unit 17 determines that the contact 31 is open if a packet has not been received from the input terminal 41 for a time a or more, if the packet is corrupted, or if the packet is normal but the unique value does not match the expected value A. When the determining unit 17 receives a packet normally and the unique value of the packet matches the expected value A, it determines that the contact 31 is closed.

受信部20は接点32が閉である場合、入力端子42からパケットを受信する。受信部20は入力端子42から受信したパケットが正常である場合、デコード処理を行い、比較部19へ出力する。比較部19はデコード処理したデータが含む固有値をメモリ13から読み出した期待値Bと比較し、結果を判定部17へ出力する。判定部17は、入力端子42からパケットを時間b以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Bと一致しない場合の何れか一つでも成立すると接点32は開状態であると判定する。判定部17は固有値が期待値Bと一致する場合、接点32は閉状態であると判定する。 When the contact 32 is closed, the receiving unit 20 receives a packet from the input terminal 42. When the packet received from the input terminal 42 is normal, the receiving unit 20 performs a decode process and outputs the packet to the comparison unit 19. The comparison unit 19 compares the unique value contained in the decoded data with the expected value B read from the memory 13, and outputs the result to the determination unit 17. The determination unit 17 determines that the contact 32 is open if any one of the following is true: a packet has not been received from the input terminal 42 for time b or more, the packet is corrupted, or the packet is normal but the unique value does not match the expected value B. The determination unit 17 determines that the contact 32 is closed if the unique value matches the expected value B.

判定部17は、接点31、32の両方が閉状態である場合、スイッチ3はオン状態であると判定し、接点31、32の少なくとも一方が開状態である場合、スイッチ3はオフであると判定し、結果を判定部16へ出力する。判定部17は、結果を、絶縁回路47を介し接続された判定部29にも出力する。この時の通信は符号付のシリアル通信である。 When both contacts 31 and 32 are closed, the determination unit 17 determines that the switch 3 is on, and when at least one of the contacts 31 and 32 is open, the determination unit 17 determines that the switch 3 is off, and outputs the result to the determination unit 16. The determination unit 17 also outputs the result to the determination unit 29 connected via the insulation circuit 47. The communication at this time is coded serial communication.

FPGA2は、パケット生成部27、送信部30、メモリ24、計時部25、判定部21、判定部29、比較部22、比較部28、受信部23、出力端子43、入力端子26、入力端子44を備える。メモリ24には接点32に対応する識別符号である固有値B、固有値Aと同一である期待値A、固有値Bと同一である期待値Bを記憶してある。パケット生成部27は、メモリ24から固有値Bを読み出してパケットを生成する。出力端子43は接点32の入力側に接続してあり、生成したパケットを出力する。入力端子26は絶縁回路46を介し接点31の出力側に接続してあり、接点31が閉状態である場合にパケットを入力する。入力端子44は接点32の出力側に接続してあり、接点32が閉状態である場合にパケットを入力する。 The FPGA 2 includes a packet generating unit 27, a transmitting unit 30, a memory 24, a timer unit 25, a determining unit 21, a determining unit 29, a comparing unit 22, a comparing unit 28, a receiving unit 23, an output terminal 43, an input terminal 26, and an input terminal 44. The memory 24 stores a unique value B, which is an identification code corresponding to the contact 32, an expected value A which is the same as the unique value A, and an expected value B which is the same as the unique value B. The packet generating unit 27 reads the unique value B from the memory 24 and generates a packet. The output terminal 43 is connected to the input side of the contact 32 and outputs the generated packet. The input terminal 26 is connected to the output side of the contact 31 via an insulating circuit 46, and inputs a packet when the contact 31 is in a closed state. The input terminal 44 is connected to the output side of the contact 32 and inputs a packet when the contact 32 is in a closed state.

受信部23は、所定のタイミングで動作するが、動作の周期は送信部30の送信の周期と同期していない。受信部23はパケットの受信を待機する。受信部23は接点31が閉である場合、入力端子26からパケットを受信する。受信部23は入力端子26から受信したパケットが正常である場合、デコード処理を行い、比較部22へ出力する。比較部22はデコード処理したデータが含む固有値をメモリ24から読み出した期待値Aと比較し、結果を判定部21へ出力する。判定部21は、入力端子26からパケットを時間a以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Aと一致しない場合、接点31は開状態であると判定する。判定部21は、パケットを正常に受信し、かつパケットの固有値が期待値Aと一致した場合、接点31は閉状態であると判定する。 The receiving unit 23 operates at a predetermined timing, but the operation cycle is not synchronized with the transmission cycle of the transmitting unit 30. The receiving unit 23 waits to receive a packet. When the contact 31 is closed, the receiving unit 23 receives a packet from the input terminal 26. When the packet received from the input terminal 26 is normal, the receiving unit 23 performs a decode process and outputs the packet to the comparing unit 22. The comparing unit 22 compares the unique value contained in the decoded data with the expected value A read from the memory 24, and outputs the result to the determining unit 21. When the determining unit 21 has not received a packet from the input terminal 26 for a time a or more, when the packet is corrupted, or when the unique value does not match the expected value A even if the packet is normal, the determining unit 21 determines that the contact 31 is in an open state. When the determining unit 21 receives a packet normally and the unique value of the packet matches the expected value A, the determining unit 21 determines that the contact 31 is in a closed state.

受信部23は接点32が閉である場合、入力端子44からパケットを受信する。受信部23は入力端子44から受信したパケットが正常である場合、デコード処理を行い、比較部28へ出力する。比較部28はデコード処理したデータが含む固有値をメモリ24から読み出した期待値Bと比較し、結果を判定部21へ出力する。判定部21は、入力端子44からパケットを時間b以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Bと一致しない場合、接点32は開状態であると判定する。判定部29は固有値が期待値Bと一致する場合、接点32は閉状態であると判定する。 When the contact 32 is closed, the receiving unit 23 receives a packet from the input terminal 44. When the packet received from the input terminal 44 is normal, the receiving unit 23 performs a decode process and outputs the packet to the comparing unit 28. The comparing unit 28 compares the unique value contained in the decoded data with the expected value B read from the memory 24, and outputs the result to the judging unit 21. When a packet has not been received from the input terminal 44 for time b or more, when the packet is corrupted, or when the packet is normal but the unique value does not match the expected value B, the judging unit 21 judges that the contact 32 is open. When the unique value matches the expected value B, the judging unit 29 judges that the contact 32 is closed.

判定部21は、接点31、32の両方が閉状態である場合、スイッチ3はオン状態であると判定し、接点31、32の少なくとも一方が開状態である場合、スイッチ3はオフ状態であると判定し、結果を判定部29へ出力する。判定部21は、結果を、絶縁回路48を介し接続された判定部16にも出力する。 When both contacts 31 and 32 are closed, the determination unit 21 determines that the switch 3 is on, and when at least one of the contacts 31 and 32 is open, the determination unit 21 determines that the switch 3 is off, and outputs the result to the determination unit 29. The determination unit 21 also outputs the result to the determination unit 16 connected via the insulation circuit 48.

判定部16は、判定部17、21が出力した結果が一致するか否かを判定する。判定部16は、判定部17、21の判定結果が一致していない場合、スイッチ3はオフであり、異常であると判定する。判定部16は判定部17、21の判定結果が一致している場合、即ちいずれもスイッチ3はオンであると判定した場合、スイッチ3はオンであり、正常であると判定し、いずれもスイッチ3はオフであると判定した場合、スイッチ3はオフであると判定する。判定部16は結果を制御部6へ出力する。 The judgment unit 16 judges whether the results output by the judgment units 17 and 21 match. If the judgment results of the judgment units 17 and 21 do not match, the judgment unit 16 judges that the switch 3 is off and abnormal. If the judgment results of the judgment units 17 and 21 match, that is, if both judge that the switch 3 is on, the judgment unit 16 judges that the switch 3 is on and normal, and if both judge that the switch 3 is off, the judgment unit 16 judges that the switch 3 is off. The judgment unit 16 outputs the result to the control unit 6.

判定部29は、判定部17、21が出力した判定結果が一致するか否かを判定する。判定部29は、判定部17、21の判定結果が一致していない場合、スイッチ3はオフであり、異常であると判定する。判定部29は判定部17、21の判定結果が一致している場合、即ちいずれもスイッチ3はオンであると判定した場合、スイッチ3はオンであり、正常であると判定し、いずれもスイッチ3はオフであると判定した場合、スイッチ3はオフであると判定する。判定部29は結果を制御部6へ出力する。 The judgment unit 29 judges whether the judgment results output by the judgment units 17 and 21 match. If the judgment results of the judgment units 17 and 21 do not match, the judgment unit 29 judges that the switch 3 is off and abnormal. If the judgment results of the judgment units 17 and 21 match, that is, if both judge that the switch 3 is on, the judgment unit 29 judges that the switch 3 is on and normal, and if both judge that the switch 3 is off, the judgment unit 29 judges that the switch 3 is off. The judgment unit 29 outputs the result to the control unit 6.

制御部6は、判定部16及び判定部29よりスイッチ3はオフであることを入力した場合、即ちスイッチ3が操作され、非常停止を行う異常事態であるからモータ等の駆動を停止する。 When the control unit 6 receives input from the judgment unit 16 and judgment unit 29 indicating that the switch 3 is off, i.e., the switch 3 has been operated, and an emergency stop is required, the control unit 6 stops driving the motor, etc.

図7はFPGA1及びFPGA2によるスイッチ3のオン/オフの判定処理の手順を示すフローチャートである。
FPGA1はパケット生成部11において、メモリ13から固有値Aを読み出し、固有値A及びCRC符号を含むパケットを生成する(S21)。
FPGA1は、送信部12により、計時部14が計時した所定のタイミングで出力端子15からパケットを送信する(S22)。
FIG. 7 is a flow chart showing the procedure of the process of determining whether the switch 3 is on or off by the FPGA 1 and FPGA 2.
The packet generator 11 of the FPGA 1 reads the unique value A from the memory 13 and generates a packet including the unique value A and a CRC code (S21).
The FPGA 1 causes the transmission unit 12 to transmit the packet from the output terminal 15 at a predetermined timing clocked by the clock unit 14 (S22).

FPGA1は、入力端子41からパケットを入力した場合に、受信部20、比較部18、判定部17により、接点31の開閉状態を判定する(S23)。接点31の開閉状態の判定は、図4のフローチャートの処理と同様にして行う。 When a packet is input from the input terminal 41, the FPGA 1 determines the open/closed state of the contact 31 using the receiver 20, comparator 18, and determiner 17 (S23). The open/closed state of the contact 31 is determined in the same manner as in the process of the flowchart in FIG. 4.

FPGA1は、入力端子42からパケットを入力した場合に、受信部20、比較部19、判定部17により、接点32の開閉状態を判定する(S24)。接点32の開閉状態の判定は、図4のフローチャートの処理と同様にして行う。なお、S23、S24の順に判定を行う場合に限定されない。入力端子42からパケットを先に入力した場合、S24の接点32の開閉状態の判定を先に行う。 When a packet is input from the input terminal 42, the FPGA 1 determines the open/closed state of the contact 32 by the receiver 20, comparator 19, and determiner 17 (S24). The open/closed state of the contact 32 is determined in the same manner as the process in the flowchart of FIG. 4. Note that the order of determination is not limited to S23, S24. When a packet is input from the input terminal 42 first, the open/closed state of the contact 32 is determined in S24 first.

FPGA1は、判定部17において、接点31、32の両方が閉状態である場合、スイッチ3はオン状態であると判定し、接点31及び32の少なくとも一方が開状態である場合、スイッチ3はオフ状態であると判定する(S25)。 The FPGA 1, in the judgment unit 17, judges that the switch 3 is in the on state when both the contacts 31 and 32 are in the closed state, and judges that the switch 3 is in the off state when at least one of the contacts 31 and 32 is in the open state (S25).

FPGA2はパケット生成部27において、メモリ24から固有値Bを読み出し、固有値B及びCRC符号を含むパケットを生成する(S31)。
FPGA2は、送信部30により、計時部25が計時した所定のタイミングで出力端子43からパケットを送信する(S32)。
The packet generator 27 of the FPGA 2 reads the unique value B from the memory 24 and generates a packet including the unique value B and a CRC code (S31).
The FPGA 2 causes the transmission unit 30 to transmit the packet from the output terminal 43 at a predetermined timing clocked by the clock unit 25 (S32).

FPGA2は、入力端子26からパケットを入力した場合に、受信部23、比較部22、判定部21により、接点31の開閉状態を判定する(S33)。接点31の開閉状態の判定は、図4のフローチャートの処理と同様にして行う。 When a packet is input from the input terminal 26, the FPGA 2 determines the open/closed state of the contact 31 using the receiver 23, comparator 22, and determiner 21 (S33). The open/closed state of the contact 31 is determined in the same manner as in the process of the flowchart in FIG. 4.

FPGA2は、入力端子44からパケットを入力した場合に、受信部23、比較部28、判定部21により、接点32の開閉状態を判定する(S34)。接点32の開閉状態の判定は、図4のフローチャートの処理と同様にして行う。なお、S33、S34の順に判定を行う場合に限定されない。入力端子44からパケットを先に入力した場合、S34の接点32の開閉状態の判定を先に行う。 When a packet is input from the input terminal 44, the FPGA 2 determines the open/closed state of the contact 32 by the receiver 23, comparator 28, and determiner 21 (S34). The open/closed state of the contact 32 is determined in the same manner as the process in the flowchart of FIG. 4. Note that the order of determination is not limited to S33, S34. When a packet is input from the input terminal 44 first, the open/closed state of the contact 32 is determined in S34 first.

FPGA2は、判定部21において、接点31、32の両方が閉状態である場合、スイッチ3はオン状態であると判定し、接点31、32の少なくとも一方が開状態である場合、スイッチ3はオフ状態であると判定する(S35)。 The FPGA 2 determines in the judgment unit 21 that the switch 3 is in the on state when both the contacts 31 and 32 are in the closed state, and determines that the switch 3 is in the off state when at least one of the contacts 31 and 32 is in the open state (S35).

FPGA1は、判定部17により、判定結果を判定部16、29へ出力する(S26)。
FPGA2はFPGA1の判定結果を入力する(S36)。
FPGA2は、判定部21により、判定結果を判定部29、16へ出力する(S37)。
FPGA1はFPGA2の判定結果を入力する(S27)。
S26、S27の順に処理を行う場合に限定されない。FPGA1、FPGA2によるスイッチ3のオン/オフ状態の判定処理の順に基づく。FPGA2によるスイッチ3の正否の判定処理が先に行われた場合、FPGA2による判定結果の入力(S27)がS26より先に行われる。
The FPGA 1 causes the determination unit 17 to output the determination result to the determination units 16 and 29 (S26).
The FPGA2 receives the determination result of the FPGA1 (S36).
The FPGA 2 causes the determination unit 21 to output the determination result to the determination units 29 and 16 (S37).
The FPGA1 receives the determination result of the FPGA2 (S27).
The order of the processes is not limited to S26 and S27, but is based on the order of the processes of determining the on/off state of the switch 3 by the FPGA1 and FPGA2. If the process of determining whether the switch 3 is correct or not by the FPGA2 is performed first, the input of the determination result by the FPGA2 (S27) is performed before S26.

FPGA1は、判定部16において、判定部17、21が出力した結果が一致するか否かを判定し、スイッチ3のオン/オフを判定する(S28)。判定部16は、判定部17、21の判定結果が一致していない場合、スイッチ3はオフと判定する。判定部16は判定部17、21の判定結果が一致している場合、即ちいずれもスイッチ3はオンであると判定した場合、スイッチ3はオンであると判定し、いずれもスイッチ3はオフであると判定した場合、スイッチ3はオフであると判定する。
FPGA1は、判定部16により判定結果を制御部6へ出力し(S29)、処理を終了する。
In the FPGA 1, the judgment unit 16 judges whether the results output by the judgment units 17 and 21 match, and judges whether the switch 3 is on or off (S28). If the judgment results of the judgment units 17 and 21 do not match, the judgment unit 16 judges that the switch 3 is off. If the judgment results of the judgment units 17 and 21 match, that is, if both judge that the switch 3 is on, the judgment unit 16 judges that the switch 3 is on, and if both judge that the switch 3 is off, the judgment unit 16 judges that the switch 3 is off.
The FPGA 1 outputs the determination result by the determination unit 16 to the control unit 6 (S29), and ends the process.

FPGA2は、判定部29において、判定部17、21が出力した結果が一致するか否かを判定し、スイッチ3のオン/オフを判定する(S38)。判定部29は、判定部17、21の判定結果が一致していない場合、スイッチ3はオフと判定する。判定部29は判定部17、21の判定結果が一致している場合、即ちいずれもスイッチ3はオンであると判定した場合、スイッチ3はオンであると判定し、いずれもスイッチ3はオフであると判定した場合、スイッチ3はオフであると判定する。
FPGA2は、判定部29により結果を制御部6へ出力し(S39)、処理を終了する。
The FPGA 2 determines in the determination unit 29 whether the results output by the determination units 17 and 21 match, and determines whether the switch 3 is on or off (S38). If the determination results of the determination units 17 and 21 do not match, the determination unit 29 determines that the switch 3 is off. If the determination results of the determination units 17 and 21 match, that is, if both determine that the switch 3 is on, the determination unit 29 determines that the switch 3 is on, and if both determine that the switch 3 is off, the determination unit 29 determines that the switch 3 is off.
The FPGA 2 outputs the result from the determination unit 29 to the control unit 6 (S39), and ends the process.

図8は、FPGA1による接点31の開閉の判定、接点32の開閉の判定、判定部17によるスイッチ3のオン/オフの判定、判定部16によるスイッチ3のオン/オフの判定、FPGA2による接点31の開閉の判定、接点32の開閉の判定、判定部21によるスイッチ3のオン/オフの判定、判定部29によるスイッチ3のオン/オフの判定を示すタイミングチャートである。 Figure 8 is a timing chart showing the determination of whether contact 31 is open or closed by FPGA1, the determination of whether contact 32 is open or closed, the determination of whether switch 3 is on or off by determination unit 17, the determination of whether switch 3 is on or off by determination unit 16, the determination of whether contact 31 is open or closed by FPGA2, the determination of whether contact 32 is open or closed, the determination of whether switch 3 is on or off by determination unit 21, and the determination of whether switch 3 is on or off by determination unit 29.

まず、FPGA1で、接点31、32の開閉の判定を行う。FPGA1は、受信したパケットが正常であり、固有値と期待値とが一致している場合、接点は閉状態であると判定する。A点で、接点31、32の両方が閉状態であると判定される。
B点で、接点31、32の両方が閉状態であるので、判定部17によりスイッチ3はオンであると判定される。
First, the FPGA 1 judges whether the contacts 31 and 32 are open or closed. If the received packet is normal and the unique value matches the expected value, the FPGA 1 judges that the contacts are in a closed state. At point A, it is judged that both the contacts 31 and 32 are in a closed state.
At point B, since both contacts 31 and 32 are in the closed state, the determination unit 17 determines that the switch 3 is on.

FPGA2で、接点31、32の開閉の判定を行う。FPGA2は、受信したパケットが正常であり、固有値と期待値とが一致している場合、接点は閉状態であると判定する。D点で、接点31、32の両方が閉状態であると判定される。
E点で、接点31、32の両方が閉状態であるので、判定部21によりスイッチ3はオンであると判定される。
The FPGA 2 judges whether the contacts 31 and 32 are open or closed. If the received packet is normal and the inherent value matches the expected value, the FPGA 2 judges that the contacts are in a closed state. At point D, it is judged that both the contacts 31 and 32 are in a closed state.
At point E, since both contacts 31 and 32 are closed, the determination unit 21 determines that the switch 3 is on.

判定部17によりスイッチ3はオンであると判定され、判定部21によりスイッチ3はオンであると判定されたので、C点で、判定部29は、スイッチ3はオンであると判定する。 Since the determination unit 17 determines that the switch 3 is on, and the determination unit 21 determines that the switch 3 is on, at point C, the determination unit 29 determines that the switch 3 is on.

判定部17によりスイッチ3はオンであると判定され、判定部21によりスイッチ3はオンであると判定されたので、F点で、判定部16は、スイッチ3はオンであると判定する。判定部16、29は、判定部17、21の判定結果に基づいて、スイッチ3のオン/オフを判定するので、判定結果は同一になる。 Since the determination unit 17 determines that the switch 3 is on, and the determination unit 21 determines that the switch 3 is on, at point F, the determination unit 16 determines that the switch 3 is on. Since the determination units 16 and 29 determine whether the switch 3 is on or off based on the determination results of the determination units 17 and 21, the determination results are the same.

以上の説明では、FPGA1が先に接点31、32の開閉の判定を行っているが、FPGA2が先に接点31、32の開閉の判定を行ってもよい。 In the above explanation, FPGA1 first determines whether contacts 31 and 32 are open or closed, but FPGA2 may first determine whether contacts 31 and 32 are open or closed.

本実施形態においては、スイッチ3が接点を二つ有し、安全システムが二重化されている場合に、二つの接点の開閉状態を良好に非同期で判定できる。上述のように接点を多重化した場合に、接点間の同期タイミングをずらす為パルス間隔が長くなり、未検出時間が長くなるという問題も生じない。従って、良好に接点の開閉状態を検出でき、スイッチ3のオン/オフを判定できる。
FPGA1及びFPGA2が互いに故障時の影響を与えないようにする為に相互に送受信する信号は絶縁回路47、48を介在させて行う。計時部も各別に使用する。このような構成で、FPGA1及びFPGA2の同期を取るのは困難であり、クロックレベルで同期を求めた場合、絶縁回路47、48のコストが高くなる。通信を非同期化することにより、この問題は生じない。
接点31、32の少なくとも一方が開状態である場合、スイッチ3はオフであると判定し、FPGA1及びFPGA2の判定結果が一致しない場合、オフであると判定するので、安全性が高まる。
In this embodiment, when the switch 3 has two contacts and the safety system is duplicated, the open/closed states of the two contacts can be determined asynchronously and satisfactorily. When the contacts are multiplexed as described above, the synchronization timing between the contacts is shifted, which lengthens the pulse interval and avoids the problem of a long non-detection time. Therefore, the open/closed states of the contacts can be detected satisfactorily, and the on/off state of the switch 3 can be determined.
In order to prevent FPGA1 and FPGA2 from affecting each other in the event of a failure, signals transmitted between them are sent via isolation circuits 47 and 48. Separate clocks are also used for each. With this configuration, it is difficult to synchronize FPGA1 and FPGA2, and if synchronization is required at the clock level, the cost of isolation circuits 47 and 48 will be high. By making the communication asynchronous, this problem does not occur.
When at least one of the contacts 31, 32 is open, the switch 3 is determined to be off, and when the determination results of the FPGA1 and the FPGA2 do not match, the switch 3 is determined to be off, thereby improving safety.

(実施形態3)
図9は実施形態3に係る状態判定システム5を備える工作機械100を略示するブロック図である。
状態判定システム5は、スイッチ3に加えて、接点71、72を有するスイッチ7を備える。図9中、図6と同一部分は同一符号を付して詳細な説明を省略する。図9において、計時部、パケット生成部、メモリ、及び比較部は省略している。スイッチ3のオン/オフの判定の処理は実施形態2の処理と同様である。FPGA1、2は夫々通信部53、61を備え、通信部53、61により判定部17は判定部29へ判定結果を出力し、判定部21は判定部16へ判定結果を出力する。通信部53、61により後述する判定部52は判定部59へ判定結果を出力し、判定部60は判定部51へ判定結果を出力する
(Embodiment 3)
FIG. 9 is a block diagram that shows a simplified view of a machine tool 100 equipped with a state determination system 5 according to the third embodiment.
In addition to the switch 3, the state determination system 5 includes a switch 7 having contacts 71, 72. In Fig. 9, the same parts as in Fig. 6 are given the same reference numerals and detailed description will be omitted. In Fig. 9, the timer unit, packet generator, memory, and comparator are omitted. The process of determining whether the switch 3 is on/off is similar to that of embodiment 2. The FPGAs 1, 2 include communication units 53, 61, respectively, and the determination unit 17 outputs the determination result to the determination unit 29 via the communication units 53, 61, and the determination unit 21 outputs the determination result to the determination unit 16. The determination unit 52, described later, outputs the determination result to the determination unit 59 via the communication units 53, 61, and the determination unit 60 outputs the determination result to the determination unit 51.

状態判定システム5のFPGA1及びFPGA2は、夫々スイッチ3及びスイッチ7に対応して、2組のパケットの送受信及び判定のブロックを有する。FPGA1は、上述のスイッチ3用のブロックに加えて、スイッチ7用のブロックを有する。スイッチ7用のブロックは送信部49、判定部51、判定部52、受信部50、出力端子54、入力端子55、入力端子56を備える。メモリには接点71に対応する識別符号である固有値C、固有値Cと同一である期待値C、接点72に対応し、後述する固有値Dと同一である期待値Dを記憶してある。出力端子54は接点71の入力側に接続してあり、メモリから固有値Cを読み出して生成したパケットを送信部49が出力端子54から出力する。入力端子55は接点71の出力側に接続してあり、接点71が閉状態である場合にパケットを入力する。入力端子56は接点72の出力側に絶縁回路(不図示)を介して接続してあり、接点72が閉状態である場合にパケットを入力する。 The FPGA1 and FPGA2 of the state determination system 5 have two sets of blocks for transmitting and receiving packets and for determining, corresponding to the switch 3 and the switch 7, respectively. In addition to the block for the switch 3 described above, the FPGA1 has a block for the switch 7. The block for the switch 7 has a transmitting unit 49, a determining unit 51, a determining unit 52, a receiving unit 50, an output terminal 54, an input terminal 55, and an input terminal 56. The memory stores the unique value C, which is an identification code corresponding to the contact 71, the expected value C which is the same as the unique value C, and the expected value D which corresponds to the contact 72 and is the same as the unique value D described later. The output terminal 54 is connected to the input side of the contact 71, and the transmitting unit 49 outputs a packet generated by reading the unique value C from the memory from the output terminal 54. The input terminal 55 is connected to the output side of the contact 71, and inputs a packet when the contact 71 is in a closed state. The input terminal 56 is connected to the output side of the contact 72 via an insulating circuit (not shown), and inputs a packet when the contact 72 is in a closed state.

受信部50は、一定の周期で動作するが、動作の周期は送信部49の送信の周期と同期していない。受信部50は入力端子55から受信したパケットが正常である場合、デコード処理を行う。判定部52は、入力端子55からパケットを時間c以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Cと一致しない場合、接点71は開状態であると判定する。判定部52は、パケットを正常に受信し、かつパケットの固有値が期待値Cと一致した場合、接点71は閉状態であると判定する。 The receiving unit 50 operates at a constant cycle, but the cycle of operation is not synchronized with the cycle of transmission by the transmitting unit 49. If the packet received from the input terminal 55 is normal, the receiving unit 50 performs a decoding process. If a packet is not received from the input terminal 55 for time c or more, if the packet is corrupted, or if the packet is normal but the unique value does not match the expected value C, the determining unit 52 determines that the contact 71 is open. If the packet is received normally and the unique value of the packet matches the expected value C, the determining unit 52 determines that the contact 71 is closed.

受信部50は入力端子56から受信したパケットが正常である場合、デコード処理を行う。判定部52は、入力端子56からパケットを時間d以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Dと一致しない場合、接点72は開状態であると判定する。判定部52は、パケットを正常に受信し、かつパケットの固有値が期待値Dと一致した場合、接点72は閉状態であると判定する。 The receiving unit 50 performs a decoding process if the packet received from the input terminal 56 is normal. The determining unit 52 determines that the contact 72 is open if a packet has not been received from the input terminal 56 for a time d or more, if the packet is corrupted, or if the packet is normal but the unique value does not match the expected value D. The determining unit 52 determines that the contact 72 is closed if the packet is received normally and the unique value of the packet matches the expected value D.

判定部52は、接点71、72の両方が閉状態である場合、スイッチ7はオンであると判定し、接点71、72の少なくとも一方が開状態である場合、スイッチ7はオフであると判定し、結果を判定部51へ出力する。判定部52は、結果を、通信部53、絶縁回路(不図示)、通信部61を介し接続された後述する判定部59にも出力する。この時の通信は符号付のシリアル通信である。 When both contacts 71 and 72 are closed, the determination unit 52 determines that the switch 7 is on, and when at least one of the contacts 71 and 72 is open, the determination unit 52 determines that the switch 7 is off, and outputs the result to the determination unit 51. The determination unit 52 also outputs the result to the determination unit 59, which is connected via the communication unit 53, an insulating circuit (not shown), and the communication unit 61, and which will be described later. The communication at this time is coded serial communication.

FPGA2は、上述のスイッチ3用のブロックに加えて、スイッチ7用のブロックを有する。スイッチ7用のブロックは送信部57、判定部59、判定部60、受信部58、出力端子62、入力端子63、入力端子64を備える。メモリには接点72に対応する識別符号である固有値D、期待値C、期待値Dを記憶してある。出力端子62は接点72の入力側に接続してあり、メモリから固有値Dを読み出して生成したパケットを送信部57が出力端子62から出力する。入力端子63は接点71の出力側に絶縁回路(不図示)を介して接続してあり、接点71が閉状態である場合にパケットを入力する。入力端子64は接点72の出力側に接続してあり、接点72が閉状態である場合にパケットを入力する。 FPGA2 has a block for switch 7 in addition to the block for switch 3 described above. The block for switch 7 includes a transmission unit 57, a judgment unit 59, a judgment unit 60, a reception unit 58, an output terminal 62, an input terminal 63, and an input terminal 64. The memory stores unique value D, expected value C, and expected value D, which are identification codes corresponding to contact 72. The output terminal 62 is connected to the input side of contact 72, and the transmission unit 57 reads unique value D from the memory and generates a packet and outputs it from the output terminal 62. The input terminal 63 is connected to the output side of contact 71 via an insulating circuit (not shown), and inputs a packet when contact 71 is in a closed state. The input terminal 64 is connected to the output side of contact 72, and inputs a packet when contact 72 is in a closed state.

受信部58は、一定の周期で動作するが、動作の周期は送信部57の送信の周期と同期していない。受信部58は入力端子63から受信したパケットが正常である場合、デコード処理を行う。判定部60は、入力端子63からパケットを時間c以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Cと一致しない場合、接点71は開状態であると判定する。判定部60は、パケットを正常に受信し、かつパケットの固有値が期待値Cと一致した場合、接点71は閉状態であると判定する。 The receiving unit 58 operates at a constant cycle, but the cycle of operation is not synchronized with the cycle of transmission by the transmitting unit 57. If the packet received from the input terminal 63 is normal, the receiving unit 58 performs a decoding process. If a packet is not received from the input terminal 63 for time c or more, if the packet is corrupted, or if the packet is normal but the unique value does not match the expected value C, the determining unit 60 determines that the contact 71 is in an open state. If the determining unit 60 receives a packet normally and the unique value of the packet matches the expected value C, it determines that the contact 71 is in a closed state.

受信部58は入力端子64から受信したパケットが正常である場合、デコード処理を行う。判定部60は、入力端子64からパケットを時間d以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Dと一致しない場合、接点72は開状態であると判定する。判定部60は、パケットを正常に受信し、かつパケットの固有値が期待値Dと一致した場合、接点72は閉状態であると判定する。 If the packet received from the input terminal 64 is normal, the receiving unit 58 performs a decoding process. If the packet has not been received from the input terminal 64 for a time d or more, if the packet is corrupted, or if the packet is normal but the unique value does not match the expected value D, the determining unit 60 determines that the contact 72 is open. If the packet is received normally and the unique value of the packet matches the expected value D, the determining unit 60 determines that the contact 72 is closed.

判定部60は、接点71、72の両方が閉状態である場合、スイッチ7はオンであると判定し、接点71、72の少なくとも一方が開状態である場合、スイッチ7はオフであると判定し、結果を判定部59へ出力する。判定部60は、結果を、通信部61、絶縁回路(不図示)、通信部53を介し接続された判定部51にも出力する。この時の通信は符号付のシリアル通信である。 When both contacts 71 and 72 are closed, the determination unit 60 determines that the switch 7 is on, and when at least one of the contacts 71 and 72 is open, the determination unit 60 determines that the switch 7 is off, and outputs the result to the determination unit 59. The determination unit 60 also outputs the result to the determination unit 51 connected via the communication unit 61, an insulating circuit (not shown), and the communication unit 53. The communication at this time is coded serial communication.

判定部51は、判定部52、60が出力した結果が一致するか否かを判定する。判定部51は、判定部52、60の判定結果が一致していない場合、スイッチ7はオフであると判定する。判定部51は判定部52、60の判定結果が一致している場合、即ちいずれもスイッチ7はオンであると判定した場合、スイッチ7はオンであると判定し、いずれもスイッチ7はオフであると判定した場合、スイッチ7はオフであると判定する。判定部16は結果を制御部6へ出力する。 The judgment unit 51 judges whether the results output by the judgment units 52 and 60 match. If the judgment results of the judgment units 52 and 60 do not match, the judgment unit 51 judges that the switch 7 is off. If the judgment results of the judgment units 52 and 60 match, that is, if both judge that the switch 7 is on, the judgment unit 51 judges that the switch 7 is on, and if both judge that the switch 7 is off, the judgment unit 51 judges that the switch 7 is off. The judgment unit 16 outputs the result to the control unit 6.

判定部59は、判定部52、60が出力した結果が一致するか否かを判定する。判定部59は、判定部52、60の判定結果が一致していない場合、スイッチ7はオフであると判定する。判定部59は判定部52、60の判定結果が一致している場合、即ちいずれもスイッチ7はオンであると判定した場合、スイッチ7はオンであると判定し、いずれもスイッチ7はオフであると判定した場合、スイッチ7はオフであると判定する。判定部59は結果を制御部6へ出力する。 The determination unit 59 determines whether the results output by the determination units 52 and 60 match. If the determination results of the determination units 52 and 60 do not match, the determination unit 59 determines that the switch 7 is off. If the determination results of the determination units 52 and 60 match, that is, if both determine that the switch 7 is on, the determination unit 59 determines that the switch 7 is on, and if both determine that the switch 7 is off, the determination unit 59 determines that the switch 7 is off. The determination unit 59 outputs the result to the control unit 6.

制御部6は、判定部51、59よりスイッチ7はオフであることを入力した場合、即ちスイッチ7が操作され、非常停止を行う異常事態であるからモータ等の駆動を停止する。 When the control unit 6 receives input from the determination units 51 and 59 indicating that the switch 7 is off, i.e., the switch 7 has been operated, an abnormal situation occurs that requires an emergency stop, and the control unit 6 stops driving the motor, etc.

本実施形態によれば、複数のスイッチを有し、安全システムが多重化されている場合に、複数の接点の開閉状態を独立して良好に判定できる。上述のように接点を多重化した場合に、接点間の同期タイミングをずらす為パルス間隔が長くなり、未検出時間が長くなるという問題も生じない。従って、良好に各スイッチのオン/オフを判定できる。 According to this embodiment, when there are multiple switches and the safety system is multiplexed, the open/closed state of multiple contacts can be determined independently and accurately. When the contacts are multiplexed as described above, the synchronization timing between the contacts is shifted, which lengthens the pulse interval and avoids the problem of long undetected times. Therefore, the on/off state of each switch can be determined accurately.

(実施形態4)
図10は実施形態4に係る状態判定システム5を備える工作機械100を略示するブロック図である。
状態判定システム5はFPGA8をさらに備え、スイッチ3は接点31、32に加えて接点33を有する。図10中、図6、図9と同一部分は同一符号を付して詳細な説明を省略する。図10において、計時部、パケット生成部、メモリ、比較部は省略している。接点31、32の開閉状態の判定の処理は実施形態2の処理と同様である。図中、通信部73と通信部53、61との接続は省略している。
(Embodiment 4)
FIG. 10 is a block diagram that shows a simplified view of a machine tool 100 that includes a state determination system 5 according to the fourth embodiment.
The state determination system 5 further includes an FPGA 8, and the switch 3 has a contact 33 in addition to the contacts 31 and 32. In Fig. 10, the same parts as those in Fig. 6 and Fig. 9 are given the same reference numerals and detailed description will be omitted. In Fig. 10, the timer unit, packet generator, memory, and comparator are omitted. The process of determining the open/closed state of the contacts 31 and 32 is the same as that in the second embodiment. In the figure, the connection between the communication unit 73 and the communication units 53 and 61 is omitted.

FPGA8は、送信部67、判定部69、判定部70、受信部68、通信部73、出力端子74、入力端子75、入力端子76、入力端子77を備える。メモリには、期待値A、期待値B、接点33に対応する識別符号である固有値E、固有値Eと同一である期待値Eを記憶してある。出力端子74は接点33の入力側に接続してあり、メモリから固有値Eを読み出して生成したパケットを送信部67が出力端子74から出力する。入力端子75は接点31の出力側に絶縁回路(不図示)を介して接続してあり、接点31が閉状態である場合にパケットを入力する。入力端子76は接点32の出力側に絶縁回路(不図示)を介して接続してあり、接点32が閉状態である場合にパケットを入力する。入力端子77は接点33の出力側に接続してあり、接点33が閉状態である場合にパケットを入力する。 The FPGA 8 includes a transmission unit 67, a judgment unit 69, a judgment unit 70, a reception unit 68, a communication unit 73, an output terminal 74, an input terminal 75, an input terminal 76, and an input terminal 77. The memory stores an expected value A, an expected value B, a unique value E that is an identification code corresponding to the contact 33, and an expected value E that is the same as the unique value E. The output terminal 74 is connected to the input side of the contact 33, and the transmission unit 67 outputs a packet generated by reading the unique value E from the memory from the output terminal 74. The input terminal 75 is connected to the output side of the contact 31 via an insulating circuit (not shown), and inputs a packet when the contact 31 is in a closed state. The input terminal 76 is connected to the output side of the contact 32 via an insulating circuit (not shown), and inputs a packet when the contact 32 is in a closed state. The input terminal 77 is connected to the output side of the contact 33, and inputs a packet when the contact 33 is in a closed state.

受信部68は、一定の周期で動作するが、動作の周期は送信部67の送信の周期と同期していない。受信部68は入力端子75から受信したパケットが正常である場合、デコード処理を行う。判定部70は、入力端子75からパケットを時間a以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Aと一致しない場合、接点31は開状態であると判定する。判定部70は、パケットを正常に受信し、かつパケットの固有値が期待値Aと一致した場合、接点31は閉状態であると判定する。 The receiving unit 68 operates at a constant cycle, but the cycle of operation is not synchronized with the cycle of transmission by the transmitting unit 67. If the packet received from the input terminal 75 is normal, the receiving unit 68 performs a decoding process. If a packet is not received from the input terminal 75 for time a or more, if the packet is corrupted, or if the packet is normal but the unique value does not match the expected value A, the determining unit 70 determines that the contact 31 is in an open state. If the determining unit 70 receives a packet normally and the unique value of the packet matches the expected value A, it determines that the contact 31 is in a closed state.

受信部68は入力端子76から受信したパケットが正常である場合、デコード処理を行う。判定部70は、入力端子76からパケットを時間b以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Bと一致しない場合、接点32は開状態であると判定する。判定部70は、パケットを正常に受信し、かつパケットの固有値が期待値Bと一致した場合、接点32は閉状態であると判定する。 The receiving unit 68 performs a decoding process if the packet received from the input terminal 76 is normal. The determining unit 70 determines that the contact 32 is open if a packet has not been received from the input terminal 76 for time b or more, if the packet is corrupted, or if the packet is normal but the unique value does not match the expected value B. The determining unit 70 determines that the contact 32 is closed if the packet is received normally and the unique value of the packet matches the expected value B.

受信部68は入力端子77から受信したパケットが正常である場合、デコード処理を行う。判定部70は、入力端子77からパケットを時間e以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Eと一致しない場合、接点33は開状態であると判定する。判定部70は、パケットを正常に受信し、かつパケットの固有値が期待値Eと一致した場合、接点33は閉状態であると判定する。 The receiving unit 68 performs a decoding process if the packet received from the input terminal 77 is normal. The determining unit 70 determines that the contact 33 is open if a packet has not been received from the input terminal 77 for a period of time e or more, if the packet is corrupted, or if the packet is normal but the unique value does not match the expected value E. The determining unit 70 determines that the contact 33 is closed if the packet is received normally and the unique value of the packet matches the expected value E.

判定部70は、接点31、32、33の全てが閉状態である場合、スイッチ3はオン状態であると判定し、接点31、32、33の少なくとも一つが開状態である場合、スイッチ3はオフであると判定し、結果を判定部69へ出力する。判定部70は、結果を通信部73、通信部53、通信部61を介し判定部16、29にも出力する。通信部間には絶縁回路(不図示)が介在する。この時の通信は符号付のシリアル通信である。 When all of the contacts 31, 32, and 33 are closed, the determination unit 70 determines that the switch 3 is on, and when at least one of the contacts 31, 32, and 33 is open, the determination unit 70 determines that the switch 3 is off, and outputs the result to the determination unit 69. The determination unit 70 also outputs the result to the determination units 16 and 29 via the communication units 73, 53, and 61. An insulating circuit (not shown) is interposed between the communication units. The communication at this time is coded serial communication.

FPGA1は、接点33の出力側に絶縁回路(不図示)を介して接続してあり、接点33が閉状態である場合にパケットを入力する入力端子65を備える。
受信部20は入力端子65から受信したパケットが正常である場合、デコード処理を行う。判定部17は、入力端子65からパケットを時間e以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Eと一致しない場合、接点33は開状態であると判定する。判定部17は、パケットを正常に受信し、かつパケットの固有値が期待値Eと一致した場合、接点33は閉状態であると判定する。
判定部17は、接点31、32、33の全てが閉状態である場合、スイッチ3はオン状態であると判定し、接点31、32、33の少なくとも一つが開状態である場合、スイッチ3はオフであると判定し、結果を判定部16、29、69へ出力する。
The FPGA 1 is connected to the output side of the contact 33 via an insulating circuit (not shown), and includes an input terminal 65 for inputting a packet when the contact 33 is in a closed state.
The receiving unit 20 performs a decoding process if the packet received from the input terminal 65 is normal. The determining unit 17 determines that the contact 33 is open if a packet has not been received from the input terminal 65 for time e or more, if the packet is corrupted, or if the packet is normal but the unique value does not match the expected value E. The determining unit 17 determines that the contact 33 is closed if the packet is received normally and the unique value of the packet matches the expected value E.
If all of the contacts 31, 32, and 33 are in the closed state, the judgment unit 17 judges that the switch 3 is on, and if at least one of the contacts 31, 32, and 33 is in the open state, it judges that the switch 3 is off, and outputs the result to the judgment units 16, 29, and 69.

FPGA2は、接点33の出力側に絶縁回路(不図示)を介して接続してあり、接点33が閉状態である場合にパケットを入力する入力端子66を備える。
受信部23は入力端子66から受信したパケットが正常である場合、デコード処理を行う。判定部21は、入力端子66からパケットを時間e以上受信していない場合、パケットが破損している場合、パケットが正常でも固有値が期待値Eと一致しない場合、接点33は開状態であると判定する。判定部21は、パケットを正常に受信し、かつパケットの固有値が期待値Eと一致した場合、接点33は閉状態であると判定する。
判定部21は、接点31、32、33の全てが閉状態である場合、スイッチ3はオン状態であると判定し、接点31、32、33の少なくとも一つが開状態である場合、スイッチ3はオフであると判定し、結果を判定部29、16、69へ出力する。
The FPGA 2 is connected to the output side of the contact 33 via an insulating circuit (not shown), and includes an input terminal 66 for inputting a packet when the contact 33 is in a closed state.
The receiving unit 23 performs a decoding process if the packet received from the input terminal 66 is normal. The determining unit 21 determines that the contact 33 is open if the packet has not been received from the input terminal 66 for time e or more, if the packet is corrupted, or if the packet is normal but the unique value does not match the expected value E. The determining unit 21 determines that the contact 33 is closed if the packet is received normally and the unique value of the packet matches the expected value E.
If all of the contacts 31, 32, and 33 are in the closed state, the judgment unit 21 judges that the switch 3 is on, and if at least one of the contacts 31, 32, and 33 is in the open state, it judges that the switch 3 is off, and outputs the result to the judgment units 29, 16, and 69.

判定部16は、判定部17、21、70が出力した結果が一致するか否かを判定する。判定部16は、判定部17、21、70の判定結果が一致していない場合、スイッチ3はオフであると判定する。判定部16は判定部17、21、70の結果が一致している場合、即ちいずれもスイッチ3はオンであると判定した場合、スイッチ3はオンであると判定し、いずれもスイッチ3はオフであると判定した場合、スイッチ3はオフであると判定する。判定部16は結果を制御部6へ出力する。
判定部29、69も上記と同様にして判定し、結果を制御部6へ出力する。
The determination unit 16 determines whether the results output by the determination units 17, 21, and 70 match. If the determination results of the determination units 17, 21, and 70 do not match, the determination unit 16 determines that the switch 3 is off. If the results of the determination units 17, 21, and 70 match, that is, if all of them determine that the switch 3 is on, the determination unit 16 determines that the switch 3 is on, and if all of them determine that the switch 3 is off, the determination unit 16 determines that the switch 3 is off. The determination unit 16 outputs the result to the control unit 6.
The determination units 29 and 69 also make a determination in the same manner as above, and output the result to the control unit 6 .

図11はFPGA1によるスイッチ3のオン/オフの判定処理の手順を示すフローチャートである。
FPGA1はパケット生成部11において、メモリから固有値Aを読み出し、固有値A及びCRC符号を含むパケットを生成する(S41)。
FPGA1は、送信部12により、計時部が計時した所定のタイミングで出力端子15からパケットを送信する(S42)。
FIG. 11 is a flow chart showing the procedure of the process of determining whether the switch 3 is on or off by the FPGA 1.
The packet generator 11 of the FPGA 1 reads the unique value A from the memory and generates a packet including the unique value A and a CRC code (S41).
The FPGA 1 causes the transmission unit 12 to transmit the packet from the output terminal 15 at a predetermined timing measured by the timer unit (S42).

FPGA1は、入力端子41からパケットを入力した場合に、受信部20、及び判定部17により、接点31の開閉状態を判定する(S43)。接点31の開閉状態の判定は、図4のフローチャートの処理と同様にして行う。 When a packet is input from the input terminal 41, the FPGA 1 determines the open/closed state of the contact 31 by the receiving unit 20 and the determining unit 17 (S43). The open/closed state of the contact 31 is determined in the same manner as the process in the flowchart of FIG. 4.

FPGA1は、入力端子42からパケットを入力した場合に、受信部20、及び判定部17により、接点32の開閉状態を判定する(S44)。 When a packet is input from the input terminal 42, the FPGA 1 determines the open/closed state of the contact 32 using the receiving unit 20 and the determining unit 17 (S44).

FPGA1は、入力端子65からパケットを入力した場合に、受信部20、及び判定部17により、接点33の開閉状態を判定する(S45)。なお、接点31、32、33の開閉の判定の順は上記の場合に限定されない。 When a packet is input from the input terminal 65, the FPGA 1 determines the open/closed state of the contact 33 by the receiving unit 20 and the determining unit 17 (S45). Note that the order of determining whether the contacts 31, 32, and 33 are open/closed is not limited to the above case.

FPGA1は、判定部17において、接点31、32、33の全てが閉状態である場合、スイッチ3はオン状態であると判定し、接点31、32、33の少なくとも一つが開状態である場合、スイッチ3はオフ状態であると判定する(S46)。 The FPGA 1 determines in the judgment unit 17 that the switch 3 is in the on state if all of the contacts 31, 32, and 33 are in the closed state, and determines that the switch 3 is in the off state if at least one of the contacts 31, 32, and 33 is in the open state (S46).

FPGA1は、通信部53により、判定結果を判定部16、29、69へ出力する(S47)。
FPGA1は通信部53、61、73により判定結果を判定部29、69から入力する(S48)。
FPGA1は、判定部16により、判定部17、21、70が出力した結果に基づいて、スイッチ3のオン/オフを判定する(S49)。
FPGA1は判定結果を制御部6へ出力し(S50)、処理を終了する。
FPGA2、8もFPGA1と同様にして、スイッチ3のオン/オフを判定する。
The FPGA 1 outputs the determination result to the determination units 16, 29, and 69 via the communication unit 53 (S47).
The FPGA 1 receives the judgment results from the judgment units 29 and 69 via the communication units 53, 61 and 73 (S48).
The FPGA 1 determines, via the determination unit 16, whether the switch 3 is on or off based on the results output by the determination units 17, 21, and 70 (S49).
The FPGA 1 outputs the determination result to the control unit 6 (S50), and ends the process.
Similarly to FPGA 1, FPGAs 2 and 8 determine whether switch 3 is on or off.

本実施形態によれば、接点を三以上有し、安全システムが多重化されている場合に、複数の接点の開閉状態を独立して良好に判定でき、スイッチ3のオン/オフを良好に判定できる。 According to this embodiment, when there are three or more contacts and the safety system is multiplexed, the open/closed states of the multiple contacts can be determined independently and accurately, and the on/off state of switch 3 can be determined accurately.

1、2、8 FPGA
3、7 スイッチ
31、32、33、71,72 接点
5 状態判定システム
6 制御部
11 パケット生成部
12、30、49、57、67 送信部
20、23、50、58、68 受信部
14、25 計時部
16、17、21、29、51、52、59、60、69、70 判定部
15、43、54、62、74 出力端子
26、42、44、56、63、64、65、66、75、76、77 入力端子
1, 2, 8 FPGAs
Reference Signs List 3, 7 Switch 31, 32, 33, 71, 72 Contact 5 State determination system 6 Control unit 11 Packet generation unit 12, 30, 49, 57, 67 Transmission unit 20, 23, 50, 58, 68 Reception unit 14, 25 Timer unit 16, 17, 21, 29, 51, 52, 59, 60, 69, 70 Determination unit 15, 43, 54, 62, 74 Output terminal 26, 42, 44, 56, 63, 64, 65, 66, 75, 76, 77 Input terminal

Claims (8)

第一接点を備えるスイッチと、
前記第一接点に対応する第一固有値を記憶し、該第一固有値を含む第一出力信号を出力し、前記第一接点の入力側に接続した第一出力端子を有する第一制御部と、
前記第一接点に対応する第一期待値を記憶し、前記第一接点の出力側に接続してあり、前記第一接点が閉状態である場合に第一入力信号を入力する第一入力端子を有する第二制御部と
を備え、
前記第二制御部は、前記第一接点の開閉状態を判定する判定処理の開始時から予め定めた所定時間が経過しておらず、且つ、前記第一入力信号が正常であり、且つ、前記第一入力信号が含む第一固有値が前記第一期待値と一致する場合に、前記第一接点が閉状態であると判定する、状態判定システム。
a switch having a first contact;
a first control unit that stores a first eigenvalue corresponding to the first contact, outputs a first output signal including the first eigenvalue, and has a first output terminal connected to an input side of the first contact;
a second control unit that stores a first expected value corresponding to the first contact, is connected to an output side of the first contact, and has a first input terminal that receives a first input signal when the first contact is in a closed state;
The second control unit determines that the first contact is in a closed state when a predetermined time has not elapsed since the start of a determination process for determining the open/closed state of the first contact, the first input signal is normal, and a first eigenvalue contained in the first input signal matches the first expected value.
第一接点を備えるスイッチと、
前記第一接点に対応する第一固有値を記憶し、該第一固有値を含む第一出力信号を出力し、前記第一接点の入力側に接続した第一出力端子を有する第一制御部と、
前記第一接点に対応する第一期待値を記憶し、前記第一接点の出力側に接続してあり、前記第一接点が閉状態である場合に第一入力信号を入力する第一入力端子を有する第二制御部と
を備え、
前記第二制御部は、前記第一入力信号が含む第一固有値が前記第一期待値と一致する場合に、前記第一接点が閉状態であると判定し、
前記スイッチは第二接点を備え、
前記第一制御部は、
前記第一期待値、及び前記第二接点に対応する第二期待値をさらに記憶し、
前記第一接点の出力側に接続してあり、前記第一接点が閉状態である場合に第一入力信号を入力する第二入力端子と、
前記第二接点の出力側に接続してあり、前記第二接点が閉状態である場合に第二入力信号を入力する第三入力端子と
を備え、
前記第二入力端子が入力した前記第一入力信号が含む第一固有値が前記第一期待値と一致する場合に、前記第一接点が閉状態であると判定し、
前記第三入力端子が入力した前記第二入力信号が含む第二固有値が前記第二期待値と一致する場合に、前記第二接点が閉状態であると判定し、
前記第二制御部は、
前記第二接点に対応する第二固有値、前記第一期待値、及び前記第二期待値を記憶し、
前記第二固有値を含む第二出力信号を出力し、前記第二接点の入力側に接続した第二出力端子と、
前記第二接点の出力側に接続してあり、前記第二接点が閉状態である場合に第二入力信号を入力する第四入力端子と
を備え、
前記第四入力端子が入力した前記第二入力信号が含む第二固有値が前記第二期待値と一致する場合に、前記第二接点が閉状態であると判定する、状態判定システム。
a switch having a first contact;
a first control unit that stores a first eigenvalue corresponding to the first contact, outputs a first output signal including the first eigenvalue, and has a first output terminal connected to an input side of the first contact;
a second control unit that stores a first expected value corresponding to the first contact, is connected to an output side of the first contact, and has a first input terminal to which a first input signal is input when the first contact is in a closed state;
Equipped with
the second control unit determines that the first contact is in a closed state when a first eigenvalue included in the first input signal matches the first expected value;
the switch has a second contact;
The first control unit is
further storing the first expected value and a second expected value corresponding to the second contact point;
a second input terminal connected to an output side of the first contact and for receiving a first input signal when the first contact is in a closed state;
a third input terminal connected to an output side of the second contact and for inputting a second input signal when the second contact is in a closed state;
determining that the first contact is in a closed state when a first eigenvalue included in the first input signal input to the second input terminal matches the first expected value;
determining that the second contact is in a closed state when a second eigenvalue included in the second input signal input to the third input terminal matches the second expected value;
The second control unit is
storing a second eigenvalue corresponding to the second tangent point, the first expected value, and the second expected value;
a second output terminal that outputs a second output signal including the second eigenvalue and is connected to an input side of the second contact;
a fourth input terminal connected to an output side of the second contact and receiving a second input signal when the second contact is in a closed state;
A state determination system that determines that the second contact is in a closed state when a second eigenvalue contained in the second input signal input to the fourth input terminal matches the second expected value.
前記第一制御部及び前記第二制御部は、前記第一接点及び前記第二接点の少なくとも一方が開状態である場合に、前記スイッチは操作された、又は異常であると判定し、前記第一接点及び前記第二接点の両方が閉状態である場合に、正常であると判定する、請求項2に記載の状態判定システム。 The state determination system according to claim 2, wherein the first control unit and the second control unit determine that the switch has been operated or is abnormal when at least one of the first contact and the second contact is in an open state, and determine that the switch is normal when both the first contact and the second contact are in a closed state. 前記第一制御部及び前記第二制御部は、判定結果を他方の制御部へ送信し、
各制御部の判定結果が一致しない場合、異常であると判定する、請求項3に記載の状態判定システム。
The first control unit and the second control unit transmit a determination result to the other control unit,
4. The condition determination system according to claim 3, wherein when the determination results of the respective control units do not match, it is determined that an abnormality has occurred.
前記第一制御部及び前記第二制御部の通信は、シリアル通信である、請求項2から4までのいずれか1項に記載の状態判定システム。 The state determination system according to any one of claims 2 to 4, wherein the communication between the first control unit and the second control unit is serial communication. 複数のスイッチを備える、請求項2から5までのいずれか1項に記載の状態判定システム。 A state determination system according to any one of claims 2 to 5, comprising a plurality of switches. 前記スイッチは、さらに接点を備え、
該接点に対応する制御部を備える、請求項2から6までのいずれか1項に記載の状態判定システム。
The switch further comprises a contact;
The state determination system according to claim 2 , further comprising a control unit corresponding to the contact.
前記スイッチはノーマルクローズ型であり、非常停止時、ドアが開いた時、又は部材の位置が異常である時に接点が開状態になる請求項1から7までのいずれか1項に記載の状態判定システムを備える工作機械。 A machine tool equipped with a state determination system according to any one of claims 1 to 7, wherein the switch is of a normally closed type, and the contacts are open when an emergency stop occurs, a door is open, or a member is in an abnormal position.
JP2020130859A 2020-07-31 2020-07-31 Condition determination system and machine tool Active JP7484538B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020130859A JP7484538B2 (en) 2020-07-31 2020-07-31 Condition determination system and machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020130859A JP7484538B2 (en) 2020-07-31 2020-07-31 Condition determination system and machine tool

Publications (2)

Publication Number Publication Date
JP2022027070A JP2022027070A (en) 2022-02-10
JP7484538B2 true JP7484538B2 (en) 2024-05-16

Family

ID=80263772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020130859A Active JP7484538B2 (en) 2020-07-31 2020-07-31 Condition determination system and machine tool

Country Status (1)

Country Link
JP (1) JP7484538B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019029095A (en) 2017-07-26 2019-02-21 ブラザー工業株式会社 Opening and closing detector and machine tool
JP2020102116A (en) 2018-12-25 2020-07-02 アズビル株式会社 Safety input device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019029095A (en) 2017-07-26 2019-02-21 ブラザー工業株式会社 Opening and closing detector and machine tool
JP2020102116A (en) 2018-12-25 2020-07-02 アズビル株式会社 Safety input device

Also Published As

Publication number Publication date
JP2022027070A (en) 2022-02-10

Similar Documents

Publication Publication Date Title
US6721900B1 (en) Safety network for industrial controller having reduced bandwidth requirements
US6631476B1 (en) Safety network for industrial controller providing redundant connections on single media
US6909923B2 (en) Safety communication on a single backplane
US6891850B1 (en) Network independent safety protocol for industrial controller
US6701198B1 (en) Safety network for industrial controller allowing initialization on standard networks
US7107358B2 (en) Bridge for an industrial control system using data manipulation techniques
EP1506481B1 (en) Network independent safety protocol for industrial controller using data manipulation techniques
KR0138266B1 (en) Circuitry to provide isolation between devices in the power control system and to transmit power and data through the isolation means
US8321774B2 (en) Method for fail-safe transmission, safety switching device and control unit
US7203885B2 (en) Safety protocol for industrial controller
US5282211A (en) Slip detection during bit-error-rate measurement
CN104750566B (en) Serial link fault detection system and method
JP3978617B2 (en) Safety unit input device
CN104285410B (en) Method for the transmission process data in facility controlled in an automatic fashion
JP7484538B2 (en) Condition determination system and machine tool
JPH0644854A (en) Switch monitoring method and device
EP1789858A1 (en) Safety control device, safety control system, and method for detecting communication error
US20030105992A1 (en) Control apparatus and self-diagnostic method for electronic control system
CN102077148A (en) Monitoring system
WO2011068080A1 (en) Clock signal error detection system
JP4247791B2 (en) Ensuring maximum reaction time for complex or distributed safety and / or non-safety systems
US12328155B2 (en) Communication device and communication method
KR19990063893A (en) Clock selector system
JP2859086B2 (en) Path monitoring device
KR20040067512A (en) Apparatus for monitoring clock of data communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240229

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240402

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240415

R150 Certificate of patent or registration of utility model

Ref document number: 7484538

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150