Packet detecting method of a wireless signal and packet detecting system of the wireless signal capable of identifying adjacent channel interference
11350296 · 2022-05-31
Assignee
Inventors
Cpc classification
H04W24/08
ELECTRICITY
H04L27/2688
ELECTRICITY
H04L27/2656
ELECTRICITY
International classification
Abstract
A packet detecting method includes receiving the wireless signal, generating a local characteristic sequence, acquiring a first cross-correlation result between the wireless signal and the local characteristic sequence, determining if a packet format of the wireless signal is a target packet format according to the first correlation result, generating at least one interference characteristic sequence according to the local characteristic sequence, a signal sampling frequency, and at least one working frequency difference, acquiring a second cross-correlation result between the wireless signal and the at least one interference characteristic sequence, and detecting a center frequency of the wireless signal for determining if a packet of the wireless signal is transmitted through a target channel according to the first correlation result and the second correlation result. The at least one interference characteristic sequence corresponds to at least one interference frequency.
Claims
1. A packet detecting method of a wireless signal comprising: receiving the wireless signal; generating a local characteristic sequence; acquiring a first cross-correlation result between the wireless signal and the local characteristic sequence; determining if a packet format of the wireless signal is a target packet format according to the first correlation result; generating at least one interference characteristic sequence according to the local characteristic sequence, a signal sampling frequency, and at least one working frequency difference; acquiring a second cross-correlation result between the wireless signal and the at least one interference characteristic sequence; and detecting a center frequency of the wireless signal for determining if a packet of the wireless signal is transmitted through a target channel according to the first correlation result and the second correlation result; wherein the at least one interference characteristic sequence corresponds to at least one interference frequency.
2. The method of claim 1, further comprising: detecting a peak value of the first cross-correlation result between the wireless signal and the local characteristic sequence; determining if a periodic peak value is present; and determining if a plurality of peak values are greater than a threshold during Nsym symbol periods of the wireless signal; wherein Nsym is a positive integer.
3. The method of claim 2, wherein when the periodic peak value is present and the plurality of peak values are greater than the threshold during the Nsym symbol periods of the wireless signal, the packet format of the wireless signal is detected as the target packet format, and when the periodic peak value is absent or at least one peak value is smaller than the threshold during the Nsym symbol periods of the wireless signal, the packet format of the wireless signal is not the target packet format.
4. The method of claim 1, wherein generating the at least one interference characteristic sequence according to the local characteristic sequence, the signal sampling frequency, and the at least one working frequency difference comprises: determining the at least one interference frequency; determining the at least one working frequency difference according to a working frequency and the at least one interference frequency; and rotating each phase of the local characteristic sequence for generating the at least one interference characteristic sequence according to the local characteristic sequence, the signal sampling frequency, and the at least one working frequency difference.
5. The method of claim 1, further comprising: detecting a peak value of the second cross-correlation result between the wireless signal and the at least one interference characteristic sequence during each symbol period; and acquiring at least one total peak value corresponding to the at least one interference characteristic sequence during a plurality of symbol periods.
6. The method of claim 5, further comprising: detecting a peak value of the first cross-correlation result between the wireless signal and the local characteristic sequence during the each symbol period; acquiring a total peak value corresponding to the local characteristic sequence during the plurality of symbol periods; determining that the wireless signal having the center frequency is transmitted through the target channel when the total peak value corresponding to the local characteristic sequence is greater than a linear combination result formed by combining the at least one total peak value corresponding to the at least one interference characteristic sequence with a threshold; and generating a successful reception message of receiving the packet of the wireless signal transmitted through the target channel; wherein the threshold is a positive integer.
7. The method of claim 5, further comprising: detecting a peak value of the first cross-correlation result between the wireless signal and the local characteristic sequence during the each symbol period; acquiring a total peak value corresponding to the local characteristic sequence during the plurality of symbol periods; and generating a reception failure message of receiving the packet of the wireless signal transmitted through an interference channel when the total peak value corresponding to the local characteristic sequence is smaller than a linear combination result formed by combining any total peak value of the at least one total peak value with a threshold; wherein the threshold is a positive integer.
8. The method of claim 1, wherein generating the at least one interference characteristic sequence according to the local characteristic sequence, the signal sampling frequency, and the at least one working frequency difference satisfies an equation:
9. The method of claim 8, wherein when the packet of the wireless signal is transmitted through the target channel, the center frequency of the wireless signal is substantially equal to a working frequency.
10. The method of claim 1, further comprising: executing an automatic gain control (AGC) process and/or a carrier frequency offset (CFO) compensation process to the wireless signal for increasing a packet detection accuracy of the wireless signal.
11. A packet detecting system of a wireless signal comprising: a transmitter configured to transmit the wireless signal; a receiver configured to receive the wireless signal; a processor coupled to the receiver and configured to process the wireless signal; and a memory coupled to the processor and configured to save data; wherein the processor generates a local characteristic sequence, executes a cross-correlation operation between the wireless signal and the local characteristic sequence for acquiring a first cross-correlation result, the processor generates at least one interference characteristic sequence according to the local characteristic sequence, a signal sampling frequency of the receiver, and at least one working frequency difference, executes a cross-correlation operation between the wireless signal and the at least one interference characteristic sequence for acquiring a second cross-correlation result, the processor detects a center frequency of the wireless signal for determining if a packet of the wireless signal is transmitted through a target channel according to the first correlation result and the second correlation result, and the at least one interference characteristic sequence corresponds to at least one interference frequency.
12. The system of claim 11, wherein the processor detects a peak value of the first cross-correlation result, determines if a periodic peak value is present, and determines if a plurality of peak values are greater than a threshold during Nsym symbol periods of the wireless signal, and Nsym is a positive integer.
13. The system of claim 12, wherein when the periodic peak value is present and the plurality of peak values are greater than the threshold during the Nsym symbol periods of the wireless signal, the packet format of the wireless signal is detected as the target packet format by the processor, and when the periodic peak value is absent or at least one peak value is smaller than the threshold during the Nsym symbol periods of the wireless signal, the packet format of the wireless signal is not the target packet format.
14. The system of claim 11, wherein the processor determines the at least one interference frequency, determines the at least one working frequency difference according to a working frequency and the at least one interference frequency, and rotates each phase of the local characteristic sequence for generating the at least one interference characteristic sequence according to the local characteristic sequence, the signal sampling frequency, and the at least one working frequency difference.
15. The system of claim 11, wherein the processor detects a peak value of the second cross-correlation result between the wireless signal and the at least one interference characteristic sequence during each symbol period, and acquires at least one total peak value corresponding to the at least one interference characteristic sequence during a plurality of symbol periods.
16. The system of claim 15, wherein the processor detects a peak value of the first cross-correlation result between the wireless signal and the local characteristic sequence during the each symbol period, acquires a total peak value corresponding to the local characteristic sequence during the plurality of symbol periods, the processor determines that the wireless signal having the center frequency is transmitted through the target channel when the total peak value corresponding to the local characteristic sequence is greater than a linear combination result formed by combining the at least one total peak value corresponding to the at least one interference characteristic sequence with a threshold, generates a successful reception message of receiving the packet of the wireless signal transmitted through the target channel, and the threshold is a positive integer.
17. The system of claim 15, wherein the processor detects a peak value of the first cross-correlation result between the wireless signal and the local characteristic sequence during the each symbol period, acquires a total peak value corresponding to the local characteristic sequence during the plurality of symbol periods, and the processor generates a reception failure message of receiving the packet of the wireless signal transmitted through an interference channel when the total peak value corresponding to the local characteristic sequence is smaller than a linear combination result formed by combining any total peak value of the at least one total peak value with a threshold, and the threshold is a positive integer.
18. The system of claim 11, wherein the processor generates the at least one interference characteristic sequence according to the local characteristic sequence, the signal sampling frequency, and the at least one working frequency difference satisfies an equation:
19. The system of claim 18, wherein when the packet of the wireless signal is transmitted through the target channel, the center frequency of the wireless signal is substantially equal to a working frequency.
20. The system of claim 11, wherein the processor executes an automatic gain control (AGC) process and/or a carrier frequency offset (CFO) compensation process to the wireless signal for increasing a packet detection accuracy of the wireless signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
DETAILED DESCRIPTION
(4)
(5)
(6) As previously mentioned, the processor 12 can determine at least one working frequency according to the signal frequency band and the frequency intervals of adjacent channels, such as a frequency difference Δf.sub.1=+5 MHz, a frequency difference Δf.sub.2=−5 MHz, a frequency difference Δf.sub.3=+10 MHz, and a frequency difference Δf.sub.4=−10 MHz. Further, the processor 12 can rotate each phase of the local characteristic sequence I for generating the at least one interference characteristic sequence (i.e., such as M interference characteristic sequences I.sub.1 to I.sub.M in
(7)
(8) In other words, the m.sup.th interference characteristic sequence I.sub.m can be generated by sequentially rotating phases of elements of the local characteristic sequence {c.sub.0 c.sub.1 . . . c.sub.K−1} according to m.sup.th working frequency difference Δf.sub.m. Therefore, the processor 12 can previously generate the local characteristic sequence I and M interference characteristic sequences I.sub.1 to I.sub.M to the memory 13 for detecting a packet format of the wireless signal Y received by the receiver 11. Details are illustrated later.
(9) In
(10) In
(11)
Therefore, without loss of generality, the “characteristic sequence” can be written as
(12)
Particularly, the characteristic sequence becomes the local characteristic sequence C={c.sub.0 c.sub.1 . . . c.sub.K−1} for Δf.sub.m=0. For Δf.sub.m is a non-zero number, the characteristic sequence becomes the m.sup.th interference characteristic sequence
(13)
Therefore, after the processor 12 executes the cross-correlation operation between the wireless signal Y and the m.sup.th interference characteristic sequence I.sub.m, the m.sup.th second cross-correlation result can be derived as:
(14)
(15) Here, B.sub.m(p) can be regarded as p.sup.th output value of the m.sup.th second cross-correlation result corresponding to m.sup.th interference characteristic sequence I.sub.m. “*” is denoted as a complex conjugate symbol. In other words, after the processor 12 executes the cross-correlation operation between the wireless signal Y and the m.sup.th interference characteristic sequence I.sub.m, the output values of m.sup.th second cross-correlation result can be sequentially generated. Similarly, after the processor 12 executes the cross-correlation operation between the wireless signal Y and M interference characteristic sequences I.sub.1 to I.sub.M, the output values of M second cross-correlation results (i.e., B.sub.1(p) to B.sub.M(p) for a symbol index p) can be generated. Further, the processor 12 can use the peak detection units PD21 to PD2M for detecting peak values of the second cross-correlation results between the wireless signal Y and the at least one interference characteristic sequence I.sub.1 to I.sub.M during each symbol period. Then, the processor 12 can acquire at least one total peak value corresponding to the at least one interference characteristic sequence I.sub.1 to I.sub.M during a plurality of symbol periods. For example, for a symbol period, the output values of m.sup.th second cross-correlation result B.sub.m can be written as:
B.sub.m=[B.sub.m(0)B.sub.m(1)B.sub.m(2) . . . ]
(16) The peak value MP.sub.m can be written as:
MP.sub.m=max{abs(B.sub.m(k))}
(17) Here, “abs(•)” is an absolute value function. “max(•)” is a maximum value function. Then, the processor 12 can acquire m.sup.th total peak value of the m.sup.th second cross-correlation result between the wireless signal Y and the m.sup.th interference characteristic sequence I.sub.m during Q symbol periods. Q is a positive integer. In practice, the processor 12 can use an accumulation function for deriving the m.sup.th total peak value during the Q symbol periods. The m.sup.th total peak value corresponds to the m.sup.th interference characteristic sequence I.sub.m, denoted as SMP.sub.m. Similarly, the processor 12 can acquire M total peak values SMP.sub.1 to SMP.sub.M according to the wireless signal Y and M interference characteristic sequences I.sub.1 to I.sub.M during the Q symbol periods.
(18) As previously mentioned, the local characteristic sequence I can be used for detecting if the wireless signal Y is transmitted through the target channel. It is assumed that the frequency offset (or say, frequency difference) is absent (i.e., Δf.sub.m=0) under the target channel. Further, M interference characteristic sequences I.sub.1 to I.sub.M can be used for detecting if the wireless signal Y is transmitted through the adjacent channels. The adjacent channels correspond to a plurality of frequency offsets (i.e., frequency differences Δf.sub.1 to Δf.sub.M are non-zero numbers). Therefore, the packet detecting system 100 can use mathematic models of the local characteristic sequence I and the M interference characteristic sequences I.sub.1 to I.sub.M for determining a channel type for carrying the wireless signal Y (i.e., the target channel or certain adjacent channels). Therefore, the processor 12 can detect a peak value of the first cross-correlation result between the wireless signal Y and the local characteristic sequence I during each symbol period. Further, the processor 12 can acquire a total peak value corresponding to the local characteristic sequence I during the Q symbol periods, denoted as SMP.sub.0. Here, the local characteristic sequence I can be regarded as a special case of the m.sup.th interference characteristic sequence I.sub.m for Δf.sub.m=0. In other words,
(19)
becomes I={c.sub.0 c.sub.1 . . . c.sub.K−1} for Δf.sub.m=0. Therefore, a generation method of the total peak value SMP.sub.0 corresponding to the local characteristic sequence I during the Q symbol periods is similar to the generation method of the total peak values SMP.sub.1 to SMP.sub.M. Thus, details are omitted here. Then, the processor 12 can use the decision unit 14 for determining that the wireless signal Y having a center frequency is transmitted through the target channel when the total peak value SMP.sub.0 corresponding to the local characteristic sequence I is greater than a linear combination result formed by combining the at least one total peak value (i.e., such as SMP.sub.1 to SMP.sub.M) corresponding to the at least one interference characteristic sequence (i.e., such as I.sub.1 to I.sub.M) with a threshold Pth. Thus, the center frequency of the wireless signal Y is substantially equal to the working frequency of the receiver 11. Then, the processor 12 can generate a successful reception message of receiving the packet of the wireless signal Y transmitted through the target channel. In other words, a condition that the packet of the wireless signal Y is transmitted through the target channel is: SMP.sub.0>SMP.sub.1×Pth and SMP.sub.0>SMP.sub.2×Pth and SMP.sub.0>SMP.sub.3×Pth . . . , and SMP.sub.0>SMP.sub.m×Pth. The threshold Pth can be a user-defined positive integer. Briefly, if the total peak value SMP.sub.0 corresponding to the local characteristic sequence I is large enough, it can be determined that the packet of the wireless signal Y is transmitted through the target channel.
(20) Conversely, the processor 12 can generate a reception failure message of receiving the packet of the wireless signal S transmitted through an interference channel (or any adjacent channel) when the total peak value SMP.sub.0 corresponding to the local characteristic sequence I is smaller than a linear combination result formed by combining any total peak value of the at least one total peak value (such as SMP.sub.1 to SMP.sub.M) with the threshold Pth. In other words, a condition that the packet of the wireless signal Y is transmitted through the interference channel or any adjacent channel is: SMP.sub.0<SMP.sub.1×Pth or SMP.sub.0<SMP.sub.2×Pth or SMP.sub.0<SMP.sub.3×Pth . . . , or SMP.sub.0<SMP.sub.m×Pth. Briefly, if the total peak value SMP.sub.0 corresponding to the local characteristic sequence I is insufficient, it can be determined that the packet of the wireless signal Y is transmitted through the interference channel or any adjacent channel. The center frequency of the wireless signal Y is biased (i.e., for example, the frequency difference Δf.sub.1=5 MHz).
(21) Therefore, the packet detecting method performed by the packet detecting system 100 can be regarded as a two-stage detection method. In a first stage, the packet detecting system 100 can perform a cross-correlation operation between the wireless signal Y received by the receiver 11 and the local characteristic sequence I. Then, the packet detecting system 100 can use characteristics of the peak value for determining the packet format. In the second stage, the packet detecting system 100 can perform several cross-correlation operations between the wireless signal Y and at least one interference characteristic sequences (I.sub.1 to I.sub.M) for detecting if the center frequency of the wireless signal Y is biased. If the center frequency of the wireless signal Y corresponds to the local characteristic sequence, it implies that the packet of the wireless signal Y is transmitted through the target channel. If the center frequency of the wireless signal Y corresponds to an interference characteristic sequence, it implies that the packet of the wireless signal Y is transmitted through an interference channel. Further, as previously mentioned, the p.sup.th output value of the m.sup.th second cross-correlation result B.sub.m(p) can be written as:
(22)
(23) Here, B.sub.m(p) includes the impulse responses of the channel H. In other words, B.sub.m(p) may be distorted by the impulse responses of the channel H. Therefore, in the packet detecting system 100, the processor 12 can control the receiver 11 to execute an automatic gain control (AGC) process for improving the packet detecting accuracy. Further, when an offset of a carrier frequency is present or high mobility of the transmitter 10 and/or receiver 11 is detected, the carrier frequency offset (CFO) is generated. Therefore, the processor 12 can control the receiver 11 to execute a carrier frequency offset compensation process for increasing the packet detection accuracy. Any reasonable technology for increasing the packet detection accuracy falls into the scope of the present disclosure.
(24)
(25) Details of step S301 to step S308 are previously illustrated. Thus, they are omitted here. The packet detecting system 100 can use the local characteristic sequence I and at least one interference characteristic sequence I.sub.1 to I.sub.M for accurately detecting the center frequency of the wireless signal Y of the receiver 11. By doing so, the packet detecting system 100 can determine if the packet of the wireless signal Y is transmitted through the target channel. Therefore, an error detection probability of the packet detecting system 100 can be greatly reduced.
(26) To sum up, the present disclosure illustrates a packet detecting method and a packet detecting system of a wireless signal. Since a conventional packet detecting method uses a single-stage process for determining if a packet format satisfies a target packet format of a target channel according to a local characteristic sequence, an error detection probability is high. In order to improve a packet detecting accuracy, the packet detecting method of the present disclosure uses a two-stage process for detecting a center frequency of the wireless signal by introducing at least one interference characteristic sequence. Since the center frequency of the wireless signal can be detected, the packet detecting system can accurately determine if the packet of the wireless signal is transmitted through the target channel. In other words, even if a detecting result is wrong in a first stage, the detecting result can be calibrated in a second stage. Therefore, the packet detecting system of the present disclosure has a high packet detecting reliability.
(27) Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.