WO2006011238A1 - 方位データ演算方法、方位センサユニットおよび携帯電子機器 - Google Patents

方位データ演算方法、方位センサユニットおよび携帯電子機器 Download PDF

Info

Publication number
WO2006011238A1
WO2006011238A1 PCT/JP2004/011191 JP2004011191W WO2006011238A1 WO 2006011238 A1 WO2006011238 A1 WO 2006011238A1 JP 2004011191 W JP2004011191 W JP 2004011191W WO 2006011238 A1 WO2006011238 A1 WO 2006011238A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
offset
value
offset value
measurement data
Prior art date
Application number
PCT/JP2004/011191
Other languages
English (en)
French (fr)
Inventor
Hideki Sato
Yukio Wakui
Masayoshi Omura
Original Assignee
Yamaha Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corporation filed Critical Yamaha Corporation
Priority to PCT/JP2004/011191 priority Critical patent/WO2006011238A1/ja
Priority to TW094119317A priority patent/TWI265301B/zh
Priority to US11/149,732 priority patent/US7324906B2/en
Priority to EP05767132A priority patent/EP1772704A4/en
Priority to JP2006527875A priority patent/JP4539653B2/ja
Priority to PCT/JP2005/013953 priority patent/WO2006011602A1/ja
Priority to CN2005800256981A priority patent/CN101023324B/zh
Publication of WO2006011238A1 publication Critical patent/WO2006011238A1/ja
Priority to US11/948,921 priority patent/US7474977B2/en
Priority to US12/206,521 priority patent/US7606676B2/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C17/00Compasses; Devices for ascertaining true or magnetic north for navigation or surveying purposes
    • G01C17/38Testing, calibrating, or compensating of compasses

Definitions

  • the present invention relates to a technology for performing calibration (offset correction) for azimuth measurement using a geomagnetic sensor by using an azimuth measurement device, and in particular, data obtained from a triaxial geomagnetic sensor is specified.
  • the present invention relates to an azimuth data calculation method, an azimuth sensor unit, and a portable electronic device that perform proper calibration and measure a correct azimuth even when limited to a plane. Background art
  • a mobile terminal such as a mobile phone that includes a magnetic sensor that detects geomagnetism and performs azimuth measurement based on the geomagnetism detected by the magnetic sensor is known.
  • the direction measured here is used, for example, to display a map, and recently, a GPS (Global Positioning System) receiver that detects the position is provided, and a map based on the current position is displayed.
  • GPS Global Positioning System
  • the magnetic sensor mounted on the mobile terminal is an electronic device inside the mobile terminal.
  • a magnetic field generated by combining a magnetic field generated from a part and the like with the geomagnetism is detected. Therefore, a calibration is required to correct the error (offset) due to the magnetic field generated from the electronic components inside the mobile terminal. Therefore, with a mobile terminal equipped with a conventional 2-axis geomagnetic sensor, the user rotates the mobile terminal, for example, 180 degrees to perform calibration, and during this operation, the mobile terminal collects measurement data from the magnetic sensor, The offset was estimated based on the measured data.
  • the present invention includes a step of measuring magnetic field data by inputting data from a geomagnetic sensor and a step of determining whether to store the measurement data based on a distance between the measurement data stored immediately before, The step of calculating the offset value based on the stored data and the plurality of measurement data used for calculating the offset value are compared for each component, and the difference between the maximum value and the minimum value for each component is a predetermined value.
  • Proposing a azimuth data calculation method comprising: correcting data with the updated offset value and calculating direction data. That.
  • the present invention is a magnetic field de Isseki to input data from the geomagnetic sensor And measuring whether or not the measurement data overflows or underflows. When it is determined that the measurement data overflows or underflows, the measurement data falls within a predetermined range.
  • the distance between the step of correcting to fit and whether or not the measurement data should be stored is the distance from the measurement data stored immediately before.
  • a step of determining based on the stored data, a step of calculating an offset value based on the stored data, and a plurality of measurement data used for calculating the offset value are compared for each component, and a maximum value and a minimum value for each component are compared.
  • the step of determining that the calculated offset value is valid, and the offset value already stored in the step determined to be valid An azimuth data calculation method is proposed, which includes a step of updating, and a step of calculating azimuth data by correcting the measurement data with the updated offset value.
  • the present invention also includes a step of measuring magnetic field data by inputting data from a geomagnetic sensor, and a step of determining whether or not to store the measurement data based on a distance from the measurement data stored immediately before.
  • the step of calculating the offset value based on the stored data and the plurality of measurement data used for calculating the offset value are compared for each component, and the difference between the maximum value and the minimum value for each component is a predetermined value.
  • the present invention also provides a magnetic field data measuring means for inputting magnetic data from a geomagnetic sensor to measure magnetic field data, a measurement data storing means for storing the magnetic field data, and the magnetic field data for the measurement data.
  • Measurement data storage determining means for determining whether to store in the storage means based on the distance from the magnetic field data stored immediately before, and an offset value based on the magnetic field data stored in the measurement data storage means
  • An offset calculation means for calculating the offset value, and a plurality of measurement data used for calculating the offset value are compared for each component, and when the maximum value and the minimum value for each component are equal to or greater than a predetermined value, Offset validity determination means for determining that the calculated offset value is valid, and already stored
  • An offset storage unit that updates and stores the offset value that has been validated by the offset validity determination means, an offset value that is stored in the offset storage unit, and an offset value that is already stored
  • An offset setting means for adding the offset value, an arithmetic unit for removing the offset
  • the present invention further proposes an azimuth sensor unit comprising an integrator for integrating magnetic field data output from the arithmetic unit.
  • the present invention further includes a detection unit that monitors the magnetic field data and detects an overflow or underflow, and when the detection unit detects an overflow or an underflow during the night.
  • a detection unit that monitors the magnetic field data and detects an overflow or underflow, and when the detection unit detects an overflow or an underflow during the night.
  • an azimuth sensor unit is proposed in which a correction value that eliminates data overflow or underflow is input to the arithmetic unit.
  • the present invention further compares an offset value validated by the offset validity determination means with a predetermined value, and calculates the offset value when the offset value is larger than a predetermined value.
  • An azimuth sensor unit has been proposed, characterized in that it includes offset magnitude discrimination means for outputting the offset value to the offset storage means when the offset value is smaller than a predetermined value.
  • the present invention further includes a temperature sensor for detecting temperature, a temperature correction value calculating means for calculating a correction value from the detected temperature, and outputting the calculated correction value to the azimuth measuring means;
  • An azimuth sensor unit is provided that includes at least one of a tilt sensor that detects the tilt and a correction value that is calculated from the detected tilt and that outputs the calculated correction value to the azimuth measuring means. ing.
  • the present invention further includes a magnetic field data measuring means for measuring magnetic field data by inputting data from a geomagnetic sensor, a measurement data storing means for storing the magnetic field data, and the magnetic field data in the measurement data storing means.
  • Measurement data storage discriminating means for judging whether or not to store based on the distance from the magnetic field data stored immediately before,
  • the offset calculation means for calculating the offset value based on the magnetic field data stored in the fixed data storage means and the plurality of measurement data used for calculating the offset value are compared for each component, and each component is compared.
  • Offset validity judging means for judging that the calculated offset value is valid when the maximum value and the minimum value of the offset are equal to or greater than a predetermined value, and the offset validity value already stored in the offset validity value.
  • An offset storage unit that updates and stores the offset value that has been validated by the determination unit; an offset setting unit that adds the offset value stored in the offset storage unit and the offset value already stored; and the offset A calculator for removing the offset value set by the setting means from the magnetic field data; and an offset stored in the offset storage unit. It proposes a portable electronic device including an orientation sensor unit having an orientation measuring means for calculating orientation data by correcting the magnetic field data with a value.
  • FIG. 1 is a configuration diagram of a portable electronic device (portable terminal) according to the present invention.
  • FIG. 2 is a configuration diagram of the orientation sensor unit according to the first embodiment.
  • FIG. 3 is a processing flow related to orientation output in the first embodiment.
  • FIG. 4 is a configuration diagram relating to a modification of the azimuth sensor unit according to the first embodiment.
  • FIG. 5 is a configuration diagram of an orientation sensor unit according to the second embodiment.
  • FIG. 6 is a processing flow related to azimuth output in the second embodiment.
  • FIG. 7 is a configuration diagram relating to a modified example of the orientation sensor unit according to the second embodiment.
  • FIG. 8 is a configuration diagram of an orientation sensor unit according to the third embodiment.
  • FIG. 9 is a processing flow related to orientation output in the third embodiment.
  • FIG. 10 is a configuration diagram of an orientation sensor chip according to the fourth embodiment.
  • FIG. 11 is a configuration diagram of an orientation sensor unit according to the fourth embodiment.
  • FIG. 12 is a configuration diagram relating to a modified example of the orientation sensor unit according to the fourth embodiment.
  • FIG. 13 A is a diagram showing the coordinate system (definition) of a mobile terminal.
  • FIG. 13B is a diagram showing a ground coordinate system.
  • FIG. 1 is a configuration diagram of an embodiment of a portable electronic device according to the present invention.
  • a portable communication terminal (hereinafter referred to as a mobile phone) using a CDMA (Code Division Multiple Access) communication system.
  • the electrical configuration of the terminal is shown as a block diagram.
  • the mobile terminal 1 of the present embodiment includes antennas 101 and 106, an RF unit 102, a modem unit 103, a CDMA unit 104, a voice processing unit 105, and a GPS receiving unit 107.
  • the unit 1 17, the evening panel 1 18, the sub-operation unit 1 15, and the direction sensor unit 200 are configured.
  • the antenna 101 transmits and receives radio waves to and from a radio base station (not shown).
  • the RF unit 102 performs processing related to signal transmission / reception.
  • This RF unit 102 includes a local oscillator and the like, and the reception signal output from the antenna 101 at the time of reception is mixed with a local transmission signal having a predetermined frequency to receive the reception signal at an intermediate frequency (IF). Convert to IF signal and output to modem 103.
  • the RF unit 102 converts the transmission IF signal into a transmission signal of the transmission frequency by mixing the local transmission signal of a predetermined frequency with the transmission IF signal of the intermediate frequency at the time of transmission, and outputs it to the antenna 101.
  • the modem unit 103 performs demodulation processing on the received signal and modulation processing on the transmitted signal.
  • This modulation / demodulation unit 103 includes a local oscillator and the like, converts the received IF signal output from the RF unit 102 into a baseband signal having a predetermined frequency, converts the baseband signal into a digital signal, and outputs the digital signal to the CDMA unit 104.
  • the modem 103 is a digital base for transmission output from the CDMA unit 104.
  • the baseband signal is converted to an analog signal and is also converted to a transmission IF signal having a predetermined frequency and output to the RF unit 102.
  • the CDMA unit 104 performs encoding processing of a transmitted signal and decoding processing of a received signal.
  • the CDMA unit 104 decodes the baseband signal output from the modem unit 103.
  • CDMA section 104 encodes a signal for transmission and outputs the encoded baseband signal to modulation / demodulation section 103.
  • the voice processing unit 105 performs processing related to voice during a call.
  • the voice processing unit 105 converts an analog voice signal output from the microphone (MIC) during a call into a digital signal and outputs the signal to the CDMA unit 104 as a transmission signal.
  • the voice processing unit 105 generates an analog drive signal for driving the speaker (SP) based on the signal indicating the voice data decoded by the CDMA unit 104 during a call, and Output to SP).
  • the microphone (MIC) generates an audio signal based on the audio input by the user and outputs it to the audio processing unit 105.
  • the speaker (SP) emits the other party's voice based on the signal output from the voice processing unit 105.
  • the GPS antenna 106 receives a radio wave transmitted from a GPS satellite (not shown) and outputs a reception signal based on this radio wave to the GPS receiver 107.
  • the receiving unit 107 demodulates the received signal, and acquires accurate time information of the GPS satellites and information such as radio wave propagation time based on the received signal.
  • the GPS receiver 107 calculates the distance to three or more GPS satellites based on the acquired information, and calculates the position (latitude, longitude, altitude, etc.) in the three-dimensional space based on the principle of triangulation.
  • the main control unit 108 is composed of a CPU (Central Processing Unit) and the like, and controls each part inside the mobile terminal 1.
  • the main control unit 108 is connected to the RF unit 102, the modem unit 103, the CDMA unit 104, the audio processing unit 105, the 0-5 reception unit 107, the following azimuth sensor unit 200, the ROM 109, and the RAM 110.
  • the ROM 109 stores various programs executed by the main control unit 108, initial characteristic values of the temperature sensor and the inclination sensor measured at the time of shipping inspection, and the like.
  • the RAMI 10 temporarily stores data processed by the main control unit 108.
  • the notification means 1 1 1 includes, for example, a speaker, a vibrator, or a light emitting diode, and notifies the user of an incoming call or mail reception by sound, vibration or light.
  • the clock section 1 1 2 has a timekeeping function and generates timekeeping information such as year, month, day, day of the week, and time.
  • the main operation unit 1 1 3 includes input keys for character input operated by the user, conversion keys for conversion of kanji and numbers, cursor keys for cursor operation, power on / off key, call key, and redial key Etc., and outputs a signal indicating the operation result by the user to the main control unit 108.
  • the open / close switch (SW) 1 1 4 is a switch for detecting the opening start and the closing end in the case of a foldable portable terminal.
  • the azimuth sensor unit 200 is a magnetic sensor (1) to (3) that detects the magnetism (magnetic field) in each of the X axis, Y axis, and Z axis orthogonal to each other, and a temperature sensor that detects the temperature.
  • a physical quantity sensor for detecting the inclination of the mobile terminal 1 and a block for processing the detection result by each sensor are provided. Details will be described later with reference to FIG.
  • the electronic imaging unit 1 1 6 includes an optical lens and an imaging device such as a CCD (Charge Coupled Device), and the image of the subject imaged on the imaging surface of the imaging device by the optical lens is converted into an analog signal by the imaging device.
  • the analog signal is converted into a digital signal and output to the main control unit 108.
  • the display unit 1 17 has a liquid crystal display or the like, and displays images, characters, and the like based on display signals output from the main control unit 10 8.
  • the evening panel 1 1 8 is incorporated in the surface of the liquid crystal display included in the display unit 1 1 7, and outputs a signal corresponding to the user's operation content to the main control unit 1 8.
  • the sub operation unit 1 1 5 includes a push switch used for display switching.
  • the azimuth sensor unit includes a measurement data storage determination unit 2 0 1, a measurement data storage unit 2 0 2, an offset calculation unit 2 0 3, and an offset validity determination unit.
  • 20 offset storage unit 20 5, offset setting means 2 0 6, direction measuring means 2 0 7, and direction sensor chip 3 0 0, direction sensor chip 3 0 0
  • the measurement data storage discriminating means 2 0 1 is related to data storage such as determination as to whether or not the measurement data indicated by the digital signal corresponding to the output of the magnetic sensor should be stored in the measurement data storage means 2 0 2 at the time of calibration. Process.
  • the measurement data storage means 20 02 receives the data from the measurement data storage discrimination means 20 01 and stores the data according to a predetermined storage method (the contents will be described later).
  • the offset calculation means 20 3 calculates the offset based on the measurement data acquired at the time of calibration (details will be described later). Further, the offset validity determination unit 204 determines the validity of the offset calculated by the offset calculation means 203 (details will be described later).
  • the offset storage unit 205 updates the stored offset value to the offset value determined to be valid by the offset validity determination means 20 04 and stores it.
  • the offset setting means 20 06 adds the offset value output to the offset storage unit 30 6 and the offset value output from the offset storage unit 205, and uses this value as the offset storage unit 30. Output to 6.
  • the azimuth measuring means 2 07 measures the azimuth from the magnetic field data input from the A ZD converter 3 07 described later.
  • the offset of a magnetic sensor is considered to be an offset inherent to the magnetic sensor, an offset due to the influence of peripheral circuits, and an offset caused by disturbance of the magnetic field due to the influence of other components.
  • the offset due to the influence of the magnetic sensor's inherent offset and peripheral circuits is a value with little fluctuation, so these values are measured in advance and stored in the offset setting means 206. You may leave it.
  • the magnetic sensor unit 301 includes magnetic sensors (1) to (3) and sensor initialization means (1) to (3) (not shown) for initializing each magnetic sensor after the power is turned on. Yes.
  • the sensor initialization means (1) to (3) are magnetic sensors (1) to (3) because the magnetization directions of the magnetic bodies of the magnetic sensors (1) to (3) are out of order when a strong magnetic field is applied. (3) is provided for resetting the initial state.
  • the switching means 30 2 is connected to each magnetic sensor (1) to (3) of the magnetic sensor unit 30 1
  • the magnetic field data is switched and sequentially input to the amplifier 3 0 3.
  • the adder 30 4 subtracts the signal obtained by converting the output from the amplifier 30 3 and the offset value corresponding to each of the magnetic sensors (1) to (3) into analog by the D ZA converter 3 05.
  • the AZD converter 3 07 converts the output of the adder 3 04 into a digital signal and outputs the digital signal to the direction measuring means 2 07.
  • a measurement trigger is applied to the azimuth sensor unit 200 (step 1001).
  • a method of triggering at regular intervals can be considered.
  • there is a method of triggering in the evening when there is a request for azimuth measurement from the application side for example, when the azimuth direction is estimated to be changed by monitoring the output of another device of the mobile terminal. (For example, the timing at which the image data input to the electronic imaging unit 1 16 is slid, etc.)
  • the method that triggers when requested by the application has the advantage of reducing unnecessary power consumption because the number of times of measurement is the minimum, and in the method of triggering from the situation of another device, for example, a mobile terminal
  • it is characterized by the combined advantages of the above two methods. Therefore, what method should be selected may be appropriately determined according to the feature of the device.
  • the magnetic field data is measured using the data input from the magnetic sensor unit 30 1, and the data data is converted into digital data, and the measurement data storage discrimination means 2 0 1 and direction measuring means 2 0 7 (Step 1 0 2).
  • the measurement data storage judging means 2 0 1 performs processing relating to the determination as to whether or not this data should be stored in the measurement data storage means 2 0 2 (step 1003).
  • the judgment method refer to the data stored in the measurement data storage means 2 0 2, Based on the determination method described later, it is determined whether or not the input data should be stored in the measurement data storage means 2 0 2, and if it is determined that it should be stored, the data is stored in the measurement data storage means 2 0 2 To store.
  • the measurement data storage means 2 0 2 can be stored only when there is no data stored, or the method of determining whether data should be stored when data already exists is as follows. There is a method of storing only when the distance is more than a certain value. This method has the advantage that the data can be prevented from concentrating on a part of the bearing sphere.
  • a method of storing all data a method of storing only when there is no data stored in the measurement data storage means 202, or, if data already exists, from all stored data
  • a method of storing only when the distance is more than a certain value is conceivable.
  • the former method has the advantage of collecting a large amount of data in the shortest time due to the large amount of data, increasing the frequency of calibration, and correcting the offset within a short period of time even if offset fluctuations occur. is there.
  • the latter method has the highest uniformity of data, but has a problem that it takes a long time to accumulate data. Therefore, it is only necessary to determine the method to be selected based on the above contents as appropriate based on the features of the equipment.
  • the constant value is preferably about 3.98 [AZM].
  • the measurement data storage means 2 0 2 inputs the data from the measurement data storage discrimination means 2 0 1, stores the data according to the storage method described later (step 1 0 4), and stores the data in the offset calculation means 2 0 3 Whether or not to output the offset is triggered to an offset calculation trigger means (not shown).
  • the offset calculation trigger means replies whether data should be output to the offset calculation means 203 based on a trigger method described later.
  • the measurement data storage means 2 0 2 outputs the stored data to the offset calculation means 2 0 3 when instructed to output the data to the offset calculation means 2 0 3.
  • the data is stored in the order of acquisition, and when the offset calculation trigger means is triggered and the offset calculation process ends,
  • One method is to erase all the data and store the data from the beginning again. This method has the advantage that the processing load is light.
  • the former method has the advantage that the frequency of calibration can be increased easily and the offset can be corrected in the shortest time.
  • the latter method allows the offset to be corrected in a short time.
  • the calculation load of the application increases.
  • the calculation frequency of the offset is lower and the calculation processing load can be reduced.
  • the data may be accumulated in the order of the values, and when a certain amount of data has been accumulated, it may be replaced with a new orientation that is closest to the evening.
  • the magnitude of the offset fluctuation is small, there is an advantage that the data density can be kept uniform as compared with the former method.
  • the offset fluctuation is larger than the radius of the azimuth sphere, it is forever. There is a risk that unnecessary data may remain. Therefore, what method should be selected can be determined appropriately according to the features of the equipment.
  • the trigger of offset calculation there is a method of triggering when the data becomes a certain amount.
  • the number of data since the number of data is constant, the accuracy based on the number of data is stable, and there is an advantage that the validity can be easily judged.
  • the former method has the advantage that calibration operation can be performed in a short time, and offset fluctuations can be corrected in a shorter time.
  • the latter method does not enter the calibration operation indefinitely.
  • the advantage of avoiding is there. Therefore, based on the above, what method should be selected can be determined as appropriate based on the device's future.
  • step 105 when the measurement data is supplied from the measurement data storage means 202 to the offset calculation means 203, an offset is calculated based on these measurement data (step 105).
  • the least square error ⁇ is defined as follows.
  • Ma x (x,) represents the maximum value in the measurement data x ⁇ , ⁇ ⁇ , and M in ( ⁇ is the minimum value in the measurement data ⁇ 1; ⁇ , ⁇ ⁇
  • is the standard deviation It is determined whether the following criteria are satisfied with respect to the above values, and if the estimated criteria are satisfied, the estimated offset is valid. judge.
  • F is preferably about 0.1
  • G is preferably about 1.
  • the offset value stored in the storage means in the azimuth measuring means 207 (not shown) is updated (step 107).
  • the azimuth measuring means 207 calculates the azimuth by one of the following methods after removing the offset from the input measurement data (step 108).
  • the azimuth is calculated based on the following formula.
  • the azimuth is calculated based on the following formula.
  • Hy ' Hycos (a) -H z sin (a)
  • Abs (Hx)> Abs (Hy ') AND Hx ⁇ 0 Then direction (deg) 270 + arctan (Hx / Hy') * 180 / ⁇
  • Hx, Hy, and Hz are the outputs of the magnetic sensor, the azimuth indicates the azimuth of the Y axis, and magnetic north is 0 degree.
  • the method 1) has the advantage that it is relatively easy for the user to level the mobile terminal and that the orientation accuracy is easily obtained.
  • the method 2) since the user normally has an angle with a mobile terminal, the user can get a correct orientation, but on the other hand, it may be difficult to align the mobile terminal with a fixed angle. For this reason, there is a problem that accuracy cannot be expected.
  • the orientation data obtained in this way is output and displayed on, for example, the display unit 1 17 of the portable terminal (step 10 9).
  • FIG. 4 shows a modification of the present embodiment, in which an integrator 3 09 is provided at the output of the adder 3 04.
  • this integrator 309 it is possible to average the minute disturbance of the measurement data in the calculation of the analog value, so that the measurement accuracy can be improved.
  • This configuration can also be applied to all embodiments described later.
  • the direction sensor unit according to the second embodiment is provided with an overflow underflow detector 3 08 that monitors the output of the amplifier 30 3 as compared to the first embodiment. .
  • the overflow underflow detection unit 3 0 8 detects whether the output of the amplifier 3 0 3 is within the input range of the next stage AZD converter 3 0 7 and if it overflows or underflows
  • the correction value is input to the offset setting means 2 06 so that the output of the amplifier 30 3 falls within the input range of the AD converter 3 07 at the next stage.
  • the offset setting means 206 is used when the value input from the overflow underflow detection unit 30 8, the value already stored, and the value stored in the offset storage unit 205.
  • the offset value to be stored in the offset storage unit 3 06 is set by adding the values.
  • a measurement trimmer is measured with respect to the azimuth sensor unit 200.
  • Step 2 0 1 When a measurement trigger is applied, first, magnetic data is measured from the data input from the magnetic sensor unit 3 0 1. Then, the measured magnetic data is sent to the amplifier 30 3 (step 2 0 2).
  • the overflow underflow detection unit 3 0 8 detects whether or not the output of the amplifier 3 0 3 is within the input range of the next stage AZD converter 3 0 7. If there is no underflow, go to the next step. If it is overflowing or underflowing, make sure that the output of the amplifier 3 0 3 falls within the input range of the A / D converter 3 0 7 in the next stage.
  • the process proceeds to the next step (step 2 0 3). Then, the magnetic field is measured again from the data input from the magnetic sensor, and the data is converted into digital data and output to the measured data storage discriminating means 2 0 1 and the azimuth measuring means 2 0 7 (Step 2 0). Five ) .
  • the measurement data storage discriminating means 2 0 1 performs processing relating to the judgment as to whether or not this data should be stored in the measurement data storage means 2 0 2 (step 2 06).
  • the measurement data is stored in the measurement data storage means 20 2 (step 2 07), and when it is determined that it should not be stored, the process returns to step 2 0 1.
  • the measurement data storage means 2 0 2 inputs the data from the measurement data overnight storage judgment means 2 0 1, stores the data according to the storage method described later (step 2 0 7), and the offset calculation means 2 Whether or not to output data to 0 3 is consulted with an offset calculation trigger means (not shown).
  • the offset calculation trigger means answers whether or not the data should be output to the offset calculation means 2 0 3 based on the trigger method described above.
  • the measurement data storage means 20 02 outputs the stored data to the offset calculation means 20 03.
  • the offset calculation means 20 3 calculates the offset according to the aforementioned offset calculation algorithm (step 20 8).
  • the validity is discriminated by the offset validity discriminating means 2 0 4 (step 2 0 9).
  • the offset value stored in the storage means in the azimuth measuring means 20 07 (not shown) is updated (step 2 10).
  • the azimuth measuring means 2 07 calculates the azimuth after removing the offset from the input measurement data (step 2 1 1), and the obtained azimuth data is, for example, the display unit 1 1 of the portable terminal. It is output to 7 etc. and displayed (Step 2 1 2).
  • FIG. 7 shows a modified example of the present embodiment, in which the offset storage unit 2 0 5 is deleted, the correction for overflow or underflow is executed by the offset setting means 2 0 6, and the AZD converter 3 0 7 The offset of the measurement data that falls within the input range is corrected with the offset value obtained by the offset calculation means 203.
  • the circuit load is soft because the correction for overflow or underflow is mainly performed by hardware processing, and the correction after removal of overflow or underflow is performed by software processing. Software processing load can be reduced.
  • the overflow underflow detection unit detects the overflow underflow and corrects it, thereby reducing the time required for the A ZD conversion, and accurate orientation in a short time. Can be calculated. Also, depending on the circuit configuration, the circuit load and software processing load can be reduced.
  • the azimuth sensor unit according to the third embodiment is different from the first embodiment in that the offset setting means 2 06 and the offset storage means 2 0 5 are deleted and the offset magnitude is small. Discriminating means 2 0 8 is provided.
  • the offset magnitude discriminating means 2 08 determines whether the offset value after the validity of the offset is discriminated is larger than a predetermined value, and the offset value is larger than the predetermined value. When the offset value is larger, the value is output to the offset storage unit 30 6, and when the offset value is smaller than a predetermined value, the value is output to the direction measuring means 2 07.
  • a measurement trigger is applied to the azimuth sensor unit 2 0 0 (step 3 0 1 )
  • the magnetic field data is measured using the data input from the magnetic sensor unit 30 1, and the data is converted into digital data to the measured data storage discriminating means 2 0 1 and direction measuring means 2 0 7 Output (Step 3 0 2).
  • the measurement data storage discriminating means 2 0 1 performs processing relating to the judgment as to whether or not this data should be stored in the measurement data storage means 2 0 2 (step 3 0 3).
  • the measurement data is stored in the measurement data storage means 20 2 (step 3 04), and when it is determined that it should not be stored, the process returns to step 3 0 1.
  • the measurement data storage means 2 0 2 inputs the data from the measurement data storage discrimination means 2 0 1, stores the data according to the storage method described later (step 3 0 4), and stores the data in the offset calculation means 2 0 3. Whether or not to output data is consulted with an offset calculation trigger means (not shown).
  • the offset calculation trigger means answers whether or not data should be output to the offset calculation means 2 0 3 based on the trigger method described above.
  • the measurement data storage means 20 02 outputs the stored data to the offset calculation means 20 03.
  • the offset calculation means 20 3 calculates the offset according to the above-described offset calculation algorithm (step 3 0 5).
  • the validity is discriminated by the offset validity discriminating means 2 0 4 (step 3 0 6).
  • step 3 07 it is determined whether or not the offset value determined to be effective is larger than a predetermined value (step 3 07), and if the offset value is larger than a predetermined value, The value is output to the offset storage unit 30 6 (step 3 0 8), and when the offset value is smaller than a predetermined value, the value is output to the direction measuring means 2 07. Then, the offset value stored in the storage means in the azimuth measuring means 20 07 (not shown) is updated (step 3 09). On the other hand, the azimuth measuring means 2 07 removes the offset from the input measurement data after step 3 02 and calculates the azimuth based on this (step 3 1 0). The azimuth data obtained in this way is output and displayed on, for example, the display unit 117 of the portable terminal (step 3 11).
  • the time required for the A / D conversion can be shortened by detecting the magnitude of the offset after the offset magnitude discriminating means and the effectiveness is discriminated, and correcting this.
  • an accurate bearing can be calculated in a short time.
  • the circuit load and software processing load may be reduced.
  • FIG. 10 Next, a fourth embodiment will be described with reference to FIGS. 10 to 12.
  • the direction sensor chip 30 is a temperature sensor connected to the first embodiment by the switching means 3 12 together with the output of the amplifier 30 3. 3 1 0 and tilt sensor 3 1 1.
  • the azimuth sensor unit 2 0 0 is a temperature correction value calculation means 2 0 9 output from the magnetic sensor section via the AZD converter 3 0 7 of the azimuth sensor chip 3 0 Compensation value calculation means 2 1 0 is provided.
  • the temperature sensor 3 1 0 monitors the temperature of the azimuth sensor chip 3 0 0 and sends the data to the temperature correction value calculation means 2 of the azimuth sensor unit 2 0 0 via the AZD converter 3 0 7 of the azimuth sensor chip 3 0 0. 0 Output to 9.
  • the temperature correction value calculation means 2 09 stores a function of temperature and correction value in advance, and outputs a correction value corresponding to the input temperature data to the direction measurement means 2 07.
  • the temperature at the time of calibration is TO
  • the estimated offset is OF
  • the temperature coefficient A (this is measured at the time of shipping inspection and recorded in ROM 10 109)
  • the temperature at the time of measurement Is T and the measured value of the magnetic sensor is SO
  • the inclination sensor 3 1 1 monitors the inclination of the direction sensor chip 300 and calculates the inclination correction value of the direction sensor unit 2 0 0 via the AZD converter 3 0 7 of the direction sensor chip 3 0 0. Means 2 1 Output to 0. Inclination correction value calculation means 2 1 0
  • 3 and the twist angle a are calculated by the method as shown below and output to the azimuth measuring means 2 07.
  • the coordinate system of the mobile terminal 1 is defined as shown in Fig. 13 (a). That is, what is the azimuth angle of the antenna 1 0 1 of the mobile terminal 1?, The elevation angle i3, and the twist angle (rotation angle around the antenna axis)? The sign is positive in the direction of the arrow shown in the figure.
  • the unit vector in the antenna direction is Vy
  • the terminal unit is 1 (the side on which the antenna 1 0 1 and the orientation sensor chip 3 0 0 are arranged).
  • the unit vector in the direction perpendicular to the surface formed by is V z
  • the unit vector orthogonal to both Vy and V z is Vx.
  • the ground direction is represented by X, Y, and ⁇ , and the north direction is the ⁇ axis, as shown in Figure 13 (b).
  • G 2 (0, 0, G z) be the gravity in the ground coordinate system.
  • g (g x, g y, g z) be the gravity in the mobile coordinate system.
  • Gravity in this portable coordinate system can be detected by an inclination sensor.
  • gravity in the ground coordinate system is known.
  • BC can be expressed as cos y 0 -sin 7
  • the azimuth measuring means 207 inputs the elevation angle and the twist angle a, the azimuth angle and the geomagnetic elevation angle 0 are obtained by the following algorithm.
  • FIG. 12 is a modified example of the present embodiment, and has a configuration in which correction data determination means 2 1 1 is provided for the outputs of temperature correction value calculation means 2 09 and inclination correction value calculation means 2 10. Yes.
  • the correction data determination means 2 1 1 has storage means (not shown), and outputs the output data from the temperature correction value calculation means 2 0 9 and the inclination correction value calculation means 2 1 0 and the data stored immediately before. In comparison, when there is a change beyond a certain level, the data is output to the direction measuring means 2 07.
  • the correction data determination unit 2 1 1 determines the data from the temperature correction value calculation unit 2 09 and the inclination correction value calculation unit 2 1 0, and Since it is determined whether or not the output to the azimuth measuring means 20 07 is possible, the processing load on the azimuth measuring means 20 07 can be reduced.

Description

明 細 書 方位データ演算方法、 方位センサュニットおよび携帯電子機器 技術分野
本発明は、 地磁気センサを利用して方位測定のためのキヤリブレーシヨン (ォ フセット補正) を方位計測用デ一夕により行う技術に関し、 特に、 3軸の地磁気 センサから得られたデータが特定の平面内に限定された場合でも、 適正なキヤリ ブレーションを行って正しい方位を測定する方位データ演算方法、 方位センサュ ニットおよび携帯電子機器に関する。 背景技術
従来より、 地磁気を検出する磁気センサを備え、 この磁気センサによって検出 された地磁気に基づいて方位測定を行う携帯電話等の携帯端末が知られている。 ここで測定された方位は、 例えば地図の表示に利用され、 最近では、 位置検出を 行う GPS (G l ob a l Po s i t i on i ng Sy s t em) 受信部を 備え、 現在位置に基づいた地図を、 携帯端末の向き (方位) に合わせて表示する 機能を有する携帯端末が登場している。
ところが、 携帯端末には、 これに搭載されるスピーカおよびマイクロホンや、 着磁した電子部品の金属パッケージ等から漏れる磁気が存在するため、 この携帯 端末に搭載された磁気センサは、 携帯端末内部の電子部品等から発生する磁界と 地磁気とが合成された磁界を検出することになる。 したがって、 携帯端末内部の 電子部品等から発生する磁界による誤差 (オフセット) 分を補正するためのキヤ リブレーシヨンが必要となる。 そこで従来 2軸の地磁気センサを搭載した携帯端 末では、 キャリブレーションを行うために、 ユーザが携帯端末を例えば 180度 回転させ、 この動作の間に携帯端末は磁気センサから測定データを収集し、 測定 データに基づいてオフセットを推定していた。
このような携帯端末に搭載された磁気センサのキヤリブレ一シヨンに関して は、 例えば特開 2004— 12416号公報に開示された技術がある。 この技術 では、 携帯端末を所定の角度ずつ回転させ、 各角度において磁気センサによって 測定されたデータに基づいてオフセッ卜を推定することにより、 回転速度に依存 せずにキヤリブレーションを行えるようになつている。
しかし、 特許文献 1に記載の方法でも、 ユーザが意識的に磁気センサを搭載し た携帯機器を回転させ、 そのキャリブレーションを行わなければならず、 従来よ りは煩雑ではないものの、 ユーザにキヤリブレーションのための操作を強いるた め、 相変わらずユーザにとって面倒な操作であることに変わりはない。 また、 特 に、 3軸の地磁気センサの場合には、 キャリブレーションを行うために、 3軸の データを要することから、 さらに、 ユーザに面倒な動作を強いることになる。 発明の開示
本発明は、 地磁気センサからのデータを入力して磁界データを測定するステツ プと、 該測定データを格納すべきか否かを直前に格納された測定データとの距離 に基づいて判断するステップと、 格納したデータに基づいてオフセット値を算出 するステップと、 該オフセット値の算出に用いられた複数の測定データを成分ご とに比較して、 成分ごとの最大値と最小値との差が所定値以上であるときに、 該 算出したオフセット値が有効であると判断するステップと、 すでに格納されてい るオフセット値を前記ステップにおいて有効であると判断されたオフセッ卜値に 更新するステップと、 前記測定データを該更新したオフセット値で補正して、 方 位データを演算するステップとを有することを特徴とする方位データ演算方法を 提案している。
なお、 ここで、 測定値 (H x l、 H y l、 H z 1 ) と測定値 (H x 2、 H y 2、 H
Z 2) との距離とは、 」 (Hxl - Ηχ2)2 + (ffyl - Hy2f + (βζΐ - Hz2f である。 また、 本発明は、 地磁気センサからのデータを入力して磁界デ一夕を測定する ステップと、 該測定データがオーバーフローあるいはアンダーフローしているか 否かを判断し、 該測定デー夕がオーバーフローあるいはアンダーフローしている と判断したときに、 該測定デー夕が所定の範囲に収まるように補正するステップ と、 該測定データを格納すべきか否かを直前に格納された測定データとの距離に 基づいて判断するステップと、 格納したデータに基づいてオフセット値を算出す るステップと、 該オフセット値の算出に用いられた複数の測定データを成分ごと に比較して、 成分ごとの最大値と最小値との差が所定値以上であるときに、 該算 出したオフセット値が有効であると判断するステップと、 すでに格納されている オフセット値を前記ステップにおいて有効であると判断されたオフセット値に更 新するステップと、 前記測定データを該更新したオフセット値で補正して、 方位 データを演算するステップとを有することを特徴とする方位データ演算方法を提 案している。
また、 本発明は、 地磁気センサからのデータを入力して磁界データを測定する ステップと、 該測定データを格納すべきか否かを直前に格納された測定データと の距離に基づいて判断するステップと、 格納したデータに基づいてオフセット値 を算出するステップと、 該オフセット値の算出に用いられた複数の測定データを 成分ごとに比較して、 成分ごとの最大値と最小値との差が所定値以上であるとき に、 該算出したオフセット値が有効であると判断するステップと、 該有効とされ たオフセット値が所定値よりも大きいときに、 前記測定データから該オフセッ卜 値を除去した測定データに基づいて、 処理を前記測定デ一夕の格納判定ステップ に戻すステップと、 該有効とされたオフセット値が所定値よりも小さいときに、 すでに格納されているオフセット値を前記ステップにおいて有効であると判断さ れたオフセット値に更新するステップと、 前記測定データを該更新したオフセッ ト値で補正して、 方位データを演算するステップとを有することを特徴とする方 位デー夕演算方法を提案している。
また、 本発明は、 地磁気センサからのデ一夕を入力して磁界データを測定する 磁界データ測定手段と、 該磁界データを格納する測定データ格納手段と、 前記磁 界デ一夕を該測定データ格納手段に格納すべきか否かを直前に格納された磁界デ 一夕との距離に基づいて判断する測定データ格納判別手段と、 前記測定データ格 納手段に格納された磁界データに基づいてオフセット値を算出するオフセット計 算手段と、 該オフセット値の算出に用いられた複数の測定データを成分ごとに比 較して、 成分ごとの最大値と最小値とが所定値以上であるときに、 該算出したォ フセット値が有効であると判断するオフセット有効性判別手段と、 すでに格納さ れているオフセット値を該オフセット有効性判別手段において有効とされたオフ セット値に更新して格納するオフセット格納部と、 該オフセット格納部に格納さ れたオフセット値とすでに格納されているオフセット値とを加算するオフセット 設定手段と、 該オフセット設定手段において設定されたオフセット値を前記磁界 データから除去する演算器と、 前記オフセット格納部に格納されたオフセット値 で前記磁界データを補正して、 方位データを演算する方位計測手段とを有するこ とを特徴とする方位センサュニットを提案している。
また、 本発明は、 さらに、 前記演算器から出力される磁界データを積分する積 分器を備えたことを特徴とする方位センサュニットを提案している。
また、 本発明は、 さらに、 前記磁界データをモニタし、 オーバ一フローあるい はアンダーフローを検出する検出部を備え、 該検出部が、 デ一夕のオーバーフロ 一あるいはアンダーフローを検出したときに、 前記演算器にデータのオーバ一フ 口一あるいはアンダーフローを解消するような補正値を入力することを特徴とす る方位センサュニッ卜を提案している。
また、 本発明は、 さらに、 前記オフセット有効性判別手段において有効とされ たオフセット値と予め定めた所定値とを比較し、 該オフセット値が所定値よりも 大きいときに、 該オフセット値を前記演算器に出力し、 該オフセット値が所定値 よりも小さいときに、 該オフセット値を前記オフセット格納手段に出力するオフ セット大小判別手段を備えたことを特徴とする方位センサュニットを提案してい る。
また、 本発明は、 さらに、 温度を検出する温度センサおよび該検出された温度 から補正値を算出し、 該算出された補正値を前記方位計測手段に出力する温度補 正値算出手段と、 傾きを検出する傾きセンサおよび該検出された傾きから補正値 を算出し、 該算出された補正値を前記方位計測手段に出力する傾き補正値算出手 段との少なくとも一方を備えた方位センサュニットを提案している。
また、 本発明は、 さらに、 地磁気センサからのデータを入力して磁界データを 測定する磁界データ測定手段と、 該磁界データを格納する測定データ格納手段 と、 前記磁界データを該測定データ格納手段に格納すべきか否かを直前に格納さ れた磁界データとの距離に基づいて判断する測定データ格納判別手段と、 前記測 定デ一夕格納手段に格納された磁界データに基づいてオフセット値を算出するォ フセット計算手段と、 該オフセット値の算出に用いられた複数の測定データを成 分ごとに比較して、 成分ごとの最大値と最小値とが所定値以上であるときに、 該 算出したオフセット値が有効であると判断するオフセット有効性判別手段と、 す でに格納されているオフセッ卜値を該オフセット有効性判別手段において有効と されたオフセット値に更新して格納するオフセット格納部と、 該オフセット格納 部に格納されたオフセット値とすでに格納されているオフセット値とを加算する オフセッ卜設定手段と、 該オフセット設定手段において設定されたオフセッ卜値 を前記磁界データから除去する演算器と、 前記オフセット格納部に格納されたォ フセッ卜値で前記磁界デ一夕を補正して、 方位データを演算する方位計測手段と を有する方位センサュニットを備えた携帯電子機器を提案している。 図面の簡単な説明
図 1は、 本発明に係る携帯電子機器 (携帯端末) の構成図である。
図 2は、 第 1実施形態に係る方位センサユニットの構成図である。
図 3は、 第 1実施形態における方位出力に関する処理フローである。
図 4は、 第 1実施形態に係る方位センサュニッ卜の変形例に関する構成図であ る。
図 5は、 第 2実施形態に係る方位センサュニッ卜の構成図である。
図 6は、 第 2実施形態における方位出力に関する処理フローである。
図 7は、 第 2実施形態に係る方位センサュニッ卜の変形例に関する構成図であ る。
図 8は、 第 3実施形態に係る方位センサュニッ卜の構成図である。
図 9は、 第 3実施形態における方位出力に関する処理フローである。
図 1 0は、 第 4実施形態に係る方位センサチップの構成図である。
図 1 1は、 第 4実施形態に係る方位センサユニットの構成図である。
図 1 2は、 第 4実施形態に係る方位センサュニッ卜の変形例に関する構成図で ある。
図 1 3 Aは、 携帯端末の座標系 (定義) を示す図である。 図 13Bは、 地面座標系を示す図である。 発明を実施するための最良の形態
以下、 本発明の実施の形態を、 図面を参照して説明する。
図 1は、 本発明の携帯電子機器の一実施形態についての構成図であり、 CDM A (Cod e D i v i s i on Mu l t i p l e Ac c e s s :符号分割多 元接続) 通信方式による携帯通信端末 (以下、 携帯端末と称す) の電気的構成を ブロック図として示している。
なお、 以下において、 参照する各図に共通する部分には、 同一の符号を附して いる。
図 1に示すように、 本実施の形態の携帯端末 1は、 アンテナ 101、 106 と、 RF部 102と、 変復調部 103と、 CDMA部 104と、 音声処理部 10 5と、 GP S受信部 107と、 主制御部 108と、 ROM 109と、 RAM 1 1 0と、 報知手段 1 1 1と、 時計部 1 12と、 主操作部 1 13と、 SW1 14と、 電子撮像部 1 16と、 表示部 1 17と、 夕ツチパネル 1 18と、 副操作部 1 15 と、 方位センサユニット 200とから構成されている。
図 1に示すように、 アンテナ 101は図示せぬ無線基地局と電波の送受信を行 う。 RF部 102は信号の送受信に係る処理を行う。 この RF部 102は局部発 振器等を備え、 受信時にアンテナ 101から出力された受信信号に対して所定周 波数の局部発信信号を混合することにより、 受信信号を中間周波数 (I F) の受 信 I F信号に変換し、 変復調部 103へ出力する。 また、 RF部 102は送信時 に中間周波数の送信 I F信号に対して所定周波数の局部発信信号を混合すること により、 送信 I F信号を送信周波数の送信信号に変換し、 アンテナ 101へ出力 する。
変復調部 103は、 受信された信号の復調処理、 および送信される信号の変調 処理を行う。 この変復調部 103は局部発振器等を備え、 RF部 102から出力 された受信 I F信号を所定周波数のベースバンド信号に変換すると共に、 このべ —スバンド信号をデジタル信号に変換し、 CDMA部 104へ出力する。 また、 この変復調部 103は、 CDMA部 104から出力された送信用のデジタルのべ ースバンド信号をアナログ信号に変換すると共に、 所定周波数の送信 I F信号に 変換して RF部 102へ出力する。
CDMA部 104は、 送信される信号の符号化処理、 および受信された信号の 複号化処理を行う。 この CDMA部 104は、 変復調部 103から出力されたべ ースバンド信号を復号化する。 また、 CDMA部 104は、 送信用の信号を符号 化し、 符号化したベースバンド信号を変復調部 103へ出力する。
音声処理部 105は、 通話時の音声に係る処理を行う。 この音声処理部 105 は、 通話時にマイクロホン (MI C) から出力されたアナログの音声信号をデジ タル信号に変換し、 送信用の信号として CDMA部 104へ出力する。 また、 こ の音声処理部 105は、 通話時に CDMA部 104によって復号化された音声デ —夕を示す信号に基づいて、 スピーカ (SP) を駆動するためのアナログの駆動 信号を生成し、 スピーカ (SP) へ出力する。 マイクロホン (MI C) は、 ュ一 ザによって入力された音声に基づいた音声信号を生成し、 音声処理部 105へ出 力する。 スピーカ (SP) は、 音声処理部 105から出力された信号に基づい て、 通話相手の音声を放音する。
GPSアンテナ 106は、 図示せぬ GP S衛星から送信された電波を受信し、 この電波に基づいた受信信号を GPS受信部 107へ出力する。 0? 受信部1 07はこの受信信号を復調し、 受信信号に基づいて、 GPS衛星の正確な時刻情 報や電波の伝播時間等の情報を取得する。 GPS受信部 107は取得した情報に 基づいて、 3以上の GP S衛星までの距離を算出し、 三角測量の原理により、 3 次元空間上の位置 (緯度 ·経度 ·高度等) を算出する。
主制御部 108は、 CPU (中央処理装置) 等から構成され、 携帯端末 1内部 の各部を制御する。 この主制御部 108は、 RF部 102、 変復調部 103、 C DM A部 104、 音声処理部 105、 0?5受信部107、 下記の方位センサュ ニット 200、 ROM 109, および RAM 1 10とバスを介して制御信号ある いはデータの入出力を行う。 ROM109は、 主制御部 108が実行する各種の プログラムや、 出荷検査時に測定された温度センサおよび傾きセンサの初期特性 値等を記憶する。 RAMI 10は、 主制御部 108によって処理されるデータ等 を一時的に記憶する。 報知手段 1 1 1は、 例えばスピーカ、 バイブレータ、 または発光ダイオード等 を備え、 着信やメール受信等を、 音、 振動、 または光等によってユーザに報知す る。 時計部 1 1 2は計時機能を有し、 年、 月、 日、 曜日、 時刻等の計時情報を生 成する。 主操作部 1 1 3は、 ユーザによって操作される文字入力用の入力キ一、 漢字 ·数字等の変換用の変換キー、 カーソル操作用のカーソルキー、 電源のオン オフキー、 通話キー、 およびリダイアルキー等を備え、 ユーザによる操作結果 を示す信号を主制御部 1 0 8へ出力する。 また、 開閉スィッチ (S W) 1 1 4 は、 折畳み式携帯端末の場合に、 開け始めと閉め終わりを検出するためのスイツ チである。
方位センサユニット 2 0 0は、 互いに直交する X軸 · Y軸 · Z軸の各々の軸方 向の磁気 (磁界) を検出する磁気センサ (1 ) 〜 (3 ) 、 温度を検出する温度セ ンサ、 携帯端末 1の傾きを検出する物理量センサおよび各センサによる検出結果 を処理するブロックを備えている。 なお、 詳細については、 図 2を用いて後述す る。
電子撮像部 1 1 6は、 光学レンズおよび C C D ( C h a r g e C o u l e d D e v i c e ) 等の撮像素子を備え、 光学レンズにより撮像素子の撮像面上 に結像した被写体の像を撮像素子によりアナログ信号に変換し、 このアナログ信 号をデジタル信号に変換して主制御部 1 0 8へ出力する。 表示部 1 1 7は液晶デ イスプレイ等を備え、 主制御部 1 0 8から出力された表示用の信号に基づいて画 像や文字等を表示する。 夕ツチパネル 1 1 8は、 表示部 1 1 7が備える液晶ディ スプレイの表面に組み込まれ、 ユーザによる操作内容に応じた信号を主制御部 1 0 8へ出力する。 副操作部 1 1 5は、 表示切替に用いられるプッシュスィッチ等 を備えている。
次に、 図 2から図 4を用いて第 1の実施形態について説明する。
本実施形態に係る方位センサユニットは、 図 2に示すように、 測定データ格納判 別手段 2 0 1と、 測定データ格納手段 2 0 2と、 オフセット計算手段 2 0 3と、 オフセット有効性判別手段 2 0 4と、 オフセット格納部 2 0 5と、 オフセット設 定手段 2 0 6と、 方位計測手段 2 0 7と、 方位センサチップ 3 0 0とから構成さ れており、 方位センサチップ 3 0 0はさらに、 磁気センサ部 3 0 1と、 切換手段 3 0 2と、 増幅器 3 0 3と、 加算器 3 0 4と、 0/八変換器3 0 5と、 オフセッ ト記憶部 3 0 6と、 A/D変換器 3 0 7とから構成されている。
測定データ格納判別手段 2 0 1は、 キャリブレーション時に、 磁気センサの出 力に対応したデジタル信号によって示される測定データを測定データ格納手段 2 0 2に格納すべきかどうかの判定等の、 データ格納に関する処理を行う。 測定デ 一夕格納手段 2 0 2は、 測定データ格納判別手段 2 0 1からデータを入力し、 所 定の格納方法 (内容については後述する。 ) にしたがって、 データを格納する。 オフセット計算手段 2 0 3は、 キャリブレーション時に取得した測定データに 基づいてオフセットを算定する (詳細は後述) 。 また、 オフセット有効性判別手 段 2 0 4は、 オフセット計算手段 2 0 3によって算定されたオフセットの有効性 を判定する (詳細は後述) 。
オフセット格納部 2 0 5は、 すでに格納されているオフセット値をオフセッ ト有効性判別手段 2 0 4において有効と判別されたオフセット値に更新して格納 する。 オフセット設定手段 2 0 6は、 オフセット記憶部 3 0 6に出力したオフセ ット値とオフセット格納部 2 0 5から出力されたオフセット値とを合算して、 こ の値をオフセッ卜記憶部 3 0 6に出力する。 方位計測手段 2 0 7は、 後述する A ZD変換器 3 0 7から入力した磁界データから方位を計測する。
なお、 磁気センサのオフセットとしては、 一般に、 磁気センサ固有のオフセッ ト、 周辺回路の影響によるオフセットおよび他の部品からの影響により磁界が乱 れることにより生ずるオフセットが考えられる。 このうち、 磁気センサ固有のォ フセッ卜と周辺回路の影響によるオフセットは、 変動の少ない値であることか ら、 これらの値を予め測定し、 その値をオフセッ卜設定手段 2 0 6に格納してお いてもよい。
磁気センサ部 3 0 1は、 磁気センサ (1 ) 〜 (3 ) と、 電源投入後、 各磁気セ ンサを初期化するための図示しないセンサ初期化手段 (1 ) 〜 (3 ) とを備えて いる。 センサ初期化手段 (1 ) 〜 (3 ) は、 強磁界が印加された場合、 磁気セン サ (1 ) 〜 (3 ) の磁性体の磁化の向きが狂ってしまうことから、 磁気センサ ( 1 ) 〜 (3 ) を初期状態にリセットするために設けられるものである。
切換手段 3 0 2は、 磁気センサ部 3 0 1の各磁気センサ ( 1 ) 〜 ( 3 ) からの 磁界データを切り替えて順次、 増幅器 3 0 3に入力する。 加算器 3 0 4は、 増幅 器 3 0 3からの出力と各磁気センサ (1 ) 〜 (3 ) に対応したオフセット値を D ZA変換器 3 0 5によりアナログに変換した信号を減算する。 AZD変換器 3 0 7は、 加算器 3 0 4の出力をデジタル信号に変換して、 方位計測手段 2 0 7に出 力する。
次に、 図 3を用いて具体的な処理動作について説明する。
図 3に示すように、 例えば、 方位計測を必要とするアプリケーション等が立ち 上がると方位センサユニット 2 0 0に対して、 測定トリガがかかる (ステップ 1 0 1 ) 。 具体的なトリガとしては、 一定時間ごとにトリガをかける方法が考えら れる。 なお、 これ以外にも、 アプリケーション側からの方位測定要請があった夕 イミングでトリガをかける方法や、 例えば、 携帯端末の別のデバイスの出力をモ 二夕し、 方位が変わったと推測される場合 (例えば、 電子撮像部 1 1 6に入力さ れた画像データがスライドしたタイミング等) にトリガをかける方法等力考えら れる。
ここで、 一定時間ごとにトリガをかける方法では、 定期的にデータ測定を行つ ているため、 アプリケーシさンから方位測定の要請があった場合には、 測定済み の直近のデ一夕を出力すればよいことから、 短時間での応答が可能であるという 利点がある。 また、 アプリケーションからの要請によりトリガがかかる方法は、 測定回数が必要最小限となるため、 無駄な電力を削減できるという利点があり、 別のデバイスの状況からトリガをかける方法では、 例えば、 携帯端末の別のデバ ィスが動作していることが条件になるが、 上記 2つの方法の利点を併せ持つ特徴 がある。 したがって、 どの方法を選択するのかについては、 装置のフューチャー 等により適宜、 決定すればよい。
測定トリガがかかると、 磁気センサ部 3 0 1から入力したデータにより磁界デ 一夕を測定し、 デ一夕をデジタルデータに変換して測定データ格納判別手段 2 0 1および方位計測手段 2 0 7に出力する (ステップ 1 0 2 ) 。 測定データ格納判 別手段 2 0 1では、 このデータを測定データ格納手段 2 0 2に格納すべきかどう かの判定に関する処理を行う (ステップ 1 0 3 ) 。
判定方法は、 測定デ一夕格納手段 2 0 2に格納されているデータを参照して、 後述する判別方法に基づいて、 入力したデータを測定データ格納手段 2 0 2に格 納すべきか否かを判別し、 格納すべきと判断したときは、 そのデータを測定デー 夕格納手段 2 0 2に格納する。
測定データ格納手段 2 0 2に格納されているデータがないときのみ格納する方 法、 あるいは既にデータが存在する場合にデ一夕を格納すべきか否かの判別方法 としては、 直前に格納したデータと一定値以上距離が離れている場合のみ格納す る方法がある。 この方法では、 データが方位球の一部に集中することを避けるこ とができるという利点がある。
また、 すべてのデータを格納する方法や測定データ格納手段 2 0 2に格納され ているデータがないときのみ格納する方法、 あるいは既にデータが存在する場合 には、 格納済みのすべてのデ一夕から一定値以上距離が離れている場合のみ格納 する方法が考えられる。 前者の方法は、 データ量が多いため、 最も短期間にデー 夕を多く集収でき、 キャリブレーションの頻度が上がり、 オフセット変動が起き ても短期間のうちにオフセットを修正することができるという利点がある。 また、 後者の方法では、 データの均一性が最も優れている反面、 データが蓄積 されるまでに長時間を要するという問題がある。 したがって、 上記の内容を踏ま えた上で、 どの方法を選択するのかについては、 装置のフューチャー等により適 宜、 決定すればよい。 なお、 一定値としては、 3 . 9 8 [AZM]程度が好適であ る。
測定データ格納手段 2 0 2は、 測定データ格納判別手段 2 0 1からのデータを 入力し、 後述する格納方法にしたがって、 データを格納し (ステップ 1 0 4 ) 、 オフセット計算手段 2 0 3にデータを出力すべきか否かを図示しないオフセット 計算トリガ手段に打診する。 オフセット計算トリガ手段は、 後述するトリガ方法 に基づいて、 データをオフセッ卜計算手段 2 0 3に出力すべきか否かを回答す る。 測定デ一夕格納手段 2 0 2は、 データをオフセット計算手段 2 0 3に出力す る指示があったときには、 格納しているデータをオフセット計算手段 2 0 3に出 力する。
ここで、 データの格納方法としては、 データを取り込み順に蓄積し、 オフセッ 卜計算トリガ手段の卜リガがかかってオフセッ卜計算処理が終了したときに、 全 てのデータを消去して、 もう一度、 最初からデータを蓄積する方法が考えられ る。 この方法では、 処理の負荷が軽いという利点がある。
また、 データを取り込み順に蓄積し、 一定量のデータが溜まったら、 新たなデ 一夕を取り込む際に、 最も古いデータを削除して、 常に、 一定量の新しいデータ を保持する方法やデータを取り込み順に蓄積し、 オフセット計算トリガ手段のト リガがかかってオフセット計算処理が終了したときに、 古いデータの方から一部 のデータを消去して、 データの蓄積を始める方法も考えられる。
前者の方法の場合は、 キャリブレーションの頻度を上げやすく、 最も短期間に オフセットを修正できるという利点があり、 後者の方法の場合には、 短期間にォ フセットの修正が可能である反面、 キャリブレーションの計算負荷が大きくなる という問題もある。 しかし、 前者の方法に比べて、 オフセットの計算頻度が低く なり、 計算処理の負荷を軽減できるという利点もある。
さらに、 データを値の順番に蓄積し、 一定量のデータが溜まったら、 新しいデ —夕に最も近い方位のデ一夕と差し替えを行う方法でもよい。 この場合、 オフセ ット変動の規模が小さいときには、 上記前者の方法に比べて、 データ密度を均一 に保持できるという利点がある反面、 オフセット変動が方位球の半径よりも大き い場合には、 いつまでも不要なデータが残る危険性がある。 したがって、 どの方 法を選択するのかについては、 装置のフューチャー等により適宜、 決定すればよ い。
また、 オフセット計算のトリガについては、 データが一定量になったら、 トリ ガをかける方法がある。 この場合、 データ数が一定であるため、 データ数に基づ く精度が安定しており、 有効性の判断が行いやすいという利点がある。 また、 こ れ以外の方法として、 データが一定量になったら、 あるいは、 データが一定量に なり、 前回のキヤリブレーシヨンから一定時間経過していたらトリガをかける方 法やデータが 4点以上ある場合には、 一定時間ごとにトリガをかける方法でもよ い。
前者の方法では、 短時間でキャリブレーション動作を行う可能性があり、 より 短時間にオフセット変動を補正できるという利点があり、 後者の方法では、 いつ までもキヤリブレーション動作に入らないという状況を回避できるという利点が ある。 したがって、 上記の内容を踏まえた上で、 どの方法を選択するのかについ ては、 装置のフューチヤ一等により適宜、 決定すればよい。
次に、 測定デ一夕格納手段 202から測定データがオフセット計算手段 203 に供給されると、 これらの測定デ一夕をもとにオフセットの計算が行われる (ス テツプ 105) 。
ここで、 オフセット計算アルゴリズムについて説明する。
測定データを (χ ,, Y i, z ( i = 1, · · · , N) 、 オフセットを (X 0, Υ0, Ζ 0) 、 方位球半径を Rとすると、 以下の関係式が成り立つ。
(x「 X0)2+ (y , -YO) 2+ (Z j - Z O) 2 = R2
このとき、 最小二乗誤差 εを次式のように定義する。
£ = {( ,. - Χθ)2 + ( ,. - YOf + (ζ,.一 Ζ0)2一 R2 }2
= V ·χ,.2 + 2 + ζ,·2 )- 2xtX0 - 2^,70一 2ζ,.Ζ0 + (ζθ2 + 702 + Z02)-R2f
ここで、
Figure imgf000015_0001
b = - 2 x ,
c =— 2 y i
d =- 2 z (
D= (X 02 + Y 02 + Z 02) -R2 ··· (1)
とすると、 εは以下の式となる。
= Υ (。,· + btX0 + c,F0 + d,Z0 + Df
このとき、 最小二乗誤差 εを最小とする条件は、 以下の式となる。
- 2 Υ ( ,. +b,JT0 + ctY0 + dl O + D^ =0
3X0
Βε
2 Y («,. + b, 0 + .ΥΟ + rf,.Z0 + D)ci = 0
dYO
de
22 («,. + b'JTO + c, 0 + ί/,ΖΟ + D)di =0
dZO
— = 2 [a. +biX0 + ciY0 + diZ0 + D) = 0
ム、 ' ' ' ' '
したがって、 以下の式が成り立つ。 一 Λ 1
Figure imgf000016_0001
ただし、
Figure imgf000016_0002
である。 この連立方程式を解くことにより、 最小二乗誤差 εを最小とする X0, Υ 0, Ζ 0, Dが求まる。 また、 (1) 式により、 Rも求めることができる。 オフセット値が計算されると、 オフセッ卜有効性判別手段 204により、 その 有効性が判別される (ステップ 106) 。 具体的には、 算出されたオフセットお よび方位円 (球) 半径と、 測定データ格納手段 202に格納された測定データか ら以下の値を算出する。
Nj;{k - 0)2 + , -yo)2 + (z,. -zof j ix, -xof + {yi -yo)2 ,. -zoj
Max(xi )― Min (x{ )
Wv =
R
Max yi )一 Min(yi )
^ R
Max(zj ) - Min zi )
w. =
R
ただし、 Ma x (x ,) は、 測定データ xい · · ·, χΝの中の最大値を表 し、 M i n (χ は、 測定データ χ1; · · ·, χΝの中の最小値を表す。 ま た、 σは標準偏差である。 上記の値に対して、 以下の判定基準が満たされるかど うか判定し、 判定基準が満たされた場合に、 推定したオフセットが有効であると 判定する。
a<F wx>G
wy>G
w z > G
ここで、 Fは 0. 1程度が好ましく、 Gは 1程度が好ましい。
そして、 オフセットが有効であると判断されたときには、 図示しない方位計測 手段 207内の記憶手段に格納されているオフセット値が更新される (ステップ 107) 。 方位計測手段 207は、 入力した測定データからオフセットを除去し たのち、 次のいずれかの方法で方位を計算する (ステップ 108) 。
1) 例えば、 携帯端末が水平であると仮定する場合には、 次式に基づいて方位 を算出する。
Abs (Hx) <Abs (Hy) AND Hy〉0 Then direction (deg)
= -arctan(Hx/Hy) * 180Ζπ
Abs (Hx) <Abs (Hy) AND Hy<0 Then direction (deg)
= 180-arctan(Hx/Hy) * 180/π
Abs (Hx) >Abs (Hy) AND Hx> 0 Then direction (deg)
= 90 + arctan(Hx/Hy) * 180/π
Abs (Hx) >Abs (Hy) AND Hx<0 Then direction (deg)
= 270 + arctan(Hx/Hy) *180/ τ
2) 例えば、 携帯端末が a (r ad) 傾いていると仮定する場合には、 次式に 基づいて方位を算出する。
Hy ' =Hycos(a)-H z sin (a)として、
Abs (Hx) <Abs (Hy ' ) AND Hy>0 Then direction (deg) = -arctan(Hx/Hy ' ) * 180/π
Abs (Hx) <Abs (Hy ' ) AND Hy<0 Then direction (deg) = 180-arctan(Hx/Hy ' ) * 180/π
Abs (Hx) >Abs (Hy ' ) AND Hx> 0 Then direction (deg) = 90 + arctan(Hx/Hy ' ) * 180/π
Abs (Hx) >Abs (Hy ' ) AND Hx<0 Then direction (deg) = 270 + arctan(Hx/Hy ' ) * 180/ττ ここで、 H x、 H y、 H zは、 磁気センサの出力であり、 方位は、 Y軸の方位 を指し、 磁北を 0度とする。
なお、 1 ) の方法は、 ユーザにとって携帯端末を水平にすることは比較的容易 であり、 方位の精度を得やすいという利点がある。 また、 2 ) の方法では、 ユー ザが通常携帯端末を持つ角度であるため、 おおよそ正しい方位を出すことができ るが、 その反面、 決まった角度に携帯端末を合わせるのは困難である場合もある ことから、 精度はあまり期待できないという問題もある。
そして、 こうして得られた方位データは、 例えば、 携帯端末の表示部 1 1 7等 に出力され、 表示される (ステップ 1 0 9 ) 。
図 4は、 本実施形態の変形例であり、 加算器 3 0 4の出力に積分器 3 0 9が設 けられている。 この積分器 3 0 9を設けることによりアナログ値の計算における 測定データの微小な乱れを平均化することができるため、 測定精度を向上させる ことができる。 なお、 この構成は、 後述するすべての実施形態においても適用可 能である。
次に、 図 5から図 7を用いて、 第 2の実施形態について説明する。
第 2の実施形態に係る方位センサユニットは、 図 5に示すように、 第 1の実施 形態に対して、 増幅器 3 0 3の出力をモニタするオーバーフローアンダーフロ一 検出部 3 0 8を備えている。
オーバーフローアンダーフロー検出部 3 0 8は、 増幅器 3 0 3の出力が次段の AZD変換器 3 0 7の入力レンジ内に収まっているか否かを検出し、 オーバーフ ローあるいはアンダーフローしている場合には、 増幅器 3 0 3の出力が次段の A D変換器 3 0 7の入力レンジ内に収まるように、 補正値をオフセット設定手段 2 0 6に入力する。 ここで、 オフセット設定手段 2 0 6は、 オーバーフローアン ダーフロー検出部 3 0 8から入力された値とすでに格納している値およびオフセ ット格納部 2 0 5に値が格納されている場合には、 その値を合算してオフセット 記憶部 3 0 6に格納するオフセット値を設定する。
次に、 図 6を用いて、 具体的な処理動作について説明する。
図 6に示すように、 第 1の実施形態と同様に、 例えば、 方位計測を必要とするァ プリケ一シヨン等が立ち上がると方位センサュニッ卜 2 0 0に対して、 測定トリ ガがかかる (ステップ 2 0 1 ) 測定トリガがかかると、 まず、 磁気センサ部 3 0 1から入力したデータにより磁気データを測定する。 そして、 測定された磁気デ 一夕は、 増幅器 3 0 3に送られる (ステップ 2 0 2 ) 。
続いて、 オーバーフローアンダーフロ一検出部 3 0 8は、 増幅器 3 0 3の出力 が次段の AZD変換器 3 0 7の入力レンジ内に収まっているか否かを検出し、 ォ —バ一フローあるいはアンダーフローしてない場合には次ステップに、 オーバー フローあるいはアンダーフローしている場合には、 増幅器 3 0 3の出力が次段の A/D変換器 3 0 7の入力レンジ内に収まるように、 補正値をオフセッ卜設定手 段 2 0 6に入力した上で (ステップ 2 0 4 ) 、 次ステップに移行する (ステップ 2 0 3 ) 。 そして、 再び、 磁気センサから入力したデータにより磁界デ一夕を測 定し、 データをデジタルデータに変換して測定データ格納判別手段 2 0 1および 方位計測手段 2 0 7に出力する (ステップ 2 0 5 ) 。
測定データ格納判別手段 2 0 1では、 このデータを測定データ格納手段 2 0 2 に格納すべきかどうかの判定に関する処理を行う (ステップ 2 0 6 ) 。 ここで、 格納すべきと判断したときには、 測定データを測定データ格納手段 2 0 2に格納 し (ステップ 2 0 7 ) 、 格納すべきでないと判断したときには、 ステップ 2 0 1 に戻る。
測定データ格納手段 2 0 2は、 測定デ一夕格納判別手段 2 0 1からのデータを 入力し、 後述する格納方法にしたがって、 デ一夕を格納し (ステップ 2 0 7 ) 、 オフセット計算手段 2 0 3にデータを出力すべきか否かを図示しないオフセット 計算トリガ手段に打診する。 オフセット計算トリガ手段は、 前述のトリガ方法に 基づいて、 データをオフセッ卜計算手段 2 0 3に出力すべきか否かを回答する。 測定データ格納手段 2 0 2は、 データをオフセット計算手段 2 0 3に出力する指 示があったときには、 格納しているデータをオフセット計算手段 2 0 3に出力す る。
オフセッ卜計算手段 2 0 3は、 測定データ格納手段 2 0 2から測定データが入 力されると、 前述めオフセット計算アルゴリズムにしたがって、 オフセットの計 算を行う (ステップ 2 0 8 ) 。 オフセット値が計算されると、 オフセット有効性 判別手段 2 0 4により、 その有効性が判別される (ステップ 2 0 9 ) 。 その結 果、 オフセットが有効であると判断されたときには、 図示しない方位計測手段 2 0 7内の記憶手段に格納されているオフセット値が更新される (ステップ 2 1 0 ) 。
一方、 方位計測手段 2 0 7は、 入力した測定データからオフセットを除去した のち、 方位を計算し (ステップ 2 1 1 ) 、 こうして得られた方位データは、 例え ば、 携帯端末の表示部 1 1 7等に出力され、 表示される (ステップ 2 1 2 ) 。 図 7は、 本実施形態の変形例であり、 オフセット格納部 2 0 5を削除して、 ォ —バーフローあるいはアンダーフローに対する補正をオフセット設定手段 2 0 6 で実行し、 AZD変換器 3 0 7の入力レンジに収まった測定データのオフセット をオフセット計算手段 2 0 3で求めたオフセット値で補正する構成となってい る。 こうした構成とすることにより、 主にハードウェアの処理でオーバ一フロー あるいはアンダーフロ一に対する補正を行い、 ソフトウェアの処理によって、 ォ 一バーフローあるいはアンダーフロー除去後の補正を行うため、 回路負荷ゃソフ トウエアの処理負荷を軽減することができる。
したがって、 本実施形態によれば、 オーバーフローアンダーフロー検出部によ り、 オーバーフローアンダーフローを検出して、 これを補正することにより、 A ZD変換に要する時間を短縮して、 短時間に正確な方位を演算することができ る。 また、 回路構成によっては、 回路負荷やソフトウェアの処理負荷を軽減する こともできる。
次に、 図 8および図 9を用いて、 第 3の実施形態について説明する。
第 3の実施形態に係る方位センサユニットは、 図 8に示すように、 第 1の実施 形態に対して、 オフセット設定手段 2 0 6、 オフセット格納手段 2 0 5を削除す るとともに、 オフセッ卜大小判別手段 2 0 8を備えている。
オフセット大小判別手段 2 0 8は、 オフセットの有効性が判別された後のオフ セット値が予め定めた所定値よりも大きいか否かを判別して、 オフセット値が予 め定めた所定値よりも大きい場合には、 その値をオフセット記憶部 3 0 6に出力 し、 オフセット値が予め定めた所定値よりも小さい場合には、 その値を方位計測 手段 2 0 7に出力する.。
次に、 図 9を用いて、 具体的な処理動作について説明する。 図 9に示すように、 第 1の実施形態と同様に、 例えば、 方位計測を必要とするァ プリケーシヨン等が立ち上がると方位センサュニット 2 0 0に対して、 測定トリ ガがかかる (ステップ 3 0 1 ) 測定トリガがかかると、 磁気センサ部 3 0 1から 入力したデータにより磁界デ一夕を測定し、 データをデジタルデータに変換して 測定データ格納判別手段 2 0 1および方位計測手段 2 0 7に出力する (ステップ 3 0 2 ) 。
測定データ格納判別手段 2 0 1では、 このデータを測定データ格納手段 2 0 2 に格納すべきかどうかの判定に関する処理を行う (ステップ 3 0 3 ) 。 ここで、 格納すべきと判断したときには、 測定データを測定データ格納手段 2 0 2に格納 し (ステップ 3 0 4 ) 、 格納すべきでないと判断したときには、 ステップ 3 0 1 に戻る。
測定データ格納手段 2 0 2は、 測定データ格納判別手段 2 0 1からのデータを 入力し、 後述する格納方法にしたがって、 データを格納し (ステップ 3 0 4 ) 、 オフセッ卜計算手段 2 0 3にデータを出力すべきか否かを図示しないオフセット 計算トリガ手段に打診する。 オフセット計算トリガ手段は、 前述のトリガ方法に 基づいて、 データをオフセット計算手段 2 0 3に出力すべきか否かを回答する。 測定データ格納手段 2 0 2は、 データをオフセット計算手段 2 0 3に出力する指 示があったときには、 格納しているデータをオフセット計算手段 2 0 3に出力す る。
オフセット計算手段 2 0 3は、 測定データ格納手段 2 0 2から測定データが入 力されると、 前述のオフセット計算アルゴリズムにしたがって、 オフセットの計 算を行う (ステップ 3 0 5 ) 。 オフセット値が計算されると、 オフセット有効性 判別手段 2 0 4により、 その有効性が判別される (ステップ 3 0 6 ) 。
次に、 有効性ありと判別されたオフセッ卜値が予め定めた所定値よりも大きい か否かを判別して (ステップ 3 0 7 ) 、 オフセット値が予め定めた所定値よりも 大きい場合には、 その値をオフセット記憶部 3 0 6に出力し (ステップ 3 0 8 ) 、 オフセット値が予め定めた所定値よりも小さい場合には、 その値を方位計 測手段 2 0 7に出力する。 そして、 図示しない方位計測手段 2 0 7内の記憶手段 に格納されているオフセット値が更新される (ステップ 3 0 9 ) 。 一方、 方位計測手段 2 0 7は、 ステップ 3 0 2の後、 入力した測定データから オフセットを除去し、 これに基づいて方位を計算する (ステップ 3 1 0 ) 。 こう して得られた方位データは、 例えば、 携帯端末の表示部 1 1 7等に出力され、 表 示される (ステップ 3 1 1 ) 。
したがって、 本実施形態によれば、 オフセット大小判別手段、 有効性が判別さ れた後のオフセットの大きさを検出して、 これを補正することにより、 A/D変 換に要する時間を短縮して、 短時間に正確な方位を演算することができる。 ま た、 回路構成によっては、 回路負荷やソフトウェアの処理負荷を軽減することも
2 o
できる。
次に、 図 1 0から図 1 2を用いて、 第 4の実施形態について説明する。
第 4の実施形態に係る方位センサチップ 3 0 0は、 図 1 0に示すように、 第 1 の実施形態に対して、 増幅器 3 0 3の出力とともに切替手段 3 1 2により接続さ れる温度センサ 3 1 0、 傾きセンサ 3 1 1とを備えている。 また、 図 1 1に示す ように、 方位センサュニット 2 0 0は、 方位センサチップ 3 0 0の AZD変換器 3 0 7を介して磁気センサ部から出力される温度補正値算出手段 2 0 9、 傾き補 正値算出手段 2 1 0を備えている。
温度センサ 3 1 0は、 方位センサチップ 3 0 0の温度をモニタし、 そのデータ を方位センサチップ 3 0 0の AZD変換器 3 0 7を介して方位センサュニット 2 0 0の温度補正値算出手段 2 0 9に出力する。 温度補正値算出手段 2 0 9には、 予め温度と補正値との関数が格納されており、 入力した温度データに対応した補 正値を方位計測手段 2 0 7に出力する。 具体的には、 キャリブレーション時の温 度を T O、 推定されているオフセットを O F、 温度係数 A (これは出荷検査時に 測定して R OM 1 0 9に記録されている) 、 測定時の温度を T、 磁気センサの測 定値を S Oとすると、 温度補正したオフセット除去後の磁気データ S 1は、 S 1 = S 0 - { O F + A (T一 T O) }
となる。
傾きセンサ 3 1 1は、 方位センサチップ 3 0 0の傾きをモニタし、 そのデ一夕 を方位センサチップ 3 0 0の AZD変換器 3 0 7を介して方位センサュニット 2 0 0の傾き補正値算出手段 2 1 0に出力する。 傾き補正値算出手段 2 1 0は、 以 下に示すような方法で、 仰角 |3、 ひねり角ァを算出して、 これを方位計測手段 2 0 7に出力する。
ここで、 携帯端末 1を例にとり、 傾き補正についてその詳細を説明する。 まず、 図 1 3 (a) に示すように携帯端末 1の座標系を定義する。 すなわち、 携帯端末 1のアンテナ 1 0 1の方位角を α、 仰角を i3、 ひねり角 (アンテナ軸の まわりの回転角) を?"とする。 符号は、 同図に示す矢印方向を正とする。 また、 アンテナ方向の単位ベクトルを Vy、 端末ユニット一 2 (アンテナ 1 0 1および 方位センサチップ 3 0 0が配置された側) がなす面 (例えば、 図 1 3では符号 9 9部分の面) に垂直な方向の単位ベクトルを V zとし、 Vy, V zのいずれにも 直交する単位ベクトルを Vxとする。 なお、 同図に示す矢印方向を正の向きとす る。 地面座標系は、 図 1 3 (b) に示すように、 X、 Y、 Ζで表し、 北方向を Υ 軸にとる。
ここで、 地面座標系での重力を G二 (0, 0, G z) とする。 また、 携帯座標 系での重力を g= (g x、 g y、 g z) とする。 この携帯座標系での重力は傾き センサにより検出できるものとする。 もちろん、 地面座標系での重力は既知であ る。
すると、 携帯座標系の重力 gと地面座標系での重力 Gは、 下式で表される。
(Gx, Gy, G z) BC= (g , gy, g z)
ただし、
Figure imgf000023_0001
Figure imgf000023_0002
これから、 BCは、 下式で表せる cos y 0 -sin 7
BC sin β sin γ cos β sin β cos γ
cos β^ιηγ ― sin β cos β cos y したがって、 携帯座標系での重力 gは下式で表される
cos 0 一 sin y
{gx,gy,gz) = { ,0,Gz sin β sin y cos β sin β cos y
cos j3 sin y - sin β cos β cos γ
= Gz(cos 3sin ,-sin /?, cos/?, cosy
の式から、 仰角 /3、 ひねり角ァが求まる。
Figure imgf000024_0001
Figure imgf000024_0002
以上のようにして仰角 i3、 ひねり角ァが求められる。
方位計測手段 207は、 仰角 、 ひねり角ァを入力すると、 以下のァルゴリズ ムにより、 方位角ひ、 地磁気の仰角 0を求める。
まず、 携帯座標系での地磁気を h= (h X, hy, h z) 、 地面座標系での地 磁気を H= (0, Hy, Hz) とすると、
(0, Hy, Hz) ABC= (hx, hy, h z )
が成り立つ。 ただし、
cosひ 一 sin or 0
/1 = sin a cos a 0 1 0 0
B 0 cos β sin β
0 -sin β cos β
cosy 0 - sin γ
C 0 1 0
ύηγ 0 cosy である。 これから、 下式が導かれる <
2 3
(0,Hy,Hz^4 = {hx,hy,hz)C'lB-1 ≡ {hx hy hz')
よって、
(h x , hy , h z ) = (Hy s i n a, Hyc o s a, Hz) となる。 したがって、 入力した仰角 )3、 ひねり角ァと、 携帯座標系での地磁気 hは測定すると、 (hx' hy' h z ' ) が定まる。 ここで地面座標系での 地磁気 Hが既知であるとすると、 方位角 αが求まる。 また、 地磁気の仰角 0も下 式により求まる。
Θ = arctan
Figure imgf000025_0001
y hx'- +hy^
したがって、 本実施形態においては、 周辺部品等による磁界の変化から生ずる 磁気センサのオフセッ卜のみならず、 温度変化や傾きの変化によるオフセッ卜に ついても、 その影響を効果的に除去することができる。
図 1 2は、 本実施形態の変形例であり、 温度補正値算出手段 2 0 9、 傾き補正 値算出手段 2 1 0の出力に対して、 補正データ判定手段 2 1 1を有する構成とな つている。 補正データ判定手段 2 1 1は、 図示しない記憶手段を有しており、 温 度補正値算出手段 2 0 9および傾き補正値算出手段 2 1 0からの出力データと直 前に格納したデータとを比較して、 一定以上の変化がある場合等にそのデータを 方位計測手段 2 0 7に出力する。
したがって、 上記の実施形態によれば、 補正データ判定手段 2 1 1は、 温度補 正値算出手段 2 0 9および傾き補正値算出手段 2 1 0からのデータを判定して、 方位計測手段 2 0 7への出力の可否を判断することから、 方位計測手段 2 0 7の 処理負荷を軽減させることができる。
以上、 この発明の実施形態を、 図面を参照して詳述してきたが、 具体的な構成 はこの実施形態に限られるものではなく、 この発明の要旨を逸脱しない範囲の構 成等も含まれることは言うまでもない。 例えば、 本発明の実施形態においては、 磁気センサからの出力を演算するプロックを方位センサュ二ット内に設けた構成 について説明したが、 これに限らず、 演算部を端末ユニット内の主制御部に設け た構成であってもよい。 産業上の利用可能性
本発明によれば、 ユーザに過度な負担を強いることなく、 キャリブレーション を実行し、 正確な方位を出力できるという効果がある。
また、 DZAコンバータやメモリに負荷を低減しつつ、 正確な方位を出力する 方位センサュニットを提供できるという効果がある。

Claims

請 求 の 範 囲
1 . 地磁気センサからのデータを入力して磁界データを測定するステップと、 該測定データを格納すべきか否かを直前に格納された測定データとの距離に基づ いて判断するステップと、
格納したデータに基づいてオフセット値を算出するステップと、
該オフセット値の算出に用いられた複数の測定データを成分ごとに比較して、 成分ごとの最大値と最小値との差が所定値以上であるときに、 該算出したオフセ ット値が有効であると判断するステップと、
すでに格納されているオフセット値を前記ステップにおいて有効であると判断 されたオフセット値に更新するステップと、
前記測定データを該更新したオフセット値で補正して、 方位データを演算する ステップと、
を有することを特徴とする方位データ演算方法。
2 . 地磁気センサからのデ一夕を入力して磁界デ 夕を測定するステツプと、 該測定データがオーバーフローあるいはアンダーフローしているか否かを判断 し、 該測定デ一夕がオーバ一フローあるいはアンダーフローしていると判断した ときに、 該測定デー夕が所定の範囲に収まるように補正するステツプと、 該測定データを格納すべきか否かを直前に格納された測定データとの距離に基 づいて判断するステップと、
格納したデ一夕に基づいてオフセット値を算出するステップと、
該オフセット値の算出に用いられた複数の測定データを成分ごとに比較して、 成分ごとの最大値と最小値との差が所定値以上であるときに、 該算出したオフセ ッ卜値が有効であると判断するステップと、
すでに格納されているオフセット値を前記ステツプにおいて有効であると判断 されたオフセット値に更新するステップと、
前記測定データを該更新したオフセッ卜値で補正して、 方位データを演算する ステップと、
を有することを特徴とする方位データ演算方法。
3 . 地磁気センサからのデータを入力して磁界デー夕を測定するステップと、 該測定データを格納すべきか否かを直前に格納された測定データとの距離に基 づいて判断するステップと、
格納したデータに基づいてオフセット値を算出するステップと、
該オフセット値の算出に用いられた複数の測定データを成分ごとに比較して、 成分ごとの最大値と最小値との差が所定値以上であるときに、 該算出したオフセ ット値が有効であると判断するステップと、
該有効とされたオフセット値が所定値よりも大きいときに、 前記測定データか ら該オフセット値を除去した測定データに基づいて、 処理を前記測定データの格 納判定ステップに戻すステツプと、
該有効とされたオフセット値が所定値よりも小さいときに、 すでに格納されて いるオフセット値を前記ステップにおいて有効であると判断されたオフセット値 に更新するステップと、
前記測定データを該更新したオフセット値で補正して、 方位データを演算する ステップと、
を有することを特徴とする方位データ演算方法。
4 . 地磁気センサからのデ一夕を入力して磁界デ一夕を測定する磁界データ測定 手段と、
該磁界データを格納する測定データ格納手段と、
前記磁界データを該測定データ格納手段に格納すべきか否かを直前に格納され た磁界データとの距離に基づいて判断する測定データ格納判別手段と、
前記測定データ格納手段に格納された磁界デ一夕に基づいてオフセッ卜値を算 出するオフセット計算手段と、
該オフセッ卜値の算出に用いられた複数の測定デ一夕を成分ごとに比較して、 成分ごとの最大値と最小値とが所定値以上であるときに、 該算出したオフセット 値が有効であると判断するオフセット有効性判別手段と、
すでに格納されているオフセッ卜値を該オフセット有効性判別手段において有 効とされたオフセット値に更新して格納するオフセット格納部と、
該オフセット格納部に格納されたオフセット値とすでに格納されているオフセ ッ卜値とを加算するオフセット設定手段と、 該オフセット設定手段において設定されたオフセット値を前記磁界データから 除去する演算器と、
前記オフセット格納部に格納されたオフセット値で前記磁界データを補正し て、 方位データを演算する方位計測手段とを有することを特徴とする方位センサ ユニット。
5 . 前記演算器から出力される磁界データを積分する積分器を備えたことを特徴 とする請求項 4に記載された方位センサュニット。
6 . 前記磁界デ一夕をモニタし、 オーバ一フローあるいはアンダーフローを検出 する検出部を備え、 該検出部が、 データのオーバーフローあるいはアンダーフロ —を検出したときに、 前記演算器にデ一夕のオーバーフローあるいはアンダーフ ローを解消するような補正値を入力することを特徴とする請求項 4に記載された 方位センサュニット。
7 . 前記オフセッ卜有効性判別手段において有効とされたオフセット値と予め定 めた所定値とを比較し、 該オフセット値が所定値よりも大きいときに、 該オフセ ット値を前記演算器に出力し、 該オフセット値が所定値よりも大きいときに、 該 オフセット値を前記オフセット格納手段に出力するオフセッ卜大小判別手段を備 えたことを特徴とする請求項 4に記載された方位センサュ二ット。
8 . 温度を検出する温度センサおよび該検出された温度から補正値を算出し、 該 算出された補正値を前記方位計測手段に出力する温度補正値算出手段と、 傾きを検出する傾きセンサおよび該検出された傾きから補正値を算出し、 該算 出された補正値を前記方位計測手段に出力する傾き補正値算出手段との少なくと も一方を備えたことを特徴とする請求項 4に記載された方位センサュニット。
9 . 温度を検出する温度センサと、
該検出された温度から補正値を算出する温度補正値算出手段と、
傾きを検出する傾きセンサと、
該検出された傾きから補正値を算出する傾き補正値算出手段と、
前記温度補正値算出手段および傾き補正値算出手段において算出された補正値 と直前の補正値とを比較して該補正値を前記方位計測手段に出力するか否かを判 定する補正デ一夕判定手段と、 を備えたことを特徴とする請求項 4に記載された方位センサュニット。
1 0 . 前記請求項 4から請求項 9に記載された方位センサュニットを備えた携帯 電子機器。
PCT/JP2004/011191 2004-07-29 2004-07-29 方位データ演算方法、方位センサユニットおよび携帯電子機器 WO2006011238A1 (ja)

Priority Applications (9)

Application Number Priority Date Filing Date Title
PCT/JP2004/011191 WO2006011238A1 (ja) 2004-07-29 2004-07-29 方位データ演算方法、方位センサユニットおよび携帯電子機器
TW094119317A TWI265301B (en) 2004-07-29 2005-06-10 Azimuth data computing method, compass sensor unit, and portable electronic device
US11/149,732 US7324906B2 (en) 2004-07-29 2005-06-10 Compass sensor unit and portable electronic device
EP05767132A EP1772704A4 (en) 2004-07-29 2005-07-29 AZIMUT DATA CALCULATION METHOD, AZIMUT SENSOR UNIT, AND PORTABLE ELECTRONIC APPARATUS
JP2006527875A JP4539653B2 (ja) 2004-07-29 2005-07-29 方位データ演算方法、方位センサユニットおよび携帯電子機器
PCT/JP2005/013953 WO2006011602A1 (ja) 2004-07-29 2005-07-29 方位データ演算方法、方位センサユニットおよび携帯電子機器
CN2005800256981A CN101023324B (zh) 2004-07-29 2005-07-29 方位数据计算方法、方位传感器单元及便携式电子装置
US11/948,921 US7474977B2 (en) 2004-07-29 2007-11-30 Compass sensor unit and portable electronic device
US12/206,521 US7606676B2 (en) 2004-07-29 2008-09-08 Compass sensor unit and portable electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2004/011191 WO2006011238A1 (ja) 2004-07-29 2004-07-29 方位データ演算方法、方位センサユニットおよび携帯電子機器

Publications (1)

Publication Number Publication Date
WO2006011238A1 true WO2006011238A1 (ja) 2006-02-02

Family

ID=35785998

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/JP2004/011191 WO2006011238A1 (ja) 2004-07-29 2004-07-29 方位データ演算方法、方位センサユニットおよび携帯電子機器
PCT/JP2005/013953 WO2006011602A1 (ja) 2004-07-29 2005-07-29 方位データ演算方法、方位センサユニットおよび携帯電子機器

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/013953 WO2006011602A1 (ja) 2004-07-29 2005-07-29 方位データ演算方法、方位センサユニットおよび携帯電子機器

Country Status (6)

Country Link
US (3) US7324906B2 (ja)
EP (1) EP1772704A4 (ja)
JP (1) JP4539653B2 (ja)
CN (1) CN101023324B (ja)
TW (1) TWI265301B (ja)
WO (2) WO2006011238A1 (ja)

Families Citing this family (50)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100612836B1 (ko) * 2003-12-13 2006-08-18 삼성전자주식회사 자장 이용 방법 및 장치
ATE449952T1 (de) * 2003-12-22 2009-12-15 Asahi Kasei Emd Corp Azimut-messeinrichtung
JP4434818B2 (ja) * 2004-03-31 2010-03-17 京セラ株式会社 携帯通信端末とその地磁気センサの誤差補正方法
EP1767900A4 (en) * 2004-07-15 2010-01-20 Amosense Co Ltd MOBILE TERMINAL DEVICE
WO2006011238A1 (ja) * 2004-07-29 2006-02-02 Yamaha Corporation 方位データ演算方法、方位センサユニットおよび携帯電子機器
EP1985970B1 (en) * 2006-01-30 2015-05-06 Kyocera Corporation Mobile electronic device and its direction display method
JP4761142B2 (ja) * 2006-03-31 2011-08-31 ヤマハ株式会社 磁気データ処理方法、装置及びプログラム
WO2008099822A1 (ja) * 2007-02-14 2008-08-21 Alps Electric Co., Ltd. センサチップ、検出装置および検出装置の製造方法
US20090009360A1 (en) * 2007-07-02 2009-01-08 Flannigan William C System and method for measuring and recording distance
US7826999B1 (en) * 2007-08-20 2010-11-02 Pni Corporation Magnetic tilt compensated heading compass with adaptive zoffset
EP2028504B1 (en) * 2007-08-23 2016-04-13 STMicroelectronics Srl Method and device for calibrating a magnetic sensor
TWI364206B (en) * 2007-12-27 2012-05-11 Htc Corp Portable electronic device capable of re-calibrating azimuth and method thereof
TWI362482B (en) * 2007-12-31 2012-04-21 Htc Corp Portable electronic device with electronic compass and method for calibrating compass
US8224575B2 (en) * 2008-04-08 2012-07-17 Ensco, Inc. Method and computer-readable storage medium with instructions for processing data in an internal navigation system
WO2010010811A1 (ja) * 2008-07-25 2010-01-28 アルプス電気株式会社 地磁気センサ用制御装置
US8898034B2 (en) * 2009-06-03 2014-11-25 Apple Inc. Automatically identifying geographic direction
US7891103B2 (en) 2009-06-05 2011-02-22 Apple Inc. Magnetometer accuracy and use
JP5453969B2 (ja) * 2009-07-10 2014-03-26 ヤマハ株式会社 磁気データ処理装置、磁気データ処理方法および磁気データ処理プログラム
US9116002B2 (en) * 2009-08-27 2015-08-25 Apple Inc. Context determination to assist location determination accuracy
DE102009057258A1 (de) * 2009-12-08 2011-06-09 Embex Gmbh Magnetfeldsensor und Verfahren zur Messung der horizontalen Komponente eines Magnetfelds
US8531180B2 (en) 2010-03-30 2013-09-10 Apple Inc. Determining heading using magnetometer data and angular rate data
US8626465B2 (en) 2010-03-30 2014-01-07 Apple Inc. Calibrating sensor measurements on mobile devices
DE102010019485B4 (de) * 2010-05-05 2012-10-31 Austriamicrosystems Ag Sensoranordnung und Verfahren zum Betreiben einer Sensoranordnung
DE102010019484B9 (de) * 2010-05-05 2012-12-06 Austriamicrosystems Ag Sensoranordnung und Verfahren zum Betreiben einer Sensoranordnung
JP5531801B2 (ja) 2010-06-16 2014-06-25 ヤマハ株式会社 3軸磁気センサ、電子コンパス
US8717009B2 (en) 2010-10-06 2014-05-06 Apple Inc. Magnetometer calibration
US8922198B2 (en) 2010-10-26 2014-12-30 Blackberry Limited System and method for calibrating a magnetometer according to a quality threshold
EP2645059A4 (en) * 2010-11-25 2015-02-18 Nec Casio Mobile Comm Ltd PORTABLE TERMINAL WITH ELECTRONIC COMPASS AND METHOD OF DIRECTION CALCULATION
US8676528B2 (en) 2011-02-08 2014-03-18 Blackberry Limited System and method for calibrating an accelerometer
CN103562791A (zh) * 2011-04-18 2014-02-05 眼见360股份有限公司 用于与移动计算设备一起进行全景视频成像的装置和方法
JP5035448B2 (ja) * 2011-05-20 2012-09-26 ヤマハ株式会社 磁気センサ制御装置および方法
JP5927776B2 (ja) * 2011-05-20 2016-06-01 株式会社ソニー・インタラクティブエンタテインメント 携帯機器
DE102011076337A1 (de) * 2011-05-24 2012-11-29 Robert Bosch Gmbh Magnetsensorvorrichtung und Verfahren zum Ermitteln einer Information bezüglich einer magnetischen Feldstärkekomponente in Richtung zumindest einer ortsfesten Ortsachse
US8615253B2 (en) 2011-06-03 2013-12-24 Apple Inc. State estimation using motion context and multiple input observation types
KR20130021616A (ko) 2011-08-23 2013-03-06 삼성전자주식회사 다중 측위를 이용한 단말의 측위 장치 및 방법
US9329038B2 (en) 2011-09-30 2016-05-03 Apple Inc. Electronic devices with calibrated compasses
US9046365B2 (en) * 2011-10-27 2015-06-02 Apple Inc. Electronic devices with magnetic field compensating conductive traces
RU2498216C1 (ru) * 2012-05-25 2013-11-10 Открытое акционерное общество "Военно-промышленная корпорация "Научно-производственное объединение машиностроения" Гирокомпасная система ориентации искусственного спутника земли
CN103543414A (zh) * 2012-07-13 2014-01-29 爱盛科技股份有限公司 三维平面磁传感器
US9423252B2 (en) 2012-09-11 2016-08-23 Apple Inc. Using clustering techniques to improve magnetometer bias estimation
GB2506685A (en) * 2012-10-08 2014-04-09 Melexis Technologies Nv Determining and/or Compensating Range Offset of a Range Sensor
US9939497B2 (en) * 2013-03-15 2018-04-10 Intel Corporation Dynamically calibrating magnetic sensors
US9151610B2 (en) 2013-06-08 2015-10-06 Apple Inc. Validating calibrated magnetometer data
RU2583350C1 (ru) * 2015-02-12 2016-05-10 Акционерное общество "Военно-промышленная корпорация "Научно-производственное объединение машиностроения" (АО "ВПК" "НПО Машиностроения") Способ орбитального гирокомпасирования и устройство для его осуществления
KR101698681B1 (ko) * 2015-08-26 2017-01-23 매그나칩 반도체 유한회사 지자기력의 수평 경사각 산출 방법 및 이를 이용한 장치
ITUB20155844A1 (it) * 2015-11-24 2017-05-24 Vinati S R L Metodo per la stima dell?assetto di una pulsantiera per il controllo di macchine operatrici
FR3044087B1 (fr) * 2015-11-25 2018-11-16 Continental Automotive France Procede de calibration automatique d’un capteur d’arbre a cames pour moteur de vehicule automobile et capteur associe
WO2017134695A1 (en) * 2016-02-04 2017-08-10 Gipstech S.R.L. System and method for calibrating magnetic sensors in real and finite time
CN106352824B (zh) * 2016-08-31 2019-01-25 沈阳东软医疗系统有限公司 一种悬吊设备运动位置的校正装置及校正方法
CN107992059B (zh) * 2018-01-08 2020-04-24 陕西理工大学 电磁智能车的控制方法

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03152412A (ja) * 1989-11-08 1991-06-28 Alpine Electron Inc 車両方位演算方法
JP2003090726A (ja) * 2001-07-10 2003-03-28 Yamaha Corp 方位測定機能を有する携帯型電子装置、同携帯型電子装置に好適な磁気センサ、及び同携帯型電子装置における方位測定方法

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2003A (en) * 1841-03-12 Improvement in horizontal windivhlls
JPS566169A (en) 1979-06-27 1981-01-22 Japan Radio Co Ltd Method and device for magnetic-field vector detection
JPH08105745A (ja) 1994-10-05 1996-04-23 Fujitsu Ltd 地磁気センサの方位誤差の補正のための方法と装置
JP3595048B2 (ja) 1995-11-10 2004-12-02 ジェコー株式会社 車両用方位検出装置
JP3857499B2 (ja) * 2000-05-12 2006-12-13 セイコーインスツル株式会社 電子方位計の補正機構、これを備えた電子方位計及び電子方位計付電子時計
JP4278952B2 (ja) * 2001-11-08 2009-06-17 ヤマハ株式会社 携帯端末
EP1314961B1 (en) * 2001-11-22 2009-07-15 Yamaha Corporation Electronic apparatus
JP3721141B2 (ja) * 2002-03-25 2005-11-30 松下電器産業株式会社 携帯端末装置
JP2003294447A (ja) 2002-03-29 2003-10-15 Asahi Kasei Corp 方位角計測装置
JP4073715B2 (ja) 2002-06-11 2008-04-09 旭化成エレクトロニクス株式会社 方位角計測装置、キャリブレーション方法およびキャリブレーションプログラム
AU2003246158A1 (en) * 2002-07-01 2004-01-19 Asahi Kesei EMD Corporation Azimuth measuring device and azimuth measuring method
JP2005114489A (ja) * 2003-10-06 2005-04-28 Citizen Electronics Co Ltd 磁気方位検出装置
ATE449952T1 (de) 2003-12-22 2009-12-15 Asahi Kasei Emd Corp Azimut-messeinrichtung
KR100594971B1 (ko) * 2004-01-09 2006-06-30 삼성전자주식회사 지자기 센서를 이용한 입력장치 및 이를 이용한 입력신호생성방법
JP4448957B2 (ja) 2004-03-04 2010-04-14 旭化成エレクトロニクス株式会社 磁気計測装置及び磁気計測方法
WO2006011238A1 (ja) * 2004-07-29 2006-02-02 Yamaha Corporation 方位データ演算方法、方位センサユニットおよび携帯電子機器
CN100541125C (zh) * 2004-08-10 2009-09-16 雅马哈株式会社 方位数据生成方法、方位传感器单元以及便携式电子装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03152412A (ja) * 1989-11-08 1991-06-28 Alpine Electron Inc 車両方位演算方法
JP2003090726A (ja) * 2001-07-10 2003-03-28 Yamaha Corp 方位測定機能を有する携帯型電子装置、同携帯型電子装置に好適な磁気センサ、及び同携帯型電子装置における方位測定方法

Also Published As

Publication number Publication date
JP4539653B2 (ja) 2010-09-08
US20060021238A1 (en) 2006-02-02
JPWO2006011602A1 (ja) 2008-05-01
US7606676B2 (en) 2009-10-20
EP1772704A1 (en) 2007-04-11
TW200610973A (en) 2006-04-01
US7474977B2 (en) 2009-01-06
CN101023324A (zh) 2007-08-22
US20080091372A1 (en) 2008-04-17
TWI265301B (en) 2006-11-01
EP1772704A4 (en) 2012-03-14
US7324906B2 (en) 2008-01-29
WO2006011602A1 (ja) 2006-02-02
CN101023324B (zh) 2012-02-08
US20090006020A1 (en) 2009-01-01

Similar Documents

Publication Publication Date Title
WO2006011238A1 (ja) 方位データ演算方法、方位センサユニットおよび携帯電子機器
US7237343B2 (en) Orientation data generation method, orientation sensor unit and portable electronic equipment
US10641625B2 (en) Method and apparatus for calibrating a magnetic sensor
KR100802249B1 (ko) 장치의 방위각 및 경사각을 검출하기 위한 기기, 방법 및프로그램
EP1148459A2 (en) Positional information display system
KR20070030286A (ko) 방위 처리 장치, 방위 처리 방법, 방위 처리 프로그램,방위 측정 장치, 경사 오프셋의 보정 방법, 방위 계측방법, 방위 센서 유닛 및 휴대 전자 기기
WO2006009247A1 (ja) 方位処理装置、方位処理方法、方位処理プログラム、方位測定装置、傾斜オフセットの補正方法、方位計測方法、方位センサユニット及び携帯電子機器
JP4111211B2 (ja) 方位データ生成方法、方位センサユニット、記憶媒体および携帯電子機器
JP6486234B2 (ja) 測位装置及び測位方法
JP4161985B2 (ja) 方位検出機能付き携帯電子機器及びそのキャリブレーション方法
CN100520294C (zh) 移动终端及移动终端主体的倾斜角度计算方法
JP4229093B2 (ja) 方位検出機能付き携帯電子機器、磁気センサ装置、及びそのキャリブレーション方法
KR100856192B1 (ko) 방위 데이터 연산 방법, 방위 센서 유닛 및 휴대 전자 기기
JP4839975B2 (ja) 方位及び傾斜角検出装置、方位及び傾斜角検出方法、プログラム及び携帯端末装置
JP2005345387A (ja) 携帯端末装置
JP2005345388A (ja) 携帯端末装置
JP2005345389A (ja) 携帯端末装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 11149732

Country of ref document: US

AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP