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
JP4848858B2 - Controller - Google Patents
[go: Go Back, main page]

JP4848858B2 - Controller - Google Patents

Controller Download PDF

Info

Publication number
JP4848858B2
JP4848858B2 JP2006174421A JP2006174421A JP4848858B2 JP 4848858 B2 JP4848858 B2 JP 4848858B2 JP 2006174421 A JP2006174421 A JP 2006174421A JP 2006174421 A JP2006174421 A JP 2006174421A JP 4848858 B2 JP4848858 B2 JP 4848858B2
Authority
JP
Japan
Prior art keywords
time
control
controlled device
controlled
signal
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.)
Expired - Fee Related
Application number
JP2006174421A
Other languages
Japanese (ja)
Other versions
JP2008005342A (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.)
Panasonic Corp
Panasonic Electric Works Co Ltd
Original Assignee
Panasonic Corp
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Works Ltd filed Critical Panasonic Corp
Priority to JP2006174421A priority Critical patent/JP4848858B2/en
Publication of JP2008005342A publication Critical patent/JP2008005342A/en
Application granted granted Critical
Publication of JP4848858B2 publication Critical patent/JP4848858B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Description

本発明は、ホームオートメーション(HA)システム等に用いられ、エアコン等の被制御機器の2種類の動作状態を外部からの制御依頼に従って制御する制御コントローラに関するものである。   The present invention relates to a control controller that is used in a home automation (HA) system or the like and controls two types of operation states of a controlled device such as an air conditioner in accordance with a control request from the outside.

従来から、この種の制御コントローラ1として、図12に示すように、接続線2を介して被制御機器Aに接続されたインタフェースユニット(以下、IFUという)を内蔵し、被制御機器Aの2種類の動作状態を反転させる運転制御信号を被制御機器Aに対して送信するとともに、被制御機器Aから被制御機器Aの動作状態を示す運転モニタ信号を受信するものが知られている。被制御機器Aは運転制御信号を受けるごとに2種類の動作状態が交互に反転する。ここでいう2種類の動作状態とは、被制御機器Aが正常な動作によって機能を発揮している運転状態と、被制御機器がその機能を停止し、次の運転制御信号により運転状態に移行可能な停止状態とを意味する。   Conventionally, as this type of controller 1, as shown in FIG. 12, an interface unit (hereinafter referred to as IFU) connected to the controlled device A via the connection line 2 is built-in. An operation control signal that reverses the type of operation state is transmitted to the controlled device A, and an operation monitor signal indicating the operation state of the controlled device A is received from the controlled device A. When the controlled device A receives the operation control signal, the two types of operation states are alternately inverted. The two types of operating states here are the operating state in which the controlled device A is functioning normally, and the controlled device stops its function, and the next operating control signal shifts to the operating state. It means possible stop state.

この制御コントローラ1は、外部から制御依頼を受けると、そのときの運転モニタ信号に基づいて運転制御信号を送信することにより、被制御機器Aの動作状態を制御する。すなわち、たとえば被制御機器Aを運転状態とする制御依頼を受けた場合には、制御コントローラ1は、被制御機器Aから運転モニタ信号を受信することにより被制御機器Aの動作状態を検出し、被制御機器Aが運転状態にあれば運転制御信号の送信は行わず、一方、被制御機器Aが停止状態にあれば運転制御信号を被制御機器Aに送信する。   When receiving a control request from the outside, the controller 1 controls the operation state of the controlled device A by transmitting an operation control signal based on the operation monitor signal at that time. That is, for example, when receiving a control request for setting the controlled device A in an operating state, the controller 1 detects the operating state of the controlled device A by receiving an operation monitor signal from the controlled device A, If the controlled device A is in the operation state, the operation control signal is not transmitted. On the other hand, if the controlled device A is in the stop state, the operation control signal is transmitted to the controlled device A.

ところで、この種の制御コントローラ1を用いて、携帯電話機等の通信端末10からネットワークを介して制御コントローラ1に制御依頼を送信することにより被制御機器Aの遠隔制御を可能とすることも考えられている。そこで、制御コントローラ1には、被制御機器Aの動作状態が正常に制御されたことを通信端末10で確認できるように、運転制御信号を送信してから所定時間経過後に、運転モニタ信号の示す動作状態と制御依頼の内容とが一致しているか否かを表す制御結果を通信端末10に返信する機能が求められる。   By the way, it is conceivable that remote control of the controlled device A is possible by using this type of control controller 1 to transmit a control request from the communication terminal 10 such as a mobile phone to the control controller 1 via a network. ing. Therefore, the control monitor 1 indicates the operation monitor signal after a predetermined time has elapsed since the operation control signal was transmitted so that the communication terminal 10 can confirm that the operation state of the controlled device A was normally controlled. A function is required for returning a control result indicating whether the operation state and the content of the control request match to the communication terminal 10.

制御コントローラ1との間で運転制御信号および運転モニタ信号を送受信する被制御機器Aのうち一般に普及しているものとしては、JEM_A規格(JEM 1427規格)で規格化されたエアコン(JEMA標準HA対応ルームエアコン)がある。JEM_A規格では、このエアコンとIFUとの間の接続条件として、図13に示すように、エアコンが、運転制御信号(図13(a))の受信を開始した時点から動作状態の反転が運転モニタ信号(図13(b))に反映されるまでの応答時間Tr1を350ms以下とするように定められている(たとえば、非特許文献1参照)。そのため、JEM_A規格に準拠する制御コントローラは、350msに数msを加えた時間をモニタ時間Tmとして、運転制御信号の送信開始時点からモニタ時間Tm経過した時点Mで運転モニタ信号を確認することにより、制御結果を返信する。
日本電機工業会規格、「JEM 1427 ルームエアコンHA端子」、社団法人日本電機工業会、昭和63年8月31日、p.1−3
Among the controlled devices A that transmit and receive operation control signals and operation monitor signals to and from the controller 1, air conditioners that are standardized by the JEM_A standard (JEM 1427 standard) (compliant with JEMA standard HA) There is a room air conditioner). In the JEM_A standard, as a connection condition between the air conditioner and the IFU, as shown in FIG. 13, the reversal of the operation state is started when the air conditioner starts receiving the operation control signal (FIG. 13 (a)). The response time Tr1 until it is reflected in the signal (FIG. 13B) is determined to be 350 ms or less (see, for example, Non-Patent Document 1). Therefore, the controller that complies with the JEM_A standard confirms the operation monitor signal at the time M when the monitor time Tm has elapsed from the start of transmission of the operation control signal, with the time obtained by adding several ms to 350 ms as the monitor time Tm. Returns the control result.
Japan Electrical Manufacturers 'Association Standard, “JEM 1427 Room Air Conditioner HA Terminal”, Japan Electrical Manufacturers' Association, August 31, 1988, p. 1-3

しかし、JEM_A規格に準拠する制御コントローラ1では、運転制御信号の受信開始時点から動作状態の反転が運転モニタ信号に反映されるまでの応答時間Tr2がJEM_A規格で定められた応答時間Tr1(350ms以下)を超える被制御機器Aに関しては、運転制御信号の送信開始時点からモニタ時間Tm経過した時点Mで運転モニタ信号を確認しても、図13(c)に示すように当該運転モニタ信号には運転制御信号による動作状態の反転は反映されていないので、制御依頼に対応する動作状態は得られない。その結果、制御コントローラ1は、被制御機器Aの動作状態を正常に(つまり制御依頼の通りに)制御できているにもかかわらず、制御結果においては誤って制御エラーと判断してしまうこととなる。   However, in the controller 1 that complies with the JEM_A standard, the response time Tr2 from when the operation control signal is received until the inversion of the operation state is reflected in the operation monitor signal is the response time Tr1 (350 ms or less) defined by the JEM_A standard. For the controlled device A exceeding (), even if the operation monitor signal is confirmed at the time M when the monitor time Tm has elapsed from the transmission start time of the operation control signal, as shown in FIG. Since the inversion of the operation state by the operation control signal is not reflected, the operation state corresponding to the control request cannot be obtained. As a result, the control controller 1 erroneously determines a control error in the control result even though the operation state of the controlled device A can be controlled normally (that is, as requested by the control). Become.

本発明は上記事由に鑑みて為されたものであって、運転制御信号の受信開始時点から動作状態の反転が運転モニタ信号に反映されるまでの応答時間が従来から普及している被制御機器に比べて長い被制御機器に関しても、正しい制御結果を得ることができる制御コントローラを提供することを目的とする。   The present invention has been made in view of the above-described reason, and the controlled device from which the response time until the inversion of the operation state is reflected in the operation monitor signal from the reception start time of the operation control signal has been conventionally used. An object of the present invention is to provide a control controller that can obtain a correct control result even for a controlled device that is longer than the above.

請求項1の発明では、被制御機器に運転制御信号を送信するごとに被制御機器の2種類の動作状態を交互に反転させるとともに、被制御機器の動作状態を示す運転モニタ信号を被制御機器から受信する制御部を備え、制御部は、運転モニタ信号をモニタするためのモニタ時間の時限を運転制御信号の送信開始時点から開始するタイマ手段と、タイマ手段がモニタ時間を時限し終えた時点で運転モニタ信号を受信し当該運転モニタ信号に基づいて被制御機器が正常に制御されたか否かを制御結果として判断する確認手段と、予め決められている下限値以上の範囲で前記モニタ時間を任意に設定可能なモニタ時間設定手段とを有し、前記確認手段は、複数台の前記被制御機器から前記運転モニタ信号を個別に受信し当該運転モニタ信号に基づいて各被制御機器が正常に制御されたか否かをそれぞれ制御結果として判断する機能を有し、前記制御部は、複数台の被制御機器に対して前記運転制御信号を一斉に送信し、当該複数台の被制御機器の全てについて正常に制御されたことを示す制御結果が確認手段で得られると、当該複数台の被制御機器の全てについて個々の運転モニタ信号を一斉に再受信し、当該複数台の被制御機器の全ての制御が正常に完了したことを示す全完了信号と、全ての制御が完了した時点での各被制御機器の動作状態を示す情報とを出力することを特徴とする。 In the first aspect of the invention, every time the operation control signal is transmitted to the controlled device, the two types of operation states of the controlled device are alternately inverted, and an operation monitor signal indicating the operation state of the controlled device is received. The control unit receives from the timer unit, the timer unit for starting the monitoring time period for monitoring the operation monitor signal from the start of transmission of the operation control signal, and the time point when the timer unit has completed the monitoring time limit And a confirmation means for receiving a driving monitor signal and judging whether or not the controlled device is normally controlled based on the driving monitor signal, and the monitoring time within a range not less than a predetermined lower limit value. possess and any settable monitoring time setting unit, said confirmation means receives separately the operation monitor signal from a plurality the controlled device based on the operation monitor signal Each of the controlled devices has a function of determining whether or not the controlled devices are normally controlled, and the control unit transmits the operation control signal to a plurality of controlled devices all at once. When the control means showing that the control has been successfully performed for all of the controlled devices, the operation monitor signals for all of the controlled devices are re-received all at once. A complete completion signal indicating that the control of all the controlled devices is normally completed, and information indicating an operation state of each controlled device at the time when all the controls are completed .

