JP2020107214A - Sensor terminal, sensor terminal system, and control method of the same - Google Patents
Sensor terminal, sensor terminal system, and control method of the same Download PDFInfo
- Publication number
- JP2020107214A JP2020107214A JP2018247442A JP2018247442A JP2020107214A JP 2020107214 A JP2020107214 A JP 2020107214A JP 2018247442 A JP2018247442 A JP 2018247442A JP 2018247442 A JP2018247442 A JP 2018247442A JP 2020107214 A JP2020107214 A JP 2020107214A
- Authority
- JP
- Japan
- Prior art keywords
- sensor
- sensor terminal
- irradiation light
- intensity
- control 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.)
- Pending
Links
Images
Abstract
Description
本発明は、センサ端末、センサ端末システム及びその制御方法に関し、例えば光電池を備えるセンサ端末、センサ端末システム及びその制御方法に関する。 The present invention relates to a sensor terminal, a sensor terminal system and a control method thereof, for example, a sensor terminal including a photocell, a sensor terminal system and a control method thereof.
例えば工場内では、製造条件を管理するため、温度センサ、湿度センサ、圧力センサ等を備えた様々なセンサ端末が使用される。これらセンサ端末のそれぞれが、工場内に設置された照明機器からの照射光によって発電する光電池(太陽電池)で動作することで配線の省略や設置の自由度が得られる。近年、このようなエナジーハーベスティング技術を用いたセンサ端末システムが注目されている。
ところで、特許文献1には、光電池を用いた通信機器が開示されている。
For example, in a factory, various sensor terminals including a temperature sensor, a humidity sensor, a pressure sensor and the like are used to manage manufacturing conditions. Since each of these sensor terminals operates with a photovoltaic cell (solar cell) that generates power by irradiation light from the lighting equipment installed in the factory, wiring can be omitted and installation flexibility can be obtained. In recent years, a sensor terminal system using such energy harvesting technology has been receiving attention.
By the way,
発明者は、それぞれが光電池を有する複数のセンサ端末を備えたセンサ端末システムにおいて、以下の課題を見出した。
このようなセンサ端末システムでは、各センサ端末を時刻同期させ、各センサ端末において所定のタイミングでセンサからデータを取得したり、取得したデータを送信したりするなどの処理を行う必要がある。
しかしながら、例えばLAN(Local Area Network)におけるIEEE1588規格などの時刻同期手法を用いる場合、専用回路を必要として、電力的にもエナジーハーベスティング機器には適さない。つまり、回路規模及び消費電力が増大してしまうという問題があった。
The inventor has found the following problems in a sensor terminal system including a plurality of sensor terminals each having a photocell.
In such a sensor terminal system, it is necessary to synchronize each sensor terminal with time and perform processing such as acquiring data from the sensor and transmitting the acquired data at each sensor terminal at a predetermined timing.
However, for example, when a time synchronization method such as the IEEE 1588 standard in a LAN (Local Area Network) is used, a dedicated circuit is required and it is not suitable for an energy harvesting device in terms of power. That is, there is a problem that the circuit scale and power consumption increase.
その他の課題と新規な特徴は、本明細書の記述及び添付図面から明らかになるであろう。 Other problems and novel features will be apparent from the description of the present specification and the accompanying drawings.
一実施の形態に係るセンサ端末では、センサを制御する制御回路が、外部の照明機器からの照射光によって発電する光電池の出力に基づいて、所定の周期でパルス状に変化するように制御された前記照射光の強度変化に同期して処理を行う。 In the sensor terminal according to one embodiment, the control circuit that controls the sensor is controlled so as to change in a pulse shape at a predetermined cycle based on the output of the photocell that generates power by the irradiation light from the external lighting device. The processing is performed in synchronization with the change in the intensity of the irradiation light.
前記一実施の形態によれば、回路規模及び消費電力の増大を抑制しつつ、照明光による発電と共に他のセンサ端末と同期することができる。 According to the one embodiment, it is possible to suppress the increase in the circuit scale and the power consumption, and at the same time, generate electricity by the illumination light and synchronize with other sensor terminals.
説明の明確化のため、以下の記載及び図面は、適宜、省略、及び簡略化がなされている。また、様々な処理を行う機能ブロックとして図面に記載される各要素は、ハードウェア的には、CPU、メモリ、その他の回路で構成することができ、ソフトウェア的には、メモリにロードされたプログラムなどによって実現される。従って、これらの機能ブロックがハードウェアのみ、ソフトウェアのみ、又はそれらの組合せによっていろいろな形で実現できることは当業者には理解されるところであり、いずれかに限定されるものではない。なお、各図面において、同一の要素には同一の符号が付されており、必要に応じて重複説明は省略されている。 For clarity of explanation, the following description and drawings are appropriately omitted and simplified. Further, each element illustrated in the drawings as a functional block that performs various processes can be configured by a CPU, a memory, and other circuits in terms of hardware, and a program loaded in the memory in terms of software. It is realized by. Therefore, it is understood by those skilled in the art that these functional blocks can be realized in various forms by only hardware, only software, or a combination thereof, and the present invention is not limited to either. In each drawing, the same elements are denoted by the same reference numerals, and redundant description is omitted as necessary.
(第1の実施の形態)
<センサ端末及びセンサ端末システムの構成>
まず、図1を参照して、第1の実施の形態に係るセンサ端末及びセンサ端末システムについて説明する。図1は、第1の実施の形態に係るセンサ端末及びセンサ端末システムの構成を示すブロック図である。
図1に示すように、第1の実施の形態に係るセンサ端末システムは、センサ端末10と照明機器20とを備えている。一例として、センサ端末システムは、工場内に設置される。すなわち、センサ端末10及び照明機器20は工場内に設置されている。
(First embodiment)
<Configuration of sensor terminal and sensor terminal system>
First, a sensor terminal and a sensor terminal system according to the first embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing the configurations of a sensor terminal and a sensor terminal system according to the first embodiment.
As shown in FIG. 1, the sensor terminal system according to the first embodiment includes a
センサ端末システムにおいて、センサ端末10は複数設けられているが、図1には1つのセンサ端末10のみが示されている。センサ端末10は、例えば、温度、湿度、圧力等の製造条件を管理するために製造装置等に設けられている。図1に示すように、センサ端末10は、光電池11、電源回路12、端末制御回路13、センサ14を備え、照明機器20からの照射光ILを動力源とする。すなわち、第1の実施の形態に係るセンサ端末システムでは、光電池11により電力を賄う。
Although a plurality of
ここで、図1の吹き出し内にタイミングチャートを用いて示すように、第1の実施の形態に係るセンサ端末システムでは、照明機器20の照射光ILの強度は、所定の周期でパルス状に変化するように制御されている。図1の例では、人間には感知できない程度のパルス幅で、周期Tで照射光ILの強度が高くなっている。後述するように、周期Tは、例えばセンサ14の測定周期すなわちセンサ14からのデータ取得周期であり、1ms〜1s程度である。
Here, as shown by using a timing chart in the balloon of FIG. 1, in the sensor terminal system according to the first embodiment, the intensity of the irradiation light IL of the
光電池11は、照明機器20からの照射光ILによって発電する。
電源回路12は、例えば昇圧コンバータであって、光電池11の出力から端末制御回路13及びセンサ14(すなわちセンサ端末10)に供給する電源電圧を生成する。
端末制御回路13は、電源回路12から供給された電源電圧で動作し、センサ14を制御する。
センサ14は、例えば温度センサ、湿度センサ、圧力センサ等である。センサ14は、電源回路12から供給された電圧で動作する。
The
The
The
The
ここで、端末制御回路13は、照明機器20からの照射光ILによって発電する光電池11の出力に基づいて、所定の周期Tでパルス状に変化するように制御された照射光ILの強度変化に同期して処理を行う。例えば、照射光ILの強度変化に同期して、センサ14からデータを取得したり、取得したデータを送信する。
Here, the
このように、第1の実施の形態に係るセンサ端末システムでは、各センサ端末10が照射光ILの強度変化に同期する。そのため、IEEE1588規格などの時刻同期手法を用いずに、各センサ端末10を同期させることができる。すなわち、回路規模及び消費電力の増大を抑制しつつ、照明光による発電と共に各センサ端末10を同期させることができる。換言すると、第1の実施の形態に係るセンサ端末10では、回路規模及び消費電力の増大を抑制しつつ、照明光による発電と共に他のセンサ端末10と同期することができる。
As described above, in the sensor terminal system according to the first embodiment, each
<センサ端末及びセンサ端末システムの詳細な構成>
次に、図2を参照して、第1の実施の形態に係るセンサ端末及びセンサ端末システムについてより詳細に説明する。図2は、第1の実施の形態に係るセンサ端末及びセンサ端末システムの構成を示す詳細なブロック図である。
<Detailed configuration of sensor terminal and sensor terminal system>
Next, with reference to FIG. 2, the sensor terminal and the sensor terminal system according to the first embodiment will be described in more detail. FIG. 2 is a detailed block diagram showing the configurations of the sensor terminal and the sensor terminal system according to the first embodiment.
図2に示すように、第1の実施の形態に係るセンサ端末システムは、図1に示したセンサ端末10、照明機器20に加え、サーバ30、無線受信装置40を備えている。また、図2に示すように、センサ端末10は、図1に示した光電池11、電源回路12、端末制御回路13、センサ14に加え、無線送信回路15を備えている。
As shown in FIG. 2, the sensor terminal system according to the first embodiment includes a
サーバ30は、例えば工場全体を集中管理しており、照明機器20及び無線受信装置40にケーブル接続されている。サーバ30は、照明機器20を制御すると共に、無線受信装置40を介してセンサ端末10から無線送信されたデータを取得する。ここで、照明機器20は複数設けられていてもよい。その場合、サーバ30は、全ての照明機器20の照射光ILの強度変化が同期するように照明機器20を制御する。
無線受信装置40は、センサ端末10から無線送信されたデータを受信する。
なお、サーバ30は、照明機器20と無線接続されていてもよい。
The
The
The
センサ端末10において、端末制御回路13は、所定の周期Tで変化するように制御された照射光ILの強度変化に同期して処理を行う。例えば、照射光ILの強度変化に同期して、センサ14からデータを取得したり、取得したデータを無線送信回路15に送る。
無線送信回路15は、端末制御回路13から受け取ったデータを無線受信装置40に無線送信する。
なお、無線送信回路15を設けずに、センサ端末10が不揮発メモリを有しており、当該不揮発メモリに記録することで、後からデータを取得してもよい。その場合、無線受信装置40も不要となる。
In the
The
The
ここで、図2に示すように、端末制御回路13は、詳細には、CPU(Central Processing Unit)131、メモリ132、電圧モニタ133、発振回路134、クロック生成回路135、タイマ136、入出力ポート137及び内部バスIBを備えている。白抜き矢印で示すように、発振回路134以外のCPU131、メモリ132、電圧モニタ133、クロック生成回路135、タイマ136、入出力ポート137は、内部バスIBに接続されている。図2に実線矢印で示したように、電圧モニタ133、タイマ136、入出力ポート137からCPU131に割り込み信号が入力される。
Here, as shown in FIG. 2, in detail, the
CPU131は、制御プログラムに基づいて、各種処理を行う。例えば、電圧モニタ133の出力信号(すなわち割り込み信号)の立ち上がりもしくは立ち下がりに応じて、CPU131は入出力ポート137を介してセンサ14からデータを取得する。あるいは、取得したデータを、入出力ポート137を介して無線送信回路15に送る。CPU131の処理の詳細については、後述する。
The
メモリ132は、例えばROM(Read Only Memory)やRAM(Random Access Memory)等を含む。ROMとしては、フラッシュメモリやマスクROM等を挙げることができる。例えば、メモリ132のROMには、制御プログラムの他、「センサ端末10の電力情報」、「光電池11の特性情報」などが格納されている。
The
「センサ端末10の電力情報」には、端末制御回路13におけるクロックがオンの場合及びオフの場合の消費電力、各クロック周波数での消費電力、センサ14及び無線送信回路15の消費電力などの情報が含まれる。また、「光電池11の特性情報」には、光電池11の発電電力を推定するための情報(負荷電流と出力電圧との関係など)が含まれる。
The "power information of the
電圧モニタ133は、入力される光電池11の出力電圧に応じて、High又はLowのいずれかを出力する回路である。例えば、電圧モニタ133は、図1に示した光強度が低い区間では、Lowを出力し、図1に示した光強度が高い区間では、Highを出力する。そのため、電圧モニタ133の出力信号は、図1に示した照明機器20の光強度のパルス波形に同期したパルス波形を有している。上述の通り、電圧モニタ133の出力信号が割り込み信号としてCPU131に入力される。
The voltage monitor 133 is a circuit that outputs either High or Low depending on the input output voltage of the
発振回路134は、例えば内蔵オシレータや水晶発振回路等である。
クロック生成回路135は、例えばPLL(Phase-locked loop)回路などであって、発振回路134が発振する基準クロックを逓倍した所定周波数のクロックを生成する。クロック生成回路135において、クロックのオン・オフや、クロック周波数の設定も行われる。クロック生成回路135によって生成されたクロックは、端末制御回路13内の各ブロックに供給される。
The
The
タイマ136は、例えばクロックをカウントすることにより時間を計測し、CPU131に対して割り込み信号を出力する。タイマ136は、例えば、CPU131による定期的な処理に用いられる。割り込み信号に応じて、CPU131は各種処理を行う。
入出力ポート137は、端末制御回路13をセンサ14や無線送信回路15などの周辺機器と接続するためのインタフェースである。
The
The input/
例えば、CPU131は、電圧モニタ133からの割り込み信号に応じて、入出力ポート137を介してセンサ14からデータを取得する。そして、センサ14から取得したデータを、入出力ポート137を介して無線送信回路15に送る。
ここで、各センサ端末10における発振回路134の特性ばらつき、温度や供給電圧の違い等によって、センサ端末10毎のタイマ136のカウント値にずれが生じ得る。
For example, the
Here, the count value of the
しかしながら、第1の実施の形態に係るセンサ端末システムでは、全てのセンサ端末10において、光電池11の出力に基づいて、所定の周期T毎に照明機器20の照射光ILの強度変化に時刻同期させる。そのため、全てのセンサ端末10において、タイマ136のカウント値のずれを解消し、センサ14からのデータ取得や無線送信回路15へのデータ送信のタイミングを同期させることができる。
However, in the sensor terminal system according to the first embodiment, all the
各センサ端末10において、タイマ136のカウント値のずれを解消するためには、例えば、電圧モニタ133からの割り込み信号に応じて、CPU131が周期T毎にタイマ136のカウント値をリセットすればよい。あるいは、電圧モニタ133の出力信号をタイマ136に入力し、周期T毎にタイマ136のカウント値をリセットしてもよい。
In each
<光電池11の負荷電流と出力電圧との関係>
次に、図3を参照して、光電池11の負荷電流と出力電圧との関係について説明する。図3は光電池11の出力電圧と負荷電流との関係を示すグラフである。横軸は出力電圧(V)、縦軸は負荷電流(mA)を示している。図3には、異なる3つの照度(光強度)A、B、Cについての曲線が示されている。照度A、B、Cの大きさの関係は、照度A<照度B<照度Cである。図3に示すように、照度A、B、Cのいずれにおいても、負荷電流が大きくなるにつれて、徐々に光電池11の出力電圧が下がる。そして、負荷電流がある程度大きくなると、光電池11の出力電圧が急激に低下する。
<Relationship between load current of
Next, with reference to FIG. 3, the relationship between the load current and the output voltage of the
ここで、図3に示すように、照度が大きくなる程、光電池11から取り出せる電流も大きくなる。図3の例では、照度Aにおいて負荷電流がI1よりも大きくなると、出力電圧が急激に低下し、回路動作に悪影響を及ぼす虞がある。そのため、例えば、照度Aでは負荷電流がI1以下になるように制御する。
Here, as shown in FIG. 3, the larger the illuminance, the larger the current that can be extracted from the
他方、図3に示すように、負荷電流がI0のように小さい場合には、照度A、B、Cによる光電池11の出力電圧差は小さい。そのため、電圧モニタ133によって光強度の変化を検出することが難しい。これに対し、負荷電流がI1の場合、照度による光電池11の出力電圧差がある程度大きくなる。例えば、照明光ILの光強度が低い場合が照度A、高い場合が照度Cとすると、負荷電流I0よりもI1の方が、出力電圧差が大きくなり、電圧モニタ133によって光強度の変化を検出し易くなる。
On the other hand, as shown in FIG. 3, when the load current is as small as I0, the output voltage difference of the
そのため、CPU131は、回路動作に悪影響を及ぼさない所定の出力電圧を維持しつつ、照度による光電池11の出力電圧差が大きくなるように、負荷電流すなわちセンサ端末10における消費電力を制御する。図3の例では、照度Aにおいて負荷電流がI1となるようにセンサ端末10における消費電力を制御することによって、回路動作に悪影響を及ぼさない所定の出力電圧を維持しつつ、照度による出力電圧差を大きくすることができる。
Therefore, the
<端末制御回路13の動作>
次に、図4を参照して、端末制御回路13の動作について説明する。図4は、端末制御回路13の起動時の動作を示すタイミングチャートである。
時刻t1において、電源オンもしくはリセット解除により、端末制御回路13が起動する。時刻t2までの間に、センサ端末10全体の初期設定を行う。
<Operation of
Next, the operation of the
At time t1, the
この初期設定において、CPU131は、メモリ132に格納された「センサ端末10の電力情報」及び「光電池11の特性情報」を参照しながら、光電池11の出力(すなわち電圧モニタ133の出力)に基づいて、センサ端末10における照度を推定する。ここで、センサ端末10における照度は、センサ端末10と照明機器20との位置関係などによって変化し得る。
In this initial setting, the
続けて、CPU131は、推定した照度に応じて、図3に示したように、光電池11の負荷電流(すなわちセンサ端末10の消費電力)を決定する。そして、CPU131は、電圧モニタ133が照射光ILの強度変化を検出できるように、決定した光電池11の負荷電流に基づいて、電圧モニタ133の閾値電圧を設定する。
Subsequently, the
時刻t2において、端末制御回路13は通常動作を開始する。
照射光ILのパルスの立ち上がりにおいて、電圧モニタ133はCPU131に割り込み信号を出力する。すなわち、図4における時刻t3、t4、t5において、CPU131は、照射光ILの強度変化に同期して処理を行う。
At time t2, the
At the rising edge of the pulse of the irradiation light IL, the voltage monitor 133 outputs an interrupt signal to the
例えば、CPU131は、時刻t3において、入出力ポート137を介してセンサ14からデータを取得する。そして、時刻t4までに、CPU131は、取得したデータを、入出力ポート137を介して無線送信回路15から無線受信装置40に送信する。CPU131は、時刻t4、t5においても同様の処理を行う。
サーバ30は、所定の周期T毎に無線受信装置40を介して各センサ端末10からデータを取得するため、各センサ端末10のデータと時刻とを関連付けることができる。
For example, the
Since the
ここで、複数のセンサ端末10から一斉に無線受信装置40(すなわちサーバ30)にデータを送信すると、通信競合が発生する虞がある。そのため、センサ端末10毎に異なる待機時間を割り振り、各センサ端末10において、時刻t3から待機時間が経過したタイミングでデータを送信するようにしてもよい。
Here, if data is transmitted from the plurality of
CPU131は、センサ14からのデータ取得、無線送信回路15からのデータ送信などの一連の処理中(すなわち通常動作中)、光電池11の負荷電流が一定の範囲に収まるようにセンサ端末10における消費電力を制御する。
なお、CPU131は、取得したデータを無線送信する代わりにメモリ132に格納してもよい。
During a series of processes such as data acquisition from the
The
(第2の実施の形態)
<センサ端末及びセンサ端末システムの詳細な構成>
次に、図5、図6を参照して、第2の実施の形態に係るセンサ端末及びセンサ端末システムについて説明する。図5は、第2の実施の形態に係るセンサ端末及びセンサ端末システムの構成を示す詳細なブロック図である。図6は、第2の実施の形態に係るセンサ端末及びセンサ端末システムにおけるタイマ236の構成を示すブロック図である。
(Second embodiment)
<Detailed configuration of sensor terminal and sensor terminal system>
Next, a sensor terminal and a sensor terminal system according to the second embodiment will be described with reference to FIGS. 5 and 6. FIG. 5 is a detailed block diagram showing the configurations of the sensor terminal and the sensor terminal system according to the second embodiment. FIG. 6 is a block diagram showing the configuration of the
図2に示した第1の実施の形態に係るセンサ端末では、電圧モニタ133の出力信号が、電圧モニタ133の出力信号が割り込み信号としてCPU131に入力される。これに対して、図5に示した第2の実施の形態に係るセンサ端末では、電圧モニタ133の出力信号が、CPU131ではなくタイマ236に入力される。
In the sensor terminal according to the first embodiment shown in FIG. 2, the output signal of the
また、第2の実施の形態に係るセンサ端末システムでは、照射光ILのパルス幅を変化させる。例えば2つのパルス幅を用い、例えば定期的にパルス幅を大きくする。そのため、第2の実施の形態に係るセンサ端末10では、タイマ236の値に基づいて、CPU131が電圧モニタ133の出力信号におけるパルス幅を判定する。第1の実施の形態に係るタイマ136は、例えばクロックをカウントするカウンタのみから構成される。これに対し、第2の実施の形態に係るタイマ236は、より複雑な構成を有している。
Further, in the sensor terminal system according to the second embodiment, the pulse width of the irradiation light IL is changed. For example, two pulse widths are used, and the pulse width is periodically increased, for example. Therefore, in the
<タイマ236の構成>
ここで、図6を参照して、第2の実施の形態に係るタイマ236の構成について説明する。図6に示すように、第2の実施の形態に係るタイマ236は、エッジ検出回路361、主カウンタ362、副カウンタ363、第1カウントキャプチャ364、第2カウントキャプチャ365、割り込み生成回路366を備えている。
<Configuration of
Here, the configuration of the
電圧モニタ133の出力信号が、エッジ検出回路361に入力される。
また、クロック生成回路135が生成したクロックが、主カウンタ362、副カウンタ363、第1カウントキャプチャ364、第2カウントキャプチャ365に入力される。すなわち、主カウンタ362、副カウンタ363、第1カウントキャプチャ364、第2カウントキャプチャ365は同じクロックで動作する。
The output signal of the
In addition, the clock generated by the
エッジ検出回路361には、照射光ILに同期して変化する電圧モニタ133の出力信号が入力される。エッジ検出回路361は、電圧モニタ133の出力信号の立ち上がりエッジにおいて検出信号reを出力する。検出信号reは、イネーブル信号ENとして第1カウントキャプチャ364に入力される。また、エッジ検出回路361は、電圧モニタ133の出力信号の立ち下がりエッジにおいて検出信号feを出力する。検出信号feは、イネーブル信号ENとして主カウンタ362及び第2カウントキャプチャ365に入力されると共に、リセット信号RSTとして副カウンタ363に入力される。
The output signal of the voltage monitor 133 that changes in synchronization with the irradiation light IL is input to the
主カウンタ362は、電圧モニタ133の出力信号の立ち下がりエッジが検出される毎、すなわち検出信号feが入力される毎にカウントする。主カウンタ362のカウント値は、CPU131の出力信号によってリセットされる。
副カウンタ363は、クロックをカウントする。副カウンタ363のカウント値は、検出信号feによってリセットされる。
The
The
第1カウントキャプチャ364は、電圧モニタ133の出力信号の立ち上がりエッジすなわち検出信号reが入力されるタイミングで、副カウンタ363のカウント値を取得し、保持する。
第2カウントキャプチャ365は、電圧モニタ133の出力信号の立ち下がりエッジすなわち検出信号feが入力されるタイミングで、副カウンタ363のカウント値を取得し、保持する。
The
The
割り込み生成回路366は、例えば、電圧モニタ133の出力信号の立ち下がりエッジが検出される毎、すなわち検出信号feが入力される毎に、CPU131に対して割り込み信号を出力する。さらに、割り込み生成回路366は、主カウンタ362及び副カウンタ363のカウント値が所定の値になった場合に、CPU131に対して割り込み信号を出力してもよい。
The interrupt
CPU131は、割り込み生成回路366が電圧モニタ133の出力信号の立ち下がりエッジで出力した割り込み信号に応じて、第1カウントキャプチャ364が保持する値と第2カウントキャプチャ365が保持する値とを取得する。そして、両者の差から電圧モニタ133の出力信号(すなわち照射光IL)のパルス幅を算出する。算出したパルス幅が基準値よりも大きければ、CPU131は主カウンタ362のカウント値をリセットする。すなわち、CPU131の出力信号は、リセット信号RSTとして主カウンタ362に入力される。
The
<タイマ236の動作>
次に、図7を参照して、タイマ236の動作について説明する。図7は、タイマ236の動作を示すタイミングチャートである。図7の上から順に、主カウンタ362のカウント値、副カウンタ363のカウント値、第1カウントキャプチャ364が保持する値、第2カウントキャプチャ365が保持する値、電圧モニタ133の出力信号、割り込み生成回路366の出力信号(割り込み信号)を示している。
<Operation of
Next, the operation of the
図7に示すように、主カウンタ362のカウント値は、電圧モニタ133の出力信号の立ち下がりエッジ毎にカウントされる。図7では、電圧モニタ133の出力信号の立ち下がりエッジにおいて、NからN+1にカウントアップされている。
副カウンタ363のカウント値は、クロック毎にカウントされ、電圧モニタ133の出力信号の立ち下がりエッジにおいて、リセットされる。図7では、電圧モニタ133の出力信号の立ち下がりエッジにおいて、Lから0にリセットされている。
As shown in FIG. 7, the count value of the
The count value of the sub-counter 363 is counted every clock and reset at the falling edge of the output signal of the
第1カウントキャプチャ364は、電圧モニタ133の出力信号の立ち上がりエッジで、副カウンタ363のカウント値を取得し、保持する。図7では、電圧モニタ133の出力信号の立ち上がりエッジで、副カウンタ363のカウント値Mを取得し、保持する。なお、図7では、第1カウントキャプチャ364は、カウント値Mを取得するまで、カウント値M’を保持していたものとする。
The
第2カウントキャプチャ365は、電圧モニタ133の出力信号の立ち下がりエッジで、副カウンタ363のカウント値を取得し、保持する。図7では、電圧モニタ133の出力信号の立ち下がりエッジで、副カウンタ363のカウント値Lを取得し、保持する。なお、図7では、第2カウントキャプチャ365は、カウント値Lを取得するまで、カウント値L’を保持していたものとする。
The
割り込み生成回路366は、電圧モニタ133の出力信号の立ち下がりエッジで、割り込み信号を出力する。
電圧モニタ133の出力信号の立ち下がりエッジで、第1カウントキャプチャ364が保持する値Mと第2カウントキャプチャ365が取得する値Lとの差(L−M)が電圧モニタ133の出力信号(すなわち照射光IL)のパルス幅に相当する。
The interrupt
At the falling edge of the output signal of the
<CPU131の割り込み処理動作>
次に、図8を参照して、電圧モニタ133の出力信号の立ち下がりエッジでの割り込み信号に応じたCPU131の割り込み処理動作について説明する。図8は、電圧モニタ133の出力信号の立ち下がりエッジでの割り込み信号に応じたCPU131の割り込み処理動作を示すフローチャートである。図8の説明においては、図5〜図7も適宜参照する。
<Interrupt processing operation of
Next, the interrupt processing operation of the
まず、電圧モニタ133の出力信号の立ち下がりエッジで割り込み生成回路366が出力した割り込み信号を受信すると(ステップST1)、CPU131は割り込み処理を行う。何ら限定されないが、例えば、図5に示すように、CPU131はタイマ236から時刻を取得すると共に、入出力ポート137を介してセンサ14からデータを取得してもよい。すなわち、CPU131は、センサ14のデータと時刻とを関連付けてセットで取得し、例えばメモリ132に記録してもよい。ここで、タイマ236の時刻とは、図6に示した主カウンタ362及び副カウンタ363の値である。
なお、センサ14から取得したデータと、主カウンタ、副カウンタの値で示される時刻とをセットにしておけば、CPU131は定期的でなく任意の時刻にランダムにセンサ14からデータを取得してもよい。
同時に、図6に示すように、CPU131は第1カウントキャプチャ364が保持する値Aと第2カウントキャプチャ365が保持する値Bとを取得する(ステップST2)。
First, when the interrupt signal output from the interrupt
In addition, if the data acquired from the
At the same time, as shown in FIG. 6, the
次に、電圧モニタ133の出力信号(すなわち照射光IL)のパルス幅に相当する両者の差(B−A)を算出し、所定の基準値Cよりも大きいか否か判定する(ステップST3)。差(B−A)が所定の基準値Cよりも大きい場合(ステップST3YES)、CPU131は主カウンタ362のカウント値をリセットする(ステップST4)。その後、割り込みをクリアする(ステップST5)。
Next, the difference (B-A) between the two, which corresponds to the pulse width of the output signal of the voltage monitor 133 (that is, the irradiation light IL), is calculated, and it is determined whether or not it is larger than a predetermined reference value C (step ST3). .. When the difference (BA) is larger than the predetermined reference value C (YES in step ST3), the
他方、差(B−A)が所定の基準値C以下である場合(ステップST3NO)、CPU131は主カウンタ362のカウント値をリセットすることなく、割り込みをクリアする(ステップST5)。そのため、主カウンタ362のカウント値は、カウントアップされる。
On the other hand, when the difference (BA) is less than or equal to the predetermined reference value C (NO in step ST3), the
なお、記録されたセンサ14のデータと時刻は、主カウンタ、副カウンタの値で示される時間に、入出力ポート137及び無線送信回路15を介して無線受信装置40に送信される。所定の時間は、センサ端末10毎に割り振られている。
The recorded data of the
図9は、第2の実施の形態に係るセンサ端末システムにおける照射光ILのパルス波形の一例である。上述の通り、幅が大きいパルスの立ち下がりエッジで、主カウンタ362のカウント値がリセットされる。また、図9には示していないが、上述の通り、全てのパルスの立ち下がりエッジで、副カウンタ363のカウント値がリセットされる。
FIG. 9 is an example of a pulse waveform of irradiation light IL in the sensor terminal system according to the second embodiment. As described above, the count value of the
例えば、センサ端末システムにおけるセンサ端末10の数が多い場合、周期T毎にセンサ14からデータを取得してサーバ30へ送信すると、データが通信競合する虞がある。その場合、周期2Tや周期3Tなどの周期でパルス幅を大きくし、その周期毎にセンサ端末10からサーバ30へデータをまとめて送信することによって通信競合を抑制することができる。
For example, when the number of
図9に示した例では、パルス幅が周期2T毎に大きくなっている。この場合、センサ14から取得したデータを一度に2つ送信することになるが、それぞれのデータが時刻とセットになっているため、両者を区別することができる。
In the example shown in FIG. 9, the pulse width is increased every 2T. In this case, two pieces of data acquired from the
(その他の実施の形態)
次に、図10、図11を参照して、他の実施の形態に係るセンサ端末及びセンサ端末システムについて説明する。図10、図11は、それぞれ異なる他の実施の形態に係るセンサ端末及びセンサ端末システムの構成を示す詳細なブロック図である。
(Other embodiments)
Next, a sensor terminal and a sensor terminal system according to another embodiment will be described with reference to FIGS. 10 and 11. 10 and 11 are detailed block diagrams showing configurations of a sensor terminal and a sensor terminal system according to other different embodiments, respectively.
図10に示したセンサ端末10では、図2に示したセンサ端末10に対して、電源回路12の出力に、ダイオード素子16を介して、一次電池17が接続されている。詳細には、電源回路12の出力に、ダイオード素子16のカソードが接続されている。ダイオード素子16のアノードに、一次電池17の正極が接続されており、一次電池17の負極は接地されている。その他の構成は第1の実施の形態と同様である。
In the
通常、光電池11による発電が充分であり、ダイオード素子16のカソード側の電圧の方がダイオード素子16のアノード側の電圧(すなわち一次電池17の電圧)よりも高くなる。そのため、センサ端末10が動作するための電力は、電源回路12を介して光電池11から供給される。他方、何らかの原因によって、光電池11による発電が不足した場合、図10に示したセンサ端末10では、ダイオード素子16を介して一次電池17からも電力を補うことができる。
Usually, the
また、図2に示したセンサ端末10では、周期的かつ所定のパルス幅で強度が高くなる照射光ILが照射されている。これに対し、図10に示したセンサ端末10では、周期的かつ所定のパルス幅で強度が低くなる照射光ILを照射することができる。光強度が低くなる区間(パルス幅に相当する区間)において、一次電池17から電力を補うことができる。
なお、図10に示したセンサ端末10を第2の実施の形態と組み合わせてもよい。
Further, the
The
図11に示したセンサ端末10では、図2に示したセンサ端末10に対して、電源回路12とグランドとの間に、大容量のコンデンサ18が接続されている。電源回路12は、コンデンサ18に余剰の電力を充電することができる。電圧モニタ133は、コンデンサ18の電圧も監視する。端末制御回路13は、コンデンサ18の電圧に基づいて、コンデンサ18の充電量が飽和しているか否か判断することができる。その他の構成は第1の実施の形態と同様である。
In the
端末制御回路13は、コンデンサ18の電圧が飽和していない場合、センサ端末10での消費電力を、光電池11による発電電力よりも小さくすることによって、余剰電力をコンデンサ18に充電する。充電中にコンデンサ18に流れる電流も、光電池11の負荷電流となる。そのため、端末制御回路13は、端末制御回路13の消費電力とコンデンサ18の充電電流とを制御し、光電池11の負荷電流を一定範囲にすることで、照度による電圧変化を検出できるようにする。
When the voltage of the
他方、コンデンサ18の電圧が飽和している場合、コンデンサ18の充電電流がないため、端末制御回路13は、第1の実施の形態と同様に光電池11の負荷電流を制御する。そのため、詳細な説明は省略する。
On the other hand, when the voltage of the
また、図2に示したセンサ端末10では、周期的かつ所定のパルス幅で強度が高くなる照射光ILが照射されている。これに対し、図11に示したセンサ端末10では、周期的かつ所定のパルス幅で強度が低くなる照射光ILを照射することができる。光強度が低くなる区間(パルス幅に相当する区間)では、不足する電力をコンデンサ18に充電された電力によって補うことができる。
なお、図11に示したセンサ端末10を第2の実施の形態と組み合わせてもよい。
Further, the
The
以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は既に述べた実施の形態に限定されるものではなく、その要旨を逸脱しない範囲において種々の変更が可能であることはいうまでもない。 Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the embodiments already described, and various modifications can be made without departing from the scope of the invention. It goes without saying that it is possible.
10 センサ端末
11 光電池
12 電源回路
13 端末制御回路
14 センサ
15 無線送信回路
16 ダイオード素子
17 一次電池
18 コンデンサ
20 照明機器
30 サーバ
40 無線受信装置
131 CPU
132 メモリ
133 電圧モニタ
134 発振回路
135 クロック生成回路
136、236 タイマ
137 入出力ポート
361 エッジ検出回路
362 主カウンタ
363 副カウンタ
364 第1カウントキャプチャ
365 第2カウントキャプチャ
366 割り込み生成回路
IB 内部バス
IL 照射光
10
132
Claims (18)
前記センサを制御する制御回路と、
外部の照明機器からの照射光によって発電する光電池と、を備え、
前記制御回路は、前記光電池の出力に基づいて、所定の周期でパルス状に変化するように制御された前記照射光の強度変化に同期して処理を行う、
センサ端末。 A sensor,
A control circuit for controlling the sensor,
A photocell that generates power by irradiation light from an external lighting device;
The control circuit performs processing in synchronization with a change in intensity of the irradiation light that is controlled so as to change in a pulse shape at a predetermined cycle based on the output of the photovoltaic cell,
Sensor terminal.
起動した後、前記照射光の強度変化に同期して処理を行う前に、
前記光電池の出力に基づいて前記照射光の強度を推定し、推定した前記照射光の強度に応じて前記光電池の負荷電流を調整する、
請求項1に記載のセンサ端末。 The control circuit is
After starting, before performing the processing in synchronization with the intensity change of the irradiation light,
Estimating the intensity of the irradiation light based on the output of the photocell, adjusting the load current of the photocell according to the estimated intensity of the irradiation light,
The sensor terminal according to claim 1.
前記照射光の強度変化に同期して、前記センサからデータを取得する、
請求項1に記載のセンサ端末。 The control circuit is
Data is acquired from the sensor in synchronization with a change in the intensity of the irradiation light.
The sensor terminal according to claim 1.
請求項3に記載のセンサ端末。 Further comprising a wireless transmission circuit for transmitting data acquired from the sensor,
The sensor terminal according to claim 3.
前記センサから取得したデータを、所定のタイミングで前記無線送信回路から送信する、
請求項4に記載のセンサ端末。 The control circuit is
The data acquired from the sensor is transmitted from the wireless transmission circuit at a predetermined timing,
The sensor terminal according to claim 4.
前記照射光の強度変化に同期して、時刻を計測するタイマを備え、
前記センサからデータを取得する際に、前記タイマから時刻を取得して、前記データと前記時刻とを関連付ける、
請求項1に記載のセンサ端末。 The control circuit is
A timer for measuring the time is provided in synchronization with the intensity change of the irradiation light,
When acquiring data from the sensor, acquire time from the timer, and associate the data with the time,
The sensor terminal according to claim 1.
前記電源回路の出力にカソードが接続されたダイオード素子と、
前記ダイオード素子のアノードに接続された一次電池と、をさらに備えた、
請求項1に記載のセンサ端末。 A power supply circuit that generates a power supply voltage of the sensor terminal based on the output of the photovoltaic cell;
A diode element whose cathode is connected to the output of the power supply circuit,
Further comprising a primary battery connected to the anode of the diode element,
The sensor terminal according to claim 1.
前記電源回路に接続されたコンデンサと、をさらに備え、
前記制御回路は、
前記センサ端末での消費電力を、前記光電池による発電電力よりも小さくすることによって、前記コンデンサを充電させる、
請求項1に記載のセンサ端末。 A power supply circuit that generates a power supply voltage of the sensor terminal based on the output of the photovoltaic cell;
Further comprising a capacitor connected to the power supply circuit,
The control circuit is
Charging the capacitor by reducing the power consumption of the sensor terminal below the power generated by the photovoltaic cell,
The sensor terminal according to claim 1.
前記照明機器からの前記照射光を動力源とする複数のセンサ端末と、を備え、
前記複数のセンサ端末は、それぞれ、
センサと、
前記センサを制御する制御回路と、
前記照明機器からの前記照射光によって発電する光電池と、を備え、
前記制御回路は、前記光電池の出力に基づいて、前記照射光の強度変化に同期して処理を行う、
センサ端末システム。 An illumination device controlled so that the intensity of irradiation light changes in a pulse shape at a predetermined cycle,
A plurality of sensor terminals using the irradiation light from the lighting device as a power source,
Each of the plurality of sensor terminals,
A sensor,
A control circuit for controlling the sensor,
A photocell that generates power by the irradiation light from the lighting device,
The control circuit performs processing in synchronization with the intensity change of the irradiation light based on the output of the photovoltaic cell,
Sensor terminal system.
起動した後、前記照射光の強度変化に同期して処理を行う前に、
前記光電池の出力に基づいて前記照射光の強度を推定し、推定した前記照射光の強度に応じて前記光電池の負荷電流を調整する、
請求項9に記載のセンサ端末システム。 The control circuit is
After starting, before performing the processing in synchronization with the intensity change of the irradiation light,
Estimating the intensity of the irradiation light based on the output of the photocell, adjusting the load current of the photocell according to the estimated intensity of the irradiation light,
The sensor terminal system according to claim 9.
前記照射光の強度変化に同期して、前記センサからデータを取得する、
請求項9に記載のセンサ端末システム。 The control circuit is
Data is acquired from the sensor in synchronization with a change in the intensity of the irradiation light.
The sensor terminal system according to claim 9.
請求項11に記載のセンサ端末システム。 Further comprising a wireless transmission circuit for transmitting data acquired from the sensor,
The sensor terminal system according to claim 11.
前記センサから取得したデータを、所定のタイミングで前記無線送信回路から送信する、
請求項12に記載のセンサ端末システム。 The control circuit is
The data acquired from the sensor is transmitted from the wireless transmission circuit at a predetermined timing,
The sensor terminal system according to claim 12.
前記照射光の強度変化に同期して、時刻を計測するタイマを備え、
前記センサからデータを取得する際に、前記タイマから時刻を取得して、前記データと前記時刻とを関連付ける、
請求項9に記載のセンサ端末システム。 The control circuit is
A timer for measuring the time is provided in synchronization with the intensity change of the irradiation light,
When acquiring data from the sensor, acquire time from the timer, and associate the data with the time,
The sensor terminal system according to claim 9.
前記電源回路の出力にカソードが接続されたダイオード素子と、
前記ダイオード素子のアノードに接続された一次電池と、をさらに備えた、
請求項9に記載のセンサ端末システム。 A power supply circuit that generates a power supply voltage of the sensor terminal based on the output of the photovoltaic cell;
A diode element whose cathode is connected to the output of the power supply circuit,
Further comprising a primary battery connected to the anode of the diode element,
The sensor terminal system according to claim 9.
前記電源回路に接続されたコンデンサと、をさらに備え、
前記制御回路は、
前記センサ端末での消費電力を、前記光電池による発電電力よりも小さくすることによって、前記コンデンサを充電させる、
請求項9に記載のセンサ端末システム。 A power supply circuit that generates a power supply voltage of the sensor terminal based on the output of the photovoltaic cell;
Further comprising a capacitor connected to the power supply circuit,
The control circuit is
Charging the capacitor by reducing the power consumption of the sensor terminal below the power generated by the photovoltaic cell,
The sensor terminal system according to claim 9.
センサと前記照射光によって発電する光電池とを備える複数のセンサ端末のそれぞれにおいて、前記光電池の出力に基づいて、前記照射光の強度変化に同期して処理を行う、
センサ端末システムの制御方法。 The lighting equipment is controlled so that the intensity of the irradiation light changes in a pulse shape at a predetermined cycle,
In each of a plurality of sensor terminals including a sensor and a photocell that generates electricity by the irradiation light, based on the output of the photocell, perform processing in synchronization with the intensity change of the irradiation light,
Control method of sensor terminal system.
起動した後、前記照射光の強度変化に同期して処理を行う前に、
前記光電池の出力に基づいて前記照射光の強度を推定し、推定した前記照射光の強度に応じて前記光電池の負荷電流を調整する、
請求項17に記載のセンサ端末システムの制御方法。 In each of the plurality of sensor terminals,
After starting, before performing the processing in synchronization with the intensity change of the irradiation light,
Estimating the intensity of the irradiation light based on the output of the photocell, adjusting the load current of the photocell according to the estimated intensity of the irradiation light,
The control method of the sensor terminal system according to claim 17.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018247442A JP2020107214A (en) | 2018-12-28 | 2018-12-28 | Sensor terminal, sensor terminal system, and control method of the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018247442A JP2020107214A (en) | 2018-12-28 | 2018-12-28 | Sensor terminal, sensor terminal system, and control method of the same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2020107214A true JP2020107214A (en) | 2020-07-09 |
Family
ID=71449160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018247442A Pending JP2020107214A (en) | 2018-12-28 | 2018-12-28 | Sensor terminal, sensor terminal system, and control method of the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2020107214A (en) |
-
2018
- 2018-12-28 JP JP2018247442A patent/JP2020107214A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
ES2927259T3 (en) | Wireless battery management system and battery pack including the same | |
US9941733B2 (en) | Electronic device, communication system, and method of controlling electronic device | |
US20170041897A1 (en) | Apparatus and methods for synchronizing a controller and sensors | |
CN105474673B (en) | Signaling is directly controlled in wireless communication system | |
US7400911B2 (en) | Wireless node and method of powering a wireless node employing ambient light to charge an energy store | |
KR20180074684A (en) | Apparatus and methods for synchronizing controllers and sensors | |
US9668209B1 (en) | Listening window adjustments for power savings in bluetooth low energy (BLE) communications | |
JP4100774B2 (en) | Optical information communication equipment | |
EP3598408A1 (en) | Sensor device and sensor network system | |
CN112042044B (en) | Power storage system, sensor module, and control method for power storage system | |
US9078258B2 (en) | Controller, communication terminal, and wireless communication system | |
EP2997794A1 (en) | Lighting unit having energy harvesting power management system | |
JP6790953B2 (en) | Wireless communication device, wireless communication system, wireless communication method | |
JP2019115036A (en) | Transceiver device with real-time clock | |
JP2020107214A (en) | Sensor terminal, sensor terminal system, and control method of the same | |
JP6533119B2 (en) | Observation system, relay device, and observation data reception method | |
Griffith | Toward zero: Power consumption trends in low data rate wireless connectivity | |
US9236905B2 (en) | Wireless communication system including frequency hopping electronic devices, and control method and storage medium therefor | |
KR101694376B1 (en) | flicker lighting apparatus having GPS and time synchronizing thereof | |
WO2015090046A1 (en) | Digital current equalizing method and power supply module | |
US11894687B2 (en) | Method of ranking MLPE apparatuses and locating devices in a photovoltaic string | |
JP5853131B2 (en) | Wireless communication apparatus, wireless communication method, and wireless communication system | |
JP2019054333A (en) | Wireless terminal, wireless communication system, wireless communication method and wireless communication program | |
US20220116112A1 (en) | Optical networking method, optical communication device, and optical networking system | |
Meli et al. | Powering long range wireless nodes with harvested energy |