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 PDF

Info

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
Application number
JP2018247442A
Other languages
Japanese (ja)
Inventor
秀明 友永
Hideaki Tomonaga
秀明 友永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2018247442A priority Critical patent/JP2020107214A/en
Publication of JP2020107214A publication Critical patent/JP2020107214A/en
Pending legal-status Critical Current

Links

Images

Abstract

To synchronize with other sensor terminals along with power generation by illumination light while suppressing an increase in circuit scale and power consumption.SOLUTION: In a sensor terminal 10 according to an embodiment, a control circuit 13 that controls a sensor 14 operates in synchronization with an intensity change of an irradiation light IL which is controlled so as to change in a pulsed manner at prescribed periods on the basis of an output of an optical battery 11 which generates electric power with the irradiation light IL from an external illumination light 20.SELECTED DRAWING: Figure 1

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, Patent Document 1 discloses a communication device using a photovoltaic cell.

国際公開第2015/133013号International Publication No. 2015/133013

発明者は、それぞれが光電池を有する複数のセンサ端末を備えたセンサ端末システムにおいて、以下の課題を見出した。
このようなセンサ端末システムでは、各センサ端末を時刻同期させ、各センサ端末において所定のタイミングでセンサからデータを取得したり、取得したデータを送信したりするなどの処理を行う必要がある。
しかしながら、例えば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.

第1の実施の形態に係るセンサ端末及びセンサ端末システムの構成を示すブロック図である。It is a block diagram which shows the structure of the sensor terminal and sensor terminal system which concern on 1st Embodiment. 第1の実施の形態に係るセンサ端末及びセンサ端末システムの構成を示す詳細なブロック図である。It is a detailed block diagram which shows the structure of the sensor terminal and sensor terminal system which concern on 1st Embodiment. 光電池11の出力電圧と負荷電流との関係を示すグラフである。It is a graph which shows the relationship between the output voltage of photovoltaic cell 11, and load current. 端末制御回路13の起動時の動作を示すタイミングチャートである。7 is a timing chart showing an operation at the time of starting the terminal control circuit 13. 第2の実施の形態に係るセンサ端末及びセンサ端末システムの構成を示す詳細なブロック図である。It is a detailed block diagram which shows the structure of the sensor terminal and sensor terminal system which concern on 2nd Embodiment. 第2の実施の形態に係るセンサ端末及びセンサ端末システムにおけるタイマ236の構成を示すブロック図である。It is a block diagram which shows the structure of the timer 236 in the sensor terminal and the sensor terminal system which concern on 2nd Embodiment. タイマ236の動作を示すタイミングチャートである。6 is a timing chart showing the operation of the timer 236. 電圧モニタ133の出力信号の立ち下がりエッジでの割り込み信号に応じたCPU131の割り込み処理動作を示すフローチャートである。7 is a flowchart showing an interrupt processing operation of the CPU 131 according to an interrupt signal at the falling edge of the output signal of the voltage monitor 133. 第2の実施の形態に係るセンサ端末システムにおける照射光ILのパルス波形の一例である。9 is an example of a pulse waveform of irradiation light IL in the sensor terminal system according to the second embodiment. 他の実施の形態に係るセンサ端末及びセンサ端末システムの構成を示す詳細なブロック図である。It is a detailed block diagram which shows the structure of the sensor terminal and sensor terminal system which concern on other embodiment. 他の実施の形態に係るセンサ端末及びセンサ端末システムの構成を示す詳細なブロック図である。It is a detailed block diagram which shows the structure of the sensor terminal and sensor terminal system which concern on other embodiment.

説明の明確化のため、以下の記載及び図面は、適宜、省略、及び簡略化がなされている。また、様々な処理を行う機能ブロックとして図面に記載される各要素は、ハードウェア的には、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 sensor terminal 10 and a lighting device 20. As an example, the sensor terminal system is installed in a factory. That is, the sensor terminal 10 and the lighting device 20 are installed in the factory.

センサ端末システムにおいて、センサ端末10は複数設けられているが、図1には1つのセンサ端末10のみが示されている。センサ端末10は、例えば、温度、湿度、圧力等の製造条件を管理するために製造装置等に設けられている。図1に示すように、センサ端末10は、光電池11、電源回路12、端末制御回路13、センサ14を備え、照明機器20からの照射光ILを動力源とする。すなわち、第1の実施の形態に係るセンサ端末システムでは、光電池11により電力を賄う。 Although a plurality of sensor terminals 10 are provided in the sensor terminal system, only one sensor terminal 10 is shown in FIG. The sensor terminal 10 is provided in a manufacturing apparatus or the like for managing manufacturing conditions such as temperature, humidity and pressure. As shown in FIG. 1, the sensor terminal 10 includes a photocell 11, a power supply circuit 12, a terminal control circuit 13, and a sensor 14, and uses irradiation light IL from the lighting device 20 as a power source. That is, in the sensor terminal system according to the first embodiment, the photovoltaic cell 11 supplies power.

ここで、図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 illumination device 20 changes in a pulse shape in a predetermined cycle. Is controlled to. In the example of FIG. 1, the intensity of the irradiation light IL is high in the cycle T with a pulse width that cannot be detected by humans. As will be described later, the cycle T is, for example, a measurement cycle of the sensor 14, that is, a data acquisition cycle from the sensor 14, and is about 1 ms to 1 s.

光電池11は、照明機器20からの照射光ILによって発電する。
電源回路12は、例えば昇圧コンバータであって、光電池11の出力から端末制御回路13及びセンサ14(すなわちセンサ端末10)に供給する電源電圧を生成する。
端末制御回路13は、電源回路12から供給された電源電圧で動作し、センサ14を制御する。
センサ14は、例えば温度センサ、湿度センサ、圧力センサ等である。センサ14は、電源回路12から供給された電圧で動作する。
The photocell 11 generates power by the irradiation light IL from the lighting device 20.
The power supply circuit 12 is, for example, a boost converter, and generates a power supply voltage to be supplied to the terminal control circuit 13 and the sensor 14 (that is, the sensor terminal 10) from the output of the photovoltaic cell 11.
The terminal control circuit 13 operates with the power supply voltage supplied from the power supply circuit 12, and controls the sensor 14.
The sensor 14 is, for example, a temperature sensor, a humidity sensor, a pressure sensor, or the like. The sensor 14 operates with the voltage supplied from the power supply circuit 12.

ここで、端末制御回路13は、照明機器20からの照射光ILによって発電する光電池11の出力に基づいて、所定の周期Tでパルス状に変化するように制御された照射光ILの強度変化に同期して処理を行う。例えば、照射光ILの強度変化に同期して、センサ14からデータを取得したり、取得したデータを送信する。 Here, the terminal control circuit 13 changes the intensity of the irradiation light IL that is controlled so as to change in a pulse shape at a predetermined cycle T based on the output of the photovoltaic cell 11 that generates power by the irradiation light IL from the lighting device 20. Perform processing synchronously. For example, the data is acquired from the sensor 14 or the acquired data is transmitted in synchronization with the intensity change of the irradiation light IL.

このように、第1の実施の形態に係るセンサ端末システムでは、各センサ端末10が照射光ILの強度変化に同期する。そのため、IEEE1588規格などの時刻同期手法を用いずに、各センサ端末10を同期させることができる。すなわち、回路規模及び消費電力の増大を抑制しつつ、照明光による発電と共に各センサ端末10を同期させることができる。換言すると、第1の実施の形態に係るセンサ端末10では、回路規模及び消費電力の増大を抑制しつつ、照明光による発電と共に他のセンサ端末10と同期することができる。 As described above, in the sensor terminal system according to the first embodiment, each sensor terminal 10 synchronizes with the intensity change of the irradiation light IL. Therefore, the sensor terminals 10 can be synchronized without using the time synchronization method such as the IEEE1588 standard. That is, each sensor terminal 10 can be synchronized with the power generation by the illumination light while suppressing an increase in circuit scale and power consumption. In other words, in the sensor terminal 10 according to the first embodiment, it is possible to suppress the increase in circuit size and power consumption, and generate power by illumination light and synchronize with another sensor terminal 10.

<センサ端末及びセンサ端末システムの詳細な構成>
次に、図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 server 30 and a wireless reception device 40 in addition to the sensor terminal 10 and the lighting device 20 shown in FIG. Further, as shown in FIG. 2, the sensor terminal 10 includes a wireless transmission circuit 15 in addition to the photovoltaic cell 11, the power supply circuit 12, the terminal control circuit 13, and the sensor 14 shown in FIG.

サーバ30は、例えば工場全体を集中管理しており、照明機器20及び無線受信装置40にケーブル接続されている。サーバ30は、照明機器20を制御すると共に、無線受信装置40を介してセンサ端末10から無線送信されたデータを取得する。ここで、照明機器20は複数設けられていてもよい。その場合、サーバ30は、全ての照明機器20の照射光ILの強度変化が同期するように照明機器20を制御する。
無線受信装置40は、センサ端末10から無線送信されたデータを受信する。
なお、サーバ30は、照明機器20と無線接続されていてもよい。
The server 30 centrally manages the entire factory, for example, and is cable-connected to the lighting device 20 and the wireless reception device 40. The server 30 controls the lighting device 20 and acquires the data wirelessly transmitted from the sensor terminal 10 via the wireless reception device 40. Here, a plurality of lighting devices 20 may be provided. In that case, the server 30 controls the lighting devices 20 so that the intensity changes of the irradiation light IL of all the lighting devices 20 are synchronized.
The wireless reception device 40 receives the data wirelessly transmitted from the sensor terminal 10.
The server 30 may be wirelessly connected to the lighting device 20.

センサ端末10において、端末制御回路13は、所定の周期Tで変化するように制御された照射光ILの強度変化に同期して処理を行う。例えば、照射光ILの強度変化に同期して、センサ14からデータを取得したり、取得したデータを無線送信回路15に送る。
無線送信回路15は、端末制御回路13から受け取ったデータを無線受信装置40に無線送信する。
なお、無線送信回路15を設けずに、センサ端末10が不揮発メモリを有しており、当該不揮発メモリに記録することで、後からデータを取得してもよい。その場合、無線受信装置40も不要となる。
In the sensor terminal 10, the terminal control circuit 13 performs processing in synchronization with the intensity change of the irradiation light IL that is controlled so as to change in a predetermined cycle T. For example, data is acquired from the sensor 14 or the acquired data is sent to the wireless transmission circuit 15 in synchronization with the intensity change of the irradiation light IL.
The wireless transmission circuit 15 wirelessly transmits the data received from the terminal control circuit 13 to the wireless reception device 40.
The sensor terminal 10 may have a non-volatile memory without providing the wireless transmission circuit 15, and the data may be acquired later by recording in the non-volatile memory. In that case, the wireless receiver 40 is also unnecessary.

ここで、図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 terminal control circuit 13 includes a CPU (Central Processing Unit) 131, a memory 132, a voltage monitor 133, an oscillation circuit 134, a clock generation circuit 135, a timer 136, an input/output port. 137 and an internal bus IB. As indicated by the white arrow, the CPU 131 other than the oscillation circuit 134, the memory 132, the voltage monitor 133, the clock generation circuit 135, the timer 136, and the input/output port 137 are connected to the internal bus IB. As indicated by the solid arrow in FIG. 2, an interrupt signal is input to the CPU 131 from the voltage monitor 133, the timer 136, and the input/output port 137.

CPU131は、制御プログラムに基づいて、各種処理を行う。例えば、電圧モニタ133の出力信号(すなわち割り込み信号)の立ち上がりもしくは立ち下がりに応じて、CPU131は入出力ポート137を介してセンサ14からデータを取得する。あるいは、取得したデータを、入出力ポート137を介して無線送信回路15に送る。CPU131の処理の詳細については、後述する。 The CPU 131 performs various processes based on the control program. For example, the CPU 131 acquires data from the sensor 14 via the input/output port 137 in response to rising or falling of the output signal (that is, the interrupt signal) of the voltage monitor 133. Alternatively, the acquired data is sent to the wireless transmission circuit 15 via the input/output port 137. Details of the processing of the CPU 131 will be described later.

メモリ132は、例えばROM(Read Only Memory)やRAM(Random Access Memory)等を含む。ROMとしては、フラッシュメモリやマスクROM等を挙げることができる。例えば、メモリ132のROMには、制御プログラムの他、「センサ端末10の電力情報」、「光電池11の特性情報」などが格納されている。 The memory 132 includes, for example, a ROM (Read Only Memory) and a RAM (Random Access Memory). The ROM may be a flash memory or a mask ROM. For example, the ROM of the memory 132 stores “electric power information of the sensor terminal 10 ”, “characteristic information of the photocell 11 ”, and the like in addition to the control program.

「センサ端末10の電力情報」には、端末制御回路13におけるクロックがオンの場合及びオフの場合の消費電力、各クロック周波数での消費電力、センサ14及び無線送信回路15の消費電力などの情報が含まれる。また、「光電池11の特性情報」には、光電池11の発電電力を推定するための情報(負荷電流と出力電圧との関係など)が含まれる。 The "power information of the sensor terminal 10" includes information such as power consumption when the clock in the terminal control circuit 13 is on and off, power consumption at each clock frequency, power consumption of the sensor 14 and the wireless transmission circuit 15. Is included. The “characteristic information of the photovoltaic cell 11” includes information for estimating the power generated by the photovoltaic cell 11 (relationship between load current and output voltage, etc.).

電圧モニタ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 photovoltaic cell 11. For example, the voltage monitor 133 outputs Low in the low light intensity section shown in FIG. 1, and outputs High in the high light intensity section shown in FIG. Therefore, the output signal of the voltage monitor 133 has a pulse waveform synchronized with the pulse waveform of the light intensity of the lighting device 20 shown in FIG. As described above, the output signal of the voltage monitor 133 is input to the CPU 131 as an interrupt signal.

発振回路134は、例えば内蔵オシレータや水晶発振回路等である。
クロック生成回路135は、例えばPLL(Phase-locked loop)回路などであって、発振回路134が発振する基準クロックを逓倍した所定周波数のクロックを生成する。クロック生成回路135において、クロックのオン・オフや、クロック周波数の設定も行われる。クロック生成回路135によって生成されたクロックは、端末制御回路13内の各ブロックに供給される。
The oscillator circuit 134 is, for example, a built-in oscillator, a crystal oscillator circuit, or the like.
The clock generation circuit 135 is, for example, a PLL (Phase-locked loop) circuit, and generates a clock of a predetermined frequency obtained by multiplying the reference clock oscillated by the oscillation circuit 134. The clock generation circuit 135 also turns on/off the clock and sets the clock frequency. The clock generated by the clock generation circuit 135 is supplied to each block in the terminal control circuit 13.

タイマ136は、例えばクロックをカウントすることにより時間を計測し、CPU131に対して割り込み信号を出力する。タイマ136は、例えば、CPU131による定期的な処理に用いられる。割り込み信号に応じて、CPU131は各種処理を行う。
入出力ポート137は、端末制御回路13をセンサ14や無線送信回路15などの周辺機器と接続するためのインタフェースである。
The timer 136 measures time by counting a clock, for example, and outputs an interrupt signal to the CPU 131. The timer 136 is used, for example, for regular processing by the CPU 131. The CPU 131 performs various processes according to the interrupt signal.
The input/output port 137 is an interface for connecting the terminal control circuit 13 to peripheral devices such as the sensor 14 and the wireless transmission circuit 15.

例えば、CPU131は、電圧モニタ133からの割り込み信号に応じて、入出力ポート137を介してセンサ14からデータを取得する。そして、センサ14から取得したデータを、入出力ポート137を介して無線送信回路15に送る。
ここで、各センサ端末10における発振回路134の特性ばらつき、温度や供給電圧の違い等によって、センサ端末10毎のタイマ136のカウント値にずれが生じ得る。
For example, the CPU 131 acquires data from the sensor 14 via the input/output port 137 according to the interrupt signal from the voltage monitor 133. Then, the data acquired from the sensor 14 is sent to the wireless transmission circuit 15 via the input/output port 137.
Here, the count value of the timer 136 for each sensor terminal 10 may deviate due to variations in the characteristics of the oscillation circuit 134 in each sensor terminal 10, differences in temperature and supply voltage, and the like.

しかしながら、第1の実施の形態に係るセンサ端末システムでは、全てのセンサ端末10において、光電池11の出力に基づいて、所定の周期T毎に照明機器20の照射光ILの強度変化に時刻同期させる。そのため、全てのセンサ端末10において、タイマ136のカウント値のずれを解消し、センサ14からのデータ取得や無線送信回路15へのデータ送信のタイミングを同期させることができる。 However, in the sensor terminal system according to the first embodiment, all the sensor terminals 10 are time-synchronized with the intensity change of the irradiation light IL of the lighting device 20 at predetermined intervals T based on the output of the photocell 11. .. Therefore, in all the sensor terminals 10, the deviation of the count value of the timer 136 can be eliminated, and the timings of data acquisition from the sensor 14 and data transmission to the wireless transmission circuit 15 can be synchronized.

各センサ端末10において、タイマ136のカウント値のずれを解消するためには、例えば、電圧モニタ133からの割り込み信号に応じて、CPU131が周期T毎にタイマ136のカウント値をリセットすればよい。あるいは、電圧モニタ133の出力信号をタイマ136に入力し、周期T毎にタイマ136のカウント値をリセットしてもよい。 In each sensor terminal 10, in order to eliminate the deviation of the count value of the timer 136, for example, the CPU 131 may reset the count value of the timer 136 in every cycle T according to the interrupt signal from the voltage monitor 133. Alternatively, the output signal of the voltage monitor 133 may be input to the timer 136 and the count value of the timer 136 may be reset every cycle T.

<光電池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 photovoltaic cell 11 and output voltage>
Next, with reference to FIG. 3, the relationship between the load current and the output voltage of the photovoltaic cell 11 will be described. FIG. 3 is a graph showing the relationship between the output voltage of the photovoltaic cell 11 and the load current. The horizontal axis represents the output voltage (V) and the vertical axis represents the load current (mA). FIG. 3 shows curves for three different illuminances (light intensities) A, B, and C. The relationship between the sizes of the illuminances A, B, and C is illuminance A<illuminance B<illuminance C. As shown in FIG. 3, in any of illuminances A, B, and C, the output voltage of the photovoltaic cell 11 gradually decreases as the load current increases. Then, when the load current increases to some extent, the output voltage of the photovoltaic cell 11 sharply decreases.

ここで、図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 photovoltaic cell 11. In the example of FIG. 3, when the load current becomes larger than I1 at the illuminance A, the output voltage sharply decreases, which may adversely affect the circuit operation. Therefore, for example, at illuminance A, the load current is controlled to be I1 or less.

他方、図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 photocell 11 due to the illuminances A, B, and C is small. Therefore, it is difficult for the voltage monitor 133 to detect a change in light intensity. On the other hand, when the load current is I1, the output voltage difference of the photocell 11 due to the illuminance becomes large to some extent. For example, when the illumination light IL has a low light intensity and the illumination light has a high illumination intensity C, the output voltage difference of the load current I0 is larger than that of the load current I0, and the voltage monitor 133 detects a change in the light intensity. Easier to do.

そのため、CPU131は、回路動作に悪影響を及ぼさない所定の出力電圧を維持しつつ、照度による光電池11の出力電圧差が大きくなるように、負荷電流すなわちセンサ端末10における消費電力を制御する。図3の例では、照度Aにおいて負荷電流がI1となるようにセンサ端末10における消費電力を制御することによって、回路動作に悪影響を及ぼさない所定の出力電圧を維持しつつ、照度による出力電圧差を大きくすることができる。 Therefore, the CPU 131 controls the load current, that is, the power consumption of the sensor terminal 10 so that the output voltage difference of the photocell 11 depending on the illuminance increases while maintaining a predetermined output voltage that does not adversely affect the circuit operation. In the example of FIG. 3, by controlling the power consumption in the sensor terminal 10 so that the load current becomes I1 at the illuminance A, the output voltage difference due to the illuminance is maintained while maintaining a predetermined output voltage that does not adversely affect the circuit operation. Can be increased.

<端末制御回路13の動作>
次に、図4を参照して、端末制御回路13の動作について説明する。図4は、端末制御回路13の起動時の動作を示すタイミングチャートである。
時刻t1において、電源オンもしくはリセット解除により、端末制御回路13が起動する。時刻t2までの間に、センサ端末10全体の初期設定を行う。
<Operation of terminal control circuit 13>
Next, the operation of the terminal control circuit 13 will be described with reference to FIG. FIG. 4 is a timing chart showing the operation at the time of starting the terminal control circuit 13.
At time t1, the terminal control circuit 13 is activated by turning on the power or releasing the reset. By the time t2, the initial setting of the entire sensor terminal 10 is performed.

この初期設定において、CPU131は、メモリ132に格納された「センサ端末10の電力情報」及び「光電池11の特性情報」を参照しながら、光電池11の出力(すなわち電圧モニタ133の出力)に基づいて、センサ端末10における照度を推定する。ここで、センサ端末10における照度は、センサ端末10と照明機器20との位置関係などによって変化し得る。 In this initial setting, the CPU 131 refers to the “power information of the sensor terminal 10” and the “characteristic information of the photocell 11” stored in the memory 132, and based on the output of the photocell 11 (that is, the output of the voltage monitor 133). Estimate the illuminance at the sensor terminal 10. Here, the illuminance at the sensor terminal 10 may change depending on the positional relationship between the sensor terminal 10 and the lighting device 20, or the like.

続けて、CPU131は、推定した照度に応じて、図3に示したように、光電池11の負荷電流(すなわちセンサ端末10の消費電力)を決定する。そして、CPU131は、電圧モニタ133が照射光ILの強度変化を検出できるように、決定した光電池11の負荷電流に基づいて、電圧モニタ133の閾値電圧を設定する。 Subsequently, the CPU 131 determines the load current of the photovoltaic cell 11 (that is, the power consumption of the sensor terminal 10) according to the estimated illuminance, as shown in FIG. Then, the CPU 131 sets the threshold voltage of the voltage monitor 133 based on the determined load current of the photocell 11 so that the voltage monitor 133 can detect the intensity change of the irradiation light IL.

時刻t2において、端末制御回路13は通常動作を開始する。
照射光ILのパルスの立ち上がりにおいて、電圧モニタ133はCPU131に割り込み信号を出力する。すなわち、図4における時刻t3、t4、t5において、CPU131は、照射光ILの強度変化に同期して処理を行う。
At time t2, the terminal control circuit 13 starts normal operation.
At the rising edge of the pulse of the irradiation light IL, the voltage monitor 133 outputs an interrupt signal to the CPU 131. That is, at times t3, t4, and t5 in FIG. 4, the CPU 131 performs processing in synchronization with the intensity change of the irradiation light IL.

例えば、CPU131は、時刻t3において、入出力ポート137を介してセンサ14からデータを取得する。そして、時刻t4までに、CPU131は、取得したデータを、入出力ポート137を介して無線送信回路15から無線受信装置40に送信する。CPU131は、時刻t4、t5においても同様の処理を行う。
サーバ30は、所定の周期T毎に無線受信装置40を介して各センサ端末10からデータを取得するため、各センサ端末10のデータと時刻とを関連付けることができる。
For example, the CPU 131 acquires data from the sensor 14 via the input/output port 137 at time t3. Then, by time t4, the CPU 131 transmits the acquired data from the wireless transmission circuit 15 to the wireless reception device 40 via the input/output port 137. The CPU 131 performs the same processing at times t4 and t5.
Since the server 30 acquires data from each sensor terminal 10 via the wireless reception device 40 at every predetermined cycle T, the data of each sensor terminal 10 can be associated with the time.

ここで、複数のセンサ端末10から一斉に無線受信装置40(すなわちサーバ30)にデータを送信すると、通信競合が発生する虞がある。そのため、センサ端末10毎に異なる待機時間を割り振り、各センサ端末10において、時刻t3から待機時間が経過したタイミングでデータを送信するようにしてもよい。 Here, if data is transmitted from the plurality of sensor terminals 10 to the wireless reception device 40 (that is, the server 30) all at once, communication competition may occur. Therefore, a different waiting time may be assigned to each sensor terminal 10 and each sensor terminal 10 may transmit data at the timing when the waiting time has elapsed from time t3.

CPU131は、センサ14からのデータ取得、無線送信回路15からのデータ送信などの一連の処理中(すなわち通常動作中)、光電池11の負荷電流が一定の範囲に収まるようにセンサ端末10における消費電力を制御する。
なお、CPU131は、取得したデータを無線送信する代わりにメモリ132に格納してもよい。
During a series of processes such as data acquisition from the sensor 14 and data transmission from the wireless transmission circuit 15 (that is, during normal operation), the CPU 131 consumes power in the sensor terminal 10 so that the load current of the photocell 11 falls within a certain range. To control.
The CPU 131 may store the acquired data in the memory 132 instead of wirelessly transmitting it.

(第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 timer 236 in the sensor terminal and the sensor terminal system according to the second embodiment.

図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 voltage monitor 133 and the output signal of the voltage monitor 133 are input to the CPU 131 as interrupt signals. On the other hand, in the sensor terminal according to the second embodiment shown in FIG. 5, the output signal of the voltage monitor 133 is input to the timer 236 instead of the CPU 131.

また、第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 sensor terminal 10 according to the second embodiment, the CPU 131 determines the pulse width of the output signal of the voltage monitor 133 based on the value of the timer 236. The timer 136 according to the first embodiment includes only a counter that counts a clock, for example. On the other hand, the timer 236 according to the second embodiment has a more complicated structure.

<タイマ236の構成>
ここで、図6を参照して、第2の実施の形態に係るタイマ236の構成について説明する。図6に示すように、第2の実施の形態に係るタイマ236は、エッジ検出回路361、主カウンタ362、副カウンタ363、第1カウントキャプチャ364、第2カウントキャプチャ365、割り込み生成回路366を備えている。
<Configuration of timer 236>
Here, the configuration of the timer 236 according to the second embodiment will be described with reference to FIG. As shown in FIG. 6, the timer 236 according to the second embodiment includes an edge detection circuit 361, a main counter 362, a sub counter 363, a first count capture 364, a second count capture 365, and an interrupt generation circuit 366. ing.

電圧モニタ133の出力信号が、エッジ検出回路361に入力される。
また、クロック生成回路135が生成したクロックが、主カウンタ362、副カウンタ363、第1カウントキャプチャ364、第2カウントキャプチャ365に入力される。すなわち、主カウンタ362、副カウンタ363、第1カウントキャプチャ364、第2カウントキャプチャ365は同じクロックで動作する。
The output signal of the voltage monitor 133 is input to the edge detection circuit 361.
In addition, the clock generated by the clock generation circuit 135 is input to the main counter 362, the sub counter 363, the first count capture 364, and the second count capture 365. That is, the main counter 362, the sub counter 363, the first count capture 364, and the second count capture 365 operate with the same clock.

エッジ検出回路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 edge detection circuit 361. The edge detection circuit 361 outputs the detection signal re at the rising edge of the output signal of the voltage monitor 133. The detection signal re is input to the first count capture 364 as the enable signal EN. Further, the edge detection circuit 361 outputs the detection signal fe at the falling edge of the output signal of the voltage monitor 133. The detection signal fe is input to the main counter 362 and the second count capture 365 as an enable signal EN, and is input to the sub counter 363 as a reset signal RST.

主カウンタ362は、電圧モニタ133の出力信号の立ち下がりエッジが検出される毎、すなわち検出信号feが入力される毎にカウントする。主カウンタ362のカウント値は、CPU131の出力信号によってリセットされる。
副カウンタ363は、クロックをカウントする。副カウンタ363のカウント値は、検出信号feによってリセットされる。
The main counter 362 counts each time the falling edge of the output signal of the voltage monitor 133 is detected, that is, each time the detection signal fe is input. The count value of the main counter 362 is reset by the output signal of the CPU 131.
The sub counter 363 counts clocks. The count value of the sub counter 363 is reset by the detection signal fe.

第1カウントキャプチャ364は、電圧モニタ133の出力信号の立ち上がりエッジすなわち検出信号reが入力されるタイミングで、副カウンタ363のカウント値を取得し、保持する。
第2カウントキャプチャ365は、電圧モニタ133の出力信号の立ち下がりエッジすなわち検出信号feが入力されるタイミングで、副カウンタ363のカウント値を取得し、保持する。
The first count capture 364 acquires and holds the count value of the sub counter 363 at the rising edge of the output signal of the voltage monitor 133, that is, at the timing when the detection signal re is input.
The second count capture 365 acquires and holds the count value of the sub counter 363 at the timing when the falling edge of the output signal of the voltage monitor 133, that is, the detection signal fe is input.

割り込み生成回路366は、例えば、電圧モニタ133の出力信号の立ち下がりエッジが検出される毎、すなわち検出信号feが入力される毎に、CPU131に対して割り込み信号を出力する。さらに、割り込み生成回路366は、主カウンタ362及び副カウンタ363のカウント値が所定の値になった場合に、CPU131に対して割り込み信号を出力してもよい。 The interrupt generation circuit 366 outputs an interrupt signal to the CPU 131, for example, each time the falling edge of the output signal of the voltage monitor 133 is detected, that is, each time the detection signal fe is input. Furthermore, the interrupt generation circuit 366 may output an interrupt signal to the CPU 131 when the count values of the main counter 362 and the sub counter 363 reach a predetermined value.

CPU131は、割り込み生成回路366が電圧モニタ133の出力信号の立ち下がりエッジで出力した割り込み信号に応じて、第1カウントキャプチャ364が保持する値と第2カウントキャプチャ365が保持する値とを取得する。そして、両者の差から電圧モニタ133の出力信号(すなわち照射光IL)のパルス幅を算出する。算出したパルス幅が基準値よりも大きければ、CPU131は主カウンタ362のカウント値をリセットする。すなわち、CPU131の出力信号は、リセット信号RSTとして主カウンタ362に入力される。 The CPU 131 acquires the value held by the first count capture 364 and the value held by the second count capture 365 in accordance with the interrupt signal output by the interrupt generation circuit 366 at the falling edge of the output signal of the voltage monitor 133. .. Then, the pulse width of the output signal of the voltage monitor 133 (that is, the irradiation light IL) is calculated from the difference between the two. If the calculated pulse width is larger than the reference value, the CPU 131 resets the count value of the main counter 362. That is, the output signal of the CPU 131 is input to the main counter 362 as the reset signal RST.

<タイマ236の動作>
次に、図7を参照して、タイマ236の動作について説明する。図7は、タイマ236の動作を示すタイミングチャートである。図7の上から順に、主カウンタ362のカウント値、副カウンタ363のカウント値、第1カウントキャプチャ364が保持する値、第2カウントキャプチャ365が保持する値、電圧モニタ133の出力信号、割り込み生成回路366の出力信号(割り込み信号)を示している。
<Operation of timer 236>
Next, the operation of the timer 236 will be described with reference to FIG. FIG. 7 is a timing chart showing the operation of the timer 236. From the top of FIG. 7, the count value of the main counter 362, the count value of the sub counter 363, the value held by the first count capture 364, the value held by the second count capture 365, the output signal of the voltage monitor 133, and the interrupt generation. The output signal (interrupt signal) of the circuit 366 is shown.

図7に示すように、主カウンタ362のカウント値は、電圧モニタ133の出力信号の立ち下がりエッジ毎にカウントされる。図7では、電圧モニタ133の出力信号の立ち下がりエッジにおいて、NからN+1にカウントアップされている。
副カウンタ363のカウント値は、クロック毎にカウントされ、電圧モニタ133の出力信号の立ち下がりエッジにおいて、リセットされる。図7では、電圧モニタ133の出力信号の立ち下がりエッジにおいて、Lから0にリセットされている。
As shown in FIG. 7, the count value of the main counter 362 is counted at each falling edge of the output signal of the voltage monitor 133. In FIG. 7, the output signal of the voltage monitor 133 is counted up from N to N+1 at the falling edge.
The count value of the sub-counter 363 is counted every clock and reset at the falling edge of the output signal of the voltage monitor 133. In FIG. 7, L is reset to 0 at the falling edge of the output signal of the voltage monitor 133.

第1カウントキャプチャ364は、電圧モニタ133の出力信号の立ち上がりエッジで、副カウンタ363のカウント値を取得し、保持する。図7では、電圧モニタ133の出力信号の立ち上がりエッジで、副カウンタ363のカウント値Mを取得し、保持する。なお、図7では、第1カウントキャプチャ364は、カウント値Mを取得するまで、カウント値M’を保持していたものとする。 The first count capture 364 acquires and holds the count value of the sub counter 363 at the rising edge of the output signal of the voltage monitor 133. In FIG. 7, the count value M of the sub counter 363 is acquired and held at the rising edge of the output signal of the voltage monitor 133. Note that, in FIG. 7, the first count capture 364 is assumed to hold the count value M′ until the count value M is acquired.

第2カウントキャプチャ365は、電圧モニタ133の出力信号の立ち下がりエッジで、副カウンタ363のカウント値を取得し、保持する。図7では、電圧モニタ133の出力信号の立ち下がりエッジで、副カウンタ363のカウント値Lを取得し、保持する。なお、図7では、第2カウントキャプチャ365は、カウント値Lを取得するまで、カウント値L’を保持していたものとする。 The second count capture 365 acquires and holds the count value of the sub counter 363 at the falling edge of the output signal of the voltage monitor 133. In FIG. 7, the count value L of the sub counter 363 is acquired and held at the falling edge of the output signal of the voltage monitor 133. Note that, in FIG. 7, the second count capture 365 is assumed to hold the count value L′ until the count value L is acquired.

割り込み生成回路366は、電圧モニタ133の出力信号の立ち下がりエッジで、割り込み信号を出力する。
電圧モニタ133の出力信号の立ち下がりエッジで、第1カウントキャプチャ364が保持する値Mと第2カウントキャプチャ365が取得する値Lとの差(L−M)が電圧モニタ133の出力信号(すなわち照射光IL)のパルス幅に相当する。
The interrupt generation circuit 366 outputs an interrupt signal at the falling edge of the output signal of the voltage monitor 133.
At the falling edge of the output signal of the voltage monitor 133, the difference (LM) between the value M held by the first count capture 364 and the value L acquired by the second count capture 365 is the output signal of the voltage monitor 133 (that is, It corresponds to the pulse width of the irradiation light IL).

<CPU131の割り込み処理動作>
次に、図8を参照して、電圧モニタ133の出力信号の立ち下がりエッジでの割り込み信号に応じたCPU131の割り込み処理動作について説明する。図8は、電圧モニタ133の出力信号の立ち下がりエッジでの割り込み信号に応じたCPU131の割り込み処理動作を示すフローチャートである。図8の説明においては、図5〜図7も適宜参照する。
<Interrupt processing operation of CPU 131>
Next, the interrupt processing operation of the CPU 131 according to the interrupt signal at the falling edge of the output signal of the voltage monitor 133 will be described with reference to FIG. FIG. 8 is a flowchart showing the interrupt processing operation of the CPU 131 in response to the interrupt signal at the falling edge of the output signal of the voltage monitor 133. In the description of FIG. 8, FIGS. 5 to 7 are also referred to as appropriate.

まず、電圧モニタ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 generation circuit 366 is received at the falling edge of the output signal of the voltage monitor 133 (step ST1), the CPU 131 performs interrupt processing. Although not limited in any way, for example, as shown in FIG. 5, the CPU 131 may acquire the time from the timer 236 and the data from the sensor 14 via the input/output port 137. That is, the CPU 131 may acquire the data of the sensor 14 and the time in association with each other, and record them in the memory 132, for example. Here, the time of the timer 236 is the value of the main counter 362 and the sub counter 363 shown in FIG.
In addition, if the data acquired from the sensor 14 and the time indicated by the values of the main counter and the sub-counter are set as a set, the CPU 131 may acquire the data from the sensor 14 randomly at an arbitrary time instead of periodically. Good.
At the same time, as shown in FIG. 6, the CPU 131 acquires the value A held by the first count capture 364 and the value B held by the second count capture 365 (step ST2).

次に、電圧モニタ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 CPU 131 resets the count value of the main counter 362 (step ST4). After that, the interrupt is cleared (step ST5).

他方、差(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 CPU 131 clears the interrupt without resetting the count value of the main counter 362 (step ST5). Therefore, the count value of the main counter 362 is incremented.

なお、記録されたセンサ14のデータと時刻は、主カウンタ、副カウンタの値で示される時間に、入出力ポート137及び無線送信回路15を介して無線受信装置40に送信される。所定の時間は、センサ端末10毎に割り振られている。 The recorded data of the sensor 14 and the time are transmitted to the wireless reception device 40 via the input/output port 137 and the wireless transmission circuit 15 at the times indicated by the values of the main counter and the sub counter. The predetermined time is assigned to each sensor terminal 10.

図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 main counter 362 is reset at the falling edge of the pulse having a large width. Although not shown in FIG. 9, as described above, the count value of the sub-counter 363 is reset at the falling edges of all the pulses.

例えば、センサ端末システムにおけるセンサ端末10の数が多い場合、周期T毎にセンサ14からデータを取得してサーバ30へ送信すると、データが通信競合する虞がある。その場合、周期2Tや周期3Tなどの周期でパルス幅を大きくし、その周期毎にセンサ端末10からサーバ30へデータをまとめて送信することによって通信競合を抑制することができる。 For example, when the number of sensor terminals 10 in the sensor terminal system is large, if data is acquired from the sensor 14 and transmitted to the server 30 in each cycle T, there is a risk of data communication competition. In that case, it is possible to suppress the communication conflict by increasing the pulse width in a cycle such as the cycle 2T or the cycle 3T and collectively transmitting the data from the sensor terminal 10 to the server 30 in each cycle.

図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 sensor 14 are transmitted at one time, but since the respective data are set together with the time, it is possible to distinguish between the two.

(その他の実施の形態)
次に、図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 sensor terminal 10 shown in FIG. 10, the primary battery 17 is connected to the output of the power supply circuit 12 via the diode element 16 with respect to the sensor terminal 10 shown in FIG. Specifically, the cathode of the diode element 16 is connected to the output of the power supply circuit 12. The positive electrode of the primary battery 17 is connected to the anode of the diode element 16, and the negative electrode of the primary battery 17 is grounded. Other configurations are similar to those of the first embodiment.

通常、光電池11による発電が充分であり、ダイオード素子16のカソード側の電圧の方がダイオード素子16のアノード側の電圧(すなわち一次電池17の電圧)よりも高くなる。そのため、センサ端末10が動作するための電力は、電源回路12を介して光電池11から供給される。他方、何らかの原因によって、光電池11による発電が不足した場合、図10に示したセンサ端末10では、ダイオード素子16を介して一次電池17からも電力を補うことができる。 Usually, the photovoltaic cell 11 produces sufficient power, and the voltage on the cathode side of the diode element 16 is higher than the voltage on the anode side of the diode element 16 (that is, the voltage of the primary battery 17). Therefore, the electric power for operating the sensor terminal 10 is supplied from the photovoltaic cell 11 via the power supply circuit 12. On the other hand, when the power generation by the photovoltaic cell 11 is insufficient for some reason, the sensor terminal 10 shown in FIG. 10 can supplement the power from the primary battery 17 via the diode element 16.

また、図2に示したセンサ端末10では、周期的かつ所定のパルス幅で強度が高くなる照射光ILが照射されている。これに対し、図10に示したセンサ端末10では、周期的かつ所定のパルス幅で強度が低くなる照射光ILを照射することができる。光強度が低くなる区間(パルス幅に相当する区間)において、一次電池17から電力を補うことができる。
なお、図10に示したセンサ端末10を第2の実施の形態と組み合わせてもよい。
Further, the sensor terminal 10 shown in FIG. 2 is irradiated with the irradiation light IL whose intensity increases periodically and with a predetermined pulse width. On the other hand, in the sensor terminal 10 shown in FIG. 10, it is possible to irradiate the irradiation light IL whose intensity decreases periodically and with a predetermined pulse width. In the section where the light intensity is low (section corresponding to the pulse width), the power can be supplemented from the primary battery 17.
The sensor terminal 10 shown in FIG. 10 may be combined with the second embodiment.

図11に示したセンサ端末10では、図2に示したセンサ端末10に対して、電源回路12とグランドとの間に、大容量のコンデンサ18が接続されている。電源回路12は、コンデンサ18に余剰の電力を充電することができる。電圧モニタ133は、コンデンサ18の電圧も監視する。端末制御回路13は、コンデンサ18の電圧に基づいて、コンデンサ18の充電量が飽和しているか否か判断することができる。その他の構成は第1の実施の形態と同様である。 In the sensor terminal 10 shown in FIG. 11, a large-capacity capacitor 18 is connected between the power supply circuit 12 and the ground in the sensor terminal 10 shown in FIG. The power supply circuit 12 can charge the capacitor 18 with excess power. The voltage monitor 133 also monitors the voltage of the capacitor 18. The terminal control circuit 13 can determine whether the charge amount of the capacitor 18 is saturated based on the voltage of the capacitor 18. Other configurations are similar to those of the first embodiment.

端末制御回路13は、コンデンサ18の電圧が飽和していない場合、センサ端末10での消費電力を、光電池11による発電電力よりも小さくすることによって、余剰電力をコンデンサ18に充電する。充電中にコンデンサ18に流れる電流も、光電池11の負荷電流となる。そのため、端末制御回路13は、端末制御回路13の消費電力とコンデンサ18の充電電流とを制御し、光電池11の負荷電流を一定範囲にすることで、照度による電圧変化を検出できるようにする。 When the voltage of the capacitor 18 is not saturated, the terminal control circuit 13 charges the capacitor 18 with surplus power by making the power consumption of the sensor terminal 10 smaller than the power generated by the photovoltaic cell 11. The current flowing through the capacitor 18 during charging also becomes the load current of the photovoltaic cell 11. Therefore, the terminal control circuit 13 controls the power consumption of the terminal control circuit 13 and the charging current of the capacitor 18 to keep the load current of the photocell 11 within a certain range so that the voltage change due to the illuminance can be detected.

他方、コンデンサ18の電圧が飽和している場合、コンデンサ18の充電電流がないため、端末制御回路13は、第1の実施の形態と同様に光電池11の負荷電流を制御する。そのため、詳細な説明は省略する。 On the other hand, when the voltage of the capacitor 18 is saturated, there is no charging current for the capacitor 18, so the terminal control circuit 13 controls the load current of the photovoltaic cell 11 as in the first embodiment. Therefore, detailed description is omitted.

また、図2に示したセンサ端末10では、周期的かつ所定のパルス幅で強度が高くなる照射光ILが照射されている。これに対し、図11に示したセンサ端末10では、周期的かつ所定のパルス幅で強度が低くなる照射光ILを照射することができる。光強度が低くなる区間(パルス幅に相当する区間)では、不足する電力をコンデンサ18に充電された電力によって補うことができる。
なお、図11に示したセンサ端末10を第2の実施の形態と組み合わせてもよい。
Further, the sensor terminal 10 shown in FIG. 2 is irradiated with the irradiation light IL whose intensity increases periodically and with a predetermined pulse width. On the other hand, in the sensor terminal 10 shown in FIG. 11, it is possible to irradiate the irradiation light IL whose intensity decreases periodically and with a predetermined pulse width. In the section where the light intensity is low (the section corresponding to the pulse width), the insufficient power can be supplemented by the power charged in the capacitor 18.
The sensor terminal 10 shown in FIG. 11 may be combined with the second embodiment.

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は既に述べた実施の形態に限定されるものではなく、その要旨を逸脱しない範囲において種々の変更が可能であることはいうまでもない。 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 Sensor Terminal 11 Photovoltaic 12 Power Supply Circuit 13 Terminal Control Circuit 14 Sensor 15 Wireless Transmission Circuit 16 Diode Element 17 Primary Battery 18 Capacitor 20 Lighting Equipment 30 Server 40 Wireless Reception Device 131 CPU
132 memory 133 voltage monitor 134 oscillator circuit 135 clock generation circuit 136, 236 timer 137 input/output port 361 edge detection circuit 362 main counter 363 sub-counter 364 first count capture 365 second count capture 366 interrupt generation circuit IB internal bus IL irradiation light

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.
JP2018247442A 2018-12-28 2018-12-28 Sensor terminal, sensor terminal system, and control method of the same Pending JP2020107214A (en)

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)

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