Method for determining information related to a change of reference frame; program, information medium and system for implementing the method

A method using magnetic field vectors and transformation constraints addresses limitations of existing indoor positioning technologies by determining the global reference change without initial position knowledge, enabling accurate and robust indoor navigation for systems like robots.

FR3146210A1Active Publication Date: 2024-08-30COMMISSARIAT A LENERGIE ATOMIQUE ET AUX ENERGIES ALTERNATIVES
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
FR2023001864
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-08-30
Estimated Expiration
2043-02-28

AI Technical Summary

Technical Problem

Existing methods for determining the relative position of a system in an environment, such as a building, using magnetic field measurements are limited by the need for initial position knowledge, require following the same trajectory as initial measurements, and are not scalable for large environments like buildings with multiple floors.

Method used

A computer-implemented method that determines the change of global reference between two sets of magnetic field vectors using transformation constraints, such as preserving a common direction, without requiring initial position knowledge or trajectory matching, and using simple sensors like magnetometers for indoor positioning.

Benefits of technology

Enables accurate and robust determination of the global reference change in real-time, allowing systems like robots to navigate indoors with high precision by transforming positions in 3 or 6 degrees of freedom, without relying on GNSS or inertial measurements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

Title: Method for determining information relating to a change of reference frame; program, information medium and system for the implementation of the method. Method for determining a global change of reference frame (Tg) from the reference frame (R2) of a set of second magnetic vectors (EV2) to the reference frame (R1) of a set of first magnetic vectors (EV1), comprising: S10) the two sets of vectors (EV1,EV2) are obtained; S20) for each second vector (V2j), associated first vectors (V1i) are identified for which a distance between representations (R1i,R2j) of the first and second vectors (V1i,V2j) is less than a threshold; S30) for each association between a first vector (V1i) and a second vector (V2j), a corresponding change of reference frame (Tij) is determined; S40) groupings are identified among the identified changes of reference frame (Tij);S50) at least one piece of information relating to the global change of reference frame (Tg) is determined as a function of the grouping(s) thus determined. Program, information support and system for the implementation of the method. Figure for the abstract: 7;
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: Method for determining information relating to a change of reference; program, information support and system for implementing the method TECHNICAL FIELD OF THE INVENTION

[0001] = The field of the invention is that of methods and systems for de- complete the relative position and / or orientation of a system (robot, machine, object connected, etc.) in relation to its environment, in particular from measurements of the magnetic field. The invention has applications in particular for determining the relative position of systems inside buildings, and more generally in any place where satellite positioning (more precisely, GNSS positioning, that is to say a positioning by Geolocation and Navigation by a System of Satellites) is not available. STATE OF THE ART

[0002] — A large number of methods have been developed to determine the position relative of a system with respect to its environment. Among these methods, the methods based on the exploitation of magnetic field measurements are particu- particularly interesting because they require an available and relatively tively cheap, namely a magnetometer, and especially by the fact that they can Be implemented indoors, when GNSS-type positioning is little or not possible.

[0003] — Generally speaking, determining a relative position from the ma- genetics is based on the observation that the magnetic field varies spatially in the volume considered, such as inside a building. If the distribution of the magnetic field in this volume is known, it is then possible in theory to de- complete the relative position of an object in relation to its environment, by exploiting the available information regarding the distribution of the magnetic field.

[0004] — The documents cited in the reference list provided below disclose dif- various methods for determining the position of a fixed reference point (also called “world reference point”) associated with a mobile measuring system relative to a second world benchmark in which we already have a set of measurements.

[0005] However, these methods have multiple limitations or drawbacks.

[0006] Some of them, for example document Ref.1, assume knowing the initial position of the measuring system relative to its environment.

[0007] — Another part of these methods, moreover, does not allow the position of the measuring system only if it follows substantially the same trajectory as that (or one of those) followed by the measuring systems which carried out the initial measurements of the environment studied. Some of these methods cannot be used on a real scale, in an environment of a certain size such as a building with several floors for example. There is therefore a need for a method for determining a change of reference, making it possible to determine the change of reference between a second 'world reference' associated with a measurement system and a first world reference in which a previously determined set of measurements is already available, a method which can be implemented using simple sensors, indoors, which is robust and is capable of providing in real time at least a fairly exact approximate value of the change of reference sought. List of cited documents [1] J. Coulin, R. Guillemard, V. Gay-Bellile, C. Joly, and A. de L. Fortelle, “Tightly-Coupled Magneto-VisualInertial Fusion for Long Term Localization in Indoor Environment,” IEEE Robot. Autom. Lett.,, vol. 7, no. 2, pp. 952-959, Apr.2022, doi:10.1109 / LRA.2021.3136241 [2] À. Solin, S. Sarkka, J. Kannala, and E. Rahtu, ‘Terrain navigation in the magnetic landscape: Particle filtering for indoor positioning,” in 2016 European Navigation Conference (ENC), Helsinki, Finland, May 2016, pp. 1-9. doi: 10.1109 / EURONAV.2016.7530559. [3] Documents de brevet JP5130419, US9683851 [4] H. Luo, F. Zhao, M. Jiang, H. Ma, and Y. Zhang, “Constructing an Indoor Floor Plan Using Crowdsourcing Based on Magnetic Fingerprinting,” Sensors, vol. 17, no. 11, Art. no. 11, Nov. 2017, doi: 10.3390 / s17112678. [5] To. Basiri et al, 'Indoor location based services challenges, requirements and usability of current solutions,” Comput. Sci. Rev., vol. 24, pp. 1-12, May 2017, doi: 10.1016 / j.cosrev.2017.03.002. Statement of the invention The present invention aims to remedy all or part of the drawbacks of the state of the art cited above. For this purpose, according to the present disclosure the following method is proposed. This method is a computer-implemented method for determining at least one item of information relating to a change of global reference frame from a second reference frame associated with a second set of vectors comprising second vectors to a first reference frame associated with a first set of vectors comprising first vectors, the method comprising the following steps: S10) said first and second set of vectors are obtained; each vector being representative of a magnetic field in the real world at a position expressed in the frame associated with the set of vectors, called the measurement position: a first direction being considered as common to the first and second reference points; S20) for each second vector, zero, one or a plurality of first vectors, called first associated vector(s), are identified, for which a distance between a representation of the second vector and a representation of the first vector considered is less than an association threshold: a representation of a vector being a value obtained by applying a representation function to the vector considered and / or to the measurement position associated with the vector considered, the representation function being such that the representation of a vector is left invariant by the application to the vector and / or to the associated measurement position of any transformation respecting a set of constraints; the information to be estimated relating to the change of global reference being information not fixed by the constraint(s) of the constraint set; the constraint set includes at least the constraint that the transformation preserves at least the first invariant direction; S30) for each association between a first vector and a second vector, a change of association reference is determined respecting the constraint(s) of the constraint set and optimizing an optimization function at least: of an alignment deviation between a direction (oriented direction) of a transform of the second vector by the change of association reference and a direction (oriented direction) of the first associated vector; and / or of a position difference between a transform of the second position of measure attached to the second vector by the change of reference association and the first measurement position attached to the first vector partner, S40) groupings are identified among the association marker changes determined in step S30; S50) said at least one item of information relating to the change of global reference point is determined as a function of the grouping(s) determined in step S40. As indicated previously, this method can be implemented either to completely determine the change of global reference frame, or to determine only part of its characteristics, such as for example part of the translation components, or even the rotation component around the first direction. The implementation of the method requires determining one or more constraints, called transformation constraints, that the global reference frame change must respect. These constraints generally consist of the fact that certain characteristics of the global reference frame change are predetermined; for example, some of the degrees of freedom of the global reference frame change can be fixed at predetermined values. This or these constraints include at least, for a transformation considered, that the transformation preserves at least the first invariant direction; in other words, the transformation preserves at least any direction vector oriented along the first invariant direction. These transformation constraints can also be more restrictive. For example, in some implementations the transformation constraints further include that the transformation is the combination of a translation of predetermined value along at least one direction and / or a rotation of rotation angle of predetermined value about the first direction. The characteristic(s) of the change of reference that the present method makes it possible to determine is or are conversely one or more characteristics (or information) not fixed by said at least one transformation constraint. Each of the first and second frames is a world frame in the sense generally used in robotics. A world frame can be, in particular, a frame associated with a set of measurements (or values ​​of the magnetic field), referenced relative to a fixed point in the real world and with a fixed orientation relative to this point. Advantageously, the method only requires, to be implemented, the data relating to the two sets of vectors (namely the values ​​of these and their positions). It does not require knowledge of an initial position of the measuring system or an initial value of the global reference change, nor other measurement data (results of inertial measurements, GNSS, etc.). The method is implemented independently of any order relationship; it does not require that the vectors of one of the sets of vectors have been measured along a certain trajectory (for example, along the same path) relative to the vectors of the other set of vectors. However, the method requires that there is some overlap, i.e., a common region, between the measurement positions of the vectors of the first and second vector sets. This overlap must naturally be as large as possible. Furthermore, the method does not use a probabilistic approach, and does not make any reference to a time step, a timeline, or any other form of reference to time. In the previous definition, the reference points associated respectively with the first and second set of vectors are fixed reference points, or 'world reference points', defined in relation to the volume (building, etc.) in which the measurement positions of the set of vectors considered are located. Magnetic vectors (also called simply 'vectors' hereinafter) are vectors whose value represents the norm and direction (orientation) of the magnetic field at the measurement point. In this document, a direction is defined by a straight line associated with a sense along the straight line. In this document, the terms 'reference shift' and 'transformation' are used interchangeably. Magnetic vectors can be expressed, depending on the implementation methods, in two or three dimensions (2D or 3D). They can be expressed indifferently in Cartesian, polar or other coordinates. Each of the first and second sets of vectors can be obtained by any suitable method during step S10 (extraction from a database, etc.). These sets of vectors can for example be obtained by carrying out the following intermediate steps. In a first step S12, the first and second sets of vectors are acquired. Each set of vectors can be obtained either in a single acquisition operation or iteratively as new measurements become available. In the first case, we obtain all the values ​​of the set of vectors in a single operation: for example, we carry out a measurement campaign in a building, and we acquire in one operation all of these measurements to then implement the present method. In the second case, the present method is implemented, for example, iteratively. In this case, in step S12 the set of vectors considered can be obtained by adding to the set of vectors obtained during a previous iteration of the method one or more new measurement(s) which have been carried out since the previous iteration and will now be taken into account for the new iteration of the method. In this mode of implementation, it is also possible in step S12 to delete the oldest values ​​from the set of vectors, so that in the set of vectors considered the number of vectors retains an adapted value. In both cases (iterative implementation or not of the method), in each of the first and second sets of vectors the magnetic vectors can be acquired by measuring systems (such as magnetometers), or else be calculated, for example from a simulation of the magnetic field in the volume considered (and / or for example by interpolation from measured values). The first and second reference points have a common direction called the first direction. Any means can be used to ensure that this first direction is properly taken into account in the first and second sets of vectors. An accelerometer can, for example, be used to give the vertical direction, etc. The measuring positions can also be acquired using any suitable means, such as an inertial unit, etc. In some embodiments, from step S12 the vector sets comprise an appropriate density of vectors (in terms of number of measurement positions per unit area or volume, in the volume considered). For example, in some cases one and / or the other of the vector sets is generated by calculation, with a determined step between the measurement positions of the different vectors. Most often, a constant discretization step over the entire volume considered can be used for the vector sets. However, in some cases, a set of vectors may include vectors having at least in some areas a density of measurement positions that is too high. In this case, it may be desirable in a step S14 to sample the set of vectors considered. This operation consists of deleting certain vectors, to ensure that the remaining vectors have measurement positions distributed in a manner suitable for implementing the method. It is particularly desirable during step S14, if two vectors have measurement positions less than a certain threshold value apart, to delete one of the two vectors concerned. Finally, in certain implementation modes the discretization step (the distance between the measurement positions of two vectors having neighboring measurement positions) can be variable depending on the position in the volume considered. For example, the discretization step size can be smaller in areas where the variations in the magnetic field (the magnetic field gradient) are strong. The discretization step size can therefore be chosen to be smaller in small rooms than in large rooms. Indeed, in practice, the magnetic field varies more in a small room (such as a corridor) than in a large room. Step S20 of the method requires that representations be available. A representation is a piece of data, such as a vector, that represents a value of the magnetic field at the measurement position in question. The representation of a vector is also data which remains invariant, or unchanged, when any transformation respecting the constraint(s) of the set of constraints is applied to the vector and / or to the associated measurement position, and when the representation is then recalculated, but this time on the basis of the transform of the vector and / or its measurement position. For example, if we seek to estimate the orientation of the magnetic field, this information must be information not fixed by the constraint(s) of the set of constraints; in other words there must therefore be transformations which respect the set of constraints of the set of constraints but which vary the angle of rotation: this is the case for all rotations of an axis oriented along the first direction. In some special cases, the only transformation constraint contained in the constraint set is the fact that the transformation keeps the first direction invariant. It follows that the set of transformations that respect all transformation constraints is the union of the set of rotations about the first direction and the set of translations and their combinations. The representation of a magnetic vector is therefore in this case a piece of data representing the value of the magnetic field at the measurement position and which is left unchanged by the application to the vector and / or to the associated measurement position of any rotation around the first direction. The representation function is then the function which associates with a magnetic vector the torque comprising as first component, the norm of the component of this vector in a plane perpendicular to the first direction and as second component, the component of this vector along the first direction. Thus, in certain embodiments, each representation comprises, or is constituted by, a component representative of a standard of a component of the magnetic field in a plane perpendicular to the first direction, a component representative of a component of the magnetic field along the first direction, and / or a component representative of at least one coordinate of a measurement position. For example, if the first direction is the vertical direction, in some implementations, each representation includes a component representative of a horizontal component of the magnetic field and / or a component representative of a vertical component of the magnetic field. Conversely, if the rotation to move from the first to the second reference frame is known, the only information relating to the change of global reference frame that we might want to determine is that relating to translation. In this case, the representation function can be the identity function. Each representation includes, or is constituted by, the magnetic vector itself. In still other embodiments, each representation includes, or is constituted by, a component representative of a norm of the magnetic vector. In other implementations, the constraint set contains the constraint that the transformation keeps at least the first direction (the vertical direction) invariant; but in addition, the respective positions along the vertical axes in the first and second coordinate systems are considered equal. In this case, we therefore have three degrees of freedom, namely two in translation and one degree of freedom in rotation. In this case, the representation can be a vector whose first component is the norm of the component of the first vector in a plane perpendicular to the vertical direction, the second component is the component of the first vector in the vertical direction, and the third component is the component in the vertical direction of the measurement position. The representation in this case therefore includes part of the measurement position. Step S20 of searching for associations between first and second vectors is an important step of the proposed method. A first vector and a second vector can only be associated if the distance between the second representation (for the second vector) and the first representation (for the first vector considered) is less than the association threshold. The association threshold can be constant. However, in some implementations, the association threshold is variable, and has a higher value in areas where there is a strong variation in the magnetic field than in areas where there is a weak variation in the magnetic field. This way of selectively varying the value of the association threshold makes it possible to determine associations more efficiently by limiting the number of false positives, i.e. unjustified associations. Step S20 can be carried out so as to identify, for each second vector, all of the associations between the second vector and the first vector(s) for which the distance between the second representation of the second vector and the first representation of the first vector considered is less than the association threshold. However, step S20 can be performed by identifying only some of these associations. For example, in some embodiments in step S20, for each second vector, the first vectors that are such that the first representation and the second representation (for the two vectors considered) satisfy a predetermined proximity criterion are identified as associated first vectors. In accordance with the present disclosure, this proximity criterion imposes that the distance between the respective representations of two vectors identified as associated is less than the association threshold. An example of a proximity criterion will be given later. Such a proximity criterion may be stricter than the sole condition of requiring that the distance between the respective representations of two vectors identified as associated be less than the association threshold. In this case, the method according to the present disclosure can be implemented such that in step S20, for a second vector considered, not all of the first vectors are retained for which the distance between the representation of the second vector and the representation of the first vector is less than the association threshold: the search for first vectors with which the second vector can be associated is limited to a strict subset of the set of first vectors. This restriction can be achieved in particular by taking into account predetermined information on the relative position of the representations in the space of representations. For this purpose, in certain embodiments, for step S20, the representations of the first set of vectors are recorded in a data structure taking into account their positions in the space of the representations, for example an indexing tree, in particular a ball-tree, a quad-tree, or a kd-tree and in step S20, said first associated vector(s) are identified by browsing said data structure. By using a data structure such as an indexing tree which takes into account the respective positions of the representations in the space of the representations, the search for first vectors to be associated with the second vector is carried out only for the first vectors whose representations are neighbors (or close) to the representation associated with the second vector considered. Alternatively, in some embodiments, step S20 comprises the following steps: S22) we determine a partition in voxels of the space of representations; and S24) when the representations of a first and a second vector belong to the same voxel, we associate the first vector and the second vector. In these embodiments, step S20 preferably further comprises the following steps: S25) for at least part of the voxels, one or more adjacent voxels are identified; S26) when the representations of a first and a second vector belong to adjacent voxels, we associate the first vector and the second vector. In some implementations, the association threshold used to associate a first vector to a second vector considered can vary depending on the importance of the variations of the magnetic field in the first set of vectors. For example, if in an area of ​​the volume considered the magnetic field varies relatively slowly (spatially), then a low value can be chosen for the association threshold, for the area considered. Indeed, in this case, two magnetic vectors of the area considered, although having relatively distant measurement positions in the real world, can still have close representations (because the magnetic field varies little in the area considered). In this case, to avoid associating the two magnetic vectors, which would be useless, we choose a more severe association criterion in the area considered. Also in this case, as explained previously, we therefore reduce the value of the association threshold in the area considered, depending on the importance of the variations of the magnetic field in the area considered: The association threshold is therefore chosen so as to present a higher value in areas in which a variation of the magnetic field is strong than in areas in which a variation of the magnetic field is weak. This way of setting the association threshold values ​​can be used in particular when the space of representations is partitioned into voxels. In this case, preferably the dimensions of the voxels are chosen to be smaller in areas where the magnetic field varies strongly (per unit distance) than in areas where the magnetic field varies weakly (per unit distance). Furthermore, in certain embodiments, in step S20, for each association between a first vector and a second vector, a confidence coefficient is also calculated in the determined association; and in step S40 the groupings are identified by taking into account said confidence coefficients, and / or in step S50 the change of global reference is determined at least in part by taking into account said confidence coefficients. The various steps of the information determination method according to the present disclosure may be determined by computer program instructions. Accordingly, the present disclosure also relates to a computer program comprising instructions which, when the instructions are executed by at least one processor, cause said at least one processor to execute the steps of one of the methods presented previously. This program may use any programming language, and may be in the form of source code, object code, or code intermediate between source code and object code, such as in a partially compiled form, or in any other desirable form. The present disclosure also relates to a non-volatile computer-readable storage medium on which the computer program described above is stored. The information medium may be any entity or device capable of storing the program. For example, the medium may comprise a storage means, such as a ROM, for example a CD ROM or a microelectronic circuit ROM, or a magnetic recording means, for example a floppy disc or a hard disk. Alternatively, the information medium may be an integrated circuit in which the program is incorporated, the circuit being adapted to execute or to be used in the execution of the method in question. By extension, the present disclosure also relates to a system comprising a magnetometer, at least one processor, and an information medium as defined above, said at least one processor being configured to record magnetic field measurements carried out by the magnetometer on said information medium. Such a system can be, for example, a vehicle, a robot, a machine, a system worn by a human being (mobile phone, headset, etc.), and more generally any system whose position in relation to its environment can be useful to determine. BRIEF DESCRIPTION OF THE FIGURES Other advantages, aims and particular characteristics of the present invention will emerge from the following non-limiting description of at least one particular embodiment of the devices and methods which are the subject of the present invention, with reference to the appended drawings, in which: [Fig. 1] is a schematic top view of a building in which a robot is moving, which implements a method according to the invention to determine its position; [Fig.2] is a schematic top view of the robot shown in [Fig.1]; [Fig.3] is a schematic top view of a room of the building of [Fig.1], showing a set of first magnetic vectors and corresponding first positions, in the room of the building shown in [Fig.1]; [Fig.4] is a schematic top view of the part shown in [Fig.3], showing measurements (second magnetic vectors and corresponding second positions) made by the robot while moving in this part; [Fig.5] is a schematic top view showing identified associations between a first vector and second vectors; [Fig.6] is a schematic top view of the part shown in [Fig.3], showing both the set of first magnetic vectors and corresponding first positions shown in [Fig.3], and the second ma- genetics and corresponding second positions, after re-alignment in the building's reference frame; [Fig.7] is a flowchart showing the steps of a method for determining a change of reference according to the present disclosure; and [Fig.8] is a figure schematically representing magnetic vectors recorded in a building. DETAILED DESCRIPTION OF THE INVENTION This description is given as a non-limiting example of an embodiment. The methods according to the present disclosure will be presented in the case of an implementation on board a robot R moving inside a building B ([Fig.1]). To control robot R as it moves around building B, it is necessary to know its position at all times, in order to control its acceleration and ensure that it follows the desired trajectory. Knowing the robot's position in the building allows us to take into account the information we have about the building. For this purpose, the robot R will implement a method according to the present disclosure to know at each instant its relative position, thanks to the fact that the method makes it possible to determine the change of global reference frame Tg which makes it possible to transform a position (in 3 or 6 degrees of freedom) in the reference frame R2 associated with the measurements carried out by the robot, into a position in the reference frame R1 of the building B. It is assumed that a 3D map of the magnetic field of building B is available, obtained for example from initial measurements previously carried out in the building. This 3D map constitutes a continuous model of the magnetic field over the entire building B (the methods according to the present disclosure are however also applicable if the basic data are discrete). The magnetic vectors provided by the 3D magnetic field map, called 'first vectors', are expressed in the R1 frame of the building. This frame is oriented so that one of its directions (the 'first direction', here denoted z) is oriented in the vertical direction. This result is obtained simply by taking into account the fact that the floor of building B is horizontal. The robot R is equipped with an on-board computer 10, a magnetometer 20 and an inertial unit 30. The on-board computer 10 comprises a processor 12 and a non-volatile memory 14. Magnetometer 20 is a calibrated magnetometer integrated into the R robot. The on-board computer 10 has the hardware architecture of a computer, illustrated schematically in [Fig.2]. Generally speaking, any data processing device comprising at least one memory capable of recording data and the program which will be presented later, and one or more processors capable of executing this program, can be used for implementing the methods according to the present disclosure. With its magnetometer 20, the robot R presented here constitutes an example of a device according to the present disclosure. In the robot R the on-board computer 10 is embedded on board the robot. In the devices according to the present disclosure, the processor(s) and / or the memory(ies) may nevertheless also be separate from the magnetometer. They may for example be part of remote servers. The non-volatile memory 14 of the on-board computer 10 constitutes a recording medium in accordance with the present disclosure, readable by the processor 12 and on which is recorded a computer program in accordance with the present disclosure, comprising instructions for executing the steps of a method for determining at least one item of information relating to a change of reference in accordance with the present disclosure. The method used to calculate said at least one piece of information relating to the change of global reference frame making it possible to transform the measurement positions expressed in the own reference frame R2 of the robot R into positions in the reference frame R1 of the building B will now be presented. This method includes the following steps: 910 - Obtain first and second EVletEV2 S12 - Acquisition of vector sets The first set of EV1 vectors is generated using the building magnetic field model described previously. It contains a set of pairs of the form (V 11,P li), i=1..N, where Vli is a first vector, of index i, representative of a value of the magnetic field at a point; and P1i is this point, also called 'measurement position' (even if the value of the vector V1i does not come from a measurement, but is for example calculated, or estimated from other quantities). The coordinates of P1i are expressed in the frame R1. The distribution of magnetic vectors Vi at positions Pli is illustrated in [Fig.3] for one of the rooms of building B (room P). In this figure, the norms and orientations of the first magnetic vectors V1i are arbitrary. The data of the first set EV1 can be generated at measurement positions P1i regularly or approximately regularly spaced along the two horizontal directions x and y ([Fig.3]), with a discretization step size substantially equal in both directions. In other implementations taking more account of the vertical direction, the measurement positions P1i can be spaced along the three directions x, y and z. The second set of EV2 vectors is then acquired using the R robot. The robot R circulates in building B, successively acquiring a certain number of measurements V2j of the magnetic field (j=1...M) at successive measurement positions P2j, as shown in [Fig.4]. S14 -— Discretization of vector sets Then in step S14, if necessary, the first set of vectors EV1 and / or the second set of vectors EB2 are spatially discretized. Indeed, it is useless for a set of vectors to contain two vectors having measurement positions too close to each other. Thus, it may be useful to sample one and / or the other of the vector sets whenever it is likely to contain pairs of vectors having measurement positions that are too close to each other. 'Sampling' here means an operation of deleting data (of pairs (vector, measurement position)) from the vector set so as to ensure that for any pair of vectors in the vector set, the distance between the associated measurement positions is greater than a certain predetermined minimum value. In some embodiments, sampling may be done specifically in certain portions of the volume under study. Indeed, to increase the accuracy of the method, it is advantageous to vary the sampling step according to the position in the volume studied, and for example to have a smaller discretization step in areas where the variations of the magnetic field are faster. The discretization step can for example be chosen to be smaller in corridors than in large rooms. 920 - D inati. 'ati i 1 Vi We then associate each second magnetic vector (V2j) of the second set of vectors EV2 with, when possible, one or more first magnetic vectors V1i with which a proximity criterion between their respective representations Rli and R2j is satisfied. It may happen, depending on the implementation parameters, that a part of the second vectors are not associated with any first vector. A second vector V2j is associated with a first vector V1i when the two representations R1i and R2j of these two vectors are sufficiently close, that is to say when the distance between them in the space of representations is less than the association threshold. This value is chosen heuristically, taking into account in particular the measurement noise of the magnetometer, so that as far as possible, two vectors representing measurements of the magnetic field carried out at neighboring positions are associated. By 'neighboring positions', we mean here in particular two positions separated by a distance significantly smaller than the discretization step with which the first set of vectors EV1 is constituted. A schematic representation of some possible associations Aij between a second vector V2j and first vectors V li, represented by dotted lines, are shown in [Fig.5]. S21 — Determination of the representations of the first and second vectors To determine the associations between first and second vectors, the first step S21 consists of calculating the representations of the first and second vectors VIi and V2j, In the implementation presented here, the constraint set includes as the only constraint the fact that the transformation keeps the first vertical direction invariant. The representation R li of a magnetic vector V li is the pair (IV1ixyl, V1iz), where IV1ixyl and V1iz represent respectively the norm of the horizontal component, and the vertical component, of the magnetic vector V1i. Similarly, with analogous notations, the representation R2j of a magnetic vector V2j is the pair (V2jxy, V2jz). This choice of components allows the representations R1i and R2j to be independent of the rotation around the vertical axis Z, which is one of the information that we seek to determine. Then, different steps can be followed to finalize the choice of associations between first and second vectors. Three different variants will now be presented. According to a first variant, for each second vector, we evaluate for each of the first vectors, whether it can be associated with the second vector considered, that is to say whether it satisfies the chosen proximity criterion. This variant is simple, but can be relatively expensive in terms of computation time. Indeed, the number of possible associations to be evaluated can then be very high. To reduce computation time, it is best to limit as much as possible the number of associations evaluated during step S20. For this reason, in the second and third variants, on the contrary, for each second vector, we evaluate the first vectors likely to be associated with the second vector considered only for a strict subset of the first set of vectors. In the second variant, the proximity criterion between the representations of the first and second vectors is simply a distance criterion between representations: the distance between the representation of the first vector and that of the second vector must be less than the association threshold which thus represents a 'maximum accepted gap'. The second variant comprises a first step S21, in which the first set of vectors is recorded in the form of an indexing tree. Any type of data index tree that allows the first vectors as a function of the positions of their respective representations in the space of representations can be used. For example, one can use a kd-tree, a quadtree, etc. Advantageously, such a tree can be traversed in an optimized manner; the search for the first vector(s) having representations close to the representation of a second vector considered is done in an optimized manner without it being necessary to evaluate whether the proximity criterion is satisfied for each of the vectors of the first set of vectors. In the second step S22 of the variant, for each vector of the second set of vectors, the indexing tree is traversed so as to identify the first vector(s) whose representations satisfy the proximity criterion with respect to the representation of the second vector considered, that is to say, so as to identify the first vector(s) whose representations are at a distance less than the maximum accepted deviation (the association threshold) with respect to the representation of the second vector considered. For each second vector, the first vector(s) thus identified is then associated with the second vector considered. In the third variant, the proximity criterion between a first and a second vector is defined from voxels, which are defined in the space of representations. The third variant includes steps S22 to S24 below: S22 — Partition of the space of representations into voxels The third variant requires in a first step S22 to partition the space of representations into voxels (i.e. into elementary volumes). Each voxel has a finite volume. Using this partition, the proximity criterion can be defined simply, as follows: a first and a second vector satisfy the proximity criterion when the representations of these two vectors are part of the same voxel. S23 — Distribution of the first and second vectors in the different voxels In step S23, each of the first and second vectors is assigned to the voxel that contains its representation. In certain implementation modes, we then proceed directly to step S26: S24 — Within each voxel, association of the first and second vectors of the voxel In step S24, for each of the voxels, each of the first vectors assigned to the voxel is associated with each of the second vectors assigned to the same voxel. Since each of the voxels has a finite volume, for each pair of associated vectors, the membership of the first and second vector of the pair of vectors to the same voxel therefore imposes a maximum value on the distance between the representations res- perspectives of these two vectors. However, some implementation modes of the third variant are optimized to reduce edge effects, or limits, due to voxels and in this case include two additional steps S25 and S26. S25 — Identification of adjacent voxels At step S25, for each voxel, we identify the voxels adjacent to the voxel considered, in the set of representations. S26 — For each voxel, determination of additional associations Then in a step S26, the following associations are added to the associations between first and second vectors already identified in step S24: For each voxel, we associate each second vector contained in the voxel considered with each first vector of each voxel adjacent to the voxel considered. 330 — For each association, determination of the change of association reference Ti Once the associations between first and second vectors have been identified (in step S20), in step S30, for each association Aij, the change of association reference frame Tij is determined. This change of reference frame Tij tends, for the association considered, to transform the second vector V2j into the first associated vector V li and the second measurement position P2j attached to the second vector V2j into the first measurement position Pli of the first associated vector Vi. More precisely, the change of association reference T1ij is calculated in such a way, while respecting the constraint(s) of the constraint set, as to optimize the optimization function. This function is a function of at least: of an alignment gap between the direction of the transform Tij(V2j) of the second vector V2j by the change of association reference Tij and a direction of the first associated vector V1i; and / or of a position difference between the transform Tij(P2j) of the second position of measure P2j attached to the second vector V2j and the first position of measure Pli attached to the first associated vector V1i. The optimization function normally aims to minimize both the alignment deviation and the position deviation mentioned above. The optimization function can for example be a function aiming to minimize a weighted sum, by respective coefficients, of the alignment deviation and the position deviation. There are several ways to determine a change in the association reference Tij. For example, the following operations can be carried out: We identify the set Eij_opt of optimal transformations which optimize the optimization function among all possible transformations, without take into account the set of constraints. We also identify the set of admissible transformations Tij, which are the changes of reference which respect all the constraints. We then identify the transformation Tij as being the transformation of the set of admissible transformations Tij which is closest to the set Eij_opt of optimal transformations (in the sense of a distance in the space of changes of reference). A concrete example of calculating a change of association reference Tij will now be presented. In this example, the first and second sets of vectors EV1 and EV2 have a common first direction, which is the vertical direction z. The constraint set includes as its only constraint the fact that the transformation keeps the first vertical direction invariant. Therefore, each change of coordinate system Tij has only 4 degrees of freedom, namely three degrees of freedom in translation and one degree of freedom concerning the angle of rotation around the vertical direction. The individual change of coordinate system Tij is therefore the combination of a translation tij and a rotation rij. To calculate the change in association reference Tij, the following steps are carried out: We first define the azimuth Ali associated with a magnetic vector V li as being the rotation angle allowing the horizontal component of this vector to be aligned with the axis Ox of the R1 reference frame. We then have: Ali = arctan2(V1li_y, Vli_x) where Vli_x and Vli_y are the components of the vector V li respectively along the x and y axes, and the arctan2 function is the generalized arctangent function, known per se. We also define the azimuth A2j of the magnetic vector V2j in the frame R2. From the azimuth Ali, we define a rotation matrix R1i around the z axis (of the first direction). This matrix Rli can be of the form: -sinfAID costA 1) cos(A1i) Rli= | sin(A1i) 0 0 We then combine the position vector P1i of the magnetic vector with the rotation matrix Rli so as to form a rigid transformation block matrix T1i, of size 4x4. We constitute in the same way a rigid transformation matrix T2j. We then calculate the change of association frame Tij for the second vector V2j and the first vector V1i simply by composition of the rigid transformations Tliet T2j: Tij = Tli * T2j! The calculation of association reference frame changes can take other forms depending on the constraints taken into account in the constraint set. In a first particularly simple case, in the constraint set, determined values ​​have been assigned in advance to the three rotation angles of the global reference frame change. From this global reference frame change, it therefore only remains to estimate (at most) the 3 degrees of freedom in translation. In this specific case, the translation t_ij to go from the second reference frame R2 to the first reference frame R1 is calculated simply, and is worth: youij=P2j;-Pli In a second case, the constraint set contains the constraint that the transformation keeps at least the first direction (vertical direction) invariant; but in addition, the respective positions along the vertical axes in the first and second frames are considered equal. In this second case, the change of association reference Tij is calculated in much the same way as in the concrete example presented above, in which the only constraint in the constraint set is the fact that the transformation keeps the first vertical direction invariant, However, in this second case, to form the rigid transformation block matrix Tli, of size 4x4, we then combine a vector comprising the two components along the x and y axes of the position vector P1i and having as third component the value O (for the component along the z axis) with the rotation matrix Rli. The rigid transformation matrix T2j is formed in the same way. The change of association frame Tij is then calculated in the same way as in the concrete example presented above. Once the association reference frame changes have been determined in step S30, these reference frame changes are then grouped into one or more groupings (in English, “clusters”). This operation is carried out on the basis of all the association reference changes determined in step S30. Step S40 may be performed by any known clustering identification method, for example DBSCAN or GDBSCAN; these algorithms are disclosed in particular by the documents: - M. Ester, H.-P. Kriegel, J. Sander, and X. Xu, “A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise,” in Proceedings of the 254 ACM International Conference on Knowledge Discovery and Data Mining, 1996, pp. 226-231; And " - Sander, Jorg, et al. “Density-based clustering in spatial databases: The gdbscan algorithm and its applications. » Data mining and knowledge discovery 2 (1998): 169-194.)Step S40 makes it possible to identify relatively quickly the association reference frame changes that should be taken into account for determining the overall reference frame change (or information relating thereto), by conversely eliminating many associations and their associated reference frame changes that are 'false positives' that do not correspond at all to the overall reference frame change. In step S40, in general a large proportion of the associations are identified as being false positives, not generating a reference frame change that can be considered as corresponding to the reference frame change between the reference frames R1 and R2. In addition, if several groupings are identified, the difference between the number NI of elements of the largest grouping compared to the number N2 of elements of the second largest grouping is determined.If this difference does not seem sufficient (for example if NI is not at least equal to 1.5 x N2), the result is considered ambiguous and the method is interrupted. To perform this step S40, it is necessary to have a distance in the space of the changes of reference. Generally speaking, any suitable distance can be used. For example, one can use one of the distances usually used in the field of robotics to measure a distance between two poses of a solid body in space. For example, in the implementation presented here, a change of reference frame is represented by a vector having four components (x,y,z,p), where y is the angle of rotation allowing the transition from the second reference frame R2 to the first reference frame RI. It is naturally appropriate to take into account the periodicity of the angle 4. The following distance can for example be used: 2 2 d (T, T2)= Ja (logRtR)l + Al in 1 In this expression, a and B are strictly positive real coefficients that allow us to take into account the difference in scale between the values ​​linked to the rotation (R). The log function here designates the function allowing us to go from a 3x3 rotation matrix to its representation in the form of a rotation vector, the direction of the vector representing the axis of rotation and the norm representing the angle of rotation. changes of reference frame Finally, in step S50, the information sought relating to at the change of global reference Tg between the first and second reference. In the following description, for simplicity, we consider the case where the information that we seek to determine is the global change of reference Tg itself, that is to say, the three translation components and the rotation component around the vertical direction. Nevertheless, the methods according to the present disclosure can be used to determine only part of the information defining this global change of reference. Any suitable method may be used to determine the global reference change Tg as a function of the grouping(s) determined in step S40. The change of global reference Tg can in particular be determined according to the importance of the groupings. The global reference change Tg can thus be determined in particular based on only the largest grouping. The overall reference frame change can then be calculated based on the reference frame changes of the largest grouping. The overall reference change can be calculated, for example, as being equal to the average of the reference changes contained in the largest grouping. Any function that can obtain an average value of the transformations of the largest grouping can be used. Thus, in the case where the desired global reference frame change Tg includes rotation around the first direction, the rotation angle 1p of the global reference frame change can for example be calculated in the following way. We consider the set of rotation angles of the vectors of the largest grouping. We calculate the average C of the cosines of these angles and the average S of the sines of these angles. We then calculate the rotation angle 1p of the global change of reference as being an average angle by the generalized arctangent function Arctan2, according to the formula: wW = Arctan2(S,C) The change of reference frame Tg calculated in step S50 can, if necessary, be verified in different ways. In particular, this change of reference frame can be applied to the measurement positions P2j and to the magnetic vectors V2j so as to obtain their transforms in the reference frame R1. If these transforms do not correspond to the surrounding vectors and positions V1i, it can be concluded that the change of reference frame Tg determined in step S50 is incorrect. This verification is illustrated by [Fig.6], which schematically shows the second vectors V2j, in the position they occupy when the change of reference Tg has been applied to them: The vectors V2j are then positioned at positions Tg(P2j). As shown in [Fig.6], the values ​​of the vectors V2} thus readjusted in the R1 frame are neighbors with values ​​V li of the first vectors around the V2j vectors recalibrated in the R1 frame. In some implementations, the calculation of the global reference change Tg is weighted according to the confidence one has in the different associations between first and second vectors identified. In this case, the method may, for example, include the following operations: In step S20, for each association A1j between a first vector V1i and a second vector V2j, a confidence coefficient Cij representative of the confidence that one has in the association ij is further calculated; and in step S40 the groupings are identified by taking into account said confidence coefficients, and / or in step S50 the global reference change Tg is determined by taking into account said confidence coefficients Cij. For example, in step S40 and / or S50, associations whose confidence index is below a certain threshold may not be taken into consideration. Results The method for determining the change of reference according to the present disclosure was tested in a building extending over two levels. A magnetic map of the building was first established and made it possible to obtain a first set of EV1 vectors. The magnetic vectors thus obtained are schematically represented in [Fig.8]. The grayscale color palette represents the magnetic field norm, the values ​​of which are between 18 and 78 UT. Then, the method according to the present disclosure was tested in 51 successive experiments. For this, 51 different magnetic surveys were carried out in the building and successively provided 51 second sets of EV2 vectors. The magnetic vectors of the first and second sets of vectors EV1 and EV2 were discretized with a step of 0.5 m. Based on the successively obtained first vector set EV1 and second vector sets EV2, steps S20 to S50 of the method according to the present disclosure were then performed. To perform step S20, the first set of vectors was organized as a kd-tree. In each experiment, the search for pairs of associated vectors then made it possible to identify several thousand associations. For each experiment, the following results could be obtained: In step S30, for each association the corresponding association marker change was calculated. Step S40 of searching for groups then revealed that a very large majority (5956) of these associations provides an isolated or substantially isolated association reference change, thus constituting a false positive which cannot correspond to the overall reference change Tg sought. Conversely, step S40 revealed five groupings of reference changes (totaling 84 association reference changes), the largest grouping of these grouping 45 association reference changes. The global reference frame change Tg could then be calculated from the association reference frame changes of the largest grouping. As indicated, 51 essentially identical experiments were carried out. Each experiment was conducted using a second set of vectors obtained by making magnetic field measurements during movements of only about 18 meters within the building under consideration. In the different experiments, the method converged in 94% of cases. The experiments thus conducted made it possible to conclude that the method according to the present disclosure, in the mode of implementation presented above, when it converges, makes it possible to identify the change of global reference frame Tg with an average error of only 0.17m and 1.3° respectively as regards the translation and rotation between the first and second reference frames R1 and R2.

Claims

Claims

1. A computer-implemented method of determining at least one information relating to a change in the global reference point (Tg) of a second reference point (R2) associated with a second set of vectors (EV2) comprising second vectors (V2j) towards a first reference point (R1) associated with a first set of vectors (EV1) comprising first vectors (V1i), the method comprising the following steps: S10) we obtain said first and second set of vectors {EV1,EV2); each vector being representative of a magnetic field in the real world in a position expressed in the frame associated with the set of vectors, called measurement position; a first direction being considered as common to the first and at the second marker (R1,R2); S20) for each second vector (V2j), we identify zero, one or one plurality of first vectors (V11)), called first vector(s) associated(s), for which or which a distance between a representation (R2))) of the second vector (V2j) and a representation (R1i)) of the first vector (V1i) considered is less than an association threshold (Oh); a representation (R1i, R2j) of a vector being a value obtained in applying a representation function to the vector (V11,V2j) considered and / or at the measurement position (P1i,P2j) associated with the vector considered, the representation function being such that the representation of a vector is left invariant by the application to the vector (V1i,V2]) and / or at the measurement position (P1i,P2j) associated with any transformation respecting a set of constraints; the information to be estimated relating to the change in the global reference point being information not fixed by the constraint(s) of the set of constraint ; the constraint set includes at least the constraint that the trans- formation preserves at least the first invariant direction; S30) for each association between a first vector (V11) and a second vector (V2]), we determine a change of reference association (Tij) respecting the constraint(s) of the set of constraint and optimizing an optimization function function at least: of an alignment gap between a direction of a transform (Tij(V2j)) of the second vector (V2j) by the change of association reference (Tij) and a direction of the first vector associated (V11); and / or of a position difference between a transform (Tij(P2j)) of the second measurement position (P2j) attached to the second vector (V2j) by the change of association reference (Tij) and the first measurement position (P1i) attached to the first associated vector (V1i); S40) we identify groupings among the changes of reference point association (Tij) determined in step S30; S50) said at least one piece of information relating to the change of global reference (Tg) depending on the group(s) determined in step S40.

2. The method of claim 1 wherein for step S20, the re- presentations of the first set of vectors (EV1) are recorded in a data structure taking into account their positions in the space of representations, for example an indexing tree, including a ball-tree, a quad-tree, or a kd-tree; and in step S20, we identify said first associated vector(s) in traversing said data structure.

3. The method of claim 1, wherein step S20 comprises the following steps: S22) we determine a partition in voxels of the space of the representations- sensations; and S24) when the representations of a first and a second vector belong to the same voxel, we associate the first vector and the second vector.

4. The method of claim 3, wherein step S20 comprises: in addition to the following steps: S25) for at least part of the voxels, we identify one or more voxels adjacent; S26) when the representations of a first and a second vector belong to adjacent voxels, we associate the first vector and the second vector.

5. A method according to any one of claims 1 to 4 wherein at step S20, for each association between a first vector and a second vector, we also calculate a confidence coefficient (Cij) in the determined association: and in step S40 the groupings are identified by taking said groups into account confidence coefficients, and / or in step S50 at least one is determined in part of the global reference change (Tg) taking into account the said confidence coefficients (Cij).

6. A method according to any one of claims | to 5, wherein each representation (R1i,R2j) includes, or is constituted by, a representative component of a standard of a component of the field magnetic in a plane perpendicular to the first direction, a component representative of a component of the magnetic field following the first direction, and / or a representative component of at least minus one coordinate of a measurement position.

7. A method according to any one of claims 1 to 6, wherein each representation (R1i,R2j) includes, or is constituted by, a representative component of the magnetic vector (V1i) or of a standard of the magnetic vector (V11).

8. A method according to any one of claims | to 7, wherein the association threshold has a higher value in areas in which a variation of the magnetic field is strong than in areas in which a variation of the magnetic field is small.

9. A method according to any one of claims 1 to 8, wherein said at least one transformation constraint further includes that the transformation is the combination of a translation of prede- terminated in at least one direction and / or an angle rotation of rotation of predetermined value around the first direction.

10. | A computer program comprising instructions which, when the instructions are executed on a computer, causing the computer to perform the steps of the method according to any of the res- dications | to 9.

11. A computer-readable non-volatile storage medium having en- registered a computer program according to claim 10.

12. | System comprising a magnetometer (M), at least one processor (P), and an information carrier according to claim 10, said at least one processor being configured to record field measurements ma- magnetic measurements carried out by the magnetometer (M) on said support of information.

Citation Information

Patent Citations

  • Self-position recognition method and self-position recognition device

    JP5130419B2

  • Indoor magnetic field based location discovery

    US9683851B2

  • Self-position recognition method and self-position recognition apparatus

    JP2009289145A

  • Magnetic field mapping and indoor location sensing

    US20160084659A1

  • Systems and methods for using magnetic field readings to refine device location estimates

    US8781739B1