US20150247739A1 - Processes for more accurately calibrating and operating e-compass for tilt error, circuits, and systems - Google Patents

Processes for more accurately calibrating and operating e-compass for tilt error, circuits, and systems Download PDF

Info

Publication number
US20150247739A1
US20150247739A1 US14/712,450 US201514712450A US2015247739A1 US 20150247739 A1 US20150247739 A1 US 20150247739A1 US 201514712450 A US201514712450 A US 201514712450A US 2015247739 A1 US2015247739 A1 US 2015247739A1
Authority
US
United States
Prior art keywords
compass
tilt
accelerometer
ellipse
calibration
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.)
Abandoned
Application number
US14/712,450
Inventor
Goutam Dutta
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.)
Texas Instruments Inc
Original Assignee
Texas Instruments Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Texas Instruments Inc filed Critical Texas Instruments Inc
Priority to US14/712,450 priority Critical patent/US20150247739A1/en
Publication of US20150247739A1 publication Critical patent/US20150247739A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
    • G01C25/005Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass initial alignment, calibration or starting-up of inertial devices
    • 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/02Magnetic compasses
    • 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/02Magnetic compasses
    • G01C17/28Electromagnetic compasses
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10TTECHNICAL SUBJECTS COVERED BY FORMER US CLASSIFICATION
    • Y10T29/00Metal working
    • Y10T29/49Method of mechanical manufacture
    • Y10T29/49826Assembling or joining