この構成によれば、下限値以上の範囲でモニタ時間を任意に設定可能なモニタ時間設定手段を制御部に有するので、運転制御信号の受信開始時点から動作状態の反転が運転モニタ信号に反映されるまでの応答時間が従来から普及している被制御機器に比べて長い被制御機器に関しても、被制御機器の応答時間を過ぎた時点で、運転制御信号による動作状態の反転が反映された運転モニタ信号から制御結果を判断することができ、正しい制御結果を得ることができる。したがって、たとえば応答時間が350ms以下であるJEM_A規格に準拠する被制御機器のみならず、応答時間がJEM_A規格で定められた応答時間を超える被制御機器に関しても、正しい制御結果を得ることができる。また、この構成によれば、複数台の被制御機器で応答時間が異なっていても、これら複数台の被制御機器の全ての制御が完了した時点で、全ての被制御機器の制御が正常に完了したことを示す全完了信号を出力するだけであるから、たとえば全完了信号を通信端末に送信する場合には、送信の回数を1回に抑えることができる。しかも、全ての制御が完了した時点での各被制御機器の動作状態を通知することができる。 According to this configuration, since the control unit has the monitor time setting means capable of arbitrarily setting the monitor time within the range equal to or higher than the lower limit value, the inversion of the operation state is reflected in the operation monitor signal from the reception start time of the operation control signal. Even for controlled devices that have a long response time compared to the controlled devices that have been widely used in the past, when the response time of the controlled device has passed, the operation state reflected by the operation control signal is reflected. The control result can be determined from the monitor signal, and the correct control result can be obtained. Therefore, for example, a correct control result can be obtained not only for a controlled device conforming to the JEM_A standard whose response time is 350 ms or less but also for a controlled device whose response time exceeds the response time defined by the JEM_A standard. In addition, according to this configuration, even when the response times are different among the plurality of controlled devices, when all the control of the plurality of controlled devices is completed, the control of all the controlled devices is normally performed. Since only the complete signal indicating completion is output, for example, when transmitting the complete signal to the communication terminal, the number of transmissions can be reduced to one. In addition, it is possible to notify the operating state of each controlled device when all the controls are completed.

請求項2の発明では、被制御機器に運転制御信号を送信するごとに被制御機器の2種類の動作状態を交互に反転させるとともに、被制御機器の動作状態を示す運転モニタ信号を被制御機器から受信する制御部を備え、制御部は、運転モニタ信号をモニタするため予め決められているモニタ時間の時限を運転制御信号の送信開始時点から開始するタイマ手段と、タイマ手段がモニタ時間を時限し終えた時点で運転モニタ信号を受信し当該運転モニタ信号に基づいて被制御機器が正常に制御されたか否かを制御結果として判断する確認手段と、被制御機器が正常に制御されたことを示す制御結果が確認手段で得られない場合に、モニタ時間を所定の再試行時間刻みで延長し確認手段に運転モニタ信号の受信を再度行わせる再試行手段と、前記運転制御信号の送信開始時点から前記被制御機器が正常に制御されたことを示す制御結果が前記確認手段で得られるまでに要した時間を実測時間として保持する実測手段と、実測時間に基づいて制限時間を設定する制限時間設定手段とを有し、前記再試行手段は、前記運転制御信号の送信開始時点から制限時間が経過すると前記確認手段に前記運転モニタ信号の受信を行わせる処理を中止することを特徴とする。 In the second aspect of the invention, every time an operation control signal is transmitted to the controlled device, the two types of operation states of the controlled device are alternately inverted, and an operation monitor signal indicating the operation state of the controlled device is received. A control unit for receiving the operation control signal, wherein the control unit starts a time period of a predetermined monitoring time for monitoring the operation monitor signal from the start of transmission of the operation control signal; Confirmation means for receiving an operation monitor signal at the time when the operation is completed and determining whether or not the controlled device is normally controlled based on the operation monitor signal, and that the controlled device is normally controlled control when the result is not obtained in the confirmation means, a retry means for causing the reception of extended monitoring time in increments predetermined retry time confirmation unit the driver monitor signal again, the operation shown Measurement means for holding the time required for the control means indicating that the controlled device has been normally controlled from the start of transmission of the control signal to be obtained by the confirmation means, and restriction based on the measurement time It possesses a time limit setting means for setting the time, the retry means stops the process to perform the reception of the operation monitor signal to said confirmation means and the time limit from the transmission start time of the operation control signal has elapsed It is characterized by that.

この構成によれば、被制御機器が正常に制御されたことを示す制御結果が確認手段で得られない場合に、モニタ時間を所定の再試行時間刻みで延長し確認手段に運転モニタ信号の受信を再度行わせる再試行手段を制御部に有するので、運転制御信号の受信開始時点から動作状態の反転が運転モニタ信号に反映されるまでの応答時間が従来から普及している被制御機器に比べて長い被制御機器に関しても、被制御機器の応答時間を過ぎた時点で、運転制御信号による動作状態の反転が反映された運転モニタ信号から制御結果を判断することができ、正しい制御結果を得ることができる。したがって、たとえば応答時間が350ms以下であるJEM_A規格に準拠する被制御機器のみならず、応答時間がJEM_A規格で定められた応答時間を超える被制御機器に関しても、正しい制御結果を得ることができる。また、この構成によれば、制限時間が経過すると確認手段に運転モニタ信号の受信を行わせる処理を中止するので、制御エラーが発生した場合など、被制御機器の応答時間を超えても被制御機器が正常に制御されたことを示す制御結果が確認手段で得られない場合に、確認手段による運転モニタ信号の受信が延々と繰り返されることを防止できる。さらに、この構成によれば、実測時間に基づいて制限時間を設定するので、制御エラーが発生した場合など、被制御機器の応答時間を超えても被制御機器が正常に制御されたことを示す制御結果が確認手段で得られない場合に、確認手段による運転モニタ信号の受信を早期に中止することができる。 According to this configuration, when a control result indicating that the controlled device is normally controlled cannot be obtained by the confirmation unit, the monitor time is extended by a predetermined retry time unit and the operation monitor signal is received by the confirmation unit. Since the control unit has retry means for performing the operation again, the response time from the start of receiving the operation control signal until the inversion of the operation state is reflected in the operation monitor signal is larger than that of a controlled device that has been widely used in the past. Even for a long controlled device, the control result can be determined from the operation monitor signal reflecting the inversion of the operation state by the operation control signal when the response time of the controlled device has passed, and the correct control result is obtained. be able to. Therefore, for example, a correct control result can be obtained not only for a controlled device conforming to the JEM_A standard whose response time is 350 ms or less but also for a controlled device whose response time exceeds the response time defined by the JEM_A standard. Further, according to this configuration, when the time limit elapses, the process for causing the confirmation means to receive the operation monitor signal is stopped, so that the controlled device is controlled even if the response time of the controlled device is exceeded, such as when a control error occurs. When a confirmation result indicating that the device is normally controlled cannot be obtained by the confirmation means, it is possible to prevent the operation monitor signal from being repeatedly received by the confirmation means. Furthermore, according to this configuration, since the time limit is set based on the actual measurement time, it indicates that the controlled device is normally controlled even if the response time of the controlled device is exceeded, such as when a control error occurs. When the control result cannot be obtained by the confirmation unit, the reception of the operation monitor signal by the confirmation unit can be stopped early.

請求項の発明は、請求項の発明において、前記実測手段が、前記被制御機器の動作状態を一方から他方に反転させた際に要した実測時間を第1の実測時間として保持し、被制御機器の動作状態を前記他方から前記一方に反転させた際に要した実測時間を第2の実測時間として保持し、前記制限時間設定手段が、被制御機器の動作状態を前記一方から前記他方に反転させる際には第1の実測時間に基づいて前記制限時間を設定し、被制御機器の動作状態を前記他方から前記一方に反転させる際には第2の実測時間に基づいて制限時間を設定することを特徴とする。 The invention of claim 3 is the invention of claim 2 , wherein the actual measurement means holds the actual measurement time required when the operation state of the controlled device is reversed from one to the other as the first actual measurement time, The actual measurement time required when the operation state of the controlled device is reversed from the other to the one is held as a second actual measurement time, and the time limit setting means sets the operation state of the controlled device from the one to the When reversing to the other, the time limit is set based on the first actual measurement time, and when reversing the operation state of the controlled device from the other to the one, the time limit is based on the second actual measurement time. Is set.

この構成によれば、制限時間設定手段が、被制御機器の動作状態を一方から他方に反転させる際と、被制御機器の動作状態を他方から一方に反転させる際とで制限時間を個別に設定するので、動作状態を一方から他方に反転するときの応答時間と、動作状態を他方から一方に反転するときの応答時間とが異なる被制御機器であっても、最適な制限時間を設定することができる。   According to this configuration, the time limit setting unit individually sets the time limit when reversing the operation state of the controlled device from one to the other and when reversing the operation state of the controlled device from the other to the other. Therefore, even if the controlled device has a different response time when the operation state is reversed from one to the other and a response time when the operation state is reversed from the other to the other, an optimal time limit must be set. Can do.

請求項の発明は、請求項2または請求項3の発明において、前記確認手段が、複数台の前記被制御機器から前記運転モニタ信号を個別に受信し当該運転モニタ信号に基づいて各被制御機器が正常に制御されたか否かをそれぞれ制御結果として判断する機能を有し、前記制御部が、複数台の被制御機器に対して前記運転制御信号を一斉に送信し、当該複数台の被制御機器の全てについて正常に制御されたことを示す制御結果が確認手段で得られると、当該複数台の被制御機器の全ての制御が正常に完了したことを示す全完了信号を出力することを特徴とする。 According to a fourth aspect of the present invention, in the second or third aspect of the present invention, the confirmation unit individually receives the operation monitor signal from a plurality of the controlled devices and controls each controlled device based on the operation monitor signal. The control unit has a function of determining whether or not the devices are normally controlled, and the control unit transmits the operation control signal to a plurality of controlled devices all at once. When a control result indicating that all the control devices are normally controlled is obtained by the confirmation means, all completion signals indicating that all the control of the plurality of controlled devices are normally completed are output. Features.

この構成によれば、複数台の被制御機器で応答時間が異なっていても、これら複数台の被制御機器の全ての制御が完了した時点で、全ての被制御機器の制御が正常に完了したことを示す全完了信号を出力するだけであるから、たとえば全完了信号を通信端末に送信する場合には、送信の回数を1回に抑えることができる。   According to this configuration, even when the response times are different among a plurality of controlled devices, the control of all the controlled devices is normally completed when all the controls of the plurality of controlled devices are completed. For example, when the complete signal is transmitted to the communication terminal, the number of transmissions can be reduced to one.

請求項の発明は、請求項2または請求項3の発明において、前記確認手段が、複数台の前記被制御機器から前記運転モニタ信号を個別に受信し当該運転モニタ信号に基づいて各被制御機器が正常に制御されたか否かをそれぞれ制御結果として判断する機能を有し、前記制御部が、複数台の被制御機器に対して前記運転制御信号を一斉に送信し、個々の被制御機器について正常に制御されたことを示す制御結果が確認手段で得られるごとに、当該被制御機器の制御が正常に完了したことを示す個別完了信号を出力することを特徴とする。 According to a fifth aspect of the present invention, in the second or third aspect of the present invention, the confirmation unit individually receives the operation monitor signals from a plurality of the controlled devices and controls each controlled device based on the operation monitor signals. Each of the controlled devices has a function of determining whether or not the devices are normally controlled as a control result, and the control unit transmits the operation control signal to a plurality of controlled devices all at once. Each time a control result indicating that the controlled device is normally controlled is obtained by the confirmation means, an individual completion signal indicating that the control of the controlled device is normally completed is output.

この構成によれば、複数台の被制御機器で応答時間が異なる場合に、これら複数台の被制御機器の全ての制御の完了を待たずに、個別完了信号を出力するので、各被制御機器の制御が完了したことを早期に通知することができる。   According to this configuration, when the response times are different among a plurality of controlled devices, the individual completion signal is output without waiting for the completion of all the control of the plurality of controlled devices. It is possible to notify at an early stage that the control has been completed.

本発明は、下限値以上の範囲でモニタ時間を任意に設定可能なモニタ時間設定手段を制御部に有するので、運転制御信号の受信開始時点から動作状態の反転が運転モニタ信号に反映されるまでの応答時間が従来から普及している被制御機器に比べて長い被制御機器に関しても、被制御機器の応答時間を過ぎた時点で、運転制御信号による動作状態の反転が反映された運転モニタ信号から制御結果を判断することができ、正しい制御結果を得ることができる。したがって、たとえば応答時間が350ms以下であるJEM_A規格に準拠する被制御機器のみならず、応答時間がJEM_A規格で定められた応答時間を超える被制御機器に関しても、正しい制御結果を得ることができるという利点がある。   Since the present invention has a monitor time setting means in the control unit that can arbitrarily set the monitor time within a range equal to or higher than the lower limit value, from the start of reception of the operation control signal until the inversion of the operation state is reflected in the operation monitor signal Operation control signal that reflects the reversal of the operation state by the operation control signal when the response time of the controlled device has passed, even for controlled devices that have a long response time compared to the controlled devices that have been widely used Thus, the control result can be determined and the correct control result can be obtained. Therefore, for example, a correct control result can be obtained not only for a controlled device conforming to the JEM_A standard whose response time is 350 ms or less, but also for a controlled device whose response time exceeds the response time defined by the JEM_A standard. There are advantages.

(実施形態1)
本実施形態の制御コントローラ1は宅内に設置されており、図1に示すように、同じ宅内に設置された据え置き型の被制御機器Aに接続線2を介して接続されるインタフェースユニット(以下、IFUという)3を内蔵している。そして、被制御機器Aの2種類の動作状態(運転状態・停止状態)を交互に反転させる運転制御信号をIFU3を通して被制御機器Aに送信するとともに、被制御機器Aから被制御機器Aの動作状態を示す運転モニタ信号をIFU3を通して受信する制御部4を備えている。
(Embodiment 1)
The controller 1 according to the present embodiment is installed in a home, and as shown in FIG. 1, an interface unit (hereinafter referred to as a connected unit 2) connected to a stationary controlled device A installed in the same home. 3) (referred to as IFU). Then, an operation control signal for alternately inverting two types of operation states (operating state / stopped state) of the controlled device A is transmitted to the controlled device A through the IFU 3, and the controlled device A operates from the controlled device A. The control part 4 which receives the driving | operation monitor signal which shows a state through IFU3 is provided.

IFU3と被制御機器Aとのそれぞれには、運転制御信号の伝送に用いる2本1組の接続線2を接続するHA端子C1,C2、および運転モニタ信号の伝送に用いる2本1組の接続線2を接続するHA端子M1,M2が設けられている。IFU3には、HA端子C1,C2,M1,M2に接続され被制御機器Aと後述の制御部4とを電気的に分離するフォトカプラを含む絶縁分離部(図示せず)が設けられている。   In each of the IFU 3 and the controlled device A, HA terminals C1 and C2 for connecting two sets of connection lines 2 used for transmission of operation control signals, and two sets of connections used for transmission of operation monitor signals HA terminals M1 and M2 for connecting the line 2 are provided. The IFU 3 is provided with an insulating separation unit (not shown) including a photocoupler that is connected to the HA terminals C1, C2, M1, and M2 and electrically separates the controlled device A and a control unit 4 described later. .

運転制御信号は、HA端子C1,C2間に生じるパルス幅が200〜300msの電圧信号であって、被制御機器Aは、この運転制御信号を受ける度に2種類の動作状態が反転する。また、運転モニタ信号は、HA端子M1,M2間に生じる電圧信号であって、前記2種類の動作状態のうち一方の動作状態(JEM_A規格では運転状態)のときにHレベルになり、他方の動作状態(JEM_A規格では停止状態)のときにLレベルとなる。なお、運転モニタ信号はスタティック信号に限らず、HレベルとLレベルとを一定周期で繰り返すダイナミック信号であってもよい。   The operation control signal is a voltage signal having a pulse width of 200 to 300 ms generated between the HA terminals C1 and C2, and the controlled device A is inverted between two types of operation states each time the operation control signal is received. The operation monitor signal is a voltage signal generated between the HA terminals M1 and M2, and becomes H level in one of the two operation states (operation state in the JEM_A standard), and the other It becomes L level in the operation state (stopped state in JEM_A standard). The operation monitor signal is not limited to a static signal, and may be a dynamic signal that repeats an H level and an L level at a constant cycle.

制御コントローラ1はIFU3、制御部4の他に、制御部4に接続された書換可能なメモリ5を備えている。ここではさらに、インターネットに接続されたルータ6にホームバス7を介して接続されたインタフェース部8と、電子メールの内容を解析したり電子メールを作成したりする電子メール授受部9とを有しており、制御コントローラ1は、ルータ6およびルータ6が接続するインターネット上のメールサーバ(図示せず)を通じて通信端末(携帯電話機)10との間で電子メールを送受信可能に構成される。そして、通信端末10から制御コントローラ1に制御依頼となる電子メールが所定のフォーマットで送信されると、電子メール授受部9では当該電子メールの内容を解析し、制御部4は、この解析結果に基づいて運転制御信号により被制御機器Aの動作状態を制御する。通信端末10は、携帯電話機に限らずPHS端末やパーソナルコンピュータであってもよい。   In addition to the IFU 3 and the control unit 4, the control controller 1 includes a rewritable memory 5 connected to the control unit 4. Here, it further includes an interface unit 8 connected to a router 6 connected to the Internet via a home bus 7, and an e-mail sending / receiving unit 9 for analyzing the contents of e-mails and creating e-mails. The controller 1 is configured to be able to send and receive electronic mail to and from the communication terminal (mobile phone) 10 through the router 6 and a mail server (not shown) on the Internet to which the router 6 is connected. When an e-mail serving as a control request is transmitted from the communication terminal 10 to the control controller 1 in a predetermined format, the e-mail sending / receiving unit 9 analyzes the content of the e-mail, and the control unit 4 determines that the analysis result is Based on the operation control signal, the operation state of the controlled device A is controlled. The communication terminal 10 is not limited to a mobile phone and may be a PHS terminal or a personal computer.

通信端末10から電子メール授受部9への制御依頼としての電子メールは、たとえば、「エアコン運転開始(空調開始)」や「電気錠解錠(ドア開放)」というような所定のフォーマットに則ったテキスト形式の電子メールであり、それに応じて制御が実行された後に電子メール授受部9で作成され通信端末10へ配信される制御結果としての電子メールは、たとえば、「エアコン運転開始(空調開始)しました」や「電気錠解錠(ドア開放)しました」というような所定のフォーマットに則ったテキスト形式の電子メールである。ルータ6には電子メールのサーバ(図示せず)が内蔵されており、電子メール授受部9はサーバから定期的に電子メールを受信する。なお、制御コントローラ1のメモリ5には、制御コントローラ1を設置してある住宅の住人が契約しているインターネット接続事業者(ISP)より付与された電子メールのアドレス(メールアドレス)や、メールサーバのアドレス(IPアドレス)、メールサーバにアクセスするためのID(ユーザID)並びにパスワード等が記憶されている。   The e-mail as a control request from the communication terminal 10 to the e-mail sending / receiving unit 9 is in accordance with a predetermined format such as “start air conditioner operation (start air conditioning)” or “electric lock unlock (door open)”. An e-mail as a control result which is a text e-mail and is generated by the e-mail sending / receiving unit 9 after being controlled accordingly and distributed to the communication terminal 10 is, for example, “air conditioner operation start (air conditioning start) It is an e-mail in a text format according to a predetermined format such as “I have unlocked the electric lock (door opened)”. The router 6 has a built-in e-mail server (not shown), and the e-mail transfer unit 9 periodically receives e-mails from the server. The memory 5 of the control controller 1 includes an e-mail address (e-mail address) given by an Internet service provider (ISP) with which a resident of the house where the control controller 1 is installed contracts, a mail server Address (IP address), ID (user ID) for accessing the mail server, password and the like are stored.

本実施形態では電気錠を被制御機器Aとしており、この被制御機器Aは、制御コントローラ1からの運転制御信号を受けて施錠状態と解錠状態との2種類の動作状態が反転する。つまり、通信端末10から被制御機器Aの動作状態を指定する内容の電子メールを所定のフォーマットで制御コントローラ1に送信すれば、運転制御信号によって遠隔地からでも電気錠の施錠状態・解錠状態を交互に反転させることができる。また、通信端末10から被制御機器Aの動作状態を確認する内容の電子メールを所定のフォーマットで制御コントローラ1に送信すれば、運転モニタ信号によって遠隔地からでも電気錠の施錠状態・解錠状態を確認することができる。   In the present embodiment, an electric lock is used as the controlled device A, and the controlled device A receives an operation control signal from the controller 1 and reverses two types of operation states of a locked state and an unlocked state. In other words, if an email specifying the operation state of the controlled device A is transmitted from the communication terminal 10 to the controller 1 in a predetermined format, the lock / unlock state of the electric lock can be obtained from a remote location by the operation control signal. Can be reversed alternately. Further, if an e-mail indicating the operation state of the controlled device A is transmitted from the communication terminal 10 to the controller 1 in a predetermined format, the lock / unlock state of the electric lock can be obtained from a remote location by an operation monitor signal. Can be confirmed.

この電気錠において、運転制御信号の受信を開始してから反転後の動作状態が運転モニタ信号に反映されるまでに要する応答時間Trは、少なくとも施錠状態・解錠状態の切替に要する時間であって、JEM_A規格(JEM 1427規格)で規格化されたエアコン(JEMA標準HA対応ルームエアコン)の応答時間(350ms以下)よりも長い。   In this electric lock, the response time Tr required from when reception of the operation control signal is started until the inverted operation state is reflected in the operation monitor signal is at least the time required for switching between the locked state and the unlocked state. Thus, it is longer than the response time (350 ms or less) of an air conditioner (JEMA standard HA compatible room air conditioner) standardized by the JEM_A standard (JEM 1427 standard).

ところで、制御コントローラ1は、被制御機器Aの動作状態が正常に制御されたことを通信端末10で確認できるように、運転制御信号を送信してから所定時間経過後に、運転モニタ信号の示す動作状態と制御依頼の内容とが一致しているか否かを表す制御結果を通信端末10に返信する機能を有している。   By the way, the control controller 1 performs an operation indicated by the operation monitor signal after a predetermined time has elapsed since the operation control signal was transmitted so that the communication terminal 10 can confirm that the operation state of the controlled device A has been normally controlled. It has a function of returning a control result indicating whether or not the state and the content of the control request match to the communication terminal 10.

そのため、本実施形態の制御コントローラ1の制御部4は、運転制御信号の送信開始のタイミングで後述のモニタ時間Tmの時限を開始するタイマ手段(図示せず)を有し、タイマ手段がモニタ時間Tmをカウントアップした時点で運転モニタ信号を受信し、受信した運転モニタ信号に基づいて制御結果を判断する機能を備えている。   Therefore, the control unit 4 of the controller 1 of the present embodiment has timer means (not shown) for starting a time limit of a monitor time Tm described later at the timing of starting transmission of the operation control signal. An operation monitor signal is received when Tm is counted up, and a control result is determined based on the received operation monitor signal.

すなわち、制御コントローラ1が運転制御信号を送信開始した時点から運転モニタ信号を確認することにより被制御機器Aの動作状態を判断するまでの時間がモニタ時間Tmであるので、当該モニタ時間Tmが被制御機器Aの応答時間Trよりも短いと、制御部4は、運転制御信号による動作状態の反転が反映される前の運転モニタ信号から制御結果を判断することになり、誤った制御結果が得られることになる。したがって、モニタ時間Tmは、被制御機器Aの応答時間Tr以上とする必要がある。   That is, since the time from when the controller 1 starts transmitting the operation control signal until the operation state of the controlled device A is determined by checking the operation monitor signal is the monitor time Tm, the monitor time Tm is If the response time Tr of the control device A is shorter, the control unit 4 determines the control result from the operation monitor signal before the inversion of the operation state by the operation control signal is reflected, and an incorrect control result is obtained. Will be. Therefore, the monitoring time Tm needs to be equal to or longer than the response time Tr of the controlled device A.

そこで、背景技術として説明したJEM_A規格に準拠する制御コントローラ1では、350msに数msを加えた時間をモニタ時間Tmとしていたのに対して、本実施形態の制御コントローラ1では、モニタ時間Tmを制御部4で任意に設定可能な機能(モニタ時間設定手段)を設けてある。制御部4で設定されたモニタ時間Tmはメモリ5に記憶される。   Therefore, in the control controller 1 conforming to the JEM_A standard described as the background art, the time obtained by adding several ms to 350 ms is set as the monitor time Tm, whereas in the control controller 1 of the present embodiment, the monitor time Tm is controlled. A function (monitor time setting means) that can be arbitrarily set by the unit 4 is provided. The monitor time Tm set by the control unit 4 is stored in the memory 5.

ここで、制御部4で設定可能なモニタ時間Tmに上限値は規定していないが、下限値は350msと規定してある。そのため、本実施形態の制御コントローラ1は、モニタ時間Tmが350ms以上の範囲で設定されることになり、少なくともJEM_A規格に準拠する被制御機器A(応答時間Trが350ms以下)に対応する。一方、電気錠のように応答時間Trが350msよりも長い被制御機器Aに対応させるためには、この被制御機器Aの応答時間Trに数msを加えた時間をモニタ時間Tmとして設定すればよい。   Here, although the upper limit value is not defined for the monitor time Tm that can be set by the control unit 4, the lower limit value is defined as 350 ms. Therefore, the control controller 1 of the present embodiment is set in a range where the monitor time Tm is 350 ms or more, and corresponds to at least the controlled device A (response time Tr is 350 ms or less) conforming to the JEM_A standard. On the other hand, in order to correspond to the controlled device A having a response time Tr longer than 350 ms, such as an electric lock, the time obtained by adding several ms to the response time Tr of the controlled device A is set as the monitor time Tm. Good.

上述した構成によれば、制御コントローラ1のモニタ時間Tmは、制御部4により任意に設定することができるので、制御コントローラに接続する被制御機器Aの応答時間Tr以上となるようにモニタ時間Tmを設定することにより、JEM_A規格に準拠する被制御機器A(応答時間Trが350ms以下)のみならず、応答時間がJEM_A規格で定められた応答時間Trを超える被制御機器Aに関しても、モニタ時間Tmの終了時点で、運転制御信号による動作状態の反転が反映された運転モニタ信号から制御結果を判断することができ、正しい制御結果を得ることができる。   According to the configuration described above, the monitoring time Tm of the control controller 1 can be arbitrarily set by the control unit 4, and therefore the monitoring time Tm is set to be equal to or longer than the response time Tr of the controlled device A connected to the control controller. In addition to the controlled device A compliant with the JEM_A standard (response time Tr is 350 ms or less), the controlled time for the controlled device A whose response time exceeds the response time Tr defined by the JEM_A standard At the end of Tm, the control result can be determined from the operation monitor signal reflecting the inversion of the operation state by the operation control signal, and the correct control result can be obtained.

なお、本実施形態の制御コントローラ1は、メモリ5に記憶されたモニタ時間Tmが350ms以下の場合にモニタ時間Tmを350msに設定し直す機能を有しており、これにより、誤って入力された規定外(350ms未満)のモニタ時間Tmで動作することはない。   The controller 1 according to the present embodiment has a function of resetting the monitor time Tm to 350 ms when the monitor time Tm stored in the memory 5 is 350 ms or less. It does not operate with a monitor time Tm that is not specified (less than 350 ms).

また、制御部4は、電子メール授受部9で内容解析される電子メールの内容に従ってモニタ時間Tmを設定する構成を採用している。つまり、通信端末10から制御コントローラ1に対して、モニタ時間Tmを設定する内容の電子メールを所定のフォーマットで送信すれば、制御コントローラ1では、当該電子メールについて電子メール授受部9で内容を解析し、当該電子メールの内容に従って制御部4でモニタ時間Tmを設定する。   Further, the control unit 4 employs a configuration in which the monitor time Tm is set according to the contents of the e-mail whose contents are analyzed by the e-mail exchange unit 9. That is, if the communication terminal 10 transmits an e-mail with the content for setting the monitor time Tm to the control controller 1 in a predetermined format, the control controller 1 analyzes the content of the e-mail with the e-mail sending / receiving unit 9. Then, the control unit 4 sets the monitor time Tm according to the contents of the e-mail.

さらに、電子メール授受部9は、制御部4から制御結果を受けると、当該制御結果に基づく電子メールを所定のフォーマットで通信端末10に返信する。   Further, when receiving the control result from the control unit 4, the e-mail sending / receiving unit 9 returns an e-mail based on the control result to the communication terminal 10 in a predetermined format.

以下、本実施形態の制御コントローラ1の動作について、制御部4の動作を示す図2のフローチャート、および(a)に運転制御信号を示し(b)に運転モニタ信号を示す図3を参照して説明する。   Hereinafter, with respect to the operation of the controller 1 of the present embodiment, refer to the flowchart of FIG. 2 showing the operation of the control unit 4 and FIG. 3 (a) showing the operation control signal and (b) showing the operation monitor signal. explain.

制御部4は、通信端末10より送信されてきた制御依頼を電子メール授受部9(図中、「E−mail内容解析部」と記載)から受け付ける(S01)と、被制御機器Aからの運転モニタ信号を受信し、当該運転モニタ信号の示す動作状態と、上記制御依頼の表す動作状態とを比較する(S02)。運転モニタ信号の示す動作状態と制御依頼の内容とが一致していなければ(S02:Yes)、被制御機器Aに運転制御信号を出力する(S03)。逆に、運転モニタ信号の示す動作状態と制御依頼の内容とが一致していれば(S02:No)、被制御機器Aを改めて制御する必要はないので、被制御機器Aに運転制御信号を出力することなく、電子メール授受部9に返信する制御結果を得る(S11)。このとき得られる制御結果は、被制御機器Aの動作状態が正常に制御されたことを示す制御結果となる。   The control unit 4 receives the control request transmitted from the communication terminal 10 from the e-mail transfer unit 9 (described as “E-mail content analysis unit” in the figure) (S01), and operates from the controlled device A. The monitor signal is received, and the operation state indicated by the operation monitor signal is compared with the operation state indicated by the control request (S02). If the operation state indicated by the operation monitor signal does not match the content of the control request (S02: Yes), the operation control signal is output to the controlled device A (S03). On the contrary, if the operation state indicated by the operation monitor signal matches the content of the control request (S02: No), it is not necessary to control the controlled device A again, so that the operation control signal is sent to the controlled device A. A control result to be sent back to the electronic mail sending / receiving unit 9 is obtained without outputting (S11). The control result obtained at this time is a control result indicating that the operation state of the controlled device A is normally controlled.

運転制御信号の出力を開始すると、上述のように制御部4(モニタ時間設定手段)で予め設定されメモリ5に記憶されているモニタ時間Tmが350ms以下か否かを判断する(S04)。350ms以下であれば、モニタ時間Tmを350msに設定しタイマ手段でモニタ時間Tmの時限を開始し(S05)、350ms以下でなければモニタ時間Tmを変更することなくタイマ手段でモニタ時間Tmの時限を開始する(S06)。   When the output of the operation control signal is started, it is determined whether or not the monitor time Tm preset in the control unit 4 (monitor time setting means) and stored in the memory 5 is 350 ms or less (S04). If it is 350 ms or less, the monitor time Tm is set to 350 ms and the time limit of the monitor time Tm is started by the timer means (S05). If it is not 350 ms or less, the time limit of the monitor time Tm is set by the timer means without changing the monitor time Tm. Is started (S06).

その後、モニタ時間Tmをカウント中に、電子メール授受部9における新たに届いた電子メールの内容解析など、他の処理があれば別途実行させる(S08)。   After that, while the monitoring time Tm is being counted, if there is other processing such as analysis of the contents of the newly arrived e-mail in the e-mail sending / receiving unit 9, it is separately executed (S08).

モニタ時間Tmをカウントアップすると(S07:Yes)、制御部4は確認手段として、その時点での運転モニタ信号を被制御機器Aから受信し(S09)、当該運転モニタ信号で表される動作状態が制御依頼の内容に一致している(つまり所期の状態)か否かを判断し(S10)、一致していれば(S10:Yes)、電子メール授受部9に返信する制御結果を得る(S11)。このとき得られる制御結果は、被制御機器Aの動作状態が正常に制御されたことを示す制御結果となる。図3の1〜2回目の運転制御信号に対しては、被制御機器Aは、モニタ時間Tm以内に動作状態の反転を運転モニタ信号に反映させているので、制御コントローラ1は上述したステップS10:Yesの場合の動作となる。   When the monitor time Tm is counted up (S07: Yes), the control unit 4 receives the operation monitor signal at that time from the controlled device A as a confirmation means (S09), and the operation state represented by the operation monitor signal. Is matched with the contents of the control request (that is, the expected state) (S10), and if they match (S10: Yes), a control result to be sent back to the e-mail sending / receiving unit 9 is obtained. (S11). The control result obtained at this time is a control result indicating that the operation state of the controlled device A is normally controlled. For the first and second operation control signals in FIG. 3, the controlled device A reflects the inversion of the operation state in the operation monitor signal within the monitor time Tm. : Operation in the case of Yes.

逆に、被制御機器Aの動作状態が制御依頼の内容に一致していなければ(S10:No)、モニタ時間Tmのカウント中に、制御コントローラ1以外で被制御機器Aが操作される(たとえば被制御機器Aに設けられている操作スイッチが手操作される)ことにより動作状態が再度反転したものと判断し、動作状態は正常であるという情報と、運転モニタ信号は所期の状態にないという情報との少なくとも一方をメモリ5に記憶してから(S12)、電子メール授受部9に返信する制御結果を得る(S11)。このとき得られる制御結果は、制御コントローラ1以外で被制御機器Aが操作されることにより動作状態が再度反転したことを示す制御結果となる。図3の3回目の運転制御信号に対しては、被制御機器Aの動作状態が反転していないので、上述したステップS10:Noの場合の動作となる。   Conversely, if the operation state of the controlled device A does not match the content of the control request (S10: No), the controlled device A is operated by a device other than the controller 1 during the monitoring time Tm (for example, It is determined that the operation state is reversed again by operating the operation switch provided on the controlled device A), and the information indicating that the operation state is normal and the operation monitor signal are not in the expected state. Is stored in the memory 5 (S12), and a control result is sent back to the electronic mail sending / receiving unit 9 (S11). The control result obtained at this time is a control result indicating that the operation state is reversed again by operating the controlled device A other than the controller 1. With respect to the third operation control signal in FIG. 3, since the operation state of the controlled device A is not reversed, the operation is performed in the case of step S10: No described above.

なお、被制御機器Aの動作状態が制御依頼の内容に一致していない場合には、被制御機器Aが故障している可能性もあるが、被制御機器Aの故障を制御コントローラ1で判別することはできないので、本実施形態では被制御機器Aの故障は考慮しない設計としてある。   If the operation state of the controlled device A does not match the content of the control request, the controlled device A may be out of order, but the control controller 1 determines that the controlled device A has failed. Therefore, in this embodiment, the design is such that the failure of the controlled device A is not taken into consideration.

(実施形態2)
本実施形態の制御コントローラ1は、制御部4の構成および機能が実施形態1の制御コントローラ1とは相違する。その他の構成および機能は実施形態1と同様である。
(Embodiment 2)
The controller 1 of the present embodiment is different from the controller 1 of the first embodiment in the configuration and function of the control unit 4. Other configurations and functions are the same as those of the first embodiment.

すなわち、本実施形態では、モニタ時間Tmをカウントアップした時点で、制御部4で受信した運転モニタ信号で表される動作状態が制御依頼の内容に一致しない場合に、モニタ時間Tmを所定の再試行時間刻みで延長し制御部4(確認手段)に運転モニタ信号の確認を再度行わせる機能(再試行手段)を制御部4に有している。ここにおいて、実施形態1で説明したようにモニタ時間Tmを任意に設定可能とする機能(モニタ時間設定手段)は省略しており、予め決定された所定のモニタ時間Tmを、モニタ時間Tmの初期値、つまり延長前のモニタ時間Tmとして適用している。ここでは、JEM_A規格に準拠する被制御機器A(応答時間Trが350ms以下)に対応するように350msをモニタ時間Tmの初期値としている。   That is, in the present embodiment, when the monitor time Tm is counted up, and the operation state represented by the operation monitor signal received by the control unit 4 does not match the content of the control request, the monitor time Tm is set to a predetermined value. The control unit 4 has a function (retry unit) that extends in trial time increments and causes the control unit 4 (confirmation unit) to confirm the operation monitor signal again. Here, as described in the first embodiment, the function (monitor time setting means) that can arbitrarily set the monitor time Tm is omitted, and a predetermined monitor time Tm that is determined in advance is set to the initial value of the monitor time Tm. The value, that is, the monitoring time Tm before extension is applied. Here, 350 ms is set as the initial value of the monitor time Tm so as to correspond to the controlled device A (response time Tr is 350 ms or less) conforming to the JEM_A standard.

したがって、制御部4は、350msのモニタ時間Tmをカウントアップした時点で、被制御機器Aの動作状態を一旦確認するものの、この動作状態が所期の状態になっていなければ、つまり制御依頼の内容に一致していなければ、再試行時間間隔で運転モニタ信号の受信を繰り返すことになる。なお、ここでは再試行時間を50msとしており、再試行時間のカウントにも制御部4内のタイマ手段を使用している。   Therefore, the control unit 4 once confirms the operation state of the controlled device A when the monitor time Tm of 350 ms is counted up. However, if this operation state is not the intended state, that is, the control request is made. If they do not match, the operation monitor signal is repeatedly received at a retry time interval. Here, the retry time is set to 50 ms, and the timer means in the control unit 4 is also used for counting the retry time.

また、ここでは、少なくともモニタ時間Tmの初期値以上、且つ被制御機器Aの応答時間Tr以上の制限時間を設定する機能(制限時間設定手段)を制御部4に有し、制御部4は、運転制御信号の送信開始から制限時間が経過すると、運転モニタ信号の確認を中止する機能を有している。これにより、モニタ時間Tmのカウント中に制御コントローラ1以外で被制御機器Aが操作されることにより動作状態が再度反転した場合や制御エラーが発生した場合など、被制御機器Aの動作状態が制御依頼の内容に延々一致しない場合でも、制御部4による運転モニタ信号の受信が延々と繰り返されることはない。   Further, here, the control unit 4 has a function (time limit setting means) for setting a time limit that is at least the initial value of the monitor time Tm and the response time Tr of the controlled device A, and the control unit 4 When the time limit has elapsed since the start of transmission of the operation control signal, it has a function of canceling the confirmation of the operation monitor signal. As a result, the operation state of the controlled device A is controlled when the controlled device A is operated other than the controller 1 during the monitoring time Tm and the operation state is reversed again or when a control error occurs. Even if it does not coincide with the content of the request, the reception of the operation monitor signal by the control unit 4 is not repeated endlessly.

さらに、被制御機器Aの動作状態が制御依頼の内容に延々一致しない場合に、制御部4による運転モニタ信号の受信を早期に中止し、制御部4での無駄な処理を省くため、制限時間を被制御機器Aの応答時間Trに近い時間に設定することが最適である。そのため、本実施形態では以下の構成を採用している。   Further, when the operation state of the controlled device A does not coincide with the content of the control request, the time limit is set to stop the reception of the operation monitor signal by the control unit 4 at an early stage and to eliminate useless processing in the control unit 4. Is optimally set to a time close to the response time Tr of the controlled device A. Therefore, the following configuration is adopted in the present embodiment.

すなわち、制御部4は、運転制御信号の送信開始時点から制御依頼の内容に一致する動作状態が得られるまでに要した時間を実測時間としてメモリ5に記憶する機能(実測手段)を有し、メモリ5に記憶された実測時間を上述の制限時間として設定するように構成される。これにより、一度でも制御コントローラ1によって被制御機器Aの動作状態を反転させる制御を行えば、当該被制御機器Aの応答時間Trに近似の実測時間がメモリ5に記憶されることになる。   That is, the control unit 4 has a function (measurement means) for storing, in the memory 5 as an actual measurement time, a time required from the start of transmission of the operation control signal until an operation state matching the content of the control request is obtained. The actual measurement time stored in the memory 5 is configured to be set as the above-mentioned time limit. As a result, if the control controller 1 performs the control to invert the operation state of the controlled device A even once, the measured time approximate to the response time Tr of the controlled device A is stored in the memory 5.

しかも、制御部4は、被制御機器Aの動作状態を一方(解錠状態)から他方(施錠状態)に反転するときに要した実測時間をオン時間(第1の実測時間)とし、他方(施錠状態)から一方(解錠状態)に反転するときに要した実測時間をオフ時間(第2の実測時間)としてメモリ5に別々に記憶する。さらに制御部4は、被制御機器Aの動作状態を一方から他方に反転させるときにはオン時間を制限時間に設定し、他方から一方に反転させるときにはオフ時間を制限時間に設定する。これにより、動作状態を一方から他方に反転するときの応答時間(Tr_ON)と、動作状態を他方から一方に反転するときの応答時間(Tr_OFF)とが異なる被制御機器Aであっても、最適な制限時間を設定することができる。   Moreover, the control unit 4 sets the actual measurement time required to reverse the operation state of the controlled device A from one (unlocked state) to the other (locked state) as the on-time (first actual measurement time), and the other ( The actual measurement time required when reversing from the locked state to the one (unlocked state) is separately stored in the memory 5 as the off time (second actual measurement time). Further, the control unit 4 sets the on-time to the time limit when reversing the operation state of the controlled device A from one to the other, and sets the off-time to the time limit when reversing from the other to the other. As a result, even if the controlled device A has a different response time (Tr_ON) when the operation state is reversed from one to the other and a response time (Tr_OFF) when the operation state is reversed from the other to the other, it is optimal. Time limit can be set.

上述の制御コントローラ1の動作について、制御部4の動作を示す図4のフローチャート、および(a)に運転制御信号を示し(b)に運転モニタ信号を示す図5を参照して以下に説明する。なお、図5では、オン時間を「Tm_ON」、オフ時間を「Tm_OFF」で表す。以下では、実施形態1と同じ符号を付したステップは実施形態1と同様であるから適宜説明を省略する。   The operation of the controller 1 described above will be described below with reference to the flowchart of FIG. 4 showing the operation of the control unit 4 and FIG. 5 (a) showing the operation control signal and (b) showing the operation monitor signal. . In FIG. 5, the on time is represented by “Tm_ON” and the off time is represented by “Tm_OFF”. In the following, since the steps denoted by the same reference numerals as those in the first embodiment are the same as those in the first embodiment, description thereof will be omitted as appropriate.

本実施形態では、運転制御信号を出力した(S03)後、モニタ時間Tmを350msに設定しタイマ手段でモニタ時間Tmの時限を開始する(S05)。   In this embodiment, after outputting the operation control signal (S03), the monitor time Tm is set to 350 ms, and the time limit of the monitor time Tm is started by the timer means (S05).

そして、モニタ時間Tmをカウントアップする(S07:Yes)と、制御部4は確認手段として、その時点での運転モニタ信号を被制御機器Aから受信し(S09)、当該運転モニタ信号で表される動作状態が制御依頼の内容に一致している(つまり所期の状態)か否かを判断し(S10)、一致していなければ(S10:No)、再試行時間を50msに設定してタイマ手段で再試行時間の時限を開始する(S20)。   Then, when the monitor time Tm is counted up (S07: Yes), the control unit 4 receives the operation monitor signal at that time from the controlled device A as a confirmation means (S09), and is represented by the operation monitor signal. It is determined whether or not the operation state to be matched with the content of the control request (that is, the expected state) (S10), and if not (S10: No), the retry time is set to 50 ms. The timer means starts a retry time limit (S20).

その後、再試行時間をカウント中に、電子メール授受部9における新たに届いた電子メールの内容解析など、他の処理があれば別途実行させる(S22)。   Thereafter, while the retry time is being counted, if there is other processing such as analysis of the contents of the newly arrived e-mail in the e-mail sending / receiving unit 9, it is separately executed (S22).

再試行時間をカウントアップすると(S21:Yes)、その時点での運転モニタ信号を被制御機器Aから受信し(S23)、当該運転モニタ信号で表される動作状態が制御依頼の内容に一致している(つまり所期の状態)か否かを判断する(S24)。ここで、運転モニタ信号を再受信させる処理が再試行手段の機能に相当する。一致していなければ(S24:No)、制限時間が経過したか否かを判断する(制限時間設定手段)。   When the retry time is counted up (S21: Yes), the operation monitor signal at that time is received from the controlled device A (S23), and the operation state represented by the operation monitor signal matches the content of the control request. It is determined whether it is (that is, the expected state) (S24). Here, the process of re-receiving the operation monitor signal corresponds to the function of the retry means. If they do not match (S24: No), it is determined whether or not the time limit has elapsed (time limit setting means).

制限時間は、カウンタ値Nの上限値N1,N2によって決定されており(S25、S26)、モニタ時間(350ms)+カウンタ値Nの上限(N1あるいはN2)×再試行時間(50ms)で表される。なお図5において、被制御機器Aの動作状態を一方から他方に反転する際の制限時間(Tm_ON_MAX)を決定するカウンタ値Nの上限N1と、被制御機器Aの動作状態を他方から一方に反転する際の制限時間(Tm_OFF_MAX)を決定するカウンタ値Nの上限N2とはメモリ5に個別に記憶される。   The time limit is determined by the upper limit values N1 and N2 of the counter value N (S25, S26), and is represented by the monitor time (350 ms) + the upper limit of the counter value N (N1 or N2) × retry time (50 ms). The In FIG. 5, the upper limit N1 of the counter value N for determining the time limit (Tm_ON_MAX) for reversing the operation state of the controlled device A from one to the other, and the operation state of the controlled device A reversed from the other to one. The upper limit N2 of the counter value N that determines the time limit (Tm_OFF_MAX) for the process is stored individually in the memory 5.

制限時間が経過していなければ(S26:No)、ステップS20に戻り、再試行時間後に再度、運転モニタ信号を受信する(S23)。ステップS20〜ステップS26の処理を何度か繰り返し、動作状態が制御依頼の内容に一致することなく制限時間が経過すると(S26:Yes)、ステップS12に移行する。   If the time limit has not elapsed (S26: No), the process returns to step S20, and the operation monitor signal is received again after the retry time (S23). If the process of step S20 to step S26 is repeated several times and the time limit elapses without the operation state matching the content of the control request (S26: Yes), the process proceeds to step S12.

また、ステップS10で動作状態が制御依頼の内容に一致していると(S10:Yes)、モニタ時間Tmの初期値(350ms)が実測時間となるから、制限時間をモニタ時間Tm(350ms)に更新する(つまり、N1あるいはN2を0に更新する)。この処理が実測手段の機能に相当する。それから、電子メール授受部9に返信する制御結果を得る(S11)。このとき得られる制御結果は、被制御機器Aの動作状態が正常に制御されたことを示す制御結果となる。   If the operation state matches the content of the control request in step S10 (S10: Yes), the initial value (350 ms) of the monitoring time Tm becomes the actual measurement time, so the time limit is set to the monitoring time Tm (350 ms). Update (that is, update N1 or N2 to 0). This process corresponds to the function of the actual measurement means. Then, a control result returned to the electronic mail sending / receiving unit 9 is obtained (S11). The control result obtained at this time is a control result indicating that the operation state of the controlled device A is normally controlled.

一方、ステップS24で動作状態が制御依頼の内容に一致していると(S24:Yes)、タイマ手段をリセットせずに停止し、そのときの実測時間に制限時間を更新する(図5の例では、N1を3に更新しN2を4に更新する)。この処理が、実測手段の機能に相当する。それから、電子メール授受部9に返信する制御結果を得る(S11)。このとき得られる制御結果は、被制御機器Aの動作状態が正常に制御されたことを示す制御結果となる。   On the other hand, if the operation state matches the content of the control request in step S24 (S24: Yes), the timer means is stopped without being reset, and the time limit is updated to the actual measurement time at that time (example in FIG. 5). Then, N1 is updated to 3 and N2 is updated to 4.) This process corresponds to the function of the actual measurement means. Then, a control result returned to the electronic mail sending / receiving unit 9 is obtained (S11). The control result obtained at this time is a control result indicating that the operation state of the controlled device A is normally controlled.

(実施形態3)
本実施形態の制御コントローラ1は、図6に示すように、被制御機器Aに接続線2を介して接続されるIFU3を複数個有することにより複数台の被制御機器A1〜Akを制御対象としている点が実施形態1,2の制御コントローラ1とは相違する。その他の構成および機能は実施形態1ないし実施形態2の制御コントローラ1と同様である。
(Embodiment 3)
As shown in FIG. 6, the controller 1 of the present embodiment includes a plurality of IFUs 3 connected to the controlled device A via the connection line 2, thereby controlling a plurality of controlled devices A1 to Ak as control targets. This is different from the controller 1 of the first and second embodiments. Other configurations and functions are the same as those of the controller 1 of the first or second embodiment.

制御部4は、複数台の被制御機器A1〜Akから運転モニタ信号を個別に受信し、この運転モニタ信号に基づいて各被制御機器A1〜Akが正常に制御されたか否かをそれぞれ制御結果として個別に判断する機能を有する。   The control unit 4 individually receives operation monitor signals from the plurality of controlled devices A1 to Ak, and determines whether each controlled device A1 to Ak is normally controlled based on the operation monitor signals. As a separate function.

さらに、制御部4は図7に示す複数ビットのフラグレジスタを制御状況フラグとして有しており、各ビットをそれぞれ被制御機器Aに対応付けてある。ここでは、各ビットの論理値が1のとき、対応する被制御機器Aについて動作状態が正常に制御された旨の制御結果が得られたことを表し、各ビットの論理値が0のとき、対応する被制御機器Aについて動作状態が正常に制御された旨の制御結果が得られていないことを表す。すなわち、図7の例では、被制御機器A2については正常に制御された旨の制御結果が得られ、その他の被制御機器A1,A3については正常に制御された旨の制御結果が得られていない状態を表している。   Further, the control unit 4 has a multi-bit flag register shown in FIG. 7 as a control status flag, and each bit is associated with the controlled device A. Here, when the logical value of each bit is 1, it represents that a control result indicating that the operation state is normally controlled for the corresponding controlled device A is obtained. When the logical value of each bit is 0, This indicates that a control result indicating that the operation state of the corresponding controlled device A is normally controlled is not obtained. That is, in the example of FIG. 7, a control result indicating that the controlled device A2 is normally controlled is obtained, and a control result indicating that the other controlled devices A1 and A3 are normally controlled is obtained. Represents no state.

上述の制御コントローラ1の動作について、制御部4の動作を示す図8のフローチャートを参照して以下に説明する。ここでは、複数台の被制御機器A1〜Akの全てについて個々の動作状態を示す制御依頼(電子メール)を通信端末10から受信するものとする。   The operation of the above-described controller 1 will be described below with reference to the flowchart of FIG. Here, it is assumed that a control request (e-mail) indicating individual operation states is received from the communication terminal 10 for all of the plurality of controlled devices A1 to Ak.

制御部4は、通信端末10より送信されてきた制御依頼を電子メール授受部9から受け付ける(S01)と、実施形態1と実施形態2とのいずれか一方のステップS02〜ステップS11までの処理を1回実行する(S30)。このとき、1台の被制御機器A1について制御結果が得られると(S31:Yes)、その制御結果が、当初所望した通りの制御結果であるか否か、つまり被制御機器A1の動作状態が正常に制御された旨の制御結果であるか否かを判断する(S32)。ここで、正常に制御された旨の制御結果であれば(S32:Yes)、制御状況フラグにおいてこの被制御機器A1に対応するビットを1にする(S33)。一方、正常に制御された旨の制御結果でなければ(S32:No)、制御状況フラグにおいてこの被制御機器A1に対応するビットを0にする(S34)。   When the control unit 4 receives the control request transmitted from the communication terminal 10 from the e-mail sending / receiving unit 9 (S01), the control unit 4 performs the process from step S02 to step S11 in any one of the first and second embodiments. Execute once (S30). At this time, when the control result is obtained for one controlled device A1 (S31: Yes), whether or not the control result is the control result as originally desired, that is, the operation state of the controlled device A1 is determined. It is determined whether or not the control result indicates that the control is normally performed (S32). Here, if the control result indicates that the control is normal (S32: Yes), the bit corresponding to the controlled device A1 is set to 1 in the control status flag (S33). On the other hand, if the control result does not indicate that the control is normal (S32: No), the bit corresponding to the controlled device A1 is set to 0 in the control status flag (S34).

その後、制御状況フラグの全ビットが1であるか否かを判断し(S35)、1ビットでも0があれば(S35:No)、ステップS30に戻る。つまり、制御依頼で示された制御が全て完了しない限り、ステップS30〜S35の処理を繰り返すことになる。なお、制御状況フラグの全ビットが1になったか否かは、制御状況フラグをインクリメントするとキャリー(桁あふれ)が発生するか否かによって判断できる。   Thereafter, it is determined whether or not all the bits of the control status flag are 1 (S35), and if even 1 bit is 0 (S35: No), the process returns to step S30. That is, unless all the control indicated by the control request is completed, the processes in steps S30 to S35 are repeated. Whether or not all the bits of the control status flag are 1 can be determined by whether or not a carry (digit overflow) occurs when the control status flag is incremented.

制御状況フラグの全ビットが1になると(S35:Yes)、制御部4は、全ての制御が正常に完了したことを示す全完了信号として所定のフォーマットに則ったテキスト形式の電子メールを電子メール授受部9からルータ6に返信させる(S36)。通信端末10は、全ての制御が正常に完了したことを示す上記電子メールをルータ6およびインターネット上のメールサーバを通じて制御コントローラ1から受信する。   When all the bits of the control status flag become 1 (S35: Yes), the control unit 4 sends an e-mail in a text format conforming to a predetermined format as an all-completion signal indicating that all the controls have been normally completed. The sending / receiving unit 9 sends a reply to the router 6 (S36). The communication terminal 10 receives from the control controller 1 through the router 6 and a mail server on the Internet, the electronic mail indicating that all controls have been normally completed.

上述した構成によれば、図9に示すように、応答時間Tr1,Tr2が異なる複数台の被制御機器A1〜Akに対して、通信端末10から制御依頼を電子メールで一括して送信すると、これら複数台の被制御機器A1〜Akの全ての制御が完了した時点で、全ての被制御機器A1〜Akの制御が正常に完了したことを1回の電子メールで一括して通信端末10に返信することができる。図9では、1台の被制御機器A1に接続されたIFU3について、(a)に運転制御信号(b)に運転モニタ信号を示し、他の1台の被制御機器A2に接続されたIFU3について、(c)に運転制御信号(d)に運転モニタ信号を示す。   According to the configuration described above, as shown in FIG. 9, when a control request is collectively transmitted from the communication terminal 10 by e-mail to a plurality of controlled devices A1 to Ak having different response times Tr1 and Tr2, At the time when all the control of the plurality of controlled devices A1 to Ak is completed, the fact that the control of all the controlled devices A1 to Ak is normally completed is collectively sent to the communication terminal 10 by one e-mail. You can reply. In FIG. 9, with respect to the IFU 3 connected to one controlled device A1, (a) shows the operation monitor signal in the operation control signal (b), and IFU 3 connected to the other controlled device A2. (C) shows the operation monitor signal in the operation control signal (d).

また、図9(b)に破線で示すように、被制御機器A1について制御依頼の通りの制御結果が一旦得られたものの、全ての被制御機器A1〜Akの制御が完了するまでの期間に、この被制御機器A1が制御コントローラ1以外で操作され、当該被制御機器A1の動作状態が再度反転することもある。このような場合を考慮し、制御コントローラ1に、全ての制御が完了したという情報と共に、全ての制御が完了した時点での各被制御機器A1〜Akの動作状態を示す情報を通信端末10に知らせる機能を付与してもよい。   In addition, as indicated by the broken line in FIG. 9B, the control result for the controlled device A1 is obtained once as requested, but in the period until the control of all the controlled devices A1 to Ak is completed. The controlled device A1 may be operated by a device other than the controller 1, and the operating state of the controlled device A1 may be reversed again. In consideration of such a case, information indicating the operation state of each controlled device A1 to Ak at the time when all the controls are completed is transmitted to the communication terminal 10 together with information that all the controls are completed. You may give the function to notify.

この構成では、制御コントローラ1の制御部4は、図10のフローチャートに示すように、制御状況フラグの全ビットが1になると(S35:Yes)、改めて複数台の被制御機器A1〜Akの全てについて個々の運転モニタ信号を一斉に受信し(S37)、受信した運転モニタ信号に基づいて各被制御機器A1〜Akの動作状態の情報を記憶する(S38)。   In this configuration, as shown in the flowchart of FIG. 10, when all the bits of the control status flag become 1 (S35: Yes), the control unit 4 of the controller 1 revisits all of the plurality of controlled devices A1 to Ak. The individual operation monitor signals are simultaneously received for (S37), and the information on the operation states of the controlled devices A1 to Ak is stored based on the received operation monitor signals (S38).

それから、制御部4は、全ての制御が正常に完了したことと、全ての制御が完了した時点での各被制御機器A1〜Akの動作状態との2つの情報を内容とするテキスト形式の電子メールを所定のフォーマットで電子メール授受部9からルータ6に返信させる(S39)。ここで返信される電子メールはたとえば、「所期のご要求どおり宅内制御が全て完了しました。なお、現状の制御状況は、・・・となっております。」という内容とする。   Then, the control unit 4 is a text-format electronic that contains two pieces of information, that is, all the controls have been normally completed and the operation state of each controlled device A1 to Ak when all the controls have been completed. The mail is returned from the electronic mail sending / receiving unit 9 to the router 6 in a predetermined format (S39). The e-mail sent back here has, for example, the content “All in-home control has been completed as requested. The current control status is ...”.

さらにまた、制御コントローラ1は、個々の被制御機器A1〜Akの制御が正常に完了する都度、個別に、制御が正常に完了したことを示すテキスト形式の電子メール(個別完了信号)を通信端末10に返信するように構成されていてもよい。この構成は、応答時間Trが大きく異なる複数台の被制御機器A1〜Akを同時に制御する場合に特に有用である。   Furthermore, each time the control of each of the controlled devices A1 to Ak is normally completed, the control controller 1 individually sends a text-format electronic mail (individual completion signal) indicating that the control has been normally completed. 10 may be configured to reply. This configuration is particularly useful when simultaneously controlling a plurality of controlled devices A1 to Ak having greatly different response times Tr.

このように構成された制御コントローラ1の制御部4は、図11のフローチャートに示すように、通信端末10より送信されてきた制御依頼を電子メール授受部9から受け付ける(S01)と、実施形態1と実施形態2とのいずれか一方のステップS02〜ステップS11までの処理を複数台の被制御機器A1〜Akの全てについて同時に各1回ずつ実行する(S30’)。そして、1台の被制御機器A1について得られた制御結果が正常に制御された旨の制御結果であれば(S32:Yes)、制御状況フラグにおいてこの被制御機器A1に対応するビットを1にし(S33)、この被制御機器A1に関する制御が正常に完了したことを示す内容の電子メールを所定のフォーマットで電子メール授受部9からルータ6に返信させる(S40)。   When the control unit 4 of the controller 1 configured as described above receives a control request transmitted from the communication terminal 10 from the electronic mail transfer unit 9 as illustrated in the flowchart of FIG. And the process from step S02 to step S11 of the second embodiment is executed once for each of the plurality of controlled devices A1 to Ak (S30 ′). If the control result obtained for one controlled device A1 is a control result indicating that the control is successful (S32: Yes), the bit corresponding to the controlled device A1 is set to 1 in the control status flag. (S33) An e-mail having a content indicating that the control related to the controlled device A1 is normally completed is returned from the e-mail sending / receiving unit 9 to the router 6 in a predetermined format (S40).

その後、制御状況フラグの全ビットが1であるか否かを判断し(S35)、1ビットでも0があれば(S35:No)、制御未完了の被制御機器A1〜Akについて、実施形態1あるいは実施形態2で説明したタイミングで運転モニタ信号を受信し(S41)、ステップS31〜ステップS35の処理を繰り返す。   Thereafter, it is determined whether or not all the bits of the control status flag are 1 (S35), and if even 1 bit is 0 (S35: No), the controlled devices A1 to Ak that have not been controlled are in the first embodiment. Or an operation | movement monitor signal is received at the timing demonstrated in Embodiment 2 (S41), and the process of step S31-step S35 is repeated.

そして、制御状況フラグの全ビットが1になると(S35:Yes)、制御部4は、全ての制御が正常に完了したことを示す内容の電子メールを所定のフォーマットで電子メール授受部9からルータ6に返信させる(S42)。なお、制御コントローラ1は、制御が完了していない被制御機器A1〜Akが1台となった後に、ステップS40で送信される制御が正常に完了したことを示す電子メールで、全ての制御が正常に完了したことの通知を兼ねてもよく、この場合には、ステップS42を省略することができる。   When all the bits of the control status flag become 1 (S35: Yes), the control unit 4 sends an e-mail having contents indicating that all the controls are normally completed from the e-mail sending / receiving unit 9 to the router in a predetermined format. 6 is returned (S42). The control controller 1 is an e-mail indicating that the control transmitted in step S40 has been completed normally after the number of controlled devices A1 to Ak that have not been controlled is one. It may also serve as a notification of normal completion. In this case, step S42 can be omitted.

本発明の実施形態1の構成を示すブロック図である。It is a block diagram which shows the structure of Embodiment 1 of this invention. 同上の制御部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a control part same as the above. 同上の動作を示すタイムチャートである。It is a time chart which shows operation | movement same as the above. 本発明の実施形態2の制御部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the control part of Embodiment 2 of this invention. 同上の動作を示すタイムチャートである。It is a time chart which shows operation | movement same as the above. 本発明の実施形態3の構成を示すブロック図である。It is a block diagram which shows the structure of Embodiment 3 of this invention. 同上の制御状況フラグの構成を示す概略図である。It is the schematic which shows the structure of a control status flag same as the above. 同上の制御部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a control part same as the above. 同上の動作を示すタイムチャートである。It is a time chart which shows operation | movement same as the above. 同上の他の構成の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the other structure same as the above. 同上のさらに他の構成の動作を示すフローチャートである。It is a flowchart which shows operation | movement of another structure same as the above. 従来例を示すブロック図である。It is a block diagram which shows a prior art example. 同上の動作を示すタイムチャートである。It is a time chart which shows operation | movement same as the above.

符号の説明Explanation of symbols

1 制御コントローラ
4 制御部
A,A1〜Ak 被制御機器
Tm モニタ時間
1 Control Controller 4 Control Unit A, A1 to Ak Controlled device Tm Monitor time

Claims (5)

被制御機器に運転制御信号を送信するごとに被制御機器の2種類の動作状態を交互に反転させるとともに、被制御機器の動作状態を示す運転モニタ信号を被制御機器から受信する制御部を備え、制御部は、運転モニタ信号をモニタするためのモニタ時間の時限を運転制御信号の送信開始時点から開始するタイマ手段と、タイマ手段がモニタ時間を時限し終えた時点で運転モニタ信号を受信し当該運転モニタ信号に基づいて被制御機器が正常に制御されたか否かを制御結果として判断する確認手段と、予め決められている下限値以上の範囲で前記モニタ時間を任意に設定可能なモニタ時間設定手段とを有し、
前記確認手段は、複数台の前記被制御機器から前記運転モニタ信号を個別に受信し当該運転モニタ信号に基づいて各被制御機器が正常に制御されたか否かをそれぞれ制御結果として判断する機能を有し、前記制御部は、複数台の被制御機器に対して前記運転制御信号を一斉に送信し、当該複数台の被制御機器の全てについて正常に制御されたことを示す制御結果が確認手段で得られると、当該複数台の被制御機器の全てについて個々の運転モニタ信号を一斉に再受信し、当該複数台の被制御機器の全ての制御が正常に完了したことを示す全完了信号と、全ての制御が完了した時点での各被制御機器の動作状態を示す情報とを出力することを特徴とする制御コントローラ。
Each time an operation control signal is transmitted to the controlled device, a control unit that alternately reverses two types of operation states of the controlled device and receives an operation monitor signal indicating the operation state of the controlled device from the controlled device is provided. The control unit receives the operation monitor signal at the time when the timer unit starts the time limit of the monitoring time for monitoring the operation monitor signal, and when the timer unit finishes the time limit of the monitor time. Confirmation means for judging whether or not the controlled device is normally controlled based on the operation monitor signal, and a monitor time in which the monitor time can be arbitrarily set within a predetermined lower limit value or more have a setting means,
The confirmation means has a function of individually receiving the operation monitor signals from a plurality of the controlled devices and determining, as control results, whether or not each controlled device is normally controlled based on the operation monitor signals. The control unit transmits the operation control signal to a plurality of controlled devices all at once, and a control result indicating that all of the plurality of controlled devices are normally controlled is a confirmation unit. When all of the plurality of controlled devices are simultaneously received, the individual operation monitor signals are re-received all at once, and all the completion signals indicating that all the control of the plurality of controlled devices are normally completed And a controller that outputs information indicating an operation state of each controlled device when all the controls are completed .
被制御機器に運転制御信号を送信するごとに被制御機器の2種類の動作状態を交互に反転させるとともに、被制御機器の動作状態を示す運転モニタ信号を被制御機器から受信する制御部を備え、制御部は、運転モニタ信号をモニタするため予め決められているモニタ時間の時限を運転制御信号の送信開始時点から開始するタイマ手段と、タイマ手段がモニタ時間を時限し終えた時点で運転モニタ信号を受信し当該運転モニタ信号に基づいて被制御機器が正常に制御されたか否かを制御結果として判断する確認手段と、被制御機器が正常に制御されたことを示す制御結果が確認手段で得られない場合に、モニタ時間を所定の再試行時間刻みで延長し確認手段に運転モニタ信号の受信を再度行わせる再試行手段と、前記運転制御信号の送信開始時点から前記被制御機器が正常に制御されたことを示す制御結果が前記確認手段で得られるまでに要した時間を実測時間として保持する実測手段と、実測時間に基づいて制限時間を設定する制限時間設定手段とを有し、
前記再試行手段は、前記運転制御信号の送信開始時点から制限時間が経過すると前記確認手段に前記運転モニタ信号の受信を行わせる処理を中止することを特徴とする制御コントローラ。
Each time an operation control signal is transmitted to the controlled device, a control unit that alternately reverses two types of operation states of the controlled device and receives an operation monitor signal indicating the operation state of the controlled device from the controlled device is provided. The control unit includes a timer unit that starts a predetermined time period for monitoring the operation monitor signal from the start of transmission of the operation control signal, and an operation monitor when the timer unit finishes timing the monitor time. A confirmation means for receiving a signal and judging whether or not the controlled device is normally controlled based on the operation monitor signal; and a confirmation result indicating that the controlled device is normally controlled by the confirmation means. if not obtained, the retry means for causing the reception of the operation monitor signal confirmation means extending the monitor time increments predetermined retry time again, the transmission start time of the operation control signal From the actual measurement means for holding the time required until the control means indicating that the controlled device is normally controlled by the confirmation means as the actual measurement time, and the time limit for setting the time limit based on the actual measurement time have a setting means,
The retry means stops processing for causing the confirmation means to receive the operation monitor signal when a time limit elapses from the transmission start time of the operation control signal .
前記実測手段は、前記被制御機器の動作状態を一方から他方に反転させた際に要した実測時間を第1の実測時間として保持し、被制御機器の動作状態を前記他方から前記一方に反転させた際に要した実測時間を第2の実測時間として保持し、前記制限時間設定手段は、被制御機器の動作状態を前記一方から前記他方に反転させる際には第1の実測時間に基づいて前記制限時間を設定し、被制御機器の動作状態を前記他方から前記一方に反転させる際には第2の実測時間に基づいて制限時間を設定することを特徴とする請求項2記載の制御コントローラ。 The actual measurement means holds the actual measurement time required when the operation state of the controlled device is reversed from one to the other as the first actual measurement time, and the operation state of the controlled device is reversed from the other to the one. The actual measurement time required at the time of the operation is held as a second actual measurement time, and the time limit setting means is based on the first actual measurement time when the operating state of the controlled device is reversed from the one to the other. 3. The control according to claim 2, wherein the time limit is set, and the time limit is set based on a second actually measured time when the operation state of the controlled device is reversed from the other to the one. controller. 前記確認手段は、複数台の前記被制御機器から前記運転モニタ信号を個別に受信し当該運転モニタ信号に基づいて各被制御機器が正常に制御されたか否かをそれぞれ制御結果として判断する機能を有し、前記制御部は、複数台の被制御機器に対して前記運転制御信号を一斉に送信し、当該複数台の被制御機器の全てについて正常に制御されたことを示す制御結果が確認手段で得られると、当該複数台の被制御機器の全ての制御が正常に完了したことを示す全完了信号を出力することを特徴とする請求項2または請求項3に記載の制御コントローラ。 The confirmation means has a function of individually receiving the operation monitor signals from a plurality of the controlled devices and determining, as control results, whether or not each controlled device is normally controlled based on the operation monitor signals. The control unit transmits the operation control signal to a plurality of controlled devices all at once, and a control result indicating that all of the plurality of controlled devices are normally controlled is a confirmation unit. 4. The control controller according to claim 2 , wherein the control controller outputs a complete signal indicating that all control of the plurality of controlled devices is normally completed . 前記確認手段は、複数台の前記被制御機器から前記運転モニタ信号を個別に受信し当該運転モニタ信号に基づいて各被制御機器が正常に制御されたか否かをそれぞれ制御結果として判断する機能を有し、前記制御部は、複数台の被制御機器に対して前記運転制御信号を一斉に送信し、個々の被制御機器について正常に制御されたことを示す制御結果が確認手段で得られるごとに、当該被制御機器の制御が正常に完了したことを示す個別完了信号を出力することを特徴とする請求項2または請求項3に記載の制御コントローラ。 The confirmation means has a function of individually receiving the operation monitor signals from a plurality of the controlled devices and determining, as control results, whether or not each controlled device is normally controlled based on the operation monitor signals. The control unit transmits the operation control signal to a plurality of controlled devices all at once, and each time the control result indicating that the controlled devices are normally controlled is obtained by the confirmation unit , the control controller according to claim 2 or claim 3 and outputs an individual completion signal indicating that the control of the controlled device is completed successfully.
JP2006174421A 2006-06-23 2006-06-23 Controller Expired - Fee Related JP4848858B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006174421A JP4848858B2 (en) 2006-06-23 2006-06-23 Controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006174421A JP4848858B2 (en) 2006-06-23 2006-06-23 Controller

Publications (2)

Publication Number Publication Date
JP2008005342A JP2008005342A (en) 2008-01-10
JP4848858B2 true JP4848858B2 (en) 2011-12-28

Family

ID=39009339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006174421A Expired - Fee Related JP4848858B2 (en) 2006-06-23 2006-06-23 Controller

Country Status (1)

Country Link
JP (1) JP4848858B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009188824A (en) * 2008-02-07 2009-08-20 Hitachi Industrial Equipment Systems Co Ltd Programmable controller and monitoring device used therefor
JP6205905B2 (en) * 2013-06-28 2017-10-04 東芝ライテック株式会社 Control apparatus and control method
JP6201849B2 (en) * 2014-03-24 2017-09-27 東芝ライテック株式会社 COMMUNICATION DEVICE AND OPERATION METHOD OF THE COMMUNICATION DEVICE
JP7377724B2 (en) * 2020-01-21 2023-11-10 リンナイ株式会社 bath system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2530686B2 (en) * 1988-04-28 1996-09-04 株式会社日立製作所 Broadcast response confirmation method
JPH02217099A (en) * 1989-02-17 1990-08-29 Mitsubishi Electric Corp Load controller
JPH0836443A (en) * 1994-07-25 1996-02-06 Fujitsu Ltd Power-on control method and information processing apparatus
JPH0918545A (en) * 1995-06-30 1997-01-17 Nec Corp Response wait time setting device
JP2002044752A (en) * 2000-07-28 2002-02-08 Yazaki Corp Home control system
JP4422569B2 (en) * 2004-07-21 2010-02-24 大阪瓦斯株式会社 Central control system terminal device and central control system

Also Published As

Publication number Publication date
JP2008005342A (en) 2008-01-10

Similar Documents

Publication Publication Date Title
JP5222002B2 (en) In-vehicle relay connection unit
US10404721B2 (en) Communication device for detecting transmission of an improper message to a network
US8484323B2 (en) Network system connected with multiple master devices and method for operating the same
US11159369B2 (en) Automatic initialization routine in an automation system
CN106506124B (en) Method and device for determining retransmission message
CN117176506A (en) Electric energy meter system
JP3562814B2 (en) Initial address setting of new D2B device by using default address
JP4848858B2 (en) Controller
US8412789B2 (en) System and method for connecting a security system using a network
JP2005227825A (en) Instrument monitoring controller
JP4217601B2 (en) Communication adapter and home network system
JP4931659B2 (en) Home appliance network system
JPH08500717A (en) Start address initialization of new D2B device with previous address
CN109982450B (en) Communication link repairing method, device, coordinator and system
JP2021090185A (en) Data transmission method and communication system
JP4422569B2 (en) Central control system terminal device and central control system
JP5182269B2 (en) Network system
JP5065148B2 (en) Equipment management system and terminal controller
JP4826405B2 (en) Network system, network device and program
JP3854273B2 (en) Apparatus and method for setting communication packet
JP2009060362A (en) Relay radio apparatus, relay radio method and program
JP2007263404A (en) Electrical device and method for determining normal communication function in electrical device
JP2006033719A (en) Terminal device of centralized control system, and centralized control system
JP2005071007A (en) Sensor system and program thereof
JP2016082296A (en) Communication system and node

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090210

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100811

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110204

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110215

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110418

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111003

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141028

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees