JP2011027492A - Electronic equipment, determination method, and program - Google Patents

Electronic equipment, determination method, and program Download PDF

Info

Publication number
JP2011027492A
JP2011027492A JP2009171959A JP2009171959A JP2011027492A JP 2011027492 A JP2011027492 A JP 2011027492A JP 2009171959 A JP2009171959 A JP 2009171959A JP 2009171959 A JP2009171959 A JP 2009171959A JP 2011027492 A JP2011027492 A JP 2011027492A
Authority
JP
Japan
Prior art keywords
illuminance
temperature
time
outdoor
indoor
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
JP2009171959A
Other languages
Japanese (ja)
Inventor
Takuya Ogura
卓也 小倉
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.)
JVCKenwood Holdings Inc
Original Assignee
JVCKenwood Holdings Inc
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 JVCKenwood Holdings Inc filed Critical JVCKenwood Holdings Inc
Priority to JP2009171959A priority Critical patent/JP2011027492A/en
Publication of JP2011027492A publication Critical patent/JP2011027492A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide electronic equipment determining that a current position is located indoors or outdoors, more accurately, and also to provide a determination method and a program. <P>SOLUTION: The electronic equipment has: a temperature detection section 4 for detecting ambient temperature; a timepiece function section 2 for clocking or acquiring the date and time or time; an illuminance detection section 3 for detecting ambient illuminance; a storage section 6 including a database for relating at least one of illuminance and temperature, the date and time or time, and criteria for determining whether a current position is located indoors or outdoors; and a control section 5 for determining whether a current position is located indoors or outdoors by obtaining temperature, time, and illuminance from the temperature detection section 4, the time acquisition section 2, and the illuminance detection section 3 for comparing with the database. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、電子機器、判断方法およびプログラムに関する。   The present invention relates to an electronic device, a determination method, and a program.

従来より、現在位置が屋内かあるいは屋外かを判断するためには、人工衛星を利用した測位システムとしてGPS(Global Positioning System)が用いられている。GPSを利用すると、GPS受信機の現在位置を算出できると共に、GPS衛星に搭載されている高精度の原子時計にGPS受信機の時計を同期させることができる。そのため、GPSは、本来の位置算出用途の他に、時計の時刻補正の用途にも用いられている。   Conventionally, in order to determine whether the current position is indoor or outdoor, a GPS (Global Positioning System) is used as a positioning system using an artificial satellite. When GPS is used, the current position of the GPS receiver can be calculated and the clock of the GPS receiver can be synchronized with a high-accuracy atomic clock mounted on the GPS satellite. Therefore, the GPS is used not only for the original position calculation but also for the time correction of the clock.

また、GPSだけではなく、紫外線センサにより得られる紫外線量、あるいは、照度センサにより得られる照度値も用いて昼夜の判断を行うことがある。   In addition, not only GPS but also the amount of ultraviolet rays obtained by an ultraviolet sensor or the illuminance value obtained by an illuminance sensor may be used for day / night determination.

特開2007−080824(たとえば、請求項1等)JP 2007-080824 (for example, claim 1)

しかしながら、屋内やトンネル内など、GPS受信機が人工衛星からの電波を受信できない環境では、紫外線センサと照度センサの2つで屋内屋外判断を行わなくてはならないが、現状の判断結果が不正確であるという問題がある。   However, in an environment where the GPS receiver cannot receive radio waves from an artificial satellite, such as indoors or in tunnels, it is necessary to make an indoor / outdoor judgment using an ultraviolet sensor and an illuminance sensor, but the current judgment results are inaccurate. There is a problem that.

特に、紫外線センサが測定する紫外線の大部分は、波長が400〜315nmのUVAであり、ガラスを透過可能である。したがって、屋内であっても、窓際のような紫外線が入り込みやすい部位においては、屋外並みの紫外線量が測定されることがある。すなわち、紫外線センサと照度センサとだけで屋内屋外判断を行う場合には、その判断結果が不正確になる。   In particular, most of the ultraviolet rays measured by the ultraviolet sensor is UVA having a wavelength of 400 to 315 nm and can be transmitted through glass. Therefore, even in an indoor area, the amount of ultraviolet rays that is comparable to that of the outdoors may be measured at a site where ultraviolet rays are likely to enter, such as near a window. That is, when the indoor / outdoor determination is performed only with the ultraviolet sensor and the illuminance sensor, the determination result becomes inaccurate.

そこで、本発明は、より正確に現在位置が屋内あるいは屋外であることを判断できる電子機器、判断方法およびプログラムを提供することを目的とする。   Accordingly, an object of the present invention is to provide an electronic device, a determination method, and a program that can determine whether the current position is indoors or outdoors more accurately.

上記課題を解決するために、本発明の電子機器の第1の側面は、周囲の温度を検出する温度検出部と、日時または時刻を計時または取得する時計機能部と、周囲の照度を検出する照度検出部と、照度と温度のうちの少なくとも1つと、日時または時刻と、屋内かまたは屋外かを判断する判断基準とを関連付けたデータベースを有する記憶部と、温度検出部、時刻取得部および照度検出部から温度、時刻、照度を得て、データベースとを照合して屋内であるか屋外であるかを判断する制御部と、を有するものである。   In order to solve the above problems, a first aspect of an electronic device according to the present invention includes a temperature detection unit that detects an ambient temperature, a clock function unit that measures or obtains date and time, and an ambient illuminance. An illuminance detection unit, a storage unit having a database associating at least one of illuminance and temperature, date and time, and a criterion for determining whether indoor or outdoor, a temperature detection unit, a time acquisition unit, and illuminance And a control unit that obtains temperature, time, and illuminance from the detection unit, and collates with a database to determine whether it is indoor or outdoor.

また、本発明の電子機器の他の側面は、上述の発明において、データベースは、季節または月または月日と、時間帯とが、温度および照度と関連付けられていて、季節または月または月日と、時間帯とによって、屋内か屋外かを判断する判断基準が異なることが好ましい。   Further, according to another aspect of the electronic apparatus of the present invention, in the above-described invention, the database includes a season, a month, or a month, and a time zone associated with a temperature and illuminance. Depending on the time zone, it is preferable that the judgment criteria for judging whether indoor or outdoor are different.

さらに、本発明の電子機器の他の側面は、上述の発明において、制御部は、屋内かまたは屋外であるのかを判断する判断基準として、温度閾値と照度閾値とを用いることが好ましい。   Furthermore, in another aspect of the electronic device according to the present invention, in the above-described invention, it is preferable that the control unit uses a temperature threshold and an illuminance threshold as a determination criterion for determining whether the control unit is indoor or outdoor.

また、本発明の電子機器の他の側面は、上述の発明において、制御部は、所定の時間以上、屋内の照度値よりも低い閾値である判定不能閾値を下回る照度値が得られた場合には、屋内であるか屋外であるかを判断しないことが好ましい。   Another aspect of the electronic device according to the present invention is that, in the above-described invention, the control unit obtains an illuminance value lower than an indeterminate threshold value that is a threshold value lower than the indoor illuminance value for a predetermined time or more. It is preferable not to judge whether it is indoor or outdoor.

さらに、本発明の電子機器の他の側面は、上述の発明において、現在の位置情報を取得可能な現在位置検出手段を備え、当該現在位置検出手段からの現在の位置情報が制御部に入力されると共に、制御部は、現在位置検出手段からの位置情報が得られるか否かに応じて、屋内か屋外かを判断する処理か、または乗車可能な移動体内か屋外かを判断する処理のいずれかを行うことが好ましい。   Furthermore, in another aspect of the electronic device of the present invention, in the above-described invention, the electronic device includes a current position detection unit capable of acquiring current position information, and the current position information from the current position detection unit is input to the control unit. In addition, the control unit determines whether the position information is obtained from the current position detection means, whether it is indoor or outdoor, or whether it is a movable body that can be boarded or outdoor. It is preferable to do this.

また、本発明の判断方法は、周囲の温度を検出する温度検出ステップと、日時または時刻を計時または取得する時刻取得ステップと、周囲の照度を検出する照度検出ステップと、温度検出ステップ、時刻取得ステップおよび照度検出ステップで得られた温度、時刻、照度と、これらの情報から屋内か屋外かを判断すると共にデータベースに記憶されている判断基準とから、屋内であるか屋外であるかを判断する屋内外判断ステップと、を有することが好ましい。   The determination method of the present invention includes a temperature detection step for detecting an ambient temperature, a time acquisition step for measuring or acquiring date and time, an illuminance detection step for detecting ambient illuminance, a temperature detection step, and a time acquisition. It is judged whether it is indoor or outdoor from the temperature, time, illuminance obtained in the step and the illuminance detection step, and whether it is indoor or outdoor from these information and the judgment criteria stored in the database. And an indoor / outdoor determination step.

さらに、本発明のプログラムは、コンピュータにインストールされることにより、当該コンピュータを、上述の各発明に係る制御部として機能させることが好ましい。   Furthermore, it is preferable that the program of the present invention is installed in a computer so that the computer functions as the control unit according to each of the above-described inventions.

本発明は、より正確に現在位置が屋内あるいは屋外であることを判断できる判断方法およびその方法を用いた装置を提供できる。   INDUSTRIAL APPLICABILITY The present invention can provide a determination method that can determine whether the current position is indoor or outdoor more accurately and an apparatus using the method.

本発明の第1の実施の形態に係る電子機器の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic device which concerns on the 1st Embodiment of this invention. 図1の電子機器の動作を説明するためのフローチャートである。3 is a flowchart for explaining the operation of the electronic apparatus of FIG. 1. 図1の電子機器が測定する照度値および温度値の変化の一例(冬季のもの)を示すグラフである。It is a graph which shows an example (thing in winter) of the change of the illuminance value and temperature value which the electronic device of FIG. 1 measures. 図3の温度および照度値をテーブル化したものを示す図である。It is a figure which shows what tabulated the temperature and illuminance value of FIG. 図1の電子機器が測定する照度値および温度値の変化の別の一例(夏季のもの)を示すグラフである。It is a graph which shows another example (thing of a summer) of the change of the illumination intensity value and temperature value which the electronic device of FIG. 1 measures. 図5の温度および照度値をテーブル化したものを示す図である。It is a figure which shows what tabulated the temperature and illuminance value of FIG. 図1の電子機器が測定する照度値および温度値の変化の別の一例(窓際か屋外か)を示すグラフである。It is a graph which shows another example (whether it is a window side or the outdoors) of the change of the illumination intensity value and temperature value which the electronic device of FIG. 1 measures. 図7の温度および照度値をテーブル化したものを示す図である。It is a figure which shows what tabulated the temperature and illuminance value of FIG. 図1の電子機器が屋内において測定する照度値および温度値と、天候の違いとの関係を示すグラフである。It is a graph which shows the relationship between the illumination value and temperature value which the electronic device of FIG. 1 measures indoors, and the difference in weather. 図9の温度および照度値をテーブル化したものを示す図である。FIG. 10 is a table showing the temperature and illuminance values in FIG. 9. 図1の電子機器が屋外において測定する照度値および温度値と、天候の違いとの関係を示すグラフである。It is a graph which shows the relationship between the illumination value and temperature value which the electronic device of FIG. 1 measures outdoors, and the difference in weather. 図11の温度および照度値をテーブル化したものを示す図である。It is a figure which shows what tabulated the temperature and illuminance value of FIG. 図1の電子機器が屋内と屋外(日陰)においてそれぞれ測定する照度値を示すグラフである。It is a graph which shows the illuminance value which the electronic device of FIG. 1 measures each indoors and outdoors (in the shade). 図13の照度値をテーブル化したものを示す図である。It is a figure which shows what tabulated the illuminance value of FIG. 図1の電子機器が屋内であるか屋外であるかの判断を行う場合の、例外的なケースにおける照度値と温度値とを示すグラフである。It is a graph which shows the illuminance value and temperature value in an exceptional case when determining whether the electronic device of FIG. 1 is indoor or outdoor. 図15の温度および照度値をテーブル化したものを示す図である。It is a figure which shows what tabulated the temperature and illuminance value of FIG. 本発明の第2の実施の形態に係る電子機器の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic device which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る電子機器の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the electronic device which concerns on the 2nd Embodiment of this invention.

(第1の実施の形態)
以下、本発明の一実施の形態に係る電子機器1について、図1〜図16を参照しながら説明する。図1は、本発明の1実施の形態に係る電子機器1の構成を説明するブロック図である。
(First embodiment)
Hereinafter, an electronic apparatus 1 according to an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram illustrating a configuration of an electronic device 1 according to an embodiment of the present invention.

<電子機器1の構成について>
電子機器1は、移動体に取り付けられた装置である。電子機器1は、時計機能部2、照度検出部3、温度検出部4、制御部5および記憶部6を主な構成要素としている。時計機能部2、照度検出部3、温度検出部4および記憶部6は、制御部5にそれぞれ接続されている。
<About the configuration of the electronic device 1>
The electronic device 1 is a device attached to a moving body. The electronic device 1 includes a clock function unit 2, an illuminance detection unit 3, a temperature detection unit 4, a control unit 5, and a storage unit 6 as main components. The clock function unit 2, the illuminance detection unit 3, the temperature detection unit 4 and the storage unit 6 are connected to the control unit 5, respectively.

時計機能部2は、時刻取得部に対応し、日時または時刻を計時または取得する部分である。時計機能部2は、日時または時刻を計時または取得できるものであればどのようなものでもよい。たとえば、カレンダー機能を有する装置や、標準電波から時刻を取得して時計機能部2が計時する時刻を補正する機能を備える時計、あるいは、GPS衛星から発信されている時刻情報を時刻として取得するGPS受信機等を備え、時計機能部2が計時する時刻を補正する機能を備えるもの等を採用できる。   The clock function unit 2 corresponds to the time acquisition unit and is a part that measures or acquires the date and time or the time. The clock function unit 2 may be anything as long as it can measure or acquire the date and time. For example, a device having a calendar function, a clock having a function of acquiring time from a standard radio wave and correcting the time measured by the clock function unit 2, or GPS that acquires time information transmitted from a GPS satellite as time A device having a receiver and the like and having a function of correcting the time measured by the clock function unit 2 can be employed.

照度検出部3は、明るさを光束の量により検出するデバイスである。照度検出部3としては、フォトトランジスタを使用したもの、フォトダイオードを使用したもの、およびフォトダイオードにアンプ回路を追加したもの等を用いることができる。電子装置1を使用している状態において、照度検出部3の受光面に光が当たる側に向くように配置されている。   The illuminance detection unit 3 is a device that detects brightness based on the amount of light flux. As the illuminance detection unit 3, one using a phototransistor, one using a photodiode, one having an amplifier circuit added to the photodiode, or the like can be used. In a state where the electronic device 1 is used, the illumination device 3 is disposed so as to face the light receiving surface of the illuminance detection unit 3.

温度検出部4は、温度を検出するデバイスである。温度検出部4は、たとえば、サーミスタで構成され、温度による半導体の特性の変化を利用して、温度検出部4の周囲の温度を検出できる。なお、温度検出部4としては、サーミスタ以外に、熱電対、半導体温度センサー、リニア抵抗器、白金測温抵抗体等を用いるようにしても良い。   The temperature detection unit 4 is a device that detects temperature. The temperature detection unit 4 is formed of, for example, a thermistor, and can detect the temperature around the temperature detection unit 4 by using a change in the characteristics of the semiconductor due to the temperature. In addition to the thermistor, the temperature detector 4 may be a thermocouple, a semiconductor temperature sensor, a linear resistor, a platinum resistance thermometer, or the like.

制御部5は、各入力信号および出力信号の処理を行う。また、制御部5は、電子機器1の制御を行うCPU(Central Processing Unit)、RAM(Random Access Memory)、およびROM(Read Only Memory)等を備えていることが好ましい。RAMは、CPUからの制御指令に基づいて、情報を一時的に記憶する、あるいはCPUのワークメモリとして使用される。ROMは、CPUが各部を制御するための制御プログラムおよび各定数が記憶されている。CPUは、ROMに記憶されている制御プログラムを読み出して、実行することにより作動する。   The control unit 5 processes each input signal and output signal. The control unit 5 preferably includes a central processing unit (CPU), a random access memory (RAM), a read only memory (ROM), and the like that control the electronic device 1. The RAM temporarily stores information based on a control command from the CPU, or is used as a work memory for the CPU. The ROM stores a control program and each constant for the CPU to control each unit. The CPU operates by reading and executing a control program stored in the ROM.

記憶部6は、各種情報、データまたはプログラム等のいずれか1つあるいは複数を記憶しておく部分であり、HDD(Hard Disk Drive)、フラッシュメモリ等の読み書き可能な不揮発性メモリ、ROMおよびRAM等の中から1つあるいは複数を採用できる。記憶部6は、制御部5が各部を制御するための制御プログラムおよび各定数を記憶したり、各種デバイスとの通信情報を一時的に記憶したりできる。また、制御部5が判断するために、後述の屋内屋外を判断するための後述するような情報および後述する図2に示すような判断フローを実行するためのプログラムが格納されている。   The storage unit 6 is a part that stores one or more of various information, data, programs, and the like, and is a readable / writable nonvolatile memory such as an HDD (Hard Disk Drive) or a flash memory, a ROM, a RAM, or the like One or a plurality can be adopted. The storage unit 6 can store a control program and constants for the control unit 5 to control each unit, and can temporarily store communication information with various devices. In addition, in order for the control unit 5 to make a determination, information to be described later for determining indoors and outdoors, which will be described later, and a program for executing a determination flow as illustrated in FIG. 2 to be described later are stored.

また、記憶部6には、後述するような屋内・屋外を判断するための判断基準となるデータベースが記憶されている。この判断基準は、後述するように、温度閾値および/または照度閾値であり、それらが後述するような各種のバリエーションにて、時刻および/または日時等と関連付けられて、記憶されている。   In addition, the storage unit 6 stores a database serving as a determination criterion for determining indoor / outdoor as described later. As will be described later, this criterion is a temperature threshold value and / or an illuminance threshold value, and these are stored in association with time and / or date and time in various variations as will be described later.

<屋内・屋外の判定をするための処理フローについて>
次に、第1の実施の形態の電子機器1における、屋内・屋外の判定をするための処理フローについて説明する。図2は、屋内・屋外の判定を説明するためのフローチャートである。
<Processing flow for indoor / outdoor judgment>
Next, a processing flow for determining indoor / outdoor in the electronic apparatus 1 according to the first embodiment will be described. FIG. 2 is a flowchart for explaining indoor / outdoor determination.

まず、温度検出部4により温度を検出する(ステップS101;温度検出ステップ)。制御部5は、検出された温度の情報を記憶部6に記憶する。さらに、時計機能部2により、現在の日時を取得する(ステップS102;時刻取得ステップ)。制御部5は、取得された時刻の情報を記憶部6に記憶させる。また、照度検出部3により、照度値を取得する(ステップS103;照度検出ステップ)。制御部5は、検出された照度値の情報を記憶部6に記憶させる。なお、ステップS101〜S103は、同時あるいは順序が前後していてもよい。   First, the temperature is detected by the temperature detector 4 (step S101; temperature detection step). The control unit 5 stores the detected temperature information in the storage unit 6. Further, the clock function unit 2 acquires the current date and time (step S102; time acquisition step). The control unit 5 causes the storage unit 6 to store the acquired time information. Moreover, the illuminance value is acquired by the illuminance detection unit 3 (step S103; illuminance detection step). The control unit 5 causes the storage unit 6 to store information on the detected illuminance value. Note that steps S101 to S103 may be performed simultaneously or sequentially.

次に、制御部5は、得られた日時、照度値および温度と、データベースの内容を照合する(S104)。なお、このS104における判定の基準(データベースの内容)については、後述する。続いて、S104において、判定結果が得られたか否かを判断する(ステップS105)。判定結果が得られた場合、すなわちステップS105においてYesの場合には、その判定結果が屋内であるか否かを判断する(ステップS106;屋内外判断ステップ)。一方、ステップS104において判定結果が得られなかった場合、すなわちステップS105において「No」の場合には、制御部5は、屋内であるか屋外であるかの判定ができなかった(未確定;S107)と決定して終了する。   Next, the control unit 5 collates the obtained date and time, illuminance value, and temperature with the contents of the database (S104). The criteria for determination (contents of the database) in S104 will be described later. Subsequently, in S104, it is determined whether a determination result has been obtained (step S105). If the determination result is obtained, that is, if Yes in step S105, it is determined whether the determination result is indoor (step S106; indoor / outdoor determination step). On the other hand, when the determination result is not obtained in step S104, that is, in the case of “No” in step S105, the control unit 5 cannot determine whether it is indoor or outdoor (unconfirmed; S107). ) And finish.

なお、ステップS106において、屋内であると決定されると(S108)、その旨の情報が記憶部6へ書き込まれ、また、屋内である場合の制御部5での特有の処理が為され、図2の処理フローが終了する。一方、ステップS106において、屋外であると決定されると(S109)、その旨の情報が記憶部6へ書き込まれ、また、屋外である場合の制御部5での特有の処理が為され、図2の処理フローが終了する。   If it is determined in step S106 that it is indoors (S108), information to that effect is written to the storage unit 6, and a specific process is performed in the control unit 5 when it is indoors. The processing flow of 2 ends. On the other hand, if it is determined in step S106 that the vehicle is outdoors (S109), information to that effect is written to the storage unit 6, and a specific process is performed in the control unit 5 when the vehicle is outdoors. The processing flow of 2 ends.

<屋内/屋外の判定の基準について>
次に、ステップS104の判定の基準について図3〜図8を参照して説明する。図3は、12月1日に、電子機器1が時刻、照度および温度を取得した場合に、その時刻と、照度値および温度との関係を示すグラフである。
<About the criteria for indoor / outdoor judgment>
Next, the criteria for determination in step S104 will be described with reference to FIGS. FIG. 3 is a graph showing the relationship between the time, the illuminance value, and the temperature when the electronic device 1 acquires the time, illuminance, and temperature on December 1.

図3のAで示す領域、およびCで示す領域は、朝の9時から夕方の17時までの日中時間帯のうちの一部であるが、その中で温度は、所定の温度よりも低いが、その照度値は、ある所定の照度値よりも高い状態となっている。領域Aおよび領域Cのような状態が検出される場合、屋外と判断するものとする。なぜなら、朝の9時から夕方の17時までの間は、日照時間であるため、屋外では、照度値が大きい。一方、12月1日のような冬季においては、室内は暖房を使用するため、屋外よりも暖かい。また、室内の場合には、照度値は、ある所定の照度値よりも低い。そのため、図3のBで示す領域Bの状態、および領域Dの状態が検出される場合、屋内と判断するものとする。   The area indicated by A in FIG. 3 and the area indicated by C are part of the daytime period from 9:00 in the morning to 17:00 in the evening, but the temperature is higher than the predetermined temperature. Although it is low, the illuminance value is higher than a certain predetermined illuminance value. When a state such as the region A and the region C is detected, it is determined that it is outdoors. This is because the daylight hours are from 9:00 in the morning to 17:00 in the evening, so the illuminance value is large outdoors. On the other hand, in the winter season such as December 1, the room is warmer than the outside because it uses heating. In the case of indoors, the illuminance value is lower than a certain predetermined illuminance value. Therefore, when the state of the area B shown by B in FIG. 3 and the state of the area D are detected, it is determined to be indoor.

一方、夕方の17時を過ぎた夜間時間帯では、照度値は大幅に低くなり、屋内と屋外とで大差がないことが多い。この場合には、温度に基づいてのみ、判断される。すなわち、図3のEで示す領域は、所定の温度よりも高いため、そのような状態が検出されると、屋内であると判断する。一方、図3のFで示す領域は、所定の温度よりも低いため、そのような状態が検出されると、屋外であると判断する。   On the other hand, in the evening time zone after 17:00 in the evening, the illuminance value is significantly low, and there is often no significant difference between indoors and outdoors. In this case, the determination is made only based on the temperature. That is, since the region indicated by E in FIG. 3 is higher than the predetermined temperature, when such a state is detected, it is determined to be indoor. On the other hand, since the region indicated by F in FIG. 3 is lower than the predetermined temperature, if such a state is detected, it is determined that it is outdoors.

以上のような判断を行うためには、たとえば、電子機器1が使用される地域を設定し、その使用される地域に適した温度閾値および照度閾値を用いるようにすることが好ましい。すなわち、そのような温度閾値および照度閾値に関するデータベースが、記憶部6に存在する構成とすることが好ましい。ここで、冬季用の照度閾値、冬季用の温度閾値を、それぞれの時間毎に設け、これらの照度閾値と温度閾値とを用いて判定するようにすれば良い。また、照度閾値は、日中時間帯のみ用いるようにして、夜間時間帯になると用いないようにすれば良い。しかしながら、夜間時間帯においても、照度閾値を用いるようにしても良い。たとえば、屋内では、夜においては、照明を用いるため、照度値は屋外よりも屋内の方が大きくなることが多い。そのため、夜間時間帯においては、照明を用いるときと用いないときとを識別するための照度閾値を用いて、屋内であるか屋外であるかの判定を行うようにしても良い。   In order to make the above determination, for example, it is preferable to set a region where the electronic device 1 is used and use a temperature threshold and an illuminance threshold suitable for the region where the electronic device 1 is used. That is, it is preferable that a database relating to such temperature threshold and illuminance threshold exists in the storage unit 6. Here, an illuminance threshold value for winter and a temperature threshold value for winter may be provided for each time, and determination may be made using these illuminance threshold value and temperature threshold value. The illuminance threshold value may be used only during the daytime period and not used during the nighttime period. However, the illuminance threshold may be used even in the night time zone. For example, indoors, since illumination is used at night, the illuminance value is often larger indoors than outdoors. For this reason, in the night time zone, it may be determined whether it is indoor or outdoor by using an illuminance threshold value for distinguishing between using and not using illumination.

また、冬季の場合であって、電子機器1が使用される地域が東京である場合には、屋外において所定の温度閾値を上回ることはほとんど考えられない。そのため、たとえば、所定の温度閾値を上回る一方、所定の照度閾値をも上回る場合には、所定の温度閾値のみに基づいて判断を行い、屋内であると判定しても良い。なお、夏季の場合においても、所定の温度閾値を下回る一方、所定の照度閾値をも上回る場合には、所定の温度閾値のみに基づいて判断を行い、屋内であると判定しても良い。   Further, in the winter season, when the area where the electronic device 1 is used is Tokyo, it is almost impossible to exceed a predetermined temperature threshold outdoors. Therefore, for example, when it exceeds a predetermined temperature threshold value and also exceeds a predetermined illuminance threshold value, it may be determined based on only the predetermined temperature threshold value and determined to be indoor. Even in the summer, when the temperature falls below the predetermined temperature threshold but also exceeds the predetermined illuminance threshold, the determination may be made based only on the predetermined temperature threshold to determine indoors.

また、温度閾値および/または照度閾値は、冬季用等の季節ごととはせずに、月ごと、週ごと、日にちごと、または10日ごと等のように、所定の日数ごとに、異なるものとしても良い。   Also, the temperature threshold and / or illuminance threshold is different for every predetermined number of days, such as every month, every week, every day, every ten days, etc. Also good.

なお、図3には、温度閾値の一例と、照度閾値の一例が図示されている。ここで、図3においては、温度閾値と照度閾値が直線的なものが示されている。しかしながら、各時間ごとに屋外の温度は、変化する。また、各時間ごとに屋外の照度値も変化する。そのため、記憶部6に記憶されているデータベースの温度閾値と、照度閾値とは、直線的なものとはせずに、時間によって随時変化するものとしても良い。また、当該電子機器1がGPS受信機を備える場合には、電子機器1が使用される地域の設定は、当該電子機器1のGPS受信機が最後に人工衛星からの電波を受信した際に算出した位置情報に基づく地域としても良い。   FIG. 3 shows an example of the temperature threshold and an example of the illuminance threshold. Here, in FIG. 3, the temperature threshold and the illuminance threshold are linear. However, the outdoor temperature changes every hour. In addition, the outdoor illuminance value changes every time. Therefore, the temperature threshold value and the illuminance threshold value of the database stored in the storage unit 6 may not change linearly, but may change as needed according to time. Further, when the electronic device 1 includes a GPS receiver, the setting of the area where the electronic device 1 is used is calculated when the GPS receiver of the electronic device 1 last receives a radio wave from an artificial satellite. It may be a region based on the location information.

また、記憶部6には、図4のような、各時間ごとの照度値と温度とが記憶させられる。そして、この照度値と温度とから、制御部5は、屋外であるか、屋内であるかの判定を行う。   The storage unit 6 stores an illuminance value and a temperature for each time as shown in FIG. And from this illuminance value and temperature, the control part 5 determines whether it is outdoors or indoors.

続いて、他の判断の例について述べる。図5は、たとえば8月1日に、電子機器1が時刻、照度および温度を取得した場合に、その時刻と、照度値および温度との関係を示すグラフである。また、図6は、図5の温度および照度値を、テーブル化したものである。   Next, another example of determination will be described. FIG. 5 is a graph showing the relationship between the time, the illuminance value, and the temperature when the electronic device 1 acquires the time, illuminance, and temperature on August 1, for example. FIG. 6 is a table of the temperature and illuminance values in FIG.

図5のBで示す領域、およびDで示す領域は、朝の9時から夕方の18時までの日中時間帯のうちの一部であるが、それらの領域における温度は所定の温度(温度閾値)よりも高く、かつそれらの領域における照度値は、ある所定の照度値(照度閾値)よりも高い状態となっている。領域Bおよび領域Dのような状態が検出される場合、屋外と判断するものとする。なぜなら、8月1日のような夏季においては、屋内では冷房を使用するため、屋外の方が屋内よりも温度が高い。一方、朝の9時から夕方の18時までの間は、日照時間であるため、屋外では、照度値が大きい。すなわち、領域Bと領域Dでは、図5の温度閾値および照度閾値を上回っているため、屋外であると判断される。   The area indicated by B and the area indicated by D in FIG. 5 are part of the daytime period from 9:00 in the morning to 18:00 in the evening. The temperature in these areas is a predetermined temperature (temperature The illuminance value in those areas is higher than a certain predetermined illuminance value (illuminance threshold). When a state such as the region B and the region D is detected, it is determined that it is outdoors. This is because, in the summer season such as August 1, since the cooling is used indoors, the outdoor temperature is higher than the indoor temperature. On the other hand, since the daylight hours are from 9:00 in the morning to 18:00 in the evening, the illuminance value is large outdoors. That is, since the region B and the region D exceed the temperature threshold and the illuminance threshold in FIG. 5, they are determined to be outdoors.

また、図5のAで示す領域、およびCで示す領域は、朝の9時から夕方の18時までの日中時間帯のうちの一部であるが、それらの領域における温度は、所定の温度(温度閾値)よりも低く、かつそれらの領域における照度値は、所定の照度値(照度閾値)よりも低い状態となっている。領域Aおよび領域Cのような状態が検出される場合、屋内と判断するものとする。なぜなら、8月1日のような夏季においては、屋内は、冷房を使用するため、屋外よりも温度が低くなる。一方、朝の9時から夕方の18時までの間は、日照時間であるため、屋外では照度値が大きくなるが、屋内では照度値が小さくなる。すなわち、領域Aと領域Cでは、図5の温度閾値および照度閾値を下回っているため、屋内であると判断される。   In addition, the area indicated by A and the area indicated by C in FIG. 5 are a part of the daytime period from 9:00 in the morning to 18:00 in the evening. It is lower than the temperature (temperature threshold), and the illuminance value in those regions is lower than the predetermined illuminance value (illuminance threshold). When a state such as the area A and the area C is detected, it is determined to be indoor. This is because, in the summer season such as August 1, indoors use air-cooling, so the temperature is lower than that outdoors. On the other hand, from 9:00 in the morning to 18:00 in the evening, since it is the daylight hours, the illuminance value increases outdoors, but the illuminance value decreases indoors. That is, since the area A and the area C are below the temperature threshold and the illuminance threshold in FIG. 5, they are determined to be indoors.

一方、夕方の18時を過ぎると、照度値は大幅に低くなり、屋内と屋外とで大差がないことが多い。この場合には、温度に基づいてのみ、判断される。すなわち、図5のEで示す領域は、所定の温度(温度閾値)よりも低いため、そのような状態が検出されると、屋内であると判断する。一方、図3のFで示す領域は、所定の温度(温度閾値)よりも高いため、そのような状態が検出されると、屋外であると判断する。   On the other hand, after 18:00 in the evening, the illuminance value becomes significantly low, and there is often no big difference between indoors and outdoors. In this case, the determination is made only based on the temperature. That is, since an area indicated by E in FIG. 5 is lower than a predetermined temperature (temperature threshold), it is determined that the room is indoor when such a state is detected. On the other hand, since the region indicated by F in FIG. 3 is higher than a predetermined temperature (temperature threshold), when such a state is detected, it is determined that it is outdoors.

また、記憶部6には、図6のような、各時間ごとの照度値と温度とが記憶させられる。そして、この照度値と温度とから、制御部5は、屋外であるか、屋内であるかの判定を行う。   The storage unit 6 stores an illuminance value and a temperature for each time as shown in FIG. And from this illuminance value and temperature, the control part 5 determines whether it is outdoors or indoors.

以上のような判断を行うための、温度閾値および照度閾値についての考え方は、上述の冬季の場合において述べたものと同様であり、その詳細についての説明は省略する。   The way of thinking about the temperature threshold and the illuminance threshold for making the above determination is the same as that described in the case of the above-mentioned winter season, and a detailed description thereof will be omitted.

続いて、屋内の窓際と、屋外とを判断する手法について述べる。図7は、たとえば8月1日に、電子機器1が屋内の窓際と屋外とで時刻、照度および温度を取得した場合に、その時刻と、照度値および温度との関係を示すグラフである。また、図8は、図7の温度および照度値を、テーブル化したものである。   Next, a method for judging the indoor window and the outdoor will be described. FIG. 7 is a graph showing the relationship between the time, the illuminance value, and the temperature when the electronic device 1 acquires the time, illuminance, and temperature on the window side and outdoors on August 1, for example. FIG. 8 is a table of the temperature and illuminance values in FIG.

屋内の窓際と屋外とでは、照度値は、ほぼ同様になる。そのため、照度閾値に基づいて、屋内であるか、または屋外であるかを判断することは困難である。そこで、ある時間帯における温度がどれぐらいであるかによって、屋内の窓際と屋外とを判別する。   The illuminance value is almost the same between the indoor window and the outdoors. Therefore, it is difficult to determine whether indoor or outdoor based on the illuminance threshold. Therefore, the indoor window and the outdoor are discriminated depending on the temperature at a certain time zone.

図7のAで示す領域、Cで示す領域、およびEで示す領域は、いずれも日中時間帯のうちの一部であるが、それらの領域における温度は、所定の温度(温度閾値)よりも低い状態となっている。8月1日のような夏季においては、屋内は、冷房を使用するため、屋外よりも温度が低くなる。すなわち、領域A、領域Cおよび領域Eでは、図7の温度閾値を下回っているため、屋内であると判断される。   The area indicated by A, the area indicated by C, and the area indicated by E in FIG. 7 are all part of the daytime period, but the temperature in these areas is higher than a predetermined temperature (temperature threshold). Is also low. In summer, such as August 1, indoors use air-conditioning, so the temperature is lower than outdoors. That is, since the region A, the region C, and the region E are below the temperature threshold in FIG. 7, they are determined to be indoors.

また、図7のBで示す領域、およびDで示す領域は、いずれも日中時間帯のうちの一部であるが、それらの領域における温度は所定の温度(温度閾値)よりも高い状態となっている。8月1日のような夏季においては、屋内では冷房を使用するため、屋外の方が屋内よりも温度が高い。すなわち、領域Bと領域Dでは、図7の温度閾値を上回っているため、屋外であると判断される。   Moreover, although the area | region shown by B of FIG. 7 and the area | region shown by D are all a part of daytime time zones, the temperature in those area | regions is a state higher than predetermined temperature (temperature threshold value). It has become. In the summer season, such as August 1st, since air conditioning is used indoors, the temperature of outdoor is higher than that of indoor. That is, since the region B and the region D exceed the temperature threshold value in FIG. 7, it is determined that they are outdoors.

また、記憶部6には、図8のような、各時間ごとの照度値と温度とが記憶させられる。そして、この照度値と温度とから、制御部5は、屋外であるか、屋内であるかの判定を行う。   In addition, the storage unit 6 stores an illuminance value and a temperature for each time as shown in FIG. And from this illuminance value and temperature, the control part 5 determines whether it is outdoors or indoors.

以上のような判断を行うための、温度閾値および照度閾値についての考え方は、上述の冬季の場合において述べたものと同様であり、その詳細についての説明は省略する。   The way of thinking about the temperature threshold and the illuminance threshold for making the above determination is the same as that described in the case of the above-mentioned winter season, and a detailed description thereof will be omitted.

<天候の違いによる照度値の差について>
続いて、天候の違いによって、照度値にどの程度の差が生じるのかについて、図9から図14に基づいて説明する。なお、これらの照度値の差に基づいて、照度閾値が決定される。
<Difference in illuminance due to weather>
Next, how much the illuminance value varies depending on the weather will be described with reference to FIGS. An illuminance threshold value is determined based on the difference between these illuminance values.

図9は、屋内において11月の日中に照度検出部3を用いてそれぞれの天候における照度値の取得を行い、その照度値の平均値を表したグラフである。また、図10は、図9の照度値を、テーブル化したものである。図9および図10から分かるように、屋内においては、天候の相違によって照度値が860Lux〜900Luxとなっており、天候によっては、照度値にそれほど大きな相違は見られない。   FIG. 9 is a graph showing the average value of the illuminance values obtained by obtaining the illuminance values in each weather using the illuminance detector 3 indoors during the day of November. FIG. 10 is a table of the illuminance values in FIG. As can be seen from FIG. 9 and FIG. 10, the illuminance value is 860 Lux to 900 Lux due to the difference in the weather, and the illuminance value is not so different depending on the weather.

図11は、屋外において11月の日中に照度検出部3を用いてそれぞれの天候における照度値の取得を行い、その照度値の平均値を表したグラフである。また、図12は、図11の照度値を、テーブル化したものである。図11および図12から分かるように、屋外においては、天候の相違によって照度値が6000Lux〜54613Luxとなっており、天候によって、照度値が大きく変化している。   FIG. 11 is a graph showing an average value of the illuminance values obtained by obtaining the illuminance values in each weather using the illuminance detection unit 3 outdoors in the daytime in November. FIG. 12 is a table of the illuminance values in FIG. As can be seen from FIG. 11 and FIG. 12, the illuminance value is 6000 Lux to 54613 Lux due to the difference in weather, and the illuminance value varies greatly depending on the weather.

なお、図11および図12の結果から明らかなように、屋外においては、最も照度値が小さい(6000Luxである)場合であっても、図9および図10に示したような、屋内における照度値とは大きな差が生じている。そのため、照度閾値としては、900Lux〜6000Luxの間の値とすることが望ましい。その中でも、照度値の誤差分を考慮して、1000〜5000Luxの間の値とすることがより望ましいが、特に2000Lux〜3000Luxの範囲が、さらに一層望ましくなっている。   As is apparent from the results of FIGS. 11 and 12, even when the illuminance value is the smallest outdoors (6000 Lux), the illuminance value indoors as shown in FIGS. 9 and 10. There is a big difference. Therefore, it is desirable that the illuminance threshold is a value between 900 Lux and 6000 Lux. Among these, taking into account the error of the illuminance value, a value between 1000 and 5000 Lux is more desirable, but the range of 2000 Lux to 3000 Lux is even more desirable.

図13は、屋内と屋外(日陰)において11月の日中に照度検出部3を用いてそれぞれの天候における照度値の取得を行い、その照度値の平均値を表したグラフである。また、図14は、図13の照度値を、テーブル化したものである。   FIG. 13 is a graph showing an average value of the illuminance values obtained by obtaining the illuminance values in each weather using the illuminance detection unit 3 during the day of November in indoor and outdoor (in the shade). FIG. 14 is a table of the illuminance values in FIG.

図13および図14においては、屋内の照度値は900Luxであり、屋外の日陰における照度値は7917Luxである。そのため、屋内の照度値と屋外の日陰における照度値との間には大きな差が生じている。なお、照度閾値としては、上述の図11および図12の部分で述べたものと同様の照度閾値を用いることが可能である。   In FIGS. 13 and 14, the indoor illuminance value is 900 Lux, and the outdoor illuminance value is 7917 Lux. Therefore, there is a large difference between the indoor illuminance value and the outdoor illuminance value. As the illuminance threshold, it is possible to use an illuminance threshold similar to that described with reference to FIGS. 11 and 12 above.

<例外的な場合>
続いて、電子機器1において、屋内であるか屋外であるかの判断を行う場合の、例外的なケースについて説明する。図15は、例外的な場合における時間と、温度および照度値の変化を示すグラフであり、図16は、図15の場合をテーブル化したものである。
<Exceptional cases>
Next, an exceptional case when the electronic device 1 determines whether it is indoor or outdoor will be described. FIG. 15 is a graph showing changes in time, temperature, and illuminance value in exceptional cases, and FIG. 16 is a table of the case of FIG.

上述の図15および図16から明らかなように、このケースでは、照度値が、図9および図10に示した屋内の場合よりも、圧倒的に低くなっている。このような照度値が得られるものとしては、たとえば、バッグの中に電子機器1を入れている状態、部屋を真っ暗にしている状態、または屋外でかつ夜の状態等が挙げられる。このような例外的なケースでは、電子機器1の制御部5は、現在の環境が屋内であるのか、または屋外であるのかについて、正確な判断を行うことができない。この場合には、屋内であるのか、または屋外であるのかについて、判断を行わないようにする。または、図2の処理フローのステップS105において結果が得られないものとして「No」と判定し、ステップS107で屋内であるか屋外であるかの判定ができなかった(未確定)と決定して処理を終了するようにしても良い。   As is clear from FIGS. 15 and 16 described above, in this case, the illuminance value is overwhelmingly lower than in the indoor case shown in FIGS. 9 and 10. Examples of such an illuminance value that can be obtained include a state in which the electronic device 1 is placed in a bag, a state in which the room is completely dark, or an outdoor state at night. In such an exceptional case, the control unit 5 of the electronic device 1 cannot make an accurate determination as to whether the current environment is indoor or outdoor. In this case, no judgment is made as to whether it is indoor or outdoor. Alternatively, it is determined that the result is not obtained in step S105 of the processing flow of FIG. 2 and “No” is determined, and it is determined in step S107 that it is not possible to determine whether it is indoor or outdoor (unconfirmed). You may make it complete | finish a process.

なお、この場合には、屋内に対応する場合よりも照度値が十分低い、判定不能照度閾値を用いて、未確定であると決定するようにしても良い。   In this case, it may be determined that the illuminance value is not determined by using an indeterminate illuminance threshold value that is sufficiently lower than the case of indoor use.

<本実施の形態における効果>
上述のように、日付、時刻、照度値および温度を関連付けたデータベースと、日付、時刻、照度値および温度の測定値とを対照することで、現在位置が屋内あるいは屋外であることを判断できる。すなわち、屋内やトンネル内など、GPS受信機が人工衛星からの電波を受信できない環境においても、電子機器1が存在する環境が屋内であるか、または屋外であるかを判断することが可能となる。
<Effect in the present embodiment>
As described above, by comparing the database that associates the date, time, illuminance value, and temperature with the measured value of the date, time, illuminance value, and temperature, it can be determined that the current position is indoors or outdoors. That is, even in an environment where the GPS receiver cannot receive radio waves from an artificial satellite, such as indoors or in a tunnel, it is possible to determine whether the environment in which the electronic device 1 exists is indoors or outdoors. .

加えて、電子機器1においては、時計機能部2と、照度検出部3と、温度検出部4とを用いて、制御部5において、記憶部6に記憶されているデータベースを照合して、電子機器1が屋内に存在するのか、または屋外に存在するのかを判断している。そのため、従来と比較して、その判断が正確なものとなる。   In addition, in the electronic device 1, the clock function unit 2, the illuminance detection unit 3, and the temperature detection unit 4 are used to check the database stored in the storage unit 6 in the control unit 5, It is determined whether the device 1 exists indoors or outdoors. Therefore, the judgment is more accurate than in the past.

また、本実施の形態では、データベースは、季節または月または月日と、時間帯とによって、屋内か屋外かを判断する判断基準が異なっている。そのため、季節または月または月日がそれぞれ異なっていても、電子機器1が屋内に存在するのか、または屋外に存在するのかを正確に判断可能となる。   In the present embodiment, the database has different criteria for judging whether it is indoors or outdoors depending on the season or month or date and the time zone. Therefore, it is possible to accurately determine whether the electronic device 1 is indoors or outdoors even if the seasons, months, or dates differ.

さらに、本実施の形態では、制御部5は、所定の時間以上、屋内の照度値よりも低い閾値である判定不能閾値を下回る照度値が得られた場合には、屋内であるか屋外であるかを判断しないこととしている。そのため、電子機器1の判断における誤りが発生するのを防止可能となる。なお、この場合には、ユーザが電子機器1に屋内であるか屋外であるかについての情報を入力するように設定することが可能である。   Further, in the present embodiment, the control unit 5 is indoor or outdoor when an illuminance value lower than an indeterminate threshold value that is a threshold value lower than the indoor illuminance value is obtained for a predetermined time or more. Do not judge whether. Therefore, it is possible to prevent an error in the determination of the electronic device 1 from occurring. In this case, it is possible to set the user to input information about whether the user is indoor or outdoor in the electronic device 1.

また、本実施の形態では、屋内の窓際と屋外とを判別することが可能となり、その判断も正確なものとなる。   Further, in the present embodiment, it is possible to discriminate between indoor windows and outdoors, and the determination becomes accurate.

(第2の実施の形態)
以下、本発明の第2の実施の形態に係る電子機器10について、図17および図18を参照しながら説明する。なお、本実施の形態においては、上述の第1の実施の形態で用いたものと同様の構成については、同一の符号を用いて説明する。
(Second Embodiment)
Hereinafter, an electronic apparatus 10 according to a second embodiment of the present invention will be described with reference to FIGS. 17 and 18. In the present embodiment, the same components as those used in the first embodiment will be described using the same reference numerals.

図17は、本発明の2実施の形態に係る電子機器10の構成を説明するブロック図である。本実施の形態における電子機器10は、基本的には第1の実施の形態における電子機器10に対して、追加的な構成を有している。
<電子機器10の構成について>
本実施の形態における電子機器10は、GPS受信機7を備えている点が、第1の実施の形態における電子機器1と相違している。GPS受信機7は、複数のGPS衛星(不図示)からの電波を受信する。また、GPS受信機7は、受信した電波に重畳されている時刻情報を抽出し、それぞれの電波の到達時間差から、ナビゲーション装置1を搭載した車両の現在の位置情報(例えば、緯度情報および経度情報)を検出する位置検出手段である。得られた位置情報は、制御部5に出力される。また、記憶部6には、図18に示す処理フローを実行するためのプログラムが格納されている。
FIG. 17 is a block diagram illustrating the configuration of the electronic device 10 according to the second embodiment of the present invention. The electronic device 10 in the present embodiment basically has an additional configuration with respect to the electronic device 10 in the first embodiment.
<About Configuration of Electronic Device 10>
The electronic device 10 in the present embodiment is different from the electronic device 1 in the first embodiment in that a GPS receiver 7 is provided. The GPS receiver 7 receives radio waves from a plurality of GPS satellites (not shown). In addition, the GPS receiver 7 extracts time information superimposed on the received radio wave, and from the arrival time difference between the radio waves, current position information (for example, latitude information and longitude information) of the vehicle on which the navigation device 1 is mounted. ) For detecting position). The obtained position information is output to the control unit 5. The storage unit 6 stores a program for executing the processing flow shown in FIG.

<屋内・屋外の判定をするための処理フローについて>
次に、第2の実施の形態の電子機器10における、環境の判断をするための処理フローについて説明する。図18は、環境の判断を説明するためのフローチャートである。なお、本実施の形態においては、屋内においては、GPS受信機7が人工衛星からの電波を受信できないものとして説明している。また、図18においては、現在の位置情報からは屋外と判断される場合においても、電車内または自動車内等の移動体内という、屋外とは異なる環境に電子機器1が存在しているのか否かを判定することを可能としている。
<Processing flow for indoor / outdoor judgment>
Next, a processing flow for determining the environment in the electronic device 10 according to the second embodiment will be described. FIG. 18 is a flowchart for explaining determination of the environment. In the present embodiment, it is assumed that the GPS receiver 7 cannot receive radio waves from an artificial satellite indoors. Further, in FIG. 18, whether or not the electronic device 1 exists in an environment different from the outdoors, such as a moving body such as a train or a car, even when the current position information is determined to be outdoors. Can be determined.

図18に示す処理フローにおいては、図2に示す処理フローと比較すると、当該図2のステップS101よりも上位の判断を行うステップ(ステップS100)が存在している。このステップS100では、GPS受信機7が、電波を受信して現在の位置情報を検出することが可能であるか否かを判断する。このステップS100の判断において、現在の位置情報を検出可能であると判断される場合(Yesの場合)には、ステップS201に進行し、以後、ステップS201からステップS209までの各ステップを実行する。また、ステップS100の判断において、現在の位置情報を検出することができないと判断される場合(Noの場合)には、上述したステップS101に進行し、図2で説明したのと同様の各ステップを実行する。   In the processing flow shown in FIG. 18, there is a step (step S <b> 100) for making a judgment higher than step S <b> 101 in FIG. 2, compared with the processing flow shown in FIG. 2. In step S100, the GPS receiver 7 determines whether it is possible to detect the current position information by receiving radio waves. If it is determined in step S100 that the current position information can be detected (in the case of Yes), the process proceeds to step S201, and thereafter, steps S201 to S209 are executed. If it is determined in step S100 that the current position information cannot be detected (in the case of No), the process proceeds to step S101 described above, and the same steps as described in FIG. Execute.

ステップS100で現在の位置情報を検出可能であると判断される場合(Yesの場合)、現在日時、現在位置、移動距離および移動速度に関する情報を取得する(ステップS201)。これは、GPS受信機7で現在の位置情報と、その次の位置情報等と順次各時間ごとの位置情報を検出することにより、現在日時および現在位置のみならず、移動距離および移動速度をも検出することが可能となるためである。   If it is determined in step S100 that the current position information can be detected (in the case of Yes), information on the current date and time, the current position, the moving distance, and the moving speed is acquired (step S201). This is because the GPS receiver 7 sequentially detects the current position information, the next position information, etc., and the position information for each time, so that not only the current date and time and current position, but also the moving distance and moving speed can be obtained. This is because it can be detected.

ステップS201に続いて、ステップS101と同様に、温度検出部4により温度を検出する(ステップS202)。制御部5は、検出された温度の情報を記憶部6に記憶する。さらに、ステップS103と同様に、照度検出部3により、照度値を取得する(ステップS203)。制御部5は、検出された照度値の情報を記憶部6に記憶させる。なお、ステップS201〜S203は、同時あるいは順序が前後していてもよい。   Subsequent to step S201, the temperature is detected by the temperature detector 4 in the same manner as in step S101 (step S202). The control unit 5 stores the detected temperature information in the storage unit 6. Further, similarly to step S103, the illuminance value is acquired by the illuminance detector 3 (step S203). The control unit 5 causes the storage unit 6 to store information on the detected illuminance value. Note that steps S201 to S203 may be performed simultaneously or sequentially.

次に、制御部5は、得られた現在の日時、現在位置、移動距離、移動速度、温度および照度値と、データベースの内容を照合する(S204)。この照合は、S104と同様のものであるが、現在位置、移動距離および移動速度も照合の要素に加わっている点が相違している。特に現在位置に基づいて照合すると、データベースが有する地図データベースおよび/または施設等に関するデータベースから、屋内にいるのか、屋外にいるのかの参考となる情報を得ることができる。また、移動距離および移動速度に基づいて照合すると、現在、電車または車にいるのか等の参考となる情報を得ることができる。   Next, the control unit 5 collates the obtained current date and time, current position, moving distance, moving speed, temperature and illuminance value with the contents of the database (S204). This collation is the same as S104, except that the current position, moving distance, and moving speed are added to the collation elements. In particular, when collation is performed based on the current position, it is possible to obtain information that serves as a reference as to whether the user is indoors or outdoors, from the map database and / or the database related to the facility that the database has. In addition, when collation is performed based on the movement distance and the movement speed, it is possible to obtain reference information such as whether the user is currently in a train or a car.

続いて、ステップS204において、判定結果が得られたか否かを判断する(ステップS205)。判定結果が得られた場合、すなわちステップS205においてYesの場合には、電子機器10が存在する環境が、電車内または自動車内といった移動体内にあるのかを判断する(ステップS206)。一方、ステップS204において判定結果が得られなかった場合、すなわちステップS205において「No」の場合には、制御部5は、電子機器10が存在する環境が、屋外なのか、移動体内であるのかの判定ができなかった(未確定;S207)と決定して終了する。   Subsequently, in step S204, it is determined whether a determination result has been obtained (step S205). If the determination result is obtained, that is, if Yes in step S205, it is determined whether the environment in which the electronic device 10 exists is in a moving body such as in a train or in an automobile (step S206). On the other hand, if the determination result is not obtained in step S204, that is, if “No” in step S205, the control unit 5 determines whether the environment in which the electronic device 10 is present is outdoors or in a moving body. It is determined that the determination could not be made (indeterminate; S207), and the process ends.

なお、ステップS206において、移動体内であると決定されると(S208)、その旨の情報が記憶部6へ書き込まれ、また、移動体内である場合の制御部5での特有の処理が為され、図2の処理フローが終了する。一方、ステップS206において、屋外であると決定されると(S209)、その旨の情報が記憶部6へ書き込まれ、また、屋外である場合の制御部5での特有の処理が為され、図18の処理フローが終了する。なお、図18に示す環境判断の処理フローは、一定時間ごとに行うようにすることが好ましい。   In step S206, when it is determined that the mobile body is in the mobile body (S208), information to that effect is written to the storage unit 6, and a specific process in the control unit 5 when the mobile body is in the mobile body is performed. Then, the processing flow of FIG. 2 ends. On the other hand, if it is determined in step S206 that it is outdoor (S209), information to that effect is written to the storage unit 6, and a specific process is performed in the control unit 5 when it is outdoor. The process flow of 18 ends. Note that it is preferable to perform the environmental judgment processing flow shown in FIG. 18 at regular intervals.

<本実施の形態における効果>
以上、本実施の形態における電子機器10によれば、GPS受信機7を備え、このGPS受信機7が人工衛星から電波を受信することにより、現在の位置情報を得ることが可能となる。そして、GPS受信機7で現在の位置情報と、その次の位置情報等と順次各時間ごとの位置情報を検出することにより、現在日時および現在位置のみならず、移動距離および移動速度をも検出されるため、現在位置、移動距離および移動速度に基づけば、電子機器10が移動体内に存在するのか、または屋外に存在するのかを判断することが可能となる。
<Effect in the present embodiment>
As described above, according to the electronic device 10 in the present embodiment, the GPS receiver 7 is provided, and the GPS receiver 7 receives radio waves from the artificial satellite, whereby the current position information can be obtained. The GPS receiver 7 detects the current position information, the next position information, etc. and the position information for each time sequentially, thereby detecting not only the current date and time and current position, but also the moving distance and moving speed. Therefore, based on the current position, the moving distance, and the moving speed, it is possible to determine whether the electronic device 10 exists in the moving body or exists outdoors.

すなわち、本実施の形態における電子機器10は、現在の位置情報からは通常は屋外と判断される場合においても、電車内または自動車内等の移動体内という、屋外とは異なる環境に電子機器10が存在しているのか否かを判断することが可能となる。そして、このような環境を判断することができた場合には、その環境に応じた端末の設定を自動的に行うことが可能となる。   That is, the electronic device 10 according to the present embodiment is in a different environment from the outside, such as a moving body such as in a train or a car, even when it is normally determined from the current position information. It is possible to determine whether or not it exists. When such an environment can be determined, the terminal can be automatically set according to the environment.

<変形例について>
以上、本発明の各実施の形態について述べたが、本発明は、これらの実施の形態に限定されることなく、種々変形して実施することが可能である。
<About modification>
Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and can be implemented with various modifications.

上述の各実施の形態では、電子機器1,10は、時計機能部2と、照度検出部3と、温度検出部4とを備える構成となっている。しかしながら、電子機器1,10は、これら以外のセンサを備える構成を採用しても良い。これら以外のセンサとしては、たとえば、湿度を検出する湿度センサ、加速度を検出する加速度センサ等が挙げられる。また、マイクを具備する構成とし、このマイクから入力される音声信号の周波数および音声信号のレベルを制御部5が分析し、得られた周波数特性から屋内に電子機器1,10が存在するのか、または屋外に存在するのかを判断するようにしても良い。   In each of the above-described embodiments, the electronic devices 1 and 10 include the timepiece function unit 2, the illuminance detection unit 3, and the temperature detection unit 4. However, the electronic devices 1 and 10 may employ a configuration including sensors other than these. Examples of other sensors include a humidity sensor that detects humidity and an acceleration sensor that detects acceleration. Moreover, it is set as the structure which comprises a microphone, the control part 5 analyzes the frequency of the audio | voice signal input from this microphone, and the level of an audio | voice signal, and whether the electronic devices 1 and 10 exist indoors from the obtained frequency characteristic, Or you may make it judge whether it exists outdoors.

また、上述の各実施の形態における時計機能部2が時間を取得する手法としては、上述の他に、電子機器1,10がインターネット等の無線または有線のネットワークに接続可能なものである場合、当該ネットワークを介して取得するようにしても良い。   In addition to the above, the clock function unit 2 in each of the above-described embodiments acquires the time in addition to the above, when the electronic devices 1 and 10 are connectable to a wireless or wired network such as the Internet. You may make it acquire via the said network.

また、上述した移動体には、電車、車以外にも、たとえば飛行機、船、オートバイ等の各種の移動可能なものが含まれる。   In addition to the trains and cars, the movable bodies described above include various movable objects such as airplanes, ships, and motorcycles.

また、上述の各実施の形態では、温度閾値と照度閾値が直線的なものが示されている。しかしながら、各時間ごと、天候ごとに屋外および屋内の温度は、変化する。また、照度値も温度と同様に変化する。そのため、記憶部6に記憶されているデータベースの温度閾値と、照度閾値とは、直線的なものとはせずに、時間によって、および/または天候によって随時変化するものとしても良い。   In each of the above-described embodiments, the temperature threshold and the illuminance threshold are linear. However, the outdoor and indoor temperatures change with each hour and with the weather. Also, the illuminance value changes in the same manner as the temperature. Therefore, the temperature threshold value and the illuminance threshold value of the database stored in the storage unit 6 may be changed from time to time and / or according to the weather without being linear.

また、上述の実施の形態では、制御部5は、記憶部6に記憶されているデータベースに存在する、温度閾値および照度閾値を用いて、電子機器1,10が屋内または屋外に存在するのかを判断している。しかしながら、データベースに、屋内または屋外に存在するのかを判断するための所定の計算式を記憶させておき、この計算式に基づいて、屋内または屋外に存在するのかについて、判断を行うようにしても良い。   In the above-described embodiment, the control unit 5 uses the temperature threshold and the illuminance threshold existing in the database stored in the storage unit 6 to determine whether the electronic devices 1 and 10 exist indoors or outdoors. Deciding. However, a predetermined calculation formula for determining whether the object exists indoors or outdoors is stored in the database, and based on this calculation expression, it is determined whether the object exists indoors or outdoors. good.

また、上述の各実施の形態において、電子機器1,10がインターネットを介してお天気情報等、所定の天候情報(たとえば、現在の天候、気温等の情報)を得ることが可能な場合には、上述の各実施の形態で述べた手法に加えて、または上述の各実施の形態で述べた手法と選択的に、当該インターネットを介して得られる天候情報に基づいて、屋内・屋外の判断をできるようにしても良い。   In each of the above embodiments, when the electronic devices 1 and 10 can obtain predetermined weather information (for example, current weather information, temperature information, etc.) such as weather information via the Internet, In addition to the method described in each of the above-described embodiments, or selectively with the method described in each of the above-described embodiments, indoor / outdoor determination can be made based on weather information obtained via the Internet. You may do it.

また、上述の第2の実施の形態においては、屋内においては、GPS受信機7が人工衛星からの電波を受信できないものとして説明している。しかしながら、屋内においても、GPS受信機7が人工衛星からの電波を受信できるものとしても良い。   In the second embodiment described above, it is assumed that the GPS receiver 7 cannot receive radio waves from an artificial satellite indoors. However, even indoors, the GPS receiver 7 may receive radio waves from an artificial satellite.

また、本発明の電子機器1,10としては、公知の携帯可能な各種の電子機器が該当する。具体例としては、カーナビゲーション装置、携帯可能なオーディオ装置、電子メール送受信機能や、スカイプ(SKYPE;登録商標)などのIP電話機能を備えたPCやPDA、携帯電話、などが挙げられる。   The electronic devices 1 and 10 of the present invention correspond to various known portable electronic devices. Specific examples include a car navigation device, a portable audio device, an e-mail transmission / reception function, and a PC, PDA, mobile phone, etc. having an IP phone function such as SKYPE (registered trademark).

1,10…電子機器
2…時計機能部(時刻取得部に対応)
3…照度検出部
4…温度検出部
5…制御部
6…記憶部
7…GPS受信機
1, 10 ... Electronic equipment 2 ... Clock function part (corresponding to time acquisition part)
DESCRIPTION OF SYMBOLS 3 ... Illuminance detection part 4 ... Temperature detection part 5 ... Control part 6 ... Memory | storage part 7 ... GPS receiver

Claims (7)

周囲の温度を検出する温度検出部と、
日時または時刻を計時または取得する時計機能部と、
周囲の照度を検出する照度検出部と、
照度と温度のうちの少なくとも1つと、日時または時刻と、屋内かまたは屋外かを判断する判断基準とを関連付けたデータベースを有する記憶部と、
上記温度検出部、上記時刻取得部および上記照度検出部から温度、時刻、照度を得て、上記データベースとを照合して屋内であるか屋外であるかを判断する制御部と、
を有することを特徴とする電子機器。
A temperature detector for detecting the ambient temperature;
A clock function unit that measures or obtains date and time, and
An illuminance detector that detects the illuminance of the surroundings;
A storage unit having a database in which at least one of illuminance and temperature, date and time or time, and a criterion for determining whether indoor or outdoor are associated;
A control unit that obtains temperature, time, and illuminance from the temperature detection unit, the time acquisition unit, and the illuminance detection unit, and determines whether it is indoor or outdoor by collating with the database;
An electronic device comprising:
請求項1に記載の電子機器であって、
前記データベースは、季節または月または月日と、時間帯とが、温度および照度と関連付けられていて、
季節または月または月日と、時間帯とによって、屋内か屋外かを判断する前記判断基準が異なる、
ことを特徴とする電子機器。
The electronic device according to claim 1,
The database includes a season or month or date and a time zone associated with temperature and illuminance,
Depending on the season or month or date and the time of day, the criteria for judging whether indoor or outdoor are different,
An electronic device characterized by that.
請求項1または請求項2に記載の電子機器であって、
前記制御部は、屋内かまたは屋外であるのかを判断する判断基準として、温度閾値と照度閾値とを用いる、
ことを特徴とする電子機器。
The electronic device according to claim 1 or 2,
The control unit uses a temperature threshold and an illuminance threshold as a determination criterion for determining whether it is indoor or outdoor.
An electronic device characterized by that.
請求項1から3のいずれか1項に記載の電子機器であって、
前記制御部は、所定の時間以上、屋内の照度値よりも低い閾値である判定不能閾値を下回る照度値が得られた場合には、屋内であるか屋外であるかを判断しない、
ことを特徴とする電子機器。
The electronic device according to any one of claims 1 to 3,
The control unit does not determine whether it is indoor or outdoor when an illuminance value lower than an indeterminate threshold that is a threshold lower than an indoor illuminance value is obtained for a predetermined time or more,
An electronic device characterized by that.
請求項1から4のいずれか1項に記載の電子機器であって、
現在の位置情報を取得可能な現在位置検出手段を備え、当該現在位置検出手段からの現在の位置情報が前記制御部に入力されると共に、
前記制御部は、上記現在位置検出手段からの位置情報が得られるか否かに応じて、屋内か屋外かを判断する処理か、または乗車可能な移動体内か屋外かを判断する処理のいずれかを行う、
ことを特徴とする電子機器。
The electronic device according to any one of claims 1 to 4,
A current position detection unit capable of acquiring current position information; and current position information from the current position detection unit is input to the control unit;
The control unit is either a process for determining whether indoor or outdoor, or a process for determining whether the vehicle is in a movable body or outdoors, depending on whether or not position information is obtained from the current position detection means. I do,
An electronic device characterized by that.
周囲の温度を検出する温度検出ステップと、
日時または時刻を計時または取得する時刻取得ステップと、
周囲の照度を検出する照度検出ステップと、
上記温度検出ステップ、上記時刻取得ステップおよび上記照度検出ステップで得られた温度、時刻、照度と、これらの情報から屋内か屋外かを判断すると共にデータベースに記憶されている判断基準とから、屋内であるか屋外であるかを判断する屋内外判断ステップと、
を有することを特徴とする判断方法。
A temperature detection step for detecting the ambient temperature;
A time acquisition step for measuring or acquiring date and time,
Illuminance detection step for detecting ambient illuminance;
The temperature, time, and illuminance obtained in the temperature detection step, the time acquisition step, and the illuminance detection step, and whether it is indoor or outdoor from these information and the judgment criteria stored in the database, are used indoors. An indoor / outdoor determination step for determining whether it is outdoor or outdoor,
The determination method characterized by having.
コンピュータにインストールされることにより、当該コンピュータを、請求項1から4のいずれか1項に記載の制御部として機能させることを特徴とするプログラム。   A program that, when installed on a computer, causes the computer to function as the control unit according to any one of claims 1 to 4.
JP2009171959A 2009-07-23 2009-07-23 Electronic equipment, determination method, and program Pending JP2011027492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009171959A JP2011027492A (en) 2009-07-23 2009-07-23 Electronic equipment, determination method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009171959A JP2011027492A (en) 2009-07-23 2009-07-23 Electronic equipment, determination method, and program

Publications (1)

Publication Number Publication Date
JP2011027492A true JP2011027492A (en) 2011-02-10

Family

ID=43636418

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009171959A Pending JP2011027492A (en) 2009-07-23 2009-07-23 Electronic equipment, determination method, and program

Country Status (1)

Country Link
JP (1) JP2011027492A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016506668A (en) * 2012-12-21 2016-03-03 クアルコム,インコーポレイテッド Low power constant connection judgment for indoor and outdoor conditions
CN107211086A (en) * 2015-01-13 2017-09-26 华为技术有限公司 It is a kind of by detecting that mobile device is in the indoor or outdoor method to improve mobile device camera image quality

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016506668A (en) * 2012-12-21 2016-03-03 クアルコム,インコーポレイテッド Low power constant connection judgment for indoor and outdoor conditions
CN107211086A (en) * 2015-01-13 2017-09-26 华为技术有限公司 It is a kind of by detecting that mobile device is in the indoor or outdoor method to improve mobile device camera image quality
JP2018504841A (en) * 2015-01-13 2018-02-15 ホアウェイ・テクノロジーズ・カンパニー・リミテッド A method for mobile devices to improve camera image quality by detecting whether the mobile device is indoors or outdoors

Similar Documents

Publication Publication Date Title
US9066207B2 (en) Managing states of location determination
JP5096453B2 (en) Method and apparatus for determining altitude of mobile device
Tan et al. Outdoor mean radiant temperature estimation in the tropical urban environment
US9476714B2 (en) Augmentation for GPS calculations
US20180252522A1 (en) Systems and methods for estimating an altitude of a mobile device based on detected temperature conditions
US20190335074A1 (en) Eliminating effects of environmental conditions of images captured by an omnidirectional camera
CN104457751A (en) Method and system for recognizing indoor and outdoor scenes
WO2017048415A1 (en) Augmenting indoor-outdoor detection using side information
WO2008148649A1 (en) Weather prediction system
US20170175432A1 (en) Method and Apparatus for Weather Forecasting
JP2010121953A (en) Portable device incorporating sensor, carbon dioxide concentration measurement/disclosing system, server for the system, program for the server, and program for the portable device
CN108076428A (en) Control method, device, storage medium and mobile terminal based on locating module
JP2011027492A (en) Electronic equipment, determination method, and program
US20210190495A1 (en) Use of Offline Algorithm to Determine Location From Previous Sensor Data When Location is Requested
US10782221B2 (en) System and method for determining a particle contamination
George et al. Vertical structure and radiative forcing of monsoon clouds over Kanpur during the 2016 INCOMPASS field campaign
TW201701230A (en) Weather analysis integrated tourist attractions recommendation and alert system
CN111796055A (en) Portable device for measuring air quality and method for displaying air quality information
US20120253667A1 (en) Electronic apparatus and method for specifying a place
US20120092347A1 (en) Electronic device and method for displaying weather information thereon
ES2687255T3 (en) Procedure for determining a thermal signature of a construction by measuring the temperature over time, and associated device
JP4623517B2 (en) Car navigation system
Jumaah et al. Development of UAV-based PM2. 5 monitoring system. Drones 2021, 5, 60
Kester Climate measurements in public spaces
US20220214231A1 (en) System and methods for accurately determining air temperature