Patent Description:
The fifth generation cellular systems (<NUM>) aim to improve the throughput by a huge factor (even up to <NUM> or more), which provides a multitude of challenges, especially considering the scarcity of spectrum at low frequency bands and the need for supporting a very diverse set of use cases. In order to reach this goal, it is important to exploit the higher frequencies such as millimeter wave frequencies in addition to the more conventional lower frequencies. To meet the demands of <NUM> systems, a new, globally standardized radio access technology known as New Radio (NR) has been proposed. One proposed feature of the New Radio technology is the native support for positioning using said higher frequencies. Due to the use of higher frequencies than conventionally used for positioning, <NUM> NR positioning solutions are intrinsically more sensitive to any drift of the reference clock. In other words, even small timing errors may result in considerable decrease in positioning accuracy. Thus, new solutions are needed for such <NUM> NR positioning systems in order to maintain high positioning accuracy.

<CIT> discloses a method for deploying non-terrestrial cellular network base stations.

<CIT> discloses an apparatus that transmits a message in a first subset of a set of resources, the message including a position of the apparatus and a resource ID indicating at least one symbol in a second subset of the set of resources for transmitting a sequence.

<CIT> discloses a system for synchronizing internal clocks of receiving stations of a locating system.

<CIT> discloses methods for adapting positioning reference signal transmission to hide the local clock information of base stations.

According to an aspect, there is provided the subject matter of the independent claims.

In the following, exemplary embodiments will be described with reference to the attached drawings, in which.

In the following, different exemplifying embodiments will be described using, as an example of an access architecture to which the embodiments may be applied, a radio access architecture based on long term evolution advanced (LTE Advanced, LTE-A) or new radio (NR, <NUM>), without restricting the embodiments to such an architecture, however. It is obvious for a person skilled in the art that the embodiments may also be applied to other kinds of communications networks having suitable means by adjusting parameters and procedures appropriately. Some examples of other options for suitable systems are the universal mobile telecommunications system (UMTS) radio access network (UTRAN or E-UTRAN), long term evolution (LTE, the same as E-UTRA), wireless local area network (WLAN or WiFi), worldwide interoperability for microwave access (WiMAX), Bluetooth®, personal communications services (PCS), ZigBee ®, wideband code division multiple access (WCDMA), systems using ultra-wideband (UWB) technology, sensor networks, mobile ad-hoc networks (MANETs) and Internet Protocol multimedia subsystems (IMS) or any combination thereof.

In the following, the relative time of arrival (RTOA) may be defined as the beginning of a particular subframe containing a sounding reference signal (SRS) received in an access node, measured relative to a configurable reference time. The reference point for the relative time of arrival shall be an antenna connector (or specifically a reception antenna connector) of the access node.

In the following, the reference signal time difference (RSTD) may be defined as a relative timing difference between a neighbour cell j and a reference cell i, defined as RSTD=TSubframeRxj - TSubframeRxi, where: TSubframeRxj is the time when the terminal device receives the start of one subframe from cell j and TSubframeRxi is the time when the terminal device receives the corresponding start of one subframe from cell i that is closest in time to the subframe received from cell j. The reference point for the observed subframe time difference may specifically be the antenna connector of the terminal device.

In the following, the observed time difference of arrival (OTDOA) is defined as the time interval that is observed by a terminal device (using a local reference clock of the terminal device) between the reception of downlink signals from two different access nodes (or cells). The OTDOA may correspond to the RSTD. In some instances, the observed time difference of arrival (OTDOA) may be called simply the time difference of arrival (TDOA).

In the following, reception-transmission (RX-TX) delay of an apparatus (e.g., a terminal device or an access node) may be defined as a delay between a reception of a first signal in an apparatus and a subsequent transmission of a second signal (associated with the first signal) by said apparatus. The first signal may be received from the same apparatus to which the second signal is transmitted.

In the following, the round-trip time (RTT) may be defined as the duration from transmitting a signal to reception of a response to that signal. This time delay includes the propagation times for the paths between the two communication endpoints (in embodiments specifically, an access node and a terminal device). In embodiments, the signal and the response may be specifically a positioning reference signal (transmitted by an access node) and a sounding reference signal (received by the access node), respectively.

<FIG> shows user devices <NUM> and <NUM> configured to be in a wireless connection on one or more communication channels in a cell with an access node (such as (e/g)NodeB) <NUM> providing the cell. The physical link from a user device to a (e/g)NodeB is called uplink or reverse link and the physical link from the (e/g)NodeB to the user device is called downlink or forward link. It should be appreciated that (e/g)NodeBs or their functionalities may be implemented by using any node, host, server or access point etc. entity suitable for such a usage.

A communications system typically comprises more than one (e/g)NodeB in which case the (e/g)NodeBs may also be configured to communicate with one another over links, wired or wireless, designed for the purpose. These links may be used for signaling purposes. The (e/g)NodeB is a computing device configured to control the radio resources of communication system it is coupled to. The NodeB may also be referred to as a base station, an access point or any other type of interfacing device including a relay station capable of operating in a wireless environment. The (e/g)NodeB includes or is coupled to transceivers. From the transceivers of the (e/g)NodeB, a connection is provided to an antenna unit that establishes bi-directional radio links to user devices. The antenna unit may comprise a plurality of antennas or antenna elements. The (e/g)NodeB is further connected to core network <NUM> (CN or next generation core NGC). Depending on the system, the counterpart on the CN side can be a serving gateway (S-GW, routing and forwarding user data packets), packet data network gateway (P-GW), for providing connectivity of user devices (UEs) to external packet data networks, or mobile management entity (MME), etc..

It should be understood that, in <FIG>, user devices are depicted to include <NUM> antennas only for the sake of clarity. The number of reception and/or transmission antennas may naturally vary according to a current implementation.

<NUM> enables using multiple input - multiple output (MIMO) antennas, many more base stations or nodes than the LTE (a so-called small cell concept), including macro sites operating in co-operation with smaller stations and employing a variety of radio technologies depending on service needs, use cases and/or spectrum available. <NUM> mobile communications supports a wide range of use cases and related applications including video streaming, augmented reality, different ways of data sharing and various forms of machine type applications, including vehicular safety, different sensors and real-time control. <NUM> is expected to have multiple radio interfaces, namely below <NUM>, cmWave and mmWave, and also being integratable with existing legacy radio access technologies, such as the LTE. Integration with the LTE may be implemented, at least in the early phase, as a system, where macro coverage is provided by the LTE and <NUM> radio interface access comes from small cells by aggregation to the LTE. In other words, <NUM> is planned to support both inter-RAT operability (such as LTE-<NUM>) and inter-RI operability (inter-radio interface operability, such as below <NUM> - cmWave, below <NUM> - cmWave - mmWave). One of the concepts considered to be used in <NUM> networks is network slicing in which multiple independent and dedicated virtual sub-networks (network instances) may be created within the same infrastructure to run services that have different requirements on latency, reliability, throughput and mobility.

It should also be understood that the distribution of labor between core network operations and base station operations may differ from that of the LTE or even be non-existent.

Satellite communication may utilize geostationary earth orbit (GEO) satellite systems, but also low earth orbit (LEO) satellite systems, in particular mega-constellations (systems in which hundreds of (nano)satellites are deployed).

As mentioned above, one suggested feature of the future <NUM> communications systems is the so-called <NUM> New Radio. <NUM> New Radio refers to a new global <NUM> standard for an orthogonal frequency-division multiplexing (OFDM)-based air interface designed to fit the more stringent requirements of the <NUM> systems (for example, providing different types of services to a huge number of different types of devices operating over a wide frequency spectrum).

One of the features proposed for <NUM> New Radio is the support for positioning using centimeter and millimeter waves such as the so-called frequency range <NUM> (FR1) and frequency range <NUM> (FR2). Specifically, at least the following positioning solutions have been suggested for <NUM> NR:.

The solutions enable both RAT dependent (for both FR1 and FR2) and RAT independent NR positioning techniques. In the downlink direction, a new positioning reference signal (PRS) has been introduced while, in the uplink direction, a new sounding reference signal (SRS) for positioning (abbreviated as SRS-P) has been introduced. In the case of DL-TDOA the terminal device makes reference signal time difference (RSTD) measurements on PRS from multiple access nodes in order to facilitate multilateration and estimate the location of the target. RSTD measurements typically use a single access node or PRS as the reference for measurements of all the additional cells.

The embodiments relate to reference clocks of terminal devices. The reference clock of a terminal device may be used for implementing many different applications of the terminal device such as the Global Navigation Satellite System (GNSS) functionalities and the multi RAT cellular modems. Prior to integrating the GNSS functionalities into the terminal device, the reference clock was implemented as a voltage controlled temperature compensated crystal oscillator (VCTCXO), a temperature compensated crystal oscillator (TCXO) or a crystal oscillator depending on the needed clock accuracy. In such solutions, it was common practice to adjust the reference clock in a closed-loop mode to always have the needed clock accuracy (e.g., <NUM> ppm). However, in solutions where the GNSS functionalities are implemented in the terminal device and the same clock is used as reference for all supported applications, it is no longer possible to adjust the reference clock on the fly as any changes in the clock frequency during the GNSS operation would create inaccuracies in the GNSS positioning. Such inaccuracies may be especially fatal for <NUM> NR positioning systems using centimeter or millimeter frequencies (i.e., higher frequencies than many previous positioning systems) and being thus more sensitive to timing errors in positioning.

<FIG> shows a simplified presentation of an exemplary phase-locked loop arrangement or system <NUM> used for deriving at least one reference clock signal <NUM>, <NUM> of the terminal device. The illustrated PLL arrangement may be comprised in a terminal device or specifically in either of the terminal devices <NUM>, <NUM> of <FIG>.

Referring to <FIG>, the PLL arrangement <NUM> for generating at least one reference clock signal <NUM>, <NUM> of a terminal device comprises a free-running crystal oscillator (XO) <NUM> (which may exhibit dynamic frequency drift). The free-running crystal oscillator <NUM> is configured to provide a frequency reference (XO_ref) to at least two digital phase-locked loops <NUM>, <NUM>.

One <NUM> of the digital phase-locked loops <NUM>, <NUM> may correspond specifically to 3GPP NR RAT modem domain <NUM> (a clock domain <NUM>). When the baseline is a free running crystal oscillator <NUM>, the reference clock frequency (XO_ref) will drift in between adjustments made with reference to the frequency reference of a serving access node of the terminal device. To counter this drift in the digital phase-locked loop <NUM>, when downlink data is received from the serving access node of the terminal device comprising the PLL arrangement <NUM>, a frequency shift Δf between the reference frequency of the free-running crystal oscillator <NUM> (XO_ref) and the reference frequency of the serving access node <NUM> is calculated and added to the reference frequency of the free-running crystal oscillator <NUM> to form the (output) reference clock signal <NUM> for clock domain <NUM>. As long as the downlink connection is active, the modem reference clock of the terminal device (i.e., the reference clock formed effectively of elements <NUM>, <NUM>) is in sync with the serving access node even though the free running frequency reference XO_ref provided by the crystal oscillator <NUM> is drifting. In other words, in order to keep synchronized with the wireless communications network, a terminal device needs to frequently correct the reference frequency (XO_ref) provided by the XO-based reference clock <NUM> based on the frequency reference <NUM> of the serving access node. These corrections or updates may specifically take effect at slot boundaries to avoid any issues with phase discontinuities. The frequency adjustments of the reference clock of the terminal device may happen both during downlink reception and uplink transmission. Moreover, they may be performed whenever enough downlink statistics have been collected. Said adjustments may happen in one step with little or no filtering to support fast adjustments.

In addition to the digital phase-locked loop <NUM> corresponding to the 3GPP NR RAT modem domain <NUM>, the free-running crystal oscillator may provide the frequency reference to one or more other digital phase-locked loops <NUM> corresponding to other clock domains. Said one or more other digital phase-locked loops <NUM> may operate similar to as described for the digital phase-locked loop <NUM> of the 3GPP NR RAT modem domain though the frequency reference <NUM> fed into the digital phase-locked loop <NUM> may be different from the frequency reference <NUM> received from the serving access node and thus different frequency shift may be applied in the phase-locked loop of clock domain X to free-running frequency reference XO_ref.

The accuracy of the clock frequency of the terminal device and the associated needed update rate for the clock frequency of the terminal device depend on the operating condition (or operating mode) of the terminal device. The operating condition of the terminal device may be, at any given time, one of sleep, idle and Radio Resource Control (RRC) connected. For example, in the RRC connected state, the maximum uplink clock frequency error of the terminal device may be <NUM> ppm.

During any temporary loss of downlink signal, any adjustment of the reference clock of the terminal device is only approximate and therefore the frequency offset between downlink slots or uplink slot of up to <NUM> ppm are not unlikely which correspond to <NUM> (<NUM> frame referred) of positioning error. Since the <NUM> ppm specification refers to terminal device uplink transmissions during downlink only operation, the frequency offset may even be higher due to reception gaps or if the terminal device selects a slower adjustment rate.

Any positioning schemes where the accuracy is impacted by a reference clock frequency adjustment or drift in-between downlink measurements or uplink transmissions are problematic in regard to minimizing positioning error. Such RRC connected problem scenarios comprise:.

The embodiments discussed below in detail provide a local procedure of the terminal device for compensating for the aforementioned problems relating to local terminal device reference clock frequency adjustments and thereby increasing the positioning measurement accuracy.

<FIG> illustrates processes according to embodiments for adjusting transmission or reception timing in a terminal device to take into account any local frequency reference adjustments. Specifically, <FIG> illustrates functionalities of a first terminal device, a second terminal device and access nodes of a radio access network serving both the first and second terminal devices and signaling between them. Said access nodes may comprise a serving access node of the first and second terminal device (which may be the same access node) and/or one or more neighboring access nodes to said serving access node (or nodes). The first terminal device and/or the second terminal device may correspond to either of terminal devices <NUM>, <NUM> of <FIG>. The access nodes may correspond to the access node <NUM> of <FIG>. In some embodiments, the functionalities of the first terminal device, the second terminal device and the access nodes may be carried out by a certain subunit of the first terminal device, the second terminal device and the access node, respectively.

<FIG> illustrates effectively two separate processes performed by first and second terminal devices: a first process for uplink timing adjustment functionality comprising elements <NUM> to <NUM> and a second process for downlink timing adjustment functionality comprising elements block <NUM> to <NUM>. In some embodiments, only one of said first and second processes may be implemented. In other embodiments, a single terminal device may be configured for carrying out both the first and second processes.

Each of the first and second terminal devices comprise a local reference clock which may be synchronized with a reference clock of the serving access node of the respective one of the first and second terminal devices. The local reference clocks may be based on, for example, free-running crystal oscillators as described above. Specifically, the first and/or second terminal device may comprise a phase-locked loop <NUM> used for deriving a reference clock signal as discussed in connection with <FIG>.

Moreover, it may initially be assumed that the first terminal device is configured to perform at least two sequential sounding reference signal (SRS) transmissions (i.e., transmission of a first and a second sounding reference signal). In general, a sounding reference signal (SRS) is a reference signal transmitted by a terminal device in the uplink direction and which may be used by the access node(s) to estimate the uplink channel quality over a wider bandwidth. The sounding reference signals as discussed here may be specifically used for positioning.

Similarly, it may be assumed that the second terminal device is configured to perform at least two sequential positioning reference signal (PRS) receptions (i.e., reception of a first and a second positioning reference signal). In general, a positioning reference signals are downlink reference signal used commonly, e.g., in Observed Time Difference of Arrival (OTDOA) based positioning for determining positions of terminal devices. Specifically, the position of a terminal device may be calculated based on measurements of reference signal time difference measurements (i.e., measured time difference of arrival of the PRS from a serving cell and one or more neighboring cells), the absolute or relative transmission timing of each cell, and the known physical position(s) of the access nodes for the serving and neighboring cells.

In some embodiments, the first and second terminal devices may be configured to perform periodic transmission of sounding reference signals and periodic reception of positioning reference signals, respectively.

First, the first terminal device transmits, in message <NUM>, a first sounding reference signal (SRS) at a first transmission time instance tTx,<NUM>. Here, the first transmission time instance tTX,<NUM> is specifically measured according to the local reference clock of the first terminal device. Here and in the following, a transmission time instance may be equally called a time of delivery (TOD). The first sounding reference signal may be transmitted to a first access node (e.g., the serving or neighboring access node) or to a plurality of first access nodes.

At least one access node receives, in block <NUM>, the first sounding reference signal. Subsequently, the first sounding reference signal may be employed for positioning. This may involve, e.g., calculating a relative time of arrival (RTOA) for the first sounding reference signal, as will be discussed in more detail in connection with <FIG>.

In some embodiments, elements <NUM>, <NUM> may be omitted.

Following the first transmission time instance, the first terminal device applies, in block <NUM>, a first frequency shift Δf<NUM> to a frequency f<NUM> of the local reference clock at a first frequency-shift time instance tc,<NUM> measured according to the local reference clock of the first terminal device. In other words, the first terminal device adjusts the frequency of the local reference clock so that the adjusted frequency has the value of f<NUM> + Δf<NUM>. The first terminal device may store information on the first frequency shift Δf<NUM> and the first frequency-shift time instance tc,<NUM> to a memory of the first terminal device. Similar to as described above, the first frequency shift Δf<NUM> may be carried out in order to ensure synchronization of the local reference clock with the reference clock of the serving access node despite of any drift of the local reference clock of the first terminal device. The first frequency-shift time instance tc,<NUM> may correspond to a slot boundary to avoid any issues with phase discontinuities.

The extent of the first frequency shift Δf<NUM> in block <NUM> (and any frequency shift in any of the following embodiments) may be determined using any known method such as, by correlation on the downlink reference channel. In the following, one exemplary method is described. Initially, the frequency is estimated using known downlink reference symbols. This way the terminal device knows what should be received as the symbols transmitted are known to the terminal device. Then, the terminal device is able to compare the expected symbol with the received symbol and estimate the difference which includes the frequency shift Δf. The frequency shift estimation is done by cross correlation between the received and the transmitted symbols. As a second step, similar estimation is performed on the received user data. The symbols of such data are not known. Therefore, the terminal device estimates the received symbols based on its approximate frequency offset and then based on the estimated symbols, the terminal device is able to calculate the frequency offset as in the initial step.

The first terminal device calculates, in block <NUM>, a shift of transmission timing ΔtTX for an upcoming transmission of a second sounding reference signal to compensate for the first frequency shift Δf<NUM> based on the first transmission time instance tTX,<NUM>, a second transmission time instance tTX,<NUM> (or equally a second TOD) scheduled using the local reference clock of the first terminal device for the upcoming transmission of the second sounding reference signal, the first frequency shift Δf<NUM> and the first frequency-shift time instance tc,<NUM> (or at least some of them). In some embodiments, the calculation in block <NUM> may be based at least on the first frequency-shift time instance tc,<NUM> and the second transmission time instance tTX,<NUM> (or alternatively the time difference between tc,<NUM> and tTX,<NUM>) and the first frequency shift Δf<NUM>. The first terminal device may store information on the shift of transmission timing ΔtTX to a memory of the first terminal device.

The first terminal device applies, in block <NUM>, the shift of transmission timing ΔtTX to the second transmission time instance tTX,<NUM>. In other words, the first terminal device calculates a new (shifted) value for the second transmission time instance as tTX,<NUM> + ΔtTX. The first terminal device may store information on the resulting shifted second transmission time instance tTX,<NUM> + ΔtTX to a memory of the first terminal device.

The first terminal device transmits, in message <NUM>, the second sounding reference signal at the second time instance having the shifted value tTX,<NUM> + ΔtTX (or equally second shifted TOD). The second sounding reference signal may be transmitted to a second access node (e.g., a serving or neighboring access node) or to a plurality of second access nodes. In some embodiments, the first and second sounding reference signals may be transmitted at least to first and second access nodes, respectively. In other embodiments, both the first and second sounding reference signals may be transmitted at least to the first access node. This may occur, for example, if SRS retransmissions are required due to poor coverage or if transmissions are to be carried out subsequently using multiple different beams formed by one or more antenna arrays of the first terminal device.

The second sounding reference signal is received, in block <NUM>, by said at least one access node. Due to the shift of the transmission timing applied in block <NUM>, the shifted time instance associated with the transmission of the second sounding reference signal now matches the expected transmission time of the second sounding reference signal as defined in said at least one access node/RAN. Therefore, it is possible to determine the distance between the first terminal device and said at least one access node based on the delay (i.e., relative time of arrival, RTOA) between the transmission of the second sounding reference signal by the first terminal device and the reception of the second sounding reference signal in the at least one access node accurately. By combining multiple RTOA measurements of the first terminal device, e.g., in a location management function (LMF) or other core network element, the accurate positioning of the first terminal device is enabled.

In some embodiments, the first terminal device may be configured to perform beamforming at least in transmission using one or more antenna arrays. In such embodiments, the first terminal device may be configured to transmit the first sounding reference signal to one or more first access nodes using a first beam and to transmit the second sounding reference signal to said one or more first access nodes or one or more second access nodes using a second beam. The one or more second access nodes may be at least partly different from the one or more first access nodes.

As described above, elements <NUM> to <NUM> describe a second process providing downlink timing adjustment functionality (as opposed to uplink timing adjustment functionality). Said second process is initiated by a third access node transmitting, in message <NUM>, a first positioning reference signal (PRS) to a second terminal device. The third access node may be, e.g., a serving access node of the second terminal device or a neighboring access node to that serving access node. The third access node may or may not be the same access node as any of the first or second access nodes described above.

The second terminal device receives, in block <NUM>, the first positioning reference signal. Specifically, the first positioning reference signal is received at a first reception time instance tRX,<NUM> measured according to a local reference clock of the second terminal device. Here and in the following, a reception time instance may be equally called a time of arrival (TOA). The second terminal device may store information on the first positioning reference signal and a first reception time instance tRX,<NUM> to a memory of the second terminal device.

The second terminal device applies, in block <NUM>, a second frequency shift Δf<NUM> to a frequency of the local reference clock at a second frequency-shift time instance tc,<NUM>. Here, the second frequency-shift time instance tc,<NUM> is defined according to the local reference clock of the second terminal device. The second frequency-shift time instance tc,<NUM> follows the first reception time instance tRX,<NUM>, as illustrated in <FIG>. The second terminal device may store information on the second frequency shift Δf<NUM> and the second frequency-shift time instance tc,<NUM> to a memory of the second terminal device.

A fourth access node (being, e.g., a neighboring access node) transmits, in message <NUM>, a second positioning reference signal to the second terminal device. The fourth access node may specifically transmit the second positioning reference signal (substantially) at the same time as the third access node transmits the first positioning reference signal (message <NUM>) so as to enable OTDOA positioning of the second terminal device. In some cases, an offset in the timing of the transmission of the first and second positioning reference signals (messages <NUM>, <NUM>) may exist. The effect of such an offset may be eliminated when calculating the position of the second terminal device in the LMF. The fourth access node may be located physically farther from the second terminal device compared to the third access node causing the second positioning reference signal to be received later than the first positioning reference signal in the second terminal device. The third and fourth access nodes may be synchronized to the same clock reference.

In other embodiments, both the first and second positioning reference signals may be transmitted by the third access node. This may occur, for example, if PRS retransmissions are required due to poor coverage (e.g., PRS transmissions may need to be repeated several times to obtain adequate statistics for reporting the RSTD measurements) or if reception is to be carried out subsequently using multiple different beams formed by one or more antenna arrays of the second terminal device.

The second terminal device receives, in block <NUM>, the second positioning reference signal at a second reception time instance tRX,<NUM> (or a second TOA) measured according to the local reference clock of the second terminal device. Upon reception, the second terminal device may store information on the second positioning reference signal and/or a second reception time instance tRX,<NUM> to a memory of the second terminal device.

The second terminal device calculates, in block <NUM>, a shift of reception timing ΔtRX for the reception of the second positioning reference signal to compensate for the frequency shift based on the first reception time instance tRX,<NUM>, the second frequency shift Δf<NUM>, the second frequency-shift time instance tc,<NUM> and the second reception time instance tRX,<NUM> (or at least some of them). In some embodiments, the first reception time instance tRX,<NUM> may not be used in the calculation in block <NUM>. The second terminal device may store information on the shift of reception timing ΔtRX to a memory of the second terminal device.

The second terminal device calculates, in block <NUM>, an adjusted reference signal time difference (RSTD) based on the first and second reception time instances tRX,<NUM> and tRX,<NUM> and the shift of reception timing ΔtRX. Specifically, this calculation may comprise, first, calculating a reference signal time difference (RSTD) based on the first and second reception time instance tRX,<NUM> and tRX,<NUM> and, second, applying the shift of reception timing ΔtRX to the RSTD. In other words, the adjusted RSTD may be calculated as (tRX,<NUM> - tRX,<NUM>) + ΔtRX. The RSTD may be equally called a time difference of arrival (TDOA) or observed time difference of arrival (TDOA). The second terminal device may store information on the resulting shifted RSTD and/or on the non-shifted RSTD to a memory of the second terminal device.

The second terminal device reports, in message <NUM>, the adjusted RSTD to at least one access node (e.g., the third and/or fourth access node). Subsequently, the adjusted RSTD may be used for OTDOA positioning. Based on multiple reported adjusted RSTDs, the exact location of the second terminal device may be determined, as described in more detail in connection with <FIG>.

In some embodiments, the second terminal device may be configured to perform beamforming at least in reception using one or more antenna arrays. In such embodiments, the second terminal device may be configured to receive the first positioning reference signal from a third access node using a first beam and to receive the second positioning reference signal from one of said third access node and a fourth access node using a second beam.

<FIG> illustrates detailed processes according to embodiments for adjusting transmission timing in a terminal device to take into account any local frequency reference adjustments in connection with UL-TDOA positioning. <FIG> corresponds specifically to a more detailed embodiment of the first process (elements <NUM> to <NUM>) illustrated in <FIG> (with the first terminal device of <FIG> called here simply "a terminal device"). Thus, any of the definitions provided in connection with elements <NUM> to <NUM> of <FIG> may apply, mutatis mutandis, for this embodiment. Specifically, <FIG> illustrates functionalities of a terminal device, a serving access node of a radio access network (RAN) for the terminal device, a neighboring access node of the RAN (being specifically neighboring to said serving access node) and a location management function (LMF) and signaling between them. The terminal device may correspond to either of terminal devices <NUM>, <NUM> of <FIG>. The terminal device may comprise a phase-locked loop of <FIG>. The serving and/or neighboring access node may correspond to the access node <NUM> of <FIG>. In some embodiments, the functionalities of the terminal device and the access nodes may be carried out by a certain subunit of the terminal device and the corresponding access node, respectively.

Referring to <FIG>, the LMF initially transmits, in message <NUM>, a first positioning request to the serving access node (of the terminal device). The first positioning request may be specifically a first UL-TDOA positioning request. In some embodiments, said first UL-TDOA positioning request may be a NRPPa (NR Positioning Protocol A) message for requesting UL-SRS activation of the terminal device.

In response to receiving the first positioning request in block <NUM>, the serving access node determines, in block <NUM>, (uplink) sounding reference signal resources to be employed by the terminal device for transmitting at least a first and second sounding reference signals. The sounding reference signal resources may comprise frequency-domain resources (e.g., at least one bandwidth to be used for transmission) and time-domain resources (e.g., at least one subframe to be used for transmission). The serving access node transmits, in message <NUM>, a first configuration message defining at least said sounding reference signal resources. In response to receiving the first configuration message in block <NUM>, the terminal device configures, in block <NUM>, itself according to said first configuration message.

In addition to configuring the terminal device according to the determined sounding reference signal resources, the serving access node transmits, in message <NUM>, a second configuration message to the LMF. In response to receiving the second configuration message, the LMF transmits, in message <NUM>, a third configuration message to the neighboring access node. The third configuration message may comprise information for enabling the neighboring access node to receive at least one scheduled sounding reference signal (i.e., at least a second sounding reference signal to be discussed below). The third configuration message may be, e.g., a NRPPa measurement request. Upon receiving the third configuration message in block <NUM>, the neighboring access node configures, in block <NUM>, itself according to the third configuration message.

After the configuration procedure discussed in connection with elements <NUM> to <NUM>, the terminal device may operate, at least for the most part, as discussed in connection with elements <NUM> to <NUM> of <FIG>. In other words, elements <NUM>, <NUM>, <NUM>, <NUM>, <NUM> of <FIG> may correspond, mutatis mutandis, to elements <NUM> to <NUM> of <FIG>. Thus, the subsequent operation of the terminal device is discussed here only briefly for brevity.

The terminal device transmits, in message <NUM>, a first sounding reference signal (SRS) to a serving access node at a first transmission time instance tTX,<NUM>. Here, the first transmission time instance tTX,<NUM> is specifically measured according to the local reference clock of the terminal device.

In response to receiving, in block <NUM>, the first sounding reference signal, the serving access node calculates, in block <NUM>, a first relative time of arrival (RTOA) for the first sounding reference signal based on the received first sounding reference signal. Specifically, the first RTOA may be calculated based on the first transmission time instance tTX,<NUM> (which is known to the serving access node as the SRS resources were determined by the serving access node in block <NUM>) and a first measurement time instance corresponding to a time of reception or measurement of the first sounding reference signal by the serving access node. The first measurement time instance may be measured specifically by a local reference clock of the serving access node. In other words, the serving access node calculates delay between the transmission of the first sounding reference signal by the terminal device and the reception of the first sounding reference signal in the serving access node.

The serving access node transmits, in message <NUM>, the first relative time of arrival to the LMF. The LMF receives, in block <NUM>, the first relative time of arrival (and possibly stores it to a memory).

Following the first transmission time instance, the terminal device applies, in block <NUM>, a frequency shift Δf to a frequency of the local reference clock at a frequency-shift time instance tc measured according to the local reference clock of the terminal device. The terminal device stores (or logs), in block <NUM>, at least the frequency-shift time instance tc to a memory of the terminal device.

The terminal device calculates, in block <NUM>, a shift of transmission timing ΔtTX for an upcoming transmission of a second sounding reference signal to compensate for the frequency shift Δf based on the first transmission time instance tTX,<NUM>, a second transmission time instance tTX,<NUM> scheduled using the local reference clock of the terminal device for the upcoming transmission of the second sounding reference signal, the frequency shift Δf and the frequency-shift time instance tc (or on at least some of them). In some embodiments, the first reception time instance tRX,<NUM> may not be used in the calculation in block <NUM>. The terminal device may store information on the shift of transmission timing ΔtTX to a memory of the terminal device.

The terminal device applies, in block <NUM>, the shift of transmission timing ΔtTX to the second transmission time instance tTX,<NUM> and transmits, in message <NUM>, the second sounding reference signal at the (shifted) second time instance tTX,<NUM> + ΔtTX to the neighboring access node. As described in detail in connection with <FIG>, in some embodiments where the terminal device is configured to perform beamforming at least in transmission, the terminal device may be configured to transmit the first sounding reference signal using a first beam and to transmit the second sounding reference signal using a second beam.

The second sounding reference signal is received, in block <NUM>, by the neighboring access node. In response to the receiving in block <NUM>, the neighboring access node calculates, in block <NUM>, a second relative time of arrival (RTOA) for the second sounding reference signal based on the received second sounding reference signal. Specifically, the second RTOA may be calculated based on the second transmission time instance (which is known to the neighboring access node based on the configuration in block <NUM>) and a second measurement time instance corresponding to a time of reception or measurement of the second sounding reference signal by the neighboring access node. The second measurement time instance may be measured specifically by a local reference clock of the neighboring access node.

The neighboring access node transmits, in message <NUM>, the second relative time of arrival to the LMF. The LMF receives, in block <NUM>, the second relative time of arrival (and possibly stores it to a memory). Based on the first and second relative times of arrival and locations of the serving access node and the neighboring access node which are known to the LMF (and knowing the speed at which electromagnetic wave propagate through air, i.e., speed of light in air), the LMF is able to calculate the location of the terminal device according to basic multilateration (or UL-TDOA positioning) principles.

<FIG> illustrates detailed processes according to embodiments for adjusting transmission timing in a terminal device to take into account any local frequency reference adjustments in connection with DL-TDOA positioning. <FIG> corresponds specifically to a more detailed embodiment of the second process (elements <NUM> to <NUM>) illustrated in <FIG> (with the second terminal device of <FIG> called here simply "a terminal device"). Thus, any of the definitions provided in connection with elements <NUM> to <NUM> of <FIG> may apply, mutatis mutandis, for this embodiment. Specifically, <FIG> illustrates, similar to <FIG>, functionalities of a terminal device, a serving access node of a radio access network (RAN) for the terminal device, a neighboring access node of the RAN (being specifically neighboring to said serving access node) and a location management function (LMF) and signaling between them. The terminal device may correspond to either of terminal devices <NUM>, <NUM> of <FIG>. The terminal device may comprise a phase-locked loop of <FIG>. The serving and/or neighboring access node may correspond to the access node <NUM> of <FIG>. In some embodiments, the functionalities of the terminal device and the access nodes may be carried out by a certain subunit of the terminal device and the corresponding access node, respectively. The serving and neighboring access nodes may be synchronized to the same clock reference.

Referring to <FIG>, the LMF initially transmits, in message <NUM>, a first positioning request to the serving access node (of the terminal device). The first positioning request may be specifically a first DL-TDOA positioning request.

In response to receiving the first positioning request in block <NUM>, the serving access node may forward, in message <NUM>, the first positioning request to the terminal device. Correspondingly, the terminal device may receive, in block <NUM>, the first positioning request. Elements <NUM>, <NUM> may be considered optional.

The LMF transmits, in message <NUM>, a first configuration message for configuring positioning reference signal (PRS) measurements between the serving access node and the terminal device to the serving access node. The first configuration message may define at least PRS resources to be used. Upon reception of the first configuration message in block <NUM>, the serving access node configures, in block <NUM>, itself according to the first configuration message (i.e., to transmit at least one PRS at at least one pre-defined time instance at least to the terminal device).

The LMF transmits, in message <NUM>, a second configuration message for configuring positioning reference signal (PRS) measurements between the neighboring access node and the terminal device to the neighboring access node. The second configuration message may also define at least PRS resources to be used. Upon reception of the second configuration message in block <NUM>, the serving access node configures, in block <NUM>, itself according to the first configuration message (i.e., to transmit at least one PRS at at least one pre-defined time instance at least to the terminal device).

Finally, the LMF transmits, in message <NUM>, a third configuration message for configuring positioning reference signal (PRS) measurements between the terminal device and the serving and neighboring access nodes to the terminal device (via the serving access node). Upon reception of the third configuration message in block <NUM>, the terminal device configures, in block <NUM>, itself according to the third configuration message (i.e., to receive at least one first PRS at at least one first pre-defined time instance from the serving access node and to receive at least one second PRS at at least one second pre-defined time instance from the neighboring access node).

After the configuration procedure discussed in connection with elements <NUM> to <NUM>, the terminal device may operate, at least for the most part, as discussed in connection with elements <NUM>, <NUM>, <NUM> to <NUM> of <FIG>. In other words, elements <NUM>, <NUM>, <NUM> to <NUM> of <FIG> may correspond, mutatis mutandis, to elements <NUM>, <NUM>, <NUM> to <NUM> of <FIG>. Any associated features discussed in connection with <FIG> may be combined with the process of <FIG>. Thus, the subsequent operation of the terminal device is discussed here only briefly for brevity.

Following the configuration of the terminal device, the serving access node transmits, in message <NUM>, a first positioning reference signal (PRS) to the terminal device. The terminal device receives, in block <NUM>, the first positioning reference signal at a first reception time instance tRX,<NUM> measured according to a local reference clock of the terminal device and applies, in block <NUM>, a frequency shift Δf to a frequency of the local reference clock at a frequency-shift time instance tc (defined according to the local reference clock). The frequency-shift time instance tc follows the first reception time instance tRX,<NUM>, as illustrated in <FIG>. The terminal device stores (or logs), in block <NUM>, at least the frequency-shift time instance tc to a memory of the terminal device.

The neighboring access node transmits, in message <NUM>, a second positioning reference signal to the terminal device. The neighboring access node may be specifically configured to transmit the second positioning reference signal (substantially) at the same time as the serving access node transmits the first positioning reference signal (message <NUM>).

The terminal device receives, in block <NUM>, the second positioning reference signal at a second reception time instance tRX,<NUM> measured according to the local reference clock of the terminal device and calculates, in block <NUM>, a shift of reception timing ΔtRX for the reception of the second positioning reference signal to compensate for the frequency shift Δf based on the first reception time instance tRX,<NUM>, the frequency shift Δf<NUM> the frequency-shift time instance tc and the second reception time instance tRX,<NUM> (or at least some of them). In some embodiments, the first reception time instance tRX,<NUM> may not be used in the calculation in block <NUM>.

Then, the terminal device calculates, in block <NUM>, an adjusted reference signal time difference (RSTD) based on the first and second reception time instances tRX,<NUM> and tRX,<NUM> and the shift of reception timing ΔtRX. The RSTD may be calculated as discussed in connection with block <NUM> of <FIG>.

The terminal device reports, in message <NUM>, the adjusted RSTD to the serving access node. In response to receiving the adjusted RSTD in block <NUM>, the serving access node further reports, in message <NUM>, the adjusted RSTD to the LMF. The LMF receives, in block <NUM>, the adjusted RSTD. Subsequently, the adjusted RSTD may be used for OTDOA positioning.

To enable the OTDOA positioning of the terminal device, the process described with elements <NUM> to <NUM> may be repeated for at least two access nodes at least one of which is neither of the serving access node and said neighboring access node (not shown in <FIG>). In other words, the process of elements <NUM> to <NUM> may be repeated for a pair of access nodes formed by the serving access node and another neighboring access node (i.e., not the one illustrated in <FIG>) or by two neighboring access nodes. Based on at least two reported adjusted RSTDs, the exact location of the terminal device may be calculated in block <NUM> according OTDOA positioning principle.

The OTDOA positioning is based on the fact that an (adjusted) RSTD calculated for a pair of access nodes and a terminal device defines a hyperbola. When multiple such hyperbolas for the same terminal device are defined, the point at which these hyperbolas intersect defines the location of the terminal device. Said hyperbola may have the form: <MAT> where RSTDi,j is the reference signal time difference between a first access node denoted by index i and a second access node denoted by index j measured at the access node, (xt, yt) are the (unknown) coordinates of the terminal device, (xi, yi) are the (known) coordinates of the first access node, (xj, yj) are the (known) coordinates of the second access node, (Ti - T<NUM>) is the transmit time offset between the two access nodes (i.e., a real time difference) and (ni - n<NUM>) is the difference between terminal device measurement errors associated with the two access nodes and c is the speed of light in air (or vacuum). If the first and second positioning reference signals are transmitted at the same time (i.e., in the ideal case), the term (Ti - T<NUM>) is zero.

Additionally or alternatively to the processes relating to enabling calculation of the position of the terminal device by the LMF (i.e., elements <NUM> to <NUM>), the position of the terminal device may be calculated locally by the terminal device itself. To this end, the terminal device calculates, in block <NUM>, the position of the terminal device based on at least on the adjusted RSTD calculated in block <NUM> according to OTDOA positioning principles. The calculation in block <NUM> may be carried out as discussed above for the calculation in block <NUM>. At least one other adjusted RSTD calculated before or after block <NUM> may be used in said calculation, as discussed above. The calculation in block <NUM> may be further based on known locations of the serving and neighboring access nodes. The calculated position of the terminal device may be displayed to a user of the terminal device via a display of the terminal device (e.g., using a dedicated positioning or map application installed to the terminal device) and/or information on the position of the terminal device may be transmitted, by the terminal device, to the serving access node of the terminal device. It should be emphasized that the two processes discussed in connection with elements <NUM> to <NUM> and with block <NUM> may be considered alternatives to each other, i.e., elements <NUM> to <NUM> or block <NUM> may be omitted from the procedure.

<FIG> illustrates processes according to embodiments for adjusting transmission timing in a terminal device to take into account any local frequency reference adjustments in connection with a multi-round-trip time (multi-RTT) positioning. <FIG> illustrates, similar to <FIG> and <FIG>, functionalities of a terminal device, a serving access node of a radio access network (RAN) for the terminal device, a neighboring access node of the RAN (being specifically neighboring to said serving access node) and a location management function (LMF) and signaling between them. The terminal device may correspond to either of terminal devices <NUM>, <NUM> of <FIG>. The serving and/or neighboring access node may correspond to the access node <NUM> of <FIG>. In some embodiments, the functionalities of the terminal device and the access nodes may be carried out by a certain subunit of the terminal device and the corresponding access node, respectively. The serving and neighboring access nodes may be synchronized to the same clock reference.

As described in connection with above embodiments, the terminal device comprises a local reference clock which may be synchronized with a reference clock of the serving access node. The local reference clocks may be based on, for example, free-running crystal oscillators as described above. Specifically, the terminal device may comprise a phase-locked loop <NUM> used for deriving a reference clock signal as discussed in connection with <FIG>.

Referring to <FIG>, the illustrated procedure starts with configuration, in block <NUM>, of first and second sounding reference signals to be transmitted from the terminal device and to the serving and neighboring access nodes and the configuration, in block <NUM>, of first and second positioning reference signals to be transmitted from the serving and neighboring access nodes to the terminal device. The configuration of SRS resources for the terminal device and the serving and neighboring access node in element <NUM> may be carried out as described in connection with elements <NUM> to <NUM> of <FIG> while the configuration of PRS resources for the terminal device and the serving and neighboring access node in element <NUM> may be carried out as described in connection with elements <NUM> to <NUM> of <FIG>. In some embodiments, some of the steps relating to elements <NUM> to <NUM> of <FIG> and elements <NUM> to <NUM> of <FIG> may be combined. For example, a single (multi-RTT) positioning request may be transmitted, as opposed to two separate positioning requests relating to SRS configuration and PRS configuration as illustrated with messages <NUM> and <NUM> of <FIG> and <FIG>, respectively. Additionally or alternatively, the terminal device may receive, in blocks <NUM>, <NUM>, from the serving access node of the terminal device, a single configuration message (as opposed to multiple configuration messages) defining both positioning and sounding reference signal resources at least for the receiving of the first positioning reference signal and the transmitting of the first sounding reference signals and/or for the receiving of the second positioning reference signal and the transmitting of the second sounding reference signals and configure itself according to the configuration message.

In some embodiments, the configuration in blocks <NUM>, <NUM> may be omitted (e.g., it may be assumed to have been carried out previously).

Following the configuration in block <NUM>, <NUM>, the serving access node transmits, in message <NUM>, a first positioning reference signal (PRS) to the terminal device. The terminal device receives, in block <NUM>, the first positioning reference signal at a first reception time instance tRX,<NUM> measured according to a local reference clock of the terminal device. Moreover, the neighboring access node transmits, in message <NUM>, a second positioning reference signal to the terminal device. The terminal device receives, in block <NUM>, the second positioning reference signal at a second reception time instance tRX,<NUM> measured according to a local reference clock of the terminal device.

The terminal device applies, in block <NUM>, a frequency shift Δf to a frequency of the local reference clock at a frequency-shift time instance tc (defined according to the local reference clock). The frequency-shift time instance tc follows the first and second reception time instances tRX,<NUM> and tRX,<NUM>, as illustrated in <FIG>. The terminal device may store (or log), in block <NUM>, at least the frequency-shift time instance tc to a memory of the terminal device. The terminal device may also store to the memory any of the frequency shift Δf and first and second reception time instances tRX,<NUM> and tRX,<NUM>,.

The terminal device calculates, in block <NUM>, a first reception-transmission (RX-TX) delay of the terminal device for the first reception time instance tRX,<NUM> and a first transmission time instance tTX,<NUM> scheduled, using the local reference clock of the terminal device, for the upcoming transmission of the first sounding reference signal and a second RX-TX delay of the terminal device for a second reception time instance tRX,<NUM> and a second transmission time instance tTX,<NUM> scheduled, using the local reference clock of the terminal device, for the upcoming transmission of the second sounding reference signal. The first and second RX-TX delays may be stored to a memory of the terminal device.

The terminal device calculates, in block <NUM>, a first shift of timing Δt<NUM> to compensate for the frequency shift Δf based on the first reception time instance tRX,<NUM>, the first transmission time instance tTX,<NUM>, the frequency shift Δf and the frequency-shift time instance tc (or on at least some of them). In some embodiments, the first reception time instance tRX,<NUM> may not be used in this calculation in block <NUM>. Moreover, the terminal device calculates, in block <NUM>, a second shift of timing Δt<NUM> to compensate for the frequency shift Δf based on the second reception time instance tRX,<NUM>, the second transmission time instance tTX,<NUM>, the frequency shift Δf and the frequency-shift time instance tc (or on at least some of them). In some embodiments, the second reception time instance tRX,<NUM> may not be used in this calculation in block <NUM>. The first and second shifts of timing Δt<NUM> & Δt<NUM> may be stored to a memory of the terminal device.

The terminal device applies, in block <NUM>, the first shift of timing Δt<NUM> to either the first transmission time instance tTX,<NUM> or the first RX-TX delay of the terminal device. Correspondingly, the terminal device applies, in block <NUM>, the second shift of transmission timing Δt<NUM> to either the second transmission time instance tTX,<NUM> or the second RX-TX delay of the terminal device.

The terminal device transmits, in message <NUM>, the first sounding reference signal at the first transmission time instance tTX,<NUM> to the serving access node. Here, the first transmission time instance may have or may not have a shifted value, depending on how the first shift of timing has been applied in block <NUM>.

The serving access node receives, in block <NUM>, the first sounding reference signal and calculates, also in block <NUM>, a first round-trip time between the transmission of the first positioning reference signal (message <NUM>) and the reception of the first sounding reference signal (message <NUM>). If the first shift of timing Δt<NUM> was applied on the first transmission time instance tTX,<NUM> to compensate for the frequency shift Δf in block <NUM>, the calculated first round-trip time is also implicitly compensated for the frequency shift Δf. However, if the first shift of timing Δt<NUM> was applied on the first RX-TX delay of the terminal device in block <NUM>, the compensation for the frequency shift Δf is to be carried out later in connection with block <NUM> based on the adjusted first RX-TX delay of the terminal device. The serving access node transmits, in message <NUM>, a first report comprising at least the calculated first RTT to the LMF. The LMF receives, in block <NUM>, the first report comprising at least first RTT.

A similar procedure is repeated for the second sounding reference signal in elements <NUM> to <NUM>. Namely, the terminal device transmits, in message <NUM>, the second sounding reference signal at the second transmission time instance to the neighboring access node. Here, the second transmission time instance may have or may not have a shifted value, depending on how the second shift of timing has been applied in block <NUM>. The neighboring access node receives, in block <NUM>, the second sounding reference signal and calculates, also in block <NUM>, a second round-trip time between the transmission of the second positioning reference signal (message <NUM>) and the reception of the second sounding reference signal (message <NUM>). If the second shift of timing Δt<NUM> was applied on the second transmission time instance tTX,<NUM> to compensate for the frequency shift Δf in block <NUM>, the calculated second round-trip time is also implicitly compensated for the frequency shift Δf. However, if the second shift of timing Δt<NUM> was applied on the second RX-TX delay of the terminal device in block <NUM>, the compensation for the frequency shift Δf still has to be carried out later in connection with block <NUM> based on the adjusted first RX-TX delay of the terminal device. The neighboring access node transmits, in message <NUM>, a second report comprising at least the calculated second RTT to the LMF. The LMF receives, in block <NUM>, the second report comprising at least the second RTT.

The terminal device transmits, in message <NUM>, a third report comprising the first and second RX-TX delays to the serving access node. The third report may optionally also comprise one or more of the following: the first and second reception time instances tRX,<NUM> & tRX,<NUM>, the first and second transmission time instances tTX,<NUM> & tTX,<NUM>, the frequency shift Δf<NUM> the frequency-shift time instance tc, first and second shifts of timing Δt<NUM> & Δt<NUM> and information on whether the first and second shifts of timing were applied, respectively, to the first and second transmission time instances tTX,<NUM> & tTX,<NUM> or to the first and second RX-TX delays. In some embodiments, the third report may be transmitted to another access node such as the neighboring access node. It should be noted that the first and second RX-TX delays included in the third report may correspond to the first and second RX-TX delays of the terminal device as calculated in block <NUM> or, if the first and second shifts of timing Δt<NUM> and Δt<NUM> were applied, respectively, on the first and second RX-TX delay of the terminal device in block <NUM>, to adjusted first and second RX-TX delays. Upon receiving the third report in block <NUM>, the serving access node (or said another access node) transmits, in message <NUM>, a fourth report comprising the first and second RX-TX delays to the LMF.

In response to receiving the fourth report in block <NUM>, the LMF calculates, in block <NUM>, the position of the terminal device based on the first and second RTTs and the first and second RX-TX delays of the terminal device. Similar to as described in connection with above embodiments, also this calculation may be further based on the fact that the locations of the serving access node and the neighboring access node are known to the LMF (and the fact that speed at which electromagnetic waves propagate through air, i.e., speed of light in air is known).

While, in <FIG>, the positioning of the terminal device was carried out by the LMF, in other embodiments, the positioning of the terminal device may be carried out, additionally or alternatively, locally by the terminal device. <FIG> illustrates processes according to embodiments for performing (multi-RTT) positioning locally by the terminal device itself. <FIG> corresponds to a large extent to <FIG> and any of the definitions provided in connection with <FIG> apply, mutatis mutandis, for <FIG>.

Referring to <FIG>, the initial actions carried out by the terminal device, the serving access node, neighboring access node and the LMF in block <NUM> may correspond to fully to actions described in connection element <NUM> to <NUM> of <FIG>. Also similar to <FIG>, the terminal device transmits, in message <NUM>, a first sounding reference signal at a first transmission time instance measured using the local reference clock of the terminal device and the serving access node receives, in block <NUM>, said first sounding reference signal and calculates, also in block <NUM>, a first round-trip time between the transmission of the first positioning reference signal and the reception of the first sounding reference signal. Instead of (or in addition to) transmitting information on the first RTT to the LMF, the serving access node transmits, in message <NUM>, information on the first RTT back to the terminal device. The terminal device receives, in block <NUM>, said information on the first RTT (and stores said information to a memory). Same operation is repeated, mutatis mutandis, for the second sounding reference signal and the second RTT calculated based thereon in elements <NUM>, <NUM>, <NUM>, <NUM>. Following the reception of the information on the first and second RTTs in blocks <NUM>, <NUM>, the terminal device calculates, in block <NUM>, a position of the terminal device based on the first and second RTTs and the first and second RX-TX delays of the terminal device (and known locations of the serving access node and the neighboring access node). This calculation may be carried out similar to the calculation in block <NUM> of <FIG> (though the entity performing the calculation is obviously different). The calculated position of the terminal device may be displayed to a user of the terminal device via a display of the terminal device (e.g., using a dedicated positioning or map application installed to the terminal device) and/or information on the position of the terminal device may be transmitted, by the terminal device, to the serving access node of the terminal device.

While <FIG> and <FIG> illustrate multi-RTT positioning procedures involving a serving access node and a single neighboring access node, in other embodiments, the multi-RTT positioning may involve a serving access node and a plurality of neighboring access nodes. The multi-RTT procedure for the plurality of neighboring access nodes may be carried out in a similar manner as illustrated in <FIG> or <FIG> for the single neighboring access node.

While <FIG> and <FIG> illustrate multi-RTT positioning procedures where two different access nodes are configured to transmit respective positioning reference signals to the terminal device at different times, it should be noted that in other embodiments, only one of the first and second positioning reference signals may be configured by the LMF and subsequently transmitted by the serving or neighboring access node and received by the terminal device. Correspondingly, only one of the first and second sounding reference signal may be transmitted by the terminal device and subsequently received and used for calculating a RTT. For example, in some embodiments, elements <NUM>, <NUM>, <NUM> to <NUM> of <FIG> may be omitted and the elements <NUM> to <NUM>, <NUM> to <NUM> of <FIG> may be modified to correspond only to the first positioning or sounding reference signal or to any quantities derived therefrom (e.g., first RX-TX delay and/or a first shift of timing). The same applies, mutatis mutandis, for the process of <FIG>.

Different terminal devices with or without the reference clock adjustment compensation capability according to any of the above embodiments may have different accuracies reported with similar quality metrics. To create awareness at the network side, the terminal device may report its capability to a serving access node (or other access node) to compensate. This may be done, e.g., as a part of general terminal device capability reporting. In other words, the terminal device according to embodiments may be configured to report, to the (serving) access node of the terminal device, capability of the terminal device of being able to apply the shift of transmission timing (e.g., in the first process of <FIG> or the embodiment of <FIG>), the shift of reception timing (e.g., in the second process of <FIG> or the embodiment of <FIG>) or the shift of timing (e.g., in the embodiments of <FIG> and <FIG>) for compensating for the frequency shift of the local reference clock. In the last case, the report may comprise information on which type of compensation is carried out (namely, adjustment of the transmission timing or adjustment of the RX-TX delay as described in connection with block <NUM> of <FIG>). The embodiments discussed above may provide at least some of the following advantages or technical effects. The solutions according to embodiments may enable increasing the accuracy of any terminal device positioning scheme impacted by frequency updates of the local reference clock of the terminal device in-between any two measurements and/or transmissions for which the relative timing impacts the position estimation accuracy.

While above embodiments were discussed using positioning reference signals as downlink reference signals for positioning and sounding reference signals as uplink reference signals for positioning, in other embodiments, different types of downlink and/or uplink reference signals may be used, instead of the positioning reference signal and/or the sounding reference signal, respectively. The used downlink and uplink reference signal may be specifically any downlink and uplink reference signals suitable for positioning.

The blocks, related functions, and information exchanges described above by means of <FIG>, <FIG> and <FIG> are in no absolute chronological order, and some of them may be performed simultaneously or in an order differing from the given one. In some embodiments, some of the steps may be neglected, for example, if the relevant information (e.g., a configuration) is already available (e.g., stored to a memory).

<FIG> illustrates an apparatus <NUM> configured to carry out the functions described above in connection with a terminal device such as the first and/or second terminal device shown in <FIG> and/or the terminal device of any of <FIG>, <FIG> and <FIG>. The apparatus may be an electronic device comprising electronic circuitries. The apparatus may be a separate network entity or a plurality of separate entities. The apparatus may comprise a communication control circuitry <NUM>, such as at least one processor, and at least one memory <NUM> including a computer program code (software) <NUM> wherein the at least one memory and the computer program code (software) are configured, with the at least one processor, to cause the apparatus to carry out any one of the embodiments of the relay node described above. In some embodiments, the apparatus <NUM> may comprise the phase-locked loop of <FIG>.

The memory <NUM> may comprise a database <NUM> which may comprise information, for example, on SRS and/or PRS configurations, (shifted) transmission time instances (i.e., TODs), (shifted) reception time instances (i.e., TOAs), frequency shifts, frequency-shift time instances, shifts of transmission, reception or other timing, as described in previous embodiments. The memory <NUM> may also comprise other databases which may not be related to the described functionalities according to embodiments.

The memory <NUM> of the apparatus <NUM> may be implemented using any suitable data storage technology, such as semiconductor based memory devices, flash memory, magnetic memory devices and systems, optical memory devices and systems, fixed memory and removable memory.

Referring to <FIG>, the communication control circuitry <NUM> may comprise positioning circuitry <NUM>. The positioning circuitry <NUM> may be configured, for example, to carry out at least some of actions pertaining to elements <NUM> to <NUM>, <NUM> to <NUM> of <FIG>, elements <NUM>, <NUM>, <NUM> to <NUM> of <FIG>, elements <NUM>, <NUM>, <NUM> to <NUM>, <NUM> to <NUM> of <FIG>, elements <NUM>, <NUM>, <NUM> to <NUM>, <NUM>, <NUM> of <FIG> and/or elements <NUM>, <NUM>, <NUM>, <NUM>, <NUM> of <FIG>.

The apparatus <NUM> may further comprise communication interfaces (Tx/Rx) <NUM> comprising hardware and/or software for realizing communication connectivity according to one or more communication protocols. The communication interface may provide the apparatus with communication capabilities to communicate in the cellular communication system and enable communication, for example, with network nodes and terminal devices. The communication interface <NUM> may comprise standard well-known components such as an amplifier, filter, frequency-converter, (de)modulator, and encoder/decoder circuitries and one or more antennas. The communication interface <NUM> may comprise radio interface components providing the apparatus with radio communication capability in the cell.

As used in this application, the term "circuitry may refer to one or more or all of the following:.

In an embodiment, at least some of the processes described in connection with <FIG>, <FIG>and <FIG>may be carried out by an apparatus comprising corresponding means for carrying out at least some of the described processes. Some example means for carrying out the processes may include at least one of the following: detector, processor (including dual-core and multiple-core processors), digital signal processor, controller, receiver, transmitter, encoder, decoder, memory, RAM, ROM, software, firmware, display, user interface, display circuitry, user interface circuitry, user interface software, display software, circuit, antenna, antenna circuitry, and circuitry. In an embodiment, the at least one processor, the memory, and the computer program code form processing means or comprises one or more computer program code portions for carrying out one or more operations according to any one of the embodiments of <FIG>, <FIG> and <FIG> or operations thereof.

The techniques and methods described herein may be implemented by various means. For example, these techniques may be implemented in hardware (one or more devices), firmware (one or more devices), software (one or more modules), or combinations thereof. For a hardware implementation, the apparatus(es) of embodiments may be implemented within one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof. For firmware or software, the implementation can be carried out through modules of at least one chipset (procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory unit and executed by processors. The memory unit may be implemented within the processor or externally to the processor. In the latter case, it can be communicatively coupled to the processor via various means, as is known in the art. Additionally, the components of the systems described herein may be rearranged and/or complemented by additional components in order to facilitate the achievements of the various aspects, etc., described with regard thereto, and they are not limited to the precise configurations set forth in the given figures, as will be appreciated by one skilled in the art.

According to an embodiment, there is provided an apparatus for a first terminal device, the apparatus comprising means for performing:.

According to an embodiment, there is provided an apparatus for a second terminal device, the apparatus comprising means for performing:.

According to an embodiment, there is provided an apparatus for a third terminal device, the apparatus comprising means for performing:.

Embodiments as described may also be carried out in the form of a computer process defined by a computer program or portions thereof. Embodiments of the methods described in connection with <FIG>, <FIG> and <FIG> may be carried out by executing at least one portion of a computer program comprising corresponding instructions. The computer program may be in source code form, object code form, or in some intermediate form, and it may be stored in some sort of carrier, which may be any entity or device capable of carrying the program. For example, the computer program may be stored on a computer program distribution medium readable by a computer or a processor. The computer program medium may be, for example but not limited to, a record medium, computer memory, read-only memory, electrical carrier signal, telecommunications signal, and software distribution package, for example. The computer program medium may be a non-transitory medium. Coding of software for carrying out the embodiments as shown and described is well within the scope of a person of ordinary skill in the art.

According to an embodiment, there is provided a computer program comprising instructions or a computer readable medium comprising program instructions or a non-transitory computer readable medium comprising program instructions for causing an apparatus (e.g., a first terminal device or a part thereof) to perform at least the following:.

According to an embodiment, there is provided a computer program comprising instructions stored thereon for performing at least the steps listed above (i.e., in connection with the preceding embodiment).

According to an embodiment, there is provided a computer program comprising instructions or a computer readable medium comprising program instructions or a non-transitory computer readable medium comprising program instructions for causing an apparatus (e.g., a second terminal device or a part thereof) to perform at least the following:.

According to an embodiment, there is provided a computer program comprising instructions or a computer readable medium comprising program instructions or a non-transitory computer readable medium comprising program instructions for causing an apparatus (e.g., a third terminal device or a part thereof) to perform at least the following:.

Claim 1:
An apparatus for a first terminal device, the apparatus comprising means for:
transmitting a first uplink reference signal at a first transmission time instance measured according to a local reference clock of the first terminal device;
applying a frequency shift to a frequency of the local reference clock at a frequency-shift time instance measured according to the local reference clock and following the first time instance;
calculating a shift of transmission timing for an upcoming transmission of a second uplink reference signal to compensate for the frequency shift based on a second transmission time instance scheduled using the local reference clock for the upcoming transmission of the second uplink reference signal, the frequency shift and the frequency-shift time instance;
applying the shift of transmission timing to the second transmission time instance; and
transmitting the second uplink reference signal at the second time instance following the shift of transmission timing.