Methods, computer programs and devices for determining the position of a mobile device relative to a vehicle

A vehicle-generated modulated magnetic field with predefined code sequences addresses the precision and latency issues in smartphone-based vehicle access systems, enabling secure and efficient hands-free entry/go functions across different smartphones.

DE102017107832B4Active Publication Date: 2024-08-29HELLA GMBH & CO KGAA +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
DE102017107832
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Filing Date
2017-04-11
Publication Date
2024-08-29
Estimated Expiration
2037-04-11

AI Technical Summary

Technical Problem

Existing smartphone-based vehicle access and authorization systems face challenges in precise localization due to limited sensitivity and sampling rates of magnetic field sensors, environmental interference, and high installation costs, leading to low precision and increased latency in hands-free entry/go functions.

Method used

A method and device that utilize a vehicle-generated modulated magnetic field based on a predefined code sequence, such as Barker codes, to enhance localization accuracy by using a magnetic field sensor in smartphones, ensuring precise detection of the device's position relative to the vehicle, thereby improving security and reducing latency.

Benefits of technology

The solution enables precise localization of smartphones for hands-free vehicle access, enhancing security and reducing latency by using a modulated magnetic field with improved autocorrelation properties, supporting various smartphones without calibration, and maintaining low installation costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure DE102017107832B4_0000_ABST
    Figure DE102017107832B4_0000_ABST
Patent Text Reader

Abstract

Method for a vehicle (100), the method comprising: Obtaining (110) information about the presence of a mobile device (200) in the vicinity of the vehicle (100); Obtaining information about the maximum temporal sampling rate of a sensor module (22) of the mobile device (200);Providing (120) a modulated magnetic field based on information about the presence of the mobile device (100), wherein the modulated magnetic field is modulated based on a predefined code sequence, wherein an autocorrelation function of the predefined code sequence has a greater difference between the main maximum and secondary maxima than another main maximum and further secondary maxima of another autocorrelation function of a code sequence alternating at regular intervals between two states, wherein the modulated magnetic field is provided such that the modulated magnetic field has a sequence of magnetic field states based on the code sequence, wherein the time duration of a magnetic field state of the sequence of magnetic field states is based on the maximum temporal sampling rate of the sensor module of the mobile device (200); and determining (130) a position of the mobile device (200) relative to the vehicle (100) based on the modulated magnetic field.
Need to check novelty before this filing date? Find Prior Art

Description

The invention relates to methods, computer programs and devices for determining a position of a mobile device relative to a vehicle, more particularly, but not exclusively, based on a modulated magnetic field. Security for access and driving authorization to a vehicle usually plays a central role. Often, considerable effort is put into preventing unauthorized access to a vehicle. The same applies to driving authorization. Vehicle keys often incorporate sophisticated security systems to prevent or impede copying of the keys or access to the vehicle or its mobility without a valid key. These security systems can, for example, be based on a transponder activated by an immobilizer system, which could transmit an electronic access key to the vehicle. In addition to traditional access systems, vehicle keys are being developed that can enable access to the vehicle without the user explicitly activating a key transfer (so-called keyless entry) or that can enable the vehicle to be started without inserting the vehicle key into the vehicle's ignition lock (so-called keyless starting, also known as keyless go). This access can be based on a wireless technology, such as Bluetooth Low Energy (BLE). Such short-range wireless technologies can also be supported by mobile devices, such as expandable mobile phones (also known as smartphones). US patent application US 2014 / 0 155 098 A1 discloses a system for providing location information to a user. Some embodiments are directed to locating a mobile device in an emergency situation by periodically transmitting a modulated magnetic field by an emergency vehicle. If the mobile device detects the magnetic field, it transmits an emergency signal to indicate its presence to the emergency vehicle. German patent application DE 199 57 536 A1 describes an anti-theft system for a motor vehicle. The vehicle transmits a radar signal, which is received by a code transmitter, which in turn sends back a modulated and coded signal. This coded signal is then checked by the vehicle for authorization from the code transmitter. US patent application US 2012 / 0 280 865 A1 shows a localization system in which the position of a transmitter is determined based on the propagation time of electromagnetic signals to a plurality of receivers whose locations are known. Barker codes, for example, are used here because they are less susceptible to interference. Further information on Barker codes can be found in the book "Signal Processing: Analog and Digital Signals, Systems and Filters" by Martin Meyer and the article "Comparison of Combined Barker Codes for Coded Radar Use" by Ernest E. Hollis. There is a need to provide an improved concept for securing the use of a mobile device as a vehicle key. This need is addressed by the subject matter of the independent claims. Embodiments provide a method, a computer program, and a device for a vehicle. The vehicle can, for example, detect that a mobile device is nearby and that keyless access or keyless starting can then be performed. In order to precisely determine the position of the mobile device, for example in the immediate vicinity of the vehicle, outside the vehicle, or inside the vehicle interior, the vehicle can emit a magnetic field modulated based on a code sequence, for example by energizing a coil. The code sequence can be selected such that it has advantageous autocorrelation properties and can be easily detected by the mobile device and its compass magnetic field sensor. Based on this modulated magnetic field, which is received by the mobile device, it is now possible, for example, to determine where the mobile device is relative to the vehicle, for example whether it is inside the vehicle or outside.This can then be taken into account when authorizing keyless starting or keyless access. Embodiments provide a method for a vehicle. The method comprises obtaining information about a presence of a mobile device in an environment of the vehicle. The method further comprises providing a modulated magnetic field based on the information about the presence of the mobile device. The modulated magnetic field is modulated based on a predefined code sequence. The autocorrelation function of the predefined code sequence has a larger difference between the main maximum and secondary maxima than another main maximum and further secondary maxima of another autocorrelation function of a code sequence alternating at regular intervals between two states. The method further comprises determining a position of the mobile device relative to the vehicle based on the modulated magnetic field. The method can, for example, make it possible to determine the position of the mobile device inside or outside the vehicle, thus increasing security when deciding whether keyless starting (also known as keyless go) or keyless entry is permitted. Furthermore, a code sequence with good autocorrelation properties can also enable recognition of the code sequence in a modulated magnetic field with less sensitive magnetic field sensors, such as those used for compass functions in mobile devices. For example, the predefined code sequence can be based on at least one Barker code. For example, the predefined code sequence can comprise several consecutive Barker codes. Barker codes exhibit good autocorrelation properties, but are limited to short sequence lengths. By stringing together several Barker codes, longer sequences with good autocorrelation properties can be created. For example, providing the modulated magnetic field may include providing the modulated magnetic field such that the modulated magnetic field comprises a sequence of magnetic field states based on the code sequence. A temporal duration of a magnetic field state of the sequence of magnetic field states may be greater than 1 millisecond (or greater than 2 milliseconds, greater than 5 milliseconds, greater than 10 milliseconds, greater than 20 milliseconds). An increased temporal duration may enable identification of the code sequence via the mobile device's magnetic field sensor. For example, providing the modulated magnetic field may include providing the modulated magnetic field such that the modulated magnetic field has a sequence of magnetic field states based on the code sequence. The sensor module of the mobile device for the modulated magnetic field may have a maximum temporal sampling rate. Determining the position of the mobile device may be based on a ratio between a temporal duration of a magnetic field state of the sequence of magnetic field states and the maximum sampling rate of the sensor module of the mobile device. By incorporating the maximum sampling rate (e.g., by normalizing the measurement data), mobile devices with different maximum sampling rates can be supported. Alternatively or additionally, the temporal duration of a magnetic field state in the sequence of magnetic field states can be based on the maximum temporal sampling rate of the mobile device's sensor module. By adjusting the temporal duration of a magnetic field state, detection can be accelerated, for example, for mobile devices with a magnetic field sensor with a high sampling rate. For example, determining the position of the mobile device may include receiving confirmation from the mobile device of a successful comparison of the modulated magnetic field with the predefined code sequence. This allows the mobile device to perform the recognition, which can reduce communication overhead between the vehicle and the mobile device. Alternatively, determining the position of the mobile device may include receiving magnetic field sensor data of the mobile device from the mobile device. Determining the position may determine the position of the mobile device based on a comparison of the predefined code sequence with the received magnetic field sensor data. For example, by having the vehicle compare the magnetic field sensor data, the system can be better protected against tampering. For example, the modulation of the modulated magnetic field can be based on field strength modulation (amplitude modulation). Alternatively or additionally, the modulation of the modulated magnetic field can be based on polarity modulation. The determination can determine the position of the mobile device, for example, within the vehicle or in the environment surrounding the vehicle. In at least some embodiments, the method may further comprise starting the vehicle if determining the position of the mobile device results in the mobile device being inside the vehicle. In at least some embodiments, the method may further comprise unlocking the vehicle if determining the position of the mobile device results in the mobile device being outside the vehicle in an environment of the vehicle (and the vehicle has been locked). In at least some embodiments, the method may further comprise locking the vehicle if determining the position of the mobile device results in the mobile device being outside the vehicle in an environment of the vehicle (and the vehicle has been unlocked). Embodiments further provide a method for a mobile device. The method comprises measuring a modulated magnetic field. The modulated magnetic field is provided by a vehicle. The modulated magnetic field is modulated based on a predefined code sequence. The autocorrelation function of the predefined code sequence has a larger difference between the main maximum and secondary maxima than another main maximum and further secondary maxima of another autocorrelation function of a code sequence alternating at regular intervals between two states. The method further comprises comparing the measured modulated magnetic field with the predefined code sequence to determine information about a successful comparison of the modulated magnetic field with the predefined code sequence, and providing confirmation of the successful comparison of the modulated magnetic field with the predefined code sequence to the vehicle.Alternatively, the method comprises providing magnetic field sensor data about the measured modulated magnetic field to the vehicle. By providing the magnetic sensor data and / or the information about the successful comparison, for example, a position of the mobile device relative to the vehicle can be determined. For example, comparing the measured modulated magnetic field with the predefined code sequence or providing the magnetic field sensor data can begin while the modulated magnetic field is being measured. This can, for example, reduce the time required to process the magnetic field. For example, the sensor module can correspond to a compass module of the mobile device. This allows a variety of mobile devices, such as programmable mobile phones (smartphones) or programmable watches (smartwatches), to be used to measure the modulated magnetic field. For example, the compass module can be configured to measure the modulated magnetic field separately in three mutually orthogonal directions. For example, the comparison can compare the measured modulated magnetic field separately for the three mutually orthogonal directions with the predefined code sequence. Alternatively, the provided magnetic field sensor data can include sensor data about the modulated magnetic field separately for the three mutually orthogonal directions. This can, for example, enable an increased security threshold against attacks on the system. Embodiments further provide a program having program code for performing at least one of the methods according to one of the preceding claims when the program code is executed on a computer, a processor, a control module, or a programmable hardware component. Embodiments further provide a device for a vehicle. The device comprises a transmission module configured to provide a modulated magnetic field. The device further comprises a control module configured to obtain information about the presence of a mobile device in an environment of the vehicle. The control module is further configured to provide a control signal for the transmission module based on a predefined code sequence, such that the modulated magnetic field is modulated based on a predefined code sequence. An autocorrelation function of the predefined code sequence has a greater difference between the main maximum and secondary maxima than another main maximum and further secondary maxima of another autocorrelation function of a code sequence alternating at regular intervals between two states.The control module is further configured to determine a position of the mobile device relative to the vehicle based on the modulated magnetic field. For example, the vehicle may further include a communication module for communicating with a vehicle key. The transmitter module may utilize at least some of the windings of a coil of the vehicle's communication module. This may, for example, allow for improved integration of the transmitter module into the vehicle's installation space. Embodiments further provide a device for a mobile device. The device comprises a sensor module configured to measure a modulated magnetic field. The modulated magnetic field is provided by a vehicle. The modulated magnetic field is modulated based on a predefined code sequence. The autocorrelation function of the predefined code sequence has a greater difference between the main maximum and secondary maxima than another main maximum and further secondary maxima of another autocorrelation function of a code sequence alternating at regular intervals between two states. The device further comprises a control module configured to control the sensor module.The control module is further configured to compare the measured modulated magnetic field with the predefined code sequence, to determine information about a successful comparison of the modulated magnetic field with the predefined code sequence, and to provide confirmation of the successful comparison of the modulated magnetic field with the predefined code sequence to the vehicle via a communication module. Alternatively, the control module is configured to provide magnetic field sensor data about the measured modulated magnetic field to the vehicle via the communication module. For example, the sensor module 22 may correspond to a compass module of the mobile device 200. The compass module may be configured to measure the modulated magnetic field separately in three mutually orthogonal directions. The control module 24 may be configured to compare the measured modulated magnetic field separately for the three mutually orthogonal directions with the predefined code sequence. Alternatively or additionally, the control module 24 may be configured to provide the magnetic field sensor data such that the magnetic field sensor data includes sensor data about the modulated magnetic field separately for the three mutually orthogonal directions. Further advantageous embodiments are described in more detail below with reference to the exemplary embodiments illustrated in the drawings, to which exemplary embodiments are generally, however, not entirely limited. In the drawings: Fig. 1 shows a flowchart of a method for a vehicle; Fig. 1a shows a block diagram of a device for a vehicle; Fig. 2 shows a flowchart of a method for a mobile device; Fig. 2a shows a block diagram of a device for a mobile device; and Figs. 3-4 show diagrams of exemplary embodiments. Various embodiments will now be described in more detail with reference to the accompanying drawings, in which some embodiments are illustrated. In the figures, the thickness dimensions of lines, layers, and / or regions may be exaggerated for clarity. In the following description of the attached figures, which show only a few exemplary embodiments, identical reference numerals may designate identical or comparable components. Furthermore, collective reference numerals may be used for components and objects that appear multiple times in an exemplary embodiment or in a drawing, but are described together with respect to one or more features. Components or objects described with identical or collective reference numerals may be identical with respect to individual, several, or all features, for example, their dimensions, but may also be different, unless the description explicitly or implicitly indicates otherwise. Although embodiments are susceptible to various modifications and variations, embodiments are illustrated in the figures as examples and will be described in detail herein. It should be understood, however, that embodiments are not intended to limit the specific forms disclosed, but rather, embodiments are intended to cover all functional and / or structural modifications, equivalents, and alternatives within the scope of the invention. Like reference numerals designate like or similar elements throughout the description of the figures. Note that an element described as "connected" or "coupled" to another element may actually be directly connected or coupled to the other element, or there may be intervening elements. Conversely, when an element is described as "directly connected" or "directly coupled" to another element, no intervening elements are present. Other terms used to describe the relationship between elements should be interpreted similarly (e.g., "between" versus "directly between," "adjacent" versus "directly adjacent," etc.). The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments. As used herein, the singular forms "a," "an," "another," and "the" are intended to include the plural forms unless the context clearly indicates otherwise. Further, it is to be understood that terms such as "includes," "including," "having," "comprises," "comprising," and / or "having," as used herein, indicate the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more features, integers, steps, operations, elements, components, and / or groups thereof. Unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as one of ordinary skill in the art to which the embodiments belong. Furthermore, it should be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning consistent with their meaning in the context of the relevant art, and should not be interpreted in an idealized or overly formal sense, unless expressly defined herein. Due to the increasing market penetration of hands-free entry / go systems (systems that enable entry / start of the vehicle without user intervention), where a user no longer has to pick up their authorization device to trigger certain actions, the search for new and innovative aspects is becoming more important. One use case is the use of one's own smartphone as an authorization tool for vehicle access and vehicle driving. In this context, this is also referred to as a "digital key." A hands-free entry / go system often requires that the authentication device (here, the smartphone) meets conditions regarding its position, in addition to suitable secure key storage and cryptography. In some embodiments, the approach chosen for the localization technology is to generate magnetic fields on the vehicle side, which are measured on the mobile device side (e.g., the smartphone). A magnetic field sensor in the smartphone (programmable mobile phone), which is typically only used for the compass function in the smartphone, has limited sensitivity and a limited sampling rate. Furthermore, installation space in the vehicle is often limited, and additional components frequently incur additional costs. Furthermore, the system often exhibits a slow response time (and thus high latency). A hands-free entry / go system requires that the authentication means (radio key / UID) must meet cryptography requirements as well as conditions regarding its position relative to the vehicle. Embodiments provide a concrete implementation variant that can enable a smartphone to be located with sufficient precision for the hands-free entry / go function. At least some embodiments provide a smartphone-based hands-free entry / exit / go access system (a mobile device-based entry / exit / start access system without requiring the user to pick up the mobile device). Current smartphone-based authorization systems (hereinafter referred to as "digital keys") often have a low level of convenience. The communication interface is usually NFC (Near Field Communication), which means the user must pick up the smartphone and hold it in a predetermined position for the authentication process to begin. The localization technology of approaches that perform a hands-free smartphone-based authentication process (without picking up the smartphone) is usually based on the evaluation of radio signals (electromagnetically emitted radio waves). Due to environmental influences such as attenuation (e.g., by human tissue), reflections, scattering, and multipath propagation, etc., these approaches, which do not operate in the near field—in other words, where the radiated transmission power is not distributed in volume but rather over a surface propagating at the speed of light—typically have the disadvantage that there are a multitude of scenarios that can lead to the precision of position detection not meeting the requirements of a hands-free entry / go function. Simply detecting the presence of a specific magnetic field value is not useful in some cases because the signal S(t) measured by the smartphone is essentially determined by the Earth's magnetic field, which is characterized by its constant nature. In at least some embodiments, a differential approach is chosen in which a specific magnetic field is generated on the vehicle side, which changes its field strength (and preferably also polarity) in a predetermined time pattern. This is achieved, for example, by energizing the transmitting coils (which generate a magnetic field superimposed on the Earth's magnetic field) with the current I(t). This subsequently allows a filter to be used in the received signal S(t) (dominated by the Earth's magnetic field) to filter out low-frequency components (or components that are not within the range of the desired signal). Fig. 1 shows a flowchart of a method for a vehicle 100. The method includes obtaining 110 information about a presence of a mobile device 200 in an environment of the vehicle 100. The method further includes providing 120 a modulated magnetic field based on the information about the presence of the mobile device 200. The modulated magnetic field is modulated based on a predefined code sequence. An autocorrelation function of the predefined code sequence has a larger difference between the main maximum (main lobe) and secondary maxima (side lobes) than another main maximum and further secondary maxima of another autocorrelation function of a code sequence alternating at regular intervals between two states. The method further includes determining 130 a position of the mobile device 200 relative to the vehicle 100 based on the modulated magnetic field. Fig. 1a shows a block diagram of a corresponding device 10 for the vehicle 100. The device 10 comprises a transmission module 12, designed to provide a modulated magnetic field. The device 10 further comprises a control module 14, designed to obtain information about the presence of a mobile device 200 in an environment of the vehicle 100. The control module 14 is further designed to provide a control signal for the transmission module 12 based on a predefined code sequence, so that the modulated magnetic field is modulated based on a predefined code sequence. The control module 14 is further designed to determine the position of the mobile device 200 relative to the vehicle 100 based on the modulated magnetic field. Embodiments further provide the vehicle 100 comprising the device 10. The following description refers both to the method of Fig. 1 and to the device of Fig. 1a. For example, obtaining 110 the information about the presence of the mobile device 200 may comprise detecting a beacon signal of the mobile device 200 by the vehicle. For example, obtaining 110 the information about the presence may comprise providing a request to the mobile device 200 by the vehicle 100 and receiving a response from the mobile device 200 to the request. Alternatively or additionally, obtaining 110 the information about the presence may comprise receiving a request from the mobile device 200. Alternatively or additionally, obtaining 110 the information about the presence of the mobile device may comprise determining a probable presence of the mobile device 200 in the vicinity of the vehicle 100, for example, based on triggering a start / stop button, grasping a door handle, or an unsuccessful query regarding the presence of a vehicle key.The environment of the vehicle may, for example, correspond to a vehicle interior and / or an environment of the vehicle within a predefined distance outside the vehicle. For example, the method may further comprise providing an announcement about the modulated magnetic field to the mobile device. For example, the method may further comprise providing the information about the start time or the information about the defined time period for providing the magnetic field sensor data to the mobile device. For example, the method may further comprise providing the information about the predefined code sequence to the mobile device. For example, the device 10 may further comprise a communication module for communicating with the mobile device 200. For example, the communication module may be implemented similarly to a communication module 26 of a device 20 from Fig. 2a. Providing 120 the modulated magnetic field can, for example, comprise providing a control signal for a transmitting module. For example, the control signal can be designed to control the energization of an electromagnet. For example, the transmitting module 12 can comprise an electromagnet (such as an electromagnet with a ferrite core), or the transmitting module 12 can be configured to energize or control a power supply to an electromagnet. For example, providing 120 the modulated magnetic field can comprise controlling the energization of at least some of the windings of an electromagnet, such as an electromagnet of a communication module of the vehicle for communication with a vehicle key. For example, the vehicle 100 may further include a communication module for communicating with a vehicle key. The transmitting module 12 may, for example, utilize at least a portion of the windings of a coil of the vehicle's communication module. For example, the providing 120 may provide the modulated magnetic field via at least a portion of the windings of the coil of the vehicle's communication module. For example, the coil of the communication module may include a center tap to connect the transmitting module to at least a portion of the windings of the coil. To generate the magnetic field, there may be a corresponding device on the vehicle. A magnetic field is generated, for example, by energizing a coil. By using a ferrite core, the effect can be advantageously amplified by magnetizing the core. Hands-free entry / go systems already contain antennas that generate magnetic fields. However, these are often designed for operation at 125 kHz. The transmitting antenna therefore consists of a coil, an ohmic resistor, and a capacitor, which together form a resonant circuit that resonates at 125 kHz. In order to be able to use the same antenna for the application mentioned here in the much smaller frequency range (Hz instead of kHz), at least some embodiments can use a center tap of an antenna for keyless entry, so that the coil of the resonant circuit is separately accessible and can therefore be supplied with the significantly lower-frequency signals I(t).The driver circuit for generating the current I(t) through the transmitting antenna can be implemented using a simple H-bridge circuit, which can energize the coil in one direction or the other depending on the polarity of the respective bit from the code sequence, whereby the magnetic field thus generated changes its sign in time with the individual bits, which can then be measured by the smartphone as S(t). For example, the provision 120 can provide the modulated magnetic field such that a field strength (amplitude) and / or a polarity of the magnetic field is modulated based on the predefined code sequence. For example, the modulation of the modulated magnetic field can be based on field strength modulation and / or polarity modulation. For example, the code sequence can correspond to a binary sequence, i.e., a sequence of states, where the states comprise (exactly) a first value (e.g., 1) and a second value (e.g., 0 or -1). Alternatively, the code sequence can correspond to a ternary or higher-order sequence. For example, the provision 120 can provide the modulated magnetic field after the information about the presence of the mobile device has been obtained. For example, the predefined code sequence may exhibit improved autocorrelation properties compared to other sequences, such as the code sequence alternating at regular intervals between two states. For example, an autocorrelation function of the predefined code sequence may exhibit smaller secondary maxima (side lobes) than autocorrelation functions of other code sequences. For example, a factor between the main maximum and secondary maxima of the autocorrelation function of the predefined code sequence may be greater than 4 (or greater than 5, greater than 8, greater than 10). For example, the difference between the main maximum and secondary maxima of the autocorrelation function of the predefined code sequence may be at least 2 times as large (or at least 3 times as large, at least 4 times as large) as for the code sequence alternating at regular intervals between two states.For example, the code sequence alternating at regular intervals between two states may correspond to a binary code sequence that alternates between a first binary state and a second binary state every n places for n ≥ 1. For example, the predefined code sequence may have a length of at least 8 (or at least 10, at least 16, at least 24, at least 30, at least 40) characters. For example, the predefined code sequence may have a length of at most 64 (or at most 48, or at most 40, or at most 32). For example, the predefined code sequence can be based on at least one Barker code. For example, the code sequence can be a Barker code, comprise one or more Barker codes, and / or consist of a sequence of Barker codes. For example, the predefined code sequence can comprise several consecutive Barker codes. For example, the predefined code sequence can comprise a sequence and / or repetition of one or more Barker codes to obtain a predefined code sequence length. For example, at least a subset of the Barker codes within the predefined code sequence can have an inverted polarity. Due to the very limited reception sensitivity of the sensor in the smartphone (compared to the reception sensors in UIDs of typical keyless entry systems), a suitable signal coding can be selected. The use of a Barker coding (e.g. as a predefined code sequence), which has particularly suitable autocorrelation properties, serves, for example, to check for the presence of a received signal that may be buried in noise. The signal S(t) received / measured by the smartphone can - preferably after pre-filtering (e.g. removal of DC components) - be correlated (cross-correlation) with the signal sent by the vehicle via the specified current I(t) (e.g. based on a predefined code sequence) of the transmitting coils. The result of the correlation can be checked for features that indicate the existence of the magnetic field signal sent by the vehicle via I(t).Examples include: a) The quantitative result of the correlation (→ signal threshold) b) The synchronicity (i.e., the temporal equality) of the peak values of the correlation → tolerance limit of the temporal offset between the I(t) transmitted by the vehicle and the S(t) received by the smartphone. For this purpose, for example, the use of time stamps for each measured value of S(t) should be provided. Furthermore, temporal synchronization between the vehicle and the smartphone is preferably used. The number of Barker codes is limited. Barker codes are available with a maximum signal length of 13 bits. To achieve greater ranges between the vehicle and smartphone, it may be necessary to increase the signal length. For example, several Barker codes (predefined code sequences) can be concatenated sequentially. For example, the polarity of the concatenated Barker codes (predefined code sequences) can be inverted so that no DC component is generated for the duration of the measurement. Example: A Barker code of length 5 is chosen. The following applies: The signal sent to the vehicle – that is, the current I(t) flowing through the transmitting coil – should have a length of, for example, 20 bits. Therefore, the following can now be selected: The vehicle-side transmit current I(t) can be determined in this way. For example, the following applies: Where each bit can have a predetermined duration Tbit (the duration of a magnetic field state), which will be discussed later. For example, the provision 120 may provide the modulated magnetic field such that the modulated magnetic field has a sequence of magnetic field states based on the code sequence. For example, a code location of the predefined code sequence may correspond to a state of the modulated magnetic field at a predefined time (by the position of the code location within the predefined code sequence). For example, with a binary predefined code sequence, the provision 120 may provide the modulated magnetic field such that one of the two possible values of code locations of the predefined code sequence is expressed by a change in the magnetic field state, and the other of the two possible values is expressed by the magnetic field state remaining constant.Alternatively, providing 120 may provide the modulated magnetic field for a binary predefined code sequence such that one of the two possible values of code locations of the predefined code sequence is expressed by a first magnetic field state and the other of the two possible values is expressed by a second magnetic field state. For example, a temporal duration of a magnetic field state of the sequence of magnetic field states may be greater than 1 millisecond (or greater than 2 milliseconds, greater than 5 milliseconds, greater than 10 milliseconds, greater than 15 milliseconds, greater than 20 milliseconds). Due to the very limited sampling rate of the smartphone sensor (compared to the receiving sensors in UIDs (vehicle keys) of typical keyless entry systems), which typically serves (only) the compass function in the smartphone and can be queried at sampling rates of approximately 50 Hz to 200 Hz, a correspondingly slow control signal for the transmitting antennas can be generated. At the same time, it can be taken into account that the smartphone sensor essentially measures the Earth's relatively strong magnetic field, and thus large low-frequency signal changes can occur due to user movement. For this reason, too, suitable signal coding can be selected, for example, using code sequences with advantageous autocorrelation properties, such as Barker codes. Due to the limited sampling rate (approximately 100 Hz; i.e., 10 ms per sample), a different vehicle-side signal generation may be required than is the case with conventional keyless entry systems (Kessy), which generate a magnetic field with a frequency of 125 kHz. The limitation here to sampling rates of approximately 100 Hz means that the bit duration is selected so that at least one sample (preferably 2 to 4) can be used per bit. In some embodiments, the bit duration is at least 10 ms, or preferably 20 ms to 40 ms. Since the response time (user reaching for the door handle) for authentication verification (including localization) should be fast, the vehicle-side transmission signal generated by I(t) can be as short as possible. On the other hand, to achieve a long range, the code sequence can contain as many bits as possible. A suitable compromise may be to choose the bit time Tbit as short as possible (e.g., 30 ms) and limit the number of bits to approximately 30, thus achieving a signal duration of less than 1 second. The method further includes determining 130 a position of the mobile device 200 relative to the vehicle 100 based on the modulated magnetic field. For example, determining 130 may determine the position of the mobile device within the vehicle or in an environment surrounding the vehicle. For example, determining 130 the position of the mobile device 200 may determine whether the mobile device 200 is located within the vehicle. Additionally or alternatively, determining 130 the position of the mobile device 200 may determine whether the mobile device 200 is located outside the vehicle in an (immediate) environment of the vehicle. For example, determining 130 the position of mobile device 200 may include receiving magnetic field sensor data of mobile device 200 from mobile device 200. For example, determining 130 may determine the position of mobile device 200 based on a comparison of the predefined code sequence with the received magnetic field sensor data. For example, determining 130 may compare the magnetic field sensor data received from the mobile device (and measured by the mobile device) with the code sequence (e.g., correlating it with magnetic field sensor data expected based on the predefined code sequence) to determine the position of the mobile device. For example, determining 130 may further include filtering the magnetic field sensor data, such as to reduce or remove a DC component. For example, the magnetic field sensor data received from the mobile device may correspond to magnetic field sensor data measured by the mobile device.For example, the magnetic field sensor data received by the mobile device may further include a timestamp. For example, determining 130 may determine a time offset between providing 120 the modulated magnetic field and measuring the modulated magnetic field by mobile device 200 based on the timestamp to determine the position of the mobile device. For example, determining 130 the position of the mobile device can be based on a field strength of the modulated magnetic field when detected by the mobile device 200. For example, determining 130 the position can determine whether the mobile device is located in the vehicle or whether the mobile device is outside the vehicle but in the vicinity of the vehicle based on a comparison of the field strength of the modulated magnetic field with a threshold value. Alternatively or additionally, determining 130 the position of the mobile device can be based on a time offset between providing 120 the modulated magnetic field and detecting the modulated magnetic field by the mobile device 200. For example, a distance between the transmitting module and the mobile device can be inferred from the time offset. For example, the transmitting module can comprise various sub-modules for an interior of the vehicle and for an environment around the vehicle.Providing 120 the modulated magnetic field may, for example, include different modulated magnetic fields for the interior and for the area around the vehicle, for example based on different predefined code sequences. For example, determining 130 the position of the mobile device may be based on the different code sequences (and, for example, based on the received / measured field strengths of the modulated magnetic fields). For example, magnetic field sensor data can include sensor data about the modulated magnetic field separately for three mutually orthogonal directions. For example, the comparison can compare the measured modulated magnetic field separately for the three mutually orthogonal directions with the predefined code sequence. For example, the comparison can calculate a correlation of the magnetic sensor data with the predefined code sequence separately for the three mutually orthogonal directions (and, for example, combine the results of the three correlations). Alternatively, only correlations of one or two of the three mutually orthogonal directions can be considered for the comparison. For example, the correlation can be calculated in the vehicle. To do this, the smartphone transmits the measured values S(t) – consisting, for example, of the orthogonal components Hx(t), Hy(t), and Hz(t) – to the vehicle. The advantage of this is a higher security threshold against potential attacks on the system, because the attacker is forced to replicate the magnetic field generated by the vehicle in the immediate vicinity of the authorized smartphone. In the first variant, malware in the smartphone could potentially circumvent this effort. For example, determining 130 the position of the mobile device 200 (such as comparing the received magnetic field sensor data with the predefined code sequence) may begin while the modulated magnetic field is being provided 120. For example, the response time can be further reduced by calculating correlations during the signal sequence. If the smartphone is close to the transmitting antenna, it can be determined with just a few bits that the localization condition is met, and the entire process may no longer need to be completed. Alternatively, determining 130 the position of the mobile device 200 may include receiving confirmation of a successful comparison of the modulated magnetic field with the predefined code sequence from the mobile device 200. For example, the comparison of the received modulated magnetic field may be performed by the mobile device 200. For example, the correlation of I(t) and S(t) may be calculated in the smartphone. For this purpose, the information about I(t) may, for example, be transmitted to the smartphone in advance. For example, a sensor module of mobile device 200 for the modulated magnetic field may have a maximum temporal sampling rate. For example, the method may further comprise obtaining information about the maximum temporal sampling rate of the sensor module of mobile device 200. For example, the maximum temporal sampling rate may be below 200 Hz (or below 150 Hz, below 100 Hz, below 50 Hz). For example, determining 130 the position of mobile device 200 may be based on a ratio between a temporal duration of a magnetic field state of the sequence of magnetic field states and the maximum sampling rate of the sensor module of mobile device 200. For example, determining 130 the position of mobile device 200 may include normalizing magnetic field sensor data received from mobile device 200 based on the maximum sampling rate of the sensor module of mobile device 200. To keep the thresholds (see feature 1b) consistent across a wide range of possible smartphones and thus eliminate the effort required for possible calibrations, the sampling rate can be taken into account during cross-correlation. The signal S(t) can be divided by the respective usable sampling rate before being used in the cross-correlation. This allows scaling to be implemented such that the results and peak values of the cross-correlation function are independent of the sampling rate, allowing thresholds to be set independently of the smartphone, without the need for device-specific calibration. Alternatively or additionally, the temporal duration of a magnetic field state of the sequence of magnetic field states may be based on the maximum temporal sampling rate of the sensor module of the mobile device 200. For example, the provision 120 may provide the modulated magnetic field such that the temporal duration of magnetic field states of the sequence of magnetic field states is adapted to the maximum temporal sampling rate of the mobile device 200. For example, the transmitting module 12 can comprise an electromagnet, such as an electromagnet with a ferrite core. For example, the transmitting module 12 can comprise a controllable current source for controlling an electromagnet. For example, the transmitting module 12 can be configured to output digital (e.g., binary) signals as a modulated magnetic field. Alternatively or additionally, the transmitting module 12 can comprise an amplifier circuit configured to control an electromagnet based on the control signal of the control module. For example, the control module 14 can be configured to provide the control signal as a digital signal (e.g., with digital bit values) or as an analog voltage or as an analog current. In exemplary embodiments, the control module 14 can correspond to any controller or processor or a programmable hardware component. For example, the control module 14 can also be implemented as software programmed for a corresponding hardware component. In this respect, the control module 14 can be implemented as programmable hardware with appropriately adapted software. Any processors, such as digital signal processors (DSPs), can be used. Exemplary embodiments are not limited to a specific type of processor. Any processor or multiple processors are conceivable for implementing the control module 14. In at least some embodiments, vehicle 100 could, for example, correspond to a land vehicle, a watercraft, an aircraft, a rail vehicle, a road vehicle, a car, an off-road vehicle, a motor vehicle, or a truck. Mobile device 200 can, for example, correspond to a mobile phone, a programmable mobile phone (also known as a smartphone), a tablet computer, a wearable device, a fitness tracker, or a programmable watch (also known as a smartwatch). Fig. 2 shows a flowchart of a method for a mobile device 200. The method includes measuring 210 a modulated magnetic field. The modulated magnetic field is provided by a vehicle 100 (for example, by a device 10 for the vehicle 100 according to Fig. 1a). The modulated magnetic field is modulated based on a predefined code sequence. An autocorrelation function of the predefined code sequence has a larger difference between the main maximum and secondary maxima than another main maximum and further secondary maxima of another autocorrelation function of a code sequence alternating at regular intervals between two states. The modulated magnetic field and the predefined code sequence can, for example, be implemented similarly to the modulated magnetic field and the predefined code sequence introduced in connection with Fig. 1. Fig. 2a shows a block diagram of a corresponding device 20 for the mobile device 200.The device 20 comprises a sensor module 22 configured to measure a modulated magnetic field. The device 20 further comprises a control module 24 configured to control the magnetic field and to execute the method of Fig. 2. The device 20 further comprises a communication module 26 configured to communicate with the vehicle 100. Embodiments further provide the mobile device 200 comprising the device 20. The following description refers to both the method of Fig. 2 and the device of Fig. 2a. For example, the method may further include providing a signal buoy (e.g., via the communication module 26) to the vehicle. For example, the mobile device may measure the modulated magnetic field in response to the signal buoy. For example, the communication module 26 may be configured to communicate via Bluetooth (e.g., low-energy Bluetooth). The method further includes comparing 220a the measured modulated magnetic field with the predefined code sequence to determine information about a successful comparison of the modulated magnetic field with the predefined code sequence, and providing 230a confirmation of the successful comparison of the modulated magnetic field with the predefined code sequence to the vehicle 100 (for example, via the communication module 26). Comparing 220a the measured modulated magnetic field with the predefined code sequence can, for example, be implemented similarly to determining the position of the mobile device 200 based on a comparison of the predefined code sequence with the received magnetic field sensor data of the method for the vehicle of Fig. 1. For example, the method may further comprise receiving information about the predefined code sequence from the vehicle 100, such as via a communication module 26. For example, the information about the predefined code sequence may comprise the predefined code sequence or a reference to the predefined code sequence. For example, the device 20 may comprise a memory with a plurality of predefined code sequences and / or a plurality of predefined parts (such as Barker codes) of possible predefined code sequences. The method may, for example, further comprise calculating the predefined code sequence based on the information about the predefined code sequence. Alternatively, the method further comprises providing 220b magnetic field sensor data about the measured modulated magnetic field to the vehicle 100 (for example, via the communication module 26). For example, the magnetic field sensor data may comprise a digital or analog representation of the magnetic field measured via the sensor module 22. The measured magnetic field may, for example, comprise the Earth's magnetic field superimposed on the modulated magnetic field. For example, providing 220b may provide the magnetic field sensor data for the measured modulated magnetic field from a starting time and / or for a defined time period to the vehicle. For example, the method may further comprise obtaining information about the starting time or information about the defined time period for providing the magnetic field sensor data from the vehicle, for example, via the communication module 26. For example, comparing 220a the measured modulated magnetic field with the predefined code sequence or providing 220b the magnetic field sensor data may begin while the modulated magnetic field is being measured. For example, comparing 220a the measured modulated magnetic field with the predefined code sequence or providing 220b the magnetic field sensor data may begin before the modulated magnetic field has been fully measured. For example, the response time can be further reduced by calculating correlations during the signal sequence. If the smartphone is close to the transmitting antenna, it can be determined with just a few bits that the localization condition is met, and the entire process may no longer need to be completed. For example, the sensor module 22 may include a magnetic field sensor, such as a Hall sensor. For example, the sensor module 22 may be configured to measure the modulated magnetic field provided by the vehicle 100. For example, the sensor module 22 may correspond to a compass module of the mobile device 200. The compass module may be configured to measure the modulated magnetic field separately in three mutually orthogonal directions. For example, the comparison (e.g., comparing the measured modulated magnetic field with the predefined code sequence of Figures 1 and / or 2) can compare the measured modulated magnetic field separately for the three mutually orthogonal directions with the predefined code sequence. Alternatively, the provided magnetic field sensor data can include sensor data about the modulated magnetic field separately for the three mutually orthogonal directions. This can, for example, enable an increased security threshold against attacks on the system. For example, the control module 24 can be configured to compare the measured modulated magnetic field separately for the three mutually orthogonal directions with the predefined code sequence. Alternatively or additionally, the control module 24 can be configured to provide the magnetic field sensor data such that the magnetic field sensor data includes sensor data about the modulated magnetic field separately for the three mutually orthogonal directions. The compass / magnetic field sensor in a smartphone usually features a three-axis sensor that separately measures the three orthogonal magnetic field components Hx, Hy, and Hz. These three signal components together describe the signal S(t) = [Hx, Hy, Hz] received by the smartphone. This ensures that the smartphone's position is irrelevant for this localization activity, because the position only introduces DC components into S(t), which are irrelevant anyway. In at least some embodiments, if S(t) consists of Hx, Hy, Hz, these individual components can each be correlated individually with the transmitted signal I(t) (or the associated code sequence). For example, no magnitude calculation can be performed beforehand. The results of the individual correlations can then be combined, for example, additively. Furthermore, an evaluation of the individual results is also possible, for example, based on the quantitative result of the correlation (→ signal threshold) or the synchronicity. In exemplary embodiments, the control module 24 can correspond to any controller or processor or a programmable hardware component. For example, the control module 24 can also be implemented as software programmed for a corresponding hardware component. In this respect, the control module 24 can be implemented as programmable hardware with appropriately adapted software. Any processors, such as digital signal processors (DSPs), can be used. Exemplary embodiments are not limited to a specific type of processor. Any processor or even multiple processors are conceivable for implementing the control module 24. In exemplary embodiments, the communication module 26 may contain typical transmitter and receiver components. These may include, for example, one or more antennas, one or more filters, one or more mixers, one or more amplifiers, one or more diplexers, one or more duplexers, etc. For example, the communication module 26 may be configured to communicate with the vehicle 100 in an encrypted manner. More details and aspects of the method for the mobile device and / or device 20 will be provided in connection with the concept or examples described previously (e.g., Fig. 1 and Fig. 1a). The method for the mobile device and / or device 20 may include one or more additional optional features corresponding to one or more aspects of the proposed concept or the described examples, as described previously or subsequently. Embodiments further provide a system comprising a vehicle 100 with a device 10 according to Fig. 1a and a mobile device 200 with a device 20 according to Fig. 2a. The described method can, for example, allow the magnetic field sensor (compass sensor) in the smartphone to be used for localization purposes within a hands-free entry / go system. The described solution can enable a high or scalable range between the smartphone and the vehicle. In at least some embodiments, it is robust against normal user movements and against the influence of the earth's magnetic field. It can, for example, take into account limitations such as the sampling rate and sensitivity of the magnetic field sensor in the smartphone and can keep changes in installation space and costs as low as possible. At least some embodiments enable use for a wide variety of smartphones, while the administrative effort is minimized (e.g., no calibration). Fig. 3 shows a diagram of an exemplary embodiment in which a user has installed an authorization for the vehicle 100 on their smartphone 200. They use the "DigitalKey" app, which can, for example, always run automatically in the background. The smartphone can be configured to cyclically send short beacon signals based on Bluetooth Low Energy (BLE) in the background. The vehicle can, for example, be configured to constantly listen for a known smartphone within radio range, for example, to check whether a corresponding BLE beacon has been detected. The user can approach the vehicle with their smartphone (in their pocket). The vehicle can be trained to recognize the BLE beacon and, based on this, initiate communication between the smartphone and the vehicle, which can then communicate quickly with each other in short cycles. The user (with their smartphone in their pocket) can reach for the door handle. The vehicle can be configured to recognize the customer's request to unlock the vehicle and initiate the authentication process. If authentication using the regular UID (vehicle key) fails, the vehicle can be configured to initiate a check to determine whether a valid digital key is nearby. The following can now happen: The smartphone and the vehicle can synchronize (this could possibly already have happened beforehand). The vehicle can inform the smartphone that it is now starting to generate the magnetic field signal, for example, in a coverage area 300 of an outward-facing transmitting antenna. The vehicle starts the current supply I(t) to the lateral / outward-facing transmitting antenna. The smartphone can be designed to read the magnetic field sensor in the smartphone at maximum sampling rate (all 3 components Hx, Hy, Hz) and send the data to the vehicle, for example (preferably) encrypted. The vehicle can be configured to receive the data measured by the smartphone and correlate it with the signal it generates (defined by I(t)). The vehicle can be configured to check whether the smartphone has measured the magnetic field signal it transmitted. If so, the smartphone is within a defined and limited proximity to the vehicle. For example, the requirements of an application for outdoor use (Exit / Entry) can be:▪ Range (smartphone in jacket / trouser pocket)◯ Secure <erkennung>: d=0...0.8m◯ Safe <nicht-erkennung>: d > 1.5m▪ Reaction speed: <1s Verification of credentials (access data, i.e., whether the smartphone has a valid digital key) can be performed over the radio channel in the usual way (e.g., challenge / response). If all conditions are met, the vehicle unlocks, allowing the user to open the vehicle. The same applies to locking. More details and aspects of the method are mentioned in connection with the concept or examples described previously (e.g., Figs. 1 to 2a). The method may include one or more additional optional features corresponding to one or more aspects of the proposed concept or the described examples, as described previously or subsequently. Fig. 4 shows a diagram of another exemplary embodiment for granting driving authorization to a user with a smartphone. The user has authorization for vehicle 100 on their smartphone 200. They can use the "DigitalKey" app, which always runs automatically in the background. The user has already entered the vehicle. For example, there is a radio connection between the smartphone (in the user's pocket or stored in the vehicle interior) and the vehicle. The user can press the start / stop button. The vehicle can recognize the customer's request to start the vehicle and initiate the authentication process. If authentication using the regular UID fails (or if the vehicle was previously unlocked using the digital key), the vehicle can be configured to initiate a check to determine whether a valid digital key is present nearby, specifically in the vehicle interior. The following can now happen: The smartphone and the vehicle can synchronize (this could possibly already have happened beforehand). The vehicle can inform the smartphone that it is now starting to generate the magnetic field signal, for example, in a coverage area 400 of an internal transmitting antenna. The vehicle starts the current supply I(t) to the internal transmitting antenna. The smartphone can be designed to read the magnetic field sensor in the smartphone at maximum sampling rate (all 3 components Hx, Hy, Hz) and send the data to the vehicle, for example (preferably) encrypted. The vehicle can be designed to receive this data measured by the smartphone and correlate it with the self-generated signal (defined by I(t)). The vehicle can be designed to check whether the smartphone has measured the magnetic field signal it sent, in particular whether the signal strength of the correlation exceeds a predetermined threshold, which can also be used to differentiate between indoor and outdoor space. If the digital key is detected as being inside, the localization condition can be considered met. The credentials (i.e., whether the smartphone has a valid digital key) can be verified over the radio channel using the usual method (e.g., challenge / response). If all conditions are met, the vehicle starts, allowing the user to drive the vehicle. More details and aspects of the method are mentioned in connection with the concept or examples described previously (e.g., Figs. 1 to 3). The method may include one or more additional optional features corresponding to one or more aspects of the proposed concept or the described examples, as described previously or subsequently. Another embodiment is a computer program for performing at least one of the methods described above when the computer program runs on a computer, a processor, or a programmable hardware component. Another embodiment is also a digital storage medium that is machine- or computer-readable and that has electronically readable control signals that can interact with a programmable hardware component to execute one of the methods described above. The features disclosed in the above description, the following claims and the attached figures can be important and implemented both individually and in any combination for the realization of an embodiment in its various forms. Although some aspects have been described in connection with a device, it is understood that these aspects also represent a description of the corresponding method, so that a block or component of a device can also be understood as a corresponding method step or as a feature of a method step. Similarly, aspects described in connection with or as a method step also represent a description of a corresponding block, detail, or feature of a corresponding device. Depending on specific implementation requirements, embodiments of the invention may be implemented in hardware or software. The implementation may be performed using a digital storage medium, such as a floppy disk, a DVD, a Blu-ray disc, a CD, a ROM, a PROM, an EPROM, an EEPROM, or a FLASH memory, a hard disk, or other magnetic or optical storage device storing electronically readable control signals that can interact or interact with a programmable hardware component to perform the respective method. A programmable hardware component can be formed by a processor, a computer processor (CPU = Central Processing Unit), a graphics processor (GPU = Graphics Processing Unit), a computer, a computer system, an application-specific integrated circuit (ASIC = Application-Specific Integrated Circuit), an integrated circuit (IC = Integrated Circuit), a single-chip system (SOC = System on Chip), a programmable logic element or a field-programmable gate array with a microprocessor (FPGA = Field Programmable Gate Array). The digital storage medium can therefore be machine- or computer-readable. Some embodiments thus comprise a data carrier having electronically readable control signals capable of interacting with a programmable computer system or a programmable hardware component such that one of the methods described herein is performed. One embodiment is thus a data carrier (or a digital storage medium or a computer-readable medium) on which the program for performing one of the methods described herein is recorded. In general, embodiments of the present invention can be implemented as a program, firmware, computer program, or computer program product with program code or data, wherein the program code or data is effective to perform one of the methods when the program runs on a processor or a programmable hardware component. The program code or data can also be stored, for example, on a machine-readable medium or data carrier. The program code or data can be present, among other things, as source code, machine code, or bytecode, as well as other intermediate code. A further embodiment is a data stream, a signal sequence, or a sequence of signals that represents the program for performing one of the methods described herein. The data stream, the signal sequence, or the sequence of signals can be configured, for example, to be transferred via a data communication connection, for example, via the Internet or another network. Thus, embodiments also include signal sequences representing data that are suitable for transmission via a network or data communication connection, wherein the data represents the program. A program according to one embodiment can implement one of the methods during its execution, for example, by reading memory locations or writing one or more pieces of data into them, which may trigger switching operations or other processes in transistor structures, amplifier structures, or other electrical, optical, magnetic, or other functionally principle-based components. Accordingly, by reading a memory location, data, values, sensor values, or other information can be acquired, determined, or measured by a program. A program can therefore acquire, determine, or measure quantities, values, measured quantities, and other information by reading one or more memory locations, and can trigger, initiate, or perform an action and control other devices, machines, and components by writing to one or more memory locations. The above-described embodiments are merely illustrative of the principles of the present invention. It is understood that modifications and variations of the arrangements and details described herein will be apparent to others skilled in the art. Therefore, it is intended that the invention be limited only by the scope of the following claims and not by the specific details presented in the description and explanation of the embodiments herein. List of reference symbols 10 Device for a vehicle 12 Transmitter module 14 Control module 20 Device for a mobile device 22 Sensor module 24 Control module 26 Communication module 100 Vehicle 110 Obtaining information about the presence of the mobile device 120 Providing a modulated magnetic field 130 Determining a position of the mobile device 200 Mobile device 210 Measuring a modulated magnetic field 220a Comparing the modulated magnetic field 220b Providing magnetic field sensor data 230a Providing confirmation 300 Coverage area of the modulated magnetic field 400 Coverage area of the modulated magnetic field < / erkennung>

Claims

Method for a vehicle (100), the method comprising:obtaining (110) information about a presence of a mobile device (200) in an environment of the vehicle (100);obtaining information about a maximum temporal sampling rate of a sensor module (22) of the mobile device (200);Providing (120) a modulated magnetic field based on the information about the presence of the mobile device (100), wherein the modulated magnetic field is modulated based on a predefined code sequence, wherein an autocorrelation function of the predefined code sequence has a greater difference between the main maximum and secondary maxima than another main maximum and further secondary maxima of another autocorrelation function of a code sequence alternating at regular intervals between two states, wherein the modulated magnetic field is provided such that the modulated magnetic field has a sequence of magnetic field states based on the code sequence, wherein the temporal duration of a magnetic field state of the sequence of magnetic field states is based on the maximum temporal sampling rate of the sensor module of the mobile device (200); and determining (130) a position of the mobile device (200) relative to the vehicle (100) based on the modulated magnetic field. The method according to claim 1, wherein the predefined code sequence is based on at least one Barker code. The method according to any one of the preceding claims, wherein the predefined code sequence comprises a plurality of consecutive Barker codes. The method according to any one of the preceding claims, wherein providing (120) provides the modulated magnetic field such that the modulated magnetic field comprises a sequence of magnetic field states based on the code sequence, and wherein a temporal duration of a magnetic field state of the sequence of magnetic field states is greater than 5 milliseconds. The method according to one of the preceding claims, wherein determining (130) the position of the mobile device (200) is based on a ratio between a temporal duration of a magnetic field state of the sequence of magnetic field states and the maximum sampling rate of the sensor module of the mobile device (200). The method according to any one of the preceding claims, wherein determining (130) the position of the mobile device (200) comprises receiving confirmation of a successful comparison of the modulated magnetic field with the predefined code sequence from the mobile device (200). The method according to one of the preceding claims, wherein determining (130) the position of the mobile device (200) comprises receiving magnetic field sensor data of the mobile device (200) from the mobile device (200), and wherein determining (130) determines the position of the mobile device (200) based on a comparison of the predefined code sequence with the received magnetic field sensor data. The method according to one of the preceding claims, wherein the modulation of the modulated magnetic field is based on a field strength modulation, and / or wherein the modulation of the modulated magnetic field is based on a polarity modulation, and / or wherein the determining (130) determines the position of the mobile device within the vehicle or in an environment around the vehicle. A method for a mobile device (200), the method comprising: providing information about a maximum temporal sampling rate of a sensor module (22) of the mobile device (200); measuring (210) a modulated magnetic field, wherein the modulated magnetic field is provided by a vehicle (100), and wherein the modulated magnetic field is modulated based on a predefined code sequence, wherein an autocorrelation function of the predefined code sequence has a greater difference between the main maximum and secondary maxima than another main maximum and further secondary maxima of another autocorrelation function of a code sequence alternating at regular intervals between two states, wherein the modulated magnetic field has a sequence of magnetic field states based on the code sequence, wherein the temporal duration of a magnetic field state of the sequence of magnetic field states is based on the maximum temporal sampling rate of the sensor module of the mobile device (200);andcomparing (220a) the measured modulated magnetic field with the predefined code sequence to determine information about a successful comparison of the modulated magnetic field with the predefined code sequence, and providing (230a) confirmation of the successful comparison of the modulated magnetic field with the predefined code sequence to the vehicle (100), orproviding (220b) magnetic field sensor data about the measured modulated magnetic field to the vehicle (100).; The method for the mobile device (200) according to claim 9, wherein comparing (220a) the measured modulated magnetic field with the predefined code sequence or providing (220b) the magnetic field sensor data begins while the modulated magnetic field is being measured. A program comprising a program code for carrying out at least one of the methods according to one of the preceding claims when the program code is executed on a computer, a processor, a control module or a programmable hardware component. A device (10) for a vehicle, comprising a transmission module (12) configured to provide a modulated magnetic field; and a control module (14) configured to:obtain information about a presence of a mobile device (200) in an environment of the vehicle (100),obtain information about a maximum temporal sampling rate of a sensor module (22) of the mobile device (200);Providing a control signal for the transmission module (12) based on a predefined code sequence, such that the modulated magnetic field is modulated based on a predefined code sequence, wherein an autocorrelation function of the predefined code sequence has a greater difference between the main maximum and secondary maxima than another main maximum and further secondary maxima of another autocorrelation function of a code sequence alternating at regular intervals between two states, wherein the control signal is provided such that the modulated magnetic field has a sequence of magnetic field states based on the code sequence, wherein the temporal duration of a magnetic field state of the sequence of magnetic field states is based on the maximum temporal sampling rate of the sensor module of the mobile device (200); and determining a position of the mobile device (200) relative to the vehicle (100) based on the modulated magnetic field. The device (10) according to claim 12, wherein the vehicle (100) further comprises a communication module for communicating with a vehicle key, wherein the transmitter module (12) uses at least a portion of the windings of a coil of the communication module of the vehicle. Device (20) for a mobile device (200), the device comprising: a sensor module (22) designed to provide information about a maximum temporal sampling rate of the sensor module (22) and to measure a modulated magnetic field, wherein the modulated magnetic field is provided by a vehicle (100), and wherein the modulated magnetic field is modulated based on a predefined code sequence, wherein an autocorrelation function of the predefined code sequence has a greater difference between the main maximum and secondary maxima than a further main maximum and further secondary maxima of a further autocorrelation function of a code sequence alternating at regular intervals between two states;wherein the modulated magnetic field has a sequence of magnetic field states based on the code sequence, wherein the temporal duration of a magnetic field state of the sequence of magnetic field states is based on the maximum temporal sampling rate of the sensor module of the mobile device (200); and a control module (24) configured to: control the sensor module (22), compare the measured modulated magnetic field with the predefined code sequence, determine information about a successful comparison of the modulated magnetic field with the predefined code sequence, and provide confirmation of the successful comparison of the modulated magnetic field with the predefined code sequence to the vehicle (100) via a communication module (26), or provide magnetic field sensor data about the measured modulated magnetic field to the vehicle (100) via the communication module (26). The device (20) according to claim 14, wherein the sensor module (22) corresponds to a compass module of the mobile device (200), wherein the compass module is designed to measure the modulated magnetic field separately in three mutually orthogonal directions, and wherein the control module (24) is designed to compare the measured modulated magnetic field separately for the three mutually orthogonal directions with the predefined code sequence, or wherein the control module (24) is designed to provide the magnetic field sensor data such that the magnetic field sensor data comprises sensor data about the modulated magnetic field separately for the three mutually orthogonal directions.

Citation Information

Patent Citations

  • Anti-theft system for a motor vehicle and method for operating an anti-theft system

    DE19957536A1

  • Range Localization System

    US20120280865A1

  • System for providing information and associated devices

    US20140155098A1