JP5416635B2 - Home automation converter - Google Patents

Home automation converter Download PDF

Info

Publication number
JP5416635B2
JP5416635B2 JP2010080292A JP2010080292A JP5416635B2 JP 5416635 B2 JP5416635 B2 JP 5416635B2 JP 2010080292 A JP2010080292 A JP 2010080292A JP 2010080292 A JP2010080292 A JP 2010080292A JP 5416635 B2 JP5416635 B2 JP 5416635B2
Authority
JP
Japan
Prior art keywords
state
internal switch
flip
flop
circuit
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
JP2010080292A
Other languages
Japanese (ja)
Other versions
JP2011216943A (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.)
Tokyo Gas Co Ltd
Rinnai Corp
Original Assignee
Tokyo Gas Co Ltd
Rinnai 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 Tokyo Gas Co Ltd, Rinnai Corp filed Critical Tokyo Gas Co Ltd
Priority to JP2010080292A priority Critical patent/JP5416635B2/en
Publication of JP2011216943A publication Critical patent/JP2011216943A/en
Application granted granted Critical
Publication of JP5416635B2 publication Critical patent/JP5416635B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Description

本発明は,ホームオートメーション(以下HA)変換装置に関し,特に,HA端子を持たない機器に対して遠隔操作を可能にするHA変換装置に関する。   The present invention relates to a home automation (hereinafter referred to as HA) conversion device, and more particularly, to an HA conversion device that enables remote control of a device that does not have an HA terminal.

ホームオートメーションは,住宅内に設置されたHA制御装置にエアコン,全自動風呂,床暖房機器などの端末装置をHA端子を介して接続し,HA制御装置での操作によりそれらの機器を操作することを可能にする。さらに,HA制御装置を公衆回線などを介して管理センタと通信可能にし,顧客の携帯電話などからの遠隔操作で端末装置の操作を可能にする。   Home automation is to connect terminal devices such as air conditioners, fully automatic baths, floor heating equipment, etc. to HA control devices installed in the home via the HA terminal, and operate those devices by operating the HA control device. Enable. Further, the HA control device can communicate with the management center via a public line or the like, and the terminal device can be operated by remote control from a customer's mobile phone or the like.

そして,HA端子を有していない端末装置に対してもHA制御装置を介しての遠隔操作を可能にするために,HA制御装置と端末装置との間に設けられるHA変換装置が提案されている。例えば,特許文献1に記載されている。   An HA converter provided between the HA control device and the terminal device is proposed in order to enable remote operation via the HA control device even for a terminal device that does not have an HA terminal. Yes. For example, it is described in Patent Document 1.

HA変換装置は,HA制御装置と接続可能なHA端子を有し,端末装置の電源スイッチと3路回路を構成するリレースイッチを有し,HA制御装置からの制御信号を受信しそれに応答してリレースイッチを切り替え,端末装置の通電状態をモニタしてモニタ信号をHA制御装置に送信する。端末装置は例えば照明機器などであり,HA変換装置内の内部スイッチと照明機器の電源スイッチとで3路スイッチを構成し,照明機器の通電または通電遮断を遠隔から操作することができると共に,遠隔から照明機器の通電状態を監視することができる。   The HA conversion device has an HA terminal that can be connected to the HA control device, has a power switch of the terminal device and a relay switch that constitutes a three-way circuit, receives a control signal from the HA control device, and responds to it. The relay switch is switched to monitor the energization state of the terminal device and send a monitor signal to the HA control device. The terminal device is, for example, a lighting device, and a three-way switch is configured by an internal switch in the HA converter and a power switch of the lighting device, and the lighting device can be remotely operated to turn on or off the power. Therefore, it is possible to monitor the energization state of the lighting equipment.

特開2006−191419号公報JP 2006-191419 A

3路回路は,2つのスイッチのいずれを操作しても通電状態と非通電状態との間で切り替えることができる。3路回路の一方のスイッチをHA変換装置内のリレースイッチで構成した場合,現在のリレースイッチの状態に応じて,セット側またはリセット側に切り替えることが必要になる。   The three-way circuit can be switched between an energized state and a non-energized state by operating either of the two switches. When one switch of the three-way circuit is configured by a relay switch in the HA converter, it is necessary to switch to the set side or the reset side according to the current state of the relay switch.

しかしながら,電源投入時などはこのリレースイッチの状態が不明であり,遠隔操作により3路回路のスイッチを正しく操作することができない場合がある。   However, when the power is turned on, the state of this relay switch is unknown, and the three-way circuit switch may not be correctly operated by remote control.

そこで,本発明の目的は,3路回路の切り替えを正常に行うことができるHA変換装置を提供することにある。   Accordingly, an object of the present invention is to provide an HA converter capable of normally switching a three-way circuit.

本発明の第1の側面は,ホームオートメーション(以下HAと称する)制御装置とHA端子を介して接続されるHA変換装置であって,
外部電源及び外部スイッチと共に3路回路を構成し,セットまたはリセット状態に切り替え可能な内部スイッチと,
内部スイッチ状態に対応する情報をラッチするフリップフロップを有し,前記HA制御装置からの制御信号に応答して,前記内部スイッチをセット側またはリセット側のうち前記フリップフロップの内部スイッチ状態とは反対側に駆動するとともに,当該フリップフロップの状態を反転する内部スイッチ駆動回路と,
前記内部スイッチのセットまたはリセット側と前記外部電源とに接続された閉回路を構成し,当該閉回路の通電状態に応じて前記フリップフロップの状態を設定する内部スイッチ状態判別回路とを有する。
A first aspect of the present invention is an HA converter connected to a home automation (hereinafter referred to as HA) control device via an HA terminal,
An internal switch that can be switched to a set or reset state by configuring a three-way circuit together with an external power supply and an external switch;
A flip-flop that latches information corresponding to the internal switch state; in response to a control signal from the HA control device, the internal switch is opposite to the internal switch state of the flip-flop on the set side or the reset side And an internal switch drive circuit that inverts the state of the flip-flop,
A closed circuit connected to the set or reset side of the internal switch and the external power supply, and an internal switch state determining circuit for setting the state of the flip-flop according to the energized state of the closed circuit.

上記第1の側面における好ましい態様は,前記内部スイッチ状態判別回路は,電源起動時に一時的に生成される初期設定信号に応答して,前記閉回路を通電可能状態にし,当該通電可能状態における前記閉回路の通電または非通電状態に応じて前記フリップフロップの設定を行う。   In a preferred aspect of the first aspect, the internal switch state determination circuit makes the closed circuit energizable in response to an initial setting signal that is temporarily generated when the power is turned on. The flip-flop is set according to whether the closed circuit is energized or not.

さらに,ホームオートメーションシステムは,上記のHA変換装置と,前記HA変換装置にHA端子を介して接続され,前記HA変換装置に制御信号を出力するHA制御装置とを有する。   Further, the home automation system includes the HA conversion device described above and an HA control device connected to the HA conversion device via an HA terminal and outputting a control signal to the HA conversion device.

第1の側面によれば,内部スイッチ状態判別回路が内部スイッチの状態を判別して内部スイッチ駆動回路内のフリップフロップの状態を予め設定するので,遠隔からの操作に応答して,内部スイッチの状態を正しく反転させることができる。   According to the first aspect, since the internal switch state determination circuit determines the state of the internal switch and presets the state of the flip-flop in the internal switch drive circuit, in response to a remote operation, The state can be reversed correctly.

本実施の形態におけるホームオートメーション(HA)システムとHA変換装置の構成を示す図である。It is a figure which shows the structure of the home automation (HA) system and HA converter in this Embodiment. 内部スイッチ駆動回路23の動作を説明する図である。6 is a diagram for explaining the operation of an internal switch drive circuit 23. FIG. 内部スイッチ駆動回路23の動作を説明する図である。6 is a diagram for explaining the operation of an internal switch drive circuit 23. FIG. 本実施の形態におけるHA変換装置の具体的な回路図である。It is a specific circuit diagram of the HA conversion device in the present embodiment. 本実施の形態におけるHA変換装置の動作を示す波形図である。It is a wave form diagram which shows operation | movement of the HA converter in this Embodiment.

図1は,本実施の形態におけるホームオートメーション(HA)システムとHA変換装置の構成を示す図である。HAシステムは,HA制御装置10と,HA制御装置10からの操作により動作が制御される熱源器36などの端末装置とを有する。HA制御装置10は,例えば住宅の居間などに設置され,それにHA端子を介して接続された1つのまたは複数の端末装置を集中的に操作,制御する。   FIG. 1 is a diagram showing a configuration of a home automation (HA) system and an HA conversion device in the present embodiment. The HA system includes an HA control device 10 and a terminal device such as a heat source device 36 whose operation is controlled by an operation from the HA control device 10. The HA control device 10 is installed in a living room of a house, for example, and centrally operates and controls one or a plurality of terminal devices connected to the HA control device 10 via HA terminals.

近年において,HA制御装置10が公衆通信回線を介して管理センタ34に接続され,ユーザの携帯電話38などからの操作に応じて,管理センタ34からHA制御装置10に制御信号の生成が指令され,それに応答してHA制御装置10が端末装置36を制御する。このような構成にすることで,ユーザは遠隔から自宅内の端末装置を操作することができる。   In recent years, the HA control device 10 is connected to the management center 34 via a public communication line, and the management center 34 instructs the HA control device 10 to generate a control signal in response to a user's operation from the mobile phone 38 or the like. In response, the HA control device 10 controls the terminal device 36. With this configuration, the user can remotely operate the terminal device in the home.

日本電機機器工業会のHA端子(JEM−A)規格により規格化されているHA端子は,前述の特許文献1に記載されている。すなわち,HA端子は2本の通信線からなり,フォトカプラにより制御信号やモニタ信号などの送受信が行われる。   The HA terminal standardized by the Japan Electric Appliances Industry Association HA terminal (JEM-A) standard is described in Patent Document 1 described above. That is, the HA terminal is composed of two communication lines, and a control signal and a monitor signal are transmitted / received by a photocoupler.

端末装置32は,外部スイッチ30により通電状態または非通電状態に切り替え可能である。図1の例では端末装置32は照明機器である。そして,上記のようなHA端子を備えていない端末装置を,HA制御装置10による遠隔操作を可能にするために,HA変換装置20がHA制御装置10と端末装置32との間に設けられる。   The terminal device 32 can be switched between an energized state and a non-energized state by the external switch 30. In the example of FIG. 1, the terminal device 32 is a lighting device. The HA converter 20 is provided between the HA controller 10 and the terminal device 32 in order to enable remote control by the HA controller 10 of the terminal device not provided with the HA terminal as described above.

HA変換装置20は,外部電源AC及び外部スイッチ30と共に3路回路を構成し,セットまたはリセット状態に切り替え可能な内部スイッチ24を有する。この内部スイッチ24は,例えばリレースイッチである。図1に示されるとおり,外部スイッチ30または内部スイッチ24が切り替えられると,外部電源ACが端末装置32に通電される状態と非通電の状態とに切り替えられる。この3路回路により,ユーザは,外部スイッチ30により通常通り端末装置32のオン,オフ制御することができるとともに,HA制御装置10の機能を利用して,遠隔操作により内部スイッチ24を切り替え制御して,端末装置32をオン,オフ制御することができる。   The HA converter 20 constitutes a three-way circuit together with the external power supply AC and the external switch 30, and has an internal switch 24 that can be switched to a set or reset state. The internal switch 24 is, for example, a relay switch. As shown in FIG. 1, when the external switch 30 or the internal switch 24 is switched, the external power source AC is switched between a state where the terminal device 32 is energized and a state where it is not energized. With this three-way circuit, the user can control the ON / OFF of the terminal device 32 as usual with the external switch 30, and also uses the function of the HA control device 10 to switch and control the internal switch 24 by remote operation. Thus, the terminal device 32 can be controlled on and off.

さらに,HA変換装置20は,内部スイッチ24を制御し端末装置32の通電状態を判別する制御回路27を有する。制御回路27は,HA制御装置10内の制御信号送信回路14からの制御信号を受信し内部に制御信号S21を伝達する制御信号受信回路21と,端末装置32の通電状態を判別するモニタ信号をHA制御装置10内のモニタ信号受信回路12に送信するモニタ信号送信回路22とを有する。   Further, the HA conversion device 20 has a control circuit 27 that controls the internal switch 24 to determine the energization state of the terminal device 32. The control circuit 27 receives a control signal from the control signal transmission circuit 14 in the HA control device 10 and transmits a control signal S21 to the inside, and a monitor signal for determining the energization state of the terminal device 32. And a monitor signal transmission circuit 22 for transmitting to the monitor signal reception circuit 12 in the HA control device 10.

また,制御回路27は,内部スイッチ24をセット側またはリセット側に駆動する内部スイッチ駆動回路23を有し,内部スイッチ駆動回路23は,内部スイッチ24の状態に対応する情報をラッチするフリップフロップFF1を有し,HA制御装置からの制御信号S21に応答して,内部スイッチ24をセット側またはリセット側のうちフリップフロップFF1の内部スイッチ状態とは反対側に駆動するとともに,当該フリップフロップFF1の状態を反転する。   The control circuit 27 has an internal switch drive circuit 23 that drives the internal switch 24 to the set side or the reset side. The internal switch drive circuit 23 is a flip-flop FF1 that latches information corresponding to the state of the internal switch 24. In response to the control signal S21 from the HA control device, the internal switch 24 is driven to the side opposite to the internal switch state of the flip-flop FF1 on the set side or the reset side, and the state of the flip-flop FF1 Invert.

さらに,制御回路27は,端末装置32の通電状態を判別する回路25を有する。   Further, the control circuit 27 includes a circuit 25 that determines the energization state of the terminal device 32.

内部スイッチ駆動回路23内には,内部スイッチ24の状態(セットまたはリセット)に対応する情報をラッチするラッチ回路としてフリップフロップFF1が設けられ,制御信号受信回路21から供給される制御信号S21に応答して,フリップフロップFF1の状態に基づき内部スイッチ24の状態を切り替える。   In the internal switch drive circuit 23, a flip-flop FF1 is provided as a latch circuit for latching information corresponding to the state (set or reset) of the internal switch 24, and responds to the control signal S21 supplied from the control signal receiving circuit 21. Then, the state of the internal switch 24 is switched based on the state of the flip-flop FF1.

後述するとおり,内部スイッチ駆動回路23は,制御信号S21に応答して,内部スイッチ24のセット側かリセット側のコイル電流を発生し,内部スイッチ24の状態を切り替える。いずれのコイル電流を発生するかは,内部スイッチ24の状態に対応する情報をラッチするフリップフロップFF1の状態に依存する。ただし,電源起動時などはフリップフロップFF1の状態がセット,リセットのいずれになるか不定であるため,フリップフロップFF1の状態と内部スイッチ24の状態とが一致していない場合には,制御信号による切替が適切に行われない場合がある。以下,それについて説明する。   As will be described later, the internal switch drive circuit 23 generates a coil current on the set side or the reset side of the internal switch 24 in response to the control signal S21, and switches the state of the internal switch 24. Which coil current is generated depends on the state of the flip-flop FF 1 that latches information corresponding to the state of the internal switch 24. However, since the state of the flip-flop FF1 is set or reset when the power is turned on or the like is indefinite, if the state of the flip-flop FF1 does not match the state of the internal switch 24, the control signal Switching may not be performed properly. This will be described below.

図2,図3は,内部スイッチ駆動回路23の動作を説明する図である。図2には,(1)内部スイッチであるリレースイッチの接点がセット側の動作と,(2)リセット側の動作とが示されている。いずれも,フリップフロップFF1の状態と内部スイッチ24の状態とが一致していて,正常に動作した場合である。   2 and 3 are diagrams for explaining the operation of the internal switch drive circuit 23. FIG. FIG. 2 shows (1) operation on the contact side of the relay switch, which is an internal switch, and (2) operation on the reset side. In either case, the state of the flip-flop FF1 matches the state of the internal switch 24 and operates normally.

図2(1)のリレースイッチがセット側にある場合,フリップフロップFF1の状態が出力Q=H,−Q=L(セット状態)であれば,時間t1の制御信号に応答して,内部スイッチ駆動回路23はリセット側のコイル電流を発生し,その後フリップフロップFF1の状態を反転する。さらに,時間t2の制御信号に応答して,セット側のコイル電流が生成され,その後フリップフロップFF1の状態が反転される。時間t3の制御信号に対しては時間t1と同じである。   When the relay switch of FIG. 2 (1) is on the set side, if the state of the flip-flop FF1 is the output Q = H and −Q = L (set state), the internal switch is responded to the control signal at time t1. The drive circuit 23 generates a coil current on the reset side, and then inverts the state of the flip-flop FF1. Further, in response to the control signal at time t2, a coil current on the set side is generated, and then the state of the flip-flop FF1 is inverted. The control signal at time t3 is the same as at time t1.

次に,図2(2)のリレースイッチがリセット側にある場合,フリップフロップFF1の状態が出力Q=L,−Q=H(リセット状態)であれば,時間t11の制御信号に応答して,内部スイッチ駆動回路23はセット側のコイル電流を発生し,その後フリップフロップFF1の状態を反転する。さらに,時間t12の制御信号に応答して,リセット側のコイル電流が生成され,その後フリップフロップFF1の状態が反転される。   Next, when the relay switch of FIG. 2 (2) is on the reset side, if the state of the flip-flop FF1 is the output Q = L and −Q = H (reset state), in response to the control signal at time t11. The internal switch drive circuit 23 generates a coil current on the set side, and then inverts the state of the flip-flop FF1. Further, in response to the control signal at time t12, a reset side coil current is generated, and then the state of the flip-flop FF1 is inverted.

図3には,(1)内部スイッチであるリレースイッチの接点がセット側の動作と,(2)リセット側の動作とが示されている。しかし,フリップフロップFF1の状態が内部スイッチ24の状態と不一致であるため,異常動作した例である。   FIG. 3 shows (1) the operation on the contact side of the relay switch, which is an internal switch, and (2) the operation on the reset side. However, because the state of the flip-flop FF1 does not match the state of the internal switch 24, this is an example of an abnormal operation.

図3(1)のリレースイッチがセット側にある場合,電源起動時の不定動作などの理由によりフリップフロップFF1の状態が出力Q=L,−Q=H(リセット状態)であると,時間t31の制御信号に応答して,内部スイッチ駆動回路23はセット側のコイル電流を発生し,その後フリップフロップFF1の状態を反転する。しかし,リレースイッチはセット側にあるため,セット側のコイル電流ではスイッチ状態を切り替えることができない。ただし,次の時間t32の制御信号に応答して,リセット側のコイル電流が生成されると,セット側にあったリレースイッチは正常に切り替えられる。その後は,フリップフロップFF1の状態がリレースイッチの状態と一致するため正常に動作する。   When the relay switch of FIG. 3A is on the set side, if the state of the flip-flop FF1 is the output Q = L and −Q = H (reset state) for reasons such as indefinite operation at the time of power activation, the time t31 In response to the control signal, the internal switch drive circuit 23 generates a coil current on the set side, and then inverts the state of the flip-flop FF1. However, since the relay switch is on the set side, the switch state cannot be switched by the coil current on the set side. However, when the coil current on the reset side is generated in response to the control signal at the next time t32, the relay switch on the set side is normally switched. Thereafter, the flip-flop FF1 operates normally because the state of the flip-flop FF1 matches the state of the relay switch.

次に,図3(2)のリレースイッチがリセット側にある場合,フリップフロップFF1の状態が出力Q=H,−Q=L(セット状態)であれば,時間t41の制御信号に応答して,内部スイッチ駆動回路23はリセット側のコイル電流を発生し,その後フリップフロップFF1の状態を反転する。しかし,リレースイッチはリセット側にあるため切り替わらない。ただし,次の時間t42の制御信号に応答して,セット側のコイル電流が生成されると,リセット側にあったリレースイッチは正常に切り替えられる。その後は,同様に正常動作する。   Next, when the relay switch of FIG. 3 (2) is on the reset side, if the state of the flip-flop FF1 is the output Q = H and −Q = L (set state), in response to the control signal at time t41. The internal switch drive circuit 23 generates a coil current on the reset side, and then inverts the state of the flip-flop FF1. However, the relay switch is not switched because it is on the reset side. However, when the coil current on the set side is generated in response to the control signal at the next time t42, the relay switch on the reset side is normally switched. After that, it operates normally in the same way.

上記の異常動作を防止するために,図1の本実施の形態のHA変換装置20は,内部スイッチSWの接点位置(状態)を判別する内部スイッチ状態判別回路26を有する。内部スイッチ状態判別回路26は,スイッチ状態を判別し,その状態に対応する情報をフリップフロップFF1に記録する。これにより,フリップフロップFF1の状態を内部スイッチ状態に対応させることができる。   In order to prevent the above abnormal operation, the HA converter 20 of the present embodiment of FIG. 1 has an internal switch state determination circuit 26 that determines the contact position (state) of the internal switch SW. The internal switch state determination circuit 26 determines the switch state and records information corresponding to the state in the flip-flop FF1. As a result, the state of the flip-flop FF1 can be made to correspond to the internal switch state.

以下,一例として電源起動時に内部スイッチの状態を判別し,フリップフロップFF1をそれに対応する状態に設定する内部スイッチ状態判別回路について説明する。   Hereinafter, as an example, an internal switch state determination circuit that determines the state of the internal switch at the time of power-on and sets the flip-flop FF1 to the corresponding state will be described.

図4は,本実施の形態におけるHA変換装置の具体的な回路図である。図4には,図1のHA変換装置20内の内部スイッチ駆動回路23と,内部スイッチ状態判別回路26と,端末装置状態判別回路25の回路図が示されている。   FIG. 4 is a specific circuit diagram of the HA converter according to the present embodiment. FIG. 4 shows a circuit diagram of the internal switch drive circuit 23, the internal switch state determination circuit 26, and the terminal device state determination circuit 25 in the HA converter 20 of FIG.

まず,内部スイッチ駆動回路23について説明する。内部スイッチ駆動回路23は,フリップフロップFF1と,NORゲートNOR1,NOR2と,セット側コイルSとリセット側コイルRと,それらをそれぞれ駆動するNPN駆動トランジスタN1,N2を有する。フリップフロップFF1のクロック端子CLには制御信号受信回路21からの制御信号S21が供給される。この制御信号S21は,図2,3と異なり負論理のパルス信号であり,内部スイッチ24を切り替える制御信号レベルはLレベルである。また,フリップフロップFF1の反転出力−Qはデータ端子Dに接続されている。そして,NORゲートNOR1には制御信号S21と出力Qが入力され,その出力が駆動トランジスタN1のベースに供給される。一方,NORゲートNOR2には制御信号S21と反転出力-Qが入力され,その出力が駆動トランジスタN2のベースに供給される。   First, the internal switch drive circuit 23 will be described. The internal switch drive circuit 23 includes a flip-flop FF1, NOR gates NOR1 and NOR2, a set side coil S and a reset side coil R, and NPN drive transistors N1 and N2 for driving them, respectively. A control signal S21 from the control signal receiving circuit 21 is supplied to the clock terminal CL of the flip-flop FF1. The control signal S21 is a negative logic pulse signal unlike FIGS. 2 and 3, and the control signal level for switching the internal switch 24 is L level. The inverted output -Q of the flip-flop FF1 is connected to the data terminal D. The control signal S21 and the output Q are input to the NOR gate NOR1, and the output is supplied to the base of the drive transistor N1. On the other hand, the control signal S21 and the inverted output -Q are input to the NOR gate NOR2, and the output is supplied to the base of the driving transistor N2.

したがって,Lレベルの制御信号S21が供給されると,NORゲートNOR1,NOR2のいずれかが出力をHレベルにし,駆動トランジスタN1,N2のいずれかが導通し,セット側コイルSまたはリセット側コイルRのいずれかを駆動し,内部スイッチ24を切り替える。フリップフロップFF1のデータ端子Dには反転出力-Qが入力されているので,いずれかのコイルに駆動電流が流れた後,制御信号S21の立ち上がりエッジに応答して,フリップフロップFF1は切り替えられる。   Therefore, when the L level control signal S21 is supplied, one of the NOR gates NOR1 and NOR2 sets the output to the H level, and one of the drive transistors N1 and N2 becomes conductive, and the set side coil S or the reset side coil R 1 is driven to switch the internal switch 24. Since the inverted output -Q is input to the data terminal D of the flip-flop FF1, the flip-flop FF1 is switched in response to the rising edge of the control signal S21 after the drive current flows through one of the coils.

つまり,内部スイッチ駆動回路23は,制御信号S21に応答して,フリップフロップFF1の状態とは反対側のコイルS,Rに駆動電流を流し,フリップフロップFF1の状態を反転する。   That is, in response to the control signal S21, the internal switch drive circuit 23 sends a drive current to the coils S and R on the opposite side to the state of the flip-flop FF1, and inverts the state of the flip-flop FF1.

端末装置状態判別回路25は,照明機器である端末装置32と,外部スイッチ30と,内部スイッチ24と,電源ACとの閉回路CC2を有し,閉回路CC2にはフォトカプラ44が設けられている。図4の3路回路の状態は,内部スイッチ24がリセット側にあり,外部スイッチ30の状態とともに端末装置32に電源32を通電している状態である。このように端末装置32が通電状態であると,閉回路CC2は電流を流し,フォトカプラ44を介してモニタ信号送信回路22に電流が流れる。もし端末装置32が非通電状態であれば,閉回路CC2は電流を流さず,モニタ信号送信回路22には電流は発生しない。この両者の状態を示す信号が,モニタ信号送信回路22からHA制御装置10内のモニタ信号受信回路12に出力される。   The terminal device state determination circuit 25 has a closed circuit CC2 including a terminal device 32 that is a lighting device, an external switch 30, an internal switch 24, and a power source AC, and a photocoupler 44 is provided in the closed circuit CC2. Yes. The state of the three-way circuit in FIG. 4 is a state in which the internal switch 24 is on the reset side and the power supply 32 is energized to the terminal device 32 together with the state of the external switch 30. As described above, when the terminal device 32 is in the energized state, the closed circuit CC2 passes a current, and a current flows to the monitor signal transmission circuit 22 via the photocoupler 44. If the terminal device 32 is in a non-energized state, the closed circuit CC2 does not flow current, and no current is generated in the monitor signal transmission circuit 22. A signal indicating both states is output from the monitor signal transmitting circuit 22 to the monitor signal receiving circuit 12 in the HA control device 10.

次に,内部スイッチ状態判別回路26について説明する。図5は,HA変換装置の動作を示す波形図である。   Next, the internal switch state determination circuit 26 will be described. FIG. 5 is a waveform diagram showing the operation of the HA converter.

内部スイッチ状態判別回路26は,内部スイッチ24がセット側か否かを検出する閉回路CC1を有する。つまり,図4の例では,内部スイッチ24がセット側になっている場合に電源ACの電流が閉回路CC1に流れうる状態になる。さらに,抵抗R1とキャパシタC1とからなる遅延回路により,時間t50で電源HVが起動したときにノードn10はCR時定数でゆっくり立ち上がり,ノードn10がHレベルになるまでは,PNPトランジスタP3が導通し電流I1を流し,フォトトライアック40により閉回路CC1が導通可能状態になる。   The internal switch state determination circuit 26 has a closed circuit CC1 that detects whether the internal switch 24 is on the set side. That is, in the example of FIG. 4, when the internal switch 24 is on the set side, the current of the power source AC can flow into the closed circuit CC1. Furthermore, due to the delay circuit consisting of resistor R1 and capacitor C1, node n10 rises slowly with a CR time constant when power supply HV is started at time t50, and PNP transistor P3 conducts until node n10 goes high. The current I1 is supplied, and the closed circuit CC1 becomes conductive by the phototriac 40.

もし,内部スイッチ24がセット側であれば,閉回路CC1に電流I2が流れ,リセット側であればI2は流れない。閉回路CC1に電流I2が発生した場合(内部スイッチがセット状態)は,この電流I2に応答してフォトカプラ42を介してNPNトランジスタN4が導通しノードn12がLレベルになる。一方,閉回路CC1に電流I2が発生しない場合(内部スイッチがリセット状態)は,NPNトランジスタN4が非導通で,抵抗R4によりノードn12はHレベルになる。図5には,内部スイッチがセット状態の動作波形を実線で,リセット状態の動作波形を破線で示している。   If the internal switch 24 is on the set side, the current I2 flows through the closed circuit CC1, and if the internal switch 24 is on the reset side, I2 does not flow. When the current I2 is generated in the closed circuit CC1 (internal switch is set), the NPN transistor N4 becomes conductive through the photocoupler 42 in response to the current I2, and the node n12 becomes L level. On the other hand, when the current I2 is not generated in the closed circuit CC1 (the internal switch is in the reset state), the NPN transistor N4 is non-conductive, and the node n12 becomes H level by the resistor R4. In FIG. 5, the operation waveform when the internal switch is set is indicated by a solid line, and the operation waveform when the internal switch is reset is indicated by a broken line.

一方,抵抗R7とキャパシタC2とで別の遅延回路が構成され,このCR時定数は抵抗R1とキャパシタC1とによる遅延回路より小さく,ノードn14は電源HVの起動時にノードn10よりも急峻に立ち上がる。したがって,ノードn10が未だLレベルの間に,時間t51でノードn14はHレベルになる。このノードn14の立ち上がりエッジに応答して,第2のフリップフロップFF2は,ノードn12のLレベル(内部スイッチがセット状態)またはHレベル(同リセット状態)を取り込む。その結果,第2のフリップフロップFF2の出力は,Q=L,−Q=H(セット状態)またはQ=H,-Q=L(リセット状態)になる。   On the other hand, another delay circuit is formed by the resistor R7 and the capacitor C2, and this CR time constant is smaller than that of the delay circuit formed by the resistor R1 and the capacitor C1, and the node n14 rises sharper than the node n10 when the power supply HV is activated. Therefore, the node n14 becomes H level at time t51 while the node n10 is still L level. In response to the rising edge of the node n14, the second flip-flop FF2 takes in the L level (the internal switch is in the set state) or the H level (same reset state) of the node n12. As a result, the output of the second flip-flop FF2 becomes Q = L, −Q = H (set state) or Q = H, −Q = L (reset state).

第2のフリップフロップFF2がノードn12のレベルを取り込んだ時は,未だノードn10はLレベルであるので,PNPトランジスタP5,P6のベースはLレベルにある。トランジスタP5,P6のコレクタは,フリップフロップFF1のリセット端子Rとセット端子Sに接続され,さらに抵抗R7,R8を介してグランドGNDに接続されている。したがって,内部スイッチがセット状態ならフリップフロップFF2の出力がQ=L,−Q=Hであり,フリップフロップFF1のセット端子SがHレベルになりFF1はセット状態にされる。逆に,内部スイッチがリセット状態ならフリップフロップFF2の出力がQ=H,−Q=Lであり,フリップフロップFF1のリセット端子RがHレベルになりFF1はリセット状態にされる。   When the second flip-flop FF2 takes in the level of the node n12, since the node n10 is still at the L level, the bases of the PNP transistors P5 and P6 are at the L level. The collectors of the transistors P5 and P6 are connected to the reset terminal R and the set terminal S of the flip-flop FF1, and are further connected to the ground GND via the resistors R7 and R8. Therefore, if the internal switch is in the set state, the output of the flip-flop FF2 is Q = L, −Q = H, the set terminal S of the flip-flop FF1 becomes H level, and FF1 is set. Conversely, if the internal switch is in the reset state, the output of the flip-flop FF2 is Q = H, −Q = L, the reset terminal R of the flip-flop FF1 becomes H level, and FF1 is reset.

その後,時間t52でノードn10はHレベルに達し,トランジスタP5,P6は非導通になり,抵抗R7,R8を介してフリップフロップFF1のリセット端子R,セット端子Sは共にグランドレベル(Lレベル)となる。その後は,フリップフロップFF1は,クロック端子CLの立ち上がりエッジに応答してデータ端子Dのレベルをラッチする通常動作を行う。   Thereafter, at time t52, the node n10 reaches the H level, the transistors P5 and P6 become non-conductive, and the reset terminal R and the set terminal S of the flip-flop FF1 are both set to the ground level (L level) via the resistors R7 and R8. Become. Thereafter, the flip-flop FF1 performs a normal operation of latching the level of the data terminal D in response to the rising edge of the clock terminal CL.

以上の通り,内部スイッチ状態判別回路26は,内部スイッチ24のセットまたはリセット側と外部電源ACとに接続された閉回路CC1を設けるだけで,電源起動時に内部スイッチ24の状態を判別することができる。そして,判別結果に応じて,内部スイッチ駆動回路23内のフリップフロップFF1の状態を内部スイッチ24に設定する。   As described above, the internal switch state determination circuit 26 can determine the state of the internal switch 24 at the time of power activation only by providing the closed circuit CC1 connected to the set or reset side of the internal switch 24 and the external power supply AC. it can. Then, the state of the flip-flop FF1 in the internal switch drive circuit 23 is set to the internal switch 24 according to the determination result.

上記の初期設定の後は,内部スイッチ駆動回路23は,制御信号S21に応答して,3路回路による端末装置32の駆動動作を行う。図5の時間t53にて,制御信号S21がLレベルになると,フリップフロップFF1の状態に応じて,NORゲートNOR1,NOR2のいずれかの出力がHレベルになり,駆動トランジスタN1,N2のいずれかを導通させ,セット側コイルまたはリセット側コイルのいずれかに駆動電流を流す。そして,時間t54の制御信号S21の立ち上がりエッジに応答して,フリップフロップFF1のクロック端子CLがHレベルになり,フリップフロップFF1の状態が切り替えられる。この動作については既に説明した通りである。その後,再度制御信号S21が入力されると,上記と同様の動作が繰り返される。   After the above initial setting, the internal switch drive circuit 23 performs a drive operation of the terminal device 32 by a three-way circuit in response to the control signal S21. When the control signal S21 becomes L level at time t53 in FIG. 5, according to the state of the flip-flop FF1, one of the outputs of the NOR gates NOR1 and NOR2 becomes H level, and one of the drive transistors N1 and N2 And a drive current is passed through either the set side coil or the reset side coil. Then, in response to the rising edge of the control signal S21 at time t54, the clock terminal CL of the flip-flop FF1 becomes H level, and the state of the flip-flop FF1 is switched. This operation has already been described. Thereafter, when the control signal S21 is input again, the same operation as described above is repeated.

以上説明したとおり,本実施の形態によれば,内部スイッチ駆動回路23に,単純な閉回路CC1を設け,電源起動を検出する回路(R1,C1)と,電源起動時の閉回路CC1に電流I2が流れうる状態にする回路(P3,40)と,その時の閉回路CC1の電流の有無を検出する回路(42,R4,N4)と,その電流の有無に応じてフリップフロップFF1のセット端子またはリセット端子を駆動する回路(FF2,P5,P6)とを設けるだけで,フリップフロップFF1に内部スイッチ24の状態を初期設定することができる。その結果,図3の異常動作を回避することができる。   As described above, according to the present embodiment, the internal switch drive circuit 23 is provided with a simple closed circuit CC1, and the circuit (R1, C1) that detects the power supply activation and the closed circuit CC1 when the power supply is activated A circuit (P3,40) that enables I2 to flow, a circuit (42, R4, N4) that detects the presence or absence of current in closed circuit CC1 at that time, and a set terminal of flip-flop FF1 depending on the presence or absence of that current Alternatively, the state of the internal switch 24 can be initialized in the flip-flop FF1 simply by providing a circuit (FF2, P5, P6) for driving the reset terminal. As a result, the abnormal operation of FIG. 3 can be avoided.

なお,電源起動を検出する遅延回路R1,C1は,電源起動だけでなく,図示しないハードウエアリセットスイッチの操作も検出するようにすれば,マニュアルによるリセット操作に応答しても,フリップフロップFF1の状態を内部スイッチ状態に初期化することができる。   Note that if the delay circuits R1 and C1 that detect the power activation detect not only the power activation but also the operation of a hardware reset switch (not shown), the response of the flip-flop FF1 even in response to a manual reset operation. The state can be initialized to the internal switch state.

また,内部スイッチ状態判別回路26内のフリップフロップFF2は,電源起動時のノードn12のレベルをラッチするだけであり,通常動作時に切り替わり動作をするものではないので,必ずしもフリップフロップFF2を設ける必要はない。さらに,閉回路CC1は,内部スイッチ24のリセット側に接続されてもよいことは言うまでもない。   In addition, the flip-flop FF2 in the internal switch state determination circuit 26 only latches the level of the node n12 at the time of power activation, and does not perform switching operation during normal operation. Therefore, it is not always necessary to provide the flip-flop FF2. Absent. Furthermore, it goes without saying that the closed circuit CC1 may be connected to the reset side of the internal switch 24.

10:HA制御装置 20:HA変換装置
21:制御信号受信回路 22:モニタ信号送信回路
23:内部スイッチ駆動回路 24:内部スイッチ,リレースイッチ
25:端末装置状態判別回路 26:内部スイッチ状態判別回路
CC1:閉回路 FF1:フリップフロップ
S21:制御信号
10: HA control device 20: HA conversion device 21: Control signal receiving circuit 22: Monitor signal transmission circuit 23: Internal switch drive circuit 24: Internal switch, relay switch 25: Terminal device state determination circuit 26: Internal switch state determination circuit CC1 : Closed circuit FF1: Flip-flop S21: Control signal

Claims (3)

ホームオートメーション(以下HAと称する)制御装置とHA端子を介して接続されるHA変換装置であって,
外部電源及び外部スイッチと共に3路回路を構成し,セットまたはリセット状態に切り替え可能な内部スイッチと,
内部スイッチ状態に対応する情報をラッチするフリップフロップを有し,前記HA制御装置からの制御信号に応答して,前記内部スイッチをセット側またはリセット側のうち前記フリップフロップの内部スイッチ状態とは反対側に駆動するとともに,当該フリップフロップの状態を反転する内部スイッチ駆動回路と,
前記内部スイッチのセットまたはリセット側と前記外部電源とに接続された閉回路を構成し,当該閉回路の通電状態に応じて前記フリップフロップの状態を設定する内部スイッチ状態判別回路とを有するHA変換装置。
An HA converter connected to a home automation (hereinafter referred to as HA) control device via an HA terminal,
An internal switch that can be switched to a set or reset state by configuring a three-way circuit together with an external power supply and an external switch;
A flip-flop that latches information corresponding to the internal switch state; in response to a control signal from the HA control device, the internal switch is opposite to the internal switch state of the flip-flop on the set side or the reset side And an internal switch drive circuit that inverts the state of the flip-flop,
HA conversion comprising a closed circuit connected to the set or reset side of the internal switch and the external power supply, and having an internal switch state determining circuit for setting the state of the flip-flop according to the energized state of the closed circuit apparatus.
請求項1において,
前記内部スイッチ状態判別回路は,電源起動時に一時的に生成される初期設定信号に応答して,前記閉回路を通電可能状態にし,当該通電可能状態における前記閉回路の通電または非通電状態に応じて前記フリップフロップの設定を行うHA変換装置。
In claim 1,
The internal switch state determination circuit makes the closed circuit energizable in response to an initial setting signal that is temporarily generated when the power is turned on, depending on whether the closed circuit is energized or not energized in the energized state. HA converter for setting the flip-flop.
請求項1または2に記載のHA変換装置と,
前記HA変換装置にHA端子を介して接続され,前記HA変換装置に制御信号を出力するHA制御装置とを有するホームオートメーションシステム。
HA converter according to claim 1 or 2,
A home automation system comprising: an HA controller connected to the HA converter via an HA terminal and outputting a control signal to the HA converter.
JP2010080292A 2010-03-31 2010-03-31 Home automation converter Expired - Fee Related JP5416635B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010080292A JP5416635B2 (en) 2010-03-31 2010-03-31 Home automation converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010080292A JP5416635B2 (en) 2010-03-31 2010-03-31 Home automation converter

Publications (2)

Publication Number Publication Date
JP2011216943A JP2011216943A (en) 2011-10-27
JP5416635B2 true JP5416635B2 (en) 2014-02-12

Family

ID=44946289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010080292A Expired - Fee Related JP5416635B2 (en) 2010-03-31 2010-03-31 Home automation converter

Country Status (1)

Country Link
JP (1) JP5416635B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58135539A (en) * 1982-02-05 1983-08-12 松下電工株式会社 Drive circuit for latching relay
JPH0690184B2 (en) * 1989-01-09 1994-11-14 日立建機株式会社 Input state memory circuit using relay
JP4189256B2 (en) * 2003-04-14 2008-12-03 達登志 緑川 Communication network connection method, power supply wiring equipment for lighting
JP4508060B2 (en) * 2005-09-27 2010-07-21 パナソニック電工株式会社 Load control unit

Also Published As

Publication number Publication date
JP2011216943A (en) 2011-10-27

Similar Documents

Publication Publication Date Title
US20220094199A1 (en) A Smart Switch Module and Method for Controlling a Smart Switch Module using a Standard Light Switch
US9319234B2 (en) Modular wireless power, light and automation control
EP1805902A2 (en) System and method of polarity reversal for reload detection
CN108833219B (en) Intelligent home system, intelligent gateway and control method thereof
JP2008172570A (en) Home network system
JP2012129916A (en) Communication device
JP5416635B2 (en) Home automation converter
WO2017033179A1 (en) Method and apparatus for retrofitting an appliance to smart operation
US7492109B2 (en) Apparatus for controlling lamp source and electric equipment and power socket therof
CN108737228B (en) Intelligent home system, intelligent gateway and control method thereof
CN109379278B (en) Adapter and adaptation regulation and control system
JP2018056619A (en) Electronic apparatus
KR101677131B1 (en) Lighting control system using Bluetooth
CN111030722B (en) Communication circuit and communication method for battery management system
JP2017011773A (en) Communication adaptor, communication method, and program
JP2008051490A (en) Air conditioner
JP2006292297A (en) Home controller
JP2002061921A (en) System and method for power supply
Shejal et al. Designing of smart switch for home automation
JP4099352B2 (en) Air conditioner and interface
EP3668073B1 (en) Method for adapting an electrical circuit with a controlling device
AU2015230813B2 (en) Modular Wireless Power, Light and Automation Control
WO2018203420A1 (en) Remote operation system and remote operation method
JP2001296938A (en) Data transferring device
TWM537299U (en) Smart Bluetooth wireless control device of household appliances

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130311

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130927

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131022

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131115

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees