This application is based upon and claims the benefit of priority from the prior Japanese Patent Applications No. 2017-053380, filed on Mar. 17, 2017 and No. 2017-138307, filed on Jul. 14, 2017; the entire contents of which are incorporated herein by reference.
Embodiments of the present invention relate to a distance measuring device and a distance measuring method.
In recent years, keyless entry for facilitating unlocking and locking of a car has been adopted in many cars. This technique performs unlocking and locking of a door using communication between a key of an automobile and the automobile. Further, in recent years, a smart entry system that makes it possible to perform, with a smart key, unlocking and locking of a door lock and start an engine without touching a key has been also adopted.
However, a lot of incidents occur in which an attacker intrudes into communication between a key and an automobile and steals the automobile. As measures against the attack (so-called relay attack), a measure for measuring the distance between the key and the automobile and, when determining that the distance is equal to or larger than a predetermined distance, it is being reviewed to prevent control of the automobile by communication.
As a distance measuring technique, many techniques exist, such as a two-cycle CW (continuous wave) scheme, an FM (frequency modulated) CW scheme, a Doppler scheme, and a phase detection scheme. In general, in distance measurement, a distance from a measuring device to a target object is calculated by providing a transmitter and a receiver in the same housing of the measuring device, hitting a radio wave emitted from the transmitter against the target object, and detecting a reflected wave of the radio wave with the receiver.
However, when it is taking into account a relatively small reflection coefficient of the target object, limitation on output power due to the Radio Law, and the like, in the distance measuring technique for measuring a distance using the reflected wave, a measurable distance is relatively small and is insufficient for use in the measures against the relay attack.
A distance measuring device according to an embodiment is a distance measuring device that calculates a distance on a basis of carrier phase detection, the distance measuring device including a calculating section configured to calculate, on a basis of phase information acquired by a first device and a second device, at least one of which is movable, a distance between the first device and the second device. The first device includes: a first reference signal source; and a first transceiver configured to transmit three or more first carrier signals and receive three or more second carrier signals using an output of the first reference signal source. The second device includes: a second reference signal source configured to operate independently from the first reference signal source; and a second transceiver configured to transmit the three or more second carrier signals and receive the three or more first carrier signals using an output of the second reference signal source. The calculating section calculates the distance on a basis of a phase detection result obtained by reception of the first and second carrier signals and corrects the calculated distance on a basis of information concerning an amplitude ratio of the first carrier signals received by the second transceiver or information concerning an amplitude ratio of the second carrier signals received by the first transceiver.
Embodiments of the present invention are explained below in detail with reference to the drawings.
In the present embodiment, an example is explained in which a phase detection scheme for detecting a phase of an unmodulated carrier is adopted and communication-type distance measurement for calculating a distance between respective devices through communication between the respective devices is adopted. In a general phase detection scheme for detecting a phase of a reflected wave, a measurable distance is relatively short as explained above. Therefore, in the present embodiment, the communication-type distance measurement for performing communication between devices is adopted. However, since respective transmitters of the respective devices independently operate from each other, initial phases of transmitted radio waves from the respective transmitters are different from each other. An accurate distance cannot be calculated by the phase detection scheme in the past for calculating a distance according to a phase difference. Therefore, in the present embodiment, as explained below, phase information calculated by reception of one device is transmitted to the other device to make it possible to calculate an accurate distance in the other device.
First, the principle of distance measurement by the phase detecting scheme for detecting a phase of a reflected wave and problems of the distance measurement are explained with reference to the explanatory diagrams of
In the phase detection scheme, for distance measurement, signals having two frequencies deviating from a center angular frequency ωC1 by an angular frequency are transmitted. In a distance measuring device that measures a distance using a reflected wave, a transmitter and a receiver are provided in the same housing. A transmission signal (a radio wave) emitted from the transmitter is reflected on a target object and a reflected wave of the radio wave is received by the receiver.
As shown in
tx1(t)=cos{(ωC1+ωB1)t+θ1H} (1)
The transmission signal reaches a target object (a wall W) apart from the transmitter by a distance R with a delay time τ1 and is reflected and received by the receiver. Since the speed of the radio wave is equal to the speed of light c(=3×108 m/s), τ1=(R/c) (seconds). The signal received by the receiver delays by 2τ1 with respect to the emitted signal. Therefore, a received signal (a received wave) rx1(t) of the receiver is represented by the following Equations (2) and (3):
rx1(t)=cos{(ωC1+ωB1)t+θ1H−θ2×Hτ1} (2)
θ2×Hτ1=(ωC1+ωB1)2τ1 (3)
That is, the transmission signal is received by the receiver with a phase shift of a multiplication result (θ2×Hτ1) of the delay time and the transmission angular frequency.
Similarly, as shown in
tx1(t)=cos{(ωC1−ωB1)t+θ1L} (4)
rx1(t)=cos{(ωC1−ωB1)t+θ1L−θ2×Lτ1} (5)
θ2×Lτ1=(ωC1−ωB1)2τ1 (6)
When a phase shift amount that occurs until the transmission signal having the angular frequency ωC1+ωB1 is received is represented as θH1(t) and a phase shift amount that occurs until the transmission signal having the angular frequency ωC1−ωB1 is received is represented as θL1(t), a difference between phase shifts of the two received waves is represented by the following Equation (7) obtained by subtracting Equation (6) from Equation (3):
θH1(t)−θL1(t)=(θ2×Hτ1−θ2×Lτ1)=2ωB1×2τ1 (7)
where τ1=R/c. Since the differential frequency ωB1 is known, if the difference between the phase shift amounts of the two received waves is measured, the distance R can be calculated as follows from a measurement result:
R=c×(θ2×Hτ1−θ2×Lτ1)/(4ωB1)
Incidentally, in the above explanation, the distance R is calculated taking into account only the phase information. Amplitude is examined below concerning a case in which a transmission wave having the angular frequency ωC1+ωB1 is used. The transmission wave indicated by Equation (1) described above delays by a delay amount τ1=R/c at a point in time when the transmission wave reaches a target object away from the transmitter by the distance R. Amplitude is attenuated by attenuation L1 corresponding to the distance R. The transmission wave changes to a wave rx2(t) represented by the following Equation (8):
rx2(t)=L1 cos{(ωC1+ωB1)t+θ1H−(ωC1+ωB1)τ1} (8)
Further, the transmission wave is attenuated by attenuation LRFL when the transmission wave is reflected from the target object. A reflected wave tx2(t) in the target object is represented by the following Equation (9):
tx2(t)=LRFLL1 cos{(ωC1+ωB1)t+θ1H−(ωC1+ωB1)τ1} (9)
The received signal rx1(t) received by the receiver is delayed by a delay amount τ1=R/c(s) from the target object. Amplitude is attenuated by attenuation L1 corresponding to the distance R. Therefore, the received signal is represented by the following Equation (10):
rx1(t)=L1×LRFL×L1 cos{(ωC1+ωB1)t+θ1H−2(ωC1+ωB1)τ1} (10)
In this way, the transmission signal from the transmitter is attenuated by L1×LRFL×L1 until the transmission signal reaches the receiver. Signal amplitude that can be emitted from the transmitter in distance measurement needs to conform to the Radio Law according to an applied frequency. For example, a specific frequency in a 920 MHz band involves limitation to suppress transmission signal power to 1 mW or less. From the viewpoint of a signal-to-noise ratio of the received signal, it is necessary to suppress attenuation between transmission and reception in order to accurately measure a distance. However, as explained above, since attenuation is relatively large in the distance measurement for measuring a distance using a reflected wave, a distance that can be accurately measured is short.
Therefore, as explained above, in the present embodiment, by transmitting and receiving signals between the two devices without using a reflected wave, attenuation is reduced by LRFL×L1 to increase the distance that can be accurately measured.
However, the two devices are apart from each other by the distance R and cannot share the same reference signal. In general, it is difficult to synchronize the transmission signal with a local oscillation signal used for reception. That is, between the two devices, deviation occurs in a signal frequency and an initial phase is unknown. Problems in distance measurement performed using such an asynchronous transmission wave are explained.
In the distance measuring system in the present embodiment, in distance measurement between two objects, two devices (a first device and a second device) that emit carrier signals (transmission signals) asynchronously from each other are disposed in the positions of the respective objects and the distance R between the two devices is calculated. In the present embodiment, carrier signals having two frequencies deviating from a center angular frequency ωC1 by the angular frequency ±ωB1 are transmitted in the first device. Carrier signals having two frequencies deviating from the center angular frequency ωC2 by an angular frequency ±ωB2 are transmitted in the second device.
The distance between the transmission device and the reception device is represented as 2R to correspond to the distance in the case in which the reflected wave is used. Initial phases of a transmission signal having the angular frequency ωC1+ωB1 and a transmission signal having the angular frequency ωC1−ωB1 transmitted from the device A1 are respectively represented as θ1H and θ1L. Initial phases of two signals having the angular frequencies ωC2+ωB2 and ωC2−ωB2 of the device A2 are respectively represented as θ2H and θ2L.
First, a phase is considered concerning the transmission signal having the angular frequency ωC1+ωB1. The transmission signal represented by Equation (1) described above is output from the device A1. The received signal rx2(t) in the device A2 is represented by the following Equation (11):
rx2(t)=cos{(ωC1+ωB1)t+θ1H−θ2×Hτ1} (11)
The device A2 multiplies together two signals cos{(ωC2+ωB2)t+θ2H} and sin{(ωC2+ωB2)t+θ2H} and a received wave of Equation (11) to thereby separates the received wave into an in-phase component (an I signal) and a quadrature component (a Q signal). A phase of the received wave (hereinafter referred to as detected phase or simply referred to as phase) can be easily calculated from the I and Q signals. That is, a detected phase θH1(t) is represented by the following Equation (12). Note that, in the following Equation (12), since a term of harmonics near an angular frequency ωC1+ωc2 is removed during demodulation, the term is omitted.
θH1(t)=tan−1(Q(t)/I(t))=−{(ωC1−ωC2)t+(ωB1−ωB2)t+θ1H−θ2×Hτ1} (12)
Similarly, when the transmission signal having the angular frequency ωC1−ωB1 is transmitted from the device A1, a detected phase θL1(t) calculated from the I and Q signals obtained in the device A2 is represented by the following Equation (13). Note that, in the following Equation (13), since a term of harmonics near the angular frequency ωC1+ωC2 is removed during demodulation, the term is omitted.
θL1(t)=tan−1(Q(t)/I(t))=−{(ωC1−ωC2)t−(ωB1−ωB2)t+θ1L−θ2L−θ2×Lτ1} (13)
A phase difference between these two detected phases (hereinafter referred to as detected phase difference or simply referred to as phase difference) θH1(t)−θL1(t) is represented by the following Equation (14):
θH1(t)−θL1(t)=−2(ωB1−ωB2)t+(θ1H−θ1L)−(θ2H−θ2L)+(θ2×Hτ1−θ2×Lτ1) (14)
In the distance measuring device in the past that measures a distance using a reflected wave, the device A1 and the device A2 are the same device and share the local oscillator. Therefore, the following Equations (15) to (17) are satisfied:
ωB1=ωB2 (15)
θ1H=θ2H (16)
θ1L=θ2L (17)
When Equations (15) to (17) hold, Equation (14) is equal to Equation (7) described above. The distance R between the device A1 and the device A2 can be calculated according to a phase difference calculated by I and Q demodulation processing for the received signal in the device A2.
However, since the device A1 and the device A2 are provided to be separated from each other and the local oscillators operate independently from each other, Equations (15) to (17) described above are not satisfied. In this case, unknown information such as a difference between initial phases is included in Equation (14). A distance cannot be correctly calculated.
The signals having the two angular frequencies explained above transmitted by the first device are received in the second device and phases of the respective signals are calculated. The signals having the two angular frequencies explained. above transmitted by the second device are received in the first device and phases of the respective signals are calculated. Further, phase information is transmitted from either one of the first device and the second device to the other. In the present embodiment, as explained below, basically the distance R between the first device and the second device is calculated by adding up a phase difference between the two signals calculated by the reception of the first device and a phase difference between the two signals calculated by the reception of the second device. Note that the phase information may be the I and Q signals or may be information concerning phases calculated from the I and Q signals or may be information concerning a difference between phases calculated from two signals having different frequencies.
In
An oscillator 13 is controlled by the control section 11 and generates oscillation signals (local signals) having two frequencies on a basis of a reference oscillator incorporated in the oscillator 13. The respective oscillation signals from the oscillator 13 are supplied to a transmitting section 14 and a receiving section 15. Angular frequencies of the oscillation signals generated by the oscillator 13 are set to angular frequencies necessary for generating three waves of ωC1+ωB1, ωC1−ωB1 and ωC1 as angular frequencies of transmission waves of the transmitting section 14.
The transmitting section 14 can be configured of, for example, a quadrature modulator. The transmitting section 14 is controlled by the control section 11 to be capable of outputting three transmission waves of a transmission signal having the angular frequency ωC1+ωB1, a transmission signal having the angular frequency ωC1−ωB1 and the angular frequency ωC1. The transmission waves from the transmitting section 14 are supplied to an antenna circuit 17.
The antenna circuit 17 includes one or more antennas and can transmit the transmission waves transmitted from the transmitting section 14. The antenna circuit 17 receives transmission waves from the device 2 explained below and supplies received signals to the receiving section 15.
The receiving section 15 can be configured of, for example, a quadrature demodulator. The receiving section 15 is controlled by the control section 11 to be capable of receiving and demodulating a transmission wave from the device 2 using, for example, signals having angular frequencies ωC1 and ωB1 from the oscillator 13 and separating and outputting an in-phase component (an I signal) and a quadrature component (a Q signal) of the received wave.
A configuration of the device 2 is the same as the configuration of the device 1. That is, a control section 21 is provided in the second device. The control section 21 controls respective sections of the device 2. The control section 21 is configured of a processor including a CPU. The control section 21 may operate according to a computer program stored in a not-shown memory and control the respective sections.
An oscillator 23 is controlled by the control section 21 to generate oscillation signals having two frequencies on a basis of a reference oscillator incorporated in the oscillator 23. The respective oscillation signals from the oscillator 23 are supplied to a transmitting section 24 and a receiving section 25. Angular frequencies of the oscillation signals generated by the oscillator 23 are set to angular frequencies necessary for generating two waves of ωC2+ωB2 and ωC2−ωB2 as angular frequencies of transmission waves of the transmitting section 24.
The transmitting section 24 can be configured of, for example, a quadrature modulator. The transmitting section 24 is controlled by the control section 21 to be capable of outputting two transmission waves of a transmission signal having an angular frequency ωC2+ωB2 and a transmission signal having an angular frequency ωC2−ωB2. The transmission waves from the transmitting section 24 are supplied to an antenna circuit 27.
The antenna circuit 27 includes one or more antennas and can transmit the transmission waves transmitted from the transmitting section 24. The antenna circuit 27 receives transmission waves from the device 1 and supplies received signals to the receiving section 25.
The receiving section 25 can be configured of, for example, a quadrature demodulator. The receiving section 25 is controlled by the control section 21 to be capable of receiving and demodulating a transmission wave from the device 1 using, for example, signals having angular frequencies ωC2 and ωB2 from the oscillator 23 and separating and outputting an in-phase component (an I signal) and a quadrature component (a Q signal) of the received wave.
Note that a configuration of the image suppression scheme is publicly known. As characteristics of the image suppression scheme, when a higher angular frequency band is demodulated centering on a local angular frequency for a high frequency, that is, ωC1 or ωC2, a signal in a lower angular frequency band is attenuated and, when a lower angular frequency band is demodulated, a signal in a higher angular frequency band is attenuated. This filtering effect is due to signal processing. The same applies to transmission. When the higher angular frequency band is demodulated centering on ωC1 or ωC2, sin(ωB1t+θB1) or sin(ωB2t+θB2) shown in
Note that, in a receiver of the image suppression scheme, a term of harmonics near the angular frequency ωC1+ωC2 is removed during demodulation. Therefore, in an operation explained below, this term is omitted.
The transmitting section 14 is configured of multipliers TM11 and TM12 and an adder TS11. Oscillation signals having an angular frequency ωC1 and having phases 90 degrees different from each other are respectively given to the multipliers TM11 and TM12 from the oscillator 13. Oscillation signals having an angular frequency ωB1 and having phases 90 degrees different from each other are respectively given to the multipliers TM11 and TM12 from the oscillator 13. An inverted signal of the oscillation signal having the angular frequency ωB1 is also given to the multiplier TM12 from the oscillator 13.
The multipliers TM11 and TM12 respectively multiply together the two inputs and give multiplication results to the adder TS11. The adder TS11 adds up outputs of the multipliers TM11 and TM12 and outputs an addition result as a transmission wave tx1.
The receiving section 15 is configured of multipliers RM11 to RM16 and adders RS11 and RS12. A transmission wave of the device 2 is input to the multipliers RM11 and RM12 via the antenna circuit 17 as a received signal rx1. Oscillation signals having the angular frequency ωC1 and phases 90 degrees different from each other are respectively given to the multipliers RM11 and RM12 from the oscillator 13. The multiplier RM11 multiplies together the two inputs and gives a multiplication result to the multipliers RM13 and RM14. The multiplier RM12 multiplies together the two inputs and gives a multiplication result to the multipliers RM15 and RM16.
An oscillation signal having the angular frequency (a local angular frequency for baseband processing) ωB1 is given to the multipliers RM13 and RM15 from the oscillator 13. The multiplier RM13 multiplies together the two inputs and gives a multiplication result to the adder RS11. The multiplier RM14 multiplies together the two inputs and gives a multiplication result to the adder RS12.
An oscillation signal having the angular frequency ωB1 or an inverted signal of the oscillation signal, that is, a signal orthogonal to the oscillation signal having the angular frequency ωB1 given to the multiplier RM13 is given to the multipliers RM14 and RM16 from the oscillator 13. The multiplier RM14 multiplies together the two inputs and gives a multiplication result to the adder RS12. The multiplier RM16 multiplies together the two inputs and gives a multiplication result to the adder RS11.
The adder RS11 adds up outputs of the multipliers RM13 and RM16 and outputs an addition result as an I signal. The adder RS12 adds up outputs of the multipliers RM14 and RM15 and outputs an addition result as a Q signal. The I and Q signals from the receiving section 15 are supplied to the control section 11.
The circuits shown in
In the present embodiment, the control section 11 of the device 1 controls the transmitting section 14 to transmit two transmission waves having angular frequencies ωC1+ωB1 and ωC1−ωB1 via the antenna circuit 17.
On the other hand, the control section 21 of the device 2 controls the transmitting section 24 to transmit two transmission waves having angular frequencies ωC2+ωB2 and ωC2−ωB2 via the antenna circuit 27.
The control section 11 of the device 1 controls the receiving section 15 to receive the two transmission waves from the device 2 and acquires the I and Q signals. The control section 11 calculates a difference between two phases calculated from the I and Q signals respectively obtained by two received signals.
Similarly, the control section 21 of the device 2 controls the receiving section 25 to receive the two transmission waves from the device 1 and acquires the I and Q signals. The control section 21 calculates a difference between two phases calculated from the I and Q signals respectively obtained by two received signals.
In the present embodiment, the control section 11 of the device 1 gives phase information based on the acquired I and Q signals to the transmitting section 14 and causes the transmitting section 14 to transmit the phase information. Note that, as explained above, as the phase information, for example, a predetermined initial value may be given. The phase information may be I and Q signals calculated from the two received signals, may be information concerning phases calculated from the I and Q signals, or may be information concerning a difference between the phases.
For example, the control section 11 may generate I and Q signals based on phase information of a received signal having an angular frequency ωB2 and supplies the I and Q signals respectively to the multipliers TM11 and TM12 to transmit the phase information.
During output of the oscillation signal having the angular frequency ωB1, the control section 11 may generate I and Q signals obtained by adding phase information of the received signal having the angular frequency ωB2 to an initial phase of the oscillation signal having angular frequency ωB1 and supply the I and Q signals respectively to the multipliers TM11 and TM12 to transmit the phase information.
The receiving section 25 of the device 2 receives the phase information transmitted by the transmitting section 14 via the antenna circuit 27. The receiving section 25 demodulates a received signal and obtains I and Q signals of the phase information. The I and Q signals are supplied to the control section 21. The control section 21 obtains, according to the phase information from the receiving section 25, a value including the phase difference acquired by the control section 11 of the device 1. The control section 21 functioning as a calculating section adds up the phase difference obtained by the reception result of the receiving section 25 and the phase difference based on the phase information transmitted from the device 2 to calculate the distance R between the first device 1 and the second device 2.
Note that, in
An operation of the distance measuring system is explained with reference to the flowchart of
In step S1, the control section 11 of the device 1 determines whether an instruction for a distance measurement start is received. When the instruction for the distance measurement start is received, the control section 11 controls the oscillator 13 to start an output of a necessary oscillation signal. In step S11, the control section 21 of the device 2 determines whether an instruction for a distance measurement start is received. When the instruction for the distance measurement start is received, the control section 21 controls the oscillator 23 to start an output of a necessary oscillation signal.
Note that, as explained below, in step S9, the control section 11 ends oscillation. In step S20, the control section 21 ends oscillation. Control of a start and an end of oscillation in the control sections 11 and 21 indicates that oscillation of the oscillators 13 and 23 is not stopped during transmission and reception periods for distance measurement. Actual start and end timings of the oscillation are not limited to the flow shown in
The control section 11 of the device 1 generates two transmission signals in step S3 and causes the antenna circuit 17 to transmit the transmission signals as transmission waves (step S4). The control section 21 of the device 2 generates two transmission signals in step S13 and causes the antenna circuit 27 to transmit the transmission signals as transmission waves (step S14).
It is assumed that an initial phase of an oscillation signal having the frequency ωC1 output from the oscillator 13 of the device 1 is θc1 and an initial phase of an oscillation signal having the frequency ωB1 is θB1. Note that, as explained above, the initial phases θc1 and ωB1 are not set anew as long as the oscillation of the oscillator 13 continues.
Note that it is assumed that an initial phase of an oscillation signal having the frequency ωC2 output from the oscillator 23 of the device 2 is ωc2 and an initial phase of an oscillation signal having the frequency ωB2 is θB2. The initial phases θc2 and θB2 are not set anew as long as the oscillation of the oscillator 23 continues.
Note that, when simultaneous transmission and simultaneous reception of two frequencies are assumed, two wireless sections shown in
Two transmission waves having the angular frequencies ωC1+ωB1 and ωC1−ωB1 are output from the transmitting section 14 of the device 1, and the transmitting section 14 is composed of the multipliers TM11 and TM12 and the adder TS11. The transmission signal tx1(t) having the angular frequency ωC1+ωB1 is represented by the following Equation (18):
When the distance between the devices 1 and 2 is represented as R and a delay until a transmission wave from the device 1 is received by the device 2 is represented as τ1, the received signal rx2(t) of the device 2 can be represented by the following Equations (19) and (20):
The received signal rx2(t) is received by the antenna circuit 27 and supplied to the receiving section 25. In the receiver shown in
I
1(t)=cos(ωC2t+θC2)×cos{(ωC1+ωB1)t+θc1+θB1−θτH1} (21)
Q
1(t)=sin(ωC2t+θC2)×cos{(ωC1+ωB1)t+θc1+θB1−θτH1} (22)
I
2(t)=I1(t)×cos(ωB2t+θB2) (23)
Q
2(t)=Q1(t)×sin(ωB2t+θB2) (24)
I
3(t)=I1(t)×sin(ωB2t+θB2) (25)
Q
3(t)=Q1(t)×cos(ωB2t+θB2) (26)
An output I(t) of the adder RS21 is I(t)=I2(t)+Q2(t). An output Q(t) of the adder RS22 is Q(t)=I3(t)−Q3(t). A phase θH1(t) obtained from I(t) and Q(t) is represented by the following Equation (27):
θH1(t)=tan−1(Q(t)/I(t))=−{(ωC1−ωC2)t+(ωB1−ωB2)t+θC1−θC2+θB1−θB2−θτH1} (27)
Similarly, when the signal tx2(t) having the angular frequency ωC2+ωB2 transmitted from the device 2 is received by the device 1 after a delay τ2, a phase θH2(t) obtained from the signals I(t) and Q(t) detected by the device 1 is calculated.
The received signal rx1(t) is received by the antenna circuit 17 and supplied to the receiving section 15. In the receiver shown in
I
1(t)=cos(ωC1t+θC1)×cos{(ωC2+ωB2)t+θc2+θB2−θτH2} (31)
Q
1(t)=sin(ωC1t+θC1)×cos{(ωC2+ωB2)t+θc2+θB2−θτH2} (32)
I
2(t)=I1(t)×cos(ωB1t+θB1) (33)
Q
2(t)=Q1(t)×sin(ωB1t+θB1) (34)
I
3(t)=I1(t)×sin(ωB1t+θB1) (35)
Q
3(t)=Q1(t)×cos(ωB1t+θB1) (36)
An output I(t) of the adder RS11 is I(t)=I2(t)+Q2(t). An output Q(t) of the adder RS12 is Q(t)=I3(t)−Q3(t). A phase θH2(t)=tan−1(Q(t)/I(t)) obtained from I(t) and Q(t) is represented by the following Equation (37):
θH2(t)=(ωC1−ωC2)t+(ωB1−ωB2)t+θC1−θC2+θB1−θB2+θτH2 (37)
The signal tx1(t) having the angular frequency ωC1−ωB1 transmitted from the device 1 is calculated in the same manner
Since the distance between the devices 1 and 2 is R and the delay time is τ1, the received signal rx2(t) in the device 2 is represented by the following Equations (39) and (40):
Signals of the respective nodes of the device 2 can be represented by the following Equations (41) to (47):
I
1(t)=cos(ωC2t+θC2)×cos{(ωC1−ωB1)t+θc1−θB1−θτL1} (41)
Q
1(t)=sin(ωC2t+θC2)×cos{(ωC1−ωB1)t+θc1−θB1−θτL1} (42)
I
2(t)=I1(t)×cos(ωB2t+θB2) (43)
Q
2(t)=Q1(t)×−sin(ωB2t+θB2) (44)
I
3(t)=I1(t)×−sin(ωB2t+θB2) (45)
Q
3(t)=Q1(t)×cos(ωB2t+θB2) (46)
A phase θH1(t)=tan−1(Q(t)/I(t)) detected by the device 2 from I(t)=I2(t)−Q2(t) obtained from the adder RS21 and Q(t)=I3(t)+Q3(t) obtained from the adder RS22 is represented by the following Equation (47):
θL1(t)=tan−1(Q(t)/I(t))=−{(ωC1−ωC2)t−(ωB1−ωB2)t+θC1−θC2−(θB1−θB2)−θτL1} (47)
Similarly, when the signal tx2(t) having the angular frequency ωC2−ωB2 transmitted from the device 2 is received by the device 1 after a delay τ2, a phase θL2(t) obtained from I(t) and Q(t) detected by the device 1 is calculated.
Signals of the respective nodes of the device 1 can be represented by the following Equations (53) to (57):
I
1(t)=cos(ωC1t+θC1)×cos{(ωC2−ωB2)t+θc2−θB2−θτL2} (51)
Q
1(t)=sin(ωC1t+θC1)×cos{(ωC2−ωB2)t+θc2−θB2−θτL2} (52)
I
2(t)=I1(t)×cos(ωB1t+θB1) (53)
Q
2(t)=Q1(t)×−sin(ωB1t+θB1) (54)
I
3(t)=I1(t)×−sin(ωB1t+θB1) (55)
Q
3(t)=Q1(t)×cos(ωB1t+θB1) (56)
A phase θH1(t)=tan−1(Q(t)/I(t)) detected by the device 1 from I(t)=I2(t)−Q2(t) obtained from the adder RS11 and Q(t)=I3(t)+Q3(t) obtained from the adder RS12 is represented by the following Equation (57):
θL2(t)=(ωC1−ωC2)t−(ωB1−ωB2)t+θC1−θC2−(θB1−θB2)+θτL2 (57)
In step S6 in
The control section 11 gives acquired phase information to the transmitting section 14 and causes the transmitting section 14 to transmit the phase information (step S8). For example, the control section 11 supplies the I and Q signals based on the phase information instead of the oscillation signals supplied to the multipliers TM11 and TM12 shown in
In step S18, the control section 21 of the device 2 receives the phase information from the device 1. As explained above, the phase information may be the I and Q signals from the receiving section 15 of the device 1, may be information concerning phases obtained from the I and Q signals, or may be information concerning a difference between the phases.
In step S19, the control section 21 performs an operation of the following Equation (58) to calculate a distance. The following Equation (58) is an equation for adding up a difference between Equation (27) and Equation (47) and a difference between Equation (37) and Equation (57).
{θH1(t)−θL1(t)}+{θH2(t)−θL2(t)}=(θτH1−θτL1)+(θτH2−θτL2) (58)
The following Equations (59) and (60) hold:
The delays τ1 and τ2 of radio waves between the devices 1 and 2 are the same irrespective of a traveling direction. Therefore, the following Equation (61) is obtained from Equation (58):
Equation (61) described above indicates that a value proportional to a double of the distance R is calculated by addition of a phase difference between two frequencies by the I and Q signals detected by the device 2 and a phase difference between two frequencies by the I and Q signals detected by the device 1. In general, the angular frequency ωB1 by the oscillator 13 of the device 1 and the angular frequency ωB2 by the oscillator 13 of the device 2 can be matched with an error in the order of several ten ppm. Therefore, the distance R by Equation (61) described above can be calculated at resolution of equal to or higher than at least approximately 1 m.
In step S9, the control section 11 stops the oscillator 13. In step S20, the control section 21 stops the oscillator 23. Note that, as explained above, the control sections 11 and 12 only have to continue the oscillation in a period of transmission and reception in steps S4, S5, S14, and S15. Start and end timings of the oscillation of the oscillators 13 and 23 are not limited to the example shown in
Incidentally, when the addition of the phase differences detected by the device 1 and the device 2 is performed, a result of the addition is sometimes equal to or smaller than −π(rad) or larger than π(rad). In this case, it is possible to calculate a correct distance R with respect to a detected phase by calculating a residue of 2π.
For example, when R=11 m and ωB1=ωB2=2π×5 M, a detected phase difference Δθ12 obtained by the device 1 and a detected phase difference Δθ21 obtained by the device 2 are respectively as represented by the following Equations (62) and (63):
Δθ12=θτH1−θτL1=−1.8849 (62)
Δθ21=θτH2−θτL2=−6.0737 (63)
The following Equation (61a) is obtained from Equation (61) described above:
(½)[{Δθ12}+{Δθ21}]=(ωB1+ωB2)(R/c) (61a)
From Equation (61a), −0.3993=(ωB1+ωB2)(R/c) is obtained. When this equation is solved, R=−19 m. It is shown that a distance cannot be correctly calculated because a detected phase difference is larger than −π(rad).
Therefore, in the present embodiment, in such a case, as shown in
2π+(Δθ12+Δθ21)/2=2.3008
From Equation (61a), R is calculated as R=11 m.
Consequently, in the present embodiment, when the detected phase differences are added up, a residue of 2π only has to be calculated to calculate the distance R. Note that the method of using the residue of 2π in the phase addition is applicable in other examples explained below.
Incidentally, a detected phase difference exceeding 2π cannot be detected. Therefore, a plurality of distance candidates are present with respect to a calculated detected phase difference. As a method of selecting a correct distance from the plurality of distance candidates, a method of transmitting three transmission waves having different angular frequencies and a method of determining a distance according to received power exist.
The following Equation (64) is obtained from Equation (61) described above:
(½)×{θτH1−θτL1)+(θτH2−θτL2)}=(ωB1+ωB2)×(R/c) (64)
When a left side is described as θdet, a relation between the distance R and θdet is as indicated by a solid line in
Referring to
Q>1 (65)
A relation between detected phases at the new angular frequencies and the distance R can be indicated by a broken line shown in
A method of selecting a correct distance according to amplitude observation of a detected signal is explained with reference to the explanatory diagram of
In Equation (8) described above, the amplitude is attenuated at the attenuation L1 according to the distance R. However, propagation attenuation in a free space is represented by the following Equation (66):
L
1=(λ/4πR)2 (66)
where λ is a wavelength. According to Equation (66), if the distance R is large, the attenuation L1 is also large and, if the distance R is small, the attenuation L1 is also small.
P
1=(λ/4πR1)2×P0 (67)
P
2=(λ/4πR2)2×P0 (68)
It is possible to distinguish the distances R1 and R2 from the sum θdet of the detected phase differences and the received power.
Note that, in this case, it is possible to perform sure distance measurement by using the residue of 2π in the phase addition as well.
In this way, in the present embodiment, basically, two transmission waves are adopted in each of the first device and the second device. Each of the first device and the second device transmits signals having two angular frequencies to each of the second device and the first device. Each of the first and second devices calculates two phases of two received signals having different angular frequencies. Any one of the first device and the second device transmits calculated phase information to the other. The device that receives the phase information accurately calculates the distance between the first device and the second device irrespective of initial phases of the oscillators of the first device and the second device according to an addition result a phase difference between the two received signals received by the first device and a phase difference between the two received signals received by the second device. In the distance measuring system, a reflected wave is not used. The accurate distance measurement is performed by only one direction from the first device and the second device. It is possible to increase a measurable distance.
In the explanation described above, Equation (61) described above for calculating a distance from addition of detected phase differences is calculated assuming that the delays τ1 and τ2 of the radio wave are the same in Equation (58) described above. However, Equation (58) is an example in the case in which transmission and reception processing is simultaneously performed in the devices 1 and 2.
However, because of the provision of the Radio Law in the country, a frequency band in which simultaneous transmission and reception cannot be performed is present. For example, a 920 MHz band is an example of the frequency band. When distance measurement is performed in such a frequency band, transmission and reception has to be performed in time series.
When it is specified that only one wave can be transmitted and received at the same time between the devices 1 and 2, it is necessary to carry out, in time-series processing, transmission and reception of at least four waves necessary for distance measurement. However, when the time-series transmission and reception is carried out, a phase equivalent to a delay that occurs in time-series processing is added to a detected phase. A phase required for propagation cannot be calculated. A reason for this is explained by modifying Equation (58) explained above.
Note that a broken line portion of
As in the explanation described above, in the devices 1 and 2 separated from each other by the distance R, a phase (shift amount) at the time when a signal having the angular frequency ωC1+ωB1 transmitted from the device 1 is detected in the device 2 is represented as θH1, a phase at the time when a signal having the angular frequency ωC1−ωB1 transmitted from the device 1 is detected in the device 2 is represented as θL1, a phase (shift amount) at the time when a signal having the angular frequency ωC2+ωB2 transmitted from the device 2 is detected in the device 1 is represented as θH2, and a phase at the time when a signal having the angular frequency ωC2−ωB2 transmitted from the device 2 is detected in the device 1 is represented as θL2.
For example, phase detection order is set as θH1, θL2, θH2, and θL1. As shown in
{θH1(t)−θL1(t+3T)}+{θH2(t+2T)−θL2(t+T)}=(θτH1−θτL1)+(θτH2−θτL2)+(ωC1−ωC2)4T (120)
A last term of Equation (120) described above is a phase added by the time-series transmission and reception. The added phase is a multiplication result of error angular frequencies between the local angular frequencies used in the device 1 and the device 2 and a delay 4T, where the local frequencies are almost the same frequencies as the RF frequencies used in the device 1 and the device 2. When a local frequency is set to 920 MHz, a frequency error is set to 40 ppm, and a delay T is set to 0.1 ms, the added phase is 360°×14.7. It is shown that an error due to the added phase is too large and distance measurement cannot be correctly performed.
The phase detection order is set as θH1, θL1, θH2, and θL2.
{θH1(t)−θL1(t+T)}+{θH2(t+2T)−θL2(t+3T)}=(θτH1−θτL1)+(θτH2−θτL2)+(ωB1−ωB2)4T (121)
A last term of Equation (121) described above is a phase added by the time-series transmission and reception. The added phase is a multiplication result of error angular frequencies between the local angular frequencies for baseband processing used in the device 1 and the device 2 and a delay 4T, where the local frequencies for baseband processing are almost the same frequencies as the baseband frequencies 0 used in the device 1 and the device 2. When a local frequency for baseband processing is set to 5 MHz, a frequency error is set to 40 ppm, and the delay T is set to 0.1 ms, the added phase is 360°×0.08=28.8°. It is shown from precedence that distance measurement can be correctly performed.
However, in this case, it depends on a system whether an error is within an allowable error of system specifications. The present embodiment presents a time-series procedure for reducing a distance error that occurs because of the time-series transmission and reception. Note that the present embodiment indicates a procedure that takes into account the regulation of transmission and reception specified by the Radio Law.
First, an influence due to a transmission delay is considered.
The following Equation (122) is obtained by modifying Equation (58) described above:
{θH1(t)+θH2(t)}−{θL1(t)+θL2(t)}=(θτH1+θτH2)−(θτL1+θτL2) (122)
In the equation,
θH1(t)+θH2(t)=θτH1+θτH2 (123)
θL1(t)+θL2(t)=θτL1+θτL2 (124)
In wireless communication, there is a provision that, when a signal addressed to oneself is received, a reply can be transmitted without carrier sense. According to the provision, after transmission of a signal from the device 1 to the device 2 ends, a reply is immediately transmitted from the device 2 to the device 1. To simplify an analysis, it is assumed that the device 2 transmits a reply to the device 1 after t0 from the transmission by the device 1. The following Equation (125) is obtained from Equations (27) and (37):
θH1(t)+θH2(t+t0)=θτH1+θτH2+{(ωB1−ωB2)+(ωC1−ωC2)}t0 (125)
A delay t0 is a shortest time period and includes a time period in which a signal having the angular frequency ωC1+ωB1 is transmitted from the device 1 to the device 2, a transmission and reception timing margin, and a propagation delay. A third term and a fourth term on a right side are phase errors due to the delay t0. The fourth term is particularly a problem because a frequency is high. This is referred to below.
The delay T is further added to a left side of Equation (125).
θH1(t+T)+θH2(t+t0+T)=θτH1+θτH2+{(ωB1−ωB2)+(ωC1−ωC2)}t0 (126)
A right side of Equation (126) described above and a right side of Equation (125) described above are the same. That is, if a relative time difference is the same (in the example explained above, T), an addition result of a phase in which a signal transmitted from the device 1 is received by the device 2 and a phase in which a signal transmitted from the device 2 is received by the device 1 does not change irrespective of the delay T. That is, the addition result of the phases is a value that does not depend on the delay T.
Transmission and reception of the angular frequency ωC1−ωB1 signal between the device 1 and the device 2 is explained the same. That is, the following Equations (127) and (128) are obtained from Equations (47) and (57) described above:
θL1(t)+θL2(t+t0)=θτL1+θτL2+{−(ωB1−ωB2)+(ωC1−ωC2)}t0 (127)
θL1(t+T)+θL2(t+t0+T)=θτL1+θτL2+{−(ωB1−ωB2)+(ωC1−ωC2)}t0 (128)
From the above examination, a sequence is considered in which, after transmission and reception in both directions of the angular frequency ωC1+ωB1 signal, transmission of reception of the angular frequency ωC1−ωB1 signal is performed. When a transmission start time of the angular frequency ωC1−ωB1 signal from the device 1 is represented as T on a basis of a transmission start time of the angular frequency ωC1+ωB1 signal, the following Equation (129) is obtained from Equations (125) and (128) describe above, where T>t0 is assumed.
θH1(t)+θH2(t+t0)−{θL1(t+T)+θL2(t+t0+T)}=θτH1−θτL1+θτH2−θτL2+2(ωB1−ωB2)t0 (129)
A last term of a left side of Equation (129) described above is a phase error due to a transmission delay. A delay error due to a received local frequency for high-frequency is cancelled by calculating a difference between the angular frequency ωC1+ωB1 signal and the angular frequency ωC1−ωB1 signal. Therefore, the phase error is, in terms of time series, multiplication of a shortest delay time t0 and an error of a local angular frequency (e.g., 2π×5 MHz) for a baseband processing. If the delay time t0 is set small, the error is small. Therefore, depending on a value of the delay time t0, practically, it is considered possible to perform distance measurement without a problem in accuracy.
A method of removing the last term of Equation (129) described above, which is a distance estimation error factor, is explained.
The following Equation (130) is obtained from Equations (27) and (37) described above:
θH1(t+t0)+θH2(t)=θτH1+θτH2−{(ωB1−ωB2)+(ωC1−ωC2)}t0 (130)
Even if a predetermined delay D is added to a left side of Equation (130), as explained above, a value of a right side does not change. Therefore, the following Equation (131) is obtained:
θH1(t+t0+D)+θH2(t+D)=θτH1+θτH2−{(ωB1−ωB2)+(ωC1−ωC2)}t0 (131)
When the Equations (125) and (131) are added up, the following Equation (132) is obtained:
θH1(t)+θH2(t+t0)+θH1(t+t0+D)+θH2(t+D)=2(θτH1+θτH2) (132)
A left side of
θH1(t)+2θH2(t+t0)+θH1(t+2t0)=2(θτH1+θτH2) (133)
A right side of Equation (133) described above is only a term of a radio wave propagation delay corresponding to a distance that does not depend on time.
From Equations (47) and (57) described above, the following Equation (134) is obtained:
θL1(t+t0)+θL2(t)=θτL1+θτL2−{−(ωB1−ωB2)+(ωC1−ωC2)}t0 (134)
Even if the predetermined delay D is added to a left side of Equation (134), a value of a right side does not change. Therefore, the following Equation (135) is obtained:
θL1(t+t0+D)+θL2(t+D)=θτL1+θτL2−{−(ωB1−ωB2)+(ωC1−ωC2)}t0 (135)
When Equations (127) and (135) described above are added up, the following Equation (136) is obtained:
θL1(t)+θL2(t+t0)+θL1(t+t0+D)+θL2(t+D)=2(θτL1+θτL2) (136)
In Equation (136), when D=t0, the following Equation (137) is obtained:
θL1(t)+2θL2(t+t0)+θL1(t+2t0)=2(θτL1+θτL2) (137)
A right side of Equation (137) described above is only a term of a radio wave propagation delay corresponding to a distance that does not depend on time.
Equations (133) and (137) described above mean a sequence for performing phase detection of a transmission signal of the device 1 in the device 2, performing phase detection of a transmission signal of the device 2 in the device 1 after t0, and performing the phase detection of the transmission signal of the device 1 in the device 2 again after 2t0. In the following explanation, the process in which transmission of the transmission signal of the device 1 and phase detection in the device 2 for the transmission signal and transmission of the transmission signal of the device 2 and phase detection in the device 1 for the transmission signal alternate and the phase detections are measured again by shifting time is referred to as “repeated alternation”.
That is, the repeated alternation for respectively transmitting and receiving two carrier signals in the devices 1 and 2 and transmitting and receiving the carrier signal again at a t0 interval from the device 1 or 2 to the other device is performed. Consequently, although the order and time of the transmission are limited, it is possible to perform accurate distance measurement that does not depend on time.
Further, depending on a transmission and reception sequence of carrier signals, even if the repeated alternation is not performed at the t0 interval, it is possible to perform accurate distance measurement that does not depend on time.
That is, even if a fixed delay T is added to a left side of Equation (136) described above, a right side is fixed. Therefore, the following Equation (138) is obtained:
θL1(t+T)+θL2(t+t0+T)+θL1(t+t0+D+T)+θL2(t+D+T)=2(θτL1+θτL2) (138)
The following Equation (139) is obtained from Equations (132) and (138) described above:
Equation (139) described above indicates a sequence for, after performing the repeated alternation of reciprocation of the angular frequencies ωC1+ωB1 signal and ωC2+ωB2 signal at the time interval D, performing the repeated alternation of reciprocation of the angular frequencies ωC1−ωB1 signal and ωC2−ωB2 signal at the time interval D after T from a measurement start. By adopting this sequence, it is possible to remove a distance estimation error factor of the last term of Equation (129) described above and perform accurate distance measurement.
Further, the control section 11 transmits a transmission wave having the angular frequency ωC1−ωB1 (hereinafter referred to as transmission wave L1A). Immediately after receiving the transmission wave L1A, the control section 21 of the device 2 transmits a transmission wave having the angular frequency ωC2−ωB2 (hereinafter referred to as transmission wave L2A). Further, after transmitting the transmission wave L2A, the control section 21 of the device 2 transmits a transmission wave having the angular frequency ωC2−ωB2 (hereinafter referred to as transmission wave L2B). After receiving the second transmission wave L2B, the control section 11 of the device 1 transmits a transmission wave having the angular frequency ωC1−ωB1 (hereinafter referred to as transmission wave L1B).
In this way, as shown in
The control section 11 of the device 1 acquires a phase θH2(t+t0) based on the transmission wave H2A in a predetermined time from a time t0, acquires a phase θH2(t+D) based on the transmission wave H2B in a predetermined time from a time D, acquires a phase θL2(t+t0+T) based on the transmission wave L2A in a predetermined time from a time t0+T, and acquires a phase θL2(t+D+T) based on the transmission wave L2B in a predetermined time from a time D+T.
At least one of the devices 1 and 2 transmits phase information, that is, calculated four phases or two phase differences or an operation result of Equation (139) described above of the phase differences. The control section of the device 1 or 2, which receives the phase information, calculates a distance according to an operation of Equation (139) described above. Note that, although “calculate a phase difference” is described in steps S7 and S17 in
In this way, in the present embodiment, by repeatedly alternating the carrier signals from the first device and the second device, even when the carrier signals cannot be simultaneously transmitted and received, it is possible to perform accurate distance measurement. For example, the first device and the second device respectively transmit signals having two angular frequencies twice to the second device and the first device in a predetermined sequence and calculate phase differences respectively in the first and second devices. Any one of the first device and the second device transmits calculated phase information to the other. The device, which receives the phase information, calculates a distance between the first device and the second device on a basis of eight phases calculated by the first device and the second device. Consequently, the distance between the first device and the second device is accurately calculated irrespective of initial phases of the oscillators of the first device and the second device. In this way, even when signals having respective angular frequencies are not simultaneously transmitted and are transmitted and received at timings shifted from each other, it is possible to remove an error of distance estimation and perform accurate distance measurement.
In the above explanation, the device 2 receives the transmission signal two waves having the angular frequencies ωC1+ωB1 and ωC1−ωB1 from the device 1 and detects the phases θH1(t) and θL1(t). The device 1 receives the transmission signal two waves having the angular frequencies ωC2+ωB2 and ωC2−ωB2 from the device 2 and detects the phases θH2(t) and θL2(t). It is possible to perform the distance measurement using these four phases.
However, there is a problem that a phase of a received wave changes because of an influence of the multipath and a phase of a propagation delay corresponding to a distance cannot be accurately extracted. This problem is explained below using a two-wave model put under strict conditions in the influence of the multipath.
As shown in
It is assumed that the key K receives two waves, that is, a wave propagated through a route in which the wave is propagated to the key K at the propagation delay τ and a wave propagated through a route in which the wave is reflected on a wall and propagated to the key at a propagation delay τ+τ1. In this case, a signal y(t′) received by the key K is a signal obtained by adding up the two waves and is represented by the following Equation (69):
y(t′)=sin{ω(t′−τ)}+A sin{ω(t′−τ−τ1)+θ1} (69)
In the equation, θ1 represents a phase shift that occurs when the wave is reflected on the wall. A represents amplitude that is set taking into account a loss due to the reflection and a propagation loss of a distance error ΔR. To simplify the calculation, t is set as t=t′−τ. A signal at time t in the key K is represented by the following Equation (70):
When Equation (70) described above is modified using a composition formula of trigonometric functions, the following Equations (71) and (72) are obtained:
y(t)={1+A2+2A cos(ωτ1−θ1)}1/2 sin(ωt+ϕ) (71)
ϕ=−tan−1(A sin(ωτ1−θ1)/{1+A cos(ωτ1−θ1)} (72)
It is shown from Equations (71) and (72) that, because of an influence of a delayed wave A sin{ω(t−τ1)+θ1} reflected on the wall W, amplitude and a phase of a received signal of the key K change compared with a case of only a direct wave. A phase change corresponding to an angular frequency ω=ωC1+ωB1 is represented as ϕH and a phase change corresponding to an angular frequency ω=ωC1−ωB1 is represented as ϕL. When a difference ϕL−ϕH of the phase changes is calculated, the following Equation (73) is obtained:
ϕL−ϕH=−tan−1[A sin{(ωC1−ωB1)τ1−θ1}]/[1+A cos{(ωC1−ωB1)τ1−θ1}]+tan−1[A sin{(ωC1+ωB1)τ1−θ1}]/[1+A cos{(ωC1+ωB1)τ1−θ1}] (73)
Equation (73) described above indicates a phase detection error caused by presence of the delayed wave. In the equation, τ1 represents a delay time of the delayed wave with respect to the direct wave and is a value proportional to a difference of a propagation distance. As it is shown from Equation (73), ϕL−ϕH depends on θ1. However ϕL−ϕH depends on a reflecting object and an incident angle unrelated to the propagation distance.
Since a difference of a delay time between the direct wave and the delayed wave is τ1, the phase changes ϕH and ϕL, angular frequencies of which respectively correspond to ωC1+ωB1 and ωC1−ωB1, are represented by the following Equations (74) and (75):
ϕH=(ωC1+ωB1)τ1 (74)
ϕL=(ωC1−ωB1)τ1 (75)
From Equations (74) and (75), since τ1=(ϕH−ϕL)/2ωB1, the distance error ΔR due to a difference of a path is represented by the following Equation (76):
ΔR=cτ1=c×(ϕH−ϕL)/(2ωB1) (76)
When ωB1=2π×5 M (Hz), τ1 is about 16 (ns), −0.8≤ϕH−ϕL≤0.4. In this case, the distance error ΔR is approximately 1.9 m to 3.8 m. That is means, when 2 m is requested as distance accuracy in the distance measuring system under such a condition, distance measurement is performed with an unallowable distance error. Therefore, in this case, it is necessary to compensate for the influence due to the multipath.
Therefore, in the present embodiment, the transmitting sections 14 and 24 transmit a signal having an angular frequency ω=ωC1 separately from the transmission waves having the angular frequencies ω=ωC1+ωB1 and ω=ωC1−ωB1.
A result obtained by calculating amplitude ratios of the three waves, specifically, an amplitude ratio ΔAH0 of the angular frequency ωC1+ωB1 with respect to the angular frequency ωC1 and an amplitude ratio ΔAL0 of the angular frequency ωC1−ωB1 with respect to the angular frequency ωC1 is used. The added signal having the angular frequency ωC1 is an average angular frequency of ωC1+ωB1 and ωC1−ωB1. However, an effect of the added signal is not lost even if the angular frequency of the added signal slightly deviates from the average.
In the key K, concerning a received signal received at the time t, when amplitude AH at the angular frequency ωC1+ωB1, amplitude A0 at the angular frequency ωC1, and amplitude AL at the angular frequency ωC1−ωB1 are respectively calculated from Equation (71) described above, the following Equations (77) to (79) are obtained:
A
H=[1+A2+2A cos{(ωC1+ωB1)τ1−θ1}]1/2 (77)
A
0={1+A2+2A cos(ωC1τ1−θ1)}1/2 (78)
A
L=[1+A2+2A cos{(ωC1−ωB1)τ1−θ1}]1/2 (79)
However, it is assumed that the phase shift θ1 caused by the wall W during the reflection is the same value in an applied frequency range. From Equations (77) to (79) described above, the following Equations (80) and (81) in which amplitude ratios ΔAH0 and ΔAL0 are indicated in decibel are obtained:
ΔA
H0=10 log{1+A2+2A cos{(ωC1+ωB1)τ1−θ1}}−10 log{1+A2+2A cos(ωC1τ1−θ1)} (80)
ΔA
L0=10 log{1+A2+2A cos{(ωC1−ωB1)τ1−θ1}}−10 log{1+A2+2A cos(ωC1τ1−θ1)} (81)
As it is shown from comparison of
As shown in
When the distance error ΔR is calculated with respect to a value obtained by subtracting (ΔAH0+ΔAL0)/4 from the phase error due to the multipath, the following Equation (82) is obtained:
ΔR={ϕ
L−ϕH|in rad−(ΔAH0+ΔAL0|in dB)/4}×c/(2ωB1) (82)
An operation of the distance measuring system is explained with reference to the flowchart of
As example shown in
When receiving the additional transmission wave in step S31, the device 2 acquires I and Q signals in step S32 and calculates a distance error in step S33. In step S34, the device 2 subtracts the distance error from the distance calculated in step S19 and calculates a corrected distance.
Note that, in the flow shown in
Other action is the same as the action shown in
Incidentally, the calculation of the distance error in step S33 is based on Equation (82) described above. The amplitude ratio ΔAH0 and the amplitude ratio ΔAL0 are not affected by time as indicated by Equations (80) and (81) described above. Therefore, the additional signal may be transmitted at any time timing. For example, in the example shown in
In the example shown in
Other action is the same as the action in the case in which the two waves are used.
As explained above, in the present embodiment, by transmitting the two waves of the carrier signals from the first device and the second device to each other and transmitting the one wave of the additional signal, it is possible to calculate a distance error in the multipath and perform distance measurement with the influence of the multipath reduced.
Note that the processing concerning the multipath, the calculation processing of a distance by the residue of 2π, the selection processing from the plurality of distance candidates, the processing in the time-series transmission and reception, and the like can be used in combination as appropriate.
In
As shown in
A data transmitting/receiving section 37 is provided in the vehicle control device 35. The data transmitting/receiving section 37 can perform wireless communication with the data transmitting/receiving section of the key 31 via an antenna 35a. The data transmitting/receiving section 37 receives the peculiar data transmitted from the key 31 and transmits predetermined response data to the key 31 to perform authentication of the key 31 and the automobile 32.
The data transmitting/receiving section 37 can finely set electric field intensity. The authentication is not performed unless the key 31 is located in a relatively close position where the key 31 is capable of receiving transmission data of the data transmitting/receiving section 37, that is, near the automobile 32.
For example, as indicated by a broken line in
In
Therefore, in the present embodiment, the control section 36 determines on a basis of an authentication result of the data transmitting/receiving section 37 and a distance measurement result from the second device 2 whether unlocking and locking, a start of the engine, and the like are permitted.
The second device 2 in the first embodiment is incorporated in the key 31. On the other hand, the device 1 in the first embodiment is mounted on the vehicle control device 35. A transmission wave from the device 1 is received in the device 2 via an antenna 27a. A transmission wave from the device 2 is received in the device 1 via the antenna 27a. The transmission wave from the device 1 is directly received by the antenna 27a in some cases and is received by the antenna 27a through the relay devices 33 and 34 in other cases. Similarly, the transmission wave from the second device 2 is directly received by the device 1 from the antenna 27a in some cases and is received by the device 1 from the antenna 27a through the relay devices 33 and 34.
When it is assumed that phases of the transmission waves from the device 1 and the device 2 do not change in the relay devices 33 and 34, the device 2 can calculate a distance from the key 31 on a basis of the phases calculated in the devices 1 and 2. The device 2 outputs the calculated distance to the control section 36. A distance threshold for permitting authentication of the key 31 is stored in the memory 38. When the distance calculated by the device 2 is within the distance threshold read out from the memory 38, the control section 36 assumes that the key 31 is authenticated and permits unlocking and locking, a start of the engine, and the like. When the distance calculated by the device 2 is larger than the distance threshold read out from the memory 38, the control section 36 does not permit the authentication of the key 31. Therefore, in this case, the control section 36 does not permit unlocking and locking, a start of the engine, and the like.
Note that the relay devices 33 and 34 can change the phases of the transmission waves from the device 1 and the device 2. Even in this case, since initial phases of the devices 1 and 2 are unknown, the relay devices 33 and 34 cannot calculate a phase shift amount necessary for keeping the distance calculated by the device 2 within the distance threshold read out from the memory 38. Therefore, even if the relay devices 33 and 34 are used, possibility that the authentication of the key 31 is permitted is sufficiently small.
As explained above, in the present embodiment, by using the distance measuring system in the first embodiment, it is possible to prevent unlocking and the like of a vehicle from being performed by a relay attack to the smart entry system.
As shown in
Therefore, in the modification, it is determined whether phase fluctuation due to the delayed wave is large. When it is determined that the phase fluctuation is large, control for changing a carrier frequency is performed. When it is determined that the phase fluctuation is small, a distance error is calculated to correct a distance.
For example, in the modification, it may be determined whether the phase fluctuation is large according to ΔAH0 and ΔAL0 calculated by Equations (80) and (81) described above. As it is evident from
Therefore, in the modification, the amplitude ratios ΔAH0 and ΔAL0 are observed. When both of ΔAH0 and ΔAL0 are positive or negative, it is determined that the phase error due to the multipath is relatively large. The frequency difference is increased, the center frequency is shifted, or a frequency is set again to perform distance measurement. Consequently, it is possible to reduce distance accuracy deterioration.
Note that, when an addition result of ΔAH0+ΔAL0 is smaller than a first predetermined threshold (TH1) or larger than a second predetermined threshold (TH2), it is also effective to determine that the phase error due to the multipath is large and perform the same operation.
On the other hand, when ΔAH0+ΔAL0 is smaller than the threshold TH1 or larger than the threshold TH2 in step S41, the control section 21 determines that the phase error due to the multipath is large and shifts the processing to step S42. In step S42, the control section 21 sets a carrier frequency again and returns the processing to steps S3 and S13. When the same operation is repeated thereafter and it is determined that the distance error is relatively small, the distance is corrected.
Note that, in the flow shown in
Note that, as indicated by Equation (82) described above, the correction in step S34 in
In the first embodiment, the simultaneous transmission and the simultaneous reception of the respective two frequencies from the devices 1 and 2 are assumed. In a period of the transmission and reception, the oscillators 13 and 23 are caused to continue oscillation such that the initial phase does not change. On the other hand, in the second embodiment, between the devices 1 and 2, it is specified that only one wave can be transmitted and received at the same time, transmission and reception of at least four waves necessary for distance measurement is carried out in time-series processing, and carrier signals from the devices 1 and 2 are repeatedly alternated to enable accurate distance measurement even when the time-series transmission and reception is performed.
For example, as explained above, in the example shown in
Further, the transmission and reception of the transmission wave having the angular frequency ωC1−ωB1 from the device 1, the two times of transmission and reception of the transmission wave having the angular frequency ωC2−ωB2 from the device 2, and the transmission and reception of the transmission wave having the angular frequency ωC1−ωB1 from the device 1 are performed.
An addition result of phases obtained in the devices 1 and 2 according to first transmission and reception of four waves in
Similarly, an addition result of phases obtained in the devices 1 and 2 by last transmission and reception of fourth waves in
That is, for example, when the sequence of
Incidentally, in the respective embodiments, the example is explained in which the two carrier signals transmitted by the devices 1 and 2 has a frequency of a sum of or a difference between, for example, the relatively high angular frequencies ωC1 and ωC2 and, for example, the relatively low angular frequencies θB1 and ωB2. Note that the angular frequencies ωC1 and ωC2 are set to substantially the same frequency and the angular frequencies ωB1 and ωB2 are set to substantially the same frequency.
However, in the distance measurement in the respective embodiments, as explained below, the devices 1 and 2 only have to transmit two carrier signals respectively having predetermined frequency differences.
An angular frequency ωC+ωB and an angular frequency ωC−ωB can be modified as described below.
ωC+ωB=(ωC−Δωc)+(ΔωC+ωB)=ω′C+ωH (201)
ωC−ωB=(ωC−Δωc)+(ΔωC−ωB)=ω′C+ωL (202)
When transmission waves having the angular frequency ωC and the angular frequency ωB are represented as fC and fB on a frequency axis, transmission waves having the angular frequency ωC+ωB and the angular frequency ωC−ωB are as shown on a left side of
Equations (201) and (202) described above indicate that a representation method is changed without changing a frequency. The transmission wave having the angular frequency ωC+ωB is obtained by a sum of transmission waves having an angular frequency ω′C and an angular frequency ωH. The transmission wave having the angular frequency ωC−ωB is obtained by a sum of transmission waves having the angular frequency ω′C and an angular frequency ωL.
The center in
That is, Equations (201) and (202) described above indicate that two carriers transmitted by the devices 1 and 2 do not need to be obtained by a sum of and a difference between two frequencies and the devices 1 and 2 only have to generate two carriers having a predetermined frequency difference and transmit the carriers.
As an example in which the transmission waves having the angular frequency ωC+ωB and the angular frequency ωC−ωB shown on the left side of
On the other hand, the transmission waves in the center of
The angular frequency ωC−ωB can be modified as shown below.
ωC−ωB=(ωC−2ωB)+(2ωB−ωB)=ω″C+ωB (203)
A right side of
For example, the transmission waves on the right side of
In this way, the devices 1 and 2 only have to transmit the two carrier signals respectively having the predetermined frequency difference in the distance measurement. Moreover, when transmission and reception of a carrier having a higher frequency of the two carriers is alternately performed and transmission and reception of a carrier having a low frequency is subsequently alternately performed as in the sequence shown in
Further, only the carrier having the high frequency is used for an operation of Equation (132) described above obtained by decomposing Equation (139) described above and only the carrier having the low frequency is used for an operation of Equation (138) described above. That is, the operation of Equation (132) described above and the operation of Equation (138) described above only have to be independently performed. The local frequencies may be changed between a transmission. and reception period of the carrier having the high frequency and a transmission and reception period of the carrier having the low frequency.
When the change in the initial phase and the change in the carrier angular frequency are allowed, a flow shown in
In the flow shown in
After acquisition of the I and Q signals based on the transmission signal having the high frequency from the device 2 and before generation of the next one wave transmission signal, the device 1 sets a second local (LO) frequency. Similarly, after the transmission of the one wave transmission wave to the device 1 and before reception of the next one wave transmission wave, the device 2 sets a second local (LO) frequency. The device 1 generates a carrier having a low frequency, for example, as one wave transmission signal using the local signal having the second LO frequency. The device 2 receives the transmission wave of the device 1 using the carrier having the low frequency and acquires I and Q signals.
In this way, the devices 1 and 2 only have to be capable of generating and transmitting the two carrier signals having the predetermined frequency difference. Circuits having various configurations can be adopted as the oscillators 13 and 23, the transmitting sections 14 and 24, and the receiving sections 15 and 25 in
As shown in
The examples shown in
In
A multiplier TM17 gives, to an adder TS16, a multiplication result of the IT signal and the local signal ±sin(ωB1t+θB1) from the oscillator 13. A multiplier TM18 gives, to the adder TS16, a multiplication result of the QT signal and the local signal cos(ωB1t+θB1) from the oscillator 13. The adder TS16 subtracts the output of a multiplier TM18 from the output of the multiplier TM17 and gives a subtraction result to the multiplier TM12. The other components are the same as the components shown in
In
A multiplier TM27 gives, to an adder TS26, a multiplication result of the IT signal and the local signal ±sin(ωB2t+θB2) from the oscillator 23. A multiplier TM28 gives, to the adder TS26, a multiplication result of the QT signal and the local signal cos(ωB2t+θB2) from the oscillator 23. The adder TS26 subtracts the output of the multiplier TM28 from the output of the multiplier TM27 and gives a subtraction result to the multiplier TM22. The other components are the same as the components shown in
In
A multiplier RM1A multiplies together the received signal rx1 and the local signal cos(ωC1t+θC1) to obtain an I1 signal and outputs the I1 signal to multipliers RM1B and RM1C. The multiplier RM1B outputs a multiplication result of the I1 signal and the local signal cos(ωB1t+θB1) as an I signal. The multiplier RM1C outputs a multiplication result of the I1 signal and the local signal sin(ωB1t+θB1) as a Q signal.
In
A multiplier RM2A multiplies together the received signal rx2 and the local signal cos(ωC2t+θC2) to obtain the I1 signal and outputs the I1 signal to multipliers RM2B and RM2C. The multiplier RM2B outputs a multiplication result of the I1 signal and the local signal cos(ωB2t+θB2) as the I signal. The multiplier RM2C outputs a multiplication result of the I1 signal and the local signal sin(ωB2t+θB2) as the Q signal.
In
A multiplier RM1D multiplies together the received signal rx1 and the local signal cos(ωC1t+θC1) and outputs a multiplication result as the I signal. A multiplier RM1E multiplies together the received signal rx1 and the local signal sin(ωC1t+θC1) and outputs a multiplication result as the Q signal.
In
A multiplier RM2D multiplies together the received signal rx2 and the local signal cos(ωC2t+ωC2) and outputs a multiplication result as the I signal. A multiplier RM2E multiplies together the received signal rx2 and the local signal sin(ωC2t+θC2) and outputs a multiplication result as the Q signal.
In the respective embodiments, the phase information is transmitted from either one of the first device and the second device to the other. However, as explained above, a method of transmitting the phase information is not particularly limited. For example, the phase information may be transmitted by shifting by a phase obtained from a received signal, a phase of a carrier signal to be transmitted.
For example, in this case, it is possible to adopt a flow in which the broken line portion of
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel devices and methods described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modification as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2017-053380 | Mar 2017 | JP | national |
2017-138307 | Jul 2017 | JP | national |