[go: up one dir, main page]

CN1957228A - Mobile bearing calculation device and bearing correction method - Google Patents

Mobile bearing calculation device and bearing correction method Download PDF

Info

Publication number
CN1957228A
CN1957228A CN200580016638.3A CN200580016638A CN1957228A CN 1957228 A CN1957228 A CN 1957228A CN 200580016638 A CN200580016638 A CN 200580016638A CN 1957228 A CN1957228 A CN 1957228A
Authority
CN
China
Prior art keywords
display
control unit
map
unit
accuracy
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.)
Granted
Application number
CN200580016638.3A
Other languages
Chinese (zh)
Other versions
CN1957228B (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
Priority claimed from JP2004107772A external-priority patent/JP4093982B2/en
Application filed by Kyocera Corp filed Critical Kyocera Corp
Priority claimed from PCT/JP2005/006332 external-priority patent/WO2005095892A1/en
Publication of CN1957228A publication Critical patent/CN1957228A/en
Application granted granted Critical
Publication of CN1957228B publication Critical patent/CN1957228B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Navigation (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Traffic Control Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Instructional Devices (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

A mobile map display device has a terrestrial magnetism sensor for measuring terrestrial magnetism, a display section, and a control section capable of calculating a geographical bearing based on the value measured by the terrestrial magnetism sensor and having first display processing and second processing where, when the control section obtains a map and makes it displayed on the display section, the first display processing causes the map to be displayed in a direction associated with the calculated bearing and the second display processing causes the map to be displayed in a manner fixed in a predetermined bearing. In displaying the map, upon detecting deterioration in the accuracy of the terrestrial magnetism sensor, the control section causes the map to be displayed by the second display processing.

Description

移动方位计算装置及方位校正方法Mobile orientation calculation device and orientation correction method

技术领域technical field

本发明涉及一种具备用于测量地理方位的地磁传感器的可移动通信设备(例如移动电话),以及一种用于校正地磁传感器的方法。The invention relates to a mobile communication device, such as a mobile phone, provided with a geomagnetic sensor for measuring a geographical position, and a method for calibrating the geomagnetic sensor.

背景技术Background technique

通常,需要一种设备来确认当前地点的地理位置并通过地图来提供对去往目标地点的路线的指引。作为满足这种需求的一种设备,汽车导航系统是公知的(例如,专利文献1、专利文献2和专利文献3)。Usually, a device is needed to confirm the geographic location of the current location and provide directions to the destination location through a map. As an apparatus meeting such a demand, a car navigation system is known (for example, Patent Document 1, Patent Document 2, and Patent Document 3).

一般而言,汽车导航系统通过接收并处理从多个GPS(全球定位系统)卫星发送的信号(后文称作“GPS信号”)来计算当前地点的地理位置,从系统中的存储单元(DVD、硬盘等)中所存储的数据库中读出关于该当前地点环境的地图数据,并将其显示在显示器上。另外,通过使用汽车速度传感器和陀螺传感器来计算车辆的运动路径,执行地图匹配处理以检测该运动路径与地图上的道路之间的一致程度,并校正定位的错误。In general, a car navigation system calculates the geographic position of a current location by receiving and processing signals transmitted from a plurality of GPS (Global Positioning System) satellites (hereinafter referred to as "GPS signals"), from a storage unit (DVD , hard disk, etc.) read out the map data about the current location environment and display it on the display. In addition, by using a vehicle speed sensor and a gyro sensor to calculate the moving path of the vehicle, map matching processing is performed to detect the degree of coincidence between the moving path and the road on the map, and to correct positioning errors.

然而,对于用户而言,即使不在车辆中,也需要确定其自身位置并获悉去往目标地点的路线。作为满足这种需求的设备,安装有简单地图信息显示处理功能的移动蜂窝电话已经出现。However, there is a need for the user to determine his or her own location and know the route to a destination even when not in the vehicle. As a device meeting such a demand, a mobile cellular phone equipped with a simple map information display processing function has appeared.

最初,具备地图信息显示处理功能的移动蜂窝电话缺少用于测量方位的设备,因此难以实现用户易于理解的地图显示,例如汽车导航系统中通常执行的航向向上(heading up)显示(显示旋转地图,从而前进方向指向屏幕顶部)。Initially, mobile cellular phones equipped with a map information display processing function lacked a device for measuring the orientation, so it was difficult to realize a map display that is easy for the user to understand, such as the heading up display (displaying a rotating map, so that the forward direction points to the top of the screen).

因此,近年来,已经提出了这样的移动蜂窝电话,其所具备的地图信息显示处理功能通过使用地磁传感器来测量方位,并实现航向向上显示。Therefore, in recent years, there have been proposed mobile cellular phones provided with a map information display processing function to measure an azimuth by using a geomagnetic sensor, and to realize heading-up display.

专利文献1:日本专利公开(A)No.2004-28837Patent Document 1: Japanese Patent Laid-Open (A) No. 2004-28837

专利文献2:日本专利公开(A)No.2002-328042Patent Document 2: Japanese Patent Laid-Open (A) No. 2002-328042

专利文献3:日本专利公开(A)No.10-197258Patent Document 3: Japanese Patent Laid-Open (A) No. 10-197258

发明内容Contents of the invention

本发明要解决的问题The problem to be solved by the present invention

然而,检测极弱地磁的地磁传感器受移动蜂窝电话中多个部件或其他通信设备所产生的磁场的影响,并容易出现错误。特别是,近来的可移动和便携式蜂窝电话的尺寸更小。变得更加难以保证部件之间的充分距离。因此,由于通信设备中部件所产生的磁场而导致的地磁检测错误已经变为不可忽略的程度。由于该原因,例如在可以向其安装/拆卸存储卡、并被配置为可以进行读取/写入操作的移动蜂窝电话中,存在这样的问题:加载有存储卡的状态与未加载存储卡的状态之间的方位计算结果不同。However, geomagnetic sensors that detect extremely weak geomagnetism are affected by magnetic fields generated by various components in mobile cellular phones or other communication devices, and are prone to errors. In particular, recent mobile and portable cellular phones have become smaller in size. It becomes more difficult to ensure a sufficient distance between components. Therefore, geomagnetic detection errors due to magnetic fields generated by components in communication equipment have become non-negligible. For this reason, for example, in a mobile cellular phone to which a memory card can be attached/detached and configured to allow read/write operations, there is a problem that the state with the memory card loaded differs from the state without the memory card loaded. Bearing calculation results differ between states.

另一方面,在近来的具有大显示屏幕的可移动和便携式蜂窝电话中,许多设备以设置于不同外壳中的显示单元和键输入单元的形式出现。这类蜂窝电话通常在两个外壳通过折叠而彼此重叠并且键输入单元隐藏于外壳内的状态下(闭合状态)、或者在键输入单元和显示单元都露出的状态(打开状态)下使用。On the other hand, in recent mobile and portable cellular phones with large display screens, many devices appear in the form of a display unit and a key input unit provided in different casings. This type of cellular phone is usually used in a state where two housings are folded to overlap each other and a key input unit is hidden inside the housing (closed state), or in a state where both the key input unit and display unit are exposed (open state).

这种双外壳型蜂窝电话包括在闭合状态中显示单元藏于外壳内部的类型以及显示单元露于外壳外部的类型。后一类型的代表性例子包括显示单元表面和键输入单元表面在几乎平行的状态中相对于彼此旋转的类型。Such a double housing type cellular phone includes a type in which the display unit is hidden inside the housing in a closed state and a type in which the display unit is exposed to the outside of the housing. Representative examples of the latter type include a type in which the display unit surface and the key input unit surface rotate relative to each other in an almost parallel state.

这样,在打开状态和闭合状态下都能够使用显示单元的蜂窝电话中,希望在两个状态下使用地图信息显示处理功能。然而,当改变外壳的打开/闭合状态时,地磁传感器周围的磁场改变,因此存在难以得到方位测量结果的问题。Thus, in a cellular phone in which the display unit can be used in both the open state and the closed state, it is desirable to use the map information display processing function in both states. However, when the open/closed state of the casing is changed, the magnetic field around the geomagnetic sensor changes, so there is a problem that it is difficult to obtain azimuth measurement results.

另外,在移动蜂窝电话中,由于尺寸和成本的限制,难以通过使用地磁传感器以外的其他检测方法来校正方位测量误差,例如,在汽车导航系统中使用陀螺传感器来检测运动方向。Also, in mobile cellular phones, due to size and cost constraints, it is difficult to correct azimuth measurement errors by using detection methods other than geomagnetic sensors, such as gyro sensors used in car navigation systems to detect the direction of motion.

考虑到这些情况,做出了本发明,并且本发明的目的是提供一种移动方位计算装置,能够通过使用地磁传感器高精度地发现方位,并能够根据所安装的电子部件的操作改变的事件来校正地理方位。The present invention has been made in consideration of these circumstances, and an object of the present invention is to provide a mobile azimuth calculation device capable of finding an azimuth with high precision by using a geomagnetic sensor and capable of determining the Correct geographic orientation.

本发明的另一目的是提供一种方位校正方法,能够通过使用地磁传感器高精度地发现方位,并能够根据所安装的电子部件的操作改变的事件来校正地理方位。Another object of the present invention is to provide an azimuth correcting method capable of finding an azimuth with high precision by using a geomagnetic sensor and capable of correcting a geographical azimuth according to an event of an operation change of an installed electronic part.

解决问题的手段means of solving problems

根据本发明,提供了一种移动方位计算装置,具有用于检测地磁的地磁传感器以及用于根据地磁传感器的检测值计算地理方位的控制单元,其中控制单元监视引起移动方位计算装置中所安装的电子部件的操作改变的事件,并根据事件的发生来校正地理方位。According to the present invention, there is provided a mobile azimuth calculation device having a geomagnetic sensor for detecting geomagnetism and a control unit for calculating a geographic azimuth based on the detection value of the geomagnetic sensor, wherein the control unit monitors the An event in which the operation of an electronic component changes, and the geographic orientation is corrected based on the occurrence of the event.

另外,根据本发明,提供了一种移动方位计算装置中的方位校正方法,所述移动方位计算装置具有用于检测地磁的地磁传感器,并根据所述地磁传感器的检测值计算地理方位,所述方法包括:监视引起移动方位计算装置中所安装的电子部件的操作改变的事件的步骤,以及根据事件的发生来校正地理方位的步骤。In addition, according to the present invention, there is provided an azimuth correction method in a mobile azimuth calculation device, the mobile azimuth calculation device has a geomagnetic sensor for detecting geomagnetism, and calculates the geographic azimuth based on the detection value of the geomagnetic sensor, the The method includes the steps of monitoring for events causing changes in the operation of electronic components installed in the mobile position computing device, and the steps of correcting the geographic position based on the occurrence of the event.

本发明的效果Effect of the present invention

根据本发明,可以使用地磁传感器来高精度确定方位,并根据引起所安装的电子部件的操作改变的事件来校正地理方位。According to the present invention, it is possible to use a geomagnetic sensor to determine the orientation with high precision, and to correct the geographic orientation according to an event causing a change in the operation of the installed electronic parts.

附图说明Description of drawings

图1是示出了根据本发明实施例的移动蜂窝电话中用于获取地理位置和地图信息的系统的配置示例的方框图;1 is a block diagram showing a configuration example of a system for acquiring geographic location and map information in a mobile cellular phone according to an embodiment of the present invention;

图2是移动蜂窝电话处于打开状态时的立体图;Figure 2 is a perspective view of the mobile cellular phone in an open state;

图3是闭合状态下从移动蜂窝电话的一个侧面观察的立体图;Figure 3 is a perspective view viewed from one side of the mobile cellular phone in a closed state;

图4是闭合状态下从移动蜂窝电话的另一个侧面观察的立体图;Figure 4 is a perspective view viewed from another side of the mobile cellular phone in a closed state;

图5是示出了电路板安装外壳内部电路板安装状态的立体图;5 is a perspective view showing a circuit board mounting state inside the circuit board mounting case;

图6是示出了根据本发明实施例的移动蜂窝电话的配置示例的方框图;6 is a block diagram showing a configuration example of a mobile cellular phone according to an embodiment of the present invention;

图7是图示移动蜂窝电话中的GPS信号接收处理示例的流程图;7 is a flowchart illustrating an example of GPS signal reception processing in a mobile cellular phone;

图8是图示移动蜂窝电话中的地点发现处理示例的流程图;FIG. 8 is a flowchart illustrating an example of place discovery processing in a mobile cellular phone;

图9是示出了从导航服务器系统发送的地图信息示例的图;FIG. 9 is a diagram showing an example of map information transmitted from a navigation server system;

图10是图示移动蜂窝电话中旋转处理显示图像的示例的流程图;10 is a flowchart illustrating an example of rotation processing of a display image in a mobile cellular phone;

图11是用于解释方位角计算方法的图;FIG. 11 is a diagram for explaining an azimuth calculation method;

图12是图示了移动蜂窝电话中方位计算处理的第一示例的流程图;Fig. 12 is a flowchart illustrating a first example of azimuth calculation processing in a mobile cellular phone;

图13是示出了校正数据示例的图;FIG. 13 is a diagram showing an example of correction data;

图14是图示了移动蜂窝电话中方位计算处理的第二示例的流程图;14 is a flow chart illustrating a second example of azimuth calculation processing in a mobile cellular phone;

图15是图示了移动蜂窝电话中方位计算处理的第三示例的流程图;15 is a flowchart illustrating a third example of azimuth calculation processing in a mobile cellular phone;

图16是图示了移动蜂窝电话中方位计算处理的第四示例的流程图;16 is a flowchart illustrating a fourth example of azimuth calculation processing in a mobile cellular phone;

图17是图示了移动蜂窝电话中方位计算处理的第五示例的流程图;17 is a flowchart illustrating a fifth example of azimuth calculation processing in a mobile cellular phone;

图18是示出了地磁传感器检测值根据存储卡加载而随时间的变化示例的图;FIG. 18 is a graph showing an example of a change over time of a geomagnetic sensor detection value according to memory card loading;

图19是图示了移动蜂窝电话中方位计算处理的第六示例的流程图;19 is a flowchart illustrating a sixth example of azimuth calculation processing in a mobile cellular phone;

图20是图示了在发生了地磁检测值出现异常状态时偏移误差校正处理的第一示例的流程图;20 is a flowchart illustrating a first example of offset error correction processing when a geomagnetic detection value occurrence abnormal state occurs;

图21是示出了地磁检测值由于外部磁场的影响而出现异常状态的示例的图;Fig. 21 is a diagram showing an example of an abnormal state of a geomagnetic detection value due to the influence of an external magnetic field;

图22是图示了移动蜂窝电话中的偏移误差校正处理的第二示例的流程图;22 is a flowchart illustrating a second example of offset error correction processing in a mobile cellular phone;

图23是图示了移动蜂窝电话中的偏移误差校正处理的第三示例的流程图;23 is a flowchart illustrating a third example of offset error correction processing in a mobile cellular phone;

图24是图示了在地磁检测值由于外部磁场影响出现误差时的处理的第一示例的流程图;24 is a flowchart illustrating a first example of processing when an error occurs in a geomagnetic detection value due to the influence of an external magnetic field;

图25是图示了在地磁检测值由于外部磁场影响出现误差时的处理的第二示例的流程图;25 is a flowchart illustrating a second example of processing when an error occurs in a geomagnetic detection value due to the influence of an external magnetic field;

图26是图示了在地磁检测值由于外部磁场影响出现误差时的处理的第三示例的流程图;26 is a flowchart illustrating a third example of processing when an error occurs in a geomagnetic detection value due to the influence of an external magnetic field;

图27是图示了在地磁检测值由于外部磁场影响出现误差时的处理的第四示例的流程图;27 is a flowchart illustrating a fourth example of processing when an error occurs in a geomagnetism detection value due to the influence of an external magnetic field;

图28是图示了在地磁检测值由于外部磁场影响出现误差时的处理的第五示例的流程图;28 is a flowchart illustrating a fifth example of processing when an error occurs in a geomagnetism detection value due to the influence of an external magnetic field;

图29是图示了在地磁检测值由于外部磁场影响出现误差时的处理的第六示例的流程图;29 is a flowchart illustrating a sixth example of processing when an error occurs in a geomagnetism detection value due to the influence of an external magnetic field;

图30是图示了在地磁检测值由于外部磁场影响出现误差时的处理的第七示例的流程图;30 is a flowchart illustrating a seventh example of processing when an error occurs in a geomagnetism detection value due to the influence of an external magnetic field;

图31是图示了在地磁检测值由于外部磁场影响出现误差时的处理的第八示例的流程图;以及31 is a flowchart illustrating an eighth example of processing when an error occurs in a geomagnetic detection value due to the influence of an external magnetic field; and

图32是图示了在图28至图31所示的处理中在存储单元中寄存精度降低区域的处理示例的流程图。FIG. 32 is a flowchart illustrating a processing example of registering a precision-reduced area in a storage unit in the processing shown in FIGS. 28 to 31 .

标号描述Label description

2...第一外壳,3...第二外壳,4...活动机构,21...显示面板,100...移动蜂窝电话,200...GPS卫星,300...基站,401...GPS服务器系统,402...导航服务器系统,150...无线通信单元,151...GPS信号接收器,152...存储单元,153...打开/闭合状态判断单元,154...键输入单元,155...音频处理单元,157...图像捕捉单元,158...地磁传感器,159...存储卡单元,160...控制单元。2...first housing, 3...second housing, 4...move mechanism, 21...display panel, 100...mobile cellular phone, 200...GPS satellite, 300...base station , 401...GPS server system, 402...Navigation server system, 150...Wireless communication unit, 151...GPS signal receiver, 152...Storage unit, 153...Open/close state judgment unit, 154...key input unit, 155...audio processing unit, 157...image capture unit, 158...geomagnetic sensor, 159...memory card unit, 160...control unit.

具体实施方式Detailed ways

下面将参考附图解释本发明应用于具有地图信息显示处理功能和图像捕捉功能、并能够考虑方位来显示地图信息的多功能型可移动、便携式蜂窝电话(下文称作“移动蜂窝电话”)时的实施例。When the present invention is applied to a multifunctional type movable, portable cellular phone (hereinafter referred to as "mobile cellular phone") having a map information display processing function and an image capture function and capable of displaying map information in consideration of the orientation, the following will be explained with reference to the drawings. the embodiment.

图1是示出了根据本发明实施例的蜂窝电话100中用于获取地理位置和地图信息的系统的配置示例的方框图。FIG. 1 is a block diagram showing a configuration example of a system for acquiring geographic location and map information in a cellular phone 100 according to an embodiment of the present invention.

蜂窝电话100接收从在已知轨道上环绕地球的三个或多个GPS用卫星200发送的GPS信号。然后,蜂窝电话100将关于接收到的GPS信号的信息从基站300通过通信网络发送到GPS服务器系统401(作为本发明的地点发现装置的一个例子),并且从GPS服务器系统401获取当前地点的位置信息。The cellular phone 100 receives GPS signals transmitted from three or more GPS satellites 200 orbiting the earth in known orbits. Then, the cellular phone 100 transmits information on the received GPS signal from the base station 300 to the GPS server system 401 (as an example of the spot finding device of the present invention) through the communication network, and acquires the position of the current spot from the GPS server system 401 information.

另外,蜂窝电话100将从GPS服务器系统401获取的当前地点的位置信息从基站300通过通信网络发送到导航服务器系统402(作为本发明的地点发现装置的一个例子),并且从导航服务器系统402获取关于当前地点环境的地图信息。In addition, the cellular phone 100 transmits the position information of the current spot acquired from the GPS server system 401 from the base station 300 to the navigation server system 402 (as an example of the spot finding device of the present invention) through the communication network, and acquires from the navigation server system 402 Map information about the environment of the current location.

GPS服务器系统401(作为本发明的地点发现装置的一个例子)根据从蜂窝电话100通过通信网络发送的GPS信号计算地理位置(例如,纬度和经度),并将计算的位置信息通过通信网络和基站300发送到蜂窝电话100。The GPS server system 401 (as an example of the spot finding device of the present invention) calculates a geographical position (e.g., latitude and longitude) from the GPS signal transmitted from the cellular phone 100 through the communication network, and transmits the calculated position information through the communication network and the base station. 300 is sent to cellular phone 100.

导航服务器系统402(作为本发明的地点发现装置的一个例子)根据从蜂窝电话100通过通信网络发送的地图信息,从数据库(未示出)检索关于蜂窝电话100的环境的地图信息,并将检索到的地图信息通过通信网络和基站300发送到蜂窝电话100。The navigation server system 402 (as an example of the spot finding device of the present invention) retrieves map information about the environment of the cellular phone 100 from a database (not shown) based on the map information transmitted from the cellular phone 100 through the communication network, and retrieves The received map information is transmitted to the cellular phone 100 through the communication network and the base station 300 .

图2至图4是示出了蜂窝电话100的外观示例的图。2 to 4 are diagrams showing examples of the appearance of the cellular phone 100 .

图2是蜂窝电话100处于打开状态时的立体图,图3是闭合状态下从蜂窝电话100的一个侧面观察的立体图,图4是闭合状态下从蜂窝电话100的另一个侧面观察的立体图。2 is a perspective view of cellular phone 100 in an open state, FIG. 3 is a perspective view of cellular phone 100 in a closed state from one side, and FIG. 4 is a perspective view of cellular phone 100 in a closed state from another side.

在蜂窝电话100中,第一外壳(上外壳2)和第二外壳(下外壳)3通过活动机构单元4连接,从而它们可以自由打开/闭合和/或自由旋转。In the cellular phone 100, a first housing (upper housing 2) and a second housing (lower housing) 3 are connected by a movable mechanism unit 4 so that they can be freely opened/closed and/or freely rotated.

活动机构单元4被配置为使得可以绕预定旋转轴相对旋转第一外壳2和第二外壳3和/或打开/闭合它们。The movable mechanism unit 4 is configured such that the first casing 2 and the second casing 3 can be relatively rotated around a predetermined rotation axis and/or opened/closed.

在第一外壳2中,无论活动机构单元4的操作状态(打开状态、闭合状态)如何都露出的第一表面2a具有例如由LCD(液晶显示)面板或有机EL(电致发光)显示面板构成的显示面板21。在该显示面板21的图2中的左角,内置了扬声器22。In the first casing 2, the first surface 2a that is exposed regardless of the operating state (open state, closed state) of the movable mechanism unit 4 has a structure composed of, for example, an LCD (Liquid Crystal Display) panel or an organic EL (Electroluminescence) display panel. The display panel 21. A speaker 22 is built in the left corner of the display panel 21 in FIG. 2 .

显示面板21包括在稍后解释的显示单元155中。扬声器22包括在稍后解释的音频处理单元156中。The display panel 21 is included in a display unit 155 explained later. The speaker 22 is included in the audio processing unit 156 explained later.

第二外壳3通过将其中安装有电路板的电路板安装外壳31与形成电路板安装外壳31的盖壳的盖壳侧外壳32彼此重叠来形成。The second case 3 is formed by overlapping a circuit board mounting case 31 in which a circuit board is mounted and a cover side case 32 forming a cover of the circuit board mounting case 31 .

在第二外壳3的电路板安装外壳31的外部平坦表面31a,即在闭合状态时与第一外壳2的一个表面相面对的表面31a上,排列了包括数字键按钮311a、光标按钮311b和回车键311c的操作键311。在操作键311的图2中的右角,内置了麦克风312。On the outer flat surface 31a of the circuit board mounting case 31 of the second case 3, that is, on the surface 31a facing one surface of the first case 2 in the closed state, there are arrays including numeric key buttons 311a, cursor buttons 311b and The operation key 311 of the enter key 311c. At the right corner in FIG. 2 of the operation key 311, a microphone 312 is built-in.

操作键311包括在稍后解释的键输入单元154中。麦克风312包括在稍后解释的音频处理单元156中。The operation keys 311 are included in the key input unit 154 explained later. The microphone 312 is included in the audio processing unit 156 explained later.

在第二外壳3的盖壳侧外壳32的外部平坦表面32a(无论打开状态或闭合状态都露出)上,如图4所示,设置了照相模块34的光学系统34a。On the outer flat surface 32a (exposed regardless of the open state or the closed state) of the cover case side case 32 of the second case 3, as shown in FIG. 4, an optical system 34a of the camera module 34 is provided.

在第二外壳3的盖壳侧外壳32的外部平坦表面32a上,设置了用于通过内置闪光灯向外部发出闪光的发光窗口321以及用于在拍摄照片时发射白光以有助于图像捕捉的发光窗口322。On the outer flat surface 32a of the cover side housing 32 of the second housing 3, a light emitting window 321 for emitting a flash to the outside through a built-in flash and a light emitting window 321 for emitting white light to facilitate image capture when taking a photo are provided. window322.

照相模块34包括在稍后解释的图像捕捉单元157中。The camera module 34 is included in an image capturing unit 157 explained later.

照相模块用拨动(tack)开关35设置在第二外壳3的一侧,而用于插入存储卡的存储卡用插槽33形成在第二外壳3的另一侧。A camera module tack switch 35 is provided on one side of the second housing 3 , and a memory card slot 33 for inserting a memory card is formed on the other side of the second housing 3 .

图5是示出了电路板安装外壳31的内部31b中的电路板安装状态的立体图。FIG. 5 is a perspective view showing a circuit board mounting state in the interior 31 b of the circuit board mounting case 31 .

在电路板安装外壳31的内部31b中,在其底面上安装主板37。In the interior 31b of the circuit board mounting case 31, a main board 37 is mounted on the bottom surface thereof.

在主板37上与存储卡用插槽33相面对的位置,安装了可以连接可拆卸存储卡的存储卡单元159。At a position facing the memory card slot 33 on the main board 37, a memory card unit 159 to which a detachable memory card can be connected is mounted.

在主板37上与该存储卡单元159相邻的实质中心位置,安装地磁传感器158。At a substantially central position adjacent to the memory card unit 159 on the main board 37, a geomagnetic sensor 158 is mounted.

图6是示出了根据本发明实施例的蜂窝电话100的配置的说明性示例的方框图。FIG. 6 is a block diagram showing an illustrative example of the configuration of the cellular phone 100 according to the embodiment of the present invention.

蜂窝电话100具有无线通信单元150、GPS信号接收器151、存储单元152、打开/闭合判断单元153、键输入单元154、显示单元155、音频输入/输出单元156、图像捕捉单元157、地磁传感器158、存储卡单元159和信号处理/控制单元160。The cellular phone 100 has a wireless communication unit 150, a GPS signal receiver 151, a storage unit 152, an opening/closing determination unit 153, a key input unit 154, a display unit 155, an audio input/output unit 156, an image capturing unit 157, a geomagnetic sensor 158 , a memory card unit 159 and a signal processing/control unit 160.

无线通信单元150是本发明的无线通信装置的实施例。The wireless communication unit 150 is an embodiment of the wireless communication device of the present invention.

GPS信号接收器151是本发明的GPS信号接收装置的实施例。The GPS signal receiver 151 is an embodiment of the GPS signal receiving device of the present invention.

GPS信号接收器151和无线通信单元150是本发明的位置信息获取装置的实施例。The GPS signal receiver 151 and the wireless communication unit 150 are embodiments of the location information acquiring means of the present invention.

打开/闭合判断单元153是本发明的操作状态判断装置的实施例。The opening/closing judging unit 153 is an embodiment of the operation state judging means of the present invention.

显示单元155是本发明的显示装置的实施例。The display unit 155 is an example of a display device of the present invention.

地磁传感器158是本发明的地磁传感器的实施例。The geomagnetic sensor 158 is an embodiment of the geomagnetic sensor of the present invention.

存储卡单元159是本发明的存储介质安装装置的实施例。The memory card unit 159 is an embodiment of a storage medium mounting device of the present invention.

信号处理/控制单元160是本发明的信号处理/控制装置的实施例。The signal processing/control unit 160 is an embodiment of the signal processing/control means of the present invention.

无线通信单元150与信号处理/控制单元160协作,执行关于与基站150进行无线通信的处理。例如,无线通信单元150向从信号处理/控制单元160输出的发送数据应用预定的调制处理,以将其转换为无线信号,并从第一天线AT1发送。另外,无线通信单元150向在第一天线AT1处接收到的无线信号应用预定的解调制处理,以再现接收数据,并输出到信号处理/控制单元160。The wireless communication unit 150 performs processing related to wireless communication with the base station 150 in cooperation with the signal processing/control unit 160 . For example, the wireless communication unit 150 applies predetermined modulation processing to the transmission data output from the signal processing/control unit 160 to convert it into a wireless signal, and transmits it from the first antenna AT1. In addition, the wireless communication unit 150 applies predetermined demodulation processing to the wireless signal received at the first antenna AT1 to reproduce received data, and outputs to the signal processing/control unit 160 .

无线通信单元150还执行用于接收从基站300(充当位置信息获取装置)发送的、用于地点发现的参考信号的处理。The wireless communication unit 150 also performs processing for receiving a reference signal for spot discovery transmitted from the base station 300 (serving as positional information acquisition means).

GPS信号接收器151与信号处理/控制单元160协作,通过第二天线AT2接收从GPS用卫星20发送的GPS信号,并应用诸如放大、消噪和调制之类的信号处理,以在GPS服务器系统401中获取用于计算蜂窝电话100的地理位置所需的信息。The GPS signal receiver 151 cooperates with the signal processing/control unit 160, receives the GPS signal transmitted from the GPS satellite 20 through the second antenna AT2, and applies signal processing such as amplification, noise cancellation, and modulation, so as to be displayed on the GPS server system In 401 the information needed to calculate the geographic location of the cellular phone 100 is obtained.

存储单元152与信号处理/控制单元160协作,存储要在信号处理/控制单元160中执行的程序、信号处理/控制单元160的处理中所使用的恒定数据、以及必须临时存储的变量数据、图像捕捉图像数据等。The storage unit 152 cooperates with the signal processing/control unit 160, and stores programs to be executed in the signal processing/control unit 160, constant data used in the processing of the signal processing/control unit 160, variable data that must be temporarily stored, image Capture image data, etc.

打开/闭合判断单元153与信号处理/控制单元160协作,通过活动机构单元4,判断上述打开状态或闭合状态中哪个状态是第一外壳2和第二外壳3的旋转状态。例如,打开/闭合判断单元153包括例如开关之类用于检测第一外壳2和第二外壳3重叠的闭合状态的检测器,以区分闭合状态和除此以外的其他状态。The opening/closing judging unit 153 cooperates with the signal processing/control unit 160 to judge which of the above open state or closed state is the rotation state of the first housing 2 and the second housing 3 through the movable mechanism unit 4 . For example, the opening/closing judging unit 153 includes a detector such as a switch for detecting a closed state in which the first housing 2 and the second housing 3 are overlapped to distinguish the closed state from other states.

键输入单元154与信号处理/控制单元160协作,根据任何输入操作(例如,针对操作键311和照相模块用触摸开关35执行键的按压)生成信号,并将其输出到信号处理/控制单元160。The key input unit 154, in cooperation with the signal processing/control unit 160, generates a signal according to any input operation (for example, pressing of a key performed with respect to the operation key 311 and the touch switch 35 for the camera module), and outputs it to the signal processing/control unit 160 .

显示单元155与信号处理/控制单元160协作,根据信号处理/控制单元160中生成的图像数据,使显示面板21显示图像。The display unit 155 cooperates with the signal processing/control unit 160 to cause the display panel 21 to display an image based on the image data generated in the signal processing/control unit 160 .

音频输入/输出单元156与信号处理/控制单元160协作,在麦克风312处将输入音频转换为电音频信号,对该信号应用诸如放大、模/数转换和编码之类的处理,并将音频信号作为处理结果输出到信号处理/控制单元160。另外,音频处理单元156对从信号处理/控制单元160输入的音频数据应用诸如解码、数/模转换和放大之类的信号处理,以生成音频信号,并在扬声器22处将其转换为音频。Audio input/output unit 156, in cooperation with signal processing/control unit 160, converts input audio into an electrical audio signal at microphone 312, applies processing such as amplification, analog-to-digital conversion, and encoding to the signal, and converts the audio signal The processing result is output to the signal processing/control unit 160 . In addition, the audio processing unit 156 applies signal processing such as decoding, digital/analog conversion, and amplification to audio data input from the signal processing/control unit 160 to generate an audio signal, and converts it into audio at the speaker 22 .

图像捕捉单元157与信号处理/控制单元160协作,捕捉入射到光学系统34a的图像,以生成图像数据,例如静态图像和运动图像,并将其输出到信号处理/控制单元160。图像捕捉单元157在信号处理/控制单元160的控制下,在图像捕捉时操作闪光灯,以从发光窗口321发出闪光。The image capturing unit 157 cooperates with the signal processing/control unit 160 to capture images incident to the optical system 34 a to generate image data such as still images and moving images, and output them to the signal processing/control unit 160 . The image capturing unit 157 operates a flash to emit a flash of light from the light emitting window 321 at the time of image capturing under the control of the signal processing/control unit 160 .

地磁传感器158检测用于计算方位的地磁。例如,如图5所示,地磁传感器158参考主板37上设定的笛卡尔坐标系统,检测主板37上固定位置处每个轴向的地磁。为了检测地磁,采用各种方法,例如利用线圈激励的方法、利用霍尔效应的方法、以及利用磁致电阻元件的方法。The geomagnetic sensor 158 detects geomagnetism for calculating the azimuth. For example, as shown in FIG. 5 , the geomagnetic sensor 158 refers to the Cartesian coordinate system set on the main board 37 to detect the geomagnetism in each axis at a fixed position on the main board 37 . In order to detect the earth's magnetism, various methods are employed, such as a method using coil excitation, a method using a Hall effect, and a method using a magnetoresistive element.

在本实施例中,作为示例,假设地磁传感器158安装了模数转换器,并将检测到的地磁的模拟信号输出为8位数字信号,即从“0”到“255”的整数值。In this embodiment, as an example, it is assumed that the geomagnetic sensor 158 is equipped with an analog-to-digital converter, and outputs the detected geomagnetic analog signal as an 8-bit digital signal, that is, an integer value from "0" to "255".

信号处理/控制单元160具有用于根据存储单元152中存储的程序执行处理的计算机,并执行关于蜂窝电话100的整体操作的各种处理。The signal processing/control unit 160 has a computer for executing processing according to programs stored in the storage unit 152 , and executes various processing regarding the overall operation of the cellular phone 100 .

例如,作为关于电话功能的处理,信号处理/控制单元160执行用于根据键输入单元154中的键输入操作控制通过无线通信单元150的呼叫和接收的顺序的处理以及用于通过无线通信单元150发送/接收音频处理单元156处输入/输出的音频数据的处理。For example, as processing regarding the telephone function, the signal processing/control unit 160 performs processing for controlling the order of calling and receiving via the wireless communication unit 150 according to key input operations in the key input unit 154 and Processing of audio data input/output at the audio processing unit 156 is transmitted/received.

作为关于数据通信功能的处理,信号处理/控制单元160响应键输入单元154中的键输入操作,操作无线通信单元150,执行与预定邮件服务器系统的通信,并执行用于传输诸如电子邮件之类的数据的处理。As processing regarding the data communication function, the signal processing/control unit 160 responds to key input operations in the key input unit 154, operates the wireless communication unit 150, performs communication with a predetermined mail server system, and performs communication for transmission such as electronic mail. processing of data.

作为关于图像捕捉功能的处理,信号处理/控制单元160响应键输入单元154中的键输入操作,执行用于使图像捕捉单元157执行静态图像和运动图像捕捉处理的处理,以及用于向所捕捉的图像的数据应用诸如压缩和编码之类的图像处理并将结果存储在存储单元152中的处理等。在捕捉静态图像时,信号处理/控制单元160还执行用于在适当定时处操作闪光灯的处理。As processing regarding the image capturing function, the signal processing/control unit 160 executes processing for causing the image capturing unit 157 to perform still image and moving image capturing processing in response to a key input operation in the key input unit 154, and for sending the captured image to the captured image. A process of applying image processing such as compression and encoding to the data of the image and storing the result in the storage unit 152 , and the like. The signal processing/control unit 160 also performs processing for operating a flash at an appropriate timing when capturing a still image.

作为关于地图信息显示处理功能的处理,信号处理/控制单元160执行用于根据地磁传感器158的检测值来计算地理方位的处理、用于将GPS信号接收器151处接收到的GPS信号的信息发送到GPS服务器系统401并获取当前地点的位置信息的处理、用于将该位置信息发送到导航服务器系统402并获取关于当前地点环境的地图信息的处理、用于根据来自基站300的地点发现信号和方位计算的结果来计算当前地点的处理、用于根据方位计算的结果来控制显示单元155的显示屏幕上地图的取向的处理(航向向上显示处理)等。As processing regarding the map information display processing function, the signal processing/control unit 160 executes processing for calculating a geographical orientation from the detection value of the geomagnetic sensor 158, for transmitting information of a GPS signal received at the GPS signal receiver 151 Processing to the GPS server system 401 and acquiring positional information of the current spot, processing for transmitting the positional information to the navigation server system 402 and acquiring map information on the environment of the current spot, processing for finding the position based on the spot finding signal from the base station 300 and A process for calculating the current location based on the result of the bearing calculation, a process for controlling the orientation of the map on the display screen of the display unit 155 according to the result of the bearing calculation (heading up display process), and the like.

为了应对在第一外壳2和第二外壳3的打开状态和闭合状态之间显示面板21相对于用户的取向相差180度的事实,信号处理/控制单元160执行用于根据打开/闭合判断单元153的判断结果来旋转显示单元155的显示图像的处理。In order to cope with the fact that the orientation of the display panel 21 with respect to the user differs by 180 degrees between the open state and the closed state of the first casing 2 and the second casing 3, the signal processing/control unit 160 performs The process of rotating the display image of the display unit 155 according to the judgment result.

接着将着重于根据本发明的地图显示处理功能,来解释具有上述配置的蜂窝电话100的操作。Next, the operation of the cellular phone 100 having the above configuration will be explained focusing on the map display processing function according to the present invention.

首先,解释在蜂窝电话100的电源打开时主要由信号处理/控制单元160执行的GPS信号接收处理。First, the GPS signal reception processing performed mainly by the signal processing/control unit 160 when the power of the cellular phone 100 is turned on is explained.

图7是图示蜂窝电话100中的GPS信号接收处理示例的流程图。FIG. 7 is a flowchart illustrating an example of GPS signal reception processing in the cellular phone 100 .

信号处理/控制单元160以恒定周期(例如,2秒的间隔)控制GPS信号接收器151(ST102、ST104),并执行扫描以从GPS卫星接收GPS信号。当扫描结果是可以接收GPS信号时,信号处理/控制单元160将接收到的GPS信号存储在存储单元152中(ST106)。对可以从中接收到数据的所有GPS卫星重复对GPS信号的这种扫描以及信息的存储(ST108、ST104、ST106)。当对所有GPS卫星执行了扫描时,信号处理/控制单元160等待,直至下一GPS信号接收定时,然后再次执行步骤ST104至108的处理。The signal processing/control unit 160 controls the GPS signal receiver 151 (ST102, ST104) at a constant cycle (eg, interval of 2 seconds), and performs scanning to receive GPS signals from GPS satellites. When the scanning result is that the GPS signal can be received, the signal processing/control unit 160 stores the received GPS signal in the storage unit 152 (ST106). This scanning for GPS signals and storage of information is repeated for all GPS satellites from which data can be received (ST108, ST104, ST106). When scanning is performed for all GPS satellites, the signal processing/control unit 160 waits until the next GPS signal reception timing, and then performs the processing of steps ST104 to 108 again.

接着,解释地点发现处理。Next, the site finding process is explained.

图8是图示蜂窝电话100中的地点发现处理示例的流程图。FIG. 8 is a flowchart illustrating an example of spot finding processing in the cellular phone 100 .

例如当通过键输入单元154中的键输入操作选择了开始地点发现处理时(ST122),信号处理/控制单元160执行用于将通过上述GPS接收处理获得的信息从无线通信单元150通过基站300和通信网络发送到GPS服务器系统401的处理(ST124)。For example, when the start point finding process is selected by a key input operation in the key input unit 154 (ST122), the signal processing/control unit 160 executes a method for transmitting the information obtained by the above-mentioned GPS reception process from the wireless communication unit 150 through the base station 300 and The communication network sends to the processing of the GPS server system 401 (ST124).

GPS服务器系统401当从蜂窝电话100接收到GPS信息时,根据该接收到的GPS信息,计算蜂窝电话100的当前地点的位置(例如纬度和经度),并将计算结果从通信网络通过基站300发送到蜂窝电话100。The GPS server system 401, when receiving GPS information from the cellular phone 100, calculates the position (such as latitude and longitude) of the current location of the cellular phone 100 based on the received GPS information, and transmits the calculation result from the communication network via the base station 300 to cell phone 100 .

信号处理/控制单元160接收从GPS服务器系统401发送的位置信息,并将其存储在存储单元152中(ST126)。The signal processing/control unit 160 receives the position information transmitted from the GPS server system 401, and stores it in the storage unit 152 (ST126).

接着,信号处理/控制单元160从无线通信单元150通过基站300和通信网络访问导航服务器系统402(ST128),并将所获取的位置信息发送到导航服务器系统402(ST130)。Next, the signal processing/control unit 160 accesses the navigation server system 402 from the wireless communication unit 150 through the base station 300 and the communication network (ST128), and transmits the acquired position information to the navigation server system 402 (ST130).

导航服务器系统402当从蜂窝电话100接收到位置信息时,从数据库中检索由该位置信息所指明的蜂窝电话100的当前地点环境的地图信息,并将检索到的地图信息从通信网络通过基站300发送到蜂窝电话100。When the navigation server system 402 receives the location information from the cellular phone 100, it retrieves map information of the current location environment of the cellular phone 100 indicated by the location information from the database, and transmits the retrieved map information from the communication network through the base station 300. to the cell phone 100.

信号处理/控制单元160接收从导航服务器系统402发送的地图信息,并将其存储在存储单元152中(ST132)。The signal processing/control unit 160 receives the map information sent from the navigation server system 402, and stores it in the storage unit 152 (ST132).

图9是示出了从导航服务器系统402发送的地图信息示例的图。FIG. 9 is a diagram showing an example of map information transmitted from the navigation server system 402 .

在本实施例中,作为示例,假设向地图信息分配固有标识号。导航服务器系统402基于标识号,管理每个预定尺寸(例如,1km见方)的地图数据,并且当向蜂窝电话100发送地图信息时,将这些标识号添加到用于发送的地图的数据上。在图9的示例中,当前地点环境的地图具有标识号MP0,并且其周围四个方向上的地图具有标识号MP1至MP4。In this embodiment, as an example, it is assumed that a unique identification number is assigned to map information. The navigation server system 402 manages map data of each predetermined size (for example, 1 km square) based on the identification numbers, and when transmitting map information to the cellular phone 100, adds these identification numbers to the data for the transmitted map. In the example of FIG. 9 , the map of the current location environment has an identification number MP0, and maps in four directions around it have identification numbers MP1 to MP4.

信号处理/控制单元160当接收到这种地图信息时,基于所获取的地图信息,生成关于当前地点环境的地图的图像数据,并在显示单元55的显示面板21上显示地图(ST134)。The signal processing/control unit 160, upon receiving such map information, generates image data of a map on the current location environment based on the acquired map information, and displays the map on the display panel 21 of the display unit 55 (ST134).

显示面板21上所显示的地图区域是比从导航服务器系统402所获取的1km见方地图要小的区域(例如,200m×300m)。The map area displayed on the display panel 21 is an area smaller than the 1 km square map acquired from the navigation server system 402 (for example, 200 m×300 m).

作为地图的显示方法,可以选择例如北向上显示(将地图的北向调整为朝向屏幕顶部的显示)以及航向向上显示(将地图上的前进方向调整为朝向屏幕顶部的显示)中任一种。As the display method of the map, for example, either of north-up display (display that adjusts the north direction of the map toward the top of the screen) and course-up display (display that adjusts the forward direction on the map toward the top of the screen) can be selected.

当通过键输入单元154的键操作选择了北向上显示时,信号处理/控制单元160将地图的北方向固定为显示屏幕的向上方向,并将其显示在显示单元155上。When the north up display is selected by the key operation of the key input unit 154 , the signal processing/control unit 160 fixes the north direction of the map as the upward direction of the display screen and displays it on the display unit 155 .

当通过键输入单元154的键操作选择了航向向上显示时,信号处理/控制单元160根据通过稍后解释的方位计算处理所发现的方位来执行用于控制显示屏幕上的地图取向的处理。例如,当从第二外壳3中麦克风312所处一端指向连接部件所处的另一端的方向A(见图2)被确定为蜂窝电话100的前进方向时,控制地图在显示屏幕上的取向,使得该前进方向的方位变为在显示屏幕上向上。When heading up display is selected by key operation of the key input unit 154, the signal processing/control unit 160 performs processing for controlling the orientation of the map on the display screen according to the orientation found by the orientation calculation process explained later. For example, when the direction A (see FIG. 2 ) directed from one end where the microphone 312 is located in the second housing 3 to the other end where the connection part is located is determined as the advancing direction of the cellular phone 100, the orientation of the control map on the display screen, Causes the orientation of the heading to be up on the display screen.

这里所述的“在显示屏幕上向上”是从手持第二外壳3并使用蜂窝电话100的用户的观点观察的。当改变外壳2和3的打开/闭合状态时,“在显示屏幕上向上”据此改变。即,当外壳2和3处于打开状态时,第一外壳2中扬声器22一侧变为显示屏幕的顶部,而当外壳2和3处于闭合状态时,第一外壳2的连接部件一侧变为显示屏幕的顶部。The “upward on the display screen” described here is viewed from the viewpoint of a user who holds the second housing 3 and uses the cellular phone 100 . When changing the open/closed state of the casings 2 and 3, "up on the display screen" changes accordingly. That is, when the housings 2 and 3 are in the open state, the side of the speaker 22 in the first housing 2 becomes the top of the display screen, and when the housings 2 and 3 are in the closed state, the side of the connecting part of the first housing 2 becomes the top of the display screen. Displays the top of the screen.

信号处理/控制单元160如稍后所述,根据外壳2和3的打开/闭合状态,执行用于旋转显示屏幕上的图像的处理,并以相对于用户合适的取向来显示图像。The signal processing/control unit 160 performs processing for rotating the image on the display screen according to the open/closed states of the casings 2 and 3 and displays the image in an appropriate orientation with respect to the user, as described later.

当如上所述开始地图显示时,信号处理/控制单元160在通过键输入单元154的键操作选择结束地点发现处理(ST136)之前的时间段中重复接着将解释的步骤ST138及随后步骤的处理。When the map display is started as described above, the signal processing/control unit 160 repeats the processing of step ST138 and subsequent steps to be explained next in the period until the end point finding processing (ST136) is selected by the key operation of the key input unit 154 .

首先,信号处理/控制单元160使无线通信单元150接收从蜂窝电话100周围的多个(例如三个或更多个)基站300发送的用于地点发现的参考信号,并根据所接收到的信号计算当前地点的位置(ST138)。然后,信号处理/控制单元160根据当前地点的计算结果,判断蜂窝电话100是否存在任何运动(ST140),并且当判断蜂窝电话100不在运动时,随后根据来自基站300的参考信号执行当前地点的计算(ST138)。First, the signal processing/control unit 160 causes the wireless communication unit 150 to receive reference signals for spot discovery transmitted from a plurality (for example, three or more) base stations 300 around the cellular phone 100, and The position of the current location is calculated (ST138). Then, the signal processing/control unit 160 judges whether there is any motion in the cellular phone 100 based on the calculation result of the current location (ST140), and when it is judged that the cellular phone 100 is not in motion, then performs the calculation of the current location based on the reference signal from the base station 300 (ST138).

当在步骤ST140中判断蜂窝电话100在运动时,信号处理/控制单元160判断运动去往的点是否处于当前所获取的地图的末端区域中(ST142)。例如,当要在显示单元上显示的地图部分并未包括在当前所获取的地图中,而是包括在与之相邻的地图中,则判断当前地点处于地图末端区域中。When it is judged in step ST140 that the cellular phone 100 is in motion, the signal processing/control unit 160 judges whether the point to which the motion is going is in the end area of the currently acquired map (ST142). For example, when the part of the map to be displayed on the display unit is not included in the currently acquired map but is included in the adjacent map, it is determined that the current location is in the map end area.

当判断当前地点处于末端区域中时,信号处理/控制单元160通过无线通信单元150从导航服务器系统146请求与该末端区域相邻的地图(ST146)。例如,信号处理/控制单元160向导航服务器系统146发送当前所获取的地图的标识号以及指示当前地点在东西南北哪个方位中与该地图相毗邻的信息。When judging that the current location is in the terminal area, the signal processing/control unit 160 requests a map adjacent to the terminal area from the navigation server system 146 through the wireless communication unit 150 (ST146). For example, the signal processing/control unit 160 sends to the navigation server system 146 the identification number of the currently acquired map and information indicating in which direction the current location is adjacent to the map.

导航服务器系统146根据从蜂窝电话100发送的信息,从数据库中检测地图,并将其发送到蜂窝电话100。The navigation server system 146 detects a map from the database based on the information sent from the cellular phone 100 and sends it to the cellular phone 100 .

信号处理/控制单元160接收从导航服务器系统402发送的地图信息,将其存储在存储单元152中(ST132),并根据地图信息在显示单元155上显示地图(ST134)。此后,信号处理/控制单元160重复步骤ST138和随后步骤的处理。Signal processing/control unit 160 receives map information sent from navigation server system 402, stores it in storage unit 152 (ST132), and displays a map on display unit 155 according to the map information (ST134). Thereafter, the signal processing/control unit 160 repeats the processing of step ST138 and subsequent steps.

另外,当判断当前地点并不处于末端区域时,信号处理/控制单元160根据当前地点的计算结果,执行用于移动地图的显示区域的处理,从而例如蜂窝电话100的当前地点变为所显示地图的中心。此后,信号处理/控制单元160重复步骤ST138和随后步骤的处理。In addition, when judging that the current location is not in the end area, the signal processing/control unit 160 performs processing for moving the display area of the map based on the calculation result of the current location so that, for example, the current location of the cellular phone 100 becomes the displayed map center of. Thereafter, the signal processing/control unit 160 repeats the processing of step ST138 and subsequent steps.

接着,作为蜂窝电话100的“事件”的示例,将解释根据外壳的打开/闭合状态改变时旋转显示图像的处理。Next, as an example of an "event" of the cellular phone 100, a process of rotating a display image according to a change in the opening/closing state of the casing will be explained.

图10是图示蜂窝电话100中旋转显示图像的处理示例的流程图。FIG. 10 is a flowchart illustrating an example of processing of rotating a display image in the cellular phone 100 .

在蜂窝电话100的电源打开期间,信号处理/控制单元160不断地监视打开/闭合判断单元153中判断的打开/闭合状态(ST162)。当打开/闭合判断单元153判断外壳没有处于闭合状态(即,处于打开状态)时,信号处理/控制单元160在显示面板21上显示图像,图像取向使得第一外壳2中扬声器22一侧变为图像的顶部(ST166)。During power-on of the cellular phone 100, the signal processing/control unit 160 constantly monitors the open/close state judged in the open/close judgment unit 153 (ST162). When the opening/closing judging unit 153 judges that the shell is not in the closed state (that is, in the open state), the signal processing/control unit 160 displays an image on the display panel 21, and the image orientation makes the side of the speaker 22 in the first shell 2 become Image top (ST166).

当打开状态中的该显示为常规显示时,在打开/闭合判断单元153判断为闭合状态时,信号处理/控制单元160将常规显示中的图像旋转180度,并将其显示在显示面板21上(ST164)。即,信号处理/控制单元160在显示面板21上显示图像,图像取向使得第一外壳2中连接部件一侧变为图像的顶部。When the display in the open state is a normal display, the signal processing/control unit 160 rotates the image in the normal display by 180 degrees and displays it on the display panel 21 when the opening/closing judging unit 153 judges that it is a closed state (ST164). That is, the signal processing/control unit 160 displays an image on the display panel 21 oriented such that the connection part side in the first housing 2 becomes the top of the image.

根据显示图像的这种旋转处理,无论外壳2和3的打开/闭合状态如何,总是可以在显示单元155上以易于用户观察的取向来显示图像。According to such rotation processing of the displayed image, regardless of the open/closed states of the housings 2 and 3, the image can always be displayed on the display unit 155 in an orientation that is easy for the user to observe.

方位计算处理Azimuth calculation processing

首先,将参考图11简要解释计算方位的方法,然后将参考图12至图19解释信号处理/控制单元160中方位计算处理的一些示例。First, a method of calculating an azimuth will be briefly explained with reference to FIG. 11 , and then some examples of azimuth calculation processing in the signal processing/control unit 160 will be explained with reference to FIGS. 12 to 19 .

图11是用于解释方位角计算方法的图。FIG. 11 is a diagram for explaining an azimuth calculation method.

在图11中,具有坐标轴Hx、Hy和Hz的笛卡儿坐标系统是水平面上设定的标准坐标系统。坐标轴Hx和Hy是与水平面平行的坐标轴,并且坐标轴Hz是方向与水平面垂直的坐标轴。In FIG. 11 , a Cartesian coordinate system having coordinate axes Hx, Hy, and Hz is a standard coordinate system set on a horizontal plane. The coordinate axes Hx and Hy are coordinate axes parallel to the horizontal plane, and the coordinate axis Hz is a coordinate axis whose direction is perpendicular to the horizontal plane.

方位角θ是为第二外壳3的主板37上所设置的地磁传感器158设定的地磁检测的参考方向RD(例如,图2中方向A)上的矢量在水平面上正交投影所获得的像Zxy与坐标轴Hx所形成的角度。倾角是该像Zxy与参考方向A上的矢量所形成的角度。另外,扭转角η是将蜂窝电话100绕由参考方向A上的矢量所构成的旋转轴旋转而形成的角度。The azimuth angle θ is the image obtained by orthogonal projection of the vector on the horizontal plane on the reference direction RD (for example, direction A in FIG. 2 ) of the geomagnetic detection set by the geomagnetic sensor 158 set on the main board 37 of the second housing 3 The angle formed by Zxy and the coordinate axis Hx. The inclination angle  is the angle formed by the image Zxy and the vector in the reference direction A. In addition, the twist angle η is an angle formed by rotating the cellular phone 100 around a rotation axis constituted by a vector in the reference direction A.

当方位角θ、倾角和扭转角η都为零时,第二外壳3的主板37上设定的地磁检测的坐标系统与图11所示的坐标轴Hx、Hy和Hz的坐标系统一致。When the azimuth θ, inclination  and torsion η are all zero, the geomagnetic detection coordinate system set on the main board 37 of the second housing 3 is consistent with the coordinate system of the coordinate axes Hx, Hy and Hz shown in FIG. 11 .

当根据地磁传感器158与坐标轴Hx相对应的地磁检测值为α,与坐标轴Hy相对应的地磁检测值为β,且与坐标轴Hz相对应的地磁检测值为γ时,图11所示的方位角θ的正切tanθ由如下等式表示。是显示面板21的倾角。When the geomagnetic detection value corresponding to the coordinate axis Hx according to the geomagnetic sensor 158 is α, the geomagnetic detection value corresponding to the coordinate axis Hy is β, and the geomagnetic detection value corresponding to the coordinate axis Hz is γ, as shown in FIG. 11 The tangent tanθ of the azimuth angle θ is expressed by the following equation.  is the inclination angle of the display panel 21 .

(等式1)(equation 1)

tanθ=β/(γ·sin-α·cos)   …(1)tanθ=β/(γ·sin-α·cos) …(1)

在等式(1)中,扭转角η被设为零。In equation (1), the twist angle η is set to zero.

信号处理/控制单元160根据从地磁传感器158获得的三个方向中的地磁检测值,通过使用等式(1)所示的关系,计算方位角。The signal processing/control unit 160 calculates the azimuth angle by using the relationship shown in Equation (1) from the geomagnetic detection values in the three directions obtained from the geomagnetic sensor 158 .

信号处理/控制单元160在计算上述方位时,还考虑显示面板21相对于水平面的倾角。When the signal processing/control unit 160 calculates the above-mentioned orientation, it also takes into account the inclination angle [phi] of the display panel 21 relative to the horizontal plane.

当将显示面板21倾斜例如大约45度的角度时,用户可以以舒适的姿势来查看显示面板21的图像。因此,当显示面板21相对于水平面的倾角例如变为优选的45度时,信号处理/控制单元160通过使用倾角,根据等式(1)来计算方位。When the display panel 21 is tilted at an angle of, for example, about 45 degrees, the user can view the image of the display panel 21 in a comfortable posture. Therefore, when the inclination [phi] of the display panel 21 with respect to the horizontal plane becomes, for example, preferably 45 degrees, the signal processing/control unit 160 calculates the orientation according to equation (1) by using the inclination [phi].

当地磁传感器158相对于水平面的顺角在外壳2和3的打开状态和闭合状态中不同时,信号处理/控制单元160可以考虑此倾角的不同,计算这些状态的方位角。例如,与闭合状态中第一外壳2和第二外壳3几乎平行重叠时不同,假设两个外壳的连接使得在打开状态中第一外壳2和第二外壳3相对倾斜。在这种情况下,当用户试图在两种操作方式下将视线相对于显示面板21的方向维持恒定时,第二外壳3相对于水平面的倾斜在打开状态和闭合状态中不同。第二外壳3的倾斜差异意味着参考方向A相对于水平面的倾斜在打开和闭合状态中不同。因此,信号处理/控制单元160根据打开/闭合判断单元153的判断结果,使用预定角度的倾角,来执行方位计算。该倾角是预先设定的角度,从而当显示面板21相对于水平面的倾角例如是优选的45度时,在打开状态和闭合状态中保持不变。When the down angle [phi] of the geomagnetic sensor 158 with respect to the horizontal plane is different in the open and closed states of the housings 2 and 3, the signal processing/control unit 160 may consider this difference in inclination to calculate the azimuths for these states. For example, unlike when the first case 2 and the second case 3 overlap almost in parallel in the closed state, it is assumed that the two cases are connected such that the first case 2 and the second case 3 are relatively inclined in the open state. In this case, when the user tries to keep the direction of line of sight relative to the display panel 21 constant in both operation modes, the inclination of the second housing 3 with respect to the horizontal plane differs between the open state and the closed state. The difference in inclination of the second housing 3 means that the inclination of the reference direction A with respect to the horizontal plane is different in the open and closed state. Therefore, the signal processing/control unit 160 performs the azimuth calculation using the inclination angle [phi] of a predetermined angle according to the determination result of the opening/closing determination unit 153 . This inclination angle [phi] is an angle set in advance so that when the inclination angle [phi] of the display panel 21 with respect to the horizontal plane is, for example, preferably 45 degrees, it remains constant in the open state and the closed state.

倾角的信息例如以数据表的形式预先存储在存储单元152中。当检测方位时,信号处理/控制单元160从存储单元152中的数据表中读出与打开/闭合判断单元153的判断结果相关联的倾角的信息,并使用该倾角的信息来计算方位。The information on the inclination angle [phi] is pre-stored in the storage unit 152 in the form of a data table, for example. When detecting the azimuth, the signal processing/control unit 160 reads the information of the inclination phi associated with the judgment result of the opening/closing judging unit 153 from the data table in the storage unit 152, and uses the information of the inclination phi to calculate the azimuth .

方位计算处理Azimuth calculation processing

图12是图示了蜂窝电话100中方位计算处理示例的流程图。FIG. 12 is a flowchart illustrating an example of azimuth calculation processing in the cellular phone 100 .

当通过键输入单元154处的键输入操作等选择开始地点发现处理时,信号处理/控制单元160激活地磁传感器158,并获取方位信息(ST202),然后检查是否发生预定事件(现象)或结束程序(ST204)。When the start point finding process is selected by a key input operation or the like at the key input unit 154, the signal processing/control unit 160 activates the geomagnetic sensor 158, and acquires orientation information (ST202), and then checks whether a predetermined event (phenomenon) occurs or ends the program (ST204).

此处“预定事件”意味着当在显示单元155上显示方位信息(航向向上显示的地图或指示方位的指南针)时蜂窝电话100中的电路和处理系统中导致地磁传感器158的检测值改变的事件。该预定事件包括例如在图8的步骤ST146处从导航服务器系统402获取地图信息的情况下以及在执行呼叫接收处理和邮件接收处理的情况下操作无线通信单元150的事件。预定事件可以包括根据键输入操作、方位信息的改变、地图显示更新等改变显示单元155上的显示亮度的事件,操作音频处理单元156及从扬声器输出音频的事件等等。在显示单元155具有LCD面板的情况下,作为预定事件,例如可以包括接通/关闭用作LCD背光的光源或者改变光源发光强度的事件。The "predetermined event" here means an event that causes a change in the detection value of the geomagnetic sensor 158 in the circuits and processing systems in the cellular phone 100 when the orientation information (map displayed heading upward or compass indicating the orientation) is displayed on the display unit 155 . The predetermined events include, for example, events of operating the wireless communication unit 150 in the case of acquiring map information from the navigation server system 402 at step ST146 of FIG. 8 and in the case of executing call reception processing and mail reception processing. The predetermined events may include an event of changing display brightness on the display unit 155 according to a key input operation, a change of orientation information, a map display update, etc., an event of operating the audio processing unit 156 and outputting audio from a speaker, and the like. In the case where the display unit 155 has an LCD panel, as predetermined events, for example, an event of turning on/off a light source serving as a backlight of the LCD or changing the luminous intensity of the light source may be included.

当检测到出现这种预定事件时,信号处理/控制单元160从存储单元152中读出与检测到的事件相对应的预先准备的地磁检测值的校正数据,并改变当前使用的校正数据。When detecting occurrence of such a predetermined event, the signal processing/control unit 160 reads out previously prepared correction data of geomagnetic detection values corresponding to the detected event from the storage unit 152, and changes the currently used correction data.

图13是示出了校正数据示例的图。FIG. 13 is a diagram showing an example of correction data.

在图13的示例中,校正数据包括与地磁传感器158的X轴、Y轴和Z轴检测值相对应的三个校正值。例如,当执行用于操作无线通信单元150的通信处理时,信号处理/控制单元160从存储单元152中读出与X轴、Y轴和Z轴地磁检测值相对应的校正值“-1”、“0”和“-1”。In the example of FIG. 13 , the correction data includes three correction values corresponding to the X-axis, Y-axis, and Z-axis detection values of the geomagnetic sensor 158 . For example, when performing communication processing for operating the wireless communication unit 150, the signal processing/control unit 160 reads out the correction value “−1” corresponding to the X-axis, Y-axis, and Z-axis geomagnetic detection values from the storage unit 152 , "0" and "-1".

存储单元152例如存储与多个事件相对应的这种校正数据。通过预先测量在每个事件发生的情况以及事件不发生的情况下地磁检测值的波动量,来确定校正数据的每个校正值。The storage unit 152 stores such correction data corresponding to a plurality of events, for example. Each correction value of the correction data is determined by measuring in advance the fluctuation amount of the geomagnetic detection value in the case where each event occurs and in the case where the event does not occur.

当在步骤ST204中检测到发生多个事件时,信号处理/控制单元160向三个方向中的地磁检测值加上与所检测到的事件相对应的校正数据的校正值。例如,在图13的示例中,在通信处理和音频输出处理都发生的情况下,当地磁传感器的检测值是±255时,X轴校正值变为“-1”+“-1”=“-2”,Y轴校正值变为“0”+“0”=“0”,并且Z轴校正值变为“-1”+“0”=“-1”。When the occurrence of a plurality of events is detected in step ST204 , the signal processing/control unit 160 adds correction values of correction data corresponding to the detected events to geomagnetic detection values in three directions. For example, in the example of FIG. 13, in the case where both communication processing and audio output processing occur, when the detection value of the geomagnetic sensor is ±255, the X-axis correction value becomes "-1"+"-1"=" -2", the Y-axis correction value becomes "0"+"0"="0", and the Z-axis correction value becomes "-1"+"0"="-1".

另外,当在步骤ST204检测到特定事件结束时,信号处理/控制单元160从当前值中减去与所结束的事件相对应的校正数据的校正值。例如,在当前的X轴、Y轴和Z轴校正值是“-2”、“-1”和“1”的状态并且图13所示的通信处理结束时,X轴校正值变为“-2”-“-1”=“-1”,Y轴校正值变为“-1”-“0”=“-1”,并且Z轴校正值变为“1”-“-1”=“2”。In addition, when the end of the specific event is detected in step ST204, the signal processing/control unit 160 subtracts the correction value of the correction data corresponding to the ended event from the current value. For example, in a state where the current X-axis, Y-axis, and Z-axis correction values are "-2", "-1" and "1" and the communication processing shown in FIG. 13 ends, the X-axis correction value becomes "- 2"-"-1"="-1", the Y-axis correction value becomes "-1"-"0"="-1", and the Z-axis correction value becomes "1"-"-1"=" 2".

信号处理/控制单元160根据从存储单元152中读出的校正数据,校正地磁传感器158的检测值(ST208)。即,信号处理/控制单元160将校正数据的相应校正值加到地磁传感器三个方向上的检测值。然后,通过使用此校正后的地磁校正值,信号处理/控制单元160利用上述计算方法来计算方位(ST210)。The signal processing/control unit 160 corrects the detection value of the geomagnetic sensor 158 based on the correction data read out from the storage unit 152 (ST208). That is, the signal processing/control unit 160 adds the corresponding correction values of the correction data to the detection values in the three directions of the geomagnetic sensor. Then, by using this corrected geomagnetic correction value, the signal processing/control unit 160 calculates the azimuth using the calculation method described above (ST210).

在执行地点发现处理期间,信号处理/控制单元160重复上述步骤ST204至ST210的处理(ST212)。During execution of the spot finding process, the signal processing/control unit 160 repeats the above-described processes of steps ST204 to ST210 (ST212).

如上所述,根据图12所示的方位计算处理的第一示例,当在显示单元155上显示方位信息时,由信号处理/控制单元160监视改变蜂窝电话100内部磁场的预定事件(包括事件结束)的发生。当检测到预定事件发生时,校正方位信息。As described above, according to the first example of the azimuth calculation process shown in FIG. )happened. The orientation information is corrected when an occurrence of a predetermined event is detected.

因此,即使地磁传感器158的检测值由于事件的发生而改变并且显示单元155上所显示的方位信息的精度降低时,通过检测事件的发生并校正方位信息,可以恢复方位信息的精度。Therefore, even when the detection value of the geomagnetic sensor 158 changes due to the occurrence of an event and the accuracy of the azimuth information displayed on the display unit 155 decreases, the accuracy of the azimuth information can be restored by detecting the occurrence of the event and correcting the azimuth information.

另外,预先为每个事件确定且存储在存储单元152中的校正数据用于校正方位信息,因此可以针对每个发生的事件高精度地校正方位信息。In addition, correction data determined in advance for each event and stored in the storage unit 152 is used to correct the azimuth information, so the azimuth information can be corrected with high precision for each occurring event.

图14是图示了蜂窝电话100中方位计算处理的又一示例的流程图。FIG. 14 is a flowchart illustrating still another example of azimuth calculation processing in the cellular phone 100 .

图14与上述图12的区别在于:在从检测到预定事件发生到计算方位信息的校正并在显示单元155上显示计算结果的方位信息之间的时间段中,在显示单元155上显示在显示单元155上所显示的方位信息精度为低的事实。The difference between FIG. 14 and the above-mentioned FIG. 12 is that in the time period from the detection of the occurrence of a predetermined event to the calculation of the correction of the orientation information and the display of the orientation information of the calculation result on the display unit 155, the display on the display unit 155 is displayed on the display unit 155. The fact that the orientation information displayed on unit 155 is of low accuracy.

即,当在步骤ST204中检测到发生预定事件时,信号处理/控制单元160在显示单元155上显示在显示单元155上所显示的方位信息精度为低的事实(步骤ST214)。例如,当显示表示方位的指南针图像时,可以显示该指南针左右摆动的运动,以指示方位信息精度为低。另外,可以改变指南针图像的形状、色彩和尺寸,或者显示指示方位精度低的另一图像。That is, when the occurrence of a predetermined event is detected in step ST204, the signal processing/control unit 160 displays on the display unit 155 the fact that the orientation information displayed on the display unit 155 is low in accuracy (step ST214). For example, when displaying a compass image representing an azimuth, the movement of the compass swinging left and right may be displayed to indicate that the accuracy of the azimuth information is low. In addition, it is possible to change the shape, color, and size of the compass image, or to display another image indicating a low accuracy of the azimuth.

信号处理/控制单元160在改变校正值(ST206)、校正地磁检测值(ST208)及计算方位(ST210)期间在显示单元155上显示指示方位精度降低的信息。然后,当在显示单元155上显示校正后的方位信息时,当方位精度恢复时(ST211),在显示单元155上显示该恢复(ST216)。The signal processing/control unit 160 displays information indicating a decrease in azimuth accuracy on the display unit 155 during changing the correction value (ST206), correcting the geomagnetism detection value (ST208), and calculating the azimuth (ST210). Then, when the corrected azimuth information is displayed on the display unit 155, when the azimuth accuracy is restored (ST211), the restoration is displayed on the display unit 155 (ST216).

例如,当通过左右摆动指南针图像的运动来显示方位精度下降时,可以中止这种左右摆动,以指示方位精度恢复。当通过改变指南针图像的形状、色彩和尺寸来显示方位精度下降时,可以将其返回初始状态,以指示精度恢复。可选地,可以显示指示方位信息精度恢复的另一图像。For example, when a decrease in azimuth accuracy is indicated by the motion of panning the compass image side to side, the side to side panning may be discontinued to indicate restoration of azimuth accuracy. When a decrease in azimuth accuracy is shown by changing the shape, color, and size of the compass image, it can be returned to its original state to indicate the return of accuracy. Optionally, another image indicating the recovery of the accuracy of the orientation information may be displayed.

如上所述,根据图14所示的方位计算处理的第二示例,当地磁检测值的校正值由于预定事件的发生(包括事件结束)而改变时,在利用新校正值重新计算方位并在显示单元155上显示结果期间,可以向用户通知所显示的方位信息的精度为低的事实。由于该原因,用户能够正确把握所显示的方位信息的精度是否为低。As described above, according to the second example of the azimuth calculation processing shown in FIG. 14, when the correction value of the magnetic detection value is changed due to the occurrence of a predetermined event (including the end of the event), the azimuth is recalculated using the new correction value and displayed on the display. During the display of the results on unit 155, the user may be notified of the fact that the accuracy of the displayed orientation information is low. For this reason, the user can correctly grasp whether the accuracy of the displayed orientation information is low.

图15是图示了蜂窝电话100中方位计算处理的示例的流程图。FIG. 15 is a flowchart illustrating an example of azimuth calculation processing in the cellular phone 100 .

在上述图12和14的方位计算处理示例中,校正了由于内部处理方面的事件发生而出现的地磁检测值改变,但是在接下来解释的图15的示例中,根据外壳2和3的打开/闭合状态来校正地磁检测值的改变。In the azimuth calculation processing examples of FIGS. 12 and 14 described above, changes in geomagnetic detection values due to occurrence of events on the internal processing side were corrected, but in the example of FIG. Closed state to correct changes in geomagnetic detection values.

蜂窝电话100包括例如在扬声器22和其他部件中使用的磁体(产生与由于上述内部处理而针对每个事件所生成的动态磁场不同的静磁场)。这种静磁场变成地磁检测值的恒定误差(偏移误差)的起因,并且通过稍后解释的偏移误差校正处理来校正。然而,当外壳2和3的打开/闭合状态改变时,这些静磁场产生源的位置关系改变,因此偏移误差据此改变。The cellular phone 100 includes, for example, magnets (generating a static magnetic field different from the dynamic magnetic field generated for each event due to the internal processing described above) used in the speaker 22 and other components. Such a static magnetic field becomes a cause of a constant error (offset error) of geomagnetic detection values, and is corrected by offset error correction processing explained later. However, when the open/closed states of the housings 2 and 3 change, the positional relationship of these static magnetic field generation sources changes, and thus the offset error changes accordingly.

因此,在第三示例的方位计算处理中,为了减小由于这种偏移误差改变而导致的方位计算值精度降低,将通过偏移误差校正处理所获得的偏移误差校正值单独作为针对打开状态和闭合状态中每个状态的事件。于是,在外壳2和3的打开/闭合状态改变的情况下,与此相匹配,改变偏移误差校正中所使用的校正值。Therefore, in the azimuth calculation processing of the third example, in order to reduce the decrease in the accuracy of the azimuth calculation value due to such an offset error change, the offset error correction value obtained by the offset error correction processing is used alone as the Events for each of the states and closed states. Then, in the case where the opening/closing states of the casings 2 and 3 are changed, the correction value used in the offset error correction is changed in accordance with this.

当通过键输入单元154处的键输入操作等选择开始地点发现处理时,信号处理/控制单元160激活地磁传感器158,并获取方位信息(ST302),然后检查打开/闭合判断单元153的判断结果(ST304)。当在打开/闭合判断单元153中判断外壳2和3处于打开状态时,信号处理/控制单元160读出例如在信号处理/控制单元160中未示出的寄存器中保持的打开状态的偏移误差校正数据(ST306),并据此来校正地磁传感器158的检测值(ST307)。另外,当在打开/闭合判断单元153中判断外壳2和3处于闭合状态时,信号处理/控制单元160读出在信号处理/控制单元160中未示出的寄存器中保持的闭合状态的偏移误差校正数据(ST308),并据此来校正地磁传感器158的检测值(ST309)。When the start point finding process is selected by a key input operation or the like at the key input unit 154, the signal processing/control unit 160 activates the geomagnetic sensor 158, and acquires orientation information (ST302), and then checks the judgment result of the opening/closing judgment unit 153 ( ST304). When it is judged in the opening/closing judging unit 153 that the housings 2 and 3 are in the open state, the signal processing/control unit 160 reads, for example, an offset error of the open state held in a register not shown in the signal processing/control unit 160 Correct the data (ST306), and correct the detection value of the geomagnetic sensor 158 accordingly (ST307). In addition, when it is judged in the opening/closing judging unit 153 that the housings 2 and 3 are in the closed state, the signal processing/control unit 160 reads out the offset of the closed state held in a register not shown in the signal processing/control unit 160 Error correction data (ST308), and correct the detection value of the geomagnetic sensor 158 accordingly (ST309).

注意,偏移误差校正数据例如由与三个方向的地磁检测值相对应的三个校正值构成,如图13所示。在开始地点发现处理时或者在通过稍后解释的偏移误差校正处理执行地点发现处理期间,频繁获取这些校正值,并写入信号处理/控制单元160中为打开和闭合状态中每个状态所设置的预定寄存器中。当执行偏移误差校正处理并获取了新的校正值时,重写寄存器中存储的偏移误差校正数据。Note that the offset error correction data is composed of, for example, three correction values corresponding to geomagnetic detection values in three directions, as shown in FIG. 13 . These correction values are acquired frequently at the time of starting the spot finding process or during the execution of the spot finding process by the offset error correction process explained later, and are written in the signal processing/control unit 160 for each of the open and closed states. set in the predetermined register. When the offset error correction process is executed and a new correction value is acquired, the offset error correction data stored in the register is rewritten.

当校正地磁传感器158的检测值时,信号处理/控制单元160通过使用该校正之后的地磁检测值来计算方位(ST312)。When correcting the detection value of the geomagnetic sensor 158, the signal processing/control unit 160 calculates the azimuth by using the corrected geomagnetic detection value (ST312).

然后,信号处理/控制单元160再次获取打开/闭合判断单元153的判断结果,并检查打开/闭合状态是否改变(ST314)。Then, the signal processing/control unit 160 acquires the judgment result of the opening/closing judging unit 153 again, and checks whether the opening/closing state changes (ST314).

当检测到从闭合状态改变为打开状态时,信号处理/控制单元160返回步骤ST306,在该步骤中其读出打开状态中的偏移误差校正数据,并通过使用该数据重复地磁检测值的校正以及方位的计算(ST307、ST312)。当检测到从打开状态改变为闭合状态时,信号处理/控制单元160返回步骤ST308,在该步骤中其读出闭合状态中的偏移误差校正数据,并通过使用该数据重复地磁检测值的校正以及方位的计算(ST309、ST312)。When detecting the change from the closed state to the open state, the signal processing/control unit 160 returns to step ST306, where it reads out the offset error correction data in the open state, and repeats the correction of the geomagnetic detection value by using the data. And the calculation of the orientation (ST307, ST312). When detecting the change from the open state to the closed state, the signal processing/control unit 160 returns to step ST308, where it reads out the offset error correction data in the closed state, and repeats the correction of the geomagnetic detection value by using the data. And the calculation of the orientation (ST309, ST312).

当打开/闭合状态没有改变时,信号处理/控制单元160确认是否选择了结束地点发现处理(ST316)。当地点发现处理继续时,信号处理/控制单元160通过使用当前所使用的偏移误差校正数据来重复地磁检测值的校正以及方位的计算(ST307/309、ST312)。When the open/closed state has not changed, the signal processing/control unit 160 confirms whether the end point finding process is selected (ST316). When the spot finding process continues, the signal processing/control unit 160 repeats the correction of the geomagnetic detection value and the calculation of the azimuth by using the currently used offset error correction data (ST307/309, ST312).

当选择了结束地点发现处理时,信号处理/控制单元160将寄存器中所保持的打开状态和闭合状态的偏移误差校正数据存储在存储单元152中(ST318)。由于该操作,当下次执行地点发现处理时,通过使用存储单元152中存储的偏移误差校正数据,可以顺利地计算方位。When the end point finding process is selected, the signal processing/control unit 160 stores the offset error correction data of the open state and closed state held in the register in the storage unit 152 (ST318). Due to this operation, when the spot finding process is performed next time, by using the offset error correction data stored in the storage unit 152, the azimuth can be smoothly calculated.

如上所述,根据图15所示的方位计算处理示例,当在显示单元155上显示方位信息时,监视打开/闭合判断单元153中判断结果的改变,并且当检测到改变时,根据改变后的状态(打开状态或闭合状态)来校正显示单元155上所显示的方位信息。即,当检测到改变时,对地磁传感器158的检测值执行与改变后的状态相对应的预定校正,并根据校正后的这些地磁检测值来计算方位。As described above, according to the azimuth calculation processing example shown in FIG. 15, when the azimuth information is displayed on the display unit 155, a change in the judgment result in the open/close judgment unit 153 is monitored, and when a change is detected, according to the changed The orientation information displayed on the display unit 155 is corrected according to the state (open state or closed state). That is, when a change is detected, a predetermined correction corresponding to the changed state is performed on the detection values of the geomagnetic sensor 158, and the azimuth is calculated from these corrected geomagnetic detection values.

因此,在构造为在打开状态和闭合状态中显示单元155都可以显示方位信息的蜂窝电话100中,即使在地磁传感器158的检测值随诸如打开/闭合状态改变之类的事件发生而改变并且所显示的方位信息精度降低的情况下,通过检测打开/闭合判断单元153中判断结果的改变并校正方位信息,可以恢复方位信息的精度。Therefore, in the cellular phone 100 configured so that the display unit 155 can display orientation information in both the open state and the closed state, even when the detection value of the geomagnetic sensor 158 changes with the occurrence of an event such as a change in the open/closed state and the resulting In a case where the accuracy of the displayed orientation information is lowered, the accuracy of the orientation information can be restored by detecting a change in the determination result in the open/close determination unit 153 and correcting the orientation information.

另外,在信号处理/控制单元160的预定寄存器中单独保持打开状态和闭合状态的偏移误差校正数据,并且根据打开/闭合状态通过使用合适的偏移误差校正数据来执行方位信息的校正,因此在各状态中都可以高精度地校正方位信息。In addition, the offset error correction data of the open state and the closed state are separately held in a predetermined register of the signal processing/control unit 160, and the correction of the azimuth information is performed by using the appropriate offset error correction data according to the open/closed state, so The azimuth information can be corrected with high precision in each state.

注意,在步骤ST314中检测打开/闭合状态改变时,在根据打开/闭合判断单元153的判断结果检测到打开/闭合状态改变后,通过利用在此改变之后打开或闭合状态将持续预定时间的事实,最终可以判断从打开状态改变为闭合状态或者从闭合状态改变为打开状态。由于该原因,当用户无意中触动活动机构单元4并且立即检测到打开/闭合状态改变时,可以防止偏移误差校正数据的错误改变。Note that when the open/close state change is detected in step ST314, after the open/close state change is detected according to the judgment result of the open/close judgment unit 153, by utilizing the fact that the open or closed state will continue for a predetermined time after this change , and finally it can be judged from the open state to the closed state or from the closed state to the open state. For this reason, when the user accidentally touches the movable mechanism unit 4 and the opening/closing state change is detected immediately, it is possible to prevent erroneous changes of the offset error correction data.

图16是图示了蜂窝电话100中方位计算处理示例的流程图。FIG. 16 is a flowchart illustrating an example of azimuth calculation processing in the cellular phone 100 .

图16与上述图15的区别在于:在从打开/闭合判断单元153中检测到打开/闭合状态改变的事件到重新计算方位并在显示单元155上显示重新计算的方位信息之间的时间段中,在显示单元155上显示在显示单元155上所显示的方位信息精度为低的事实。The difference between FIG. 16 and the above-mentioned FIG. 15 is that in the time period from the detection of the opening/closing state change event in the opening/closing judging unit 153 to recalculating the orientation and displaying the recalculated orientation information on the display unit 155 , the fact that the accuracy of the orientation information displayed on the display unit 155 is low is displayed on the display unit 155 .

信号处理/控制单元160在步骤ST314检测打开/闭合状态的改变,据此在步骤ST306或ST308根据改变后的状态读出偏移误差校正数据,然后在显示单元155上显示在显示单元155上所显示的方位信息精度为低的事实(ST320)。The signal processing/control unit 160 detects a change in the open/closed state in step ST314, and accordingly reads out the offset error correction data according to the changed state in step ST306 or ST308, and then displays the data displayed on the display unit 155 on the display unit 155. The fact that the precision of the direction information is displayed is low (ST320).

信号处理/控制单元160通过例如使表示方位的指南针图像左右摆动、改变指南针图像的形状、色彩和尺寸或者显示指示方位精度下降的另一图像之类的方法(与图14的步骤ST214一样),来在显示单元155上显示方位精度降低的信息。The signal processing/control unit 160 (same as step ST214 of FIG. to display on the display unit 155 the information that the azimuth accuracy is degraded.

在校正地磁检测值(ST307/309)和计算方位(ST312)期间,信号处理/控制单元160在显示单元155上显示指示方位精度降低的信息。然后,当在显示单元155上显示校正后的方位信息时,信号处理/控制单元160在显示单元155上显示方位精度已经恢复的事实(ST322)。例如,当通过指南针图像左右摆动的运动来显示方位精度降低时,可以停止这种左右摆动。当通过改变指南针图像的形状、色彩和尺寸来显示方位精度降低时,可以使图像恢复原状。可选地,可以显示指示方位信息精度恢复的另一图像。During correction of the geomagnetic detection value (ST307/309) and calculation of the azimuth (ST312), the signal processing/control unit 160 displays on the display unit 155 information indicating that the accuracy of the azimuth is degraded. Then, when displaying the corrected azimuth information on the display unit 155, the signal processing/control unit 160 displays the fact that the azimuth accuracy has been restored on the display unit 155 (ST322). For example, when a reduction in azimuth accuracy is indicated by a motion of the compass image swinging left and right, this swinging can be stopped. It is possible to restore the image to its original state when it shows that the bearing accuracy has decreased by changing the shape, color and size of the compass image. Optionally, another image indicating the recovery of the accuracy of the orientation information may be displayed.

如上所述,根据图16所示的方位计算处理示例,当地磁检测值的校正值由于外壳2和3的打开/闭合状态改变而改变时,在直到通过新校正值重新计算方位并在显示单元155上显示结果之前的时间段中,可以向用户通知所显示的方位信息精度为低的事实。由于该操作,用户能够正确把握所显示的方位信息精度是否为低。As described above, according to the azimuth calculation processing example shown in FIG. 16, when the correction value of the magnetic detection value is changed due to a change in the opening/closing state of the cases 2 and 3, until the azimuth is recalculated by the new correction value and displayed on the display unit During the time period before the result is displayed on the screen 155, the user may be notified of the fact that the accuracy of the displayed orientation information is low. Due to this operation, the user can correctly grasp whether the accuracy of the displayed orientation information is low.

图17是图示了蜂窝电话100中方位计算处理示例的流程图。FIG. 17 is a flowchart illustrating an example of azimuth calculation processing in the cellular phone 100 .

在上述图15和图16的方位计算处理示例中,校正了由于诸如外壳2和3的打开/闭合状态改变之类的事件而导致的地磁检测值改变,但是在下述第五示例中,校正由于诸如将存储卡加载到存储卡单元159中之类的事件而导致的地磁检测值的改变。In the azimuth calculation processing examples of FIGS. 15 and 16 described above, changes in geomagnetic detection values due to events such as changes in the open/closed states of cases 2 and 3 are corrected, but in the fifth example described below, corrections due to A change in the geomagnetic detection value due to an event such as loading a memory card into the memory card unit 159 .

当存储卡使用容易被磁化的部件(例如,半导体集成器件的引线框)时,由于该磁力的影响,在特定情况下存储卡加载和未加载时地磁传感器158的偏移误差不同。When the memory card uses components that are easily magnetized (for example, the lead frame of a semiconductor integrated device), due to the influence of the magnetic force, the offset error of the geomagnetic sensor 158 is different when the memory card is loaded and not loaded under certain circumstances.

图18是示出了地磁传感器检测值(X轴、Y轴和Z轴)根据存储卡加载而随时间的变化示例的图。在图18的示例中,X轴、Y轴和Z轴地磁传感器检测值恰好改变了“-7”、“-8”和“-1”。FIG. 18 is a graph showing an example of changes over time in geomagnetic sensor detection values (X-axis, Y-axis, and Z-axis) according to memory card loading. In the example of FIG. 18 , the detection values of the X-axis, Y-axis and Z-axis geomagnetic sensors are changed by exactly "-7", "-8" and "-1".

在图17的方位计算处理示例中,为了减小由于地磁传感器检测值的这种改变而造成的方位误差,针对存储卡加载和存储卡未加载的每一事件,单独保持通过偏移误差校正处理所获得的偏移误差校正值。然后,当外壳中存储卡的载入状态改变时,与此相匹配,改变用于偏移误差校正的校正值。In the azimuth calculation processing example of FIG. 17, in order to reduce the azimuth error due to such a change in the detection value of the geomagnetic sensor, for each event of memory card loading and memory card unloading, an offset error correction process is individually maintained. The obtained offset error correction value. Then, when the loading state of the memory card in the casing changes, the correction value for offset error correction is changed in accordance with this.

当通过键输入单元154处的键输入操作等选择了开始地点发现处理时,信号处理/控制单元160激活地磁传感器158,并获取方位信息(ST402),并检查存储卡单元159中存储卡的载入状态(ST404)。当通过来自存储卡单元159的信号判断加载了存储卡时,信号处理/控制单元160读出例如在信号处理/控制单元160中未示出的寄存器中保持的加载存储卡时的偏移误差校正数据(ST406),并据此来校正地磁传感器158的检测值(ST407)。另外,当通过来自存储卡单元159的信号判断未加载存储卡时,信号处理/控制单元160读出在信号处理/控制单元160中未示出的寄存器中保持的未加载存储卡时的偏移误差校正数据(ST408),并据此来校正地磁传感器158的检测值(ST409)。When the start point finding process is selected by the key input operation at the key input unit 154, etc., the signal processing/control unit 160 activates the geomagnetic sensor 158, and acquires the orientation information (ST402), and checks the loading of the memory card in the memory card unit 159. into the state (ST404). When it is judged by a signal from the memory card unit 159 that the memory card is loaded, the signal processing/control unit 160 reads out, for example, offset error correction at the time of loading the memory card held in a register not shown in the signal processing/control unit 160 data (ST406), and correct the detection value of the geomagnetic sensor 158 accordingly (ST407). In addition, when it is judged by a signal from the memory card unit 159 that the memory card is not loaded, the signal processing/control unit 160 reads out the offset when the memory card is not loaded held in a register not shown in the signal processing/control unit 160 Error correction data (ST408), and correct the detection value of the geomagnetic sensor 158 accordingly (ST409).

存储卡加载和未加载时的偏移误差校正数据由与三个方向的地磁检测值相对应的三个校正值构成,例如如图18所示。在开始地点发现处理时或者在通过稍后解释的偏移误差校正处理执行地点发现处理期间,频繁获取这些校正值,并写入信号处理/控制单元160中为存储卡加载和未加载时每个状态所设置的预定寄存器中。当执行偏移误差校正处理并获取了新的校正值时,重写寄存器中存储的偏移误差校正数据。The offset error correction data when the memory card is loaded and not loaded is composed of three correction values corresponding to geomagnetic detection values in three directions, as shown in FIG. 18 , for example. These correction values are acquired frequently at the time of starting the location finding process or during the execution of the location finding process by the offset error correction process explained later, and are written in the signal processing/control unit 160 for each time when the memory card is loaded and not loaded. in the predetermined register set by the state. When the offset error correction process is executed and a new correction value is acquired, the offset error correction data stored in the register is rewritten.

当校正地磁传感器158的检测值时,信号处理/控制单元160通过使用该校正之后的地磁检测值来计算方位(ST412)。When correcting the detection value of the geomagnetic sensor 158, the signal processing/control unit 160 calculates the azimuth by using the corrected geomagnetic detection value (ST412).

然后,信号处理/控制单元160再次确认存储卡单元159中存储卡的载入状态,以检查载入状态是否改变(ST414)。Then, the signal processing/control unit 160 reconfirms the loading state of the memory card in the memory card unit 159 to check whether the loading state is changed (ST414).

当检测到从存储卡单元159中没有加载存储卡的状态改变为存储卡单元159中加载了存储卡的状态时,信号处理/控制单元160返回步骤ST406,在该步骤中其读出加载存储卡时的偏移误差校正数据,并通过使用该数据重复地磁检测值的校正以及方位的计算(ST407、ST412)。当检测到从存储卡单元159中加载了存储卡的状态改变为存储卡单元159中没有加载存储卡的态时,信号处理/控制单元160返回步骤ST408,在该步骤中其读出未加载存储卡时的偏移误差校正数据,并通过使用该数据重复地磁检测值的校正以及方位的计算(ST409、ST412)。When detecting a change from a state in which a memory card is not loaded in the memory card unit 159 to a state in which a memory card is loaded in the memory card unit 159, the signal processing/control unit 160 returns to step ST406, in which it reads out the loaded memory card The correction data of the offset error at the time is corrected, and the correction of the geomagnetic detection value and the calculation of the azimuth are repeated by using the data (ST407, ST412). When it is detected that the state in which the memory card is loaded from the memory card unit 159 is changed to the state in which the memory card is not loaded in the memory card unit 159, the signal processing/control unit 160 returns to step ST408, in which it reads out the memory card not loaded. The offset error correction data at the time of the card is used, and the correction of the geomagnetic detection value and the calculation of the azimuth are repeated by using the data (ST409, ST412).

当存储卡的载入状态没有改变时,信号处理/控制单元160确认是否选择了结束地点发现处理(ST416)。当地点发现处理继续时,信号处理/控制单元160通过使用当前所使用的偏移误差校正数据来重复地磁检测值的校正以及方位的计算(ST407/409、ST412)。When the loading state of the memory card has not changed, the signal processing/control unit 160 confirms whether or not the end location finding process is selected (ST416). When the spot finding process continues, the signal processing/control unit 160 repeats the correction of the geomagnetic detection value and the calculation of the azimuth by using the currently used offset error correction data (ST407/409, ST412).

当选择了结束地点发现处理时,信号处理/控制单元160将寄存器中所保持的加载存储卡时和未加载存储卡时的偏移误差校正数据存储在存储单元152中(ST418)。由于该操作,当下次执行地点发现处理时,通过使用存储单元152中存储的偏移误差校正数据,可以顺利地执行方位计算。When the end point finding process is selected, the signal processing/control unit 160 stores the offset error correction data held in the register in the storage unit 152 when the memory card is loaded and when the memory card is not loaded (ST418). Due to this operation, azimuth calculation can be smoothly performed by using the offset error correction data stored in the storage unit 152 when the spot finding process is performed next time.

如上所述,根据图17所示的方位计算处理示例,当在显示单元155上显示方位信息时,监视存储卡单元159中存储卡载入状态的改变,并且当检测到改变时,根据改变后的状态(加载或未加载)来校正显示单元155上所显示的方位信息。即,当检测到存储卡载入状态改变时,对地磁传感器158的检测值执行与改变后的状态相对应的预定校正,并根据该校正后的地磁检测值来计算方位。As described above, according to the azimuth calculation processing example shown in FIG. 17, when azimuth information is displayed on the display unit 155, a change in the memory card loading state in the memory card unit 159 is monitored, and when a change is detected, according to the post-change The state (loaded or not loaded) to correct the orientation information displayed on the display unit 155. That is, when a change in the memory card loading state is detected, a predetermined correction corresponding to the changed state is performed on the detection value of the geomagnetic sensor 158, and the azimuth is calculated from the corrected geomagnetic detection value.

因此,即使当地磁传感器158的检测值由于存储卡的载入状态改变而改变并且显示单元155上所显示的方位信息精度降低时,通过检测存储卡单元159中存储卡载入状态的改变并校正方位信息,可以恢复方位信息的精度。Therefore, even when the detection value of the geomagnetic sensor 158 changes due to a change in the loading state of the memory card and the accuracy of the azimuth information displayed on the display unit 155 decreases, by detecting the change in the loading state of the memory card in the memory card unit 159 and correcting Azimuth information, the accuracy of azimuth information can be recovered.

另外,在信号处理/控制单元160的预定寄存器中单独保持加载状态和未加载状态中的偏移误差校正数据,并且根据存储卡的载入状态通过使用合适的偏移误差校正数据来执行方位信息的校正,因此在每个状态中都可以高精度地校正方位信息。In addition, the offset error correction data in the loaded state and the unloaded state are separately held in a predetermined register of the signal processing/control unit 160, and the azimuth information is executed by using the appropriate offset error correction data according to the loaded state of the memory card , so the orientation information can be corrected with high precision in each state.

图19是图示了蜂窝电话100中方位计算处理示例的流程图。FIG. 19 is a flowchart illustrating an example of azimuth calculation processing in the cellular phone 100 .

图19与上述图17的区别在于:在从检测到存储卡的载入状态改变事件到重新计算方位并在显示单元155上显示重新计算的方位信息之间的时间段中,在显示单元155上显示在显示单元155上所显示的方位信息精度为低的事实。The difference between FIG. 19 and the above-mentioned FIG. 17 is that in the time period from the detection of the loading state change event of the memory card to the recalculation of the orientation and the display of the recalculated orientation information on the display unit 155, the display unit 155 The fact that the precision of the orientation information displayed on the display unit 155 is low is shown.

信号处理/控制单元160在步骤ST414检测存储卡载入状态的改变,据此在步骤ST406或ST408根据改变后的状态读出偏移误差校正数据,然后使显示单元155显示在显示单元155上所显示的方位信息精度为低的事实(ST420)。The signal processing/control unit 160 detects a change in the loading state of the memory card at step ST414, accordingly reads out the offset error correction data according to the changed state at step ST406 or ST408, and then causes the display unit 155 to display the displayed value on the display unit 155. The fact that the accuracy of the direction information is displayed is low (ST420).

在校正地磁检测值(ST407/409)和计算方位(ST412)期间,信号处理/控制单元160在显示单元155上显示指示方位精度降低的信息。然后,当在显示单元155上显示校正后的方位信息时,信号处理/控制单元160在显示单元155上显示方位精度恢复(ST422)。During correction of the geomagnetic detection value (ST407/409) and calculation of the azimuth (ST412), the signal processing/control unit 160 displays on the display unit 155 information indicating that the accuracy of the azimuth is degraded. Then, when displaying the corrected azimuth information on the display unit 155, the signal processing/control unit 160 displays the azimuth accuracy restoration on the display unit 155 (ST422).

例如,当通过指南针图像左右摆动的运动来显示方位精度降低时,可以中止这种左右摆动。当通过改变指南针图像的形状、色彩和尺寸来显示方位精度降低时,可以使图像恢复原状。可选地,可以显示指示方位信息精度恢复的另一图像。For example, when a reduction in azimuth accuracy is indicated by a movement of the compass image swinging from side to side, this side-to-side panning can be discontinued. It is possible to restore the image to its original state when it shows that the bearing accuracy has decreased by changing the shape, color and size of the compass image. Optionally, another image indicating the recovery of the accuracy of the orientation information may be displayed.

如上所述,根据图19所示的方位计算处理示例,当地磁检测值的校正值由于存储卡的载入状态改变而改变时,在直到通过新校正值重新计算方位并在显示单元155上显示结果之前的时间段中,可以向用户通知所显示的方位信息精度为低的事实。由于该操作,用户能够正确把握所显示的方位信息精度是否为低。As described above, according to the azimuth calculation processing example shown in FIG. 19 , when the correction value of the geomagnetic detection value is changed due to a change in the loading state of the memory card, until the azimuth is recalculated by the new correction value and displayed on the display unit 155 In the time period before the result, the user may be notified of the fact that the accuracy of the displayed orientation information is low. Due to this operation, the user can correctly grasp whether the accuracy of the displayed orientation information is low.

偏移误差校正处理Offset Error Correction Processing

偏移误差校正处理是用于校正由于蜂窝电话100内部的磁场产生源而导致的恒定地磁检测值误差的处理。The offset error correction processing is processing for correcting a constant geomagnetism detection value error due to a magnetic field generation source inside the cellular phone 100 .

蜂窝电话100内部产生的静磁场导致地磁传感器158的检测值的恒定误差,与蜂窝电话100所处的方位无关。与此不同,地磁本身的检测值根据蜂窝电话100所处方位而改变。因此,例如,通过在旋转蜂窝电话100同时检测地磁并根据蜂窝电话100的旋转得到地磁矢量的路径,可以容易地计算地磁传感器158的检测值中所包括的偏移误差。The static magnetic field generated inside the cellular phone 100 causes a constant error in the detection value of the geomagnetic sensor 158 regardless of the orientation in which the cellular phone 100 is located. Unlike this, the detection value of the geomagnetism itself changes depending on where the cellular phone 100 is located. Therefore, for example, by detecting the geomagnetism while rotating the cellular phone 100 and finding the path of the geomagnetic vector according to the rotation of the cellular phone 100, the offset error included in the detection value of the geomagnetic sensor 158 can be easily calculated.

在开始地点发现处理时,信号处理/控制单元160在显示单元155上显示指令,提示用户旋转蜂窝电话100。当用户根据该指令旋转蜂窝电话100时,信号处理/控制单元160在旋转中获取地磁传感器158的多个检测值,根据所获取的地磁检测值的矢量路径计算偏移误差差别,并将该差别从地磁传感器158的检测值中减去。由于该操作,获得了其中校正了偏移误差的地磁检测值。Upon starting the place finding process, the signal processing/control unit 160 displays an instruction on the display unit 155 prompting the user to rotate the cellular phone 100 . When the user rotates the cellular phone 100 according to the instruction, the signal processing/control unit 160 acquires a plurality of detection values of the geomagnetic sensor 158 during the rotation, calculates an offset error difference based on the vector paths of the acquired geomagnetic detection values, and converts the difference Subtract from the detection value of the geomagnetic sensor 158 . Due to this operation, geomagnetic detection values in which offset errors are corrected are obtained.

信号处理/控制单元160将通过上述偏移误差校正处理所计算的偏移误差作为偏移误差校正数据存储在信号处理/控制单元160的预定寄存器中。The signal processing/control unit 160 stores the offset error calculated by the above-described offset error correction processing in a predetermined register of the signal processing/control unit 160 as offset error correction data.

即使在执行地点发现处理期间,信号处理/控制单元160也每隔固定时间,就执行上述偏移误差校正处理。Even during execution of the spot finding processing, the signal processing/control unit 160 executes the above-described offset error correction processing every fixed time.

即使在地磁传感器158的检测值变为预定的异常状态(例如,下面将解释的溢出),信号处理/控制单元160也执行偏移误差校正处理并执行地磁检测值的校正。Even when the detection value of the geomagnetic sensor 158 becomes a predetermined abnormal state (for example, overflow to be explained below), the signal processing/control unit 160 performs offset error correction processing and performs correction of the geomagnetic detection value.

图20是图示了在发生了地磁检测值出现异常状态事件时偏移误差校正处理示例的流程图。FIG. 20 is a flowchart illustrating an example of offset error correction processing when a geomagnetic detection value occurrence abnormal state event occurs.

当通过键输入单元154处的键输入操作等选择了开始地点发现处理时(ST502),信号处理/控制单元160检查地磁传感器158的检测值是否已经变为预定的异常状态(ST504)。When the start location finding process is selected by key input operation or the like at the key input unit 154 (ST502), the signal processing/control unit 160 checks whether the detection value of the geomagnetic sensor 158 has become a predetermined abnormal state (ST504).

这里,“预定的异常状态”例如意味着在由“0”到“255”的整数值所表示的任意8位检测值(即,任意X轴、Y轴和Z轴地磁检测值)中出现溢出,并且它的值变为最大值“255”或最小值“0”。另外,规定具有上限值和下限值的正常范围,超出该正常范围的任一地磁检测值都可以定义为异常状态。Here, the "predetermined abnormal state" means, for example, that an overflow occurs in any 8-bit detection value (ie, any X-axis, Y-axis, and Z-axis geomagnetic detection value) represented by an integer value of "0" to "255" , and its value changes to a maximum value of "255" or a minimum value of "0". In addition, a normal range with an upper limit and a lower limit is specified, and any geomagnetic detection value beyond the normal range can be defined as an abnormal state.

当检测到地磁检测值的这种异常状态时,信号处理/控制单元160从检测时刻开始对异常状态持续的时间段进行计数(ST506)。在异常状态持续了预定时间(例如5秒)时,信号处理/控制单元160判断由于蜂窝电话100的磁化等出现了偏移误差,并执行上述偏移误差校正处理(ST510)。When such an abnormal state of the geomagnetism detection value is detected, the signal processing/control unit 160 counts the time period during which the abnormal state lasts from the detection moment (ST506). When the abnormal state continues for a predetermined time (for example, 5 seconds), the signal processing/control unit 160 judges that an offset error has occurred due to magnetization of the cellular phone 100 or the like, and performs the above-described offset error correction process (ST510).

在偏移误差校正处理之后,信号处理/控制单元160检查是否选择结束地点发现处理。当确认处理继续时,信号处理/控制单元160重复上述步骤ST504至ST510的处理(ST512)。After the offset error correction processing, the signal processing/control unit 160 checks whether to select to end the location finding processing. When the confirmation process continues, the signal processing/control unit 160 repeats the processing of steps ST504 to ST510 described above (ST512).

另外,在步骤ST504中没有检测到地磁检测值的异常状态的情况或者在步骤ST508中判断所有检测值的异常状态在预定时间内解决的情况下,信号处理/控制单元160同样确认地点发现处理继续,然后重复步骤ST504至ST510的处理(ST512)。In addition, the signal processing/control unit 160 also confirms that the spot finding process continues in the case where the abnormal state of the geomagnetic detection value is not detected in step ST504 or in the case where it is judged in step ST508 that the abnormal state of all the detected values is resolved within a predetermined time , and then the processing of steps ST504 to ST510 is repeated (ST512).

如上所述,根据图20所示的偏移误差校正处理的第一示例,当在显示单元155上显示方位信息时,在地磁传感器158的检测值变为预定的异常状态并且该异常状态持续了预定时间的情况下,执行方位信息的校正。即,当三个方向中的任一(或多个)地磁检测值变为预定的异常状态并且该异常状态持续了预定时间时,执行地磁传感器158的偏移误差检测处理以及校正此偏移误差的处理(偏移误差校正处理),并且根据该校正后的地磁检测值重新计算方位。因此,通过监视地磁传感器158检测值的任意异常,检测蜂窝电话100的偏移误差的出现,并执行合适的校正,因此可以抑制由于偏移误差而导致的方位信息精度降低。As described above, according to the first example of the offset error correction processing shown in FIG. 20, when the azimuth information is displayed on the display unit 155, the detection value at the geomagnetic sensor 158 becomes a predetermined abnormal state and the abnormal state continues for a period of time. In the case of a predetermined time, the correction of the azimuth information is performed. That is, when any one (or more) of the geomagnetic detection values in the three directions becomes a predetermined abnormal state and the abnormal state lasts for a predetermined time, the offset error detection process of the geomagnetic sensor 158 and the correction of the offset error are performed processing (offset error correction processing), and recalculate the azimuth based on the corrected geomagnetic detection value. Therefore, by monitoring any abnormality in the detection value of the geomagnetic sensor 158, detecting the occurrence of an offset error of the cellular phone 100, and performing an appropriate correction, it is possible to suppress a decrease in accuracy of azimuth information due to an offset error.

另外,根据图20的处理,当地磁检测值变为预定异常状态持续超过预定时间时执行偏移误差校正处理。由于该原因,可以减少如下情况:由于例如从建筑物或列车产生的外部磁场的影响而导致地磁检测值出现的临时异常状态被错误地判断为由于蜂窝电话100的磁化等出现的偏移误差并执行不当的偏移误差校正处理。In addition, according to the processing of FIG. 20 , the offset error correction processing is executed when the magnetic detection value becomes a predetermined abnormal state for more than a predetermined time. For this reason, it is possible to reduce cases where a temporary abnormal state in geomagnetic detection values due to the influence of, for example, an external magnetic field generated from a building or a train is erroneously judged as an offset error due to magnetization of the cellular phone 100, etc. Improper offset error correction processing was performed.

图21是示出了地磁检测值由于外部磁场的影响而出现异常状态的示例的图。在该图的示例中,Z轴方向地磁检测值保持在“0”处超过在3到4秒的时间。当由于外部磁场而出现这种临时异常时,在执行偏移误差校正处理时,不能正确计算偏移误差,因此利用错误的校正值来执行地磁检测值的校正,并且因此方位计算结果变得不正确。方位的不正确状态至少持续到下一次偏移误差校正处理。FIG. 21 is a graph showing an example of an abnormal state in a geomagnetic detection value due to the influence of an external magnetic field. In the example of the figure, the geomagnetic detection value in the Z-axis direction remains at "0" for more than 3 to 4 seconds. When such a temporary abnormality occurs due to an external magnetic field, when the offset error correction process is performed, the offset error cannot be calculated correctly, so the correction of the geomagnetism detection value is performed with an erroneous correction value, and thus the azimuth calculation result becomes incorrect. correct. The incorrect state of orientation persists at least until the next offset error correction process.

如图21所示,由于外部磁场的影响而导致的地磁检测值异常状态通常仅短暂持续数秒,并且在许多情况下例如在5秒内返回正常状态。As shown in FIG. 21 , the abnormal state of the geomagnetic detection value due to the influence of the external magnetic field usually only lasts briefly for several seconds, and returns to a normal state within, for example, 5 seconds in many cases.

因此,如图20中的处理,通过根据异常状态是否持续预定时间或更长,区分由于外部磁场影响和偏移误差而出现的异常状态,并根据此结果控制偏移误差校正处理的执行,从而可以有效避免不当地执行校正处理。Therefore, as in the processing in FIG. 20, by distinguishing the abnormal state occurring due to the influence of the external magnetic field and the offset error according to whether the abnormal state continues for a predetermined time or longer, and controlling the execution of the offset error correction process according to this result, thereby Improper execution of correction processing can be effectively avoided.

图22是图示了蜂窝电话100中的偏移误差校正处理示例的流程图。FIG. 22 is a flowchart illustrating an example of offset error correction processing in the cellular phone 100 .

图22与上述图20的区别在于:在校正方位信息期间,在显示单元155上显示方位信息精度为低的事实。The difference between FIG. 22 and the above-mentioned FIG. 20 lies in the fact that the accuracy of the orientation information is displayed on the display unit 155 during the correction of the orientation information.

在步骤ST508中判断地磁检测值异常持续了预定时间或更长后,信号处理/控制单元160使显示单元155显示在显示单元155上所显示的方位信息精度为低的事实(ST514)。After judging in step ST508 that the geomagnetism detection value has been abnormal for a predetermined time or longer, the signal processing/control unit 160 causes the display unit 155 to display the fact that the accuracy of the azimuth information displayed on the display unit 155 is low (ST514).

在偏移误差校正处理期间(ST510),信号处理/控制单元160在显示单元155上显示指示方位精度降低的信息。然后,当在显示单元155上显示根据校正后的地磁检测值重新计算的方位信息时,信号处理/控制单元160在显示单元155上显示方位精度恢复(ST516)。During the offset error correction process ( ST510 ), the signal processing/control unit 160 displays on the display unit 155 information indicating that the azimuth accuracy has decreased. Then, when displaying the azimuth information recalculated from the corrected geomagnetic detection value on the display unit 155, the signal processing/control unit 160 displays the azimuth accuracy recovery on the display unit 155 (ST516).

例如,当通过左右摆动指南针图像的运动来显示方位精度下降时,可以中止这种左右摆动。当通过改变指南针图像的形状、色彩和尺寸来显示方位精度下降时,可以将其返回初始状态。可选地,可以显示指示方位信息精度恢复的另一图像。For example, when a decrease in azimuth accuracy is shown by the movement of the compass image swinging left and right, this swinging from side to side may be discontinued. It is possible to return the compass image to its original state when it is shown that the azimuth accuracy has decreased by changing the shape, color, and size of the compass image. Optionally, another image indicating the recovery of the accuracy of the orientation information may be displayed.

如上所述,根据图22所示的偏移误差校正处理的第二示例,在地磁检测值出现异常时校正方位信息期间,可以向用户通知显示单元155上所显示的方位信息的精度为低的事实。由于该原因,用户能够正确把握所显示的方位信息的精度是否为低。As described above, according to the second example of the offset error correction process shown in FIG. 22 , during the correction of the azimuth information when the geomagnetic detection value appears abnormal, the user can be notified that the accuracy of the azimuth information displayed on the display unit 155 is low. fact. For this reason, the user can correctly grasp whether the accuracy of the displayed orientation information is low.

图23是图示了蜂窝电话100中的偏移误差校正处理示例的流程图。FIG. 23 is a flowchart illustrating an example of offset error correction processing in the cellular phone 100 .

图23与上述图22的区别在于:在上述溢出方位信息校正期间将地图显示从航向向上显示固定为北向上显示,并且在完成方位信息校正时重新开始航向向上显示。The difference between FIG. 23 and the above-mentioned FIG. 22 is that the map display is fixed from the heading-up display to the north-up display during the correction of the above-mentioned overflowing azimuth information, and the heading-up display is restarted when the azimuth information correction is completed.

当在步骤ST508中判断地磁检测值的异常持续了预定时间或更长时,信号处理/控制单元160将地图显示从航向向上显示固定为北向上显示(ST518)。在偏移误差校正处理期间(ST510),持续北向上显示。然后,当根据此校正后的地磁检测值重新计算方位时,信号处理/控制单元160解除北向上显示,并重新开始航向向上显示(ST520)。When it is judged in step ST508 that the abnormality of the geomagnetic detection value has continued for a predetermined time or longer, the signal processing/control unit 160 fixes the map display from the course-up display to the north-up display (ST518). During the offset error correction process (ST510), the north is continuously displayed. Then, when the azimuth is recalculated based on this corrected geomagnetic detection value, the signal processing/control unit 160 cancels the north-up display and restarts the heading-up display (ST520).

如上所述,即使在图23所示的偏移误差校正处理示例中,通过在检测到地磁检测值异常的事件发生时在校正方位信息期间将地图显示固定为北向上显示,可以向用户通知在显示单元155上所显示的方位信息精度为低的事实。由于该操作,用户能够正确把握所显示的方位信息精度是否为低。As described above, even in the example of the offset error correction processing shown in FIG. The fact that the accuracy of the orientation information displayed on the display unit 155 is low. Due to this operation, the user can correctly grasp whether the accuracy of the displayed orientation information is low.

对由于外部磁场影响造成的误差的校正Correction of errors due to the influence of external magnetic fields

接着,将解释由于外部磁场影响导致地磁传感器158的检测值出现误差并且方位信息精度降低的情况下的处理。Next, processing in a case where an error occurs in the detection value of the geomagnetic sensor 158 due to the influence of the external magnetic field and the accuracy of the azimuth information is lowered will be explained.

一般而言,建筑物、列车等包括许多磁场产生源,因此,在其内部及周围,由于来自这些磁场产生源的外部磁场的影响,地磁传感器158的检测值出现大的误差。如果在这种区域执行偏移误差校正处理,计算出错误的偏移误差,因此,即使在用户离开该区域后,直到再次执行偏移误差校正处理之前,事实上在显示单元155上显示错误的方位信息。In general, buildings, trains, and the like include many magnetic field generating sources, and therefore, large errors occur in detection values of the geomagnetic sensor 158 due to the influence of external magnetic fields from these magnetic field generating sources in and around them. If the offset error correction process is performed in such an area, a wrong offset error is calculated, and therefore, a wrong offset error is actually displayed on the display unit 155 until the offset error correction process is performed again even after the user leaves the area. orientation information.

因此,在下述处理中,当检测到用户已经进入地磁传感器158的检测值由于外部磁场等的影响而出现误差的区域中时,禁止偏移误差校正处理。另外,在显示单元155上显示方位信息精度降低,并且启用对用户是否应该使用方位信息作为参考的判断。Therefore, in the processing described below, when it is detected that the user has entered an area where an error occurs in the detection value of the geomagnetic sensor 158 due to the influence of the external magnetic field or the like, the offset error correction processing is prohibited. In addition, the accuracy of displaying the orientation information on the display unit 155 is lowered, and a judgment on whether the user should use the orientation information as a reference is enabled.

图24是图示了在地磁检测值由于外部磁场影响出现误差的情况下处理示例的流程图。FIG. 24 is a flowchart illustrating an example of processing in a case where an error occurs in a geomagnetism detection value due to the influence of an external magnetic field.

当通过键输入单元154处的键输入操作等选择了开始地点发现处理时,信号处理/控制单元160激活地磁传感器158,并获取方位信息(ST602),并且检查GPS信号接收器151处接收到的GPS信号的电平是否低于预定值(ST604)。When the start point finding process is selected by a key input operation at the key input unit 154 or the like, the signal processing/control unit 160 activates the geomagnetic sensor 158, and acquires orientation information (ST602), and checks the GPS signal receiver 151 received Whether or not the level of the GPS signal is lower than a predetermined value (ST604).

通常,当蜂窝电话100进入建筑物中时,GPS信号的电平变得非常小,甚至变为不可接收的电平。在本示例中,通过利用该特性,判断蜂窝电话100是否已经进入建筑物内部。Often, when the cellular phone 100 enters a building, the level of the GPS signal becomes very small, or even unacceptable. In this example, by utilizing this characteristic, it is judged whether or not the cellular phone 100 has entered the inside of the building.

当检测到GPS信号变为低于预定值时,信号处理/控制单元160判断蜂窝电话100已经进入建筑物内部,并禁止执行上述偏移误差校正处理(ST606)。例如,在每隔恒定时间重复校正处理的情况中,即使在该恒定时间过去之后也不执行校正处理。在这种情况下,信号处理/控制单元160使显示单元155显示方位信息精度降低(ST608)。例如,信号处理/控制单元160使显示单元155通过例如左右摆动表示方位的指南针图像,改变指南针的形状、色彩和尺寸,或者显示表示方位精度降低的另一图像之类的方法,显示方位精度降低的信息。When detecting that the GPS signal becomes lower than the predetermined value, the signal processing/control unit 160 judges that the cellular phone 100 has entered the inside of the building, and prohibits execution of the above-mentioned offset error correction process (ST606). For example, in the case of repeating the correction processing every constant time, the correction processing is not executed even after the constant time elapses. In this case, the signal processing/control unit 160 causes the display unit 155 to display the azimuth information with reduced precision (ST608). For example, the signal processing/control unit 160 causes the display unit 155 to display the reduced accuracy of the azimuth by, for example, swinging the compass image representing the azimuth left and right, changing the shape, color, and size of the compass, or displaying another image representing the reduced accuracy of the azimuth. Information.

另一方面,当检测到GPS信号变为高于预定值时,信号处理/控制单元160判断蜂窝电话100尚未进入建筑物内部,并且如果表现出禁止执行上述偏移误差校正处理的状态,则解除禁止(ST610)。在这种情况下,信号处理/控制单元160使显示单元155显示方位信息精度恢复(ST612)。例如,当通过左右摆动指南针图像的运动来显示方位精度降低时,可以终止该左右摆动。当通过改变指南针图像的形状、色彩和尺寸来显示方位精度下降时,可以将其返回初始状态。可选地,可以显示指示方位信息精度恢复的另一图像。On the other hand, when it is detected that the GPS signal becomes higher than the predetermined value, the signal processing/control unit 160 judges that the cellular phone 100 has not entered the inside of the building, and releases the Disabled (ST610). In this case, the signal processing/control unit 160 causes the display unit 155 to display the azimuth information with accuracy recovery (ST612). For example, when a decrease in azimuth accuracy is shown by the motion of shaking the compass image left and right, the right and left shaking may be terminated. It is possible to return the compass image to its original state when it is shown that the azimuth accuracy has decreased by changing the shape, color, and size of the compass image. Optionally, another image indicating the recovery of the accuracy of the orientation information may be displayed.

在步骤ST608或ST612之后,信号处理/控制单元160检查是否选择结束地点发现处理。当确认处理继续时,信号处理/控制单元160重复上述步骤ST604及随后步骤的处理(ST614)。After step ST608 or ST612, the signal processing/control unit 160 checks whether to choose to end the place finding process. When the confirmation process continues, the signal processing/control unit 160 repeats the processing of the above-mentioned step ST604 and subsequent steps (ST614).

如上所述,根据地磁检测值由于外部磁场的影响而出现误差时的处理示例(图24),当在显示单元155上显示方位信息时,监视GPS信号接收器151处接收到的GPS信号的电平。当检测到该电平变为低于预定值时,判断蜂窝电话100已经进入建筑物内部,并且在显示单元155上显示指示显示单元155上的方位信息精度为低的信息。由于该操作,用户能够正确把握所显示的方位信息精度是否为低。例如,当方位信息精度为低时,用户清楚必须通过其他方法来预测方位,例如,比较地图上所显示的信息与对周围的感觉以确定方位,而不参考屏幕上所显示的方位,因此可以改进地图信息显示处理功能的用户友好性。As described above, according to the processing example ( FIG. 24 ) when an error occurs in the geomagnetism detection value due to the influence of the external magnetic field, when the azimuth information is displayed on the display unit 155, the electric current of the GPS signal received at the GPS signal receiver 151 is monitored. flat. When it is detected that the level becomes lower than the predetermined value, it is judged that the cellular phone 100 has entered the inside of the building, and information indicating that the accuracy of the orientation information on the display unit 155 is low is displayed on the display unit 155 . Due to this operation, the user can correctly grasp whether the accuracy of the displayed orientation information is low. For example, when the accuracy of the orientation information is low, the user knows that the orientation must be predicted by other methods, for example, comparing the information displayed on the map with the feeling of the surroundings to determine the orientation without referring to the orientation displayed on the screen, so it is possible Improved user-friendliness of map information display processing functions.

另外,在由于外部磁场影响而不能正确计算偏移误差的不当区域中(例如,在建筑物内部),禁止执行偏移误差校正处理,因此可以减少显示单元155长时间显示错误方位的情况。In addition, in an inappropriate area (for example, inside a building) where an offset error cannot be correctly calculated due to the influence of an external magnetic field, execution of the offset error correction process is prohibited, so it is possible to reduce cases where the display unit 155 displays a wrong orientation for a long time.

接着,将参考图25所示的流程图,解释地磁检测值由于外部磁场的影响而出现误差时的处理示例。Next, an example of processing when an error occurs in the geomagnetism detection value due to the influence of the external magnetic field will be explained with reference to the flowchart shown in FIG. 25 .

图25与上述图24的区别在于:当检测到GPS信号变为低于预定值时将地图显示从航向向上显示固定为北向上显示,并且当检测到GPS信号变为高于预定值时重新开始航向向上显示。The difference between Figure 25 and the above Figure 24 is that the map display is fixed from the course up display to the north up display when the GPS signal is detected to become lower than the predetermined value, and restarted when the GPS signal is detected to be higher than the predetermined value The heading is displayed up.

当在步骤ST604中检测到GPS信号变为低于预定值时,信号处理/控制单元160禁止偏移误差校正处理(ST606),并且同时将地图显示从航向向上显示固定为北向上显示(ST616)。另外,当在步骤ST604中检测到GPS信号变为高于预定值时,信号处理/控制单元160解除对偏移误差校正处理的禁止(ST610),并且同时解除北向上显示,并重新开始航向向上显示(ST618)。When it is detected in step ST604 that the GPS signal becomes lower than the predetermined value, the signal processing/control unit 160 prohibits the offset error correction processing (ST606), and at the same time fixes the map display from the heading-up display to the north-up display (ST616) . In addition, when it is detected in step ST604 that the GPS signal becomes higher than the predetermined value, the signal processing/control unit 160 cancels the prohibition of the offset error correction process (ST610), and at the same time cancels the north-up display, and restarts the course-up display (ST618).

如上所述,根据图25所示的处理示例,在方位信息精度由于外部磁场影响而降低的区域(例如,建筑物内部)中,通过将地图显示固定为北向上显示,可以向用户通知在显示单元155上所显示的方位信息精度为低的事实。由于该操作,用户能够正确把握所显示的方位信息精度是否为低。As described above, according to the processing example shown in FIG. 25 , in an area (for example, inside a building) where the accuracy of azimuth information decreases due to the influence of an external magnetic field, by fixing the map display to the north-up display, it is possible to notify the user The fact that the orientation information displayed on unit 155 is of low accuracy. Due to this operation, the user can correctly grasp whether the accuracy of the displayed orientation information is low.

接着,将参考图26所示的流程图,解释地磁检测值由于外部磁场的影响而出现误差时的处理示例。Next, an example of processing when an error occurs in the geomagnetism detection value due to the influence of the external magnetic field will be explained with reference to the flowchart shown in FIG. 26 .

图26与上述图25的区别在于:当检测到GPS信号变为低于预定值时,中止方位计算处理和地磁传感器158的操作,而当检测到GPS信号变为高于预定值时,重新开始这些操作。26 differs from the aforementioned FIG. 25 in that the azimuth calculation process and the operation of the geomagnetic sensor 158 are suspended when it is detected that the GPS signal becomes lower than a predetermined value, and restarted when it is detected that the GPS signal becomes higher than a predetermined value. these operations.

当在步骤ST604中检测到GPS信号变为低于预定值时,信号处理/控制单元160将地图显示从航向向上显示固定为北向上显示(ST616),并且同时中止方位计算处理和地磁传感器158的操作(ST620)。当在步骤ST604中检测到GPS信号变为高于预定值时,信号处理/控制单元160解除北向上显示,并重新开始航向向上显示(ST618),并且同时重新开始方位计算处理和地磁传感器158的操作(ST622)。When it is detected in step ST604 that the GPS signal becomes lower than the predetermined value, the signal processing/control unit 160 fixes the map display from the course-up display to the north-up display (ST616), and simultaneously suspends the azimuth calculation processing and the geomagnetic sensor 158 Operation (ST620). When it is detected in step ST604 that the GPS signal has become higher than the predetermined value, the signal processing/control unit 160 cancels the north-up display and restarts the course-up display (ST618), and at the same time restarts the azimuth calculation process and the geomagnetic sensor 158's display. operation (ST622).

通常难以接收到GPS信号的建筑物内部也是易于受外部磁场影响的环境,但是根据上述图26的处理示例,根据GPS信号的电平检测蜂窝电话100是否处于在这种环境中,并且当处于这种环境中时,中止地磁传感器158的操作,因此抑制了向蜂窝电话100中并不使用的电路提供无用电力,并可以实现功耗降低。The inside of a building where it is generally difficult to receive a GPS signal is also an environment easily affected by an external magnetic field, but according to the processing example of FIG. In such an environment, the operation of the geomagnetic sensor 158 is suspended, thus suppressing supply of useless power to circuits not used in the cellular phone 100, and reduction in power consumption can be achieved.

接着,将参考图27所示的流程图,解释地磁检测值由于外部磁场的影响而出现误差时的处理示例。Next, an example of processing when an error occurs in the geomagnetism detection value due to the influence of the external magnetic field will be explained with reference to the flowchart shown in FIG. 27 .

图27与上述图26的区别在于:当检测到GPS信号变为高于预定值时,在方位计算值稳定后,重新开始航向向上显示。The difference between FIG. 27 and the above-mentioned FIG. 26 is that when it is detected that the GPS signal becomes higher than the predetermined value, after the azimuth calculation value is stabilized, the course upward display is resumed.

当在步骤ST604中检测到GPS信号变为高于预定值时,信号处理/控制单元160重新开始方位计算处理和地磁传感器158的操作(ST622),然后判断方位计算值是否变为稳定(ST624)。例如,当方位计算结果的变化程度在预定范围内时,信号处理/控制单元160判断方位计算值稳定。在判断方位计算值稳定之后,信号处理/控制单元160解除北向上显示,并重新开始航向向上显示(ST618)。When it is detected in step ST604 that the GPS signal becomes higher than the predetermined value, the signal processing/control unit 160 restarts the azimuth calculation process and the operation of the geomagnetic sensor 158 (ST622), and then judges whether the azimuth calculation value becomes stable (ST624) . For example, the signal processing/control unit 160 judges that the bearing calculation value is stable when the variation degree of the bearing calculation result is within a predetermined range. After judging that the azimuth calculation value is stable, the signal processing/control unit 160 releases the north-up display and restarts the course-up display (ST618).

如上所述,根据图27所示的处理示例,当GPS信号的信号电平变为高于预定值并且判断蜂窝电话100已经离开建筑物等内部时,在确认方位计算值稳定之后重新开始航向向上显示。由于该原因,例如在蜂窝电话离开建筑物后不久,地磁检测值由于来自建筑物的磁场而改变较大的状态下,可以避免在显示单元155上显示低精度的方位信息。As described above, according to the processing example shown in FIG. 27 , when the signal level of the GPS signal becomes higher than a predetermined value and it is judged that the cellular phone 100 has left the inside of a building or the like, heading up is restarted after confirming that the azimuth calculation value is stable. show. For this reason, it is possible to avoid displaying low-accuracy azimuth information on the display unit 155 in a state where the geomagnetism detection value changes greatly due to the magnetic field from the building, for example, shortly after the cellular phone leaves the building.

接着,将参考图28所示的流程图,解释地磁检测值由于外部磁场的影响而出现误差时的处理示例。Next, an example of processing when an error occurs in the geomagnetism detection value due to the influence of the external magnetic field will be explained with reference to the flowchart shown in FIG. 28 .

在上述处理示例中(图24至图27),根据GPS信号的接收电平,判断蜂窝电话100是否已经进入建筑物,即,蜂窝电话100是否已经进入地磁检测由于外部磁场影响而容易出现误差的区域中。In the above-described processing examples (FIGS. 24 to 27), it is judged whether the cellular phone 100 has entered a building based on the reception level of the GPS signal, that is, whether the cellular phone 100 has entered a place where errors in geomagnetic detection are prone to occur due to the influence of an external magnetic field. in the area.

在接着解释的处理示例中(图28),根据存储单元152中预先寄存的信息,判断蜂窝电话100的当前地点是否包括在使地磁传感器158的检测值精度降低的精度降低区域中。在判断当前地点包括在该区域中时,禁止偏移误差校正处理。另外,通过使显示单元155显示方位信息精度降低,启用对用户是否应该使用方位信息作为参考的判断。In the processing example explained next ( FIG. 28 ), based on information pre-registered in storage unit 152 , it is judged whether or not the current location of cellular phone 100 is included in an accuracy-reduced area that degrades the detection value accuracy of geomagnetic sensor 158 . When it is judged that the current point is included in the area, the offset error correction processing is prohibited. In addition, by causing the display unit 155 to display the orientation information with reduced accuracy, the determination of whether the user should use the orientation information as a reference is enabled.

当通过键输入单元154的键输入操作等选择了开始地点发现处理时,信号处理/控制单元160激活地磁传感器158,并获取方位信息(ST702),并且判断通信设备的当前地点是否包括在存储单元152中寄存的精度降低区域中(ST704)。When the start point finding process is selected by the key input operation of the key input unit 154, etc., the signal processing/control unit 160 activates the geomagnetic sensor 158, and acquires the orientation information (ST702), and judges whether the current position of the communication device is included in the storage unit In the reduced precision area registered in 152 (ST704).

存储单元152中寄存的精度降低区域的信息例如包括从导航服务器系统402发送的标识号和精度降低区域在该地图上的坐标信息(例如,通过坐标范围指示地图上的精度降低区域的信息)。The information of the degraded area registered in the storage unit 152 includes, for example, an identification number sent from the navigation server system 402 and coordinate information of the degraded area on the map (for example, information indicating the degraded area on the map by a coordinate range).

信号处理/控制单元160首先从存储单元152中寄存的精度降低区域的信息中检索与当前所显示的地图相同的标识号信息。当检索结果是存在相同标识号的信息时,进一步判断蜂窝电话100的当前地点是否包括在由坐标信息所指示的地图上的精度降低区域的坐标范围内。当当前地点包括在该坐标范围内时,信号处理/控制单元160判断蜂窝电话100的当前地点包括在精度降低区域中。The signal processing/control unit 160 first retrieves the same identification number information as that of the currently displayed map from the information of the area of reduced precision registered in the storage unit 152 . When the retrieval result is that there is information of the same identification number, it is further judged whether the current location of the cellular phone 100 is included in the coordinate range of the accuracy-reduced area on the map indicated by the coordinate information. When the current location is included in the coordinate range, the signal processing/control unit 160 judges that the current location of the cellular phone 100 is included in the accuracy-reduced area.

在判断当前地点包括在精度降低区域中时,信号处理/控制单元160禁止执行上述偏移误差校正处理(ST706)。例如,当每隔恒定时间重复校正处理时,即使在该恒定时间过去之后也不执行校正处理。在这种情况下,信号处理/控制单元160使显示单元155显示方位信息精度已经降低(ST708)。例如,通过例如左右摆动表示方位的指南针图像,改变指南针的形状、色彩和尺寸,或者显示表示方位精度降低的另一图像之类的方法,在显示单元155上显示方位精度降低的信息。When judging that the current location is included in the accuracy-reduced area, the signal processing/control unit 160 prohibits execution of the above-described offset error correction process (ST706). For example, when the correction processing is repeated every constant time, the correction processing is not performed even after the constant time elapses. In this case, the signal processing/control unit 160 causes the display unit 155 to display that the precision of the azimuth information has decreased (ST708). For example, the information of the reduced accuracy of the azimuth is displayed on the display unit 155 by, for example, shaking the compass image representing the azimuth left and right, changing the shape, color and size of the compass, or displaying another image representing the reduced accuracy of the azimuth.

另一方面,在判断当前地点处于精度降低区域之外时,只要表现出禁止执行偏移误差校正处理的状态,信号处理/控制单元160就解除该禁止(ST710)。在这种情况下,信号处理/控制单元160使显示单元155显示方位信息精度恢复(ST712)。例如,当通过左右摆动指南针图像的运动来显示方位精度降低时,可以终止该左右摆动。当通过改变指南针图像的形状、色彩和尺寸来显示方位精度下降时,可以将其返回初始状态。可选地,可以显示指示方位信息精度恢复的另一图像。On the other hand, when judging that the current location is outside the accuracy-reduced area, the signal processing/control unit 160 releases the prohibition as long as execution of the offset error correction process is prohibited (ST710). In this case, the signal processing/control unit 160 causes the display unit 155 to display the azimuth information with accuracy recovery (ST712). For example, when a decrease in azimuth accuracy is shown by the motion of shaking the compass image left and right, the right and left shaking may be terminated. It is possible to return the compass image to its original state when it is shown that the azimuth accuracy has decreased by changing the shape, color, and size of the compass image. Optionally, another image indicating the recovery of the accuracy of the orientation information may be displayed.

在步骤ST708或ST712之后,信号处理/控制单元160检查是否选择结束地点发现处理。当确认处理继续时,信号处理/控制单元160重复步骤ST704及随后步骤的处理(ST714)。After step ST708 or ST712, the signal processing/control unit 160 checks whether to choose to end the place finding process. When the confirmation process continues, the signal processing/control unit 160 repeats the processing of step ST704 and subsequent steps (ST714).

如上所述,根据地磁检测值由于外部磁场的影响而出现误差时的处理示例(图28),当在显示单元155上显示方位信息时,判断蜂窝电话100的当前地点是否包括在存储单元152中寄存的精度降低区域中。当该判断的结果是判断当前地点包括在精度降低区域中时,在显示单元155上显示指示显示单元155上的方位信息精度为低的信息。由于该操作,用户能够正确把握所显示的方位信息精度是否为低,因此可以改进地图信息显示处理功能的用户友好性。As described above, according to the processing example ( FIG. 28 ) when an error occurs in the geomagnetism detection value due to the influence of an external magnetic field, it is judged whether the current location of the cellular phone 100 is included in the storage unit 152 when the azimuth information is displayed on the display unit 155 Registered in the reduced precision area. When the result of this judgment is that the current location is judged to be included in the accuracy-reduced area, information indicating that the accuracy of the orientation information on the display unit 155 is low is displayed on the display unit 155 . Due to this operation, the user can correctly grasp whether the accuracy of the displayed orientation information is low, so the user-friendliness of the map information display processing function can be improved.

另外,在由于外部磁场影响而不能正确计算偏移误差的精度降低区域中,禁止执行偏移误差校正处理,因此可以减少显示单元155长时间显示错误方位的情况。In addition, in an accuracy-reduced region in which an offset error cannot be correctly calculated due to the influence of an external magnetic field, the execution of the offset error correction process is prohibited, so it is possible to reduce the display unit 155 from displaying a wrong orientation for a long time.

接着,将参考图29所示的流程图,解释地磁检测值由于外部磁场的影响而出现误差时的第六处理示例。Next, a sixth processing example when an error occurs in the geomagnetism detection value due to the influence of the external magnetic field will be explained with reference to the flowchart shown in FIG. 29 .

图29与上述图28的区别在于:当判断当前地点包括在精度降低区域中时将地图显示从航向向上显示固定为北向上显示,并且当判断当前地点移出精度降低区域时重新开始航向向上显示。The difference between FIG. 29 and the above-mentioned FIG. 28 is that the map display is fixed from the heading up display to the north up display when it is judged that the current location is included in the lowered accuracy area, and the heading up display is restarted when it is judged that the current location has moved out of the lowered accuracy area.

当在步骤ST704中判断蜂窝电话100的当前地点包括在精度降低区域中时,信号处理/控制单元160禁止偏移误差校正处理(ST706),并且同时将地图显示从航向向上显示固定为北向上显示(ST716)。另外,当在步骤ST704中判断当前地点移出精度降低区域中时,信号处理/控制单元160解除对偏移误差校正值的禁止(ST710),并且同时解除北向上显示,并重新开始航向向上显示(ST718)。When it is judged in step ST704 that the current location of the cellular phone 100 is included in the accuracy-reduced area, the signal processing/control unit 160 prohibits the offset error correction processing (ST706), and at the same time fixes the map display from the heading-up display to the north-up display (ST716). In addition, when it is judged in step ST704 that the current location has moved out of the accuracy-reduced area, the signal processing/control unit 160 cancels the prohibition of the offset error correction value (ST710), and at the same time cancels the north-up display, and restarts the course-up display ( ST718).

如上所述,根据图29所示的处理示例,在方位信息精度由于外部磁场影响而降低的区域中,通过将地图显示固定为北向上显示,可以向用户通知在显示单元155上所显示的方位信息精度为低的事实。由于该操作,用户能够正确把握所显示的方位信息精度是否为低。As described above, according to the processing example shown in FIG. 29 , in an area where the accuracy of the azimuth information is lowered due to the influence of the external magnetic field, by fixing the map display to the north-up display, the user can be notified of the azimuth displayed on the display unit 155 The fact that the precision of the information is low. Due to this operation, the user can correctly grasp whether the accuracy of the displayed orientation information is low.

接着,将参考图30所示的流程图,解释地磁检测值由于外部磁场的影响而出现误差时的处理示例。Next, an example of processing when an error occurs in the geomagnetism detection value due to the influence of the external magnetic field will be explained with reference to the flowchart shown in FIG. 30 .

图30与上述图29的区别在于:当根据存储单元152的信息判断蜂窝电话100进入精度降低区域时,中止方位计算处理和地磁传感器158的操作,而当判断蜂窝电话100移出精度降低区域时,重新开始这些操作。The difference between FIG. 30 and the above-mentioned FIG. 29 is that when it is judged from the information of the storage unit 152 that the cellular phone 100 has entered the area of reduced accuracy, the azimuth calculation process and the operation of the geomagnetic sensor 158 are suspended, and when it is judged that the cellular phone 100 has moved out of the area of reduced accuracy, Restart these operations.

当在步骤ST704中判断蜂窝电话100的当前地点包括在精度降低区域中时,信号处理/控制单元160将地图显示从航向向上显示固定为北向上显示(ST716),并且同时中止方位计算处理和地磁传感器158的操作(ST720)。当在步骤ST704中判断当前地点移出精度降低区域中时,信号处理/控制单元160解除北向上显示,并重新开始航向向上显示(ST718),并且同时重新开始方位计算处理和地磁传感器158的操作(ST722)。When it is judged in step ST704 that the current location of the cellular phone 100 is included in the accuracy-decreased area, the signal processing/control unit 160 fixes the map display from the heading-up display to the north-up display (ST716), and simultaneously suspends the azimuth calculation processing and geomagnetism Operation of the sensor 158 (ST720). When it is judged in step ST704 that the current location has moved out of the accuracy-reduced area, the signal processing/control unit 160 cancels the north-up display and restarts the course-up display (ST718), and at the same time restarts the azimuth calculation process and the operation of the geomagnetic sensor 158 ( ST722).

如上所述,根据图30所示的处理示例,在方位信息精度由于外部磁场影响而降低的区域中,中止地磁传感器158的操作,因此抑制了向并不使用的电路无用地提供电力,并可以实现功耗降低。As described above, according to the processing example shown in FIG. 30 , in the area where the accuracy of the azimuth information is lowered due to the influence of the external magnetic field, the operation of the geomagnetic sensor 158 is suspended, thus suppressing useless power supply to circuits that are not used, and making it possible Realize power consumption reduction.

接着,将参考图31所示的流程图,解释地磁检测值由于外部磁场的影响而出现误差时的处理示例。Next, an example of processing when an error occurs in the geomagnetism detection value due to the influence of the external magnetic field will be explained with reference to the flowchart shown in FIG. 31 .

图31与上述图30的区别在于:当判断蜂窝电话100移出精度降低区域时,在方位计算值稳定后,重新开始航向向上显示。FIG. 31 differs from the above-described FIG. 30 in that when it is judged that the cellular phone 100 has moved out of the accuracy-reduced area, the heading-up display is resumed after the bearing calculation value stabilizes.

在步骤ST704中判断蜂窝电话100的当前地点处于精度降低区域之外并且重新开始方位计算处理和地磁传感器158的操作(ST722)之后,信号处理/控制单元160判断方位计算值是否稳定(ST724)。例如,当方位计算结果在预定时间中的波动程度在预定范围内时,信号处理/控制单元160判断方位计算值稳定。然后,在判断方位计算值稳定之后,信号处理/控制单元160解除北向上显示,并重新开始航向向上显示(ST718)。After judging in step ST704 that the current location of the cellular phone 100 is outside the area of reduced accuracy and restarting the azimuth calculation process and the operation of the geomagnetic sensor 158 (ST722), the signal processing/control unit 160 judges whether the azimuth calculation value is stable (ST724). For example, the signal processing/control unit 160 judges that the azimuth calculation value is stable when the degree of fluctuation of the azimuth calculation result in a predetermined time is within a predetermined range. Then, after judging that the azimuth calculation value is stable, the signal processing/control unit 160 cancels the north-up display, and restarts the course-up display (ST718).

如上所述,根据图31所示的处理示例,当判断蜂窝电话100的当前地点处于精度降低区域之外时,在确认方位计算值稳定之后,重新开始航向向上显示。由于该原因,在当前地点移出精度降低区域后不久,当地磁检测值由于来自建筑物等的磁场而保持波动时,可以避免在显示单元155上显示低精度的方位信息。As described above, according to the processing example shown in FIG. 31 , when it is judged that the current location of the cellular phone 100 is outside the accuracy-reduced area, the heading-up display is restarted after confirming that the azimuth calculation value is stable. For this reason, when the geomagnetism detection value keeps fluctuating due to a magnetic field from a building or the like immediately after the current location moves out of the accuracy-reduced area, it is possible to avoid displaying low-accuracy azimuth information on the display unit 155 .

接着,将参考图32所示的流程图,解释在上述校正外部磁场影响的处理示例中(图28至图31)在存储单元152中寄存精度降低区域的处理。Next, the process of registering the precision-reduced area in the storage unit 152 in the above-described example of the process of correcting the influence of the external magnetic field ( FIGS. 28 to 31 ) will be explained with reference to the flowchart shown in FIG. 32 .

当通过键输入单元154处的键输入操作等选择了开始地点发现处理时(ST732),信号处理/控制单元160检查地磁传感器158的检测值是否变为预定的异常状态(ST734)。When the start point finding process is selected by key input operation or the like at the key input unit 154 (ST732), the signal processing/control unit 160 checks whether the detection value of the geomagnetic sensor 158 becomes a predetermined abnormal state (ST734).

这里,“预定的异常状态”例如与针对图20的偏移误差校正处理所解释的意义相同。即,在由“0”到“255”的整数值所表示的任意8位检测值中出现溢出的状态,以及任一地磁检测值超出预定正常范围的状态可以被检测为异常状态。Here, the "predetermined abnormal state" has the same meaning as explained for the offset error correction process of FIG. 20, for example. That is, a state in which an overflow occurs in any 8-bit detection value represented by an integer value of "0" to "255", and a state in which any geomagnetic detection value exceeds a predetermined normal range can be detected as an abnormal state.

当检测到地磁检测值的这种异常状态时,信号处理/控制单元160从检测时刻开始对异常状态持续的时间段进行计数(ST736)。然后,在异常状态在预定时间(例如5秒)内结束时,信号处理/控制单元160判断地磁检测值由于外部磁场而出现了误差(ST738),并将当前地点在存储单元152中寄存为精度降低区域(ST740)。When such an abnormal state of the geomagnetism detection value is detected, the signal processing/control unit 160 counts the time period during which the abnormal state lasts from the detection moment (ST736). Then, when the abnormal state ends within a predetermined time (for example, 5 seconds), the signal processing/control unit 160 judges that an error has occurred in the geomagnetic detection value due to an external magnetic field (ST738), and registers the current location in the storage unit 152 as an accuracy Lowered area (ST740).

通过在向存储单元152分配的预定精度降低区域寄存用数据表中,相对应地存储在检测到地磁检测值异常时所显示的地图的标识号以及地图上出现异常的坐标的信息(例如,包括异常发生地点的数米见方区域的坐标范围),在存储单元152中寄存精度降低区域。By correspondingly storing the identification number of the map displayed when the geomagnetic detection value is abnormal and the information of the abnormal coordinates on the map (for example, including The coordinate range of the several-meter-square area of the place where the abnormality occurred), and the accuracy-reduced area is stored in the storage unit 152 .

注意,可以对存储单元152中寄存的精度降低区域数目设置上限。在这种情况下,当存储单元152中寄存的精度降低区域数目达到该上限时,在寄存新的精度降低区域时,信号处理/控制单元160可以从已经寄存的精度降低区域信息中删除最老的信息。由于该操作,可以避免精度降低区域的寄存信息无限制地占用存储单元152的存储区域,并且同时通过留下最新的信息,可以提高精度降低区域信息的可靠性。Note that an upper limit may be set on the number of precision-reduced areas registered in the storage unit 152 . In this case, when the number of reduced precision areas registered in the storage unit 152 reaches the upper limit, when registering a new reduced precision area, the signal processing/control unit 160 may delete the oldest one from the already registered reduced precision area information. Information. Due to this operation, it is possible to prevent the registered information of the reduced-precision region from occupying the storage area of the storage unit 152 without limit, and at the same time, by leaving the latest information, the reliability of the reduced-precision region information can be improved.

在存储单元152中寄存精度降低区域之后,信号处理/控制单元160检查是否选择结束地点发现处理(ST742)。当确认处理继续时,信号处理/控制单元160重复上述步骤ST734至ST740的处理。After registering the reduced-precision area in the storage unit 152, the signal processing/control unit 160 checks whether the end point finding process is selected (ST742). When the confirmation process continues, the signal processing/control unit 160 repeats the processing of steps ST734 to ST740 described above.

另外,当在步骤ST734中没有检测到地磁检测值的异常状态或者在步骤ST738中判断地磁检测值的异常状态持续超过预定时间或更长时,则信号处理/控制单元160同样确认地点发现处理继续,然后重复步骤ST734至ST740的处理。In addition, when the abnormal state of the geomagnetic detection value is not detected in step ST734 or it is judged in step ST738 that the abnormal state of the geomagnetic detection value continues for a predetermined time or longer, the signal processing/control unit 160 also confirms that the spot finding process continues , and then repeat the processing of steps ST734 to ST740.

上面解释了本发明的优选实施例,但是本发明并不仅仅限于上述方面,并且包括各种变化。The preferred embodiments of the present invention are explained above, but the present invention is not limited only to the above aspects and includes various changes.

在上述实施例中,说明了方位计算处理示例、偏移误差校正处理示例、以及在地磁检测值由于外部磁场影响而出现误差时的处理示例,但是本发明的实施例包括任何这些处理示例的所有组合。In the above-described embodiments, an example of azimuth calculation processing, an example of offset error correction processing, and a processing example when an error occurs in a geomagnetism detection value due to the influence of an external magnetic field were explained, but the embodiments of the present invention include all of any of these processing examples combination.

在上述实施例中,说明了地磁传感器158中三个方向上的地磁检测示例,但是本发明不限于此。例如,两个方向也是可能的。In the above-described embodiment, an example of geomagnetism detection in three directions in the geomagnetic sensor 158 was explained, but the present invention is not limited thereto. For example, two directions are also possible.

在上述实施例中,例如在图14的步骤ST208中,说明了在显示单元155上显示方位信息精度降低,但是本发明不限于此。例如,在执行该显示时,当校正方位信息时,可以在显示单元155上显示正在进行校正的事实。可选地,可以在显示单元155上显示指示精度降低和正在进行校正的信息。In the above-described embodiment, for example, in step ST208 of FIG. 14 , it was explained that the accuracy of displaying the orientation information on the display unit 155 is lowered, but the present invention is not limited thereto. For example, when this display is performed, when the azimuth information is corrected, the fact that the correction is being performed may be displayed on the display unit 155 . Alternatively, information indicating a reduction in accuracy and correction in progress may be displayed on the display unit 155 .

另外,可以简单地停止方位信息的显示,而不是显示例如精度降低或正在进行校正之类的信息。在这种情况下,当完成方位校正时(或者当电话离开精度降低区域时),可以通过重新开始显示方位信息,向用户表明方位信息精度恢复。In addition, the display of bearing information may simply be stopped instead of displaying information such as decreased accuracy or ongoing correction. In this case, when the orientation correction is complete (or when the phone leaves the area of reduced accuracy), the user may be indicated to the user that the accuracy of the orientation information is restored by restarting displaying the orientation information.

在图26和27的步骤ST616和ST618中,将显示固定为北向上显示以及解除该显示,但是本发明不限于此。例如,可以以与图24的步骤ST608和ST612中相同的方式来显示方位精度降低以及方位精度恢复。In steps ST616 and ST618 of FIGS. 26 and 27, the display is fixed to the north-up display and released, but the present invention is not limited thereto. For example, azimuth accuracy reduction and azimuth accuracy recovery can be displayed in the same manner as in steps ST608 and ST612 of FIG. 24 .

在图30和31的步骤ST716和ST718中,将显示固定为北向上显示以及解除该显示,但是本发明不限于此。例如,可以以与图28的步骤ST708和ST712中相同的方式来显示方位精度降低以及方位精度恢复。In steps ST716 and ST718 of FIGS. 30 and 31 , the display is fixed to the north-up display and released, but the present invention is not limited thereto. For example, azimuth accuracy reduction and azimuth accuracy recovery can be displayed in the same manner as in steps ST708 and ST712 of FIG. 28 .

在地磁检测值由于外部磁场影响而出现误差时的处理示例中(图28至图31),从存储单元152的数据表中获取精度降低区域的信息,但是本发明不限于此。该信息例如可以从通过无线通信单元150连接的服务器系统中获取。即,信号处理/控制单元160通过无线通信单元150从预定服务器系统中获取指示蜂窝电话100的当前地点是否包括在精度降低区域中的信息,并且在所获取的信息中指示当前地点包括在精度降低区域中时,可以禁止偏移误差校正处理。In the processing example ( FIGS. 28 to 31 ) when the geomagnetic detection value has an error due to the influence of the external magnetic field, the information of the accuracy-reduced area is acquired from the data table of the storage unit 152 , but the present invention is not limited thereto. This information can be obtained, for example, from a server system connected via the wireless communication unit 150 . That is, the signal processing/control unit 160 acquires information indicating whether the current location of the cellular phone 100 is included in the area of reduced accuracy from a predetermined server system through the wireless communication unit 150, and indicates in the acquired information that the current location is included in the area of reduced accuracy. When in the region, offset error correction processing can be disabled.

在上述实施例中,在蜂窝电话100中执行地图旋转处理(例如,航向向上显示),但是本发明不限于此。例如,蜂窝电话100可以向导航服务器系统402指定地图的取向并请求地图信息,并且导航服务器系统402可以响应来自蜂窝电话100的请求,生成该取向的地图信息,并将其提供给蜂窝电话100。即,信号处理/控制单元160可以根据基于地磁检测值所计算的方位执行从导航服务器系统402获取地图的图像信息并将其显示在显示单元155上的处理。然后,在该处理期间,当例如通过GPS信号的电平变为低于预定值从而检测到地磁检测值的检测精度降低时,信号处理/控制单元160可以向导航服务器系统402请求预先设定方位的地图的图像信息,而不管所计算的方位,并获取该图像信息并将其显示在显示单元155上。In the above-described embodiments, map rotation processing (for example, heading-up display) is performed in the cellular phone 100, but the present invention is not limited thereto. For example, cell phone 100 may specify an orientation to a map and request map information from navigation server system 402, and navigation server system 402 may generate map information for that orientation in response to the request from cell phone 100 and provide it to cell phone 100. That is, the signal processing/control unit 160 may perform a process of acquiring image information of a map from the navigation server system 402 and displaying it on the display unit 155 according to the bearing calculated based on the geomagnetic detection value. Then, during this processing, when it is detected that the detection accuracy of the geomagnetism detection value is lowered, for example, by the level of the GPS signal becoming lower than a predetermined value, the signal processing/control unit 160 may request the navigation server system 402 to set the orientation in advance. The image information of the map is acquired and displayed on the display unit 155 regardless of the calculated orientation.

在上述实施例中,在GPS服务器系统401中根据GPS信号执行位置计算处理,但是本发明不限于此。也可以在蜂窝电话100中根据GPS信号执行发现位置的计算。In the above-described embodiments, the position calculation process is performed from GPS signals in the GPS server system 401, but the present invention is not limited thereto. Calculation of the found location may also be performed in the cellular phone 100 from GPS signals.

在上述实施例中,从导航服务器系统402获取地图信息,但是本发明不限于此,地图信息也可以存储在蜂窝电话100内部的存储装置中。In the above-described embodiments, the map information is acquired from the navigation server system 402, but the present invention is not limited thereto, and the map information may also be stored in a storage device inside the cellular phone 100.

在上述实施例中,说明了由计算机根据程序来执行信号处理/控制单元160的处理的示例,但是也可以不是根据计算机,而是由硬件来执行至少一部分处理。In the above-described embodiments, an example in which the processing of the signal processing/control unit 160 is executed by a computer according to a program has been explained, but at least a part of the processing may be executed by hardware instead of a computer.

相反,信号处理/控制单元160之外的至少部分其他单元的处理可以在信号处理/控制单元160的计算机中执行。Instead, at least part of the processing of other units than the signal processing/control unit 160 may be performed in the computer of the signal processing/control unit 160 .

另外,本发明的可移动通信设备不限于移动电话。例如,本发明可以广泛应用于具有通信功能、可移动、且优选地为便携式的通信设备中,例如PDA(个人数字助理)。In addition, the mobile communication device of the present invention is not limited to mobile phones. For example, the present invention can be widely applied in a mobile, and preferably portable, communication device having a communication function, such as a PDA (Personal Digital Assistant).

Claims (18)

1.一种移动地图显示设备,包括:1. A mobile map display device, comprising: 地磁传感器,用于检测地磁,Geomagnetic sensor for detecting geomagnetism, 显示单元,和display unit, and 控制单元,能够根据所述地磁传感器的检测值计算地理方位,并具有第一显示处理和第二显示处理,在获取地图并使所述显示单元显示地图时,所述第一显示处理按照与所述计算的方位相关联的方向进行显示,所述第二显示处理固定在预定方位进行显示,其中The control unit can calculate the geographical orientation according to the detection value of the geomagnetic sensor, and has a first display process and a second display process. When the map is acquired and the display unit displays the map, the first display process is in accordance with the The direction associated with the calculated orientation is displayed, and the second display process is fixed at a predetermined orientation for display, wherein 在显示所述地图时,当检测到所述地磁传感器的精度降低时,所述控制单元通过所述第二显示处理执行显示。In displaying the map, the control unit performs display by the second display process when it is detected that the accuracy of the geomagnetic sensor has decreased. 2.如权利要求1所述的移动地图显示设备,其中,所述控制单元监视所述地磁传感器的检测值,并在检测到检测值超过预定值、未达到预定值、或者不稳定的状态中至少之一时认为所述精度降低已经发生。2. The mobile map display device according to claim 1, wherein the control unit monitors the detection value of the geomagnetic sensor, and detects that the detection value exceeds a predetermined value, does not reach a predetermined value, or is unstable. At least one of the times is considered to have occurred. 3.如权利要求1所述的移动地图显示设备,其中,所述控制单元监视所述地磁传感器的检测值,并在检测到检测值超过预定值、未达到预定值、或者不稳定持续预定时间的状态中至少之一时认为所述精度降低已经发生。3. The mobile map display device according to claim 1, wherein the control unit monitors the detection value of the geomagnetic sensor, and detects that the detection value exceeds a predetermined value, does not reach a predetermined value, or is unstable for a predetermined time The reduction in precision is considered to have occurred when at least one of the states of . 4.如权利要求1所述的移动地图显示设备,其中,所述控制单元监视所述地磁传感器的检测值,并且当出现检测值超过预定值、未达到预定值、或者不稳定的状态中至少之一并且所述状态持续时间在预定时间内时,在存储单元中存储当前位置作为精度降低区域。4. The mobile map display device according to claim 1, wherein the control unit monitors the detection value of the geomagnetic sensor, and when the detection value exceeds a predetermined value, does not reach a predetermined value, or is unstable at least One and when the duration of the state is within a predetermined time, the current position is stored in the storage unit as the area of reduced precision. 5.如权利要求1所述的移动地图显示设备,其中,当所述计算方位不稳定时,所述控制单元认为所述精度降低已经发生。5. The mobile map display device according to claim 1, wherein said control unit considers that said decrease in accuracy has occurred when said calculated bearing is unstable. 6.如权利要求1所述的移动地图显示设备,其中,6. The mobile map display device as claimed in claim 1, wherein, 所述设备还具有用于接收GPS信号的GPS信号接收器,并且The device also has a GPS signal receiver for receiving GPS signals, and 当所述GPS信号的接收电平低时,所述控制单元认为所述精度降低已经发生。When the reception level of the GPS signal is low, the control unit considers that the decrease in accuracy has occurred. 7.如权利要求6所述的移动地图显示设备,其中,当检测到精度降低发生时,所述控制单元停止所述地磁传感器或者停止所述方位的计算。7. The mobile map display device according to claim 6, wherein the control unit stops the geomagnetic sensor or stops calculation of the bearing when it is detected that a decrease in accuracy occurs. 8.如权利要求6所述的移动地图显示设备,还具有用于根据所述GPS信号获取当前位置信息的地点信息获取单元以及能够与通信网络相连的无线通信单元,8. The mobile map display device as claimed in claim 6, further having a location information acquiring unit for acquiring current position information according to the GPS signal and a wireless communication unit capable of being connected to a communication network, 所述控制单元根据由所述地点信息获取单元所获取的地点信息,使所述无线通信单元从所述通信网络获取当前位置的周围地图作为所述地图。The control unit causes the wireless communication unit to acquire a map around the current position from the communication network as the map, based on the spot information acquired by the spot information acquiring unit. 9.如权利要求1所述的移动地图显示设备,其中,9. The mobile map display device as claimed in claim 1, wherein, 所述设备具有用于获取当前位置的地点信息的地点信息获取单元,the device has a spot information acquiring unit for acquiring spot information of a current position, 所述周围地图与精度降低区域相关联,并且the surrounding map is associated with a region of reduced precision, and 当所述当前位置包括在所述精度降低区域中时,所述控制单元认为所述精度降低已经发生。The control unit considers that the accuracy reduction has occurred when the current position is included in the accuracy reduction area. 10.如权利要求9所述的移动地图显示设备,其中,当检测到精度降低发生时,所述控制单元停止所述地磁传感器或者停止所述方位的计算。10. The mobile map display device according to claim 9, wherein the control unit stops the geomagnetic sensor or stops the calculation of the bearing when it is detected that a decrease in accuracy occurs. 11.如权利要求9所述的移动地图显示设备,其中,所述控制单元监视所述地磁传感器的检测值,并且当出现检测值超过预定值、未达到预定值、或者不稳定的状态中至少之一并且所述状态持续时间在预定时间内时,在存储单元中存储当前位置作为所述精度降低区域。11. The mobile map display device according to claim 9, wherein the control unit monitors the detection value of the geomagnetic sensor, and when the detection value exceeds a predetermined value, does not reach a predetermined value, or is in an unstable state at least One and when the duration of the state is within a predetermined time, storing the current position in the storage unit as the precision-reduced area. 12.如权利要求1所述的移动地图显示设备,其中,在根据检测到精度降低,通过所述第二显示处理显示所述地图时,当精度降低检测消失时,所述控制单元将地图显示改变为所述第一显示处理。12. The mobile map display device according to claim 1, wherein, when the map is displayed by the second display process according to the detection of the decrease in accuracy, when the detection of the decrease in accuracy disappears, the control unit displays the map Change to the first display process. 13.如权利要求1所述的移动地图显示设备,其中,在根据检测到精度降低,通过所述第二显示处理显示所述地图时,当精度降低检测消失时,所述控制单元根据所述地磁传感器的检测值计算地理方位,并将地图显示改变为所述第一显示处理。13. The mobile map display device according to claim 1 , wherein, when displaying the map by the second display process according to the detection of the decrease in precision, when the detection of the decrease in precision disappears, the control unit according to the The detection value of the geomagnetic sensor calculates the geographic orientation, and changes the map display to the first display process. 14.如权利要求13所述的移动地图显示设备,其中,当所述地磁传感器的检测值不满足超过预定值、未达到预定值、或者不稳定中的任何条件时,所述控制单元执行所述第一显示处理。14. The mobile map display device according to claim 13, wherein, when the detection value of the geomagnetic sensor does not meet any condition of exceeding a predetermined value, not reaching a predetermined value, or being unstable, the control unit executes the Describe the first display processing. 15.如权利要求1所述的移动地图显示设备,其中,所述控制单元监视改变所述移动地图显示设备中磁场的预定事件的发生,并且当检测到所述预定事件发生时,在所述第一显示处理中根据该事件校正所述方位。15. The mobile map display device according to claim 1, wherein said control unit monitors the occurrence of a predetermined event that changes the magnetic field in said mobile map display device, and when said predetermined event is detected to occur, at said The orientation is corrected according to this event in the first display process. 16.如权利要求15所述的移动地图显示设备,其中,16. The mobile map display device as claimed in claim 15, wherein, 所述设备还具有两个外壳,所述外壳具有至少一个显示单元,The device also has two housings with at least one display unit, 所述两个外壳具有活动机构,通过所述活动机构,具有所述显示单元的一个外壳与另一外壳位置关系可改变地相连,并且The two housings have a movable mechanism through which one housing having the display unit is connected to the other housing in a changeable positional relationship, and 当检测到作为所述事件的、所述活动机构的打开状态改变时,在校正方位时,所述控制单元根据所述显示单元相对于另一外壳的位置关系改变显示方向。When a change in the open state of the movable mechanism is detected as the event, the control unit changes the display direction according to the positional relationship of the display unit with respect to the other housing when correcting the orientation. 17.一种地图显示系统,包括如权利要求7所述的移动地图显示设备以及与通信网络相连的地图提供设备,其中17. A map display system, comprising a mobile map display device as claimed in claim 7 and a map providing device connected to a communication network, wherein 所述地图提供设备存储与周围地图相关联的精度下降区域,并且the map providing device stores areas of reduced accuracy associated with surrounding maps, and 所述控制单元在通过无线通信单元从所述地图提供设备获取所述周围地图时,一并获取所述精度降低区域。The control unit also acquires the accuracy-reduced area when acquiring the surrounding map from the map providing device via the wireless communication unit. 18.一种移动地图显示设备中的地图显示方法,所述移动地图显示设备包括用于检测地磁的地磁传感器和显示单元,所述方法包括:18. A map display method in a mobile map display device, the mobile map display device comprising a geomagnetic sensor and a display unit for detecting geomagnetism, the method comprising: 计算步骤,根据所述地磁传感器的检测值,计算地理方位;Calculation step, calculating the geographical orientation according to the detection value of the geomagnetic sensor; 地图显示步骤,获取地图并使所述显示单元显示地图;A map display step, acquiring a map and causing the display unit to display the map; 第一显示处理步骤,按照与所述计算方位相关联的方向执行显示;以及a first display processing step of performing display in a direction associated with said calculated orientation; and 第二显示处理步骤,固定在预定方位执行显示,其中The second display processing step is to perform display fixedly at a predetermined orientation, wherein 当在所述地图显示步骤中检测到精度降低时,通过所述第二显示处理步骤执行显示。When a reduction in accuracy is detected in the map display step, display is performed by the second display processing step.
CN200580016638.3A 2004-03-31 2005-03-31 Mobile map display device, map display system and map display method Expired - Fee Related CN1957228B (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP2004107770A JP4093981B2 (en) 2004-03-31 2004-03-31 Mobile communication terminal, information display method thereof, and error correction method of geomagnetic sensor
JP107772/2004 2004-03-31
JP107770/2004 2004-03-31
JP2004107772A JP4093982B2 (en) 2004-03-31 2004-03-31 Error correction method for portable communication terminal and its geomagnetic sensor
PCT/JP2005/006332 WO2005095892A1 (en) 2004-03-31 2005-03-31 Mobile map display device, map display system, and map display method

Publications (2)

Publication Number Publication Date
CN1957228A true CN1957228A (en) 2007-05-02
CN1957228B CN1957228B (en) 2011-10-12

Family

ID=35325019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200580016638.3A Expired - Fee Related CN1957228B (en) 2004-03-31 2005-03-31 Mobile map display device, map display system and map display method

Country Status (2)

Country Link
JP (1) JP4093981B2 (en)
CN (1) CN1957228B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115176295A (en) * 2020-02-21 2022-10-11 株式会社电装 Control device, parking lot system, and position accuracy calculation method

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007086581A1 (en) 2006-01-30 2007-08-02 Kyocera Corporation Mobile electronic device and its direction display method
CN101421585B (en) 2006-03-30 2011-08-03 京瓷株式会社 Mobile electronic device and method for calibrating terrestrial magnetism sensor
EP2009394B1 (en) 2006-03-30 2014-10-01 Kyocera Corporation Mobile electronic device and method for calibrating terrestrial magnetism sensor
JP4976948B2 (en) * 2007-07-25 2012-07-18 古野電気株式会社 Attitude measurement device
EP2020754A1 (en) * 2007-08-03 2009-02-04 Lufthansa Sytems Group GmbH Device for controlling the position of an object and control method
JP4412381B2 (en) 2007-10-02 2010-02-10 トヨタ自動車株式会社 Direction detection device
JP5714840B2 (en) * 2009-05-21 2015-05-07 株式会社ゼンリンデータコム MAP DISPLAY DEVICE, MAP DISPLAY SYSTEM, MAP DISPLAY METHOD, PROGRAM, AND RECORDING MEDIUM
JP4864146B2 (en) * 2010-01-25 2012-02-01 京セラ株式会社 Portable electronic device and control method thereof
KR101143503B1 (en) 2010-02-22 2012-05-09 현대엠엔소프트 주식회사 Method and apparatus for providing path using map information indoor
JP6149212B2 (en) * 2011-09-14 2017-06-21 株式会社メガチップス Positioning device, observation device, positioning method and program
JP2014066638A (en) * 2012-09-26 2014-04-17 Lapis Semiconductor Co Ltd Determination device, electronic apparatus, and determination method
CN106293006B (en) * 2016-08-12 2019-07-02 Oppo广东移动通信有限公司 Method and device for operating magnetic sensor calibration algorithm library and mobile terminal
JP2019184468A (en) * 2018-04-12 2019-10-24 株式会社オートネットワーク技術研究所 On-vehicle device, wireless terminal, method for correction, and computer program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4244561B2 (en) * 2001-07-10 2009-03-25 ヤマハ株式会社 Portable electronic device with orientation measurement function
KR100533106B1 (en) * 2002-08-06 2005-12-05 삼성전자주식회사 Attitude error compensation system of fluxgate and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115176295A (en) * 2020-02-21 2022-10-11 株式会社电装 Control device, parking lot system, and position accuracy calculation method

Also Published As

Publication number Publication date
JP4093981B2 (en) 2008-06-04
JP2005291933A (en) 2005-10-20
CN1957228B (en) 2011-10-12

Similar Documents

Publication Publication Date Title
CN1957227A (en) Mobile bearing calculation device and bearing correction method
CN1957229A (en) Mobile bearing calculation device and bearing correction method
CN1957228A (en) Mobile bearing calculation device and bearing correction method
CN1193606C (en) Photographic image retrieval device, electrophotographic device and photographic image retrieval method
CN101064777A (en) Command system, imaging system, command device, imaging method, command processing method, and program
CN1229956C (en) Electronic equipment
CN1957226A (en) Mobile bearing calculation device and bearing correction method
CN1950861A (en) Portable guide device and portable telephone
CN1412525A (en) Image display device
CN1928568A (en) Offset detection of acceleration sensor and navigation system
CN1273800C (en) Information processing device
CN1847789A (en) Method and apparatus for measuring position and orientation
CN1864076A (en) Terminal position identification method and system thereof
CN1898526A (en) Azimuth measuring device
CN1574892A (en) Photographing device and method for obtaining photographic image having image vibration correction
CN1699924A (en) Image processing system and method for associating position data with image data, and image mechanism device
CN1680780A (en) Method and apparatus for determining a geomagnetic field by using a compass and method and apparatus for determining an azimuth angle of a moving object using the same
CN1257467C (en) Method and device for obtaining navigation information and method and device for providing navigation information
JP4213072B2 (en) Error correction method for portable communication terminal and its geomagnetic sensor
CN1896688A (en) Terminal device for position calculation based on satellite signals and corresponding control method and program
CN1842127A (en) image processing device
KR100790603B1 (en) Mobile Map Display, Map Display System and Map Display Method
JP4093982B2 (en) Error correction method for portable communication terminal and its geomagnetic sensor
CN1855289A (en) Reproducing device and reproducing method
CN1977461A (en) Portable television receiver, television broadcast reception method, television broadcast reception program, and computer-readable recording medium containing television broadcast reception program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111012

Termination date: 20200331