US20090259424A1 - Parameter estimation for accelerometers, processes, circuits, devices and systems - Google Patents

Parameter estimation for accelerometers, processes, circuits, devices and systems Download PDF

Info

Publication number
US20090259424A1
US20090259424A1 US12/398,775 US39877509A US2009259424A1 US 20090259424 A1 US20090259424 A1 US 20090259424A1 US 39877509 A US39877509 A US 39877509A US 2009259424 A1 US2009259424 A1 US 2009259424A1
Authority
US
United States
Prior art keywords
accelerometer
signals representing
electronic
electronic processor
parameters
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
US12/398,775
Inventor
Goutam Dutta
Reetesh Mukul
Hemanth M. Srikantaiah
Venkatesh B A
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
Assigned to TEXAS INSTRUMENTS INCORPORATED reassignment TEXAS INSTRUMENTS INCORPORATED ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MUKUL, REETESH, B A, VENKATESH, DUTTA, GOUTAM, SRIKANTAIAH, HEMANTH M
Publication of US20090259424A1 publication Critical patent/US20090259424A1/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

  • This invention is 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 accelerometer-based applications, circuits, devices and systems, such as for portable, including mobile, applications.
  • 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 mobile devices and platforms.
  • power dissipation can limit time between battery recharges and limit the features and number of applications running.
  • 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
  • MEMS accelerometers can be used in portable platforms such as cellular phones, personal assistants, positioning devices, and other applications.
  • the platforms are useful such as for freefall detection, tilt sensing, position sensing, velocity measurement, gaming applications, elderly monitoring systems, and Inertial Navigation systems (INS as an assistance to GPS) in vehicular and pedestrian navigation generally, and e-compass supported navigation.
  • MEMS accelerometers can be used for Inertial Navigation (INS) Assistance to GPS in GPS challenged environments.
  • MEMS accelerometers suffer from bias error and axes gain errors which should be estimated precisely for applications like tilt sensing, inertial navigation and vehicular and pedestrian navigation.
  • Estimation of accelerometer parameters, such as bias errors and axes gains, of MEMS accelerometers can be problematic. It is difficult for a cell phone user to estimate and calibrate gain and bias errors in accelerometers on-the-fly. Accordingly, new solutions that provide more fully user-friendly embodiments to evaluate accelerometer bias errors and gain errors would be highly desirable.
  • an electronic circuit includes accelerometer sensors mounted on different axes, memory circuitry, and an electronic processor coupled to the accelerometer sensors and to the memory circuitry, the electronic processor operable to generate signals representing at least one calibration parameter for the accelerometer sensors from signals representing data resulting from the accelerometer sensors in an imprecise orientation of the accelerometer sensors.
  • another form of the invention involves an information storage medium holding a set of physical representations of instructions executable by an electronic processor to generate signals representing accelerometer calibration parameters from accelerometer data from different imprecise orientations.
  • a process form of the invention involves a process of accelerometer calibration, and the process includes generating signals representing accelerometer calibration parameters from signals representing multi-axes accelerometer data from different imprecise accelerometer orientations.
  • a system form of the invention for measuring acceleration includes a portable device having accelerometer sensors mounted on different axes and operable to supply accelerometer signals representing accelerometer data, a transducer associated with the portable device and operable to emit a user-perceptible prompt, and an electronic processor coupled to the accelerometer sensors and to the transducer, the electronic processor operable to cause the transducer to emit the user-perceptible prompt, and the electronic processor operable to generate signals representing at least one calibration parameter for the accelerometer sensors in response to the accelerometer signals in different freely-establishable orientations of the portable device.
  • a process of manufacture includes attaching to a printed wiring board an electronic processor and an accelerometer and a flash memory holding a set of physical representations of instructions executable by the electronic processor to generate signals representing accelerometer calibration parameters from accelerometer data from different imprecise orientations.
  • 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 flow diagram of an inventive process and structure for obtaining accelerometer data for calibration purposes and determining whether recalibration is recommended.
  • FIG. 5 is a flow diagram of an inventive process and structure for obtaining accelerometer data and accelerometer pre-calibration.
  • FIG. 6A is a flow diagram of an inventive process and structure for obtaining accelerometer data for subsequent use in calibration.
  • FIG. 6B is a flow diagram of an inventive process and structure for recalibration using accelerometer data from FIG. 6A .
  • FIG. 6C is a flow diagram of another inventive process and structure for recalibration using accelerometer data from FIG. 6A .
  • FIG. 7A is a flow diagram of another inventive process and structure for obtaining and pre-qualifying accelerometer measurements data for subsequent use in calibration.
  • FIG. 7B is a flow diagram of an inventive process and structure for providing and managing sets of measurements for recalibrating an accelerometer.
  • FIG. 8 is a flow diagram of an inventive process for selectively determining modes of recalibration.
  • FIG. 9 is a block diagram of an inventive process and structure for generating accelerometer parameters as in any of the other Figures and using them in a position engine.
  • FIG. 10 is a block diagram of an inventive process and structure for generating accelerometer parameters as in any of the other Figures and using them in a tilt compensation engine for supporting an e-compass.
  • FIG. 11 is a flow diagram of an inventive process of manufacturing the inventive systems shown in other Figures.
  • FIG. 12 is a flow diagram of an inventive process of manufacturing inventive integrated circuit chips having circuits and operations shown in the other Figures.
  • FIGS. 12A , 12 B, and 12 C are respective layout diagrams of various example forms of inventive integrated circuit chips provided with circuits and operations shown in the 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/or 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 720p MPEG4 decode, for some examples.
  • DSPs programmable digital signal processors
  • MPEG4 multi-standard
  • WMV9 RealVideo®
  • H.263, H.264 programmable digital signal processors
  • MPEG4 multi-standard encode/decode
  • 2D/3D graphics engine a 2D/3D graphics engine
  • MPU subsystem 1705 and 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 MreqInfo, such as MreqSecure, MreqPrivilege, MreqSystem in order to regulate access to different protected memory spaces.
  • MreqInfo such as MreqSecure, MreqPrivilege, MreqSystem
  • 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.
  • 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 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 .
  • 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 SAD 2 D 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 L4 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 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.
  • 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 1xEV-DV, 1xEV-DO or 3xEV-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 crystal oscillator TCX 0 , 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 .
  • an accelerometer calibration solution estimates Bias errors and Axes gain of MEMS three-axes accelerometers 1140 mounted on a smart phone 2010 or other portable device.
  • Such solution recognizes the practical aspects of calibrating accelerometers 1140 by users and provides a set of embodiments for users that are easier to use and more convenient compared to a relatively demanding and less-convenient six-posture approach.
  • One demanding approach in estimating bias errors and axes gain involves orienting the 3 axes accelerometer 1140 of FIG. 1 in six fixed postures: the first one where the x-axis is exactly parallel to the gravity vector g followed by the second one where x-axis is exactly anti-parallel to gravity vector g.
  • the third and fourth postures are with respect to y-axis parallel and anti parallel to gravity vector g and the last two postures are related to z-axis being parallel and anti-parallel to gravity vector g.
  • Measurements need to be done first on a precisely horizontal platform followed by measurement done with precise pitch and roll of the platform. The accuracy of the method is limited by the angular precision of the setup.
  • the bias errors ⁇ and axes gain S are computed from the averaged accelerometer reading of all three axes. While the six-posture method is computationally simple, an accurate measurement by this method requires an accurate and well-calibrated setup in a controlled environment. Any inaccuracy can result in errors in estimating bias errors and gain errors. Such inaccuracy in turn can lead to convergence delays in applications requiring precise estimates (e.g., Inertial Navigation and Pedestrian Navigation). Moreover, such inaccuracy can result in heading errors (such as direction relative to North) in platforms that use electronic compass 1150 and/or gyroscope 1170 technology that relies on an accelerometer 1140 for tilt compensation. This demanding six-posture method is not user friendly because it is not practical for cell phone users if they want to calibrate the accelerometer 1140 on the fly. It also calls for costly setup arrangements even for cell phone manufacturers.
  • Embodiments of method and system herein remove the necessity of accurately orienting the accelerometer 1140 . Instead, accelerometer 1140 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. An ordinary or regular user can easily tilt the cell phone 2010 , PDA 2096 , or other portable device in different orientations 2535 A, 2535 B, 2535 C and perform the calibration. Since the exact postures are not of concern, there is no requirement on the accuracy of the postures.
  • Various embodiments work on the datasets signaled by accelerometer 1140 at different imprecise, unspecified, non-specific or unknown orientations and nevertheless can estimate best-fit values for various accelerometer parameters, such as the axes gain and bias errors, etc.
  • various embodiments of structure and process benefit from different orientations 2535 A, B, C that are freely-establishable and user-determinable. No test fixture, calibration jig, nor otherwise-additional precision test instrumentation is required.
  • Various types of accelerometer 1140 sensors such as capacitive, piezoelectric, optical, MEMS (micro-electromechanical structure), and/or gyroscopic and others can be employed.
  • operations in this more-convenient approach commence in response to a step 2510 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.
  • the method is useful and handy for end-user, who may do a quick calibration of the accelerometer 1140 before deploying a particular application, e.g., Inertial Navigation assisted Pedestrian Navigation.
  • a parallel step 2520 responds to any internal prompt from the system software requesting recalibration software operation.
  • Any of a suite of navigation applications 2524 can request accelerometer 1140 recalibration on processor 2522 , 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 2526 , or the accelerometer 1140 has never been calibrated as indicated by calibration parameters merely set to their original initialization values (TABLE 1 later herein below), then an internal flag is set for processor 2522 to generate an internal prompt. A substantial change in the environment, such as a temperature change, detected by environmental sensor(s) 1160 can also trigger a recalibration request.
  • a succeeding step 2530 cues the user such as by display messages and/or audible instructions calling for the user to position the accelerometer 1140 in different orientations or directions 2535 A, B, C to accumulate data for calibration purposes.
  • Various position assist prompts are suitably given to the user to clarify and facilitate the measurement process.
  • a succession 2535 of cues and measurements occurs, as suggested by orientation-changing arrows 2535 A, 2535 B, and 2535 C in FIG. 1 .
  • accelerometer 1140 measurements are taken with the accelerometer 1140 in different directions or orientations.
  • the user changes the orientation in various directions using various orientation changes and combinations of the arrows 2535 A, 2535 B, and 2535 C.
  • 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 user can change the orientation readily, and manually holds the device stationary in each new orientation. If desired, the user also can rest the portable device in various orientations on a desk or table leaning against any convenient object.
  • the portable device is programmed to cue the user with a beep and/or flash when each measurement is to be taken. Then after the orientation is stable and the measurement is acquired, a beep-beep and/or double-flash from prompt transducers 1180 is issued. If the orientation is not changed within a modest time interval, then a single cueing beep is again issued as a reminder. Any of numerous other audible sounds and optical cues and/or other cues can be issued in various embodiments, and human factors engineering can be applied to establish convenient, understandable cues/prompts.
  • step 2540 ascertains that the accelerometer 1140 has been maintained stationary in a given orientation for a sufficient interval of time to substantially average out measurement error and permit calculation of offsets, biases or parametric errors in the accelerometer 1140 sensors themselves.
  • stationarity is also satisfied if the accelerometer 1140 is held stationary relative to the vehicle 2095 by the user inside the vehicle.
  • micro jerks can make the measurements significantly more noisy.
  • some embodiments perform these measurements when the vehicle is not moving as in FIGS. 4 and/or 5 , and screening as in FIG. 5 operates to reject measurements made in the presence of substantial noise.
  • Some other embodiments perform the measurements either when the platform is stationary or in a vehicle moving at constant velocity and accommodate increased noise due to micro jerks by providing extended or adaptive averaging time intervals and/or other measurement noise-rejection processes and structures and measurement screening, such as in FIGS. 4 and 5 or otherwise effective for the purpose.
  • the acceleration vector comprised of the outputs of the accelerometer sensors represents the one constant downward acceleration due to gravity g in connection with all the accelerometer measurements in every one of the orientations.
  • a further step 2550 performs a pre-calibration calculation of the parameters of the accelerometer 1140 , such as bias errors ⁇ and axes gains S for each of the three accelerometer sensors X, Y, Z that best fit with the measurements.
  • a step 2560 performs position sensing calculations that blend the accelerometer 1140 information (INS) and GPS position information as in FIG. 9 .
  • INS accelerometer 1140 information
  • a decision step 2570 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 2570 determines that the accuracy is sufficient, goes to RETURN 2575 , and proceeds to perform navigation applications 2524 upon user command or otherwise when launched.
  • decision step 2570 can determine that recalibration is called for, whereupon operations proceed to a step 2580 to prompt the user to decide for recalibration and go to step 2520 or 2510 .
  • FIG. 5 details step 2540 of FIG. 4 .
  • a step 2610 delivers a latest measurement vector for acceleration from accelerometer 1140 .
  • the measurement is screened or checked for credibility by steps 2620 and 2630 .
  • Step 2620 tests whether the resultant vectorial sum of the components of the latest measurement vector represents acceleration close to one-g, i.e., the acceleration of gravity 1 g. If not close to 1 g, operations discard the measurement and go back from step 2620 to 2610 .
  • the platform 2010 is oriented and held stationary in such a way that the acceleration is close to one-g.
  • sensors in need of calibration will supply measurement data that seemingly departs from 1 g acceleration of gravity, but moderately (e.g., within a small decision range on the order of plus/minus one percent +/ ⁇ 0.01 g).
  • This decision range can be established, for instance, in relation to accelerometer vendor specified bias error (offset) range and gain error range.
  • offset offset
  • a programmed decision range used by step 2620 does accept a measurement that departs moderately from 1 g acceleration of gravity. In such case, operations proceed to a step 2630 . (It may be better to perform these measurements with an assurance of stationarity from the user. Else, the data may be corrupted by small accelerations that falls in the decision range.)
  • step 2620 and step 2610 are alternated in a measurement loop transparent to user so that a series of acceleration vector measurements over an about-one-second interval are made and pass step 2620 .
  • step 2630 the series of acceleration vector measurements from step 2610 that pass step 2620 for a given single orientation of the accelerometer 1140 are available for analysis collectively.
  • Step 2630 computes the statistical variance (average squared-departure from their mean) of the series of acceleration vector measurements.
  • a predetermined threshold e.g. 0.01 or less
  • the user is informed that the measurement is successful and cued for another orientation whereupon operations again go back to step 2530 of FIG. 4 .
  • the measurement acquisition process is repeated for another orientation until measurements corresponding to a predetermined number of different orientations have been acquired, whereupon a further part 2640 of the calibration procedure is executed as described herein.
  • the mean of the series of acceleration vector measurements from step 2610 is passed directly to calibration procedure 2640 as described elsewhere herein.
  • the embodiments are user friendly. An ordinary user can orient the cell phone in six or more orientations and perform the calibration of bias errors and axes gains. Accelerometer bias error and sensitivity specifications are subject to inaccuracies of orientation in accelerometer vendor test setups when using the demanding six-posture method described earlier hereinabove.
  • the calibration embodiments do not depend on exact posture or accuracy of orientations and can be used not only by accelerometer manufacturers and portable device manufacturers to tighten their specs on parameters such as bias errors and sensitivity, but also by ordinary users.
  • 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 are obtained by integrating the accelerometer 1140 output once and twice respectively. Accelerometer bias error can produce over time a linear error in velocity, and a quadratic error in distance due to time-integration (e.g., see equation (42.1) described later herein below).
  • a Kalman Filter can be provided to receive GPS (Global Positioning System) 1190 and accelerometer 1140 (Inertial) measurements and then calibrate the inertial output with respect to good GPS measurements.
  • Reasonable estimates of the bias errors and gain errors of a given accelerometer 1140 help to define the initial states and facilitate quick convergence of the calibration filter.
  • a 3-axis accelerometer 1140 exposed to acceleration (f a ) ⁇ [f x f y f z ] T ⁇ registers acceleration outputs (f m ) in all three axes given by:
  • S is the gain (sensitivity) matrix
  • is the bias error vector referenced to the gravitational acceleration
  • w is a noise vector representing the accelerometers noise on all three axes X, Y, Z.
  • the acceleration values are referenced to the acceleration due to gravity in that location, where in the acceleration due to gravity is defined a value of unity.
  • the actual accelerations in S.I. unit would be obtained by multiplying the corresponding acceleration vector with the actual gravity of that location (e.g. obtained from WGS 84 model).
  • the three diagonal elements Sx, Sy, Sz of the gain matrix S are the gain coefficients for individual axes X, Y, Z while the six off-diagonal terms Sxy, Syx, Szx, Sxz, Syz, Szy represent cross-axes gain from each orthogonal axis.
  • the cross-axes terms arise from small alignment errors of the individual sensor axes in the three axis accelerometer 1140 .
  • the cross axis effects are less than 2% for state of art MEMS accelerometers and do not affect the inertial measurements significantly for purposes of some applications.
  • MEMS accelerometer vendors can specify error bounds for bias error and axes gain errors.
  • a precise test set up measures acceleration output vectors at 6 different orientations, the first one with the x-axis towards gravity axis or vector g followed by the second one with x-axis against gravity axis or vector g; the third and fourth one corresponding to y axis towards and against the gravity axis or vector g and the fifth and sixth one corresponding to z-axis towards and against the gravity axis or vector g.
  • the measurements are averaged over a long enough time to reduce the effect of accelerometer 1140 noise.
  • the bias error parameter vector ⁇ and gain parameter matrix S are estimated in the six posture method as follows. Local acceleration due to gravity is normalized to unity here, and plus/minus unity in equations (2)-(7) represents the orientation of a given one of the three accelerometer sensors parallel or anti-parallel to the downward gravitational acceleration.
  • the zeros in equations (2)-(7) represent the negligible acceleration measured in each of the six postures by the other two accelerometer sensors, which are assumed to have perfectly orthogonal orientations relative to the given sensor. Because of the six precise orientations reflected by the measured acceleration vectors [1 0 0] T , [ ⁇ 1 0 0] T , . . . [0 0 ⁇ 1] T of the accelerometer 1140 on the test stand, adding all those measured acceleration vectors cancels out contributions from matrix S and delivers the bias error vector ⁇ by equation (8):
  • the demanding six-posture method has some practical difficulties in implementation. Small errors in orientation of each accelerometer sensor on the precision test stand relative to the gravitational acceleration vector g (i.e., straight down) cause erroneous estimation of bias error vector ⁇ and axes gain matrix S. For an accelerometer 1140 in a cell phone 2010 that may need to get calibrated by a phone user, it would be difficult to implement the six-orientation based scheme that demands high accuracy of the orientation.
  • equation (11) represents the constancy of the gravitational acceleration regardless of the posture of the accelerometer 1140 :
  • the target value of gravitational acceleration g is unity (1), for example, in an iterative process embodiment described herein.
  • Embodiments for use with more than six unknowns are beneficial especially when the accelerometer sensors are subject to relatively-relaxed specifications for mutual perpendicularity, or where the desired calibration is to be very precise and the perpendicularity specification for accelerometer sensors is less than the precision desired.
  • the cross axes terms in matrix S are ignored.
  • the above assumption (ignoring the cross-axes terms) does not affect acceleration measurements significantly.
  • the matrix S is defined as a diagonal matrix with the axes gain terms:
  • three (3) unknowns in the axes gain matrix S and three (3) unknowns in the bias error vector ⁇ make a total of six (6) unknowns.
  • LMMSE linear minimum mean square estimation
  • More measurements can be taken (m>6) to improve the accuracy of measurement of the six unknowns.
  • Equation (11) is expressed as a square root of sum of squares for the kth measurement, and is given by equation (15).
  • parameter vector p does not need to be determined by equations (8) and (9) based on demandingly-precise test orientations. Instead, linearizing equation (15) by chain rule calculus differentiation, and expressing equation (15) directly in terms of changes ⁇ of measured quantities for an iterative process embodiment based on the gradient ⁇ g(k) with respect to the unknown parameters p, gives:
  • ⁇ g ( k ) ⁇ Yxx ( Yxx ( f x m ( k ) ⁇ x ) 2 /g ( k ))+ ⁇ Yyy ( Yyy ( f y m ( k ) ⁇ y ) 2 /g ( k ))+ ⁇ Yzz ( Yzz ( f z m ( k ) ⁇ z ) 2 /g ( k )) ⁇ z ( Yxx 2 (f x m ( k ) ⁇ x )/ g ( k )) ⁇ y ( Yyy 2 ( f y m ( k ) ⁇ y )/ g ( k )) ⁇ z ( Yzz 2 ( f z m ( k ) ⁇ z )/ g ( k )) (17)
  • equation (17A) An equivalent linearized form for an iterative process embodiment that substitutes equation (1A) to intermediately compute components of true acceleration f a for use in equation (17) is expressed as equation (17A):
  • ⁇ g ( k ) ⁇ Yxxf z a ( k ) 2 /( Yxxg ( k ))+ ⁇ Yyyf y a ( k ) 2 /( Yyyg ( k ))+ ⁇ Yzzf a a ( k ) 2 /( Yzzg ( k )) ⁇ z Yxxf x a ( k )/ g ( k ) ⁇ y Yyyf y a ( k )/ g ( k ) ⁇ z Yzzf z a ( k )/ g ( k ) (17A)
  • ⁇ g [ ⁇ g (1) . . . ⁇ g ( k ) . . . ⁇ g ( m )] T
  • each k th row of an (m ⁇ 6) relation matrix H is based on the sensor outputs f x m (k) f y m (k) f z m (k) of the k th measurement and equation (17) and has six numerical values that are numerically generated by an electronic processor programmed with these six expressions that use information from equations (15) and (16):
  • each k th row of (m ⁇ 6) relation matrix H is based instead on equation (1A) applied to compute components of true acceleration f a from the sensor outputs f x m (k) f y m (k) f z m (k) of the k th measurement.
  • Each k th row of relation matrix H is based on equation (17A) and gets the same six numerical values as in the first example, but which are numerically generated by an electronic processor alternatively programmed with these alternative six expressions that use information from equations (1A), (15) and (16):
  • the iterative process is programmed and stored, e.g., in flash memory 1025 ( 1720 . 1 ) for execution on a floating-point or fixed point processor in system 1700 of FIG. 2 . It should be apparent to the reader that any of various iterative processes and sets of processor instructions to accomplish each of them are suitably provided and applied by the skilled worker in practicing various embodiments according to the teachings herein.
  • Equation (16) The various parameters initialization for equation (16) is shown in TABLE 1.
  • the final estimates of bias errors ⁇ x , ⁇ y , ⁇ z and axes gain reciprocals Yxx, Yyy, Yzz are obtained through multiple iterations.
  • the steps for each iteration are as follows and are further described in connection with FIGS. 6A and 6B (or in FIG. 6C more general form for this and various other embodiments):
  • the Specified Threshold for step (9) may also be expressed as the product (m ⁇ ) of the number of measurements m times a small specified amount epsilon ⁇ defining a numerical bound within which the optimizing iterations are to be regarded as having sufficiently approached zero when the estimation process has converged.
  • parameter estimation process 2800 operations commence with BEGIN 2810 and then a step 2820 initializes the parameter p values so that the unknown bias errors ⁇ x, ⁇ y, ⁇ z are each initialized to zero, and the unknown axes gains Yxx, Yyy, Yzz are initialized to unity as in TABLE 1. If the accelerometer 1140 unit has been calibrated before, then subsequently using earlier-computed accelerometer parameter values, such as accelerometer parameter values that pertained under similar environmental conditions monitored by environmental sensor 1160 , can reduce the number of iterations to convergence in FIGS. 6B and 6C and thereby save battery energy and reduce system latency.
  • step 2820 establishes a configured number m of measurements and initializes measurement index k to one (1) to represent that a first measurement will be taken.
  • a succeeding step 2830 prompts the user via control signals to prompt transducers 1180 to reorient the platform (e.g., cell phone handset 2010 with an accelerometer 1140 ) in any one or more of directions 2535 A, B, C and put the platform in a new stationary arbitrary posture.
  • Accelerometer 1140 has sensors for each of three substantially mutually perpendicular axes.
  • An input step 2850 measures the average acceleration vector components f x m (k), f y m (k), and f z m (k) from accelerometer 1140 at the currently established stationary arbitrary posture for measurement k as discussed in connection with FIG. 5 .
  • a calibration confirmation control signal to transducers 1180 such as a double-flash and double-beep indicates the user that the measurement is successful.
  • a decision step 2855 screens that latest measurement k 2 to determine whether it is an essential duplicate of a previous measurement k 1 , such as by checking whether the sum of squared differences between the 3-element measurement vectors
  • k>m (Yes at step 2870 ), operations proceed through point A of FIG. 6A to FIG. 6B , or in some embodiments, to FIG. 6C instead.
  • step 2910 operations continue from point A to a step 2910 wherein the measurement index is again initialized to one (1).
  • a processor step 2930 uses equation (19) and computes a difference 1 ⁇ g(k) between known unity gravitational acceleration and the computed gravity value g(k) from step 2920 . Then a processor step 2940 generates a gradient ⁇ T g(k,j), i.e. a kth set of six row values for the kth row of (m ⁇ 6) relation matrix H according to the row formulas in expression (21) or in expression (21A) for instance.
  • the gradient-related relation matrix H is implemented as a table in memory 1024 ( 1720 . 3 or 1750 ) that is populated by the process of FIG. 6B with numerical values.
  • a numerical value is generated by the processor for the memory entry corresponding to each row k, column j of the relation matrix H.
  • the processor populates row k using the current parameter vector p and the average acceleration vector components f x m (k), f y m (k), and f z m (k) and the computed gravity value g(k), all for measurement k.
  • a decision step 2950 determines whether the entire table in memory corresponding to gradient-related matrix H is populated by testing whether index k exceeds the total number of measurements m. If not, operations loop back from step 2950 to step 2920 .
  • This inner loop 2920 - 2950 is executed until k>m, whereupon operations proceed to a step 2960 .
  • Step 2960 performs an outer loop kernel that collectively processes all the m measurements and updates the six-dimensional parameters estimate p using earlier-described equation (20) and adding to yield:
  • the outer loop has a decision step 2970 that computes a convergence metric and compares it with a threshold to determine whether the outer loop is converged.
  • a convergence metric computes a convergence metric and compares it with a threshold to determine whether the outer loop is converged.
  • One example of such convergence test involves the sum of squares of computed gravity differences ⁇ g:
  • Inequality (23) expresses the convergence criterion that the parameters p should be such that the sum of squares of computed gravity differences relative to unity over all the m measurements should be small (i.e., less than some small configuration value established for the purpose of convergence testing) so that all or almost all the measurements do a good job of measuring the gravitational acceleration components.
  • An alternate method of convergence for all methods is to use ( ⁇ p T ⁇ p ⁇ p ), i.e. less than a specified convergence value epsilon.
  • step 2970 If decision step 2970 detects that the outer loop is not converged (No), then operations loop back to step 2910 and perform another iteration based on the updated parameters p.
  • steps 2970 When the outer loop is converged (Yes) at step 2970 , operations proceed to a step 2980 that outputs recalibrated accelerometer parameters p whence RETURN 2995 is reached and the recalibrated accelerometer parameters p are stored in a memory record along with associated environmental sensor 1160 measurements and are used in navigation applications thereafter.
  • the accelerometer was placed on 14 different and arbitrary postures and the averaged output on each posture at rest was obtained.
  • the individual readings (for each orientation) and the computed estimates of parameters p are shown in TABLE 3 for the more convenient approach of embodiment I taught herein.
  • the convenient approach of embodiment I is user friendly and does not depend on any specific orientation during calibration of accelerometers. A total of six readings at any different orientations is sufficient to obtain a solution for the axes gain and bias errors, however more observations help to refine the estimates. A set of observations drawn from various orientations (spanning 4 ⁇ steradians of a sphere) is likely to provide better accuracy of estimates.
  • Kalman filtering A separate use of Kalman filtering is taught next herein for an alternative process embodiment 1K wherein the accelerometer 1140 calibration itself is achieved for process I above using Kalman filtering instead.
  • the Kalman embodiment for Method IK goes as follows:
  • Step 1K-2 Establish an initial uncertainty covariance matrix P ⁇ that describes the initial covariance of the uncertainties in parameters.
  • P ⁇ (i,j) E ((q i ⁇ p ⁇ i )(q j ⁇ p ⁇ j)) where “E( )” signifies expectation and where ⁇ q i , q j ⁇ are the unknown actual values of parameters p ⁇ i , p ⁇ j .
  • Covariance matrix P ⁇ is square and symmetric in general, and has dimensions (6 ⁇ 6) in an example with six parameters as here.
  • Step 1K-4.2 The values entered in measurement noise w from accelerometers 1140 are assumed to arise from a zero mean white Gaussian process. Establish a (m ⁇ m) matrix W as the covariance matrix for (m ⁇ 1) measurement noise w.
  • Matrix H is (m ⁇ 6) and same as equation (21) hereinabove, for example.
  • Step 1K-6 Compute the Kalman Gain as follows:
  • the Kalman Gain K represents a suitable weighting factor to the measurement update based on the current state uncertainties and measurement uncertainties.
  • Step 1K-7.1 Update the parameters according to the equation:
  • (6 ⁇ 1) (6 ⁇ 1)+(6 ⁇ m)(m ⁇ 1).
  • Step 1K-8.1 Update a matrix capital-P (P matrix) with the measurement as follows:
  • (6 ⁇ 6) ((6 ⁇ 6) ⁇ (6 ⁇ m)(m ⁇ 6)) (6 ⁇ 6).
  • Step 1K-9.1. Generate the sum of squared residues ( ⁇ g T ⁇ g).
  • Step 1K-9.2. Determine whether the sum of squared residues is less than a threshold value ⁇ pre-established for purposes of convergence testing. If not less, loop back to Step 1K-4.1. The loop is continued until the estimation process converges, as indicated when the sum of squared residues ( ⁇ g T ⁇ g) is less than the pre-established threshold ⁇ . Then process goes to Step 1K-10.
  • Step 1K-10 Output the estimates for the parameters p for use in a navigation application. If a navigation application utilizes any other estimates generated by the Kalman filter process, output those other estimates as well.
  • measurements are time-windowed or grouped according to similar temperature, or both, according to a measurement grouping process. In such cases, the procedure is executed again when appropriate to do so given the type of measurement grouping process as new measurement data comes in over time.
  • FIGS. 6A and 6C depict process embodiment II, and the computational procedures are varied in process embodiment II in some ways relative to process embodiment I detailed earlier hereinabove.
  • the orientation of each of the postures does not need to be known.
  • the embodiment II is computationally more efficient, as it avoids functions like square-root and some division operations and does converge.
  • embodiment II may result in inferior convergence of final parameter set compared to embodiment I.
  • Equation (11) is expressed as a sum of squares for the kth measurement without square root, and is given by equation (24).
  • Equation (24) is linearized by chain rule calculus differentiation to become equation (25).
  • Equation (25) is expressed directly in terms of measured quantities multiplied by their differences ⁇ p for an iterative process embodiment free of division operations by g(k).
  • ⁇ g 2 ( k ) 2[ ⁇ YxxYxx ( f x m ( k ) ⁇ x ) 2 + ⁇ YyyYy ( f y m ( k ) ⁇ y ) 2 + ⁇ YzzYzz ( f z m ( k ) ⁇ z ) 2 ⁇ x Yxx 2 ( f z m ( k ) ⁇ x ) ⁇ y Yyy 2 ( f y m ( k ) ⁇ y ) ⁇ z Yzz 2 ( f z m ( k ) ⁇ z )] (25)
  • ⁇ g 2 (k) signifies some amount of change in the measured value of gravity-squared expressed as a linearized product of the difference vector expressing some amount of change in the six unknowns of parameter vector p and multiplied times the six partial derivatives (gradient in equation (25)) of gravity-squared equation (24) as coefficients.
  • gravity squared g 2 (k) is treated as an entity per se and not as though some gravity value itself were known as a pre-existing value to multiply by itself to form such square.
  • the difference value ⁇ g 2 (k) of the entity gravity-squared is not determined in value, although its gradient-based linear relation is now established relative to also-undetermined changes in the six unknowns of parameter vector p.
  • equation (17A) An equivalent linearized form for an iterative process embodiment that uses equation (1A) to intermediately compute components of true accelerations f a for use in equation (17) is expressed as equation (17A):
  • ⁇ g 2 ( k ) 2 [ ⁇ Yxxf x a ( k ) 2 /Yxx+ ⁇ Yyyf y a ( k ) 2 /Yyy+ ⁇ Yzzf z a ( k ) 2 /Yzz ⁇ x Y xx f x a ( k ) ⁇ y Yyyf y a ( k ) ⁇ z Yzzf z a ( k )] (25A)
  • Equation (26) Rewriting the linear relationship of either equation (25) or (25A) in matrix form, with the symbolism ⁇ g 2 understood as an (m ⁇ 1) vector of elements ⁇ g 2 (k), provides equation (26):
  • Matrix H 2 is the gradient-based relation matrix (m ⁇ 6) defined by equation (25) or (25A).
  • the six partial derivatives in equation (25) of gravity-squared equation (24) for any given measurement k are respectively equal to twice the corresponding values in the corresponding row k of matrix H 2 .
  • Equation (26A) Pre-multiplying both sides of equation (26) with a matrix transpose, i.e., (6 ⁇ m) matrix H 2 T , delivers equation (26A), which has a 6 ⁇ 6 invertible square matrix product H 2 T H 2 on the right side of the equation (26A):
  • ⁇ g 2 [ ⁇ g 2 (1) . . . ⁇ g 2 ( k ) . . . ⁇ g 2 ( m )] T
  • the matrix inverse (H 2 T H 2 ) ⁇ 1 will generally not exist unless the number m of measurements equals or exceeds the number of unknowns (e.g., 6) in the parameter change vector ⁇ p.
  • the matrix rank R of the matrix product H 2 T H 2 desirably equals or exceeds the number of unknowns in the parameter change vector ⁇ p so that the determinant of the matrix product H 2 T H 2 is non-zero and the matrix product H 2 T H 2 is invertible in process II.
  • Equation (28) is substituted into equation (27) to yield equation (29):
  • Equation (29) determines ⁇ p, in terms of iteration constant c, the inverted linear relation 0.5(H 2 T H 2 ) ⁇ 1 H 2 T , and an (m ⁇ 1) column vector [1 ⁇ g 2 (k)].
  • Column vector [1 ⁇ g 2 (k)] represented algebraically has m elements wherein each kth element is generated by a processor in system 1700 subtracting the kth measurement of gravity-squared g 2 (k) from unity (1).
  • Equation (29) supports each negative-feedback-driven iteration in an iterative estimation process for updating unknown parameter vector p. If there are fewer measurements m than the number of unknowns (e.g., 6) and more measurements cannot be available or will not be available, then equation (29) can be replaced with equation (39A) described later hereinbelow.
  • the iteration constant c approximately represents a proportion of the distance vector from a given point in multi-dimensional mathematical space (e.g. 6-space) to the target point in that space.
  • the iteration constant c suitably is predetermined to have some value in a range 0 ⁇ c ⁇ 2. Choosing a value of iteration constant c that is greater than zero and less than or equal to one generally defines motion in the multidimensional space progressively in the direction of the target without overshooting the target. Choosing a value of iteration constant c that is more than one (1.0) and less than two (2.0) generally defines motion in the multidimensional space that overshoots the target but can ultimately converge on the target by successive hunting that backtracks and overshoots decreasingly.
  • the factor 0.5 of process embodiment II is not present and an iteration factor c is suitably provided in equation (20) in process embodiment I in some versions.
  • each kth row of an (m ⁇ 6) relation matrix H 2 is based on the sensor outputs f x m (k) f y m (k) f z m (k) of the kth measurement and equation (25).
  • Each kth row of matrix H 2 has six numerical values that are numerically generated by an electronic processor programmed with these six expressions that use information from equations (25) and (16):
  • each kth row of (m ⁇ 6) relation matrix H 2 is based instead on equation (1A) applied to compute components of true acceleration f a from the sensor outputs f x m (k) f y m (k) f z m (k) of the kth measurement.
  • Each kth row of relation matrix H 2 is based on equation (25A) and gets the same six numerical values as in the first example, but which are numerically generated by an electronic processor alternatively programmed with these alternative six expressions that use information from equations (25A) and (16):
  • An iterative estimation process embodiment such as one including equations (24)-(29) is programmed for execution on a floating-point or fixed point processor such as in system 1700 .
  • a floating-point or fixed point processor such as in system 1700 .
  • Different embodiments are suitably considered by the skilled worker in regard to expected number of iterations involved for convergence of the estimation process, number of clock cycles per iteration, acceptably small processor roundoff errors, processor power and energy dissipation, operability on less expensive fixed point processors with shorter register length, etc.
  • Various iterative processes and sets of processor instructions to accomplish each of them are suitably provided and applied by the skilled worker in practicing various embodiments according to the teachings herein.
  • Specified Threshold (CC 1 ⁇ m ⁇ 2 ) is a reasonable formula since all the measurements g 2 (k) are similar in concept to one another.
  • the Specified Threshold CC 1 for step (8) is expressed for process embodiment II as the product (m ⁇ 2 ) of the number of measurements m times a small specified amount epsilon ⁇ 2 defining a numerical bound within which the optimizing iterations are to be regarded as having sufficiently approached zero when the estimation process has converged.
  • CC 2 ⁇ p T ⁇ p ⁇ 3 as Specified Threshold.
  • the iterations are regarded as having converged in an embodiment version that uses convergence criterion CC 2 .
  • the several elements of parameter vector p differ in their concept as gain parameters and bias parameters, so a small Specified Threshold amount ⁇ 3 is specified and used.
  • FIG. 6C operations continue from point A of FIGS. 6A and 6C to a step 3110 wherein the measurement index k is initialized to one (1).
  • a succeeding step 3120 computes a first function of gravitational acceleration such as g(k) itself of Process I equation (15), or gravity-squared value g 2 (k) of Process II using sum of squares equation (24), or some other function.
  • the six-component parameter vector in Equation (16), or a twelve-component parameter vector, or some other parameter vector, is used.
  • a processor step 3130 computes a second function of the gravitational acceleration related to an error feedback based on the second function.
  • An example of such a second function is a difference 1 ⁇ g 2 (k) between known unity (1.00) squared-gravitational acceleration and the computed gravity-squared value g 2 (k) from step 3120 .
  • a processor step 3140 generates a set of values related to the gradient of the first function.
  • One example of such a set of values is a kth set of six row values for the kth row of (m ⁇ 6) relation matrix H 2 according to the row formulas in expression (30) or in expression (30A).
  • relation matrix H 2 is a table in memory that is populated by the process embodiment II with numerical values.
  • a numerical value is generated by the processor for the memory entry corresponding to each row k, column j of the relation matrix H 2 .
  • the processor populates row k using the current parameter vector p and the average acceleration vector components f x m (k) f y m (k) and f z m (k), all for measurement k.
  • matrix H 2 row k is populated. Steps 3120 , 3130 , 3140 are repeated for as many new measurements as are available.
  • a succeeding step 3150 updates the parameters p based on the error feedback and the gradient-related values. This operation takes various forms in process embodiments I, II, III and IV described herein.
  • step 3150 updates the six-dimensional parameters estimate p based on equation (29):
  • the outer loop has a decision step 3160 that computes a convergence metric, such as CC 1 or CC 2 hereinabove, and compares it with a threshold to determine whether the outer loop is converged.
  • a convergence metric such as CC 1 or CC 2 hereinabove
  • convergence test CC 1 involves the sum of squares of computed differences for gravity-squared:
  • Inequality (32) expresses the convergence criterion that the parameters p should be such that the sum of squares of differences of computed gravity-squared relative to unity over all the m measurements should be small so that all or almost all the measurements do a good job of measuring the gravitational acceleration components.
  • the convergence test expressed in another way determines a mean of the squares of the departures of g 2 (k) from unity according to inequality (32A):
  • step 3160 detects that the outer loop is not converged (No), as indicated by the convergence test not being met, then operations loop back to step 3120 and perform another iteration based on the latest updated parameters p.
  • steps 3160 When the outer loop is converged (Yes) at step 3160 , operations proceed to a step 3170 that outputs recalibrated accelerometer 1140 parameters p and uses them in a navigation application in system operations whence RETURN 3180 is reached.
  • the run-time navigation application is executed in general in the presence of varying accelerations that depart from the acceleration of gravity itself, which is desirable and satisfactory.
  • the accelerometer 1140 desirably measures the acceleration as the acceleration actually varies over time for purposes of supporting the run-time navigation application.
  • the measurements of acceleration for the navigation application are rendered more accurate because of the previously-performed recalibration of the accelerometer parameters in the presence of gravity acceleration itself.
  • the embodiment II is computationally more efficient, as it avoids functions like square-root etc.
  • the convergence from embodiment II is expected to be inferior from embodiment I.
  • FIGS. 6 A/ 6 C depict process embodiment III at the level of the flow illustration, and the computational procedures are varied in process embodiment III in some ways in a first process form III-A relative to process embodiment II and in a second process form III-B relative to process embodiment I detailed hereinabove.
  • the orientation of each of the postures does not need to be known.
  • Equation (24) is repeated for clarity here.
  • the optimization function summand F(k) is a function of the parameter vector p holding the six unknowns in this process embodiment III, and equation (16) is also repeated for clarity:
  • parameter vector p does not need to be determined by equations (8) and (9) based on demandingly-precise test orientations.
  • a gradient descent or Newton-Raphson process is included.
  • the matrix H T multiplication equation (18A) for process I and H 2 T equation (26A) for process II each represent a summation relationship between the numerous m measurements data and one parameter vector update estimate ⁇ p.
  • the approach posits that this one parameter vector update estimate ⁇ p should be such as to make the gradient vanish.
  • equation (34.2) is also expressed as follows:
  • the process III-A operates using equation (39) later below, evolved from equation (34.4) for the iteration(s).
  • the gradient ⁇ F(k) for process III-A is a column vector of first partial derivatives of optimization function F(k) and is given for the kth measurement by partial differentiating equation (33) to obtain equation (35).
  • a convenient approach to set up the equation (35) partial-differentiates by the chain rule—derivative of F(k) in equation (33) with respect to g 2 itself (not g) multiplied times gradient of g 2 itself using g 2 equation (24) with respect to the parameters p:
  • Scalar factor (1 ⁇ g 2 (k)) is a scalar in equation (35) and arises in differentiating squared difference represented by optimization function F(k).
  • Scalar factor (1 ⁇ g 2 (k)) relates to error feedback step 3130 .
  • Column vector H 2 T(k) arises from the calculus chain rule that further proceeds to calculus-differentiate g 2 (k) of equations (35) and (24).
  • the factor “4” (2 ⁇ 2) arises because the chain rule encounters and differentiates two squares in succession.
  • Column vector H 2 T(k) is the transpose of the kth row of the relation matrix H 2 already given in expression (30) and repeated here for clarity:
  • Equation M(k) of second partial derivatives of the optimization function F(k) is derived by partial differentiation of equation (35) gradient ⁇ F(k) of the optimization function.
  • Equation (37) The matrix M(k) of second partial derivatives of F(k) that results is given by equation (37):
  • Equation (37) a matrix ⁇ g 2 (k)/2 ⁇ g 2 (k)/2 T is formed by pre-multiplying the row expressed by (30), by its own transpose.
  • Equation (37) The double-del symbolism in the second term of equation (37) represents the following matrix in equation (38):
  • equation (39) ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇
  • Equation (39) can be compared with process embodiment II equation (27). Notice that the matrix H 2 T H 2 of equation (27) to be inverted is adjusted in equation (39) by the adjustment term based on summation over measurements of the moderately-sparse matrix of equation (38) times ⁇ g 2 (k):
  • This adjustment term adds proportionately few computations and may reduce the number of iterations needed to converge the loop tested by step 3160 .
  • initialization values are suitably the most recent values for the calibrated parameters.
  • the final estimates of bias errors ⁇ x , ⁇ y , ⁇ t and axes gain reciprocals Yxx, Yyy, Yzz are obtained through multiple iterations, if needed, for each measurement and then averaging the parameter estimates. Using most recent calibrated parameters as a starting point, and/or using the adjustment term can reduce or eliminate multiple iterations.
  • Equation (36) hereinabove relates the gradient of that function of gravity g that is gravity itself in process embodiment I to the gradient of the function g 2 , i.e., of gravity-squared.
  • Equation (36) hereinabove relates the gradient of that function of gravity g that is gravity itself in process embodiment I to the gradient of the function g 2 , i.e., of gravity-squared.
  • a process III-B variant of process embodiment I starts with another optimization function
  • Equation (39-I) for Process Embodiment III-B can be compared with process embodiment 1 equation (20).
  • the iteration constant c is experimentally adjusted for fastest convergence, preferably convergence on the first or second iteration. Inspection of the different equation forms (20), (29), (39), and (39-I) suggests that the fastest-convergence value for iteration constant c may vary somewhat from process embodiment to embodiment. Indeed, because the iteration(s) occur in a multi-dimensional mathematical space, there are equally-multiple constants c ii that can be configured and used to support each process embodiment taught herein. The iterations may somewhat hunt or spiral toward the minimum of optimization function (or 1) where the gradient vanishes in the multi-dimensional mathematical space.
  • iteration constant c is in some embodiments replaced with a diagonal matrix c having as many possibly-different independently-configured constant elements c ii down its main diagonal as there unknowns (e.g., 6) in parameter update vector ⁇ p.
  • Each of the diagonal elements c ii is chosen with a value approximately unity (1), or in a likely range 0.8 ⁇ c ii ⁇ 1.2 or substantially in the range 0 ⁇ c ii ⁇ 2. This use of such constant elements c ii recognizes that experimentation may show that iterations can be reduced in number on average by adjusting these constant elements c ii independently.
  • Recalibration process 3300 acquires one or more new measurements at a time for input to any estimation process embodiment(s) described elsewhere herein and utilized in FIG. 7B .
  • Recalibration process 3300 commences with BEGIN 3305 and determines whether an entry criterion is met at a step 3310 .
  • An example of entry criterion uses any one some or all of the following criteria: 1) time gating based on RTC 2526 over enough hours or days justify the calibration check, 2) user call for a navigation application, 3) environmental sensor 1160 input indicating a substantial temperature change, accelerometer voltage regulator voltage change, and/or other environmental change justifying recalibration, 4) or other suitable test.
  • parameters p in some embodiments are a set of parameters p obtained in a wholesale recalibration process that has gathered m measurements at some recent time and are associated with similar environmental sensor 1160 readings, e.g., same temperature and voltage. In some other embodiments, such parameters p are based on measurements one-by-one, hour-by-hour, or day-by-day, or otherwise occasional measurements.
  • FIG. 7A in some modes or embodiments does not need to cue the user, such as when a stable, diverse position is detected and elapsed time supported by RTC 2526 enables a new measurement occasionally to keep the calibration updated.
  • a predetermined value such as 0.8 for all but at most e.g. one (1) of the measurements k′.
  • step 3350 if the test passes, then the new measurement does not add significant new information for purposes of obtaining the already-determined parameters p, and so operations go to RETURN 3395 . In the step 3350 , if the test fails, then operations proceed through point (B) of FIG. 7A and on to FIG. 7B .
  • operations proceed through point (B) to a step 3510 that keeps a revolving set of measurements and/or already-determined parameters p.
  • the latest measurement is recorded and included in this set.
  • At least one earlier measurement is deselected or culled from the revolving set such as by applying any one or a combination of the following de-selection criteria: 1) least-recent (oldest) measurement or set of parameters, 2) outlier in a subset of oldest measurements or oldest parameters, 3) least-diverse measurement relative to the new measurement.
  • the embodiment provides a running window of observations in one or more sets, respectively having similar environmental variables pertinent to the measurements within a given set, for re-calibration purposes.
  • the de-selection process is made flexible enough to allow the re-calibration to trend away from earlier calibrations when such trend exists and should be recognized.
  • Operations execute a step 3520 to produce newly determined parameters p′, such as by combining the latest parameters with the now-culled revolving set of already-determined parameters from step 3510 .
  • Any estimation process as described elsewhere herein is suitably executed based on the now-culled revolving set from step 3510 to produce newly determined parameters p′.
  • the newly determined parameters p′ become the starting point for later re-calibration iterations in place of the initial values in TABLE 1 when the process embodiment of FIGS. 7A and 7B is called at some later time. In this way, unnecessary iterations are obviated, and processing time and power dissipation are reduced.
  • a further step 3530 generates and tests a metric comparing the updated parameters p′ to the recently-determined parameters p of step 3320 .
  • the metric and test suitably involves a distance metric such as
  • step 3530 if the test passes, then the new measurement does not change the already-determined parameters p much, and so operations go to RETURN 3535 .
  • steps 3530 if the test fails, then operations proceed to a further decision step 3540 to determine whether the parameter change metric (p′ ⁇ p) T (p′ ⁇ p)>d indicates that the new measured parameters have one or more elements that are such substantial outliers that the measurement f m (k) is not credible, as indicated by the metric exceeding a predetermined scalar distance d. If so, operations restore the culled measurement set to its original state and pass through a point C to step 3330 of FIG. 7A to take a new measurement. If credible (No at step 3540 of FIG. 7B ), then operations reach RETURN 3535 . After RETURN 3535 , operations may execute a navigation application 3170 based on newly determined parameters p from recalibration.
  • FIGS. 7A and 7B and other Figures as well that numerous variations and alternative processes for practicing different embodiments can be readily devised by the skilled worker based on the teachings herein.
  • FIGS. 6 A/ 6 C depict process embodiment IV at the level of the flow illustration, although the computational procedures are varied in process embodiment IV in some ways relative to process embodiments I or IK, detailed hereinabove to take account of the cross axes sensitivities. The orientation of each of the postures does not need to be known.
  • a sensitivity matrix designated S 1 is written out in full with cross-axes gain terms:
  • the sensitivity matrix S 1 is divided into the matrix product of the diagonal matrix S of equation (12) and a matrix of ratios of cross axes terms to their main diagonal sensitivity values in equation (12):
  • the cross axes ratios can each be interpreted to first-order as (small) direction cosine cos(90° ⁇ i ) of an almost-90-degree angle.
  • the direction cosine substantially equals its respective small departure angle ⁇ i from perfect perpendicularity measured in radian measure from each sensor toward another sensor with respect to which a given main sensitivity value pertains. Symmetry exists because the physical angle between two given sensors does not depend which sensor is thought of first. Accordingly, three departure angles are defined as follows.
  • Departure angle ⁇ 1 is the angle by which the Y sensor departs from being perpendicular to the X sensor.
  • Departure angle ⁇ 2 is the angle by which the Z sensor departs from being perpendicular to the Y sensor.
  • Departure angle ⁇ 3 is the angle by which the Z sensor departs from being perpendicular to the X sensor.
  • Y ⁇ ⁇ 1 [ Y ⁇ ⁇ xx 0 0 0 Y ⁇ ⁇ yy 0 0 0 Y ⁇ ⁇ zz ] ⁇ [ 1 - ⁇ 1 - ⁇ 3 - ⁇ 1 1 - ⁇ 2 - ⁇ 3 - ⁇ 2 1 ] ( 44 )
  • g ⁇ ( k ) ⁇ ⁇ Y ⁇ ⁇ xx 2 ⁇ [ ( f x m ⁇ ( k ) - ⁇ x ) - ⁇ 1 ⁇ ( f y m ⁇ ( k ) - ⁇ y ) - ⁇ 3 ⁇ ( f z m ⁇ ( k ) - ⁇ z ) ] 2 + Y ⁇ ⁇ yy 2 ⁇ [ - ⁇ 1 ⁇ ( f x m ⁇ ( k ) - ⁇ x ) + ( f y m ⁇ ( k ) - ⁇ y ) - ⁇ 2 ⁇ ( f z m ⁇ ( k ) - ⁇ z ) ] 2 + Y ⁇ ⁇ zz 2 ⁇ [ - ⁇ 3 ⁇ ( f x m ⁇ ( k ) - ⁇ x ) - ⁇ 2
  • Equation (45) in effect uses a sum of squares of the different corrected sensor outputs to generate a gravity-squared value for each measurement and equation (45) for gravity takes the square root. For some embodiments, this constitutes a sufficient approximation. Some other embodiments recognize that because the sensors are not perpendicular to one another, the sum of squares of even the true acceleration components measured by each of the sensors departs somewhat from the acceleration being experienced by the platform. Accordingly, equation (45A) can be adjusted in any suitable manner, such as by applying factors (1 ⁇ 1 2 ) and (1 ⁇ 2 2 ⁇ 3 2 ) for squares of (small) direction cosines, and written:
  • g ⁇ ( k ) ⁇ ⁇ Yxx 2 ⁇ [ ( f x m ⁇ ( k ) - ⁇ x ) - ⁇ 1 ⁇ ( f y m ⁇ ( k ) - ⁇ y ) - ⁇ 3 ⁇ ( f z m ⁇ ( k ) - ⁇ z ) ] 2 + ( 1 - ⁇ 1 2 ) ⁇ Yyy 2 ⁇ [ - ⁇ 1 ⁇ ( f x m ⁇ ( k ) - ⁇ x ) + ( f y m ⁇ ( k ) - ⁇ y ) - ⁇ 2 ⁇ ( f z m ⁇ ( k ) - ⁇ z ) ] 2 + ( 1 - ⁇ 2 2 - ⁇ 3 2 ) ⁇ Yzz 2 ⁇ [ - ⁇ 3 ⁇ ( f x m ⁇ ( k
  • Process embodiment IV also establishes an optimization function, such as:
  • the optimization summand function F 1 ( k ) this time is a function of a conveniently low-dimensional parameter vector p 1 holding the three departure angles as three unknowns in an angle-only process embodiment designated IV-A, and equation (16) is revised to a 3-vector:
  • process embodiment IV (either IV-A or IV-B) an iterative process according to embodiments I or IK is applied. For instance, a gradient descent process is applied using iterations wherein the change of parameters equal to minus the inverse of the matrix M 1 of second partial derivatives of the optimization function F 1 ( k ) multiplied by the gradient of the optimization function F 1 ( k ), as stated by equation (47):
  • the gradient here is again a column vector of first partial derivatives of optimization function F 1 ( k ) now using gravity g(k) of equation (45B), the partial derivatives with respect to the parameters of equation (46A) or (46B) depending on embodiment.
  • the gradient is given for the kth measurement by partial differentiating optimization function F 1 of equation (33-I) with respect to the parameters of either equation (46A) or (46B) to obtain equation (48) in terms of a gradient-related row H 3 (k) of fully-written-out algebraic expressions involving the three departure angles ⁇ i :
  • Equation (k) is the transpose of the kth row of a relation matrix H 3 and H 3 T (k)/g(k) is substituted for H in process I.
  • Matrix M 1 of second partial derivatives of the optimization function F 1 ( k ) is derived by partial differentiation of fully-written-out gradient ⁇ F 1 ( k ) equation (48) with respect to the parameters of either equation (46A) or (46B) for the optimization function if applying process III-B.
  • Process IV-A generates a set of updated accelerometer calibration parameters by desirably executing sub processes (e.g., step 0 and steps 1-3) to generate different subsets in succession of the accelerometer parameters.
  • sub processes e.g., step 0 and steps 1-3
  • Process IV-B generates a set of updated accelerometer parameters together, and iterations allow interactions between the parameters to be more fully accounted for in getting good values for them.
  • a call from either user or internal software occurs at a step 3605 and calls the system to launch a navigation application.
  • a step 3610 updates a data record regarding any recalibration criterion based on date/time RTC 2526 and environmental sensor 1160 .
  • a decision step 3620 evaluates a recalibration criterion for determining whether to invoke a recalibration mode that involves m measurements taken by user cueing and collective processing for them, or not.
  • the recalibration criterion may be programmed in any appropriate manner.
  • m measurements are suitably used that are or have been taken when the device has been at about the same temperature and about the same voltage regulator supply voltage for the accelerometer. The m measurements are utilized to estimate the accelerometer parameters as taught herein. Either way, thereafter operations proceed to launch the navigation application 3170 supported by the updated calibration of the accelerometer parameters.
  • FIG. 9 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 hereinabove.
  • a position engine 3720 is provided to receive GPS (Global Positioning System) and Inertial measurements (comprised of accelerometers and/or, gyros and/or, e-compass) and then blend the inertial output with GPS measurements obtained by a GPS engine 1190 in any of FIGS. 1-3 .
  • GPS Global Positioning System
  • Inertial measurements compact of accelerometers and/or, gyros and/or, e-compass
  • Conveniently calibrated MEMS accelerometers 1140 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.
  • Blending involves a Kalman filter implementation, or other suitable implementation, that uses both GPS as well as dead reckoning DR information to give a blended output.
  • the recalibration processes, circuits, devices, and systems taught herein can be accurate, reliable, and easy for end-users to use.
  • Computed true acceleration Y*(f m ⁇ ) for the INS is based on the 3-axis accelerometer actual sensor outputs f x m (k), f y m (k), f z m (k), which have bias errors and gain errors.
  • Accurate parameter estimates of the bias errors and gain errors of a given accelerometer 1140 help to define the state initialization for a position engine 3720 that combines GPS position input and 3-axis accelerometer (INS) actual sensor outputs f x m (k), f y m (k), f z m (k).
  • INS 3-axis accelerometer
  • a concept of Dead Reckoning is motivated by a process for combining information that adds a most-recent blended position x blend and velocity v blend to twice-integrated corrected acceleration according to equation (49.1). It is particularly useful in scenarios where GPS visibility is limited.
  • x blend ⁇ ( t ) x blend ⁇ ( t gps ) + ( t - t gps ) ⁇ v blend ⁇ ( t gps ) + ⁇ tgps t ⁇ ⁇ tgps t ⁇ [ g - Y * ( f m - ⁇ ) ] ⁇ ⁇ ⁇ t ⁇ ⁇ ⁇ t ( 49.1 )
  • 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 blended vector position measurement x gps and most-recent vector velocity measurement v gps .
  • the measured accelerometer sensor inputs f m 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 (49.1) and ( 49 . 2 ).
  • the accelerometer measures the gravity vector g with the platform at rest, so the difference between gravity vector g (essentially unity 1.00) and the compensated measurement Y*(f m ⁇ ) is expressed in the integrand.
  • v blend ⁇ ( t ) v blend ⁇ ( t gps ) + ⁇ tgps t ⁇ Y * ( f m - ⁇ ) ⁇ ⁇ ⁇ t ⁇ ⁇ ⁇ t ( 49.2 )
  • Kalman filter processing of time sequence data need not be tediously described here.
  • a well-defined state initialization with gain parameter estimates Yxx, Yyy, Yzz and bias parameter estimates ⁇ x , ⁇ y , ⁇ z from 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 3170 ( 2524 ).
  • FIG. 10 shows an embodiment of structure and process for using accelerometer gain and bias estimates from any of FIGS. 4-8 in Tilt Compensation for an e-compass 1150 and/or gyro 1170 or other device that benefits from tilt compensation.
  • calibration step 3710 beneficially supplies accurate gain parameter estimates Yxx, Yyy, Yzz and bias parameter estimates ⁇ x , ⁇ y , ⁇ z by any of the improved calibration processes described hereinabove.
  • FIG. 9 shows an embodiment of structure and process for using accelerometer gain and bias estimates from any of FIGS. 4-8 in Tilt Compensation for an e-compass 1150 and/or gyro 1170 or other device that benefits from tilt compensation.
  • calibration step 3710 beneficially supplies accurate gain parameter estimates Yxx, Yyy, Yzz and bias parameter estimates ⁇ x , ⁇ y , ⁇ z by any of the improved calibration processes described hereinabove.
  • Accelerometer bias correction is applied by a summer 3910 effectively subtracting step 3710 bias estimates ⁇ [ ⁇ x , ⁇ y , ⁇ z ] T from the respective raw acceleration measurements f m .
  • Computed true acceleration Y*(f m ⁇ ) is generated by a multiplier 3920 to multiply the resulting vector output (f m ⁇ ) of summer 3910 by the respective parameter estimates Yxx, Yyy, Yzz.
  • correcting the bias and gain errors in actual accelerometer 1140 sensor outputs f x m (k), f y m (k), f z m (k), beneficially improves the results from tilt-compensation process 3930 , which means that e-compass 1150 direction measurements more accurately support navigation applications 3170 ( 2524 ) and provide a better user experience.
  • the output of multiplier 3920 is a set of compensated measurements that are delivered to a Tilt Compensation process 3930 , such as for tilt-compensating e-compass 1150 and/or gyro 1170 of FIGS. 1-3 .
  • tilt compensation process 3930 Some information on tilt compensation process 3930 is disclosed in US patent application titled “Processes for More Accurately Calibrating E-Compass for Tilt Error, Circuits, and Systems” Ser. No. ______ (TI-65997) filed on even date herewith, and said U.S. patent application is incorporated herein by reference in its entirety.
  • Step 4340 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 4342 and 4345 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-10 for an accelerometer 1140 , as well as navigation applications and other system software.
  • Step 4350 tests operations of the accelerometer 1140 and other circuits by confirming rapid and accurate accelerometer 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-10 and various alternative estimation processes I, IK, II, III, IV or otherwise, 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 4350 verification and test operations are applied pertaining to real-time and non-real-time 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 mobile 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 4360 adjusts supporting parameters of the accelerometer 1140 circuitry, the accelerometer 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, iteration constants c or c ii , convergence metric epsilons, measured-gravity screening range, data outlier distance d, FIG. 4 RTC gating elapsed-time intervals for enabling calibration, environmental sensor thresholds and ranges for initiating a call for calibration, accelerometer data averaging time interval in FIG. 5 , and any other supporting parameters involved in processes described hereinabove.
  • step 4360 adjusts or reconfigures parameter(s) and safety margins and loops back to reload parameter(s) at step 4345 and do further testing.
  • steps 4370 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 4375 is reached.
  • processors that perform electronic processes on signals representing the accelerometer data and generate processor signals representing recalibrated parameters and corrected acceleration 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 accelerometer 1140 is a physically compact device including 1) a set of tri-axes MEMS accelerometer sensors, 2) the accelerometer sensors combined with a nonvolatile memory holding calibration software and/or parameters as described herein, 3) the accelerometer sensors combined with a microprocessor for the accelerometer 1140 as well as nonvolatile memory holding the calibration software and/or parameters, 4) e-compass 1150 and/or, Gyro 1170 combined with any of the other embodiments and further having tilt compensation software and parameters, 5) position sensing (e.g., GPS) unit combined with then any 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.
  • a position sensing e.g., GPS
  • a step 4510 prepares RTL (register transfer language) design code representing the hardware of any part or all of FIGS. 2 and 3 , and prepares software code according to any of FIGS. 4-10 and/or as described herein to run on the hardware as well. From the RTL is prepared a netlist of the actual gates in the integrated circuit, followed by place and route to establish the physical layout of the integrated circuit.
  • a step 4520 delivers the layout on an physical medium such as a pattern generation tape and prepares reticles for ultraviolet lithography or other wafer fab process. Wafer fabrication is then performed using the reticles in a step 4530 .
  • Serial-scan testing of scan able registers and other testing is performed using emulation EMU of FIG. 2 on the manufactured integrated circuits in a step 4540 . If the integrated circuits do not pass testing operations may go back to step 4510 or any applicable intermediate step so that the manufactured integrated circuits do pass testing. Operations proceed on to assembly/test step 4550 wherein an integrated circuit plastic packaging or ceramic or other packaging may be applied.
  • 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.
  • FIGS. 12A , 12 B, and 12 C Such integrated circuits with processors are depicted in various example forms in FIGS. 12A , 12 B, and 12 C with reference to enumerations of structures in FIG. 1 .
  • a processor 1030 is flanked on both sides by memory 1034 / 1036 / 1032 and has an accelerometer 1140 and an environmental sensor 1160 next to processor 1030 .
  • Gyro circuitry 1170 can also be provided.
  • the memory in FIGS. 12A , 12 B, 12 C includes a memory for holding physical representations of instructions defining processes of any one, some, or all of various embodiments herein.
  • a GPS baseband decoder 2160 of FIG. 3 is associated row-wise with centrally located processor 1030 .
  • Accelerometer 1140 and environmental sensor 1160 together with at least part of a gyro and/or, an electronic compass 1150 are laid out on the opposite side of processor 1030 from GPS decoder 2160 .
  • Memory 1034 / 1036 / 1032 occupies substantially the balance of the layout.
  • GPS baseband decoder 2160 is surrounded on three sides by memory 1034 / 1036 / 1032 .
  • Decoder 2160 is situated opposite on the chip from processor 1030 .
  • Accelerometer 1140 and an environmental sensor 1160 occupy a corner of the chip next to processor 1030 .
  • Electronic compass circuitry 1150 occupies an opposite corner of the chip next to processor 1030 .
  • Gyro circuitry is also provided.
  • the electronic circuit claimed in claim 1 further comprising at least part of an electronic compass situated and coupled to said electronic processor on a same single chip.
  • the electronic circuit claimed in claim 1 further comprising at least part of a gyro situated and coupled to said electronic processor on a same single chip.
  • the information storage medium claimed in claim 7 further comprising a second set of instructions to generate at least one distinct accelerometer calibration parameter.
  • the system claimed in claim 16 further comprising a nonvolatile storage coupled to said electronic processor and holding a software application responsive to the signals representing the calibration parameters.
  • 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. “Physical 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.

Abstract

An electronic circuit includes accelerometer (1140) sensors mounted on different axes, memory circuitry (1024) and an electronic processor (1030) coupled to the accelerometer (1140) sensors and to the memory circuitry (1024), the electronic processor (1030) operable to generate signals representing at least one calibration parameter for the accelerometer (1140) sensors from signals representing data resulting from the accelerometer (1140) sensors in an imprecise orientation of the accelerometer (1140) sensors. Information storage media, systems for measuring acceleration, and processes of operation and processes of manufacture are also disclosed.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • 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 Mar. 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 US patent application titled “Processes for More Accurately Calibrating E-Compass for Tilt Error, Circuits, and Systems” Ser. No. ______ (TI-65997) filed on even date herewith, 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.
  • BACKGROUND OF THE INVENTION
  • This invention is 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 accelerometer-based applications, circuits, devices and systems, such as for portable, including mobile, applications.
  • 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 mobile devices and 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.
  • MEMS (micro-electromechanical structure) accelerometers can be used in portable platforms such as cellular phones, personal assistants, positioning devices, and other applications. The platforms are useful such as for freefall detection, tilt sensing, position sensing, velocity measurement, gaming applications, elderly monitoring systems, and Inertial Navigation systems (INS as an assistance to GPS) in vehicular and pedestrian navigation generally, and e-compass supported navigation. MEMS accelerometers can be used for Inertial Navigation (INS) Assistance to GPS in GPS challenged environments.
  • MEMS accelerometers suffer from bias error and axes gain errors which should be estimated precisely for applications like tilt sensing, inertial navigation and vehicular and pedestrian navigation. Estimation of accelerometer parameters, such as bias errors and axes gains, of MEMS accelerometers can be problematic. It is difficult for a cell phone user to estimate and calibrate gain and bias errors in accelerometers on-the-fly. Accordingly, new solutions that provide more fully user-friendly embodiments to evaluate accelerometer bias errors and gain errors would be highly desirable.
  • SUMMARY OF THE INVENTION
  • Generally and in one form of the invention, an electronic circuit includes accelerometer sensors mounted on different axes, memory circuitry, and an electronic processor coupled to the accelerometer sensors and to the memory circuitry, the electronic processor operable to generate signals representing at least one calibration parameter for the accelerometer sensors from signals representing data resulting from the accelerometer sensors in an imprecise orientation of the accelerometer sensors.
  • Generally, another form of the invention involves an information storage medium holding a set of physical representations of instructions executable by an electronic processor to generate signals representing accelerometer calibration parameters from accelerometer data from different imprecise orientations.
  • Generally, a process form of the invention involves a process of accelerometer calibration, and the process includes generating signals representing accelerometer calibration parameters from signals representing multi-axes accelerometer data from different imprecise accelerometer orientations.
  • Generally, a system form of the invention for measuring acceleration includes a portable device having accelerometer sensors mounted on different axes and operable to supply accelerometer signals representing accelerometer data, a transducer associated with the portable device and operable to emit a user-perceptible prompt, and an electronic processor coupled to the accelerometer sensors and to the transducer, the electronic processor operable to cause the transducer to emit the user-perceptible prompt, and the electronic processor operable to generate signals representing at least one calibration parameter for the accelerometer sensors in response to the accelerometer signals in different freely-establishable orientations of the portable device.
  • Generally, and in a process of manufacture form of the invention, a process of manufacture includes attaching to a printed wiring board an electronic processor and an accelerometer and a flash memory holding a set of physical representations of instructions executable by the electronic processor to generate signals representing accelerometer calibration parameters from accelerometer data from different imprecise orientations.
  • 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 flow diagram of an inventive process and structure for obtaining accelerometer data for calibration purposes and determining whether recalibration is recommended.
  • FIG. 5 is a flow diagram of an inventive process and structure for obtaining accelerometer data and accelerometer pre-calibration.
  • FIG. 6A is a flow diagram of an inventive process and structure for obtaining accelerometer data for subsequent use in calibration.
  • FIG. 6B is a flow diagram of an inventive process and structure for recalibration using accelerometer data from FIG. 6A.
  • FIG. 6C is a flow diagram of another inventive process and structure for recalibration using accelerometer data from FIG. 6A.
  • FIG. 7A is a flow diagram of another inventive process and structure for obtaining and pre-qualifying accelerometer measurements data for subsequent use in calibration.
  • FIG. 7B is a flow diagram of an inventive process and structure for providing and managing sets of measurements for recalibrating an accelerometer.
  • FIG. 8 is a flow diagram of an inventive process for selectively determining modes of recalibration.
  • FIG. 9 is a block diagram of an inventive process and structure for generating accelerometer parameters as in any of the other Figures and using them in a position engine.
  • FIG. 10 is a block diagram of an inventive process and structure for generating accelerometer parameters as in any of the other Figures and using them in a tilt compensation engine for supporting an e-compass.
  • FIG. 11 is a flow diagram of an inventive process of manufacturing the inventive systems shown in other Figures.
  • FIG. 12 is a flow diagram of an inventive process of manufacturing inventive integrated circuit chips having circuits and operations shown in the other Figures.
  • FIGS. 12A, 12B, and 12C are respective layout diagrams of various example forms of inventive integrated circuit chips provided with circuits and operations shown in the 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/or 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 (VoP/VoIP), 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 720p 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 MreqInfo, 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 1xGraphics and 2xVideo, 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 1xEV-DV, 1xEV-DO or 3xEV-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 crystal oscillator TCX0, 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.
  • In FIGS. 4-6B, an accelerometer calibration solution estimates Bias errors and Axes gain of MEMS three-axes accelerometers 1140 mounted on a smart phone 2010 or other portable device. Such solution recognizes the practical aspects of calibrating accelerometers 1140 by users and provides a set of embodiments for users that are easier to use and more convenient compared to a relatively demanding and less-convenient six-posture approach.
  • One demanding approach in estimating bias errors and axes gain involves orienting the 3 axes accelerometer 1140 of FIG. 1 in six fixed postures: the first one where the x-axis is exactly parallel to the gravity vector g followed by the second one where x-axis is exactly anti-parallel to gravity vector g. The third and fourth postures are with respect to y-axis parallel and anti parallel to gravity vector g and the last two postures are related to z-axis being parallel and anti-parallel to gravity vector g. Measurements need to be done first on a precisely horizontal platform followed by measurement done with precise pitch and roll of the platform. The accuracy of the method is limited by the angular precision of the setup. The bias errors μ and axes gain S are computed from the averaged accelerometer reading of all three axes. While the six-posture method is computationally simple, an accurate measurement by this method requires an accurate and well-calibrated setup in a controlled environment. Any inaccuracy can result in errors in estimating bias errors and gain errors. Such inaccuracy in turn can lead to convergence delays in applications requiring precise estimates (e.g., Inertial Navigation and Pedestrian Navigation). Moreover, such inaccuracy can result in heading errors (such as direction relative to North) in platforms that use electronic compass 1150 and/or gyroscope 1170 technology that relies on an accelerometer 1140 for tilt compensation. This demanding six-posture method is not user friendly because it is not practical for cell phone users if they want to calibrate the accelerometer 1140 on the fly. It also calls for costly setup arrangements even for cell phone manufacturers.
  • Embodiments of method and system herein remove the necessity of accurately orienting the accelerometer 1140. Instead, accelerometer 1140 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. An ordinary or regular user can easily tilt the cell phone 2010, PDA 2096, or other portable device in different orientations 2535A, 2535B, 2535C and perform the calibration. Since the exact postures are not of concern, there is no requirement on the accuracy of the postures.
  • Various embodiments work on the datasets signaled by accelerometer 1140 at different imprecise, unspecified, non-specific or unknown orientations and nevertheless can estimate best-fit values for various accelerometer parameters, such as the axes gain and bias errors, etc. In other words, various embodiments of structure and process benefit from different orientations 2535A, B, C that are freely-establishable and user-determinable. No test fixture, calibration jig, nor otherwise-additional precision test instrumentation is required. Various types of accelerometer 1140 sensors, such as capacitive, piezoelectric, optical, MEMS (micro-electromechanical structure), and/or gyroscopic and others can be employed.
  • In FIG. 4, operations in this more-convenient approach commence in response to a step 2510 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. The method is useful and handy for end-user, who may do a quick calibration of the accelerometer 1140 before deploying a particular application, e.g., Inertial Navigation assisted Pedestrian Navigation. Also, a parallel step 2520 responds to any internal prompt from the system software requesting recalibration software operation. Any of a suite of navigation applications 2524 can request accelerometer 1140 recalibration on processor 2522, 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 2526, or the accelerometer 1140 has never been calibrated as indicated by calibration parameters merely set to their original initialization values (TABLE 1 later herein below), then an internal flag is set for processor 2522 to generate an internal prompt. A substantial change in the environment, such as a temperature change, detected by environmental sensor(s) 1160 can also trigger a recalibration request.
  • A succeeding step 2530 cues the user such as by display messages and/or audible instructions calling for the user to position the accelerometer 1140 in different orientations or directions 2535A, B, C to accumulate data for calibration purposes. Various position assist prompts are suitably given to the user to clarify and facilitate the measurement process. A succession 2535 of cues and measurements occurs, as suggested by orientation-changing arrows 2535A, 2535B, and 2535C in FIG. 1. In this way, accelerometer 1140 measurements are taken with the accelerometer 1140 in different directions or orientations. The user changes the orientation in various directions using various orientation changes and combinations of the arrows 2535A, 2535B, and 2535C. 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 user can change the orientation readily, and manually holds the device stationary in each new orientation. If desired, the user also can rest the portable device in various orientations on a desk or table leaning against any convenient object.
  • The portable device is programmed to cue the user with a beep and/or flash when each measurement is to be taken. Then after the orientation is stable and the measurement is acquired, a beep-beep and/or double-flash from prompt transducers 1180 is issued. If the orientation is not changed within a modest time interval, then a single cueing beep is again issued as a reminder. Any of numerous other audible sounds and optical cues and/or other cues can be issued in various embodiments, and human factors engineering can be applied to establish convenient, understandable cues/prompts.
  • In FIG. 4, step 2540 ascertains that the accelerometer 1140 has been maintained stationary in a given orientation for a sufficient interval of time to substantially average out measurement error and permit calculation of offsets, biases or parametric errors in the accelerometer 1140 sensors themselves. In a vehicle 2095 moving at constant velocity, stationarity is also satisfied if the accelerometer 1140 is held stationary relative to the vehicle 2095 by the user inside the vehicle. In moving vehicles, note that micro jerks can make the measurements significantly more noisy. Hence, some embodiments perform these measurements when the vehicle is not moving as in FIGS. 4 and/or 5, and screening as in FIG. 5 operates to reject measurements made in the presence of substantial noise. Some other embodiments perform the measurements either when the platform is stationary or in a vehicle moving at constant velocity and accommodate increased noise due to micro jerks by providing extended or adaptive averaging time intervals and/or other measurement noise-rejection processes and structures and measurement screening, such as in FIGS. 4 and 5 or otherwise effective for the purpose. Either way, the acceleration vector comprised of the outputs of the accelerometer sensors represents the one constant downward acceleration due to gravity g in connection with all the accelerometer measurements in every one of the orientations.
  • A further step 2550 performs a pre-calibration calculation of the parameters of the accelerometer 1140, such as bias errors μ and axes gains S for each of the three accelerometer sensors X, Y, Z that best fit with the measurements. A step 2560 performs position sensing calculations that blend the accelerometer 1140 information (INS) and GPS position information as in FIG. 9. Then a decision step 2570 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 2570 determines that the accuracy is sufficient, goes to RETURN 2575, and proceeds to perform navigation applications 2524 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 2570 can determine that recalibration is called for, whereupon operations proceed to a step 2580 to prompt the user to decide for recalibration and go to step 2520 or 2510.
  • FIG. 5 details step 2540 of FIG. 4. In FIG. 5, a step 2610 delivers a latest measurement vector for acceleration from accelerometer 1140. The measurement is screened or checked for credibility by steps 2620 and 2630. Step 2620 tests whether the resultant vectorial sum of the components of the latest measurement vector represents acceleration close to one-g, i.e., the acceleration of gravity 1 g. If not close to 1 g, operations discard the measurement and go back from step 2620 to 2610.
  • For example, if the user were still accelerating or decelerating the portable platform 2010 holding the accelerometer sensors in the process of changing the orientation of the platform, then the latest measurement vector that can depart significantly from the 1 g acceleration of gravity. Also, if the platform were accidentally dropped, the accelerometer sensors would be in free fall and would produce a measurement vector that would depart significantly from the 1 g acceleration of gravity. In use at run-time, measurements by properly-calibrated accelerometer sensors that depart from 1 g significantly would acceptably and desirably contribute to velocity-sensing and position-sensing. In this example of a specifically distinct calibration process at step 2620, however, the platform is oriented and held stationary in such a way that the acceleration is close to one-g.
  • Of course, sensors in need of calibration will supply measurement data that seemingly departs from 1 g acceleration of gravity, but moderately (e.g., within a small decision range on the order of plus/minus one percent +/−0.01 g). This decision range can be established, for instance, in relation to accelerometer vendor specified bias error (offset) range and gain error range. A programmed decision range used by step 2620 does accept a measurement that departs moderately from 1 g acceleration of gravity. In such case, operations proceed to a step 2630. (It may be better to perform these measurements with an assurance of stationarity from the user. Else, the data may be corrupted by small accelerations that falls in the decision range.)
  • In FIG. 5, step 2620 and step 2610 are alternated in a measurement loop transparent to user so that a series of acceleration vector measurements over an about-one-second interval are made and pass step 2620. When step 2630 is reached, the series of acceleration vector measurements from step 2610 that pass step 2620 for a given single orientation of the accelerometer 1140 are available for analysis collectively. Step 2630 computes the statistical variance (average squared-departure from their mean) of the series of acceleration vector measurements. This or any other suitable approach is applied to determine that each one of the accelerometer 1140 X, Y, Z sensor outputs fm(k)=[fx m(k) fy m(k) fz m(k)]T is essentially stable or unvarying. If the statistical variance is greater than a predetermined threshold (e.g., 0.01 or less), then operations discard the series of measurements, and go back to step 2610 to repeat the procedure for that platform orientation. An associated message to the user is suitably also provided to encourage physical stationarity. If the statistical variance is less than the predetermined threshold value at step 2630, then operations proceed. In some embodiments, the user is informed that the measurement is successful and cued for another orientation whereupon operations again go back to step 2530 of FIG. 4. The measurement acquisition process is repeated for another orientation until measurements corresponding to a predetermined number of different orientations have been acquired, whereupon a further part 2640 of the calibration procedure is executed as described herein. In some other embodiments, the mean of the series of acceleration vector measurements from step 2610 is passed directly to calibration procedure 2640 as described elsewhere herein.
  • The embodiments are user friendly. An ordinary user can orient the cell phone in six or more orientations and perform the calibration of bias errors and axes gains. Accelerometer bias error and sensitivity specifications are subject to inaccuracies of orientation in accelerometer vendor test setups when using the demanding six-posture method described earlier hereinabove. Here, the calibration embodiments do not depend on exact posture or accuracy of orientations and can be used not only by accelerometer manufacturers and portable device manufacturers to tighten their specs on parameters such as bias errors and sensitivity, but also by ordinary users.
  • 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 are obtained by integrating the accelerometer 1140 output once and twice respectively. Accelerometer bias error can produce over time a linear error in velocity, and a quadratic error in distance due to time-integration (e.g., see equation (42.1) described later herein below).
  • In vehicle navigation, it is important to correct the bias errors μ and gain errors S of an accelerometer 1140 periodically to prevent a rapid build up in velocity and distance. For instance, a Kalman Filter can be provided to receive GPS (Global Positioning System) 1190 and accelerometer 1140 (Inertial) measurements and then calibrate the inertial output with respect to good GPS measurements. Reasonable estimates of the bias errors and gain errors of a given accelerometer 1140 help to define the initial states and facilitate quick convergence of the calibration filter. A 3-axis accelerometer 1140 exposed to acceleration (fa) {=[fxfyfz]T} registers acceleration outputs (fm) in all three axes given by:

  • f m =S*[f a x f a y f a z]T +μ+w  (1)
  • where, S is the gain (sensitivity) matrix, μ is the bias error vector referenced to the gravitational acceleration and w is a noise vector representing the accelerometers noise on all three axes X, Y, Z.
  • In this example and in all formulations beyond this point, the acceleration values are referenced to the acceleration due to gravity in that location, where in the acceleration due to gravity is defined a value of unity. The actual accelerations in S.I. unit would be obtained by multiplying the corresponding acceleration vector with the actual gravity of that location (e.g. obtained from WGS 84 model).
  • Notice that if the measurement process is arranged to average out the noise w, then

  • f aT =S 1*(f m−μ)  (1A)
  • The three diagonal elements Sx, Sy, Sz of the gain matrix S are the gain coefficients for individual axes X, Y, Z while the six off-diagonal terms Sxy, Syx, Szx, Sxz, Syz, Szy represent cross-axes gain from each orthogonal axis. The cross-axes terms arise from small alignment errors of the individual sensor axes in the three axis accelerometer 1140. Typically the cross axis effects are less than 2% for state of art MEMS accelerometers and do not affect the inertial measurements significantly for purposes of some applications. MEMS accelerometer vendors can specify error bounds for bias error and axes gain errors.
  • Suppose the demanding six-posture method were used to estimate the coefficients of Gain matrix S and bias error μ. A precise test set up measures acceleration output vectors at 6 different orientations, the first one with the x-axis towards gravity axis or vector g followed by the second one with x-axis against gravity axis or vector g; the third and fourth one corresponding to y axis towards and against the gravity axis or vector g and the fifth and sixth one corresponding to z-axis towards and against the gravity axis or vector g. The measurements are averaged over a long enough time to reduce the effect of accelerometer 1140 noise.
  • The corresponding equations for averaged measured vector (fm) in the six-posture method are given by:

  • f1m=S*[1 0 0]T+μ  (2)

  • f2m=S*[−1 0 0]T+μ  (3)

  • f3m=S*[0 1 0]T+μ  (4)

  • f4m=S*[0 −1 0]T+μ  (5)

  • f5m=S*[0 0 1]T+μ  (6)

  • f6m=S*[0 0 −1]T+μ  (7)
  • The bias error parameter vector μ and gain parameter matrix S are estimated in the six posture method as follows. Local acceleration due to gravity is normalized to unity here, and plus/minus unity in equations (2)-(7) represents the orientation of a given one of the three accelerometer sensors parallel or anti-parallel to the downward gravitational acceleration. The zeros in equations (2)-(7) represent the negligible acceleration measured in each of the six postures by the other two accelerometer sensors, which are assumed to have perfectly orthogonal orientations relative to the given sensor. Because of the six precise orientations reflected by the measured acceleration vectors [1 0 0]T, [−1 0 0]T, . . . [0 0 −1]T of the accelerometer 1140 on the test stand, adding all those measured acceleration vectors cancels out contributions from matrix S and delivers the bias error vector μ by equation (8):
  • μ = k = 1 6 f km / 6 ( 8 )
  • Moreover, because of the six precise orientations, pair wise subtraction for each of the three pairs of measured acceleration vectors cancels the bias error vector μ and delivers three column vectors comprised in estimated parameter matrix S, all according to equation (9):

  • S=[(f 1m −f 2m)/2(f 3m −f 4m)/2(f 5m −f 6m)/2]  (9)
  • The demanding six-posture method has some practical difficulties in implementation. Small errors in orientation of each accelerometer sensor on the precision test stand relative to the gravitational acceleration vector g (i.e., straight down) cause erroneous estimation of bias error vector μ and axes gain matrix S. For an accelerometer 1140 in a cell phone 2010 that may need to get calibrated by a phone user, it would be difficult to implement the six-orientation based scheme that demands high accuracy of the orientation.
  • By contrast, an approach to solving the problems more conveniently is described herein and has various embodiments. At any point of time the true acceleration measurements of all three axes X, Y, Z at condition of rest produce a resultant vector of a unit of gravitational acceleration g. Normalizing the true acceleration vector fa for gravitational acceleration g to be unity, the true accelerations fa of the 3-axis [fx a fy a fz a]T satisfies the equation:

  • fafaT=[fx afy afz a][fx afy afz a]T=g2=1  (10)
  • Using equations (1A) and (10), equation (11) represents the constancy of the gravitational acceleration regardless of the posture of the accelerometer 1140:

  • (f m−μ)T(S −1)T(S −1)(f m−μ)=g 2  (11)
  • The three accelerometer 1140 X, Y, Z sensor outputs fm(k)=[fx m(k) fy m(k) fz m(k)]T represent a kth measurement and constitute the measured accelerometer vector averaged over long enough time to reduce the statistical variance of accelerometer noise w to an acceptably small level. The target value of gravitational acceleration g is unity (1), for example, in an iterative process embodiment described herein.
  • Notice that there are as many as nine (9) unknowns in the axes gain matrix S and three (3) unknowns in the bias error vector μ. Solving for these twelve (12) unknown quantities in some embodiments is performed in some embodiments by taking measurements (e.g., m>=12) at different postures and solving equation (11) in a recursive least squares sense, such as by using a microprocessor in system 1700 of FIG. 2 performing linear minimum mean square estimation, gradient descent process, and/or other applicable data analysis process. More measurements can be taken to improve the accuracy of measurements of the 12 unknowns. Embodiments for use with more than six unknowns are beneficial especially when the accelerometer sensors are subject to relatively-relaxed specifications for mutual perpendicularity, or where the desired calibration is to be very precise and the perpendicularity specification for accelerometer sensors is less than the precision desired.
  • In some embodiments, for simplicity of analysis, the cross axes terms in matrix S are ignored. When the cross axes terms are negligible, the above assumption (ignoring the cross-axes terms) does not affect acceleration measurements significantly. In accordance with the definition, the matrix S is defined as a diagonal matrix with the axes gain terms:
  • S = [ S xx 0 0 0 S yy 0 0 0 S zz ] ( 12 )
  • In these embodiments, three (3) unknowns in the axes gain matrix S and three (3) unknowns in the bias error vector μ make a total of six (6) unknowns. Solving for these six unknown quantities in some of these embodiments is performed in some embodiments by taking measurements (e.g., m>=6) at different postures and solving equation (11) in a recursive least squares sense, such as by using a microprocessor in system 1700 performing linear minimum mean square estimation (LMMSE), iterative error feedback, and/or a gradient descent process, and/or other applicable data analysis process. More measurements can be taken (m>6) to improve the accuracy of measurement of the six unknowns.
  • Define the diagonal matrix Y=S−1
  • Y = [ Y xx 0 0 0 Y yy 0 0 0 Y zz ] ( 13 )
  • where

  • Yxx=1/Sxx

  • Yyy=1/Syy

  • Yzz=1/Szz  (14)
  • A number “m” of vector acceleration measurements fm(k) indexed k of are taken at different freely-established postures and a measured value of the acceleration of gravity g(k) is computed using equation (15). The orientation of each of the postures does not need to be known. Equation (11) is expressed as a square root of sum of squares for the kth measurement, and is given by equation (15).

  • g(k)=√(Y xx 2(f x m(k)=μx)2 +Y yy 2(f y m(k)=μy)2 +Y zz 2(f z m(k)=μz)2)  (15)
  • The measured acceleration of gravity g (k) for any given measurement will likely be different from the known value unity (1.00) while the six unknown parameters are being optimized by the procedure described next.
  • Define a parameter vector p holding the six unknowns (can be initialization values or currently-unrefined values) in this process embodiment:

  • p=[YxxYyyYzzμxμyμz]T  (16)
  • Here, parameter vector p does not need to be determined by equations (8) and (9) based on demandingly-precise test orientations. Instead, linearizing equation (15) by chain rule calculus differentiation, and expressing equation (15) directly in terms of changes Δ of measured quantities for an iterative process embodiment based on the gradient ∇g(k) with respect to the unknown parameters p, gives:

  • Δg(k)=ΔYxx(Yxx(f x m(k)−μx)2 /g(k))+ΔYyy(Yyy(f y m(k)−μy)2 /g(k))+ΔYzz(Yzz(f z m(k)−μz)2 /g(k))−Δμz(Yxx 2(fx m(k)−μx)/g(k))−Δμy(Yyy 2(f y m(k)−μy)/g(k))−Δμz(Yzz 2(f z m(k)−μz)/g(k))  (17)
  • An equivalent linearized form for an iterative process embodiment that substitutes equation (1A) to intermediately compute components of true acceleration fa for use in equation (17) is expressed as equation (17A):

  • Δg(k)=ΔYxxf z a(k)2/(Yxxg(k))+ΔYyyf y a(k)2/(Yyyg(k))+ΔYzzf a a(k)2/(Yzzg(k))−Δμz Yxxf x a(k)/g(k)−μy Yyyf y a(k)/g(k)−Δμz Yzzf z a(k)/g(k)  (17A)
  • Rewriting either equation (17) or (17A) in matrix form provides a respective version of:

  • Δg=[∇Tg]Δp=HΔp  (18)
  • The matrix ∇Tg=H signifies a matrix having m rows, each row equal to the transpose of column values of gradient of gravity with respect to the parameters p for a respective kth one of the m measurements fm(k). Additionally writing with a 6×6 matrix product HTH provides

  • HTΔg=HTHΔP  (18A)

  • where,

  • Δp=[ΔYxxΔYyyΔYzzΔμxΔμyΔμz]T

  • Δg=[Δg(1) . . . Δg(k) . . . Δg(m)]T
  • In (m×1) column vector Δg, each entry is given by equation (19):

  • Δg(k)=1−g(k)  (19)
  • and H is the relation matrix (m×6) related to the gradient of gravity and defined by equation (17). Solving equation (18A) yields

  • Δp=(H T H)−1 H T Δg  (20)
  • In a first example, note that each kth row of an (m×6) relation matrix H is based on the sensor outputs fx m(k) fy m(k) fz m(k) of the kth measurement and equation (17) and has six numerical values that are numerically generated by an electronic processor programmed with these six expressions that use information from equations (15) and (16):
  • T g ( k , j ) = H ( k , j ) = [ ( Y xx ( f x m ( k ) - μ x ) 2 / g ( k ) ) , ( Y yy ( f y m ( k ) - μ y ) 2 / g ( k ) ) , ( Y zz ( f z m ( k ) - μ z ) 2 / g ( k ) ) , - ( Y xx 2 ( f x m ( k ) - μ x ) / g ( k ) ) , - ( Y yy 2 ( f y m ( k ) - μ y ) / g ( k ) ) , ( Y zz 2 ( f z m ( k ) - μ z ) / g ( k ) ) ] ( 21 )
  • In a second example, note that each kth row of (m×6) relation matrix H is based instead on equation (1A) applied to compute components of true acceleration fa from the sensor outputs fx m(k) fy m(k) fz m(k) of the kth measurement. Each kth row of relation matrix H is based on equation (17A) and gets the same six numerical values as in the first example, but which are numerically generated by an electronic processor alternatively programmed with these alternative six expressions that use information from equations (1A), (15) and (16):

  • [fz a(k)2(Yxxg(k)),fy a(k)2/Yyyg(k),fz a(k)2/(Yaag(k)−Yxxfz a(k),−Yyyfy a(k)/g(k),Yzzfz a(k)/g(k)]  (21A)
  • The iterative process is programmed and stored, e.g., in flash memory 1025 (1720.1) for execution on a floating-point or fixed point processor in system 1700 of FIG. 2. It should be apparent to the reader that any of various iterative processes and sets of processor instructions to accomplish each of them are suitably provided and applied by the skilled worker in practicing various embodiments according to the teachings herein.
  • The various parameters initialization for equation (16) is shown in TABLE 1. The final estimates of bias errors μx, μy, μz and axes gain reciprocals Yxx, Yyy, Yzz are obtained through multiple iterations. The steps for each iteration are as follows and are further described in connection with FIGS. 6A and 6B (or in FIG. 6C more general form for this and various other embodiments):
  • TABLE 1
    PARAMETER INITIALIZATION
    Initial
    Parameters (p) Value
    μx μy μz 0, 0, 0
    Yxx Yyy Yzz 1, 1, 1
  • Estimation Process I
  • 1. Initialize parameters p according to TABLE 1.
    2. Keep the three axes accelerometer 1140 at any arbitrary posture, keep it stationary and measure the average acceleration on all three axes: [fx m fy m fz m]T. Repeat the process “m” number of times with different postures 2535A, B, C every time to get “m” sets of measurement vectors.
    3. Compute the measured value of g(k) using the current parameter values and equation (15) for each measurement k; k=1 to m
    4. Compute Δg(k)=1−g(k); k=1 to m (Difference between target value and measured value of gravity)
    5. Compute the gradient-related matrix H using equation (21) where the kth row of H is computed from the kth measurement set and the current parameter values.
    6. Compute Δp using equation (20).
    7. Update the parameter values; p=p+Δp.
  • 8. Compute new g and Δg for new p.
  • 9. If ((ΔgTΔg)<Specified Threshold) Stop, else loopback to Step 5.
  • Note that the Specified Threshold for step (9) may also be expressed as the product (mε) of the number of measurements m times a small specified amount epsilon ε defining a numerical bound within which the optimizing iterations are to be regarded as having sufficiently approached zero when the estimation process has converged.
  • In FIG. 6A, parameter estimation process 2800 operations commence with BEGIN 2810 and then a step 2820 initializes the parameter p values so that the unknown bias errors μx, μy, μz are each initialized to zero, and the unknown axes gains Yxx, Yyy, Yzz are initialized to unity as in TABLE 1. If the accelerometer 1140 unit has been calibrated before, then subsequently using earlier-computed accelerometer parameter values, such as accelerometer parameter values that pertained under similar environmental conditions monitored by environmental sensor 1160, can reduce the number of iterations to convergence in FIGS. 6B and 6C and thereby save battery energy and reduce system latency.
  • Also, step 2820 establishes a configured number m of measurements and initializes measurement index k to one (1) to represent that a first measurement will be taken. A succeeding step 2830 prompts the user via control signals to prompt transducers 1180 to reorient the platform (e.g., cell phone handset 2010 with an accelerometer 1140) in any one or more of directions 2535A, B, C and put the platform in a new stationary arbitrary posture. Accelerometer 1140 has sensors for each of three substantially mutually perpendicular axes. An input step 2850 measures the average acceleration vector components fx m(k), fy m(k), and fz m(k) from accelerometer 1140 at the currently established stationary arbitrary posture for measurement k as discussed in connection with FIG. 5. A calibration confirmation control signal to transducers 1180 such as a double-flash and double-beep indicates the user that the measurement is successful.
  • In some embodiments a decision step 2855 screens that latest measurement k2 to determine whether it is an essential duplicate of a previous measurement k1, such as by checking whether the sum of squared differences between the 3-element measurement vectors |(fm(k2)−fm(k1))|2 is less than a predetermined small value. (Duplication might occur either by user inaction or inadvertently by some re-orientations that, in effect, merely precess the accelerometer 1140 around the vertical.) If six or fewer measurements have been taken so far, (Yes at step 2855) then operations branch to a step 2858 to drop the latest measurement and prompt the user for more diverse positioning, whereupon operations go back through a point (D) to step 2830. This helps reduce the chances that the rank of the gradient-related matrix product HTH will be less than the number of unknowns (e.g., 6), which can impede inversion of matrix product HTH in equation (20).
  • In due course, sufficiently-diverse measurements fm(k) are taken, and operations proceed from decision step 2855 to a step 2860. Step 2860 increments the measurement index k=k+1. Then decision step 2870 determines whether all of a number m>=6 of desired measurements have been taken. If not, operations loop back to step 2830 to prompt the user to put the platform in another new stationary arbitrary posture, and the loop 2830-2870 is repeated until all m measurements have been taken. When k>m, (Yes at step 2870), operations proceed through point A of FIG. 6A to FIG. 6B, or in some embodiments, to FIG. 6C instead.
  • In FIG. 6B, operations continue from point A to a step 2910 wherein the measurement index is again initialized to one (1). A succeeding step 2920 computes a gravity value g(k) using square root of sum of squares equation (15) with the six-parameter vector in Equation (16) initialized to p=[1 1 1 0 0 0]T or a current parameter vector p, if available. Equation (20) is then computed and further uses the acceleration vector components fx m(k) fy m(k), and fz m(k) for k=1.
  • Further in FIG. 6B, a processor step 2930 uses equation (19) and computes a difference 1−g(k) between known unity gravitational acceleration and the computed gravity value g(k) from step 2920. Then a processor step 2940 generates a gradient ∇Tg(k,j), i.e. a kth set of six row values for the kth row of (m×6) relation matrix H according to the row formulas in expression (21) or in expression (21A) for instance. The gradient-related relation matrix H is implemented as a table in memory 1024 (1720.3 or 1750) that is populated by the process of FIG. 6B with numerical values. A numerical value is generated by the processor for the memory entry corresponding to each row k, column j of the relation matrix H. The processor populates row k using the current parameter vector p and the average acceleration vector components fx m(k), fy m(k), and fz m(k) and the computed gravity value g(k), all for measurement k. For instance, the memory entry corresponding to row k, column one is computed by the processor programmed according to the formula H(k, 1)=(Yxx (fx m(k)−μ)x)2/g(k)), and so forth over to row k, column 6, which uses further computer instructions that when executed do an electronic process that represents and implements the formula H(k, 6)=−(Yzz2(fz m(k)−μz)/g(k)).
  • At completion of step 2940 in FIG. 6B, matrix row k is populated, and the measurement index is incremented so k=k+1 at a step 2945. Then a decision step 2950 determines whether the entire table in memory corresponding to gradient-related matrix H is populated by testing whether index k exceeds the total number of measurements m. If not, operations loop back from step 2950 to step 2920. This inner loop 2920-2950 is executed until k>m, whereupon operations proceed to a step 2960. Step 2960 performs an outer loop kernel that collectively processes all the m measurements and updates the six-dimensional parameters estimate p using earlier-described equation (20) and adding to yield:

  • p=p+Δp=p+(H T H)−1 H T Δg  (22)
  • Associated with step 2960, a test 2965 is provided (such as determining whether the determinant of matrix product HTH is less than a predetermined small values for the purpose of invertibility testing) to determine whether matrix product HTH is invertible, i.e., whether its rank is at least equal to the number of unknowns (e.g., 6). If the determinant is very small or zero at step 2965, operations branch to a step 2968 to prepare to take another measurement by setting k=m+1 and m=m+1 and cueing the user. After step 2968, operations go back to point (D) and step 2830 of FIG. 6A. Because of entry screening step 2855, step 2965 is likely to be passed (No at step 2965), and operations proceed to step 2970.
  • The outer loop has a decision step 2970 that computes a convergence metric and compares it with a threshold to determine whether the outer loop is converged. One example of such convergence test involves the sum of squares of computed gravity differences Δg:

  • ΔgTΔg<mε  (23)
  • Inequality (23) expresses the convergence criterion that the parameters p should be such that the sum of squares of computed gravity differences relative to unity over all the m measurements should be small (i.e., less than some small configuration value established for the purpose of convergence testing) so that all or almost all the measurements do a good job of measuring the gravitational acceleration components. An alternate method of convergence for all methods is to use (ΔpTΔp<εp), i.e. less than a specified convergence value epsilon.
  • If decision step 2970 detects that the outer loop is not converged (No), then operations loop back to step 2910 and perform another iteration based on the updated parameters p. When the outer loop is converged (Yes) at step 2970, operations proceed to a step 2980 that outputs recalibrated accelerometer parameters p whence RETURN 2995 is reached and the recalibrated accelerometer parameters p are stored in a memory record along with associated environmental sensor 1160 measurements and are used in navigation applications thereafter.
  • An experiment was carried out with 12 bit accelerometer KXR94 from Kionix Inc. The accelerometer bias errors and axes gain were initially estimated by obtaining the averaged outputs of the accelerometer in six different precise orientations or postures as discussed in connection with equations (8) and (9). The individual readings (for each orientation) and the computed estimates of parameters using this demanding six-posture method are shown in TABLE 2.
  • Next, according to the more user-convenient process embodiment I, the accelerometer was placed on 14 different and arbitrary postures and the averaged output on each posture at rest was obtained. The individual readings (for each orientation) and the computed estimates of parameters p are shown in TABLE 3 for the more convenient approach of embodiment I taught herein. The convenient approach of embodiment I is user friendly and does not depend on any specific orientation during calibration of accelerometers. A total of six readings at any different orientations is sufficient to obtain a solution for the axes gain and bias errors, however more observations help to refine the estimates. A set of observations drawn from various orientations (spanning 4π steradians of a sphere) is likely to provide better accuracy of estimates.
  • TABLE 2
    ESTIMATION OF BIAS ERRORS AND AXES GAIN
    (DEMANDING SIX-POSTURE METHOD)
    Accelerometer Measurements
    Orientation X-axis Y-axis Z-axis
    x-axis towards gravity 1.172684 0.049973 −0.07548
    x-axis against gravity −1.24361 0.073605 −0.09897
    y-axis towards gravity −0.01779 1.266058 −0.08268
    y-axis against gravity −0.03391 −1.14064 −0.12097
    z-axis towards gravity −0.02251 0.052657 0.879216
    z-axis against gravity −0.02764 0.074148 −1.07293
    Results of Demanding Six-Posture Method
    Estimated Bias errors −0.0288 0.062634 −0.0953
    Estimated Axes gain 1.208149 1.203347 0.976074
  • TABLE 3
    ESTIMATION OF BIAS ERRORS AND AXES GAIN (PROCESS I)
    Accelerometer Measurements
    Orientation X-axis Y-axis Z-axis
    Horizontal −0.02251 0.052657 0.879216
    Upside Down −0.02764 0.074148 −1.07293
     30° Pitch 0.551517 0.053191 0.755749
     60° Pitch 0.99879 0.0517 0.406065
     90° Pitch 1.172684 0.049973 −0.07548
    −30° Pitch −0.64078 0.065662 0.742544
    −60° Pitch −1.08329 0.07364 0.384561
    −90° Pitch −1.24361 0.073605 −0.09897
     30° Roll −0.02992 0.643543 0.75876
     60° Roll −0.02621 1.099725 0.407088
     90° Roll −0.01779 1.266058 −0.08268
    −30° Roll −0.03625 −0.55319 0.737029
    −60° Roll −0.03995 −0.98712 0.373648
    −90° Roll −0.03391 −1.14064 −0.12097
    Results of Estimation Process I
    Estimated Bias errors −0.0343 0.0655 −0.0977
    Estimated Axes gain 1.207438 1.204094 0.975515
  • The estimates of bias errors and axes gain obtained from the demanding six-posture approach of TABLE 2 and the process embodiment I in TABLE 3 were applied to the various measurements at different orientations. The resultant value of gravity vector was computed after applying the bias and scale corrections to the various observations on all three axes. The result is tabulated in TABLE 4 and shows the percentage errors as the magnitude of the difference between unity gravitational acceleration and computed gravitational acceleration based on the measurements.
  • TABLE 4
    MEASUREMENT ERROR MAGNITUDE (%) BASED
    ON BIAS ERROR AND AXES GAIN ESTIMATES
    % error of measured value % error of
    of Gravity - Demanding measured value of
    Orientation Six-Posture Method Gravity - Process I
    Horizontal 0.155% 0.154%
    Upside Down 0.164% 0.025%
     30° Pitch 0.450% 0.045%
     60° Pitch 0.634% 0.057%
     90° Pitch 0.525% 0.003%
    −30° Pitch 0.330% 0.291%
    −60° Pitch 0.179% 0.039%
    −90° Pitch 0.557% 0.158%
     30° Roll 0.067% 0.064%
     60° Roll 0.384% 0.278%
     90° Roll 0.019% 0.272%
    −30° Roll 0.547% 0.190%
    −60° Roll 0.404% 0.114%
    −90° Roll 0.029% 0.198%
    Average (% error) 0.317% 0.135%
  • The results in TABLE 4 show a lower average error magnitude for Process I, with an upper bound of less than 0.3%. The error is higher for the demanding six-posture approach of TABLE 2 since it is difficult to accurately orient the accelerometers in the required six predetermined postures. Not only does Process I accurately measure the magnitude of gravity, but also it accurately measures the X, Y, Z vector components of the gravitational acceleration, as indicated by the close correspondence of the respective values determined for Estimated Bias errors in TABLES 3 and 2 and the close correspondence of the values determined for Estimated Axes gain in TABLES 3 and 2. The work presents a simple procedure to the user to measure bias and axes gain by process I and TABLE 3. It does not put any restriction on orientation and would benefit even ordinary cell phone users to calibrate accelerometers 1140 on the fly for portable device and vehicle navigation. The knowledge of bias errors and axes gain can serve as good initial estimates for a subsequent Kalman filter states for calibrating INS with respect to GPS as in FIG. 9 described later herein below.
  • A separate use of Kalman filtering is taught next herein for an alternative process embodiment 1K wherein the accelerometer 1140 calibration itself is achieved for process I above using Kalman filtering instead. The Kalman embodiment for Method IK goes as follows:
  • Step 1K-1. Parameters to be estimated: p=[Yxx, Yyy, Yzz, μx, μy, μz]. Use a starting a priori estimate of the parameters: p=[1 1 1 0 0 0], where the values represent the starting values of the parameters defined in vectorp.
  • Step 1K-2. Establish an initial uncertainty covariance matrix P that describes the initial covariance of the uncertainties in parameters. P (i,j)=E ((qi−p i)(qj−pj)) where “E( )” signifies expectation and where {qi, qj} are the unknown actual values of parameters p i, p j. For example, set the a priori estimate of the covariance matrix according to a specification of the accelerometer 1140 bias error range and gain error range. Covariance matrix P is square and symmetric in general, and has dimensions (6×6) in an example with six parameters as here.
  • The Kalman filter process for the above estimation problem is divided into a Time Update and a Measurement Model:
  • Step 1K-3. In the Time Update the parameters p are propagated from one time instant t to a next time instant t+1, i.e. pt+1=pt. In this example, iterations are used as a proxy for time.
  • Step 1K-4.1. The Measurement Model first determines the value of gravity function g based on a priori estimates of p(=p) and references it to unity (normalized value of gravity) e.g., as in Equation (15). Actual gravity magnitude unity is equal to the sum of gravity function plus measurement noise as expressed by: 1=g(fx k, fy k, fz k, p)+w. Gravity g and noise w are bolded as column vectors indexed on the measurements k.
  • Step 1K-4.2. The values entered in measurement noise w from accelerometers 1140 are assumed to arise from a zero mean white Gaussian process. Establish a (m×m) matrix W as the covariance matrix for (m×1) measurement noise w.

  • W(i,j)=E(w i *w j)
  • It may be noted that for white Gaussian process,

  • W(i,j)=σi 2

  • W(i,j)=0; i≠j
  • Δg(k)=1−g(fx k, fy kfz k, p) is defined as the residue of the measurements k.
  • Step 1K-5. Compute values for a matrix H where H is the Jacobian (a gradient-based matrix) of the function g with respect to the parameters p, i.e., H (k, j)=δg(k)δp (j) is the Jacobian or gradient of the kth measurement with respect to the jth parameter. Matrix H is (m×6) and same as equation (21) hereinabove, for example.
  • Step 1K-6. Compute the Kalman Gain as follows:

  • K=P H T(HP H T +W)−1
  • (6×m)=(6×6) (6×m)×[(m×6)(6×6)(6×m)+(m×m)] is the dimensional relation.
  • The Kalman Gain K represents a suitable weighting factor to the measurement update based on the current state uncertainties and measurement uncertainties.
  • Step 1K-7.1. Update the parameters according to the equation:

  • p=p +KΔg
  • i.e., (6×1)=(6×1)+(6×m)(m×1).
  • Step 1K-7.2. Update the estimates for the parameters p for the next iteration using p k+1=pk.
  • Step 1K-8.1. Update a matrix capital-P (P matrix) with the measurement as follows:

  • P=(I−KH)P .
  • i.e., (6×6)=((6×6)−(6×m)(m×6)) (6×6).
  • Step 1K-8.2. Update the estimates for the parameter covariance matrix P for the next iteration using P k+1=Pk.
  • Step 1K-9.1. Generate the sum of squared residues (ΔgTΔg).
      • This sum is a scalar (1×m)(m×1)=(1×1).
  • Step 1K-9.2. Determine whether the sum of squared residues is less than a threshold value ε pre-established for purposes of convergence testing. If not less, loop back to Step 1K-4.1. The loop is continued until the estimation process converges, as indicated when the sum of squared residues (ΔgTΔg) is less than the pre-established threshold ε. Then process goes to Step 1K-10.
  • Step 1K-10. Output the estimates for the parameters p for use in a navigation application. If a navigation application utilizes any other estimates generated by the Kalman filter process, output those other estimates as well. In some embodiments, measurements are time-windowed or grouped according to similar temperature, or both, according to a measurement grouping process. In such cases, the procedure is executed again when appropriate to do so given the type of measurement grouping process as new measurement data comes in over time.
  • Another, second, optimization process embodiment (II) for calibrating accelerometers 1140 on-the-fly takes a number “m” measurements indexed k of the acceleration of gravity-square g2(k) at different postures. FIGS. 6A and 6C depict process embodiment II, and the computational procedures are varied in process embodiment II in some ways relative to process embodiment I detailed earlier hereinabove. The orientation of each of the postures does not need to be known. In general, the embodiment II is computationally more efficient, as it avoids functions like square-root and some division operations and does converge. However, embodiment II may result in inferior convergence of final parameter set compared to embodiment I.
  • Equation (11) is expressed as a sum of squares for the kth measurement without square root, and is given by equation (24).

  • g 2(k)=Yxx 2(f x m(k)−μx)2 +Yyy 2(f y m(k)−μy)2 +Yzz 2(f z m(k)−μz)2  (24)
  • Until the calibration is completed, the measured square of the acceleration of gravity g2(k) for any given measurement k will likely be somewhat different from the known value unity (1.00) while the six unknown parameters are being optimized by the procedure described next.
  • Define the parameter vector p holding the six unknowns (initialization values or current unrefined values) in this process embodiment:

  • p=[YxxYyyYzzμxμyμz]T  (16)
  • Here, parameter vector p does not need to be determined by equations (8) and (9) based on demandingly-precise test orientations. Instead, equation (24) is linearized by chain rule calculus differentiation to become equation (25). Equation (25) is expressed directly in terms of measured quantities multiplied by their differences Δp for an iterative process embodiment free of division operations by g(k).

  • Δg 2(k)=2[ΔYxxYxx(f x m(k)−μx)2 +ΔYyyYyy(f y m(k)−μy)2 +ΔYzzYzz(f z m(k)−μz)2−Δμx Yxx 2(f z m(k)−μx)−Δμy Yyy 2(f y m(k)−μy)−Δμz Yzz 2(f z m(k)−μz)]  (25)
  • Notice that Δg2(k) signifies some amount of change in the measured value of gravity-squared expressed as a linearized product of the difference vector expressing some amount of change in the six unknowns of parameter vector p and multiplied times the six partial derivatives (gradient in equation (25)) of gravity-squared equation (24) as coefficients. Notice that gravity squared g2(k) is treated as an entity per se and not as though some gravity value itself were known as a pre-existing value to multiply by itself to form such square. Moreover, at this point the difference value Δg2(k) of the entity gravity-squared is not determined in value, although its gradient-based linear relation is now established relative to also-undetermined changes in the six unknowns of parameter vector p.
  • An equivalent linearized form for an iterative process embodiment that uses equation (1A) to intermediately compute components of true accelerations fa for use in equation (17) is expressed as equation (17A):

  • Δg 2(k)=2[ΔYxxf x a(k)2 /Yxx+ΔYyyf y a(k)2 /Yyy+ΔYzzf z a(k)2/Yzz−Δμx Y xx f x a(k)−Δμy Yyyf y a(k)−Δμz Yzzf z a(k)]  (25A)
  • Rewriting the linear relationship of either equation (25) or (25A) in matrix form, with the symbolism Δg2 understood as an (m×1) vector of elements Δg2(k), provides equation (26):

  • Δg 2=2H 2 Δp  (26)
  • Matrix H2 is the gradient-based relation matrix (m×6) defined by equation (25) or (25A). The six partial derivatives in equation (25) of gravity-squared equation (24) for any given measurement k are respectively equal to twice the corresponding values in the corresponding row k of matrix H2.
  • Pre-multiplying both sides of equation (26) with a matrix transpose, i.e., (6×m) matrix H2 T, delivers equation (26A), which has a 6×6 invertible square matrix product H2 TH2 on the right side of the equation (26A):

  • H2 TΔg2=2H2 TH2Δp  (26A)

  • where,

  • Δp=[ΔYxxΔYyyΔYzzΔμxΔμyΔμz]T

  • Δg 2 =[Δg 2(1) . . . Δg 2(k) . . . Δg 2(m)]T
  • Solving equation (26A) by computationally relatively-convenient (6×6) matrix inversion yields equation (27):

  • Δp=0.5(H 2 T H 2)−1 H 2 T Δg 2  (27)
  • The matrix inverse (H2 TH2)−1 will generally not exist unless the number m of measurements equals or exceeds the number of unknowns (e.g., 6) in the parameter change vector Δp. In general, the matrix rank R of the matrix product H2 TH2 desirably equals or exceeds the number of unknowns in the parameter change vector Δp so that the determinant of the matrix product H2 TH2 is non-zero and the matrix product H2 TH2 is invertible in process II.
  • Still remaining undetermined at this point are both linearly related vectors—the (m×1) column vector Δg2 for the differenced entity gravity-squared and the vector Δp representing changes in the six unknowns of parameter vector p. Their inverted linear relation is now established according to equation (27). To determine Δg2, it is here made to be a negative feedback quantity established as a function of each squared gravity measurement in the iterative process relative to its target value of unity (square of unity is unity). The difference of the entity gravity-squared relative to target value unity (1.00) of gravitational acceleration is g2(k)−1. A positive iteration constant c is applied, and negative feedback is signified by a leading minus-sign (−), as in equation (28):

  • Δg 2 =−c(g 2(k))=c(1−g 2(k))
  • Equation (28) is substituted into equation (27) to yield equation (29):

  • Δp=0.5c(H 2 T H 2)−1 H 2 T[1−g 2(k)]  (29)
  • Equation (29) determines Δp, in terms of iteration constant c, the inverted linear relation 0.5(H2 TH2)−1H2 T, and an (m×1) column vector [1−g2 (k)]. Column vector [1−g2(k)] represented algebraically has m elements wherein each kth element is generated by a processor in system 1700 subtracting the kth measurement of gravity-squared g2(k) from unity (1). Equation (29) supports each negative-feedback-driven iteration in an iterative estimation process for updating unknown parameter vector p. If there are fewer measurements m than the number of unknowns (e.g., 6) and more measurements cannot be available or will not be available, then equation (29) can be replaced with equation (39A) described later hereinbelow.
  • In concept, the iteration constant c approximately represents a proportion of the distance vector from a given point in multi-dimensional mathematical space (e.g. 6-space) to the target point in that space. The iteration constant c suitably is predetermined to have some value in a range 0<c<2. Choosing a value of iteration constant c that is greater than zero and less than or equal to one generally defines motion in the multidimensional space progressively in the direction of the target without overshooting the target. Choosing a value of iteration constant c that is more than one (1.0) and less than two (2.0) generally defines motion in the multidimensional space that overshoots the target but can ultimately converge on the target by successive hunting that backtracks and overshoots decreasingly. Choosing a value of iteration constant c in the narrower range 0.8<c<1.2 is likely to produce convergence of the estimation process in fewer iterations than choosing a value outside that narrower range. A nominal value for iteration constant c is one (1.0) for rapid convergence, although some development trial and error in choosing a value for iteration constant c may show that some reduction in the number of iterations (and consequent computer time and energy) can be obtained by departing from c=1.0 somewhat. In the electronic processing, one suitably combines the product 0.5 c into one pre-stored constant value c′=0.5c for processing, and the corresponding ranges are wide range 0<c′<1, narrower range 0.4<c<0.6, and a nominal value c′=0.5 in process embodiment II. By contrast, in process embodiment I earlier hereinabove the factor 0.5 of process embodiment II is not present and an iteration factor c is suitably provided in equation (20) in process embodiment I in some versions.
  • Description now returns to give some more detail about the content of (m×6) relation matrix H2. In a first example, note that each kth row of an (m×6) relation matrix H2 is based on the sensor outputs fx m(k) fy m(k) fz m(k) of the kth measurement and equation (25). Each kth row of matrix H2 has six numerical values that are numerically generated by an electronic processor programmed with these six expressions that use information from equations (25) and (16):

  • [Yxx(fx m(k)−μx)2,Yyy(fy m(k)−μy)2,Yzz(fz m(k)−μz)2,−Yxx2(fx m(k)−μx),−Yyy2(fy m(k)−μy)−Yzz2(fz m(k)−μz)]  (30)
  • In a second example, note that each kth row of (m×6) relation matrix H2 is based instead on equation (1A) applied to compute components of true acceleration fa from the sensor outputs fx m(k) fy m(k) fz m(k) of the kth measurement. Each kth row of relation matrix H2 is based on equation (25A) and gets the same six numerical values as in the first example, but which are numerically generated by an electronic processor alternatively programmed with these alternative six expressions that use information from equations (25A) and (16):

  • [fx a(k)2/Yxx,fy a(k)2/Yyy,fx a(k)2/Yzz,−Yxxfx a(k),−Yyyfy a(k),−Yzzfz a(k)]  (30A)
  • An iterative estimation process embodiment such as one including equations (24)-(29) is programmed for execution on a floating-point or fixed point processor such as in system 1700. Different embodiments are suitably considered by the skilled worker in regard to expected number of iterations involved for convergence of the estimation process, number of clock cycles per iteration, acceptably small processor roundoff errors, processor power and energy dissipation, operability on less expensive fixed point processors with shorter register length, etc. Various iterative processes and sets of processor instructions to accomplish each of them are suitably provided and applied by the skilled worker in practicing various embodiments according to the teachings herein.
  • For gravity-squared process embodiment II, the various parameters initialization is shown in TABLE 1, same as in process embodiment I. The final estimates of bias errors μx, μy, μz and axes gain reciprocals Yxx, Yyy, Yzz are obtained through multiple iterations. The steps for each iteration are as follows and are further described in connection with FIGS. 6A and 6C:
  • Estimation Process II
  • 1. Initialize parameters p according to TABLE 1.
    2. Keep the three axes accelerometer 1140 at any arbitrary posture, keep it stationary and measure the average acceleration on all three axes: [fx m fy m fz m]T. Repeat the process “m” number of times with different postures every time to get “m” sets of measurement vectors.
    3. Compute the measured value of g2(k) using the current parameter values and equation (24) for each measurement k; k=1 to m
    4. Compute 1−g2(k); k=1 to m
  • (Difference Between Target Value and Measured Value)
  • 5. Compute the matrix H2 using equation (30) where the kth row of H2 is computed from the kth measurement set and the current parameter values (equation (16)).
    6. Compute Δp using equation (29).
    7. Update the parameter values; p=p+Δp.
    8. Compute g2(k) using current parameter values.
    9. Compute and test a convergence criterion, such as
  • CC 1 = k = 1 m ( 1 - g 2 ( k ) ) 2 < m ɛ 2
  • or use CC2=ΔpTΔp<ε3 instead as described herein below. If convergence criterion CC is less than Specified Threshold then stop, else loopback to Step 4.
  • Determining that convergence criterion
  • CC 1 = Δ g 2 T Δ g 2 = k = 1 m ( 1 - g 2 ( k ) ) 2
  • less than Specified Threshold (CC1<m ε2) is a reasonable formula since all the measurements g2(k) are similar in concept to one another. Note that the Specified Threshold CC1 for step (8) is expressed for process embodiment II as the product (mε2) of the number of measurements m times a small specified amount epsilon ε2 defining a numerical bound within which the optimizing iterations are to be regarded as having sufficiently approached zero when the estimation process has converged.
  • An alternative convergence criterion for step (8) is given by CC2=ΔpTΔp<ε3 as Specified Threshold. In other words when the updates to the parameter vector become computationally insignificant, then the iterations are regarded as having converged in an embodiment version that uses convergence criterion CC2. The several elements of parameter vector p differ in their concept as gain parameters and bias parameters, so a small Specified Threshold amount ε3 is specified and used.
  • The description of FIG. 6A hereinabove applies similarly to process embodiment II. In FIG. 6C, operations continue from point A of FIGS. 6A and 6C to a step 3110 wherein the measurement index k is initialized to one (1). A succeeding step 3120 computes a first function of gravitational acceleration such as g(k) itself of Process I equation (15), or gravity-squared value g2(k) of Process II using sum of squares equation (24), or some other function. The six-component parameter vector in Equation (16), or a twelve-component parameter vector, or some other parameter vector, is used. For example, the six-component parameter vector in equation (16) is initialized, e.g., to p=[1 1 1 0 0 0]T or a set of parameter values resulting from recent re-calibration. The function of gravitational acceleration is computed based on the current values in the parameter vector and the average acceleration measurement vector components fx m(k), fy m(k), and fz m(k) for k=1 from the accelerometer sensors X, Y, Z.
  • Further in FIG. 6C, a processor step 3130 computes a second function of the gravitational acceleration related to an error feedback based on the second function. An example of such a second function is a difference 1−g2(k) between known unity (1.00) squared-gravitational acceleration and the computed gravity-squared value g2(k) from step 3120. Then a processor step 3140 generates a set of values related to the gradient of the first function. One example of such a set of values is a kth set of six row values for the kth row of (m×6) relation matrix H2 according to the row formulas in expression (30) or in expression (30A). In words, relation matrix H2 is a table in memory that is populated by the process embodiment II with numerical values. A numerical value is generated by the processor for the memory entry corresponding to each row k, column j of the relation matrix H2. The processor populates row k using the current parameter vector p and the average acceleration vector components fx m(k) fy m(k) and fz m(k), all for measurement k. For instance, the memory entry corresponding to row k, column one is computed by the processor programmed according to the formula H(k, 1)=(Yxx (fx m(k)−μx)2), and so forth over to row k, column 6, which follows the formula H(k, 6)=−(Yzz2(fz m(k)−μz)). At this point in FIG. 6C, matrix H2 row k is populated. Steps 3120, 3130, 3140 are repeated for as many new measurements as are available.
  • A succeeding step 3150 updates the parameters p based on the error feedback and the gradient-related values. This operation takes various forms in process embodiments I, II, III and IV described herein.
  • In process embodiment II, for instance, step 3150 updates the six-dimensional parameters estimate p based on equation (29):

  • p=p+Δp=p+0.5c(H 2 T H 2)−1 H 2 T[1−g 2(k)]  (31)
  • If the matrix product H2 TH2 is not invertible due to insufficient rank R<6, operations go to point (D) in FIG. 6A to cue the user and take another measurement. Operations likely go from step 3150 to step 3160.
  • The outer loop has a decision step 3160 that computes a convergence metric, such as CC1 or CC2 hereinabove, and compares it with a threshold to determine whether the outer loop is converged. For instance, convergence test CC1 involves the sum of squares of computed differences for gravity-squared:
  • CC 1 = k = 1 m ( 1 - g 2 ( k ) ) 2 < m ɛ 2 ( 32 )
  • Inequality (32) expresses the convergence criterion that the parameters p should be such that the sum of squares of differences of computed gravity-squared relative to unity over all the m measurements should be small so that all or almost all the measurements do a good job of measuring the gravitational acceleration components. The convergence test expressed in another way determines a mean of the squares of the departures of g2(k) from unity according to inequality (32A):
  • CC 1 A = k = 1 m ( 1 - g 2 ( k ) ) 2 / m < ɛ 2 ( 32 A )
  • If decision step 3160 detects that the outer loop is not converged (No), as indicated by the convergence test not being met, then operations loop back to step 3120 and perform another iteration based on the latest updated parameters p. When the outer loop is converged (Yes) at step 3160, operations proceed to a step 3170 that outputs recalibrated accelerometer 1140 parameters p and uses them in a navigation application in system operations whence RETURN 3180 is reached. It should be emphasized that the run-time navigation application is executed in general in the presence of varying accelerations that depart from the acceleration of gravity itself, which is desirable and satisfactory. The accelerometer 1140 desirably measures the acceleration as the acceleration actually varies over time for purposes of supporting the run-time navigation application. The measurements of acceleration for the navigation application are rendered more accurate because of the previously-performed recalibration of the accelerometer parameters in the presence of gravity acceleration itself. In general, the embodiment II is computationally more efficient, as it avoids functions like square-root etc. However, the convergence from embodiment II is expected to be inferior from embodiment I.
  • Description next turns to a third optimization process embodiment (III) for calibrating accelerometers on-the-fly, which applies measurement matrices for a gradient and a matrix of second partial derivatives to form a parameter change vector Δp for updating parameter estimate p.
  • An optimization function
    Figure US20090259424A1-20091015-P00001
    based on the gravity equation has a minimum in 6-dimensional space due to the mathematical form of the optimization function
    Figure US20090259424A1-20091015-P00001
    and the gravity equation. FIGS. 6A/6C depict process embodiment III at the level of the flow illustration, and the computational procedures are varied in process embodiment III in some ways in a first process form III-A relative to process embodiment II and in a second process form III-B relative to process embodiment I detailed hereinabove. The orientation of each of the postures does not need to be known.
  • Equation (24) is repeated for clarity here.

  • g 2(k)=Yxx 2(f z m(k)−μx)2 +Yyy 2(f y m(k)−μy)2 +Yzz 2(f z m(k)−μz)2  (24)
  • The measured square of the acceleration of gravity g2(k) for any given measurement k is computed for FIG. 6C step 3120 and will likely be different from the known value unity (1.00) while the six unknown parameters are being optimized by the procedure described next. Accordingly process embodiment III establishes an optimization function
  • = k = 1 m F ( k ) , where F ( k ) = ( g 2 ( k ) - 1 ) 2 ( 33 )
  • that has its minimum when the parameters are such that applying equation (24) to the measurement set produces gravity-squared values very near or at the desired value unity, i.e., when g2(k)˜=1. The optimization function summand F(k) is a function of the parameter vector p holding the six unknowns in this process embodiment III, and equation (16) is also repeated for clarity:

  • p=[YxxYyyYzzμxμyμz]T  (16)
  • Here again, parameter vector p does not need to be determined by equations (8) and (9) based on demandingly-precise test orientations. Instead, in process embodiment III, a gradient descent or Newton-Raphson process is included. Conceptually, note that the matrix HT multiplication equation (18A) for process I and H2 T equation (26A) for process II each represent a summation relationship between the numerous m measurements data and one parameter vector update estimate Δp. In process embodiment III, the approach posits that this one parameter vector update estimate Δp should be such as to make the gradient vanish. That is, for the measurements collectively, the summation of the gradients ∇F(k) should be canceled out by the matrix product of the summation of the matrices M(k) of second partial derivatives with respect to the parameters of the optimization summand function F(k), matrix multiplied by this one parameter vector update estimate Δp:
  • + Δ p = 0 , or ( 34.1 ) k = 1 m F ( k ) + k = 1 m ( M ( k ) Δ p ) = 0 ( 34.2 )
  • Because Δp does not depend on measurement index k, equation (34.2) is also expressed as follows:
  • k = 1 m F ( k ) + ( k = 1 m M ( k ) ) Δ p = 0 ( 34.3 )
  • Next, solve for Δp:
  • Δ p = - ( k = 1 m M ( k ) ) - 1 k = 1 m F ( k ) ( 34.4 )
  • For the electronic computations, the process III-A operates using equation (39) later below, evolved from equation (34.4) for the iteration(s). Execute process III-A in the same iterative manner as process II earlier herein above. The gradient ∇F(k) for process III-A is a column vector of first partial derivatives of optimization function F(k) and is given for the kth measurement by partial differentiating equation (33) to obtain equation (35). A convenient approach to set up the equation (35) partial-differentiates by the chain rule—derivative of F(k) in equation (33) with respect to g2 itself (not g) multiplied times gradient of g2 itself using g2 equation (24) with respect to the parameters p:

  • F(k)=−4H 2 T(k)(1−g 2(k))  (35)
  • Notice that the factor (1−g2(k)) is a scalar in equation (35) and arises in differentiating squared difference represented by optimization function F(k). Scalar factor (1−g2(k)) relates to error feedback step 3130. Column vector H2T(k) arises from the calculus chain rule that further proceeds to calculus-differentiate g2(k) of equations (35) and (24). The factor “4” (2×2) arises because the chain rule encounters and differentiates two squares in succession. Column vector H2T(k) is the transpose of the kth row of the relation matrix H2 already given in expression (30) and repeated here for clarity:

  • [Yxx(fx m(k)−μx)2,Yyy(fy m(k)−μy)2,Yzz(fz m(k)−μz)2,−Yxx2(fx m(k)−μx),−Yyy2(fy m(k)−μy),−Yzz2(fz m(k)−μz)]  (30)
  • The matrix M(k) of second partial derivatives of the optimization function F(k) is derived by partial differentiation of equation (35) gradient ∇F(k) of the optimization function. To obtain matrix M(k) of second partial derivatives, it is convenient to write down by inspection of equations (24) and (21):

  • g 2(k)/2=H 2 T(k)=gH T(k)=g(k)∇g(k)  (36)
  • The matrix M(k) of second partial derivatives of F(k) that results is given by equation (37):

  • M(k)=8∇g 2(k)/2∇g 2(k)/2T−4[∇2 g 2(k)/2](1−g 2(k))  (37)
  • In the first term of equation (37), a matrix ∇g2(k)/2∇g2(k)/2T is formed by pre-multiplying the row expressed by (30), by its own transpose. The double-del symbolism in the second term of equation (37) represents the following matrix in equation (38):
  • [ 2 g 2 ( k ) / 2 ] = [ H 2 T ( k ) ] = [ ( f x m ( k ) - μ x ) 2 , 0 , 0 , - 2 Y xx ( f x m ( k ) - μ x ) , 0 , 0 ] [ 0 , ( f y m ( k ) - μ y ) 2 , 0 , 0 , - 2 Y yy ( f x m ( k ) - μ x ) , 0 ] [ 0 , 0 , ( f z m ( k ) - μ z ) 2 , 0 , 0 , - 2 Y zz ( f z m ( k ) - μ z ) ] [ - 2 Y xx ( f x m ( k ) - μ x ) , 0 , 0 , Y xx 2 , 0 , 0 ] [ 0 , - 2 Y yy ( f y m ( k ) - μ y ) , 0 , 0 , Y yy 2 , 0 ] [ 0 , 0 , - 2 Y zz ( f z m ( k ) - μ z ) , 0 , 0 , Y zz 2 ] ( 38 )
  • Now combine equations (34.4), (35), (36), (37) and insert an iteration constant c (e.g., 1.0 or in any range discussed earlier hereinabove) to yield equation (39):
  • Δ p = 0.5 c ( H 2 T H 2 - 0.5 k = 1 m ( [ H 2 T ( k ) ] ( 1 - g 2 ( k ) ) ) ) - 1 H 2 T Δ g 2 ( 39 )
  • Equation (39) can be compared with process embodiment II equation (27). Notice that the matrix H2 TH2 of equation (27) to be inverted is adjusted in equation (39) by the adjustment term based on summation over measurements of the moderately-sparse matrix of equation (38) times Δg2(k):
  • - 0.5 k = 1 m ( [ H 2 T ( k ) ] ( 1 - g 2 ( k ) ) ) .
  • This adjustment term adds proportionately few computations and may reduce the number of iterations needed to converge the loop tested by step 3160.
  • The various parameters initialization is shown in TABLE 1 for initial calibration. When calibration is being updated, initialization values instead are suitably the most recent values for the calibrated parameters. The final estimates of bias errors μx, μy, μt and axes gain reciprocals Yxx, Yyy, Yzz are obtained through multiple iterations, if needed, for each measurement and then averaging the parameter estimates. Using most recent calibrated parameters as a starting point, and/or using the adjustment term can reduce or eliminate multiple iterations.
  • Description now turns to a process embodiment III-B that is related to process embodiment I. Equation (36) hereinabove relates the gradient of that function of gravity g that is gravity itself in process embodiment I to the gradient of the function g2, i.e., of gravity-squared. A process III-B variant of process embodiment I starts with another optimization function
  • 1 = k = 1 m F 1 ( k ) , where F 1 ( k ) = ( g ( k ) - 1 ) 2 ( 33 - I )
  • and then is structured in a manner analogous to embodiment III-A equations herein above, except with “I” suffixes to the equations, as follows. Apply gradient descent or Newton-Raphson. Write the gradient-descent equation (34.4-I) and the gradient of F1(k) and a double-del matrix M1(k), i.e. ∇∇F1(k) of second partial derivatives, paralleling the development from equations (34.4) through (39):
  • 1 + 1 Δ p = 0 , or Δ p = - ( k = 1 m M 1 ( k ) ) - 1 k = 1 m F 1 ( k ) ( 34.4 - I ) F 1 ( k ) = 2 ( g ( k ) - 1 ) g ( k ) = 2 H 2 T ( k ) ( g ( k ) - 1 ) / g ( k ) F 1 ( k ) = 2 { H 2 T ( k ) [ ( 1 - 1 / g ( k ) ) ] - ( [ H 2 T ( k ) ] / g ( k ) ) ( 1 - g ( k ) ) } ( 35 - I ) = 2 { H T ( k ) H ( k ) ( 1 / g ( k ) ) - ( [ H 2 T ( k ) ] / g ( k ) ) ( 1 - g ( k ) ) } ( 37 - I )
  • Note in obtaining equation (37-I) that
  • H 2 T ( k ) [ ( 1 - 1 / g ( k ) ) ] = H 2 T ( k ) [ g ( k ) T ] / g 2 ( k ) = H 2 T ( k ) / g ( k ) ) [ g ( k ) T ] ( 1 / g ( k ) ) = H T ( k ) H ( k ) ( 1 / g ( k ) ) .
  • Equation (39-I) for Process Embodiment III-B can be compared with process embodiment 1 equation (20).
  • Δ p = c ( k = 1 m ( H T ( k ) H ( k ) ( 1 / g ( k ) ) - ( [ H 2 T ( k ) ] / g ( k ) ) ( 1 - g ( k ) ) ) ) - 1 H T Δ g ( 39 - I )
  • Execute process III-B by analogy with the steps of Estimation Process I earlier enumerated earlier hereinabove. (Note that the expression (1/g(k)) is dimensionless since the “1” is in gravity acceleration units, same units as gravity measurement g(k).) The dimensional analysis (physical units analysis) of equations (39) and (39-I) is given by: (param)=[(grav/param)2(grav/grav)−((grav2/param2)/grav)(grav)]−1(grav/param)(grav). The expression “grav” represents gravitational acceleration in m/sec2 and “param” represents the units of any given one of the parameters.
  • The iteration constant c is experimentally adjusted for fastest convergence, preferably convergence on the first or second iteration. Inspection of the different equation forms (20), (29), (39), and (39-I) suggests that the fastest-convergence value for iteration constant c may vary somewhat from process embodiment to embodiment. Indeed, because the iteration(s) occur in a multi-dimensional mathematical space, there are equally-multiple constants cii that can be configured and used to support each process embodiment taught herein. The iterations may somewhat hunt or spiral toward the minimum of optimization function
    Figure US20090259424A1-20091015-P00001
    (or
    Figure US20090259424A1-20091015-P00001
    1) where the gradient vanishes in the multi-dimensional mathematical space. Furthermore, iteration constant c is in some embodiments replaced with a diagonal matrix c having as many possibly-different independently-configured constant elements cii down its main diagonal as there unknowns (e.g., 6) in parameter update vector Δp. Each of the diagonal elements cii is chosen with a value approximately unity (1), or in a likely range 0.8<cii<1.2 or substantially in the range 0<cii<2. This use of such constant elements cii recognizes that experimentation may show that iterations can be reduced in number on average by adjusting these constant elements cii independently.
  • In FIG. 7A, another recalibration process embodiment 3300 acquires one or more new measurements at a time for input to any estimation process embodiment(s) described elsewhere herein and utilized in FIG. 7B. Recalibration process 3300 commences with BEGIN 3305 and determines whether an entry criterion is met at a step 3310. An example of entry criterion uses any one some or all of the following criteria: 1) time gating based on RTC 2526 over enough hours or days justify the calibration check, 2) user call for a navigation application, 3) environmental sensor 1160 input indicating a substantial temperature change, accelerometer voltage regulator voltage change, and/or other environmental change justifying recalibration, 4) or other suitable test. If the entry criterion is not met at step 3310, then operations go to RETURN 3395, otherwise operations proceed to a step 3320 that puts a set of pertinent already-determined parameters at the disposal of the procedure. For example, such parameters p in some embodiments are a set of parameters p obtained in a wholesale recalibration process that has gathered m measurements at some recent time and are associated with similar environmental sensor 1160 readings, e.g., same temperature and voltage. In some other embodiments, such parameters p are based on measurements one-by-one, hour-by-hour, or day-by-day, or otherwise occasional measurements.
  • Notice that FIG. 7A in some modes or embodiments does not need to cue the user, such as when a stable, diverse position is detected and elapsed time supported by RTC 2526 enables a new measurement occasionally to keep the calibration updated. An example of a new-measurement test first uses the currently available parameters p to convert the new accelerometer 1140 measurement vector fm(k)=[fx m(k) fy m(k) fz m(k)]T to an actual acceleration vector fa(k)=[fz a(k) fz(k)]. Then the measurement diversity test checks whether the inner product of fa(k)=[fx a(k) fy a(k) fz(k)] with each actual acceleration vector fa(k′) for measurements k′ in the applicable measurement set is, e.g., less than a predetermined value such as 0.8 for all but at most e.g. one (1) of the measurements k′. (If there is one earlier measurement k′ for which the test fails, then earlier measurement can be culled in FIG. 7B.) This keeps the angles between the measurement-related actual acceleration vectors diverse (e.g., angles greater than arcos (0.8) up to 180 degrees. In some other modes, user cueing is provided to facilitate rapid acquisition of measurements. In this way, a further seamless, automatically self-calibrating accelerometer support for navigation applications is provided.
  • A succeeding input step 3330 automatically monitors sensors X, Y, Z from the 3-axes accelerometer 1140 to determine when a new set of stable measurements is available, whereupon the new set of measurements fm(k)=[fx m(k) fy m(k) fz m(k)]T is recorded along with the concurrent environmental variables. Then a further preliminary gating process has steps 3340 and 3350 to respectively compute a function and test of measured gravitational acceleration such as (1−g2(k))24, or a range check |(1−g2(k))|<1+ε6, or a range check on (1−g(k)), or otherwise. In the step 3350, if the test passes, then the new measurement does not add significant new information for purposes of obtaining the already-determined parameters p, and so operations go to RETURN 3395. In the step 3350, if the test fails, then operations proceed through point (B) of FIG. 7A and on to FIG. 7B.
  • In FIG. 7B, operations proceed through point (B) to a step 3510 that keeps a revolving set of measurements and/or already-determined parameters p. The latest measurement is recorded and included in this set. At least one earlier measurement is deselected or culled from the revolving set such as by applying any one or a combination of the following de-selection criteria: 1) least-recent (oldest) measurement or set of parameters, 2) outlier in a subset of oldest measurements or oldest parameters, 3) least-diverse measurement relative to the new measurement. In this way, the embodiment provides a running window of observations in one or more sets, respectively having similar environmental variables pertinent to the measurements within a given set, for re-calibration purposes. The de-selection process is made flexible enough to allow the re-calibration to trend away from earlier calibrations when such trend exists and should be recognized.
  • Operations execute a step 3520 to produce newly determined parameters p′, such as by combining the latest parameters with the now-culled revolving set of already-determined parameters from step 3510. Any estimation process as described elsewhere herein is suitably executed based on the now-culled revolving set from step 3510 to produce newly determined parameters p′. The newly determined parameters p′ become the starting point for later re-calibration iterations in place of the initial values in TABLE 1 when the process embodiment of FIGS. 7A and 7B is called at some later time. In this way, unnecessary iterations are obviated, and processing time and power dissipation are reduced.
  • A further step 3530 generates and tests a metric comparing the updated parameters p′ to the recently-determined parameters p of step 3320. For example, the metric and test suitably involves a distance metric such as

  • (p′−p)T(p′−p)<ε7  (40)
  • In the step 3530, if the test passes, then the new measurement does not change the already-determined parameters p much, and so operations go to RETURN 3535. In the step 3530, if the test fails, then operations proceed to a further decision step 3540 to determine whether the parameter change metric (p′−p)T(p′−p)>d indicates that the new measured parameters have one or more elements that are such substantial outliers that the measurement fm(k) is not credible, as indicated by the metric exceeding a predetermined scalar distance d. If so, operations restore the culled measurement set to its original state and pass through a point C to step 3330 of FIG. 7A to take a new measurement. If credible (No at step 3540 of FIG. 7B), then operations reach RETURN 3535. After RETURN 3535, operations may execute a navigation application 3170 based on newly determined parameters p from recalibration.
  • It should be evident from the description of FIGS. 7A and 7B and other Figures as well that numerous variations and alternative processes for practicing different embodiments can be readily devised by the skilled worker based on the teachings herein.
  • Description turns to a fourth optimization process embodiment (IV) for calibrating accelerometers on-the-fly including cross-axes sensitivities and also takes a number “m” measurements indexed k of the squared acceleration of gravity g2(k) at different postures. FIGS. 6A/6C depict process embodiment IV at the level of the flow illustration, although the computational procedures are varied in process embodiment IV in some ways relative to process embodiments I or IK, detailed hereinabove to take account of the cross axes sensitivities. The orientation of each of the postures does not need to be known.
  • A sensitivity matrix designated S1 is written out in full with cross-axes gain terms:
  • S 1 = [ S xx S xy S xz S yx S yy S yz S zx S zy S zz ] ( 41 )
  • Next the sensitivity matrix S1 is divided into the matrix product of the diagonal matrix S of equation (12) and a matrix of ratios of cross axes terms to their main diagonal sensitivity values in equation (12):
  • S 1 = [ 1 S xy / S xx S xz / S xx S yx / S yy 1 S yz / S yy S zx / S zz S zy / Szz 1 ] [ S xx 0 0 0 S yy 0 0 0 S zz ] ( 41 )
  • Inspection of the above matrix of ratios in light of the physical symmetry of an accelerometer indicates that matrix of ratios is symmetric. The cross axes ratios can each be interpreted to first-order as (small) direction cosine cos(90°−δi) of an almost-90-degree angle. The direction cosine substantially equals its respective small departure angle δi from perfect perpendicularity measured in radian measure from each sensor toward another sensor with respect to which a given main sensitivity value pertains. Symmetry exists because the physical angle between two given sensors does not depend which sensor is thought of first. Accordingly, three departure angles are defined as follows.
  • Departure angle δ1 is the angle by which the Y sensor departs from being perpendicular to the X sensor.

  • δ1 Sxy/Sxx=Syx/Syy  (42.1)
  • Departure angle δ2 is the angle by which the Z sensor departs from being perpendicular to the Y sensor.

  • δ2 =Syz/Syy=Szy/Szz  (42.2)
  • Departure angle δ3 is the angle by which the Z sensor departs from being perpendicular to the X sensor.

  • δ3 =Sxz/Sxx=Szx/Szz  (42.3)
  • Next, the inverse of the sensitivity matrix is obtained in terms of diagonal matrix Y of equation (13) and the matrix of those ratios found in equations (41) and (42.1), (42.2), (42.3), which is now designated bold-delta δ:

  • Y1=S1−1=(δS)−1 =Yδ −1  (43)
  • With the cross-axes departure angles assumed small, the inverse of the matrix of ratios simply has a minus sign on the departure angles:
  • Y 1 = [ Y xx 0 0 0 Y yy 0 0 0 Y zz ] [ 1 - δ 1 - δ 3 - δ 1 1 - δ 2 - δ 3 - δ 2 1 ] ( 44 )
  • Gravity equation (11) is revised using equation (43) to take account of the cross axis angles as follows.

  • (f m−μ)T( −1)T( −1)(f m−μ)=g 2  (45)
  • Equation (45) in algebraic form (compare to equation (15)) is written:
  • g ( k ) = { Y xx 2 [ ( f x m ( k ) - μ x ) - δ 1 ( f y m ( k ) - μ y ) - δ 3 ( f z m ( k ) - μ z ) ] 2 + Y yy 2 [ - δ 1 ( f x m ( k ) - μ x ) + ( f y m ( k ) - μ y ) - δ 2 ( f z m ( k ) - μ z ) ] 2 + Y zz 2 [ - δ 3 ( f x m ( k ) - μ x ) - δ 2 ( f y m ( k ) - μ y ) + ( f z m ( k ) - μ z ) ] 2 } ( 45 A )
  • Equation (45) in effect uses a sum of squares of the different corrected sensor outputs to generate a gravity-squared value for each measurement and equation (45) for gravity takes the square root. For some embodiments, this constitutes a sufficient approximation. Some other embodiments recognize that because the sensors are not perpendicular to one another, the sum of squares of even the true acceleration components measured by each of the sensors departs somewhat from the acceleration being experienced by the platform. Accordingly, equation (45A) can be adjusted in any suitable manner, such as by applying factors (1−δ1 2) and (1−δ2 2−δ3 2) for squares of (small) direction cosines, and written:
  • g ( k ) = { Yxx 2 [ ( f x m ( k ) - μ x ) - δ 1 ( f y m ( k ) - μ y ) - δ 3 ( f z m ( k ) - μ z ) ] 2 + ( 1 - δ 1 2 ) Yyy 2 [ - δ 1 ( f x m ( k ) - μ x ) + ( f y m ( k ) - μ y ) - δ 2 ( f z m ( k ) - μ z ) ] 2 + ( 1 - δ 2 2 - δ 3 2 ) Yzz 2 [ - δ 3 ( f x m ( k ) - μ x ) - δ 2 ( f y m ( k ) - μ y ) + ( f z m ( k ) - μ z ) ] 2 } ( 45 B )
  • Process embodiment IV also establishes an optimization function, such as:
  • 1 = k = 1 m F 1 ( k ) , where F 1 ( k ) = ( g ( k ) - 1 ) 2 ( 33 - I )
  • The optimization summand function F1(k) this time is a function of a conveniently low-dimensional parameter vector p1 holding the three departure angles as three unknowns in an angle-only process embodiment designated IV-A, and equation (16) is revised to a 3-vector:

  • p1=[δ1δ2δ3]T  (46-A)
  • A more involved approach to process embodiment IV instead defines parameter vector p2 nine parameters including the axes gains, biases, and three departure angles as unknowns in a process embodiment designated IV-B, and equation (16) is instead revised to a 9-vector

  • p2=[YxxYyyYzzμxμyμzδ1δ2δ3]T  (46-B)
  • Here again, parameter determination does not call for demandingly-precise test orientations. Instead, in process embodiment IV, (either IV-A or IV-B) an iterative process according to embodiments I or IK is applied. For instance, a gradient descent process is applied using iterations wherein the change of parameters equal to minus the inverse of the matrix M1 of second partial derivatives of the optimization function F1(k) multiplied by the gradient of the optimization function F1(k), as stated by equation (47):
  • Δ p 1 = - ( k = 1 m M 1 ( k ) ) - 1 k = 1 m F 1 ( k ) ( 47 )
  • The gradient here is again a column vector of first partial derivatives of optimization function F1(k) now using gravity g(k) of equation (45B), the partial derivatives with respect to the parameters of equation (46A) or (46B) depending on embodiment. The gradient is given for the kth measurement by partial differentiating optimization function F1 of equation (33-I) with respect to the parameters of either equation (46A) or (46B) to obtain equation (48) in terms of a gradient-related row H3(k) of fully-written-out algebraic expressions involving the three departure angles δi:

  • F1(k)=−2H 3 T(k)(1−g(k))/g(k)  (48)
  • Column vector H3 T(k) is the transpose of the kth row of a relation matrix H3 and H3 T(k)/g(k) is substituted for H in process I. Matrix M1 of second partial derivatives of the optimization function F1(k) is derived by partial differentiation of fully-written-out gradient ∇F1(k) equation (48) with respect to the parameters of either equation (46A) or (46B) for the optimization function if applying process III-B.
  • Estimation Process IV-A
  • 0. Execute an estimation process such as I or IK to obtain good estimates of bias errors μx, μy, μz and axes gain reciprocals Yxx, Yyy, Yzz.
    1. Initialize three departure angles δi parameters p1=[0 0 0] or according to most recent calibrated departure angle parameters δi if available.
    2. Use the Step 0 data for measured average acceleration on all three axes:

  • [fx mfy mfz m]T.
  • 3. Execute an estimation process such as I or IK to obtain good estimates of departure angles δ1 δ2 δ3.
    4. Generate the gain matrix Y1 including cross axes gains according to equation (44).
  • Process IV-A generates a set of updated accelerometer calibration parameters by desirably executing sub processes (e.g., step 0 and steps 1-3) to generate different subsets in succession of the accelerometer parameters.
  • Estimation Process IV-B
  • 1. Initialize the nine parameters p2=[1, 1, 1, 0, 0, 0, 0, 0, 0] or according to most recent calibrated parameters if available.
    2. Use the data for measured average acceleration on all three axes:

  • [fx mfy mfz m]T
  • 3. Execute an estimation process such as I or IK to obtain good estimates of bias errors μx, μy, μz and axes gain reciprocals Yxx, Yyy, Yzz and departure angles δ1 δ2 δ3.
    4. Generate the gain matrix Y1 including cross axes gains according to equation (44).
  • Process IV-B generates a set of updated accelerometer parameters together, and iterations allow interactions between the parameters to be more fully accounted for in getting good values for them.
  • Description now turns to a multi-mode recalibration embodiment of FIG. 8.
  • In FIG. 8, a call from either user or internal software occurs at a step 3605 and calls the system to launch a navigation application. Then a step 3610 updates a data record regarding any recalibration criterion based on date/time RTC 2526 and environmental sensor 1160. Next, a decision step 3620 evaluates a recalibration criterion for determining whether to invoke a recalibration mode that involves m measurements taken by user cueing and collective processing for them, or not. The recalibration criterion may be programmed in any appropriate manner. For example, if RTC elapsed time alone is the reason for recalibration, then a less aggressive single-measurement calibration update to a running window of measurements under similar environmental variables (No at step 3620) is illustratively applied with or without user cueing. On the other hand, if a substantial temperature increase or decrease has occurred or a significant accelerometer voltage regulator voltage change has occurred or the accelerometer 1140 has never been calibrated, then (Yes at step 3620) a more-aggressive recalibration is performed. The more-aggressive recalibration mode takes multiple new measurements and uses prompt transducer 1180 to cue multiple different user-established orientations. If Yes at step 3620, operations go to a mode using process 2800 of FIG. 6A and proceed through point A to perform recalibration with numerous new measurements. If No at step 3620, operations instead go to a second, different mode such as one using process 3300 of FIG. 7A and then go to point B thereof to perform recalibration with fewer new measurements, or even a single new measurement, which is combined with previous measurements that have similar environmental variables. For example, m measurements are suitably used that are or have been taken when the device has been at about the same temperature and about the same voltage regulator supply voltage for the accelerometer. The m measurements are utilized to estimate the accelerometer parameters as taught herein. Either way, thereafter operations proceed to launch the navigation application 3170 supported by the updated calibration of the accelerometer parameters.
  • FIG. 9 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. 8, a step 3710 provides estimation of accelerometer gain and bias by calibration or recalibration according to any of the process embodiments described hereinabove.
  • In FIG. 9, a position engine 3720 is provided to receive GPS (Global Positioning System) and Inertial measurements (comprised of accelerometers and/or, gyros and/or, e-compass) and then blend the inertial output with GPS measurements obtained by a GPS engine 1190 in any of FIGS. 1-3. Conveniently calibrated MEMS accelerometers 1140 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 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. Blending involves a Kalman filter implementation, or other suitable implementation, that uses both GPS as well as dead reckoning DR information to give a blended output. The recalibration processes, circuits, devices, and systems taught herein can be accurate, reliable, and easy for end-users to use. Computed true acceleration Y*(fm−μ) for the INS is based on the 3-axis accelerometer actual sensor outputs fx m(k), fy m(k), fz m(k), which have bias errors and gain errors.
  • Calibration step 3710 beneficially supplies accurate gain parameter estimates Yxx, Yyy, Yzz and bias parameter estimates μx, μy, μz by any of the improved processes described hereinabove. Applying the correct bias and gain parameters to generate a computed true acceleration Y*(fm−μ) delivers a good approximation to the actual true acceleration fa=[fx a fy a fz a]T that the accelerometer 1140 is actually experiencing in the navigation application. It is important to correct the bias and gain errors in actual accelerometer sensor outputs fx m(k), fy m(k) fz m(k), to prevent a rapid buildup of velocity measurement error and distance measurement error in the navigation application. Such rapid buildup can occur because velocity is the time-integral of acceleration and because distance is the time-integral of velocity.
  • Accurate parameter estimates of the bias errors and gain errors of a given accelerometer 1140 help to define the state initialization for a position engine 3720 that combines GPS position input and 3-axis accelerometer (INS) actual sensor outputs fx m(k), fy m(k), fz m(k). A concept of Dead Reckoning is motivated by a process for combining information that adds a most-recent blended position xblend and velocity vblend to twice-integrated corrected acceleration according to equation (49.1). It is particularly useful in scenarios where GPS visibility is limited.
  • x blend ( t ) = x blend ( t gps ) + ( t - t gps ) v blend ( t gps ) + tgps t tgps t [ g - Y * ( f m - μ ) ] t t ( 49.1 )
  • In equation (49.1), 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 blended vector position measurement xgps and most-recent vector velocity measurement vgps. 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 (49.1) and (49.2). The accelerometer measures the gravity vector g with the platform at rest, so the difference between gravity vector g (essentially unity 1.00) and the compensated measurement Y*(fm−μ) is expressed in the integrand.
  • A most recent velocity input vgps is added to integrated corrected acceleration according to equation (49.2) to obtain blended velocity vblend(t):
  • v blend ( t ) = v blend ( t gps ) + tgps t Y * ( f m - μ ) t t ( 49.2 )
  • 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 with gain parameter estimates Yxx, Yyy, Yzz and bias parameter estimates μx, μy, μz from 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 3170 (2524).
  • FIG. 10 shows an embodiment of structure and process for using accelerometer gain and bias estimates from any of FIGS. 4-8 in Tilt Compensation for an e-compass 1150 and/or gyro 1170 or other device that benefits from tilt compensation. In FIG. 10, as in FIG. 9, calibration step 3710 beneficially supplies accurate gain parameter estimates Yxx, Yyy, Yzz and bias parameter estimates μx, μy, μz by any of the improved calibration processes described hereinabove. In FIG. 10, accelerometer 1140 supplies a post-calibration set of raw run-time acceleration measurements fm=[fx m(k), fy m(k), fz m(k)]T to measure acceleration when it may or may not be the same as gravity alone. Accelerometer bias correction is applied by a summer 3910 effectively subtracting step 3710 bias estimates μ[μx, μy, μz]T from the respective raw acceleration measurements fm. Computed true acceleration Y*(fm−μ) is generated by a multiplier 3920 to multiply the resulting vector output (fm−μ) of summer 3910 by the respective parameter estimates Yxx, Yyy, Yzz. Applying the correct bias and gain parameters to generate a computed true acceleration Y*(fm−μ) delivers a useful measurement of the actual true accelerations fa=[fz a fy a fz a]T that the accelerometer 1140 is actually experiencing in the navigation application.
  • In FIG. 10, correcting the bias and gain errors in actual accelerometer 1140 sensor outputs fx m(k), fy m(k), fz m(k), beneficially improves the results from tilt-compensation process 3930, which means that e-compass 1150 direction measurements more accurately support navigation applications 3170 (2524) and provide a better user experience. The output of multiplier 3920 is a set of compensated measurements that are delivered to a Tilt Compensation process 3930, such as for tilt-compensating e-compass 1150 and/or gyro 1170 of FIGS. 1-3. Some information on tilt compensation process 3930 is disclosed in US patent application titled “Processes for More Accurately Calibrating E-Compass for Tilt Error, Circuits, and Systems” Ser. No. ______ (TI-65997) filed on even date herewith, and said U.S. patent application is incorporated herein by reference in its entirety.
  • In FIG. 11, various system embodiments as described herein are manufactured in a process 4300. Step 4340 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 4342 and 4345 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-10 for an accelerometer 1140, as well as navigation applications and other system software.
  • Step 4350 tests operations of the accelerometer 1140 and other circuits by confirming rapid and accurate accelerometer 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-10 and various alternative estimation processes I, IK, II, III, IV or otherwise, 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 4350, verification and test operations are applied pertaining to real-time and non-real-time 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 mobile 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 4360 adjusts supporting parameters of the accelerometer 1140 circuitry, the accelerometer 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, iteration constants c or cii, convergence metric epsilons, measured-gravity screening range, data outlier distance d, FIG. 4 RTC gating elapsed-time intervals for enabling calibration, environmental sensor thresholds and ranges for initiating a call for calibration, accelerometer data averaging time interval in FIG. 5, and any other supporting parameters involved in processes described hereinabove. If further increased efficiency or accuracy is called for in a step 4355, then step 4360 adjusts or reconfigures parameter(s) and safety margins and loops back to reload parameter(s) at step 4345 and do further testing. When satisfactory at step 4355, operations proceed to step 4370, 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 4375 is reached.
  • Various embodiments are used with one or more processors that perform electronic processes on signals representing the accelerometer data and generate processor signals representing recalibrated parameters and corrected acceleration 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 accelerometer 1140 is a physically compact device including 1) a set of tri-axes MEMS accelerometer sensors, 2) the accelerometer sensors combined with a nonvolatile memory holding calibration software and/or parameters as described herein, 3) the accelerometer sensors combined with a microprocessor for the accelerometer 1140 as well as nonvolatile memory holding the calibration software and/or parameters, 4) e-compass 1150 and/or, Gyro 1170 combined with any of the other embodiments and further having tilt compensation software and parameters, 5) position sensing (e.g., GPS) unit combined with then any 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.
  • In FIG. 12, manufacturing process operations for making integrated circuit chips are illustrated, such as for subsequent use in system integration of FIG. 11. A step 4510 prepares RTL (register transfer language) design code representing the hardware of any part or all of FIGS. 2 and 3, and prepares software code according to any of FIGS. 4-10 and/or as described herein to run on the hardware as well. From the RTL is prepared a netlist of the actual gates in the integrated circuit, followed by place and route to establish the physical layout of the integrated circuit. A step 4520 delivers the layout on an physical medium such as a pattern generation tape and prepares reticles for ultraviolet lithography or other wafer fab process. Wafer fabrication is then performed using the reticles in a step 4530. Serial-scan testing of scan able registers and other testing is performed using emulation EMU of FIG. 2 on the manufactured integrated circuits in a step 4540. If the integrated circuits do not pass testing operations may go back to step 4510 or any applicable intermediate step so that the manufactured integrated circuits do pass testing. Operations proceed on to assembly/test step 4550 wherein an integrated circuit plastic packaging or ceramic or other packaging may be applied.
  • 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.
  • Such integrated circuits with processors are depicted in various example forms in FIGS. 12A, 12B, and 12C with reference to enumerations of structures in FIG. 1.
  • In FIG. 12A, a processor 1030 is flanked on both sides by memory 1034/1036/1032 and has an accelerometer 1140 and an environmental sensor 1160 next to processor 1030. Gyro circuitry 1170 can also be provided. The memory in FIGS. 12A, 12B, 12C includes a memory for holding physical representations of instructions defining processes of any one, some, or all of various embodiments herein.
  • In FIG. 12B, a GPS baseband decoder 2160 of FIG. 3 is associated row-wise with centrally located processor 1030. Accelerometer 1140 and environmental sensor 1160 together with at least part of a gyro and/or, an electronic compass 1150 are laid out on the opposite side of processor 1030 from GPS decoder 2160. Memory 1034/1036/1032 occupies substantially the balance of the layout.
  • FIG. 12C, GPS baseband decoder 2160 is surrounded on three sides by memory 1034/1036/1032. Decoder 2160 is situated opposite on the chip from processor 1030. A SoC system bus 1721 at metal level L3, and 1734 at metal level L4, joins decoder 2160 and processor 1030 with length-wise access by the bus line to memory. Accelerometer 1140 and an environmental sensor 1160 occupy a corner of the chip next to processor 1030. Electronic compass circuitry 1150 occupies an opposite corner of the chip next to processor 1030. Gyro circuitry is also provided.
  • ASPECTS (See Notes paragraph at end of this Aspects section.)
  • 1A. The electronic circuit claimed in claim 1 further comprising at least part of an electronic compass situated and coupled to said electronic processor on a same single chip.
  • 1B. The electronic circuit claimed in claim 1 further comprising at least part of a gyro situated and coupled to said electronic processor on a same single chip.
  • 7A. The information storage medium claimed in claim 7 further comprising a second set of instructions to generate at least one distinct accelerometer calibration parameter.
  • 7B. The information storage medium claimed in claim 7 wherein the instructions include instructions to analyze the accelerometer data for acceptability.
  • 7C. The information storage medium claimed in claim 7 wherein the instructions include instructions to generate prompting transducer control signals.
  • 7D. The information storage medium claimed in claim 7 wherein the medium includes an integrated circuit with a nonvolatile memory.
  • 10A. The process claimed in claim 10 further comprising separately generating at least one additional signal representing a distinct accelerometer calibration parameter.
  • 10B. The process claimed in claim 10 further comprising processing of signals representing the multi-axes accelerometer data for acceptability beforehand.
  • 10C. The process claimed in claim 10 further comprising producing prompting transducer control signals.
  • 10D. The process claimed in claim 10 further comprising electronically blending the signals representing multi-axes accelerometer data, the signals representing accelerometer calibration parameters, and additional signals representing satellite positioning decoder data.
  • 10E. The process claimed in claim 10 further comprising electronically executing a navigation application using the signals representing accelerometer calibration parameters and run-time signals representing accelerometer data.
  • 16A. The system claimed in claim 16 wherein said accelerometer sensors are mounted on and least three different axes.
  • 16B. The system claimed in claim 16 wherein said electronic processor is also operable to cause said transducer to emit a distinct second user-perceptible prompt signifying that the accelerometer signals representing accelerometer data resulting from at least one of the freely-establishable orientations are satisfactory.
  • 16C. The system claimed in claim 16 further comprising a manual input coupled to said electronic processor for user-initiation of accelerometer calibration.
  • 16D. The system claimed in claim 16 further comprising a nonvolatile storage coupled to said electronic processor and holding a software application responsive to the signals representing the calibration parameters.
  • 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. “Physical 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 (26)

1. An electronic circuit comprising:
accelerometer sensors mounted on different axes;
memory circuitry; and
an electronic processor coupled to said accelerometer sensors and to said memory circuitry, said electronic processor operable to generate signals representing at least one calibration parameter for the accelerometer sensors from signals representing data resulting from said accelerometer sensors in an imprecise orientation of said accelerometer sensors.
2. The electronic circuit claimed in claim 1 wherein said memory circuitry holds physical representations of instructions executable by said electronic processor to generate the signals representing the calibration parameter through an electronic process representing gradient-related matrix multiplication.
3. The electronic circuit claimed in claim 1 wherein said electronic processor has multiply-accumulate circuitry and is operable to perform an electronic process representing gradient-related matrix multiplication.
4. The electronic circuit claimed in claim 1 further comprising a satellite positioning decoder situated and coupled to said electronic processor on a same single chip.
5. The electronic circuit claimed in claim 1 wherein at least one of the accelerometer sensors is situated and coupled on a same single chip to said electronic processor.
6. The electronic circuit claimed in claim 1 further comprising an environmental sensor coupled to said electronic processor.
7. An information storage medium holding a set of physical representations of instructions executable by an electronic processor to generate signals representing accelerometer calibration parameters from accelerometer data from different imprecise orientations.
8. The information storage medium claimed in claim 7 wherein the instructions include instructions to generate the parameters by gradient-related matrix multiplication.
9. The information storage medium claimed in claim 7 wherein the instructions include instructions for performing a recursive mean square minimization process to generate the accelerometer calibration parameters.
10. A process of accelerometer calibration, the process comprising generating signals representing accelerometer calibration parameters from signals representing multi-axes accelerometer data from different imprecise accelerometer orientations.
11. The process claimed in claim 10 wherein the generating includes generating the signals representing parameters through an electronic process representing gradient-related matrix multiplication.
12. The process claimed in claim 11 wherein the electronic process representing gradient related matrix multiplication includes a gradient of a function of gravitational acceleration with respect to the calibration parameters.
13. The process claimed in claim 10 further comprising executing a first mode to issue a prompt signal for reorientation and a second mode to occasionally acquire signals representing unprompted accelerometer data and automatically generate signals representing updated calibration parameters.
14. The process claimed in claim 10 wherein the generating includes performing an electronic process representing a recursive mean square minimization to generate the signals representing accelerometer calibration parameters.
15. The process claimed in claim 10 further comprising electronically utilizing signals representing environmental sensor data to determine when to perform the generating.
16. A system for measuring acceleration, comprising:
a portable device having accelerometer sensors mounted on different axes and operable to supply accelerometer signals representing accelerometer data;
a transducer associated with the portable device and operable to emit a user-perceptible prompt; and
an electronic processor coupled to said accelerometer sensors and to said transducer, said electronic processor operable to cause said transducer to emit the user-perceptible prompt, and said electronic processor operable to generate signals representing at least one calibration parameter for the accelerometer sensors in response to the accelerometer signals in different freely-establishable orientations of said portable device.
17. The system claimed in claim 16 wherein said signals representing calibration parameters include signals representing bias parameters and axes gain parameters.
18. The system claimed in claim 16 wherein said electronic processor is operable to perform an electronic process representing error feedback-minimization to generate the signals representing calibration parameters for the accelerometer sensors from the accelerometer signals.
19. The system claimed in claim 16 wherein said electronic processor is operable to perform a gradient-related generation of the signals representing calibration parameters for the accelerometer sensors from the accelerometer signals.
20. The system claimed in claim 16 further comprising a timer circuit coupled to said processor and wherein said electronic processor has an additional mode independent of said transducer and responsive at least in part to said timer circuit to occasionally acquire signals representing accelerometer data and automatically generate updated signals representing calibration parameters.
21. The system claimed in claim 16 wherein said processor is operable to ascertain when the signals representing accelerometer data are sufficiently stable in determining whether the signals representing accelerometer data are acceptable to generate calibration parameters.
22. The system claimed in claim 16 wherein said processor is operable to ascertain when the signals representing accelerometer data substantially accord with gravitational acceleration in determining whether the signals representing accelerometer data are acceptable to generate the signals representing calibration parameters.
23. The system claimed in claim 16 further comprising an environmental sensor coupled to said electronic processor, said electronic processor responsive to said environmental sensor for initiation of accelerometer calibration.
24. The system claimed in claim 16 further comprising a satellite positioning decoder coupled to said electronic processor wherein said processor is operable as an electronic position engine to blend signals representing information from said satellite positioning decoder and the signals representing accelerometer data.
25. The system claimed in claim 16 further comprising an electronic compass coupled to said electronic processor wherein said electronic processor is responsive to said accelerometer sensors and to the calibration parameters for tilt compensation of said electronic compass.
26. A process of manufacture comprising attaching to a printed wiring board an electronic processor and an accelerometer and a flash memory holding a set of physical representations of instructions executable by the electronic processor to generate signals representing accelerometer calibration parameters from accelerometer data from different imprecise orientations.
US12/398,775 2008-03-06 2009-03-05 Parameter estimation for accelerometers, processes, circuits, devices and systems Abandoned US20090259424A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
IN565CH2008 2008-03-06
IN565/CHE/2008 2008-03-06
IN567/CHE/2008 2008-03-06
IN567CH2008 2008-03-06

Publications (1)

Publication Number Publication Date
US20090259424A1 true US20090259424A1 (en) 2009-10-15

Family

ID=41134030

Family Applications (3)

Application Number Title Priority Date Filing Date
US12/398,775 Abandoned US20090259424A1 (en) 2008-03-06 2009-03-05 Parameter estimation for accelerometers, processes, circuits, devices and systems
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
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 After (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
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

Country Status (1)

Country Link
US (3) US20090259424A1 (en)

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080270817A1 (en) * 2002-09-16 2008-10-30 Silicon Labs Cp, Inc. Precision oscillator for an asynchronous transmission system
US20090257739A1 (en) * 2008-04-14 2009-10-15 Sony Corporation Information processing apparatus and method, program, and information processing system and method
US20110029180A1 (en) * 2007-12-10 2011-02-03 Siemens Transportation Systems Sas Device for Measuring the Movement of a Self-Guided Vehicle
US20110066042A1 (en) * 2009-09-15 2011-03-17 Texas Instruments Incorporated Estimation of blood flow and hemodynamic parameters from a single chest-worn sensor, and other circuits, devices and processes
US20110077891A1 (en) * 2009-09-25 2011-03-31 Sirf Technology Holdings, Inc. Accelerometer-only calibration method
DE102010028827A1 (en) * 2010-05-11 2011-11-17 Robert Bosch Gmbh Method for adjusting an acceleration sensor and electronic device
DE102010028828A1 (en) * 2010-05-11 2011-11-17 Robert Bosch Gmbh Method and system for determining an idle state
US20110320164A1 (en) * 2010-06-28 2011-12-29 Seiko Epson Corporation Bias estimating method, posture estimating method, bias estimating device, and posture estimating device
DE102010062016A1 (en) * 2010-11-26 2012-05-31 Siemens Aktiengesellschaft Method and device for determining movement parameters of moving objects
US20130030766A1 (en) * 2011-07-25 2013-01-31 Star Technologies Inc. Calibration system of electronic devices
US20130060514A1 (en) * 2011-09-01 2013-03-07 Qualcomm Incorporated Mems accelerometer airliner takeoff and landing detection
US20130086973A1 (en) * 2011-10-07 2013-04-11 Douglas A. Martin Auto-calibration systems for coin counting devices
US20130121367A1 (en) * 2011-11-11 2013-05-16 Qualcomm Incorporated Sensor auto-calibration
US20130262011A1 (en) * 2012-03-28 2013-10-03 Scott J. Graybill Compass calibration
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
WO2014025429A3 (en) * 2012-05-18 2014-05-15 Trx Systems, Inc. Method for step detection and gait direction estimation
US20140150588A1 (en) * 2011-03-22 2014-06-05 Goran CHRISTIANSSON Gear with vibration sensor
US20140163870A1 (en) * 2012-12-06 2014-06-12 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
US20140254851A1 (en) * 2013-03-08 2014-09-11 Merry Electronics Co., Ltd. Mems microphone packaging structure
WO2015123604A1 (en) * 2014-02-17 2015-08-20 Tourmaline Labs, Inc. Systems and methods for estimating movements of a vehicle using a mobile device
US20150362384A1 (en) * 2014-06-11 2015-12-17 Samsung Electronics Co., Ltd. Method for determining sensing value and electronic device performing the same
US20160103002A1 (en) * 2014-10-09 2016-04-14 Invensense, Inc. System and method for mems sensor system synchronization
US9429590B2 (en) 2011-07-27 2016-08-30 Qualcomm Incorporated Accelerometer autocalibration in a mobile device
EP2428877A3 (en) * 2010-09-14 2016-09-07 Sony Interactive Entertainment Inc. Information processing system for sensor calibration
US20170257427A1 (en) * 2010-09-29 2017-09-07 Apple Inc. Systems, methods, and computer readable media for sharing awareness information
CN107389980A (en) * 2017-07-25 2017-11-24 广东欧珀移动通信有限公司 A kind of accelerometer control method, accelerometer control device and intelligent terminal
US20180340768A1 (en) * 2017-05-25 2018-11-29 Stmicroelectronics S.R.L. Computing system implementing an algorithm for fusing data from inertial sensors, and method
US10168156B2 (en) 2017-03-23 2019-01-01 International Business Machines Corporation Orient a mobile device coordinate system to a vehicular coordinate system
US10324108B2 (en) 2012-02-07 2019-06-18 Mcube, Inc. Dynamic offset correction for calibration of MEMS sensor
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
US10571270B2 (en) 2012-06-12 2020-02-25 Trx Systems, Inc. Fusion of sensor and map data using constraint based optimization
US10656737B2 (en) * 2018-01-12 2020-05-19 Sharp Kabushiki Kaisha Electronic device, control device, storage medium, and control method for calibration after impact detection
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
US11656071B2 (en) 2020-05-05 2023-05-23 Stmicroelectronics S.R.L. Electronic apparatus control method performed through lid angle calculation, electronic apparatus thereof and software product

Families Citing this family (63)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
US20120079533A1 (en) * 2010-09-29 2012-03-29 Sony Corporation Techniques for developing a customized television user interface for a secondary device
US20120079532A1 (en) * 2010-09-29 2012-03-29 Sony Corporation Techniques for developing a television user interface for a secondary device
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
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
US8577640B2 (en) 2011-08-17 2013-11-05 Invensense, Inc. Magnetometer bias and anomaly detector
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
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
CN102662083B (en) * 2012-03-28 2014-04-02 北京航空航天大学 Accelerometer calibration method based on GPS velocity information
WO2013188548A2 (en) * 2012-06-12 2013-12-19 Trxs Systems, Inc. Methods for improved heading estimation
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
US10261176B2 (en) * 2013-05-15 2019-04-16 Flir Systems, Inc. Rotating attitude heading reference systems and methods
US10175043B2 (en) * 2013-05-15 2019-01-08 FLIR Belgium BVBA Toroidal shape recognition for automatic compass calibration systems and methods
CN105378429B (en) * 2013-05-15 2018-11-30 菲力尔系统公司 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
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
US10281484B2 (en) 2014-05-02 2019-05-07 Qualcomm Incorporated Motion direction determination and application
US9983224B2 (en) 2014-05-02 2018-05-29 Qualcomm Incorporated Motion direction determination and application
CN103969469A (en) * 2014-05-09 2014-08-06 深圳市美赛达科技股份有限公司 Calibrating system and method applied to vehicle monitoring terminal
US10371528B2 (en) * 2014-07-03 2019-08-06 Texas Instruments Incorporated Pedestrian navigation devices and methods
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
US10594683B2 (en) * 2016-06-08 2020-03-17 International Business Machines Corporation Enforce data security based on a mobile device, positioning, augmented reality
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
US10983206B2 (en) 2017-11-07 2021-04-20 FLIR Belgium BVBA Low cost high precision GNSS systems and methods
US11280896B2 (en) 2017-06-16 2022-03-22 FLIR Belgium BVBA Doppler GNSS systems and methods
CN107328401B (en) * 2017-07-26 2021-02-19 Tcl移动通信科技(宁波)有限公司 Mobile terminal, data correction processing method of geomagnetic sensor of mobile terminal, and storage medium
CN107703469A (en) * 2017-08-25 2018-02-16 广州新维感信息技术有限公司 A kind of magnetic force meter calibration method and device
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
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
RU2690231C1 (en) * 2018-07-09 2019-05-31 Акционерное общество "Концерн "Центральный научно-исследовательский институт "Электроприбор" Method of diagnostics of state of gas-dynamic support of float gyro rotor
US10936459B2 (en) * 2018-12-07 2021-03-02 Microsoft Technology Licensing, Llc Flexible microcontroller support for device testing and manufacturing
CN109945864B (en) * 2019-02-25 2020-12-18 广州市香港科大霍英东研究院 Indoor driving positioning fusion method and device, storage medium and terminal equipment
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
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 (27)

* 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
US5819206A (en) * 1994-01-21 1998-10-06 Crossbow Technology, Inc. Method and apparatus for determining position and orientation of a moveable object using accelerometers
US6225790B1 (en) * 1999-10-20 2001-05-01 Delphi Technologies, Inc. Apparatus and method for motion-based activation of a voltage regulator
US6308134B1 (en) * 1996-12-27 2001-10-23 Magellan Dis, Inc. Vehicle navigation system and method using multiple axes accelerometer
US20020092188A1 (en) * 2000-12-06 2002-07-18 Honeywell International Inc. Monitoring accuracy of an electronic compass
US6498996B1 (en) * 1999-08-04 2002-12-24 Honeywell International Inc. Vibration compensation for sensors
US20030061859A1 (en) * 2001-01-29 2003-04-03 Ford Global Technologies, Inc. Accelerometer calibration
US6543146B2 (en) * 2000-12-06 2003-04-08 Honeywell International, Inc. Electronic compass and compensation of large magnetic errors for operation over all orientations
US20030115930A1 (en) * 2001-11-13 2003-06-26 Nokia Corporation Method, device and system for calibrating angular rate measurement sensors
US20030144808A1 (en) * 2002-01-25 2003-07-31 Savard Thomas A. Methods and systems for calibration and compensation of accelerometers with bias instability
US6823279B1 (en) * 2001-07-27 2004-11-23 Trimble Navigation Limted Spectral method for calibrating a multi-axis accelerometer device
US20060031014A1 (en) * 2004-07-23 2006-02-09 Hideki Sato 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
US7212944B1 (en) * 2004-09-02 2007-05-01 Sandia Corporation Inertial measurement unit using rotatable MEMS sensors
US20070119252A1 (en) * 2005-11-22 2007-05-31 Kionix, Inc. Tri-axis accelerometer
US20070260398A1 (en) * 2006-03-08 2007-11-08 David Stelpstra Portable navigation device with accelerometer
US20070282529A1 (en) * 2006-05-31 2007-12-06 Honeywell International Inc. Rapid self-alignment of a strapdown inertial system through real-time reprocessing
US20080046214A1 (en) * 2006-04-13 2008-02-21 Tiax Llc Sensor system
US7340362B2 (en) * 2003-07-03 2008-03-04 Asahi Kasei Emd Corporation Azimuth measurement device and azimuth measurement method
US7376527B2 (en) * 2003-12-22 2008-05-20 Asahi Kasei Emd Corporation Azimuth measuring device
US7379814B2 (en) * 2002-03-01 2008-05-27 Gentex Corporation Electronic compass system
US20080221818A1 (en) * 2007-03-05 2008-09-11 Gm Global Technology Operations, Inc. Correction of Factors in Vehicle Accelerometer Signals
US20080236242A1 (en) * 2007-03-28 2008-10-02 Stewart Robert E Self-calibrating accelerometer
US20080236282A1 (en) * 2007-03-28 2008-10-02 Kionix, Inc. System and method for detection of freefall with spin using two tri-axis accelerometers
US20090013755A1 (en) * 2007-07-10 2009-01-15 Polstar Technologies Inc. Calibration jig and algorithms for accelerometer
US20090054075A1 (en) * 2007-08-23 2009-02-26 Texas Instruments Incorporated Satellite (gps) assisted clock apparatus, circuits, systems and processes for cellular terminals on asynchronous networks
US20090217733A1 (en) * 2008-02-29 2009-09-03 General Electric Company Systems and Methods for Calibrating Triaxial Accelerometers
US8374817B2 (en) * 2007-04-04 2013-02-12 Nxp B.V. Auto-calibration of orientation sensing systems

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN1152237C (en) 2001-03-30 2004-06-02 清华大学 Miniature navigation system based on micro electromechanical techn.
US20040174434A1 (en) * 2002-12-18 2004-09-09 Walker Jay S. Systems and methods for suggesting meta-information to a camera user
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
JP2005292893A (en) * 2004-03-31 2005-10-20 Nec Access Technica Ltd Portable information terminal device
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
JP4454543B2 (en) * 2005-06-23 2010-04-21 Necディスプレイソリューションズ株式会社 Projector with distortion correction means
JP2007040763A (en) * 2005-08-01 2007-02-15 Toyota Motor Corp Correction device of acceleration sensor
JP4919142B2 (en) 2005-10-19 2012-04-18 アイチ・マイクロ・インテリジェント株式会社 Magnetic compass
US20070156337A1 (en) * 2005-12-30 2007-07-05 Mamdouh Yanni Systems, methods and apparatuses for continuous in-vehicle and pedestrian navigation
EP2031349A4 (en) 2006-05-09 2012-10-03 Alps Electric Co Ltd Calibration program and electronic compass
KR20080026395A (en) * 2006-09-20 2008-03-25 삼성전자주식회사 Method and system of 2-axis compass calibration considering magnetic environment and method and system of measuring azimuth using it
FI120276B (en) 2007-05-21 2009-08-31 Suunto Oy Compass device and method for compass devices

Patent Citations (27)

* 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
US5819206A (en) * 1994-01-21 1998-10-06 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
US20020092188A1 (en) * 2000-12-06 2002-07-18 Honeywell International Inc. Monitoring accuracy of an electronic compass
US20030061859A1 (en) * 2001-01-29 2003-04-03 Ford Global Technologies, Inc. Accelerometer calibration
US6823279B1 (en) * 2001-07-27 2004-11-23 Trimble Navigation Limted Spectral method for calibrating a multi-axis accelerometer device
US20030115930A1 (en) * 2001-11-13 2003-06-26 Nokia Corporation Method, device and system for calibrating angular rate measurement sensors
US20030144808A1 (en) * 2002-01-25 2003-07-31 Savard Thomas A. Methods and systems for calibration and compensation of accelerometers with bias instability
US7379814B2 (en) * 2002-03-01 2008-05-27 Gentex Corporation Electronic compass system
US7340362B2 (en) * 2003-07-03 2008-03-04 Asahi Kasei Emd Corporation Azimuth measurement device and azimuth measurement method
US7376527B2 (en) * 2003-12-22 2008-05-20 Asahi Kasei Emd Corporation Azimuth measuring device
US20060031014A1 (en) * 2004-07-23 2006-02-09 Hideki Sato 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
US7212944B1 (en) * 2004-09-02 2007-05-01 Sandia Corporation Inertial measurement unit using rotatable MEMS sensors
US20070119252A1 (en) * 2005-11-22 2007-05-31 Kionix, Inc. Tri-axis accelerometer
US20070260398A1 (en) * 2006-03-08 2007-11-08 David Stelpstra Portable navigation device with accelerometer
US20080046214A1 (en) * 2006-04-13 2008-02-21 Tiax Llc Sensor system
US20070282529A1 (en) * 2006-05-31 2007-12-06 Honeywell International Inc. Rapid self-alignment of a strapdown inertial system through real-time reprocessing
US20080221818A1 (en) * 2007-03-05 2008-09-11 Gm Global Technology Operations, Inc. Correction of Factors in Vehicle Accelerometer Signals
US20080236242A1 (en) * 2007-03-28 2008-10-02 Stewart Robert E Self-calibrating accelerometer
US20080236282A1 (en) * 2007-03-28 2008-10-02 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
US20090013755A1 (en) * 2007-07-10 2009-01-15 Polstar Technologies Inc. Calibration jig and algorithms for accelerometer
US20090054075A1 (en) * 2007-08-23 2009-02-26 Texas Instruments Incorporated Satellite (gps) assisted clock apparatus, circuits, systems and processes for cellular terminals on asynchronous networks
US20090217733A1 (en) * 2008-02-29 2009-09-03 General Electric Company Systems and Methods for Calibrating Triaxial Accelerometers

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Definition of "quantum", thefreedictionary.com, http://www.thefreedictionary.com/p/quantum, last accessed (07/19/2012). *

Cited By (71)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080270817A1 (en) * 2002-09-16 2008-10-30 Silicon Labs Cp, Inc. Precision oscillator for an asynchronous transmission system
US8055932B2 (en) * 2002-09-16 2011-11-08 Silicon Laboratories Inc. Precision oscillator for an asynchronous transmission system
US8307237B2 (en) 2002-09-16 2012-11-06 Silicon Laboratories Inc Precision oscillator for an asynchronous transmission system
US20110029180A1 (en) * 2007-12-10 2011-02-03 Siemens Transportation Systems Sas Device for Measuring the Movement of a Self-Guided Vehicle
US8571741B2 (en) * 2007-12-10 2013-10-29 Siemens Sas Device for measuring the movement of a self-guided vehicle
US20090257739A1 (en) * 2008-04-14 2009-10-15 Sony Corporation Information processing apparatus and method, program, and information processing system and method
US8429289B2 (en) * 2008-04-14 2013-04-23 Sony Corporation Information processing apparatus and method, program, and information processing system and method
US20110066042A1 (en) * 2009-09-15 2011-03-17 Texas Instruments Incorporated Estimation of blood flow and hemodynamic parameters from a single chest-worn sensor, and other circuits, devices and processes
US20110066041A1 (en) * 2009-09-15 2011-03-17 Texas Instruments Incorporated Motion/activity, heart-rate and respiration from a single chest-worn sensor, circuits, devices, processes and systems
US20110098583A1 (en) * 2009-09-15 2011-04-28 Texas Instruments Incorporated Heart monitors and processes with accelerometer motion artifact cancellation, and other electronic systems
US20110077891A1 (en) * 2009-09-25 2011-03-31 Sirf Technology Holdings, Inc. Accelerometer-only calibration method
DE102010028827A1 (en) * 2010-05-11 2011-11-17 Robert Bosch Gmbh Method for adjusting an acceleration sensor and electronic device
DE102010028828B4 (en) 2010-05-11 2019-07-18 Robert Bosch Gmbh Method and system for determining an idle state
CN102288788A (en) * 2010-05-11 2011-12-21 罗伯特·博世有限公司 Method for calibrating an acceleration sensor and electronic device
DE102010028827B4 (en) * 2010-05-11 2021-07-01 Robert Bosch Gmbh Method for calibrating an acceleration sensor
US20110277532A1 (en) * 2010-05-11 2011-11-17 Julian Bartholomeyczik Method for calibrating an acceleration sensor and electronic device
DE102010028828A1 (en) * 2010-05-11 2011-11-17 Robert Bosch Gmbh Method and system for determining an idle state
US8543852B2 (en) 2010-05-11 2013-09-24 Robert Bosch Gmbh Method and system for determining an idle state
US20110320164A1 (en) * 2010-06-28 2011-12-29 Seiko Epson Corporation Bias estimating method, posture estimating method, bias estimating device, and posture estimating device
US9273967B2 (en) * 2010-06-28 2016-03-01 Seiko Epson Corporation Bias estimating method, posture estimating method, bias estimating device, and posture estimating device
CN102313822A (en) * 2010-06-28 2012-01-11 精工爱普生株式会社 Biasing evaluation method, posture evaluation method, biasing estimating device and posture estimating device
EP2428877A3 (en) * 2010-09-14 2016-09-07 Sony Interactive Entertainment Inc. Information processing system for sensor calibration
US20170257427A1 (en) * 2010-09-29 2017-09-07 Apple Inc. Systems, methods, and computer readable media for sharing awareness information
US10341425B2 (en) * 2010-09-29 2019-07-02 Apple Inc. Systems, methods, and computer readable media for sharing awareness information
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
US20140150588A1 (en) * 2011-03-22 2014-06-05 Goran CHRISTIANSSON Gear with vibration sensor
US20130030766A1 (en) * 2011-07-25 2013-01-31 Star Technologies Inc. Calibration system of electronic devices
US9429590B2 (en) 2011-07-27 2016-08-30 Qualcomm Incorporated Accelerometer autocalibration in a mobile device
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
US20130086973A1 (en) * 2011-10-07 2013-04-11 Douglas A. Martin 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
US11808605B2 (en) 2011-10-10 2023-11-07 Texas Instruments Incorporated Robust step detection using low cost MEMS accelerometer in mobile applications, and processing methods, apparatus and systems
US11255695B2 (en) 2011-10-10 2022-02-22 Texas Instruments Incorporated Robust step detection using low cost MEMS accelerometer in mobile applications, and processing methods, apparatus and systems
US9581466B2 (en) 2011-11-11 2017-02-28 Qualcomm Incorporated Sensor auto-calibration
KR101844453B1 (en) 2011-11-11 2018-04-02 퀄컴 인코포레이티드 Sensor auto-calibration
KR20140100517A (en) * 2011-11-11 2014-08-14 퀄컴 인코포레이티드 Sensor auto-calibration
US9534924B2 (en) 2011-11-11 2017-01-03 Qualcomm Incorporated Sensor auto-calibration
US9546883B2 (en) * 2011-11-11 2017-01-17 Qualcomm Incorporated Sensor auto-calibration
KR101682537B1 (en) 2011-11-11 2016-12-05 퀄컴 인코포레이티드 Sensor auto-calibration
US20130121367A1 (en) * 2011-11-11 2013-05-16 Qualcomm Incorporated Sensor auto-calibration
US10324108B2 (en) 2012-02-07 2019-06-18 Mcube, Inc. Dynamic offset correction for calibration of MEMS sensor
US9097523B2 (en) * 2012-03-28 2015-08-04 Trimble Navigation Ltd. Compass calibration
US20130262011A1 (en) * 2012-03-28 2013-10-03 Scott J. Graybill Compass calibration
WO2014025429A3 (en) * 2012-05-18 2014-05-15 Trx Systems, Inc. Method for step detection and gait direction estimation
US8930163B2 (en) 2012-05-18 2015-01-06 Trx Systems, Inc. Method for step detection and gait direction estimation
US10215587B2 (en) 2012-05-18 2019-02-26 Trx Systems, Inc. Method for step detection and gait direction estimation
US10571270B2 (en) 2012-06-12 2020-02-25 Trx Systems, Inc. Fusion of sensor and map data using constraint based optimization
CN104813142A (en) * 2012-12-06 2015-07-29 高通股份有限公司 Determine position,velocity and/or heading by simultaneous use of on-device and on-vehicle information
US20140163870A1 (en) * 2012-12-06 2014-06-12 Qualcomm Incorporated Determination of position, velocity and/or heading by simultaneous use of on-device and on-vehicle information
US11441904B2 (en) 2012-12-06 2022-09-13 Qualcomm Incorporated Determination of position, velocity and/or heading by simultaneous use of on-device and on-vehicle information
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
US20140254851A1 (en) * 2013-03-08 2014-09-11 Merry Electronics Co., Ltd. Mems microphone packaging structure
US9360323B2 (en) 2014-02-17 2016-06-07 Tourmaline Labs, Inc. Systems and methods for estimating movements of a vehicle using a mobile device
WO2015123604A1 (en) * 2014-02-17 2015-08-20 Tourmaline Labs, Inc. Systems and methods for estimating movements of a vehicle using a mobile device
US20150362384A1 (en) * 2014-06-11 2015-12-17 Samsung Electronics Co., Ltd. Method for determining sensing value and electronic device performing the same
US20160103002A1 (en) * 2014-10-09 2016-04-14 Invensense, Inc. System and method for mems sensor system synchronization
US10996086B2 (en) * 2014-10-09 2021-05-04 Invensense, Inc. System and method for mems sensor system synchronization
US10180340B2 (en) * 2014-10-09 2019-01-15 Invensense, Inc. System and method for MEMS sensor system synchronization
US10168156B2 (en) 2017-03-23 2019-01-01 International Business Machines Corporation Orient a mobile device coordinate system to a vehicular coordinate system
US20180340768A1 (en) * 2017-05-25 2018-11-29 Stmicroelectronics S.R.L. Computing system implementing an algorithm for fusing data from inertial sensors, and method
US10976150B2 (en) * 2017-05-25 2021-04-13 Stmicroelectronics S.R.L. Computing system implementing an algorithm for fusing data from inertial sensors, and method
US11473894B2 (en) * 2017-05-25 2022-10-18 Stmicroelectronics S.R.L. Computing system implementing an algorithm for fusing data from inertial sensors, and method
CN107389980A (en) * 2017-07-25 2017-11-24 广东欧珀移动通信有限公司 A kind of accelerometer control method, accelerometer control device and intelligent terminal
US10656737B2 (en) * 2018-01-12 2020-05-19 Sharp Kabushiki Kaisha Electronic device, control device, storage medium, and control method for calibration after impact detection
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
US11656071B2 (en) 2020-05-05 2023-05-23 Stmicroelectronics S.R.L. Electronic apparatus control method performed through lid angle calculation, electronic apparatus thereof and software product

Also Published As

Publication number Publication date
US20150247739A1 (en) 2015-09-03
US9062971B2 (en) 2015-06-23
US20090254294A1 (en) 2009-10-08

Similar Documents

Publication Publication Date Title
US20090259424A1 (en) Parameter estimation for accelerometers, processes, circuits, devices and systems
US10247550B2 (en) Mobile devices and methods for determining orientation information thereof
JP5901006B2 (en) Handheld global positioning system device
US9014975B2 (en) System on a chip inertial navigation system
JP6297768B2 (en) Satellite signal multipath mitigation in GNSS devices
US20150285835A1 (en) Systems and methods for sensor calibration
US8370097B2 (en) Calibration techniques for an electronic compass in portable device
JP6086901B2 (en) GNSS survey receiver with multiple RTK engines
US11047682B2 (en) Extended Kalman filter based autonomous magnetometer calibration
US8645093B2 (en) Calibrating multi-dimensional sensor for offset, sensitivity, and non-orthogonality
US8869095B2 (en) Software framework and development platform for multi-sensor systems
EP3236207B1 (en) A compensating circuit for a microelectromechanical (mems) resonator
US20160306050A1 (en) Electronic device, positioning control method and storage medium
EP3906456B1 (en) Method for controlling display and electronic device thereof
US11300995B2 (en) Foldable electronic device for detecting folding angle and operating method thereof
WO2018067549A1 (en) Method and apparatus for orientation of inertial measuring unit
CN105209856B (en) dynamically calibrating magnetic sensors
US10209075B2 (en) Orientation determination for devices generating electromagnetic interference
US11566899B2 (en) Method and system for sensor configuration
US10545197B2 (en) Self-calibrating system architecture for magnetic distortion compensation
US10309781B2 (en) Computing a magnetic heading
CA2766748C (en) System and method for calibrating an accelerometer
US20240134058A1 (en) Method and apparatus for gnss navigation
Peters Attitude determination for small satellites using GPS signal-to-noise ratio
KR20100020387A (en) Attitude reference system for multiple-legged walking machine and method thereof

Legal Events

Date Code Title Description
AS Assignment

Owner name: TEXAS INSTRUMENTS INCORPORATED, TEXAS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:DUTTA, GOUTAM;MUKUL, REETESH;SRIKANTAIAH, HEMANTH M;AND OTHERS;REEL/FRAME:022877/0049;SIGNING DATES FROM 20090305 TO 20090316

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO PAY ISSUE FEE