JP5419920B2 - Mobile phone - Google Patents

Mobile phone Download PDF

Info

Publication number
JP5419920B2
JP5419920B2 JP2011095967A JP2011095967A JP5419920B2 JP 5419920 B2 JP5419920 B2 JP 5419920B2 JP 2011095967 A JP2011095967 A JP 2011095967A JP 2011095967 A JP2011095967 A JP 2011095967A JP 5419920 B2 JP5419920 B2 JP 5419920B2
Authority
JP
Japan
Prior art keywords
mobile phone
geomagnetism
offset value
magnetic sensor
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011095967A
Other languages
Japanese (ja)
Other versions
JP2011166822A (en
Inventor
俊和 河内
功 川島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2011095967A priority Critical patent/JP5419920B2/en
Publication of JP2011166822A publication Critical patent/JP2011166822A/en
Application granted granted Critical
Publication of JP5419920B2 publication Critical patent/JP5419920B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Description

本発明は、磁気センサを備えた携帯電話機に関する。   The present invention relates to a mobile phone provided with a magnetic sensor.

近年、携帯電話機には、GPS(Global Positioning System)を利用したナビゲーショ
ンシステムを搭載したものがあり、また、ナビゲーションの一環として通信相手がどの方角にいるかを知ることのできるものもある。
特許文献1には、GPSの地図を利用しないで通信相手のいる方角が分かる携帯電話機が開示されており、地磁気の方向を検出するための磁気センサが備えられている。
特開2003−32719号公報
In recent years, some mobile phones are equipped with a navigation system using GPS (Global Positioning System), and there are some that can know which direction the communication partner is in as part of the navigation.
Patent Document 1 discloses a mobile phone in which the direction of a communication partner is known without using a GPS map, and includes a magnetic sensor for detecting the direction of geomagnetism.
JP 2003-32719 A

ところで地磁気は、微弱なものであり、磁気センサを携帯電話機の基板上に配置して地磁気を検出する場合には、スピーカやマイクに含まれる磁性体部品に少なからず影響を受け、正しく地磁気の方向を検出できない。
そのため、磁気センサを回路上に搭載する場合には、磁気センサを各磁性体部品からある程度、遠ざけて配置しなければならないが、小型で設置面積に限りのある携帯電話機では限界がある。
また、近年ではデータ送信などにおいて高出力が要求されることもあり、送信用パワーアンプから基板上に大電流が流れることも珍しくなくなってきているので、その大電流が発生させる磁気からも影響を受け、正しく地磁気の方向を検出できない。
そこで、本発明は、地磁気以外の磁気、即ち、携帯電話機の回路基板を流れる電流によって発生する磁気、あるいは搭載されている各磁性体部品による磁気が、磁気センサに与える影響を取り除き、正しい地磁気の方向を取得することのできる携帯電話機を提供することを目的とする。
By the way, geomagnetism is weak, and when a magnetic sensor is placed on the substrate of a mobile phone to detect geomagnetism, it is affected by magnetic parts contained in speakers and microphones, and the direction of geomagnetism is correct. Cannot be detected.
For this reason, when a magnetic sensor is mounted on a circuit, the magnetic sensor must be disposed at a certain distance from each magnetic component, but there is a limit in a small-sized mobile phone having a limited installation area.
In recent years, high output is required for data transmission, etc., and it is not uncommon for a large current to flow from the power amplifier for transmission to the substrate, so there is an influence from the magnetism generated by the large current. The geomagnetic direction cannot be detected correctly.
Therefore, the present invention eliminates the influence of magnetism other than geomagnetism, that is, magnetism generated by current flowing through the circuit board of a mobile phone or magnetism of each mounted magnetic component on the magnetic sensor, and correct geomagnetism. It is an object of the present invention to provide a mobile phone capable of acquiring a direction.

上記目的を達成するため、本発明の一局面は、開閉可能な筐体を備える携帯電話機であって、閉じた状態で表示画面が露出する位置に配置した表示部と、磁気の方向を検出して出力する磁気センサと、開閉状態のそれぞれと、自機の回路の複数の動作状態それぞれと、当該動作状態において地磁気以外で前記磁気センサに影響を与える磁気についての方向及び大きさを示すオフセット値とを対応付けて予め記憶している記憶手段と、前記動作状態を検出し、当該動作状態に対応するオフセット値を前記記憶手段から読み出す読み出し手段と、前記読み出し手段により読み出されたオフセット値と、前記磁気センサにより検出された磁気の方向及び大きさに基づき地磁気の方向を算定する地磁気算定手段とを備えることを特徴とする。
さらに、本発明の一局面は、前記携帯電話機は、前記地磁気算定手段により算定された地磁気の方向を反映した画像を閉じた状態で画面に表示する前記表示部を備える。
さらに、本発明は、前記携帯電話機は、開閉状態のそれぞれに対応して前記地磁気算定手段により算定された地磁気の方向を反映した画像を、開閉状態に関係なく画面に表示する表示手段を備える。
さらに、本発明の一局面は、前記携帯電話機は、送信回路を備え、前記記憶手段は、前記送信回路の送信出力に対応したオフセット値を記憶している。
さらに、本発明の一局面は、前記表示手段は、画面を照らすバックライトを備え、前記記憶手段は、少なくとも前記バックライトの点灯状態と消灯状態の2状態それぞれに対応
したオフセット値を記憶している。
さらに、本発明の一局面は、前記携帯電話機は、受信回路を備え、前記記憶手段は、少なくとも前記受信回路の作動状態と未作動状態の2状態それぞれに対応したオフセット値を記憶している。
さらに、本発明の一局面は、前記携帯電話機は自機の温度を検出し出力する温度センサを備え、前記記憶手段は、動作状態毎において自機の温度により場合分けがなされたオフセット値を記憶しており、前記読み出し手段は、前記温度センサにより出力された温度に対応するオフセット値を前記記憶手段から読み出す。
In order to achieve the above object, one aspect of the present invention is a mobile phone including a casing that can be opened and closed, and detects a direction of magnetism and a display portion that is disposed at a position where the display screen is exposed in a closed state. Offset value indicating the direction and magnitude of each of the magnetic sensors that output and output, each of the open / closed states, each of a plurality of operating states of the circuit of the own machine, and magnetism that affects the magnetic sensor other than geomagnetism in the operating states Are stored in advance in association with each other, a reading unit that detects the operation state and reads an offset value corresponding to the operation state from the storage unit, and an offset value read by the reading unit, And geomagnetism calculating means for calculating the direction of geomagnetism based on the direction and magnitude of magnetism detected by the magnetic sensor.
Further, according to one aspect of the present invention, the mobile phone includes the display unit that displays an image reflecting the direction of geomagnetism calculated by the geomagnetism calculating unit on a screen in a closed state.
Further, according to the present invention, the mobile phone includes display means for displaying an image reflecting the direction of geomagnetism calculated by the geomagnetism calculation means corresponding to each of the open / closed states on the screen regardless of the open / closed state.
Further, according to one aspect of the present invention, the mobile phone includes a transmission circuit, and the storage unit stores an offset value corresponding to a transmission output of the transmission circuit.
Further, according to one aspect of the present invention, the display unit includes a backlight that illuminates a screen, and the storage unit stores at least offset values corresponding to two states of the backlight on state and the off state. Yes.
Further, according to one aspect of the present invention, the mobile phone includes a receiving circuit, and the storage unit stores at least offset values corresponding to two states of an operating state and an inoperative state of the receiving circuit.
Further, according to one aspect of the present invention, the mobile phone includes a temperature sensor that detects and outputs a temperature of the own device, and the storage unit stores the offset value classified according to the temperature of the own device for each operation state. The reading unit reads the offset value corresponding to the temperature output by the temperature sensor from the storage unit.

本発明に係る携帯電話機は、地磁気の方向を正しく取得することができる。   The mobile phone according to the present invention can correctly acquire the direction of geomagnetism.

上記実施の形態に係る携帯電話機の機能ブロック図である。It is a functional block diagram of the mobile phone according to the embodiment. 携帯電話機上にある各磁性体部品並びに磁気センサの配置例を示した図である。It is the figure which showed the example of arrangement | positioning of each magnetic body component and magnetic sensor which exist on a mobile telephone. 本発明に係る携帯電話機の各状態における磁気センサに与える地磁気以外の磁気の影響を示したオフセット値テーブルである。It is an offset value table showing the influence of magnetism other than geomagnetism on the magnetic sensor in each state of the mobile phone according to the present invention. 第一の実施の形態に係る携帯電話機の動作のフローチャートである。It is a flowchart of operation | movement of the mobile telephone which concerns on 1st embodiment. 第二の実施の形態に係る携帯電話機の動作のフローチャートである。It is a flowchart of operation | movement of the mobile telephone based on 2nd Embodiment.

本発明に係る磁気センサ付き携帯電話機の一実施の形態について図面を用いながら説明する。
<第一の実施例><構成> 図1は、本発明に係る磁気センサ付き携帯電話機180の機能ブロック図である。
An embodiment of a mobile phone with a magnetic sensor according to the present invention will be described with reference to the drawings.
First Embodiment <Configuration> FIG. 1 is a functional block diagram of a mobile phone 180 with a magnetic sensor according to the present invention.

同図に示すように、携帯電話機180は、表示部100と、通信部110と、音声部120と、温度センサ130と、記憶部140と、磁気センサ150と、操作部160と、制御部170から構成される。   As shown in the figure, the mobile phone 180 includes a display unit 100, a communication unit 110, an audio unit 120, a temperature sensor 130, a storage unit 140, a magnetic sensor 150, an operation unit 160, and a control unit 170. Consists of

図2には、磁気センサ150の配置例を模式的に示してあり、磁気センサ150を、カメラ210、マイク230、パワーアンプ220等各磁性体部品それぞれの発する磁気の強い領域211、221、231からなるべく離して図のように配置する。
磁性体部品としては他に、バイブレータ用のモータやスピーカ、開閉検知マグネット、アイソレータなどがある。
FIG. 2 schematically shows an arrangement example of the magnetic sensor 150, and the magnetic sensor 150 is a region having strong magnetism 211, 221, 231 generated by each magnetic part such as the camera 210, the microphone 230, and the power amplifier 220. As far as possible, arrange them as shown in the figure.
Other examples of magnetic parts include vibrator motors, speakers, open / close detection magnets, and isolators.

<表示部100> 表示部100は、LCD(Liquid Crystal Display)を含み、制御部170からの指示による画像を表示し、当該画像を照らすためのバックライトを有する。   <Display Unit 100> The display unit 100 includes an LCD (Liquid Crystal Display), displays an image according to an instruction from the control unit 170, and has a backlight for illuminating the image.

<通信部110> 通信部110は、アンテナ111から出力された受信信号を受話音声信号及び受信データ信号に復調し、復調した受話音声信号を音声部120に、受信データ信号を制御部170に出力するものである。
また、音声部120からのA/D変換された送話音声信号、及び制御部170から与えられる電子メールなどの送信データ信号を変調し、アンテナ111から出力する機能を有する。
<Communication unit 110> The communication unit 110 demodulates the reception signal output from the antenna 111 into a reception voice signal and a reception data signal, and outputs the demodulated reception voice signal to the voice unit 120 and the reception data signal to the control unit 170. To do.
In addition, it has a function of modulating the A / D converted transmission voice signal from the voice unit 120 and a transmission data signal such as an electronic mail given from the control unit 170 and outputting the modulated data signal from the antenna 111.

<音声部120> 音声部120は、通信部110から出力された受話音声信号をD/A変換してスピーカ122に出力すると共に、マイク121から取得した送話音声信号を
A/D変換し、生成した信号を通信部110に出力する機能を有する。
<Audio unit 120> The audio unit 120 D / A converts the received audio signal output from the communication unit 110 and outputs it to the speaker 122, and A / D converts the transmission audio signal acquired from the microphone 121, A function of outputting the generated signal to the communication unit 110 is provided.

<温度センサ130> 温度センサ130は、制御部170からの要求があった時点の自機の温度情報を検出し、制御部170に出力する機能を有する。   <Temperature sensor 130> The temperature sensor 130 has a function of detecting temperature information of the own device at the time when a request is received from the control unit 170 and outputting the temperature information to the control unit 170.

<記憶部140> 記憶部140は、ROM(Read Only Memory)とRAM(Random Access Memory)を含み、各種データやプログラムを記憶しておくものである。   <Storage Unit 140> The storage unit 140 includes a ROM (Read Only Memory) and a RAM (Random Access Memory), and stores various data and programs.

ROMは、特に、自機の各状態において変化する磁気センサに入力するためのオフセット値と、自機の回路の動作状態や温度によって場合分けがなされ、それぞれの場合に対応付けたオフセット値テーブル142と、ユーザの向いている方位を前記表示部100に表示させるためのナビゲーションプログラムを保持している。
RAMは、制御部からの指示により変化する自機の状態を示す状態フラグ141を保持している。
In particular, the ROM is divided into cases depending on the offset value to be input to the magnetic sensor that changes in each state of the device itself, the operation state and temperature of the circuit of the device itself, and the offset value table 142 associated with each case. And a navigation program for causing the display unit 100 to display the orientation that the user is facing.
The RAM holds a status flag 141 that indicates the status of the own device that changes according to an instruction from the control unit.

状態フラグ141、及び、オフセット値テーブル142の詳細については後述する。   Details of the status flag 141 and the offset value table 142 will be described later.

<磁気センサ150> 磁気センサ150は、一つのオフセット値を記憶するレジスタを有し、当該レジスタにオフセット値が与えられる。
検出した磁気の方向から当該オフセット値の方向を差し引いた方向を、正しい地磁気の方向として制御部170に出力する機能を有する。
地磁気の方向は3次元ベクトル成分x、y、zに分割して出力される。
<Magnetic sensor 150> The magnetic sensor 150 has a register for storing one offset value, and the offset value is given to the register.
It has a function of outputting the direction obtained by subtracting the direction of the offset value from the detected magnetic direction to the control unit 170 as a correct geomagnetic direction.
The direction of geomagnetism is divided into three-dimensional vector components x, y, z and output.

<操作部160> 操作部160は、テンキーと、オンフックキーと、オフフックキーと、カーソルキー等を含み、ダイヤル操作、通話開始操作、通話終了操作、ナビゲーションプログラムの起動操作等に用いられ、ユーザのキー入力を受け付けて、当該入力内容を制御部170に出力する機能を有する。
ここで言うナビゲーションプログラムとは、GPSと連動させて表示部100に地図を表示させ、自機の位置と北の方向を地図上に示すものなどが考えられる。
<Operation Unit 160> The operation unit 160 includes a numeric keypad, an on-hook key, an off-hook key, a cursor key, and the like, and is used for a dial operation, a call start operation, a call end operation, a navigation program activation operation, and the like. It has a function of receiving a key input and outputting the input content to the control unit 170.
The navigation program mentioned here may be a program that displays a map on the display unit 100 in conjunction with the GPS, and shows the position of the aircraft and the north direction on the map.

<制御部170> 制御部170は、CPUを含み、携帯電話機180の各部を制御するものである。   <Control Unit 170> The control unit 170 includes a CPU and controls each unit of the mobile phone 180.

また、状態フラグ141の内容を書き換える機能を有する。   In addition, it has a function of rewriting the contents of the status flag 141.

つまり、LCDバックライトのフラグについては、点灯状態にあるバックライトは、省電力のために一定時間が経つと制御部170が消灯させるが、制御部170は、その消灯命令を出すと同時に、バックライトのフラグをONからOFFに書き換え、逆にバックライトが消灯状態にある場合からユーザのキー入力操作などにより点灯させる場合に同時にバックライトのフラグをOFFからONに書き換える。   In other words, regarding the LCD backlight flag, the controller 170 turns off the backlight in a lighting state after a certain period of time for power saving, but the controller 170 issues a command to turn it off at the same time. The light flag is rewritten from ON to OFF, and conversely, the backlight flag is rewritten from OFF to ON at the same time when the backlight is turned off by a user key input operation or the like.

送信回路のフラグについては、予め、基地局への位置情報の送信やメールの送信などそれぞれの場合についてどの出力程度で送信回路を動作させているかの場合分けがなされており、その送信内容の違いによって当該送信が行われる時にフラグを書き換える。   Regarding the flag of the transmission circuit, it is divided in advance according to the output level at which the transmission circuit is operated for each case such as transmission of position information to the base station and transmission of mail, and the difference in the transmission contents When the transmission is performed, the flag is rewritten.

受信回路のフラグは、メールの受信などが発生することにより、制御部170は、受信回路を動作させると同時に受信回路のフラグをOFFからONに書き換える。
受信が完了した時点で受信回路を停止させ、受信回路のフラグをONからOFFに書き換える。
When the reception circuit flag is received by mail or the like, the control unit 170 operates the reception circuit and simultaneously rewrites the reception circuit flag from OFF to ON.
When the reception is completed, the reception circuit is stopped, and the flag of the reception circuit is rewritten from ON to OFF.

更に、制御部170は、ナビゲーションプログラムの動作中に記憶部140の状態フラグ141を読み出し、温度センサ130から得た自機の温度と常温との差を求め、記憶部140にあるオフセット値テーブル142から当該状態フラグと温度差の4つの条件に該当するオフセット値を読み出し、当該オフセット値を磁気センサ150に出力し、磁気センサ150のレジスタに設定する機能を有する。
<データ> <状態フラグ141> 状態フラグ141は、LCDバックライトの動作状態と、送信回路の動作状態と、受信回路の動作状態についての情報を含む。
LCDバックライトの動作状態とはバックライトを点灯させているための電流が流れているか否かの2状態を示し、送信回路の動作状態とは、パワーアンプによる送信がどのレベル(0、低出力、中出力、高出力)で行われているかの4状態を示し、受信回路の動作状態とは、受信が行われるために発生する電流が流れているか否かの2状態を示している。
Further, the control unit 170 reads the status flag 141 in the storage unit 140 during the operation of the navigation program, obtains the difference between the temperature of the own device obtained from the temperature sensor 130 and the normal temperature, and stores the offset value table 142 in the storage unit 140. The offset value corresponding to the four conditions of the state flag and the temperature difference is read from the output, the offset value is output to the magnetic sensor 150, and set in the register of the magnetic sensor 150.
<Data><Status Flag 141> The status flag 141 includes information about the operating status of the LCD backlight, the operating status of the transmitting circuit, and the operating status of the receiving circuit.
The operation state of the LCD backlight indicates two states of whether or not the current for turning on the backlight is flowing. The operation state of the transmission circuit indicates the level (0, low output) of transmission by the power amplifier. , Medium output and high output), and the operation state of the receiving circuit indicates two states of whether or not a current generated for reception is flowing.

<オフセット値テーブル142> オフセット値テーブル142は、図3に示すように、前記状態フラグ141の3つのフラグの状態と、自機の常温からの温度変化状態の4状態に場合分けがなされており、それぞれの場合において磁気センサ150に与えられる各磁性体部品の発生している磁気や回路を流れる電流の発生させている磁気の影響の総合値を示したオフセット値が記述されている。   <Offset Value Table 142> As shown in FIG. 3, the offset value table 142 is divided into four states: the state of the three flags of the state flag 141 and the state of temperature change from the normal temperature of the own machine. In each case, an offset value indicating the total value of the influence of the magnetism generated by each magnetic component applied to the magnetic sensor 150 and the magnetism generated by the current flowing through the circuit is described.

温度変化の場合分けについてオフセット値テーブル142では、常温をTとして、地磁気の方向の検出を行うときの自機の温度をtとすると、t−T≦−20℃の場合を−20℃の欄に、−20℃<t−T≦+20℃の場合を+0℃の欄に、+20℃<t−T≦+40℃の場合を+20℃の欄に、t−T>+40℃の場合を+40度の欄に記している。
例えば、LCDバックライトがOFFで、パワーアンプの送信パワーがLowPowerで、受信回路がOFFで、自機の温度変化が通常状態よりも+20℃から+40℃の範囲にあるならば、オフセット値(x11、y11、z11)を読み出す。
In case of temperature change, in the offset value table 142, when normal temperature is T and the temperature of the own machine when detecting the direction of geomagnetism is t, the case of t−T ≦ −20 ° C. is a column of −20 ° C. In the case of −20 ° C. <t−T ≦ + 20 ° C., the column of + 0 ° C., the case of + 20 ° C. <t−T ≦ + 40 ° C. in the column of + 20 ° C., and the case of t−T> + 40 ° C. are + 40 ° C. It is written in the column.
For example, if the LCD backlight is OFF, the transmission power of the power amplifier is LowPower, the reception circuit is OFF, and the temperature change of the own device is in the range of + 20 ° C. to + 40 ° C. than the normal state, the offset value (x11 , Y11, z11).

オフセット値(X、Y、Z)は、磁気センサに与えられる自機の各磁性体部品が発生させている磁気と電流が発生する磁気の影響を加味した値であり、三次元方向成分で表記している。
この値は、実機相当の携帯電話機を作成し、各状態において検出される磁気の方向のベクトルの成分値を計測し、その成分値から、地磁気の方向のみが検出できる条件下において計測された地磁気の方向のベクトルの成分値を差し引いたものである。
このオフセット値は、出荷される携帯電話機全てのROMに共通して記憶されている。
送信回路と受信回路が同時に動作することがあるのは、周波数分割方式による通信を行っているためである。
また、常温Tは例えば、20℃と予めROMに記憶されている。
温度による場合分けがなされているのは、温度によって流れる電流の電流値(特に送信回路を作動させるために送信パワーアンプから流れる電流の電流値)が異なってきて、合わせて磁気の強さもまた変化してしまうためである。
<動作> 次に、地磁気の方向を検出し表示するまでの過程を図4のフローチャートを用いて説明する。
この地磁気の方向を検出し表示する一連の動作は、ユーザのナビゲーションプログラムの起動により開始され、基本的に一定時間毎(例えば15秒毎)に行われるが、自機の受信回路の動作状態が切り替わった直後など磁気が安定しないときには磁気が安定すると思われる時間だけ待ってから行われる。
つまり、回路の動作状態が定常的になっているときに検出が行われる。
制御部170はまず、状態フラグ141を参照して、LCDバックライトが点灯しているか否かを読み出し(ステップS401)、次にパワーアンプの送信パワーの状態を読み出し(ステップS403)、最後に受信回路が作動しているか否かを読み出す(ステップS
405)。
The offset values (X, Y, Z) are values that take into account the effects of the magnetism generated by each magnetic component of the machine and the magnetism generated by the current applied to the magnetic sensor, and are expressed in three-dimensional direction components. doing.
This value is obtained by creating a mobile phone equivalent to a real device, measuring the vector component value of the magnetic direction detected in each state, and measuring the geomagnetism measured under the condition that only the geomagnetic direction can be detected from the component value. Is obtained by subtracting the component value of the vector in the direction of.
This offset value is stored in common in all ROMs of mobile phones to be shipped.
The reason why the transmission circuit and the reception circuit may operate simultaneously is because communication is performed using a frequency division method.
The room temperature T is stored in advance in the ROM as 20 ° C., for example.
Cases are classified according to temperature because the current value of the current that flows depending on the temperature (especially the current value of the current that flows from the transmission power amplifier to operate the transmission circuit) differs, and the magnetic strength also changes. It is because it will do.
<Operation> Next, a process until the direction of geomagnetism is detected and displayed will be described with reference to the flowchart of FIG.
A series of operations for detecting and displaying the direction of the geomagnetism is started by the user's activation of the navigation program, and is basically performed at regular time intervals (for example, every 15 seconds). When the magnetism is not stable, such as immediately after switching, it is performed after waiting for the time when the magnetism seems to be stable.
That is, the detection is performed when the operation state of the circuit is steady.
First, the controller 170 refers to the status flag 141 to read out whether or not the LCD backlight is lit (step S401), then reads out the status of the transmission power of the power amplifier (step S403), and finally receives it. Read whether the circuit is operating (step S
405).

その後、温度センサ130から磁気センサ150が磁気の方向を検出するときの自機の温度情報を取得し(ステップS407)、常温との温度差を求め、先の状態フラグから読み出した情報及び求められた温度差に従い、オフセット値テーブル142において該当するオフセット値を読み出す(ステップS409)。
次に、制御部170は、読み出したオフセット値を磁気センサ150に設定する(ステップS411)。
当該磁気センサ150は、磁気の方向を検出し、オフセット値による補正を行って、正しい地磁気の方向を制御部170に出力し、制御部170はその方向に基づいた画像を表示部100に表示させる(ステップS413)。
ユーザが終了の入力を行うことによってナビゲーションプログラムを停止させることで一連の動作を終了する(ステップS415のYES)。
それまで(ステップS415のNO)はこの一連の動作を繰り返す。
<第二の実施例> 第一の実施例では、磁気センサ150にオフセット値を与え、その状態を原点として磁気の方向を出力する機能を持たせたけれども、第二の実施例では、磁気センサ150がこの機能を有していない場合に関してを記述する。
この場合、磁気センサ150は、磁気の方向を検出し制御部170に出力する機能のみを有し、制御部170が、磁気センサ150から出力された磁気の方向を、オフセット値で補正し正しい地磁気の方向を算出する機能を有する。
起動条件や終了条件は第一の実施例と同様である。
<動作> 第二の実施例の動作については図5のフローチャートを用いて説明する。
After that, the temperature information of the own device when the magnetic sensor 150 detects the direction of magnetism is acquired from the temperature sensor 130 (step S407), the temperature difference from the normal temperature is obtained, and the information read from the previous state flag and the obtained information are obtained. According to the detected temperature difference, the corresponding offset value is read in the offset value table 142 (step S409).
Next, the control unit 170 sets the read offset value in the magnetic sensor 150 (step S411).
The magnetic sensor 150 detects the direction of magnetism, performs correction using an offset value, and outputs the correct geomagnetic direction to the control unit 170. The control unit 170 causes the display unit 100 to display an image based on the direction. (Step S413).
A series of operation | movement is complete | finished by stopping a navigation program when a user inputs completion | finish (YES of step S415).
Until then (NO in step S415), this series of operations is repeated.
<Second Embodiment> In the first embodiment, an offset value is given to the magnetic sensor 150 and the function of outputting the direction of magnetism with the state as an origin is provided. In the second embodiment, the magnetic sensor The case where 150 does not have this function will be described.
In this case, the magnetic sensor 150 has only a function of detecting the magnetic direction and outputting it to the control unit 170. The control unit 170 corrects the magnetic direction output from the magnetic sensor 150 with the offset value and correct geomagnetism. The function of calculating the direction of
The start condition and end condition are the same as in the first embodiment.
<Operation> The operation of the second embodiment will be described with reference to the flowchart of FIG.

制御部170はまず、状態フラグ141を参照して、LCDバックライトが点灯しているか否かを読み出し(ステップS501)、次にパワーアンプの送信パワーの状態を読み出し(ステップS503)、最後に受信回路が作動しているか否かを読み出す(ステップS505)。   First, the controller 170 refers to the status flag 141 to read out whether or not the LCD backlight is lit (step S501), then reads the state of the transmission power of the power amplifier (step S503), and finally receives it. Whether or not the circuit is operating is read (step S505).

その後、温度センサ130から磁気センサ150が磁気の方向を検出するときの自機の温度情報を取得し(ステップS507)、常温との温度差を求め、先の状態フラグから読み出した情報及び温度変化率に従い、オフセット値テーブル142において諸条件に該当するオフセット値を読み出す(ステップS511)。   Thereafter, the temperature information of the own device when the magnetic sensor 150 detects the direction of magnetism is acquired from the temperature sensor 130 (step S507), the temperature difference from the normal temperature is obtained, and the information read from the previous state flag and the temperature change According to the rate, the offset value corresponding to the various conditions is read in the offset value table 142 (step S511).

磁気センサ150は、磁気の方向を検出し(ステップS509)、制御部170に出力する。
制御部170は、出力された磁気の方向のベクトルx、y、zを、読み出したオフセット値のX、Y、Z成分で減算することで地磁気のベクトル成分のみを算出し、その方向に基づいた画像を表示部100に表示させる(ステップS513)。
The magnetic sensor 150 detects the direction of magnetism (step S509) and outputs it to the control unit 170.
The control unit 170 calculates only the geomagnetic vector component by subtracting the output vector x, y, z of the magnetic direction by the X, Y, Z component of the read offset value, and based on the direction An image is displayed on the display unit 100 (step S513).

ユーザが終了の入力を行い、ナビゲーションプログラムを停止させることで一連の動作を終了する(ステップS415のYES)。
それまで(ステップS415のNO)はこの一連の動作を繰り返す。
<補足> なお、上記実施の形態では、携帯電話機の状態について四つの場合分けを行ったが、場合分けはこの四つに限られないことは言うまでも無いことである。
上記実施の形態では、常温からの温度変化状態で場合分けを行ったが、携帯電話機の温度そのもの、つまり自機温度20℃〜30℃の場合、自機温度30℃〜40℃の場合などで場合分けを行っても良いのはもちろんのこと、そのほかにも磁気センサに要因を与える磁気を放つ電流が存在するならば、それに対応する場合分けを行い、それぞれの場合において必要になるオフセット値を計測し、オフセット値テーブル142に記入しておく。
また、上記実施の形態では、折りたたみ型携帯電話機を開いた状態で地磁気の方向を検出
することを想定して記述したが、閉じた状態においても地磁気の方向を測定しても良い。近年の携帯電話機はLCDがある側の筐体の両面に表示画面が存在するのが普通になってきており、閉じた状態でも表示画面を見ることができるようになっているためである。
この場合にはオフセット値テーブル142では、更に、携帯電話機の開閉状態による場合分けがなされる。
携帯電話機を開いている状態と閉じている状態では自機の各磁性体部品と磁気センサとの相対的距離が変化するため自然に磁気センサに与えられる磁気の強さも変化してしまうためである。
また、上記第二の実施例ではオフセット値による補正を減算で行ったが、磁気センサの検出値とオフセット値に基づく演算の結果として、地磁気以外の磁気の影響を取り除いて、地磁気を求めるように構成するのであれば、そのオフセット値と演算の対はどのようなものであっても良い。
本発明に係る携帯電話機は、上記構成を備えることにより、地磁気の方向を正しく取得することができる。
また、前記地磁気算定手段は、前記磁気センサに搭載されていることとしてよい。
The user inputs termination and stops the navigation program, thereby ending the series of operations (YES in step S415).
Until then (NO in step S415), this series of operations is repeated.
<Supplement> In the above embodiment, four cases are classified for the state of the mobile phone, but it goes without saying that the case division is not limited to these four.
In the above embodiment, the case is classified according to the temperature change state from the normal temperature. However, the temperature of the mobile phone itself, that is, the case where the own device temperature is 20 ° C. to 30 ° C., the case where the own device temperature is 30 ° C. to 40 ° C. Of course, if there is a current that emits magnetism that causes the magnetic sensor, the corresponding case is divided and the offset value required in each case is set. Measure and enter the offset value table 142.
Further, in the above embodiment, the description was made on the assumption that the direction of geomagnetism is detected with the folding mobile phone opened, but the direction of geomagnetism may be measured even in the closed state. This is because in recent mobile phones, display screens are usually present on both sides of the housing on which the LCD is located, and the display screen can be viewed even in a closed state.
In this case, the offset value table 142 further divides the case according to the open / close state of the mobile phone.
This is because the relative strength between each magnetic part of the mobile phone and the magnetic sensor changes between the opened state and the closed state of the mobile phone, and the magnetic strength given to the magnetic sensor naturally changes. .
Further, in the second embodiment, the correction by the offset value is performed by subtraction. However, as a result of the calculation based on the detection value of the magnetic sensor and the offset value, the influence of magnetism other than the geomagnetism is removed and the geomagnetism is obtained. As long as it is configured, any pair of the offset value and calculation may be used.
The mobile phone according to the present invention can acquire the direction of geomagnetism by providing the above configuration.
The geomagnetism calculating means may be mounted on the magnetic sensor.

これにより、磁気センサにオフセット値を設定し、磁気センサにより地磁気の方向を出力することができる。   Thereby, an offset value can be set to the magnetic sensor, and the direction of geomagnetism can be output by the magnetic sensor.

また、前記地磁気算定手段は、前記磁気センサの外部に備えられており、前記磁気センサから出力された磁気の方向及び大きさに基づいて前記算定を行うこととしてよい。   The geomagnetism calculating means may be provided outside the magnetic sensor, and may perform the calculation based on the direction and magnitude of magnetism output from the magnetic sensor.

これにより、磁気センサにオフセット値を設定して地磁気の方向のみを出力できない場合でも、オフセット値と磁気センサにより検出された磁気の方向から地磁気の方向を算出できる。   Thereby, even when an offset value is set in the magnetic sensor and only the direction of geomagnetism cannot be output, the direction of geomagnetism can be calculated from the offset value and the direction of magnetism detected by the magnetic sensor.

また、前記携帯電話機は、前記地磁気算定手段により算定された地磁気の方向を反映した画像を画面に表示する表示手段を備えることとしてよい。   The mobile phone may further include display means for displaying an image reflecting the direction of geomagnetism calculated by the geomagnetism calculation means on the screen.

これにより、検出した地磁気の方向を反映させた画像を表示することができる。   Thereby, an image reflecting the detected direction of geomagnetism can be displayed.

また、前記表示手段は、画面を照らすバックライトを備え、前記記憶手段は、少なくとも前記バックライトの点灯状態と消灯状態の2状態それぞれに対応したオフセット値を記憶していることとしてよい。
これにより、携帯電話機のLCDのバックライトを点灯させている状態と消灯させている状態の少なくとも2状態を考慮し、バックライトを点灯させるための電流が流れているときと流れていないときで異なるオフセット値を利用でき、バックライトを点灯させている電流の発生する磁気が磁気センサに与える影響を取り除ける。
The display means may include a backlight for illuminating the screen, and the storage means may store at least offset values corresponding to two states of the backlight on and off.
Accordingly, in consideration of at least two states, that is, the state where the backlight of the LCD of the mobile phone is turned on and the state where the backlight is turned off, it differs depending on whether the current for turning on the backlight is flowing or not. The offset value can be used, and the influence of the magnetism generated by the current that turns on the backlight on the magnetic sensor can be removed.

また、前記携帯電話機は、受信回路を備え、前記記憶手段は、少なくとも前記受信回路の作動状態と未作動状態の2状態それぞれに対応したオフセット値を記憶していることとしてよい。
これにより、受信回路が作動しているときと作動していないときの少なくとも2状態を考慮し、受信回路を作動させるための電流が流れているときと流れていないときで異なるオフセット値を利用でき、受信回路を動作させるための電流が流れることによって発生する磁気が磁気センサに与える影響を取り除ける。
In addition, the mobile phone may include a receiving circuit, and the storage unit may store at least offset values corresponding to each of two operating states of the receiving circuit, that is, an inoperative state.
Thus, considering at least two states when the receiving circuit is operating and when not operating, different offset values can be used when the current for operating the receiving circuit is flowing and when the current is not flowing. The influence of the magnetism generated by the flow of the current for operating the receiving circuit on the magnetic sensor can be eliminated.

また、前記携帯電話機は、送信回路を備え、前記記憶手段は、前記送信回路の複数の送信出力それぞれに対応したオフセット値を記憶していることとしてよい。
これにより、送信内容によって異なってくる電流を発生させるための出力程度による場合
分けをしたオフセット値を利用でき、送信回路を作動させるための電流が流れることによって発生する磁気が磁気センサに与える影響を取り除ける。
The mobile phone may include a transmission circuit, and the storage unit may store an offset value corresponding to each of a plurality of transmission outputs of the transmission circuit.
This makes it possible to use an offset value that is divided according to the degree of output for generating a current that varies depending on the transmission content, and to influence the magnetic sensor generated by the flow of current for operating the transmission circuit on the magnetic sensor. Can be removed.

また、前記携帯電話機は自機の温度を検出し出力する温度センサを備え、前記記憶手段は、動作状態毎において自機の温度により場合分けがなされたオフセット値を記憶しており、前記読み出し手段は、前記温度センサにより出力された温度に対応するオフセット値を前記記憶手段から読み出すこととしてよい。
これにより、携帯電話機の温度状態によって異なってくる電流の強度のために変化する磁気の影響を加味したオフセット値を利用できる。
これは、電流の強度は、その時の携帯電話機の温度によって異なってくるものであり、それによって変化する磁気が磁気センサに与える影響を取り除ける。
In addition, the mobile phone includes a temperature sensor that detects and outputs the temperature of the own device, and the storage means stores an offset value classified according to the temperature of the own device for each operation state, and the reading means May read out an offset value corresponding to the temperature output by the temperature sensor from the storage means.
As a result, an offset value can be used in consideration of the influence of magnetism that changes due to the intensity of the current that varies depending on the temperature state of the mobile phone.
This is because the current intensity varies depending on the temperature of the mobile phone at that time, and the influence of the changing magnetism on the magnetic sensor can be eliminated.

100 表示部
110 通信部
120 音声部
130 温度センサ
140 記憶部
141 状態フラグ
142 オフセット値テーブル
150 磁気センサ
160 操作部
170 制御部
180 携帯電話機
DESCRIPTION OF SYMBOLS 100 Display part 110 Communication part 120 Audio | voice part 130 Temperature sensor 140 Storage part 141 Status flag 142 Offset value table 150 Magnetic sensor 160 Operation part 170 Control part 180 Mobile phone

Claims (7)

開閉可能な筐体を備える携帯電話機であって、
閉じた状態で表示画面が露出する位置に配置した表示部と、
磁気の方向を検出して出力する磁気センサと、
開閉状態のそれぞれと、自機の回路の複数の動作状態それぞれと、当該動作状態において地磁気以外で前記磁気センサの出力値に影響を与える磁気についての方向及び大きさを示すオフセット値とを対応付けて予め記憶している記憶手段と、
前記動作状態を検出し、当該動作状態に対応するオフセット値を前記記憶手段から読み出す読み出し手段と、
前記読み出し手段により読み出されたオフセット値と、前記磁気センサにより検出された磁気の方向及び大きさに基づき地磁気の方向を算定する地磁気算定手段とを備える
ことを特徴とする携帯電話機。
A mobile phone having a case that can be opened and closed,
A display unit disposed at a position where the display screen is exposed in a closed state;
A magnetic sensor that detects and outputs the direction of magnetism;
Corresponding each of the open / closed state, each of a plurality of operation states of its own circuit, and an offset value indicating the direction and magnitude of magnetism that affects the output value of the magnetic sensor other than geomagnetism in the operation state Storage means stored in advance,
A reading unit that detects the operation state and reads an offset value corresponding to the operation state from the storage unit;
A cellular phone comprising: an offset value read by the reading means; and a geomagnetism calculating means for calculating the direction of geomagnetism based on the direction and magnitude of magnetism detected by the magnetic sensor.
前記携帯電話機は、前記地磁気算定手段により算定された地磁気の方向を反映した画像を閉じた状態で画面に表示する前記表示部を備えることを特徴とする請求項1記載の携帯電話機。 The mobile phone according to claim 1, further comprising: the display unit configured to display an image reflecting the direction of geomagnetism calculated by the geomagnetism calculating unit on a screen in a closed state. 前記携帯電話機は、開閉状態のそれぞれに対応して前記地磁気算定手段により算定された地磁気の方向を反映した画像を、開閉状態に関係なく画面に表示する表示手段を備えることを特徴とする請求項1記載の携帯電話機。 The mobile phone includes display means for displaying on the screen an image reflecting the direction of geomagnetism calculated by the geomagnetism calculating means corresponding to each of the open / closed states regardless of the open / closed state. 1. The mobile phone according to 1. 前記携帯電話機は、送信回路を備え、
前記記憶手段は、
前記送信回路の送信出力に対応したオフセット値を記憶していることを特徴とする請求項1〜3記載の携帯電話機。
The mobile phone includes a transmission circuit,
The storage means
4. The mobile phone according to claim 1, wherein an offset value corresponding to a transmission output of the transmission circuit is stored.
前記表示部は、画面を照らすバックライトを備え、
前記記憶手段は、
少なくとも前記バックライトの点灯状態と消灯状態の2状態それぞれに対応したオフセット値を記憶していることを特徴とする請求項1〜4記載の携帯電話機。
The display unit includes a backlight that illuminates the screen,
The storage means
5. The mobile phone according to claim 1, wherein offset values corresponding to at least two states of a backlight on state and a light off state are stored.
前記携帯電話機は、受信回路を備え、
前記記憶手段は、
少なくとも前記受信回路の作動状態と未作動状態の2状態それぞれに対応したオフセッ
ト値を記憶していることを特徴とする請求項1〜4記載の携帯電話機。
The mobile phone includes a receiving circuit,
The storage means
5. The cellular phone according to claim 1, wherein offset values corresponding to at least two operating states of said receiving circuit are stored.
前記携帯電話機は自機の温度を検出し出力する温度センサを備え、
前記記憶手段は、動作状態毎において自機の温度により場合分けがなされたオフセット値を記憶しており、
前記読み出し手段は、前記温度センサにより出力された温度に対応するオフセット値を前記記憶手段から読み出すことを特徴とする請求項1〜6記載の携帯電話機。
The mobile phone includes a temperature sensor that detects and outputs the temperature of the mobile phone,
The storage means stores an offset value that is classified according to the temperature of the own machine for each operation state,
The cellular phone according to claim 1, wherein the reading unit reads an offset value corresponding to the temperature output by the temperature sensor from the storage unit.
JP2011095967A 2011-04-22 2011-04-22 Mobile phone Expired - Fee Related JP5419920B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011095967A JP5419920B2 (en) 2011-04-22 2011-04-22 Mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011095967A JP5419920B2 (en) 2011-04-22 2011-04-22 Mobile phone

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009196298A Division JP4772140B2 (en) 2009-08-27 2009-08-27 Mobile phone

Publications (2)

Publication Number Publication Date
JP2011166822A JP2011166822A (en) 2011-08-25
JP5419920B2 true JP5419920B2 (en) 2014-02-19

Family

ID=44596857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011095967A Expired - Fee Related JP5419920B2 (en) 2011-04-22 2011-04-22 Mobile phone

Country Status (1)

Country Link
JP (1) JP5419920B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015224931A (en) * 2014-05-27 2015-12-14 ソニー株式会社 Information processing device, information processing method, and computer program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0735553A (en) * 1993-07-21 1995-02-07 Toyota Motor Corp Bearing detecting device
JP3807296B2 (en) * 2001-11-30 2006-08-09 ヤマハ株式会社 Foldable mobile terminal

Also Published As

Publication number Publication date
JP2011166822A (en) 2011-08-25

Similar Documents

Publication Publication Date Title
US9521651B2 (en) Mobile electronic device
JP4251653B2 (en) Portable terminal device and program
US9055164B2 (en) Mobile terminal device, time control method, and timer control program
US8266808B2 (en) Portable electronic apparatus and geomagnetism sensor calibration method
JP2009288233A (en) Portable terminal, travel path recording method and program
KR20040051202A (en) Apparatus for instituting function by movement in handset and method thereof
JP4393916B2 (en) Mobile phone with magnetic sensor
US20090132198A1 (en) Mobile Electronic Apparatus and Method for Processing Bearing of Mobile Electronic Apparatus
JP4772140B2 (en) Mobile phone
KR20080092463A (en) Mobile electronic device and its direction display method
JP5419920B2 (en) Mobile phone
JP2019219308A (en) Electronic apparatus, information processing method, and information processing program
JP4657742B2 (en) Mobile terminal device
JP4867748B2 (en) Indoor wireless quality measuring device
JP2008064662A (en) Portable electronic equipment
JP2003256129A (en) Portable terminal unit and its control method
JP4330378B2 (en) Display device
JP4669751B2 (en) Direction measuring apparatus with wireless communication function, direction measuring method, and program
JP2009229062A (en) Portable electronic apparatus
JP5207293B2 (en) Terminal device and program
JP2006287553A (en) Mobile phone
JP4741888B2 (en) Direction measuring device, direction measuring method and direction measuring program
JP2013236348A (en) Portable terminal
JP2003198670A (en) Portable telephone system and its control method
JP5158434B2 (en) Information display device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110422

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130730

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130930

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131022

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131119

R150 Certificate of patent or registration of utility model

Ref document number: 5419920

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees