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
JP7247793B2 - signal processor - Google Patents
[go: Go Back, main page]

JP7247793B2 - signal processor - Google Patents

signal processor Download PDF

Info

Publication number
JP7247793B2
JP7247793B2 JP2019127095A JP2019127095A JP7247793B2 JP 7247793 B2 JP7247793 B2 JP 7247793B2 JP 2019127095 A JP2019127095 A JP 2019127095A JP 2019127095 A JP2019127095 A JP 2019127095A JP 7247793 B2 JP7247793 B2 JP 7247793B2
Authority
JP
Japan
Prior art keywords
signal
unit
communication
calculation unit
information
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
JP2019127095A
Other languages
Japanese (ja)
Other versions
JP2021013121A (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.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP2019127095A priority Critical patent/JP7247793B2/en
Publication of JP2021013121A publication Critical patent/JP2021013121A/en
Application granted granted Critical
Publication of JP7247793B2 publication Critical patent/JP7247793B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Dc Digital Transmission (AREA)

Description

本発明は電気信号を処理する信号処理装置等に関する。 The present invention relates to a signal processing device and the like for processing electrical signals.

従来、検出情報に加えて通信データの送受信を行う3線式の電気機器(センサ等)があった。このような電気機器は、電源の供給および信号の入出力のために、電源線2本と信号線1本とを少なくとも必要とした。3線式の通信方法の1つに、IO-Link(登録商標)がある。非特許文献1はIO-Linkの仕様書である。 Conventionally, there have been three-wire electric devices (sensors, etc.) that transmit and receive communication data in addition to detection information. Such electrical equipment requires at least two power lines and one signal line for power supply and signal input/output. One of the three-wire communication methods is IO-Link (registered trademark). Non-Patent Document 1 is the specification of IO-Link.

特開2019-12906号公報(2019年1月24日公開)Japanese Patent Application Laid-Open No. 2019-12906 (published on January 24, 2019) 特開2018-151915号公報(2018年9月27日公開)Japanese Patent Application Laid-Open No. 2018-151915 (published on September 27, 2018)

“IO-Link Interface and System Specification”、version 1.1. 2、July 2013、IO-Link Community、Order No:10.002、4 Overview of SDCI、p32-p37“IO-Link Interface and System Specification”, version 1.1.2, July 2013, IO-Link Community, Order No: 10.002, 4 Overview of SDCI, p32-p37

しかしながら、非特許文献1の技術では、配線数が多くなるという問題がある。また、非特許文献1の技術では、例えば、センサの検出信号をセンサが通信データに変換して外部に送信する。それゆえ、変換処理のために、外部機器が検出信号を認識するまでの時間が長くなる、または、センサおよび外部機器の回路構成が複雑になるという問題がある。 However, the technique of Non-Patent Document 1 has a problem that the number of wirings increases. Further, in the technique of Non-Patent Document 1, for example, the sensor converts the detection signal of the sensor into communication data and transmits the communication data to the outside. Therefore, there is a problem that it takes longer for the external device to recognize the detection signal due to the conversion process, or the circuit configuration of the sensor and the external device becomes complicated.

これに対し、配線数を削減するための技術の一例として、動作素子に関する信号をデータ信号に重畳させた重畳信号を通信に用いることにより、配線数を削減することが考えられる(例えば、特許文献1および特許文献2)。 On the other hand, as an example of a technology for reducing the number of wirings, it is conceivable to reduce the number of wirings by using a superimposed signal obtained by superimposing a signal related to an operating element on a data signal for communication (see, for example, Patent Document 1 and Patent Document 2).

ところで、重畳信号を用いた一連のシステムを導入するに際し、システムの信頼性を高めるという観点から、動作素子を駆動させている下流の機器から得られる所定の情報を、重畳信号を用いた通信によって、上流の装置にフィードバックすることが求められる。 By the way, when introducing a series of systems using superimposed signals, from the viewpoint of improving the reliability of the system, predetermined information obtained from downstream equipment that drives the operating elements is communicated using superimposed signals. , is required to be fed back to the upstream device.

本開示の一態様は、信号処理装置等を提供することを目的とする。 An object of one aspect of the present disclosure is to provide a signal processing device and the like.

本発明は、本開示の一例として、上述した課題を解決するために、以下の構成を採用する。 The present invention adopts the following configuration as an example of the present disclosure in order to solve the above-described problems.

すなわち、本開示の一側面に係る信号処理装置は、通信システムの下流で動作する電気機器と、上流で1以上の前記電気機器を制御する機器制御装置との間の通信を仲介する信号処理装置であって、少なくとも第1の情報を示す重畳対象信号を生成する第1演算部と、前記電気機器の動作素子の状態に応じた動作信号、または、前記動作素子を制御する動作信号に、前記重畳対象信号を重畳させた重畳信号を生成する重畳回路と、を備え、前記第1演算部は、少なくとも第2の情報を示す前記重畳対象信号を生成する第2演算部がアクティブ状態となっている期間に、前記重畳対象信号の生成を行わず、前記第2演算部がスタンバイ状態となっている期間に、前記重畳対象信号の生成を行うように制御し、前記第1演算部および前記第2演算部は、前記動作信号を生成するための電力によって動作するものである。 That is, a signal processing device according to one aspect of the present disclosure is a signal processing device that mediates communication between an electrical device that operates downstream of a communication system and a device control device that controls one or more of the electrical devices upstream. A first computing unit that generates a signal to be superimposed that indicates at least first information; a superimposing circuit that generates a superimposed signal on which a signal to be superimposed is superimposed, wherein the first calculation unit is configured such that a second calculation unit that generates the signal to be superimposed indicating at least second information is in an active state. during a period in which the superimposition target signal is not generated, and during a period in which the second computation unit is in a standby state, the superimposition target signal is generated, and the first computation unit and the first 2 operation part operates with electric power for generating the operation signal.

この構成によれば、第1演算部および第2演算部は、動作信号が生成されるときに消費される電力によって動作するものである。よって、第1演算部と第2演算部とが同時にアクティブ状態となると、上記電力の供給を受けて生成される動作信号の電流波形が影響を受け、動作信号の正常な送受信ができなくなるリスクがある。これに対して、上述の構成によれば、第2演算部がアクティブ状態となっている期間には、第1演算部は、比較的大きな電力消費を伴う重畳対象信号を生成する信号処理を行わず、第2演算部がスタンバイ状態となっている期間に、該信号処理を行う。よって、第1演算部および第2演算部の動作によって動作信号の電流波形が影響を受ける程度を抑制することが可能となり、上述のリスクの発生を防止することができる。例えば、上流の機器制御装置に対して、第1情報に加えて第2情報を、動作信号の電流波形を乱すことなく、重畳信号通信にてフィードバックすることが可能となる。結果として、重畳信号を用いた通信を行う通信システムの信頼性を向上させるという効果を奏する。 According to this configuration, the first calculation section and the second calculation section operate by power consumed when the operation signal is generated. Therefore, if the first calculation section and the second calculation section are active at the same time, the current waveform of the operating signal generated by receiving the power supply is affected, and there is a risk that the operating signal cannot be transmitted and received normally. be. On the other hand, according to the above-described configuration, while the second computing section is in the active state, the first computing section performs signal processing to generate the superimposition target signal that consumes a relatively large amount of power. First, the signal processing is performed while the second calculation unit is in the standby state. Therefore, it is possible to suppress the extent to which the current waveform of the operating signal is affected by the operations of the first calculating section and the second calculating section, thereby preventing the above-described risk from occurring. For example, it becomes possible to feed back the second information in addition to the first information to an upstream equipment control device by superimposed signal communication without disturbing the current waveform of the operating signal. As a result, there is an effect of improving the reliability of a communication system that performs communication using superimposed signals.

前記一側面に係る信号処理装置において、前記信号処理装置は、前記信号処理装置を識別する識別情報を、前記第1の情報として記憶する情報記憶部をさらに備え、前記第1演算部は、前記情報記憶部から前記第1の情報を読み出すことによって前記重畳対象信号を生成してもよい。 In the signal processing device according to the aspect, the signal processing device further includes an information storage unit that stores, as the first information, identification information for identifying the signal processing device, and the first calculation unit stores the The signal to be superimposed may be generated by reading the first information from the information storage unit.

この構成によれば、第1の情報として例えば当該信号処理装置の識別情報などを情報記憶部に記憶させておくことにより、重畳信号により、機器制御装置に対して識別情報を伝えることが可能となる。よって、重畳信号送信に対応していない電気機器であっても、信号処理装置と組み合わせて利用することによって、識別情報などの情報を重畳信号によって送受信可能なシステムを構築することができるという効果を奏する。 According to this configuration, by storing, for example, the identification information of the signal processing device as the first information in the information storage unit, the identification information can be transmitted to the equipment control device by the superimposed signal. Become. Therefore, even an electrical device that does not support superimposed signal transmission can be used in combination with a signal processing device to construct a system capable of transmitting and receiving information such as identification information using a superimposed signal. Play.

前記一側面に係る信号処理装置において、前記第2演算部は、前記電気機器の状態および周囲環境の少なくともいずれか一方を示す情報に基づいて前記第2の情報を生成してもよい。 In the signal processing device according to the one aspect, the second calculation unit may generate the second information based on information indicating at least one of the state of the electrical equipment and the surrounding environment.

この構成によれば、電気機器の状態および周囲環境の少なくともいずれか一方を示す第2の情報を重畳信号によって機器制御装置に送信することができるので、機器制御装置側で、今まで認識できなかった故障や故障の予兆を認識できるようになる。また、設備や装置の状態が認識できることにより、情報を分析することによって信頼性改善を実現できるようになる。 According to this configuration, the second information indicating at least one of the state of the electrical equipment and the surrounding environment can be transmitted to the equipment control device by means of the superimposed signal. It becomes possible to recognize failures and signs of failures. In addition, by recognizing the status of equipment and devices, it becomes possible to improve reliability by analyzing information.

前記一側面に係る信号処理装置において、前記第1演算部は、前記第2演算部とシリアル通信を行うシリアル通信部を備え、前記重畳回路は、前記第1演算部から受信した第1の前記重畳対象信号、または、前記第2演算部から受信した第2の前記重畳対象信号を、前記動作信号に重畳させて重畳信号を生成してもよい。 In the signal processing device according to the one aspect, the first calculation unit includes a serial communication unit that performs serial communication with the second calculation unit, and the superposition circuit receives the first signal received from the first calculation unit. A signal to be superimposed or the second signal to be superimposed received from the second calculation unit may be superimposed on the operation signal to generate a superimposed signal.

この構成によれば、第1演算部から第1の重畳対象信号を受信しているときには該第1の重畳対象信号を重畳させた重畳信号を出力し、第2演算部から第2の重畳対象信号を受信しているときには該第2の重畳対象信号を重畳させた重畳信号を出力するように、重畳回路を構成することができる。 According to this configuration, when the first signal to be superimposed is received from the first calculation unit, the superimposition signal superimposed with the first signal to be superimposed is output, and the second signal to be superimposed is output from the second calculation unit. The superimposing circuit can be configured to output a superimposed signal superimposed with the second signal to be superimposed when the signal is being received.

また、第1演算部は、第2演算部とシリアル通信によって各種情報を送信できるので、例えば、第1演算部が第1の情報をシリアル通信によって第2演算部に送信することにより、第2演算部が、第1の情報と第2の情報とを含む重畳対象信号を生成することが可能となる。また、例えば、第1演算部は、第2演算部が第2の情報を生成する際に参照する閾値をシリアル通信によって第2演算部に送信することができる。これにより、第1演算部は、第2演算部に、指定した閾値に基づく判断に応じて、第2の情報を生成させることが可能となる。 In addition, since the first calculation unit can transmit various information to the second calculation unit through serial communication, for example, the first calculation unit can transmit the first information to the second calculation unit through serial communication. The calculation unit can generate a signal to be superimposed that includes the first information and the second information. Also, for example, the first calculation unit can transmit a threshold value that the second calculation unit refers to when generating the second information to the second calculation unit through serial communication. This allows the first calculation unit to cause the second calculation unit to generate the second information according to the determination based on the specified threshold.

前記一側面に係る信号処理装置において、前記第1演算部は、前記第2演算部とシリアル通信を行うシリアル通信部を備えるとともに、前記第2演算部から前記シリアル通信によって受信した前記第2の情報を少なくとも示す前記重畳対象信号を生成し、前記重畳回路は、前記第1演算部から受信した前記重畳対象信号を、前記動作信号に重畳させて重畳信号を生成してもよい。 In the signal processing device according to the one aspect, the first calculation unit includes a serial communication unit that performs serial communication with the second calculation unit, and the second calculation unit receives the second data from the second calculation unit through the serial communication. The signal to be superimposed, which indicates at least information, may be generated, and the superimposing circuit may generate a superimposed signal by superimposing the signal to be superimposed received from the first calculation unit on the operation signal.

この構成によれば、前記第1演算部は、シリアル通信によって第2の情報を受信して重畳対象信号を生成するので、第2演算部によって生成された重畳対象信号を重畳回路に送信することを可能とする回路を不要とすることができる。よって、信号処理装置における回路構成の複雑化を抑制することができる。 According to this configuration, since the first calculation unit receives the second information through serial communication and generates the signal to be superimposed, the signal to be superimposed generated by the second calculation unit can be transmitted to the superimposition circuit. can be eliminated. Therefore, complication of the circuit configuration in the signal processing device can be suppressed.

前記一側面に係る信号処理装置において、前記第1演算部は、前記第2演算部に対して、第1の前記重畳対象信号の生成を実行する期間を示すオンオフ信号を送信するとともに、前記第2演算部から、第2の前記重畳対象信号の生成を実行する期間を示すオンオフ信号を受信し、前記重畳回路は、前記第1演算部から受信した第1の前記重畳対象信号、または、前記第2演算部から受信した第2の前記重畳対象信号を、前記動作信号に重畳させて重畳信号を生成してもよい。 In the signal processing device according to the one aspect, the first calculation unit transmits to the second calculation unit an on/off signal indicating a period during which the generation of the first signal to be superimposed is performed. 2 receiving an on-off signal indicating a period for executing the generation of the second signal to be superimposed from the second calculating unit, and the superimposing circuit receives the first signal to be superimposed received from the first calculating unit, or the A superimposed signal may be generated by superimposing the second signal to be superimposed received from the second calculation unit on the operation signal.

この構成によれば、第1演算部と第2演算部との間で、オンオフ信号を送受信する信号線を2本用意するだけで、通信権の受け渡しを実現することができる。このようなオンオフ信号の送受信は、例えば安価なMPUでも備えられている汎用入出力ポートによって実現できるので、ローコストで上記のような構成の信号処理装置を実現することができる。 According to this configuration, it is possible to transfer the right of communication by simply preparing two signal lines for transmitting and receiving on/off signals between the first computation unit and the second computation unit. Such on/off signal transmission/reception can be realized by, for example, a general-purpose input/output port provided even in an inexpensive MPU, so that the signal processing device having the configuration described above can be realized at low cost.

前記一側面に係る信号処理装置において、前記第2演算部は、前記電気機器に内蔵されていてもよいし、または、前記電気機器とは別体のセンサ機器に内蔵されていてもよい。 In the signal processing device according to the one aspect, the second calculation unit may be built in the electric device, or may be built in a sensor device separate from the electric device.

この構成によれば、第2演算部が電気機器に内蔵されている場合には、電気機器の状態を示す各種情報を第2の情報として生成することができる。また、第2演算部が電気機器とは別体のセンサ機器に内蔵されている場合、センサ機器によって得られたセンシング結果に基づいて電気機器の周囲環境の情報を第2の情報として生成することができる。 According to this configuration, when the second calculation unit is built in the electrical equipment, various information indicating the state of the electrical equipment can be generated as the second information. Further, when the second calculation unit is built in a sensor device that is separate from the electrical device, information on the surrounding environment of the electrical device is generated as the second information based on the sensing result obtained by the sensor device. can be done.

本開示の一側面によれば、重畳信号を用いたシステムの信頼性を高めることが可能な、信号処理装置等を提供することができる。 According to one aspect of the present disclosure, it is possible to provide a signal processing device and the like capable of improving the reliability of a system using superimposed signals.

本発明の一態様の電気機器と入力ユニットの構成を示すブロック図である。1 is a block diagram showing a configuration of an electrical device and an input unit according to one embodiment of the present invention; FIG. 本発明の一態様の通信システムの構成を示すブロック図である。1 is a block diagram showing the configuration of a communication system according to one aspect of the present invention; FIG. 電気機器の構成を示す回路図である。It is a circuit diagram which shows the structure of an electric device. 入力ユニットの構成を示す回路図である。4 is a circuit diagram showing the configuration of an input unit; FIG. 信号波形の一例を模式的に示す図である。It is a figure which shows an example of a signal waveform typically. 本開示の一側面に係る信号処理装置の適用場面の一例を模式的に例示する図である。1 is a diagram schematically illustrating an example of an application scene of a signal processing device according to one aspect of the present disclosure; FIG. 本開示の一側面である構成例(1)に係る信号処理装置および電気機器の構成を示すブロック図である。1 is a block diagram showing a configuration of a signal processing device and electrical equipment according to a configuration example (1) that is one aspect of the present disclosure; FIG. 構成例(1)に係る各演算部の動作シーケンスと消費電力量との対応関係を簡略化して示す模式図である。FIG. 3 is a schematic diagram showing a simplified correspondence relationship between an operation sequence of each calculation unit and power consumption according to configuration example (1); 構成例(1)に係る信号処理装置および電気機器の処理の流れを示すフローチャートである。4 is a flow chart showing the flow of processing of the signal processing device and electrical equipment according to configuration example (1). 本開示の一側面である構成例(2)に係る信号処理装置および電気機器の構成を示すブロック図である。FIG. 3 is a block diagram showing the configuration of a signal processing device and electrical equipment according to configuration example (2), which is one aspect of the present disclosure; 構成例(2)に係る各演算部の動作シーケンスと消費電力量との対応関係を簡略化して示す模式図である。FIG. 11 is a schematic diagram showing a simplified correspondence relationship between the operation sequence of each calculation unit and power consumption according to configuration example (2); 構成例(2)に係る信号処理装置および電気機器の処理の流れを示すフローチャートである。7 is a flow chart showing the flow of processing of the signal processing device and electrical equipment according to configuration example (2). 本開示の一側面である構成例(3)に係る信号処理装置および電気機器の構成を示すブロック図である。FIG. 10 is a block diagram showing a configuration of a signal processing device and an electric device according to Configuration Example (3), which is one aspect of the present disclosure; 各ハンドシェイク通信部の回路例を示す図である。FIG. 4 is a diagram showing a circuit example of each handshake communication unit; REQ信号、ACK信号、および、通信権の時間変化の例を示す図である。FIG. 4 is a diagram showing an example of changes over time in REQ signals, ACK signals, and communication rights; 信号処理装置の他の構成例を示すブロック図である。FIG. 11 is a block diagram showing another configuration example of the signal processing device; 通信演算部の各部および重畳回路の動作シーケンスと消費電力量との対応関係を簡略化して示す模式図である。FIG. 3 is a schematic diagram showing a simplified correspondence relationship between the operation sequence of each part of the communication calculation unit and the superimposition circuit and the power consumption; 信号処理装置の他の構成例を示すブロック図である。FIG. 11 is a block diagram showing another configuration example of the signal processing device; 信号処理装置の他の構成例を示すブロック図である。FIG. 11 is a block diagram showing another configuration example of the signal processing device; 信号処理装置の他の構成例を示すブロック図である。FIG. 11 is a block diagram showing another configuration example of the signal processing device; 通信演算部および各診断演算部の動作シーケンスを示す図である。It is a figure which shows the operation sequence of a communication calculating part and each diagnostic calculating part.

〔実施形態1〕
(通信システム1の構成)
図2は、本実施形態の通信システムの構成を示すブロック図である。通信システム1は、PC2(パーソナルコンピュータ、情報処理装置)、コントローラ3、入力ユニット4、出力ユニット5、および、電気機器6~10を備える。PC2は、コントローラ3に接続されている。PC2は、コントローラ3から電気機器6~10の関する情報を受信し、かつ、コントローラ3に制御命令を送信する。コントローラ3は、入力ユニット4および出力ユニット5に接続されている。コントローラ3は、制御命令に従って、電気機器6~10を動作させるまたは制御するための信号を入力ユニット4および出力ユニット5に送信する。コントローラ3は、入力ユニット4または出力ユニット5を介して受信した電気機器6~10からの信号を、PC2に送信する。
[Embodiment 1]
(Configuration of communication system 1)
FIG. 2 is a block diagram showing the configuration of the communication system of this embodiment. The communication system 1 includes a PC 2 (personal computer, information processing device), a controller 3, an input unit 4, an output unit 5, and electric devices 6-10. PC 2 is connected to controller 3 . The PC 2 receives information about the electrical devices 6 to 10 from the controller 3 and sends control commands to the controller 3 . Controller 3 is connected to input unit 4 and output unit 5 . The controller 3 sends signals to the input unit 4 and the output unit 5 to operate or control the electrical appliances 6-10 according to the control instructions. The controller 3 transmits signals from the electrical devices 6-10 received via the input unit 4 or the output unit 5 to the PC2.

入力ユニット4(受信機器)は、電気機器6、7に接続されている。電気機器6、7のそれぞれは、1対の信号線によって入力ユニット4に接続されている。入力ユニット4は、電気機器6、7を動作させ、かつ、電気機器6、7から受信した信号をコントローラ3に送信する。 The input unit 4 (receiving device) is connected to electrical devices 6 , 7 . Each of the electrical devices 6, 7 is connected to the input unit 4 by a pair of signal lines. The input unit 4 operates the electrical devices 6 , 7 and transmits signals received from the electrical devices 6 , 7 to the controller 3 .

電気機器6、7は、入力ユニット4から供給される電力によって動作し、かつ、電気機器6、7に含まれる動作素子の状態に応じた信号を入力ユニット4に送信する。ここでは、電気機器6は、動作素子としてスイッチを含むリミットスイッチである。電気機器7は、動作素子としてセンシング素子を含むセンサである。 The electric appliances 6 , 7 are operated by the power supplied from the input unit 4 and transmit signals to the input unit 4 according to the states of operating elements included in the electric appliances 6 , 7 . Here, the electrical device 6 is a limit switch comprising a switch as operating element. The electrical device 7 is a sensor that includes sensing elements as operating elements.

出力ユニット5(受信機器)は、電気機器8~10に接続されている。電気機器8~10のそれぞれは、1対の信号線によって出力ユニット5に接続されている。出力ユニット5は、PC2およびコントローラ3からの指示に基づき、電気機器8~10を動作させ、かつ、電気機器8~10を制御する。また、出力ユニット5は、電気機器8~10から受信した信号をコントローラ3に送信する。 The output unit 5 (receiving device) is connected to electrical devices 8-10. Each of the electrical devices 8-10 is connected to the output unit 5 by a pair of signal lines. The output unit 5 operates and controls the electrical devices 8 to 10 based on instructions from the PC 2 and the controller 3 . The output unit 5 also transmits signals received from the electrical devices 8 to 10 to the controller 3 .

電気機器8~10は、出力ユニット5から供給される電力によって動作し、かつ、出力ユニット5から受信する制御信号によって制御される。ここでは、電気機器8は、動作素子としてコイルを含むリレー装置である。電気機器9は、動作素子としてコイルを含む電磁バルブである。電気機器10は、動作素子としてコイルを含む電動アクチュエータである。 The electrical appliances 8 - 10 are operated by power supplied from the output unit 5 and controlled by control signals received from the output unit 5 . Here, the electrical device 8 is a relay device including a coil as an operating element. The electrical device 9 is an electromagnetic valve including a coil as an operating element. The electrical device 10 is an electric actuator including coils as operating elements.

(電気機器6と入力ユニット4の構成)
図1は、電気機器6と入力ユニット4の構成を示すブロック図である。ここでは、電気機器6(リミットスイッチ)と入力ユニット4とを例に挙げて説明する。電気機器6と入力ユニット4とは、1対の信号線21、22によって互いに接続されている。信号線21は、入力ユニット4の第1入力端子31と、電気機器6の第1端子11とに接続される。信号線22は、入力ユニット4の第2入力端子32と、電気機器6の第2端子12とに接続される。信号線21の経路には、電源20が設けられている。電源20は、所定の電圧(ここでは24V)を発生させる直流電源である。
(Configuration of electrical device 6 and input unit 4)
FIG. 1 is a block diagram showing the configuration of the electrical equipment 6 and the input unit 4. As shown in FIG. Here, the electric device 6 (limit switch) and the input unit 4 will be described as an example. The electrical equipment 6 and the input unit 4 are connected to each other by a pair of signal lines 21,22. The signal line 21 is connected to the first input terminal 31 of the input unit 4 and the first terminal 11 of the electrical equipment 6 . The signal line 22 is connected to the second input terminal 32 of the input unit 4 and the second terminal 12 of the electrical equipment 6 . A power supply 20 is provided along the path of the signal line 21 . The power supply 20 is a DC power supply that generates a predetermined voltage (here, 24V).

電気機器6は、第1端子11、第2端子12、動作素子13、電位差発生回路14、および送信回路15を備える。送信回路15は、降圧回路16、データ生成回路17、重畳回路18、および診断回路19を備える。動作素子13は、第1端子11と第2端子12との間に接続される。電位差発生回路14は、第1端子11と第2端子12との間の通電路において、動作素子13に対して直列に接続される。第2端子12の電位は、動作素子13の状態に応じて変化する。すなわち、第2端子12は、動作素子13の状態に応じた出力信号(動作信号)を外部(信号線22)に出力する。 The electrical device 6 includes a first terminal 11 , a second terminal 12 , an operating element 13 , a potential difference generating circuit 14 and a transmitting circuit 15 . The transmission circuit 15 includes a step-down circuit 16 , a data generation circuit 17 , a superimposition circuit 18 and a diagnosis circuit 19 . The operating element 13 is connected between the first terminal 11 and the second terminal 12 . The potential difference generating circuit 14 is connected in series with the operating element 13 in the current path between the first terminal 11 and the second terminal 12 . The potential of the second terminal 12 changes according to the state of the operating element 13 . That is, the second terminal 12 outputs an output signal (operation signal) corresponding to the state of the operation element 13 to the outside (signal line 22).

送信回路15は、第1端子11と第2端子12との間に接続される。送信回路15は、第1端子11と第2端子12との間の電圧を電源として動作する。降圧回路16は、第1端子11と第2端子12との間の電圧を所定の電圧に降圧して、データ生成回路17に所定の電圧を出力する。データ生成回路17は、降圧回路16から印加された電圧によって動作し、入力ユニット4に送信されるべき送信データを生成する。送信データは、例えば、電気機器6に固有の識別子(ID情報)を含む。データ生成回路17は、重畳回路18に送信データを出力する。重畳回路18は、受け取った送信データを、データ信号として上記出力信号に重畳させる。これにより、送信回路15は、データ信号を出力信号に重畳させた重畳信号を、第2端子12から信号線22に出力する。 The transmission circuit 15 is connected between the first terminal 11 and the second terminal 12 . The transmission circuit 15 operates using the voltage between the first terminal 11 and the second terminal 12 as a power supply. The step-down circuit 16 steps down the voltage between the first terminal 11 and the second terminal 12 to a predetermined voltage and outputs the predetermined voltage to the data generation circuit 17 . The data generation circuit 17 operates with the voltage applied from the step-down circuit 16 and generates transmission data to be transmitted to the input unit 4 . The transmission data includes, for example, an identifier (ID information) unique to the electrical equipment 6 . The data generation circuit 17 outputs transmission data to the superimposition circuit 18 . The superimposition circuit 18 superimposes the received transmission data on the output signal as a data signal. As a result, the transmission circuit 15 outputs a superimposed signal obtained by superimposing the data signal on the output signal from the second terminal 12 to the signal line 22 .

診断回路19は、降圧回路16から印加された電圧によって動作し、電気機器6の診断情報を表す診断データを生成する。診断回路19は、電気機器6の素子(例えば動作素子13)に関するチェック回路を備え、チェック回路の出力が正常か否かに応じて、電気機器6が正常か否かを示す診断データを生成する。診断回路19は、診断データ(診断情報)をデータ生成回路17に出力する。データ生成回路17は、診断データを送信データに含めてもよい。 The diagnostic circuit 19 operates with the voltage applied from the step-down circuit 16 and generates diagnostic data representing diagnostic information of the electrical equipment 6 . The diagnostic circuit 19 includes a check circuit for elements (for example, the operation element 13) of the electric device 6, and generates diagnostic data indicating whether the electric device 6 is normal or not according to whether the output of the check circuit is normal or not. . The diagnostic circuit 19 outputs diagnostic data (diagnostic information) to the data generation circuit 17 . The data generation circuit 17 may include diagnostic data in the transmission data.

入力ユニット4は、第1入力端子31、第2入力端子32、入力回路33、抽出回路34、誤り検出回路35、およびユニット制御回路36を備える。図1ではコントローラ3への送信部分の構成の図示を省略している。第1入力端子31の電位は一定(例えばGND)に維持される。第2入力端子32には、信号線22から重畳信号が入力される。 The input unit 4 comprises a first input terminal 31 , a second input terminal 32 , an input circuit 33 , an extraction circuit 34 , an error detection circuit 35 and a unit control circuit 36 . In FIG. 1, illustration of the configuration of the transmission portion to the controller 3 is omitted. The potential of the first input terminal 31 is kept constant (eg, GND). A superimposed signal is input to the second input terminal 32 from the signal line 22 .

入力回路33は、重畳信号から出力信号を抽出し、出力信号をユニット制御回路36に出力する。抽出回路34は、重畳信号からデータ信号を抽出し、データ信号を誤り検出回路35に出力する。誤り検出回路35は、CRCチェック(巡回冗長検査)またはマンチェスタ符号チェック等の任意のデータチェック方法を用いて、データ信号に対して誤り検出を行う。誤り検出回路35は、データ信号および誤り検出結果をユニット制御回路36に出力する。なお、誤り検出回路35は、データ信号から誤りが検出された場合、該データ信号をユニット制御回路36に出力しなくてもよい。ユニット制御回路36は、出力信号およびデータ信号を、コントローラ3に出力する。誤り検出回路35およびユニット制御回路36は、例えば、1つの集積回路または複数の集積回路によって構成され得る。 The input circuit 33 extracts an output signal from the superimposed signal and outputs the output signal to the unit control circuit 36 . The extraction circuit 34 extracts the data signal from the superimposed signal and outputs the data signal to the error detection circuit 35 . Error detection circuit 35 performs error detection on the data signal using any data checking method such as CRC check (cyclic redundancy check) or Manchester code check. The error detection circuit 35 outputs the data signal and the error detection result to the unit control circuit 36 . Note that the error detection circuit 35 does not have to output the data signal to the unit control circuit 36 when an error is detected from the data signal. Unit control circuit 36 outputs an output signal and a data signal to controller 3 . The error detection circuit 35 and the unit control circuit 36 can be configured by one integrated circuit or multiple integrated circuits, for example.

(電気機器6の回路構成)
図3は、電気機器6の構成を示す回路図である。図3では診断回路19の図示を省略している。電位差発生回路14は、ダイオードD1を含む。ダイオードD1は、ツェナーダイオードである。ここでは、動作素子13は、機械式のスイッチSWである。第1端子11と第2端子12との間の通電経路において、ダイオードD2、ダイオードD1、およびスイッチSWが、この順で直列に配置されている。ダイオードD2のアノードは第1端子11に接続されている。ダイオードD1のカソードはダイオードD2を介して第1端子11に接続されている。
(Circuit Configuration of Electric Device 6)
FIG. 3 is a circuit diagram showing the configuration of the electrical equipment 6. As shown in FIG. In FIG. 3, illustration of the diagnostic circuit 19 is omitted. Potential difference generating circuit 14 includes a diode D1. Diode D1 is a Zener diode. Here, the operating element 13 is a mechanical switch SW. In the conducting path between the first terminal 11 and the second terminal 12, the diode D2, the diode D1, and the switch SW are arranged in series in this order. The anode of diode D2 is connected to first terminal 11 . The cathode of diode D1 is connected to first terminal 11 through diode D2.

降圧回路16は、第1端子11と第2端子12との間に、ダイオードD1、およびスイッチSWに対して並列に配置されている。 The step-down circuit 16 is arranged between the first terminal 11 and the second terminal 12 in parallel with the diode D1 and the switch SW.

データ生成回路17は、MPU(micro processing unit)および出力切替回路17aを含む。降圧回路16からMPUおよび出力切替回路17aに、電源として、降圧された一定の電圧(例えば2.5V)が供給される。MPUは、送信データを生成し、送信データを出力切替回路17aを介して重畳回路18に出力する。出力切替回路17aには、スイッチSWとダイオードD1との間のノードの電圧が入力される。出力切替回路17aは、該電圧から、スイッチSWがONであるかOFFであるかを判定する。出力切替回路17aは、スイッチSWのON/OFFに応じて、送信データの出力先を変更する。出力切替回路17aは、スイッチSWがONである場合、トランジスタTR1のベース端子に送信データを出力する。出力切替回路17aは、スイッチSWがOFFである場合、抵抗器R1に送信データを出力する。 The data generation circuit 17 includes an MPU (micro processing unit) and an output switching circuit 17a. A constant stepped-down voltage (for example, 2.5 V) is supplied as a power supply from the step-down circuit 16 to the MPU and the output switching circuit 17a. The MPU generates transmission data and outputs the transmission data to the superimposing circuit 18 via the output switching circuit 17a. A voltage at a node between the switch SW and the diode D1 is input to the output switching circuit 17a. The output switching circuit 17a determines whether the switch SW is ON or OFF from the voltage. The output switching circuit 17a changes the output destination of transmission data according to ON/OFF of the switch SW. The output switching circuit 17a outputs transmission data to the base terminal of the transistor TR1 when the switch SW is ON. The output switching circuit 17a outputs transmission data to the resistor R1 when the switch SW is OFF.

重畳回路18は、抵抗器R1、ダイオードD3、およびトランジスタTR1を含む。ダイオードD3はツェナーダイオードである。抵抗器R1の一端は出力切替回路17aに接続され、抵抗器R1の他端は第2端子12に接続されている。 Superposition circuit 18 includes resistor R1, diode D3, and transistor TR1. Diode D3 is a Zener diode. One end of the resistor R1 is connected to the output switching circuit 17a, and the other end of the resistor R1 is connected to the second terminal 12.

トランジスタTR1のベース端子は、出力切替回路17aに接続されている。トランジスタTR1のエミッタ端子は、ダイオードD2を介して第1端子11に接続され、トランジスタTR1のコレクタ端子は、ダイオードD3のカソードに接続されている。ダイオードD3のアノードは、スイッチSWとダイオードD1との間のノードに接続されている。 A base terminal of the transistor TR1 is connected to the output switching circuit 17a. The emitter terminal of transistor TR1 is connected to first terminal 11 via diode D2, and the collector terminal of transistor TR1 is connected to the cathode of diode D3. The anode of diode D3 is connected to a node between switch SW and diode D1.

ダイオードD2は保護素子であり、省略することができる。 Diode D2 is a protection element and can be omitted.

(入力ユニット4の回路構成)
図4は、入力ユニット4の構成を示す回路図である。ここでは入力ユニット4のうち、入力回路33および抽出回路34を図示している。保護素子であるダイオードD11のアノードが第2入力端子32に接続されている。
(Circuit configuration of input unit 4)
FIG. 4 is a circuit diagram showing the configuration of the input unit 4. As shown in FIG. Here, the input circuit 33 and the extraction circuit 34 of the input unit 4 are shown. The anode of the diode D11, which is a protective element, is connected to the second input terminal 32. As shown in FIG.

入力回路33は、抵抗器R41~R42、ダイオードD41、トランジスタTR41、検知回路33aを含む。ダイオードD41はツェナーダイオードである。トランジスタTR41のコレクタ端子は、ダイオードD11のカソードに接続され、トランジスタTR41のエミッタ端子は、抵抗器R41の一端に接続されている。抵抗器R41の他端は、第1入力端子31に接続されている。抵抗器R42の一端は、ダイオードD11のカソードに接続され、抵抗器R42の他端は、ダイオードD41のカソードに接続されている。ダイオードD41のアノードは、第1入力端子31に接続されている。トランジスタTR41のベース端子は、抵抗器R42の他端に接続されている。抵抗器R41~R42、ダイオードD41、およびトランジスタTR41は、定電流回路を構成している。この定電流回路の両端に所定以上の電圧が印加されると、定電流回路を流れる電流が一定になる。なお、抵抗器R42、ダイオードD41、およびトランジスタTR41を省略し、抵抗器R41だけを検知回路33aに対して並列に接続してもよい。なお、定電流回路を検知回路33aに直列に接続してもよいし、抵抗器R41だけを検知回路33aに直列に接続してもよい。 The input circuit 33 includes resistors R41-R42, a diode D41, a transistor TR41, and a sensing circuit 33a. Diode D41 is a Zener diode. The collector terminal of transistor TR41 is connected to the cathode of diode D11, and the emitter terminal of transistor TR41 is connected to one end of resistor R41. The other end of resistor R41 is connected to first input terminal 31 . One end of the resistor R42 is connected to the cathode of the diode D11, and the other end of the resistor R42 is connected to the cathode of the diode D41. An anode of the diode D41 is connected to the first input terminal 31 . A base terminal of the transistor TR41 is connected to the other end of the resistor R42. Resistors R41-R42, diode D41, and transistor TR41 form a constant current circuit. When a predetermined voltage or more is applied across the constant current circuit, the current flowing through the constant current circuit becomes constant. Note that the resistor R42, the diode D41, and the transistor TR41 may be omitted, and only the resistor R41 may be connected in parallel to the detection circuit 33a. A constant current circuit may be connected in series with the detection circuit 33a, or only the resistor R41 may be connected in series with the detection circuit 33a.

検知回路33aは、第1入力端子31および第2入力端子32の間の電圧から、スイッチSWのON/OFFを判定する。検知回路33aは、判定結果(スイッチSWのON/OFFの情報)を出力する。 The detection circuit 33a determines ON/OFF of the switch SW from the voltage between the first input terminal 31 and the second input terminal 32. FIG. The detection circuit 33a outputs a determination result (ON/OFF information of the switch SW).

抽出回路34は、容量C21、ダイオードD21、およびオペアンプAMP21を含む。ダイオードD21は、ツェナーダイオードである。容量C21の一端は、ダイオードD11のカソードに接続され、容量C21の他端は、オペアンプAMP21の反転入力端子に接続されている。ダイオードD21のカソードは、オペアンプAMP21の非反転入力端子に接続されている。ダイオードD21のアノードは、第1入力端子31に接続されている。 The extraction circuit 34 includes a capacitor C21, a diode D21, and an operational amplifier AMP21. Diode D21 is a Zener diode. One end of the capacitor C21 is connected to the cathode of the diode D11, and the other end of the capacitor C21 is connected to the inverting input terminal of the operational amplifier AMP21. The cathode of the diode D21 is connected to the non-inverting input terminal of the operational amplifier AMP21. An anode of the diode D21 is connected to the first input terminal 31 .

(電気機器6および入力ユニット4の動作)
電気機器6はリミットスイッチである。スイッチSWは、対象物の位置に応じて機械的にON/OFFが切り替わる。入力ユニット4の第1入力端子31を0Vとして、第1端子11には、一定の電位(24V)が入力される。スイッチSWのON/OFF(導通/遮断)の状態に応じて、第2端子12の電位は変化する。
(Operation of electrical device 6 and input unit 4)
The electric device 6 is a limit switch. The switch SW is mechanically switched ON/OFF according to the position of the object. With the first input terminal 31 of the input unit 4 set to 0 V, a constant potential (24 V) is input to the first terminal 11 . The potential of the second terminal 12 changes according to the ON/OFF (conducting/interrupting) state of the switch SW.

スイッチSWがONの場合、導通状態のスイッチSWの両端の電位差は0である。そのため、第2端子12の電位は、第1端子11の電位から、電位差発生回路14(ダイオードD1)によって電圧降下した値となる。 When the switch SW is ON, the potential difference across the conductive switch SW is zero. Therefore, the potential of the second terminal 12 becomes a value obtained by voltage drop from the potential of the first terminal 11 by the potential difference generating circuit 14 (diode D1).

スイッチSWがOFFの場合、スイッチSWおよび電位差発生回路14には電流は流れない。そのため、スイッチSWがOFFの場合、スイッチSWがONの場合よりも、第2端子12の電位は低い値になる。 When the switch SW is OFF, no current flows through the switch SW and the potential difference generating circuit 14 . Therefore, when the switch SW is OFF, the potential of the second terminal 12 is lower than when the switch SW is ON.

このように第2端子12は、スイッチSWのON/OFFの状態に応じた出力信号を外部に送信する。なお、出力信号の電位がH(High)であれば、スイッチがONである状態を表し、出力信号の電位がL(Low)であれば、スイッチがOFFである状態を表す。出力信号の電位の高さ自体がスイッチの状態(ON/OFF)を表すため、出力信号はアナログの信号であるといえる。 In this manner, the second terminal 12 transmits to the outside an output signal corresponding to the ON/OFF state of the switch SW. If the potential of the output signal is H (High), it indicates that the switch is ON, and if the potential of the output signal is L (Low), it indicates that the switch is OFF. Since the level of the potential of the output signal itself represents the switch state (ON/OFF), the output signal can be said to be an analog signal.

一方、スイッチSWの状態に関わらず、電位差発生回路14の両端には電位差が生じる。そのため、スイッチSWがONであってもOFFであっても、降圧回路16には、ある値(例えば2.5V)以上の電圧が印加される。それゆえ、降圧回路16は、スイッチSWがONであってもOFFであっても、少なくともデータ生成回路17が動作可能な電圧(2.5V)を出力することができる。よって、データ生成回路17および重畳回路18は、スイッチSWがONであってもOFFであっても、動作可能である。 On the other hand, a potential difference is generated across the potential difference generating circuit 14 regardless of the state of the switch SW. Therefore, a voltage of a certain value (for example, 2.5 V) or more is applied to the step-down circuit 16 regardless of whether the switch SW is ON or OFF. Therefore, the step-down circuit 16 can output at least a voltage (2.5 V) that allows the data generation circuit 17 to operate regardless of whether the switch SW is ON or OFF. Therefore, the data generation circuit 17 and the superimposition circuit 18 can operate regardless of whether the switch SW is ON or OFF.

MPUは、送信データを生成する。送信データは、デジタルデータである。出力切替回路17aは、スイッチSWのON/OFFに応じた出力端子から、送信データをH/L電圧として出力する。 The MPU generates transmission data. The transmission data is digital data. The output switching circuit 17a outputs transmission data as an H/L voltage from an output terminal corresponding to ON/OFF of the switch SW.

スイッチSWがOFFの場合、出力切替回路17aは、送信データを抵抗器R1に出力する。出力切替回路17aから出力される電圧に応じて抵抗器R1を流れる電流が変化する。これにより、送信データのH/Lに応じて、第2端子12の電位も変化する。結果的に、送信データは、データ信号として出力信号に重畳される。 When the switch SW is OFF, the output switching circuit 17a outputs transmission data to the resistor R1. The current flowing through the resistor R1 changes according to the voltage output from the output switching circuit 17a. Thereby, the potential of the second terminal 12 also changes according to the H/L of the transmission data. As a result, the transmitted data is superimposed on the output signal as a data signal.

スイッチSWがONの場合、出力切替回路17aは、送信データをトランジスタTR1のベース端子に出力する。トランジスタTR1は、送信データのH/Lに応じてONまたはOFF状態になる。このとき、送信データのH/Lに応じてダイオードD3を流れる電流が変化する。これにより、送信データのH/Lに応じて、第2端子12の電位も変化する。結果的に、送信データは、データ信号として出力信号に重畳される。電気機器6は、第2端子12から、出力信号とデータ信号とが重畳された信号である重畳信号を出力する。 When the switch SW is ON, the output switching circuit 17a outputs transmission data to the base terminal of the transistor TR1. The transistor TR1 is turned on or off according to the H/L of the transmission data. At this time, the current flowing through the diode D3 changes according to the H/L of the transmission data. Thereby, the potential of the second terminal 12 also changes according to the H/L of the transmission data. As a result, the transmitted data is superimposed on the output signal as a data signal. The electrical device 6 outputs a superimposed signal, which is a signal obtained by superimposing the output signal and the data signal, from the second terminal 12 .

図5は、信号波形の一例を模式的に示す図である。図5における(a)は、出力信号の周期がデータ信号の周期より長い場合を示し、(b)は、出力信号の周期がデータ信号の周期より短い場合を示す。出力信号とデータ信号とが重畳されたものが重畳信号である。重畳信号の波形は、出力信号の波形と、データ信号の波形とを重畳したものになる。出力信号の振幅は、データ信号の振幅より大きい。そのため、重畳信号から、元の出力信号の値およびデータ信号の値を知ることができる。スイッチSWがONの場合、出力信号はHとなり、スイッチSWがOFFの場合、出力信号はLとなる。 FIG. 5 is a diagram schematically showing an example of signal waveforms. (a) in FIG. 5 shows the case where the cycle of the output signal is longer than the cycle of the data signal, and (b) shows the case where the cycle of the output signal is shorter than the cycle of the data signal. A superimposed signal is obtained by superimposing the output signal and the data signal. The waveform of the superimposed signal is obtained by superimposing the waveform of the output signal and the waveform of the data signal. The amplitude of the output signal is greater than the amplitude of the data signal. Therefore, the value of the original output signal and the value of the data signal can be known from the superimposed signal. When the switch SW is ON, the output signal is H, and when the switch SW is OFF, the output signal is L.

重畳信号の値は、低い方からL1、L2、H1、H2に分けられる。重畳信号が、L範囲内であれば、出力信号はLである。L範囲は、L1およびL2を含む。重畳信号が、L範囲より高いH範囲内であれば、出力信号はHである。H範囲は、H1およびH2を含む。重畳信号がL1またはH1の場合、データ信号はLである。重畳信号がL2またはH2の場合、データ信号はHである。 The value of the superimposed signal is divided into L1, L2, H1 and H2 from the lowest. If the superimposed signal is within the L range, the output signal is L. The L range includes L1 and L2. If the superimposed signal is within the H range, which is higher than the L range, the output signal is H. The H range includes H1 and H2. The data signal is L when the superimposed signal is L1 or H1. The data signal is H when the superimposed signal is L2 or H2.

入力ユニット4は、第2入力端子32で電気機器6からの重畳信号を受信する。入力回路33は、重畳信号から出力信号がHであるかLであるか(スイッチSWがONであるかOFFであるか)を判定し、判定結果をユニット制御回路36に出力する。具体的には、検知回路33aが、判定結果を出力する。抽出回路34は、容量C21を介して重畳信号からデータ信号を抽出し、データ信号を誤り検出回路35に出力する。具体的には、オペアンプAMP21が、データ信号(送信データ)を出力する。ダイオードD21は、オペアンプAMP21がデータ信号がHであるかLであるかを判定するための閾値電圧を設定する。 The input unit 4 receives the superimposed signal from the electrical appliance 6 at the second input terminal 32 . The input circuit 33 determines whether the output signal is H or L (whether the switch SW is ON or OFF) from the superimposed signal, and outputs the determination result to the unit control circuit 36 . Specifically, the detection circuit 33a outputs the determination result. Extraction circuit 34 extracts a data signal from the superimposed signal via capacitor C21 and outputs the data signal to error detection circuit 35 . Specifically, the operational amplifier AMP21 outputs a data signal (transmission data). The diode D21 sets a threshold voltage for the operational amplifier AMP21 to determine whether the data signal is H or L.

抵抗器R41~R42、ダイオードD41、およびトランジスタTR41は、定電流回路を構成している。この定電流回路は、第2入力端子32に入力される電流を制限する。また、この定電流回路は、電気機器6が出力する出力信号の振幅を設定する。この定電流回路の代わりに抵抗器R41を用いる場合も抵抗器R41は同様に機能する。 Resistors R41-R42, diode D41, and transistor TR41 form a constant current circuit. This constant current circuit limits the current input to the second input terminal 32 . This constant current circuit also sets the amplitude of the output signal output by the electrical equipment 6 . Resistor R41 functions similarly when resistor R41 is used instead of this constant current circuit.

(効果)
電気機器6では、出力信号を送信するための1対の信号線21、22の電圧を電源として用いて、送信回路15が動作する。送信回路15は、動作素子13の状態を示す出力信号とは別の情報を示すデータ信号を生成し、入力ユニット4に送信することができる。そのため、送信回路15を動作させるための別の電源を電気機器6に設ける必要も、電源を供給するための別の配線を電気機器6に接続する必要もない。それゆえ、電気機器6は、従来の電気機器より少ない配線で(1対の信号線21、22で)、出力信号とデータ信号とを送信することができる。本実施形態の例では、電気機器6に外部から接続される配線は1対の信号線21、22のみである。
(effect)
In the electric device 6, the transmission circuit 15 operates using the voltage of the pair of signal lines 21 and 22 for transmitting the output signal as a power source. The transmission circuit 15 can generate a data signal indicating information other than the output signal indicating the state of the operating element 13 and send it to the input unit 4 . Therefore, it is not necessary to provide the electric device 6 with a separate power supply for operating the transmission circuit 15, nor to connect a separate wiring to the electric device 6 for supplying power. Therefore, the electric device 6 can transmit the output signal and the data signal with less wiring (with one pair of signal lines 21 and 22) than the conventional electric device. In the example of the present embodiment, only the pair of signal lines 21 and 22 are connected to the electric device 6 from the outside.

送信回路15は、動作素子13に対して直列に接続された電位差発生回路14の両端に生じた電圧によって動作する。そのため、動作素子13の状態によらず(スイッチSWがONでもOFFでも)、送信回路15は、データ信号を入力ユニット4に送信することができる。入力ユニット4は、データ信号(送信データ)を上流の機器(コントローラ3、PC2)に送信することができる。 The transmission circuit 15 is operated by the voltage generated across the potential difference generation circuit 14 connected in series with the operating element 13 . Therefore, regardless of the state of the operating element 13 (whether the switch SW is ON or OFF), the transmission circuit 15 can transmit the data signal to the input unit 4 . The input unit 4 can transmit data signals (transmission data) to upstream equipment (controller 3, PC 2).

また、電気機器6は、スイッチSWのON/OFFに対応した電位の出力信号を送信する。それゆえ、ON/OFF信号をデジタルの通信データに変換する従来の技術(IO-Link)とは異なり、スイッチSWのON/OFFの情報を早く入力ユニット4、コントローラ3、およびPC2に伝えることができる。また、通信データに変換する必要がないので、電気機器6および入力ユニット4の回路を小さくかつ簡素にすることができる。 Also, the electric device 6 transmits an output signal having a potential corresponding to ON/OFF of the switch SW. Therefore, unlike the conventional technology (IO-Link) that converts the ON/OFF signal into digital communication data, the ON/OFF information of the switch SW can be quickly transmitted to the input unit 4, the controller 3, and the PC 2. can. Moreover, since there is no need to convert the data into communication data, the circuits of the electric device 6 and the input unit 4 can be made smaller and simpler.

電気機器6が診断回路19を備えている場合、送信データに含まれる診断データから、PC2またはコントローラ3は、電気機器6に生じた異常を検知することができる。PC2は、電気機器6がまだ正常に動いている場合でも、診断データ(例えばスイッチSWのON/OFFの切り替えの速さ等)から、電気機器6の故障の予兆を検知することができる。PC2は、検知した異常(故障の予兆含む)を、ユーザに表示/音声で報知する。これにより、ユーザは、製造ラインが異常停止する前に、電気機器6を交換することができる。 If the electrical device 6 has a diagnostic circuit 19, the PC 2 or the controller 3 can detect an abnormality occurring in the electrical device 6 from diagnostic data included in the transmission data. Even when the electrical equipment 6 is still operating normally, the PC 2 can detect signs of failure of the electrical equipment 6 from diagnostic data (for example, ON/OFF switching speed of the switch SW). The PC 2 notifies the user of the detected abnormality (including the sign of failure) by display/audio. This allows the user to replace the electric device 6 before the production line stops abnormally.

電気機器6が診断回路19を備えていない場合でも、通信システム1では以下のようにして異常の検知を行うことができる。例えば、リミットスイッチ(電気機器6)のON/OFFがコントローラ3側で検知できない異常が発生した場合、信号線21、22に異常(断線/短絡)が発生しているのか、電気機器6自体に異常が発生しているのか、PC2またはコントローラ3で判断することができる。電気機器6は、送信データとして電気機器6の識別子を定期的に(継続的に)入力ユニット4に送信する。例えば、PC2またはコントローラ3は、識別子の受信ができなければ、信号線21、22に異常があると判断してもよい。PC2またはコントローラ3は、識別子を受信することはできるが、リミットスイッチ(電気機器6)のON/OFFを検知できない場合、電気機器6自体に異常があると判断してもよい。PC2は、どこに異常があるのかを示す情報を、ユーザに表示または音声で報知できる。これにより、ユーザは復旧作業の準備および実行を迅速に行い、製造ラインがストップする時間を短縮することができる。 Even if the electrical equipment 6 does not have the diagnostic circuit 19, the communication system 1 can detect an abnormality in the following manner. For example, if an abnormality occurs in which the controller 3 cannot detect ON/OFF of the limit switch (electrical device 6), whether an abnormality (disconnection/short circuit) has occurred in the signal lines 21 and 22, or whether the electrical device 6 itself The PC 2 or the controller 3 can determine whether an abnormality has occurred. The electrical device 6 periodically (continuously) transmits the identifier of the electrical device 6 to the input unit 4 as transmission data. For example, the PC 2 or the controller 3 may determine that the signal lines 21 and 22 are abnormal if the identifier cannot be received. The PC 2 or the controller 3 can receive the identifier, but if it cannot detect ON/OFF of the limit switch (the electrical device 6), it may determine that the electrical device 6 itself has an abnormality. The PC 2 can notify the user of the information indicating where the abnormality is by display or voice. As a result, the user can quickly prepare for and execute recovery work, and can shorten the stoppage time of the production line.

〔実施形態2〕
本開示の一側面に係る他の実施形態について、以下に説明する。なお、説明の便宜上、実施形態1にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を繰り返さない。
[Embodiment 2]
Other embodiments according to one aspect of the present disclosure are described below. For convenience of description, members having the same functions as the members described in the first embodiment are denoted by the same reference numerals, and description thereof will not be repeated.

§1 適用例
図6は、本実施形態に係る信号処理装置100の適用場面の一例を模式的に例示する図である。通信システム1は、実施形態1と同様に、PC2(パーソナルコンピュータ、情報処理装置)、コントローラ3(機器制御装置)、入力ユニット4、出力ユニット5、および、電気機器6~10を備える。
§1 Application Example FIG. 6 is a diagram schematically illustrating an example of an application scene of the signal processing device 100 according to the present embodiment. The communication system 1 includes a PC 2 (personal computer, information processing device), a controller 3 (device control device), an input unit 4, an output unit 5, and electrical devices 6-10, as in the first embodiment.

なお、本実施形態では、入力ユニット4と出力ユニット5とを区別する必要がない場合に、これらを概念的に包括するものとして、入出力ユニット52(機器制御装置)との総称を用いる。入出力ユニット52は、入力ユニット4および出力ユニット5と同様に、重畳信号通信に対応している。したがって、入出力ユニット52は、入力ユニット4および出力ユニット5が重畳信号通信に対応するために備えている、図1に示された各部を備えている。 In this embodiment, when there is no need to distinguish between the input unit 4 and the output unit 5, the generic term "input/output unit 52" (equipment control device) is used to conceptually include them. The input/output unit 52, like the input unit 4 and the output unit 5, supports superimposed signal communication. Accordingly, the input/output unit 52 comprises the parts shown in FIG. 1 that the input unit 4 and output unit 5 are equipped to accommodate superimposed signal communication.

以下では、複数の電気機器6~10について、まとめて電気機器6とだけ記載するが、電気機器6についての説明は、電気機器7~10についても当てはまる。 In the following, the plurality of electric devices 6 to 10 will be collectively referred to as just the electric device 6, but the description of the electric device 6 also applies to the electric devices 7 to 10.

本実施形態では、コントローラ3は、入出力ユニット52と接続され、電気機器6に関する信号を入出力ユニット52にて受け付けることにより、電気機器6を制御したり監視したりすることができる。コントローラ3は、入出力ユニット52と併せて電気機器6を制御または監視する機器制御装置を構成する。他の例では、コントローラ3は、入出力ユニット52を一体に備えており、1台で機器制御装置を構成してもよい。 In this embodiment, the controller 3 is connected to the input/output unit 52 , and can control and monitor the electrical equipment 6 by receiving signals relating to the electrical equipment 6 at the input/output unit 52 . The controller 3 constitutes a device control device that controls or monitors the electrical device 6 together with the input/output unit 52 . In another example, the controller 3 may be integrally provided with the input/output unit 52, and the device control device may be constituted by one unit.

なお、1つの入出力ユニット52は、複数の通信ポートを有し、各通信ポートを通じて、複数のケーブル筐体50内の信号処理装置100と接続され、信号処理装置100のそれぞれと重畳信号を送受信する。これにより、入出力ユニット52は、複数の電気機器6を監視し、制御することができる。すなわち、入出力ユニット52は、各信号処理装置100をスレーブとする、重畳信号通信のマスタモジュール52Aを構成することができる。 One input/output unit 52 has a plurality of communication ports, is connected to the signal processing devices 100 in the plurality of cable housings 50 through each communication port, and transmits and receives superimposed signals to and from each of the signal processing devices 100. do. This allows the input/output unit 52 to monitor and control multiple electrical devices 6 . That is, the input/output unit 52 can constitute a master module 52A for superimposed signal communication, with each signal processing device 100 as a slave.

本実施形態では、重畳信号を処理するための信号処理装置100は、入出力ユニット52と電気機器6とを接続する通信ケーブル51の間に設けられる。そのために、信号処理装置100は、通信ケーブル51と電気的に接続可能な通信ケーブル状の外形を備えたケーブル筐体50(筐体)を有する。 In this embodiment, the signal processing device 100 for processing the superimposed signal is provided between the communication cable 51 connecting the input/output unit 52 and the electric device 6 . For this purpose, the signal processing device 100 has a cable housing 50 (housing) having a communication cable-like outer shape electrically connectable to the communication cable 51 .

例えば、ケーブル筐体50の下流側の一端は、電気機器6に接続される通信ケーブル51との間で着脱可能である。電気機器6側の通信ケーブル51とケーブル筐体50の一端とが接続されることで、信号処理装置100と電気機器6とが電気的に接続され、信号処理装置100と電気機器6との間で動作信号の他各種の信号の送受信が可能となる。信号処理装置100を内蔵するケーブル筐体50と、電気機器6とは、1対1の関係で接続される。 For example, one downstream end of the cable housing 50 is detachable from the communication cable 51 connected to the electrical device 6 . By connecting the communication cable 51 on the side of the electrical device 6 to one end of the cable housing 50, the signal processing device 100 and the electrical device 6 are electrically connected, and the signal processing device 100 and the electrical device 6 are electrically connected. , it becomes possible to transmit and receive various signals in addition to the operation signal. The cable housing 50 containing the signal processing device 100 and the electric device 6 are connected in a one-to-one relationship.

また、ケーブル筐体50の上流側の他端は、入出力ユニット52と接続可能である。詳細には、ケーブル筐体50の他端は、入出力ユニット52に接続される通信ケーブル51との間で着脱可能に構成される。入出力ユニット52側の通信ケーブル51とケーブル筐体50の他端とが接続されている間、入出力ユニット52と信号処理装置100とが電気的に接続され、入出力ユニット52と信号処理装置100との間で重畳信号の送受信が可能となる。入出力ユニット52と信号処理装置100との間で送受信される重畳信号には、例えば、信号処理装置100と接続する電気機器6の動作素子を制御する動作信号または電気機器6の動作素子の状態に応じた動作信号と、該電気機器6または該信号処理装置100に関する所定の情報を示すデータ信号とが含まれる。 The other upstream end of the cable housing 50 is connectable to the input/output unit 52 . Specifically, the other end of the cable housing 50 is configured to be attachable/detachable to/from the communication cable 51 connected to the input/output unit 52 . While the communication cable 51 on the input/output unit 52 side is connected to the other end of the cable housing 50, the input/output unit 52 and the signal processing device 100 are electrically connected, and the input/output unit 52 and the signal processing device are electrically connected. 100 can transmit and receive superimposed signals. The superimposed signal transmitted and received between the input/output unit 52 and the signal processing device 100 includes, for example, an operation signal for controlling an operation element of the electric device 6 connected to the signal processing device 100 or a state of the operation element of the electric device 6. and a data signal indicating predetermined information about the electrical equipment 6 or the signal processing device 100 .

本実施形態では、動作信号に重畳される情報である重畳対象信号は、一例として、以下の所定の情報を示すものとして生成される。具体的には、重畳対象信号は、ケーブル情報(第1の情報、識別情報)、機器情報(識別情報)、紐付情報(識別情報)、および、診断情報(第2の情報)などが想定されている。 In the present embodiment, the signal to be superimposed, which is information to be superimposed on the motion signal, is generated, as an example, to indicate the following predetermined information. Specifically, the signal to be superimposed includes cable information (first information, identification information), device information (identification information), linking information (identification information), diagnostic information (second information), and the like. ing.

ケーブル情報は、ケーブル筐体50内の信号処理装置100に固有の識別情報を含む情報である。ケーブル情報は、一例として、ケーブル型式の項目と、ケーブルIDの項目とで構成される。ケーブル型式の項目には、信号処理装置100の製品としての型式を示す情報が格納される。ケーブルIDの項目には、該型式の信号処理装置100を一意に識別するためのシリアルナンバーが格納される。 The cable information is information including identification information specific to the signal processing device 100 in the cable housing 50 . The cable information includes, for example, a cable type item and a cable ID item. Information indicating the product type of the signal processing device 100 is stored in the cable type item. The item of cable ID stores a serial number for uniquely identifying the signal processing device 100 of the model.

機器情報は、電気機器6に固有の識別情報を含む情報である。機器情報は、一例として、機器型式、機器IDの各項目で構成される。機器型式の項目には、電気機器6の製品としての型式を示す情報が格納される。機器IDの項目には、該型式の電気機器6を一意に識別するためのシリアルナンバーが格納される。機器型式と機器IDとによって、電気機器6は一意に特定される。 The device information is information including identification information unique to the electrical device 6 . The device information includes, for example, items of device type and device ID. Information indicating the product model of the electrical device 6 is stored in the item of device model. The device ID field stores a serial number for uniquely identifying the electrical device 6 of the model. The electrical device 6 is uniquely identified by the device model and device ID.

紐付情報は、ケーブル筐体50(信号処理装置100)と電気機器6との接続関係を示す情報であり、例えば、ユーザの入力操作に応じて、スマートフォンなどの入力端末(不図示)によって生成される。具体的には、紐付情報は、ケーブル情報を格納する項目と機器情報を格納する項目とで構成される。 The tying information is information indicating the connection relationship between the cable housing 50 (the signal processing device 100) and the electric device 6, and is generated by an input terminal (not shown) such as a smartphone, for example, according to the user's input operation. be. Specifically, the linking information is composed of an item for storing cable information and an item for storing device information.

診断情報は、電気機器6の状況を示す情報であり、具体的には、電気機器6の状態および電気機器6の周囲環境の少なくともいずれか一方を示す。診断情報は、電気機器6の状況を診断する診断回路19によって生成される。 The diagnostic information is information indicating the status of the electrical equipment 6 , and more specifically, indicates at least one of the status of the electrical equipment 6 and the surrounding environment of the electrical equipment 6 . Diagnostic information is generated by a diagnostic circuit 19 that diagnoses the condition of the electrical equipment 6 .

図20は、診断回路19を通信システム1に適用するときのいくつかの適用例を示すブロック図である。診断回路19は、該診断回路19を統括的に制御する診断演算部605を備えて構成され、例えば、機器内蔵診断回路19Aとして、電気機器6に内蔵されているか、外部診断回路19Bとして、電気機器6とは別体の例えばセンサ機器などに内蔵されている。あるいは、診断回路19は、装置内蔵診断回路19Cとして、信号処理装置100に内蔵されていてもよい。 FIG. 20 is a block diagram showing some application examples when the diagnostic circuit 19 is applied to the communication system 1. As shown in FIG. The diagnostic circuit 19 includes a diagnostic computation unit 605 that controls the diagnostic circuit 19 in an integrated manner. It is built in, for example, a sensor device that is separate from the device 6 . Alternatively, the diagnostic circuit 19 may be built in the signal processing device 100 as a built-in diagnostic circuit 19C.

これらの診断回路19が駆動して、電気機器6に関する診断情報が生成され、該診断情報を示す重畳対象信号が、信号処理装置100の重畳回路18にて、動作信号に重畳されて、通信ケーブル51Aを介して、重畳信号通信のマスタモジュール52Aである入出力ユニット52に送信される。マスタモジュール52Aを介して重畳信号を取得したコントローラ3は、重畳信号に含まれる重畳対象信号が示す診断情報を分析して、各電気機器6の状況を把握し、状況に応じた措置を講じることが可能となる。 These diagnostic circuits 19 are driven to generate diagnostic information about the electrical equipment 6, and a signal to be superimposed indicating the diagnostic information is superimposed on the operation signal by the superimposition circuit 18 of the signal processing device 100, and the signal is transmitted through the communication cable. 51A to an input/output unit 52, which is a master module 52A for superimposed signal communication. The controller 3 that has acquired the superimposed signal via the master module 52A analyzes the diagnostic information indicated by the superimposition target signal included in the superimposed signal, grasps the status of each electrical device 6, and takes measures according to the situation. becomes possible.

なお、本実施形態では、必要に応じて、ケーブル筐体50を、上流側の他端において、上述の入力端末と接続可能に構成してもよい。詳細には、ケーブル筐体50の他端は、入力端末に外付けまたは内蔵される不図示の情報転送装置との間で着脱可能に構成されてもよい。ケーブル筐体50の他端が、入出力ユニット52と接続されていない場合に、該他端を入力端末、正確には、情報転送装置に接続することができる。ケーブル筐体50の他端と、入力端末とが、情報転送装置を介して接続されている間、入力端末と信号処理装置100とが電気的に接続され、入力端末は、信号処理装置100との間で、データの送受信が可能となる。入力端末は、情報転送装置を介して、所定の情報を信号処理装置100に書き込んだり、読み出したりすることができる。具体的には、情報転送装置は、信号処理装置100の情報記憶部140に記憶されている所定の情報を書き込む機構を備えている。情報転送装置は、信号処理装置100の情報記憶部140に記憶されている所定の情報を読み出すための機構を備えていてもよい。 In this embodiment, if necessary, the cable housing 50 may be configured to be connectable to the above-described input terminal at the other end on the upstream side. Specifically, the other end of the cable housing 50 may be detachably connected to an information transfer device (not shown) externally attached to or built into the input terminal. When the other end of the cable housing 50 is not connected to the input/output unit 52, the other end can be connected to an input terminal, more precisely, an information transfer device. While the other end of the cable housing 50 and the input terminal are connected via the information transfer device, the input terminal and the signal processing device 100 are electrically connected, and the input terminal is connected to the signal processing device 100. Data can be sent and received between The input terminal can write and read predetermined information to and from the signal processing device 100 via the information transfer device. Specifically, the information transfer device has a mechanism for writing predetermined information stored in the information storage unit 140 of the signal processing device 100 . The information transfer device may have a mechanism for reading predetermined information stored in the information storage unit 140 of the signal processing device 100 .

情報転送装置から信号処理装置100に書き込まれる所定の情報は、例えば、信号処理装置100に対応する電気機器6の機器情報、または、機器情報と信号処理装置100のケーブル情報とを紐付けた紐付情報である。さらに、情報転送装置は、診断回路19が電気機器6の状況を判断するときに参照する閾値を信号処理装置100に書き込んでもよい。信号処理装置100は、閾値を、適宜の信号線を介して機器内蔵診断回路19A、外部診断回路19B、および、装置内蔵診断回路19Cの各診断回路19に供給し、診断回路19に、閾値に基づく診断を行わせることができる。 The predetermined information written from the information transfer device to the signal processing device 100 is, for example, the device information of the electric device 6 corresponding to the signal processing device 100, or the linking of the device information and the cable information of the signal processing device 100. Information. Furthermore, the information transfer device may write a threshold to the signal processing device 100 that the diagnostic circuit 19 refers to when judging the status of the electrical equipment 6 . The signal processing device 100 supplies the threshold value to each diagnostic circuit 19 of the device built-in diagnostic circuit 19A, the external diagnostic circuit 19B, and the device built-in diagnostic circuit 19C via an appropriate signal line, and sends the threshold to the diagnostic circuit 19. based diagnosis can be made.

ところで、信号処理装置100において重畳信号による通信を統括的に制御する通信演算部105と、診断回路19を制御する診断演算部605とは、動作信号を生成するための電力によって動作する。該電力は、例えば、上流のマスタモジュール52Aから、重畳信号の通信に用いる通信ケーブル51A内の信号線の一つを介して、信号処理装置100の降圧回路16に供給され、降圧回路16から、通信演算部105および診断演算部605の各部に分配される。したがって、通信演算部105と診断演算部605とが同時期にアクティブな状態で動作すると、上述の電力の供給を受けて生成される動作信号の電流値が低下することにより、電流波形(例えば、図5に示す波形)に乱れが生じ、動作信号を正しく送受信できなくなるという問題が生じる。 By the way, in the signal processing device 100, the communication calculation unit 105 that controls the communication by the superimposed signal and the diagnostic calculation unit 605 that controls the diagnostic circuit 19 operate with electric power for generating the operation signal. The power is supplied from the upstream master module 52A, for example, to the step-down circuit 16 of the signal processing device 100 via one of the signal lines in the communication cable 51A used for communication of the superimposed signal. It is distributed to each part of the communication calculation unit 105 and the diagnosis calculation unit 605 . Therefore, when the communication calculation unit 105 and the diagnostic calculation unit 605 operate in an active state at the same time, the current value of the operation signal generated by receiving the supply of power decreases, resulting in a current waveform (for example, (waveform shown in FIG. 5) is disturbed, and the problem arises that the operation signal cannot be correctly transmitted and received.

そこで、動作信号の電流波形に乱れを生じさせることなく、通信演算部105および診断演算部605のそれぞれが、重畳対象信号を生成するための一連の処理を実行できるようにすることが求められる。 Therefore, it is required that each of the communication calculation unit 105 and the diagnosis calculation unit 605 can execute a series of processes for generating the signal to be superimposed without disturbing the current waveform of the operating signal.

そこで、本開示の一例に係る信号処理装置100は、通信システム1の下流で動作する電気機器6と、上流で1以上の電気機器6を制御する機器制御装置(コントローラ3および入出力ユニット52)との間の通信を仲介する信号処理装置100であって、少なくとも第1の情報(例えば、ケーブル情報)を示す重畳対象信号を生成する通信演算部105(第1演算部)と、電気機器6の動作素子13の状態に応じた動作信号、または、動作素子を制御する動作信号に、上述の重畳対象信号を重畳させた重畳信号を生成する重畳回路18とを備える。そして、通信演算部105は、少なくとも第2の情報(例えば、診断情報)を示す上述の重畳対象信号を生成する診断演算部605(第2演算部)がアクティブ状態となっている期間に、重畳対象信号の生成を行わず、診断演算部605がスタンバイ状態となっている期間に、重畳対象信号の生成を行うように、信号処理の実行タイミングを制御するよう構成される。なお、通信演算部105および診断演算部605は、動作信号を生成するための電力によって動作する。 Therefore, the signal processing device 100 according to an example of the present disclosure includes an electrical device 6 that operates downstream of the communication system 1 and a device control device (the controller 3 and the input/output unit 52) that controls one or more electrical devices 6 upstream. A signal processing device 100 that mediates communication between a communication calculation unit 105 (first calculation unit) that generates a signal to be superimposed that indicates at least first information (eg, cable information), and an electric device 6 and a superimposition circuit 18 for generating a superimposition signal obtained by superimposing the signal to be superimposed on the operation signal corresponding to the state of the operation element 13 or the operation signal for controlling the operation element. Then, the communication calculation unit 105 superimposes data during a period in which the diagnosis calculation unit 605 (second calculation unit) that generates the superimposition target signal indicating at least the second information (for example, diagnostic information) is in an active state. It is configured to control execution timing of signal processing so as to generate a superimposition target signal during a period in which no target signal is generated and the diagnostic calculation unit 605 is in the standby state. Note that communication calculation unit 105 and diagnostic calculation unit 605 operate with electric power for generating the operation signal.

上述の構成によれば、診断演算部605がアクティブ状態となっている期間には、通信演算部105は、比較的大きな電力消費を伴う重畳対象信号を生成する信号処理を行わず、診断演算部605がスタンバイ状態となっている期間に、該信号処理を行う。よって、動作信号の電流波形が、通信演算部105および診断演算部605の動作により影響を受ける程度を少なくすることが可能となる。結果として、動作信号を正しく送受信できなくなるという問題の発生を防止することができる。例えば、動作信号の送受信に及ぼす悪影響を抑制しつつ、上流のコントローラ3に報告するためなどに、ケーブル情報に加えて診断情報を、重畳信号通信にてフィードバックすることが可能となる。これにより、コントローラ3は、各電気機器6の診断情報を分析して、現状を把握し、現状に応じた措置を講じることが可能となる。結果として、通信システム1の信頼性を向上させることが可能になるという効果を奏する。 According to the above-described configuration, during the period in which the diagnostic computation unit 605 is in the active state, the communication computation unit 105 does not perform signal processing for generating a signal to be superimposed that consumes a relatively large amount of power. The signal processing is performed while the 605 is in the standby state. Therefore, it is possible to reduce the extent to which the current waveform of the operating signal is affected by the operations of communication calculation section 105 and diagnostic calculation section 605 . As a result, it is possible to prevent the problem that the operation signal cannot be correctly transmitted and received. For example, diagnostic information in addition to cable information can be fed back by superimposed signal communication in order to report to the upstream controller 3 while suppressing adverse effects on transmission and reception of operation signals. As a result, the controller 3 can analyze the diagnostic information of each electric device 6, grasp the current situation, and take measures according to the current situation. As a result, there is an effect that the reliability of the communication system 1 can be improved.

以下では、動作信号に乱れを生じさせずに、通信演算部105と診断演算部605とに重畳対象信号を生成する信号処理を実行させるための構成として、3つの例を、構成例(1)~(3)として、それぞれ説明する。 In the following, three examples of a configuration for executing signal processing for generating a signal to be superimposed on the communication calculation unit 105 and the diagnostic calculation unit 605 without disturbing the operation signal are described as configuration example (1). (3), respectively.

§2 構成例(1)
構成例(1)では、信号処理装置100の通信演算部105と、診断演算部605との間を、シリアル通信を行うためのシリアルバスで接続する。通信演算部105は、診断演算部605とのシリアル通信によって、重畳対象信号を生成して送出する信号処理を実施する権限(以下、通信権)の譲受を調停する。調停にしたがって、通信演算部105は、診断演算部605がスタンバイ状態である期間に信号処理を実施し、診断演算部605は、通信演算部105がスタンバイ状態である期間に信号処理を実施する。さらに、通信演算部105および診断演算部605は、必要に応じて、シリアル通信を介して、比較的小さいサイズの所定の情報について送受信を行ってもよい。
§2 Configuration example (1)
In the configuration example (1), the communication calculation unit 105 of the signal processing device 100 and the diagnostic calculation unit 605 are connected by a serial bus for serial communication. The communication calculation unit 105 arbitrates the transfer of the authority (hereinafter referred to as communication authority) to perform signal processing for generating and transmitting a signal to be superimposed through serial communication with the diagnostic calculation unit 605 . According to the arbitration, the communication calculation unit 105 performs signal processing while the diagnostic calculation unit 605 is in the standby state, and the diagnostic calculation unit 605 performs signal processing while the communication calculation unit 105 is in the standby state. Furthermore, the communication calculation unit 105 and the diagnostic calculation unit 605 may transmit and receive predetermined information of a relatively small size via serial communication as necessary.

図7は、本開示の一側面である構成例(1)に係る信号処理装置100、および、電気機器6の構成を示すブロック図である。同図に示す、入出力ユニット52のマスタモジュール52Aは、入力ユニット4および出力ユニット5と同様に、重畳信号を用いた通信に対応しており、重畳信号を受信して処理するための受信回路群514を備える。受信回路群514は、例えば、実施形態1で説明したとおり、例えば、入力回路33、抽出回路34、誤り検出回路35、および、ユニット制御回路36などの各種回路を指している。 FIG. 7 is a block diagram showing the configuration of the signal processing device 100 and the electric device 6 according to configuration example (1), which is one aspect of the present disclosure. A master module 52A of the input/output unit 52 shown in FIG. A group 514 is provided. The receiving circuit group 514 indicates, for example, various circuits such as the input circuit 33, the extraction circuit 34, the error detection circuit 35, and the unit control circuit 36, as described in the first embodiment.

[信号処理装置100の構成]
信号処理装置100は、ケーブル筐体50に内蔵されており、実施形態1において図1に基づき説明した信号処理装置100と同様の構成(降圧回路16および重畳回路18などの送信回路15)に加えて、OR回路23、および、通信演算部105を備えている。
[Configuration of signal processing device 100]
The signal processing device 100 is built in the cable housing 50, and has the same configuration as the signal processing device 100 described in the first embodiment with reference to FIG. , an OR circuit 23 and a communication calculation unit 105 are provided.

なお、本実施形態では、情報記憶部140は、必要に応じて、ケーブル筐体50(信号処理装置100)に固有の情報であるケーブル情報を記憶していてもよい。ケーブル情報は、例えば、信号処理装置100を内蔵するケーブル筐体50の製造時または出荷時において、予め定められており、情報記憶部140に記憶されているものである。 Note that, in the present embodiment, the information storage unit 140 may store cable information, which is information specific to the cable housing 50 (signal processing device 100), as necessary. The cable information is determined in advance and stored in the information storage unit 140, for example, when the cable housing 50 containing the signal processing device 100 is manufactured or shipped.

また、例えば、信号処理装置100に情報を書き込むことができる不図示の情報転送装置を介して、スマートフォンなどの入力端末(不図示)と電気機器6内の信号処理装置100とを接続できる場合には、情報記憶部140は、電気機器6に関する所定の情報を記憶するように構成されてもよい。 Further, for example, when an input terminal (not shown) such as a smartphone and the signal processing device 100 in the electric device 6 can be connected via an information transfer device (not shown) capable of writing information to the signal processing device 100 Alternatively, the information storage unit 140 may be configured to store predetermined information regarding the electrical equipment 6 .

この場合、本実施形態では、情報記憶部140において、電気機器6に関する所定の情報を記憶するための領域と、ケーブル情報を記憶しておくための領域とは、それぞれ異なるICメモリで構成されてもよい。典型的には、前者は、入力端末から書き込みができるEEPROM(登録商標)(Electrically Erasable Programmable Read Only Memory)などのユーザプログラマブルROMで構成されていてもよいし、後者は、前者とは別のEEPROMであって、出荷時等に設定された後書き込みが禁止されているEEPROMで構成されていてもよい。 In this case, in this embodiment, in the information storage unit 140, the area for storing the predetermined information about the electrical equipment 6 and the area for storing the cable information are configured by different IC memories. good too. Typically, the former may consist of a user-programmable ROM such as EEPROM (Electrically Erasable Programmable Read Only Memory) that can be written from an input terminal, and the latter may consist of an EEPROM separate from the former. and may be configured with an EEPROM in which writing is prohibited after being set at the time of shipment.

通信演算部105は、信号処理装置100の各部を統括的に制御して、上流のマスタモジュール52Aと下流の電気機器6との間の、重畳信号を用いた通信(以下、重畳通信)を仲介するものである。 The communication calculation unit 105 centrally controls each unit of the signal processing device 100, and mediates communication using superimposed signals (hereinafter referred to as superimposed communication) between the upstream master module 52A and the downstream electric device 6. It is something to do.

通信演算部105は、典型的には、MPU(Micro Processing Unit)およびFPGA(Field-Programmable gate array)などのハードウェアで構成される。通信演算部105は、シリアル通信部170、データ信号生成部171、および、モード切替部172を備えている。通信演算部105は、必要に応じて、アナログデジタル変換回路(以下、ADC)173を備えていてもよい。なお、アナログ信号としての診断情報が外部から供給されることが無い場合は、ADC173は、省略されてもよい。 The communication calculation unit 105 is typically configured with hardware such as an MPU (Micro Processing Unit) and an FPGA (Field-Programmable gate array). The communication calculation section 105 includes a serial communication section 170 , a data signal generation section 171 and a mode switching section 172 . The communication calculation unit 105 may include an analog-to-digital conversion circuit (hereinafter referred to as ADC) 173 as required. Note that the ADC 173 may be omitted if diagnostic information as an analog signal is not supplied from the outside.

通信演算部105のデータ信号生成部171およびモード切替部172は、例えば、MPUが、図示しないメモリに記憶されている情報を利用し、各部を実現するソフトウェアであるプログラムの命令を実行することによって実現されてもよい。 The data signal generation unit 171 and the mode switching unit 172 of the communication calculation unit 105 are generated by, for example, the MPU using information stored in a memory (not shown) and executing instructions of a program, which is software that implements each unit. may be implemented.

シリアル通信部170は、診断演算部605とシリアル通信を行うものである。一例として、シリアル通信部170としては、典型的には、SPI(Serial Peripheral Interface)が採用される。この場合、通信演算部105と診断演算部605とは、SPIの規格に準拠したシリアルバスで接続される。シリアル通信部170は、クロック信号伝送用、下りデータ転送用(マスタOUTスレーブIN)、および、上りデータ転送用(マスタINスレーブOUT)の3つの信号を、上述のシリアルバスを構成する3本の信号線を介して、診断演算部605とやりとりすることにより、情報の送受信を行う。 The serial communication section 170 performs serial communication with the diagnostic calculation section 605 . As an example, serial communication unit 170 typically employs an SPI (Serial Peripheral Interface). In this case, the communication calculation unit 105 and the diagnostic calculation unit 605 are connected by a serial bus conforming to the SPI standard. The serial communication unit 170 transmits three signals for clock signal transmission, downstream data transfer (master OUT, slave IN), and upstream data transfer (master IN, slave OUT) to the three lines forming the above-described serial bus. Information is transmitted and received by exchanging with the diagnostic calculation unit 605 via a signal line.

本構成例では、シリアル通信部170は、通信権の譲受の調停を診断演算部605との間で行うために、コマンドまたはレスポンスなどのシリアルデータをシリアル通信にて送受信する。また、本構成例では、シリアル通信部170は、予め入力端末から設定された、電気機器6の状況を判断する際に参照される閾値を、診断演算部605に送信してもよい。また、シリアル通信部170は、信号処理装置100のケーブル情報、または、電気機器6との対応関係を示す紐付情報を、診断演算部605に送信してもよい。 In this configuration example, the serial communication unit 170 transmits/receives serial data such as a command or a response through serial communication in order to mediate transfer of the communication right with the diagnosis calculation unit 605 . Further, in this configuration example, the serial communication unit 170 may transmit to the diagnostic calculation unit 605 a threshold that is set in advance from the input terminal and is referred to when determining the state of the electrical equipment 6 . Also, the serial communication unit 170 may transmit the cable information of the signal processing device 100 or the linking information indicating the correspondence with the electric device 6 to the diagnostic calculation unit 605 .

シリアル通信部170は、SPIに代えて、I2C(Inter-Integrated Circuit)、または、汎用非同期式送受信回路(UART;Universal Asynchronous Receiver Transmitter)を用いた通信手段を採用することができる。 The serial communication unit 170 can adopt communication means using I2C (Inter-Integrated Circuit) or a general-purpose asynchronous receiver transmitter (UART) instead of SPI.

シリアル通信部170が実行する動作のうち、シリアルデータの生成および送信は、通信演算部105がアクティブ状態のときに実行される。一方、通信ポートの監視は、比較的少ない消費電力で行われる。そのため、通信演算部105がスタンバイ状態に遷移している間も、シリアル通信部170は、通信ポートの監視を実行してもよい。 Among the operations performed by serial communication unit 170, generation and transmission of serial data are performed when communication operation unit 105 is in an active state. Communication port monitoring, on the other hand, consumes relatively little power. Therefore, the serial communication unit 170 may monitor the communication port even while the communication operation unit 105 is transitioning to the standby state.

データ信号生成部171は、第1の情報を生成するものである。本構成例では、データ信号生成部171は、生成した第1の情報を重畳通信で送るために必要な一連の信号処理を実施する。本構成例では、一例として、データ信号生成部171が実施する信号処理は、第1の情報を取得すること、第1の情報を示す重畳対象信号を生成すること、生成した重畳対象信号を重畳回路18に接続されるOR回路23に出力すること、などを含む。上述の一連の信号処理には比較的多くの電力消費が伴う。したがって、データ信号生成部171の動作は、通信演算部105がアクティブ状態であって、診断演算部605がスタンバイ状態のときに実行される。 The data signal generator 171 generates first information. In this configuration example, the data signal generation unit 171 performs a series of signal processing necessary to transmit the generated first information by superimposition communication. In this configuration example, as an example, the signal processing performed by the data signal generation unit 171 includes acquiring first information, generating a superimposition target signal indicating the first information, superimposing the generated superimposition target signal, outputting to an OR circuit 23 connected to circuit 18, and so on. The sequence of signal processing described above involves a relatively large amount of power consumption. Therefore, the operation of data signal generator 171 is performed when communication operation unit 105 is in the active state and diagnostic operation unit 605 is in the standby state.

本構成例では、例えば、データ信号生成部171は、信号処理装置100を識別するケーブル情報(識別情報)を第1の情報として記憶する情報記憶部140から、該ケーブル情報を読み出す。そして、データ信号生成部171は、読み出したケーブル情報を示す重畳対象信号を生成して、OR回路23に出力する。 In this configuration example, for example, the data signal generation unit 171 reads cable information (identification information) for identifying the signal processing device 100 from the information storage unit 140 that stores the cable information as the first information. Then, the data signal generation unit 171 generates a superimposition target signal indicating the read cable information and outputs it to the OR circuit 23 .

OR回路23は、通信演算部105のデータ信号生成部171によって生成された重畳対象信号、および、診断演算部605のデータ信号生成部651によって生成された重畳対象信号のいずれか一方を、重畳回路18に出力する。これにより、重畳回路18は、通信演算部105から受信した第1の重畳対象信号、または、診断演算部605から受信した第2の重畳対象信号を、動作信号に重畳させて重畳信号を生成する。 The OR circuit 23 converts one of the superimposition target signal generated by the data signal generation unit 171 of the communication calculation unit 105 and the superimposition target signal generated by the data signal generation unit 651 of the diagnostic calculation unit 605 into a superimposition circuit. Output to 18. As a result, the superimposition circuit 18 superimposes the first signal to be superimposed received from the communication calculation unit 105 or the second signal to be superimposed received from the diagnostic calculation unit 605 on the operation signal to generate a superimposed signal. .

モード切替部172は、通信演算部105の動作モードを、通常モードと低消費電力モードとの間で切り替えるものである。通常モードは、比較的多くの電力消費を伴う、通信演算部105の通常の動作モードを指し、通常モードにて動作している通信演算部105の状態をアクティブ状態と称する。低消費電力モードは、電力消費が発生しないようにする通信演算部105の完全停止モード、および、電力消費が比較的少ない低電力モードの少なくともいずれか一方を指す。低消費電力モードにて停止または低速クロックで動作している通信演算部105の状態をスタンバイ状態と称する。 The mode switching unit 172 switches the operation mode of the communication calculation unit 105 between the normal mode and the low power consumption mode. The normal mode refers to a normal operation mode of the communication calculation unit 105 that consumes a relatively large amount of power, and the state of the communication calculation unit 105 operating in the normal mode is called an active state. The low power consumption mode refers to at least one of a complete stop mode of the communication calculation unit 105 that prevents power consumption and a low power mode that consumes relatively little power. A state of the communication calculation unit 105 that is stopped in the low power consumption mode or that is operating with a low-speed clock is referred to as a standby state.

本構成例では、シリアル通信部170が診断演算部605との間で行った通信権の譲受の調停結果にしたがって、モード切替部172は、通信演算部105の動作モードを、通常モードから低消費電力モードへ、あるいは、低消費電力モードから通常モードへ切り替える。 In this configuration example, the mode switching unit 172 switches the operation mode of the communication calculation unit 105 from the normal mode to the low consumption mode according to the arbitration result of the transfer of the communication right performed between the serial communication unit 170 and the diagnosis calculation unit 605. Switch to power mode or switch from low power mode to normal mode.

[電気機器6の構成]
電気機器6は、実施形態1において図1に基づき説明した電気機器6と同様の構成のうち、少なくとも、データ生成回路17および診断回路19を備えている。図7には、図1に示す送信回路15のうち、データ生成回路17および診断回路19の動作を統括的に制御する診断演算部605を示す。
[Configuration of electrical device 6]
The electrical equipment 6 includes at least a data generation circuit 17 and a diagnostic circuit 19 among the same configurations as the electrical equipment 6 described in the first embodiment based on FIG. FIG. 7 shows a diagnostic computation unit 605 that controls the operations of the data generation circuit 17 and the diagnostic circuit 19 of the transmission circuit 15 shown in FIG.

診断演算部605は、典型的には、MPU(Micro Processing Unit)およびFPGA(Field-Programmable gate array)などのハードウェアで構成される。診断演算部605は、シリアル通信部650、データ信号生成部651、および、モード切替部652を備えている。 Diagnostic operation unit 605 is typically configured by hardware such as MPU (Micro Processing Unit) and FPGA (Field-Programmable gate array). The diagnostic computation section 605 includes a serial communication section 650 , a data signal generation section 651 and a mode switching section 652 .

診断演算部605のシリアル通信部650、データ信号生成部651、および、モード切替部652は、例えば、MPUが、図示しないメモリに記憶されている情報を利用し、各部を実現するソフトウェアであるプログラムの命令を実行することによって実現されてもよい。 The serial communication unit 650, the data signal generation unit 651, and the mode switching unit 652 of the diagnostic calculation unit 605, for example, the MPU utilizes information stored in a memory (not shown) to implement each unit. may be implemented by executing the instructions of

シリアル通信部650は、通信演算部105のシリアル通信部170とシリアル通信を行うものである。シリアル通信部650は、シリアル通信部170と、コマンドまたはレスポンスをやりとりして、通信権の譲受について調停を行う。また、本構成例では、シリアル通信部650は、機器情報をシリアル通信部170に送信したり、ケーブル情報または診断時に参照する閾値をシリアル通信部170から受信したりする。シリアル通信部170と同様に、シリアル通信部650は、通信ポートの監視を、低消費電力モード時に実行してもよい。 The serial communication unit 650 performs serial communication with the serial communication unit 170 of the communication calculation unit 105 . The serial communication unit 650 exchanges commands or responses with the serial communication unit 170 to mediate transfer of the communication right. Further, in this configuration example, the serial communication unit 650 transmits device information to the serial communication unit 170 and receives cable information or a threshold value referred to during diagnosis from the serial communication unit 170 . Similar to serial communication unit 170, serial communication unit 650 may monitor communication ports during the low power consumption mode.

データ信号生成部651は、第2の情報を生成するものである。本構成例では、データ信号生成部651は、生成した第2の情報を重畳通信で送るために必要な一連の信号処理を実施する。本構成例では、一例として、データ信号生成部651が実施する信号処理は、第2の情報を取得すること、第2の情報を示す重畳対象信号を生成すること、生成した重畳対象信号を重畳回路18に接続されるOR回路23に出力すること、などを含む。上述の一連の信号処理には比較的多くの電力消費が伴う。したがって、データ信号生成部651の動作は、診断演算部605がアクティブ状態であって、通信演算部105がスタンバイ状態のときに実行される。 The data signal generator 651 is for generating the second information. In this configuration example, the data signal generation unit 651 performs a series of signal processing necessary to transmit the generated second information by superimposition communication. In this configuration example, as an example, the signal processing performed by the data signal generation unit 651 includes acquiring second information, generating a superimposition target signal indicating the second information, and superimposing the generated superimposition target signal. outputting to an OR circuit 23 connected to circuit 18, and so on. The series of signal processing described above involves a relatively large amount of power consumption. Therefore, the operation of data signal generator 651 is performed when diagnostic operation unit 605 is in the active state and communication operation unit 105 is in the standby state.

本構成例では、例えば、データ信号生成部651は、電気機器6の状態および周囲環境の少なくともいずれか一方を示す情報に基づいて、電気機器6の状況を示す診断情報を、第2の情報として生成する。そして、データ信号生成部651は、生成した診断情報を示す重畳対象信号を生成して、信号処理装置100のOR回路23に出力する。 In this configuration example, for example, the data signal generation unit 651 outputs diagnostic information indicating the status of the electrical device 6 as the second information based on information indicating at least one of the state of the electrical device 6 and the surrounding environment. Generate. The data signal generator 651 then generates a signal to be superimposed that indicates the generated diagnostic information, and outputs it to the OR circuit 23 of the signal processing device 100 .

モード切替部652は、診断演算部605の動作モードを、通常モードと低消費電力モードとの間で切り替えるものである。本構成例では、シリアル通信部170が診断演算部605との間で行った通信権の譲受の調停結果にしたがって、モード切替部172は、通信演算部105の動作モードを、通常モードから低消費電力モードへ、あるいは、低消費電力モードから通常モードへ切り替える。 The mode switching unit 652 switches the operation mode of the diagnostic calculation unit 605 between the normal mode and the low power consumption mode. In this configuration example, the mode switching unit 172 switches the operation mode of the communication calculation unit 105 from the normal mode to the low consumption mode according to the arbitration result of the transfer of the communication right performed between the serial communication unit 170 and the diagnosis calculation unit 605. Switch to power mode or switch from low power mode to normal mode.

図8は、各演算部の動作シーケンスと消費電力量との対応関係を簡略化して示す模式図である。 FIG. 8 is a schematic diagram showing a simplified correspondence relationship between the operation sequence of each computing unit and the amount of power consumption.

信号処理装置100が入出力ユニット52と接続された状態で、入出力ユニット52(または、コントローラ3)の電源が入れられると、入出力ユニット52から供給された電力で、通信演算部105および診断演算部605が起動する。本構成例では、一例として、電源オン時、通信演算部105が通常モードで起動され、診断演算部605が低消費電力モードで起動される。 When the signal processing device 100 is connected to the input/output unit 52 and the power of the input/output unit 52 (or the controller 3) is turned on, the power supplied from the input/output unit 52 is used to operate the communication calculation unit 105 and the diagnostic unit 105. The calculation unit 605 is activated. In this configuration example, as an example, when the power is turned on, the communication calculation unit 105 is activated in the normal mode, and the diagnostic calculation unit 605 is activated in the low power consumption mode.

本構成例では、シリアル通信によって通信権の譲受が調停され、通信演算部105は、通信権を持たない期間は、低消費電力モードにて動作し、信号処理を実行しない。この間、通信権を獲得した診断演算部605が信号処理を実施する。通信演算部105は、通信権を得て信号処理を実行する場合には、診断演算部605が低消費電力モードで動作している期間に該信号処理を行う。 In this configuration example, the transfer of the communication right is arbitrated by serial communication, and the communication calculation unit 105 operates in the low power consumption mode and does not execute signal processing during the period when it does not have the communication right. During this time, the diagnostic computation unit 605 that has acquired the communication right performs signal processing. When obtaining the communication right and executing signal processing, the communication calculation unit 105 performs the signal processing while the diagnosis calculation unit 605 is operating in the low power consumption mode.

また、両演算部のシリアル通信による調停によって、両演算部が同時期に通常モードにならないように制御される。 In addition, arbitration by serial communication between both calculation units controls them so that they do not enter the normal mode at the same time.

このようにすれば、アクティブ状態下で、とりわけ消費電力量が多くなる信号処理が、通信演算部105と診断演算部605とで同時期に実行されることが回避される。したがって、動作信号の電流値に悪影響を及ぼすほどに電力の消費が集中することがなくなる。 In this way, signal processing that consumes a particularly large amount of power in the active state is prevented from being executed simultaneously by the communication calculation section 105 and the diagnostic calculation section 605 . Therefore, power consumption is not so concentrated as to adversely affect the current value of the operating signal.

§3 構成例(1)の動作例
図9は、通信システム1に属する信号処理装置100および電気機器6の処理の流れを示すフローチャートである。それぞれの装置の最初の処理ステップ(S101およびS102)は、例えば、信号処理装置100が通信ケーブル51Aを介して接続されているコントローラ3(入出力ユニット52)の電源が投入されることによって開始される。なお、以下で説明する処理手順は一例に過ぎず、各処理は可能な限り変更されてよい。また、以下で説明する処理手順について、実施の形態に応じて、適宜、ステップの省略、置換、及び追加が可能である。
§3 Operation Example of Configuration Example (1) FIG. The first processing steps (S101 and S102) of each device are started by, for example, turning on the power of the controller 3 (input/output unit 52) to which the signal processing device 100 is connected via the communication cable 51A. be. Note that the processing procedure described below is merely an example, and each processing may be changed as much as possible. Further, in the processing procedures described below, steps can be omitted, replaced, and added as appropriate according to the embodiment.

S101では、通信演算部105は、通常モードにて起動する。通信演算部105のシリアル通信部170は、診断演算部605の有無を確認するためのコマンドを送信する。このコマンドは、診断演算部605が存在するかどうかを診断演算部605に問い合わせるメッセージ、および、診断演算部605に診断情報の送信を要求するメッセージとして、診断演算部605のシリアル通信部650において解釈される。 In S101, the communication calculation unit 105 is activated in normal mode. Serial communication unit 170 of communication calculation unit 105 transmits a command for confirming the presence or absence of diagnostic calculation unit 605 . This command is interpreted by the serial communication unit 650 of the diagnostic computation unit 605 as a message to inquire of the diagnostic computation unit 605 as to whether the diagnostic computation unit 605 exists and a message to request the diagnostic computation unit 605 to transmit diagnostic information. be done.

S102では、診断演算部605は、低消費電力モードにて起動する。シリアル通信部650は、SPIの通信ポートを監視し、通信演算部105から送られてくるコマンドを待つ。 In S102, the diagnostic calculation unit 605 is activated in the low power consumption mode. The serial communication unit 650 monitors the SPI communication port and waits for a command sent from the communication calculation unit 105 .

S103では、コマンドが診断演算部605の通信ポートを介して入力されると、シリアル通信部650は、コマンドが受信されたことを検知し、S103のYESからS104に進む。 In S103, when a command is input via the communication port of the diagnostic calculation unit 605, the serial communication unit 650 detects that the command has been received, and advances from YES in S103 to S104.

S104では、シリアル通信部650は、受信したコマンドに基づいて、通信演算部105の存在を認識する。 In S104, serial communication unit 650 recognizes the existence of communication operation unit 105 based on the received command.

S105では、シリアル通信部650は、受信したコマンドに応答するレスポンスを生成し、シリアルバスを介して返信する。このレスポンスは、診断演算部605が存在するとの返事、および、診断情報を送るので通信権を診断演算部605に譲ることを要求するメッセージとして、通信演算部105のシリアル通信部170において解釈される。 In S105, the serial communication unit 650 generates a response in response to the received command and returns it via the serial bus. This response is interpreted by the serial communication unit 170 of the communication operation unit 105 as a reply that the diagnostic operation unit 605 exists and a message requesting that the diagnostic operation unit 605 be given the right of communication because the diagnostic information will be sent. .

S106では、シリアル通信部170は、受信したレスポンスに基づいて、診断演算部605の存在を認識する。 In S106, the serial communication unit 170 recognizes the existence of the diagnostic calculation unit 605 based on the received response.

S107では、モード切替部172は、上述のレスポンスに応答して、通信演算部105の動作モードを、通常モードから低消費電力モードに切り替える。シリアル通信部170は、通信演算部105がスタンバイ状態に遷移しても、シリアルバスの通信ポートの監視を継続する。 In S107, the mode switching unit 172 switches the operation mode of the communication calculation unit 105 from the normal mode to the low power consumption mode in response to the above response. The serial communication unit 170 continues monitoring the communication port of the serial bus even when the communication operation unit 105 transitions to the standby state.

S108では、モード切替部652は、S105にてレスポンスが送信されてから所定の時間が経過したか否かを判定する。この所定の時間は、任意に設定される。例えば、上述のレスポンスがシリアル通信部650からシリアル通信部170に受信されるまでに要する時間、および、レスポンスがシリアル通信部170に受信されてからモード切替部172が動作モードを低消費電力モードに切り替えるのに要する時間を考慮して、これらが完了するのに十分な時間が確保されることが望ましい。所定の時間が経過すると、モード切替部652は、S108のYESからS109に進む。 In S108, the mode switching unit 652 determines whether or not a predetermined time has passed since the response was transmitted in S105. This predetermined time is arbitrarily set. For example, the time required for the above response to be received by the serial communication unit 170 from the serial communication unit 650, and the mode switching unit 172 switching the operation mode to the low power consumption mode after the response is received by the serial communication unit 170. Given the time it takes to switch, it is desirable to allow sufficient time for these to complete. After the predetermined time has elapsed, the mode switching unit 652 advances from YES in S108 to S109.

S109では、モード切替部652は、診断演算部605の動作モードを、低消費電力モードから通常モードに切り替える。これに伴い、データ信号生成部651は、重畳対象信号を生成し、送信するための信号処理を開始する。具体的には、データ信号生成部651は、電気機器6の現在の状況に関して、電気機器6の状態または周辺環境の情報を取得し、取得した情報に基づいて診断情報を生成する。データ信号生成部651は、事前に取得されている閾値に基づいて、状況判断を行った上で診断情報を生成してもよい。 In S109, the mode switching unit 652 switches the operation mode of the diagnostic calculation unit 605 from the low power consumption mode to the normal mode. Along with this, the data signal generation unit 651 generates a signal to be superimposed and starts signal processing for transmission. Specifically, the data signal generation unit 651 acquires information on the state of the electrical device 6 or the surrounding environment regarding the current state of the electrical device 6, and generates diagnostic information based on the acquired information. The data signal generation unit 651 may generate diagnostic information after making a situation judgment based on a threshold acquired in advance.

S110では、データ信号生成部651は、診断情報を示す重畳対象信号を生成して、これをOR回路23に送信する。データ信号生成部651は、事前に通信演算部105から提供されたケーブル情報を取得し、ケーブル情報および診断情報を示す重畳対象信号を生成してもよい。 In S<b>110 , the data signal generator 651 generates a signal to be superimposed indicating diagnostic information and transmits it to the OR circuit 23 . The data signal generation unit 651 may acquire the cable information provided in advance from the communication calculation unit 105 and generate a signal to be superimposed indicating the cable information and diagnostic information.

S111では、データ信号生成部651は、診断情報を示すデータ信号を最後まで送出できたか否かを判定する。データ信号生成部651は、判定の結果、送信の完了を確認したら、S111のYESからS112に進む。 In S111, the data signal generator 651 determines whether or not the data signal indicating diagnostic information has been transmitted to the end. After confirming the completion of the transmission as a result of the determination, the data signal generation unit 651 advances from YES in S111 to S112.

S112では、シリアル通信部650は、診断情報の送信が完了したことに伴って、送信完了を通信演算部105に通知するためのコマンドをシリアル通信部170に送信する。このコマンドは、診断情報の送信が完了したことの通知、および、通信権を通信演算部105に譲って、スタンバイ状態に入ることを宣言するメッセージとして、通信演算部105のシリアル通信部170において解釈される。 In S112, serial communication unit 650 transmits a command for notifying communication operation unit 105 of the completion of transmission to serial communication unit 170 when the transmission of diagnostic information is completed. This command is interpreted by serial communication unit 170 of communication operation unit 105 as a message notifying that the transmission of diagnostic information has been completed, and as a message declaring that communication rights are transferred to communication operation unit 105 and that the standby state is entered. be done.

S113では、上述のコマンドが送信されたことに応じて、モード切替部652は、診断演算部605の動作モードを、通常モードから低消費電力モードに切り替える。シリアル通信部650は、シリアル通信の通信ポートの監視を継続する。 In S113, the mode switching unit 652 switches the operation mode of the diagnostic calculation unit 605 from the normal mode to the low power consumption mode in response to the transmission of the above command. The serial communication unit 650 continues monitoring the communication port for serial communication.

S114では、シリアル通信部170は、継続していた監視によって、コマンドを受信したことを検知する。コマンドを検知すると、シリアル通信部170は、S114のYESからS115に進む。 In S114, the serial communication unit 170 detects that the command has been received through continuous monitoring. When the command is detected, the serial communication unit 170 advances from YES in S114 to S115.

S115では、シリアル通信部170は、受信したコマンドに基づいて、診断演算部605の信号処理が完了したことを認識する。 In S115, the serial communication unit 170 recognizes that the signal processing of the diagnostic calculation unit 605 has been completed based on the received command.

S116では、モード切替部172は、S114にてコマンドが受信されてから所定の時間が経過したか否かを判定する。この所定の時間は、任意に設定される。例えば、モード切替部652が動作モードを低消費電力モードに切り替えるのに要する時間を考慮して、これが完了するのに十分な時間が確保されることが望ましい。所定の時間が経過すると、モード切替部172は、S116のYESからS117に進む。 In S116, the mode switching unit 172 determines whether or not a predetermined time has passed since the command was received in S114. This predetermined time is arbitrarily set. For example, considering the time required for the mode switching unit 652 to switch the operation mode to the low power consumption mode, it is desirable to ensure sufficient time for this to be completed. After the predetermined time has elapsed, the mode switching unit 172 advances from YES in S116 to S117.

S117では、モード切替部172は、通信演算部105の動作モードを、低消費電力モードから通常モードに切り替える。これに伴い、データ信号生成部171は、重畳対象信号を生成し、送信するための信号処理を開始する。具体的には、データ信号生成部171は、ケーブル情報を情報記憶部140から読み出す。データ信号生成部171は、事前に診断演算部605から提供された機器情報を情報記憶部140から取得してもよい。 In S117, the mode switching unit 172 switches the operation mode of the communication calculation unit 105 from the low power consumption mode to the normal mode. Along with this, the data signal generation unit 171 generates a signal to be superimposed and starts signal processing for transmission. Specifically, the data signal generator 171 reads the cable information from the information storage 140 . The data signal generation unit 171 may acquire the device information provided in advance from the diagnostic calculation unit 605 from the information storage unit 140 .

S118では、データ信号生成部171は、取得したケーブル情報を示す重畳対象信号を生成して、これをOR回路23に送信する。データ信号生成部171は、さらに、機器情報を含む重畳対象信号を生成してもよい。 In S<b>118 , the data signal generator 171 generates a signal to be superimposed indicating the acquired cable information and transmits it to the OR circuit 23 . The data signal generator 171 may further generate a superimposition target signal including device information.

S119では、重畳回路18は、OR回路23から出力された、データ信号生成部171(通信演算部105)由来の第1の重畳対象信号、および、データ信号生成部651(診断演算部605)由来の第2の重畳対象信号のうちの一方を、動作信号に重畳させて、重畳信号を生成する。重畳回路18は、通信ケーブル51Aを介して、生成した重畳信号をマスタモジュール52Aに送信する。 In S119, the superimposition circuit 18 outputs the first signal to be superimposed derived from the data signal generation unit 171 (communication calculation unit 105) and the data signal generation unit 651 (diagnosis calculation unit 605), which are output from the OR circuit 23. superimposing one of the second signals to be superimposed on the operating signal to generate a superimposed signal. The superimposing circuit 18 transmits the generated superimposed signal to the master module 52A via the communication cable 51A.

マスタモジュール52Aは、第1の重畳対象信号を含む重畳信号と、第2の重畳対象信号を含む重畳信号とを同じ通信ポートから受け取るので、コントローラ3は、第1の重畳対象信号で示されているケーブル情報と、第2の重畳対象信号で示されている診断情報とを紐付けることができる。コントローラ3は、受け取った診断情報が、どのケーブル筐体50につながっている電気機器6のものであるのかを特定することができる。 Since the master module 52A receives the superimposed signal including the first signal to be superimposed and the superimposed signal including the second signal to be superimposed from the same communication port, the controller 3 receives the superimposed signal indicated by the first signal to be superimposed. It is possible to associate the cable information that is present with the diagnostic information indicated by the second superimposition target signal. The controller 3 can identify which cable housing 50 the electrical equipment 6 is connected to the received diagnostic information.

上述の構成および方法によれば、アクティブ状態下で、とりわけ消費電力量が多くなる信号処理が、通信演算部105と診断演算部605とで同時期に実行されることが回避される。したがって、動作信号の電流値に悪影響を及ぼすほどに電力の消費が集中することがなくなる。結果として、動作信号に乱れを生じさせることなく、通信演算部105および診断演算部605のそれぞれが、重畳対象信号を生成するための一連の信号処理を実行できる。結果として、上流のコントローラ3は、電気機器6の情報を収集して分析することができるようになるので、通信システム1の信頼性を高めることができる。 According to the above-described configuration and method, it is avoided that signal processing that consumes a particularly large amount of power in the active state is executed simultaneously by communication calculation section 105 and diagnostic calculation section 605 . Therefore, power consumption is not so concentrated as to adversely affect the current value of the operating signal. As a result, each of the communication calculation unit 105 and the diagnosis calculation unit 605 can execute a series of signal processing for generating the signal to be superimposed without disturbing the operation signal. As a result, the upstream controller 3 can collect and analyze the information of the electrical equipment 6, so that the reliability of the communication system 1 can be improved.

また、通信演算部105は、診断演算部605とシリアル通信によって各種情報を送受信できる。例えば、通信演算部105が、ケーブル情報などの第1の情報をシリアル通信によって診断演算部605に送信することにより、診断演算部605が、第1の情報と第2の情報とを含む重畳対象信号を生成することが可能となる。 Further, the communication calculation unit 105 can transmit and receive various information to and from the diagnostic calculation unit 605 through serial communication. For example, the communication calculation unit 105 transmits the first information such as the cable information to the diagnosis calculation unit 605 by serial communication, so that the diagnosis calculation unit 605 detects the superimposition target including the first information and the second information. A signal can be generated.

また、例えば、通信演算部105は、診断演算部605が第2の情報を生成する際に参照する閾値をシリアル通信によって診断演算部605に送信することができる。これにより、通信演算部105は、診断演算部605に、指定した閾値に基づく判断に応じて、第2の情報を生成させることが可能となる。 In addition, for example, the communication calculation unit 105 can transmit a threshold to the diagnostic calculation unit 605 through serial communication, which the diagnostic calculation unit 605 refers to when generating the second information. This allows the communication calculation unit 105 to cause the diagnosis calculation unit 605 to generate the second information according to the determination based on the specified threshold.

例えば、診断演算部605のデータ信号生成部651が、診断情報として、正常か異常かを示すバイナリデータを出力するように構成されている場合、異常と判定をするための閾値を、ユーザが決定し、入力端末を用いて、信号処理装置100に書き込む。信号処理装置100のシリアル通信部170は、書き込まれた閾値を、シリアル通信で、診断演算部605に送信することができる。このように、閾値を利用すれば、診断演算部605に生成させる診断情報を、正常か異常かの2値で構成することができるので、上述の2値の診断情報を収集するだけで十分な場合には、診断情報を示す重畳対象信号のデータ量を大幅に削減することできる。 For example, when the data signal generation unit 651 of the diagnostic calculation unit 605 is configured to output binary data indicating normality or abnormality as diagnostic information, the user determines the threshold for determining abnormality. and write it to the signal processing apparatus 100 using the input terminal. The serial communication unit 170 of the signal processing device 100 can transmit the written threshold to the diagnostic calculation unit 605 through serial communication. In this way, if the threshold value is used, the diagnostic information generated by the diagnostic calculation unit 605 can be composed of two values indicating normality or abnormality. In this case, the amount of data of the signal to be superimposed, which indicates diagnostic information, can be significantly reduced.

なお、本構成例の動作例において、ノイズなどが原因で、コマンドまたはレスポンスがシリアル通信によって正常に受信できない事態が想定される。通信演算部105および診断演算部605は、例えば、以下のように動作することで、このような事態に対応することができる。 In the operation example of this configuration example, it is assumed that a command or a response cannot be normally received through serial communication due to noise or the like. The communication calculation unit 105 and the diagnostic calculation unit 605 can cope with such a situation, for example, by operating as follows.

S101にてコマンド送信をした後、通信演算部105のシリアル通信部170は、診断演算部605のシリアル通信部650からのレスポンスを受信するまで待機する。ここで、一定時間を過ぎても、レスポンスを正常に受信しなかった場合、シリアル通信部170は、S101のコマンドを再送する。ここで、コマンド再送のリトライ回数の上限を予め定めておく。 After transmitting the command in S<b>101 , the serial communication unit 170 of the communication calculation unit 105 waits until receiving a response from the serial communication unit 650 of the diagnostic calculation unit 605 . Here, if the response is not normally received even after a certain period of time, the serial communication unit 170 retransmits the command of S101. Here, the upper limit of the number of retries for command retransmission is determined in advance.

シリアル通信部170は、レスポンスを正常に受信しないうちは、予め定められたリトライ回数上限まで、コマンドの再送を繰り返す。そして、上限まで繰り返しても、正常なレスポンスが得られなかった場合には、シリアル通信部170は、診断演算部605の接続がないと判定する。 As long as the serial communication unit 170 does not receive the response normally, the serial communication unit 170 repeats the retransmission of the command up to the predetermined upper limit of the number of retries. If a normal response is not obtained even after repeating up to the upper limit, the serial communication unit 170 determines that the diagnostic calculation unit 605 is not connected.

この判定に応答して、モード切替部172は、通常動作モードを維持し、データ信号生成部171は、通常の、重畳通信の動作に移行する。 In response to this determination, the mode switching unit 172 maintains the normal operation mode, and the data signal generating unit 171 shifts to normal superimposed communication operation.

この方法によれば、両方の演算部が、スタンバイ状態に移行して、互いに、相手からの通信を待機し合ってこう着状態になることを防止できる。 According to this method, it is possible to prevent a stalemate caused by shifting to a standby state and waiting for communication from each other.

S107にて、モード切替部172が、低消費電力モードに切り替えた後、シリアル通信部170は、通信演算部105がスタンバイ状態に移行したことを通知するコマンドを、シリアル通信部650に送信する。 In S107, after mode switching unit 172 switches to the low power consumption mode, serial communication unit 170 transmits to serial communication unit 650 a command notifying that communication operation unit 105 has transitioned to the standby state.

シリアル通信部650が、上述のコマンドを受信したことに応じて、通信演算部105のスタンバイ状態を確認してから、モード切替部652は、動作モードを、通常モードに切り替える。そして、シリアル通信部650は、診断演算部605がアクティブ状態に移行したことを通知するレスポンスをシリアル通信部170に送信する。 After the serial communication unit 650 confirms the standby state of the communication calculation unit 105 in response to receiving the above command, the mode switching unit 652 switches the operation mode to the normal mode. Serial communication unit 650 then transmits a response to serial communication unit 170 notifying that diagnostic calculation unit 605 has transitioned to the active state.

この方法によれば、各演算部が、互いに、アクティブ状態とスタンバイ状態を通知し合うことができる。これにより、両方の演算部がアクティブ状態に移行してしまうことを防止できる。具体的には、タイムアウトによって、モード切替部652が自動的に通常モードへ移行する構成では、S105にてシリアル通信部650がレスポンスを送信したにもかかわらず、S106にてシリアル通信部170がレスポンスの受信に失敗した場合に、S109にて、モード切替部652が診断演算部605をアクティブ状態に移行させる一方で、S107が実行されずに、通信演算部105でもアクティブ状態が維持される事態に陥る。上述の方法によれば、このような事態を回避し、動作信号の電流波形に乱れが発生することを防止できる。 According to this method, each computing unit can notify each other of the active state and the standby state. As a result, it is possible to prevent both calculation units from transitioning to the active state. Specifically, in a configuration in which the mode switching unit 652 automatically shifts to the normal mode due to timeout, the serial communication unit 170 does not respond in S106 even though the serial communication unit 650 has transmitted a response in S105. , the mode switching unit 652 shifts the diagnostic calculation unit 605 to the active state in S109, while the communication calculation unit 105 is also maintained in the active state without executing S107. Fall. According to the method described above, it is possible to avoid such a situation and prevent the current waveform of the operating signal from being disturbed.

§4 構成例(2)
構成例(2)では、信号処理装置100の通信演算部105と、診断演算部605との間を、シリアル通信を行うためのシリアルバスで接続する。通信演算部105は、診断演算部605とのシリアル通信によって、診断演算部605から診断情報を取得する。通信権は、通信演算部105が常に保持するため、通信権譲受の調停は省略される。通信演算部105は、診断演算部605がスタンバイ状態である期間に信号処理を実施し、診断演算部605から取得した診断情報を含む重畳対象信号を生成し、送出する。
§4 Configuration example (2)
In the configuration example (2), the communication calculation unit 105 of the signal processing device 100 and the diagnostic calculation unit 605 are connected by a serial bus for serial communication. The communication calculation unit 105 acquires diagnostic information from the diagnostic calculation unit 605 through serial communication with the diagnostic calculation unit 605 . Since the communication right is always held by the communication calculation unit 105, the arbitration of transfer of the communication right is omitted. The communication calculation unit 105 performs signal processing while the diagnostic calculation unit 605 is in the standby state, generates a signal to be superimposed including the diagnostic information acquired from the diagnostic calculation unit 605, and sends it out.

図10は、本開示の一側面である構成例(2)に係る信号処理装置100、および、電気機器6の構成を示すブロック図である。 FIG. 10 is a block diagram showing the configuration of the signal processing device 100 and the electric device 6 according to configuration example (2), which is one aspect of the present disclosure.

[信号処理装置100の構成]
本構成例(2)に係る信号処理装置100において、構成例(1)に係る信号処理装置100と異なる点は、OR回路23が省略され、通信演算部105においてモード切替部172省略される点である。
[Configuration of signal processing device 100]
The signal processing apparatus 100 according to the configuration example (2) differs from the signal processing apparatus 100 according to the configuration example (1) in that the OR circuit 23 is omitted and the mode switching section 172 is omitted in the communication calculation section 105. is.

本構成例では、シリアル通信部170は、診断情報の授受を診断演算部605との間で行うために、コマンドまたは診断情報を含むレスポンスなどのシリアルデータをシリアル通信にて送受信する。本構成例では、通信権は、常に通信演算部105によって保持されるため、シリアル通信部170は、通信権の譲受の調停を行わない。 In this configuration example, the serial communication unit 170 transmits/receives serial data such as a command or a response including diagnostic information by serial communication in order to transmit/receive diagnostic information to/from the diagnostic calculation unit 605 . In this configuration example, the communication right is always held by the communication calculation unit 105, so the serial communication unit 170 does not arbitrate the transfer of the communication right.

本構成例では、データ信号生成部171は、信号処理として、第1の情報を取得すること、第2の情報を取得すること、第1の情報および第2の情報を示す重畳対象信号を生成すること、重畳対象信号を重畳回路18に出力することを実行する。 In this configuration example, the data signal generation unit 171 acquires the first information, acquires the second information, and generates a signal to be superimposed indicating the first information and the second information as the signal processing. and outputting the signal to be superimposed to the superimposing circuit 18 .

一例として、データ信号生成部171は、ケーブル情報を情報記憶部140から読み出し、シリアル通信部170が診断演算部605から取得した診断情報を読み出し、ケーブル情報と診断情報とを示す重畳対象信号を生成する。データ信号生成部171は、生成した重畳対象信号を重畳回路18に出力する。これらの信号処理には、比較的多くの電力消費が伴う。したがって、データ信号生成部171の上述の一連の信号処理は、通信演算部105がアクティブ状態であって、診断演算部605がスタンバイ状態のときに実行される。 As an example, the data signal generation unit 171 reads the cable information from the information storage unit 140, reads the diagnostic information acquired by the serial communication unit 170 from the diagnostic calculation unit 605, and generates a signal to be superimposed indicating the cable information and the diagnostic information. do. The data signal generator 171 outputs the generated signal to be superimposed to the superimposing circuit 18 . These signal processes involve relatively high power consumption. Therefore, the above-described series of signal processing by the data signal generation unit 171 is executed when the communication operation unit 105 is in the active state and the diagnostic operation unit 605 is in the standby state.

[電気機器6の構成]
本構成例(2)に係る電気機器6において、構成例(1)に係る電気機器6と異なる点は、データ信号生成部651によって生成された診断情報を示す重畳対象信号は、シリアルデータとしてシリアル通信部650から通信演算部105へ供給される点である。
[Configuration of electrical device 6]
The electric device 6 according to the configuration example (2) is different from the electric device 6 according to the configuration example (1) in that the signal to be superimposed indicating diagnostic information generated by the data signal generation unit 651 is serial data. The point is that it is supplied from the communication unit 650 to the communication calculation unit 105 .

本構成例では、データ信号生成部651は、生成した診断情報を示す重畳対象信号を、シリアル通信部650に渡す。シリアル通信部650は、データ信号生成部651によって生成された重畳対象信号を、シリアル信号として、シリアル通信部170に出力する。 In this configuration example, the data signal generation unit 651 passes the superimposition target signal indicating the generated diagnostic information to the serial communication unit 650 . Serial communication section 650 outputs the signal to be superimposed generated by data signal generation section 651 to serial communication section 170 as a serial signal.

通信演算部105の通常モードにおける信号処理の動作と、診断演算部605の通常モードにおける動作とが同時期に実行されると、消費電力の超過によって、動作信号の電流波形に乱れを生じさせる虞があるが、本構成例では、通信演算部105の通常モードにおける信号処理以外の動作と、診断演算部605の通常モードにおける動作とが同時期に実行されても消費電力の超過は起こらない。そこで、データ信号生成部651の動作は、通信演算部105が信号処理を行っていないアクティブ状態の期間において、診断演算部605がアクティブ状態のときに実行される。 If the signal processing operation in the normal mode of the communication calculation unit 105 and the operation in the normal mode of the diagnostic calculation unit 605 are executed at the same time, there is a possibility that the current waveform of the operation signal may be disturbed due to excessive power consumption. However, in this configuration example, even if operations other than signal processing in the normal mode of the communication operation unit 105 and operations in the normal mode of the diagnostic operation unit 605 are executed at the same time, excess power consumption does not occur. Therefore, the operation of the data signal generation unit 651 is performed when the diagnostic operation unit 605 is in the active state during the active state period in which the communication operation unit 105 does not perform signal processing.

本構成例では、モード切替部652は、シリアル通信部650およびデータ信号生成部651が、診断情報を示す重畳対象信号をシリアル通信で送出するための一連の動作を実行する期間、診断演算部605の動作モードをアクティブ状態にし、それ以外の期間は、スタンバイ状態に切り替える。これにより、通信演算部105がアクティブ状態でかつ信号処理中である期間と、診断演算部605がアクティブ状態である期間とが同時期にならないように制御され、消費電力の超過が回避される。 In this configuration example, the mode switching unit 652 controls the diagnostic calculation unit 605 during a period in which the serial communication unit 650 and the data signal generation unit 651 perform a series of operations for transmitting a superimposition target signal indicating diagnostic information by serial communication. is set to the active state, and is switched to the standby state during the rest of the period. As a result, the period during which the communication calculation unit 105 is active and signal processing is controlled so as not to coincide with the period during which the diagnostic calculation unit 605 is active, thereby avoiding excess power consumption.

図11は、各演算部の動作シーケンスと消費電力量との対応関係を簡略化して示す模式図である。 FIG. 11 is a schematic diagram showing a simplified correspondence relationship between the operation sequence of each computing unit and the amount of power consumption.

信号処理装置100が入出力ユニット52と接続された状態で、入出力ユニット52(または、コントローラ3)の電源が入れられると、入出力ユニット52から供給された電力で、通信演算部105および診断演算部605が起動する。本構成例では、一例として、電源オン時、それ以降、通信演算部105は常に通常モードで駆動する。一方、診断演算部605は、電源オン時、低消費電力モードで起動される。 When the signal processing device 100 is connected to the input/output unit 52 and the power of the input/output unit 52 (or the controller 3) is turned on, the power supplied from the input/output unit 52 is used to operate the communication calculation unit 105 and the diagnostic unit 105. The calculation unit 605 is activated. In this configuration example, as an example, the communication calculation unit 105 is always driven in the normal mode after the power is turned on. On the other hand, the diagnostic calculation unit 605 is activated in the low power consumption mode when the power is turned on.

本構成例では、シリアル通信によって、診断情報を要求するリクエストと、診断情報を提供するレスポンスとがやりとりされる。診断演算部605は、診断情報のリクエストを受けてから、診断情報を提供するレスポンスを返すまでの期間に限りアクティブ状態に移行し、それ以外の期間はスタンバイ状態を維持する。一方、通信演算部105は、常に通信権を保持してアクティブ状態を維持するが、重畳対象信号を生成して重畳回路18に出力する信号処理を、診断演算部605がアクティブ状態のときには実行せず、診断演算部605がスタンバイ状態のときに実行する。 In this configuration example, a request requesting diagnostic information and a response providing diagnostic information are exchanged by serial communication. The diagnostic computation unit 605 shifts to the active state only during the period from when it receives a request for diagnostic information until it returns a response that provides diagnostic information, and maintains the standby state during the rest of the period. On the other hand, the communication calculation unit 105 always holds the communication right and maintains the active state, but the signal processing for generating the signal to be superimposed and outputting it to the superimposition circuit 18 cannot be executed when the diagnostic calculation unit 605 is in the active state. First, it is executed when the diagnostic calculation unit 605 is in the standby state.

こうして、両演算部が同時期に通常モードになることはあっても、通信演算部105が信号処理を実行している期間と、診断演算部605が通常モードで動作する期間とが同時期にならないように制御される。 In this way, even if both calculation units enter the normal mode at the same time, the period during which the communication calculation unit 105 executes signal processing and the period during which the diagnosis calculation unit 605 operates in the normal mode are synchronized. controlled so that it does not occur.

このようにすれば、両演算部がアクティブ状態下にあるときに、さらに、とりわけ消費電力量が多くなる信号処理が、通信演算部105で実行されることが回避される。したがって、動作信号の電流値に悪影響を及ぼすほどに電力の消費が集中することがなくなる。 In this way, it is possible to prevent the communication calculation unit 105 from performing signal processing that consumes a particularly large amount of power when both calculation units are in the active state. Therefore, power consumption is not so concentrated as to adversely affect the current value of the operating signal.

§5 構成例(2)の動作例
図12は、通信システム1に属する信号処理装置100および電気機器6の処理の流れを示すフローチャートである。それぞれの装置の最初の処理ステップ(S201およびS202)は、例えば、信号処理装置100が通信ケーブル51Aを介して接続されているコントローラ3(入出力ユニット52)の電源が投入されることによって開始される。なお、以下で説明する処理手順は一例に過ぎず、各処理は可能な限り変更されてよい。また、以下で説明する処理手順について、実施の形態に応じて、適宜、ステップの省略、置換、及び追加が可能である。
§5 Operation Example of Configuration Example (2) FIG. The first processing steps (S201 and S202) of each device are started, for example, by turning on the power of the controller 3 (input/output unit 52) to which the signal processing device 100 is connected via the communication cable 51A. be. Note that the processing procedure described below is merely an example, and each processing may be changed as much as possible. Further, in the processing procedures described below, steps can be omitted, replaced, and added as appropriate according to the embodiment.

S201では、通信演算部105は、通常モードにて起動する。通信演算部105のシリアル通信部170は、診断演算部605の有無を確認するためのコマンドを送信する。このコマンドは、診断演算部605が存在するかどうかを診断演算部605に問い合わせるメッセージ、および、診断演算部605に診断情報の送信を要求するメッセージとして、診断演算部605のシリアル通信部650において解釈される。 In S201, the communication calculation unit 105 starts up in normal mode. Serial communication unit 170 of communication calculation unit 105 transmits a command for confirming the presence or absence of diagnostic calculation unit 605 . This command is interpreted by the serial communication unit 650 of the diagnostic computation unit 605 as a message to inquire of the diagnostic computation unit 605 as to whether the diagnostic computation unit 605 exists and a message to request the diagnostic computation unit 605 to transmit diagnostic information. be done.

S202では、診断演算部605は、低消費電力モードにて起動する。シリアル通信部650は、SPIの通信ポートを監視し、通信演算部105から送られてくるコマンドを待つ。 In S202, the diagnostic calculation unit 605 is activated in the low power consumption mode. The serial communication unit 650 monitors the SPI communication port and waits for a command sent from the communication calculation unit 105 .

S203では、コマンドが診断演算部605の通信ポートを介して入力されると、シリアル通信部650は、コマンドが受信されたことを検知し、S203のYESからS204に進む。 In S203, when a command is input via the communication port of diagnostic calculation unit 605, serial communication unit 650 detects that the command has been received, and proceeds from YES in S203 to S204.

S204では、シリアル通信部650は、受信したコマンドに基づいて、通信演算部105の存在を認識する。 In S204, serial communication unit 650 recognizes the existence of communication operation unit 105 based on the received command.

S205では、モード切替部652は、上述のコマンドが受信されたことに応答して、診断演算部605の動作モードを、低消費電力モードから通常モードに切り替える。 In S205, the mode switching unit 652 switches the operation mode of the diagnostic calculation unit 605 from the low power consumption mode to the normal mode in response to receiving the above command.

S206では、データ信号生成部651は、診断情報を生成し、診断情報を示す重畳対象信号をシリアル通信部650に渡す。 In S<b>206 , the data signal generation unit 651 generates diagnostic information and passes the superimposition target signal indicating the diagnostic information to the serial communication unit 650 .

S207では、シリアル通信部650は、診断情報を示す重畳対象信号を含むシリアル信号を、レスポンスとしてシリアルバスを介して返信する。このレスポンスは、診断演算部605が存在するとの返事、および、診断情報それ自体として、通信演算部105のシリアル通信部170において解釈される。 In S207, the serial communication unit 650 returns a serial signal including a signal to be superimposed indicating diagnostic information as a response via the serial bus. This response is interpreted by the serial communication unit 170 of the communication calculation unit 105 as a reply that the diagnostic calculation unit 605 exists and as the diagnostic information itself.

S208では、シリアル通信部650は、診断情報を示す重畳対象信号を最後まで送出できたか否かを判定する。シリアル通信部650は、判定の結果、送信の完了を確認したら、S208のYESからS209に進む。 In S208, the serial communication unit 650 determines whether or not the signal to be superimposed indicating diagnostic information has been transmitted to the end. As a result of the determination, the serial communication unit 650 advances from YES in S208 to S209 when the completion of transmission is confirmed.

S209では、上述のレスポンスが送信されたことに応じて、モード切替部652は、診断演算部605の動作モードを、通常モードから低消費電力モードに切り替える。シリアル通信部650は、シリアル通信の通信ポートの監視を継続する。 In S209, the mode switching unit 652 switches the operation mode of the diagnostic calculation unit 605 from the normal mode to the low power consumption mode in response to the transmission of the above response. The serial communication unit 650 continues monitoring the communication port for serial communication.

S210では、シリアル通信部170は、受信したレスポンスに基づいて、診断演算部605の存在を認識し、診断情報の受信を開始する。 In S210, the serial communication unit 170 recognizes the presence of the diagnostic calculation unit 605 based on the received response, and starts receiving diagnostic information.

S211では、シリアル通信部170は、診断情報を示すシリアル信号を最後まで受信できたか否かを判定する。シリアル通信部170は、判定の結果、受信の完了を確認したら、S211のYESからS212に進む。 In S211, the serial communication unit 170 determines whether or not the serial signal indicating diagnostic information has been received to the end. As a result of the determination, the serial communication unit 170 advances from YES in S211 to S212 when the completion of reception is confirmed.

S212では、データ信号生成部171は、重畳対象信号を生成し、送信するための信号処理を開始する。具体的には、データ信号生成部171は、ケーブル情報を情報記憶部140から読み出す。データ信号生成部171は、シリアル通信部170が受信した診断情報を取得する。データ信号生成部171は、取得したケーブル情報および診断情報を示す重畳対象信号を生成して、これを重畳回路18に送信する。データ信号生成部171は、さらに、機器情報を含む重畳対象信号を生成してもよい。 In S212, the data signal generator 171 generates a signal to be superimposed and starts signal processing for transmission. Specifically, the data signal generator 171 reads the cable information from the information storage 140 . The data signal generation unit 171 acquires diagnostic information received by the serial communication unit 170 . The data signal generator 171 generates a signal to be superimposed indicating the acquired cable information and diagnostic information, and transmits this to the superimposing circuit 18 . The data signal generator 171 may further generate a superimposition target signal including device information.

S213では、重畳回路18は、データ信号生成部171(通信演算部105)由来の第1の重畳対象信号を、動作信号に重畳させて、重畳信号を生成する。重畳回路18は、通信ケーブル51Aを介して、生成した重畳信号をマスタモジュール52Aに送信する。 In S213, the superimposition circuit 18 superimposes the first signal to be superimposed derived from the data signal generator 171 (communication arithmetic unit 105) on the operation signal to generate a superimposed signal. The superimposing circuit 18 transmits the generated superimposed signal to the master module 52A via the communication cable 51A.

S214では、シリアル通信部170は、例えば、所定の時間が経過したことなどにより、診断演算部605から最新の診断情報を取得すべきか否かを判断する。シリアル通信部170は、S213で前の診断情報を含む重畳信号が上流にフィードバックされた時から所定の時間が経過すると、S214のYESからS215に進む。 In S214, the serial communication unit 170 determines whether or not the latest diagnostic information should be acquired from the diagnostic calculation unit 605, for example, because a predetermined time has passed. When a predetermined time has elapsed since the superimposed signal including the previous diagnostic information was fed back upstream in S213, the serial communication unit 170 advances from YES in S214 to S215.

S215では、シリアル通信部170は、診断情報を要求するコマンドをシリアル通信部650に送信する。その後、通信演算部105は、S210に戻り、以降の処理を繰り返す。 In S<b>215 , serial communication unit 170 transmits a command requesting diagnostic information to serial communication unit 650 . After that, the communication calculation unit 105 returns to S210 and repeats the subsequent processes.

S216では、コマンドが診断演算部605の通信ポートを介して入力されると、シリアル通信部650は、コマンドが受信されたことを検知し、S216のYESからS217に進む。 In S216, when a command is input through the communication port of diagnostic calculation unit 605, serial communication unit 650 detects that the command has been received, and proceeds from YES in S216 to S217.

S217では、モード切替部652は、上述のコマンドが受信されたことに応答して、診断演算部605の動作モードを、低消費電力モードから通常モードに切り替える。その後、診断演算部605は、S206に戻り、以降の処理を繰り返す。こうして、定期的に、診断情報が、上流(入出力ユニット52およびコントローラ3)へフィードバックされる。 In S217, mode switching unit 652 switches the operation mode of diagnostic calculation unit 605 from the low power consumption mode to the normal mode in response to the above-described command being received. After that, the diagnostic calculation unit 605 returns to S206 and repeats the subsequent processes. In this way, diagnostic information is periodically fed back upstream (input/output unit 52 and controller 3).

上述の構成および方法によれば、通信演算部105がとりわけ消費電力量が多くなる信号処理を実行する期間と、診断演算部605がアクティブ状態にある期間とが同時期になることが回避される。したがって、動作信号の電流値に悪影響を及ぼすほどに電力の消費が集中することがなくなる。結果として、動作信号の乱れを生じさせることなく、通信演算部105および診断演算部605のそれぞれを、診断情報のフィードバックのために動作させることができる。結果として、上流のコントローラ3は、電気機器6の情報を収集して分析することができるようになるので、通信システム1の信頼性を高めることができる。 According to the above-described configuration and method, it is avoided that the period in which the communication calculation unit 105 executes signal processing that consumes a particularly large amount of power and the period in which the diagnosis calculation unit 605 is in the active state coincide with each other. . Therefore, power consumption is not so concentrated as to adversely affect the current value of the operating signal. As a result, each of the communication calculation unit 105 and the diagnostic calculation unit 605 can be operated for feedback of diagnostic information without causing disturbance of the operation signal. As a result, the upstream controller 3 can collect and analyze the information of the electric equipment 6, so that the reliability of the communication system 1 can be improved.

§6 構成例(3)
構成例(3)では、信号処理装置100の通信演算部105と、診断演算部605との間を、2線ハンドシェイクによる通信を行う信号線で接続する。通信演算部105は、診断演算部605との2線ハンドシェイクによって通信権の譲受を調停する。調停にしたがって、通信演算部105は、診断演算部605がスタンバイ状態である期間に信号処理を実施し、診断演算部605は、通信演算部105がスタンバイ状態である期間に信号処理を実施する。
§6 Configuration example (3)
In the configuration example (3), the communication calculation unit 105 of the signal processing device 100 and the diagnostic calculation unit 605 are connected by a signal line that performs communication by two-wire handshake. The communication calculation unit 105 mediates transfer of the communication right by two-wire handshake with the diagnostic calculation unit 605 . According to the arbitration, the communication calculation unit 105 performs signal processing while the diagnostic calculation unit 605 is in the standby state, and the diagnostic calculation unit 605 performs signal processing while the communication calculation unit 105 is in the standby state.

本構成例では、シリアル通信では所定の情報の送受信を行わず、通信権の譲受の調停のみを行う。そのため、シリアルバスを2線で構成し、通信権の譲受の調停をハンドシェイクで実現することができる。2線ハンドシェイクには、演算部に標準的に備わっている汎用入出力ポートを使用することが可能である。 In this configuration example, transmission/reception of predetermined information is not performed in serial communication, and only arbitration of transfer of communication rights is performed. Therefore, the serial bus can be configured with two lines, and arbitration for transfer of the communication right can be realized by handshaking. For the two-wire handshake, it is possible to use a general-purpose input/output port that is normally provided in the arithmetic unit.

図13は、本開示の一側面である構成例(3)に係る信号処理装置100、および、電気機器6の構成を示すブロック図である。同図に示す、入出力ユニット52のマスタモジュール52Aは、前記した構成例(1)で示した構成と同様である。 FIG. 13 is a block diagram showing the configuration of the signal processing device 100 and the electric device 6 according to configuration example (3), which is one aspect of the present disclosure. The master module 52A of the input/output unit 52 shown in FIG.

信号処理装置100において、通信演算部105は、シリアル通信部170に代えて、ハンドシェイク通信部174(以下、HS通信部174)を備えている。また、電気機器6において、診断演算部605は、シリアル通信部650に代えて、ハンドシェイク通信部653(以下、HS通信部653)を備えている。 In signal processing apparatus 100 , communication calculation section 105 includes handshake communication section 174 (hereinafter referred to as HS communication section 174 ) in place of serial communication section 170 . In addition, in the electric device 6 , the diagnostic calculation unit 605 includes a handshake communication unit 653 (hereinafter referred to as HS communication unit 653 ) in place of the serial communication unit 650 .

図14は、HS通信部174およびHS通信部653の回路例を示している。同図に示すように、HS通信部174およびHS通信部653は、LowレベルとHighレベルとの間で変動するオンオフ信号を送受信することが可能な回路構成となっている。同図に示す例では、REQで示すオンオフ信号(REQ信号)が流れる信号線において、通信演算部105側が電位を切り替えており、ACKで示すオンオフ信号(ACK信号)が流れる信号線において、診断演算部605側が電位を切り替えている。 FIG. 14 shows circuit examples of the HS communication unit 174 and the HS communication unit 653 . As shown in the figure, the HS communication section 174 and the HS communication section 653 have a circuit configuration capable of transmitting and receiving on/off signals that fluctuate between Low level and High level. In the example shown in the figure, in the signal line through which the on/off signal (REQ signal) indicated by REQ flows, the communication calculation unit 105 side switches the potential, and in the signal line through which the on/off signal (ACK signal) indicated by ACK flows, diagnostic calculation is performed. The part 605 side switches the potential.

図14に示すような構成のHS通信部174およびHS通信部653は、例えばMPUが備える汎用入出力ポートによって実現することができる。よって、シリアル通信ポートを有さないローコストなMPUであっても、上記のような構成の通信演算部105および診断演算部605を実現することができる。 The HS communication unit 174 and the HS communication unit 653 configured as shown in FIG. 14 can be implemented by general-purpose input/output ports provided in the MPU, for example. Therefore, even a low-cost MPU that does not have a serial communication port can realize the communication calculation section 105 and the diagnostic calculation section 605 configured as described above.

図15は、REQ信号、ACK信号、および、通信権の時間変化の例を示している。通信演算部105は、通信権を診断演算部605に移譲するタイミングで、REQ信号をLowレベルに切り替える。診断演算部605は、REQ信号がLowレベルになったことを検知すると、通信権の受け入れが可能であることを示すためにACK信号をLowレベルに切り替える。 FIG. 15 shows an example of temporal changes in the REQ signal, ACK signal, and communication rights. The communication calculation unit 105 switches the REQ signal to Low level at the timing of transferring the communication right to the diagnosis calculation unit 605 . When the diagnostic calculation unit 605 detects that the REQ signal has become Low level, it switches the ACK signal to Low level to indicate that the communication right can be accepted.

通信演算部105は、ACK信号がLowレベルになったことを検知することによって、診断演算部605が通信権の受け入れが可能であることを確認し、通信権の移譲の確定を通知するためにREQ信号をHighレベルに切り替える。診断演算部605は、REQ信号がHighレベルになったことを検知すると、ACK信号をHighレベルに切り替えるとともに、通信権が自身に移譲されたことを認識して通信を開始する。 By detecting that the ACK signal has become Low level, the communication calculation unit 105 confirms that the diagnostic calculation unit 605 can accept the communication right, and notifies the determination of the transfer of the communication right. Switch the REQ signal to High level. When the diagnostic calculation unit 605 detects that the REQ signal has become High level, it switches the ACK signal to High level, recognizes that the communication right has been transferred to itself, and starts communication.

その後、通信演算部105は、通信権を診断演算部605から移譲してもらうべきタイミングで、REQ信号をLowレベルに切り替える。診断演算部605は、REQ信号がLowレベルになったことを検知すると、通信権の返還が可能であることを示すためにACK信号をLowレベルに切り替える。 After that, the communication calculation unit 105 switches the REQ signal to Low level at the timing when the communication right should be transferred from the diagnosis calculation unit 605 . When the diagnostic calculation unit 605 detects that the REQ signal has become Low level, it switches the ACK signal to Low level to indicate that the communication right can be returned.

通信演算部105は、ACK信号がLowレベルになったことを検知することによって、診断演算部605が通信権の返還が可能であることを確認し、通信権の返還の確定を通知するためにREQ信号をHighレベルに切り替えるとともに、通信権が自身に返還されたことを認識して通信を開始する。診断演算部605は、REQ信号がHighレベルになったことを検知すると、ACK信号をHighレベルに切り替えるとともに、通信権が通信演算部105に返還されたことを認識する。 By detecting that the ACK signal has become Low level, the communication calculation unit 105 confirms that the communication right can be returned by the diagnostic calculation unit 605, and notifies the determination of the return of the communication right. While switching the REQ signal to High level, it recognizes that the communication right has been returned to itself and starts communication. When the diagnostic calculation unit 605 detects that the REQ signal has become High level, it switches the ACK signal to High level and recognizes that the communication right has been returned to the communication calculation unit 105 .

以上のような2線によるハンドシェイク通信が通信演算部105と診断演算部605との間で行われることによって、通信権の譲受を確実に行うことができる。 By performing handshake communication between the communication calculation unit 105 and the diagnosis calculation unit 605 using the two lines as described above, it is possible to reliably transfer the communication right.

§7 変形例
[構成例(2)-1]
図16は、構成例(2)に係る信号処理装置100の他の構成例を示すブロック図である。本構成例(2)-1では、通信演算部105は、シリアル通信部170を備えず、代わりに、ADC173を備える。本構成例では、電気機器6は、診断情報としてアナログ信号を出力するように構成された動作素子13を備える。すなわち、本構成例では、動作素子13は、アナログ信号である診断情報を出力するものとして診断回路の役割を果たす。
§7 Modification [Configuration example (2)-1]
FIG. 16 is a block diagram showing another configuration example of the signal processing device 100 according to configuration example (2). In this configuration example (2)-1, the communication calculation unit 105 does not include the serial communication unit 170, but includes an ADC 173 instead. In this configuration example, the electrical device 6 comprises an operating element 13 configured to output an analog signal as diagnostic information. That is, in this configuration example, the operating element 13 plays a role of a diagnostic circuit by outputting diagnostic information in the form of an analog signal.

通信演算部105のADC173は、動作素子13から出力されたアナログ信号を、データ信号生成部171が処理可能なデジタル信号に変換する。データ信号生成部171は、デジタル信号に変換された診断情報を示す重畳対象信号を生成し、重畳回路18に出力する。 The ADC 173 of the communication calculation unit 105 converts the analog signal output from the operating element 13 into a digital signal that can be processed by the data signal generation unit 171 . The data signal generator 171 generates a signal to be superimposed indicating the diagnostic information converted into a digital signal, and outputs the signal to the superimposition circuit 18 .

上述の構成では、ADC173がアナログ信号を取り込んで変換処理を行うときに、消費電流の増加が起こり得る。したがって、本構成例では、ADC173がアナログ信号を処理するときのADC動作と、データ信号生成部171が重畳回路18を制御して重畳信号を上流に送信するときの重畳信号通信動作とが、同時に実施されないように、これらの動作の実施タイミングを、通信演算部105が制御する。 In the above configuration, current consumption may increase when the ADC 173 takes in an analog signal and performs conversion processing. Therefore, in this configuration example, the ADC operation when the ADC 173 processes the analog signal and the superimposed signal communication operation when the data signal generation unit 171 controls the superimposition circuit 18 and transmits the superimposed signal upstream are performed simultaneously. The communication calculation unit 105 controls the execution timing of these operations so that they are not executed.

具体的には、本構成例では、通信演算部105は、図示しない内蔵タイマにおいて予め定めておいた一定時間ごとに、所定の期間だけADC173を起動し、アナログ信号を処理させる。すなわち、通信演算部105は、重畳回路18による重畳信号通信動作と、ADC173によるADC動作とが交互に実施されるように各部を制御する。 Specifically, in this configuration example, the communication calculation unit 105 activates the ADC 173 for a predetermined period at regular intervals determined in advance by a built-in timer (not shown) to process the analog signal. That is, the communication calculation unit 105 controls each unit so that the superimposed signal communication operation by the superimposition circuit 18 and the ADC operation by the ADC 173 are alternately performed.

図17は、通信演算部105の各部および重畳回路18の動作シーケンスと消費電力量との対応関係を簡略化して示す模式図である。 FIG. 17 is a schematic diagram showing a simplified correspondence relationship between the operation sequence of each unit of the communication calculation unit 105 and the superimposition circuit 18 and the power consumption.

本構成例では、電源オン時、通信演算部105は、第1の所定期間、データ信号生成部171を動作させる一方で、ADC173を停止させる。この第1の所定期間の間は、データ信号生成部171は、重畳対象信号を重畳回路18に出力する出力動作を行う、これと同時に、重畳回路18は、データ信号生成部171から受信した重畳対象信号を動作信号に重畳させて重畳信号を上流に送信する重畳信号通信動作を行う。一方、第1の所定期間の間、ADC173は動作しない。したがって、動作信号の電流波形が影響を受けるような消費電力の超過は起こらない。 In this configuration example, when the power is turned on, the communication calculation unit 105 causes the data signal generation unit 171 to operate for a first predetermined period, while stopping the ADC 173 . During this first predetermined period, the data signal generator 171 performs an output operation of outputting the signal to be superimposed to the superimposing circuit 18 . A superimposed signal communication operation is performed in which the target signal is superimposed on the operation signal and the superimposed signal is transmitted upstream. On the other hand, the ADC 173 does not operate during the first predetermined period. Therefore, excess power consumption that affects the current waveform of the operating signal does not occur.

次に、第1の所定期間が経過すると、通信演算部105は、第2の所定期間、データ信号生成部171の出力動作および重畳回路18の重畳信号通信動作を停止させ、ADC173を起動して、ADC173にADC動作を実施させる。ADC動作は、一例として、アナログ信号を取り込み、デジタル信号へと変換し、該デジタル信号をデータ信号生成部171へ渡す動作を含む。第2の所定期間の間、通信演算部105は、データ信号生成部171に重畳対象信号を生成する生成動作を実施させてもよい。生成動作は、一例として、ADC173から受信したデジタル信号に基づいて重畳対象信号を作成したり、デジタル信号に基づいて、正常/異常を診断して、その診断結果を重畳対象信号に含めたりする動作を含む。この生成動作に伴う消費電力量は、比較的少ないため、生成動作がADC動作と同時期に実施されても、動作信号の電流波形が影響を受けるような消費電力の超過は起こらない。 Next, after the first predetermined period has passed, the communication operation unit 105 stops the output operation of the data signal generation unit 171 and the superimposition signal communication operation of the superimposition circuit 18 for the second predetermined period, and activates the ADC 173. , causing the ADC 173 to perform the ADC operation. The ADC operation includes, for example, an operation of capturing an analog signal, converting it into a digital signal, and passing the digital signal to the data signal generator 171 . During the second predetermined period, the communication calculation section 105 may cause the data signal generation section 171 to perform the generation operation of generating the signal to be superimposed. The generation operation is, for example, an operation of creating a signal to be superimposed based on the digital signal received from the ADC 173, diagnosing normality/abnormality based on the digital signal, and including the diagnosis result in the signal to be superimposed. including. Since the amount of power consumption associated with this generation operation is relatively small, even if the generation operation is performed at the same time as the ADC operation, excess power consumption that affects the current waveform of the operation signal does not occur.

次に、第2の所定期間が経過すると、通信演算部105は、ADC173を停止させる。それから、通信演算部105は、再び、データ信号生成部171に出力動作を実施させる。これに伴って、重畳回路18による重畳信号通信動作も実施される。出力動作および重畳信号通信動作は、ADC173が停止した時点以降に再開されるため、動作信号の電流波形が影響を受けるような消費電力の超過は起こらない。 Next, after the second predetermined period of time has elapsed, the communication calculation unit 105 stops the ADC 173 . Then, communication operation section 105 causes data signal generation section 171 to perform the output operation again. Along with this, a superimposed signal communication operation is also performed by the superimposing circuit 18 . Since the output operation and the superimposed signal communication operation are restarted after the ADC 173 stops, excess power consumption that affects the current waveform of the operation signal does not occur.

以上のとおり、通信演算部105が、診断情報として、動作素子13からアナログ信号を取り込む構成においても、動作信号の電流波形が影響を受けるような消費電力の超過を回避することが可能となる。 As described above, even in a configuration in which the communication operation unit 105 acquires an analog signal from the operating element 13 as diagnostic information, it is possible to avoid excessive power consumption that affects the current waveform of the operating signal.

[構成例(2)-2]
図18は、構成例(2)に係る信号処理装置100の他の構成例を示すブロック図である。本構成例(2)-2では、診断演算部605は、電気機器6とは別体のセンサ機器75に内蔵されている。センサ機器75は、例えば、加速度センサである。
[Configuration example (2)-2]
FIG. 18 is a block diagram showing another configuration example of the signal processing device 100 according to configuration example (2). In this configuration example (2)-2, the diagnostic calculation unit 605 is built in the sensor device 75 that is separate from the electrical device 6 . The sensor device 75 is, for example, an acceleration sensor.

図6に示すように、電気機器6は、例えばリミットスイッチである。リミットスイッチは、製造現場に設置されたコンベアなどの搬送機構の駆動系80によって搬送されてくるワーク81の位置検出を行う。 As shown in FIG. 6, the electrical device 6 is, for example, a limit switch. The limit switch detects the position of a workpiece 81 transported by a drive system 80 of a transport mechanism such as a conveyor installed at a manufacturing site.

駆動系80によって搬送されてきたワーク81がリミットスイッチに当たることにより、動作素子13が「オン」を検知する。センサ機器75としての加速度センサは、このオンの時に、ワーク81がリミットスイッチに当たるときの衝撃を検知する。 When the work 81 conveyed by the drive system 80 hits the limit switch, the operating element 13 detects "ON". The acceleration sensor as the sensor device 75 detects an impact when the workpiece 81 hits the limit switch when it is turned on.

加速度センサに内蔵された診断演算部605は、予め、正常動作時の衝撃に係る正常時検出値を把握している。データ信号生成部651は、正常時検出値からはずれる衝撃がセンサ機器75によって検知された場合に、異常と判定することができる。データ信号生成部651は、異常の判定結果およびその時に検出された衝撃の検出値の少なくもいずれか一方を含む診断情報を生成する。シリアル通信部650は、生成された診断情報を示す重畳対象信号をシリアル信号として通信演算部105のシリアル通信部170に送信する。 A diagnostic calculation unit 605 incorporated in the acceleration sensor previously grasps a normal detection value related to the impact during normal operation. The data signal generation unit 651 can determine that there is an abnormality when the sensor device 75 detects an impact that deviates from the normal detection value. The data signal generation unit 651 generates diagnostic information including at least one of the determination result of abnormality and the detection value of the impact detected at that time. The serial communication unit 650 transmits the superimposition target signal indicating the generated diagnostic information to the serial communication unit 170 of the communication calculation unit 105 as a serial signal.

データ信号生成部171は、診断情報を示す重畳対象信号を重畳回路18に出力する。これにより、重畳回路18から診断情報を含む重畳信号がコントローラ3にフィードバックされる。 The data signal generator 171 outputs a signal to be superimposed indicating diagnostic information to the superimposing circuit 18 . As a result, a superimposed signal including diagnostic information is fed back from the superimposing circuit 18 to the controller 3 .

上述の診断情報を取得したコントローラ3は、診断情報を分析することにより、例えば、ワーク81を搬送している駆動系80の異常、または、リミットスイッチのアクチュエータ部分の故障などが発生していることを認識することができる。結果として、通信システム1の信頼性を高めることができるという効果を奏する。 By analyzing the diagnostic information, the controller 3 that has acquired the diagnostic information described above detects, for example, an abnormality in the drive system 80 that conveys the workpiece 81 or a failure in the actuator portion of the limit switch. can be recognized. As a result, there is an effect that the reliability of the communication system 1 can be improved.

[構成例(2)-3]
図19は、構成例(2)に係る信号処理装置100の他の構成例を示すブロック図である。センサ機器75は、構成例(2)-2と同様に加速度センサである。本構成例(2)-3では、診断演算部605を内蔵するセンサ機器75は、電気機器6に内蔵されている。このような構成によっても、構成例(2)-2と同様の効果が得られる。
[Configuration example (2)-3]
FIG. 19 is a block diagram showing another configuration example of the signal processing device 100 according to configuration example (2). The sensor device 75 is an acceleration sensor as in the configuration example (2)-2. In this configuration example (2)-3, the sensor device 75 incorporating the diagnostic calculation unit 605 is incorporated in the electric device 6 . Such a configuration can also provide the same effect as the configuration example (2)-2.

[構成例(2)-4]
図20は、構成例(2)に係る信号処理装置100の他の構成例を示すブロック図である。図示のとおり、診断演算部605は、信号処理装置100に内蔵されていてもよい。また、図示のとおり、診断演算部605は、電気機器6の機器内蔵診断回路19A、電気機器6外部の外部診断回路19B、および、信号処理装置100の装置内蔵診断回路19Cのいずれかとして、複数設けられていてもよい。こうして、通信演算部105と、複数の診断演算部605とを合わせて3つ以上の演算部の電力が降圧回路16から賄われる場合には、通信演算部105と複数の診断演算部605とが通信権の譲受をシリアル通信で調停して、信号処理が順に行われるように制御する。
[Configuration example (2)-4]
FIG. 20 is a block diagram showing another configuration example of the signal processing device 100 according to configuration example (2). As illustrated, the diagnostic computation unit 605 may be built into the signal processing device 100 . Further, as shown in the figure, the diagnostic calculation unit 605 has a plurality of diagnostic circuits 19A built into the electric device 6, an external diagnostic circuit 19B outside the electric device 6, and a built-in diagnostic circuit 19C of the signal processing device 100. may be provided. In this way, when power for three or more calculation units, including the communication calculation unit 105 and the plurality of diagnostic calculation units 605, is covered by the step-down circuit 16, the communication calculation unit 105 and the plurality of diagnostic calculation units 605 The transfer of the communication right is arbitrated by serial communication and controlled so that the signal processing is performed in order.

また、各診断回路19(19A~19B)は、それぞれ、診断情報をアナログ信号で出力するアナログ信号出力部654を有していてもよい。例えば、アナログ信号出力部654は、図16において動作素子13として示した回路例のように構成される。 Further, each diagnostic circuit 19 (19A to 19B) may have an analog signal output section 654 for outputting diagnostic information as an analog signal. For example, the analog signal output unit 654 is configured like the circuit example shown as the operation element 13 in FIG.

例えば、通信システム1において、機器内蔵診断回路19Aの診断演算部605(以下、診断演算部605A)、外部診断回路19Bの診断演算部605(以下、診断演算部605B)、および、装置内蔵診断回路19Cの診断演算部605(以下、診断演算部605C)の3つの診断演算部605が設けられている場合、通信演算部105と3つの診断演算部605との間では、一例として、以下のようにして、通信権の譲受が実現する。 For example, in the communication system 1, the diagnostic calculation unit 605 of the device built-in diagnostic circuit 19A (hereinafter referred to as diagnostic calculation unit 605A), the diagnostic calculation unit 605 of the external diagnostic circuit 19B (hereinafter referred to as diagnostic calculation unit 605B), and the device built-in diagnostic circuit 19C diagnostic calculation unit 605 (hereinafter referred to as diagnostic calculation unit 605C) is provided, as an example, between the communication calculation unit 105 and the three diagnostic calculation units 605, as follows: Then, transfer of communication rights is realized.

まず、通信演算部105と、診断演算部605A~Cとの間は、下り転送信号線と、上り転送信号線とを介して、通信可能に結線される。下り転送信号線とは、通信演算部105のシリアル通信部170から診断演算部605A~Cの各シリアル通信部650へシリアル信号を送信するための信号線である。上り転送信号線とは、各シリアル通信部650からシリアル通信部170へシリアル信号を送信するための信号線である。 First, the communication calculation unit 105 and the diagnostic calculation units 605A to 605C are communicably connected via a downstream transfer signal line and an upstream transfer signal line. A downstream transfer signal line is a signal line for transmitting a serial signal from the serial communication unit 170 of the communication calculation unit 105 to each of the serial communication units 650 of the diagnostic calculation units 605A to 605C. The upstream transfer signal line is a signal line for transmitting a serial signal from each serial communication section 650 to the serial communication section 170 .

通信演算部105と、各診断演算部605A~Cとは、下り転送信号線を介して1対多で接続される。下り転送信号線は、通信演算部105から各診断演算部605A~Cへのコマンドを発行するために用いられる。 The communication calculation unit 105 and each diagnostic calculation unit 605A to 605C are connected in a one-to-many manner via downstream transfer signal lines. The downstream transfer signal line is used to issue a command from the communication calculation unit 105 to each diagnostic calculation unit 605A-C.

なお、通信演算部105が発行するコマンドには、診断演算部605A~Cのいずれかを指定する識別子が含まれている。識別子はあらかじめ定められている。例えば、診断演算部605Aは「1」、診断演算部605Bは「2」、診断演算部605Cは「3」などと定められている。コマンドに含まれている識別子を見ることで、該コマンドがどの診断演算部605に宛てたものであるのかを、各診断演算部605は判別することができる。 The command issued by the communication calculation unit 105 includes an identifier designating one of the diagnostic calculation units 605A to 605C. Identifiers are predetermined. For example, the diagnostic calculation unit 605A is defined as "1", the diagnostic calculation unit 605B as "2", and the diagnostic calculation unit 605C as "3". By looking at the identifier included in the command, each diagnostic computation unit 605 can determine which diagnostic computation unit 605 the command is addressed to.

通信演算部105と、各診断演算部605A~Cとは、上り転送信号線を介して1対多で接続される。上り転送信号線は、各診断演算部605A~Cから通信演算部105へレスポンスを発行するために用いられる。 The communication calculation unit 105 and the diagnostic calculation units 605A to 605C are connected in a one-to-many manner via upstream transfer signal lines. The upstream transfer signal line is used to issue a response from each diagnostic calculation unit 605A to 605C to the communication calculation unit 105. FIG.

なお、各診断演算部605A~Cが発行するレスポンスにも、発行元の診断演算部605を示す識別子が含まれていてもよい。これにより、通信演算部105は受信したレスポンスがどの診断演算部605によって発行されたのかを判別することができる。 The response issued by each of the diagnostic computation units 605A to 605C may also include an identifier indicating the diagnostic computation unit 605 that issued the response. Thereby, the communication calculation unit 105 can determine which diagnosis calculation unit 605 issued the received response.

図21は、通信演算部105および各診断演算部605A~Cの動作シーケンスを示す図である。同図は、各演算部の間における通信権を遷り変わりも示す。 FIG. 21 is a diagram showing the operation sequence of communication calculation section 105 and diagnostic calculation sections 605A to 605C. The figure also shows the transition of communication rights between the respective calculation units.

まず、通信権をにぎっている通信演算部105は、通信権の移譲先である診断演算部605Aを宛て先として通信権を移譲する旨のコマンドを発行する。コマンドには、診断演算部605Aを指定する識別子「1」が含まれている。 First, the communication calculation unit 105, which holds the communication right, issues a command to transfer the communication right to the diagnostic calculation unit 605A to which the communication right is transferred. The command includes an identifier "1" that designates diagnostic computation unit 605A.

診断演算部605Aは、自分宛てのコマンドを受領し、通信権を獲得する。その他の診断演算部605Bおよび605Cは、識別子によって上述のコマンドが自分宛てではないと判別し、該コマンドを無視する。すなわち、診断演算部605Bおよび605Cは、通信権を獲得せず、スタンバイ状態を維持する。 Diagnosis calculation unit 605A receives a command addressed to itself and acquires the communication right. Other diagnostic calculation units 605B and 605C determine from the identifier that the above command is not addressed to them, and ignore the command. That is, diagnostic calculation units 605B and 605C do not acquire the communication right and maintain the standby state.

診断演算部605Aは、アクティブ状態に切り替えて、送信動作を実施する。アクティブ状態のときに診断演算部605が実施する送信動作は、例えば、図9に示すS109~S111、あるいは、図12に示すS205~S208に対応する。 The diagnostic computation unit 605A switches to the active state and performs the transmission operation. The transmission operation performed by the diagnostic calculation unit 605 in the active state corresponds to S109 to S111 shown in FIG. 9 or S205 to S208 shown in FIG. 12, for example.

送信動作が完了すると、診断演算部605Aは、通信権を放棄する旨のレスポンスを通信演算部105宛てに発行する。そして、診断演算部605Aは、自身の状態をアクティブ状態からスタンバイ状態に切り替える。 When the transmission operation is completed, diagnostic calculation unit 605A issues a response to communication calculation unit 105 to the effect that the communication right is abandoned. Then, the diagnostic calculation unit 605A switches its own state from the active state to the standby state.

通信演算部105は、診断演算部605Aから通信権放棄のレスポンスを受領すると、再び通信権を獲得し、次に、診断演算部605B宛てに、通信権を移譲するコマンドを発行する。 Upon receiving the communication right abandonment response from diagnostic computation unit 605A, communication computation unit 105 acquires the communication right again, and then issues a command to transfer the communication right to diagnostic computation unit 605B.

以降は、通信権の移譲先が診断演算部605Aではなく診断演算部605Bであることを除いては、上述の説明と同様に、通信権の移譲、送信動作、および、通信権の返還の一連の処理が実施される。 After that, the transfer of the communication right, the transmission operation, and the return of the communication right are performed in the same manner as described above, except that the transferee of the communication right is not the diagnostic calculation unit 605A but the diagnosis calculation unit 605B. is performed.

上述の構成および方法によれば、通信演算部105と各診断演算部605との間で、通信権の譲受に関わる調停が行われるので、複数の診断演算部605によって同時に送信動作が実施されることがなくなる。したがって、通信システム1に診断演算部605が複数個設けられているような場合でも、動作信号の電流波形が影響を受けるような消費電力の超過を回避することが可能となる。 According to the configuration and method described above, arbitration relating to transfer of the communication right is performed between the communication calculation unit 105 and each diagnostic calculation unit 605, so that a plurality of diagnostic calculation units 605 simultaneously perform transmission operations. will disappear. Therefore, even if the communication system 1 is provided with a plurality of diagnostic calculation units 605, it is possible to avoid excessive power consumption that affects the current waveform of the operating signal.

なお、図21に示す、通信権に係る調停の方法は、一例に過ぎず、これによって、本発明の構成は限定されない。他の例では、通信演算部105は、複数の診断演算部605のそれぞれに優先度を設定し、優先度が高い診断演算部605から順に通信権を移譲する構成であってもよい。 Note that the method of arbitration relating to communication rights shown in FIG. 21 is merely an example, and the configuration of the present invention is not limited by this. In another example, the communication calculation unit 105 may be configured to set a priority to each of the plurality of diagnostic calculation units 605 and transfer the communication right to the diagnostic calculation unit 605 having the highest priority.

〔ソフトウェアによる実現例〕
信号処理装置100、および、電気機器6の制御ブロックは、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、ソフトウェアによって実現してもよい。
[Example of realization by software]
The signal processing device 100 and the control block of the electric device 6 may be implemented by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be implemented by software.

後者の場合、信号処理装置100、および、電気機器6は、各機能を実現するソフトウェアであるプログラムの命令を実行するコンピュータを備えている。このコンピュータは、例えば1つ以上のプロセッサを備えていると共に、上記プログラムを記憶したコンピュータ読み取り可能な記録媒体を備えている。そして、上記コンピュータにおいて、上記プロセッサが上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記プロセッサとしては、例えばCPU(Central Processing Unit)を用いることができる。上記記録媒体としては、「一時的でない有形の媒体」、例えば、ROM(Read Only Memory)等の他、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムを展開するRAM(Random Access Memory)などをさらに備えていてもよい。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明の一態様は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 In the latter case, the signal processing device 100 and the electric device 6 are provided with a computer that executes instructions of programs, which are software for realizing each function. This computer includes, for example, one or more processors, and a computer-readable recording medium storing the program. In the computer, the processor reads the program from the recording medium and executes it, thereby achieving the object of the present invention. As the processor, for example, a CPU (Central Processing Unit) can be used. As the recording medium, a "non-temporary tangible medium" such as a ROM (Read Only Memory), a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. In addition, a RAM (Random Access Memory) for developing the above program may be further provided. Also, the program may be supplied to the computer via any transmission medium (communication network, broadcast wave, etc.) capable of transmitting the program. Note that one aspect of the present invention can also be implemented in the form of a data signal embedded in a carrier wave in which the program is embodied by electronic transmission.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments, but can be modified in various ways within the scope of the claims, and can be obtained by appropriately combining technical means disclosed in different embodiments. is also included in the technical scope of the present invention.

1 通信システム
2 PC
3 コントローラ(機器制御装置)
4 入力ユニット
5 出力ユニット
6、7、8、9、10 電気機器
13 動作素子
15 送信回路
16 降圧回路
17 データ生成回路
18 重畳回路
19 診断回路
19A 機器内蔵診断回路
19B 外部診断回路
19C 装置内蔵診断回路
23 OR回路
50 ケーブル筐体
51 通信ケーブル
52 入出力ユニット(機器制御装置)
52A マスタモジュール(機器制御装置)
75 センサ機器
100 信号処理装置
105 通信演算部(第1演算部)
140 情報記憶部
170、650 シリアル通信部
171、651 データ信号生成部
172、652 モード切替部
173 アナログデジタル変換回路(ADC)
174、653 ハンドシェイク(HS)通信部
605 診断演算部(第2演算部)
1 communication system 2 PC
3 Controller (equipment control device)
4 Input unit 5 Output unit 6, 7, 8, 9, 10 Electrical equipment 13 Operating element 15 Transmitting circuit 16 Step-down circuit 17 Data generating circuit 18 Superimposing circuit 19 Diagnostic circuit 19A Device built-in diagnostic circuit 19B External diagnostic circuit 19C Device built-in diagnostic circuit 23 OR circuit 50 cable housing 51 communication cable 52 input/output unit (equipment control device)
52A master module (equipment control device)
75 sensor device 100 signal processing device 105 communication calculation unit (first calculation unit)
140 information storage units 170, 650 serial communication units 171, 651 data signal generation units 172, 652 mode switching unit 173 analog-to-digital conversion circuit (ADC)
174, 653 handshake (HS) communication unit 605 diagnostic calculation unit (second calculation unit)

Claims (7)

通信システムの下流で動作する電気機器と、上流で1以上の前記電気機器を制御する機器制御装置との間の通信を仲介する信号処理装置であって、
少なくとも第1の情報を示す重畳対象信号を生成する第1演算部と、
前記電気機器の動作素子の状態に応じた動作信号、または、前記動作素子を制御する動作信号に、前記重畳対象信号を重畳させた重畳信号を生成する重畳回路と、
を備え、
前記第1演算部は、少なくとも第2の情報を示す前記重畳対象信号を生成する第2演算部がアクティブ状態となっている期間に、前記重畳対象信号の生成を行わず、前記第2演算部がスタンバイ状態となっている期間に、前記重畳対象信号の生成を行うように制御し、
前記第1演算部および前記第2演算部は、前記動作信号を生成するための電力によって動作するものである信号処理装置。
A signal processing device that mediates communication between an electrical device that operates downstream of a communication system and a device control device that controls one or more of the electrical devices upstream,
a first calculation unit that generates a signal to be superimposed that indicates at least first information;
a superposition circuit for generating a superimposition signal obtained by superimposing the signal to be superimposed on an operating signal corresponding to the state of the operating element of the electric device or an operating signal for controlling the operating element;
with
The first computation unit does not generate the superimposition target signal during a period in which the second computation unit that generates the superimposition target signal indicating at least second information is in an active state, and the second computation unit does not generate the superimposition target signal. is in the standby state, control to generate the signal to be superimposed,
The signal processing device, wherein the first arithmetic unit and the second arithmetic unit operate with electric power for generating the operation signal.
前記信号処理装置を識別する識別情報を、前記第1の情報として記憶する情報記憶部をさらに備え、
前記第1演算部は、前記情報記憶部から前記第1の情報を読み出すことによって前記重畳対象信号を生成する請求項1に記載の信号処理装置。
further comprising an information storage unit that stores, as the first information, identification information that identifies the signal processing device;
2. The signal processing device according to claim 1, wherein the first calculation unit generates the superimposition target signal by reading the first information from the information storage unit.
前記第2演算部は、前記電気機器の状態および周囲環境の少なくともいずれか一方を示す情報に基づいて前記第2の情報を生成するものである請求項1または2に記載の信号処理装置。 3. The signal processing device according to claim 1, wherein the second calculation unit generates the second information based on information indicating at least one of the state of the electrical equipment and the surrounding environment. 前記第1演算部は、前記第2演算部とシリアル通信を行うシリアル通信部を備え、
前記重畳回路は、前記第1演算部から受信した第1の前記重畳対象信号、または、前記第2演算部から受信した第2の前記重畳対象信号を、前記動作信号に重畳させて重畳信号を生成する請求項1から3のいずれか1項に記載の信号処理装置。
The first calculation unit includes a serial communication unit that performs serial communication with the second calculation unit,
The superimposing circuit superimposes the first signal to be superimposed received from the first computing unit or the second signal to be superimposed received from the second computing unit on the operation signal to generate a superimposed signal. 4. A signal processing apparatus according to any one of claims 1 to 3, which generates a
前記第1演算部は、前記第2演算部とシリアル通信を行うシリアル通信部を備えるとともに、前記第2演算部から前記シリアル通信によって受信した前記第2の情報を少なくとも示す前記重畳対象信号を生成し、
前記重畳回路は、前記第1演算部から受信した前記重畳対象信号を、前記動作信号に重畳させて重畳信号を生成する請求項1から3のいずれか1項に記載の信号処理装置。
The first calculation unit includes a serial communication unit that performs serial communication with the second calculation unit, and generates the superimposition target signal that indicates at least the second information received from the second calculation unit through the serial communication. death,
4. The signal processing device according to any one of claims 1 to 3, wherein the superimposing circuit superimposes the signal to be superimposed received from the first computing unit on the operation signal to generate a superimposed signal.
前記第1演算部は、前記第2演算部に対して、第1の前記重畳対象信号の生成を実行する期間を示すオンオフ信号を送信するとともに、前記第2演算部から、第2の前記重畳対象信号の生成を実行する期間を示すオンオフ信号を受信し、
前記重畳回路は、前記第1演算部から受信した第1の前記重畳対象信号、または、前記第2演算部から受信した第2の前記重畳対象信号を、前記動作信号に重畳させて重畳信号を生成する請求項1から3のいずれか1項に記載の信号処理装置。
The first computation unit transmits to the second computation unit an on/off signal indicating a period during which the generation of the first signal to be superimposed is performed, and the second computation unit transmits the second superimposition signal. receiving an on/off signal indicating a period during which target signal generation is to be performed;
The superimposing circuit superimposes the first signal to be superimposed received from the first computing unit or the second signal to be superimposed received from the second computing unit on the operation signal to generate a superimposed signal. 4. A signal processing apparatus according to any one of claims 1 to 3, which generates a
前記第2演算部は、前記電気機器に内蔵されている、または、前記電気機器とは別体のセンサ機器に内蔵されている請求項1から6のいずれか1項に記載の信号処理装置。 The signal processing device according to any one of claims 1 to 6, wherein the second calculation unit is built in the electrical device, or built in a sensor device separate from the electrical device.
JP2019127095A 2019-07-08 2019-07-08 signal processor Active JP7247793B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019127095A JP7247793B2 (en) 2019-07-08 2019-07-08 signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019127095A JP7247793B2 (en) 2019-07-08 2019-07-08 signal processor

Publications (2)

Publication Number Publication Date
JP2021013121A JP2021013121A (en) 2021-02-04
JP7247793B2 true JP7247793B2 (en) 2023-03-29

Family

ID=74226918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019127095A Active JP7247793B2 (en) 2019-07-08 2019-07-08 signal processor

Country Status (1)

Country Link
JP (1) JP7247793B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1708953A (en) 2002-10-02 2005-12-14 三菱电机株式会社 Communication adapter device, communication adapter, writing method of nonvolatile memory, electric appliance used therein, and ROM writer
JP2006185407A (en) 2004-12-01 2006-07-13 Matsushita Electric Ind Co Ltd Peak power control method and apparatus
JP2006245830A (en) 2005-03-01 2006-09-14 Omron Corp Communication relay device, communication system, communication control method, communication control program, and recording medium
JP2013228918A (en) 2012-04-26 2013-11-07 Canon Inc Bus repeater system and data processor
JP2016046756A (en) 2014-08-26 2016-04-04 カシオ計算機株式会社 Imaging device, imaging system, imaging method, and program
JP2016174911A (en) 2016-04-13 2016-10-06 株式会社ソニー・インタラクティブエンタテインメント Input device
US20170245293A1 (en) 2014-07-23 2017-08-24 Bayerische Motoren Werke Aktiengesellschaft Access Method with Access Slots and Priority Resolution
JP2018151915A (en) 2017-03-14 2018-09-27 オムロン株式会社 Electrical equipment and receiving equipment
JP2019012906A (en) 2017-06-29 2019-01-24 オムロン株式会社 Electrical equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1708953A (en) 2002-10-02 2005-12-14 三菱电机株式会社 Communication adapter device, communication adapter, writing method of nonvolatile memory, electric appliance used therein, and ROM writer
JP2006185407A (en) 2004-12-01 2006-07-13 Matsushita Electric Ind Co Ltd Peak power control method and apparatus
JP2006245830A (en) 2005-03-01 2006-09-14 Omron Corp Communication relay device, communication system, communication control method, communication control program, and recording medium
JP2013228918A (en) 2012-04-26 2013-11-07 Canon Inc Bus repeater system and data processor
US20170245293A1 (en) 2014-07-23 2017-08-24 Bayerische Motoren Werke Aktiengesellschaft Access Method with Access Slots and Priority Resolution
JP2016046756A (en) 2014-08-26 2016-04-04 カシオ計算機株式会社 Imaging device, imaging system, imaging method, and program
JP2016174911A (en) 2016-04-13 2016-10-06 株式会社ソニー・インタラクティブエンタテインメント Input device
JP2018151915A (en) 2017-03-14 2018-09-27 オムロン株式会社 Electrical equipment and receiving equipment
JP2019012906A (en) 2017-06-29 2019-01-24 オムロン株式会社 Electrical equipment

Also Published As

Publication number Publication date
JP2021013121A (en) 2021-02-04

Similar Documents

Publication Publication Date Title
KR101111137B1 (en) Remote wiring check system and access connector using the same
JP5441875B2 (en) Computer system
CN101834727A (en) Device and network system
CN108574508B (en) Electrical equipment and receiving equipment
US20170317916A1 (en) Control system, control method, control program, and recording medium
JP2016133877A (en) Numerical control system with internal-register self-reset function by serial communication signal monitoring
CN105808407A (en) Equipment management method, equipment and equipment management controller
CN107153351B (en) Actuator redundancy control system and method for redundancy control thereof
US12095598B2 (en) Master module and non-transitory computer readable medium
JP5529809B2 (en) Power supply device and power supply system using the same
CN102375775B (en) A kind of computer system with detection system unrecoverable error indication signal
JP5518209B2 (en) Peripheral devices and parallel bus system
JP7247793B2 (en) signal processor
US11646914B2 (en) Recording medium and method
JP2006139634A (en) Equipment management device, channel diagnosis device and equipment management method
JP2008283259A (en) Distributed control system and device controller
US11749103B2 (en) Signal processing device
JP6521020B2 (en) Safety controller
JP5353533B2 (en) Servo control system and its abnormality detection method
US12062279B2 (en) Electric apparatus, communication device, and communication system
KR20130002489U (en) System for monitoring power source of computer case
JP2010238000A (en) Device for bus connection/disconnection of module
US20200064420A1 (en) Magnetic resonance device and method for operating a magnetic resonance device
CN107659413B (en) Small-sized communication equipment
Yamashita et al. Distributed Remote Input/Output Control Method in Real Time Processing for CNC

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220513

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230203

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230227

R150 Certificate of patent or registration of utility model

Ref document number: 7247793

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150