Definitions

  • the field of the invention involves electronic compass (e-compass) processes and circuits, devices and systems including an e-compass.
  • This invention is also in the fields of electronic computing hardware and software, navigation and communications, and processes of operating and making such circuits, devices and systems.
  • the background is further described in connection with e-compass-based applications, circuits, devices and systems, such as for portable, including mobile, applications.
  • Magnetic compasses have been extremely useful for sensing directions and have been used for assistance in navigation over centuries.
  • a pocket compass is a familiar personal item, with its suspended magnetized needle pointing to the magnetic North pole.
  • Some cars are outfitted with a magnetic dial rotatably suspended in a transparent liquid-filled plastic enclosure mounted on the windshield or dashboard.
  • MEMS e-compass micro-electromechanical system electronic compass
  • MEMS based accelerometers and e-compasses are low cost feasible options to provide navigation assistance to GPS for short durations.
  • Inertial navigation system (INS) technology has been based on gyroscope and accelerometers.
  • accelerometers can be assembled together with three perpendicular-mounted gyroscopes pivoted on gimbals and have provided in inertial platform that maintains pre-established directions of accelerometer sensor axes no matter how a vehicle moves, rotates, or generally changes direction of motion due to yaw, pitch and roll.
  • E-compass has a miniature form factor and potentially low cost and can find its own space of application.
  • E-compass technology is becoming used in platforms such as low-cost navigation devices including position sensing devices and portable including mobile communication devices with position sensing using positioning technologies such as satellite positioning (e.g., global positioning system GPS) and/or positioning based on transmissions from one or more cell base stations.
  • positioning technologies such as satellite positioning (e.g., global positioning system GPS) and/or positioning based on transmissions from one or more cell base stations.
  • Accelerometer technology is also becoming used in such devices. In this way, when the positioning technology may have some variation and accuracy or service availability, such as due to variations in GPS visibility, the e-compass can complement the positioning technology and the accelerometer can also complement the positioning technology.
  • Direction signals from an e-compass can suffer from inaccuracy due to tilt errors and from magnetic disturbances called Hard Iron error and Soft Iron error.
  • the Soft Iron error happens when the e-compass is subjected to time varying magnetic fields.
  • the hard iron effect is a constant magnetic field that creates an additional disturbance to the e-compass heading measurement.
  • An accelerometer can be used to estimate tilt of the device or platform in a given resting position, but such tilt estimation is itself subject to enough error so that the direction signals from an e-compass can still suffer from inaccuracy due to tilt errors. Thus, even if tilt compensation of an e-compass is attempted based on accelerometer data, residual errors due to inadequate tilt compensation may exist due to non-idealities of the accelerometers.
  • Mobile telephony can communicate video and digital data, and voice over packet (VoP or VoIP), in addition to cellular voice.
  • VoIP voice over packet
  • Streams of information such as video, voice, audio content, images of all kinds, and data should be flexibly handled by such portable including mobile devices or platforms.
  • power dissipation can limit time between battery recharges and limit the features and number of applications running And system latency might cause various kinds of delays and lapses in desirable application operation.
  • DSP digital signal processing
  • RISC reduced instruction set computing
  • information storage memories and/or other integrated circuit blocks and devices are important to these systems and applications. Containing or reducing energy dissipation, system latency and the cost of manufacture while providing a variety of circuit, device and system products with performance features for different market segments are important goals in integrated circuits generally and system-on-a-chip (SOC) design.
  • SOC system-on-a-chip
  • an electronic circuit includes an electronic compass (e-compass) having e-compass sensors mounted on different axes and operable to supply e-compass sensor data, memory circuitry, and an electronic processor coupled to the e-compass sensors and to the memory circuitry, the electronic processor operable to execute an electronic ellipse-fitting procedure responsive to the e-compass sensor data to generate at least one signal related to an ellipse tilt angle, and store the at least one signal in the memory circuitry as a tilt calibration parameter for the e-compass.
  • e-compass electronic compass
  • an electronic circuit includes an e-compass oriented with a heading and having e-compass sensors mounted on different axes and operable to supply e-compass sensor data, memory circuitry holding a tilt angle e-compass calibration parameter, and an electronic processor coupled to the e-compass sensors and to the memory circuitry, the electronic processor responsive to the e-compass sensor data and the tilt angle e-compass calibration parameter to generate at least one signal representing a measured heading of the e-compass corrected using the tilt angle e-compass calibration parameter.
  • a process form of the invention involves a calibration process for an e-compass with sensors.
  • the calibration process includes executing an electronic ellipse-fitting procedure responsive to data from the e-compass sensors to generate at least one signal related to an ellipse tilt angle for use as a tilt calibration parameter for the e-compass.
  • another process form of the invention involves a measuring process for measuring heading of an e-compass having sensors.
  • the measuring process includes utilizing e-compass sensor data and a tilt angle e-compass calibration parameter to generate at least one signal representing a measured heading of the e-compass corrected using the tilt angle e-compass calibration parameter.
  • a portable electronic device is oriented with a heading to be measured.
  • the device includes an e-compass having e-compass sensors mounted on different axes and operable to supply e-compass sensor data, and memory circuitry holding a tilt angle e-compass calibration parameter.
  • An electronic processor is coupled to the e-compass sensors and to the memory circuitry, the electronic processor responsive to the e-compass sensor data and the tilt angle e-compass calibration parameter to generate at least one signal representing a measured heading of the e-compass corrected using the tilt angle e-compass calibration parameter, and a display is coupled to the electronic processor to display information based on the corrected measured heading of the e-compass.
  • a process of manufacture form of the invention includes attaching to a printed wiring board an electronic processor and an e-compass and a flash memory holding a tilt angle e-compass calibration parameter and instructions executable by the electronic processor to generate at least one signal representing a measured heading of the e-compass corrected using the tilt angle e-compass calibration parameter.
  • FIG. 1 is a pictorial diagram of a communications system embodiment including system blocks, for example a cellular base station, a DVB video station, a WLAN AP (wireless local area network access point), a WLAN gateway, a personal computer, a set top box and television unit, and two cellular telephone handsets, any one, some or all of the foregoing inventively improved as in the other Figures.
  • a cellular base station for example a cellular base station, a DVB video station, a WLAN AP (wireless local area network access point), a WLAN gateway, a personal computer, a set top box and television unit, and two cellular telephone handsets, any one, some or all of the foregoing inventively improved as in the other Figures.
  • WLAN AP wireless local area network access point
  • WLAN gateway wireless local area network gateway
  • FIG. 2 is a block diagram of an electronic system such as for a system on a chip (SoC) inventively improved as shown in the other Figures.
  • SoC system on a chip
  • FIG. 3 is a block diagram of an inventive system including a satellite positioning engine or GPS engine GE inventively coupled with a processor integrated circuit in FIG. 2 operating as a cellular engine CE.
  • FIG. 4 is a two-dimensional graph of an hypothetical ellipse fitted to e-compass data plotted on the x-axis and y-axis respectively from sensors X and Y of the e-compass mounted for sensing a magnetic field in a horizontal plane and when the e-compass is rotated with a circular motion in a horizontal plane.
  • FIG. 6 is a two dimensional plot of an hypothetical ellipse fitted to de-tilted X and Y sensors data plotted on the x-axis and y-axis respectively and based on inaccurate tilt information from an accelerometer and showing a residual tilt ⁇ (e.g., 3.35°).
  • e.g. 3.35°
  • FIG. 7 is a two dimensional plot of an hypothetical ellipse fitted to de-tilted X and Y sensors data plotted on the x-axis and y-axis respectively and with additional tilt correction to substantially eliminate the residual tilt of the ellipse of FIG. 6 according to an embodiment herein.
  • FIG. 8 is a graph having axes for estimation error in orientation (in degrees) versus actual orientation of a rotary test table (in degrees) of FIG. 10 for holding an e-compass, and having a first plot of orientation error obtained without correction for residual tilt ⁇ , a second plot of orientation error obtained with inventive correction for residual tilt ⁇ , and a third plot of estimation improvement (in degrees) representing the difference between the second plot and the first plot.
  • FIG. 9 is a flow diagram of an improved calibration process for reducing estimation error in e-compass measurements supported by an accelerometer for tilt measurement.
  • FIG. 10 is a pictorial diagram of a test table for the calibration process for use in manufacturing in mobile handset having an e-compass.
  • FIG. 11 is a flow diagram of an improved post-calibration process for finding measured headings using an e-compass in regular operation measuring a particular heading with or without an accelerometer.
  • FIG. 12 is a flow diagram of an inventive process and structure for obtaining e-compass data for calibration purposes and determining whether recalibration is recommended.
  • FIG. 13 is a block diagram of an improved navigation system utilizing the improved processes of FIG. 9 and FIG. 11 .
  • FIG. 14 is a flow diagram of an inventive process of manufacturing the inventive systems shown in other Figures.
  • an improved communications system 2000 has system blocks as described next and improved with any one, some or all of the circuits and subsystems and processes shown in various Figures of the drawing.
  • Any or all of the system blocks such as cellular mobile telephone and data handsets 2010 and 2010 ′, a cellular (telephony and data) base station 2050 , a WLAN AP (wireless local area network access point, IEEE 802.11 or otherwise) and/or a Voice over WLAN Gateway 2060 with user voice over packet telephone 2085 (not shown), and a voice enabled personal computer (PC) 2070 with another user voice over packet telephone (not shown), communicate with each other in communications system 2000 .
  • Worldwide web 2065 with website 2055 is readily accessible.
  • “Navigation” as used herein includes any one, some or all of position, direction, heading, tilt, altitude, azimuth, velocity and acceleration sensing and/or location-based applications, position-based applications, map-related applications, trajectory control, braking control, cruise control, steering control, engine control, course monitoring and completion, maneuvering, free fall detection, image acquisition control, image stabilization, and other applications combining or benefiting from any of the foregoing.
  • “Portable device” as used herein includes any device, apparatus, or system, such as those stated herein as well as others, that is sufficiently movable in orientation to utilize and benefit from the embodiments and teachings herein.
  • FIG. 1 personal and/or vehicular navigation is supported by an accelerometer 1140 and an electronic compass (e-compass) 1150 .
  • An environmental sensor 1160 is provided to check any one, some, or all of the temperature, humidity, pressure and/or other environmental physical variables.
  • a miniature Gyro 1170 can be provided, with dimensions compatible with the form factor of the portable device.
  • prompting transducers 1180 are provided for emitting flashing light signals, audible speech, and/or audible sounds such as calibration orientation prompts and distinct calibration confirmation prompts to the user.
  • Processor integrated circuit 1022 is coupled to a satellite positioning integrated circuit 1190 for GPS or otherwise.
  • GPS Global Positioning System
  • GPS Global Positioning System
  • the GPS circuit 1190 has an antenna 1195 .
  • a camera 1490 provides video pickup for cell phone 2010 to send over the internet to cell phone 2010 ′, personal digital assistant/personal entertainment unit PDA/PEU 2096 , STB (set top box) 2092 and television TV 2094 , automobile 2095 and to a monitor of PC 2070 via any one, some or all of cellular base station 2050 , DVB (digital video broadcasting) station 2020 , and WLAN AP/gateway 2060 .
  • Handsets 2010 and 2010 ′ have a manual input 1050 ′ such as a keyboard, a microphone 1055 , a display 1060 , and user prompt transducer(s) 1180 such as a flashing LED and/or audible transducer.
  • PDA/PEU 2096 has user prompt transducer(s) 2097 , and a display 2098 .
  • Handsets 2010 and 2010 ′ have a video storage and other information storage medium, such as hard drive, flash drive, high density memory, and/or compact disk (like CD 2075 ) in the handset or external thereto for installation of applications, etc.
  • Digital video recording (DVR) is supported, such as for delayed reproduction, transcoding, and retransmission of video to other handsets and other destinations.
  • a secure processor integrated circuit 1022 On a cell phone printed circuit board (PCB) 1020 in handset 2010 , is provided a secure processor integrated circuit 1022 , an external flash memory 1025 and SDRAM (synchronous dynamic random access memory) 1024 , and a serial interface 1026 .
  • a Power, Resets, and Control Module PRCM 1050 ( 1770 of FIG. 2 ) is included to perform power and energy management and other support functions.
  • Serial interface 1026 is suitably a wireline interface, such as a USB interface connected by a USB line to the personal computer 2070 and magnetic and optical media 2075 .
  • Cell phone 2010 intercommunication also occurs via modems 1100 , such as a cellular modem, WLAN, Bluetooth, and any other modem(s) and can access a website 2055 or 2065 , television and physical layer (PHY) or other such circuitry 1100 ′.
  • a WLAN and/or WiMax portion includes MAC (media access controller), PHY (physical layer) and AFE (analog front end).
  • a MIMO UWB (ultra wideband) MAC/PHY supports OFDM in 3-10 GHz. UWB bands for communications in some embodiments.
  • a digital video integrated circuit provides television antenna tuning, antenna selection, filtering, and RF input stage for recovering video/audio/controls from DVB station 2020 .
  • Processor integrated circuit 1022 has MPU (or CPU) block 1030 coupled to an internal (on-chip read-only memory) ROM 1032 , an internal random access memory RAM 1034 , and flash memory 1036 .
  • a security logic circuit 1038 is coupled to secure-or-general-purpose-identification value (Security/GPI) bits 1037 of a non-volatile one-time alterable Production ID register or array of electronic fuses (E-Fuses), for enhancing secure e-commerce and system security generally.
  • Secure-On Reset (POR) circuit 1042 responds differently to a Power-On Reset (POR) circuit 1042 and to a secure watchdog circuit 1044 coupled to processor 1030 .
  • Secure Demand Paging 1040 supports the system and increases the effective size of secure memory.
  • the embodiments, applications and system blocks disclosed herein are suitably implemented in fixed and portable devices such as for mobile, automotive 2095 , seaborne, and airborne, communications, control, set top box 2092 , television 2094 (receiver or two-way TV), and other apparatus.
  • DLPTM display technology from Texas Instruments Incorporated, or liquid crystal display LCD or other video display technology is coupled to any of the system blocks of FIGS. 1 and 2 .
  • a transparent organic semiconductor display is provided on one or more windows of the vehicle 2095 of FIG. 1 and wirelessly or wireline-coupled to the video feed from the system 1700 of FIG. 2 .
  • the personal computer (PC) 2070 is suitably implemented in any form factor such as desktop, docking station, laptop, palmtop, organizer, mobile phone handset, PDA personal digital assistant 2096 , internet appliance, wearable computer, content player, TV/appliance handheld remote control device, wireless pointer for game displays and other computer displays, still camera and other camera stabilization and display image stabilization, wearable personal safety monitor, personal area network, or other type and usable with media 2075 such as optical disk, flash drive, and other media.
  • PC personal computer
  • the RISC processor 1422 and/or IVA (imaging and video applications unit) DSP 1424 support location-based embodiments and services of various types. These services provide roadmaps and directions thereon to a destination, pictorials of nearby commercial establishments, offices, and residences of friends, various family supervision applications, position sending to friends or to emergency E911 service, and other location based services now known or yet to be devised. For such services, fast time of position fixing, low system power consumption, and reliability of accurate timekeeping to support position-based services even during power management operations and cellular network base station handover or handoff operations are all desirable for improved technology such as supported by various embodiments herein.
  • each of the integrated circuits shown in FIGS. 1 and 2 uses each of the integrated circuits shown in FIGS. 1 and 2 , or such selection from the complement of blocks therein provided into appropriate other integrated circuit chips, or provided into one single integrated circuit chip, in a manner optimally combined or partitioned between the chips, to the extent needed by any of the applications supported by the cellular handsets 2010 and 2010 ′, DVB station 2020 , cellular telephone base station 2050 , personal computer(s) 2070 equipped with WLAN, Voice WLAN access point/gateway 2060 , as well as radios and televisions, Internet audio/video content players, fixed and portable entertainment units, routers, pagers, personal digital assistants (PDA), organizers, scanners, faxes, copiers, household appliances, office appliances, microcontrollers coupled to controlled mechanisms for personal, robotic and/or automotive use, combinations thereof, and other application products now known or hereafter devised for increased, partitioned or selectively determinable advantages.
  • PDA personal digital assistants
  • a system 1700 for use in FIG. 1 has a MPU (microprocessor unit) subsystem 1705 with MPU core(s) 1422 , an IVA subsystem 1424 , and DMA (Direct Memory Access) subsystems 1710 . i .
  • MPU microprocessor unit
  • IVA IVA subsystem
  • DMA Direct Memory Access
  • MPU subsystem 1705 suitably has one or more processor cores 1422 with RISC or CISC or other suitable central processing units CPUs such as with superscalar processor pipeline(s) with L1 and L2 caches.
  • IVA 1424 has hardware for single cycle multiply-accumulates for matrix processing and fast loop execution, image processing, video processing, and audio processing.
  • IVA 1424 provides one or more programmable digital signal processors (DSPs) for multi-standard (MPEG4, WMV9, RealVideo®, H.263, H.264) encode/decode at D1 (720 ⁇ 480 pixels), and 720 p MPEG4 decode, for some examples.
  • DSPs programmable digital signal processors
  • MPEG4 multi-standard
  • WMV9 RealVideo®
  • H.263, H.264 RealVideo®
  • 720 p MPEG4 decode for some examples.
  • 2D/3D graphics engine a Mobile DDR Interface
  • numerous integrated peripherals as selected for a particular system solution.
  • the IVA subsystem 1424 has L1 and L2 caches, RAM and ROM, and hardware accelerators as desired such as for motion estimation, variable length codec, and other processing.
  • DMA (direct memory access) subsystems 1710 . i perform target accesses via target firewalls 1722 . i and 1712 . i of FIG. 1 connected on interconnects 1721 , 1734 .
  • a target is a circuit block targeted or accessed by another circuit block operating as an Initiator.
  • Some Initiators are MPU 1422, DMA subsystems 1710 . i, Universal Serial Bus USB HS, and a secure debug access port to an emulation block EMU.
  • the DMA channels in DMA subsystems 1710 . i are programmed. Each DMA channel specifies the source location of the Data to be transferred from an Initiator and the destination location of the Data for a target.
  • the DMA channels support interconnect qualifiers collectively designated Mreqlnfo, such as MreqSecure, MreqPrivilege, MreqSystem in order to regulate access to different protected memory spaces.
  • Mreqlnfo interconnect qualifiers
  • the system configures and generates these different access qualifiers in a security robust way and delivers them to hardware firewalls 1712 . 1 , 1712 . 2 , etc. via lines 1738 as well as to firewalls 1722 . 1 , 1722 . 2 , etc. associated with some or all of the targets.
  • the hardware firewalls protect the targets according to different access rights of initiators.
  • the DMA channels 1715 The DMA channels 1715 .
  • Firewall configuration on a DMA interface 1715 . i restricts different DMA channels according to the configuration previously written to configuration Internal Register fields.
  • This Firewall configuration implements hardware security architecture rules in place to allow and restrict usage of the DMA channel qualifiers used in attempted accesses to various targets.
  • in-band errors are sent back to the initiator that made the accesses and out-band errors are generated to a Control Module 1765 and converted into an MPU Interrupt for security attack detection and neutralization.
  • Data exchanges within a DSP subsystem 1710 . 2 are handled by the DSP DMA 1718 . 2 .
  • Data exchange to store camera 1490 image capture is handled using a Camera DMA 1718 . 3 in camera subsystem CAM 1710 . 3 .
  • the CAM subsystem 1710 . 3 suitably handles one or two camera 1490 inputs of either serial or parallel data transfer types, and provides image capture hardware image pipeline and preview.
  • Data exchange to refresh a display 1060 is handled in a display subsystem 1710 . 4 using a DISP DMA 1718 . 4 .
  • This subsystem 1710 is handled by the DSP DMA 1718 . 2 .
  • Data exchange to store camera 1490 image capture is handled using a Camera DMA 1718 . 3 in camera subsystem CAM 1710 . 3 .
  • the CAM subsystem 1710 . 3 suitably handles one or two camera 1490 inputs of either serial or parallel data transfer types, and provides image capture hardware image pipeline and preview.
  • the Display block 1710 . 4 feeds a user-viewable display, such as a DLPTM display from Texas Instruments Incorporated or an LCD panel or other display, using either a serial or parallel interface. Also television output TV and Amp provide CVBS or S-Video output and other television output types for display.
  • a hardware security architecture including SSM 1760 propagates qualifiers such as an MreqSystem qualifier for virtual machines on the interconnect 1721 and 1734 .
  • the MPU 1422 issues bus transactions and sets some qualifiers on Interconnect 1721 .
  • SSM 1760 also provides one or more qualifiers.
  • the bus transactions propagate through the L 4 Interconnect 1734 and then reach a DMA Access Properties Firewall 1712 . 1 .
  • Transactions are coupled to a DMA engine 1718 . i in each subsystem 1710 . i which supplies a subsystem-specific interrupt to the Interrupt Handler 1780 .
  • Interrupt Handler 1780 is also fed one or more interrupts from Secure State Machine SSM 1760 that performs security protection functions.
  • Interrupt Handler 1780 outputs interrupts for MPU 1422 .
  • firewall protection by firewalls 1722 . i is provided for various system blocks 1720 . i , such as GPMC (General Purpose Memory Controller) to Flash memory 1720 . 1 , ROM 1720 . 2 , on-chip RAM 1720 . 3 , Video Codec 1720 . 4 , WCDMA/HSDPA 1720 . 6 , device-to-device SAD2D 1720 . 7 coupled to manual input 1050 such as keypad, Modem(s) 1100 , and to a mixed signal (digital and analog) circuit coupled to microphone (MIC) 1055 .
  • DSP 1720 . 8 and DSP DMA 1728 . 8 also support the system via interconnect 1721 .
  • a System Memory Interface SMS with SMS Firewall 1755 is coupled to SDRC 1752 . 1 (External Memory Interface EMIF with SDRAM Refresh Controller) and to system SDRAM 1750 ( 1024 ).
  • interconnect 1734 is also coupled to Control Module 1765 and cryptographic accelerators block 1740 and a continually-powered Wakeup block WKUP 1770 .
  • Wakeup block 1770 has a Power, Reset and Clock Manager PCRM for power management and wakeup and a RTC (real time clock) for maintaining time and date.
  • PRCM is coupled via L 4 interconnect 1734 to Power IC circuitry in a power chip 1200 powered by a battery pack 1280 .
  • Chip 1200 supplies controllable supply voltages VDD 1 , VDD 2 , etc. for the rest of the system 1700 .
  • PRCM 1770 is coupled to L 4 Interconnect 1734 and coupled to Control Module 1765 .
  • PRCM 1770 is coupled to a DMA Firewall 1712 . i to receive a Security Violation signal, if a security violation occurs, and to respond with a Cold or Warm Reset output.
  • PRCM 1770 is coupled to the SSM 1760 .
  • some embodiments have symmetric multiprocessing (SMP) core(s) such as RISC processor cores in the MPU subsystem.
  • SMP symmetric multiprocessing
  • a hardware (HW) supported secure hypervisor runs a SMP core.
  • Linux SMP HLOS high-level operating system is symmetric across all cores and is chosen as the master HLOS in some embodiments.
  • digital circuitry in modem(s) 1100 supports and provides wireless interfaces for any one or more of GSM, GPRS, EDGE, UMTS, and OFDMA/MIMO embodiments.
  • Digital circuitry provides codec for CDMA (Code Division Multiple Access), CDMA2000, and/or WCDMA (wideband CDMA or UMTS) wireless suitably with HSDPA/HSUPA (High Speed Downlink Packet Access, High Speed Uplink Packet Access) (or 1 ⁇ EV-DV, 1 ⁇ EV-DO or 3 ⁇ EV-DV) data feature via an analog baseband core and RF GSM/CDMA core.
  • An audio/voice block supports audio and speech/voice functions and interfacing.
  • Speech/voice codec(s) and user voice-recognition/voice control are suitably provided in memory space in the audio/voice block for processing by processor(s) 1422 , 1424 .
  • Modem(s) 1100 are coupled for use by personal and/or vehicular navigation applications to accelerometer 1140 and/or electronic compass (e-compass) 1150 and/or location-determining circuitry 1190 for GPS (Global Positioning System).
  • Environmental sensor(s) 1160 are likewise coupled to the system.
  • IC 1100 is also coupled to a USIM (UMTS Subscriber Identity Module).
  • an audio block has audio I/O (input/output) circuits to a speaker, a microphone, and headphones (not shown).
  • the audio block is also coupled to an audible piezoelectric transducer in prompt calibration transducer 1180 , which also has an LED (light emitting diode) that controllably emits flashing calibration initiation prompts and calibration confirmation prompts for accelerometer calibration.
  • LED light emitting diode
  • GPS unit 1190 has an antenna 1195 for reception of satellite positioning signals and coupled to a GPS RF receiver provided as an analog or mixed-signal integrated circuit that in turn supplies signals to a digital GPS baseband decoder 2160 integrated circuit.
  • GPS baseband decoder 2160 is called a satellite positioning engine or GPS engine GE 2160 herein.
  • GPS Global Positioning System
  • GPS Global Positioning System
  • GE Global Positioning System
  • GE 2160 is coupled to the rest of system 1700 of FIGS. 2 and 3 by lines TIMESTAMP 2170 for timekeeping signals, GPS_IO 2175 for position data, and GPS_CTRL 2190 for controls.
  • the rest of system 1700 is called a Communication Engine or Cellular Engine CE for this purpose and has a processor in hardware, or in hardware combined with software/firmware.
  • Cellular Engine CE acts as a processing engine for time information derived from the cellular communications network.
  • CE also processes some information from GE 2160 , or not, depending on embodiment. CE need not be limited to cellular or wireless communication networks.
  • a printed wiring board has signal connection line TIMESTAMP 2170 and GSP_IO 2175 that couple strobe pulses and time-related information between the GE and CE.
  • GE is coupled as a peripheral by a UART 2180 (universal asynchronous receiver/transmitter, i.e., a parallel/serial interface such as I2C, XPA, etc.) to interconnect 1734 of FIG. 2 .
  • a data bus 2185 in interconnect 1734 provides controls and data as parallel bits to the UART 2180 and these bits are supplied on particular lines in a set of lines 2190 to control the GE.
  • these lines convey control inputs to GE 2160 including a GSP_SLEEP input, a soft enable/reset GPS_EN_RESET, and a power up enable GPS_PWR_EN.
  • control inputs to GE 2160 including a GSP_SLEEP input, a soft enable/reset GPS_EN_RESET, and a power up enable GPS_PWR_EN.
  • Further lines to GE 2160 include interface lines for bi-directional serial communication.
  • a first clock 2162 such as a temperature compensated controlled crystal oscillator TCXO, has a frequency illustratively between 10 and 100 MHz or higher, that during reception is continually (or selectively) locked to or synchronized with clocks present in base stations. Between receptions the first clock 2162 keeps time when GPS 1190 is asleep, and clock 2162 itself is switched off or is left to run depending on the operating mode.
  • a second clock 2164 has a lower frequency, e.g., below 1 MHz. such as at 32 KHz. The second clock 2164 is on and operative between receptions when the first clock 2162 is turned off for power saving.
  • Processing circuitry CE is connected to the modem(s) 1100 and to the first clock 2162 and second clock 2164 and to GE 2160 .
  • the e-compass 1150 sensors X, Y, Z are mounted substantially perpendicular to one another and thereby define their own substantially perpendicular axes that constitute an e-compass reference frame that is securely affixed to the portable device as a whole.
  • the e-compass 1150 sensor outputs accordingly deliver measured magnetic vector H m components H X m , H Y m , H Z m relative to the e-compass reference frame.
  • Some embodiments are directed specifically to obtaining heading information e.g., angle w relative to magnetic North.
  • the heading w measured by the e-compass 1150 can depend on a physical tilt angle relative to the vertical, and various structure and process embodiments herein correct for the tilt in an improved manner.
  • Some of the embodiments use either or both of accelerometer 1140 and/or e-compass 1150 .
  • Some embodiments use a tilt sensor that involves a vertically suspended mass instead of an accelerometer, and the angle of the vertical direction indicated by the mass relative to the e-compass reference frame indicates the tilt.
  • Tilt errors in an IMU system having accelerometer 1140 and e-compass 1150 (and Gyro 1170 if included) cause error in heading determination.
  • Accelerometer 1140 provides tilt information on the tilt of the device or platform 2010 , 2096 , etc. at a given resting position or orientation, and the tilt information can be compensated for.
  • the non-idealities of accelerometer 1140 cause finite error in tilt estimation resulting in inaccuracies of heading information such as estimation of heading angle w from e-compass 1150 .
  • This heading inaccuracy problem is solved in some embodiments by introducing a correction factor to the tilt compensation process. With such an improved process the heading angle w is determinable much more accurately even given inaccuracies of tilt estimation.
  • One solution to the problem for horizontal IMUs deciphers the orientation or heading information from the magnetic sensor readings, first by rotating a perfectly horizontal (i.e. not-tilted) e-compass 1150 in circles on a precision rotatable platform and plotting the Y sensor readings H Y m versus the corresponding X sensor readings H X m .
  • the plot in FIG. 4 approximates an ellipse. Notice that the x-coordinate axis of the graph in FIG. 4 pertains to e-compass X sensor readings H X m and the y-coordinate axis pertains to e-compass Y sensor readings H Y m .
  • the lengths S x , S y of the ellipse major axis and of the ellipse minor axis are measured or computed and recorded, and so too are the coordinates (X0, Y0) of the center of the ellipse. These are parameters of the ellipse. All the points of ellipse are then shifted and scaled accordingly at calibration time to make the ellipse a unit circle with center at origin. Then at post-calibration run time, any other measurement is similarly first shifted and scaled and then the orientation is found according to its location on the unit circle.
  • the accelerometer 1140 provides an initial tilt estimate that is used to de-tilt the e-compass 1150 tilt-affected measurements H X m′ , H Y m′ which are ellipse-fitted. If the tilt estimation were perfectly accurate, detilting would lead to a similar ellipse to that of FIG. 4 when the X-Y e-compass sensor readings are plotted and detilted. However, with inaccuracies in tilt measurements by accelerometer 1140 or another type of tilt sensor, the ellipse is likely to be only coarsely detilted and the ellipse major and minor axes are likely to have some residual tilt angle xi ( ⁇ ) as in FIG. 6 with respect to the co-ordinate axes of the graph. This means that when the parameters of the ellipse in FIG. 6 are used to compute the heading angle ⁇ , that computation is degraded in accuracy.
  • accurate calibration is provided for an e-compass compass 1150 to compensate for tilt error in a suboptimal IMU system having an accelerometer 1140 and the e-compass 1150 mounted on a portable device such as a cell phone 2010 .
  • the residual tilt ⁇ at calibration time is determined by first using a generalized 2D (two-dimensional) best ellipse fit method to obtain the ellipse of FIG. 5 and that ellipse is then detilted coarsely or inaccurately to obtain the ellipse of FIG. 6 . At this point the residual tilt ⁇ remains.
  • each heading measurement is made by similarly first detilting a run-time e-compass tilt-affected measurement point H X m′ , H Y m′ , H Z m′ with the accelerometer's tilt information, and then further rotating the X-Y points in 2D to correct for residual tilt ⁇ and then shifting and scaling with the resultant ellipse parameters. Finally, the heading angle ⁇ is read out from its more accurately determined position on the unit circle.
  • Providing an e-compass calibration correction to tilt inaccuracies of accelerometer 1140 reduces and mitigates heading inaccuracies of e-compass 1150 in combinations of accelerometer plus e-compass based DR (dead reckoning) solutions.
  • Merely estimating tilt and performing heading ⁇ determination after coarse detilting of the measurements is problematic because to the extent tilt estimation is inaccurate, the e-compass 1150 is likely to show inaccuracies of heading ⁇ .
  • Inaccuracy in tilt estimation by the accelerometer 1140 is beneficially taken care of by the e-compass calibration process. This leads to a nearly-perfectly tilt compensated mechanism for the e-compass 1150 even when the tilt estimation from the accelerometer 1140 may not be too accurate.
  • E-compass 1150 measurements H X m , H Y m , H Z m are subject to inaccuracies or distortions in heading measurement caused by hard iron and soft iron effects and heading errors caused due to tilt.
  • the soft iron effects happen when the e-compass 1150 is subjected to time-varying magnetic fields which are not pre-calibrated.
  • the hard iron effect is a constant magnetic field that creates an additional disturbance to the e-compass heading measurement unless compensated.
  • the hard iron component M in the magnetic field remains constant and independent of compass heading ⁇ , the hard iron component M can be calibrated out using a calibration process embodiment described herein after some preliminary definition and mathematical analysis next. Processing time and power are conserved because only some of the steps in the mathematical analysis are programmed and executed on an electronic processor to achieve the calibration and post-calibration results that the analysis substantiates.
  • a calibration process embodiment described herein after some preliminary definition and mathematical analysis next. Processing time and power are conserved because only some of the steps in the mathematical analysis are programmed and executed on an electronic processor to achieve the calibration and post-calibration results that the analysis substantiates.
  • the e-compass 1150 is placed on a perfect horizontal platform.
  • An example of an e-compass 1150 has three magnetic sensors positioned orthogonally (perpendicular to each other) along three axes of a 3D (three dimensional) Cartesian coordinate frame.
  • Each magnetic sensor X, Y, Z is exposed to the true magnetic field vector H along its respective X, Y, Z sensor axis.
  • the e-compass 1150 senses the horizontal magnetic field H h that is directed towards magnetic North) on its horizontal sensors (e.g. X, Y sensors) and a vertical magnetic field component H v on its vertical sensor (e.g. Z-sensor).
  • H h the horizontal magnetic field
  • H v e.g. Z-sensor
  • the three components of a measured magnetic vector H m [H X m , H Y m , H Z m ] T with e-compass 1150 at horizontal level are given by:
  • the quantities S X , S y and S z are the sensitivities of the three magnetic sensors on the three axes.
  • Offset terms X0, Y0 and Z0 represent the vector components of a fixed magnetism vector M of a fixed magnetic disturber in the direction of each of the three axes due to hard iron effects.
  • Superscript-T represents row-column transposition, e.g., of a row vector to a column vector, and asterisk “*” represents matrix multiplication.
  • Sensitivity matrix S C for e-compass 1150 is expressed by a preliminarily-assumed diagonal matrix. Cross-axes sensitivities due to any small e-compass sensor physical misalignments can replace the off-axis zeros and applied in some other embodiments.
  • the ellipse centre and major and minor axes are estimated from the data at calibration time. Thereafter, the e-compass 1150 orientation for any run-time post-calibration measurement in the same horizontal plane is obtained by expressing that heading angle y in terms of the arctangent of a linear transformation of the data to a unit circle.
  • heading angle ⁇ is the result of solving Equations (1A) and (1B) for ⁇ to yield Equation (4).
  • the heading measurement problem becomes more complicated when the e-compass 1150 is not maintained in a horizontal position.
  • This problem is solved according to various embodiments as taught herein and with attendant benefits and convenience for the user and for the portable device.
  • the tilt-affected output H m ′ of the e-compass 1150 is altered relative to the output H m that the e-compass 1150 would deliver when the platform is perfectly level-horizontal.
  • an actual tilt in e-compass position results in linearly transformed outputs H m ′ from the sensors themselves as expressed by equation (5):
  • Matrix ⁇ is the unknown co-ordinate transformation matrix representing or caused by actual physical tilt (due to unknown actual angles of Pitch ⁇ and Roll ⁇ ).
  • the X-Y plot of a 2D rotation of e-compass 1150 results in a tilted ellipse of FIG. 5 geometrically tilted with respect to the x, y-coordinate axes of that graph.
  • matrix multiplication mathematically expresses physical angular rotation or physical tilt, the graphical ellipse tilting occurs as a consequence on the graph. The tilting is inconsistent with equation (4), so heading error would be introduced by using equation (4) without first detilting the ellipse.
  • the tilt of the IMU system is coarsely estimated using the accelerometer 1140 at the state of rest.
  • the e-compass sensor outputs for a circular motion around the physically tilted axis of rotation are coarsely de-tilted by processor operations representing a graphical detilting process to obtain the coarsely detilted ellipse of FIG. 6 .
  • a tilt angle ⁇ remains.
  • Post-calibration measurement of heading angle ⁇ by an electronic processor first coarsely de-tilts the tilt-affected e-compass 1150 data representing sensed vector H M ′ using a tilt estimate based on the information from accelerometer 1140 or from another type of tilt sensor. Then the processor further applies de-rotation using the value of angle ⁇ that was determined earlier at calibration time. Finally, the processor executes instructions that use Equation (4) on the now-accurately de-tilted run-time measurement vector to obtain heading angle ⁇ .
  • the accuracy of orientation or heading measured for a tilted IMU depends on the accuracy of tilt estimate from the accelerometer 1140 .
  • the accelerometer sensors may have their own non-idealities (e.g., due to bias error vector ⁇ and gain error matrix S)
  • the tilt estimates are not likely to be very accurate, and indeed need not be very accurate for obtaining more accurate measurements according to processes and structures herein.
  • coarse de-tilting using inaccurate accelerometer 1140 information without more correction is likely to compromise the orientation accuracy of measuring heading angle ⁇ .
  • Equation (1A), (1B), and (1C) The sensor readings with e-compass 1150 at a horizontal-level position are given by Equations (1A), (1B), and (1C).
  • H m′ For an actual tilt ⁇ involving Pitch phi ⁇ and Roll theta ⁇ , the actual e-compass sensor measurements H m′ are given by Equation (5).
  • the accelerometer-based estimate of a tilt transformation matrix be designated zeta ⁇ . (See Appendix I for a process by which accelerometer 1140 can output the matrix ⁇ .)
  • the electronic processor pre-multiplies matrix ⁇ times the actual tilt-affected e-compass sensor outputs H m′ . Accordingly, a coarsely de-tilted version of the e-compass 1150 sensor reading is given by:
  • the accelerometer-based estimated tilt transformation matrix ⁇ is an estimate of the matrix ⁇ representing actual tilt.
  • the matrix product ( ⁇ ⁇ 1 * ⁇ ) would be an identity matrix.
  • the matrix product ⁇ ⁇ 1 * ⁇ is given by a 3 ⁇ 3 matrix of Equation (7). Note that at this point the form of ⁇ ⁇ 1 * ⁇ is known, but its actual numerical matrix entry values are unknown. Fortunately, the calibration procedure can determine an ellipse tilt angle ⁇ that supplies at least one of the unknown values (namely, a).
  • Equations (6) and (7) together represent the coarsely de-tilted e-compass sensor outputs of a tilted e-compass 1150 . These equations assume the presence of small errors in tilt estimates from an accelerometer 1140 or other tilt sensor.
  • the 2D X-Y vector of coarsely de-tilted output for some embodiments can use an acceptable approximation and is given by Equation (8):
  • H X m , H Y m signify the hypothetical un-tilted e-compass sensor outputs responsive to horizontal magnetic field components.
  • H X m′′ , H Y m′′ signify the coarsely de-tilted e-compass sensor outputs of a tilted IMU having accelerometer 1140 and e-compass 1150 .
  • H X m′′ ⁇ H X m +a H Y m
  • H Y m′′ ⁇ ⁇ aH X m +H Y m
  • the calibration procedure not only measures ellipse tilt but also thereby determines the as-yet unknown value of matrix element “a” in the error matrix zeta-inverse-omega ⁇ ⁇ 1 * 106 of equation (7).
  • the determination of tilt angle ⁇ at calibration time discovers information about the physical tilt so that it can be compensated for.
  • the equivalent tilt ⁇ if left uncorrected would cause resultant errors in orientation, i.e., measured heading angle ⁇ .
  • the data obtained from the coarsely de-tilted version (as obtained by the accelerometer 1140 ) of measurements from a circular motion of the e-compass 1150 is first fitted to a general second order equation representing a best-fitting ellipse.
  • the ellipse fitting portion of the calibration procedure outputs the centre, minor and major axes and also the tilt angle ( ⁇ ) with respect to the axes. See Appendix III for an ellipse-fitting procedure example.
  • the tilt angle ⁇ is given by equation (9):
  • Tilt angle ⁇ in FIG. 6 is a graphical consequence of physical tilt ⁇ . More information about their relationship is provided later hereinbelow.
  • Equation (10) the 2D ellipse tilt ( ⁇ ) is estimated, the 2D ellipse is further corrected by de-rotating by angle ( ⁇ ), i.e., rotating by an angle ( ⁇ ) as shown in Equation (10):
  • Ellipse tilt ( ⁇ ) represents the angle that the major axis makes relative to the x-coordinate axis, which is quantitatively the same angle that the major axis makes relative to a line parallel to the x-coordinate axis and passing through the ellipse center (X0, Y0).
  • Equation (11) Equation (11):
  • Equation (11A) the intermediate step in reaching Equation (11) is given as Equation (11A) next.
  • the matrix multiplication in Equation (11A) delivers sec( ⁇ ) times an identity matrix.
  • the trigonometric secant i.e., 1/cos
  • the matrix multiplication of sec( ⁇ ) times an identity matrix is equivalent to simply multiplying by the scalar sec( ⁇ ) as in Equation (11).
  • Equation (11) shows that Equation (10) helps to transform H X m′′ , H Y m′′ (the coarsely de-tilted values derived from coarsely detilting e-compass actual reading H X m′ , H Y m′ of equation (5)) to the desired ideal horizontal reading H X m , H Y m (with a scale factor sec( ⁇ ) being close to unity).
  • the added correction of Equation (10) is desirably performed by the electronic processor and helps when the tilt estimate ; from the tilt sensor such as accelerometer 1140 is not accurate.
  • the resultant 2D plot of (H X m′′′ , H X m′′′ ) is a fully tilt-corrected ellipse depicted in FIG.
  • the ellipse parameters are electronically computed and deliver sensitivities S x and S y and the offset terms X0 and Y0 as calibration outputs along with tilt angle ⁇ .
  • a run-time post-calibration process measures a current heading angle ⁇ with the e-compass 1150 in tilted position.
  • the readings are transformed first to a 3D (three-dimensional) coarsely de-tilted position by electronically multiplying ⁇ ⁇ 1 (Zeta-inverse) from accelerometer 1140 times e-compass sensor outputs H m′ as in Equation (6).
  • the electronic processing operations correct for coarse detilting estimation error ⁇ ⁇ 1 * ⁇ , such as by applying Equation (10) to de-rotate by the tilt angle ⁇ that was previously determined at calibration time.
  • the detilted measurement H X m′′′ , H X m′′′ is then used to obtain precise orientations, i.e., current measured heading angle w by the electronic processor executing Equation (4).
  • FIGS. 4 , 5 , 6 , and 7 depict the ellipse fit of FIG. 4 of a circular motion for a perfectly horizontal e-compass mounting, the ellipse fit of FIG. 5 of a tilted mounting, the ellipse fit of FIG. 6 corresponding to coarse de-tilting and FIG. 7 showing the fully detilted result after the correction for tilt angle ⁇ of FIG. 6 .
  • FIG. 10 To illustrate advantageous operation, an experiment was carried out on a rotary table as in FIG. 10 , giving it a controlled tilt. The tilt was estimated using an accelerometer 1140 output mounted on the same plane as the e-compass 1150 .
  • FIG. 8 shows and demonstrates advantageous operation of the embodiment over a method that uses accelerometer 1140 data for coarse detilting without the additional tilt correction for tilt angle ⁇ of FIG. 6 .
  • the orientation error in estimation of heading angle ⁇ is less with the process embodiment that performed the additional tilt correction for tilt angle ⁇ of FIG. 6 .
  • the error reduction was as much as 0.6 degree, and the percentage error reduction was on the order of 25%, more or less.
  • the process embodiment substantially reduces or substantially eliminates the orientation error due to tilt estimation inaccuracy of accelerometer 1140 .
  • the process embodiment described above is expected to be economical and readily detected and tested for a first kind of embodiment herein that includes an accelerometer-based de-tilting step.
  • Accelerometer 1140 operation is verified by enabling and disabling the accelerometer 1140 so that the e-compass 1150 raw data reading is or is not de-tilted.
  • the orientation estimates from e-compass 1150 can be expected to depart from specified accuracy by an error proportional to the tilt angle for testing purposes if the accelerometer 1140 is disabled or decoupled from the improved IMU process.
  • Measuring the direction accuracy of a marginally tilted e-compass 1150 in the absence of the accelerometer 1140 indicates whether the accelerometer is supporting the heading measurement process.
  • the further tilt elimination step is activated or inactivated with the accelerometer 1140 active and accessible so that the test demonstrates presence or absence of augmented measured heading accuracy by the e-compass 1150 as in FIG. 8 .
  • the further tilt elimination step is activated, with the accelerometer active and accessible, the overall process accurately corrects for tilt error and provides improved estimates for Hard Iron disturbers, as well as accurately compensating for tilt induced errors in e-compass 1150 even in the presence of small non-idealities of accelerometer 1140 sensors.
  • a second, alternative embodiment herein works well for a range of tilts (especially small tilts) even without accelerometer, by estimating the tilt angle of a best-fitting ellipse to data even without de-tilting using accelerometer data. That tilt angle of the best-fitting ellipse is directly subjected to correction and reduction to zero according to such process embodiment without using the accelerometer for de-tilting first.
  • This embodiment of the process is tested with an accelerometer 1140 decoupled from the process by blocking accelerometer access or omitting the accelerometer itself from the structure with which the process is associated. Then the process is tested by rotating the e-compass 1150 to demonstrate that the estimates of orientation are accurate to a specified level of accuracy for the testing purposes for at least small tilts even in absence of the accelerometer.
  • a calibration process embodiment commences with a BEGIN 2505 and proceeds to display an instruction to user in a step 2510 to hold the device or platform at rest docked on a test stand, vehicle, carrier, or charger, or docked on a belt clip of the user at some arbitrary tilt.
  • the user or tester complies with instruction and holds the device or platform at rest.
  • An example of stability determination checks that plural samples of accelerometer data over at least a specified period of time (e.g., about a second or a few seconds) are all within a predetermined amount of variability indicated by a variability metric such as sum of squared differences of like data components from accelerometer, sum of absolute difference values thereof, etc.
  • Process step 2520 estimates the tilt, such as angles for Pitch ⁇ and Roll ⁇ as described in Appendix I.
  • Tilt information such as an accelerometer estimate of tilt transformation matrix ⁇ or its inverse ⁇ ⁇ 1 or some other accelerometer sensor information from which the tilt transformation matrix ⁇ or its inverse ⁇ ⁇ 1 can be computed. See, e.g., Appendix II Equation (A2-3) combined with Appendix I Equation (A1-6).
  • a succeeding step 2525 displays an instruction to user to move the device or platform with an e-compass 1150 in circles. Such data approximates an ellipse. If this calibration process is performed in a manufacturing process for making a portable, including mobile, device as device or platform with the e-compass, the device or platform is mounted on a rotatable test stand as in FIG. 10 and rotated around the axis of tilt a few times to capture data from e-compass 1150 . Or the e-compass 1150 can have a recess to journal rotatably on a fixed pivot stud of a fixed test stand or automotive mount. Then the mobile device is rotated on the pivot stud. There is no need to maintain a fixed center of rotation for the approximate circle or random circle or trajectory through which the user turns the device or platform. A vehicle having the e-compass can be driven in a circle or figure-8.
  • This de-tilt step 2535 amounts to a coarse de-tilt because the accelerometer based de-tilting is expected to be subject to enough error to introduce inaccuracy.
  • the ellipse of FIG. 6 that fits the data thus compensated can be expected to bear a residual tilt angle ⁇ with respect to the 2D Cartesian coordinates relative to which the ellipse mathematically is situated.
  • a subsequent step 2540 fits an ellipse to the coarsely de-tilted data from coarse de-tilting 2535 .
  • the fitted ellipse as in FIG. 6 is tilted from its coordinate axes by the above-mentioned tilt error ⁇ .
  • the fitted ellipse would be a circle with its center at the origin of coordinates. In actuality, when the X and Y magnetic sensors have gain errors, the data approximates an ellipse.
  • Tilt angle ⁇ is the tilt angle of the minor or major axis of that data-fitted ellipse relative to the angularly-nearest coordinate axis to which such minor or major axis would otherwise be parallel.
  • a numerical value of residual tilt angle ⁇ of the ellipse is estimated by a step 2545 using any available ellipse fitting process or algorithm and stored to Flash Memory 2548 for post-calibration use in FIG. 11 .
  • the actual tilt matrix ⁇ of Equation (5) is unknown, and the accelerometer tilt data ⁇ from step 2520 is a less than fully accurate estimate of the actual tilt matrix ⁇ measured tilt error ⁇ of the fitted ellipse beneficially provides information to quite substantially reduce the inaccuracy in the estimate of physical tilt represented by the accelerometer tilt data ⁇ .
  • Post-calibration use of measured tilt error ⁇ stored in Flash Memory 2548 in FIG. 11 is uncomplicated and convenient.
  • Step 2550 performs this second de-tilting operation on the fitted ellipse by de-rotating the fitted ellipse back through the residual tilt angle ⁇ , see discussion of Equation (10) and Appendix II.
  • the minor or major axis of that data-fitted tilted ellipse of FIG. 6 becomes parallel to the nearest coordinate axis.
  • a zero-tilt ellipse of FIG. 7 results from this second tilt compensation step 2550 .
  • a further step 2555 generates the center coordinate values (M x , M y ) and the measured values for minor axis and major axis of the de-rotated fitted zero-tilt ellipse resulting from the second de-tilting step 2550 .
  • the thus-measured center coordinate values provide hard iron correction components (M x , M y ) for the fixed magnetic disturber, and the minor axis and major axis length values are proportional to the relative sensor sensitivity values S Cx and S Cy of the X and Y magnetic sensors.
  • step 2555 2D (two-dimensional) fixed disturber values and a ratio of sensor sensitivities are estimated from the center coordinates of the fitted ellipse and a ratio R computed from the lengths of the major and minor axes.
  • the ratio R of the ellipse axes is a measure of the ratio of sensitivities for the X, Y magnetic sensors assigned to those axes, and ratio R measures gain error when the ratio R departs from unity (1.00).
  • a process embodiment provides post-calibration regular operation of the device or platform with the e-compass 1150 .
  • Accelerometer 1140 , e-compass 1150 , and Flash Memory 2548 have the same drawing numerals in FIG. 11 as in FIG. 9 because the process embodiments apply to the same device used in different ways.
  • This post-calibration process embodiment commences with a BEGIN 2805 and proceeds to display an instruction to user in a step 2810 to find the heading ⁇ by holding the device or platform still, to take a heading.
  • the device can be made stationary or at rest docked on a test stand, in a vehicle, carrier, or charger, or docked on a belt clip of the user at some arbitrary tilt when the user is standing still.
  • Step 2810 can be omitted in devices that operate to continually determine the heading.
  • a process step 2820 first verifies that the accelerometer output has become stable at rest, such as by determining that plural samples of accelerometer data over at least a specified period of time are all within a predetermined amount of variability indicated by a variability metric. A sum of squared differences of like data components from accelerometer, or sum say of absolute difference values thereof, etc., can be used as a variability metric.
  • Process step 2820 estimates the tilt, such as angles for Pitch ⁇ and Roll ⁇ . Based on accelerometer 1140 sensor data at rest, step 2820 generates tilt information such as tilt transformation matrix ⁇ or its inverse ⁇ ⁇ 1 or some other accelerometer sensor-based information from which the tilt transformation matrix ⁇ or its inverse ⁇ ⁇ 1 can be computed.
  • This de-tilt step 2835 amounts to a coarse de-tilt because the accelerometer tilt data is expected to be subject to enough tilt error ⁇ to introduce inaccuracy. In this way, the e-compass readings are captured and de-tilted coarsely using the tilt estimate from the accelerometer 1140 .
  • calibrated residual tilt angled earlier stored by FIG. 9 step 2545 is retrieved from Flash memory 2548 by a step 2850 of FIG. 11 in post-calibration operation for post-calibration heading measurement.
  • the accelerometer tilt data ⁇ and/or angle estimates ⁇ , ⁇ from step 2820 can be used to provide an approximate estimate of the actual tilt matrix ⁇ .
  • the calibrated residual tilt angle ⁇ from FIG. 9 beneficially provides information to quite substantially reduce in step 2850 the inaccuracy in the estimate of tilt represented by the accelerometer tilt data ⁇ .
  • Step 2850 performs a second de-tilting operation on a data point H m′′ by de-rotating that data point using the calibrated residual tilt angle , see discussion of Equation (10).
  • These values (M x , M y ) represent the Hard Iron effect and are independent of tilt and orientation toward magnetic North.
  • the ratio R represents the ratio of sensitivities for the X, Y magnetic sensors assigned to those axes, and ratio R measures gain error when the ratio R departs from unity (1.00).
  • Step 2860 generates and reads out the measured heading angle ⁇ ′ (psi-prime) such as by using the arctangent Equation (12) with the calibration values retrieved from flash memory 2548 :
  • FIG. 11 another process embodiment is capable of correcting for small physical tilts ⁇ even in the absence of an accelerometer or other tilt sensor.
  • operations take an e-compass reading (data point H m′ ) in step 2810 and then bypass steps 2820 and 2835 and go directly to step 2850 .
  • steps 2820 and 2835 go directly to step 2850 .
  • Steps 2860 - 2890 are as described above.
  • a 3D analysis of e-compass calibration including tilt correction is provided next. Additional process embodiments are described which also have calibration process embodiments parallel to FIG. 9 and post-calibration run time process embodiments parallel to FIG. 11 . Let the e-compass 1150 sensor axes be physically parallel to the accelerometer 1140 sensor axes. If this is not the case, an additional tilt matrix ⁇ 3 is provided.
  • the uncompensated 3D rotation matrix can be written as in Equation (7).
  • T uncompensated [ 1 a b - a 1 - c - b c 1 ] ( 7 )
  • a process embodiment uses the XY axes information, and extracts the 2D structure corresponding to XY axes:
  • the matrix element “a” is computed according to:
  • ⁇ xy is the angle made by the XY ellipse (Y value vs X value) major axes with X-axis.
  • an augmented process embodiment similarly computes matrix element “b” according to:
  • ⁇ xy is the angle made by the XZ ellipse (Z value vs X value) major axes with X-axis.
  • ⁇ yz is the angle made by the YZ ellipse (Y value vs Z value) major axes with Y-axis.
  • the 3D vector after basic tilt compensation is further de-tilted by matrix T uncompensated .
  • Equation (16) expresses the constancy of the magnitude ⁇ D*H ⁇ of Earth's 3D magnetic field vector in the locality of the e-compass 1150 regardless of the e-compass heading-related 3D measurement sensor vector H m and disregarding the hard iron magnetic disturber M and disregarding any soft iron.
  • Equation (5) earlier above is useful, for instance, when the e-compass 1150 is in an automobile can be hard iron is a permanent magnet of the loudspeaker in a car entertainment system. It is primarily desired to determine the heading of the level car itself, and the heading of the e-compass is an intermediate matter.
  • the e-compass 1150 may be mounted with a physical tilt ⁇ 1 , such as due to assembly variations in automotive manufacturer or retrofit installation of the e-compass, and Equation (2.2) applies.
  • Equation (5.1) An alternative process segment involving below Equation (5.1) is useful, for instance, when the e-compass 1150 is in an automobile and the hard iron is a permanent magnet of the loudspeaker in a car entertainment system.
  • the e-compass 1150 is in an automobile and the hard iron is a permanent magnet of the loudspeaker in a car entertainment system.
  • a physical tilt matrix ⁇ 2 that is distinct from the possible physical tilt ⁇ 1 of the e-compass relative to the car.
  • the e-compass 1150 is securely mounted relative to the rest of the car, and the hard iron is securely mounted also.
  • Tilt ⁇ 2 directly affects the orientation of the e-compass sensors relative to the Earth's 3D magnetic field D*H impinging on the e-compass sensors.
  • the hard iron magnetic field in relation to the e-compass sensors is independent of the 3D tilt ⁇ 2 , (e.g., tilted car).
  • Tilt ⁇ 2 pre-multiplies the Earth's magnetic field and post-multiplies the sensitivity matrix S C in Equation (5.1). Compare with Equation (5) earlier herein above.
  • Equation (5.2) Solving Equation (5.1) for the Earth's 3D magnetic field yields Equation (5.2).
  • Equation (17) expresses the constancy of the magnitude ⁇ D*H ⁇ of Earth's 3D magnetic field vector in the locality of the e-compass, but this time regardless of the tilted e-compass 3D measurement sensor vector H m′ and disregarding the hard iron magnetic disturber M and disregarding any soft iron.
  • Equation (18) Substituting Equation (18) into Equations (5.2) and (17) establishes the respectively equivalent forms (5.3) for Earth's magnetic field and (17.1) for the 3D ellipsoid expressing constancy of magnitude.
  • Equation (17.1) the use of the Zeta matrix in equation (17.1) is as if Zeta were a physical rotation itself. Indeed, Zeta is measured by the tilt sensor were accelerometer 1140 as a physical measurement. However, when used for coarse detilting of e-compass sensor data, Zeta is used for graphical detilting. It remains to be seen whether graphical rotation occupies the same place in the matrix equations. At this point, it remains to express equation (17.1) in terms of a 3D rotation matrix R that graphically tilts or detilts an ellipsoid. Recall that FIGS. 4-7 have 2D x,y-coordinate axes for actual e-compass sensor measurements H m′ .
  • the ellipsoid of Equation (17.1) is also expressed in terms of actual e-compass sensor measurements H m′ except that they are in 3D.
  • Rotating the ellipsoid graphically in 3D means applying a coordinate transformation matrix, or rotation matrix R.
  • R a coordinate transformation matrix
  • Origin rotation of the ellipsoid center pivoting around the origin (0,0) in 2D or (0,0,0) in 3D. This type of rotation is effectuated by substituting the matrix product R*H m ′ in place of the sensor measurement points H m ′. Because the sensor measurement points H m ′ have the origin as their distance-zero point, the matrix product R*H m ′ represents rotation around the origin.
  • Ellipsoid center or ellipse center rotation of the ellipsoid or ellipse around its own center, e.g., by a 2D angle ( ⁇ ) pivoting around the ellipse center (X0, Y0).
  • the effect of hard iron is removed by substituting the matrix product R*(H m ′ ⁇ M) in place of the sensor measurement points (H m ′ ⁇ M) referred to the ellipse center.
  • Equation (10) the Origin (0,0) point “1” above is implicitly adopted as the pivot point for de-rotation. That the origin is the point adopted is evident because a rotation matrix to rotate in 2D by ( ⁇ ) is applied directly to the coarsely detilted coordinate values H X m′′ , H Y m′′ in FIG. 6 to go to FIG. 7 .
  • This process segment is useful, for instance, when the e-compass 1150 is in an automobile can be hard iron is a permanent magnet of the loudspeaker in a car entertainment system, as already mentioned, and it is primarily desired to determine the heading of the level car itself, and the heading of the e-compass is an intermediate matter.
  • the tilt ⁇ 1 is eliminated by de-rotation through an angle ⁇ 1 as in Equation (10) using the origin (0,0) as pivot point.
  • the e-compass is graphically de-rotated by the electronic process relative to the hard iron M.
  • the ellipsoid center (pivot point “2” above) is selected as the pivot point.
  • the effect of hard iron is removed by substituting the matrix product R*(H m ′ ⁇ M) in place of the sensor measurement points (H m ′ ⁇ M) referred to the ellipse center.
  • This alternative process segment is also useful, for instance, when it is primarily desired to determine the heading of the car on a hill wherein the car itself is tilted according to a physical tilt matrix ⁇ 2 that is distinct from the physical tilt ⁇ 1 of the e-compass relative to the car.
  • the physical tilt ⁇ 2 of the car on the hill is eliminated by de-rotation as in Equations (5.3) and (23) using the hard iron coordinates M (ellipsoid center) as pivot point.
  • the e-compass is graphically de-rotated through a tilt angle ⁇ 2 by the electronic process, and in the reference frame of the e-compass the hard iron is unchanging. Accordingly, the hard iron component is not graphically affected by the rotation.
  • both these process segments are combined.
  • Calibration provides a measured physical tilt ⁇ 1 and a first tilt angle ⁇ 1 for the tilted e-compass relative to the car, with the car level, to correct for the physical tilt ⁇ 1 .
  • Calibration then provides a second tilt angle ⁇ 2 with the car itself tilted to correct for the physical tilt ⁇ 2 .
  • Post-calibration heading determination first de-rotates around the origin using first tilt angle ⁇ 1 to compensate for the physical tilt ⁇ 1 of the e-compass relative to the car.
  • the post-calibration process secondly, de-rotates around the ellipse center M using second tilt angle ⁇ 2 to compensate for the physical tilt ⁇ 2 of the car on a hill.
  • overall physical tilt ⁇ is the product ⁇ 2 ⁇ 1 .
  • various process embodiments robustly provide more accurate e-compass heading measurement for a variety of products and physical conditions of manufacture and use.
  • Equation (21) all the matrices in Equation (21) are 3 ⁇ 3 square, and in the special case wherein the sensitivity matrix is diagonal, which is reasonable in most practical scenarios, cancellations occur and the rotation matrix is about the same as the inverse of the approximation error of physical tilt sensor matrix ⁇ to actual physical tilt ⁇ :
  • the actual physical tilt ⁇ 2 is known to be small, and so the identity matrix I is a good approximation ⁇ to actual physical tilt ⁇ 2 .
  • Substituting identity matrix I in place of estimated tilt matrix ⁇ in equation (21.1) establishes that the rotation matrix R should itself be equal to the inverse ⁇ 2 ⁇ 1 of the physical tilt. Then Equation (22) is used directly without accelerometer 1140 or tilt sensor input.
  • rotation matrix R is a 3 ⁇ 3 matrix.
  • Some embodiments perform 2D ellipse fitting as in FIG. 6 to recover the tilt angle ⁇ 2 to cancel physical tilt ⁇ 2 using Equation (22).
  • the a, b, c matrix entries involve one or more tilt angles ⁇ 2 for XY, XZ, YZ and track Equations (7a), (7b), (7c).
  • Equation (23) E-compass heading information is embedded in matrix D*H, which is recovered for any given calibration point, or in a post-calibration heading measurement process by using part of Equation (19) rewritten next as Equation (23):
  • the heading angle ⁇ is computed using Equation (4) based on the results of Equation (23).
  • Some embodiments include inertial navigation based on a miniature Gyro 1170 that has small dimensions on the order of 1 cm or less for portable applications. Gyro 1170 establishes an inertial reference with respect to which acceleration can be directly measured by an accelerometer 1140 in inertial coordinates. Some embodiments include inertial navigation without Gyro 1170 and additionally utilize heading information from the e-compass 1150 together with accelerometer 1140 outputs as discussed next.
  • a classical inertial navigation system (INS) technology is based on gyroscope 1170 and accelerometer 1140 sensors.
  • accelerometer 1140 can be assembled together with three miniature, perpendicular-mounted gyroscopes pivoted on gimbals and thus provide an inertial platform that maintains pre-established directions of accelerometer sensor axes no matter how a vehicle moves, rotates, or generally changes direction of motion due to yaw, pitch and roll.
  • e-compass has a miniature form factor and potentially low cost and can find its own space of application.
  • MEMS e-compass micro-electromechanical system electronic compass
  • MEMS based accelerometers 1140 and e-compasses 1150 are low cost feasible options to provide navigation assistance to GPS for short durations.
  • GPS now available on cell phones 2010 an IMU (Inertial measurement unit) having e-compass and accelerometers can increasingly share the cell phone market for GPS-assisted applications as well.
  • IMU Inertial measurement unit
  • a MEMS accelerometer 1140 can be held stationary relative to the Earth's surface or held stationary in a vehicle 2095 moving in a constant velocity in a straight line. Calibration of the MEMS accelerometer beneficially takes advantage of the constancy of direction and magnitude of gravitational acceleration vector g as illustrated in FIG. 3 .
  • the MEMS accelerometer measures tilt with respect to the vertical. Any position in a cone-shaped set of orientations has identical tilt with respect to the vertical (direction of g) and yields the same accelerometer sensor outputs in the device reference frame.
  • the Earth's magnetic field vector H has constant direction and may also have constant magnitude over a substantial distance and over a period of time, that a portable device or platform can be moved, subject to certain qualifications as discussed more fully herein. In other words, the Earth's magnetic field H has the same direction in a locality, independent of rotation, acceleration or other motion of the portable device.
  • the e-compass 1150 has sensors that can beneficially measure the intensity and direction of the Earth's magnetic field vector H.
  • the gravitational acceleration vector g and the Earth's magnetic field vector H have substantially distinct directions, so they define a geometric plane which has a third vector H x g perpendicular to the plane (where operation x signifies vector cross product) and pointing horizontally East relative to magnetic North.
  • the three vectors g, H, H x g constitute a sufficient, but generally non-orthogonal, set of basis vectors to establish a coordinate system. Moreover, as depicted in FIG.
  • an orthogonal set of basis vectors is established by the set of three vectors ⁇ (g x H) x g, g x H, g ⁇ wherein the basis vector (g x H) x g points horizontally to magnetic North, the basis vector g x H points horizontally East, and the basis vector g points vertically down.
  • This set of orthogonal basis vectors also constitutes a North-East-Down (NED) coordinate system.
  • Portable device embodiments with MEMS accelerometer and MEMS e-compass and processor operable as described herein thereby establish convenient, low-cost inertial platform with basis vectors analogous to the basis vectors established by three gyroscopes in a Gyro 1170 supported inertial platform. Notice that, in general, the basis vectors g and H do not need to be perpendicular for satisfactory programming and operation of embodiments herein with MEMS accelerometer and MEMS e-compass and processor.
  • a MEMS accelerometer is suitably calibrated to measure gravitational acceleration by any suitable method such as any method disclosed in U.S. patent application Ser. titled “Parameter Estimation for Accelerometers, Processes, Circuits, Devices and Systems” Ser. No. ______ (TI-65353) filed on even date herewith, and said U.S. patent application Ser. is incorporated herein by reference in its entirety.
  • the accelerometer sensor outputs of the tilted device or platform are processed by any processor in system 1700 of FIG. 2 to deliver a measured tilt angle of the device or platform as discussed elsewhere herein.
  • the accelerometer sensors are mounted substantially perpendicular to one another and thereby define substantially perpendicular axes that constitute the accelerometer reference frame that is securely affixed to the portable device as a whole.
  • the accelerometer sensor outputs accordingly deliver measured acceleration components relative to the accelerometer reference frame.
  • the accelerometer reference frame is distinct from NED frame.
  • Heading information from the e-compass is suitably used herein to convert the acceleration relative to the accelerometer reference frame to acceleration in a NED reference frame.
  • the accelerometer plus e-compass provides positioning that can be combined or blended with GPS information and provide a low-cost, miniature inertial platform alternative to gyroscope-and-accelerometer inertial systems.
  • GPS information is blended with either or both of accelerometer and/or e-compass in some of the embodiments.
  • the e-compass 1150 sensors are used to represent the magnetic field vector H in the reference frame of the e-compass in a way analogous to the way the gravitational acceleration vector g is determined by processing for the accelerometer 1140 data in incorporated patent application Ser. No. ______ (TI-65353). Accordingly, detilting does not need to be used at this point since determination of heading y is not involved at this point of the process.
  • the magnetic field vector H is established in the reference frame of the e-compass 1150
  • the gravitational acceleration vector g is established in the reference frame of the accelerometer 1140 that is rigidly related to the e-compass 1150 . Consequently, a NED reference frame is then readily determined by electronically executing the vector cross products defining that NED reference frame.
  • GPS can provide updates to correct the positions and the e-compass calibration is occasionally updated. Accordingly, for portable applications it is reasonable to assume a constant direction of the magnetic field vector H over the range of motion of the portable device since a sufficiently-recent calibration in a given locality, and subject to hard iron and soft iron processing.
  • Embodiments of method and system herein remove the necessity of accurately orienting the e-compass 1150 . Instead, e-compass 1150 readings at rest in different, imprecise or unspecified, freely-establishable orientations are conveniently taken. Precise or specific postures need not be prescribed nor relied upon while taking these readings.
  • the cell phone 2010 , PDA 2096 , or other portable device can be placed in different orientations of FIG. 10 .
  • e-compass 1150 work on the datasets signaled by e-compass 1150 at different imprecise, unspecified, non-specific or unknown orientations and nevertheless can estimate and use best-fit values for various accelerometer parameters, such as the axes gains, hard iron offsets Mx, My, Mz, tilt angle ⁇ , etc.
  • Various technology types of e-compass 1150 sensors can be employed.
  • operations in this convenient approach commence in response to a step 3210 wherein the user clicks an icon, or recalibration item on a menu display of the portable device, or otherwise prompts a fetch of recalibration software as improved herein.
  • Calibration of the e-compass 1150 can be performed before deploying a particular post-calibration application, e.g., heading determination and/or Inertial Navigation assisted vehicle navigation and/or Pedestrian Navigation.
  • a parallel step 3220 responds to any internal prompt from the system software requesting recalibration software operation.
  • Any of a suite of navigation applications 3224 can request e-compass 1150 recalibration on processor 3222 , or the operating system software or driver can call for recalibration when a navigation application is about to be launched. If substantial time has passed since last recalibration, as measured by Date/Time RTC 3226 , or the e-compass 1150 has never been calibrated as indicated by calibration parameters set to their original initialization values, then an internal flag is set for processor 3222 to generate an internal prompt. A substantial change in the environment, such as a temperature change or voltage regulator voltage change, or other change, detected by environmental sensor(s) 1160 can also trigger a recalibration request.
  • a succeeding step 3230 cues the user such as by display messages and/or audible instructions calling for the user to position or rotate the e-compass 1150 in different orientations or directions to accumulate data for calibration purposes.
  • Various position assist prompts are suitably given to the user to clarify and facilitate the measurement process.
  • the orientation changes and arrows are applicable to any of the portable devices like PDA/PEU 2096 , cell phones 2010 and 2010 ′, vehicle device 2095 , etc.
  • the portable device containing the e-compass is rotated in random circles (for 2D calibration) or, in randomized spherical fashion (for 3D calibration).
  • the portable device is programmed to cue the user with a beep and/or flash when a measurement set is to be taken.
  • the prompt transducer 1180 issues a beep-beep and/or double flash to signal the end of calibration.
  • a single cueing beep can be issued as a reminder if the dataset over a modest interval of time is insufficient to achieve a good hard iron calibration.
  • step 3240 of FIG. 12 the measurement set is screened or checked for credibility. For instance, operations check for massive data outliers (soft iron) in step 3240 . Step 3420 tests whether the data as a whole is close to lying on an ellipse that could be fitted thereto (OK), or not close (NG). If not close (NG), operations discard the measurements or at least the irrelevant outliers, cue the user or tester and, if necessary to get sufficient good data, go back from step 3240 to step 3230 to acquire a satisfactory data set.
  • massive data outliers soft iron
  • a further step 3250 performs a calibration calculation of the parameters of the e-compass 1150 , such as offsets M and axes gains S C for each of the three e-compass sensors X, Y, Z that best fit with the measurements.
  • a step 3260 performs position sensing calculations that blend the e-compass 1150 information (INS) and GPS position information as in FIG. 13 .
  • INS e-compass 1150 information
  • INS e-compass 1150 information
  • a decision step 3270 determines whether the accuracy of calibration is insufficient as indicated by any substantial unexpected inaccuracy, trend, or drift in position measurement. At first, decision step 3270 determines that the accuracy is sufficient, goes to RETURN 275 , and proceeds to perform navigation applications 3224 upon user command or otherwise when launched.
  • decision step 3270 can determine that recalibration is called for, whereupon operations proceed to a step 3280 to prompt the user to decide for recalibration and go to step 3220 or 3210 .
  • smart phones 2010 and 2010 ′ can include Inertial Navigation as a beneficial navigation feature using MEMS (micro-electromechanical structure) 3-axis accelerometer 1140 , gyros and e-compass 1150 .
  • MEMS accelerometers are low cost, low power devices that are quite useful in inertial navigation providing information on acceleration along its axes as well as performing as tilt sensors.
  • Inertial navigation for vehicular navigation is however susceptible to accelerometer bias errors and gain errors.
  • the velocity (speed) and the distance traversed by a vehicle 2095 , or in pedestrian navigation are obtained by integrating the accelerometer 1140 output once and twice respectively.
  • Accelerometer 1140 sensor error and e-compass 1150 sensor error if not compensated appropriately, can produce over time a significant error in velocity and displacement due to time-integration (e.g., see equation (30) described later hereinbelow).
  • FIG. 13 shows an embodiment of structure and process for using accelerometer gain parameter estimates Yxx, Yyy, Yzz and bias parameter estimates ⁇ x, ⁇ y, ⁇ z included in parameters p in a position engine.
  • a step 3710 provides estimation of accelerometer gain and bias by calibration or recalibration according to any of the process embodiments described in the incorporated patent application Ser. No. ______, TI-65353.
  • a position engine 3720 is provided to receive GPS (Global Positioning System) and accelerometer (Inertial INS) measurements and then blend the inertial output with GPS measurements obtained by a GPS engine 1190 in FIGS. 1-3 .
  • Conveniently calibrated MEMS accelerometers 1140 along with e-compass 1150 and/or gyro 1170 herein provide a seamless navigation experience to end users even when GPS visibility is absent or poor, such as when the environment is severely affected by multi-path propagation. Such recalibration thereby delivers a very attractive value-add to GPS-enabled portable devices such as those of FIG. 1 and others described herein.
  • Estimation of accelerometer and e-compass parameters improves runtime acceleration measurement accuracy and dead reckoning of position in the absence of GPS, as well as usefully blending with GPS when GPS has moderate or poor quality.
  • the recalibration processes, circuits, devices, and systems taught herein can be accurate, reliable, and easy to use.
  • Accurate parameter estimates of a given INS system including accelerometer 1140 and Gyro 1170 and e-compass 1150 help to define the state initialization for a position engine 3720 that combines GPS input and INS outputs.
  • Accelerometer parameters 3710 are applied to Tilt Compensation Process 3930 in FIG. 13 to calibrate e-compass 1150 and/or Gyro 1170 according to any of the tilt compensation embodiments taught herein.
  • a concept of blending is motivated by a process for combining information that adds a most-recent GPS position x gps and velocity v gps to twice-integrated corrected acceleration in navigation frame according to equation (30):
  • x blend ⁇ ( t ) x gps + ( t - t gps ) ⁇ v gps + ⁇ tgps t ⁇ ⁇ tgps t ⁇ C * [ g - Y * ( f m - ⁇ ) ] ⁇ ⁇ t ⁇ ⁇ t ( 30 )
  • the double-integral performs definite integration twice of the computed actual acceleration with respect to time t, starting with the time t gps of a most-recent GPS vector position measurement x gps and most-recent vector velocity measurement v gps .
  • the blended vector position output x blend (t) from position engine 3720 pertaining to a given time t is the sum of the most-recent GPS vector position measurement x gps (GPS input of FIG. 13 ) added to the product of vector velocity v gps times time since last velocity measurement, and further added to the double-integral of the estimated true acceleration in the NED frame in FIG. 13 .
  • the measured accelerometer sensor inputs f m are corrected by a processor in FIG.
  • the accelerometer measures the gravity vector g with the device or platform at rest, so the acceleration of the device itself is the difference between gravity vector g (essentially unity 1.00) and the compensated measurement Y*(f m ⁇ ) is expressed in the integrand.
  • the e-compass 1150 measures the magnetic vector H, which supports conversion of the acceleration vector for the device itself into the NED frame.
  • a (3 ⁇ 3) matrix C is established of direction cosines of the device reference frame unit vectors in directions X, Y, Z relative to the unit vectors for the NED frame.
  • the direction cosines for (3 ⁇ 3) matrix C are computed by taking the vector inner product of each of the unit vectors for the NED frame with each of the unit vectors of the device reference frame unit vectors, thus producing the nine direction cosines.
  • Conversion of the device acceleration vector [g ⁇ Y*(f m ⁇ )]expressed in terms of the device reference frame into the locally-inertial frame is performed by a matrix multiplication of the matrix C of direction cosines times [g ⁇ Y*(f m ⁇ )].
  • v blend ⁇ ( t ) v gps + ⁇ tgps t ⁇ C * [ g - Y * ( f m - ⁇ ) ] ⁇ ⁇ t ⁇ ⁇ t ( 31 )
  • step 3710 a well-defined state initialization is provided by step 3710 with gain parameter estimates Yxx, Yyy, Yzz for the accelerometer and analogous gain parameters for the e-compass , as well as bias parameter estimates ⁇ x , ⁇ y , ⁇ z for the accelerometer and offset parameter estimates Mx, My, Mz for the e-compass.
  • step 3710 facilitates quick convergence or settling of a Kalman filter for position engine 3720 such as in Inertial Navigation INS applications.
  • position engine 3720 usefully supplies a blended position output for display or further analysis and use by the navigation application 3670 ( 2524 ).
  • Step 4540 provides a particular design and printed wiring board (PWB) of the system 1700 unit having one or more integrated circuits, such as for a modem, a processor coupled to a modem, a controlled power management circuitry, one or more peripherals coupled to the processor, and a user interface coupled to the processor.
  • PWB printed wiring board
  • steps 4542 and 4545 a storage, such as SDRAM and Flash memory for coupling to on-chip memory, is coupled to the system and has configuration software and initialization parameters according to any of FIGS. 4-14 for an e-compass 1150 , as well as navigation applications and other system software.
  • Step 4550 tests operations of the e-compass 1150 and other circuits by confirming rapid and accurate e-compass parameter estimation and measurement corrections, and operations of the integrated circuit(s) and system in actual application.
  • SoC system on chip
  • performance and power consumption with processes from any of FIGS. 4-14 and various alternative estimation processes can be compared at the development phase and the most desirable estimation processes selected for a given system.
  • Various embodiments taught herein are respectively attractive for different types of systems at low, medium and high-end performance/marketing points.
  • step 4550 verification and test operations are applied pertaining to real-time and non-real-time e-compass based operations in navigation applications such as location-based applications, position sensing, velocity sensing, directional heading applications, etc.
  • Other test operations involve power management, various real-time scenarios, system stability and performance, satisfactory operation of video display for continuity of content, phone, e-mails/data service, web browsing, voice over packet, content player for continuity of content, camera/imaging, audio/video synchronization, and other such operation that is apparent to the human user and can be evaluated by system use.
  • various security attack scenarios are applied.
  • Step 4560 adjusts supporting parameters of the e-compass 1150 circuitry, the e-compass calibration software, and the system for faster calibration and navigation application execution, lower power/energy dissipation, and maintained or enhanced QoS (quality of service).
  • Supporting parameters include enable/disable register bits, parameter registers bit lengths, measurement set screening range, data outlier distance d, FIG. 12 RTC gating elapsed-time intervals for enabling calibration, environmental sensor thresholds and ranges for initiating a call for calibration, and any other supporting parameters involved in processes described hereinabove.
  • step 4560 adjusts or reconfigures parameter(s) and safety margins and loops back to reload parameter(s) at step 4545 and do further testing.
  • steps 4570 adjusted parameter(s) are loaded into the Flash memory or otherwise by system manufacturer or a supplier, and components are assembled on PWB in volume manufacturing to produce resulting system units and END 4575 is reached.
  • processors that perform electronic processes on signals representing the e-compass data and generate processor signals representing recalibrated parameters and corrected magnetic vectors.
  • Processors perform signal processing according to instructions and by actual electronic processes that represent or correspond to the various matrix operations disclosed herein.
  • Memory circuits hold physical representations of instructions and parameters.
  • the e-compass 1150 is a physically compact device including 1) a set of MEMS e-compass sensors, 2) the e-compass sensors combined with a nonvolatile memory holding calibration software and/or parameters as described herein, 3) the e-compass sensors combined with a microprocessor for the e-compass 1150 as well as nonvolatile memory holding the calibration software and/or parameters, 4) e-compass 1150 combined with accelerometer 1140 or tilt sensor and any of the other embodiments and further having tilt compensation software and parameters, 5) position sensing (e.g., GPS) unit combined with any of the other embodiments and further having GPS software and parameters, and/or 5) a high-performance applications processor SoC integrated circuit for supporting plural applications, and having either integrated therein or coupled thereto any of the other embodiments and/or holding any of the software and/or parameters, or 6) other suitable assembly.
  • position sensing e.g., GPS
  • RTL register transfer language design code represents the hardware of any part or all of FIGS. 2 and 3 , and prepares software code according to any of FIGS. 4-14 and/or as described herein to run on the hardware as well. Chips are fabricated in a wafer fab, and serial-scan testing of scan able registers and other testing is performed using emulation EMU of FIG. 2 on the manufactured integrated circuits.
  • a processor with one or more fast multiply-accumulate units provides desirably high performance in some embodiments.
  • Each processor can have a pipeline for high performance and selected from the group consisting of 1) reduced instruction set computing (RISC), 2) digital signal processing (DSP), 3) complex instruction set computing (CISC), 4) superscalar, 5) skewed pipelines, 6) in-order, 7) out-of-order, 8) very long instruction word (VLIW), 9) single instruction multiple data (SIMD), 10) multiple instruction multiple data (MIMD), 11) multiple-core using any one or more of the foregoing, and 12) microcontroller pipelines, control peripherals, and other micro-control blocks using any one or more of the foregoing.
  • a body at rest at a perfectly horizontal position experiences a gravity vector
  • tilt estimate matrix P ⁇ so that pitch angle ⁇ is used in place of angle ⁇ in Equation (A1-5).
  • tilt estimate matrix R ⁇ so that pitch angle ⁇ is used in place of angle ⁇ in Equation (A1-3).
  • Equation (7) results from expanding Equation (A2-15).
  • M DR D 1 T D 1 ⁇ ( D 1 T D 2 ) ( R 2 T R 2 ) ⁇ 1 ( D 2 T D 1 ) (3 ⁇ 3) (A3-3)
  • M ⁇ ⁇ 2 [ M DR ⁇ ( 3 , ( 1 ⁇ : ⁇ 3 ) ) / 2 - M DR ⁇ ( 2 , ( 1 ⁇ : ⁇ 3 ) ) M DR ⁇ ( 1 , ( 1 ⁇ : ⁇ 3 ) ) / 2 ] ⁇ ⁇ ( 3 ⁇ 3 ) ( A3 ⁇ - ⁇ 4 )
  • D is a diagonal matrix with eigen values of M2 and the columns of V are the eigen vectors of M2.
  • V(1,j), V(2,j) and V(3,j) are the row cell values in a given column j of matrix V.
  • [ ⁇ ] [ U - ( R 2 T ⁇ R 2 ) - 1 ⁇ ( D 2 T ⁇ D 1 ) ⁇ U ] ( A3 ⁇ - ⁇ 7 )
  • MATLAB® ELLIPSEFIT(X,Y) is also an example of an ellipse fitting procedure, see mathworks.com.
  • the calibration process claimed in claim 15 further comprising generating a second signal representing a hard iron calibration parameter responsive to the e-compass sensor data and the tilt calibration parameter.
  • Processing circuitry comprehends digital, analog and mixed signal (digital/analog) integrated circuits, ASIC circuits, PALs, PLAs, decoders, memories, and programmable and nonprogrammable processors, microcontrollers and other circuitry. Internal and external couplings and connections can be ohmic, capacitive, inductive, photonic, and direct or indirect via intervening circuits or otherwise as desirable. Numerical values in the description are illustrative. “Ellipse” and “ellipse-fitting” include various geometries and methods such as the 2D ellipse and 3D ellipsoids and ellipsoid-fitting and other round or oval-shaped closed curves and surfaces.
  • “Representations” herein includes electrical voltages or currents, electrically-, magnetically- or optically-detectable physical alterations, and otherwise detectable physical or electrical alterations or programming.
  • Process diagrams herein are representative of flow diagrams for operations of any embodiments whether of hardware, software, or firmware, and processes of manufacture thereof. Flow diagrams and block diagrams are each interpretable as representing structure and/or process. While this invention has been described with reference to illustrative embodiments, this description is not to be construed in a limiting sense. Various modifications and combinations of the illustrative embodiments, as well as other embodiments of the invention may be made.

