JP7570977B2 - Time switch and method for controlling the time switch - Google Patents
Time switch and method for controlling the time switch Download PDFInfo
- Publication number
- JP7570977B2 JP7570977B2 JP2021099926A JP2021099926A JP7570977B2 JP 7570977 B2 JP7570977 B2 JP 7570977B2 JP 2021099926 A JP2021099926 A JP 2021099926A JP 2021099926 A JP2021099926 A JP 2021099926A JP 7570977 B2 JP7570977 B2 JP 7570977B2
- Authority
- JP
- Japan
- Prior art keywords
- program
- period
- programs
- unit
- during
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Electric Clocks (AREA)
Description
本発明は、ユーザによって設定されたタイムスケジュールにしたがって負荷をオンおよびオフするタイムスイッチ、および、タイムスイッチの制御方法に関する。 The present invention relates to a time switch that turns a load on and off according to a time schedule set by a user, and a method for controlling the time switch.
タイムスイッチは、ユーザによって設定されたタイムスケジュールにしたがって負荷をオンおよびオフする装置である。このようなタイムスイッチとして、特許文献1には、当該タイムスイッチに設けられた動作パターン選択手段によって、負荷をどの動作パターンで制御するかを選択できるタイムスイッチが開示されている。
A time switch is a device that turns a load on and off according to a time schedule set by a user. As an example of such a time switch,
ところで、タイムスイッチには、所定の時間間隔でオンおよびオフを繰り返すインターバル機能を有するものがある。そのようなタイムスイッチにおいて、インターバル機能を実現するためのプログラムが複数ある場合、複数のプログラムが適切に切り替えられることが望まれる。 Some time switches have an interval function that repeatedly turns on and off at a specified time interval. In such a time switch, if there are multiple programs to realize the interval function, it is desirable to be able to switch between the multiple programs appropriately.
そこで、本発明は、インターバル機能を実現するための複数のプログラムを適切に切り替えることができるタイムスイッチ、および、タイムスイッチの制御方法を提供する。 The present invention provides a time switch that can appropriately switch between multiple programs to realize an interval function, and a method for controlling the time switch.
本発明の一態様に係るタイムスイッチは、負荷および電源の電気的な接続を開閉するスイッチ部と、インターバル機能を実行させる複数のプログラムを記憶する記憶部と、前記複数のプログラムのうち優先して実行するプログラムに関する優先情報を取得する第1取得部と、前記スイッチ部の開閉を制御する制御部とを備え、前記制御部は、前記複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、前記優先情報に基づいて前記動作期間が重なる重複期間において実行される一のプログラムを前記2以上のプログラムの中から選択し、選択された前記一のプログラムに基づいて、前記重複期間における前記スイッチ部の開閉を制御する。 A time switch according to one aspect of the present invention includes a switch section that opens and closes an electrical connection between a load and a power source, a memory section that stores a plurality of programs that execute an interval function, a first acquisition section that acquires priority information regarding a program that is to be executed preferentially among the plurality of programs, and a control section that controls the opening and closing of the switch section, and when the operation periods of two or more of the plurality of programs overlap, the control section selects from the two or more programs a program to be executed during the overlapping period in which the operation periods overlap based on the priority information, and controls the opening and closing of the switch section during the overlapping period based on the selected program.
本発明の一態様に係るタイムスイッチの制御方法は、記憶部に記憶されインターバル機能を実行させる複数のプログラムのうち、優先して実行するプログラムに関する優先情報を取得するステップと、負荷および電源の電気的な接続を開閉するスイッチ部の開閉を制御するステップとを含み、前記制御するステップは、前記複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、前記優先情報に基づいて前記動作期間が重なる重複期間において実行される一のプログラムを前記2以上のプログラムの中から選択し、選択された前記一のプログラムに基づいて、前記重複期間における前記スイッチ部の開閉を制御する。 A method for controlling a time switch according to one aspect of the present invention includes a step of acquiring priority information regarding a program to be executed with priority among a plurality of programs stored in a storage unit and executing an interval function, and a step of controlling the opening and closing of a switch unit that opens and closes an electrical connection between a load and a power source, and the step of controlling includes, when the operation periods of two or more of the plurality of programs overlap, selecting from the two or more programs a program to be executed during the overlapping period in which the operation periods overlap based on the priority information, and controlling the opening and closing of the switch unit during the overlapping period based on the selected one program.
本発明の一態様によれば、インターバル機能を実現するための複数のプログラムを適切に切り替えることができるタイムスイッチ等を実現することができる。 According to one aspect of the present invention, it is possible to realize a time switch or the like that can appropriately switch between multiple programs to realize an interval function.
以下、実施の形態について、図面を参照しながら具体的に説明する。なお、以下で説明する実施の形態は、いずれも包括的または具体的な例を示すものである。以下の実施の形態で示される数値、形状、構成要素、構成要素の配置位置および接続形態、ステップ、ステップの順序などは、一例であり、本発明を限定する主旨ではない。例えば、本明細書において、同時刻などの要素間の関係性を示す用語、並びに、数値、および、数値範囲は、厳格な意味のみを表す表現ではなく、実質的に同等な範囲、例えば数%程度(例えば、5%程度)の差異をも含むことを意味する表現である。また、以下の実施の形態における構成要素のうち、独立請求項に記載されていない構成要素については、任意の構成要素として説明される。 The following embodiments are described in detail with reference to the drawings. Note that the following embodiments are all comprehensive or specific examples. The numerical values, shapes, components, component placement and connection forms, steps, and order of steps shown in the following embodiments are merely examples and are not intended to limit the present invention. For example, in this specification, terms indicating relationships between elements such as "simultaneity," as well as numerical values and numerical ranges, are not expressions that express only strict meanings, but are expressions that include substantially equivalent ranges, for example, differences of about a few percent (for example, about 5%). In addition, among the components in the following embodiments, components that are not described in independent claims are described as optional components.
また、各図は、模式図であり、必ずしも厳密に図示されたものではない。したがって、例えば、各図において縮尺などは必ずしも一致しない。また、各図において、実質的に同一の構成については同一の符号を付しており、重複する説明は省略または簡略化する。 In addition, each figure is a schematic diagram and is not necessarily an exact illustration. Therefore, for example, the scales of each figure do not necessarily match. In addition, in each figure, the same reference numerals are used for substantially the same configuration, and duplicate explanations are omitted or simplified.
(実施の形態)
以下、本実施の形態に係るタイムスイッチについて、図1~図9Bを参照しながら説明する。
(Embodiment)
Hereinafter, a time switch according to the present embodiment will be described with reference to FIGS. 1 to 9B.
[1.タイムスイッチの構成]
まず、本実施の形態に係るタイムスイッチの構成について、図1および図2を参照しながら説明する。図1は、本実施の形態に係るタイムスイッチ10の外観斜視図である。図2は、本実施の形態に係るタイムスイッチ10の機能構成を示すブロック図である。
[1. Time switch configuration]
First, the configuration of a time switch according to the present embodiment will be described with reference to Fig. 1 and Fig. 2. Fig. 1 is an external perspective view of a
図1および図2に示すように、タイムスイッチ10は、端子部11と、スイッチ部12と、設定受付部13と、表示部14と、記憶部15と、制御部16と、計時部17と、通信部18と、センサ部19とを備える。タイムスイッチ10は、設定受付部13を通じて設定されたタイムスケジュールにしたがって、端子部11に接続された負荷(図示しない)および電源(図示しない)の電気的な接続をオンおよびオフする(以下、単に「負荷をオン(オフ)する」とも記載する)装置である。なお、オンおよびオフすることを開閉するとも記載する。
As shown in Figures 1 and 2, the
端子部11には、負荷および電源が接続される。負荷は、インターバル動作する機器を含む。負荷は、所定の時間間隔でオンおよびオフを繰り返すインターバル動作を実行可能な機器であり、例えば、噴水(噴水用のポンプ)、ミストを発生させる噴霧装置などであるがこれに限定されず、街路灯、照明、看板などであってもよい。端子部11は、例えば、ネジによって負荷および電源を固定する構造を有する。端子部11の回路構成については特に限定されない。端子部11の回路構成は、負荷が接続される端子間に電源の電圧が印加される有電圧出力構成であってもよいし、負荷が接続される端子間に電源の電圧が印加されない無電圧出力構成であってもよい。端子部11には、複数の負荷が取り付けられる場合もある。
A load and a power source are connected to the
スイッチ部12は、端子部11に接続された負荷および電源の電気的な接続をオンおよびオフする開閉部である。スイッチ部12は、例えば、リレー素子、および、リレー素子の駆動回路によって実現されるが、パワートランジスタ、および、パワートランジスタの駆動回路によって実現されてもよい。スイッチ部12の接点構成は、特に限定されない。スイッチ部12は、c接点構成(つまり、単極双投)であってもよいし、a接点構成(つまり、単極単投)であってもよい。なお、端子部11に複数の負荷が取り付けられる場合、タイムスイッチ10は、複数の負荷に対応して複数のスイッチ部12を備える場合がある。
The
設定受付部13は、タイムスイッチ10に関連する各種設定を受け付けるユーザインターフェースである。設定受付部13は、スイッチ部12がオンするオン時刻の設定、および、スイッチ部12がオフするオフ時刻の設定(スイッチ部12の動作に関する設定の一例)を受け付ける。また、設定受付部13は、インターバル機能を実行させる複数のプログラム、および、複数のプログラムのうち優先して実行するプログラムに関する優先情報の少なくとも1つを受け付けてもよい。設定受付部13は、例えば、優先情報を受け付けてもよい(取得してもよい)。例えば、設定受付部13は、優先情報を設定するための操作を受け付けることで優先情報を取得してもよい。
The setting
なお、詳細は後述するが、インターバル機能とは、一定期間の間、オンおよびオフを繰り返す動作を行うことである。また、インターバル機能を実行させる複数のプログラムのそれぞれは、プログラムの開始時刻および終了時刻と、電力を供給する入期間と、電力を供給しない切期間とが取得される(設定される)ことで実行可能となるプログラムである。 The interval function, which will be described in detail later, is an operation that repeatedly turns on and off for a certain period of time. Each of the multiple programs that execute the interval function is a program that can be executed by acquiring (setting) the start and end times of the program, the on period during which power is supplied, and the off period during which power is not supplied.
設定受付部13は、例えば、ハードウェアキー(ハードウェアボタン)、および、スライドスイッチなどによって実現されるが、タッチパネルなどによって実現されてもよい。本実施の形態では、設定受付部13は、複数のハードウェアボタン(以降において、ボタンとも記載する)を含んで実現される。また、設定受付部13は、音声に基づく情報により各種設定を受け付けてもよい。設定受付部13は、第1取得部の一例である。なお、以降において、インターバル機能を実行させる複数のプログラムを単に複数のプログラムとも記載する。
The setting
表示部14は、ユーザが設定内容などを確認するための情報、複数のプログラムのうち現在実行しているプログラムを示す情報などを表示する。表示部14は、例えば、複数のプログラムのうち2以上のプログラムの動作期間が重なる重複期間において実行される一のプログラムを示す情報を表示する。また、表示部14は、例えば、複数のプログラムのうち2以上のプログラムの動作期間が重なる重複期間であることを示す情報、重複期間において選択された一のプログラムで制御を行っていることを示す情報などを表示してもよい。表示部14は、例えば、複数のプログラムごとに互いに異なる表示態様で表示する。プログラムを示す情報は、例えば、プログラム番号、プログラムの制御内容などであるがこれに限定されない。また、動作期間は、インターバル機能を実行させるプログラムの開始時刻と終了時刻との間の期間である。
The
表示部14は、例えば、液晶パネルによって実現されるが、有機EL(Electro Luminescence)パネルなどのその他の表示パネルによって実現されてもよい。また、表示部14は、バックライトを有していてもよい。
The
記憶部15は、設定受付部13によって受け付けられた各種設定が設定情報として記憶される記憶装置である。記憶部15は、インターバル機能を実現するための複数のプログラムと、当該複数のプログラムのうち優先して実行するプログラムに関する優先情報(後述する図5を参照)とを記憶する。複数のプログラム、および、優先情報は、設定情報の一例である。
The
また、記憶部15は、インターバル機能を実現しない1以上のプログラム(例えば、オンおよびオフをそれぞれ1回行うプログラム)を記憶していてもよい。記憶部15は、例えば、半導体メモリによって実現される。
The
制御部16は、スイッチ部12のオンおよびオフ(つまり、負荷および電源の電気的な接続のオンおよびオフ)を制御する制御装置である。制御部16は、記憶部15に記憶された複数のプログラムに基づいてスイッチ部12に制御信号を送信する。
The
また、制御部16は、複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、記憶部15に記憶されている優先情報に基づいて動作期間が重なる重複期間において実行される一のプログラムを当該2以上のプログラムの中から選択し、選択された一のプログラムに基づいて、重複期間におけるスイッチ部12の開閉を制御する。制御部16は、複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、優先情報に基づいて2以上のプログラムから実行する一のプログラムを決定するとも言える。このように、制御部16は、2以上のプログラムの動作期間が重なるときに、画一的に設けられた条件に基づいて2以上のプログラムの動作を制御しない。制御部16は、例えば、ユーザにより入力された優先情報に基づいて、当該ユーザの意図に応じた一のプログラムでの制御が可能である。
Furthermore, when the operation periods of two or more of the multiple programs overlap, the
また、制御部16は、さらに、センサ部19から取得した計測結果に基づいて、2以上のプログラムの中から重複期間に実行する一のプログラムを選択してもよい。制御部16は、センサ部19から取得した計測結果に基づいて、2以上のプログラムのうちのいずれのプログラムを一のプログラムにするかを判定するとも言える。制御部16は、判定部としての機能を有する。
The
制御部16は、例えば、マイクロコンピュータまたはプロセッサなどによって実現される。なお、記憶部15は、制御部16に内蔵されてもよい。記憶部15は、例えば、マイクロコンピュータに内蔵される不揮発性メモリであってもよい。
The
計時部17は、現在の日時を計測するタイマ装置である。計時部17は、例えば、リアルタイムクロックによって実現される。
The
通信部18は、タイムスイッチ10が外部機器と通信するための通信モジュールである。タイムスイッチ10は、例えば、プログラムおよび優先情報の少なくとも1つを外部機器から通信により取得してもよい。通信部18は、優先情報を通信を介して取得する第1取得部として機能する。なお、外部機器は、例えば、スマートフォン、パーソナルコンピュータなどの端末装置であるがこれに限定されない。
The
また、通信部18は、ユーザが設定内容などを確認するための情報、複数のプログラムのうち現在実行しているプログラムを示す情報などを外部機器に送信してもよい。通信部18は、例えば、複数のプログラムのうち2以上のプログラムの動作期間が重なる重複期間において、実行されている一のプログラムを示す情報を外部機器に送信してもよい。このように、通信部18は、送信部として機能してもよい。現在実行しているプログラムを示す情報は、例えば、プログラム番号、プログラムの内容などである。また、現在実行しているプログラムを示す情報は、例えば、インターバル機能を実現させるプログラムを実行していることを示す情報であってもよい。
The
通信部18による通信に用いられる通信方式は特に限定されず、無線通信であってもよいし有線通信であってもよい。また、通信に用いる通信規格は、特に限定されない。
The communication method used for communication by the
センサ部19は、タイムスイッチ10の周囲環境(使用環境)またはタイムスイッチ10に接続された負荷の周囲環境(使用環境)を計測する。センサ部19は、タイムスイッチ10または当該タイムスイッチ10に接続された負荷の周囲の照度、温度、湿度、風速および対象物(例えば、人)の少なくとも1つを計測可能なように構成される。センサ部19は、例えば、照度センサ、温度センサ、湿度センサ、風速センサおよび人感センサの少なくとも1つを含んで構成される。
The
また、センサ部19は、タイムスイッチ10における電気的な計測を行ってもよい。センサ部19は、例えば、スイッチ部12がオンしたとき(閉じたとき)に、電源と負荷との間の電流または電圧を計測するセンサ(例えば、電流センサまたは電圧センサ)を含んでいてもよい。当該センサは、例えば、接点電流または接点電圧を計測する。
The
これにより、制御部16は、開閉容量などの接点定格値を超える負荷に対して使用されているか否かを判定することができる。なお、開閉容量などの情報は、記憶部15に記憶されていてもよい。
This allows the
なお、タイムスイッチ10は、センサ部19を備えていなくてもよい。
The
[2.タイムスイッチの動作]
続いて、上記のように構成されるタイムスイッチ10の動作について、図3~図9Bを参照しながら説明する。図3は、本実施の形態に係るタイムスイッチ10の動作を示すフローチャートである。なお、図3では、各種設定を設定受付部13を介して取得する例について説明する。
[2. Time Switch Operation]
Next, the operation of the
図3に示すように、まず、設定受付部13は、初期設定を受け付ける(S11)。初期設定には、現在時刻の設定、および、タイムスイッチ10の使用地域の設定などが含まれる。
As shown in FIG. 3, first, the
次に、設定受付部13は、インターバル機能を実行させる複数のプログラムを受け付ける(S12)。設定受付部13によってプログラムに関する設定が受け付けられると、当該プログラムに関する設定情報が記憶部15に記憶される。
Next, the
図4は、本実施の形態に係るインターバル機能を実現するためのプログラムの一例を示す図である。図4では、番号「1」および「2」の2つのプログラムを示している。なお、番号「1」および「2」は、プログラムを識別するための識別情報であり、プログラム番号の一例である。以降において、番号「1」のプログラムをプログラム1または第1のプログラムとも記載し、番号「2」のプログラムをプログラム2または第2のプログラムとも記載する。
Figure 4 is a diagram showing an example of a program for realizing the interval function according to this embodiment. Two programs, numbered "1" and "2", are shown in Figure 4. The numbers "1" and "2" are identification information for identifying the programs, and are examples of program numbers. Hereinafter, the program numbered "1" will also be referred to as
図4に示すように、プログラムは、例えば、インターバル開始時刻(開始時刻)、インターバル終了時刻(終了時刻)、インターバル入期間(入期間)、インターバル切期間(切期間)それぞれの時刻または時間の設定を含む。また、プログラムは、例えば、動作曜日に関する設定を含んでいてもよい。 As shown in FIG. 4, the program includes, for example, settings for the time or duration of each of the interval start time (start time), interval end time (end time), interval on period (on period), and interval off period (off period). The program may also include, for example, settings related to the days of the week on which the program operates.
例えば、図4に示すプログラム1は、月曜日~日曜日の毎日において、10時から14時までの間を15分ごとに1分間オンするためのプログラムである。また、図4に示すプログラム2は、月曜日~日曜日の毎日において、14時から17時までの間を30分ごとに1分間オンするプログラムである。
For example,
ここで、プログラム1の終了時刻と、プログラム2の開始時刻とが同時刻である。例えば、2つのプログラムの動作期間の一部が重なっており、画一的に当該2つのプログラムのうち最初の終了時刻が優先して実行される場合、14時において、プログラム1の終了およびプログラム2の開始のうちプログラム1の終了が優先されるので、プログラム2は実行されない。このように、従来であれば、2つのプログラムの動作期間が重なっている場合、後から動作するプログラムは、実行されないことがある。つまり、従来であれば、複数のプログラムを適切に切り替えることができないことがある。また、プログラム1の後にプログラム2が実行されるように、プログラム1および2の動作期間が重ならないようにプログラム1の終了時刻をプログラム2の開始時刻より前に設定することも可能であるが、当該プログラム1の終了時刻の設定が煩雑であり、時刻を誤って設定してしまう可能性がある。
Here, the end time of
そこで、本実施の形態では、このように一部の動作期間が重なっている場合であっても、複数のプログラムを適切に切り替えることができるタイムスイッチ10を実現する。
Therefore, in this embodiment, a
図3を再び参照して、次に、設定受付部13は、複数のプログラムの優先情報を受け付ける(S13)。設定受付部13によって複数のプログラムのうち優先して実行するプログラムに関する設定が受け付けられると、当該複数のプログラムに関する優先情報が記憶部15に記憶される。
Referring again to FIG. 3, next, the
図5は、本実施の形態に係る優先情報の一例を示す図である。 Figure 5 shows an example of priority information in this embodiment.
図5に示すように、優先情報には、優先するプログラムに関する優先内容(ルール)が含まれる。例えば、優先内容は、予め設定され記憶部15に記憶されており、ステップS13では、どの優先内容で制御するかの選択を受け付けてもよい。
As shown in FIG. 5, the priority information includes priority content (rules) regarding the prioritized programs. For example, the priority content may be set in advance and stored in the
優先内容は、例えば、「プログラム番号の若いものを優先」、「開始が早いプログラムを優先」、「後から動作するプログラムを優先」、「特定のプログラムを優先」および「後から動作するプログラムの終了を優先」が含まれる。なお、優先内容は、これらに限定されない。 Examples of priority include "give priority to programs with lower program numbers," "give priority to programs that start earlier," "give priority to programs that run later," "give priority to a specific program," and "give priority to the termination of programs that run later." Note that priority is not limited to these.
「プログラム番号の若いものを優先」は、2以上のプログラムの動作期間の一部が重なる場合に、プログラム番号が最も若い(小さい)プログラムを優先して実行することを示し、「開始が早いプログラムを優先」は、2以上のプログラムの動作期間の一部が重なる場合に、プログラムが開始された時刻が最も早いプログラムを優先して実行することを示す。また、「後から動作するプログラムを優先」は、2以上のプログラムの動作期間の一部が重なる場合に、プログラムが開始された時刻が最も遅いプログラムを優先して実行することを示し、「特定のプログラムを優先」は、2以上のプログラムの動作期間の一部が重なる場合に、ユーザにより設定された特定のプログラムを優先して実行することを示し、「後から動作するプログラムの終了を優先」は、2以上のプログラムの動作期間の一部が重なる場合に、プログラムが開始された時刻が最も遅いプログラムの終了時刻を優先することを示す。 "Prefer lower program number" indicates that when the operating periods of two or more programs partially overlap, priority is given to execution of the program with the lowest (smallest) program number; "Prefer earlier started program" indicates that when the operating periods of two or more programs partially overlap, priority is given to execution of the program that started the earliest. Also, "Prefer later running program" indicates that when the operating periods of two or more programs partially overlap, priority is given to execution of the program that started the latest; "Prefer specific program" indicates that when the operating periods of two or more programs partially overlap, priority is given to execution of a specific program set by the user; and "Prefer later running program termination" indicates that when the operating periods of two or more programs partially overlap, priority is given to the termination time of the program that started the latest.
なお、優先内容は、上記以外の内容を含んでいてもよい。例えば、「プログラム番号の大きいものを優先」、「先に動作するプログラムの終了を優先」などであってもよい。 The priority content may include content other than the above. For example, it may be "give priority to the program with the larger program number" or "give priority to the program that runs first."
図3を再び参照して、次に、制御部16は、プログラムに基づいてスイッチ部12を制御する(S14)。制御部16は、複数のプログラムのいずれのプログラムの動作も行っていない状態で、複数のプログラムのうち、開始時刻となったプログラムの動作を開始する。制御部16は、記憶部15に記憶されたプログラムに基づいてスイッチ部12のオンおよびオフを制御する。制御部16は、計時部17によって計測される現在の時刻がプログラムの開始時刻になると、スイッチ部12をオンする。また、制御部16は、計時部17によって計測されるスイッチ部12をオンしてからの経過時間が入期間を経過すると、スイッチ部12をオフする。また、制御部16は、計時部17によって計測されるスイッチ部12をオフしてからの経過時間が切期間を経過すると、再びスイッチ部12をオンする。このように、制御部16は、終了時刻になるまでオンおよびオフを繰り返す。
Referring again to FIG. 3, next, the
次に、制御部16は、2以上のプログラムが重なるか否かを判定する(S15)。制御部16は、例えば、現在動作しているプログラムの動作期間と、他のプログラムの動作期間とが重なるか否かを判定する。制御部16は、例えば、開始時刻、終了時刻および動作曜日に基づいてステップS15の判定を行う。
Next, the
次に、制御部16は、2以上のプログラムが重なる場合(S15でYes)、優先情報に基づいて、重なる2以上のプログラムから優先して実行するプログラム(一のプログラムの一例)を判定し、判定されたプログラムを重複期間に実行するように制御し(S16)、2以上のプログラムが重ならない場合(S15でNo)、現在動作しているプログラムの終了時刻になるまで当該プログラムに応じたインターバル動作を継続する。一のプログラムを判定とは、2以上のプログラムから一のプログラムを選択する又は特定することを意味する。
Next, if two or more programs overlap (Yes in S15), the
なお、ステップS15の判定は、定期的に行われてもよい。例えば、制御部16は、インターバル機能を実現させるためのプログラムの動作中、所定の時間間隔ごとにステップS15の判定を行ってもよい。
The determination in step S15 may be performed periodically. For example, the
ここで、ステップS16の具体的な動作について、図6A~図9Bを参照しながら説明する。図6Aは、図5に示すNo.1の優先内容の場合の第1の動作例を示す図である。図6Aは、プログラム2の開始時刻がプログラム1の動作期間内であり、かつ、プログラム2の終了時刻がプログラム1の動作期間の後である場合の動作例を示す。
The specific operation of step S16 will now be described with reference to Figures 6A to 9B. Figure 6A is a diagram showing a first example of operation in the case of priority content No. 1 shown in Figure 5. Figure 6A shows an example of operation in the case where the start time of
第1入/切期間は、プログラム1の動作期間であり、第2入/切期間は、プログラム2の動作期間である。時刻t1~t3は、プログラム1の動作期間(第1の期間)であり、時刻t2~t4は、プログラム2の動作期間(第2の期間)であり、時刻t2~t3は、プログラム1の動作期間とプログラム2の動作期間とが重なる重複期間である。なお、図7A、図8Aおよび図9Aも同様の動作期間の場合の動作例を示す。
The first on/off period is the operating period of
また、図6Bは、図5に示すNo.1の優先内容の場合の第2の動作例を示す図である。図6Bは、プログラム1の開始時刻および終了時刻がプログラム2の動作期間に含まれる場合、つまり、プログラム2の動作期間の中にプログラム1の動作期間が含まれる場合の動作例を示す。
Figure 6B is a diagram showing a second example of operation in the case of the priority content No. 1 shown in Figure 5. Figure 6B shows an example of operation in the case where the start time and end time of
時刻t2~t3は、プログラム1の動作期間(第1の期間)であり、時刻t1~t4は、プログラム2の動作期間(第2の期間)であり、時刻t2~t3は、重複期間である。なお、図7B、図8Bおよび図9Bも同様の動作期間の場合の動作例を示す。
Times t2 to t3 are the operation period (first period) of
また、図中の制御内容は、制御部16の判定結果に基づく実際の制御内容を示す。
The control content in the figure shows the actual control content based on the judgment result of the
図6Aに示すように、時刻t1において、プログラム1の開始時刻となり、プログラム1が実行される。次に、時刻t2において、プログラム2の開始時刻となる。制御部16は、「プログラム番号の若いものを優先」の優先情報に基づいて、プログラム1および2のうち、プログラム1を優先すると判定する。言い換えると、制御部16は、優先情報に基づいて、プログラム1および2のうちプログラム1を選択する。制御部16は、プログラム1および2のうち、実行するプログラムがプログラム1であると特定するとも言える。つまり、時刻t2において、プログラム1が継続して実行され、プログラム2は実行されない。次に、時刻t3において、プログラム1の終了時刻となり、プログラム1からプログラム2に切り替わり、プログラム2に基づくスイッチ部12の制御が開始される。時刻t3において、プログラム1を優先する制御(優先情報に基づく制御)が終了するので、時刻t3以降においてプログラム2が実行可能である。次に、時刻t4において、プログラム2の終了時刻となり、インターバル動作が終了する。このように、図6Aの場合は、プログラム1、プログラム2の順にプログラムが切り替わり、重複期間ではプログラム1が実行され、重複期間の後にプログラム2が実行される。
As shown in FIG. 6A, at time t1, it is the start time of
このように、複数のプログラムは、動作期間が第1の期間であるプログラム1(第1のプログラムの一例)と、動作期間が第1の期間と一部が重複し、かつ、開始時刻が第1の期間内であり終了時刻が第1の期間より遅いプログラム2(第2のプログラムの一例)とを含み、プログラム1はプログラム2よりプログラム番号が若いとする。この場合、制御部16は、第1の期間および第2の期間が重複する重複期間において、プログラム1および2のうちプログラム番号が若いプログラム1を一のプログラムとして選択し、第1の期間にわたりプログラム1でスイッチ部12の開閉を制御してもよい。なお、優先情報は、プログラム番号の若いプログラムを優先することが含まれる。
In this way, the multiple programs include program 1 (an example of a first program) whose operating period is the first period, and program 2 (an example of a second program) whose operating period partially overlaps with the first period and whose start time is within the first period and whose end time is later than the first period, and
これにより、例えば、ユーザがプログラム2の開始時刻を誤って入力した場合であっても、当該プログラム2が実行されることを抑制することができる。
This makes it possible to prevent
図6Bに示すように、時刻t1において、プログラム2の開始時刻となり、プログラム2が実行される。次に、時刻t2において、プログラム1の開始時刻となる。制御部16は、「プログラム番号の若いものを優先」の優先情報に基づいて、プログラム1および2のうち、プログラム1を優先すると判定する。言い換えると、制御部16は、優先情報に基づいて、プログラム1および2のうちプログラム1を選択する。つまり、時刻t2において、実行されるプログラムがプログラム2からプログラム1に切り替わる。時刻t2から時刻t3の間では、プログラム1に基づいてスイッチ部12の制御が行われる。次に、時刻t3において、プログラム1の終了時刻となり、プログラム1からプログラム2に切り替わり、プログラム2に基づくスイッチ部12の制御が開始される。次に、時刻t4において、プログラム2の終了時刻となり、インターバル動作が終了する。このように、図6Bの場合は、プログラム2、プログラム1、プログラム2の順にプログラムが切り替わり、重複期間ではプログラム1が実行される。
As shown in FIG. 6B, at time t1, it is the start time of
このように、複数のプログラムは、動作期間が第1の期間であるプログラム1と、動作期間が第1の期間を内包する第2の期間であるプログラム2とを含み、プログラム1は、プログラム2よりプログラム番号が若いとする。この場合、制御部16は、第1の期間および第2の期間が重複する重複期間において、プログラム1および2のうちプログラム番号が若いプログラム1を一のプログラムとして選択し、第1の期間における重複期間においてはプログラム1でスイッチ部12を制御し、かつ、第1の期間における重複期間の後の期間においてはプログラム1から切り替えられたプログラム2でスイッチ部12を制御してもよい。なお、優先情報は、プログラム番号の若いプログラムを優先することが含まれる。
In this way, the multiple programs include
図6Aおよび図6Bに示すように、複数のプログラムのそれぞれには、互いに異なるプログラム番号が対応づけられており、優先情報は、プログラム番号の若いプログラムを優先することを含み、制御部16は、重複期間において、2以上のプログラムのうちプログラム番号が最も若いプログラムを一のプログラムとして選択してもよい。
As shown in Figures 6A and 6B, each of the multiple programs is associated with a different program number, the priority information includes giving priority to a program with a lower program number, and the
図7Aは、図5に示すNo.2の優先内容の場合の第1の動作例を示す図である。図7Bは、図5に示すNo.2の優先内容の場合の第2の動作例を示す図である。 Figure 7A is a diagram showing a first example of operation in the case of the priority content No. 2 shown in Figure 5. Figure 7B is a diagram showing a second example of operation in the case of the priority content No. 2 shown in Figure 5.
図7Aに示すように、時刻t1において、プログラム1の開始時刻となり、プログラム1が実行される。次に、時刻t2において、プログラム2の開始時刻となる。制御部16は、「開始が早いプログラムを優先」の優先情報に基づいて、プログラム1および2のうち、開始時刻が早いプログラム1を優先すると判定する。言い換えると、制御部16は、優先情報に基づいて、プログラム1および2のうちプログラム1を選択する。つまり、時刻t2において、プログラム1が継続して実行され、プログラム2は実行されない。時刻t2以降の制御は、図6Aと同様であり説明を省略する。このように、図7Aの場合は、プログラム1、プログラム2の順にプログラムが切り替わり、重複期間ではプログラム1が実行され、重複期間の後にプログラム2が実行される。
As shown in FIG. 7A, at time t1, it is the start time of
図7Bに示すように、時刻t1において、プログラム2の開始時刻となり、プログラム2が実行される。次に、時刻t2において、プログラム1の開始時刻となる。制御部16は、「開始が早いプログラムを優先」の優先情報に基づいて、プログラム1および2のうち、プログラム2を優先すると判定する。言い換えると、制御部16は、優先情報に基づいて、プログラム1および2のうちプログラム2を選択する。つまり、時刻t2において、プログラム2が継続して実行され、プログラム1は実行されない。時刻t2から時刻t3の間では、プログラム2に基づいてスイッチ部12の制御が行われる。次に、時刻t3において、プログラム1の終了時刻となるがプログラム2の動作が優先されるので、時刻t3以降もプログラム2が継続して実行される。次に、時刻t4において、プログラム2の終了時刻となり、インターバル動作が終了する。このように、図7Bの場合は、プログラム2のみが実行される。
As shown in FIG. 7B, at time t1, it is the start time of
図7Aおよび図7Bに示すように、複数のプログラムのそれぞれには、開始時刻が設定されており、優先情報は、開始時刻が早いプログラムを優先することを含み、制御部16は、重複期間において、2以上のプログラムのうち開始時刻が最も早いプログラムを一のプログラムとして選択してもよい。
As shown in Figures 7A and 7B, a start time is set for each of the multiple programs, the priority information includes giving priority to the program with the earlier start time, and the
図8Aは、図5に示すNo.3の優先内容の場合の第1の動作例を示す図である。図8Bは、図5に示すNo.3の優先内容の場合の第2の動作例を示す図である。 Figure 8A is a diagram showing a first example of operation in the case of the priority content No. 3 shown in Figure 5. Figure 8B is a diagram showing a second example of operation in the case of the priority content No. 3 shown in Figure 5.
図8Aに示すように、時刻t1において、プログラム1の開始時刻となり、プログラム1が実行される。次に、時刻t2において、プログラム2の開始時刻となる。制御部16は、「後から動作するプログラムを優先」の優先情報に基づいて、プログラム1および2のうち、後から動作する(開始時刻が遅い)プログラム2を優先すると判定する。言い換えると、制御部16は、優先情報に基づいて、プログラム1および2のうちプログラム2を選択する。つまり、時刻t2において、実行されるプログラムがプログラム1からプログラム2に切り替わる。時刻t2から時刻t3の間では、プログラム2に基づいてスイッチ部12の制御が行われる。次に、時刻t3において、プログラム1の終了時刻となるがプログラム2の動作が優先されるので、時刻t3以降もプログラム2が継続して実行さる。次に、時刻t4において、プログラム2の終了時刻となり、インターバル動作が終了する。このように、図8Aの場合は、プログラム1、プログラム2の順にプログラムが切り替わり、重複期間ではプログラム2が実行される。
As shown in FIG. 8A, at time t1, it is the start time of
図8Bに示すように、時刻t1において、プログラム2の開始時刻となり、プログラム2が実行される。次に、時刻t2において、プログラム1の開始時刻となる。制御部16は、「後から動作するプログラムを優先」の優先情報に基づいて、プログラム1および2のうち、プログラム1を優先すると判定する。言い換えると、制御部16は、優先情報に基づいて、プログラム1および2のうちプログラム1を選択する。つまり、時刻t2において、実行されるプログラムがプログラム2からプログラム1に切り替わる。時刻t2から時刻t3の間では、プログラム1に基づいてスイッチ部12の制御が行われる。次に、時刻t3において、プログラム1の終了時刻となり、プログラム1からプログラム2に切り替わり、プログラム2に基づくスイッチ部12の制御が再び開始される。次に、時刻t4において、プログラム2の終了時刻となり、インターバル動作が終了する。このように、図8Bの場合は、プログラム2、プログラム1、プログラム2の順にプログラムが切り替わり、重複期間ではプログラム1が実行され、重複期間以外の期間にプログラム2が実行される。
As shown in FIG. 8B, at time t1, it is the start time of
図8Aおよび図8Bに示すように、複数のプログラムのそれぞれには、開始時刻が設定されており、優先情報は、後から動作を開始するプログラムを優先することを含み、制御部16は、重複期間において、2以上のプログラムのうち開始時刻が最も遅いプログラムを一のプログラムとして選択してもよい。
As shown in Figures 8A and 8B, a start time is set for each of the multiple programs, the priority information includes giving priority to a program that starts operating later, and the
図9Aは、図5に示すNo.4の優先内容の場合の第1の動作例を示す図である。図9Bは、図5に示すNo.4の優先内容の場合の第2の動作例を示す図である。なお、優先情報「特定のプログラムを優先」における特定のプログラムは、プログラム2であるとする。
Figure 9A is a diagram showing a first example of operation in the case of the priority content No. 4 shown in Figure 5. Figure 9B is a diagram showing a second example of operation in the case of the priority content No. 4 shown in Figure 5. Note that the specific program in the priority information "Give priority to a specific program" is assumed to be
図9Aに示すように、時刻t1において、プログラム1の開始時刻となり、プログラム1が実行される。次に、時刻t2において、プログラム2の開始時刻となる。制御部16は、「特定のプログラムを優先」の優先情報に基づいて、プログラム1および2のうち、特定のプログラムであるプログラム2を優先すると判定する。言い換えると、制御部16は、優先情報に基づいて、プログラム1および2のうちプログラム2を選択する。つまり、時刻t2において、プログラム1からプログラム2に切り替わり、時刻t2から時刻t3の間では、プログラム2に基づいてスイッチ部12の制御が行われる。次に、時刻t3において、プログラム1の終了時刻となるがプログラム2の動作が優先されるので、時刻t3以降もプログラム2が継続して実行される。次に、時刻t4において、プログラム2の終了時刻となり、インターバル動作が終了する。このように、図9Aの場合は、プログラム1、プログラム2の順にプログラムが切り替わり、重複期間を含む時刻t2以降ではプログラム2が実行される。
As shown in FIG. 9A, at time t1, it is the start time of
図9Bに示すように、時刻t1において、プログラム2の開始時刻となり、プログラム2が実行される。次に、時刻t2において、プログラム1の開始時刻となる。制御部16は、「特定のプログラムを優先」の優先情報に基づいて、プログラム1および2のうち、特定のプログラムであるプログラム2を優先すると判定する。言い換えると、制御部16は、優先情報に基づいて、プログラム1および2のうちプログラム2を選択する。つまり、時刻t2において、プログラム1の開始時刻となるがプログラム2の動作が優先されるので、時刻t2以降もプログラム2が継続して実行される。次に、時刻t3において、プログラム1の終了時刻となるがプログラム2の動作が優先されるので、時刻t3以降もプログラム2が継続して実行される。次に、時刻t4において、プログラム2の終了時刻となり、インターバル動作が終了する。このように、図9Bの場合は、プログラム2のみが実行される。
As shown in FIG. 9B, at time t1, it is the start time of
図9Aおよび図9Bに示すように、優先情報は、複数のプログラムのうちの特定のプログラムを優先することを含み、制御部16は、重複期間において、2以上のプログラムのうち特定のプログラムを一のプログラムとして選択してもよい。
As shown in Figures 9A and 9B, the priority information may include prioritizing a specific program among multiple programs, and the
上記のように、制御部16は、ユーザなどにより設定される優先情報に基づいて、どのプログラムを優先して実行するかを判定することができるので、インターバル機能を実現するための複数のプログラムを適切に切り替えることができる。これにより、タイムスイッチ10において多様な動作が可能となる。
As described above, the
なお、制御部16は、設定受付部13を介して取得された優先情報にさらにセンサ部19の計測結果を用いて、または、当該優先条件に替えて当該計測結果を用いて、2以上のプログラムの動作期間が重なっているときに実行される一のプログラムを決定してもよい。計測結果を用いる場合の動作例は、以下の変形例において例示する。
The
なお、優先情報は、後から動作するプログラムの終了を優先することを含み、制御部16は、重複期間において、2以上のプログラムのうち最も後から動作するプログラムを一のプログラムとして選択してもよい。
The priority information may include giving priority to the termination of a program that runs last, and the
[3.効果など]
以上のように、本実施の形態に係るタイムスイッチ10は、負荷および電源の電気的な接続を開閉するスイッチ部12と、インターバル機能を実行させる複数のプログラムを記憶する記憶部15と、複数のプログラムのうち優先して実行するプログラムに関する優先情報を取得する設定受付部13(第1取得部の一例)と、スイッチ部12の開閉を制御する制御部16とを備える。そして、制御部16は、複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、優先情報に基づいて動作期間が重なる重複期間において実行される一のプログラムを2以上のプログラムの中から選択し、選択された一のプログラムに基づいて、重複期間におけるスイッチ部12の開閉を制御する。
[3. Effects, etc.]
As described above, the
これにより、動作期間が重なる重複期間においては一のプログラムが優先して実行され、かつ、重複期間以外の期間では、当該期間が動作期間であるプログラムが実行される。つまり、重複期間と、重複期間以外の期間との間において、優先情報に基づいてプログラムを切り替えることが可能となる。よって、本実施の形態に係るタイムスイッチ10は、インターバル機能を実現するための複数のプログラムを適切に切り替えることができる。
As a result, during overlapping periods when the operating periods overlap, one program is executed with priority, and during periods other than the overlapping periods, the program whose operating period is that period is executed. In other words, it is possible to switch programs between overlapping periods and periods other than the overlapping periods based on priority information. Thus, the
また、例えば、設定受付部13は、優先情報を設定するための操作を受け付けることで優先情報を取得してもよい。
Also, for example, the
これにより、設定受付部13は、タイムスイッチ10に対するユーザの直接の操作により、優先情報を取得することができる。
This allows the
また、例えば、設定受付部13は、優先情報を通信を介して取得してもよい。
Also, for example, the
これにより、設定受付部13は、ユーザがタイムスイッチ10から遠隔にいる場合であっても、優先情報を取得することができる。例えば、優先情報を更新する場合、タイムスイッチ10の設置場所へユーザが移動することなく、優先情報を記憶部15に記憶させることができる。よって、タイムスイッチ10は、優先情報を容易に更新することができるので、より適切なプログラムの切り替えを行いやすくなる。
This allows the
また、タイムスイッチ10は、周囲環境を計測するセンサ部19(センサの一例)をさらに備える。そして、制御部16は、さらにセンサ部19から取得された計測結果に基づいて、一のプログラムを選択する。
The
これにより、タイムスイッチ10は、重複期間において、複数のプログラムのうち周囲環境に応じたプログラムでスイッチ部12を制御することが可能となる。つまり、周囲環境に応じたプログラムに切り替え可能な点において、複数のプログラムを適切に切り替えることができる。例えば、気象条件などによっては、異なるインターバルシーケンスでタイムスイッチ10を動作させたい場合がある。このような場合に、タイムスイッチ10は、気象条件に応じたプログラムへの切り替えが可能となる。
This allows the
また、例えば、タイムスイッチ10は、重複期間において、一のプログラムを示す情報を表示する表示部14をさらに備える。
For example, the
これにより、タイムスイッチ10は、表示部14により重複期間にどのプログラムが動作しているかをユーザに提示することができる。
This allows the
また、例えば、タイムスイッチ10は、重複期間において、一のプログラムを示す情報を外部機器に送信する通信部18(送信部の一例)をさらに備える。
For example, the
これにより、タイムスイッチ10は、重複期間にどのプログラムが動作しているかを遠隔にいるユーザに通知することができる。
This allows the
また、例えば、複数のプログラムのそれぞれには、互いに異なるプログラム番号が対応づけられており、優先情報は、プログラム番号の若いプログラムを優先することを含んでもよい。そして、制御部16は、重複期間において、2以上のプログラムのうちプログラム番号が最も若いプログラムを一のプログラムとして選択してもよい。
Also, for example, each of the multiple programs may be associated with a different program number, and the priority information may include giving priority to a program with a lower program number. Then, the
これにより、タイムスイッチ10は、プログラム番号の若いプログラムを優先する観点において、複数のプログラムを適切に切り替えることができる。
This allows the
また、例えば、複数のプログラムのそれぞれには、開始時刻が設定されており、優先情報は、開始時刻が早いプログラムを優先することを含んでもよい。そして、制御部16は、重複期間において、2以上のプログラムのうち開始時刻が最も早いプログラムを一のプログラムとして選択してもよい。
Also, for example, a start time may be set for each of the multiple programs, and the priority information may include giving priority to a program with an earlier start time. Then, the
これにより、タイムスイッチ10は、開始時刻が早いプログラムを優先する観点において、複数のプログラムを適切に切り替えることができる。
This allows the
また、例えば、複数のプログラムのそれぞれには、開始時刻が設定されており、優先情報は、後から動作を開始するプログラムを優先することを含んでもよい。そして、制御部16は、重複期間において、2以上のプログラムのうち開始時刻が最も遅いプログラムを一のプログラムとして選択してもよい。
For example, each of the multiple programs may have a start time set, and the priority information may include giving priority to a program that starts operating later. Then, the
これにより、タイムスイッチ10は、後から動作を開始するプログラムを優先する観点において、複数のプログラムを適切に切り替えることができる。
This allows the
また、例えば、優先情報は、複数のプログラムのうちの特定のプログラムを優先することを含んでいてもよい。そして、制御部16は、重複期間において、2以上のプログラムのうち特定のプログラムを一のプログラムとして選択してもよい。
For example, the priority information may include prioritizing a specific program from among multiple programs. Then, the
これにより、タイムスイッチ10は、特定のプログラムを優先する観点において、複数のプログラムを適切に切り替えることができる。
This allows the
また、例えば、複数のプログラムは、動作期間が第1の期間である第1のプログラムと、動作期間が第1の期間と一部が重複し、かつ、動作期間が、開始時刻が第1の期間内であり終了時刻が第1の期間の後の第2の期間である第2のプログラムとを含み、第1のプログラムは、第2のプログラムよりプログラム番号が若く、優先情報は、プログラム番号の若いプログラムを優先することを含んでいてもよい。そして、制御部16は、第1の期間および第2の期間が重複する重複期間において、第1のプログラムおよび第2のプログラムのうちプログラム番号が若い第1のプログラムを一のプログラムとして選択し、第1の期間にわたり第1のプログラムでスイッチ部12の開閉を制御してもよい。
Also, for example, the multiple programs may include a first program whose operating period is a first period, and a second program whose operating period overlaps partially with the first period and whose operating period starts within the first period and ends in a second period after the first period, the first program having a program number lower than the second program, and the priority information may include prioritizing the program with the lower program number. Then, during an overlapping period in which the first period and the second period overlap, the
これにより、タイムスイッチ10は、第1のプログラム、第2のプログラムの順に動作させるプログラムを切り替えることができる。
This allows the
また、例えば、複数のプログラムは、動作期間が第1の期間である第1のプログラムと、動作期間が第1の期間を内包する第2の期間である第2のプログラムとを含み、第1のプログラムは、第2のプログラムよりプログラム番号が若く、優先情報は、プログラム番号の若いプログラムを優先することを含んでいてもよい。そして、制御部16は、第1の期間および第2の期間が重複する重複期間において、第1のプログラムおよび第2のプログラムのうちプログラム番号が若い第1のプログラムを一のプログラムとして選択し、第1の期間における重複期間においては、第1のプログラムでスイッチ部12を制御し、かつ、第1の期間における重複期間の後の期間においては第1のプログラムから切り替えられた第2のプログラムでスイッチ部12を制御してもよい。
Also, for example, the multiple programs may include a first program whose operating period is a first period and a second program whose operating period is a second period that includes the first period, the first program having a program number lower than the second program, and the priority information may include prioritizing the program with the lower program number. Then, during an overlapping period in which the first period and the second period overlap, the
これにより、タイムスイッチ10は、第1のプログラム、第2のプログラム、第1のプログラムの順に動作させるプログラムを切り替えることができる。
This allows the
以上のように、本実施の形態に係るタイムスイッチ10の制御方法は、記憶部15に記憶されインターバル機能を実行させる複数のプログラムのうち、優先して実行するプログラムに関する優先情報を取得するステップ(S13)と、負荷および電源の電気的な接続を開閉するスイッチ部12の開閉を制御するステップ(S14~S16)とを含む。そして、制御するステップは、複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、優先情報に基づいて動作期間が重なる重複期間において実行される一のプログラムを2以上のプログラムの中から選択し、選択された一のプログラムに基づいて、重複期間におけるスイッチ部12の開閉を制御する。
As described above, the method for controlling the
これにより、上記のタイムスイッチ10と同様の効果を奏する。
This provides the same effect as the
(実施の形態の変形例)
以下では、本変形例に係るタイムスイッチについて、図10~図13を参照しながら説明する。なお、以下では、実施の形態との相違点を中心に説明し、実施の形態と同一または類似の内容については説明を省略または簡略化する。
(Modification of the embodiment)
The time switch according to this modification will be described below with reference to Figures 10 to 13. Note that the following description will focus on the differences from the embodiment, and descriptions of the same or similar content as the embodiment will be omitted or simplified.
まず、本変形例に係るタイムスイッチの構成について、図10を参照しながら説明する。図10は、本変形例に係るタイムスイッチ10aの機能構成を示すブロック図である。本変形例にタイムスイッチ10aは、センサ部19に替えてセンサ情報取得部20を備える点において、実施の形態に係るタイムスイッチ10と相違する。
First, the configuration of the time switch according to this modified example will be described with reference to FIG. 10. FIG. 10 is a block diagram showing the functional configuration of a
図10に示すように、タイムスイッチ10aは、端子部11と、スイッチ部12と、設定受付部13と、表示部14と、記憶部15と、制御部16と、計時部17と、通信部18と、センサ情報取得部20とを備える。タイムスイッチ10aは、実施の形態に記載したセンサ部19を備えておらず、タイムスイッチ10aの外部に設けられたセンサ部から計測結果計測結果を取得する構成を有する。
As shown in FIG. 10, the
センサ情報取得部20は、外部に設けられたセンサ部から計測結果を取得する。センサ情報取得部20は、例えば、タイムスイッチ10、または、タイムスイッチ10に接続された負荷の周囲環境を計測するセンサ部から計測結果を取得する。センサ情報取得部20は、例えば、通信(例えば、無線通信)により計測結果を取得する。センサ情報取得部20は、例えば、通信モジュールを含んで構成される。センサ情報取得部20による通信に用いられる通信方式は特に限定されず、無線通信であってもよいし有線通信であってもよい。また、通信に用いる通信規格は、特に限定されない。なお、センサ情報取得部20は、通信部18により実現されてもよい。センサ情報取得部20は、第2取得部の一例である。
The sensor
制御部16は、センサ情報取得部20を介して取得された計測結果に基づいて、2以上のプログラムのうちのいずれのプログラムを一のプログラムにするかを選択する。
The
記憶部15は、計測結果に基づいて優先するプログラムを選択するための優先情報を記憶する。優先情報は、例えば、計測結果と、当該計測結果のときに優先するプログラムを示す情報とが対応づけられたテーブルである。計測結果が温度である場合、優先情報は、温度が閾値以上である場合にはプログラム1および2のうちプログラム1を優先し、温度が閾値未満である場合にはプログラム1および2のうちプログラム2を優先することを含んでいてもよい。優先情報は、例えば、設定受付部13を介して取得されてもよい。
The
続いて、上記のように構成されるタイムスイッチ10aにおける動作について、図11~図13を参照しながら説明する。図11は、本変形例に係るタイムスイッチ10aのプログラムの切り替え動作の第1例を示すフローチャートである。なお、以下では、タイムスイッチ10aの動作について説明するが、タイムスイッチ10が備えるセンサ部19の計測結果を用いる場合も、同様の動作である。また、図11~図13では、センサ部が温度センサであり、制御部16は、計測結果として負荷の周囲の温度を取得する場合について説明する。
Next, the operation of the
図11に示すように、制御部16は、開始時刻となったプログラムに基づいてスイッチ部12を制御している(S21)ときに、センサ情報取得部20を介して計測結果を取得する(S22)。制御部16は、計測結果として負荷の周囲の温度を取得する。
As shown in FIG. 11, when the
次に、制御部16は、優先情報を取得する(S23)。優先情報は、例えば、プログラムに基づいてスイッチ部12が制御される前に取得され、記憶部15に記憶されている。制御部16は、例えば、記憶部15から優先情報を読み出すことで、当該優先情報を取得する。
Next, the
次に、制御部16は、2以上のプログラムが重なるか否かを判定する(S24)。ステップS24は、図3に示すステップS13と同様の処理であり、説明を省略する。
Next, the
次に、制御部16は、2以上のプログラムが重なる場合(S24でYes)、優先情報に基づいて、重なっている2以上のプログラムから優先して実行するプログラムを判定し、判定されたプログラムを実行するように制御し(S25)、2以上のプログラムが重ならない場合(S24でNo)、現在動作しているプログラムの終了時刻になるまで当該プログラムに応じたインターバル動作を継続する。
Next, if two or more programs overlap (Yes in S24), the
例えば、ステップS23において温度が閾値以上である場合にはプログラム1および2のうちプログラム1を優先し、温度が閾値未満である場合にはプログラム1および2のうちプログラム2を優先することを示す優先情報が取得され、かつ、ステップS24においてプログラム1および2が重なると判定された場合について説明する。この場合、制御部16は、ステップS25において、ステップS22で取得された温度が閾値以上である場合、プログラム1および2のうちプログラム1を優先すると判定し、ステップS22で取得された温度が閾値未満である場合、プログラム1および2のうちプログラム2を優先すると判定し、優先すると判定したプログラム(一のプログラムの一例)に基づいて重複期間におけるスイッチ部12を制御する。言い換えると、制御部16は、ステップS25において、ステップS22で取得された温度が閾値以上である場合、プログラム1および2のうちプログラム1を選択し、ステップS22で取得された温度が閾値未満である場合、プログラム1および2のうちプログラム2を選択する。
For example, a case will be described in which priority information is acquired indicating that
このように、制御部16は、外部環境に応じて優先するプログラムを動的に変更してもよい。
In this way, the
これにより、外部環境によって、インターバルの動作条件(優先条件)を変更することが可能となるので、そのときの外部環境により応じたプログラムでスイッチ部12のオンおよびオフを制御することができる。
This makes it possible to change the operating conditions (priority conditions) of the interval depending on the external environment, so that the on/off of the
なお、ステップS22およびS24の処理は、定期的に行われてもよい。例えば、制御部16は、所定の時間間隔ごとに計測結果を取得し、当該所定の時間間隔ごとにステップS24の判定を行ってもよい。
The processes of steps S22 and S24 may be performed periodically. For example, the
以上のように、本変形例に係るタイムスイッチ10aは、周囲環境を計測するセンサから計測結果を取得するセンサ情報取得部20(第2取得部の一例)をさらに備える。そして、制御部16は、さらにセンサ情報取得部20を介して取得された計測結果に基づいて、一のプログラムを選択する。
As described above, the
これにより、タイムスイッチ10aは、重複期間において、複数のプログラムのうち周囲環境に応じたプログラムでスイッチ部12を制御することが可能となる。つまり、タイムスイッチ10aは、周囲環境に応じたプログラムに切り替え可能な点において、複数のプログラムを適切に切り替えることができる。
This allows the
続いて、本変形例に係る他の動作例について図12を参照しながら説明する。図12は、本変形例に係るタイムスイッチ10aのプログラムの切り替え動作の第2例を示すフローチャートである。なお、図12に示す動作例では、プログラムは1つであり、当該プログラムの実行を継続するか否かを計測結果に基づいて判定する例について説明する。
Next, another operation example according to this modified example will be described with reference to FIG. 12. FIG. 12 is a flow chart showing a second example of the program switching operation of the
図12に示す動作例の場合、制御部16は、ステップS23において、例えば、温度が閾値未満である場合に、現在動作しているプログラムでの制御を停止することを含む優先情報が取得される。ここでの優先情報は、プログラムでの制御を継続するまたは停止することのいずれかを優先することを示す情報である。なお、温度が閾値以上であるか否かは、所定の条件の一例である。
In the case of the operation example shown in FIG. 12, in step S23, the
次に、制御部16は、ステップS22で取得した計測結果が所定の条件を満たすか否かを判定する(S26)。制御部16は、例えば、計測結果の一例である温度が閾値以上である場合、計測結果が所定の条件を満たすと判定し、温度が閾値未満である場合、計測結果が所定の条件を満たさないと判定する。
Next, the
次に、制御部16は、計測結果が所定の条件を満たす場合(S26でYes)、優先情報に基づいて現在動作しているプログラムによる動作を停止し(S27)、動作を終了する。また、制御部16は、計測結果が所定の条件を満たさない場合(S26でNo)、現在動作しているプログラムでの動作を継続し、当該プログラムの終了時刻になると動作を終了する。
Next, if the measurement result satisfies a predetermined condition (Yes in S26), the
なお、ステップS22およびS26の処理は、定期的に行われてもよい。例えば、制御部16は、所定の時間間隔ごとに計測結果を取得し、当該所定の時間間隔ごとにステップS26の判定を行ってもよい。
The processes of steps S22 and S26 may be performed periodically. For example, the
なお、制御部16は、ステップS27の後も計測結果の取得を継続してもよい。そして、制御部16は、ステップS27の後に、温度が閾値以上となった場合(所定の条件を満たすようになった場合)、ステップS27で停止したプログラムでの動作を再開してもよい。これにより、計測結果が所定の条件を満たす場合に、インターバル機能を実行させるプログラムでの制御を自動で行うことができる。
The
なお、ステップS21の前に、ステップS22~S26の動作が行われ、ステップS26でNoの場合に、ステップS21の動作が行われてもよい。つまり、ステップS26の判定は、現在動作しているプログラムによる制御を継続するか否かの判定に用いられることに限定されず、当該プログラムによる制御を開始するか否かの判定に用いられてもよい。 Note that steps S22 to S26 may be performed before step S21, and if step S26 is No, step S21 may be performed. In other words, the determination in step S26 is not limited to being used to determine whether or not to continue control by the currently running program, but may also be used to determine whether or not to start control by that program.
上記のように、制御部16は、計測結果が所定の条件を満たす場合、プログラム(一のプログラムの一例)を動作させないまたは動作を停止すると判定してもよい。
As described above, the
続いて、本変形例に係る他の動作例について図13を参照しながら説明する。図13は、本変形例に係るタイムスイッチ10aのプログラムの切り替え動作の第3例を示すフローチャートである。なお、図13に示す動作例では、インターバル機能を実行させるプログラムの実行中の計測結果に基づいて、インターバル機能を実行させる他のプログラムを追加するか否かを判定する例について説明する。
Next, another example of operation according to this modified example will be described with reference to FIG. 13. FIG. 13 is a flow chart showing a third example of the program switching operation of the
図13に示す動作例の場合、制御部16は、ステップS23において、例えば、温度が閾値以上である場合に現在動作しているプログラムとは異なるプログラム(例えば、専用のプログラム)を追加することを含む優先情報が取得される。ここでの優先情報は、現在動作しているプログラムでの制御より追加されるプログラムでの制御を優先することを示す情報である。
In the case of the operation example shown in FIG. 13, in step S23, the
なお、温度が閾値以上であるか否かは、所定の条件の一例である。また、追加されるプログラムは、所定の条件を満たさない場合に使用が禁止されているプログラムであってもよい。また、専用のプログラムは、例えば、温度が閾値以上のときに適したインターバル動作を実行可能なプログラムである。専用のプログラムは、予め設定されている。 Whether the temperature is equal to or higher than a threshold is one example of a predetermined condition. The added program may be a program whose use is prohibited if the predetermined condition is not met. A dedicated program is, for example, a program that can execute an appropriate interval operation when the temperature is equal to or higher than a threshold. The dedicated program is preset.
制御部16は、計測結果が所定の条件を満たす場合(S26でYes)、優先情報に基づいて、専用のプログラムで制御すると判定し、判定された専用のプログラムを実行するように制御し(S28)、当該専用のプログラムの終了時刻になると動作を終了する。制御部16は、ステップS28において、ステップS21で用いられたプログラムから専用のプログラムに切り替えて、インターバル動作を継続する。
When the measurement result satisfies a predetermined condition (Yes in S26), the
また、制御部16は、計測結果が所定の条件を満たさない場合(S26でNo)、現在動作しているプログラムの終了時刻になるまで当該プログラムに応じたインターバル動作を継続する。
In addition, if the measurement result does not satisfy the predetermined condition (No in S26), the
なお、ステップS22およびS26の処理は、定期的に行われてもよい。例えば、制御部16は、所定の時間間隔ごとに計測結果を取得し、当該所定の時間間隔ごとにステップS26の判定を行ってもよい。
The processes of steps S22 and S26 may be performed periodically. For example, the
なお、制御部16は、ステップS28の後も計測結果の取得を継続してもよい。そして、制御部16は、ステップS28の後に、温度が閾値未満となった場合(所定の条件を満たさなくなった場合)、ステップS21で動作していたプログラムでの動作に戻してもよい。これにより、計測結果が所定の条件を満たす場合に、専用のプログラムでの制御を自動で行うことができる。
The
上記のように、制御部16は、計測結果が所定の条件を満たす場合、インターバル機能を実現させるためのプログラムを追加してもよい。
As described above, the
(その他の実施の形態)
以上、一つまたは複数の態様に係るタイムスイッチ等について、実施の形態等に基づいて説明したが、本発明は、この実施の形態等に限定されるものではない。本発明の趣旨を逸脱しない限り、当業者が思いつく各種変形を本実施の形態に施したものや、異なる実施の形態における構成要素を組み合わせて構築される形態も、本発明に含まれてもよい。
Other Embodiments
Although the time switch and the like according to one or more aspects have been described based on the embodiments, the present invention is not limited to these embodiments. As long as the gist of the present invention is not deviated from, various modifications conceived by a person skilled in the art and forms constructed by combining components in different embodiments may also be included in the present invention.
例えば、上記実施の形態では、タイムスイッチにセンサ部が内蔵されている例について説明したが、センサ部は、後付けされていてもよい。例えば、センサ部などの外部機器が接続される接続端子部がタイムスイッチに設けられており、センサ部は、当該接続端子部に着脱自在に取り付けられてもよい。接続端子部は、接続されるセンサ部の接続端子の規格に対応した端子で構成されており、例えば、USB(Universal Serial Bus)端子、LIGHTNING(登録商標)または各種コネクタの端子などである。 For example, in the above embodiment, an example was described in which a sensor unit is built into the time switch, but the sensor unit may be added later. For example, a connection terminal unit to which an external device such as a sensor unit is connected may be provided in the time switch, and the sensor unit may be detachably attached to the connection terminal unit. The connection terminal unit is configured with a terminal that corresponds to the standard of the connection terminal of the sensor unit to be connected, and is, for example, a USB (Universal Serial Bus) terminal, a LIGHTNING (registered trademark) terminal, or a terminal of various connectors.
また、上記実施の形態に係るセンサ部が有するセンサは、上記の実施の形態で例示されたセンサに限定されず、例えば、二酸化酸素濃度センサ、振動センサ、および、マイクの少なくとも1つであってもよい。 In addition, the sensor possessed by the sensor unit in the above embodiment is not limited to the sensors exemplified in the above embodiment, and may be, for example, at least one of a carbon dioxide concentration sensor, a vibration sensor, and a microphone.
また、上記実施の形態等では、タイムスイッチは、センサ部およびセンサ情報取得部のいずれかを備える例について説明したがこれに限定されず、センサ部およびセンサ情報取得部の両方を備えていてもよい。制御部は、例えば、センサ部から取得された計測結果と、センサ情報取得部を介して取得された外部のセンサ部の計測結果とに基づいて、2以上のプログラムの動作期間が重なる場合に優先して実行するプログラムを決定してもよい。 In the above embodiment, the time switch is described as having either a sensor unit or a sensor information acquisition unit, but the present invention is not limited to this and may have both a sensor unit and a sensor information acquisition unit. The control unit may determine which program to execute preferentially when the operation periods of two or more programs overlap, for example, based on the measurement results acquired from the sensor unit and the measurement results of an external sensor unit acquired via the sensor information acquisition unit.
また、上記実施の形態等における制御部は、センサ部が取得した2以上の計測結果(例えば、温度および湿度)に基づいて、一のプログラムを判定(選択)してもよい。 The control unit in the above embodiments may also determine (select) a program based on two or more measurement results (e.g., temperature and humidity) acquired by the sensor unit.
また、上記実施の形態等における重複期間に重複するプログラムは、3つ以上であってもよい。 In addition, the number of programs that overlap during the overlapping period in the above embodiments may be three or more.
また、上記実施の形態等において、各構成要素は、専用のハードウェアで構成されるか、各構成要素に適したソフトウェアプログラムを実行することによって実現されてもよい。各構成要素は、CPUまたはプロセッサなどのプログラム実行部が、ハードディスクまたは半導体メモリなどの記録媒体に記録されたソフトウェアプログラムを読み出して実行することによって実現されてもよい。 In the above embodiments, each component may be configured with dedicated hardware, or may be realized by executing a software program suitable for each component. Each component may be realized by a program execution unit such as a CPU or processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory.
また、フローチャートにおける各ステップが実行される順序は、本発明を具体的に説明するために例示するためのものであり、上記以外の順序であってもよい。また、上記ステップの一部が他のステップと同時(並列)に実行されてもよいし、上記ステップの一部は実行されなくてもよい。 The order in which each step is performed in the flowchart is merely an example to specifically explain the present invention, and orders other than those described above may also be used. Also, some of the steps may be performed simultaneously (in parallel) with other steps, and some of the steps may not be performed.
また、ブロック図における機能ブロックの分割は一例であり、複数の機能ブロックを一つの機能ブロックとして実現したり、一つの機能ブロックを複数に分割したり、一部の機能を他の機能ブロックに移してもよい。また、類似する機能を有する複数の機能ブロックの機能を単一のハードウェアまたはソフトウェアが並列または時分割に処理してもよい。 The division of functional blocks in the block diagram is just one example, and multiple functional blocks may be realized as one functional block, one functional block may be divided into multiple blocks, or some functions may be transferred to other functional blocks. In addition, the functions of multiple functional blocks with similar functions may be processed in parallel or in a time-shared manner by a single piece of hardware or software.
また、上記実施の形態等で説明した各構成要素は、ソフトウェアとして実現されても良いし、典型的には、集積回路であるLSIとして実現されてもよい。これらは、個別に1チップ化されてもよいし、一部または全てを含むように1チップ化されてもよい。ここでは、LSIとしたが、集積度の違いにより、IC、システムLSI、スーパーLSI、ウルトラLSIと呼称されることもある。また、集積回路化の手法はLSIに限るものではなく、専用回路または汎用プロセッサで実現してもよい。LSI製造後に、プログラムすることが可能なFPGA(Field Programmable Gate Array)または、LSI内部の回路セルの接続若しくは設定を再構成可能なリコンフィギュラブル・プロセッサを利用してもよい。更には、半導体技術の進歩または派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて構成要素の集積化を行ってもよい。 In addition, each component described in the above embodiment may be realized as software, or may be realized as an LSI, which is typically an integrated circuit. These may be individually integrated into one chip, or may be integrated into one chip to include some or all of them. Here, LSI is used, but depending on the degree of integration, it may be called IC, system LSI, super LSI, or ultra LSI. In addition, the method of integration is not limited to LSI, and may be realized with a dedicated circuit or a general-purpose processor. After LSI manufacture, a programmable FPGA (Field Programmable Gate Array) or a reconfigurable processor that can reconfigure the connection or setting of the circuit cells inside the LSI may be used. Furthermore, if an integrated circuit technology that replaces LSI appears due to the progress of semiconductor technology or a different derived technology, it is natural that the components may be integrated using that technology.
システムLSIは、複数の処理部を1個のチップ上に集積して製造された超多機能LSIであり、具体的には、マイクロプロセッサ、ROM(Read Only Memory)、RAM(Random Access Memory)などを含んで構成されるコンピュータシステムである。ROMには、コンピュータプログラムが記憶されている。マイクロプロセッサが、コンピュータプログラムに従って動作することにより、システムLSIは、その機能を達成する。 A system LSI is an ultra-multifunctional LSI manufactured by integrating multiple processing units on a single chip, and is specifically a computer system that includes a microprocessor, ROM (Read Only Memory), RAM (Random Access Memory), etc. Computer programs are stored in the ROM. The system LSI achieves its functions when the microprocessor operates according to the computer program.
また、本発明の一態様は、図3、図11~図13のいずれかに示されるタイムスイッチの制御方法に含まれる特徴的な各ステップをコンピュータに実行させるコンピュータプログラムであってもよい。 Another aspect of the present invention may be a computer program that causes a computer to execute each of the characteristic steps included in the time switch control method shown in any one of Figures 3 and 11 to 13.
また、例えば、プログラムは、コンピュータに実行させるためのプログラムであってもよい。また、本発明の一態様は、そのようなプログラムが記録された、コンピュータ読み取り可能な非一時的な記録媒体であってもよい。例えば、そのようなプログラムを記録媒体に記録して頒布または流通させてもよい。例えば、頒布されたプログラムを、他のプロセッサを有する装置にインストールして、そのプログラムをそのプロセッサに実行させることで、その装置に、上記各処理を行わせることが可能となる。 Also, for example, the program may be a program to be executed by a computer. Another aspect of the present invention may be a non-transitory computer-readable recording medium on which such a program is recorded. For example, such a program may be recorded on a recording medium and distributed or circulated. For example, the distributed program may be installed in a device having another processor, and the program may be executed by that processor, thereby making it possible to cause that device to perform each of the above processes.
10、10a タイムスイッチ
12 スイッチ部
13 設定受付部(第1取得部)
14 表示部
15 記憶部
16 制御部
18 通信部(送信部)
19 センサ部
20 センサ情報取得部(第2取得部)
10,
14
19
Claims (16)
インターバル機能を実行させる複数のプログラムを記憶する記憶部と、
前記複数のプログラムのうち優先して実行するプログラムに関する優先情報を取得する第1取得部と、
前記スイッチ部の開閉を制御する制御部とを備え、
前記制御部は、前記複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、前記優先情報に基づいて前記動作期間が重なる重複期間において実行される一のプログラムを前記2以上のプログラムの中から選択し、選択された前記一のプログラムに基づいて、前記重複期間における前記スイッチ部の開閉を制御し、
周囲環境を計測するセンサをさらに備え、
前記制御部は、さらに前記センサから取得された計測結果に基づいて、前記一のプログラムを選択する
タイムスイッチ。 A switch unit that opens and closes an electrical connection between the load and the power source;
a storage unit that stores a plurality of programs for executing the interval function;
a first acquisition unit that acquires priority information regarding a program that is to be executed with priority among the plurality of programs;
A control unit that controls opening and closing of the switch unit,
the control unit, when operation periods of two or more of the plurality of programs overlap, selects one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controls opening and closing of the switch unit during the overlapping period based on the selected one program ;
Further comprising a sensor for measuring the surrounding environment;
The control unit further selects the one program based on a measurement result obtained from the sensor.
Time switch.
インターバル機能を実行させる複数のプログラムを記憶する記憶部と、a storage unit that stores a plurality of programs for executing the interval function;
前記複数のプログラムのうち優先して実行するプログラムに関する優先情報を取得する第1取得部と、a first acquisition unit that acquires priority information regarding a program that is to be executed with priority among the plurality of programs;
前記スイッチ部の開閉を制御する制御部とを備え、A control unit that controls opening and closing of the switch unit,
前記制御部は、前記複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、前記優先情報に基づいて前記動作期間が重なる重複期間において実行される一のプログラムを前記2以上のプログラムの中から選択し、選択された前記一のプログラムに基づいて、前記重複期間における前記スイッチ部の開閉を制御し、the control unit, when operation periods of two or more of the plurality of programs overlap, selects one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controls opening and closing of the switch unit during the overlapping period based on the selected one program;
周囲環境を計測するセンサから計測結果を取得する第2取得部をさらに備え、A second acquisition unit that acquires a measurement result from a sensor that measures the surrounding environment,
前記制御部は、さらに前記第2取得部を介して取得された前記計測結果に基づいて、前記一のプログラムを選択するThe control unit further selects the one program based on the measurement result acquired via the second acquisition unit.
タイムスイッチ。Time switch.
請求項1又は2に記載のタイムスイッチ。 The time switch according to claim 1 , wherein the first acquisition unit acquires the priority information by accepting an operation for setting the priority information.
請求項1又は2に記載のタイムスイッチ。 The time switch according to claim 1 , wherein the first acquisition unit acquires the priority information via communication.
請求項1~4のいずれか1項に記載のタイムスイッチ。 The time switch according to claim 1 , further comprising a display unit that displays information indicating said one program during said overlapping period.
請求項1~5のいずれか1項に記載のタイムスイッチ。 The time switch according to claim 1 , further comprising a transmitting unit that transmits information indicating the one program to an external device during the overlapping period.
前記優先情報は、プログラム番号の若いプログラムを優先することを含み、
前記制御部は、前記重複期間において、前記2以上のプログラムのうちプログラム番号が最も若いプログラムを前記一のプログラムとして選択する
請求項1~6のいずれか1項に記載のタイムスイッチ。 The plurality of programs are each assigned a different program number;
the priority information includes giving priority to a program having a lower program number;
The time switch according to claim 1 , wherein the control unit selects, during the overlapping period, a program having a smallest program number among the two or more programs as the one program.
前記優先情報は、開始時刻が早いプログラムを優先することを含み、
前記制御部は、前記重複期間において、前記2以上のプログラムのうち開始時刻が最も早いプログラムを前記一のプログラムとして選択する
請求項1~6のいずれか1項に記載のタイムスイッチ。 A start time is set for each of the plurality of programs;
the priority information includes giving priority to a program having an earlier start time;
The time switch according to claim 1 , wherein the control unit selects, as the one program, a program having an earliest start time among the two or more programs during the overlapping period.
前記優先情報は、後から動作を開始するプログラムを優先することを含み、
前記制御部は、前記重複期間において、前記2以上のプログラムのうち開始時刻が最も遅いプログラムを前記一のプログラムとして選択する
請求項1~6のいずれか1項に記載のタイムスイッチ。 A start time is set for each of the plurality of programs;
the priority information includes giving priority to a program that is to be started later;
The time switch according to claim 1 , wherein the control unit selects, as the one program, a program having a latest start time among the two or more programs during the overlapping period.
前記制御部は、前記重複期間において、前記2以上のプログラムのうち前記特定のプログラムを前記一のプログラムとして選択する
請求項1~6のいずれか1項に記載のタイムスイッチ。 the priority information includes prioritizing a specific program among a plurality of programs;
The time switch according to claim 1 , wherein the control unit selects the specific program from among the two or more programs as the one program during the overlapping period.
インターバル機能を実行させる複数のプログラムを記憶する記憶部と、
前記複数のプログラムのうち優先して実行するプログラムに関する優先情報を取得する第1取得部と、
前記スイッチ部の開閉を制御する制御部とを備え、
前記制御部は、前記複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、前記優先情報に基づいて前記動作期間が重なる重複期間において実行される一のプログラムを前記2以上のプログラムの中から選択し、選択された前記一のプログラムに基づいて、前記重複期間における前記スイッチ部の開閉を制御し、
前記複数のプログラムは、前記動作期間が第1の期間である第1のプログラムと、前記動作期間が前記第1の期間と一部が重複し、かつ、前記動作期間が、開始時刻が前記第1の期間内であり終了時刻が前記第1の期間の後の第2の期間である第2のプログラムとを含み、
前記第1のプログラムは、前記第2のプログラムよりプログラム番号が若く、
前記優先情報は、前記プログラム番号の若いプログラムを優先することを含み、
前記制御部は、前記第1の期間および前記第2の期間が重複する前記重複期間において、前記第1のプログラムおよび前記第2のプログラムのうち前記プログラム番号が若い前記第1のプログラムを前記一のプログラムとして選択し、前記第1の期間にわたり前記第1のプログラムで前記スイッチ部の開閉を制御し、かつ、前記第2の期間における前記重複期間の後の期間においては前記第1のプログラムから切り替えられた前記第2のプログラムで前記スイッチ部を制御する
タイムスイッチ。 A switch unit that opens and closes an electrical connection between the load and the power source;
a storage unit that stores a plurality of programs for executing the interval function;
a first acquisition unit that acquires priority information regarding a program that is to be executed with priority among the plurality of programs;
A control unit that controls opening and closing of the switch unit,
the control unit, when operation periods of two or more of the plurality of programs overlap, selects one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controls opening and closing of the switch unit during the overlapping period based on the selected one program;
the plurality of programs include a first program whose operation period is a first period, and a second program whose operation period partially overlaps with the first period, and whose operation period has a start time within the first period and an end time within a second period that is after the first period;
the first program has a program number lower than that of the second program;
the priority information includes giving priority to a program having a smaller program number,
The control unit selects, as the first program, the first program having the smaller program number from the first program and the second program during an overlapping period in which the first period and the second period overlap, and controls the opening and closing of the switch unit with the first program during the first period, and controls the switch unit with the second program switched from the first program during a period following the overlapping period in the second period.
Time switch.
インターバル機能を実行させる複数のプログラムを記憶する記憶部と、
前記複数のプログラムのうち優先して実行するプログラムに関する優先情報を取得する第1取得部と、
前記スイッチ部の開閉を制御する制御部とを備え、
前記制御部は、前記複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、前記優先情報に基づいて前記動作期間が重なる重複期間において実行される一のプログラムを前記2以上のプログラムの中から選択し、選択された前記一のプログラムに基づいて、前記重複期間における前記スイッチ部の開閉を制御し、
前記複数のプログラムは、前記動作期間が第1の期間である第1のプログラムと、前記動作期間が前記第1の期間を内包する第2の期間である第2のプログラムとを含み、
前記第1のプログラムは、前記第2のプログラムよりプログラム番号が若く、
前記優先情報は、前記プログラム番号の若いプログラムを優先することを含み、
前記制御部は、前記第1の期間および前記第2の期間が重複する前記重複期間において、前記第1のプログラムおよび前記第2のプログラムのうち前記プログラム番号が若い前記第1のプログラムを前記一のプログラムとして選択し、前記第1の期間における前記重複期間においては、前記第1のプログラムで前記スイッチ部を制御し、かつ、前記第1の期間における前記重複期間の後の期間においては前記第1のプログラムから切り替えられた前記第2のプログラムで前記スイッチ部を制御する
タイムスイッチ。 A switch unit that opens and closes an electrical connection between the load and the power source;
a storage unit that stores a plurality of programs for executing the interval function;
a first acquisition unit that acquires priority information regarding a program that is to be executed with priority among the plurality of programs;
A control unit that controls opening and closing of the switch unit,
the control unit, when operation periods of two or more of the plurality of programs overlap, selects one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controls opening and closing of the switch unit during the overlapping period based on the selected one program;
the plurality of programs include a first program, the operation period of which is a first period, and a second program, the operation period of which is a second period that includes the first period;
the first program has a program number lower than that of the second program;
the priority information includes giving priority to a program having a smaller program number,
The control unit selects, as the first program, the first program having the smaller program number among the first program and the second program, during an overlapping period in which the first period and the second period overlap, and controls the switch unit with the first program during the overlapping period in the first period, and controls the switch unit with the second program switched from the first program during the period after the overlapping period in the first period.
Time switch.
負荷および電源の電気的な接続を開閉するスイッチ部の開閉を制御するステップとを含み、
前記制御するステップは、前記複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、前記優先情報に基づいて前記動作期間が重なる重複期間において実行される一のプログラムを前記2以上のプログラムの中から選択し、選択された前記一のプログラムに基づいて、前記重複期間における前記スイッチ部の開閉を制御し、
さらに周囲環境を計測するセンサから取得された計測結果に基づいて、前記一のプログラムを選択する
タイムスイッチの制御方法。 obtaining priority information regarding a program to be executed with priority among a plurality of programs that are stored in a storage unit and that execute an interval function;
and controlling opening and closing of a switch unit that opens and closes an electrical connection between the load and the power source,
the controlling step includes, when operation periods of two or more of the plurality of programs overlap, selecting one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controlling opening and closing of the switch unit during the overlapping period based on the selected one program ;
Furthermore, the one program is selected based on a measurement result obtained from a sensor that measures the surrounding environment.
How to control a time switch.
負荷および電源の電気的な接続を開閉するスイッチ部の開閉を制御するステップとを含み、and controlling opening and closing of a switch unit that opens and closes an electrical connection between the load and the power source,
前記制御するステップは、前記複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、前記優先情報に基づいて前記動作期間が重なる重複期間において実行される一のプログラムを前記2以上のプログラムの中から選択し、選択された前記一のプログラムに基づいて、前記重複期間における前記スイッチ部の開閉を制御し、the controlling step includes, when operation periods of two or more of the plurality of programs overlap, selecting one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controlling opening and closing of the switch unit during the overlapping period based on the selected one program;
さらに周囲環境を計測するセンサから計測結果を取得する取得部を介して取得された前記計測結果に基づいて、前記一のプログラムを選択するFurther, the one program is selected based on a measurement result acquired via an acquisition unit that acquires the measurement result from a sensor that measures the surrounding environment.
タイムスイッチの制御方法。How to control a time switch.
負荷および電源の電気的な接続を開閉するスイッチ部の開閉を制御するステップとを含み、and controlling opening and closing of a switch unit that opens and closes an electrical connection between the load and the power source,
前記制御するステップは、前記複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、前記優先情報に基づいて前記動作期間が重なる重複期間において実行される一のプログラムを前記2以上のプログラムの中から選択し、選択された前記一のプログラムに基づいて、前記重複期間における前記スイッチ部の開閉を制御し、the controlling step includes, when operation periods of two or more of the plurality of programs overlap, selecting one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controlling opening and closing of the switch unit during the overlapping period based on the selected one program;
前記複数のプログラムは、前記動作期間が第1の期間である第1のプログラムと、前記動作期間が前記第1の期間と一部が重複し、かつ、前記動作期間が、開始時刻が前記第1の期間内であり終了時刻が前記第1の期間の後の第2の期間である第2のプログラムとを含み、the plurality of programs include a first program whose operation period is a first period, and a second program whose operation period partially overlaps with the first period, and whose operation period has a start time within the first period and an end time within a second period that is after the first period;
前記第1のプログラムは、前記第2のプログラムよりプログラム番号が若く、the first program has a program number lower than that of the second program;
前記優先情報は、前記プログラム番号の若いプログラムを優先することを含み、the priority information includes giving priority to a program having a smaller program number,
前記制御するステップは、前記第1の期間および前記第2の期間が重複する前記重複期間において、前記第1のプログラムおよび前記第2のプログラムのうち前記プログラム番号が若い前記第1のプログラムを前記一のプログラムとして選択し、前記第1の期間にわたり前記第1のプログラムで前記スイッチ部の開閉を制御し、かつ、前記第2の期間における前記重複期間の後の期間においては前記第1のプログラムから切り替えられた前記第2のプログラムで前記スイッチ部を制御するThe controlling step includes selecting the first program having the smaller program number from among the first program and the second program as the first program during an overlapping period in which the first period and the second period overlap, controlling the opening and closing of the switch unit with the first program during the first period, and controlling the switch unit with the second program switched from the first program during a period following the overlapping period in the second period.
タイムスイッチの制御方法。How to control a time switch.
負荷および電源の電気的な接続を開閉するスイッチ部の開閉を制御するステップとを含み、and controlling opening and closing of a switch unit that opens and closes an electrical connection between the load and the power source,
前記制御するステップは、前記複数のプログラムのうち2以上のプログラムの動作期間が重なる場合に、前記優先情報に基づいて前記動作期間が重なる重複期間において実行される一のプログラムを前記2以上のプログラムの中から選択し、選択された前記一のプログラムに基づいて、前記重複期間における前記スイッチ部の開閉を制御し、the controlling step includes, when operation periods of two or more of the plurality of programs overlap, selecting one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controlling opening and closing of the switch unit during the overlapping period based on the selected one program;
前記複数のプログラムは、前記動作期間が第1の期間である第1のプログラムと、前記動作期間が前記第1の期間を内包する第2の期間である第2のプログラムとを含み、the plurality of programs include a first program, the operation period of which is a first period, and a second program, the operation period of which is a second period that includes the first period;
前記第1のプログラムは、前記第2のプログラムよりプログラム番号が若く、the first program has a program number lower than that of the second program;
前記優先情報は、前記プログラム番号の若いプログラムを優先することを含み、the priority information includes giving priority to a program having a smaller program number,
前記制御するステップは、前記第1の期間および前記第2の期間が重複する前記重複期間において、前記第1のプログラムおよび前記第2のプログラムのうち前記プログラム番号が若い前記第1のプログラムを前記一のプログラムとして選択し、前記第1の期間における前記重複期間においては、前記第1のプログラムで前記スイッチ部を制御し、かつ、前記第1の期間における前記重複期間の後の期間においては前記第1のプログラムから切り替えられた前記第2のプログラムで前記スイッチ部を制御するThe controlling step includes selecting, as the first program, the first program having the smaller program number among the first program and the second program, during an overlapping period in which the first period and the second period overlap, and controlling the switch unit with the first program during the overlapping period in the first period, and controlling the switch unit with the second program switched from the first program during a period after the overlapping period in the first period.
タイムスイッチの制御方法。How to control a time switch.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021099926A JP7570977B2 (en) | 2021-06-16 | 2021-06-16 | Time switch and method for controlling the time switch |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021099926A JP7570977B2 (en) | 2021-06-16 | 2021-06-16 | Time switch and method for controlling the time switch |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022191608A JP2022191608A (en) | 2022-12-28 |
| JP7570977B2 true JP7570977B2 (en) | 2024-10-22 |
Family
ID=84624339
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021099926A Active JP7570977B2 (en) | 2021-06-16 | 2021-06-16 | Time switch and method for controlling the time switch |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7570977B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005102150A (en) | 2003-08-29 | 2005-04-14 | Matsushita Electric Ind Co Ltd | Broadcast receiver |
| JP2017102079A (en) | 2015-12-04 | 2017-06-08 | 西野 貴幸 | Program timer |
| JP2020197464A (en) | 2019-06-04 | 2020-12-10 | パナソニックIpマネジメント株式会社 | Time switch, and setting method |
| JP2020201039A (en) | 2019-06-05 | 2020-12-17 | パナソニックIpマネジメント株式会社 | Time switch |
-
2021
- 2021-06-16 JP JP2021099926A patent/JP7570977B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005102150A (en) | 2003-08-29 | 2005-04-14 | Matsushita Electric Ind Co Ltd | Broadcast receiver |
| JP2017102079A (en) | 2015-12-04 | 2017-06-08 | 西野 貴幸 | Program timer |
| JP2020197464A (en) | 2019-06-04 | 2020-12-10 | パナソニックIpマネジメント株式会社 | Time switch, and setting method |
| JP2020201039A (en) | 2019-06-05 | 2020-12-17 | パナソニックIpマネジメント株式会社 | Time switch |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022191608A (en) | 2022-12-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3652612B1 (en) | Method and electronic device for providing mode switching and storage medium thereof | |
| JP6475787B2 (en) | Control system and control method | |
| US4730941A (en) | Temperature range display device for electronic thermostat | |
| EP3229409B1 (en) | Electronic apparatus and external apparatus controlling method thereof | |
| AU2016265734C1 (en) | Garden watering controllers | |
| US20210125718A1 (en) | Program, apparatus, system and method for health-related information management | |
| CN110133987B (en) | Timing measurement device, electronic timepiece, timing measurement method, and storage medium storing program | |
| JP7570977B2 (en) | Time switch and method for controlling the time switch | |
| US4695942A (en) | Manual switch for altering a parameter in opposite directions based on length of time of switch actuation | |
| CN111198519A (en) | Information output method, information output device, and recording medium | |
| US9986609B2 (en) | Lighting apparatus and lighting system | |
| JP7281711B2 (en) | Time switch and setting method | |
| GB2521384A (en) | Motion detection device and system, method for operating a motion detection device and corresponding computer program | |
| JP2020159853A (en) | Time switch | |
| EP3279577A1 (en) | Air-conditioning device | |
| CN112835413B (en) | Control method and device of wearable device and electronic device | |
| JP2020201039A (en) | Time switch | |
| JP6338923B2 (en) | Programmable controller and control program | |
| JP7573186B2 (en) | Time Switch | |
| JP7226372B2 (en) | Display device, electronic clock, display method and program | |
| CN111338425A (en) | Method and system for realizing countdown of wireless low-power-consumption equipment | |
| JP7223996B2 (en) | Time switch, information processing device, and information processing system | |
| CN111110475A (en) | Control method and system of intelligent medical bed and computer equipment | |
| JP2022035013A (en) | Time switch | |
| JP2020197470A (en) | Time switch |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240216 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240730 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240731 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240910 |
|
| 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: 20241001 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241009 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7570977 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |