Dual magnetometer calibration

Through the temperature calibration and dynamic sampling technology of the dual magnetometer sensor system, the problem of heading estimation under the influence of hysteresis and temperature in large tracking areas is solved, achieving higher positioning accuracy and stability.

CN113287029BActive Publication Date: 2024-09-17GATEKEEPER SYST INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980055307.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-06-25
Filing Date
2019-06-14
Publication Date
2024-09-17
Estimated Expiration
2039-06-14

AI Technical Summary

Technical Problem

Existing technologies are inefficient and costly when locating movable objects in large tracking areas, especially when there are temperature or hysteresis effects, making it difficult for traditional magnetometer calibration methods to provide accurate heading data.

Method used

A dual magnetometer sensor system is adopted, in which one low-power magnetometer is used to correct the temperature reading of the other high-power magnetometer, dynamically switching to adapt to different working conditions and improve the sampling rate and accuracy of the magnetic sensor.

Benefits of technology

It effectively compensates for the effects of temperature and hysteresis on the magnetometer output, improves the accuracy and stability of heading estimation, and is suitable for object positioning applications in indoor and outdoor scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113287029B_ABST
    Figure CN113287029B_ABST
Patent Text Reader

Abstract

Examples of systems and methods for calibrating or operating a magnetic sensor for sensor temperature or operating conditions are provided. The magnetic sensor can include a dual magnetometer sensor including a first low power magnetometer (e.g., a magneto-impedance magnetometer) and a second high power magnetometer (e.g., a magnetoresistive magnetometer). The second magnetometer can have a smaller unit-to-unit variation in temperature calibration parameters and can be used to temperature correct the readings of the first magnetometer. The magnetic sensor can dynamically switch between the use of the first magnetometer and the second magnetometer to provide a dynamic sampling rate that can depend on conditions within or outside the sensor.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of priority to U.S. patent application US 62 / 689,526, filed on June 25, 2018, entitled “DUAL MAGNETOMETER CALIBRATION,” the entire contents of which are hereby incorporated by reference. Background Art Technical Field

[0003] The present disclosure generally relates to systems and methods for calibrating a magnetometer for the effects of temperature or hysteresis. The calibrated magnetometer can be used in systems and methods for locating movable objects, and more particularly, in systems and methods for locating movable objects such as wheeled vehicles using dead reckoning techniques. Background Art

[0005] Various methods have been used to determine the location of an object in a tracking area. For example, a radio frequency (RF) transmitter or tag can be attached to the object, and one or more receivers in the tracking area can monitor the tag transmission to determine the object's location. However, this method is disadvantageous if the tracking area is large, requiring the installation of many receivers, or if the tracking area includes structures that weaken the tag transmission. Other methods use a global navigation satellite system (GNSS, such as the Global Positioning System (GPS)) to determine the location. However, if the GNSS signal is blocked or if the visibility of the satellite is blocked, the GNSS method may fail. Moreover, both the GNSS system and the RF tag and receiver system are expensive and difficult to implement.

[0006] Navigation using dead reckoning can be advantageously used to determine changes in an object's position based on its heading and speed or distance over an elapsed period of time. Summary of the invention

[0007] Examples of systems and methods for locating a movable object, such as a cart (e.g., a shopping cart) are disclosed. Such systems and methods can use dead reckoning techniques to estimate the current position of the movable object. Various techniques are disclosed for improving the accuracy of the position estimate, including compensation for various error sources related to the use of magnetometers and accelerometers, and using vibration analysis to derive wheel rotation rates. Various techniques are also disclosed that utilize characteristics of the operating environment in conjunction with or in lieu of dead reckoning techniques, including characteristics of the environment such as ground texture, availability of signals from radio frequency (RF) transmitters that comprise a precise positioning source.

[0008] These systems and methods can be applied to indoor and outdoor scenarios and in scenarios such as retail, transportation (e.g., airports, trains, subways, bus stations), medical (e.g., hospitals or clinics), or warehouses.

[0009] The dead reckoning system module can use magnetic sensors to provide a heading for an object. The heading, combined with the speed or distance traveled within a certain time interval, can provide an updated position for the object. To improve the accuracy or precision of the updated position, the magnetic sensor can be calibrated so that the sensor provides an accurate heading over a certain range of operating temperatures or operating conditions (e.g., the presence of a strong nearby magnetic field, which can cause hysteresis in the magnetometer output). For example, the techniques described herein can be used to compensate for the effects of temperature or hysteresis on the magnetometer output.

[0010] Examples of systems and methods for calibrating or operating a magnetic sensor for sensor temperature or operating conditions are provided. The magnetic sensor can be a dual magnetometer sensor, comprising a first low power magnetometer (e.g., a magneto-impedance magnetometer) and a second high power magnetometer (e.g., a magnetoresistive magnetometer). The second magnetometer can have a smaller unit-to-unit variation in temperature calibration parameters and can be used to correct temperature readings from the first magnetometer. Thus, the temperature calibration parameters of the second magnetometer can be stored and used to provide temperature-corrected magnetic readings for calibrating the first magnetometer (whose temperature calibration parameters are typically unknown due to the larger unit-to-unit variation). The magnetic sensor can dynamically switch between the use of the first magnetometer and the second magnetometer to provide a dynamic sampling rate that can depend on conditions within or outside the sensor.

[0011] Details of one or more embodiments of the subject matter described in this specification are set forth in the following drawings and description. Other features, aspects, and advantages will become apparent from the specification, drawings, and claims. Neither the present disclosure nor the following detailed description is intended to define or restrict the scope of the subject matter of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a perspective view of a retail store and associated property showing components of a navigation system as part of a cart containment system;

[0013] Figure 2 A shopping cart having a navigation system and one or more smart wheels is shown;

[0014] Figure 3 Components of an embodiment of a cart containment system are shown;

[0015] Figure 4 Components of an embodiment of a smart positioning system are shown;

[0016] Figure 5 A state transition diagram illustrating an embodiment of a dead reckoning system working in conjunction with a smart locking wheel;

[0017] Fig. 6A and Figure 6B is an update cycle flow chart of an embodiment of a dead reckoning system with a rotation-sensing smart wheel;

[0018] Figure 7 A dead reckoning scenario is shown;

[0019] Figure 8 shows an example graph of acceleration versus time measured on a shopping cart;

[0020] Fig. 9 It shows a Figure 8 Example wheel rotation rate versus time measured for the same conditions shown;

[0021] Fig. 10A Shows Fig. 9 The power spectral density versus frequency of the data shown in;

[0022] Fig. 10B The same power spectral density versus different ranges of frequency data are shown;

[0023] Fig.11A and Fig. 11B shows the vertical acceleration versus time measured on a shopping cart rolling on a concrete surface;

[0024] Fig. 12A An example method for dead position estimation using a dead reckoning system is shown;

[0025] Fig. 12B An example method for position estimation using a dead reckoning system is shown;

[0026] Fig.13 A scenario of dead reckoning aided by received signal strength indicator (RSSI) is shown;

[0027] Fig.14 An example of a floor plan of a shopping cart containment system installation is shown;

[0028] Fig.15A and Fig. 15B Components of two examples of dead reckoning systems are shown;

[0029] Fig.16A An embodiment of a shopping cart with a smart positioning system having a display mounted on the handle of the cart is shown. In this figure, the cart has a child seat in a closed position (child seat upward);

[0030] Fig. 16B Shows Fig.16A A shopping cart with a child seat in an open position (child seat facing downward);

[0031] Fig.17 shows a side view of an embodiment of a smart positioning system;

[0032] Fig.18 A shopping cart with four universal wheels is shown in different directions of motion;

[0033] Fig.19 An example system for a cart navigating outdoors using lighting features is shown;

[0034] Fig. 20 An example system for a shopping cart that uses (at least in part) lighting features to navigate indoors is shown;

[0035] Fig.21A shows an example output of time domain triaxial acceleration of an unloaded steel frame shopping cart;

[0036] Fig. 21B Example output showing time domain tri-axial acceleration of a loaded steel frame shopping cart;

[0037] Fig. 22 shows an example scenario of dead reckoning in a store, where the navigation system uses backtracking to improve the position estimate;

[0038] Fig.23 An example of a system in which multiple navigation systems work in concert is shown;

[0039] Fig.24 is a graph depicting examples of raw magnetic field measurements (in μT) for the horizontal x and y axes of a Kionix KMX62 three-axis magnetometer operating at multiple temperatures from -15°C to 50°C. The ellipses represent fits to the raw magnetic data read from the sensor;

[0040] Fig.25 Two graphs are shown showing the x-axis and y-axis offsets (in μT) versus temperature for three different Kionix KMX62 magnetometers, respectively;

[0041] Fig.26A and Fig.26B An example of a magnetic sensor package utilizing temperature calibration of two magnetometers is shown;

[0042] Fig. 27 Components of an example architecture for a smart positioning system including a temperature calibrated dual magnetometer sensor are shown;

[0043] Fig.28 is a flow chart illustrating an example method for providing temperature-calibrated magnetic sensor readings from a dual magnetometer sensor;

[0044] Fig.29 is a block diagram of an example of a dual magnetometer sensor with dynamic sampling rate.

[0045] Reference numerals may be reused throughout the drawings to indicate corresponding relationships between reference elements.The drawings are provided to illustrate example embodiments described herein and are not intended to limit the scope of the present disclosure. DETAILED DESCRIPTION

[0046] I. Overview

[0047] It is often desirable to track the location of an object as it moves throughout a tracking area. For example, a facility such as a retail store, hospital, airport, or warehouse may wish to monitor the location of objects such as vehicles, carts, conveyances, vehicles, and the like. For example, the facility can use object location information to track inventory movement, improve access and retrieval of objects, identify gathering, queuing, or traffic patterns, and / or prevent the misplacement, loss, or theft of objects. In one example, a retail store may wish to track the location of a shopping cart to prevent the cart from being removed or stolen from a bounded area such as a parking lot, or to ensure that a shopping cart has passed through a checkout lane before exiting the store. In another example, a facility may wish to measure the location of various landmarks to map the architectural structure of a building by using a wheeled object.

[0048] It may be desirable to estimate the motion trajectory and / or current position of a wheeled object via dead reckoning (DR), for example, by integrating the estimated heading and longitudinal travel (e.g., distance or speed) of the object over time. In some cases, it may be desirable to estimate the longitudinal travel by directly counting the rotations of the wheels (e.g., with a Hall effect sensor, a rotary encoder, or an ultrasonic tuning fork, where the associated sensor can be connected to a processing node that performs the dead reckoning calculations in a power-efficient and / or low-latency manner). In some cases, it may be desirable to estimate the longitudinal travel by other techniques. The wheeled object may be a non-motorized (e.g., human-propelled) wheeled object, including, but not limited to, a cart (e.g., a shopping cart, a warehouse cart, a luggage or baggage cart, an industrial or utility cart, a pharmacy or hospital cart, etc.), a wheelchair, a hospital bed, a stroller, a walker, etc.

[0049] Thus, various embodiments of the systems and methods described herein provide estimates of the motion of a wheeled object by dead reckoning. Some embodiments are capable of estimating the velocity of a wheeled object by remote rotation detection or acceleration sensing, in some cases in conjunction with analysis of the vibration spectrum of the wheeled object moving over a surface (e.g., a floor, a parking lot, etc.). Some embodiments are capable of estimating the velocity of a wheeled object by a low power mechanism of counting wheel rotations, such as by an ultrasonic tuning fork in the wheel. Some embodiments are capable of estimating the current position of a wheeled object by low power RF techniques. Such embodiments may find particular application to enclose shopping carts in a retail environment, but are not limited to such applications.

[0050] Various example embodiments and implementations are described below. These embodiments and implementations are intended to illustrate the scope of the present disclosure and are not intended to be limiting.

[0051] II. Example scenario

[0052] An example implementation of dead reckoning navigation for the shopping cart containment problem can be found in U.S. Pat. No. 8,046,160 (Navigation System and Method for Wheeled Objects), the entire disclosure of which is incorporated herein by reference in its entirety. Other examples of systems and methods for motion estimation of wheeled vehicles are described in U.S. Pat. No. 9,731,744 (Motion Estimation of Wheeled Vehicles), the entire disclosure of which is incorporated herein by reference in its entirety.

[0053] For illustrative purposes, reference will be made to Figure 1 A sample scenario is presented in which embodiments of the navigation systems and methods disclosed herein may be used. Such sample scenario is intended to aid in understanding the embodiments and is not intended to limit the scope of the disclosed and claimed invention.

[0054] exist Figure 1In the sample scenario shown in FIG. 1 , a retail store 110 uses a navigation system as part of a loss prevention system to reduce theft of shopping carts 122 from a tracking area 114. The tracking area 114 may include, for example, a portion of a parking lot adjacent to the store 110. The purpose of the loss prevention system is to prevent or at least reduce the unauthorized transportation of the carts 122 beyond the boundary (or perimeter) 118 of the parking lot 114. In one embodiment of the loss prevention system, each cart 122 may include an anti-theft system including, for example, an alarm or a mechanism to inhibit movement of the cart 122. The movement of the cart can be inhibited by providing at least one wheel of the cart 122 with a braking mechanism configured to brake or lock the wheel, such as the braking mechanism disclosed in U.S. Pat. No. 6,945,366, issued Sep. 20, 2005, entitled “ANTI-THEFT VEHICLE SYSTEM,” the entire disclosure of which is incorporated herein by reference in its entirety. In other embodiments, cart movement can be inhibited by other wheel brakes, wheel locks, or wheel rotation inhibitors.

[0055] To prevent loss, if the cart 122 is moved across the parking lot boundary 118, the anti-theft system is activated (e.g., triggering an alarm and / or brakes). In some loss prevention systems, if the cart 122 detects a signal from an external transmitter placed near the parking lot boundary 118, the anti-theft system is activated. For example, the signal can be a very low frequency (VLF) electromagnetic signal transmitted from wires buried at the boundary 118, such as described in U.S. Pat. No. 6,127,927, issued Oct. 03, 2000, entitled "ANTI-THEFTVEHICLE SYSTEM," the entire disclosure of which is incorporated herein by reference in its entirety. Such loss prevention systems require the installation of external components (e.g., buried wires).

[0056] The navigation system disclosed herein can be advantageously used in conjunction with a loss prevention system because the navigation system can autonomously determine the location of the cart 122. If the navigation system determines that the location of the cart 122 is outside the parking lot boundary 118, the anti-theft system can be activated. In one embodiment, the navigation system begins monitoring the cart location when the cart 122 leaves the store exit 126. The initial cart location is set to the location of the exit, and the navigation system updates its location as the cart 122 moves in the parking lot 114. In some embodiments, the navigation system is provided with the location of the parking lot boundary 118, for example, as a set of coordinates. By comparing the current location of the cart 122 with the location of the boundary 118, the system can determine whether the cart 122 is within the parking lot 114. If the navigation system determines that the cart 122 moves across the boundary 118, the navigation system can activate the anti-theft system of the cart. In various embodiments, the navigation system can include features of the anti-theft system, and vice versa. Many combinations of navigation, anti-theft, wheel locking, etc. functions are contemplated, and various systems may choose to embody some or all of these functions in different combinations.

[0057] In other embodiments, the navigation system communicates the location of the cart 122 or other information to the central processor or controller 138, which determines whether the cart 122 has left the parking lot 114 and whether the anti-theft system should be activated. In certain embodiments, the cart 122 includes a two-way communication system that enables appropriate information to be communicated between the cart 122 and the central controller 138 (or other appropriate transceiver). U.S. Patent No. 8,463,540 (Two-Way Communication System for Tracking Locations and Statuses of Wheeled Vehicles) further discusses two-way communication systems suitable for use with the navigation system, the entire disclosure of which is incorporated herein by reference in its entirety.

[0058] The retail store 110 can advantageously use other devices and components in this sample scenario. For example, one or more markers 130a-130c can be arranged at various locations throughout the parking lot 114 to serve as reference locations, landmarks, or beacons. The markers 130a-130c can mark or indicate, for example, the location of the store exit 126 (e.g., marker 130a), the perimeter of the parking lot 114 (e.g., marker 130c), and / or other appropriate reference locations (e.g., marker 130b). In various embodiments, the markers 130a-130c convey information to the navigation system by, for example, magnetic methods or other electromagnetic methods. The navigation system can use the information from the markers 130a-130c to reset the location of the cart (e.g., to reduce the accumulated dead reckoning error), determine that the parking lot boundary 118 is nearby, or for other purposes. In some embodiments, one or more markers (e.g., marker 130c) can be arranged near the location of the entrance / exit 142 of the parking lot 114.

[0059] In some embodiments, the markers 130a-130c are configured to indicate a reference direction or other information. For example, the marker 130a can be placed at the exit 126 and oriented so that its reference direction points outward, toward the parking lot 114. The navigation system can detect the reference direction and determine whether the cart is entering or leaving the store 110. Similarly, the marker 130c can indicate an outward direction at the perimeter of the parking lot 114. In some embodiments, some or all of the markers 130a-130c can be configured to convey other types of information to the navigation system as discussed further below.

[0060] In one embodiment, one or more transmitters 134 are arranged throughout the parking lot 114 and are configured to transmit information to the navigation system in the cart 122. In an embodiment, the transmitters 134 also receive information (e.g., they are transceivers). In various embodiments, the markers 130a-130c (e.g., the transmitters 134 and / or the access points 136) communicate with the cart 122 via a one-way (to or from the cart) or two-way (to and from the cart) communication protocol. For example, the markers 130, the transmitters 134, and / or the access points 136 can be configured to use electromagnetic signals to communicate with the cart 122. These signals can include magnetic signals and / or radio frequency (RF) signals or VLF signals. As used herein, RF signals include electromagnetic signals with frequencies below about 300 GHz, and VLF signals include RF signals with frequencies below about 20 kHz.

[0061] In other embodiments, one or more access points (APs) 136 are used to create a two-way communication link with the cart 122. Figure 1, access point 136 is shown as being placed above exit 126 of store 110, which advantageously allows the AP to communicate with carts 122 located throughout parking lot 114. In other embodiments, more than one AP can be used, and APs can be located throughout the tracking area. Access point 136 can communicate with a transceiver (e.g., an RF transceiver) in cart 122, which is connected to the navigation system (and / or other components) for retrieving, exchanging, and / or generating cart status information, including information indicating or reflecting the location of the cart. The types of cart status information that can be retrieved and monitored include, for example, whether the anti-theft system has been activated (e.g., whether the wheel brakes are locked or unlocked); whether the cart 122 is moving and in which direction; the average speed of the wheels; whether the cart 122 has detected a particular type of location-related signal, such as a VLF signal, an electronic theft surveillance system (EAS) signal, an RF signal, or a magnetic signal; whether the cart is slipping; the power level of the cart; and the number of lock / unlock cycles experienced by the cart per unit time. Access point 136 can also exchange information with the navigation system regarding the location of perimeter 118. In some embodiments, cart 122 uses a received signal strength indicator (RSSI) to measure the strength of the signal received from access point 136 to help determine the distance from cart 122 to access point 136 and whether the cart is moving toward or away from store 110. In other embodiments, access point 136 uses RSSI to measure the strength of the signal received from cart 122 to determine the location and movement of cart 122.

[0062] The store 110 may use the navigation system for purposes other than or in addition to loss prevention. In some embodiments, the retail store 110 may wish to collect information related to the location and paths taken by the carts 122. For example, the retail store may wish to determine where a customer left a cart 122 in the parking lot 114 in order to improve cart retrieval operations. In other embodiments, the navigation system can communicate with other devices, such as a mechanized cart retrieval unit.

[0063] Although the sample scenario has been described with reference to a loss prevention system for a shopping cart 122 in a parking lot 114 outside a retail store 110, in some embodiments, the navigation system is configured to determine the location of the cart 122 within the store 110. For example, the system can be used to determine whether the cart 122 has passed through a checkout lane or whether the cart 122 has passed through a selected aisle. In addition, the navigation system can be used to track the location of the carts in order to collect information about the accumulation or queuing of the carts at certain locations inside or outside the store 110. There are many possible uses for the navigation system, and the discussion of the sample scenario herein is not intended to be limiting.

[0064] In some embodiments, the navigation system is disposed in or on the cart 122, while in other embodiments, some of the functions of the navigation system are performed by components (e.g., central controller 138) remote from the cart 122. In an embodiment, the navigation system is sized to fit within a wheel of the cart 122, a frame of the cart, or a handle of the cart. In some such embodiments, the wheel is a shopping cart wheel (front or rear). In some embodiments, the diameter of the wheel is about five inches, while in other embodiments, the diameter of the cart is less than about five inches or greater than about five inches. In other embodiments, portions of the navigation system can be disposed in one (or more) of the wheels of the object, while other portions can be disposed in other locations of the cart 122, for example, in a wheel assembly (e.g., a universal wheel or tuning fork) that attaches the wheel to the cart 122, or in other locations in or on the cart 122 (e.g., in the handlebar or frame).

[0065] The navigation system can be powered by a variety of power sources. For example, the navigation system can use an electrochemical power source (e.g., a disposable battery or a rechargeable battery), a photovoltaic power source (e.g., a solar cell), a fuel cell, a mechanical power source, or any other suitable source. In some embodiments, the navigation system is powered by a generator that stores part of the rotational kinetic energy of the wheel as electrical energy, such as a wheel generator disclosed in U.S. Pat. No. 8,820,447 (Power Generation Systems and Methods for Wheeled Objects), the entire disclosure of which is incorporated herein by reference in its entirety.

[0066] The power source may be integral to the navigation system or remote from the navigation system. For example, in embodiments where the system is disposed in the wheel, the power source may be disposed in the wheel and / or in or elsewhere on the cart 122 (e.g., in the wheel assembly, handlebars, or frame). In some embodiments, such as those that facilitate a loss prevention system, the navigation system is activated only when the cart 122 has left the store 110 to avoid power loss while the cart 122 is within the store 110, where the cart is less likely to be stolen.

[0067] Embodiments of the navigation system and method may be used in other environments and contexts, such as warehouses, industrial plants, office buildings, airports, hospitals, or other facilities. Additionally, embodiments of the navigation system and method are not limited to use with shopping carts, but are intended for use with any other movable object, particularly with any other wheeled object. Many variations of the sample scenarios discussed above are possible without departing from the scope of the principles disclosed herein.

[0068] III. Dead Reckoning System

[0069] a. Basic Concepts of Dead Reckoning

[0070] A dead reckoning system can provide an estimate of the current position of an object using information of the starting position, direction or heading as a function of time, and travel speed or distance traveled as a function of time. This is further described in US Pat. No. 8,046,160, which is incorporated by reference.

[0071] Figure 7 A simple dead reckoning scenario map 700 is shown. An object starts at position 705 and walks at a 45° angle (0° points to the north, and angle measurements increase clockwise) and 1.4 m / s, arriving at position 710 one second later. The object then walks at a 120° angle and 1 m / s, arriving at position 715 one second later. Finally, the object walks at a 15° angle and 1 m / s, arriving at position 720 one second later. Dead reckoning can calculate the current position (e.g., 720) from an initial position by integrating (in the continuous time domain) or summing (in the discrete time domain) the velocity (e.g., direction and speed) starting from the initial position (e.g., 705).

[0072] For example, dead reckoning can be performed using data provided by a magnetometer and a wheel rotation counter attached to a wheeled mobile object. The magnetometer provides data about heading or direction. The rotation counter provides data from which speed can be derived. The instantaneous heading of a wheeled object can be obtained via a two-axis or three-axis magnetometer along the known vector components of the geomagnetic field at the location of the object. The magnetometer can be mounted on the body of the object to be tracked and act as a compass. An accelerometer can be used to adjust for uneven surfaces on which the wheeled object is walking. The magnetometer can include an embodiment of the temperature calibrated dual magnetometer sensor 2600 described below in Section VIII.

[0073] The longitudinal velocity of a wheeled object can be estimated by measuring the rotation rate of one or more of the wheels. The velocity can be calculated as the rotation rate (e.g., the angular velocity of the wheel rotating per unit time) multiplied by the circumference of the wheel. A variety of techniques for measuring incremental rotation of a wheel or axle can be used, such as Hall effect sensors and shaft angle encoders. Such techniques are described in U.S. Pat. No. 8,046,160, incorporated by reference.

[0074] A. Sample Shopping Cart

[0075] Figure 2Features of an example shopping cart 205 having features according to the present disclosure are shown. The shopping cart 205 includes a smart positioning system 210 mounted on a handle, one or more anti-theft wheels 215 (which can brake, lock or inhibit the rotation of the wheel), and one or more optional ultrasonic vibration enhanced wheels 220. One or more anti-theft wheels 215 can be smart locking wheels, such as wheels that have sensors, communication systems and / or processors in addition to a locking mechanism. The functions of the navigation system and the anti-theft system can be distributed between the smart positioning system 210 and the smart locking wheel 215. For example, one or both of the smart positioning system 210 and the smart locking wheel 215 can have exit / entry event detection capabilities; the anti-theft function of wheel locking can be located in the smart locking wheel 215, and the anti-theft function of user warning can be located in the smart positioning system 210. These components are described below. Figure 2 Also shown is a coordinate system 230 that can be used for navigation calculations, where the x-axis is in the forward direction of cart motion, the y-axis is perpendicular to the x-axis and in the horizontal direction, and the z-axis points vertically upward.

[0076] In this disclosure, the term "user" refers to an individual who is using a particular cart at a particular time. The term "customer" refers to an organization and appropriately authorized individuals therein who can own a particular installation of a shopping cart containment system and can determine the policies implemented by a particular installation of a shopping cart containment system. For example, a customer can be a retail store that requires a navigation and shopping cart containment system, and a user can be a customer shopping at a retail store or a store employee retrieving a shopping cart (e.g., from a parking lot).

[0077] B. Example Smart Positioning System / Smart Locking Wheel Implementation

[0078] Figure 3 An example cart (e.g., shopping cart) tracking system component set 300 is shown. The example component set includes the following components: (1) smart positioning system 210; (2) smart locking wheel 215; (3) fixed features 385 associated with store exits and / or entrances; (4) system configuration and control device 390; (5) RF beacon or RF feature 395.

[0079] The smart positioning system 210 includes (1) a sensor element 315 for determining the heading and speed of the cart (e.g., a magnetometer and / or accelerometer), and optionally the temperature of the system (e.g., a temperature sensor); (2) an optional sensor 320 that provides data from which the wheel rotation rate can be inferred (e.g., the sensor does not need to be close to the wheel); for example, a vibration sensor; (3) a processor and memory 325; (4) a communication system 330 that communicates (e.g., via an RF link) with the smart locking wheel 315, the system configuration and control device 390, and / or the RF beacon or other RF feature 395; (5) an optional detector 310 that is configured to determine that the cart is passing through an exit / entrance of a store (exit / entry event), and in some embodiments, whether the movement is exiting the store or entering the store. In some embodiments, the circuit system in the wheel performs the actual detection function; the smart positioning system communicates with the detection circuit system in the wheel to obtain the exit / entry information. Certain embodiments may use detector 360 as a primary detector and detector 310 as a secondary detector; (6) an indicator 335 (e.g., visual and / or audible) that provides a notification to the user that the cart is in a warning zone and / or is about to lock. The indicator may include a display configured to output text or images (e.g., outputting a warning to the user that the containment boundary is nearby and the wheels will lock if the wheeled object moves outside the containment boundary). The indicator may include a light (e.g., a light emitting diode (LED)) that illuminates or flashes as a notification to the user. The indicator may include an audible alarm or notification. In some embodiments, the indicator includes a speech synthesizer that is capable of outputting a human-understandable message such as "The cart is approaching the boundary and is about to lock." In some such embodiments, the customer and / or user is able to select the characteristics of the synthesized voice (e.g., the language of the synthesized voice (e.g., English, Spanish, German, French, Chinese, etc.), the gender of the voice speaker (male or female), the age of the speaker (e.g., youth, young adult, adult, elderly)). The speech synthesizer can include one or more speech types (e.g., speech with different pitches, tones, ranges, timbres, etc.) for each of these features. The indicator can provide a selection interface (e.g., a drop-down menu, a selection box, etc.) through which the customer and / or user can select (or hear) a sample of the desired speech. The indicator can include a speaker for outputting an audible notification. The smart positioning system 210 can also include a light detector 333 for detecting ambient light characteristics for navigation purposes, or a vertical position detector 337 (e.g., a pressure sensor) for determining which level of the multi-layer structure the smart positioning system is located. The functions of these components will be further described below.

[0080] The smart locking wheel 215 includes (1) a locking mechanism (e.g., a brake) 380, which is configured to inhibit rotation of the wheel when the locking mechanism is activated; (2) a wheel rotation detector 375, such as a tuning fork and a striker (e.g., a part that strikes the tuning fork as the wheel rotates); (3) a processor and memory 370; (4) a communication system 365, which is configured to communicate with the smart positioning system 210, a system configuration and control device 390 and / or an RF beacon or other RF feature 395; (5) an optional detector 360, which is configured to detect exit / entry events and, in some embodiments, detect whether the movement is leaving a store or entering a store; and (6) an optional heading / universal wheel angle detector 383, which is configured to detect the heading of the (universal) wheel.

[0081] Fixed features 385 can be associated with the exits and entrances of a store. The proximity of these features can be detected by a detector in a smart positioning system or smart locking wheel. The fixed features can be used to provide an accurate reference position to the smart positioning system (e.g., to reset any accumulated dead reckoning position errors).

[0082] The system configuration and control device 390 can perform housekeeping tasks such as configuration and control. The device 390 can communicate with the communication system 330 in the smart positioning system and / or the communication system 365 in the smart locking wheel. The system configuration and control device 390 can be a central processor or controller 138.

[0083] An RF beacon or other RF feature 395 can transmit an RF signal for entry / exit detection and / or precise location determination.

[0084] Embodiments may be implemented with more or fewer features / components than those described above. Also, embodiments may be implemented with different configurations than those described above, for example, the rotation detector may be implemented in one of the smart positioning system and the smart locking wheel, and the RF beacon may communicate with one of the communication systems 330 and 365 instead of both. In addition, Figure 3 The functionality of the components in the drawings can be combined, rearranged, separated or configured differently than shown.

[0085] The smart positioning system can be arranged at one or more positions in the wheeled object. For example, some or all of the smart positioning systems can be arranged in the handles, frames, casters, wheels, etc. of the cart. The smart positioning system described herein can be used in applications other than cart containment. For example, the system can be used to estimate the position, path, or speed of a wheeled object. Moreover, in cart containment applications, the cart can include one or more wheels configured to prohibit the movement of the cart when activated, such as by including wheel brakes. For example, when the brake is activated, the wheel can be locked or prevented from rotating. U.S. Patents US 8,046,160, US 8,558,698, and US 8,820,447 describe examples of cart wheels that can prohibit the movement of the cart, and the entire disclosures of all these patents are incorporated herein by reference in their entirety.

[0086] Figure 4 An example architecture 400 for a navigation system is shown, which includes sensors and processing elements used to perform dead reckoning and / or precise positioning. This architecture can represent a smart positioning system 210 and a smart locking wheel 215.

[0087] Processor / memory unit 425 provides processing and data storage functions for the system. The memory can include non-volatile and / or volatile memory devices. For example, non-volatile memory can be used to store program instructions, program data, and / or state variables that are retained when power is off. Processor / memory 425 can be generally similar to reference 1. Figure 3 Processor / memory 325 is described.

[0088] The heading sensor 405 can include a three-axis magnetometer. The heading sensor can additionally include a gyroscope. In some embodiments, the three-axis magnetometer function can be provided by a separate two-axis magnetometer (e.g., for the horizontal component of the local magnetic field) and a single-axis magnetometer (e.g., for the vertical component of the local magnetic field). In some embodiments, a two-axis magnetometer can be used, which may have lower accuracy than an embodiment using a three-axis magnetometer. The heading sensor 405 can include an embodiment of the dual magnetometer sensor 2600 described below in Chapter VIII.

[0089] Accelerometer 410 can be of various technologies, such as micro-electromechanical systems (MEMS) accelerometers, piezoelectric accelerometers, etc. Some embodiments may use a three-axis accelerometer; while some other embodiments may use a two-axis or single-axis accelerometer, such as when a wheeled object is externally constrained to a horizontal surface.

[0090] The vibration sensor 415 can include any suitable vibration sensor such as that described in US Pat. No. 8,558,698, incorporated by reference, a tamper switch, a motion switch, an acceleration switch, etc. In some embodiments, the vibration sensing function is performed by the accelerometer 410 and the vibration sensor 415 is not a separate component.

[0091] The rotation detection component 420 can provide data from which the wheel rotation rate can be derived. Figure 3 As described, this component can be located in the smart positioning system 210 and / or the smart locking wheel 215. In embodiments where the rotation detection component 420 is in the smart locking wheel (e.g., 420 is mapped to 375), the processor 325 in the smart positioning system can communicate with the rotation detection component 375 via the communication systems 330 and 365 and the processor 370. An example of a rotation detector is a vibration sensor as described above in the description of the remote wheel rotation sensor 320.

[0092] In some embodiments, the rotation detection component 420 can utilize other technologies. For example, the rotation detection wheel can include electronic / non-electronic components in its non-rotating / rotating part respectively. One such embodiment can have a rotation detection wheel including a Hall effect sensor in its non-rotating part and a magnet in its rotating part. The processor 425 can be configured to send a detection threshold and / or a duty cycle as a parameter to the rotation detection Hall effect sensor 420. In some embodiments, the parameter can include an effective range of the speed of the wheel. The rotation detection component 420 can filter the result based on this range before sending the measurement result to the processor 425. This can advantageously reduce the power consumption of the entire system. In some embodiments, the rotation detection component 420 may not require any parameters from the processor 425. In some embodiments, the rotation detection component 420 includes a tuning fork and a striker.

[0093] The motion detection sensor 450 can detect the motion or movement of the object to which it is attached, such as a wheeled object. Motion detection can be used to wake up the smart positioning system from a low power (e.g., sleep) state. This can help maintain the energy consumption of the smart positioning system.

[0094] The precise position / dead reckoning reset interface 435 can receive a precise position fix input. Such input can be any external stimulus, such as an RF beacon 395, an entry / exit fixed feature 385, etc., which can be used to significantly reduce the error in the estimated position of the cart. Upon receiving the precise position fix input, the interface 435 can reset the position of the wheeled object according to the position in the input. This can clear any errors that may have accumulated in the position estimate through dead reckoning. Alternatively or additionally, the precise position interface 435 can provide a position estimate through techniques other than dead reckoning or in combination with dead reckoning, such as radius positioning, hyperbolic positioning, RSSI-assisted dead reckoning, etc.

[0095] In some embodiments, a reference point (e.g., at coordinates such as Fig.14 and discussed in the section entitled "Example Installation and Calibration" below) can be pre-loaded in the smart positioning system, such as in a site configuration file. In some embodiments, the reference points and the smart positioning system are time synchronized. In some embodiments, the precise position fix input can distinguish between on-demand reference points and fixed reference points.

[0096] The on-demand reference point can transmit, for example, a beacon signal in response to a request from the smart positioning system. The smart positioning system can transmit a position fix request to the on-demand reference point to obtain a position fix, for example, for resetting the accumulated error by dead reckoning. The smart positioning system can be configured to request an accurate position fix from the on-demand reference point as needed. This can reduce the energy consumption of the on-demand reference point and / or the smart positioning system related to accurate position fix, and can be beneficial for installation when one or both of the two units are energy-constrained. The reference point can be configured to receive position fix requests only during certain time intervals. The smart positioning system can be configured to send requests during time intervals when the reference point can receive requests when needed. The site profile can include the location of the reference point, the listening time interval, and the power type (e.g., line power or battery power). The smart positioning system can incorporate this information in its decision to send an accurate position fix request, for example, with a higher / lower threshold for dead reckoning estimation error for requests to battery-powered / line-powered reference points, respectively. To reduce the possibility of collisions between position fix requests from more than one smart positioning system, the smart positioning system can implement a collision avoidance / backoff protocol, such as pseudo-random backoff, exponential backoff.

[0097] Fixed reference points can broadcast their locations periodically. The smart positioning system can derive the broadcast times, for example, from a venue configuration file downloaded and stored in its memory. The smart positioning system can activate its precise positioning components only at the broadcast times. This can reduce the energy consumption incurred by the smart positioning system to receive precise position fix inputs.

[0098] Examples of precise position fix inputs include radio frequency (RF) beacons at known locations and GNSS receivers integrated with the cart (eg, in a smart positioning system).

[0099] The user notification interface 440 can provide information, messages and / or warnings to the user of the smart positioning system, etc. The user notification interface 440 can include audio components such as buzzers, audio amplifiers, etc., and / or visual components such as LED displays, LCD displays, etc.

[0100] Configuration / status interface 445 can provide configuration information and / or status information to maintenance personnel and / or repair personnel. In some embodiments, configuration / status interface 445 can share hardware components with user notification interface 440. In some embodiments, configuration / status interface 445 can be implemented remotely, for example, on system configuration and control device 390.

[0101] The power supply 430 supplies power to the smart positioning system. The power supply 430 can include, for example, one or more batteries.

[0102] The functions shown separately in the example architecture do not necessarily correspond to separate hardware components in an implementation; for example, the vibration sensing 415 function and the motion detection 450 function may be performed by a single hardware component, or either function may be performed by the accelerometer 410 .

[0103] C. Example Dead Reckoning System / Locked Smart Wheel Operation

[0104] Figure 5 A state diagram 500 of the dead reckoning system logic and a state diagram 560 of the smart locking wheel logic in an embodiment of a shopping cart containment system are shown. The dead reckoning system can be an example of a smart positioning system that uses dead reckoning as the primary technique for position estimation. Figure 5 In the example, dashed arrows represent transitions initiated by other units (e.g., a state transition in the dead reckoning system initiated by the smart locking wheel, or vice versa). Solid arrows represent transitions initiated within each unit itself.

[0105] For illustration purposes, state transition diagrams 500 and 560 do not cover indoor navigation: the dead reckoning navigation process starts when the cart leaves the store and stops when the cart re-enters the store. Embodiments according to the present disclosure can have an indoor navigation mode (e.g., see the section entitled "Indoor Mode" below). Such embodiments can have different state transition diagrams.

[0106] The state diagram 500 of the dead reckoning system begins at state 505, where the shopping cart is indoors and the dead reckoning system is in an inactive mode. For purposes of illustration, and not limitation, state 505 is selected as the initial state. An implementation of the dead reckoning system can work through the state diagram from another operational state. A sensor for exit / entrance / limit line detection, such as sensor 310, can monitor for the presence of an exit marker. Until the sensor detects the exit marker, the dead reckoning system can remain in state 505. After the sensor detects the exit marker, the dead reckoning system can transition to state 510.

[0107] The exit marker can be located at or near the exit of the building (e.g., in a door frame, on the threshold of a door, etc.). The exit marker can use a 2.4 GHz transmitter, a magnetic barcode, EAS, etc. Since the transmitter power of the exit marker may need to be high enough to enable the shopping cart to consistently and reliably detect the exit event, the transmission from the exit marker can sometimes be received farther inside the building (e.g., a store) than is required for detecting the exit event. This high power level can cause the exit detector 310 and / or 360 to sometimes detect the exit marker while the cart is still inside the store (e.g., a customer picks up merchandise along the store front). In state 510, the navigation system can analyze or learn the RSSI of the marker over time to reduce the possibility of false positive detections. For example, one embodiment can associate an increasing level of RSSI, followed by a decreasing level of RSSI (a peak in between may indicate a close distance to the exit marker) with a simultaneous change in a vibration signature (e.g., from vibrations on a smooth indoor floor to vibrations on concrete, indicating an exit event). A positive correlation can increase the confidence of a true positive detection of an exit event. If no RSSI peak is found, the logic transitions back to state 505. If an RSSI peak is found, the logic transitions to state 515.

[0108] The logic can also enter state 515 directly from state 505 via two mechanisms. First, accurate exit detection by the dead reckoning system can cause the logic to transition directly from state 505 to state 515 (represented by a solid line). As described herein, the dead reckoning system can include features such as beacon detection that can be used to detect exit events. Second, a wake-up signal from a smart wheel can cause the logic to transition directly from state 505 to state 515 (represented by a dashed line). The arrangement of a single in-store cart tracking system can use one or more technologies for entry / exit markers, such as 2.4 GHz transmitters, 8 kHz transmitters, magnetic barcodes, etc. Thus, an exit / entry event can be detected by either the smart wheel or the dead reckoning system, which can notify the counterpart of the event it detected.

[0109] In state 515, the dead reckoning system begins a dead reckoning navigation mode. The system can synchronize its state with the smart wheel and transition to state 520. In an embodiment, when the cart is not in the dead reckoning navigation mode, the smart wheel and the dead reckoning system can have periodic two-way communication for housekeeping purposes. The period of such communication is a tradeoff between latency and power consumption, and can be, for example, 1 to 2 seconds, such as 1.8 seconds. When the cart is in the dead reckoning navigation mode, the period of such communication can be reduced, such as to less than 1 second. When the cart is in or near a warning zone and / or containment boundary, the period can be reduced, such as to at least its minimum operating value, such as less than 0.75 seconds or 0.5 seconds (or some other value). Outside of the store's operating hours, or if the shopping cart has been inactive for a long time (e.g., 30 minutes, 1 hour, etc.), the period can be increased, such as to several minutes or tens of minutes. At the start of the dead reckoning navigation mode, there may be a burst of communication between the smart wheel and the dead reckoning system for navigation purposes. This burst of communication enables the states of the two units to be synchronized.

[0110] At state 520, the system can receive rotation data from the smart wheel in a steady state of dead reckoning functionality. If wheel rotation data and / or acceleration data are available and reliable, the system can perform velocity estimation directly from these data (state 520). Additionally or alternatively, if wheel rotation data is not available or is unreliable, the system can perform wheel rotation rate or velocity estimation through data analysis (e.g., spectral analysis and / or acceleration data analysis) (state 540). Spectral analysis is described below.

[0111] If the dead reckoning system or smart wheel detects an entry event (e.g., a moving cart enters the store through an entrance), the logic can transition from state 520 back to state 505. If it is detected that the cart has entered the warning zone, the logic can transition to state 525. The system can announce a warning, such as through an audio output and / or visual output from the user warning component 335. If it is detected that the cart has left the warning zone to go to the store, the logic can terminate the warning and transition back to state 520. On the other hand, if it is detected that the cart has exceeded the containment boundary, the logic can transition to state 530. In state 530, the dead reckoning system can initiate a locking sequence for the smart wheel. When the smart wheel communicates to the system that the locking sequence has been completed, the logic can transition to state 535.

[0112] When moving the cart from the parking lot back to the store, sometimes no entry event may be detected and the system does not transition back to state 505 (DR inactive). This may be due to an error condition causing the cart to miss detecting a door marker. For example, the exit / entrance / limit line detectors 310 and 360 may not detect a marker at the store entrance / exit. In this case, the dead reckoning system may continue to be active while the cart is inside the store. This may be disadvantageous because the smart positioning system will continue to process dead reckoning navigation data, which consumes battery power and shortens the time when the battery needs to be charged or replaced. In addition, the cart may make multiple trips around the store (before exiting the parking lot), and the accumulated navigation errors within the store may cause the smart positioning system to erroneously infer that the cart is close to the locking perimeter. This may result in a false transition to the state 530, 535 where the smart wheel is locked inside the store, which may cause inconvenience to shoppers or store employees.

[0113] To reduce the possibility of inadvertent in-store operation, the store may include one or more RF beacons 395 arranged in the store. Fig.14(described further below) shows an RF beacon 1411 arranged in a store interior 1410 (e.g., toward the center of the store). The signal strength or directional antenna pattern of the RF beacon 1411 can be set so that the RF output of the beacon is at a level that is actually perceptible only within the store interior 1410 and not outside the store (e.g., in an adjacent store or parking lot) by the communication system 330, 365 of the smart positioning system 210 or smart locking wheel 215. If the smart positioning system detects a signal from the RF beacon 1411, the system logic can assume that the cart is actually inside the store (because the RF signal does not extend beyond the store boundaries) and the system state transitions from state 520 (steady state DR) to state 505 (DR system not activated), even if no entry event is detected. Thus, the RF beacon 1411 acts in some ways like a kill switch for turning off dead reckoning within the store. Because the RF signal strength or antenna pattern of the beacon can be adjusted to not exceed the store boundary, this kill switch behavior of the beacon 1411 will not inadvertently shut down dead reckoning outside the store (e.g., in the parking lot). In the locked state 535, if the system detects that the cart has been moved back into the containment boundary, such as by being towed back, the logic can transition to state 545. The logic can also transition from state 535 to state 545 upon receiving a retrieve command. The retrieve command can come from a handheld unit such as a CartKey remote controller (e.g., in the hands of a store employee), or from a CartManager electric retrieval unit, both of which can be obtained from Gatekeeper Systems (Irvine, CA). Either way, the retrieval signal can unlock the wheels and can keep the wheels unlocked for a certain period of time (e.g., a few seconds to a few minutes) after the retrieval signal stops, even if the cart may still be outside the containment boundary. The cart can continue to perform dead reckoning navigation when it is retrieved.

[0114] In state 545, the system can initiate an unlocking sequence of the smart wheel. When the smart wheel communicates to the system that the unlocking sequence has been completed, the logic can transition to state 520.

[0115] State diagram 560 may be applied to the smart locking wheel 215. For a cart with multiple smart locking wheels, one can be selected as the primary wheel. State diagram 500 may then be applied to the primary wheel. State diagram 560 begins at state 565, where the shopping cart is in indoor inactive mode. Similar to the description of state diagram 500 above, state 565 is selected as the initial state for illustration purposes, and not as a limitation.

[0116] In state 565, a sensor for exit / entrance / limit line detection, such as sensor 360, can monitor the presence of an exit marker. Until the sensor detects the exit marker, the smart locking wheel can remain in state 565. After the sensor detects the exit marker, the smart locking wheel can transition to state 570.

[0117] The above description of state 510 can apply to state 570, including the reasons for transitioning to and from that state. Embodiments may have sensors for exit / entrance / limit line detection in the dead reckoning system, the smart locking wheel, or both. Depending on the system configuration, such as the number and / or location of such sensors, state 510 or state 570 may be omitted from the various figures.

[0118] The logic can directly enter state 575 from state 565 via precise departure detection by the smart wheel. Figure 3 As described, the smart wheel can include features, such as beacon detection, that can be used to detect an exit event. Embodiments can have such features in the smart wheel and / or the dead reckoning system. Depending on the system configuration, such as the number and / or location of such features, the direct transition from state 565 to state 575 or the direct transition from state 505 to state 515 (solid line) can be omitted in the various figures. In state 575, the smart wheel can start the rotation counting function. For smart wheels that can detect an entry event (e.g., a smart wheel with sensor 360), once an entry event is detected, the logic can transition from state 575 back to state 565. If an entry event is not detected, or upon a synchronization request from the dead reckoning system (e.g., during a transition from state 515 to state 520), the smart wheel can synchronize its state with the dead reckoning system and transition to state 580.

[0119] The smart wheel may also transition directly from state 565 to state 580 upon receiving a command from the dead reckoning system to start counting rotations. Embodiments of the system may perform synchronization between the dead reckoning system and the smart wheel in conjunction with this command, such that the two units are synchronized at the start of state 580. The smart wheel may exit state 580 and return to state 565 upon receiving a command from the dead reckoning system to stop counting rotations.

[0120] Upon receiving a lock command from the dead reckoning system, the smart wheel can transition to state 585, where the locking mechanism of the smart wheel is used. Upon receiving an unlock command or a retrieve command from the dead reckoning system, the smart wheel can transition from state 585 back to state 580.

[0121] As described above, in some cases, the smart locking wheel may miss detection of an entry marker when the cart enters a store. To avoid dead reckoning within a store (e.g., which may reduce battery life or result in inadvertent locking of the wheel), the wheel's communication system 365 can detect the RF signal from the RF beacon 1411, and the wheel can transition to state 565 (indoor inactive) when located within the store.

[0122] D. Example Dead Reckoning System Processing

[0123] Fig. 6A and Figure 6B An example of a basic update loop is shown in the case where rotation in the wheel is reliably detected. The boxes on the left include the processes in a dead reckoning system; the boxes on the right include the processes in a rotation detecting smart wheel.

[0124] For purposes of illustration and not limitation, the loop begins at block 604. In block 604, the dead reckoning system and / or the smart wheel detects a departure event. In block 608, the dead reckoning system can determine a minimum possible distance and / or time to issue a warning. In block 612, the dead reckoning system can send a wheel rotation count and / or a timeout parameter to the smart wheel. The timeout parameter can be determined based at least in part on the minimum possible distance and / or time as determined in block 608. For example, if the minimum possible distance is smaller, the timeout period can be shorter, and vice versa. The timeout period may be selected to be a period that is still too short for the cart to cross the nearest containment boundary under the worst case conditions and / or assumptions.

[0125] In block 616, the dead reckoning system can accumulate magnetic data, acceleration data, and / or vibration data. A time series can be formed from the accumulated data, as represented in block 620. The time series can be processed by signal processing techniques to derive useful information. For example, the acceleration data can be used to estimate the frequency of wheel rotation, as described below in the section entitled "Longitudinal Velocity Estimation via Vibration Analysis".

[0126] In block 624, the dead reckoning system determines whether entry or re-entry into the store is detected. If so, the process returns to block 604 and repeats from there. If not, the process proceeds to block 628. In block 628, the dead reckoning system determines whether a precise position fix has been obtained, e.g. Figure 4 The precise location interface 435 in is received. If so, the process proceeds to block 644. Otherwise, the process proceeds to block 632.

[0127] In block 632, the dead reckoning system determines whether one or more features in the magnetic data, acceleration data, and / or vibration data are abnormal. If so, the dead reckoning system can proceed to perform spectral processing based on the specific anomaly detected, as shown in block 636. After completing the spectral processing, the flow can continue from the appropriate block, such as block 640 when wheel rotation data is used in the processing, or block 644 when wheel rotation data is not used. If not, the process proceeds to block 640, where the dead reckoning system can determine whether rotation data has been received from the smart wheel since the last cycle. If not, the process returns to block 616. Otherwise, the process proceeds to block 644.

[0128] For example, an anomalous magnetometer signature may be produced when the magnetometer is near a vehicle, such as a large sport utility vehicle. The vehicle can distort the magnetometer readings so that the vector magnitude of the readings deviates significantly from the expected geomagnetic field at that location. This deviation can produce an anomalous signature in the magnetometer data.

[0129] As another example, an abnormal signature may be produced by caster vibration (e.g., the caster rapidly swings back and forth). Normally, the wheel magnetometer may output a nominal caster angle related to the inverse tangent of the local magnetic north pole (Y-axis magnetic field, X-axis magnetic field), where the coordinate axes match those of the cart. Fig. 12A After the heading estimation process described in , the smart positioning system magnetometer can provide the cart's heading relative to the local magnetic north. Embodiments can process both the caster axis measurement and the cart heading through a bandpass filter with a passband of, for example, 0.5 Hz to 25 Hz, 0.1 Hz to 50 Hz. When caster vibration is present, the filtered caster axis residual sum of squares (RSS) value can be greater than three to seven (e.g., five) degrees per second and greater than 2.5 to 3.5 times (e.g., 3 times) the rate of change of the cart heading in the same period.

[0130] Special processing of caster vibration can include: 1) ignoring rotation data from the wheels for dead reckoning purposes; 2) using spectral analysis to estimate wheel rotation rates; 3) optionally applying a notch filter to the cart X-axis vibration data, where the center notch frequency can be located at or near the center frequency of the caster oscillations.

[0131] An example of the third anomaly occurs when the rotating indicator wheel has poor contact with the ground, e.g., the wheel is rotating at a fairly constant speed and quickly stops rotating due to friction in the bearings. In this case, the acceleration in the cart's X coordinate measured by the low-pass filtered accelerometer output can be less than the acceleration implied by the rotation count by a significant ratio, e.g., less than half, two-thirds, etc. For intervals between consecutive rotation detections within at least two rotation periods the indication exceeds 1 m / sec. 2 (=0.1 gee), embodiments may impose additional requirements. As an example, if the cart's X-axis acceleration (e.g., as measured by an accelerometer in a smart positioning system rotated to the cart reference frame) is indicated as being less than 1 m / sec when low-pass filtered at, for example, 3 to 5 Hz, 2 A much smaller number, such as less than 0.5 m / sec 2 , it can be inferred as an abnormal feature of poor wheel-to-ground contact. In addition, an embodiment can compare the sign of the acceleration reported by the accelerometer (e.g., negative means deceleration) to the wheel. If the signs are opposite, the embodiment can infer poor wheel-to-ground contact.

[0132] Special handling for poor wheel-to-ground contact can include: 1) ignoring rotation data from the wheel for dead reckoning purposes; 2) using spectral analysis to estimate wheel rotation rate; 3) monitoring the rotation data to determine if or when good ground contact has been restored. For example, the wheel acceleration / deceleration implied by the rotation interval is: a) of the same sign and within one-half the magnitude of the low-pass filtered cart X-axis acceleration as described above; or, b) less than 0.3 to 0.7 m / sec in magnitude for some programmed interval (e.g., five to ten seconds). 2 (For example, 0.5 m / sec 2 ).

[0133] In block 644, the dead reckoning system can update the estimated position, velocity, and / or other state variables. If the process enters block 644 directly from block 628, the position update can include resetting estimates of position and other state variables based at least in part on data from a precise position fix. If the process enters block 644 from blocks 640 or 636, the update of estimates of position and other state variables can include making estimates based entirely or in part on dead reckoning.

[0134] In block 648, the dead reckoning system determines whether the cart is within a warning distance of the cart containment boundary, e.g., within a warning zone. If not, the process returns to block 608. If yes, the dead reckoning system can proceed to block 652, where the system can initiate a lock sequence and / or a warning sequence, e.g., Figure 5 As shown in states 525 to 535.

[0135] like Fig. 6A As shown on the right, in block 664, the rotation detecting smart wheel can wait for the rotation count and / or timeout parameter from the dead reckoning system (sent at block 612). At block 668, the smart wheel can accumulate the time stamped rotations and / or validity indicators. The validity indicator indicates whether the rotation counts are valid, for example, if the measured data shows poor wheel-to-ground contact, the validity indicator indicates an invalid count, for example, via a low state. A time series can be formed from the accumulated rotation data, as represented in block 672.

[0136] In block 676, the smart wheel determines whether to set a locking field (e.g., to 1). When the cart has exceeded the containment boundary, a locking field can be set in the smart locking wheel. FIG. 6 depicts an embodiment in which the smart wheel can determine whether a condition for locking the cart is met. Figure 5 An alternative embodiment is described in which a dead reckoning system is capable of making such a determination. If so, the smart wheel is capable of communicating with the dead reckoning system, which in turn may initiate a locking sequence at block 652. Otherwise, the smart wheel process may proceed to block 680.

[0137] In block 680, the smart wheel can determine whether the accumulated timestamped rotations and / or validity indicators show evidence of chatter, jumping, etc. If so, the smart wheel can communicate with the dead reckoning system, which can in turn perform detection of abnormal features at block 632. If not, the smart wheel processing can proceed to block 684, where the smart wheel can determine whether a rotation count limit or timeout has been reached. This can help reduce the frequency of communications from the smart wheel to the dead reckoning system, thereby potentially reducing energy consumption. If a rotation count limit or timeout has been reached, the smart wheel can pre-process the rotation data and send the pre-processed data to the dead reckoning system. Pre-processing can help reduce the amount of data transmitted to the dead reckoning system, thereby potentially reducing energy consumption. For example, if RF communication is used, pre-processing can include data compression to reduce the energy cost of, for example, radio transmission. If the rotation count limit or timeout has not been reached, the process can return to block 668, where data accumulation continues.

[0138] In some embodiments, the wheel accumulates time-stamped rotation data in its local memory. Optional additional data such as magnetometer values ​​and / or accelerometer values ​​may also be captured to assess the reliability of the rotation values ​​(eg, to determine if the caster is vibrating).

[0139] As described above in connection with block 684, after a certain number of rotations have been detected or a given amount of time has passed, the smart wheel can send the accumulated data to the dead reckoning system. For example, the wheel may be electrically connected to the dead reckoning system, or may communicate with the dead reckoning system using wired or wireless techniques.

[0140] As the wheels are accumulating rotation data, the dead reckoning system accumulates raw magnetometer data, accelerometer data, and vibration data. Embodiments can be configured to collect only a subset of these types of data, or to collect another type of data, such as gyroscope data. Certain combinations of data types can advantageously improve the accuracy of the dead reckoning estimates. For example, as described below in the section entitled "Steady State Velocity Estimate Update Loop," the rotation data can be used to derive accelerometer offsets. As another example, wheel rotation data from both the front caster and rear axle wheels can be combined with magnetometer data for heading estimation.

[0141] In some embodiments, in steady-state dead reckoning navigation, the wheel accumulates rotation timestamps (e.g., the time offset from some reference time to the detection of the Nth rotation of the wheel, where N is an integer); the dead reckoning system accumulates data (e.g., magnetometer and accelerometer data) that can be processed to produce attitude and heading information.

[0142] IV. Dead Reckoning Method

[0143] Some shopping cart containment embodiments may have constraints that may make implementation of a practical solution challenging or impractical. Some of these constraints may also apply to other environments or applications. These constraints include: accuracy of wheel heading estimates; asymmetric energy constraints between the dead reckoning system and the smart wheel; lack of a feasible connection between the rotation sensor and the dead reckoning system. It is advantageous to minimize the impact of these constraints.

[0144] a. Reducing Errors in Heading Estimates

[0145] Several factors may make it difficult to obtain accurate heading from a magnetic sensor placed within a shopping cart wheel, such as the caster effect, 50 / 60 Hz coupling, and / or buried ferromagnetic objects.

[0146] The front wheels of a typical shopping cart are tilted backwards about a vertical axis. If the caster is turned away from vertical, the wheel can typically oscillate rapidly about the caster axis, e.g., at a frequency of about 0.5 Hz to less than 10 Hz. The oscillation can be quasi-periodic, but not completely so. If a low-pass filter is used to suppress the effects of the caster oscillations on the heading estimate, the cutoff frequency of the low-pass filter will be less than 0.5 Hz, much lower than the cutoff frequency of several Hz as described in U.S. Pat. No. 8,046,160. Therefore, the responsiveness of the magnetometer plus low-pass filter to actual changes in the cart heading may be too slow for accurate dead reckoning.

[0147] Large currents on buried power lines at the power line frequency or its harmonics (e.g., second harmonic driven by fluorescent lighting, multi-pole harmonics from motor starting) can generate large magnetic fields at the wheels. Although these magnetic fields can be largely filtered out with band-stop filters, the induced fields on the cart may be strong enough to induce significant nonlinearities in a low-power magnetometer mounted on the cart. In some implementations, these nonlinearities may be challenging to filter out and may cause inaccuracies in the heading estimate.

[0148] Large ferromagnetic objects such as structural steel or iron pipes may produce significant soft iron distortion a few centimeters above the surface. The induced field at the wheel can be strong enough to produce significant nonlinearity in a wheel-mounted magnetometer.

[0149] The accuracy of the heading estimate can be improved using one or more of the following techniques: (1) For embodiments including a three-axis magnetometer rigidly mounted to the body of the wheeled object and a three-axis accelerometer mounted at a fixed angle relative to the magnetometer, the tilt of the magnetometer can be compensated. The tilt of the ground can affect the accuracy of the magnetometer. A higher slope of inclination results in a greater projection of the vertical component of the geomagnetic field onto a reference horizontal frame of the cart that is parallel to the (tilted) ground. This can result in greater inaccuracies in the magnetometer output. (2) Performing hard-iron and soft-iron calibrations on the magnetometer mounted on the body of the wheeled object. This is the subject of U.S. Patent Publication US2017 / 0067981, entitled “Magnetometer and Accelerometer Calibration for Cart Navigation System,” which is incorporated herein by reference in its entirety. (3) Applying a digital filtering algorithm to the raw magnetometer output to reduce noise, in particular to eliminate the local power line frequency (e.g., 50 or 60 Hz depending on geographic location) and its harmonics. (4) Combining the magnetometer output with the gyroscope output (e.g., a MEMS gyroscope) via a filter, such as a Kalman filter. The gyroscope can provide heading information that can be used in conjunction with or in place of the magnetometer data. Because the gyroscope can directly output the angular velocity of the turn, the gyroscope can provide better response time to rapid heading changes and / or sharp turning radii than a magnetometer or accelerometer. This better response time can result in more accurate dead reckoning tracking. The gyroscope can provide data to confirm the output of other sensors. For example, data from a magnetometer that is inconsistent with the gyroscope may be an indication of an anomaly. For a cart in a parking lot, passing vehicles may distort the magnetometer data and the resulting heading estimate. An embodiment of a dead reckoning system can use gyroscope data to confirm a heading estimate based on magnetometer data, or combine magnetometer data with gyroscope data in a heading estimate. Another embodiment of a dead reckoning system can be configured to perform a heading estimate based solely on gyroscope data when the system is in a busy parking lot, such as during peak shopping hours.

[0150] In the more common type of shopping cart, the front wheel swivels on the universal wheels and the axles of the rear wheels are rigidly fixed to the frame; therefore, the cart's instantaneous motion vector (e.g., the time derivative of the cart's center of mass with respect to the track over time) is perpendicular to the line between the two rear wheels.

[0151] Explicit hidden variables in the state estimator for longitudinal pitch motion and axial rolling motion may be useful for dead reckoning estimation. In the coordinate system of the cart, it is assumed that the yaw motion can be compensated by the front rotating wheels. The hidden variables of the state estimator of the cart motion include the instantaneous 3-D heading and instantaneous velocity in the coordinate system centered on the frame. In the case where the vibration data may be noisy, for example due to poor contact of the rotating detection wheel with the ground, one or more hidden state variables can be used to improve the accuracy of the vibration analysis. For example, a wheel with a flat surface portion but good contact with the ground can produce data with regular time domain features of the flat surface starting contact with the ground and ending contact with the ground. For example, an embodiment can use such data to filter the rolling component from the vibration data. This can improve the accuracy of the vibration analysis. Another embodiment can be configured to use one or more of such hidden state variables instead of performing vibration analysis in dead reckoning. This can have advantages in energy-constrained systems because extracting features from less noisy hidden state variables may require fewer samples, lower sampling rates, and / or less computation than the corresponding vibration data.

[0152] Physical effects that produce unreliable rotation information can sometimes affect the vibration signature. As a counterexample, a wheel that is not in contact with the ground at all (e.g., because the cart frame has bent) may not have much effect on the vibration signature. As another counterexample, a wheel that has very poor traction, such as due to snow, ice, or sand on the ground, may not have much effect on the vibration signature. On the other hand, a wheel that is in contact with the ground but has strong caster vibration can cause a vibration signature at the frequency of the caster vibration, and may cause a vibration signature at its harmonics. One embodiment can distinguish the caster vibration frequency from the rotation frequency. The frequency can be distinguished by: 1) recognizing that the caster vibration frequency can typically be greater than the rotation frequency; and 2) using an estimate of the vibration frequency provided by the magnetometer in the wheel in a vibration peak search algorithm - not associating a peak with a feature that matches the vibration frequency estimate with the rotation frequency.

[0153] The actual achievable yaw rate (change in heading or direction) of a human-propelled shopping cart may be less than ninety degrees per second. A Kalman filter with observables including corrected three-axis magnetometer readings and a simple gravity vector may be sufficient to output heading information to sufficient accuracy. The potential variables for the heading estimator may be the three-axis heading vector and the heading rate vector.

[0154] b. Reducing Error in Longitudinal Velocity Estimation

[0155] As described above, the longitudinal velocity of a wheeled object can be estimated by measuring the rate of rotation of one or more of the wheels. However, in some cases, it may be advantageous to estimate the longitudinal velocity of a wheeled object by techniques other than counting wheel rotations. For example, in the case of a retail store shopping cart, it may be desirable to rigidly mount a magnetometer-based compass to the cart handle. In addition, for reasons of cost and logistical convenience, it may be desirable to mount the entire electronic assembly to the cart handle. Similar considerations apply to other applications of luggage carts and other wheeled objects, such as those used at airports, train stations, etc.

[0156] However, in many cases, it can be challenging to provide direct measurements of wheel rotation to electronic components that are not mounted on the wheel (e.g., mounted on the cart handle) while achieving acceptably low cost (including relatively easy installation, robustness and longevity in operational use, etc.) and long battery life for the wheel. Advantageously, for longitudinal velocity estimation, a state estimator that is not based on wheel rotation data, such as an estimator based on accelerometer data, can be used.

[0157] However, low-cost, low-power MEMS accelerometers may not have this capability, allowing the accelerometer output to simply be directly double-integrated (first into velocity, then velocity into position) with acceptable accuracy to determine the position of the wheeled object.

[0158] For example, the KMX62 triaxial magnetometer / triaxial accelerometer available from Kionix, Inc. of Ithaca, New York, has a nominal value of 25 milligee or 0.25 m / sec. 2 After calibration, with nominal accelerometer DC offset error. A one degree error or change in the alignment of the accelerometer vertical (z) axis with respect to the cart longitudinal (x) axis, such as caused by reversible bending of the cart frame created by a heavy load placed in the basket, results in a 17 milligee error in the longitudinal acceleration. Linear error in the accelerometer axis with the highest vertical component can easily contribute many more milligees to the longitudinal error depending on how the accelerometer axis is mounted with respect to the cart longitudinal axis. By simple double integration of the acceleration, the longitudinal acceleration is 0.25 m / sec 2 An uncorrected error of will produce a positioning error of 12 meters after only ten seconds. Clearly, this is not a viable solution for estimating the position of a wheeled object.

[0159] A longitudinal velocity state estimator as described in this disclosure is able to use vibration data to compensate for the accuracy limitations of such low-cost, low-power accelerometers.

[0160] c. Example constraints

[0161] For certain embodiments of the vibration-based state estimator, one or more of the following constraints may apply: (1) The wheeled object has a nearly rigid frame to be within the desired motion estimation accuracy. (2) The quasi-random roughness in the surface (e.g., a floor or parking lot) on which the wheeled object walks has a size much smaller than the wheelbase of the wheeled object (and possibly much smaller than the diameter or circumference of the wheel). For example, the wheelbase of a cart can be about one meter or more (and, the wheel diameter is a few centimeters to 20 centimeters), and the quasi-random roughness of a moderately severely worn asphalt parking lot is on the order of one to five millimeters root mean square (RMS). The surface roughness (RMS) of many parking lots (asphalt or concrete) can range from about 0.1 mm to 10 mm, 0.5 mm to 8 mm, 1 mm to 5 mm, or some other range. In some cases, the range of the surface roughness (RMS) of many parking lots (asphalt or concrete) can be measured relative to the wheel diameter (D) and can be in the range of about 0.001D to 0.1D, 0.01D to 0.05D, or some other range. (3) It may be impractical to obtain reliable rotation data from a wheel that is in continuous, non-skid contact with the ground. In some embodiments where reliable wheel rotation data can be obtained, this reliable wheel rotation data can additionally or alternatively be used in the techniques described below.

[0162] To improve the continuous non-slip contact between the wheel and the ground, the wheel may include a suspension device, such as a spring-loaded universal wheel. Such a device may be particularly useful when the ground is uneven, when the wheel is worn, and / or when the cart frame is bent.

[0163] d. Longitudinal velocity estimation via vibration analysis

[0164] Figure 8 An example filtered accelerometer time series (over a one second period) measured at a shopping cart handle is shown. Figure 8 The graph 800 in FIG. 8 shows acceleration (in “g”, where g is standard gravity) as a function of time (in seconds) for the three components of acceleration, where x is the forward (or equivalently, backward) direction of cart movement in the horizontal plane, y is perpendicular to x in the horizontal plane, and z is the vertical direction (perpendicular to the surface the cart is traveling on), as shown in FIG. Figure 2800 is shown in the coordinate system 230 in FIG. The data in graph 800 was measured on a somewhat rough asphalt surface using a typical grocery store shopping cart with about 15 kg loaded in the main basket. The sampling rate was 20,000 samples per second (sps) using a 6 kHz bandwidth triaxial piezoelectric accelerometer (Measurement Specialties (Hampton, VA) Model 832M1 accelerometer). The filtering algorithm applied was a 1-D median filter followed by Savitsky-Golay smoothing (order 3, window length 7) and trend removal over the displayed width. The root mean square (RMS) amplitude of this particular signal was about 1.4 g on the x-axis, about 1.2 g on the z-axis, and about 0.7 g on the y-axis.

[0165] Fig. 9 An example of wheel rotation rate versus time for the same shopping cart under the same circumstances is shown. The wheel speed is measured by parabolic interpolation of the output of a precision Hall effect sensor sampled at 1600 sps (raw speed, as shown by thin line 905). In an embodiment, the sampling rate of the vibration data sensor can be approximately 5 to 10 times the system bandwidth for signal processing purposes. A realistic system bandwidth can be 10 to 20 times the maximum wheel rotation rate (e.g., 100-200 Hz for a maximum wheel rotation rate of 10 revolutions per second). The interpolated speed (1 second moving average) is shown by the thick line 910. The rapid oscillation of speed in the raw speed data at a frequency of tens of hertz (Hz) is caused by small-scale roughness in the asphalt surface. In this example, the estimated (e.g., interpolated) wheel speed is in the range of about 3.2 revolutions per second to about 3.7 revolutions per second. As discussed herein, the linear speed of a wheel (and cart) is the speed in revolutions per second multiplied by the circumference of the wheel.

[0166] Fig. 10A shows the power spectral density (PSD) of the same data set, but using The Thomson multi-window estimation method implemented in the pmtm function of the Signal Processing Toolbox is used to calculate the velocity data. This may be due to the rapid oscillations in the raw velocity data (see e.g. Fig. 9 905), other conventional methods for calculating PSD (e.g., Welch's method) may not provide suitable PSD data. The horizontal axis represents frequency in Hz. The vertical axis is in g on a logarithmic scale. 2 / Hz represents PSD, a unit commonly used to measure vibration amplitude.

[0167] refer to Fig. 10A, the X-axis is in the direction of motion of the cart, the Y-axis is perpendicular to the direction of motion and parallel to the surface on which the cart is traveling (e.g., in a horizontal plane), and the Z-axis is perpendicular to the surface on which the cart is traveling (e.g., in a vertical plane). The frequency f0 is the nominal rotation rate of the cart wheels (assuming that all wheels have the same diameter, as is typically the case; carts with a variety of wheel diameters may require additional processing), averaged over the length of the data collection interval. In other words, for a total number of N rotations in a time interval T, f0 = N / T. In Fig. 10A In the example, f0 is about 3.9 Hz, which translates to a speed of 1.6 m / s or 3.5 mph for a 5" diameter shopping cart wheel. Of course, the value of f0 depends on the speed of the wheel.

[0168] The 5dB width is the range of frequencies rotated around f0 so that 68% (1 standard deviation of a normal distribution) of the frequencies fall within [f0-.5*BW 5dB ,f0+.5*BW 5dB The rotation frequency can be calculated as the inverse of the interval between the same phase points in two consecutive rotations.

[0169] Fig. 10B Shown with Fig. 10A The same data shown in , but in the frequency range 1.5 Hz to 6.5 Hz, making the spectral features near f0 / 2 more prominent. The nominal rotation rate can be determined by the presence of strong and / or weak peaks in the PSD. A strong peak can be defined as being at least, e.g., 5 dB greater than any value within a positive or negative distance from the PSD of a given acceleration axis, which is, e.g., 3 times the 5 dB bandwidth of the rotation spectrum, where the 5 dB bandwidth is calculated as described above. For example, for Fig. 10B, the 5dB bandwidth of the f0 signal is about 0.3Hz, so the f0 / 2 peak at about 1.9Hz in the x-axis is considered "strong" because it is more than 5dB larger than any other peak in the range of 1.9+ / -0.9Hz. A weak peak can be described as having an amplitude less than, for example, 5dB but greater than, for example, 2dB relative to its local area in PSD space (5dB bandwidth of plus or minus 3 times the driving frequency). Different embodiments may use different values ​​for the amplitude and / or bandwidth parameters depending on the characteristics of the cart and / or installation site. For example, one installation may use a 5dB bandwidth, a 2dB bandwidth, and 3 times the 5dB bandwidth as described above. Another installation may instead use a 6dB bandwidth, a 3dB bandwidth, and 4 times the 6dB bandwidth. Yet another installation may use a 4dB bandwidth, a 2dB bandwidth, and 3 times the 4dB bandwidth. Typically, increasing the search bandwidth can make it easier to capture relatively low peaks in the vibration spectrum (e.g., this can occur when a cart accelerates or decelerates sharply, "smearing" the peak out), but can also increase the risk of false positives (e.g., identifying peaks that are not caused by wheel rotation, such as spurious harmonics caused by certain features in asphalt with constant pitch). The values ​​of these parameters can be determined during the design phase or at site installation.

[0170] For the corresponding Fig. 10B For the cart design of FIG. 1 , the most reliable discriminant for detecting f0 is the presence of a strong peak at f0 / 2 in the X-axis acceleration spectrum and the absence of peaks in the Y-axis and Z-axis acceleration spectra (in fact, a local secondary minimum in the Z-axis acceleration spectrum), as shown in block 1070. Candidate f0 values ​​can be verified by the presence of weak local peaks at f0 in the Y-axis acceleration spectrum and at 1.5*f0 in the X-axis acceleration spectrum (e.g., the first odd harmonic of the fundamental drive frequency at f0 / 2).

[0171] In an embodiment, once the dead reckoning system determines f0, the forward speed of the cart can be determined by multiplying f0 by the circumference of the wheel. For example, for a 5-inch diameter U.S. shopping cart wheel, the circumference is 15.7 inches (e.g., π times the diameter), and for a wheel consisting of Fig. 9 and the example value f0 = 3.94 Hz determined by the example PSD in FIG. 10 , the estimated forward speed of the cart is 61.9 in / s = 5.16 ft / s = 3.52 miles / hour = 1.57 m / s.

[0172] Thus, embodiments of the dead reckoning system can utilize vibration sensor data to estimate the rotation rate of the wheels of a wheeled object (e.g., a cart), and estimate the forward speed of the cart based on the estimated rotation rate and the circumference of the wheels. The vibration sensor data can include a short time series of acceleration data in one direction, two directions, or three directions. The short time can be in the range of from about 1 / 2 wheel rotation period to 5 to 10 rotation periods (or more). For example, for some carts, the short time is in the range of about 0.1 to about 5 seconds. In the case where valid rotation data is intermittently available, embodiments can use the period when the wheel is in good ground contact to update the vibration signature. The direction of the acceleration data can include a first (forward) direction of the wheeled object, a second direction perpendicular to the first (forward) direction, and / or a third direction perpendicular to the first and second directions. For example, the second direction can be in a horizontal plane (the plane in which the wheeled object is moving), and the third direction can be in a vertical plane. The horizontal plane may be generally parallel to the surface on which the wheeled object is walking.

[0173] The dead reckoning system can estimate the wheel rotation rate based at least in part on identifying a peak in an acceleration spectrum associated with the acceleration data. The peak can be associated acceleration data in a direction of motion of the wheeled object. The estimated wheel rotation rate can be twice the frequency of the peak. Some embodiments can verify the estimated wheel rotation rate by determining the presence of a second peak in the acceleration spectrum at 1.5 times the estimated wheel rotation rate. Additionally or alternatively, some embodiments can verify the estimated wheel rotation rate by determining the presence of a third peak in the acceleration spectrum associated with a horizontal acceleration of the wheeled object perpendicular to the direction of motion of the wheeled object at the estimated wheel rotation rate.

[0174] The specific features extracted from the vibration spectrum may be different for different shopping cart configurations (eg, stainless steel wire frame basket versus plastic cart basket) and for different applications or different surfaces on which the shopping cart moves. Figure 8 , 10A The vibration features in and 10B are examples of specific scenarios.

[0175] Algorithms that can be used for feature extraction to obtain distinct features include: (1) batch fast Fourier transforms (FFTs) at high spectral resolution, searching for clear harmonic content; (2) discrete Fourier transforms (DFTs) over a range of frequencies corresponding to a plausible range of the instantaneous angular velocity of the wheel, looking for maximum energy transfer in plausible harmonic peaks. For many shopping cart applications, wheel angular frequencies range from about 1 Hz to about 5 Hz or about 1 Hz to about 10 Hz. (3) time domain windowing methods that look for impulse peaks (e.g., associated with flat spots on the wheel).

[0176] For batch FFT, the minimum required spectral resolution can be derived from the spectral width of the features to be resolved. For example, Fig. 10B The spectral width of the f0 / 2 peak (1070) in is about 0.1 Hz wide. For a desired spectral resolution of 0.016 to 0.25 Hz (e.g., 0.02 Hz), about four to six (e.g., five) different frequency points may be required to clearly resolve this peak.

[0177] Ability to define clear harmonic content in bulk FFT content based on peak values ​​and their harmonic ratios. Fig. 10A , a candidate peak can be defined as a peak with three consecutive frequency points at or near the center of the candidate peak having an amplitude that is more than 3dB greater than any other value within a quarter octave range centered on the candidate peak (for example, from the candidate peak center frequency divided by the fourth root of two to the candidate peak center frequency multiplied by the fourth root of two) and more than 5dB greater than the RSS value over a half octave range.

[0178] The nominal center frequency of a candidate peak can be defined via parabolic interpolation in the logarithmic amplitude of the highest frequency point and the immediately following lower and higher frequency points within the candidate peak. If the ratio of the center frequencies of a candidate peak is an integer, such as 2 or 3, within an accuracy of two to three times the set spectral resolution, then the candidate peak can be in a harmonic ratio. For outdoor surfaces (e.g., asphalt), embodiments may not consider harmonics above the third harmonic to be candidates because higher harmonics may be too noisy. For smooth indoor surfaces (e.g., linoleum), embodiments may consider higher harmonics as candidates.

[0179] In some cases, the candidate peaks may be additionally qualified by the relationship among the candidate peaks between the differential vibration axes. Fig. 10B , the f0 / 2 peak (1070) is characterized by a combination of a high protruding peak on the X-axis and the absence of a peak on the Y-axis or Z-axis at the same frequency, while the f0 peak (1080) is characterized by a peak in the Y-axis and the absence of a defined peak in the X-axis and Z-axis. Since the peak amplitude of -27.4dB (g2 / Hz) at 3.77Hz is only 2.8dB higher than the peak amplitude at 4.16Hz, the peak in the Y-axis at f0 may not be considered a candidate peak for the above criteria. A more detailed peak finding algorithm can be used. Such an algorithm is capable of locating the peak on the Y-axis at f0, for example by comparing the peak amplitude of the peak to the RSS amplitudes of the two highest values ​​in a quarter octave range, rather than to the RSS amplitude of the highest value; by this criterion, the Y-axis peak at f0 can be identified.

[0180] e. Longitudinal velocity estimation via acceleration analysis - concrete connection example

[0181] Fig.11A and Fig. 11B An example accelerometer time series measured on a shopping cart rolling on a concrete floor is shown in . The cart in the measurement includes a payload of approximately 15 kg. The cart rolls in a fairly straight line across two concrete expansion joints. Graph 1100 shows acceleration versus time in the vertical axis (e.g., Z axis). The bursts of vertical acceleration at t=1.0 and t=1.5, and then at t=5.8 and t=6.3 are the result of the front and rear wheels hitting the expansion joints, respectively. The larger amplitude of the second burst (at t=1.5 and 6.3) is due to the fact that the rear wheels on this cart are not casters and therefore do not have the shock-absorbing effect of the casters on the front wheels. A cart that crosses an expansion joint at a significant angle may have up to four different events, one for each wheel of a four-wheeled cart. With knowledge of the spacing between concrete expansion joints and the time it takes for the cart to cross consecutive joints (e.g., 6.3-1.5=4.8 seconds in graph 1900), the velocity of the cart can be estimated.

[0182] Fig. 11B Shows the corresponding Fig.11A 1150 shows that the Z acceleration becomes negative at t = 6.319. This corresponds to the rear wheel landing on the first edge of the expansion joint. The strong peak at t = 6.323 corresponds to the time when the wheel hits the bottom of the joint. Graph 1150 shows that the peak acceleration on the Y axis lags the simultaneous peaks in Z and X by about 1 millisecond. This lag may be due to the cart not hitting the expansion joint perfectly straight, causing the cart to sway.

[0183] f. Example State Estimator

[0184] Embodiments can implement a state estimator as a linear quadratic estimator (LQE - a standard Kalman filter). However, the present disclosure is not limited to LQE. Other implementations may involve a combination of hidden Markov models and continuous latent variable estimation (e.g., extended Kalman filter, unscented Kalman filter, etc.).

[0185] Available observations for continuous estimators can include:

[0186] The three-axis acceleration of the cart body frame, which can be coupled to the electronics system, is measured by a medium bandwidth (e.g., up to about 100 Hz) DC-coupled three-axis accelerometer. One example accelerometer is the FXOS8700CQ digital sensor and 3D accelerometer accelerometer system available from Freescale Semiconductor. Another example is the KMX62 three-axis magnetometer / three-axis accelerometer 3D accelerometer system available from Kionix, Inc., a Rohm & Co., Inc. (Kyoto, Japan).

[0187] A three-axis magnetometer reading can be in the same reference frame as the accelerometer. An example magnetometer is the magnetometer included in the FXOS8700CQ digital sensor and 3D accelerometer. Another example magnetometer is the magnetometer included in the KMX62 three-axis magnetometer / three-axis accelerometer. In some embodiments, the accelerometer and magnetometer can be separate components.

[0188] Features extracted from the high frequency AC coupled vibration spectrum of the cart frame can be coupled to the electronics, but not necessarily via the same circuitry as the accelerometers. These features can include an estimated wheel rotation rate f0. The number of independent axes of vibration measurement can depend on the mechanical structure of the cart. For example, assuming that the three Cartesian axes are independent at high frequencies may not be accurate.

[0189] Various sensors for measuring vibration that may be suitable for the present disclosure include (1) a cantilever piezoelectric beam with an optional point mass to tune the response spectrum; (2) a small magnet on a cantilever beam of nonmagnetic material (e.g., stainless steel) operating within the elastic limit of the beam, with an optional point mass to tune the response spectrum, for example by inducing an electromagnetic force (EMF) in a coil; (3) a cantilever magnet plus an induction coil, which can be a small, inexpensive, low-power component for a high-bandwidth vibration sensor; (4) a high-bandwidth MEMS accelerometer, such as the KX123 (available from Kionix of Ithaca, New York).

[0190] For example, the section entitled “Longitudinal Velocity Estimation via Vibration Analysis” and Fig. 10A and Fig. 10B As shown in , in some embodiments, the bandwidth of the vibration sensor may not be critical. For example, in Fig. 10A In the example data in , the components of interest do not exceed about 15 Hz. However, a high sampling rate can be used to provide sufficient frequency resolution over relatively short time periods, such as when the rotational speed of the cart varies.

[0191] g. Heading estimation

[0192] Fig. 12AAn example method flow diagram 1200 is shown by which an embodiment of a dead reckoning system can determine an estimated heading in a coordinate system of a wheeled object (eg, coordinate system 230 ).

[0193] Flowchart 1200 may begin at block 1206, where the magnetometer / accelerometer is capable of compensating for offsets / errors caused by multiple factors. The calibration data may include gain, offset, and nonlinearity of each sensor axis as a function of temperature 1210. An embodiment may calibrate all axes of both the accelerometer and the magnetometer. Another embodiment may not calibrate the horizontal axes of the accelerometer (e.g., the x-axis and y-axis in coordinate system 230). For example, for a Kionix KMX62, the accuracy of the dead reckoning solution may not be significantly affected by accelerometer errors. On the other hand, changes in the offset and gain of the magnetometer axes with temperature may significantly affect the accuracy of the dead reckoning estimate. Therefore, an embodiment is capable of calibrating each axis of the magnetometer individually with temperature. Systems with magnetometers whose characteristics do not change significantly with temperature or with devices whose operating temperatures are within a narrow range may not require individual calibration of each axis of the magnetometer. An example of temperature calibration for a dual magnetometer sensor is described below in Section VIII.

[0194] For some sensor types, including the Kionix KMX62, the magnetometer offset can change significantly after exposure to the high temperatures of the reflow process (e.g., about 260°C according to IPC / JEDEC J-STD-020C). Therefore, the sensor can preferably be calibrated after assembling the PCBA, for example during a post-assembly production test process. During calibration, a database "Calibration (Gain+Offset+Nonlinearity vs. Temperature)" 1210 can be created. The database can be stored in the flash memory of the processor, for example Figure 4 425. When calibration is performed at block 1206, the temperature sensor can provide temperature data 1202, the magnetometer / accelerometer can provide its raw measurements 1204, and the database 1210 can provide calibration data. The raw measurements 1204 can be in the coordinate system of the accelerometer / magnetometer sensor package.

[0195] Magnetometers typically have a nonlinear response to applied magnetic fields above the field strength of interest (e.g., from -100 to +100 μT). Taking the KMX62 as an example, the worst case error in this field range is about 2%. The factory calibration process can provide the actual curve for each axis based on each magnetometer, for example, output voltage = offset + gain * Applied_field + F_nonlinear_error (applied field).

[0196] An embodiment may convert the nonlinear error function into a lookup table and store the table in memory as part of a factory calibration procedure. At run time, the system can look up the true field based on both the magnetometer output and the temperature sensor output. Thus, the output of block 1206 can be a temperature compensated and linearized magnetometer / accelerometer reading.

[0197] At block 1208, the system can rotate the temperature compensated and linearized readings to the cart's coordinate system, such as coordinate system 230. This rotation provides measurements in the cart body frame coordinate system. The database "PCBA to cart frame angles" 1212 can be populated during or after the dead reckoning system is installed on the cart, for example, by placing the cart on a known level surface and reading the DC value of the accelerometer.

[0198] At block 1214, the system can apply a digital filter to produce a filtered, noise-reduced measurement. The applied digital filter can have a frequency response curve that varies with the current estimated cart speed or wheel rotation rate 1218. In some embodiments, the applied digital filter can have a fixed frequency response curve. In an embodiment, each filter (e.g., each rotating axis) can be a two-pole low-pass Chebyshev filter with a cutoff frequency below half the rotation rate to suppress vibration noise at f0 / 2 (see, e.g., Fig. 10B 1070 in the figure), but not too low to cause a slow response of the cart to the actual turn (e.g., too low a cutoff frequency may cause the heading estimate to lag behind the true heading, which in turn may cause dead reckoning errors). Example cutoff frequencies can be the current rotation rate multiplied by 0.375, 0.4, 0.425, etc.

[0199] At block 1216, the system can combine the magnetometer data and the accelerometer data to give the cart heading in geomagnetic field coordinates, such as North East Earth (NED) coordinates. After installing the dead reckoning system on the shopping cart, a database "Hard Iron and Soft Iron Compensation" 1220 can be created. One way to generate the database 1220 is to rotate the cart several times around its vertical axis (e.g., the z-axis in the coordinate system 230). Another way to generate the database is to use some fixture suitable for this purpose.

[0200] replace Fig. 12A, an embodiment can implement an alternative process for heading estimation. For example, a processing unit, such as processor 425, can read data from one or more accelerometers. The embodiment can convert the accelerometer data to cart frame coordinates, such as coordinate system 230. This can provide an estimate of the tilt at the current position and a reference frame for the magnetometer output. The system can read data from one or more magnetometers. The embodiment can correct for hard iron and soft iron distortion. The correction can be calculated at least in part based on iron distortion correction constants stored in a memory associated with the processor. The system can also perform filtering to eliminate or reduce noise caused by local power line frequencies, as described in the section entitled "Reducing Errors in Heading Estimation" above. The heading can be related to the geomagnetic field at the location of the wheeled object. Correction of the estimated accelerometer alignment and offset can reduce errors in this conversion.

[0201] h. Steady-state velocity estimation update loop

[0202] Fig. 12B An example method flow diagram 1224 is shown by which a dead reckoning system can determine an estimated position of a wheeled object (eg, a shopping cart).

[0203] Fig. 12B The process may begin at block 1228, where the processor may obtain cart heading data in NED coordinates. The cart heading data may be obtained from Fig. 12A , the alternative embodiments described above, or some other method. At box 1232, the processor can update the velocity vector estimate based on one or more accelerometers, as shown in data box 1272. At box 1236, the processor can update the yaw estimate from the accelerometer data. At box 1240, the processor can search the power density spectrum of the vibration data for spectral peaks to determine the most likely frequency of wheel rotation and therefore the speed of the wheel. For example, this can be done using the method described above in the section entitled "Longitudinal Velocity Estimation via Vibration Analysis". The time series of vibration data, as shown in data box 1276, can be stored in a circular buffer so that old data is automatically overwritten by new data. The size of the circular buffer can depend on the length of the time series data required for the vibration analysis.

[0204] At block 1244, the processor can determine whether a quasi-reasonable frequency of wheel rotation is found through analysis, such as by finding a spectral peak of the X-axis acceleration data at the first frequency and finding another spectral peak of the Y-axis acceleration data at the third harmonic of the first frequency, as described above in the section entitled "Longitudinal Velocity Estimation via Vibration Analysis". If a quasi-reasonable frequency is found, the process proceeds directly to block 1252. Otherwise, the process proceeds through block 1248 to block 1252, where the rotation rate search boundary can be widened for the next iteration to increase the possibility of finding a quasi-reasonable frequency.

[0205] At block 1252, the processor can update a velocity estimate and an accelerometer offset. The velocity estimate can be based on the estimated heading determined in block 1228 and the velocity estimate determined prior to block 1252. The velocity estimate can be used to update data block 1272. The accelerometer can have offsets that vary over time. These offsets can vary slowly and can be derived as constants over the duration of one iteration of loop 1224. For example, an embodiment can use wheel rotation data over a time interval to determine an accelerometer offset during the same time interval, which provides a measurement of velocity and therefore provides a measurement of acceleration, such as the difference between the velocity measured in the current iteration and the last iteration. Some embodiments may update the accelerometer offset for time intervals where good wheel rotation data is available, while not updating the offset for time intervals where the wheel rotation data is noisy.

[0206] At block 1256, the processor can propagate the velocity estimate to produce a position estimate, such as data block 1280. This propagation can include, for example, the summation of a time series of velocity data and a velocity vector estimate 1272. At block 1260, the processor can determine whether a position-dependent step is required. If so, the process proceeds through block 1264 to block 1268, where the processor can perform the position-dependent step. Otherwise, the process proceeds directly to block 1268. At block 1268, the processor can wait until the next iteration begins and repeat the process from block 1228. For example, the position-dependent step can include initiating a warning sequence when the cart is in a warning zone.

[0207] For purposes of illustration and ease of explanation, Figure 12 is drawn as a sequential process.In some embodiments, some operations, such as input / output (I / O) operations like reading an accelerometer and a magnetometer, can be overlapped or performed in parallel.

[0208] i. Continuous magnetometer calibration

[0209] There are at least three sources of error in the cart heading derived from the magnetometer readings of the dead reckoning system: 1) errors in the magnetometer sensor itself. With such errors, the sensor reading is not the true magnetic field value at the precise location of the sensor (e.g., it could be output by an infinitely accurate magnetic field sensor sampled at exactly the same time and location as the actual magnetometer in the dead reckoning system); 2) errors in the estimate of how the true magnetic field at the sensor relates to the known Earth magnetic field, such as distortion caused by magnetically active materials near the magnetometer. The standard terminology for this is hard iron and soft iron errors, hard iron being a material that has a permanent magnetic moment in the absence of an externally applied magnetic field and soft iron being a material that has no permanent magnetic moment but magnetizes in the presence of an applied field; and, 3) errors in the estimate of the relationship of the magnetometer coordinate system to the cart frame coordinate system.

[0210] For certain specific magnetometer types, including implementations in the Kionix KMX62, within certain limits on temperature and applied magnetic field, error 1) can be substantially corrected for any given individual magnetometer (e.g., a specific KMX62 on a given PCBA) after PCBA reflow. For the KMX62, the exposure limits where gain and offset do not permanently change are >125°C and 500,000 μT, conditions that the cart will not encounter during operation. Correction for error 1) corresponds to Fig. 12A The section below entitled "Example Offline Calibration" includes additional relevant descriptions.

[0211] Error 3) may be caused, for example, by the cart handle being bent through abuse, or by the rotation angle of the dead reckoning system about the cart handle axis being changed. Fig. 12A Block 1208 in can provide a correction to rotate the sensor output to match the cart coordinate system, but the database (block 1212) used by block 1208 is normally set up once after the system is installed and then not updated at run time. If the data in block 1212 becomes inaccurate due to abuse such as described above, the accuracy of the dead reckoning system may be reduced.

[0212] Embodiments are able to detect significant changes that may occur in block 1212 by the fact that when the cart is completely stopped on a known level surface, the rotational accelerometer readings are expected to be 1 gee down and 0 gee north or east. If they are not, embodiments are able to correct the rotation matrix 1212 to produce the correct output.

[0213] The remaining problem with heading accuracy is that error 2) can and does change over time, for example dynamically due to large vehicles passing by. In particular, many shopping carts are made of ferromagnetic materials (e.g., mild steel). The residual magnetization of such materials can change over time (e.g., if a cart is stored in a particular orientation for a long time, the magnetic domains can slowly align based on the magnetic field experienced by the cart). The changing magnetization of the cart can lead to errors in the estimated heading because the magnetic field measured by the magnetometer may be different from the Earth's magnetic field.

[0214] The standard solution to this common problem, when a high-precision compass is needed (e.g., for ship or aircraft navigation in the pre-GNSS era), is to periodically align the object on which the compass is mounted (the ship or aircraft) to a series of pre-surveyed known headings, observe the compass readings at each pre-surveyed heading, and note the compass error at each heading. During and before World War II, the standard term for this was a compass deviation card, which was a handwritten, frequently updated list of compass errors.

[0215] The standard solution for devices such as smartphones is to force the user to rotate the device multiple times on all three axes and measure the three-axis magnetometer output all the time. If the magnetometer was perfect and there was no error 2), then the point cloud described by the three-axis magnetometer output would all be on the surface of a sphere. However, in reality, due to errors 1) and 2), the point cloud forms an offset ellipsoid. The cloud can be processed to form an estimate of errors 1) and 2). The standard term for this is hard iron and soft iron correction. The process is described in the art, for example in Freescale application note AN4246, "Calibrating aneCompass in the Presence ofHard and Soft-Iron Interference".

[0216] However, there are some difficulties in applying this standard solution to a magnetometer mounted on a wheeled object such as a shopping cart: 1) It requires the mounted magnetometer to rotate on three roughly orthogonal axes. It may not be easy to do three-axis rotation with a shopping cart; 2) Since this standard solution does not involve temperature compensation, the calibration is only valid over a small temperature range. For devices like smartphones, this may not cause much of a problem, because even the best smartphone compass calibration will rarely produce accuracy that may be affected by small errors caused by short-term drifts over a moderate temperature range. But for use applications based on the present disclosure, a higher degree of compass accuracy is required over a wide ambient temperature range, such as -15 to 50°C; 3) If the external magnetic influence (error #2) changes, the process must be repeated, which can be dynamic as described above.

[0217] Advantageously, embodiments according to the present disclosure can overcome these difficulties. A dead reckoning system according to the present disclosure can have the true value of the geomagnetic field at the location where the system is installed (e.g., from Index 2 of Table 1 in the section entitled "Example Site Configuration File"), and can individually compensate for the error 1) as described above.

[0218] A shopping cart can normally only rotate about its Z axis, which is typically tilted a few degrees. To initially populate the data in block 1220 of FIG. 12 , the installer can deliberately rotate the cart about the Z axis in an area where the magnetic field is believed to be very close to the Earth's magnetic field, such as outdoors and not too close to any large ferromagnetic objects (e.g., at least three to five meters away from a large sports utility vehicle and two to three meters away from a car). The installer can rotate the cart once, twice, three times, or more. From Fig. 12A The set of points output by block 1214 in can form a thin layer near the mid-equator of the ellipsoid (e.g., if the cart were perfectly level and there were no errors 2), the points would form a perfect circle). Using information about the actual value of the horizontal component of the geomagnetic field, embodiments can account for both soft and hard iron effects in the cart's XY plane. In theory, it is possible to account for hard and soft iron issues in all three axes by intentionally rotating the cart in a non-level plane, but in practice, the additional potential accuracy in the heading estimate may not be worth it.

[0219] After populating block 1220 as described above, the cart can be put into use. In operation, one embodiment can continuously (e.g., periodically) monitor the output of process 1214 for the period of time that the system knows that the shopping cart is outside (because the geomagnetic field is typically very distorted inside a building). If at any time the system obtains a sufficient number (e.g., 5, 10, or more) of well-dispersed waypoints (which have been heavily low-pass filtered by block 1214) within a sufficiently short period of time (e.g., a few minutes, less than 30 minutes, less than an hour), the system can re-execute the above process after initial installation.

[0220] If the hard iron and soft iron calibrations calculated by this algorithm are significantly different from the values ​​stored in block 1220, the system can update the values ​​of 1220. The updated values ​​allow the system to compensate for errors that may vary over time 2).

[0221] It is up to the system designer to decide what constitutes a "sufficient number" of different waypoints that are "well dispersed" in a short enough time. One example implementation has the following:

[0222] The system examines the valuable points of a sliding window of the past 10-20 seconds (e.g., 16 seconds) and places the points into four magnetic quadrants (+X+Y, -X+Y, -XY, +XY) in the horizontal plane. If at least 10% to 15% (e.g., 12.5%) of the points are in each quadrant, and at least two quadrants each include at least 25% of the points, the system can be considered to have adequate dispersion of points.

[0223] Using the existing values ​​of the hard iron and soft iron compensation matrix 1220, if the vector value of the geomagnetic field associated with any of these points is significantly different from the known geomagnetic field, then the point can be rejected as it may have been taken close to some external ferromagnetic object that distorts it. This is a bootstrapping process - the initial calibration process of the population 1220 should preferably occur in a known magnetic field (e.g., the geomagnetic field at the cart's location), but the system can then use the existing data values ​​in box 1220 to know when the system has valid data for recalibration.

[0224] Another embodiment may not attempt to recalibrate the hard and soft iron unless a certain number of points (e.g., all points except those that are at or below a threshold value such as 0%, 1%, etc. within a sample 10-20 seconds) indicate that no external distortion is present - the number of points rejected as being significantly different from the known magnetic field is less than the threshold. Section VIII provides more details on calibrating a magnetic sensor for temperature or hysteresis effects.

[0225] 1. Shopping cart with adjustable child seat

[0226] Some shopping carts include a user-adjustable child seat that is movable between a child seat closed position and a child seat open position, thereby allowing a shopper to place a child (or other item) on the seat portion. Fig.16A (described further below), the figure shows an example of a stroller 1600 with a child seat 1620 in a closed position (sometimes referred to as a child seat up because the child seat portion is substantially vertical). In many strollers, a shopper can push the metal frame of the child seat 1620 away from the handle 1610 of the stroller 1600, thereby moving the seat portion to a horizontal position (e.g., the seat portion moves from Fig.16A The open position is therefore sometimes referred to as the child seat down. Fig. 16BThe shopping cart 1600 is shown with a child seat 1620 in an open position or a child seat down position. In general use, it has been found that most shoppers operate the cart with the child seat down, which allows the child, purse or shopping bags or store items to be placed on the horizontal seat portion. In addition, it has been found that the position of the child seat (e.g., up or down) typically does not change during a shopper's single navigation trip.

[0227] When the child seat is facing upwards (in the closed position, e.g. Fig.16A ), the metal frame (usually steel) of the child seat is relatively close to the handle 1610 of the stroller 1600, and therefore may be relatively close to the magnetometer of the smart positioning system 1605 mounted on the stroller handle 1610. When the child seat is down (in the open position, e.g. Fig. 16B ), a large portion of the child seat is farther from the magnetometer of the smart positioning system 1605 mounted on the handle. Therefore, the amount of magnetic interference of the partially magnetized metal child seat on the magnetometer is usually significantly different between the upper and lower positions of the child seat. If the different amounts of electromagnetic interference between the upper and lower positions of the child seat are not calibrated, a heading error of several degrees to tens of degrees or even higher may be introduced into the navigation process, resulting in an incorrect dead reckoning position.

[0228] For many shopping carts, the heading error is typically about sinusoidal, with maximum heading errors of about 90 degrees and 270 degrees. The metal base is typically made of ferromagnetic wire, with each wire mostly being arranged, for example, along a Figure 2 The cart coordinate system 230 is shown with the Y axis aligned from left to right. Thus, when the cart is heading in one of those directions (e.g., 90 degrees or 270 degrees magnetic heading), the Earth's magnetic field induces the greatest magnetic field distortion in the metal mount. For a strongly magnetized cart, the amplitude of the heading error sinusoid may be as high as 90 degrees, but more typical values ​​are about 20 to 30 degrees (thus, for a uniformly distributed true heading, the root sum of squares of the error (RSS) value is about 0.5*maximum error at a heading of 90 / 270 degrees).

[0229] Examples of techniques for calibrating a magnetometer in a stroller with an adjustable child seat are described below. Some such techniques may utilize two different hard / soft iron calibrations: one for calibration with the child seat up and another for calibration with the child seat down. Use of these techniques may reduce the stroller heading error associated with a seat up and close to the magnetometer to approximately 2 to 3 degrees.

[0230] The following is an example of a dual calibration implementation for a shopping cart with an adjustable child seat. At installation (or at other calibration times), the installer may rotate the cart about the Z axis two (or more) times: at least once with the child seat up, and at least once with the child seat down. From Raw Data to Population Fig. 12A The data reduction of the hard / soft iron compensation data of block 1220 can be based on whether the child seat is up or down during each rotation of the stroller. Thus, at block 1220, two sets of hard / soft iron compensation data can be generated and stored: one set for the child seat up position and another set for the child seat down position. If the stroller has more than two operating configurations, compensation data for some or all of these configurations can be stored at block 1220.

[0231] During navigation, you can do Fig. 12A Block 1216 of state diagram 500. As the stroller navigates, the system can operate using a default assumption regarding the child seat position. In some implementations, the default assumption is that the child seat is open (child seat down). As the stroller begins navigating at the exit (e.g., state 520 of state diagram 500), the system can compare the heading calculated based on the current child seat position assumption to the heading calculated based on the negated assumption.

[0232] When leaving an exit, the cart's heading is (usually) known to be within a 180 degree arc of the direct path through the exit (e.g., as referenced Fig.14 As further described, the plan view 1400 may include a compass orientation for each exit. In many cases, only one of the child seat position hypotheses will be consistent with a plausible stroller orientation (e.g., by transforming the measured magnetic field vector using hard iron and soft iron compensations and then projecting it onto the local horizontal plane of the stroller). If both seat position hypotheses are plausible, the system may execute the navigation algorithm twice for each seat position hypothesis, once using one seat position hypothesis, until one hypothesis fails (e.g., if the stroller's heading varies significantly, e.g., by more than about 60 degrees, one of the two position hypotheses typically becomes improbable, i.e., the magnetometer measurements do not correspond to any possible heading of the stroller given one of the seat position hypotheses).

[0233] In some embodiments, the system can use the aforementioned process to dynamically estimate whether the child seat is in the up position or in the down position. For example, if the navigation algorithm executes twice and fails for one assumed seat position, the other assumed seat position must be true, and the system can dynamically update the navigation accordingly to reflect the inferred true position of the child seat.

[0234] These techniques are not limited to shopping carts with child seats that are adjustable between up and down positions. These techniques are generally applicable to any type of cart with multiple operating configurations, where the magnetic influence of the cart material on the magnetometer may be different in different operating configurations. Different soft iron / hard iron calibrations may be generated for some or all operating configurations to reduce heading errors caused by different magnetic disturbances to which the magnetometer is subjected in different configurations.

[0235] j. RSSI-assisted dead reckoning

[0236] As errors accumulate through successive estimates, dead reckoning estimates of absolute position may become increasingly inaccurate. On the other hand, incremental position changes estimated by dead reckoning can be quite accurate when the method is properly performed with sensors of sufficient accuracy. As described above, the accuracy of absolute position estimates by dead reckoning can be improved by using precise position fixes, such as position resets using signals from exit markers and / or RF beacons. The accuracy of absolute position estimates by dead reckoning can also be improved by incorporating other observables, such as RSSI, into the estimation process.

[0237] RSSI can provide an estimate of the distance between a transmitter, such as access point 136, and a receiver, such as a dead reckoning system. Fig.13 , a single RSSI measurement can indicate that the dead reckoning system is located somewhere on a circle, such as 1310, at a certain radius (the distance indicated by the RSSI measurement) away from the access point. A series of RSSI measurements can indicate that the dead reckoning system is located on one of the concentric circles at each measurement time.

[0238] Fig.13 1305, 1310, 1325, 1330). The dead reckoning system may calculate that the incremental position change between the first and second measurements is D1 meters at X degrees (from 1325 to 1330). The dead reckoning system may further calculate that the incremental position change between the second and third measurements is D2 meters at Y degrees (from 1330 to 1335), and the incremental position change between the third and fourth measurements is D3 meters at Z degrees (from 1335 to 1340). There may be only one (or more - less likely with a longer series) set of points on the concentric circles that satisfies the series of measured distance / angle changes. Therefore, in theory, the absolute position of the dead reckoning system can be determined using an estimate of the incremental position change plus the distance or radius indicated by the RSSI. By eliminating the accumulated errors in the dead reckoning, this estimate may be more accurate than the absolute position estimate by dead reckoning alone.

[0239] In practice, both RSSI and dead reckoning estimates may have errors and ranges (e.g., ranges with normally distributed confidence levels). Thus, an estimate of the incremental position change plus the distance or radius indicated by the RSSI may not provide an absolute position estimate with high accuracy. However, since the RSSI can increase the number of observables in the estimate (or may impose additional constraints on the estimate), such an estimate can still be used to improve the accuracy of the absolute position estimate by dead reckoning.

[0240] The heading estimate provided by the dead reckoning system can be used along with information about the location of the access point, such as from a site profile, to improve the accuracy of the RSSI. For example, an antenna receiving an access point signal may not have a hemispherical antenna pattern. The heading estimate and location information can be used to compensate for the directional gain of the antenna, thereby improving the accuracy of the RSSI.

[0241] Similar improvements can also be achieved by using other observables. The disclosed concepts are not limited to application of RSSI. The increased accuracy of the location estimate can provide the benefit that location reset points, such as RF beacons, can be spaced farther apart. This can reduce overall system cost, or improve compliance with local regulations (e.g., local government ordinances and / or landlord rules) that impose restrictions on the installation and / or location of transmitters.

[0242] V. Example System Implementation - Shopping Cart Containment

[0243] a. Example System Site

[0244] Fig.14 An example of a floor plan 1400 of a retail store system installation is shown. The floor plan includes the following items: (1) areas where the navigation behavior of a shopping cart can vary ("store interior") 1410 (e.g., no location is tracked at all except for detecting that the cart has entered or left the store interior; dwell time is tracked (islands / shelves where consumers spend a lot or little time)); (2) containment boundaries 1420 that a cart may not be allowed to cross. The containment boundaries, in turn, are composed of a set of vertices ( Fig.14 1425) and can form an open or closed polygon; (3) entrances and exits (in this particular example, the two exits 1415 also serve as entrances). Physical barriers can prevent carts from entering or exiting the store except through the entrances and exits; and, (4) identifying sections 1430 of, for example, concrete, as distinguished from different surface types such as asphalt 1440. As described above, shopping cart containment is one possible application of the disclosed technology, but other applications are also relevant (e.g., tracking or monitoring luggage carts or warehouse carts, utility carts, etc.). For the purposes of illustration, and not limitation, Fig.14 A shopping cart containment application is used. In addition, as described below, floor plans other than the ground plane can be generated and used for cart containment and navigation purposes in a multi-story structure.

[0245] For simplicity, the coordinate system can be referenced to the main axis of the store. In this specific example, the coordinates of each relevant feature can be determined relative to the center point 1405 of the front of the store.<x,y> In some embodiments,<x,y> The choice of a coordinate system can be for convenience in designing the installation (eg, with reference to building plans or property boundaries that can define some containment boundaries).

[0246] Store exit 1415 is bidirectional in this particular example, that is, allows carts to enter and leave the store through the exit / entrance. In some embodiments, the interior of the store can be designed to allow only certain doors to be entrances or only allow them to be exits.

[0247] b. Example site configuration file

[0248] Table 1, shown below, includes an example version of a venue configuration file corresponding to the example floor plan 1400. In some embodiments, a master copy of the venue configuration file can be stored in the venue controller 1435. In some embodiments, the venue configuration file can be transmitted to the navigation system via their communication system, such as wireless RF technology such as Bluetooth Low Energy (BLE).

[0249] In some embodiments, the configuration file can be created during the installation design process, as described in the section entitled "Example Installation and Calibration". In some embodiments, the configuration file of the running system can be updated based on changes after the initial installation. The configuration version and / or configuration timestamp (e.g., date) can be included in the venue configuration file. An embodiment of a navigation system can determine whether to request downloading the current version of the venue configuration file from the venue controller based on the value of the configuration version and / or timestamp field (collectively referred to as "version number") in the version of the venue controller relative to the local version of the navigation system. The venue controller can broadcast its master version number periodically. This can advantageously reduce the energy consumption associated with updating the venue configuration file. In another embodiment, each parameter in the master venue configuration file can have an associated version number. The navigation system can transmit the version number of its local version of the venue configuration file to the venue controller. The venue controller can parse through the master venue configuration file and can transmit to the navigation system only those parameters whose version number is later than the navigation system version number. This can also advantageously reduce the energy consumption associated with updating the venue configuration file.

[0250] In Table 1, the attributes in italics are attributes that can be detected and / or updated during the learning process in this example. For example, during site installation or during operation, the navigation system can detect vibration signatures associated with concrete expansion joints at certain coordinates. The navigation system can use its estimated position obtained via, for example, dead reckoning and / or precise position fixes to derive parameters associated with the expansion joints, such as spacing and / or width. As another example, the navigation system can detect vibration signatures associated with asphalt at certain coordinates. The navigation system can derive parameters, such as the roughness or coordinates of a boundary associated with the asphalt surface. The navigation system can update its storage, such as in a site profile, with such updated information.

[0251] This learning process may occur over time. For example, detecting expansion joints at certain coordinates, such as in concrete joint segment 1, may be the beginning of the learning process. Over time, as the navigation system has traversed the entire area of ​​concrete joint segment 1, it may be able to determine the spacing between the joints. In some embodiments, the navigation system may upload the information acquired during the learning process to a central processing unit for the site. For example, if Figure 3 As shown in , embodiments can transmit information to the system configuration and control device 390 via the communication system 330. The central processing unit can be configured to process the new information and integrate it with its master version of the underlying floor plan and / or venue profile. The central processing unit can be configured to download the new information to other navigation systems. The upload / download can occur at bottlenecks that the shopping cart is expected to pass through, such as entrances and / or exits. Different embodiments can include different attribute groups to be detected and / or updated during the learning process.

[0252] An embodiment of a navigation system can adapt its processing algorithms based on the underlying plan described in the site profile. For example, the navigation system can use different vibration analysis algorithms for different surface types (e.g., concrete, asphalt, interior, etc.) and / or different roughness factors for specific surface types.

[0253]

[0254]

[0255]

[0256] Table 1 - Example site configuration file contents 1

[0257] In an installation, the venue configuration may change over time during normal operation. For example, a change in the parking lot layout may result in a change in the enclosure vertices. The venue controller can propagate the change by, for example, updating a "configuration version" field broadcast by the system. The cart, such as the cart's smart positioning system and / or smart locking wheels - can be updated wirelessly via near field communication (NFC) or download from a flash memory card, etc. The venue configuration file or floor plan 1400 can be stored in the non-transitory memory 325 or 425 by the smart positioning system.

[0258] c. Example Shopping Cart Schema

[0259] A shopping cart within the example system can be in one of several modes at any given time. Primary modes of operation include, but are not limited to: (1) Outdoor, Navigation (standard surface, such as asphalt); (2) Outdoor, Navigation (concrete, tile, or other special surface with staged features); (3) Indoor, Not Navigating; (4) Indoor, Navigation; (5) Outdoor, Locked, Return Direction Detected; and / or (6) Retrieved by a powered shopping cart retriever such as the CartManager XD available from Gatekeeper Systems (Irvine, CA).

[0260] In addition to the operational modes, there can be a variety of offline or maintenance modes, such as for firmware updates. In some embodiments, the dead reckoning system can be configured to dynamically change the dead reckoning calculation mode, for example, if the vibration signature remains relatively unchanged and indicates that the cart is traveling on a relatively smooth surface (e.g., indoors), the dead reckoning system can assume that the cart speed is approximately constant until the vibration signature changes substantially to indicate that the cart is changing speed or moving on a substantially rougher surface (e.g., an asphalt parking lot). The change in the vibration signature can be detected via an increase in the vibration sensor signal (e.g., in "g"), an increase in vibration power in a vibration power spectrum (e.g., PSD), etc.

[0261] d. Exit Detection and Exit Identification

[0262] It is anticipated that shopping carts may pass through entrances and / or exits of a retail store. In some embodiments, the entrances and exits can be interchangeable, e.g., a store patron can push a cart into the store or push a cart out of the store through the same physical opening. In other embodiments, dedicated entrances (allowing entry only) or exits (allowing exit only) can be used.

[0263] For stores with a single exit, it is sufficient to detect that the cart is passing through the exit, in which case this exit is the only exit. For stores with multiple exits, the exit detection method can identify which specific exit the cart is passing through. The function of determining which exit the cart is passing through can be called exit identification. An embodiment can support exit identification if the localization uncertainty of each exit is less than the minimum distance between the centroid of each exit and the other exits.

[0264] The present disclosure provides several different ways to identify the exit. Methods that use a single feature to provide both detection and identification functions include:

[0265] A beacon, preferably with a controlled and relatively narrow beamwidth, either an RF (e.g., 2.4 GHz) beacon or an ultrasonic beacon, is placed near the exit so that it can be determined whether the cart is in the beam with a spatial accuracy compatible with the overall required system accuracy (e.g., within a few yards or meters of accuracy), where the beacon broadcast encodes the identity of the specific exit. Directional antennas can also be used, such as the embodiments described in U.S. Pat. No. 8,558,698, which is incorporated herein by reference. The beacon can, but need not be, a Bluetooth Low Energy (BLE) beacon that implements a beacon protocol such as iBeacon by Apple Computer (Cupertino, CA) or Eddystone by Google (Mountain View, CA).

[0266] Magnetic structures in the floor, such as described in U.S. Pat. No. 8,046,160, which is incorporated herein by reference (see e.g. Fig. 9 and the magnetically encoded floor mats described in Figure 10 and the associated specification text).

[0267] A VLF field, wherein the VLF field is modulated with a unique code that identifies a specific exit. The VLF codes can be similar to those described in US Pat. No. 6,127,927, which is incorporated by reference.

[0268] It may be advantageous to separate the precision detection function from the discrimination function. For example, in an embodiment that incorporates a low-cost method to determine with high spatial accuracy that a cart is passing through an exit rather than which exit the cart is passing through, the overall cost of implementation may be reduced by implementing the discrimination function separately.

[0269] e. Entry detection

[0270] In some embodiments, the navigation process may not be used indoors, such as within a retail store. In some such embodiments, entry detection terminates the dead reckoning navigation process (until the cart leaves the store again). It may not be necessary to determine entry events with particularly high spatial accuracy.

[0271] Entrances can be detected by the same features listed in the section just above, used in conjunction with a compass / magnetometer. For example, if all entrances and exits are along the same side of the store, it may be sufficient to detect one of the entrance / exit markers along the heading.

[0272] f. Reset accumulated dead reckoning error

[0273] Errors may accumulate in a dead reckoning system. Some embodiments can use an external reference (whose position is precisely known) to provide a reference position to the cart's dead reckoning system. The dead reckoning system can use the reference position as a new starting position for subsequent dead reckoning determinations. This can reduce or eliminate previously accumulated dead reckoning errors. Any of the beacons, directional antennas, magnetic structures, or VLF fields described herein for entry / exit detection or discrimination can be used to provide a reference position to the cart.

[0274] g. Example Smart Positioning System Implementation

[0275] Fig.15A A block diagram 1500 of an embodiment of a smart positioning system for a shopping cart application is shown. A microcontroller 1530 can provide processing functions for the system. The microcontroller can access non-volatile and / or volatile memory. An optional GNSS receiver can provide a GNSS position fix to the system, for example, to the microcontroller 1530. Alternatively or additionally, an optional EAS field detector 1515 can provide an EAS position fix to the system. If available, the GNSS position fix and / or the EAS position fix can be used to reset the position to an accurate GNSS position fix and / or EAS position fix, and can be used to clear any accumulated estimation errors through dead reckoning. An installation can use an optional GNSS receiver when the system is outdoors, for example, in an unobstructed view of a GNSS satellite, and use an optional EAS field detector when indoors, for example, at a location where an EAS transmitter is located. An installation can have an EAS transmitter located indoors and outdoors, and can use an optional EAS field detector both indoors and outdoors. Yet another installation may have indoor GNSS pseudolites and be able to use an optional GNSS field detector both indoors and outdoors.

[0276] The accelerometer / magnetometer 1510 can provide data used in heading estimation. The accelerometer / magnetometer can output a wake-up signal to the microcontroller. When the accelerometer / magnetometer detects motion, the wake-up signal can be activated to put the microcontroller into an active state. Advantageously, the microcontroller can remain in an interactive low-power state in the absence of an activated wake-up signal, thereby reducing power consumption of the system.

[0277] The optional ultrasonic coupler 1520 and vibration sensor 1535 can provide wheel rotation information to the system. This is described below in the section entitled "Enhanced Rotation Indicating Wheel".

[0278] The transceiver 1525 can provide communication functions via low power Bluetooth. System information such as venue profiles can be communicated to the system via the transceiver. The transceiver can also provide location positioning by receiving signals generated by sources at known fixed locations. The transceiver can also be used for advertising of features, such as location-based advertising.

[0279] The user notification interface 1540 can provide information, messages and / or warnings to the user of the smart positioning system, etc. The user notification interface 1540 can include audio components such as a buzzer, an acoustic resonator (e.g., a sound-generating instrument), etc., and / or visual components such as an LED display, an LCD display, etc.

[0280] The power supply components can include a main battery, such as a CR123A lithium battery, and a DC / DC power converter, such as a TITPS62740. Using the battery as input, the DC / DC power converter can output a variety of DC supply voltages required by the various components of the system.

[0281] Table 2 shows Figure 4 The abstract architecture of the function is Fig.15A A mapping of specific hardware implementations in the example embodiment:

[0282]

[0283]

[0284] Table 2 - Example abstract functionality to implementation mapping 2

[0285] A low-cost, high-sampling-rate, low-power vibration sensor can be constructed using a MEMS process similar to that used in commercial low-bandwidth MEMS accelerometers. A suitable example of an accelerometer with a high sampling rate is the Kionix KX123 accelerometer (available from Kionix of Ithaca, New York), which has 25.6 kilosamples per second (ksps) per axis. In some embodiments, the vibration sensor and the accelerometer are the same device. Such embodiments can filter the output of the device to obtain vibration data and acceleration data. For example, vibration data can be obtained by high-pass filtering the output; acceleration data can be obtained by low-pass filtering the output (including a DC component).

[0286] Fig. 15B A block diagram 1550 of another embodiment of a smart positioning system for a shopping cart application is shown. In this embodiment, all components are connected to Fig.15A The embodiments shown in FIG. 1 are identical to those shown in FIG. 1 and are denoted by the same reference numerals. However, the connections of these components are similar to those shown in FIG. 1 . Fig.15A 1525. The embodiment shown is different. In particular, the accelerometer / magnetometer 1510 and the optional EAS field detector 1515 are connected to a secondary processor in the 2.4 GHz transceiver 1525. The accelerometer / magnetometer 1510 can have an additional motion detection wake-up output connected to the secondary processor. The secondary processor (e.g., KW31Z) can wake up periodically to monitor events such as wheel rotation, EAS field reception, etc. If an event is detected, the secondary processor can wake up the main processor to perform its functions. Advantageously, due to the lower power consumption of the secondary processor compared to the main processor, such as microcontroller 1530, this embodiment can have lower power consumption.

[0287] h. Example Shopping Cart Implementation

[0288] 1. Intelligent positioning system installation

[0289] FIG. 16 shows an example of a cart 1600 including a smart positioning system 1605 having a display presenting a notification that a wheel is about to lock. For example, it can be advantageous to mount a smart positioning system, such as shown in FIG. 16 (e.g., near the center of the handle), to a shopping cart's handle 1610. Advantages include: (1) the viewing angle of the visible portion of the user warning interface can be convenient for a variety of user heights; (2) a relatively clear antenna path for the 2.4 GHz transceiver and optional GNSS receiver; (3) the handle mounting location can be more protected from impact than other locations on the cart during events such as mechanized cart retrieval.

[0290] Fig.17 A side view 1700 of an embodiment of a smart positioning system 1605 is shown. The stripe 1705 shows the orientation of the plane of the PCBA (the PCBA itself is inside the housing). The semi-circular structure with the protrusion 1710 is a mounting mechanism for placing the smart positioning system on the handle of a shopping cart. When mounted, the handle of the shopping cart can be placed in the hollow circular portion near the center of the system. The protrusion is a locking clip that can secure the system to the handle.

[0291] 2. Example Locking Wheel

[0292] In some embodiments, the rear wheels may be smart locking wheels instead of or in addition to the universal front wheels. In some embodiments, both the front and rear wheels are universal, as described below in the section entitled "Front Universal Wheels and Rear Universal Wheels". An example of a smart locking wheel that can be used with a shopping cart is available from Gatekeeper Systems, Inc. (Irvine, CA). 2.0QS wheels.

[0293] Return to reference Figure 3 , an example smart locking wheel 215 can have one or more of the following capabilities and performances: (1) the ability to communicate 365 with a smart positioning system using a wired or wireless link, such as via a 2.4 GHz RF link; (2) the ability to lock and unlock 380 in response to commands sent by the smart positioning system. In some embodiments, "locking" includes locking the wheel to prevent rotation and inhibiting the wheel from rotating about its axis. For example, a locked wheel may be physically more difficult to rotate than in an unlocked (e.g., one-way rotation) state, rather than being rigidly locked. A locked wheel or locking wheel can include a wheel with a brake that can inhibit or prevent the wheel from rotating about the wheel's axis of rotation; (3) the ability to detect and time-stamp the rotation of the wheel 375; (4) the ability to detect motion or the absence of motion so that the wheel can enter a low-power "sleep" state when the vehicle is not moving; (5) the ability to detect and decode very low frequency (VLF, typically extending from 3 kHz to 30 kHz, such as 8 kHz) fields such as those described in U.S. Patent No. 6,127,927 360. Detection of the VLF field can be used by a smart positioning system to actuate a wheel locking mechanism to prevent theft of a shopping cart when the radiating cable of the VLF field is at the boundary of the cart enclosure (e.g., when the wheel moves past the enclosure boundary), or detection of the VLF field can also be used as a sensor, such as obtained from Gatekeeper Systems. (6) the ability to detect magnetic markers 360 such as those described in U.S. Pat. No. 8,046,160 (see, e.g., FIGS. 6 to 10 and the associated specification text). A particular locking wheel embodiment may not provide all of these capabilities or may provide additional or different capabilities.

[0294] 3. Wheel / swivel configuration

[0295] In some embodiments, the locking wheels can be installed in a front, e.g., caster position. In some embodiments, a first locking wheel can be installed in a front position and a second locking wheel can be installed in a rear position. Although it may be considered undesirable to have one or more locking wheels only in the rear because it may be easier to continue pushing a cart with locking wheels only in the rear, some embodiments may be configured to have locking wheels installed in the rear position. The section entitled "Front and Rear Casters" describes an embodiment in which all four wheels of the cart are casters.

[0296] An embodiment according to the present disclosure may have one of at least four different configurations of wheels and casters on the cart:

[0297] One, the cart has non-universal rear wheels. At least one of the rear wheels can be a smart wheel with rotation detection and computing / logic processing capabilities. The omnidirectional front wheel can be equipped with a locking mechanism. Having a locking front wheel can be advantageous because a cart with only locked rear wheels can be easily pushed; shopping cart containment may therefore be difficult to achieve. This configuration is the default configuration of the present disclosure. However, the present disclosure is not limited to this configuration.

[0298] An installation that requires position tracking capabilities but not cart containment functionality through wheel locking (e.g., only tracking the movement of a shopping cart, or only using audio / visual warnings from a dead reckoning system) can have non-locking front wheels, e.g., wheels without electronics and / or locking mechanisms.

[0299] In the second configuration, the smart locking wheel can be the front wheel. The smart wheel can perform all the functions described in this disclosure, such as rotation counting, wheel-related detection, and locking and unlocking.

[0300] In a third configuration, all four wheels are omnidirectional (e.g., this may be common in Europe). Thus, the cart can "crab" - not go straight forward or backward. In this configuration, both the front and rear wheels can have various detection functions. In this configuration, the role of the primary wheels can change between front and rear relative to the state transition diagram 560. One embodiment may use the rear smart wheels as the default primary wheels and switch them to the front smart wheels as primary wheels as needed, for example, when the cart is moving all the way backward, such as being pulled by the handle rather than pushed. See the section below entitled "Front and Rear Casters" for additional description.

[0301] In a fourth configuration, the rear wheel sends a signal to the smart positioning system indicating rotation without any intelligence in the rear wheel, for example, by an ultrasonic fork in the wheel being struck. This configuration is described immediately below.

[0302] 4. Enhanced rotating indicator wheel

[0303] One embodiment of a wheel uses a tuning fork as a method of communicating rotation information to a dead reckoning system. A tuning fork and a striker can be placed in the wheel to produce a strike to the tuning fork each time the wheel rotates. For example, the tuning fork can be placed in a stationary portion of the wheel, such as attached to the wheel axle. The striker can be placed in a rotating portion of the wheel. In some embodiments, the placement can be reversed, such as the tuning fork rotating and the striker stationary. This enhanced rotation indicating wheel can detect wheel rotation without requiring electrical energy in the wheel. This can be accomplished, for example, by an ultrasonic sensor dead reckoning system. The ultrasonic sensor dead reckoning system can detect ultrasonic pulses associated with wheel rotation that cause strikes to the tuning fork. The ultrasonic energy can propagate from the wheel to the ultrasonic sensor through the air or through the structure of the wheeled object.

[0304] The resonant frequency of the tuning fork is given by equation (1):

[0305]

[0306] Where f is the resonant frequency, l is the length of the tooth, E is the Young's modulus of the material, I is the area moment of inertia of the tooth, ρ is the density of the material, and A is the cross-sectional area of ​​the tooth.

[0307] For example, a tuning fork made of 308 stainless steel with rectangular tines of 1.1 mm width and 5 mm length has a resonant frequency of 22 kHz, which is above the range of human hearing.

[0308] One or more wheels of the wheeled object can be wheels with tuning forks. Wheels with tuning forks and strikers can have low component costs and low energy costs (e.g., no electricity is needed to generate ultrasonic pulses), making multiple enhanced rotation indicating wheels a cheap and practical solution. By using more than one such wheel, more accurate wheel rotation data can be obtained. For example, by comparing data from different wheels, bad data that may be generated due to poor contact between the wheel and the ground can be identified. As another example, changing the heading of the cart means that the front universal wheel rotates more than the rear wheel on the axle. The rotation data from both the front and rear wheels can be used for estimation of the changing heading.

[0309] In the case where more than one wheel has a tuning fork, due to manufacturing variations, each tuning fork may have a different resonant frequency due to differences in its physical properties. The resonant frequency of each wheel can be characterized during cart manufacturing / installation and stored in memory. Calibration data for the resonant frequency over the entire operating temperature range can be measured during manufacturing and stored in memory. The dead reckoning system can distinguish the source of the ultrasonic pulse by the resonant frequency of the pulse and perform temperature compensation as needed.

[0310] In one embodiment, the axle can be rigidly fixed to the universal wheel fork; the rotating parts of the wheel (e.g., the hub and cover) can rotate about the axle with a pair of waterproof bearings. In a configuration where the tuning fork is rigidly coupled to the axle, the ultrasonic energy from the tuning fork can be coupled to the entire universal wheel fork. The striker can be molded into one of the rotating parts, whether it is the hub or the cover.

[0311] For carts with non-universal rear wheels, the swivel fork can be welded directly to the cart frame. In this embodiment, the ultrasonic energy can be coupled through the entire frame of the cart. Depending on the details of the cart handle construction (e.g., some cart handles are welded steel tubes that are directly mechanically connected to the rest of the frame; others are plastic or fiberglass, both of which can be heavily damped at ultrasonic frequencies), the ultrasonic energy will either be coupled directly to the smart positioning system, or will be coupled via the air near the smart positioning system.

[0312] For a fully caster cart, the rear caster fork, hard coupled to the tuning fork via a non-rotating axle, can provide a significant area, about 30 to 40 square centimeters, to couple acoustic energy into the air (and thus energy to the ultrasonic receiver in the smart positioning system). Embodiments can use the rear portion instead of the front portion because the shorter acoustic path in the air to the smart positioning system (e.g., on the handle unit) can provide a stronger signal at the receiver.

[0313] 5. Example warning / lock / unlock behavior

[0314] The behavior of the cart (e.g., sending notifications to the user, and under what circumstances the wheels are locked and unlocked) can be adjusted to meet the needs of the customer. In some embodiments, the behavior when the cart approaches the containment boundary includes the following: (1) When the estimated position of the cart is within a certain distance of the closest point of the containment boundary, for example, the distance is given by the field warning distance (e.g., see Table 1) of the current configuration.

[0315] The navigation system can warn the user that a locking event is about to occur. The various warning distances may result in different notifications to the user, such as different LED colors or flashing frequencies, different duty cycles on a buzzer, etc. (2) When the estimated position of the cart crosses the containment boundary, the navigation system can command the locking wheel to lock. (3) The wheel can remain locked until it is unlocked, for example, by a store employee using, for example, a handheld device that generates a specific wireless command (e.g., an RF 2.4 GHz command) for the wheel.

[0316] In some embodiments, when the cart has been pushed or towed a certain distance back from the containment boundary (e.g., back toward a store), the wheels may be unlocked. Since the wheels are locked, the vibration spectrum of the cart may be different than if the wheels were rolling on the same surface. The vibration spectrum can be analyzed before or during installation. The site profile can include other parameters to support this usage mode.

[0317] To prevent someone from trying to steal the cart by dragging it backward (away from the containment line), a system that requires an unlocking action when being pushed back or dragged inward can include a caster wheel that includes a magnetometer / compass and uses the magnetometer / compass in the wheel as the heading source during the locked state instead of the magnetometer / compass in the dead reckoning system. A magnetometer located on the handle of the cart may not indicate two different headings depending on whether the cart is moving forward or backward. On the other hand, since the caster wheel turns according to the direction of movement of the cart, a magnetometer located on the caster wheel can indicate a different heading when the cart is moving backward instead of forward.

[0318] i. Example Installation and Calibration

[0319] For example, a sample site profile such as shown in Table 1 can be created through the installation design process. The installation design process can be conducted offline, using tools such as a custom application that uses a map provider's application programming interface (API) (e.g., Google Maps API) to identify spatial features of interest (e.g., exits, entrances, enclosure vertices, concrete segments, etc.). During the installation design process, the relative coordinates of these features can be obtained from the overhead map. The information obtained may be cross-referenced and verified with the customer's orders. During the site installation process, the information obtained in the design process can be confirmed by actual observations at the site.

[0320] Some embodiments of the system can allow the smart wheel and smart positioning system to be installed on existing shopping carts in the field. The physical installation of the smart wheel on the cart is well understood (e.g., existing Gatekeeper Systems 2.0QS). The smart positioning system installation can depend on the implementation of the cart handle. For a handle that is part of the rigid frame of the cart, the smart positioning system can include a magnetometer and an accelerometer on a printed circuit board assembly (PCBA). Various calibration procedures can be performed as described below.

[0321] 1. Example Offline Calibration

[0322] In some embodiments, the dead reckoning system can include a mechanism by which a service technician can initiate a service / maintenance mode, of which calibration can be a sub-mode.

[0323] An example method of triggering service / maintenance mode is to hold a permanent magnet next to the dead reckoning system and in a specific orientation. The DC magnetic field can be detected by a magnetometer, and the dead reckoning system can interpret a field of the appropriate strength and orientation as a command to enter service mode.

[0324] Once service is initiated, the dead reckoning system can communicate with a handheld device such as a smartphone or tablet (e.g., iOS or Android device) via Bluetooth Low Energy. The handheld device can include application software to assist the installation technician in the calibration process.

[0325] To be able to communicate with each unit, the wheel and dead reckoning system can have a unique media access control (MAC) address on their RF (eg, 2.4 GHz) link.

[0326] It may be advantageous to orient the 3 axes of the accelerometer to the body frame of the cart. Figure 2 An example of a rigid body coordinate system for a cart is shown in system 230: x forward, y left, z up. Through a calibration application on a handheld device, the installation technician can determine the accelerometer orientation any time the cart is level. Knowing that the shopping cart is level, the orientation of the accelerometer in the xz plane can be determined from how the gravitational field resolves into the x-axis and z-axis of the accelerometer. Orientation of the accelerometer in the xy plane relative to the body of the cart, if required due to displacement of the cart handle relative to the y-axis, can be performed by pushing the cart in a straight line (accelerating it).

[0327] The orientation of the magnetometer relative to the accelerometer can be determined when the dead reckoning system PCBA is manufactured. Calibration of the offset and gain of the three magnetometer axes can be performed as part of the dead reckoning system manufacturing process, for example by applying a series of known magnetic fields to the magnetometer via Helmholtz or Maxwell coils. The response of the magnetometer to the known applied magnetic fields can be used to generate a calibration model that can be used to convert raw magnetometer readings into magnetic fields.

[0328] The magnetometer may often require hard iron and / or soft iron calibration, particularly when the cart handle material is ferromagnetic, such as mild steel, or when the cart has an adjustable child seat and the magnetometer is disposed in or on the cart's handle. A service technician may rotate the cart along the z-axis alone to perform a sufficiently accurate hard iron and soft iron calibration for some purposes (1, 2, 3 or more rotations may be used): although not completely accurate, as long as the shopping cart is restrained to a nearly horizontal surface, which is typically the case, a corrected heading accuracy of about 2 to 5 degrees can be obtained using this approach.

[0329] As described above in the section entitled "Reducing Errors in Heading Estimates", the tilt of the ground may affect the accuracy of the magnetometer. In locations where the vertical component of the geomagnetic field is about twice its horizontal component, such as in North America and Europe, achieving a heading estimate accuracy of one degree may require correction for surface tilt (deviation from horizontal) of more than two degrees. In locations with different geomagnetic field distributions, corrections for different degrees of tilt may be required.

[0330] One embodiment may have a design goal of 1 degree heading accuracy to support sites with a length of several hundred feet. For small sites, such as strip malls, lower heading accuracy may be sufficient. For heading accuracy better than one degree, more accurate hard iron and soft iron compensation can be performed. This method can be performed, for example, by applying a series of known magnetic fields to the magnetometer while the dead reckoning system is attached to the handle of the cart via Helmholtz or Maxwell coils. The response of the magnetometer to the known applied magnetic fields can be used to generate a calibration model that can be used to convert the raw magnetometer readings to magnetic fields. Since the dead reckoning system is attached to the cart handle during the calibration process, this calibration method can compensate for ferromagnetic materials in the cart handle. U.S. Patent No. 10,001,541, entitled “Magnetometer and Accelerometer Calibration for Cart Navigation System,” issued on June 19, 2018, provides additional details regarding magnetometer calibration, the entire disclosure of which is incorporated herein by reference in its entirety.

[0331] 2. Example Temperature Compensation of a Magnetometer

[0332] A dead reckoning system operating in a retail store environment may experience a wide range of temperatures, such as from severe winters to hot summer weather in the long term, and from climate-controlled store interiors to outside weather elements in the short term. The magnetometer may be sensitive to temperature and may need to be compensated over the entire operating temperature range. Such compensation can help the dead reckoning system achieve the desired accuracy over the entire operating temperature range. Units of magnetometers may need to be calibrated individually. This can be done during manufacturing, such as after PCBA (e.g., after a reflow process that can change the temperature profile of the magnetometer). Magnetometer data can be measured at three or more temperature points. The calibration data can be stored in a memory. In operation, a temperature sensor in the dead reckoning system (e.g., physically close to the magnetometer, such as on or near the magnetometer die, or within a distance of 1 cm to 5 cm of the magnetometer) can sense the operating temperature. The processor can calculate a temperature compensation factor based on the measured temperature by, for example, polynomial interpolation of the calibration data. The processor can use this calculated factor to compensate for the temperature sensitivity of the magnetometer.

[0333] To provide a specific example, in the factory, each individual magnetometer can be calibrated (per axis) to obtain offset and gain at approximately ±50 μT magnetic field values ​​at multiple temperatures. The number of temperatures that require calibration can depend on how accurate the temperature calibration needs to be, and on how nonlinear the gain and offset vs. temperature curves are for the particular embodiment of the magnetometer. For example, for the KMX62 in a shopping cart application, a residual error after temperature compensation of 0.1 μT over an operating temperature range of 15°C to 50°C can be used as a calibration target. The minimum output noise level of the KMX62 magnetometer in the lowest noise mode is approximately 0.2 μT. Therefore, a calibration target of 0.1 μT is reasonable based on the inherent noise of the sensor. The gain and offset of each axis are measured at three temperatures (e.g., -15°C, 25°C, and 50°C) during the factory calibration process, and linear interpolation of the results can produce an RSS error of approximately 10 nT.

[0334] Section VIII below describes additional or alternative methods for magnetometer temperature calibration, for example, see Figure 24-28 .

[0335] VI. Sample Application

[0336] a. Technical Challenges

[0337] The following implementation limitations can apply to the shopping cart containment problem and may make implementation of other practical solutions challenging or impractical in some cases. Some of these limitations can also apply to other environments or applications.

[0338] It may be advantageous for a shopping cart to lock the wheels by sealing the wheel's battery inside the wheel at the time of manufacture. As a result, the battery may not be replaceable. Conversely, a handlebar mounted with a dead reckoning system could be designed to support replaceable batteries (see Fig.17 ).

[0339] Some embodiments may include wheels with energy harvesting systems, such as described in U.S. Pat. No. 8,820,447. In such embodiments, the energy asymmetry between the smart positioning system and the smart locking wheel can be reversed (e.g., the smart positioning system becomes more energy constrained than the wheel). Energy in the smart positioning system becomes a conservation amount. In such embodiments, the main processing functions can be migrated from the smart positioning system to the smart locking wheel, and the smart positioning system can accumulate heading and attitude information to communicate to the smart locking wheel for processing.

[0340] b. Front and rear swivel wheels

[0341] In some embodiments, all four wheels of the wheeled object are omnidirectional. In such embodiments, the constraint that the path taken by the cart's body-centered velocity vector points "forward," e.g., perpendicular to a line between two corresponding omnidirectional wheel axes, may not apply.

[0342] Fig.18 1800, a shopping cart 1805 is moving in a forward direction, e.g., perpendicular to the wheel axles of the cart. Four wheels 1815 are aligned in the direction of the cart's motion, which is parallel to the x-axis. A magnetometer within the smart positioning system 1810 generates a heading based on the cart's orientation (e.g., x-axis).

[0343] In diagram 1830, shopping cart 1805 is turning clockwise. Wheels 1815 are aligned according to the direction of motion at each individual wheel. However, since the front of the cart and the back of the cart are not turning in the same direction, the four wheels may not be aligned with each other. A magnetometer within dead reckoning system 1810 generates a heading based on the orientation of the cart, such as the x-axis at the beginning of the turn and the y-axis at the end of the 90° turn. Despite the turn, the magnetometer is able to generate correct heading data.

[0344] In diagram 1860, the shopping cart 1805 is rolled parallel to the y-axis, e.g., moving sideways. The four wheels 1815 rotate to align in the direction of the cart's motion parallel to the y-axis. However, the magnetometer within the dead reckoning system 1810 does not detect the change in the cart's heading. The magnetometer output may be substantially the same as the output in diagram 1800. Dead reckoning based on the magnetometer output can produce erroneous position estimates. As shown in diagram 1890, similar errors occur for the four casters in all directions except the forward direction.

[0345] One solution that does not have this constraint is to include a magnetometer in at least one wheel, such as a heading / caster angle detector 383. The dead reckoning system can combine the magnetometer readings in the wheel with the magnetometer readings in the smart positioning system to estimate the heading of the cart. For example, when the readings from the two magnetometers have a large difference, a lateral movement (e.g., as shown in Figure 1860 or 1890) can be detected, and there is no subsequent change in the heading estimate of the magnetometer in the smart positioning system. For such a movement, the system can use data from the magnetometer in the wheel instead of data from the magnetometer in the smart positioning system. As another example, when the readings from the two magnetometers have a large difference, a turning movement (e.g., as shown in Figure 1830) can be detected, and there is a subsequent change in the heading estimate of the magnetometer in the smart positioning system. However, using only a magnetometer in one wheel in addition to the magnetometer in the smart positioning system to distinguish turning movements from other types of movements, such as lateral movement, may be computationally intensive.

[0346] Another solution to the absence of constraints on cart motion associated with front and rear caster wheels is to include magnetometers in at least one front wheel and one rear wheel. The heading of the cart body can be estimated, for example, as an approximate average of the headings of the front and rear wheels. In such an embodiment, the wheels can store at least raw magnetometer readings and time-stamped rotation detections; these raw magnetometer readings can be processed along with the smart positioning system magnetometer and accelerometer time series data to produce a heading history for the cart. With magnetometers in at least one front wheel and one rear wheel, the system can distinguish between steering motion and lateral motion by comparing the magnetometer readings from the front wheels with simultaneous readings from the rear wheels.

[0347] An additional or alternative solution is to provide sensors by which the wheels can directly determine their caster angle, ie the angle between the direction of wheel movement and the body of the cart.

[0348] c. Indoor Mode

[0349] Indoor dead reckoning can be used for a variety of functions, including but not limited to: (1) tracking shopper behavior (e.g., dwell time and movement throughout the store) for post-processing analysis, or for real-time actions such as sending targeted advertisements to shoppers (which can be output on a display of a smart positioning system attached to a cart handle), estimating that a large number of shopping carts are heading to a checkout area (e.g., to increase the number of checkout personnel), etc.; (2) using dead reckoning estimates to infer shoplifting, such as walking through (and possibly pausing in) an area of ​​the store with high-value, easily stolen items (e.g., alcohol or cosmetics), followed by cart movement toward an exit without passing through a checkout counter. Indoor dead reckoning can advantageously provide both direction and velocity information. This increases the likelihood that the inference of shoplifting is correct. For example, a cart is more likely to be involved in a shoplifting incident when it is in a hurry as it is heading toward an entrance / exit leaving the store than when it is heading toward an entrance / exit entering the store. As another example, a shopping cart that moves slowly through a checkout line (e.g., and stops and starts) is less likely to be involved in shoplifting than a shopping cart that moves quickly through a checkout line (e.g., without stopping).

[0350] Implementation of dead reckoning-based merchandise loss prevention can be based on user or shopping cart behavior estimated from dead reckoning. For such applications, location tracking using a dead reckoning system can replace location tracking using bidirectional communications such as disclosed in U.S. Pat. No. 8,570,171 (System for Detecting Unauthorized Store Exit Events Using Signals Detected by Shopping Cart Wheels Units). Advantageously, location tracking using a dead reckoning system may not require a signal source at a fixed location such as an electronic article surveillance tower, access point, etc., thereby reducing the infrastructure cost of the surveillance system. The entire disclosure of U.S. Pat. No. 8,570,171 is hereby incorporated by reference in its entirety.

[0351] An embodiment adapted to perform these example indoor functions may include one or both of the following modifications relative to the embodiment for outdoor applications: (1) a modification of the conversion function from magnetometer readings to georeferenced heading. (2) a rotation estimation algorithm optimized for tile or linoleum floors, which are much smoother than asphalt.

[0352] The magnetic field within a building (e.g., a store) may be severely distorted compared to the geomagnetic field at the building's location. The distortion may be caused primarily by induced magnetization in the building's ferromagnetic elements (e.g., structural steel). An embodiment can add a single constant correction vector to all magnetic field vectors measured within the building to correct for the distorted magnetic field. The correction vector can be a spatial average of the differences between the actual magnetic field measured at different points within the store and the geomagnetic field at the store's location. The averaging can be performed over a set of locations corresponding to locations within the store that a cart may be expected to pass through.

[0353] Some embodiments may implement a correction scheme that includes storing a map of magnetic field correction vectors, for example, in a sparse grid corresponding to the points of the set mentioned in the previous paragraph. For example, a navigation algorithm running on a dead reckoning system can interpolate the instantaneous correction vector based on the current dead reckoning position. The correction vector can be stored in a memory of the dead reckoning system (e.g., as a lookup table).

[0354] In a field where the floor has regularly spaced joints, such as tiles, a dead reckoning algorithm can use vibration analysis to detect that a cart is crossing a tile joint. The distance traveled between joint crossings can simply be the size of the tile. The heading estimate can provide the needed adjustments in the distance estimate when the cart does not travel in a straight line and does not cross the tile joint at right angles. The tile size can be stored as a parameter in the field configuration file.

[0355] The basic idea of ​​detecting and counting expansion joints in concrete can be applied to counting tile cross-roads indoors. The ambient vibration level can be much lower than indoors (due to the smoother indoor floor surface compared to outdoor surfaces), and the amplitude of the coupled pulses from tile joints can be much lower than that of concrete expansion joints.

[0356] Specifically, one embodiment for tracking the location of an indoor shopping cart can function as follows:

[0357] When entering a store, e.g. Figure 1 Shops in Exit 126 or Fig.14When entering the store, the cart can receive a start indoor navigation signal. This start indoor navigation signal can also provide the cart with operating parameters. The operating parameter information can be used to identify key locations within the store and areas associated with triggering anti-theft logic. For example, when a shopping cart enters a store, it can be given the coordinates of a checkout lane and / or a payment point in the store. It can also be given the coordinates that trigger the anti-theft logic. With this information in the system, if or when the cart crosses the boundary of one of the anti-theft areas, the system can be triggered to prevent the cart from leaving the store without visiting a payment point or checkout register.

[0358] When indoors, the cart can identify through dead reckoning whether it has passed through a check-in lane or is at a location in the store where a payment transaction occurs. For example, by combining the cart's location and utilizing motion information such as heading and speed, embodiments can determine whether the cart is near a check-in lane or payment point and exhibits a motion track associated with a shopper paying for merchandise. If so, the system can register that the cart is authorized to leave the store (e.g., by setting the state of leave-authorized to authorized state), without locking the wheels and / or triggering an alarm on the way out of the store. After the cart leaves the building, the system can terminate the indoor navigation mode, clear the state of leave-authorized, and begin outdoor navigation when triggered to do so.

[0359] On the other hand, if the cart is not eligible for purchase of merchandise at any time while it is within the store and attempting to leave the store, the system can determine via dead reckoning logic that the cart is attempting to leave but has not been authorized to leave the store. The system can lock the wheels and / or trigger an alarm. The alarm can be on the cart and / or external to the cart, such as on an electronic article surveillance tower that can communicate with the smart positioning system. Triggering the anti-theft system can be done in connection with areas of high value and / or high risk merchandise, such as alcohol, health and beauty merchandise, etc. Alternatively or additionally, triggering the anti-theft system can be done based on the cart passing a boundary line, such as near an exit of the store.

[0360] To increase the accuracy of the dead reckoning algorithm, an embodiment can compare the actual magnetic field it reads to a previously recorded magnetic field map of the store. Key points in the store can be surveyed during the system installation phase; the magnetic signatures of these key points can be stored in a table. When the system detects via dead reckoning navigation that it is near one of these signature points, it can compare its actual reading to the stored reading and can determine when it was actually near a stored magnetic field reading point. This can be used to reset errors in the dead reckoning algorithm.

[0361] d. Position estimation via radius positioning or hyperbolic positioning

[0362] Instead of or in addition to dead reckoning, embodiments may use RF signals to accomplish position estimation via radius positioning. For example, a single cooperating RF beacon / locating point, such as Figure 3 395 in, can be located at a location known to the navigation system. The RF beacon or navigation system can act as a transmitter for radius positioning; the other device is a receiver.

[0363] In devices where both the transmitter and receiver can change frequency without changing the phase of the phase-locked loop (PLL) underlying each frequency synthesizer (RF chips with this capability include the NXP MKW31Z and the Microchip AT86RF215), the transmitter can transmit at several different frequencies. The phase difference of the path can be estimated from the received signal. This phase difference can be calculated as the radius (e.g., the distance between the transmitter and receiver) modulo the wavelength at that particular frequency. Using the phase differences derived at several frequencies, a single value for the radius can be calculated, such as by using a modular arithmetic method to find a radius value that matches all the different measured phase values. In practice, the modular arithmetic method can be used with a best fit estimator in the presence of noise and other problems.

[0364] In an installation where both RF and ultrasonic transmitters and receivers are available, a radius position can be calculated using both the RF signal and the ultrasonic signal. A fixed unit, such as a beacon, can be an ultrasonic transmitter. This can be a preferred embodiment because ultrasonic transmission consumes more power than ultrasonic reception, and because fixed units can typically have a line power supply. However, a wheeled object can also be used as an ultrasonic transmitter. When a radius position is requested (e.g., it comes from a wheeled object or a fixed unit, such as it is initiated by a central processing system), the transmitter can send an RF transmission and an ultrasonic pulse train simultaneously. The radius can be calculated as the difference in reception time divided by the speed of sound.

[0365] Instead of or in addition to dead reckoning, the installation can provide a position estimate via hyperbolic positioning. Such an installation can have two antennas (e.g., 900MHz or 2.4GHz) on the fixed side, such as an RF receiver at a fixed location. Each of the two antennas can be connected to the input of an RF phase detector via a coaxial cable of known length. The RF phase detector can output the phase difference between the two inputs. A wheeled object with an intelligent positioning system can transmit sequentially on several different frequencies. This operation can be similar to the first example of radius positioning described above, except that there is no requirement for the transmitter to be able to change frequency without changing the phase of the underlying PLL. The fixed side can obtain a series of phase differences as a function of frequency. Using the same method as described in the first example of radius positioning, a signed difference distance can be derived from the phase difference. The signed difference distance can define half of a two-leaf hyperboloid. If the wheeled object is constrained to a plane, as in the case of a shopping cart, the intersection of the plane and the hyperboloid is a hyperbola. The position of the cart can be estimated to be on the hyperbola. Radius or hyperbolic positioning can be used in conjunction with the dead reckoning position estimate to improve the accuracy of the position fix.

[0366] VII. Other improvements

[0367] a. Navigation History and Backtracking

[0368] Some indoor navigation and backtracking algorithms can be computationally intensive. For example, by integrating the structural floor plan (e.g., see Ref. Fig.14 In some embodiments, indoor navigation using backtracking with a particle filter may improve position accuracy, including constraints on position estimates. However, the high power requirements of indoor navigation and backtracking algorithms may not be suitable for certain applications that are highly sensitive to power requirements, such as a navigation system for a shopping cart. Therefore, in some embodiments, certain portions of computationally intensive navigation calculations may be distributed from the navigation system on the shopping cart to a remote computing system (e.g., in the "cloud") that performs the calculations and returns the results to the shopping cart navigation system. The remote computing system (sometimes referred to as a base station) may be connected to the cart navigation system via wireless technology (e.g., a LAN, WAN, or Bluetooth connection to the Internet, etc.). In some such embodiments, embodiments of low-energy consumption techniques described in U.S. Patent Publication US 2016 / 0259061, Low-Energy Consumption Location of Movable Objects, which is incorporated herein by reference in its entirety, may be used to manage communications between the cart navigation system and the remote computing system (and offload processing to the base station).

[0369] Smart positioning system 210 on the cart (e.g., as described in relation to Figure 2 A less computationally intensive alternative to the particle filter algorithm can be implemented as described above. The positioning system can handle some or all of these computations (or, as described above, offload some computations to a remote base station processing device). The less computationally intensive algorithm can help navigate a shopping cart in an indoor environment where there are many obstacles that impede the free movement of the shopping cart (e.g., grocery store shelves). A graph traversal method can be performed, where each node in the graph represents an area where the movement of the cart is unrestricted, such as a particular aisle, and the edges of the graph represent paths connecting nodes, such as areas at both ends of an aisle, where the area connects the aisle to a wider connected area (each wider connected area is also a node, with an edge leading to each aisle). The nodes of the graph can be weighted based on, for example, the confidence in the estimated position of the cart, and if (as described in reference Fig. 22 If the smart positioning system 210 (described herein) determines that there is an error in the estimated position, the nodes can be re-weighted and the estimated position can be recalculated (e.g., via backtracking).

[0370] Reference Fig. 22 Discuss examples of backtracking scenarios, Fig. 22 A portion of a store with a single set of parallel aisles, with connecting aisles at each end, is shown. Merchandise shelves are indicated by cross-hatching. Fig. 22 The parts shown can be used as reference Fig.14 A portion of a store interior 1410 is depicted. Fig. 22 There may be other similar aisles on the left and right sides of the one shown in . For ease of description, the main aisles are oriented north-south, but this is for illustration only and not limitation. Nodes can be arranged in or along the aisles, and when a cart passes by the nodes, these nodes can provide the location to the intelligent navigation system (for example, assuming that the location of the nodes is accurately known). Examples of nodes include reference Figure 3 RF beacons 395 or fixed features 385 as described. The navigation system can use these position “fixes” from the nodes to increase the accuracy of the dead reckoning position estimates. An embodiment of the smart positioning system 210 can store (or communicate to the base station for storage) a history of previous cart positions, a history of position estimates received from the nodes, or a history of other navigation data (e.g., magnetometer measurements, wheel rotation estimates, etc.), and use the historical data to improve the accuracy of dead reckoning as described in the illustrative backtracking scenario below.

[0371] In the exemplary backtracking scenario, cart 205 Fig. 22 1 in. In this discussion (which is where the smart positioning system 1605 is typically located), the center of the cart handle is used as the reference datum point for all positions.

[0372] The actual cart trajectory is as follows Fig. 22 , passing through positions 2, 3, and 4, ending in aisle A. However, in this case, severe instantaneous errors in the magnetometer readings cause the estimated dead reckoning path to deviate, following a dot-dash track from position 2 to (erroneous) positions 3' and 4'.

[0373] Position 3' is physically impossible because the cart cannot occupy the same space as the merchandise shelf, so the dead reckoning algorithm with backtracking will assign a very low confidence to this dead reckoning position. However, according to the dead reckoning algorithm, at position 3', the most likely physical reality is that the cart failed to move forward as far as the dead reckoning indicated, and is actually 3" closer, in aisle B but not in the shelf. Continuing to dead reckoned position 4', directly across the merchandise shelf, is unlikely enough to trigger backtracking. In this case, the dead reckoning algorithm re-examines the history of stored sensor measurements going back to the last reliably known position 2, and finds the most likely node that can be reached from position 2 to reduce or lower the assumption about sensor error.

[0374] In this exemplary scenario, it is assumed that the dead reckoning algorithm has no reason to doubt the rotation counts continuing from position 2 (e.g., there is no implicit change in wheel speed that is inconsistent with the measured x-axis acceleration), so the algorithm can assume that there is a heading error of unknown duration and magnitude at some point after leaving position 2. The node that can be reached with a reduced or minimally incorrect assumption on heading is node 4, which is correct in this scenario, however the dead reckoning algorithm has very low confidence in its estimate of the north-south position of the cart until another node transition, such as to node 1 or node 2, can limit the north-south error.

[0375] b. Determining the direction of motion for various dual caster embodiments

[0376] Tracking a cart, for example by dead reckoning, may involve determining the direction of motion of the cart. Carts with different caster wheel implementations may determine the direction of motion in different ways.

[0377] Some carts may have one or more wheels that are casters and one or more wheels connected to an axle. For example, the two front wheels may be casters, while the axle rigidly fixes the two rear wheels to the cart frame (so that the rear wheels always point in a direction parallel to the cart, such as perpendicular to the direction of the handlebars). In such an example, the instantaneous motion vector of the cart is perpendicular to the line between the two rear wheels. Direction sensors, such as magnetometers, may be placed in various locations to determine the direction of the cart. For example, the magnetometer may be coupled to any location on the rear wheel or the cart body (e.g., the handlebars) that is rigidly fixed relative to the direction of the rear wheels.

[0378] For a cart with casters on all four wheels (e.g., as described in the section entitled "Front and Rear Casters"), determining the angle at which the cart is moving may be more difficult. Fig.18 As shown and described, plan views 1800, 1830, 1860, and 1890 illustrate different directions in which a cart having four caster wheels can move. A magnetometer rigidly mounted on the frame or body of the cart does not necessarily indicate the direction of motion of the cart. Thus, a sensor can be used to determine the pointing heading of the wheels regardless of the pointing heading of the body of the cart. In some embodiments, a magnetometer or other direction sensor can be placed in at least one of the rotating wheels or the caster wheels, and the direction of the wheel can be used to determine the direction of the cart. In some embodiments, a sensor can be used to determine the angle of the caster wheel relative to the body of the cart.

[0379] Low-cost, low standby power, and shock-resistant systems for counting the rotations of cart wheels often involve a rotating permanent magnet inside a rotating wheel hub. The rotating permanent magnet activates a sensor in a non-rotating chassis, such as a reed switch (e.g., MK22-B-2 from Standex-Meder Electronics (Cincinnati, OH)), a Hall effect sensor (e.g., DRV5023 from Texas Instruments (Dallas, TX)), or a magnetoresistive sensor (e.g., RR120 from Coto Technology (North Kingstown, RI)). Such a rotating magnet may create interference in the magnetic field detected by the magnetometer and may reduce the accuracy of navigation systems that rely on the magnetometer.

[0380] In some embodiments, the magnetometer can be away from the moving magnet to reduce the influence of the rotating magnet on the magnetometer. Figure 3A smart locking wheel 215), which may or may not be fixed (e.g., it may be universal), may include a rotation counter that includes a rotating permanent magnet. The magnetometer may be located in a second wheel, such as the front wheel or the front wheel diagonally opposite the rear wheel having the rotating magnet, or on the handle of the cart, at a distance from the rotating permanent magnet. If the magnetometer is in the second wheel, the second wheel may not have a rotating magnet.

[0381] In addition to a rotating permanent magnet in the first wheel (e.g., the rear wheel) that can indicate speed and a distant magnetometer that can indicate the heading, the navigation system can also determine whether the cart is moving forward or backward. There are different ways to do this. As an example, the magnet in the first wheel can pass through a first sensor and a second sensor that are rigidly positioned relative to the direction of the cart, and the direction of rotation of the first wheel can be determined based on whether the first sensor or the second sensor is triggered first. As another example, two magnetic field sensors at different angular positions in the wheel PCBA are used to estimate the angular position of the rotating magnet. Given the known vector magnetic moment of the rotating magnet, the possible angular position of the rotating magnet can be determined based on the magnetic field vector at two different magnetic field sensors. In some embodiments, the first wheel can be used to determine the speed based on the rotating magnet, while determining forward / backward movement by reading a magnetometer at a first position (e.g., on the handle) and a magnetometer at a second position (e.g., in the second wheel).

[0382] In some embodiments, the magnetic field generated by the rotating magnet at the magnetometer is estimated and subtracted from the total field measured by the magnetometer. An inexpensive way to do this is to extrapolate the angular motion of the rotating magnet (e.g., estimate the angular velocity versus time from the timestamps of the rotation detections) and integrate the function relative to the time from the most recent rotation detection to the current time. As described herein, motion detection can be used to wake up the smart positioning system from a low power (e.g., sleep) state. This can help save energy consumption by the smart positioning system. In some embodiments, the second wheel (e.g., the front wheel) may also include a processor that is independent of rotation detection to wake up the processor (e.g., Figure 3 For example, the motion detection system may use an accelerometer such as the LIS2DE from STMicrosystems NV (Geneva, Switzerland) to determine that the wheel has moved. Another example system that does not rely on rotation detection to wake up the processor includes periodically waking up the processor 370 via an internal timer and activating the communication system of the second wheel (e.g., Figure 3 communication system 365) to receive a signal from another wheel (e.g., a rear wheel) (e.g., Figure 3The smart locking wheel 215) listens for a message indicating that the rear wheel has detected rotation (at which point it is inferred that the entire cart is in motion). c. Gyroscope in wheel or navigation module

[0383] The cart may include a gyroscope for navigation and to improve dead reckoning navigation accuracy, e.g., as previously described in the section entitled "Gyroscope in Wheel or Navigation Mode". The gyroscope may determine instantaneous motion and orientation. An example gyroscope is a MEMS gyroscope, such as the LSM6DSL from STMicrosystems (Geneva, Switzerland). However, a gyroscope uses a relatively large amount of power, and constantly powering the gyroscope may not be suitable for certain applications that are highly sensitive to battery life, such as a smart locking wheel.

[0384] Some systems can improve battery life by selectively operating the gyroscope for limited periods of time rather than continuously operating the gyroscope. The gyroscope can be activated in response to a determination that one or more other navigation systems are not operating properly. For example, a magnetometer-guided navigation system (e.g., as described for a cart with front and rear casters) can detect distortions in the Earth's magnetic field. For example, a magnet in a cell phone, metal in a passing car or truck, and other magnets or metal may be placed in proximity to a magnetometer in the cart and cause such distortions. After hard and soft iron magnetometer compensation has been performed (e.g., as previously described with respect to Fig. 12A ), distortions in the magnetometer readings can often be detected after the navigation system generates the cart heading in geomagnetic field coordinates.

[0385] One or more factors may indicate that the magnetometer is not functioning properly or is experiencing magnetic field distortion. One factor includes determining whether the vertical component of the magnetometer output is changing significantly or is changing by more than a threshold vertical amount (e.g., a change greater than 0.5%, 1%, 3%, 5%, 10%, 20%, or more). Another factor includes determining whether the vector magnitude of the magnetometer output is changing significantly or is changing by more than a threshold magnitude amount (e.g., a change greater than 0.5%, 1%, 3%, 5%, 5%, 10%, 20%, or more). Another factor includes determining whether the magnetometer output represents a yaw rate that does not correspond to the low-pass filtered y-axis acceleration (e.g., a deviation exceeding a threshold amount, such as a deviation greater than 0.5%, 1%, 3%, 5%, 5%, 10%, 20%, or more). Another factor includes detecting a change in the magnetometer output when the cart is stationary (e.g., a deviation from a measured or expected stationary value by more than a threshold amount, such as a deviation greater than 0.5%, 1%, 3%, 5%, 5%, 10%, 20%, or more). The appropriate value change may depend on the specific usage scenario. For example, when the cart is indoors, larger changes are expected due to the proximity of ferromagnetic shelves and similar structures, but the changes are on the order of a few percent.

[0386] As another example of a navigation system that may not always work properly, a light sensor in a light-based navigation system (e.g., as shown in FIG. Fig.19 and Fig. 20 Further described) may be obscured (e.g., a shopper places a paper shopping list on the photoelectric sensor). As another example, two or more navigation systems may indicate conflicting locations.

[0387] In response to one or more navigation systems not functioning properly or indicating conflicting positions or some other error, the gyroscope may be powered on and used to improve the accuracy of the dead reckoning system or other navigation system. Otherwise, the gyroscope may be powered off or put into a sleep mode to reduce power consumption.

[0388] When powered, the gyroscope can provide an alternative and more reliable source of yaw rate. If the gyroscope is not mounted in the cart's plane of motion, a three-axis gyroscope can be used to derive the cart's yaw rate, combining the three individual gyroscope axes according to a standard coordinate rotation (e.g. about Fig. 12A If the gyroscope is mounted on the plane of motion, a single-axis gyroscope can be used to obtain the yaw rate of the cart.

[0389] The gyroscope can remain powered until enough time has passed during which the magnetometer readings indicate no influence from anything other than the Earth's magnetic field.

[0390] d. Determining cart weight from vibration signature

[0391] It may be advantageous to determine an estimate of the weight of the cart, such as to determine whether the cart's shopping basket is loaded or empty. Cart theft prevention logic (e.g., see the example exit detection flowchart 600 described with reference to FIG6 ) may be based at least in part on the estimated cart weight (or an estimated weight that is higher than the empty cart weight), which may be used as a proxy to indicate whether a user is attempting to exit the retail store with a shopping cart loaded with unpurchased merchandise (a potential theft scenario) or whether the user is leaving the store to return an empty shopping cart to a shopping cart fence (a non-theft scenario). In a potential theft scenario, the wheels may be locked (e.g., see block 652 of flowchart 600 ), while in a non-theft scenario, an indication may be given to not lock the wheels. As another example, in a potential theft scenario, because the cart's load may be a customer's child (who may be sitting in the cart) rather than unpurchased merchandise, instead of locking the wheels, the logic of block 652 may initiate an external security surveillance system to take a photo or video of the customer exiting the store. As yet another example, it may be desirable to prevent theft regardless of whether a cart is loaded or not at a boundary with tracking area 114 (e.g., at the boundary of a parking lot). Thus, the exit detection logic may lock the cart wheels at the tracking area boundary regardless of the determination of whether the cart is loaded or not (or the determination of cart load may be omitted in such areas).

[0392] The weight of the cart may affect other features. For example, as previously described in paragraph

[0287] , when it is determined that the shopping cart is leaving the store without passing through or stopping at a checkout lane, the shopping cart may lock its wheels. However, if the weight of the cart indicates that the cart is empty, it may be allowed to leave the store without locking its wheels. As another example, the speed or force with which the brakes are engaged to stop the cart may depend on the weight of the cart. A heavily loaded cart may apply brakes with greater speed or force to slow the momentum of the loaded cart. An unloaded cart may apply brakes more slowly or with less force so that the cart does not suddenly change momentum.

[0393] The weight of the cart can be determined based on the vibration response of the cart. For example, a loaded cart vibrates with a different vibration signature than a lighter cart (e.g., an unloaded cart) after passing through a discontinuity (e.g., a tile joint, an exit bump, etc.). By measuring the vibration signature caused by the discontinuity, the smart positioning system can estimate the mass of the cart or the load of the cart, or simply determine whether the cart is loaded (or unloaded). Because the mass of an unloaded cart is known, the mass of the load in the cart can be estimated in some embodiments. In some embodiments, since the anti-theft logic or navigation logic described herein may only require information about whether the shopping cart is loaded (rather than the amount of the load), the system determines whether the cart is loaded or unloaded from the vibration response, and does not estimate the amount of the load (or the weight of the cart).

[0394] The presence or absence of a significant load (e.g., greater than 2 kg, greater than 5 kg, greater than 10 kg, greater than 15 kg, greater than 20 kg, greater than 25 kg, greater than 30 kg, greater than 50 kg, etc.) in the cart 205 can generally be based at least in part on the vibration characteristics of the shopping cart in response to the shock pulse, particularly in response to the vibration characteristics of the shopping cart along the Figure 2 The vibration characteristics of the pulses along the Z-axis of the coordinate system 230 are determined.

[0395] A load in the basket equal to or greater than the empty cart mass will behave like a cantilevered mass, especially in the Z axis. The energy of the ringing oscillator of the (semi-)rigid arm resulting from the load mass and the cart basket is mostly concentrated in the Z axis. However, the highest amplitude of acceleration / vibration / ringing is in the X axis, mainly because the cart has a higher compliance relative to the ground moving in the X axis. For example, the entire frame of the cart sways a small amount on the axle. Therefore, the reference Fig.21A and Fig. 21B A surprising and unexpected result of the described experiments was that the vibration signature appeared most strongly in the X-axis vibration data, rather than the Z-axis vibration (the direction in which the impulse shock initially occurred).

[0396] Therefore, the vibration signature should show a ringing after a positive Z-axis pulse. Figure 2 The vibration signature is measured by the smart positioning system 210 shown. Therefore, the weight of the cart can be determined based on the vibration response of the cart. After passing a discontinuity (e.g., a tile joint), a loaded cart vibrates with a different vibration signature than an unloaded cart.

[0397] Figure 4The hardware shown, which includes a three-axis accelerometer 410, other vibration sensors 415, and a processor 425 for processing vibrations to infer wheel rotation, can be used to measure pulses along the Z axis and ringing (afterpulse) along the Z, X, or Y axes. As will be described, the X-axis vibration data can provide useful features to help determine whether the cart is loaded.

[0398] Fig.21A An example of the time domain triaxial acceleration of an unloaded steel framed 53 lb shopping cart (Model M90Z from Unarco Industries (Wagoner, OK)) passing over a tile joint at a velocity of approximately 1.0 m / s is shown. Fig. 11B The data were measured using the same experimental setup as in . After the initial pulse, the cart experiences a pronounced ringing along the X-axis, and a rapid ringing along the Z-axis (essentially simultaneously).

[0399] Fig. 21B Shown with Fig.21A Example of time domain triaxial acceleration of the same cart at the same speed passing over the same tile joint, but with a 5kg load on the front of the basket. After the initial pulse, the cart experiences a small ringing along the X axis, and a slow ringing along the Z axis.

[0400] Comparison Fig.21A and Fig. 21B, a significant ringing of the X-axis acceleration in an unloaded cart occurs shortly after the Z-axis pulse of the wheel falling into the joint (e.g., about 1 to 3 ms), compared to a much lower degree of X-axis ringing in a loaded cart. For example, the amplitude of the X-axis ringing in an unloaded cart is initially about 2-3 g's (e.g., decays over several milliseconds), and the ringing occurs over a period of a few tenths of a millisecond (with a frequency of 1-2 kHz). In contrast, a loaded cart has a smaller ringing in the X-axis with an initial amplitude of less than about 0.5 g (e.g., an amplitude 4 to 6 times lower than that of an unloaded cart). Therefore, in some embodiments, the vibration sensor data is analyzed to find a vibration signature in the X-axis data, and a determination is made from the X-axis vibration signature whether the cart is loaded or unloaded. For example, the vibration signature of an unloaded cart may include X-axis vibrations having a frequency greater than about 1 kHz (up to about 5 kHz) and an amplitude greater than about 1 g (or greater than 2 g or greater than 3 g). The vibration signature of a loaded cart may include an X-axis vibration having a frequency greater than about 1 kHz (up to about 5 kHz) and an amplitude less than about 0.5 g (or less than 0.2 g). The X-axis vibration signature of a loaded or unloaded cart may occur in a time period of about 1 ms to about 5 ms (or 1 ms to 10 ms) after measuring a Z-axis pulse (in the range of about 0.5 g to about 3 g for a duration less than about 10 ms). Thus, in some embodiments, the amplitude of the X-axis acceleration of an unloaded cart is above a vibration threshold (e.g., about 1 g), and the amplitude of the X-axis acceleration of a loaded cart is below the vibration threshold.

[0401] Given the wide variation in shopping cart mechanical designs, other specific vibration signatures may characterize loaded and unloaded carts, and variations in the signatures are likely. Fig.21A and Fig. 21B The data shown in show that for common cart designs, the ringing signature between loaded and unloaded carts can be easily detected from the vibration sensor data. For example, a cart with a plastic (e.g., ABS or ABS-polycarbonate blend) basket (and metal frame) will ring less than a cart with a metal basket (and metal frame) because coupling of the initial impulse from the tile joints to the frame causes the coupling (e.g., metal to plastic) to be spread out (e.g., multiple mechanical contact points with randomly distributed phases) and somewhat absorptive. A two-story basket cart is expected to have two natural ringing frequencies, one for each basket.

[0402] Thus, analysis of the vibration sensor data can determine whether the cart is loaded (or unloaded), where the load may be several kilograms or more. Other shopping cart characteristics may be used (additionally or alternatively) to determine whether the shopping cart is loaded or unloaded. For example, the velocity characteristics of the cart may depend on the load of the cart. A shopper pushing an unloaded shopping cart may more easily bring the shopping cart to a typical speed than a loaded shopping cart (mass increases, requiring the shopper to accelerate). By examining the shopper usage statistics, typical acceleration / deceleration times, speeds, human push forces on the cart, and distances for loaded and unloaded carts may be determined and compared to corresponding measurements (in a particular case) to determine whether the cart is loaded or unloaded. As an example, the shopper usage statistics may be used to establish that a typical human shopper is able to exert a certain amount of force to push a cart to a typical terminal cart speed (e.g., similar to walking speed). Assuming that the human force F and the terminal cart speed v are approximately the same whether the cart is loaded or unloaded, the estimate of the cart mass M is M=(F / v)t, where t is the time to reach the terminal speed (from rest). Since the ratio (F / v) is roughly independent of whether the cart is loaded or unloaded, the measurement of time t can be used to infer the approximate mass M of the cart, or at least whether the cart is likely to be loaded or unloaded.

[0403] Additionally or alternatively, a typical initial acceleration a0 of an empty cart associated with a particular shopper may be determined as described below. Starting from an initial state where it is inferred that the cart may be empty, such as from entering the store from outside, or from a cart that has been stationary for a particular time, such as one hour, or in a location known to typically accommodate only empty carts, such as a cart pen, which may preferably be from a stay indoors, the initial unloaded acceleration a0 is measured from the first forward motion of the cart.

[0404] The acceleration a0 can be measured from rest to a particular cart velocity v0 that is less than a typical terminal cart velocity, such as 0.5 m / sec. The acceleration can be determined as a0=v0 / t, where t is the time from rest to terminal velocity. From observations of shoppers launching loaded shopping carts, it has been noted that near the beginning of the acceleration process, the acceleration of a loaded shopping cart is typically much less than the acceleration of an unloaded shopping cart (e.g., less than 75%, 50%, 25%, etc.). In some cases, a shopper may "lean" into a loaded cart to move it faster, which may increase the acceleration. Therefore, (especially early in the acceleration process) the measurement of a0 can clearly indicate whether the shopping cart is loaded or unloaded.

[0405] In some embodiments, at each start of a stop in the room, the average acceleration a may be compared to a particular a0 associated with the cart / shopper combination, and if a is substantially less than a0, e.g., less than 75%, 50%, or 25% of a0, then a shopping cart load may be provisionally inferred. The initial acceleration of an unloaded cart may be different in the forward and rearward directions. Likewise, the decelerations of loaded and unloaded carts may also be different, and in particular, the average deceleration d from v0 to rest for a loaded cart may be much greater in magnitude (e.g., greater than 125%, 150%, 175%, etc.) than for an unloaded cart, as a shopper may instinctively rotate backwards toward the cart as it slows.

[0406] As described above, in response to determining whether a cart is loaded, the cart exit detection logic (e.g., from block 604 of FIG. 6 ) may modify the locking sequence (e.g., block 652 ), for example, by locking the wheels of a loaded cart but not locking the wheels of an unloaded cart, and activating a surveillance imaging system (in addition to or in lieu of locking the cart wheels), etc.

[0407] e. Multi-level navigation (3-D navigation)

[0408] It may be advantageous to determine and use the current height of the cart. For example, the cart may be operated in a multi-story structure where different floors have different shopping cart containment boundaries (e.g., Figure 1 8), payment points (e.g., checkout lanes as previously described in paragraph

[0287] or as described in U.S. Pat. No. 8,463,540), floor maps, aisles, magnetic field configurations, access rights (e.g., a shopper may be allowed to take a shopping cart to a parking space in a building, but not to a residential or office level of the building), etc. Thus, different cart containment logic may be used for different levels of the structure. For example, a configuration file for a containment system may include a multi-level map of the structure (similar to the configuration file for reference Fig.14 Described ground floor plan 1400).

[0409] A multi-level map may include information about multiple surfaces, such as floors of a building, and may include information about ramps, escalators, elevators, or other vertical transportation paths between different floors. Fig.14 The user may also use a floor plan such as floor plan 1400 of FIG. 1400 , and access rights may depend on, for example, floor, transportation path (e.g., a cart may be allowed into an elevator but not on an escalator), etc.

[0410] A variety of vertical position sensors may be used to determine the vertical position of the cart. The vertical position sensor may be, for example, Figure 3210. Examples of vertical position detectors include atmospheric pressure sensors, altimeters, accelerometers, beacons, etc. In some embodiments, the cart may include a vertical position detector 337 (e.g., Figure 3 , such as an atmospheric pressure sensor (e.g., MPL3115A2 from NXP (Eindhoven, the Netherlands)), which can be used to determine the height (or change in height) of the cart. The differential accuracy of the pressure sensor can be about 10 cm. One or more atmospheric pressure sensors at fixed reference points (e.g., at the front door on the first floor, at the elevator doors on other floors, at the top and / or bottom of an escalator, etc.) can provide a temperature-compensated reference pressure. The reference pressure can be communicated to a processor in the cart, which can compare the atmospheric pressure reading from the atmospheric pressure sensor on the cart with the reference pressure to determine the height of the cart relative to the height of the reference pressure.

[0411] In some embodiments, the cart may include an accelerometer (e.g., Figure 4 The vertical acceleration indicated by the accelerometer can be used to determine vertical travel in various situations. For example, in the first case, when the cart is moving both vertically and horizontally, such as moving on an inclined ramp between floors, the vertical component of the cart acceleration can be integrated (quadratically, from acceleration to velocity to displacement) to produce the vertical displacement. In the second case, the cart travel in the elevator can be inferred from a combination of a substantial and relatively smooth vertical acceleration (typically a few percent to a few tenths of a g in magnitude) for a few seconds, followed by a smooth deceleration (of opposite sign compared to the vertical acceleration, and of comparable magnitude) and the detection of little or no rotational or lateral motion (in a direction perpendicular to the vertical). The vertical acceleration time series can be integrated to produce a nominal vertical travel that can be matched to the closest floor height. By assuming that the elevator stops at a defined floor, any integration error can generally be ignored, and the barometer can be recalibrated to the known floor height.

[0412] In some embodiments, various markers can be used to determine the vertical position of the cart. Some buildings have shopping cart conveyor systems, such as the Cartveyor from Pflow Industries (Milwaukee, WI). TM, used to move carts between floors. Such conveyors are also called travelators. Such conveyors typically inhibit rolling or rotation of the cart wheels while the cart is in the conveyor. These conveyors have entrances and exits. These entrances and exits can be included in the installation map (e.g., see the ground floor plan 1400, which can be adapted to present one or more floors in addition to the ground plane in the building). The smart positioning system can determine that the cart is in such a conveyor by combining the dead reckoning position near one of the entrances to the conveyor and the subsequent vibration (from the conveyor) and the substantial absence of wheel rotation. In some embodiments, specific location beacons (e.g., Figure 3 RF beacon 395 in the Figure 3 A fixed feature 385 in can be used to signal in a configuration file (e.g., as shown in Table 1) indicating on which floor these beacons and / or markers are located.

[0413] f. Multi-level magnetic measurement

[0414] The position of the cart can be determined using a multi-level magnetic field map. This can be done, for example, by using a magnetometer to record e.g. Figure 1 The magnetic field map may be generated based on the magnetic characteristics of an area inside a retail store 110 or in a parking lot. For example, this may include going down each aisle of a retail store. As described in reference paragraphs

[0290] -

[0291] , some embodiments of the navigation system may use correction vectors to compensate for distortions in the geomagnetic field caused by metal structures or magnetic structures inside a building. The correction vectors may at least partially compensate for horizontally or vertically layered magnetic anomalies in a store.

[0415] In some embodiments, the cart can use magnetometers (e.g., 2, 3, 4, 6 or more) to improve magnetic navigation accuracy. The magnetometer can be used to detect a magnetic field that matches the magnetic field at a specific location on a magnetic field map. The magnetometer can be used to determine the pointing heading of the cart, which can be used for dead reckoning. Since the magnetometer is typically fixed to the cart's frame at a specific height above the ground or fixed in a fixed (or rotating) position within the cart's wheel, the magnetometer can provide information about the magnetic field at a corresponding height within the structure. Therefore, multiple magnetometers provide information about the vertical stratification of the magnetic field at different heights above the floor level, and when the cart moves horizontally around the structure, the magnetometer detects the horizontal stratification of the magnetic field. The navigation system can store information about the magnetic characteristics of the structure (e.g., locally in the smart positioning system or in the memory of a remote computing base station).

[0416] In some embodiments, the cart includes two (or more) smart positioning systems 210 that communicate with each other (via wired or wireless technology) and each include a magnetometer rigidly coupled to the cart frame. For example, one magnetometer can be mounted on the handle of the cart (e.g., handle 1610 of FIG. 16 ), while a second magnetometer can be mounted on the front crossbar of the basket of the cart.

[0417] In some embodiments, a single smart positioning system 210 is mounted on the cart, for example, on a handle, basket, etc. In addition, one or more magnetometers may be included in one or more of the wheels or universal wheels. The magnetometers mounted on the wheels may be smart locking wheels such as Figure 2 The smart locking wheel 215 may be part of the smart locking wheel 215, or part of a separate magnetometer assembly that includes at least a magnetometer associated with a processor, a communication link, and a power supply (but without a locking mechanism).

[0418] An implementation of such a wheel may include a KMX62 six-axis magnetometer / accelerometer from RohmKionix (Kyoto, Japan), a MKW31Z MCU with a 2.4 GHz transceiver from NXP (Eindhoven, the Netherlands), and a battery, molded into the wheel and configured to rotate with the wheel. The accelerometer functionality of the KMX62 can be used to infer the current angular position of the magnetometer, so the magnetometer output can be converted to a local horizontal reference frame. This rotating magnetometer samples the local magnetic field over a range of heights corresponding to the diameter of its circular path.

[0419] For higher accuracy, the cart may (optionally) have multiple magnetometers at different locations in the cart body and a magnetometer in one or more wheels or casters. One or more wheels or casters may include a communication system to communicate the magnetometer measurements to a smart positioning system, such as Figure 3 Intelligent positioning system 210.

[0420] Magnetometer navigation can be used with dead reckoning navigation (or other navigation systems (e.g., using lighting signatures)) indoors or outdoors. For example, when the geomagnetic field is significantly distorted, a dead reckoning system can be relied upon primarily. For example, in outdoor locations near buildings, the geomagnetic field can be significantly distorted. A medium-sized building may have a distorted geomagnetic field within about 3 meters outside the building, while a large building made of more metal will have the geomagnetic field distorted out to 10 meters or more. However, in the absence of significant geomagnetic distortion, the magnetometer can be calibrated to within about 0.3 degrees or less than 1 degree, and magnetometer navigation can be accurate within about 1 or 2 degrees of heading error. In other cases without significant geomagnetic distortion, magnetometer calibration and magnetometer navigation can achieve different levels of accuracy based on other factors, such as component design, temperature, etc.

[0421] The magnetic field map may be a multi-layer map. Different layers may be recorded at different heights where a magnetometer on a navigation cart may be placed. For example, if the magnetometer is located 2-3 inches above the ground in the cart wheel, a first magnetic field layer may include magnetic features 2-3 inches from the ground on the first floor. As another example, a second magnetic field layer may include magnetic features 3 or 4 feet from the ground on the first floor at the height of the magnetometer on the handle of the cart. Additional magnetic field layers may be set up for the basement, second floor, third floor, and other floors of the building. Additional magnetic field maps may be recorded for transition areas between floors, such as along a cart escalator or inside an elevator. The magnetic field map may be included in a floor plan 1400 or a site profile.

[0422] As described herein, multiple magnetic field maps may include magnetic features at different altitudes at different locations, and a dead reckoning system may be configured to set its position to a location in one magnetic field map upon detecting a magnetic feature at that location.

[0423] The position determined based on the mapped magnetic features can be used in conjunction with one or more other navigation systems. For example, a dead reckoning system can be used to determine that the cart is at a first position, and a second position based on the mapped magnetic features can be used to confirm the accuracy of the first position.

[0424] In some embodiments, each navigation system determines a position and a confidence that the cart is at that position. For example, a dead reckoning system may be used to determine with 90% confidence that the cart is at a first position, and to determine with 90% confidence a second position based on mapped magnetic features. If the first position and the second position match, the confidence may be increased to a number greater than 90% (e.g., 95% or 100%). Thus, the position of the cart may be determined as a combination of the first position and the second position, and optionally weighted by the confidence. If the first position and the second position do not match, in some embodiments, a third position between the first position and the second position (e.g., a (weighted) average of the first position and the second position) may be determined with a lower confidence. If the first position and the second position do not match, in some embodiments, the first navigation system may backtrack and recalculate the result using data from the second navigation system. In some embodiments, if the confidence of the position drops below a threshold, other navigation systems may be used to increase the confidence, for example by consuming additional power to turn on and use a gyroscope. Example reference for backtracking Fig. 22 Described.

[0425] The magnetic fingerprint of an area may change. For example, metal shelves may be rearranged in a store, which may affect the magnetic fingerprint detected by the magnetometer. The magnetic fingerprint and navigation history data may be transmitted to a computer, which may analyze the magnetic fingerprint collected along the cart's path and detect changes in the fingerprint. A new magnetic field map may be generated, communicated to the cart (e.g., from a remote base station), and stored in the cart's memory. Various machine learning, artificial intelligence, or neural networks may be used to analyze the magnetic field map data (magnetic history) over time to understand the magnetic signatures in the structure.

[0426] g. Navigation using lighting features

[0427] In addition to or in lieu of the magnetic and RF signatures described elsewhere, signatures of light sources at known locations may be used to help determine the location or heading of the cart. Measurements of light signatures may be used to supplement dead reckoning position information. An example of a fixed light source at a known location includes lights located inside a building (e.g., overhead fluorescent lights in a store). Another example includes lights in a parking lot that may be turned on at night. Data including a map or location of the light sources and the characteristics of the light sources may be provided to a smart positioning system such as a Figure 3The map or location of the light sources (and optionally their properties, such as height above the light detector plane, light power, or angular dependence of light power) can be part of the floor plan 1400 or can be included in a venue profile representing the environment in which the shopping cart is located (e.g., see Table 1). The floor plan 1400 or venue profile can be stored in a non-transitory memory in the smart positioning system.

[0428] Fig.19 An example system 1900 for navigating a cart outdoors using lighting features is shown. Fig.19 In FIG. 1 , light emitted from a point light source 1910, such as a parking lot light, reaches a cart 1905. The cart 1905 is separated from the point light source by a radial distance r, including components of a horizontal distance d and a vertical distance h. Fig.19 Also shown is the polar angle θ (measured from the vertical upward direction).

[0429] Cart 1905 may include an opaque housing surrounding a light sensor and a light pipe positioned through a hole in the opaque covering such that the light sensor is configured to detect ambient light passing through the light pipe. The housing, light sensor, and light pipe may be used as Figure 3 Light detector 333 in the illustrated smart positioning system 210. For example, a light pipe (e.g., a light-transmitting material such as polycarbonate) may be formed on the surface of the smart positioning system 1605 shown in FIG. 16 and guide light to a light sensor on a PCBA 1705 included inside the system.

[0430] The exemplary light source 1910 is mounted at a horizontal distance d at a height h above the plane of the horizontal light pipe aperture, so the radial distance is The example light source emits light uniformly in the downward hemisphere, so that the irradiance E associated with the light source e The angles of interest are the polar angle θ and the azimuth angle (For example, from Fig.19 To better understand these concepts, Fig.19 The example in shows that no other light source contributes significantly to the luminous flux through the light pipe hole, and all other light sources combined contribute less than a few percentage points (e.g., 1%, 3%, 5%) of the luminous flux through the light pipe hole. The optical power P received through hole A is

[0431]

[0432] Wherein, P0 is the total optical power of the light source. An optical sensor, such as APDS-9008 from Broadcom, Limited (San Jose, California), can be used to measure the optical power P received at the light pipe aperture.

[0433] In the following example, the coordinates of the shopping cart are at X L ,Y L Measured in a Cartesian coordinate system that is fixed in the store (see Fig. 20 , where Y L Parallel to the aisle, X L These coordinates are different from the cart-centered Cartesian coordinates described herein that may be used by the smart positioning system to perform dead reckoning position estimation.

[0434] Example cart 1915 starts at position x1, y1 (in a coordinate system centered at the store), where the received optical power is P1, and the dead reckoning system estimates the position of cart 1915 to be At 1915x2,y2, the dead reckoning system determines that cart 1915 has traveled distance d along the estimated direction ρ and arrived at point At the second position x2, y2, the received optical power is P2.

[0435] In some cases, the errors in ρ and d are relatively large relative to those included in The cumulative dead reckoning error in may be small, and navigation using the lighting signature may be more accurate than dead reckoning without it. The most likely true starting position can be found by reducing or lowering ∈ x and ∈ y The error term in Equation 3 is used to confirm that Equation 3 reduces or lowers the error term in Equation 4 and is constrained by Equation 5.

[0436] and

[0437]

[0438] x2=x1+d cosρ and y2=y1+d sinρ (5)

[0439] The error term can be reduced or decreased by analytically solving equations 3-5 or using numerical optimization methods (e.g., linear or nonlinear programming, least squares method, Newton's method, gradient descent method, etc.).

[0440] As discussed, some embodiments may use numerical minimization methods in addition to or instead of analytical methods. In some cases, numerical minimization methods such as gradient descent may be more resistant to measurement errors. When it is irrelevant, the angle-dependent function f1(θ) and is numerically known and is unimodal in the angular range of interest, a gradient descent method can be used, where the received optical power is:

[0441]

[0442] Given a set of point light sources at known xy positions, the heights of these light sources (e.g., above the plane of the light detector or above the floor), the optical power or angular dependence of the optical power, the optical power measured at the starting point and at various points along the path that the cart travels can be used to find the absolute position of the cart at a point on the path by reducing or lowering the overall error function, again using an optimization algorithm such as gradient descent. The weights of the various terms in the error function to be reduced or lowered can depend on the accuracy of the positions of the various light sources, the optical power, and the angular dependence of the optical power.

[0443] Additional checks on the time history of the light sensor output may be valuable to confirm that the path from the light source to the light pipe aperture is not obstructed, e.g., the time rate of change of the light sensor output should be consistent with the known speed or direction of motion of the cart. Deviations from such consistency can be determined, and the data acquired during the period of inconsistency can be ignored or reduced in weight in the optimization calculations.

[0444] These types of calculations can be done by Figure 3 The processor and memory 325 in the smart positioning system are executed. However, processing these types of calculations may use a lot of energy. It may be desirable to perform the calculations at an external computing system (e.g., a base station) while the smart positioning system is connected to the smart positioning system via Figure 3 The communication system 330 communicates raw or pre-processed measurements and then receives an updated position estimate. These types of calculations can also be performed when the rotation of one or more wheels indicates motion, and the processor can stop performing such calculations when the rotation of the wheels indicates that the cart is stationary.

[0445] Fig. 20 An example system 2000 for navigating a shopping cart 2005 indoors using lighting features is shown. The shopping cart 2005 includes a smart positioning system 210 (e.g., as shown relative to Figure 2 and Figure 3 As described above, the smart positioning system 210 includes a light detector 333, which includes a light pipe hole and a light sensor. The cart moves in an example grocery store, which includes lighting fixtures 2015A, 2015B, 2015C, such as fluorescent lamps or LED light tubes. In this example, the example lighting fixture includes two light tubes installed in parallel above and parallel to the axis of each aisle with a small interval (e.g., less than 10 cm). Merchandise shelves are arranged on both sides of the aisle. In some embodiments, the light pipe hole can be about 1 mm. 2 Up to 100mm2 range to obtain sufficient light for the light sensor signal. Fig. 20 Three lighting fixtures are shown, such as model P7137-30STR from Progress Commercial Lighting (Greenville, South Carolina), each including two 17 W T8 fluorescent tubes spaced 122 cm (48 inches) on centers and located at a height of 2 meters above the tube apertures.

[0446] The motion of the shopping cart passing under one of these fixtures can produce a peak in the light sensor output when the light sensor of the shopping cart passes under the centerline of the fixture, regardless of the intersection angle. The peak may be relatively sharp. It can be expected that based on the aperture X L The peak sharpness of the Y coordinate will be independent of the intersection angle, although the peak sharpness may generally vary according to the L The coordinates show a decrease in the distance from the centerline intersection (e.g., as the hole crosses the centerline extending down the middle of a string of three lighting fixtures along the centerline, the hole is farther from the center of the fixture). The degree of "blurring" of the peak may depend on the specific characteristics of the lighting fixture (e.g., fluorescent lamps vs. LED tubes of the same nominal brightness), and in fact in some cases, a significant broadening of the peak may not be detected with intersections significantly off-center. A reliable signature of the lighting signature is the presence of a peak.

[0447] Note that if the light sensor is sampled at a high rate relative to the horizontal crossing speed, for example, greater than about 100 samples per second with a traversal speed of 1 meter / second, it is sometimes possible to resolve two separate peaks, the first peak when the hole passes directly under the first lamp of a two-lamp fixture, and the second peak when the hole passes directly under the second lamp of the two-lamp fixture. Since the lamp centers are typically less than ten centimeters apart, only very high sampling rates can resolve the double peaks.

[0448] h. Multiple navigation systems work together

[0449] The combined use of multiple navigation systems can create synergies that exceed the sum of their individual parts. As an example of synergy, one navigation system can be used to determine if another navigation system is not functioning properly and the navigation system that is functioning can be used. For example, a dead reckoning system can be used in conjunction with navigation using lighting signatures to determine if a light sensor is blocked. If the dead reckoning system determines movement and the light sensor does not detect a change in lighting, this may indicate that the light sensor and / or light pipe is covered, turned off, or malfunctioning. The time rate of change of the light sensor output should be consistent with the known speed and direction of motion of the cart. Different navigation systems can determine position, heading, and velocity, and small differences between the different systems can be weighted averaged based on known error rates to determine an average estimated position, heading, and velocity. Large differences may indicate that a navigation system is not functioning properly, such as if the light pipe was covered for a period of time, and when the navigation system with the difference is restored to function, it can use the latest position, velocity, and heading information from the other navigation systems to begin navigating again.

[0450] Fig.23 Another example of synergy is shown where multiple navigation systems can be used to determine a more accurate location of a cart with increased confidence. Cart 2305 can use both a dead reckoning navigation system and RSSI as discussed in the section entitled "RSSI-Assisted Dead Reckoning".

[0451] The cart 2305 starts at a first position 2310. The dead reckoning system estimates that the cart moves to a second position 2315. However, the dead reckoning system may accumulate errors at a known rate such that the first confidence level for the second position may be relatively low (50% confidence, within 4 meters, etc.). Different embodiments may use different confidence systems.

[0452] For example, previously relative to Fig.13 The depicted access point 136 may broadcast a signal to the cart 2305. Based on the RSSI calculation, the cart may determine with a second confidence level that it is located on an arc that is a fixed radial distance 2320 from the access point 136.

[0453] Based on the combined information from the dead reckoning system, it can be determined that the cart is somewhere on or between estimated position 2315 and arc 2320. For example, the data can be combined to determine that cart 2305 is at position 2325. Additionally, the confidence level that the cart is at position 2325 can be above the first confidence level and / or above the second confidence level. For example, the navigation system can determine that cart 2305 is at position 2325 with a 90% confidence level or within + / - 1 meter.

[0454] When a minimum confidence threshold for a location is determined, certain functions can be performed, such as activating the brakes on a shopping cart if shoplifting is suspected.

[0455] Although described with respect to dead reckoning and RSSI Fig.23 , however it will be appreciated that these concepts may be applied to other combinations of navigation systems.

[0456] VIII. Dual magnetometer calibration

[0457] a. motivation

[0458] Various types or forms of magnetic field sensors may be employed in various use cases. These different types of magnetometers may each have various properties that make the sensor useful in different applications or different modes of operation. For example, a magneto-impedance ("MI") magnetometer may provide higher accuracy measurements with lower power consumption and reduced hysteresis effects after exposure to a strong magnetic field compared to other types of magnetometers (e.g., an MI magnetometer). Alternatively, a magnetoresistive (MR) magnetometer such as a tunneling magnetoresistive ("TMR") magnetometer may provide accurate measurements with lower sensitivity to temperature changes compared to other types of magnetometers (e.g., an MI magnetometer), but an MR magnetometer may consume higher power than an MI magnetometer. Similarly, other types of MR magnetometers, such as anisotropic magnetoresistive ("AMR") or giant magnetoresistive ("GMR"), may be used, but tend to have greater power consumption than a TMR magnetometer. Hall effect sensors and fluxgate sensors are other forms of magnetometers that tend to have high power consumption. Therefore, different magnetometers may be used in different applications based on various aspects of the use case, with no single magnetometer type being ideally suited for all variations.

[0459] For example, MI or TMR (or other) magnetometers may be used in a dead reckoning navigation system or similar application, as described herein. For example, in a dead reckoning application, low power consumption of the various components is advantageous, and an MI magnetometer may be selected for use due to its lower power consumption. As an example, in reference to Figure 1 In the described retail store application, frequent replacement of batteries in a smart positioning system 210 installed on a large number of shopping carts 122 may be impractical, and the low power consumption approach of advantageously using the MI magnetometer can extend battery life and reduce the need for battery replacement or charging in a large number of shopping carts.

[0460] Alternatively, in dead reckoning applications where operation subject to temperature variations is beneficial, an MR magnetometer (e.g., a TMR magnetometer) may be selected for use in a dead reckoning navigation system. However, in applications that experience large temperature variations but also require low power consumption, neither a MI magnetometer nor a MR magnetometer alone may meet the power consumption and temperature requirements of a dead reckoning navigation system.

[0461] Thus, a combination of magnetometers can be utilized to obtain the benefits of both types of magnetometers without subjecting a dead reckoning navigation system (or other system) to the deficiencies of each magnetometer. For example, an MI magnetometer and an MR magnetometer can be used in or integrated into a single system for use in applications where low power consumption and high accuracy (or cryogenic sensitivity) are required but where environmental conditions (e.g., ambient temperature) may vary widely. A system including such a combination can benefit from the low power consumption and high accuracy of an MI magnetometer while benefiting from the operability of an MR magnetometer (e.g., a TMR magnetometer) with lower errors at varying temperatures.

[0462] In some applications, an example of a MI magnetometer may be a KMX62 six-degree-of-freedom sensor (produced by Kionix of Ithaca, New York) including a three-axis magnetometer and a three-axis accelerometer described herein. The KMX62 sensor may be capable of sampling each of the three axes of the magnetometer at a rate of 200 samples per second ("sps"), with a total power consumption of 25μA@1.8V or 45μW. In some applications, an example of a MR magnetometer may be an IST8315 three-axis magnetometer (produced by iSentekTechnology of Taiwan). The IST8315 may also be capable of sampling each of the three axes at a rate of 200sps, but the total power consumption is 1.45mA@2.4V or 3.48mW. Therefore, the IST8315 MR magnetometer consumes almost 80 times the power of the KMX62MI magnetometer, and its use in the smart positioning system 210 is too expensive for many commercial applications. For example, an embodiment of system 210 includes two 1500 mAh CR123 batteries. If one battery is completely dedicated to running the IST8315 magnetometer, assuming a current draw of 1.45 ma at 200 sps, the battery will only last for 1000 hours.

[0463] As mentioned above, magnetometers typically have a nonlinear response to an applied magnetic field over the field strengths of interest (e.g., from -100 to +100 μT). For the KMX62, for example, the worst-case error over this field range is about 2%. The factory calibration process can provide calibration curves for each axis of the magnetometer on a per magnetometer basis. For example, the magnetometer output voltage V for one axis can be adjusted based on the offset, gain, and nonlinearity F. NL is modeled as:

[0464] V=Offset(T)+Gain(T)*B+F NL (B), (7A) or

[0465] V=Offset(T)+Gain(T)*B+F NL(B)+Noise(B)+Hard_iron+Soft_iron(B), (7B)

[0466] Where B is the magnetic field applied on the axis and T is the temperature. Typically, the nonlinear F NL The temperature dependence of is much less than that of the offset or gain. Equation (7B) can be applied where an optional hard iron effect or soft iron effect is calibrated. The last two terms in equation (7B) represent the (optional) hard iron and soft iron calibration of the magnetometer axis. The calibration function in equation (7A) or equation (7B) can be reversed to provide the magnetic field (on the axis) based on the magnetometer voltage at a given temperature.

[0467] The nonlinearity in equation (7A) or (7B) may be intrinsic to the sensor itself or may include nonlinearity due to soft iron effects caused by soft magnetic materials near the sensor (e.g., hard iron typically means permanent magnetization effects, so hard iron causes additional offsets rather than nonlinear effects that depend on field strength). There may be two main sources of nonlinearity in the magnetic sensor itself. One is the nonlinearity of the underlying magnetically active material plus nonlinearities in the amplifier-analog-to-digital conversion signal processing chain. The other is the cross-axis effect, where the sensor elements are not perfectly orthogonal either due to manufacturing effects or because, for example, the MI sensing element is not infinitely thin, the underlying physical phenomena may cause a cross-axis response. In practice, in shopping cart dead reckoning applications, given the low magnetic field strength (typically <20μT per axis), the nonlinear effects inherent to the sensor are usually small compared to the uncorrected offset errors and noise.

[0468] As described herein and shown in equations (7A) and (7B), the MI sensor may experience changes in the offset and gain of the magnetometer axes as the temperature to which the MI sensor is exposed changes. These changes in the offset and gain of the MI magnetometer may significantly affect the accuracy of the magnetometer readings or samples. For example, changes in the offset and gain of the MI magnetometer caused by temperature changes may introduce errors into the magnetic field measurements made by the MI magnetometer. These changes in offset and gain may be specific or unique to each MI magnetometer, regardless of the initial offset and gain of the MI magnetometer or the temperature at which the MI magnetometer is located. Therefore, MI magnetometers typically have the following disadvantages: for MI magnetometers (compared to, for example, MR magnetometers), the unit-to-unit changes in gain and offset related to temperature are quite large. For example, over a temperature range of -20 degrees Celsius ("C") to 40°C, the combined unit-to-unit change in offset may be greater than 2 μT, which may cause significant heading errors in dead reckoning navigation, as described below.

[0469] In certain applications, each MI magnetometer may be subjected to significant temperature variations during the manufacturing process. In particular, the reflow process during PCBA assembly may subject the MI magnetometer to sufficiently high temperatures that may cause sufficient changes in the offset and / or gain of the MI magnetometer to render the readings or samples of the MI magnetometer inaccurate. Therefore, after the reflow process is complete, each MI magnetometer may have a specific and unpredictable offset and / or gain value. However, it is impractical to test each MI magnetometer before and after assembly to the PCBA to identify offset and / or gain fluctuations because there is not enough predictive correlation between the offset or gain before and after reflow. Therefore, identifying the offset and gain of each MI magnetometer after the reflow process with sufficient accuracy to provide accurate measurements will typically require testing each MI magnetometer (along all 3 axes) after the MI magnetometer is assembled on the PCBA at each temperature at which it may operate. It may not be cost-effective or feasible to perform such testing on each individual MI magnetometer, where the MI magnetometer may be subjected to temperature changes that may exceed 80°C. Furthermore, even if such a test is performed, it typically occurs at only a few discrete temperatures (e.g., 3 different temperatures), which is insufficient to account for the temperature variations or unit-to-unit variations discussed below. Additionally, such a test procedure adds more manufacturing cost than the solution described below that uses two magnetometers to perform temperature calibration (see, e.g., Fig.26A and Fig.26B ).

[0470] Fig.24 Examples of raw magnetic field measurements (in μT) for two axes of a KMX62 three-axis magnetometer operating at various temperatures are shown. The two axes are the horizontal x and y axes, since the horizontal axes provide the primary heading information. Measurements from a vertical z-axis magnetometer can be similarly measured and calibrated. To obtain the raw measurements, the magnetometer is rotated in a circle (about the vertical z-axis) so that each of the x- and y-axes experiences all possible horizontal magnetic field components. Optionally, and as further described below, the raw data can be processed to reduce or eliminate anomalous data points before or during the fitting process described below.

[0471] As shown, the raw data are fitted and plotted as a best fit ellipse for each of the multiple temperatures (the fit of an ideal magnetometer is a circle). Fig.24 As shown, the magnetometer of the KMX62 sensor provides raw data sets at five different temperatures, namely -15°C, 10°C, 25°C, 35°C and 50°C. For each temperature, the raw data is fitted to the best fit ellipse 2405, 2410, 2415, 2420 and 2425, respectively. The temperature variation range will affect the raw data of the magnetometer. These changes may be the result of magnetometer offset and / or gain changes caused by temperature changes. Therefore, Fig.24 It is shown that the MI magnetometer is susceptible to large temperature changes.

[0472] The center of each best fit ellipse 2405, 2410, 2415, 2420, and 2425 is an approximation of the xy offset (at that temperature), and the semi-major and semi-minor axes are approximations of the xy gain (at that temperature). The rotation angles of the ellipses are linear approximations of horizontal plane hard iron and soft iron components that are not aligned with one of the magnetometer x-axis or y-axis. The offset and gain over temperature can be fitted to a reference Fig.25 The curve described.

[0473] Fig.25 Two graphs 2505 and 2510 are shown, respectively, showing the relationship between the x-axis and y-axis offsets and temperature according to three different KMX62 devices. Graphs 2505 and 2510 each show three third-order (cubic) polynomial fit curves, one for each of the three devices. The two graphs 2505 and 2510 show that as temperature changes, the offset of each of the magnetometer devices changes, and the amount of change for each device is different. For example, at temperatures between 20°C and 30°C, the unit-to-unit offset change may be less than about 0.5 μT, while when the temperature deviates from the 20°C-30°C range, the unit-to-unit offset change may increase to greater than 5 μT to 10 μT. In other calibration implementations, a second-order (quadratic) curve may be used to fit the data, or other polynomials, rational functions, splines, or other numerical fitting techniques may be applied.

[0474] The magnetometer in a smart navigation system attached to a shopping cart may experience multiple temperatures every hour or every day. For example, in Phoenix, Arizona in the summer, when the magnetometer is inside an air-conditioned retail store, it may experience a temperature of 20°C until the shopping cart is pushed outside to the summer's 45°C high temperatures. In Minneapolis, Minnesota in the winter, the magnetometer may be around 20°C in the store, but when the cart is pushed outside into the dead of winter, it may experience temperatures reaching -20°C. Therefore, not only is the temperature variation of the offset large (e.g., greater than 5μT to 10μT), but the unit-to-unit variation between different magnetometers may also be large (e.g., greater than 5μT to 10μT).

[0475] In dead reckoning applications, heading is determined from the horizontal component of the Earth's magnetic field, which averages about 21 μT and ranges from about 17 μT to 26 μT. An error of just 2 μT in the magnetometer's measurement can result in a heading error of more than 5°, which may be too great for the precision dead reckoning applications described herein. As discussed above, the unit-to-unit change in the temperature change of the offset curve offset(T), or the gain curve gain(T), can be significantly greater than 2 μT (see, for example, Fig.25 ), and without temperature calibration of the magnetometer (also called temperature compensation), commercially unacceptable dead reckoning results may occur.

[0476] although Fig.25 A temperature-dependent offset calibration curve is shown, but a temperature-dependent gain curve (or a temperature-dependent nonlinearity curve) can be calculated in a similar manner. It has been found that most temperature-dependent device variations are caused by offset compared to gain (and both tend to be much larger than nonlinear temperature variations). Therefore, the various embodiments described below can calibrate offset, or calibrate offset and gain, or calibrate offset, gain, and nonlinearity.

[0477] b. Example Dual Magnetometer Sensor

[0478] To provide temperature-calibrated magnetic heading while also operating at low power consumption levels, the magnetic sensor can include both a first magnetometer (e.g., an MI magnetometer) that provides magnetic heading while consuming low power, and a second magnetometer (e.g., an MR magnetometer) that has a much lower unit-to-unit temperature variation in offset or gain (or nonlinearity) than the first magnetometer. The second magnetometer can be used to temperature calibrate the first magnetometer (e.g., see reference Fig.28 Method 2800 described herein). The first magnetometer and the second magnetometer can be placed sufficiently close to each other in the sensor package so that the external hard iron and soft iron calibrations of the two magnetometers are substantially the same. More generally, the first magnetometer and the second magnetometer can operate in different ways. For example, the first magnetometer can be an MI magnetometer and the second magnetometer can be an MR magnetometer (e.g., a TMR, AMR, GMR magnetometer) or a Hall effect magnetometer or a fluxgate magnetometer. For many dead reckoning applications, the unit-to-unit variation of the second magnetometer (e.g., in a curve of offset or gain versus temperature) can be less than 1 μT, less than 0.5 μT, less than 0.25 μT, or less than 4, 5, 8, 10, 15, 20, or more times the unit-to-unit variation of the first magnetometer (e.g., in a curve of offset or gain versus temperature). In some embodiments, the second magnetometer can be selected based on power consumption relative to the required accuracy (e.g., see reference Fig.29 Dynamic sampling rate sensor described in .

[0479] Fig.26AAn example of a magnetometer sensor package 2600 utilizing two magnetometers is shown. The sensor package 2600 may be a dual magnetometer sensor package that includes an MI magnetometer 2602 and an MR magnetometer 2604 (e.g., a TMR, AR, or GR magnetometer). In some embodiments, the MI magnetometer 2602 and the MR magnetometer 2604 may be coupled to a processor and memory 425 (e.g., a microcontroller, an ASIC, an FPGA, etc.) and a power supply 430 (e.g., including one or more (e.g., rechargeable) batteries). In some embodiments, one or both of the MI magnetometer 2602 and the MR magnetometer 2604 may include a temperature sensor 2610 (e.g., a temperature sensor 2610a in the MI magnetometer 2602 and a temperature sensor 2610b in the MR magnetometer 2604). In some embodiments, a single temperature sensor 2610 may be arranged close to both the MI magnetometer and the MR magnetometer. Using a separate temperature sensor 2610a, 2610b for each magnetometer can provide more accurate temperature measurements for each of these components of the sensor package. For example, having magnetometers 2602 and 2604 both include independent temperature sensors 2610a, 2610b can provide temperature measurement redundancy to ensure that the monitored temperature measurements are accurate.

[0480] The processor / memory unit 425 can receive magnetic field measurements from the magnetometers 2602, 2604 and temperature measurements from the temperature sensors 2610a, 2610b. In some embodiments, if two temperature sensors 2610a, 2610b each provide different but substantially similar temperature measurements (e.g., within 10% of each other), the processor / memory unit 425 can use the lower of the two temperature measurements, the larger of the two temperature measurements, an average of the two temperature measurements, or other methods to select a temperature measurement or temperature value to use. The processor / memory 425 can perform reference processing for the sensor 2600. Fig.28 A temperature calibration method is described to provide temperature calibrated magnetic readings.

[0481] Fig.26B Another example of a magnetometer sensor package 2600 utilizing two magnetometers is shown. In this example, the sensor package 2600 also includes a three-axis accelerometer 2620, which may be advantageous for providing tilt compensation as described herein. Fig.26B The sensor embodiment shown in provides a six-degree-of-freedom inertial sensor, including temperature calibration and low power operation.

[0482] In various embodiments, each of these magnetometers 2602 and 2604 (and optionally, accelerometer 2620) can be packaged in a single housing or shell to provide an integrated chip. For example, one or more of these components can be arranged on a single substrate or chip structure. In some embodiments, magnetometers 2602 and 2604 (and their respective temperature sensors 2610a, 2610b) can share a single substrate or chip. In some embodiments, each component of sensor package 2600 can be coupled together via a bus, and can include a buffer and a logic circuit (e.g., CMOS ASIC) for controlling the accumulation of these components and magnetometer (or accelerometer) data. In other embodiments, two magnetometers 2602, 2604 can be separate units arranged on, for example, a PCBA. As described above, in some embodiments, dual magnetometer sensor 2600 includes a Kionix KMX62 MI sensor and an iSentek IST8315 MR sensor. A potential benefit of packaging magnetometers 2602 and 2604 within a single housing or on an integrated chip is that the magnetometers are physically close to each other and are likely to be exposed to substantially the same magnetic field. Thus, the hard iron or soft iron calibration corrections used for each of magnetometers 2602 and 2604 can be substantially the same, and in some embodiments, the same hard iron or soft iron calibration can be applied to each of magnetometers 2602 and 2604. In other embodiments, the hard iron or soft iron calibration can be calculated and used separately for each magnetometer. For example, during an initial calibration process, a hard iron or soft iron calibration can be measured separately for magnetometers 2602, 2604 at their respective physical locations. These calibrations can be stored in a reference oscillator. Fig.28 The hard iron correction matrix and soft iron correction matrix 2850 are described.

[0483] although Fig.26A and 26B Three-axis magnetometers 2602, 2604 (and three-axis accelerometer 2620) are shown, but this is for illustration and not limitation. In other embodiments, any combination of one-axis, two-axis, or three-axis sensing components may be utilized. For example, in an end application where only the magnetic field in two axes needs to be accurately known (e.g., a compass in a vehicle that must be constrained to run on a generally horizontal surface, in which application the magnetometer is mounted so that the two axes of the magnetometer are permanently in a fixed orientation relative to the surface on which the vehicle runs), high accuracy in only the two horizontal axes may be required.

[0484] Reference Fig.26A , Fig.26B The described embodiment of the dual magnetometer sensor 2600 can be, for example, described with reference to Fig.29 The dynamic sampling rate described here is used to run.

[0485] Fig. 27 Components of another embodiment of an architecture 400 for a smart positioning navigation system 210 are shown. The example architecture 400 of the smart positioning system is generally similar to the reference Figure 4 The architecture 400 includes various sensors and processing elements for performing dead reckoning and / or providing precise positioning. In this embodiment, the heading sensor 405 ( Figure 4 ) includes reference Fig.26A and Fig.26B Dual magnetometer sensor package 2600 is described.

[0486] Can Figure 4 , Fig.26A , Fig.26B and Fig. 27 The processor and memory 425 (or Figure 3 The processor / memory 325 in the processor 2602 is programmed to perform the dual magnetometer temperature (or hysteresis) calibration technique described below based on the magnetic field measurements of the magnetometers 2602, 2604 and the temperature measurements of the temperature sensors 2610a, 2610b.

[0487] Configuration / status interface 445 can provide configuration and / or status information to service and / or maintenance personnel. Configuration and status interface 445 can be used by, for example, a field service technician to upload or download data related to dual magnetometer calibration, particularly temperature correction database 2805 or MI-MR pair database 2830 (these databases can be processed in a field service application to display the temperature range experienced by a particular magnetometer, for example, when using a shopping cart).

[0488] c. Example Dual Magnetometer Temperature Calibration Technique

[0489] Hard and soft iron calibration

[0490] In some embodiments, the processor / memory unit 425 can be configured to perform hard iron and soft iron calibration for the MI magnetometer 2602 and the MR magnetometer 2604. Fig. 12A The hard iron and soft iron calibration is performed as described in block 1220 of . In some embodiments, the hard iron and / or soft iron effects may not vary much with temperature within the operating temperature range of the corresponding system (see, e.g., equation (7B)). Therefore, the hard iron and / or soft iron effects do not adversely affect the variation of the magnetic field measurements from the MI magnetometer with temperature. For applications where the hard iron or soft iron effects are low or negligible relative to the required accuracy, the hard iron or soft iron calibration is optional and can be skipped.

[0491] Example Temperature Correction Database

[0492] The processor / memory 425 can maintain a temperature database for which the temperature-dependent offsets and gains are known for the MI magnetometer 2602. Table 3 shows an example of a temperature calibration data set.

[0493] MI sensor temperature x-axis offset x-axis gain Y-axis offset Y-axis gain z-axis offset x-axis gain Confidence

[0494] Table 3 - Temperatures with known MI sensor offset and gain

[0495] The database can be permanently stored in memory 425 (e.g., in a non-volatile memory such as flash memory), and can grow as additional temperatures, offsets, gains, etc. are determined. Note that in some embodiments, z-axis offsets and gains are not included because the heading information is determined based on the horizontal x-axis and y-axis magnetic field readings. In addition, as described above, since offsets are generally the primary contributor to temperature variations, gains may not be included in some embodiments. The database can include nonlinearity values, but as previously described, nonlinearity is much less sensitive to temperature than offsets or gains.

[0496] The confidence column can indicate the confidence value that the calibration process has in the calculated offset and / or gain values ​​for that particular temperature. For example, the confidence can indicate the accuracy of the offset or gain values, or indicate the degree of distribution of the measurement points of the calibration data along the elliptical fit curve (see, e.g. Fig.24 ).

[0497] Example raw MI magnetometer readings database

[0498] The processor / memory 425 can maintain a database of magnetic sensor reading pairs from the two magnetometers in the sensor 2600. For example, raw data from the MI magnetometer 2602 and temperature corrected data from the MR magnetometer 2604 can be stored in the database. The database of magnetic sensor reading pairs can include values ​​for each field as shown in the following example Table 4 (sometimes referred to as a MI-MR measurement pair database).

[0499]

[0500] Table 4 - Temperatures with known MI sensor offset and gain

[0501] Each entry in the database may include the temperature of the MI magnetometer 2602, raw sensor readings from the MI magnetometer (e.g., readings along the x-axis, y-axis, z-axis), temperature-corrected sensor readings from the MR magnetometer 2604 (e.g., readings along the x-axis, y-axis, z-axis), and an indication of the orientation of the sensor 2600 relative to the earth (e.g., determined using the accelerometer 2620). The MR magnetic field measurements can be temperature corrected based on the temperature measured by the temperature sensor 2610b. For example, because the unit-to-unit temperature change of the MR magnetometer 2604 is selected to be lower (e.g., relative to the MI magnetometer 2602), a temperature calibration model such as that shown in equation (7A) or equation (7B) can be applied (e.g., in the processor / memory 425) to the raw MR magnetometer readings to temperature correct the readings. The orientation of the sensor relative to the earth can be represented in a variety of ways, such as a direction cosine matrix, Euler angles, or a rotation quaternion.

[0502] The database described with reference to Tables 3 and 4 can be stored by the processor / memory 425 as, for example, a look-up table (LUT), which provides fast access to queries. If the application requires only two-dimensional readings, the database in Table 4 may only store two components of the magnetic field, rather than all three components. The database described with reference to Tables 3 and 4 can be stored with reference to Fig.28 The described methods are applied (eg, as databases 2805 and 2830, respectively).

[0503] Example Method for Dual Magnetometer Temperature Calibration

[0504] Fig.28 is a flow chart showing an example method 2800 for providing temperature calibrated magnetometer readings. Figures 26A-27 The method 2800 is performed based on the temperature and magnetic field data received by the dual magnetometer sensor package 2600 (eg, from the magnetometers 2602, 2604 and the temperature sensors 2610a, 2610b).

[0505] At block 2801, method 2800 reads magnetic field components and sensor temperature from MI magnetometer 2602. In some embodiments, this may include sensing platform orientation (e.g., via accelerometer 2620) based on characteristics of the platform (e.g., a shopping cart) and the platform's current operating mode.

[0506] At block 2810, the method 2800 determines that for the temperature received by the MI magnetometer 2602 (e.g., from the temperature sensor 2610a), the offset or gain of the MI magnetometer is known. The method 2800 may query the temperature correction database 2805 described with reference to Table 3 to find the offset or gain. In many cases, there may not be an exact match between the measured MI magnetometer temperature and the temperature entry in the temperature correction database 2805. In some such cases, the method can use a temperature in the database that is close enough to the measured MI magnetometer temperature. How close enough can depend on the measured MI temperature and the desired accuracy of the operation, and can be determined based on, for example, Fig.25 The offset or gain curve shown is determined by the offset or gain curve shown. For example, around 20°C, the offset between different devices is relatively small. In order to achieve the desired magnetic field accuracy (for example, less than 0.5μT for some dead reckoning applications), Fig.25 The example offset curves in show that the offset data for temperatures within about 1°C to 3°C of the measured temperature may not exceed the required accuracy (e.g., 0.5 μT). Fig.25 It can be seen that at other temperatures, the unit-to-unit variation of the offset (or gain) is much greater, and a closer match between the measured MI magnetometer temperature and the temperature entry in the database is required to achieve the desired accuracy. For example, at -10°C, the unit-to-unit variation of the offset is about 7 μT, and to achieve the desired accuracy (e.g., 0.5 μT), the offset data in the table may need to be less than 1°C. More generally, if the unit-to-unit variation at temperature T is δ(T) (e.g., in μT / °C), the temperature entry in the temperature correction database 2805 may be sufficiently close to the MI magnetometer temperature when the difference at these temperatures is less than the desired operational accuracy (in μT) divided by δ(T).

[0507] As another example, offset or gain curves (e.g., Fig.25 ) to generate statistical parameters that can be applied during method 2800. For example, a statistically significant number of MI magnetometers (e.g., 20, 50, 100, or more) can be measured over a range of temperatures, and for each measured offset or gain, a central tendency and variance (e.g., mean and standard deviation, trimmed median and interquartile range, or other statistics) can be calculated for the measured temperature. A database can be calculated with entries at each measured temperature to obtain central tendency and variance statistics for the offset or gain. In some cases, the database includes values ​​at temperatures separated by, for example, 5 or 10 degrees Celsius, and values ​​at other temperatures are found by interpolation or extrapolation. In various embodiments, the data can be stored as a separate database or in database 2805. For example Fig.25The data shown in show that the higher order derivatives of the offset (or gain) curve are essentially invariant with temperature. However, higher order statistics, such as the cross-temperature dependence of the offset (or gain) drift, may also be stored in the table if desired. For example, at 5°C, it may be found that over a valid statistical sample of the MI magnetometer, a range of -0.4 to +0.6 μT / °C covers the range of slopes of the X or Y offset with respect to temperature. Method 2800 is able to query this database to determine what the offset or gain change is at the relevant temperature of interest.

[0508] The method 2800 can branch based on the determination of block 2810. If the temperature correction lookup table does include offset or gain values ​​for temperatures sufficiently close to the received temperature, then at block 2870, these offset or gain values ​​can be used with equation (7A) or equation (7B) (or interpolated or extrapolated, if necessary) to determine the temperature-corrected MI magnetometer reading at block 2875. The method 2800 can proceed to optional block 2865, where the temperature correction lookup table can be used for hard iron or soft iron effects (e.g., as described herein, for example, with reference to FIG. 28). Fig. 12A The temperature corrected MI magnetometer readings may be calibrated as described in block 1220 of . For example, database 2850 may include a hard iron correction matrix and a soft iron correction matrix that are applied to the temperature corrected magnetometer readings.

[0509] If the temperature correction lookup table does not include an offset or gain value for a temperature sufficiently close to the received temperature, method 2800 branches to block 2815 where the magnetic field component measured by MR sensor 2604 (and its temperature as measured by, for example, temperature sensor 2610b) is read.

[0510] At block 2820, the method 2800 can generate temperature-corrected readings from the MR magnetometer 2604. For example, the temperature-corrected MR magnetometer readings can be generated based on a lookup table or a polynomial. As described above, the temperature correction for a particular model of MR magnetometer (e.g., iSentek IST8315) is the same or substantially the same for all units, and there is no need to calibrate the MR magnetometer for a single unit. For many dead reckoning applications, the unit-to-unit variation (e.g., in offset) of the MR magnetometer can be less than 1 μT, less than 0.5 μT, less than 0.25 μT, or less than 4, 5, 8, 10, 15, 20, or more times the unit-to-unit variation (e.g., in offset) of the MI magnetometer. Therefore, the temperature correction of the MR magnetometer can be determined once during the design phase of the particular model and stored and applied, for example, by the processor / memory 425.

[0511] Temperature correction may be appropriately controlled not across all units of the MR magnetometer 2604, but rather within a particular production batch (e.g., from a single wafer). Thus, temperature correction can be measured by sampling an appropriate set of MR magnetometers made from the production batch. In some manufacturing processes, a single wafer can produce tens of thousands of magnetometer parts, so generating a temperature correction table every few thousand units may not be too inefficient or expensive.

[0512] At block 2825 , the method 2800 can store the temperature corrected MR magnetometer readings and the raw MI magnetometer readings in a raw MI magnetometer readings database 2830 as described with reference to example Table 4.

[0513] At block 2835, method 2800 can determine if there are enough points at or around the received MI magnetometer temperature to estimate the MI magnetometer offset and gain (e.g., to achieve accuracy for a particular application). As described above, each entry in database 2830 of magnetic sensor reading pairs (e.g., see Table 4) can include x, y, z values ​​of the magnetic field. Ideally, these points are substantially evenly distributed on an ellipse (e.g., see Table 4). Fig.24 elliptical projection in the xy plane in θ) to enable a good fit to the data points. In practice, using a shopping cart, the set of captured points can form a nearly two-dimensional ellipse with little extension in the direction corresponding to the z-axis of the magnetometer. Note that in a shopping cart application, the magnetic sensor axes do not necessarily correspond to the axes of the shopping cart, which can be corrected by knowing the orientation of the magnetometer relative to the shopping cart or by knowing the orientation of the sensor relative to the earth, for example.

[0514] If there are not a sufficient number of points at the received MI magnetometer temperature to accurately estimate the offset or gain of the MI magnetometer (e.g., to achieve the desired operational accuracy), the method 2800 branches to box 2840 and uses the temperature-corrected MR magnetometer readings instead of the MI magnetometer readings. The method continues to optional box 2865 to further correct the temperature-corrected MR magnetometer readings based on a hard / soft iron factor (e.g., from the hard / soft iron database 2850).

[0515] If there are a sufficient number of points at the received MI magnetometer temperature to accurately estimate the offset or gain of the MI magnetometer (e.g., to achieve a desired operational accuracy), method 2800 branches to block 2845 where the accumulated MI magnetometer and MR magnetometer measurement pairs (e.g., from database 2830) are processed to calculate the offset or gain of the MI magnetometer at the current MI magnetometer temperature. This processing can be similar to that described in reference to FIG. Fig.24 and 25The method can be performed as described above (and optionally with outlier removal described below). For example, at block 2845, the method can find the offset or gain of the MI magnetometer that most closely matches the MR magnetometer reading. This offset or gain at MI magnetometer temperature can be applied, for example, via equation (7A) or (7B) to determine a temperature corrected magnetometer reading.

[0516] At block 2855, the method 2800 updates the temperature correction database 2805 (e.g., Table 3) based on the MI magnetometer offset or gain calculated for the received MI magnetometer temperature at block 2845. A confidence value can be assigned to the database 2805 and can represent a statistical measure of goodness of fit for the offset or gain (e.g., standard deviation, variance, coefficient of determination, chi-square statistic, etc.).

[0517] At block 2865, method 2800 can output temperature-corrected magnetometer readings. Optionally, the temperature-corrected magnetometer readings can be corrected for hard iron or soft iron effects (e.g., as described herein, for example, with reference to Fig. 12A For example, database 2850 can include hard iron correction matrices and soft iron correction matrices that are applied to temperature corrected magnetometer readings.

[0518] The database 2850 can include separate hard iron correction matrices and soft iron correction matrices for each of the MI magnetometer and the MR magnetometer (e.g., determined during an initial calibration). In some embodiments, at block 2845, the external magnetic field can be estimated from the measured hard iron correction and soft iron correction for the MR magnetometer. The estimated external magnetic field can be used with the hard iron correction and soft iron correction for the MI magnetometer to estimate new entries for the table 2805. At block 2865, the method 2800 can use the hard iron correction and soft iron correction for the appropriate MI sensor or MR sensor depending on the path into block 2865 (e.g., whether from blocks 2840, 2855, or 2875).

[0519] At block 2865, method 2800 can apply any further corrections or calibrations, such as, for example, hysteresis corrections described below.

[0520] Although an example of method 2800 has been described in the context of a dual magnetometer module for a smart positioning system for a shopping cart, this is for illustration only and not limitation. Method 2800 can be applied to any dual magnetometer sensor and is not limited to shopping cart or dead reckoning applications. Furthermore, other embodiments of method 2800 can be combined, merged, separated, or applied to Fig.28 Add additional processing actions to the flowchart.

[0521] For example, because MR magnetometers tend to consume more power than MI magnetometers, some embodiments of method 2800 can keep the MR magnetometer in a dormant state (e.g., turned off or in a low power mode) until the MR magnetometer needs to be read, which advantageously reduces the power consumption of the sensor. At block 2815, the MR magnetometer can be awakened so that the field components (and MR magnetometer temperature) can be read, and the MR magnetometer can then be put back to sleep.

[0522] Embodiments of method 2800 (or embodiments of dual magnetometer sensor 2600 to which the method is applied) can be very effective in practice and can provide accurate magnetic readings over a wide range of operating conditions. First, if there is no accurate temperature-corrected MI magnetometer reading, the method can provide temperature-corrected MR magnetometer readings. Therefore, the method provides magnetic readings in essentially all cases, and the dual magnetometer sensor may rarely need to report a fault condition in which the magnetic field cannot be determined. Second, the method provides magnetic field measurements while maintaining low power consumption (e.g., the MR magnetometer can be woken up and read only when needed). Third, since the dual magnetometer sensor 2600 is used in the field, the sensor will continue to accumulate magnetic field readings, offsets, and gains over a certain operating temperature range. As data accumulates, the temperature correction database 2805 (e.g., Table 3) will continue to grow. After sufficient use in the field, there may be enough entries in database 2805 that the method passes through blocks 2801, 2810, 2870, 2875, and 2865 most of the time, meaning greater use of the low-power MI magnetometers (and progressively less use of the higher-power MR magnetometers) over time. In effect, the dual magnetometer sensor 2600 "learns" the operating temperature of its environment and uses the learned data to more efficiently provide magnetic field readings over time. The dual magnetometer sensor not only provides temperature-calibrated readings (or hysteresis-corrected readings), but also acts as a "smart" sensor that learns from its environment.

[0523] d. Additional dual magnetometer calibration technology

[0524] Hysteresis Event Tracking

[0525] In some embodiments, the processor / memory unit 425 can monitor the magnetometers 2602 and 2604 to determine whether one or both of the magnetometers 2602 and 2604 has been exposed to a magnetic field component whose value is sufficient to cause substantial hysteresis in either of the magnetometers 2602 and 2604 (e.g., hysteresis that can cause magnetometer reading errors greater than, for example, 0.5 μT). For example, referring to FIG. 16 , the smart positioning system 1610 can be attached to the handlebars 1610 of the shopping cart 1600, which is close to the child seat 1620. The shopper can store a bag or handbag including a smartphone in the child seat 1620 so that the magnet in the speaker of the smartphone will be relatively close to the smart positioning system 1610. In some cases, the smartphone magnet will cause a hysteresis effect in one or both of the magnetometers 2602, 2604.

[0526] The MI magnetometer 2602 (e.g., when included in a KMX62 sensor) can have a high tolerance to exposure to high applied fields. However, when exposed to a DC magnetic field greater than about 500 Gauss (G), the MI magnetometer 2602 can be susceptible to hysteresis effects of about 1 μT to 1.5 μT. These hysteresis effects on the MI magnetometer 2602 can slowly decay over a few days (e.g., over a three-day period) after the source of magnetic interference (e.g., a smartphone) is removed.

[0527] In some cases, the MR magnetometer 2604 may be much less tolerant to exposure to high applied fields than the MI magnetometer 2602. For example, the TMR magnetometer 2604 may be subject to hysteresis effects of up to about 10 μT when exposed to a DC magnetic field greater than about 2000 G. These hysteresis effects on the TMR magnetometer 2604 may decay over a longer period of time than on the MI magnetometer 2602. In some embodiments, examples of high applied fields may include magnetic fields generated by speakers (e.g., speakers in a smartphone).

[0528] The processor / memory 425 can monitor one or both of the magnetometers 2602, 2604 for hysteresis events, which can include magnetic field readings above a hysteresis threshold appropriate for that particular magnetometer (e.g., 100G, 250G, 500G, 1000G, etc.). If a hysteresis event is detected, the processor / memory 425 can track the event (e.g., store event data in memory) and take corrective action.

[0529] For example, based on determining that the MI magnetometer 2602 has reduced sensitivity to exposure to high applied fields and recovers faster from exposure to high applied fields than the MR magnetometer 2604, the MI magnetometer 2602 can be used to correct magnetic field measurements received from the MR magnetometer 2604. For example, if the temperature correction database (e.g., Table 3) includes offset values ​​or gain values ​​for the temperature at which magnetic field measurements are received from the magnetometers 2602 and 2604, the magnetic field measurements from the MI magnetometer 2602 (corrected based on the offset values ​​or gain values ​​from the temperature correction database) can be used to generate corrected magnetic field measurements for the MR magnetometer 2604.

[0530] Outlier Rejection for Magnetic Calibration

[0531] As mentioned above, Fig.24 An example of magnetic calibration data for a magnetometer (in this example, the horizontal x and y axes) at various ambient temperatures is shown. In some cases, the measured data points may show more noise than Fig.24 The raw data may include abnormal data points. To increase the accuracy of the fitted curve, the abnormal data points are reduced or removed before or during the fitting of the data to provide, for example, Fig.25 The offset or gain curves shown may be beneficial. To provide the accuracy required for some dead reckoning applications, outlier reduction or rejection techniques may be beneficial to achieve magnetic field errors less than about 1.5 μT, particularly when the magnetometer platform is a mechanically noisy shopping cart.

[0532] An example technique for removing or reducing outliers is provided below. In this illustrative, non-limiting example, it is assumed that the xy axis of the magnetometer is horizontal. If the xy axis is tilted relative to the horizontal, an additional coordinate transformation can be applied and the following method is followed. In many cases, the magnetometer will be a component in a smart positioning system attached to a wheeled shopping cart. The cart can be rotat...

Claims

1. A magnetic sensor, comprising: Magnetoimpedance (MI) magnetometer; Magnetoresistive (MR) magnetometer; Temperature sensor; a non-transitory memory configured to store a temperature correction database and a MI-MR measurement pair database, the temperature correction database providing temperature calibration parameters for the MI magnetometer; a processor in communication with the non-transitory memory, the MI magnetometer, the MR magnetometer, and the temperature sensor, the processor being programmed to: receiving a first magnetic reading from the MI magnetometer; receiving a temperature from the temperature sensor; determining whether the temperature is represented in the temperature correction database; In response to determining that the temperature is represented in the temperature correction database: applying the temperature calibration parameters from the temperature correction database to the first magnetic reading to provide a first temperature-calibrated magnetic reading; and outputting the first temperature-calibrated magnetic reading; In response to determining that the temperature is not represented in the temperature correction database: receiving a second magnetic reading from the MR magnetometer; analyzing the MI-MR measurement pair database to determine at least one temperature calibration parameter for the MI magnetometer; applying the at least one temperature calibration parameter to the first magnetic reading to provide a second temperature-calibrated magnetic reading; storing the at least one temperature calibration parameter in the MI-MR measurement pair database; as well as The second temperature-calibrated magnetic reading is output.

2. The magnetic sensor of claim 1, wherein the MR magnetometer comprises a tunneling MR (TMR) magnetometer.

3. The magnetic sensor of claim 1, wherein the temperature sensor comprises a first temperature sensor associated with the MI magnetometer and a second temperature sensor associated with the MR magnetometer. The magnetic sensor of claim 1 , wherein the magnetic sensor further comprises an accelerometer.

5. The magnetic sensor of claim 1, wherein the MI magnetometer and the MR magnetometer are arranged in a common package.

6. The magnetic sensor of claim 1 , wherein to analyze the MI-MR measurement pair database, the processor is programmed to: determining that there is sufficient data in the MI-MR measurement pair database to determine the at least one temperature calibration parameter for the MI magnetometer; In response to determining that there is insufficient data in the MI-MR measurement pair database: applying an MR temperature correction to the second magnetic reading to provide a third temperature-calibrated magnetic reading; and The third temperature-calibrated magnetic reading is output.

7. The magnetic sensor of claim 1, wherein the processor is further programmed to apply a hard iron or soft iron calibration.

8. The magnetic sensor of claim 1, wherein the processor is further programmed to apply an outlier reduction or rejection process to the magnetic readings of the MI magnetometer.

9. The magnetic sensor of claim 1 , wherein the processor is further programmed to: Detection of hysteresis events; Corrections are applied to measurements from the MR magnetometer.

10. The magnetic sensor of claim 1, wherein the temperature calibration parameters in the temperature correction database include offset, gain, or both offset and gain.

11. The magnetic sensor of claim 1, wherein the at least one temperature calibration parameter comprises offset, gain, or both offset and gain.

12. A method of calibrating a magnetic sensor including a magneto-impedance (MI) magnetometer and a magneto-resistance (MR) magnetometer, the method comprising: obtaining MI magnetic readings from the MI magnetometer; obtaining a temperature representative of the MI magnetometer; determining whether the MI magnetometer can be temperature calibrated at the temperature; In response to determining that temperature calibration is available, outputting a temperature-calibrated MI magnetic reading; responsive to determining that the temperature calibration is not available, determining whether a temperature calibration can be generated at the temperature; in: In response to determining that a temperature calibration cannot be produced at the temperature: obtaining MR magnetic readings from the MR magnetometer; as well as outputting temperature-corrected MR magnetic readings; and In response to determining that at the temperature a temperature calibration can be generated: processing the accumulated MI sensor readings and the MR sensor readings to generate the temperature calibration; and applying the temperature calibration to the MI magnetic readings; and Outputs temperature corrected MI magnetic readings.

13. The method of claim 12, further comprising applying a hard iron correction or a soft iron correction.

14. The method of claim 12, further comprising correcting for hysteresis in at least one of the MI magnetometer or the MR magnetometer.

15. A magnetic sensor comprising: MI magnetometer; MR magnetometer; Temperature sensor; as well as A processor programmed to perform the method as claimed in any one of claims 12 to 14.

16. A navigation system comprising the magnetic sensor according to claim 15.

17. The navigation system of claim 16, configured for use with a human-propelled cart, a robotic system, or a drone.