Abstract

An electronic circuit includes an electronic compass having e-compass sensors mounted on different axes and operable to supply e-compass sensor data, memory circuitry, and an electronic processor coupled to said e-compass sensors and to said memory circuitry, said electronic processor operable to execute an electronic ellipse-fitting procedure responsive to the e-compass sensor data to generate at least one signal related to an ellipse tilt angle (ξ), and store the at least one signal in said memory circuitry as a tilt calibration parameter for the e-compass. Processes for calibrating an e-compass, as well as electronic circuits and processes for correcting measured heading, and processes of manufacture are also disclosed.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This application is a divisional of prior application Ser. No. 12/398,696, filed Mar. 5, 2009, currently pending;
  • This application is related to India Patent Application Number 567/CHE/2008 filed Mar. 6, 2008, titled “Estimation Of Bias Error And Axes Gain For Mems Tri-Axes Accelerometers Implemented On Cell Phone Platform For Vehicle Navigation” and priority is claimed under the Paris Convention and 35 U.S.C. 119 and all other applicable law.
  • This application is related to India Patent Application Number 565/CHE/2008 filed March 6, 2008, titled “Accurately Calibrating E-Compass For Tilt Error In A Suboptimal IMU System Comprising Of Accelerometer And E-Compass Mounted On Cell Phones” and priority is claimed under the Paris Convention and 35 U.S.C. 119 and all other applicable law.
  • This application is related to the U.S. patent application titled “Parameter Estimation for Accelerometers, Processes, Circuits, Devices and Systems” Ser. No. 12/398,775 (TI-65353) filed on Mar. 5, 2009, and said U.S. patent application is incorporated herein by reference in its entirety.
  • This application is related to US patent application publication US 2009/0054075 dated Feb. 26, 2009, and U.S. patent application Ser. No. 11/844,006 (TI-38194) filed Aug. 23, 2007, titled “Satellite (GPS) Assisted Clock Apparatus, Circuits, Systems And Processes For Cellular Terminals On Asynchronous Networks” and said U.S. patent application documents are incorporated herein by reference.
  • STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT
  • Not applicable.
  • COPYRIGHT NOTIFICATION
  • Portions of this patent application contain materials that are subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document, or the patent disclosure, as it appears in the United States Patent and Trademark Office, but otherwise reserves all copyright rights whatsoever.
  • FIELD OF THE INVENTION
  • The field of the invention involves electronic compass (e-compass) processes and circuits, devices and systems including an e-compass. This invention is also in the fields of electronic computing hardware and software, navigation and communications, and processes of operating and making such circuits, devices and systems. Without limitation, the background is further described in connection with e-compass-based applications, circuits, devices and systems, such as for portable, including mobile, applications.
  • BACKGROUND
  • Magnetic compasses have been extremely useful for sensing directions and have been used for assistance in navigation over centuries. A pocket compass is a familiar personal item, with its suspended magnetized needle pointing to the magnetic North pole. Some cars are outfitted with a magnetic dial rotatably suspended in a transparent liquid-filled plastic enclosure mounted on the windshield or dashboard. In recent years with the advent of MEMS e-compass (micro-electromechanical system electronic compass) technology it is now possible to achieve convenient, low-cost electronic compassing in consumer and commercial portable applications. MEMS based accelerometers and e-compasses are low cost feasible options to provide navigation assistance to GPS for short durations.
  • Inertial navigation system (INS) technology has been based on gyroscope and accelerometers. For example, accelerometers can be assembled together with three perpendicular-mounted gyroscopes pivoted on gimbals and have provided in inertial platform that maintains pre-established directions of accelerometer sensor axes no matter how a vehicle moves, rotates, or generally changes direction of motion due to yaw, pitch and roll. E-compass has a miniature form factor and potentially low cost and can find its own space of application.
  • E-compass technology is becoming used in platforms such as low-cost navigation devices including position sensing devices and portable including mobile communication devices with position sensing using positioning technologies such as satellite positioning (e.g., global positioning system GPS) and/or positioning based on transmissions from one or more cell base stations. Accelerometer technology is also becoming used in such devices. In this way, when the positioning technology may have some variation and accuracy or service availability, such as due to variations in GPS visibility, the e-compass can complement the positioning technology and the accelerometer can also complement the positioning technology.
  • Direction signals from an e-compass can suffer from inaccuracy due to tilt errors and from magnetic disturbances called Hard Iron error and Soft Iron error. The Soft Iron error happens when the e-compass is subjected to time varying magnetic fields. The hard iron effect is a constant magnetic field that creates an additional disturbance to the e-compass heading measurement.
  • An accelerometer can be used to estimate tilt of the device or platform in a given resting position, but such tilt estimation is itself subject to enough error so that the direction signals from an e-compass can still suffer from inaccuracy due to tilt errors. Thus, even if tilt compensation of an e-compass is attempted based on accelerometer data, residual errors due to inadequate tilt compensation may exist due to non-idealities of the accelerometers.
  • Mobile telephony can communicate video and digital data, and voice over packet (VoP or VoIP), in addition to cellular voice. Streams of information such as video, voice, audio content, images of all kinds, and data should be flexibly handled by such portable including mobile devices or platforms. But power dissipation can limit time between battery recharges and limit the features and number of applications running And system latency might cause various kinds of delays and lapses in desirable application operation.
  • Processors of various types, including DSP (digital signal processing) chips, RISC (reduced instruction set computing), information storage memories and/or other integrated circuit blocks and devices are important to these systems and applications. Containing or reducing energy dissipation, system latency and the cost of manufacture while providing a variety of circuit, device and system products with performance features for different market segments are important goals in integrated circuits generally and system-on-a-chip (SOC) design.
  • SUMMARY OF THE INVENTION
  • Generally and in one form of the invention, an electronic circuit includes an electronic compass (e-compass) having e-compass sensors mounted on different axes and operable to supply e-compass sensor data, memory circuitry, and an electronic processor coupled to the e-compass sensors and to the memory circuitry, the electronic processor operable to execute an electronic ellipse-fitting procedure responsive to the e-compass sensor data to generate at least one signal related to an ellipse tilt angle, and store the at least one signal in the memory circuitry as a tilt calibration parameter for the e-compass.
  • Generally, and in another form of the invention, an electronic circuit includes an e-compass oriented with a heading and having e-compass sensors mounted on different axes and operable to supply e-compass sensor data, memory circuitry holding a tilt angle e-compass calibration parameter, and an electronic processor coupled to the e-compass sensors and to the memory circuitry, the electronic processor responsive to the e-compass sensor data and the tilt angle e-compass calibration parameter to generate at least one signal representing a measured heading of the e-compass corrected using the tilt angle e-compass calibration parameter.
  • Generally, a process form of the invention involves a calibration process for an e-compass with sensors. The calibration process includes executing an electronic ellipse-fitting procedure responsive to data from the e-compass sensors to generate at least one signal related to an ellipse tilt angle for use as a tilt calibration parameter for the e-compass.
  • Generally, another process form of the invention involves a measuring process for measuring heading of an e-compass having sensors. The measuring process includes utilizing e-compass sensor data and a tilt angle e-compass calibration parameter to generate at least one signal representing a measured heading of the e-compass corrected using the tilt angle e-compass calibration parameter.
  • Generally, in an additional form of the invention, a portable electronic device is oriented with a heading to be measured. The device includes an e-compass having e-compass sensors mounted on different axes and operable to supply e-compass sensor data, and memory circuitry holding a tilt angle e-compass calibration parameter. An electronic processor is coupled to the e-compass sensors and to the memory circuitry, the electronic processor responsive to the e-compass sensor data and the tilt angle e-compass calibration parameter to generate at least one signal representing a measured heading of the e-compass corrected using the tilt angle e-compass calibration parameter, and a display is coupled to the electronic processor to display information based on the corrected measured heading of the e-compass.
  • Generally, a process of manufacture form of the invention includes attaching to a printed wiring board an electronic processor and an e-compass and a flash memory holding a tilt angle e-compass calibration parameter and instructions executable by the electronic processor to generate at least one signal representing a measured heading of the e-compass corrected using the tilt angle e-compass calibration parameter.
  • These and other forms of circuit, device, system, information storage medium, apparatus, process, and other forms of the invention are disclosed and claimed.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a pictorial diagram of a communications system embodiment including system blocks, for example a cellular base station, a DVB video station, a WLAN AP (wireless local area network access point), a WLAN gateway, a personal computer, a set top box and television unit, and two cellular telephone handsets, any one, some or all of the foregoing inventively improved as in the other Figures.
  • FIG. 2 is a block diagram of an electronic system such as for a system on a chip (SoC) inventively improved as shown in the other Figures.
  • FIG. 3 is a block diagram of an inventive system including a satellite positioning engine or GPS engine GE inventively coupled with a processor integrated circuit in FIG. 2 operating as a cellular engine CE.
  • FIG. 4 is a two-dimensional graph of an hypothetical ellipse fitted to e-compass data plotted on the x-axis and y-axis respectively from sensors X and Y of the e-compass mounted for sensing a magnetic field in a horizontal plane and when the e-compass is rotated with a circular motion in a horizontal plane.
  • FIG. 5 is a two dimensional plot of an hypothetical ellipse fitted to the e-compass X and Y sensors data plotted on the x-axis and y-axis respectively when the e-compass is mounted to execute circular motion in a tilted frame (e.g., Pitch=38°, Roll=6°).
  • FIG. 6 is a two dimensional plot of an hypothetical ellipse fitted to de-tilted X and Y sensors data plotted on the x-axis and y-axis respectively and based on inaccurate tilt information from an accelerometer and showing a residual tilt ξ (e.g., 3.35°).
  • FIG. 7 is a two dimensional plot of an hypothetical ellipse fitted to de-tilted X and Y sensors data plotted on the x-axis and y-axis respectively and with additional tilt correction to substantially eliminate the residual tilt of the ellipse of FIG. 6 according to an embodiment herein.
  • FIG. 8 is a graph having axes for estimation error in orientation (in degrees) versus actual orientation of a rotary test table (in degrees) of FIG. 10 for holding an e-compass, and having a first plot of orientation error obtained without correction for residual tilt ξ, a second plot of orientation error obtained with inventive correction for residual tilt ξ, and a third plot of estimation improvement (in degrees) representing the difference between the second plot and the first plot.
  • FIG. 9 is a flow diagram of an improved calibration process for reducing estimation error in e-compass measurements supported by an accelerometer for tilt measurement.
  • FIG. 10 is a pictorial diagram of a test table for the calibration process for use in manufacturing in mobile handset having an e-compass.
  • FIG. 11 is a flow diagram of an improved post-calibration process for finding measured headings using an e-compass in regular operation measuring a particular heading with or without an accelerometer.
  • FIG. 12 is a flow diagram of an inventive process and structure for obtaining e-compass data for calibration purposes and determining whether recalibration is recommended.
  • FIG. 13 is a block diagram of an improved navigation system utilizing the improved processes of FIG. 9 and FIG. 11.
  • FIG. 14 is a flow diagram of an inventive process of manufacturing the inventive systems shown in other Figures.
  • Corresponding numerals in different Figures indicate corresponding parts except where the context indicates otherwise.
  • DETAILED DESCRIPTION OF EMBODIMENTS
  • In FIG. 1, an improved communications system 2000 has system blocks as described next and improved with any one, some or all of the circuits and subsystems and processes shown in various Figures of the drawing. Any or all of the system blocks, such as cellular mobile telephone and data handsets 2010 and 2010′, a cellular (telephony and data) base station 2050, a WLAN AP (wireless local area network access point, IEEE 802.11 or otherwise) and/or a Voice over WLAN Gateway 2060 with user voice over packet telephone 2085 (not shown), and a voice enabled personal computer (PC) 2070 with another user voice over packet telephone (not shown), communicate with each other in communications system 2000. Worldwide web 2065 with website 2055 is readily accessible.
  • “Navigation” as used herein includes any one, some or all of position, direction, heading, tilt, altitude, azimuth, velocity and acceleration sensing and/or location-based applications, position-based applications, map-related applications, trajectory control, braking control, cruise control, steering control, engine control, course monitoring and completion, maneuvering, free fall detection, image acquisition control, image stabilization, and other applications combining or benefiting from any of the foregoing. “Portable device” as used herein includes any device, apparatus, or system, such as those stated herein as well as others, that is sufficiently movable in orientation to utilize and benefit from the embodiments and teachings herein.
  • In FIG. 1, personal and/or vehicular navigation is supported by an accelerometer 1140 and an electronic compass (e-compass) 1150. An environmental sensor 1160 is provided to check any one, some, or all of the temperature, humidity, pressure and/or other environmental physical variables. A miniature Gyro 1170 (gyroscopic inertial assembly) can be provided, with dimensions compatible with the form factor of the portable device. As part of a display screen or in addition, prompting transducers 1180 are provided for emitting flashing light signals, audible speech, and/or audible sounds such as calibration orientation prompts and distinct calibration confirmation prompts to the user. Processor integrated circuit 1022 is coupled to a satellite positioning integrated circuit 1190 for GPS or otherwise. GPS (Global Positioning System) is an earth-satellite-based electronic system for enabling GPS receivers in ships, aircraft, land vehicles and land stations to determine their geographic and spatial position such as in latitude, longitude, and altitude. Discussion of GPS herein is without limitation to other analogous satellite-based electronic systems. The GPS circuit 1190 has an antenna 1195.
  • A camera 1490 provides video pickup for cell phone 2010 to send over the internet to cell phone 2010′, personal digital assistant/personal entertainment unit PDA/PEU 2096, STB (set top box) 2092 and television TV 2094, automobile 2095 and to a monitor of PC 2070 via any one, some or all of cellular base station 2050, DVB (digital video broadcasting) station 2020, and WLAN AP/gateway 2060. Handsets 2010 and 2010′ have a manual input 1050′ such as a keyboard, a microphone 1055, a display 1060, and user prompt transducer(s) 1180 such as a flashing LED and/or audible transducer. Analogously, PDA/PEU 2096 has user prompt transducer(s) 2097, and a display 2098. Handsets 2010 and 2010′ have a video storage and other information storage medium, such as hard drive, flash drive, high density memory, and/or compact disk (like CD 2075) in the handset or external thereto for installation of applications, etc. Digital video recording (DVR) is supported, such as for delayed reproduction, transcoding, and retransmission of video to other handsets and other destinations.
  • On a cell phone printed circuit board (PCB) 1020 in handset 2010, is provided a secure processor integrated circuit 1022, an external flash memory 1025 and SDRAM (synchronous dynamic random access memory) 1024, and a serial interface 1026. A Power, Resets, and Control Module PRCM 1050 (1770 of FIG. 2) is included to perform power and energy management and other support functions. Serial interface 1026 is suitably a wireline interface, such as a USB interface connected by a USB line to the personal computer 2070 and magnetic and optical media 2075.
  • Cell phone 2010 intercommunication also occurs via modems 1100, such as a cellular modem, WLAN, Bluetooth, and any other modem(s) and can access a website 2055 or 2065, television and physical layer (PHY) or other such circuitry 1100′. A WLAN and/or WiMax portion includes MAC (media access controller), PHY (physical layer) and AFE (analog front end). A MIMO UWB (ultra wideband) MAC/PHY supports OFDM in 3-10 GHz. UWB bands for communications in some embodiments. A digital video integrated circuit provides television antenna tuning, antenna selection, filtering, and RF input stage for recovering video/audio/controls from DVB station 2020.
  • Processor integrated circuit 1022 has MPU (or CPU) block 1030 coupled to an internal (on-chip read-only memory) ROM 1032, an internal random access memory RAM 1034, and flash memory 1036. A security logic circuit 1038 is coupled to secure-or-general-purpose-identification value (Security/GPI) bits 1037 of a non-volatile one-time alterable Production ID register or array of electronic fuses (E-Fuses), for enhancing secure e-commerce and system security generally. Depending on the Security/GPI bits, boot code residing in ROM 1032 responds differently to a Power-On Reset (POR) circuit 1042 and to a secure watchdog circuit 1044 coupled to processor 1030. Secure Demand Paging 1040 supports the system and increases the effective size of secure memory.
  • In this way, advanced networking capability for services, software, and content, such as cellular telephony and data, navigation applications, audio, music, voice, video, e-mail, gaming, security, e-commerce, file transfer and other data services, internet, world wide web browsing, TCP/IP (transmission control protocol/Internet protocol), voice over packet and voice over Internet protocol (VoPNoIP), robotics, medical-related services, and other services accommodates and provides security for secure utilization and entertainment appropriate to the just-listed and other particular applications.
  • The embodiments, applications and system blocks disclosed herein are suitably implemented in fixed and portable devices such as for mobile, automotive 2095, seaborne, and airborne, communications, control, set top box 2092, television 2094 (receiver or two-way TV), and other apparatus. DLP™ display technology from Texas Instruments Incorporated, or liquid crystal display LCD or other video display technology is coupled to any of the system blocks of FIGS. 1 and 2. A transparent organic semiconductor display is provided on one or more windows of the vehicle 2095 of FIG. 1 and wirelessly or wireline-coupled to the video feed from the system 1700 of FIG. 2. The personal computer (PC) 2070 is suitably implemented in any form factor such as desktop, docking station, laptop, palmtop, organizer, mobile phone handset, PDA personal digital assistant 2096, internet appliance, wearable computer, content player, TV/appliance handheld remote control device, wireless pointer for game displays and other computer displays, still camera and other camera stabilization and display image stabilization, wearable personal safety monitor, personal area network, or other type and usable with media 2075 such as optical disk, flash drive, and other media.
  • In combination with the GPS circuit 1190, and the video display, the RISC processor 1422 and/or IVA (imaging and video applications unit) DSP 1424 support location-based embodiments and services of various types. These services provide roadmaps and directions thereon to a destination, pictorials of nearby commercial establishments, offices, and residences of friends, various family supervision applications, position sending to friends or to emergency E911 service, and other location based services now known or yet to be devised. For such services, fast time of position fixing, low system power consumption, and reliability of accurate timekeeping to support position-based services even during power management operations and cellular network base station handover or handoff operations are all desirable for improved technology such as supported by various embodiments herein.
  • It is contemplated that the skilled worker uses each of the integrated circuits shown in FIGS. 1 and 2, or such selection from the complement of blocks therein provided into appropriate other integrated circuit chips, or provided into one single integrated circuit chip, in a manner optimally combined or partitioned between the chips, to the extent needed by any of the applications supported by the cellular handsets 2010 and 2010′, DVB station 2020, cellular telephone base station 2050, personal computer(s) 2070 equipped with WLAN, Voice WLAN access point/gateway 2060, as well as radios and televisions, Internet audio/video content players, fixed and portable entertainment units, routers, pagers, personal digital assistants (PDA), organizers, scanners, faxes, copiers, household appliances, office appliances, microcontrollers coupled to controlled mechanisms for personal, robotic and/or automotive use, combinations thereof, and other application products now known or hereafter devised for increased, partitioned or selectively determinable advantages.
  • In FIG. 2, a system 1700 for use in FIG. 1 has a MPU (microprocessor unit) subsystem 1705 with MPU core(s) 1422, an IVA subsystem 1424, and DMA (Direct Memory Access) subsystems 1710.i. Personal and/or vehicular navigation is supported by accelerometer 1140 and/or gyro 1170 and/or electronic compass (e-compass) 1150. The MPU subsystem 1705 suitably has one or more processor cores 1422 with RISC or CISC or other suitable central processing units CPUs such as with superscalar processor pipeline(s) with L1 and L2 caches. Either or both of the MPU subsystem 1705 and IVA subsystem 1424 has hardware for single cycle multiply-accumulates for matrix processing and fast loop execution, image processing, video processing, and audio processing. IVA 1424 provides one or more programmable digital signal processors (DSPs) for multi-standard (MPEG4, WMV9, RealVideo®, H.263, H.264) encode/decode at D1 (720×480 pixels), and 720 p MPEG4 decode, for some examples. Also integrated are a 2D/3D graphics engine, a Mobile DDR Interface, and numerous integrated peripherals as selected for a particular system solution. The IVA subsystem 1424 has L1 and L2 caches, RAM and ROM, and hardware accelerators as desired such as for motion estimation, variable length codec, and other processing. DMA (direct memory access) subsystems 1710.i perform target accesses via target firewalls 1722.i and 1712.i of FIG. 1 connected on interconnects 1721, 1734. A target is a circuit block targeted or accessed by another circuit block operating as an Initiator. Some Initiators are MPU 1422, DMA subsystems 1710.i, Universal Serial Bus USB HS, and a secure debug access port to an emulation block EMU. In order to perform such accesses the DMA channels in DMA subsystems 1710.i are programmed. Each DMA channel specifies the source location of the Data to be transferred from an Initiator and the destination location of the Data for a target.
  • Data exchange between a peripheral subsystem and a memory subsystem and general system transactions from memory to memory are handled by the System SDMA 1710.1. The DMA channels support interconnect qualifiers collectively designated Mreqlnfo, such as MreqSecure, MreqPrivilege, MreqSystem in order to regulate access to different protected memory spaces. The system configures and generates these different access qualifiers in a security robust way and delivers them to hardware firewalls 1712.1, 1712.2, etc. via lines 1738 as well as to firewalls 1722.1, 1722.2, etc. associated with some or all of the targets. The hardware firewalls protect the targets according to different access rights of initiators. The DMA channels 1715.1, .2, etc. are configurable through the L4 Interconnect 1734 by the MPU subsystem 1705. Firewall configuration on a DMA interface 1715.i restricts different DMA channels according to the configuration previously written to configuration Internal Register fields. This Firewall configuration implements hardware security architecture rules in place to allow and restrict usage of the DMA channel qualifiers used in attempted accesses to various targets. When an attempt to configure access for DMA channels in a disallowed way is detected, in-band errors are sent back to the initiator that made the accesses and out-band errors are generated to a Control Module 1765 and converted into an MPU Interrupt for security attack detection and neutralization.
  • Data exchanges within a DSP subsystem 1710.2 are handled by the DSP DMA 1718.2. Data exchange to store camera 1490 image capture is handled using a Camera DMA 1718.3 in camera subsystem CAM 1710.3. The CAM subsystem 1710.3 suitably handles one or two camera 1490 inputs of either serial or parallel data transfer types, and provides image capture hardware image pipeline and preview. Data exchange to refresh a display 1060 is handled in a display subsystem 1710.4 using a DISP DMA 1718.4. This subsystem 1710.4, for instance, includes a dual output three layer display processor for 1× Graphics and 2× Video, temporal dithering (turning pixels on and off to produce grays or intermediate colors) and SDTV to QCIF video format and translation between other video format pairs. The Display block 1710.4 feeds a user-viewable display, such as a DLP™ display from Texas Instruments Incorporated or an LCD panel or other display, using either a serial or parallel interface. Also television output TV and Amp provide CVBS or S-Video output and other television output types for display.
  • In FIG. 2, a hardware security architecture including SSM 1760 propagates qualifiers such as an MreqSystem qualifier for virtual machines on the interconnect 1721 and 1734. The MPU 1422 issues bus transactions and sets some qualifiers on Interconnect 1721. SSM 1760 also provides one or more qualifiers. The bus transactions propagate through the L4 Interconnect 1734 and then reach a DMA Access Properties Firewall 1712.1. Transactions are coupled to a DMA engine 1718.i in each subsystem 1710.i which supplies a subsystem-specific interrupt to the Interrupt Handler 1780. Interrupt Handler 1780 is also fed one or more interrupts from Secure State Machine SSM 1760 that performs security protection functions. Interrupt Handler 1780 outputs interrupts for MPU 1422. In FIG. 2, firewall protection by firewalls 1722.i is provided for various system blocks 1720.i, such as GPMC (General Purpose Memory Controller) to Flash memory 1720.1, ROM 1720.2, on-chip RAM 1720.3, Video Codec 1720.4, WCDMA/HSDPA 1720.6, device-to-device SAD2D 1720.7 coupled to manual input 1050 such as keypad, Modem(s) 1100, and to a mixed signal (digital and analog) circuit coupled to microphone (MIC) 1055. DSP 1720.8 and DSP DMA 1728.8 also support the system via interconnect 1721. A System Memory Interface SMS with SMS Firewall 1755 is coupled to SDRC 1752.1 (External Memory Interface EMIF with SDRAM Refresh Controller) and to system SDRAM 1750 (1024).
  • In FIG. 2, interconnect 1734 is also coupled to Control Module 1765 and cryptographic accelerators block 1740 and a continually-powered Wakeup block WKUP 1770. Wakeup block 1770 has a Power, Reset and Clock Manager PCRM for power management and wakeup and a RTC (real time clock) for maintaining time and date. PRCM is coupled via L4 interconnect 1734 to Power IC circuitry in a power chip 1200 powered by a battery pack 1280. Chip 1200 supplies controllable supply voltages VDD1, VDD2, etc. for the rest of the system 1700. PRCM 1770 is coupled to L4 Interconnect 1734 and coupled to Control Module 1765. PRCM 1770 is coupled to a DMA Firewall 1712.i to receive a Security Violation signal, if a security violation occurs, and to respond with a Cold or Warm Reset output. Also PRCM 1770 is coupled to the SSM 1760.
  • In FIG. 2, some embodiments have symmetric multiprocessing (SMP) core(s) such as RISC processor cores in the MPU subsystem. A hardware (HW) supported secure hypervisor runs a SMP core. Linux SMP HLOS (high-level operating system) is symmetric across all cores and is chosen as the master HLOS in some embodiments.
  • In FIG. 2, digital circuitry in modem(s) 1100 supports and provides wireless interfaces for any one or more of GSM, GPRS, EDGE, UMTS, and OFDMA/MIMO embodiments. Digital circuitry provides codec for CDMA (Code Division Multiple Access), CDMA2000, and/or WCDMA (wideband CDMA or UMTS) wireless suitably with HSDPA/HSUPA (High Speed Downlink Packet Access, High Speed Uplink Packet Access) (or 1×EV-DV, 1×EV-DO or 3×EV-DV) data feature via an analog baseband core and RF GSM/CDMA core. An audio/voice block supports audio and speech/voice functions and interfacing. Speech/voice codec(s) and user voice-recognition/voice control are suitably provided in memory space in the audio/voice block for processing by processor(s) 1422, 1424. Modem(s) 1100 are coupled for use by personal and/or vehicular navigation applications to accelerometer 1140 and/or electronic compass (e-compass) 1150 and/or location-determining circuitry 1190 for GPS (Global Positioning System). Environmental sensor(s) 1160 are likewise coupled to the system. IC 1100 is also coupled to a USIM (UMTS Subscriber Identity Module).
  • In FIG. 2, an audio block has audio I/O (input/output) circuits to a speaker, a microphone, and headphones (not shown). The audio block is also coupled to an audible piezoelectric transducer in prompt calibration transducer 1180, which also has an LED (light emitting diode) that controllably emits flashing calibration initiation prompts and calibration confirmation prompts for accelerometer calibration.
  • In FIG. 3, the improved system of FIG. 2 is further detailed. Personal and/or vehicular navigation is supported by accelerometer 1140 and/or electronic compass (e-compass) 1150, environmental sensor 1160, gyro 1170, prompt transducers 1180, and/or GPS unit 1190. GPS unit 1190 has an antenna 1195 for reception of satellite positioning signals and coupled to a GPS RF receiver provided as an analog or mixed-signal integrated circuit that in turn supplies signals to a digital GPS baseband decoder 2160 integrated circuit. GPS baseband decoder 2160 is called a satellite positioning engine or GPS engine GE 2160 herein. GPS (Global Positioning System) is a satellite positioning system for supplying satellite signals to GE 2160. The acronym GE herein is used to designate a baseband decoder circuit such as a satellite positioning computing engine herein whether of GPS type or any other satellite positioning scheme.
  • GE 2160 is coupled to the rest of system 1700 of FIGS. 2 and 3 by lines TIMESTAMP 2170 for timekeeping signals, GPS_IO 2175 for position data, and GPS_CTRL 2190 for controls. The rest of system 1700 is called a Communication Engine or Cellular Engine CE for this purpose and has a processor in hardware, or in hardware combined with software/firmware. In FIG. 3, Cellular Engine CE acts as a processing engine for time information derived from the cellular communications network. CE also processes some information from GE 2160, or not, depending on embodiment. CE need not be limited to cellular or wireless communication networks.
  • In FIG. 3, a printed wiring board has signal connection line TIMESTAMP 2170 and GSP_IO 2175 that couple strobe pulses and time-related information between the GE and CE. GE is coupled as a peripheral by a UART 2180 (universal asynchronous receiver/transmitter, i.e., a parallel/serial interface such as I2C, XPA, etc.) to interconnect 1734 of FIG. 2. Accordingly, a data bus 2185 in interconnect 1734 provides controls and data as parallel bits to the UART 2180 and these bits are supplied on particular lines in a set of lines 2190 to control the GE. For example, these lines convey control inputs to GE 2160 including a GSP_SLEEP input, a soft enable/reset GPS_EN_RESET, and a power up enable GPS_PWR_EN. Further lines to GE 2160 include interface lines for bi-directional serial communication.
  • In FIG. 3, a first clock 2162, such as a temperature compensated controlled crystal oscillator TCXO, has a frequency illustratively between 10 and 100 MHz or higher, that during reception is continually (or selectively) locked to or synchronized with clocks present in base stations. Between receptions the first clock 2162 keeps time when GPS 1190 is asleep, and clock 2162 itself is switched off or is left to run depending on the operating mode. A second clock 2164 has a lower frequency, e.g., below 1 MHz. such as at 32 KHz. The second clock 2164 is on and operative between receptions when the first clock 2162 is turned off for power saving. Processing circuitry CE is connected to the modem(s) 1100 and to the first clock 2162 and second clock 2164 and to GE 2160.
  • More information about a satellite positioning arrangement related to FIG. 3 is in US patent application publication US 2009/0054075 dated Feb. 26, 2009, and U.S. patent application Ser. No. 11/844,006 (TI-38194) filed Aug. 23, 2007, titled “Satellite (GPS) Assisted Clock Apparatus, Circuits, Systems And Processes For Cellular Terminals On Asynchronous Networks” and said U.S. patent application documents are incorporated herein by reference.
  • As shown in FIG. 1, the e-compass 1150 sensors X, Y, Z are mounted substantially perpendicular to one another and thereby define their own substantially perpendicular axes that constitute an e-compass reference frame that is securely affixed to the portable device as a whole. The e-compass 1150 sensor outputs accordingly deliver measured magnetic vector Hm components HX m, HY m, HZ m relative to the e-compass reference frame. Some embodiments are directed specifically to obtaining heading information e.g., angle w relative to magnetic North. The heading w measured by the e-compass 1150 can depend on a physical tilt angle relative to the vertical, and various structure and process embodiments herein correct for the tilt in an improved manner. Some of the embodiments use either or both of accelerometer 1140 and/or e-compass 1150. Some embodiments use a tilt sensor that involves a vertically suspended mass instead of an accelerometer, and the angle of the vertical direction indicated by the mass relative to the e-compass reference frame indicates the tilt.
  • Tilt errors in an IMU system having accelerometer 1140 and e-compass 1150 (and Gyro 1170 if included) cause error in heading determination. Accelerometer 1140 provides tilt information on the tilt of the device or platform 2010, 2096, etc. at a given resting position or orientation, and the tilt information can be compensated for. However, the non-idealities of accelerometer 1140 cause finite error in tilt estimation resulting in inaccuracies of heading information such as estimation of heading angle w from e-compass 1150. This heading inaccuracy problem is solved in some embodiments by introducing a correction factor to the tilt compensation process. With such an improved process the heading angle w is determinable much more accurately even given inaccuracies of tilt estimation.
  • One solution to the problem for horizontal IMUs deciphers the orientation or heading information from the magnetic sensor readings, first by rotating a perfectly horizontal (i.e. not-tilted) e-compass 1150 in circles on a precision rotatable platform and plotting the Y sensor readings HY m versus the corresponding X sensor readings HX m. The plot in FIG. 4 approximates an ellipse. Notice that the x-coordinate axis of the graph in FIG. 4 pertains to e-compass X sensor readings HX m and the y-coordinate axis pertains to e-compass Y sensor readings HY m. Using the plotted ellipse, the lengths Sx, Sy of the ellipse major axis and of the ellipse minor axis are measured or computed and recorded, and so too are the coordinates (X0, Y0) of the center of the ellipse. These are parameters of the ellipse. All the points of ellipse are then shifted and scaled accordingly at calibration time to make the ellipse a unit circle with center at origin. Then at post-calibration run time, any other measurement is similarly first shifted and scaled and then the orientation is found according to its location on the unit circle.
  • For IMU mountings that are tilted, the accelerometer 1140 provides an initial tilt estimate that is used to de-tilt the e-compass 1150 tilt-affected measurements HX m′, HY m′ which are ellipse-fitted. If the tilt estimation were perfectly accurate, detilting would lead to a similar ellipse to that of FIG. 4 when the X-Y e-compass sensor readings are plotted and detilted. However, with inaccuracies in tilt measurements by accelerometer 1140 or another type of tilt sensor, the ellipse is likely to be only coarsely detilted and the ellipse major and minor axes are likely to have some residual tilt angle xi (ξ) as in FIG. 6 with respect to the co-ordinate axes of the graph. This means that when the parameters of the ellipse in FIG. 6 are used to compute the heading angle ψ, that computation is degraded in accuracy.
  • In one kind of embodiment herein, accurate calibration is provided for an e-compass compass 1150 to compensate for tilt error in a suboptimal IMU system having an accelerometer 1140 and the e-compass 1150 mounted on a portable device such as a cell phone 2010. The residual tilt ξ at calibration time is determined by first using a generalized 2D (two-dimensional) best ellipse fit method to obtain the ellipse of FIG. 5 and that ellipse is then detilted coarsely or inaccurately to obtain the ellipse of FIG. 6. At this point the residual tilt ξ remains. Then in a further step that residual tilt ξ is removed in 2D by rotating the coarsely de-tilted measurements further by de-rotating by angle ξ in 2D. This leads to a zero-tilt ellipse of FIG. 7. The ellipse of FIG. 7 is then more accurately transformed to a unit circle with centre at origin. At post-calibration run-time, each heading measurement is made by similarly first detilting a run-time e-compass tilt-affected measurement point HX m′, HY m′, HZ m′ with the accelerometer's tilt information, and then further rotating the X-Y points in 2D to correct for residual tilt ξ and then shifting and scaling with the resultant ellipse parameters. Finally, the heading angle ψ is read out from its more accurately determined position on the unit circle.
  • Introducing the final correction factor in 2D (estimating the residual tilt ξ and correcting it) dramatically reduces tilt related errors of e-compass technology as discussed later hereinbelow in connection with FIG. 8.
  • Providing an e-compass calibration correction to tilt inaccuracies of accelerometer 1140 reduces and mitigates heading inaccuracies of e-compass 1150 in combinations of accelerometer plus e-compass based DR (dead reckoning) solutions. Merely estimating tilt and performing heading ψ determination after coarse detilting of the measurements is problematic because to the extent tilt estimation is inaccurate, the e-compass 1150 is likely to show inaccuracies of heading ψ. Inaccuracy in tilt estimation by the accelerometer 1140 is beneficially taken care of by the e-compass calibration process. This leads to a nearly-perfectly tilt compensated mechanism for the e-compass 1150 even when the tilt estimation from the accelerometer 1140 may not be too accurate.
  • E-compass 1150 measurements HX m, HY m, HZ m are subject to inaccuracies or distortions in heading measurement caused by hard iron and soft iron effects and heading errors caused due to tilt. The soft iron effects happen when the e-compass 1150 is subjected to time-varying magnetic fields which are not pre-calibrated. The hard iron effect is a constant magnetic field that creates an additional disturbance to the e-compass heading measurement unless compensated.
  • Since the hard iron component M in the magnetic field remains constant and independent of compass heading ψ, the hard iron component M can be calibrated out using a calibration process embodiment described herein after some preliminary definition and mathematical analysis next. Processing time and power are conserved because only some of the steps in the mathematical analysis are programmed and executed on an electronic processor to achieve the calibration and post-calibration results that the analysis substantiates. For analysis purposes, suppose the e-compass 1150 is placed on a perfect horizontal platform. An example of an e-compass 1150 has three magnetic sensors positioned orthogonally (perpendicular to each other) along three axes of a 3D (three dimensional) Cartesian coordinate frame. Each magnetic sensor X, Y, Z is exposed to the true magnetic field vector H along its respective X, Y, Z sensor axis. The e-compass 1150 senses the horizontal magnetic field Hh that is directed towards magnetic North) on its horizontal sensors (e.g. X, Y sensors) and a vertical magnetic field component Hv on its vertical sensor (e.g. Z-sensor). Define the true heading angle ψ relative to magnetic North as the angle at which the X-sensor is oriented relative to North, with East being angle ψ at 90 degrees, etc. The three components of a measured magnetic vector Hm=[HX m, HY m, HZ m]T with e-compass 1150 at horizontal level are given by:

  • H X m =S x H h cos(ψ)+X0   (1A)

  • H X m =S y H h sin(ψ)+Y0   (1B)

  • H X m =S z H v +Z0   (1C)
  • In equations (1A), (1B), (1C), the quantities SX, Sy and Sz are the sensitivities of the three magnetic sensors on the three axes. Offset terms X0, Y0 and Z0 represent the vector components of a fixed magnetism vector M of a fixed magnetic disturber in the direction of each of the three axes due to hard iron effects. Superscript-T represents row-column transposition, e.g., of a row vector to a column vector, and asterisk “*” represents matrix multiplication. In the presence of the fixed magnetic disturber, the raw measurement output Hm of the e-compass 1150 at horizontal level is a vector sum of the fixed magnetic disturber vector M=[X0, Y0, Z0]T and a product of the actual earth's magnetic field vector H=[Hh, Hv]T used to find magnetic North, times a direction matrix D representing the orientation of the horizontal e-compass at heading angle ψ, times an e-compass sensitivity matrix SC representing the relative sensitivities of the e-compass sensors when the e-compass is level-horizontal:

  • H m =S C *D*H+M.   (2)
  • Dimensionally, equation (2) is (3×1)=(3×3)(3×2)(2×1)+(3×1). Sensitivity matrix SC for e-compass 1150 is expressed by a preliminarily-assumed diagonal matrix. Cross-axes sensitivities due to any small e-compass sensor physical misalignments can replace the off-axis zeros and applied in some other embodiments.
  • S C = [ S x 0 0 0 S y 0 0 0 S z ]
  • Direction matrix D is given by:
  • D = [ cos ψ 0 sin ψ 0 0 1 ] ( 3 )
  • Suppose now for analysis that the e-compass were next initially rotated in random circles to get a full coverage of 360° in the horizontal plane. Plotting the (HX m, HY m) e-compass X-sensor and Y-sensor measurements of such a motion would result in a two dimensional fitted-ellipse of FIG. 4 centered around (X0,Y0) and with major and minor axes expressed by the ordered pair (Sx, Sy). The ellipse major axis in the graph of FIG. 4 corresponds to a magnetic North-South axis if SX equals or exceeds Sy and the ellipse minor axis corresponds to the North-South axis if Sx is less than Sy in FIG. 4. (The former condition Sx>=Sy is assumed for illustration.) Note also that the major and minor axes (Sx,Sy) should not be confused with the x-coordinate and y-coordinate axes of the graph.
  • The ellipse centre and major and minor axes are estimated from the data at calibration time. Thereafter, the e-compass 1150 orientation for any run-time post-calibration measurement in the same horizontal plane is obtained by expressing that heading angle y in terms of the arctangent of a linear transformation of the data to a unit circle. Mathematically, heading angle ψ is the result of solving Equations (1A) and (1B) for ψ to yield Equation (4).

  • ψ=arctan[((H Y m −Y0)/S y)/((H X m −X0)/S x))   (4)
  • The heading measurement problem becomes more complicated when the e-compass 1150 is not maintained in a horizontal position. This problem is solved according to various embodiments as taught herein and with attendant benefits and convenience for the user and for the portable device. In the presence of an arbitrary tilt of the e-compass platform relative to the horizontal, the tilt-affected output Hm′ of the e-compass 1150 is altered relative to the output Hm that the e-compass 1150 would deliver when the platform is perfectly level-horizontal. Put another way, an actual tilt in e-compass position results in linearly transformed outputs Hm′ from the sensors themselves as expressed by equation (5):

  • H m ′=[H X m′ , H Y m′ , H Z m′]T =Ω*H m =Ω*[H X m , H Y m , H Z m]T   (5)
  • Matrix Ω is the unknown co-ordinate transformation matrix representing or caused by actual physical tilt (due to unknown actual angles of Pitch φ and Roll θ). The X-Y plot of a 2D rotation of e-compass 1150 results in a tilted ellipse of FIG. 5 geometrically tilted with respect to the x, y-coordinate axes of that graph. Because matrix multiplication mathematically expresses physical angular rotation or physical tilt, the graphical ellipse tilting occurs as a consequence on the graph. The tilting is inconsistent with equation (4), so heading error would be introduced by using equation (4) without first detilting the ellipse.
  • Direct estimation of heading orientation angle ψ from the ellipse of FIG. 5 would result in undesirable inaccuracy of measurement result. However, the tilt of the IMU system is coarsely estimated using the accelerometer 1140 at the state of rest. Using the estimate of tilt, the e-compass sensor outputs for a circular motion around the physically tilted axis of rotation (see, e.g., FIG. 10) are coarsely de-tilted by processor operations representing a graphical detilting process to obtain the coarsely detilted ellipse of FIG. 6. As shown in FIG. 6, a tilt angle ξ remains. Then a process taught herein makes an accurate tilt estimate of that remaining tilt angle ξ and stores the numerical value representing angle ξ thus obtained as part of the calibration output. The ellipse of FIG. 6 is brought back to a non-tilted version by de-rotation through angle ξ, see FIG. 7 and compare it with FIG. 4. Further calibration output is obtained by using the fully-corrected ellipse of FIG. 7. As represented by FIG. 7, the lengths of the major and minor axes and the coordinates of the ellipse center are evaluated to yield accurate, refined values respectively for the sensitivities Sx and Sy and the offset terms X0 and Y0 in Equations (1A) and (1B) and these are stored as well.
  • Subsequent post-calibration measurement of heading angle ψ in the same attitude of the platform then is measured by applying the de-rotation using the value of angle ξ that was determined earlier at calibration time. Post-calibration measurement of heading angle ψ by an electronic processor first coarsely de-tilts the tilt-affected e-compass 1150 data representing sensed vector HM′ using a tilt estimate based on the information from accelerometer 1140 or from another type of tilt sensor. Then the processor further applies de-rotation using the value of angle ξ that was determined earlier at calibration time. Finally, the processor executes instructions that use Equation (4) on the now-accurately de-tilted run-time measurement vector to obtain heading angle ψ. Notice that the calibration parameters resulted from ellipse-fitting to the raw data from many headings as discussed in the calibration paragraph hereinabove and also depicted in FIG. 9. By contrast, the run-time heading angle ψ results from analysis of measured vector data from a single heading that is accurately and fully detilted as discussed in this post-calibration paragraph and as depicted in FIG. 11 using those calibration parameters.
  • As discussed herein, the accuracy of orientation or heading measured for a tilted IMU depends on the accuracy of tilt estimate from the accelerometer 1140. Given that the accelerometer sensors may have their own non-idealities (e.g., due to bias error vector μ and gain error matrix S), the tilt estimates are not likely to be very accurate, and indeed need not be very accurate for obtaining more accurate measurements according to processes and structures herein. However, coarse de-tilting using inaccurate accelerometer 1140 information without more correction is likely to compromise the orientation accuracy of measuring heading angle ψ.
  • The effect of a wrong tilt estimate using accelerometer 1140 and how to compensate for it are described next in greater detail. The sensor readings with e-compass 1150 at a horizontal-level position are given by Equations (1A), (1B), and (1C). For an actual tilt Ω involving Pitch phi φ and Roll theta θ, the actual e-compass sensor measurements Hm′ are given by Equation (5). Let the accelerometer-based estimate of a tilt transformation matrix be designated zeta ζ. (See Appendix I for a process by which accelerometer 1140 can output the matrix ζ.) The electronic processor pre-multiplies matrix ζ times the actual tilt-affected e-compass sensor outputs Hm′. Accordingly, a coarsely de-tilted version of the e-compass 1150 sensor reading is given by:
  • H m″ = [ H X m , H Y m , H z m ] T = ζ - 1 * [ H X m , H Y m , H Z m ] T = ζ - 1 * H m = ζ - 1 * Ω * H m = ζ - 1 * Ω * [ H X m , H Y m , H Z m ] T ( 6 )
  • Note that the accelerometer-based estimated tilt transformation matrix ζ is an estimate of the matrix Ω representing actual tilt. Ideally the matrix product (ζ−1*Ω) would be an identity matrix. For small estimation errors in Pitch φ and Roll θ angles, the matrix product ζ−1*Ω is given by a 3×3 matrix of Equation (7). Note that at this point the form of ζ−1*Ω is known, but its actual numerical matrix entry values are unknown. Fortunately, the calibration procedure can determine an ellipse tilt angle ξ that supplies at least one of the unknown values (namely, a).
  • ζ - 1 * Ω = [ 1 a b - a 1 - c - b c 1 ] ( 7 )
    where a=δφ sin(θ): δφ is the estimation error of Pitch angle φ;   (7.1)

  • b=δφ cos(θ); and,   (7.2)

  • c=δθ: δθ is the estimation error of Roll angle θ.   (7.3)
  • Equations (6) and (7) together represent the coarsely de-tilted e-compass sensor outputs of a tilted e-compass 1150. These equations assume the presence of small errors in tilt estimates from an accelerometer 1140 or other tilt sensor. The 2D X-Y vector of coarsely de-tilted output for some embodiments can use an acceptable approximation and is given by Equation (8):
  • [ H X m = [ 1 a [ H X m H Y m - a 1 ] H Y m ] ( 8 )
  • HX m, HY m signify the hypothetical un-tilted e-compass sensor outputs responsive to horizontal magnetic field components. HX m″, HY m″ signify the coarsely de-tilted e-compass sensor outputs of a tilted IMU having accelerometer 1140 and e-compass 1150. In algebraic form,

  • H X m″ ˜=H X m +a H Y m, and H Y m″ ˜=−aH X m +H Y m   (8A)
  • For finite estimation error of Roll and Pitch angles, the corresponding two dimensional plot of a circular motion of the e-compass platform as in FIG. 10 would result in a small but significant remaining tilt angle ξ in the 2D ellipse (FIG. 6) with respect to the x,y-coordinate axes notwithstanding the coarse detilting. Note that perfectly circular motion of the platform on a precision calibration mounting is not required, since various linear displacements of the e-compass 1150 up, down and sideways do not affect the e-compass ellipse. A cause of the ellipse tilt angle ξ is the presence of at least the term “a” in Equations (8) and (7). The calibration procedure not only measures ellipse tilt but also thereby determines the as-yet unknown value of matrix element “a” in the error matrix zeta-inverse-omega ζ−1*106 of equation (7). Thus, the determination of tilt angle ξ at calibration time discovers information about the physical tilt so that it can be compensated for. The equivalent tilt ξ if left uncorrected would cause resultant errors in orientation, i.e., measured heading angle ψ.
  • In a calibration process embodiment herein, the data obtained from the coarsely de-tilted version (as obtained by the accelerometer 1140) of measurements from a circular motion of the e-compass 1150 is first fitted to a general second order equation representing a best-fitting ellipse. The ellipse fitting portion of the calibration procedure outputs the centre, minor and major axes and also the tilt angle (ξ) with respect to the axes. See Appendix III for an ellipse-fitting procedure example. For small estimation errors based on Equation (8), the tilt angle ξ is given by equation (9):

  • ξ=arctan(−a) or   (9)

  • −ξ=arctan(a) or   (9A)

  • a=tan(−ξ)   (9B)
  • Tilt angle ξ in FIG. 6 is a graphical consequence of physical tilt Ω. More information about their relationship is provided later hereinbelow.
  • Once the resultant ellipse tilt (ξ) is estimated, the 2D ellipse is further corrected by de-rotating by angle (ξ), i.e., rotating by an angle (−ξ) as shown in Equation (10):
  • [ H X m ′′′ = [ cos ( - ξ ) - sin ( - ξ ) [ H X m H Y m ″′ sin ( - ξ ) cos ( - ξ ) ] H Y m ′′ ] ( 10 )
  • Notice that before de-rotation, the major axis of the ellipse geometrically extends to a point on the x-coordinate axis that, in general, is different from the origin (0,0). Ellipse tilt (ξ) as discussed here represents the angle that the major axis makes relative to the x-coordinate axis, which is quantitatively the same angle that the major axis makes relative to a line parallel to the x-coordinate axis and passing through the ellipse center (X0, Y0). In general, ellipse tilt (ξ) is different from an angle χ=arctan(Y0/X0) that a line through the ellipse center from the origin makes with the x-coordinate axis.
  • Combining equations (9A), (8) and (10) yields Equation (11):
  • [ H X m ″′ = sec ( ξ ) * [ H X m H Y m ″′ ] H Y m ] ( 11 )
  • For convenience to the reader, the intermediate step in reaching Equation (11) is given as Equation (11A) next. The matrix multiplication in Equation (11A) delivers sec(−ξ) times an identity matrix. The trigonometric identity employed is cos+sin tan=sec. The trigonometric secant (i.e., 1/cos) returns the same value regardless of the positive or negative sign of its argument. Thus the matrix multiplication of sec(−ξ) times an identity matrix is equivalent to simply multiplying by the scalar sec(ξ) as in Equation (11).
  • [ H X m ″′ H Y m ″′ ] = [ cos ( - ξ ) - sin ( - ξ ) [ 1 tan ( - ξ ) [ H X m sin ( - ξ ) cos ( - ξ ) ] - tan ( - ξ ) 1 ] H Y m ] ( 11 A )
  • Equation (11) shows that Equation (10) helps to transform HX m″, HY m″ (the coarsely de-tilted values derived from coarsely detilting e-compass actual reading HX m′, HY m′ of equation (5)) to the desired ideal horizontal reading HX m, HY m (with a scale factor sec(ξ) being close to unity). Thus the added correction of Equation (10) is desirably performed by the electronic processor and helps when the tilt estimate ; from the tilt sensor such as accelerometer 1140 is not accurate. The resultant 2D plot of (HX m′″, HX m′″) is a fully tilt-corrected ellipse depicted in FIG. 7 corresponding to the e-compass 1150 mounted in the horizontal position. The ellipse parameters are electronically computed and deliver sensitivities Sx and Sy and the offset terms X0 and Y0 as calibration outputs along with tilt angle ξ.
  • Notice that the major/minor ellipse axes of both FIG. 4 without e-compass tilt and FIG. 7 with e-compass tilt fully corrected are interpreted as magnetic North-related directions N, E, S, W. In other words, the fully detilted result in FIG. 7 is interpretable the same way regarding magnetic North-related directions N, E, S, W as FIG. 4. Since FIG. 4 assumes the user-inconvient case of no tilt whenever, achieving the same result depicted in FIG. 7 by fully correcting for actual tilt confers a substantial benefit.
  • Subsequently, a run-time post-calibration process measures a current heading angle ψ with the e-compass 1150 in tilted position. The readings are transformed first to a 3D (three-dimensional) coarsely de-tilted position by electronically multiplying ζ−1 (Zeta-inverse) from accelerometer 1140 times e-compass sensor outputs Hm′ as in Equation (6). Then the electronic processing operations correct for coarse detilting estimation error ζ−1*Ω, such as by applying Equation (10) to de-rotate by the tilt angle ξ that was previously determined at calibration time. The detilted measurement HX m′″, HX m′″ is then used to obtain precise orientations, i.e., current measured heading angle w by the electronic processor executing Equation (4).
  • FIGS. 4, 5, 6, and 7 depict the ellipse fit of FIG. 4 of a circular motion for a perfectly horizontal e-compass mounting, the ellipse fit of FIG. 5 of a tilted mounting, the ellipse fit of FIG. 6 corresponding to coarse de-tilting and FIG. 7 showing the fully detilted result after the correction for tilt angle ξ of FIG. 6. To illustrate advantageous operation, an experiment was carried out on a rotary table as in FIG. 10, giving it a controlled tilt. The tilt was estimated using an accelerometer 1140 output mounted on the same plane as the e-compass 1150. The table of FIG. 10 was first rotated continuously at 5 rpm, to get measured data to which an ellipse shape is fitted. Next, the table of FIG. 10 was rotated at intervals of 45° and readings were taken at state of rest. The orientation, i.e. heading angle ψ, was calculated by coarsely de-tilting the e-compass data using accelerometer 1140 tilt information. Next, the correction step in the embodiment to de-rotate tilt angle ξ as taught herein was enabled and the heading angle ψ was again calculated.
  • FIG. 8 shows and demonstrates advantageous operation of the embodiment over a method that uses accelerometer 1140 data for coarse detilting without the additional tilt correction for tilt angle ξ of FIG. 6. The orientation error in estimation of heading angle ψ is less with the process embodiment that performed the additional tilt correction for tilt angle ξ of FIG. 6. For some of the points the error reduction was as much as 0.6 degree, and the percentage error reduction was on the order of 25%, more or less. The process embodiment substantially reduces or substantially eliminates the orientation error due to tilt estimation inaccuracy of accelerometer 1140.
  • For manufacture and operation, the process embodiment described above is expected to be economical and readily detected and tested for a first kind of embodiment herein that includes an accelerometer-based de-tilting step. Accelerometer 1140 operation is verified by enabling and disabling the accelerometer 1140 so that the e-compass 1150 raw data reading is or is not de-tilted. For even small tilts, the orientation estimates from e-compass 1150 can be expected to depart from specified accuracy by an error proportional to the tilt angle for testing purposes if the accelerometer 1140 is disabled or decoupled from the improved IMU process. Measuring the direction accuracy of a marginally tilted e-compass 1150 in the absence of the accelerometer 1140 indicates whether the accelerometer is supporting the heading measurement process. Then the further tilt elimination step is activated or inactivated with the accelerometer 1140 active and accessible so that the test demonstrates presence or absence of augmented measured heading accuracy by the e-compass 1150 as in FIG. 8. When the further tilt elimination step is activated, with the accelerometer active and accessible, the overall process accurately corrects for tilt error and provides improved estimates for Hard Iron disturbers, as well as accurately compensating for tilt induced errors in e-compass 1150 even in the presence of small non-idealities of accelerometer 1140 sensors.
  • A second, alternative embodiment herein works well for a range of tilts (especially small tilts) even without accelerometer, by estimating the tilt angle of a best-fitting ellipse to data even without de-tilting using accelerometer data. That tilt angle of the best-fitting ellipse is directly subjected to correction and reduction to zero according to such process embodiment without using the accelerometer for de-tilting first. This embodiment of the process is tested with an accelerometer 1140 decoupled from the process by blocking accelerometer access or omitting the accelerometer itself from the structure with which the process is associated. Then the process is tested by rotating the e-compass 1150 to demonstrate that the estimates of orientation are accurate to a specified level of accuracy for the testing purposes for at least small tilts even in absence of the accelerometer.
  • In FIG. 9, a calibration process embodiment commences with a BEGIN 2505 and proceeds to display an instruction to user in a step 2510 to hold the device or platform at rest docked on a test stand, vehicle, carrier, or charger, or docked on a belt clip of the user at some arbitrary tilt. The user or tester complies with instruction and holds the device or platform at rest. A process step 2520 first verifies that the accelerometer 1140 output fm(k)=[fx m(k) fy m (k) f z m(k)]T has become stable, indicating that the device or platform is indeed at rest. An example of stability determination checks that plural samples of accelerometer data over at least a specified period of time (e.g., about a second or a few seconds) are all within a predetermined amount of variability indicated by a variability metric such as sum of squared differences of like data components from accelerometer, sum of absolute difference values thereof, etc. Process step 2520 then estimates the tilt, such as angles for Pitch φ and Roll θ as described in Appendix I. Tilt information such as an accelerometer estimate of tilt transformation matrix ζ or its inverse ζ−1 or some other accelerometer sensor information from which the tilt transformation matrix θ or its inverse ζ−1 can be computed. See, e.g., Appendix II Equation (A2-3) combined with Appendix I Equation (A1-6).
  • A succeeding step 2525 displays an instruction to user to move the device or platform with an e-compass 1150 in circles. Such data approximates an ellipse. If this calibration process is performed in a manufacturing process for making a portable, including mobile, device as device or platform with the e-compass, the device or platform is mounted on a rotatable test stand as in FIG. 10 and rotated around the axis of tilt a few times to capture data from e-compass 1150. Or the e-compass 1150 can have a recess to journal rotatably on a fixed pivot stud of a fixed test stand or automotive mount. Then the mobile device is rotated on the pivot stud. There is no need to maintain a fixed center of rotation for the approximate circle or random circle or trajectory through which the user turns the device or platform. A vehicle having the e-compass can be driven in a circle or figure-8.
  • Preferably, at least one turn of the device or platform relative to the environment is thus performed. A step 2535 de-tilts the e-compass 1150 data HM′ based on the accelerometer tilt data ζ from step 2520 inverted such as using Equation (6) HM″=ζ−1*HM′. This de-tilt step 2535 amounts to a coarse de-tilt because the accelerometer based de-tilting is expected to be subject to enough error to introduce inaccuracy. In other words, in the event of inadequate tilt compensation, the ellipse of FIG. 6 that fits the data thus compensated can be expected to bear a residual tilt angle ξ with respect to the 2D Cartesian coordinates relative to which the ellipse mathematically is situated.
  • In FIG. 9, a subsequent step 2540 fits an ellipse to the coarsely de-tilted data from coarse de-tilting 2535. The fitted ellipse as in FIG. 6 is tilted from its coordinate axes by the above-mentioned tilt error ξ. In the absence of hard iron M and soft iron magnetic disturbers and differences or variations (gain errors) in the sensitivity SC of the magnetic sensors relative to each other in the e-compass 1150, the fitted ellipse would be a circle with its center at the origin of coordinates. In actuality, when the X and Y magnetic sensors have gain errors, the data approximates an ellipse. When a fixed disturber is present, such as a hard iron magnetic disturber, the ellipse that fits the data has its center displaced from the origin to a point (Mx, My). Also, tilting the e-compass 1150 from the horizontal, and then coarsely or inaccurately compensating for the tilt as just described, leaves a residual tilt error that shows up as a residual tilt angle ξ. Tilt angle ξ is the tilt angle of the minor or major axis of that data-fitted ellipse relative to the angularly-nearest coordinate axis to which such minor or major axis would otherwise be parallel.
  • In the process embodiment of FIG. 9, a numerical value of residual tilt angle ξ of the ellipse is estimated by a step 2545 using any available ellipse fitting process or algorithm and stored to Flash Memory 2548 for post-calibration use in FIG. 11. Even though the actual tilt matrix Ω of Equation (5) is unknown, and the accelerometer tilt data ζ from step 2520 is a less than fully accurate estimate of the actual tilt matrix Ω measured tilt error ξ of the fitted ellipse beneficially provides information to quite substantially reduce the inaccuracy in the estimate of physical tilt represented by the accelerometer tilt data ζ. Post-calibration use of measured tilt error ξ stored in Flash Memory 2548 in FIG. 11 is uncomplicated and convenient.
  • Further in FIG. 9, the coarsely de-tilted magnetic values Hm″ are further de-rotated in a step 2550 by residual tilt angle ξ. Step 2550 performs this second de-tilting operation on the fitted ellipse by de-rotating the fitted ellipse back through the residual tilt angle ξ, see discussion of Equation (10) and Appendix II. After the de-rotation the minor or major axis of that data-fitted tilted ellipse of FIG. 6 becomes parallel to the nearest coordinate axis. Thus, a zero-tilt ellipse of FIG. 7 results from this second tilt compensation step 2550.
  • A further step 2555 generates the center coordinate values (Mx, My) and the measured values for minor axis and major axis of the de-rotated fitted zero-tilt ellipse resulting from the second de-tilting step 2550. The thus-measured center coordinate values provide hard iron correction components (Mx, My) for the fixed magnetic disturber, and the minor axis and major axis length values are proportional to the relative sensor sensitivity values SCx and SCy of the X and Y magnetic sensors. In step 2555, 2D (two-dimensional) fixed disturber values and a ratio of sensor sensitivities are estimated from the center coordinates of the fitted ellipse and a ratio R computed from the lengths of the major and minor axes. The ratio R of the ellipse axes is a measure of the ratio of sensitivities for the X, Y magnetic sensors assigned to those axes, and ratio R measures gain error when the ratio R departs from unity (1.00). After step 2555, a RETURN 2590 is reached.
  • In FIG. 11, a process embodiment provides post-calibration regular operation of the device or platform with the e-compass 1150. Accelerometer 1140, e-compass 1150, and Flash Memory 2548 have the same drawing numerals in FIG. 11 as in FIG. 9 because the process embodiments apply to the same device used in different ways. This post-calibration process embodiment commences with a BEGIN 2805 and proceeds to display an instruction to user in a step 2810 to find the heading ψ by holding the device or platform still, to take a heading. Also, the device can be made stationary or at rest docked on a test stand, in a vehicle, carrier, or charger, or docked on a belt clip of the user at some arbitrary tilt when the user is standing still. Step 2810 can be omitted in devices that operate to continually determine the heading.
  • A process step 2820 first verifies that the accelerometer output has become stable at rest, such as by determining that plural samples of accelerometer data over at least a specified period of time are all within a predetermined amount of variability indicated by a variability metric. A sum of squared differences of like data components from accelerometer, or sum say of absolute difference values thereof, etc., can be used as a variability metric. Process step 2820 then estimates the tilt, such as angles for Pitch φ and Roll θ. Based on accelerometer 1140 sensor data at rest, step 2820 generates tilt information such as tilt transformation matrix ζ or its inverse ζ−1 or some other accelerometer sensor-based information from which the tilt transformation matrix ζ or its inverse ζ−1 can be computed.
  • A step 2835 de-tilts the e-compass data HM based on the accelerometer tilt matrix ζ from step 2820 inverted such as by the electronic processor programmed with and executing Equation (6) HM″=ζ−1*HM′. This de-tilt step 2835 amounts to a coarse de-tilt because the accelerometer tilt data is expected to be subject to enough tilt error ξ to introduce inaccuracy. In this way, the e-compass readings are captured and de-tilted coarsely using the tilt estimate from the accelerometer 1140.
  • In the process embodiment of FIG. 11, calibrated residual tilt angled earlier stored by FIG. 9 step 2545 is retrieved from Flash memory 2548 by a step 2850 of FIG. 11 in post-calibration operation for post-calibration heading measurement. Even though the actual tilt matrix Ω of Equation (5) is unknown precisely, the accelerometer tilt data ζ and/or angle estimates φ̂, θ̂ from step 2820 can be used to provide an approximate estimate of the actual tilt matrix Ω. Then the calibrated residual tilt angle ξ from FIG. 9 beneficially provides information to quite substantially reduce in step 2850 the inaccuracy in the estimate of tilt represented by the accelerometer tilt data ζ. Step 2850 performs a second de-tilting operation on a data point Hm″ by de-rotating that data point using the calibrated residual tilt angle , see discussion of Equation (10).
  • A further step 2860 retrieves the calibrated center coordinate values, i.e. hard iron offset values (Mx, My), and retrieves Ratio R=Sy/Sx from flash memory 2548. These values (Mx, My) represent the Hard Iron effect and are independent of tilt and orientation toward magnetic North. The ratio R represents the ratio of sensitivities for the X, Y magnetic sensors assigned to those axes, and ratio R measures gain error when the ratio R departs from unity (1.00). These stored parameters are taken from the zero tilt ellipse after fine compensation in the calibration process of FIG. 9. Step 2860 generates and reads out the measured heading angle ψ′ (psi-prime) such as by using the arctangent Equation (12) with the calibration values retrieved from flash memory 2548:

  • ψ′=arctan(((H Y m′″ −M y)/(H X m′″ −M x))/R)   (12)
  • In FIG. 11, another process embodiment is capable of correcting for small physical tilts ψ even in the absence of an accelerometer or other tilt sensor. In that case, operations take an e-compass reading (data point Hm′) in step 2810 and then bypass steps 2820 and 2835 and go directly to step 2850. In a step 2850, operations obtain a value of tilt angle ξ from Flash 2548 assuming, e.g., Pitch φ=0 and Roll θ=0. Then the data point Hm′ is de-rotated by angle ξ directly. Steps 2860-2890 are as described above.
  • A 3D analysis of e-compass calibration including tilt correction is provided next. Additional process embodiments are described which also have calibration process embodiments parallel to FIG. 9 and post-calibration run time process embodiments parallel to FIG. 11. Let the e-compass 1150 sensor axes be physically parallel to the accelerometer 1140 sensor axes. If this is not the case, an additional tilt matrix Ω3 is provided.
  • With a tilt compensation error, the uncompensated 3D rotation matrix can be written as in Equation (7).
  • T uncompensated = [ 1 a b - a 1 - c - b c 1 ] ( 7 )
  • In 2D a process embodiment uses the XY axes information, and extracts the 2D structure corresponding to XY axes:
  • [ 1 a - a 1 ]
  • The matrix element “a” is computed according to:

  • a=tan(−ξxy),   (7a)
  • where ξxy is the angle made by the XY ellipse (Y value vs X value) major axes with X-axis.
  • In 3D, an augmented process embodiment similarly computes matrix element “b” according to:

  • b=tan(−ξxz)   (7b)
  • where ξxy is the angle made by the XZ ellipse (Z value vs X value) major axes with X-axis.
  • And, a further 3D augmented process embodiment analogously computes matrix element “c” according to:

  • c=tan(ξyz)   (7c)
  • where ξyz is the angle made by the YZ ellipse (Y value vs Z value) major axes with Y-axis.
  • The 3D vector after basic tilt compensation is further de-tilted by matrix Tuncompensated.
  • The 3D description turns to a further 3D matrix-based ellipsoidal analysis, with discussion of applicable centers of de-rotation. In the description herein above, Equation (2) involves a vector sum of fixed magnetic disturber vector M=[X0, Y0, Z0]T and a product of the actual earth's magnetic field vector H=[Hh, Hv]T used to find magnetic North, times a direction matrix D representing the orientation of the horizontal e-compass at heading angle ψ, times an e-compass sensitivity matrix SC representing the relative sensitivities of the e-compass sensors when the e-compass is level-horizontal:

  • H m =S C *D*H+M.   (2)
  • The ellipse shape is deduced by manipulating equations (1A) and (1B), and then squaring and adding so that the analytic geometry equation for an ellipse, without tilt, is revealed:

  • [(H X m −X0)/S x]2+[(H Y m −Y0)/S y]2 =H h 2(cos2 ψ+sin2 ψ)=H h 2   (15)
  • To deal with the more complex 3D case involving the relationship of physical tilt to graphical tilt, it is useful to first express the full matrix equation for a three-dimensional (3D) ellipsoid when the e-compass is level-horizontal, un-tilted:

  • (H m −M)T *S C −1 T *S C −1*(H m −M)=∥D*H∥ 2   (16)
  • Equation (16) expresses the constancy of the magnitude ∥D*H∥ of Earth's 3D magnetic field vector in the locality of the e-compass 1150 regardless of the e-compass heading-related 3D measurement sensor vector Hm and disregarding the hard iron magnetic disturber M and disregarding any soft iron.
  • Designate the magnetic field of the actual hard iron magnetic disturber relative to the e-compass by a vector M0. Then write Equation (2.1) for an e-compass at horizontal-level (no tilt). Comparing equations (2) and (2.1), M=SC*M0.

  • H m =S C*(D*H+M 0).   (2.1)
  • Equation (5) earlier above is useful, for instance, when the e-compass 1150 is in an automobile can be hard iron is a permanent magnet of the loudspeaker in a car entertainment system. It is primarily desired to determine the heading of the level car itself, and the heading of the e-compass is an intermediate matter. The e-compass 1150 may be mounted with a physical tilt Ω1, such as due to assembly variations in automotive manufacturer or retrofit installation of the e-compass, and Equation (2.2) applies. In other words, it is desired to compensate for the physical tilt Ω1 of the e-compass relative to the car (or handheld portable device in other examples), and therefore the e-compass is graphically de-rotated by the electronic process relative to the hard iron M. Accordingly, the hard iron component M is graphically affected by the rotation, as discussed earlier herein above.

  • H m′ =S C1*(D*H+M 0).   (2.2)
  • An alternative process segment involving below Equation (5.1) is useful, for instance, when the e-compass 1150 is in an automobile and the hard iron is a permanent magnet of the loudspeaker in a car entertainment system. When it desired to determine the heading of the car on a hill wherein the car itself is tilted according to a physical tilt matrix Ω2 that is distinct from the possible physical tilt Ω1 of the e-compass relative to the car. The e-compass 1150 is securely mounted relative to the rest of the car, and the hard iron is securely mounted also. In such case the physical tilt Ω2 of the car on the hill is eliminated by de-rotation as in Equations (5.3) and (23) using the hard iron coordinates M (ellipsoid center) as pivot point because the hard iron is unchanging with tilt as in Equation (5.1).
  • Tilt Ω2 directly affects the orientation of the e-compass sensors relative to the Earth's 3D magnetic field D*H impinging on the e-compass sensors. However, the hard iron magnetic field in relation to the e-compass sensors is independent of the 3D tilt Ω2, (e.g., tilted car). Tilt Ω2 pre-multiplies the Earth's magnetic field and post-multiplies the sensitivity matrix SC in Equation (5.1). Compare with Equation (5) earlier herein above.

  • H m′ =S C2 *D*H+M.   (5.1)
  • Solving Equation (5.1) for the Earth's 3D magnetic field yields Equation (5.2).

  • D*H=Ω 2 −1 *S C −1*(H m′ −M).   (5.2)
  • To further deal with the more complex case involving the relationship of physical tilt Ω2 to graphical tilt, it is useful now to rewrite the full matrix equation for a three-dimensional (3D) ellipsoid using equation (5.2) when the e-compass is physically tilted according to physical tilt matrix Ω2:

  • (H m′ −M)T S C −1 T2 −1 T2 −1 *S C −1*(H m′ −M)=∥D*H∥ 2   (17)
  • Like Equation (16), Equation (17) expresses the constancy of the magnitude ∥D*H∥ of Earth's 3D magnetic field vector in the locality of the e-compass, but this time regardless of the tilted e-compass 3D measurement sensor vector Hm′ and disregarding the hard iron magnetic disturber M and disregarding any soft iron.
  • Following the general approach described earlier herein above, the 3D analysis here recognizes that the precise matrix entry values of tilt Ω2 are unknown but are approximated by accelerometer tilt-sensor-based matrix Zeta ζ. The as-yet un-determined approximation error as between physical tilt Ω and tilt-sensor-based matrix Zeta ζ is ζ−12, the same as expressed in Equation (6). Note that physical tilt Ω2 in terms of tilt-sensor-based matrix Zeta ζ and its approximation error then is

  • Ω2=ζ*(ζ−12)   (18)
  • Substituting Equation (18) into Equations (5.2) and (17) establishes the respectively equivalent forms (5.3) for Earth's magnetic field and (17.1) for the 3D ellipsoid expressing constancy of magnitude.

  • D*H=(ζ*(ζ−12))−1 *S C −1*(H m′ −M)   (5.3)

  • (H m′ −M)T S C −1 T*(ζ*(ζ−12))−1 T*(ζ*(ζ−12))−1 *S C −1*(H m′ −M)=∥D*H∥ 2   (17.1)
  • Note however, that the use of the Zeta matrix in equation (17.1) is as if Zeta were a physical rotation itself. Indeed, Zeta is measured by the tilt sensor were accelerometer 1140 as a physical measurement. However, when used for coarse detilting of e-compass sensor data, Zeta is used for graphical detilting. It remains to be seen whether graphical rotation occupies the same place in the matrix equations. At this point, it remains to express equation (17.1) in terms of a 3D rotation matrix R that graphically tilts or detilts an ellipsoid. Recall that FIGS. 4-7 have 2D x,y-coordinate axes for actual e-compass sensor measurements Hm′. The ellipsoid of Equation (17.1) is also expressed in terms of actual e-compass sensor measurements Hm′ except that they are in 3D. Rotating the ellipsoid graphically in 3D means applying a coordinate transformation matrix, or rotation matrix R. Mathematically, an appropriate point around which the rotation is applied is now selected, called a pivot point herein.
  • Note that two different pivot points for processes of de-rotation might be:
  • Origin: rotation of the ellipsoid center pivoting around the origin (0,0) in 2D or (0,0,0) in 3D. This type of rotation is effectuated by substituting the matrix product R*Hm′ in place of the sensor measurement points Hm′. Because the sensor measurement points Hm′ have the origin as their distance-zero point, the matrix product R*Hm′ represents rotation around the origin.
  • Ellipsoid center or ellipse center: rotation of the ellipsoid or ellipse around its own center, e.g., by a 2D angle (−ξ) pivoting around the ellipse center (X0, Y0). This type of rotation is effectuated by substituting the matrix product R*(Hm′−M) in place of the sensor measurement points (Hm′−M) referred to the center. It is not unreasonable to suppose a pivot point P=M at the ellipse center because the 2D tilt angle ξ is also the angle of the ellipse major axis with a line through the ellipse center parallel the x-coordinate axis. Moreover, hard iron M is unaffected by physical tilt, so there is no reason to think that rotation should affect a measurement Hm′=M hypothetically taken in the absence of the Earth's magnetic field. The effect of hard iron is removed by substituting the matrix product R*(Hm′−M) in place of the sensor measurement points (Hm′−M) referred to the ellipse center.
  • In Equation (10), the Origin (0,0) point “1” above is implicitly adopted as the pivot point for de-rotation. That the origin is the point adopted is evident because a rotation matrix to rotate in 2D by (−ξ) is applied directly to the coarsely detilted coordinate values HX m″, HY m″ in FIG. 6 to go to FIG. 7. This process segment is useful, for instance, when the e-compass 1150 is in an automobile can be hard iron is a permanent magnet of the loudspeaker in a car entertainment system, as already mentioned, and it is primarily desired to determine the heading of the level car itself, and the heading of the e-compass is an intermediate matter. In such case the tilt Ω1 is eliminated by de-rotation through an angle ξ1 as in Equation (10) using the origin (0,0) as pivot point. In other words, it is desired to compensate for the physical tilt Ω1 of the e-compass relative to the car (or handheld portable device in other examples), and therefore the e-compass is graphically de-rotated by the electronic process relative to the hard iron M.
  • In some other embodiments, the ellipsoid center (pivot point “2” above) is selected as the pivot point. Desirably, the effect of hard iron is removed by substituting the matrix product R*(Hm′−M) in place of the sensor measurement points (Hm′−M) referred to the ellipse center. This alternative process segment is also useful, for instance, when it is primarily desired to determine the heading of the car on a hill wherein the car itself is tilted according to a physical tilt matrix Ω2 that is distinct from the physical tilt Ω1 of the e-compass relative to the car. In such case the physical tilt Ω2 of the car on the hill is eliminated by de-rotation as in Equations (5.3) and (23) using the hard iron coordinates M (ellipsoid center) as pivot point. In other words, it is desired to compensate for the physical tilt Ω2 of the car, and therefore the e-compass is graphically de-rotated through a tilt angle ξ2 by the electronic process, and in the reference frame of the e-compass the hard iron is unchanging. Accordingly, the hard iron component is not graphically affected by the rotation.
  • In a third type of embodiment, both these process segments are combined. Calibration provides a measured physical tilt ζ1 and a first tilt angle ξ1 for the tilted e-compass relative to the car, with the car level, to correct for the physical tilt Ω1. Coarse de-tilting, if used, first applies ζ1 −1 per Equation (6) prior to de-rotating by first tilt angle ξ1. Calibration then provides a second tilt angle ξ2 with the car itself tilted to correct for the physical tilt Ω2. Post-calibration heading determination first de-rotates around the origin using first tilt angle ξ1 to compensate for the physical tilt Ω1 of the e-compass relative to the car. Then the post-calibration process, secondly, de-rotates around the ellipse center M using second tilt angle ξ2 to compensate for the physical tilt Ω2 of the car on a hill. Note that overall physical tilt Ω is the product Ω2 Ω1. In post-calibration use with the car itself tilted, the measured physical tilt ζm from accelerometer 1140 is a composite ζ21 , and so, for the second coarse de-tilt pre-multiply by ζ2 −1=(ζm −11)prior to secondly de-rotating around the ellipse center M using second tilt angle ξ2. In this way, various process embodiments robustly provide more accurate e-compass heading measurement for a variety of products and physical conditions of manufacture and use.
  • Description continues here with analysis using the ellipsoid center M as the pivot point for detilting the tilt Ω2. Apply a 3D graphical rotation R after first performing coarse detilting by a graphical rotation ζ−1 on the e-compass ellipsoid using expression (17.2).

  • (H m′ −M)Tζ−1 T *R T *S C −1 T *S C −1 *R*ζ −1*(H m′ −M)=∥D*H∥ 2   (17.2)
  • Now determine what, if any, 3D graphical rotation R, thus applied, is equivalent to that of fully compensated ellipsoid in Equation (17.1):
  • ( H m - M ) T ζ - 1 T * R T * S C - 1 T * S C - 1 * R * ζ - 1 * ( H m - M ) = ( H m - M ) T S C - 1 T * ( ζ * ( ζ - 1 * Ω 2 ) ) - 1 T * ( ζ * ( ζ - 1 * Ω 2 ) ) - 1 * S C - 1 * ( H m - M ) = D * H 2 ( 17.3 )
  • Evidently, to establish that equivalent relationship (17.3) between expression (17.2) and equation (17.1),

  • S C −1 *R*ζ −1*(H m′ −M)=(ζ*(ζ−12))−1 *S C −1*(H m′ −M)   (19)

  • and

  • S C −1 *R*ζ −1=(ζ*(ζ−12))−1 *S C −1   (20)
  • Solving for rotation matrix R yields

  • R=S C*(ζ−1* Ω2)−1−1 *S C −1*ζ  (21)
  • Notice that all the matrices in Equation (21) are 3×3 square, and in the special case wherein the sensitivity matrix is diagonal, which is reasonable in most practical scenarios, cancellations occur and the rotation matrix is about the same as the inverse of the approximation error of physical tilt sensor matrix ζ to actual physical tilt Ω:

  • R˜=(ζ−12)−1   (21.1)
  • In some embodiments and applications, the actual physical tilt Ω2 is known to be small, and so the identity matrix I is a good approximation ζ to actual physical tilt Ω2. Substituting identity matrix I in place of estimated tilt matrix ζ in equation (21.1) establishes that the rotation matrix R should itself be equal to the inverse Ω2 −1 of the physical tilt. Then Equation (22) is used directly without accelerometer 1140 or tilt sensor input.
  • In 3D, rotation matrix R is a 3×3 matrix. Some embodiments perform 2D ellipse fitting as in FIG. 6 to recover the tilt angle ξ2 to cancel physical tilt Ω2 using Equation (22). The a, b, c matrix entries involve one or more tilt angles ξ2 for XY, XZ, YZ and track Equations (7a), (7b), (7c).
  • ( ζ - 1 * Ω 2 ) - 1 = [ 1 - a - b a 1 c b - c 1 ] ( 22 )
  • E-compass heading information is embedded in matrix D*H, which is recovered for any given calibration point, or in a post-calibration heading measurement process by using part of Equation (19) rewritten next as Equation (23):

  • D*H=S C −1 *R*ζ −1*(H m′ −M)   (23)
  • The heading angle ψ is computed using Equation (4) based on the results of Equation (23).
  • Description next turns to the topic of systems combining e-compass and navigation applications. Some embodiments include inertial navigation based on a miniature Gyro 1170 that has small dimensions on the order of 1 cm or less for portable applications. Gyro 1170 establishes an inertial reference with respect to which acceleration can be directly measured by an accelerometer 1140 in inertial coordinates. Some embodiments include inertial navigation without Gyro 1170 and additionally utilize heading information from the e-compass 1150 together with accelerometer 1140 outputs as discussed next.
  • A classical inertial navigation system (INS) technology is based on gyroscope 1170 and accelerometer 1140 sensors. For example, accelerometer 1140 can be assembled together with three miniature, perpendicular-mounted gyroscopes pivoted on gimbals and thus provide an inertial platform that maintains pre-established directions of accelerometer sensor axes no matter how a vehicle moves, rotates, or generally changes direction of motion due to yaw, pitch and roll. By contrast, e-compass has a miniature form factor and potentially low cost and can find its own space of application.
  • In recent years with the advent of MEMS e-compass (micro-electromechanical system electronic compass) technology it is now possible to achieve convenient, low-cost electronic compassing in consumer and commercial portable applications. MEMS based accelerometers 1140 and e-compasses 1150 are low cost feasible options to provide navigation assistance to GPS for short durations. With GPS now available on cell phones 2010 an IMU (Inertial measurement unit) having e-compass and accelerometers can increasingly share the cell phone market for GPS-assisted applications as well.
  • A MEMS accelerometer 1140 can be held stationary relative to the Earth's surface or held stationary in a vehicle 2095 moving in a constant velocity in a straight line. Calibration of the MEMS accelerometer beneficially takes advantage of the constancy of direction and magnitude of gravitational acceleration vector g as illustrated in FIG. 3. The MEMS accelerometer measures tilt with respect to the vertical. Any position in a cone-shaped set of orientations has identical tilt with respect to the vertical (direction of g) and yields the same accelerometer sensor outputs in the device reference frame.
  • These different orientations, however, have different headings or directions relative to the Earth's magnetic field vector H as shown in FIG. 3. The Earth's magnetic field vector H has constant direction and may also have constant magnitude over a substantial distance and over a period of time, that a portable device or platform can be moved, subject to certain qualifications as discussed more fully herein. In other words, the Earth's magnetic field H has the same direction in a locality, independent of rotation, acceleration or other motion of the portable device. The e-compass 1150 has sensors that can beneficially measure the intensity and direction of the Earth's magnetic field vector H. The gravitational acceleration vector g and the Earth's magnetic field vector H have substantially distinct directions, so they define a geometric plane which has a third vector H x g perpendicular to the plane (where operation x signifies vector cross product) and pointing horizontally East relative to magnetic North. The three vectors g, H, H x g constitute a sufficient, but generally non-orthogonal, set of basis vectors to establish a coordinate system. Moreover, as depicted in FIG. 3, an orthogonal set of basis vectors is established by the set of three vectors {(g x H) x g, g x H, g} wherein the basis vector (g x H) x g points horizontally to magnetic North, the basis vector g x H points horizontally East, and the basis vector g points vertically down. This set of orthogonal basis vectors also constitutes a North-East-Down (NED) coordinate system.
  • Portable device embodiments with MEMS accelerometer and MEMS e-compass and processor operable as described herein thereby establish convenient, low-cost inertial platform with basis vectors analogous to the basis vectors established by three gyroscopes in a Gyro 1170 supported inertial platform. Notice that, in general, the basis vectors g and H do not need to be perpendicular for satisfactory programming and operation of embodiments herein with MEMS accelerometer and MEMS e-compass and processor.
  • A MEMS accelerometer is suitably calibrated to measure gravitational acceleration by any suitable method such as any method disclosed in U.S. patent application Ser. titled “Parameter Estimation for Accelerometers, Processes, Circuits, Devices and Systems” Ser. No. ______ (TI-65353) filed on even date herewith, and said U.S. patent application Ser. is incorporated herein by reference in its entirety.
  • At run-time after calibration, the accelerometer sensor outputs of the tilted device or platform are processed by any processor in system 1700 of FIG. 2 to deliver a measured tilt angle of the device or platform as discussed elsewhere herein. Notice that the accelerometer sensors are mounted substantially perpendicular to one another and thereby define substantially perpendicular axes that constitute the accelerometer reference frame that is securely affixed to the portable device as a whole. The accelerometer sensor outputs accordingly deliver measured acceleration components relative to the accelerometer reference frame. The accelerometer reference frame is distinct from NED frame.
  • Heading information from the e-compass is suitably used herein to convert the acceleration relative to the accelerometer reference frame to acceleration in a NED reference frame. In this way, the accelerometer plus e-compass provides positioning that can be combined or blended with GPS information and provide a low-cost, miniature inertial platform alternative to gyroscope-and-accelerometer inertial systems. GPS information is blended with either or both of accelerometer and/or e-compass in some of the embodiments.
  • For navigation about the local NED frame, notice that the e-compass 1150 sensors are used to represent the magnetic field vector H in the reference frame of the e-compass in a way analogous to the way the gravitational acceleration vector g is determined by processing for the accelerometer 1140 data in incorporated patent application Ser. No. ______ (TI-65353). Accordingly, detilting does not need to be used at this point since determination of heading y is not involved at this point of the process. The magnetic field vector H is established in the reference frame of the e-compass 1150, and the gravitational acceleration vector g is established in the reference frame of the accelerometer 1140 that is rigidly related to the e-compass 1150. Consequently, a NED reference frame is then readily determined by electronically executing the vector cross products defining that NED reference frame.
  • In this way, a fully solid-state navigation system is provided. Even in systems having gyro 1170, operations using the solid-state INS approach contribute to power savings through smart power management that temporarily, selectively and intelligently powers down and powers up different parts of the entire system to accomplish the system functions in an optimally power managed way. Of course, the presence of hard iron and potential soft iron disturbers should be accounted for in the electronic processing. The hard iron is calibrated out as taught herein. Soft iron is detected and processed out by using the processor and memory to electronically maintain a history of magnetic field measurements over a long enough period of time for magnetic fields variations due to soft iron to be detected and prevented from corrupting the measurements of the Earth's magnetic field vector H.
  • For position sensing, even across rather extensive portions of the Earth from the viewpoint of a portable device, GPS can provide updates to correct the positions and the e-compass calibration is occasionally updated. Accordingly, for portable applications it is reasonable to assume a constant direction of the magnetic field vector H over the range of motion of the portable device since a sufficiently-recent calibration in a given locality, and subject to hard iron and soft iron processing.
  • Embodiments of method and system herein remove the necessity of accurately orienting the e-compass 1150. Instead, e-compass 1150 readings at rest in different, imprecise or unspecified, freely-establishable orientations are conveniently taken. Precise or specific postures need not be prescribed nor relied upon while taking these readings. The cell phone 2010, PDA 2096, or other portable device can be placed in different orientations of FIG. 10.
  • Various embodiments work on the datasets signaled by e-compass 1150 at different imprecise, unspecified, non-specific or unknown orientations and nevertheless can estimate and use best-fit values for various accelerometer parameters, such as the axes gains, hard iron offsets Mx, My, Mz, tilt angle ξ, etc. Various technology types of e-compass 1150 sensors can be employed.
  • In FIG. 12, operations in this convenient approach commence in response to a step 3210 wherein the user clicks an icon, or recalibration item on a menu display of the portable device, or otherwise prompts a fetch of recalibration software as improved herein. Calibration of the e-compass 1150 can be performed before deploying a particular post-calibration application, e.g., heading determination and/or Inertial Navigation assisted vehicle navigation and/or Pedestrian Navigation. Also, a parallel step 3220 responds to any internal prompt from the system software requesting recalibration software operation. Any of a suite of navigation applications 3224 can request e-compass 1150 recalibration on processor 3222, or the operating system software or driver can call for recalibration when a navigation application is about to be launched. If substantial time has passed since last recalibration, as measured by Date/Time RTC 3226, or the e-compass 1150 has never been calibrated as indicated by calibration parameters set to their original initialization values, then an internal flag is set for processor 3222 to generate an internal prompt. A substantial change in the environment, such as a temperature change or voltage regulator voltage change, or other change, detected by environmental sensor(s) 1160 can also trigger a recalibration request.
  • A succeeding step 3230 cues the user such as by display messages and/or audible instructions calling for the user to position or rotate the e-compass 1150 in different orientations or directions to accumulate data for calibration purposes. Various position assist prompts are suitably given to the user to clarify and facilitate the measurement process. The orientation changes and arrows are applicable to any of the portable devices like PDA/PEU 2096, cell phones 2010 and 2010′, vehicle device 2095, etc.
  • During calibration phase for hard iron, the portable device containing the e-compass is rotated in random circles (for 2D calibration) or, in randomized spherical fashion (for 3D calibration). The portable device is programmed to cue the user with a beep and/or flash when a measurement set is to be taken. Once sufficient data has been gathered a good hard iron calibration has been achieved, the prompt transducer 1180 issues a beep-beep and/or double flash to signal the end of calibration. A single cueing beep can be issued as a reminder if the dataset over a modest interval of time is insufficient to achieve a good hard iron calibration.
  • In step 3240 of FIG. 12, the measurement set is screened or checked for credibility. For instance, operations check for massive data outliers (soft iron) in step 3240. Step 3420 tests whether the data as a whole is close to lying on an ellipse that could be fitted thereto (OK), or not close (NG). If not close (NG), operations discard the measurements or at least the irrelevant outliers, cue the user or tester and, if necessary to get sufficient good data, go back from step 3240 to step 3230 to acquire a satisfactory data set.
  • A further step 3250 performs a calibration calculation of the parameters of the e-compass 1150, such as offsets M and axes gains SC for each of the three e-compass sensors X, Y, Z that best fit with the measurements. A step 3260 performs position sensing calculations that blend the e-compass 1150 information (INS) and GPS position information as in FIG. 13. Then a decision step 3270 determines whether the accuracy of calibration is insufficient as indicated by any substantial unexpected inaccuracy, trend, or drift in position measurement. At first, decision step 3270 determines that the accuracy is sufficient, goes to RETURN 275, and proceeds to perform navigation applications 3224 upon user command or otherwise when launched. However, with passage of time, or with substantial and prolonged temperature changes, or some other factor, decision step 3270 can determine that recalibration is called for, whereupon operations proceed to a step 3280 to prompt the user to decide for recalibration and go to step 3220 or 3210.
  • In FIG. 13, smart phones 2010 and 2010′, such as in third-generation (3G) phone category can include Inertial Navigation as a beneficial navigation feature using MEMS (micro-electromechanical structure) 3-axis accelerometer 1140, gyros and e-compass 1150. MEMS accelerometers are low cost, low power devices that are quite useful in inertial navigation providing information on acceleration along its axes as well as performing as tilt sensors. Inertial navigation for vehicular navigation is however susceptible to accelerometer bias errors and gain errors. The velocity (speed) and the distance traversed by a vehicle 2095, or in pedestrian navigation, are obtained by integrating the accelerometer 1140 output once and twice respectively. Accelerometer 1140 sensor error and e-compass 1150 sensor error, if not compensated appropriately, can produce over time a significant error in velocity and displacement due to time-integration (e.g., see equation (30) described later hereinbelow).
  • FIG. 13 shows an embodiment of structure and process for using accelerometer gain parameter estimates Yxx, Yyy, Yzz and bias parameter estimates μx, μy, μz included in parameters p in a position engine. In FIG. 13, a step 3710 provides estimation of accelerometer gain and bias by calibration or recalibration according to any of the process embodiments described in the incorporated patent application Ser. No. ______, TI-65353.
  • In FIG. 13, a position engine 3720 is provided to receive GPS (Global Positioning System) and accelerometer (Inertial INS) measurements and then blend the inertial output with GPS measurements obtained by a GPS engine 1190 in FIGS. 1-3. Conveniently calibrated MEMS accelerometers 1140 along with e-compass 1150 and/or gyro 1170 herein provide a seamless navigation experience to end users even when GPS visibility is absent or poor, such as when the environment is severely affected by multi-path propagation. Such recalibration thereby delivers a very attractive value-add to GPS-enabled portable devices such as those of FIG. 1 and others described herein. Estimation of accelerometer and e-compass parameters improves runtime acceleration measurement accuracy and dead reckoning of position in the absence of GPS, as well as usefully blending with GPS when GPS has moderate or poor quality. The recalibration processes, circuits, devices, and systems taught herein can be accurate, reliable, and easy to use.
  • Accurate parameter estimates of a given INS system including accelerometer 1140 and Gyro 1170 and e-compass 1150 help to define the state initialization for a position engine 3720 that combines GPS input and INS outputs. Accelerometer parameters 3710 are applied to Tilt Compensation Process 3930 in FIG. 13 to calibrate e-compass 1150 and/or Gyro 1170 according to any of the tilt compensation embodiments taught herein.
  • A concept of blending is motivated by a process for combining information that adds a most-recent GPS position xgps and velocity vgps to twice-integrated corrected acceleration in navigation frame according to equation (30):
  • x blend ( t ) = x gps + ( t - t gps ) v gps + tgps t tgps t C * [ g - Y * ( f m - μ ) ] t t ( 30 )
  • In equation (30), the double-integral performs definite integration twice of the computed actual acceleration with respect to time t, starting with the time tgps of a most-recent GPS vector position measurement xgps and most-recent vector velocity measurement vgps. The blended vector position output xblend(t) from position engine 3720 pertaining to a given time t is the sum of the most-recent GPS vector position measurement xgps (GPS input of FIG. 13) added to the product of vector velocity vgps times time since last velocity measurement, and further added to the double-integral of the estimated true acceleration in the NED frame in FIG. 13. The measured accelerometer sensor inputs fm are corrected by a processor in FIG. 1 or 2 applying gain parameter estimates Yxx, Yyy, Yzz and bias parameter estimates μx , μy , μz from step 3710 as shown in equations (30) and (31). The accelerometer measures the gravity vector g with the device or platform at rest, so the acceleration of the device itself is the difference between gravity vector g (essentially unity 1.00) and the compensated measurement Y*(fm−μ) is expressed in the integrand.
  • The e-compass 1150 measures the magnetic vector H, which supports conversion of the acceleration vector for the device itself into the NED frame. A (3×3) matrix C is established of direction cosines of the device reference frame unit vectors in directions X, Y, Z relative to the unit vectors for the NED frame. The direction cosines for (3×3) matrix C are computed by taking the vector inner product of each of the unit vectors for the NED frame with each of the unit vectors of the device reference frame unit vectors, thus producing the nine direction cosines. Conversion of the device acceleration vector [g−Y*(fm−μ)]expressed in terms of the device reference frame into the locally-inertial frame is performed by a matrix multiplication of the matrix C of direction cosines times [g−Y*(fm−μ)].
  • A most recent velocity input vgps is added to integrated corrected acceleration according to equation (31) to obtain blended velocity vblend(l):
  • v blend ( t ) = v gps + tgps t C * [ g - Y * ( f m - μ ) ] t t ( 31 )
  • For greater position accuracy, and to remove the effects of statistical error in various measurements, multiple GPS vector position measurement xgps over occasional times and/or multiple computed actual acceleration measurements over independently-occasional time in some embodiments are instead combined using a Kalman filter for position engine 3720. Kalman filter processing of time sequence data need not be tediously described here. The point for the purposes of the present description is that a well-defined state initialization is provided by step 3710 with gain parameter estimates Yxx, Yyy, Yzz for the accelerometer and analogous gain parameters for the e-compass , as well as bias parameter estimates μx , μy , μz for the accelerometer and offset parameter estimates Mx, My, Mz for the e-compass. Thus, step 3710 facilitates quick convergence or settling of a Kalman filter for position engine 3720 such as in Inertial Navigation INS applications. In this way, position engine 3720 usefully supplies a blended position output for display or further analysis and use by the navigation application 3670 (2524).
  • In FIG. 14, various system embodiments as described herein are manufactured in a process 4500. Step 4540 provides a particular design and printed wiring board (PWB) of the system 1700 unit having one or more integrated circuits, such as for a modem, a processor coupled to a modem, a controlled power management circuitry, one or more peripherals coupled to the processor, and a user interface coupled to the processor. In steps 4542 and 4545 a storage, such as SDRAM and Flash memory for coupling to on-chip memory, is coupled to the system and has configuration software and initialization parameters according to any of FIGS. 4-14 for an e-compass 1150, as well as navigation applications and other system software.
  • Step 4550 tests operations of the e-compass 1150 and other circuits by confirming rapid and accurate e-compass parameter estimation and measurement corrections, and operations of the integrated circuit(s) and system in actual application. SoC (system on chip) performance and power consumption with processes from any of FIGS. 4-14 and various alternative estimation processes can be compared at the development phase and the most desirable estimation processes selected for a given system. Various embodiments taught herein are respectively attractive for different types of systems at low, medium and high-end performance/marketing points.
  • In step 4550, verification and test operations are applied pertaining to real-time and non-real-time e-compass based operations in navigation applications such as location-based applications, position sensing, velocity sensing, directional heading applications, etc. Other test operations involve power management, various real-time scenarios, system stability and performance, satisfactory operation of video display for continuity of content, phone, e-mails/data service, web browsing, voice over packet, content player for continuity of content, camera/imaging, audio/video synchronization, and other such operation that is apparent to the human user and can be evaluated by system use. Also, various security attack scenarios are applied.
  • Step 4560 adjusts supporting parameters of the e-compass 1150 circuitry, the e-compass calibration software, and the system for faster calibration and navigation application execution, lower power/energy dissipation, and maintained or enhanced QoS (quality of service). Supporting parameters include enable/disable register bits, parameter registers bit lengths, measurement set screening range, data outlier distance d, FIG. 12 RTC gating elapsed-time intervals for enabling calibration, environmental sensor thresholds and ranges for initiating a call for calibration, and any other supporting parameters involved in processes described hereinabove. If further increased efficiency or accuracy is called for in a step 4555, then step 4560 adjusts or reconfigures parameter(s) and safety margins and loops back to reload parameter(s) at step 4545 and do further testing. When satisfactory at step 4555, operations proceed to step 4570, where adjusted parameter(s) are loaded into the Flash memory or otherwise by system manufacturer or a supplier, and components are assembled on PWB in volume manufacturing to produce resulting system units and END 4575 is reached.
  • Various embodiments are used with one or more processors that perform electronic processes on signals representing the e-compass data and generate processor signals representing recalibrated parameters and corrected magnetic vectors. Processors perform signal processing according to instructions and by actual electronic processes that represent or correspond to the various matrix operations disclosed herein. Memory circuits hold physical representations of instructions and parameters. In various embodiments, the e-compass 1150 is a physically compact device including 1) a set of MEMS e-compass sensors, 2) the e-compass sensors combined with a nonvolatile memory holding calibration software and/or parameters as described herein, 3) the e-compass sensors combined with a microprocessor for the e-compass 1150 as well as nonvolatile memory holding the calibration software and/or parameters, 4) e-compass 1150 combined with accelerometer 1140 or tilt sensor and any of the other embodiments and further having tilt compensation software and parameters, 5) position sensing (e.g., GPS) unit combined with any of the other embodiments and further having GPS software and parameters, and/or 5) a high-performance applications processor SoC integrated circuit for supporting plural applications, and having either integrated therein or coupled thereto any of the other embodiments and/or holding any of the software and/or parameters, or 6) other suitable assembly.
  • Manufacturing process operations for making integrated circuit chips are applied, such as for subsequent use in system integration of FIG. 14. RTL (register transfer language) design code represents the hardware of any part or all of FIGS. 2 and 3, and prepares software code according to any of FIGS. 4-14 and/or as described herein to run on the hardware as well. Chips are fabricated in a wafer fab, and serial-scan testing of scan able registers and other testing is performed using emulation EMU of FIG. 2 on the manufactured integrated circuits.
  • Because of the electronic operations representing matrix operations described earlier hereinabove, a processor with one or more fast multiply-accumulate units provides desirably high performance in some embodiments. Each processor can have a pipeline for high performance and selected from the group consisting of 1) reduced instruction set computing (RISC), 2) digital signal processing (DSP), 3) complex instruction set computing (CISC), 4) superscalar, 5) skewed pipelines, 6) in-order, 7) out-of-order, 8) very long instruction word (VLIW), 9) single instruction multiple data (SIMD), 10) multiple instruction multiple data (MIMD), 11) multiple-core using any one or more of the foregoing, and 12) microcontroller pipelines, control peripherals, and other micro-control blocks using any one or more of the foregoing.
  • APPENDIX I: GENERATING TILT MATRIX Ω FROM ACCELEROMETER DATA
  • A body at rest at a perfectly horizontal position experiences a gravity vector

  • f=g*[0 0 1]T.   (A1-1)
  • With a Roll (θ) the measurement in the Rolled frame is given by:

  • f R =R*f;   (A1-2)
  • R = [ 1 0 0 0 cos θ - sin θ 0 sin θ cos θ ] ( A1 - 3 )
  • With a further Pitch (φ) the measurement in a frame herein called the Rolled-Pitched RP frame is given by:

  • f RP =P*f R =P*R*f; wherein   (A1-4)
  • P = [ cos ϕ 0 sin ϕ 0 1 0 - sin ϕ 0 cos ϕ ] ( A1 - 5 )
  • Then an actual physical tilt Ω is expressed by:
  • Ω = P * R = [ cos ϕ ( sin ϕsinθ ) ( sin ϕcosθ ) 0 cos θ - sin θ - sin ϕ ( cos ϕsinθ ) ( cos ϕcosθ ) ] ( A1 - 6 )
    f RP =g*[(sin φ cos θ)−sin θ(cos φ cos θ)]T   (A1-7)

  • f x =g(sin φ cos θ);   (A1-8)

  • f y =g(−sin θ);   (A1-9)

  • f z =g(cos φ cos θ)   (A1-10)

  • φ=arc tan(f x /f z);   (A1-11)

  • θ=arc tan(−√2 sin(n/4+φ)f y/(f x +f z))=arc tan(−f y/√(f x +f z))   (A1-12)
  • Further tilt computation information on the small error angles equation (7) is given in Appendix II.
  • APPENDIX II: DERIVING ζ−1*Ω ASSUMING SMALL ERROR ANGLES
  • Tilt Estimation and error analysis is more fully written out here:

  • Estimate of Pitch Angle: φ̂=φ+  (A2-1)

  • Estimate of Roll Angle: θ̂=θ+  (A2-2)
  • Define tilt estimate matrix P̂ so that pitch angle φ̂ is used in place of angle φ in Equation (A1-5).
  • Define tilt estimate matrix R̂ so that pitch angle θ̂ is used in place of angle θ in Equation (A1-3).
  • Further define:

  • ζ=P̂*R̂  (A2-3)
  • To first-order,

  • P̂=P+(dP/dφ)  (A2-4)

  • R̂=R+(dR/dθ)  (A2-5)

  • P̂*R̂˜=P*R+d(P*R)   (A2-6)

  • d(P*R)=P(dR/dθ)dθ+((dP/dφ)dφ)*R   (A2-7)
  • Perform the calculus differentiations. Assume the errors in estimation of Pitch and Roll angles are small.
  • R θ == [ 0 0 0 0 - sin θ - cos θ 0 cos θ - sin θ ) ] ( A2 - 8 ) P ϕ == [ - sin ϕ 0 cos ϕ 0 0 0 - cos ϕ 0 - sin ϕ ] ( A2 - 9 )
  • De-tilted acceleration ζ−1*Ω is given by:

  • ζ−1*Ω=(P̂*R̂)−1(P*R)= −1( −1 *P)*R   (A2-10)
  • Applying Equation (A2-6):

  • ζ−1*Ω=(P*R+d(P*R))−1(P*R)   (A2-11)

  • ζ−1*Ω=[(P*R)*(I+(P*R)−1 d(P*R))]−1(P*R)   (A2-12)
  • Applying the matrix-inverse identity (A*B)−1=(B−1*A−1) and simplifying, and then applying the first order approximation (I+A)−1=(I−A) gives:

  • ζ−1 *Ω=I−(P*R)−1 d(P*R)   (A2-13)
  • Substituting Equation (A2-7):

  • ζ−1 *Ω=I−(P*R)−1(P(dR/dθ)dθ+((dP/dφ)dφ)*R)   (A2-14)
  • Again using the matrix-inverse identity, and simplifying:

  • ζ−1 *Ω=I−R*(dR/dθ)dθ)−(P*R)−1((dP/dφ)dφ)*R)   (A2-15)
  • Using the identity (A2-16) to more easily obtain (P*R)−1 from Equation (A1-6). Substitute the resulting Equation (A2-17) into Equation (A2-15). Equation (7) results from expanding Equation (A2-15).

  • (P*R)−1−1 =R −1 *P −1 =R(−θ)*P(−φ)=R T *P T=(PR)T   (A2-16)
  • ( P * R ) - 1 = [ cos ϕ 0 - sin ϕ ( sin ϕsinθ ) cos θ ( cos ϕsinθ ) ( sin ϕcosθ ) - sin θ ( cos ϕcosθ ) ] ( A2 - 17 )
  • APPENDIX III: ELLIPSE-FITTING PROCEDURE
  • Fit an ellipse equation of the following form to m measurements k of points x(k), y(k):

  • ρ1 x 22 xy+ρ 3 y 24 x+ρ 5 y+ρ 6=0   (A3-0)
  • Define matrices for the m measurements k of points x(k), y(k):

  • D 1 =[x 2(k), x(k)y(k), y 2(k)] (3)   (A3-1)

  • D 2 =[x(k), y(k), 1] (3)   (A3-2)
  • Do QR decomposition of the (m×3) matrix D2 into an (m×m) orthogonal matrix Q2 and an (m×3) upper triangular matrix R2. (Golub and Van Loan, Matrix Computations, 3rd ed. 1996 at section 5.2.) Use upper triangular matrix R2 to execute Equation (A3-3).

  • M DR =D 1 T D 1−(D 1 T D 2) (R 2 T R 2)−1(D 2 T D 1) (3×3)   (A3-3)
  • M 2 = [ M DR ( 3 , ( 1 : 3 ) ) / 2 - M DR ( 2 , ( 1 : 3 ) ) M DR ( 1 , ( 1 : 3 ) ) / 2 ] ( 3 × 3 ) ( A3 - 4 )
  • Establish a (3×3) matrix V from matrix M2 such that:

  • (M2)V=V D   (A3-4A)
  • where, D is a diagonal matrix with eigen values of M2 and the columns of V are the eigen vectors of M2.
  • Generate the row vector c(j) such that for each column j=1, 2, 3:

  • c(j)=4V(1,j)V(3,j)−V(2,j)V(2,j)   (A3-5)
  • where, V(1,j), V(2,j) and V(3,j) are the row cell values in a given column j of matrix V.
  • Identify the (3×1) column vector U in matrix V for which the corresponding value of c is positive:

  • U=V(:, c>0)   (A3-6)
  • Generate a (6×1) column vector:
  • [ ρ ] = [ U - ( R 2 T R 2 ) - 1 ( D 2 T D 1 ) U ] ( A3 - 7 )
  • Pre multiply vector ρ with ±1 to ensure the first entry of ρ vector is always positive.
  • Compute the tilt angle of the ellipse major axis relative to the x-coordinate axis using values from the vector of ellipse parameters as follows:

  • ξ=0.5 arc tan [ρ2/(ρ3−ρ1)]  (A3-8)
  • All other ellipse parameters (center coordinates, lengths of major and minor axes) are obtained using column vector ρ.
  • MATLAB® ELLIPSEFIT(X,Y) is also an example of an ellipse fitting procedure, see mathworks.com.
  • ASPECTS (See Notes Paragraph at End of this Aspects Section.)
  • 1A. The electronic circuit claimed in claim 1 wherein said memory circuitry holds instructions representing the electronic ellipse-fitting procedure executable by said electronic processor.
  • 7A. The electronic circuit claimed in claim 7 wherein said memory circuitry holds instructions for processing the e-compass sensor data and the residual tilt angle e-compass calibration parameter and at least one hard iron calibration parameter to generate the at least one signal representing the corrected measured heading of the e-compass.
  • 15A. The calibration process claimed in claim 15 further comprising generating a second signal representing a hard iron calibration parameter responsive to the e-compass sensor data and the tilt calibration parameter.
  • 17A. The measuring process claimed in claim 17 wherein said utilizing includes utilizing a hard iron calibration parameter to generate that at least one signal representing a measured heading of the e-compass..
  • Notes: Aspects are paragraphs which might be offered as claims in patent prosecution. The above dependently-written Aspects have leading digits and internal dependency designations to indicate the claims or aspects to which they pertain. Aspects having no internal dependency designations have leading digits and alphanumerics to indicate the position in the ordering of claims at which they might be situated if offered as claims in prosecution.
  • Processing circuitry comprehends digital, analog and mixed signal (digital/analog) integrated circuits, ASIC circuits, PALs, PLAs, decoders, memories, and programmable and nonprogrammable processors, microcontrollers and other circuitry. Internal and external couplings and connections can be ohmic, capacitive, inductive, photonic, and direct or indirect via intervening circuits or otherwise as desirable. Numerical values in the description are illustrative. “Ellipse” and “ellipse-fitting” include various geometries and methods such as the 2D ellipse and 3D ellipsoids and ellipsoid-fitting and other round or oval-shaped closed curves and surfaces. “Representations” herein includes electrical voltages or currents, electrically-, magnetically- or optically-detectable physical alterations, and otherwise detectable physical or electrical alterations or programming. Process diagrams herein are representative of flow diagrams for operations of any embodiments whether of hardware, software, or firmware, and processes of manufacture thereof. Flow diagrams and block diagrams are each interpretable as representing structure and/or process. While this invention has been described with reference to illustrative embodiments, this description is not to be construed in a limiting sense. Various modifications and combinations of the illustrative embodiments, as well as other embodiments of the invention may be made. The terms “including”, “includes”, “having”, “has”, “with”, or variants thereof are used in the detailed description and/or the claims to denote non-exhaustive inclusion in a manner similar to the term “comprising”. The appended claims and their equivalents cover any such embodiments, modifications, and embodiments as fall within the scope of the invention.

Claims (6)

What is claimed is:
1. A process of operating a device that includes an e-compass, the device and e-compass having three axis of motion, the process comprising:
verifying that an accelerometer sensor output has become stable at rest;
estimating a tilt angle based on the accelerometer sensor output;
performing a first de-tilting of data from the e-compass based on the accelerometer sensor output;
perform a second de-tilting of data from the e-compass based on calibrated residual tilt angle data read from memory circuitry; and
generating a measured heading angle psi with calibration data read from the memory circuitry.
2. The process of claim 1 including displaying an instruction to a user to hold the device at rest before the verifying.
3. The process of claim 1 in which the verifying includes checking that plural samples of accelerometer output over time are within a certain amount of variability.
4. The process of claim 1 including displaying heading angle psi.
5. The process of claim 1 in which the generating a heading angle psi includes calculating a heading angle psi from an arctangent equation using calibration values obtained from the memory circuitry.
6. The process of claim 1 in which the generating includes generating with hard iron effect offset values stored in the memory circuitry.
US14/712,450 2008-03-06 2015-05-14 Processes for more accurately calibrating and operating e-compass for tilt error, circuits, and systems Abandoned US20150247739A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/712,450 US20150247739A1 (en) 2008-03-06 2015-05-14 Processes for more accurately calibrating and operating e-compass for tilt error, circuits, and systems

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
IN567CH2008 2008-03-06
IN565/CHE/2008 2008-03-06
IN565CH2008 2008-03-06
IN567/CHE/2008 2008-03-06
US12/398,696 US9062971B2 (en) 2008-03-06 2009-03-05 E-compass, tilt sensor, memory and processor with coarse detilting procedure
US14/712,450 US20150247739A1 (en) 2008-03-06 2015-05-14 Processes for more accurately calibrating and operating e-compass for tilt error, circuits, and systems

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US12/398,696 Division US9062971B2 (en) 2008-03-06 2009-03-05 E-compass, tilt sensor, memory and processor with coarse detilting procedure

Publications (1)

Publication Number Publication Date
US20150247739A1 true US20150247739A1 (en) 2015-09-03

Family

ID=41134030

Family Applications (3)

Application Number Title Priority Date Filing Date
US12/398,696 Active 2031-07-21 US9062971B2 (en) 2008-03-06 2009-03-05 E-compass, tilt sensor, memory and processor with coarse detilting procedure
US12/398,775 Abandoned US20090259424A1 (en) 2008-03-06 2009-03-05 Parameter estimation for accelerometers, processes, circuits, devices and systems
US14/712,450 Abandoned US20150247739A1 (en) 2008-03-06 2015-05-14 Processes for more accurately calibrating and operating e-compass for tilt error, circuits, and systems

Family Applications Before (2)

Application Number Title Priority Date Filing Date
US12/398,696 Active 2031-07-21 US9062971B2 (en) 2008-03-06 2009-03-05 E-compass, tilt sensor, memory and processor with coarse detilting procedure
US12/398,775 Abandoned US20090259424A1 (en) 2008-03-06 2009-03-05 Parameter estimation for accelerometers, processes, circuits, devices and systems

Country Status (1)

Country Link
US (3) US9062971B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107703469A (en) * 2017-08-25 2018-02-16 广州新维感信息技术有限公司 A kind of magnetic force meter calibration method and device
RU2690231C1 (en) * 2018-07-09 2019-05-31 Акционерное общество "Концерн "Центральный научно-исследовательский институт "Электроприбор" Method of diagnostics of state of gas-dynamic support of float gyro rotor
CN109945864A (en) * 2019-02-25 2019-06-28 广州市香港科大霍英东研究院 Indoor driving positioning fusion method, device, storage medium and terminal device
US20200183804A1 (en) * 2018-12-07 2020-06-11 Microsoft Technology Licensing, Llc Flexible microcontroller support for device testing and manufacturing
US11146547B2 (en) * 2016-06-08 2021-10-12 International Business Machines Corporation Enforce data security based on a mobile device, positioning, augmented reality

Families Citing this family (94)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7395447B2 (en) 2002-09-16 2008-07-01 Silicon Labs Cp, Inc. Precision oscillator for an asynchronous transmission system
DK2219931T3 (en) * 2007-12-10 2011-09-12 Siemens Sas Device for measuring movement of a self-propelled vehicle
US20110098583A1 (en) * 2009-09-15 2011-04-28 Texas Instruments Incorporated Heart monitors and processes with accelerometer motion artifact cancellation, and other electronic systems
JP2009260460A (en) * 2008-04-14 2009-11-05 Sony Corp Information processing apparatus and method, program, and information processing system
JP5328252B2 (en) * 2008-07-30 2013-10-30 アルパイン株式会社 Position detection apparatus and position detection method for navigation system
US8131494B2 (en) * 2008-12-04 2012-03-06 Baker Hughes Incorporated Rotatable orientation independent gravity sensor and methods for correcting systematic errors
CN101763328B (en) * 2008-12-25 2014-01-15 鸿富锦精密工业(深圳)有限公司 Data transmitting system and method thereof
US8370097B2 (en) * 2009-06-05 2013-02-05 Apple Inc. Calibration techniques for an electronic compass in portable device
US20110077891A1 (en) * 2009-09-25 2011-03-31 Sirf Technology Holdings, Inc. Accelerometer-only calibration method
US8577637B2 (en) * 2009-09-28 2013-11-05 Teledyne Rd Instruments, Inc. System and method of magnetic compass calibration
US9403415B2 (en) * 2009-10-12 2016-08-02 Ford Global Technologies GPS based pitch sensing for an integrated stability control system
US8872889B2 (en) 2010-01-14 2014-10-28 Innovmetric Logiciels Inc. Synchronization of the orientation of a 3D measurement device and the orientation of an intelligent guidance device
US8326533B2 (en) * 2010-01-21 2012-12-04 Invensense, Inc. Apparatus and methodology for calibration of a gyroscope and a compass included in a handheld device
CN101806595B (en) * 2010-04-19 2012-01-04 美新半导体(无锡)有限公司 Two-dimensional electronic compass calibration algorithm
DE102010028828B4 (en) * 2010-05-11 2019-07-18 Robert Bosch Gmbh Method and system for determining an idle state
DE102010028827B4 (en) * 2010-05-11 2021-07-01 Robert Bosch Gmbh Method for calibrating an acceleration sensor
JP2012008096A (en) * 2010-06-28 2012-01-12 Seiko Epson Corp Bias estimation method, attitude estimation method, bias estimation device and attitude estimation device
JP5101677B2 (en) * 2010-09-14 2012-12-19 株式会社ソニー・コンピュータエンタテインメント Information processing system
US20120079532A1 (en) * 2010-09-29 2012-03-29 Sony Corporation Techniques for developing a television user interface for a secondary device
US20120079533A1 (en) * 2010-09-29 2012-03-29 Sony Corporation Techniques for developing a customized television user interface for a secondary device
US9107040B2 (en) * 2010-09-29 2015-08-11 Apple Inc. Systems, methods, and computer readable media for sharing awareness information
IL208728A0 (en) * 2010-10-14 2011-02-28 Israel Aerospace Ind Ltd Intrusion detection system
US8922198B2 (en) 2010-10-26 2014-12-30 Blackberry Limited System and method for calibrating a magnetometer according to a quality threshold
US8694251B2 (en) 2010-11-25 2014-04-08 Texas Instruments Incorporated Attitude estimation for pedestrian navigation using low cost mems accelerometer in mobile applications, and processing methods, apparatus and systems
DE102010062016A1 (en) * 2010-11-26 2012-05-31 Siemens Aktiengesellschaft Method and device for determining movement parameters of moving objects
US8676528B2 (en) 2011-02-08 2014-03-18 Blackberry Limited System and method for calibrating an accelerometer
JP5770486B2 (en) * 2011-02-21 2015-08-26 株式会社トプコン All-around image measuring device
CN103547838A (en) * 2011-03-22 2014-01-29 Skf公司 Gear with vibration sensor
TWI443485B (en) * 2011-07-25 2014-07-01 Star Techn Inc Calibration system of electronic devices
US9429590B2 (en) 2011-07-27 2016-08-30 Qualcomm Incorporated Accelerometer autocalibration in a mobile device
US8577640B2 (en) 2011-08-17 2013-11-05 Invensense, Inc. Magnetometer bias and anomaly detector
US20130060514A1 (en) * 2011-09-01 2013-03-07 Qualcomm Incorporated Mems accelerometer airliner takeoff and landing detection
US9003861B2 (en) * 2011-10-07 2015-04-14 Outerwall Inc. Auto-calibration systems for coin counting devices
US10330491B2 (en) 2011-10-10 2019-06-25 Texas Instruments Incorporated Robust step detection using low cost MEMS accelerometer in mobile applications, and processing methods, apparatus and systems
US9534924B2 (en) 2011-11-11 2017-01-03 Qualcomm Incorporated Sensor auto-calibration
US9030352B2 (en) 2011-12-07 2015-05-12 Raytheon Company Sensor rotation bias removal
US9228838B2 (en) 2011-12-20 2016-01-05 Fluke Corporation Thermal imaging camera with compass calibration
US9141194B1 (en) * 2012-01-04 2015-09-22 Google Inc. Magnetometer-based gesture sensing with a wearable device
US9683865B2 (en) 2012-01-26 2017-06-20 Invensense, Inc. In-use automatic calibration methodology for sensors in mobile devices
US10324108B2 (en) 2012-02-07 2019-06-18 Mcube, Inc. Dynamic offset correction for calibration of MEMS sensor
US8996919B2 (en) * 2012-03-13 2015-03-31 Invensense, Inc. Method and system providng a self-test on one or more sensors coupled to a device
US9097523B2 (en) * 2012-03-28 2015-08-04 Trimble Navigation Ltd. Compass calibration
CN102662083B (en) * 2012-03-28 2014-04-02 北京航空航天大学 Accelerometer calibration method based on GPS velocity information
US10215587B2 (en) 2012-05-18 2019-02-26 Trx Systems, Inc. Method for step detection and gait direction estimation
WO2013188548A2 (en) 2012-06-12 2013-12-19 Trxs Systems, Inc. Methods for improved heading estimation
WO2013188597A2 (en) 2012-06-12 2013-12-19 Amrit Bandyopadhyay Irregular feature mapping
AU2013204920B2 (en) * 2012-06-28 2015-06-11 Gyder Surgical Pty Ltd An Electronic Orientation Monitor and an Associated Method
US10716640B2 (en) 2012-06-28 2020-07-21 Gyder Surgical Pty Ltd. Electronic orientation monitor and an associated method
US20140025330A1 (en) * 2012-07-11 2014-01-23 Mcube, Inc. Dynamic temperature calibration
US10041798B2 (en) * 2012-12-06 2018-08-07 Qualcomm Incorporated Determination of position, velocity and/or heading by simultaneous use of on-device and on-vehicle information
CN103968849A (en) * 2013-01-29 2014-08-06 延锋伟世通汽车电子有限公司 A vehicle navigation method using an intelligent mobile phone sensor
US9319764B2 (en) * 2013-03-08 2016-04-19 Merry Electronics Co., Ltd. MEMS microphone packaging structure
US10175043B2 (en) * 2013-05-15 2019-01-08 FLIR Belgium BVBA Toroidal shape recognition for automatic compass calibration systems and methods
US10261176B2 (en) * 2013-05-15 2019-04-16 Flir Systems, Inc. Rotating attitude heading reference systems and methods
WO2014186636A1 (en) * 2013-05-15 2014-11-20 Flir Systems, Inc. Automatic compass calibration system and corresponding method
US9885574B2 (en) * 2013-06-09 2018-02-06 Apple Inc. Compass calibration
US9383209B2 (en) * 2013-09-23 2016-07-05 Texas Instruments Incorporated Undocking and re-docking mobile device inertial measurement unit from vehicle
WO2015123604A1 (en) * 2014-02-17 2015-08-20 Tourmaline Labs, Inc. Systems and methods for estimating movements of a vehicle using a mobile device
US10178506B2 (en) * 2014-03-25 2019-01-08 Osram Sylvania Inc. Augmenting light-based communication receiver positioning
GB2524802B (en) * 2014-04-03 2018-11-07 Nokia Technologies Oy A magnetometer apparatus and associated methods
US9983224B2 (en) 2014-05-02 2018-05-29 Qualcomm Incorporated Motion direction determination and application
US10281484B2 (en) 2014-05-02 2019-05-07 Qualcomm Incorporated Motion direction determination and application
CN103969469A (en) * 2014-05-09 2014-08-06 深圳市美赛达科技股份有限公司 Calibrating system and method applied to vehicle monitoring terminal
KR20150142332A (en) * 2014-06-11 2015-12-22 삼성전자주식회사 Method for measuring sensor value and electronic device performing thereof
US10371528B2 (en) * 2014-07-03 2019-08-06 Texas Instruments Incorporated Pedestrian navigation devices and methods
US10180340B2 (en) * 2014-10-09 2019-01-15 Invensense, Inc. System and method for MEMS sensor system synchronization
US10451438B2 (en) * 2015-02-05 2019-10-22 Alpinereplay, Inc. Systems and methods for in-motion gyroscope calibration
US9599694B2 (en) * 2015-05-04 2017-03-21 Blackberry Limited Calibration of temperature effect on magnetometer
US9568320B2 (en) 2015-05-05 2017-02-14 King Fahd University Of Petroleum And Minerals Method and apparatus for estimation of center of gravity using accelerometers
GB201507851D0 (en) * 2015-05-07 2015-06-17 Putnam Thomas D M And Jenner Mark J A city navigation device, primarily for use on bicycles (the "Invention")
US20170168481A1 (en) * 2015-12-14 2017-06-15 Gopro, Inc. User interface for orienting antennas
CN106197477A (en) * 2016-06-30 2016-12-07 郑州联睿电子科技有限公司 A kind of indoor positioning course error bearing calibration
US11466990B2 (en) * 2016-07-22 2022-10-11 Regents Of The University Of Minnesota Square-root multi-state constraint Kalman filter for vision-aided inertial navigation system
CN107063237A (en) * 2016-12-14 2017-08-18 歌尔股份有限公司 A kind of method and apparatus for measuring gestures of object angle
US10168156B2 (en) 2017-03-23 2019-01-01 International Business Machines Corporation Orient a mobile device coordinate system to a vehicular coordinate system
IT201700057066A1 (en) * 2017-05-25 2018-11-25 St Microelectronics Srl PROCESSING SYSTEM IMPLEMENTING AN ALGORITHM FOR THE MERGER OF DATA FROM INERTIAL SENSORS, AND METHOD
US11280896B2 (en) 2017-06-16 2022-03-22 FLIR Belgium BVBA Doppler GNSS systems and methods
US10983206B2 (en) 2017-11-07 2021-04-20 FLIR Belgium BVBA Low cost high precision GNSS systems and methods
CN107389980B (en) * 2017-07-25 2019-08-02 Oppo广东移动通信有限公司 A kind of accelerometer control method, accelerometer control device and intelligent terminal
CN107328401B (en) * 2017-07-26 2021-02-19 Tcl移动通信科技(宁波)有限公司 Mobile terminal, data correction processing method of geomagnetic sensor of mobile terminal, and storage medium
WO2019099053A1 (en) * 2017-11-19 2019-05-23 Mocini Jeffrey Belt-mounted slope sensor system
US11640752B2 (en) * 2018-01-12 2023-05-02 Jeffrey L. Dykes Relative directional indicator
JP2019125858A (en) * 2018-01-12 2019-07-25 シャープ株式会社 Electronic device, control device, and control program
CN108562284B (en) * 2018-01-25 2021-05-14 土豆数据科技集团有限公司 Compass calibration method of multi-rotor aircraft without rotary table
US11054262B2 (en) * 2018-04-04 2021-07-06 Stidd Systems, Inc. Method for reducing in-transit navigational errors
FR3094082B1 (en) * 2019-03-18 2021-04-09 Thales Sa PROCESS FOR ESTIMATING THE HARMONIZATION VALUES OF A MAGNETOMETER INSTALLED IN A MOBILE DEVICE, ASSOCIATED DEVICE AND COMPUTER PROGRAM
CN110095114B (en) * 2019-04-23 2021-05-07 中航通飞华南飞机工业有限公司 Automatic calibration system and method for embedded compass of aeronautical aircraft-mounted strapdown attitude field
US20200348143A1 (en) * 2019-05-03 2020-11-05 Apple Inc. Adjusting heading sensor output based on image data
US10965914B2 (en) * 2019-07-08 2021-03-30 Andrae T. D'Acquisto Trail camera
TWI710749B (en) * 2019-09-04 2020-11-21 宏碁股份有限公司 Indoor positioning method with improved accuracy and mobile device using the same
US11407098B2 (en) 2019-11-26 2022-08-09 Stmicroelectronics S.R.L. Smart push button device utilizing MEMS sensors
IT202000009937A1 (en) 2020-05-05 2021-11-05 St Microelectronics Srl METHOD OF CHECKING AN ELECTRONIC DEVICE BY CALCULATION OF AN OPENING ANGLE, RELATED ELECTRONIC DEVICE AND SOFTWARE PRODUCT
CN114509090B (en) * 2021-12-22 2023-08-11 中煤科工集团西安研究院有限公司 Error correction device and method for inclinometer for coal mine
CN115839726B (en) * 2023-02-23 2023-04-28 湖南二零八先进科技有限公司 Method, system and medium for jointly calibrating magnetic sensor and angular velocity sensor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040174434A1 (en) * 2002-12-18 2004-09-09 Walker Jay S. Systems and methods for suggesting meta-information to a camera user
US20060290896A1 (en) * 2005-06-23 2006-12-28 Nec Viewtechnology, Ltd. Projector having horizontal displacement sensors for correcting distortion
US20070288166A1 (en) * 2002-03-01 2007-12-13 Gentex Corporation Electronic compass system
US20080071492A1 (en) * 2006-09-20 2008-03-20 Samsung Electronics Co., Ltd. Method, apparatus, and medium for calibrating compass sensor in consideration of magnetic environment and method, apparatus, and medium for measuring azimuth using the compass sensor calibration method, apparatus, and medium
US20090177425A1 (en) * 2005-08-01 2009-07-09 Hisayoshi Sugihara Correction device for acceleration sensor, and output value correction method for acceleration sensor

Family Cites Families (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4675820A (en) * 1984-06-14 1987-06-23 Sundstrand Data Control, Inc. Inertial reference system
US5287295A (en) * 1991-05-30 1994-02-15 Motorola Method and apparatus for calibrating an electronic compass to account for alignment errors in the compass windings
US5828984A (en) * 1991-12-27 1998-10-27 Chrysler Corporation Data processing method for an electronic compass system
US5615132A (en) * 1994-01-21 1997-03-25 Crossbow Technology, Inc. Method and apparatus for determining position and orientation of a moveable object using accelerometers
US6308134B1 (en) * 1996-12-27 2001-10-23 Magellan Dis, Inc. Vehicle navigation system and method using multiple axes accelerometer
US6498996B1 (en) * 1999-08-04 2002-12-24 Honeywell International Inc. Vibration compensation for sensors
US6225790B1 (en) * 1999-10-20 2001-05-01 Delphi Technologies, Inc. Apparatus and method for motion-based activation of a voltage regulator
US6543146B2 (en) * 2000-12-06 2003-04-08 Honeywell International, Inc. Electronic compass and compensation of large magnetic errors for operation over all orientations
US6539639B2 (en) * 2000-12-06 2003-04-01 Honeywell International Inc. Monitoring accuracy of an electronic compass
US20030061859A1 (en) * 2001-01-29 2003-04-03 Ford Global Technologies, Inc. Accelerometer calibration
CN1152237C (en) 2001-03-30 2004-06-02 清华大学 Miniature navigation system based on micro electromechanical techn.
US6823279B1 (en) * 2001-07-27 2004-11-23 Trimble Navigation Limted Spectral method for calibrating a multi-axis accelerometer device
DE60139881D1 (en) * 2001-11-13 2009-10-22 Nokia Corp Method, apparatus and system for calibrating angular rate sensors
US6826502B2 (en) * 2002-01-25 2004-11-30 Honeywell International Inc. Methods and systems for calibration and compensation of accelerometers with bias instability
US7251567B2 (en) * 2003-02-12 2007-07-31 The Charles Machine Works, Inc. Electronically calibrated beacon for a horizontal directional drilling machine
KR100541081B1 (en) 2003-06-24 2006-01-11 삼성전기주식회사 Signal processor for electronic compass
CN1816730B (en) * 2003-07-03 2010-09-22 旭化成电子材料元件株式会社 Azimuth measurement device and azimuth measurement method
DE602004024333D1 (en) * 2003-12-22 2010-01-07 Asahi Kasei Emd Corp AZIMUTH MEASURING DEVICE
JP2005292893A (en) * 2004-03-31 2005-10-20 Nec Access Technica Ltd Portable information terminal device
US8065083B2 (en) * 2004-07-23 2011-11-22 Yamaha Corporation Azimuth processing device, azimuth processing method, azimuth processing program, direction finding device, tilt offset correcting method, azimuth measuring method, compass sensor unit, and portable electronic device
US7066004B1 (en) * 2004-09-02 2006-06-27 Sandia Corporation Inertial measurement unit using rotatable MEMS sensors
JP2006234581A (en) 2005-02-24 2006-09-07 Aichi Micro Intelligent Corp Electronic compass and azimuth measuring method
EP1715292A1 (en) 2005-04-21 2006-10-25 Samsung Electro-Mechanics Co., Ltd. Method of compensating tilt using two-axis geomagnetic sensor and acceleration sensor, and apparatus thereof
JP4919142B2 (en) 2005-10-19 2012-04-18 アイチ・マイクロ・インテリジェント株式会社 Magnetic compass
CA2595755C (en) * 2005-11-22 2012-02-07 Kionix, Inc. A tri-axis accelerometer
US20070156337A1 (en) * 2005-12-30 2007-07-05 Mamdouh Yanni Systems, methods and apparatuses for continuous in-vehicle and pedestrian navigation
US20070260398A1 (en) * 2006-03-08 2007-11-08 David Stelpstra Portable navigation device with accelerometer
CA2646480A1 (en) * 2006-04-13 2007-10-25 Tiax Llc Sensor system
WO2007129653A1 (en) 2006-05-09 2007-11-15 Alps Electric Co., Ltd. Calibration program and electronic compass
US7739045B2 (en) * 2006-05-31 2010-06-15 Honeywell International Inc. Rapid self-alignment of a strapdown inertial system through real-time reprocessing
US7643960B2 (en) * 2007-03-05 2010-01-05 Gm Global Technology Operations, Inc. Correction of factors in vehicle accelerometer signals
US7640786B2 (en) * 2007-03-28 2010-01-05 Northrop Grumman Guidance And Electronics Company, Inc. Self-calibrating accelerometer
US7451057B2 (en) * 2007-03-28 2008-11-11 Kionix, Inc. System and method for detection of freefall with spin using two tri-axis accelerometers
US8374817B2 (en) * 2007-04-04 2013-02-12 Nxp B.V. Auto-calibration of orientation sensing systems
FI120276B (en) 2007-05-21 2009-08-31 Suunto Oy Compass device and method for compass devices
US20090013755A1 (en) * 2007-07-10 2009-01-15 Polstar Technologies Inc. Calibration jig and algorithms for accelerometer
US8249616B2 (en) * 2007-08-23 2012-08-21 Texas Instruments Incorporated Satellite (GPS) assisted clock apparatus, circuits, systems and processes for cellular terminals on asynchronous networks
US8099994B2 (en) * 2008-02-29 2012-01-24 General Electric Company Systems and methods for calibrating triaxial accelerometers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288166A1 (en) * 2002-03-01 2007-12-13 Gentex Corporation Electronic compass system
US20040174434A1 (en) * 2002-12-18 2004-09-09 Walker Jay S. Systems and methods for suggesting meta-information to a camera user
US20060290896A1 (en) * 2005-06-23 2006-12-28 Nec Viewtechnology, Ltd. Projector having horizontal displacement sensors for correcting distortion
US20090177425A1 (en) * 2005-08-01 2009-07-09 Hisayoshi Sugihara Correction device for acceleration sensor, and output value correction method for acceleration sensor
US20080071492A1 (en) * 2006-09-20 2008-03-20 Samsung Electronics Co., Ltd. Method, apparatus, and medium for calibrating compass sensor in consideration of magnetic environment and method, apparatus, and medium for measuring azimuth using the compass sensor calibration method, apparatus, and medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11146547B2 (en) * 2016-06-08 2021-10-12 International Business Machines Corporation Enforce data security based on a mobile device, positioning, augmented reality
CN107703469A (en) * 2017-08-25 2018-02-16 广州新维感信息技术有限公司 A kind of magnetic force meter calibration method and device
RU2690231C1 (en) * 2018-07-09 2019-05-31 Акционерное общество "Концерн "Центральный научно-исследовательский институт "Электроприбор" Method of diagnostics of state of gas-dynamic support of float gyro rotor
US20200183804A1 (en) * 2018-12-07 2020-06-11 Microsoft Technology Licensing, Llc Flexible microcontroller support for device testing and manufacturing
US10936459B2 (en) * 2018-12-07 2021-03-02 Microsoft Technology Licensing, Llc Flexible microcontroller support for device testing and manufacturing
CN109945864A (en) * 2019-02-25 2019-06-28 广州市香港科大霍英东研究院 Indoor driving positioning fusion method, device, storage medium and terminal device

Also Published As

Publication number Publication date
US20090254294A1 (en) 2009-10-08
US9062971B2 (en) 2015-06-23
US20090259424A1 (en) 2009-10-15

Similar Documents

Publication Publication Date Title
US9062971B2 (en) E-compass, tilt sensor, memory and processor with coarse detilting procedure
US8370097B2 (en) Calibration techniques for an electronic compass in portable device
US8818420B2 (en) Rotation-tolerant devices and schemes for pedestrian-dead-reckoning (PDR) location determination
US10247550B2 (en) Mobile devices and methods for determining orientation information thereof
US10641625B2 (en) Method and apparatus for calibrating a magnetic sensor
US8494799B2 (en) Dynamic compass calibration in a portable device
US8718938B2 (en) Multi-sensor data collection and/or processing
US9014975B2 (en) System on a chip inertial navigation system
US7814671B2 (en) Mobile bearing calculator and bearing correction method
EP1314961A2 (en) Electronic apparatus
US20080051987A1 (en) Bearing Calculator and Error Correction Method
WO2005012835A2 (en) System for using a 2-axis magnetic sensor for a 3-axis compass solution
JP4552658B2 (en) Attitude detection method using two-axis magnetic sensor and program thereof
US20180128644A1 (en) Method and apparatus for orientation of inertial measurement unit
JP6486234B2 (en) Positioning device and positioning method
US20130041585A1 (en) Methods and apparatus for detecting, measuring, and mitigating effects of moving an inertial navigation device's cradle
KR20140117120A (en) Method of compensating azimuth and electronic device thereof
US10209075B2 (en) Orientation determination for devices generating electromagnetic interference
US20080319708A1 (en) Apparatus and Method For Estimating Virtual Axis Magnetic Compass Data to Compensate the Tilt Error of Biaxial Magnetic Compass, and Apparatus For Calculating Azimuth Based on the Same
JP2002164987A (en) Mount method for attitude angle detector for mobile terminal
US20140278222A1 (en) Computing a magnetic heading
JP2002158750A (en) Attitude angle detector for portable terminal and magnetic azimuth detector for the portable terminal
JP2006266800A (en) Portable information terminal and correction program for geomagnetic sensor
TWM333593U (en) Digital camera with global positioning system (GPS) function

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION