Receiver circuit and method capable of accurately estimating signal time deviation
By using techniques such as cross-correlation operations and smoothing operations in the receiver circuit to independently estimate and compensate the time offset, the problem of being unable to estimate the time offset when the clock signals are from different sources in the traditional method is solved, and accurate estimation and compensation of the time offset are achieved.
Patent Information
- Application Number
- CN202011104090.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-15
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-10-15
AI Technical Summary
Traditional receiver circuits cannot effectively estimate the time offset when clock signals come from different sources, and the time offset estimation results are easily affected by synchronization accuracy, resulting in inaccuracies.
Design a receiver circuit that includes an estimation circuit and a time offset compensation circuit. It performs cross-correlation operations on local sequence signals, independently estimates the time offset, and determines the final time offset value through smoothing operations and decision operations to achieve time offset compensation.
There is no need to rely on frequency offset estimation results and signal synchronization accuracy. It can accurately estimate and compensate for time offset, improving the accuracy and independence of time offset estimation.
Smart Images

Figure CN114374500B
Abstract
Description
Technical Field
[0001] The present invention relates to a time offset estimation mechanism, and more particularly to a time offset estimation method and device for a receiver circuit. Background Art
[0002] Generally speaking, the crystal oscillator frequencies of the conventional transmitting circuit and the conventional receiving circuit are not exactly the same, which will result in frequency offset and time offset in the signal received by the conventional receiving circuit. If the clock signal of the carrier signal and the clock signal used for signal sampling are from the same source, the time offset can be compensated according to the result of the frequency offset. On the contrary, if the two clock signals are from different sources, the time offset cannot be compensated according to the result of the frequency offset, and the time offset must be estimated separately. Therefore, for the situation where the clock signals are from the same source, the conventional method needs to generate a more accurate time offset estimation value based on the frequency offset estimation result. When the clock signals are from different sources, the conventional method cannot generate a more accurate time offset estimation value based on the frequency offset estimation result and must directly estimate the time offset. However, this time offset estimation result is easily affected by the synchronization accuracy. That is, once there is a deviation in synchronization, the estimated value of the time offset is also inaccurate. Summary of the invention
[0003] Therefore, one of the objectives of the present invention is to provide a receiver circuit and a method applied to the receiver circuit to solve the problem that the traditional mechanism cannot effectively estimate the time offset.
[0004] According to an embodiment of the present invention, a receiver circuit is disclosed. The receiver circuit includes an estimation circuit and a time offset compensation circuit. The estimation circuit is used to perform a cross-correlation operation on at least one time domain signal on at least one receiving path of the receiver circuit according to a local sequence signal to estimate at least one signal time offset of the at least one time domain signal as at least one time offset compensation amount. The time offset compensation circuit is coupled to the estimation circuit and is used to perform time offset compensation on the at least one time domain signal of the at least one receiving path according to the at least one time offset compensation amount.
[0005] According to an embodiment of the present invention, a method applied to a receiver circuit is further disclosed, comprising: performing a cross-correlation operation on at least one time domain signal on at least one receiving path of the receiver circuit according to a local sequence signal to estimate at least one signal time offset of the at least one time domain signal as at least one time offset compensation amount; and performing time offset compensation on the at least one time domain signal of the at least one receiving path according to the at least one time offset compensation amount.
[0006] The advantage of the embodiments of the present invention is that the time offset can be accurately estimated without using or referring to the result of frequency offset estimation. In addition, it does not rely on the accuracy of signal synchronization. That is, even if the signal synchronization is inaccurate, the embodiments of the present invention can still accurately estimate the time offset. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 FIG. 4 is a block diagram of an estimation circuit applied to a receiver circuit according to an embodiment of the present invention.
[0008] Figure 2 A schematic diagram of the relationship between the maximum peak value f(pk), the absolute result values of two cross-correlation operations f(pre), f(pst), and the time indexes pk, pre, pst and the positive / negative time deviation changes when the model for time deviation estimation is "Λ" type.
[0009] Figure 3 The model for time deviation estimation is a right "N" type timely maximum peak f(pk), the absolute result values of two cross-correlation operations f(pre), f(pst), and a schematic diagram of the relationship between the time indexes pk, pre, pst and positive / negative different time deviation changes.
[0010] Figure 4 The model for time deviation estimation is a left "N" type maximum peak value f(pk), the absolute result values of two cross-correlation operations f(pre), f(pst), and a schematic diagram of the relationship between the time indexes pk, pre, pst and the positive / negative time deviation changes.
[0011] Figure 5 For Figure 1 The flow chart of the embodiment of the smoothing operation unit performing smoothing operation on the accumulated result values according to at least one smoothing factor to determine and generate a final estimated time deviation value is shown.
[0012] Figure 6 The left “N” type time bias estimation model is used to judge Figure 1 The flowchart shown is an example of a decision unit for determining whether there is a positive timing deviation.
[0013] Figure 7 For the right "N" type time-biased estimation model Figure 1 The flowchart shown is an example of a decision operation unit determining whether there is a negative time offset.
[0014] Figure 8 This is a flow chart of an embodiment of performing statistics on multiple generated time deviation judgment results to ultimately determine the direction of the time deviation. DETAILED DESCRIPTION
[0015] The present invention aims to provide a method and an electronic device based on local sequence technology and capable of accurately estimating the signal time offset of one or more receiving paths through a receiver circuit. Figure 1 , Figure 1 1 is a block diagram of an estimation circuit 105 applied to a receiver circuit 100 according to an embodiment of the present invention. The receiver circuit 100 at least includes the estimation circuit 105 and a time offset compensation circuit 110. The estimation circuit 105 is used to estimate the signal time offset of one or more receiving paths of the receiver circuit 100. Then, the time offset compensation circuit 110 compensates the signal time offset of one or more receiving paths according to the estimated one or more signal time offsets. The estimation circuit 105 includes a cross-correlation operation unit 1051, a selection unit 1052 and a processing unit 1053, wherein the processing unit 1053 includes a subtraction operation unit 1054, an accumulation operation unit 1055, a smoothing operation unit 1056 and a decision operation unit 1057. It should be noted that each of the above units can be implemented by a pure hardware circuit, a module of software and a mixture of hardware circuits, or a pure software module.
[0016] During baseband signal processing, the receiver circuit 100 performs synchronous operation processing on the received one or more time domain signals, and then finds or identifies the symbol boundary of the one or more time domain signals. For each time domain signal, the cross-correlation operation unit 1051 distinguishes different symbols in the time domain signal according to the found symbol boundary, and takes the unit time of each symbol as a minimum time offset estimation processing unit, and performs a cross-correlation operation on the time domain signal levels of multiple chips or bits respectively included in one or more symbols in the received time domain signal and the signal levels of multiple bits of a local sequence signal LN, so as to generate one or more cross-correlation operation result signals. For example, for a symbol including multiple bits, the cross-correlation operation unit 1051 1051 is to multiply the signal level value corresponding to each bit of the symbol by each signal level value corresponding to each bit of the local sequence signal LN in time sequence to accumulate them to generate each correlation operation result value of the correlation operation result signal. Therefore, a correlation operation result signal, for example, includes N correlation operation result values. Then, an absolute value operation is performed on the N correlation operation result values of the correlation operation result signal to generate an absolute value result signal of the correlation operation. The absolute value result signal of the correlation operation also includes N correlation operation absolute result values, and corresponds to the 1st to Nth bits in the time sequence, that is, index 1 to index N.
[0017] For signal processing of a symbol, the estimation circuit 105 will determine which type the current channel corresponds to. For example, the estimation circuit 105 will sample the waveform formed by multiple points (e.g., five continuous or discontinuous points) of the signal response result of the channel to determine whether the waveform corresponds to, for example, the "Λ" type (also known as the "A" type), the left "N" type, or the right "N" type, to confirm the model of the time offset estimation. In practice, if the channel is a Gaussian channel, the model of the time offset estimation will be the "Λ" type, and the waveform formed by connecting the absolute result values of the N cross-correlation operations will also be the "Λ" type. If the channel is a multi-path channel, the model of the time offset estimation will be the left "N" type or the right "N" type, and the waveform formed by connecting the absolute result values of the N cross-correlation operations may also be the left "N" type or the right "N" type.
[0018] Next, after confirming whether the model of the time bias estimation is the "Λ" type, the left "N" type or the right "N" type, the selection unit 1052 will find a maximum peak f(pk) and the corresponding time index pk value from the N cross-correlation operation absolute result values, and then find the two time indexes pre and pst before and after the time index pk and their corresponding cross-correlation operation absolute result values f(pre) and f(pst) respectively. In other words, in terms of the time sequence, the time index pk is located between the two time indexes pre and pst, and the maximum peak f(pk) of the N cross-correlation operation absolute result values will also be greater than f(pre) and f(pst). In practice, for example, the selection unit 1052 finds a local maximum peak value before the time index pk as f(pre) and finds the time index pre accordingly, and finds a local maximum peak value after the time index pk as f(pst) and finds the time index pst accordingly, so the value of f(pre) may be greater than f(pst) or may be less than or equal to f(pst); or, in another embodiment, the selection unit 1052 may also determine a time index with a specific time difference (e.g., a difference of several time indexes) before the time index pk as pre and find the value of f(pre) accordingly, and determine a time index with the specific time difference (e.g., a difference of several time indexes) after the time index pk as pst and find the value of f(pst) accordingly. In other words, in the embodiment of the present invention, there may be multiple variations in the determination of the values of the time indexes pre, pst and f(pre), f(pst), which are not limited by the present invention. Then, the selected absolute result values of the multiple cross-correlation operations are output to the processing unit 1053.
[0019] Next, please refer to Figure 2 , 3 , 4, Figure 2 , 3, 4 are schematic diagrams of the maximum peak value f(pk), the absolute result values of the two cross-correlation operations f(pre), f(pst), and the relationship between the time indexes pk, pre, pst and the positive / negative time deviation changes when the time deviation estimation models are "Λ" type, right "N" type and left "N" type, respectively.
[0020] Assuming the time-biased estimation model is of type "Λ", Figure 2 As shown, if there is no time deviation at present, the value of each time index pk corresponding to the maximum peak value f(pk) of the absolute result values of the N cross-correlation operations in each symbol will remain unchanged, and the value of f(pk) will be greater than the values of f(pre) and f(pst), and the value of f(pre) may be greater than the value of f(pst) or may be less than the value of f(pst). If there is a time deviation at the beginning, each time index pk, time index pre and time index pst corresponding to the maximum peak value of the absolute result values of the N cross-correlation operations in each symbol will move in the same direction (to the left or to the right). For example, if Figure 2 As shown by the dotted line, if there is a positive time offset at the beginning, the determined time indexes pk, pre, and pst will all move left / forward (but not limited) to the positions of pk1, pre1, and pst1 respectively, and the corresponding absolute result values of the cross-correlation operation will be f(pk1), f(pre1), and f(pst1) respectively. At this time, the value of f(pst1) becomes larger, while the value of f(pre1) becomes smaller. Therefore, the value of f(pst1)-f(pre1) will increase as the value of the positive time offset increases. On the contrary, if Figure 2 As shown by the dotted line, if there is a negative time bias at the beginning, the time indexes pk, pre, and pst all move to the right / backward (but not limited) and move to the positions of pk2, pre2, and pst2 respectively. The corresponding absolute result values of the cross-correlation operations are f(pk2), f(pre2), and f(pst2). At this time, the value of f(pst2) becomes smaller, while the value of f(pre2) becomes larger. Therefore, the value of f(pst2)-f(pre2) will become smaller and smaller as the negative time bias increases.
[0021] In addition, if the time-biased estimation model is a right "N" type, Figure 3As shown, if there is no time deviation at present, the value of each time index pk corresponding to the maximum peak value f(pk) of the absolute result values of the N cross-correlation operations in each symbol will remain unchanged, and the value of f(pk) will be greater than the values of f(pre) and f(pst), and the value of f(pre) may be greater than the value of f(pst) or may be less than the value of f(pst). If there is a time deviation at the beginning, each time index pk, time index pre and time index pst corresponding to the maximum peak value of the absolute result values of the N cross-correlation operations in each symbol will move in the same direction (to the left or to the right). For example, if Figure 3 As shown by the dotted line, if there is a positive time offset at the beginning, the time indexes pk, pre, and pst will all move to the left and move to the positions of pk1, pre1, and pst1 respectively. The corresponding absolute results of the cross-correlation operation are f(pk1), f(pre1), and f(pst1) respectively. At this time, the value of f(pst1) becomes larger, while the value of f(pre1) becomes smaller. Therefore, the value of f(pst1)-f(pre1) will become larger as the positive time offset increases. On the contrary, if Figure 3 As shown by the dotted line, if there is a negative time bias at the beginning, the time indexes pk, pre, and pst all move to the right and move to the positions of pk2, pre2, and pst2 respectively, and the corresponding absolute result values of the cross-correlation operation are f(pk2), f(pre2), and f(pst2), respectively. At this time, as the negative time bias increases, the value of f(pk2) becomes smaller, the value of f(pre2) becomes larger, and the value of f(pst2) also becomes larger. The value of f(pst2)-f(pre2) may be positive or negative, and there is no obvious trend. However, although the value of f(pst2)-f(pk2) is negative at the beginning, it will increase as the negative time bias increases, and although the value of f(pre2)-f(pk2) is negative at the beginning, it will increase as the negative time bias increases.
[0022] In addition, if the time-biased estimation model is a left "N" type, Figure 4 As shown, if there is no time deviation at present, the value of each time index pk corresponding to the maximum peak value f(pk) of the absolute result values of the N cross-correlation operations in each symbol will remain unchanged, and the value of f(pk) will be greater than the values of f(pre) and f(pst), and the value of f(pre) may be greater than the value of f(pst) or may be less than the value of f(pst). If there is a time deviation at the beginning, each time index pk, time index pre and time index pst corresponding to the maximum peak value of the absolute result values of the N cross-correlation operations in each symbol will move in the same direction (to the left or to the right). For example, if Figure 4As shown by the dotted line, if there is a positive time bias at the beginning, the time indexes pk, pre, and pst will all move to the left and move to the positions of pk1, pre1, and pst1 respectively, and the corresponding absolute result values of the cross-correlation operation will be f(pk1), f(pre1), and f(pst1) respectively. At this time, the value of f(pk1) becomes smaller, while the value of f(pst1) becomes larger, and the value of f(pre1) also becomes larger. Therefore, the value of f(pst1)-f(pre1) may be positive or negative, and there is no obvious trend. However, although the value of f(pst1)-f(pk1) is negative at the beginning, it will increase as the positive time bias increases, and although the value of f(pre1)-f(pk1) is negative at the beginning, it will increase as the positive time bias increases. On the contrary, if Figure 4 As shown by the dotted line, if there is a negative time bias at the beginning, the time indexes pk, pre, and pst all move to the right and move to the positions of pk2, pre2, and pst2 respectively. The corresponding absolute result values of the cross-correlation operations are f(pk2), f(pre2), and f(pst2). At this time, as the negative time bias increases, the value of f(pk2) becomes smaller, the value of f(pre2) becomes larger, and the value of f(pst2) becomes smaller. Therefore, the value of f(pst2)-f(pre2) begins to decrease.
[0023] Therefore, when it is determined that the model of the time deviation estimation is of the "Λ" type, for a symbol, the selection unit 1052 first finds a first cross-correlation operation absolute result value f(pre) that appears before a maximum peak value (i.e., a maximum cross-correlation operation absolute result value) among the N cross-correlation operation absolute result values and a second cross-correlation operation absolute result value f(pst) that appears after the maximum peak value among the N cross-correlation operation absolute result values, and then the processing unit 1053 uses the subtraction unit 1053 to calculate a difference Dpst_pre between the first and second cross-correlation operation absolute result values, and then calculates a difference change trend corresponding to a plurality of differences calculated from a plurality of symbols to determine the direction and the amount of the actual time deviation, wherein the difference Dpst_pre is equal to the result of subtracting the first cross-correlation operation absolute result value from the second cross-correlation operation absolute result value (i.e., the value of f(pst)-f(pre), but not limited). When the difference value Dpst_pre becomes larger, for example, it is determined that there is a positive time offset, and when the difference value Dpst_pre becomes smaller, for example, it is determined that there is a negative time offset; this is not a limitation of the present invention.
[0024] When it is determined that the model of the time offset estimation is a right "N" type, for a symbol, the processing unit 1053 finds a first cross-correlation operation absolute result value f(pre) that appears before a maximum peak value among the N cross-correlation operation absolute result values and a second cross-correlation operation absolute result value f(pst) that appears after the maximum peak value among the N cross-correlation operation absolute result values. Then, the processing unit 1053 uses the subtraction operation unit 1053 to calculate a difference Dpst_pre between the first and second cross-correlation operation absolute result values, calculate a difference Dpst_pk between the second cross-correlation operation absolute result value and the maximum peak value, and calculate a difference Dpre_pk between the first cross-correlation operation absolute result value and the maximum peak value, wherein the difference Dpst_pk is equal to the result of subtracting the maximum peak value from the second cross-correlation operation absolute result value (i.e., the value of f(pst)-f(pk)), and the difference Dpre_pk is equal to the result of subtracting the maximum peak value from the first cross-correlation operation absolute result value (i.e., the value of f(pre)-f(pk)). When the difference Dpst_pre becomes larger, for example, it is determined that there is a positive time offset, and when the difference Dpst_pk and the difference Dpre_pk both become larger, for example, it is determined that there is a negative time offset; this is not a limitation of the present invention.
[0025] When it is determined that the model of the time offset estimation is a left "N" type, for a symbol, the processing unit 1053 finds a first mutual correlation operation absolute result value f(pre) that appears before a maximum peak value among the N mutual correlation operation absolute result values and a second mutual correlation operation absolute result value f(pst) that appears after the maximum peak value among the N mutual correlation operation absolute result values. Then the processing unit 1053 uses the subtraction unit 1053 to calculate a difference Dpst_pre between the first and second mutual correlation operation absolute result values, calculates a difference Dpst_pk between the second mutual correlation operation absolute result value and the maximum peak value, and calculates a difference Dpre_pk between the first mutual correlation operation absolute result value and the maximum peak value, wherein the difference Dpst_pk is equal to the result of subtracting the maximum peak value from the second mutual correlation operation absolute result value, and the difference Dpre_pk is equal to the result of subtracting the maximum peak value from the first mutual correlation operation absolute result value. When Dpst_pre increases, it is determined that there is a negative time offset, and when the difference Dpst_pk and the difference Dpre_pk both increase, it is determined that there is a positive time offset; this is not a limitation of the present invention.
[0026] Therefore, the processing unit 1053, for example, calculates the direction and the amount of the actual time offset based on the trend of the difference changes corresponding to the multiple groups of differences calculated from the M symbols; the value of M is greater than 1. In fact, if the model of the time offset estimation is a "Λ" type, the processing unit 1053 uses the accumulation operation unit 1055 to accumulate the difference Dpst_pre calculated from each symbol in the M symbols to obtain an accumulation result value, and then uses the smoothing operation unit 1056 to smooth the accumulation result value according to a smoothing factor so that the decision operation unit 1057 can judge and generate a final estimated time offset value according to the result of the smoothing operation. The final estimated time offset value will be output to the time offset compensation circuit 110 to use the final estimated time offset value as a time offset compensation amount to perform time offset compensation on the input time domain signal. Similarly, taking the model of time deviation estimation as the right "N" type, the accumulation operation unit 1055, for example, respectively accumulates the difference Dpst_pre, the difference Dpst_pk and the difference Dpre_pk calculated from each symbol in the M symbols to obtain three accumulated result values, and then the smoothing operation unit 1056 performs smoothing operations on these accumulated result values according to at least one smoothing factor so that the decision operation unit 1057 can generate a final estimated time deviation value based on the result of the smoothing operation. The final estimated time deviation value will be output to the time deviation compensation circuit 110 to use the final estimated time deviation value as a time deviation compensation amount to perform time deviation compensation on the input time domain signal. Similarly, taking the model of the time deviation estimation as the left "N" type, the accumulation operation unit 1055, for example, also accumulates the difference Dpst_pre, the difference Dpst_pk and the difference Dpre_pk calculated from each symbol in the M symbols to obtain three accumulated result values. Then the smoothing operation unit 1056 performs smoothing operations on these accumulated result values according to at least one smoothing factor so that the decision operation unit 1057 can generate a final estimated time deviation value based on the result of the smoothing operation. The final estimated time deviation value will be output to the time deviation compensation circuit 110 to use the final estimated time deviation value as a time deviation compensation amount to perform time deviation compensation on the input time domain signal.
[0027] Please refer to Figure 5 , Figure 5 1 is a flow chart of an embodiment in which the smoothing operation unit 1056 performs smoothing operations on the accumulated result values according to at least one smoothing factor to determine and generate a final estimated time deviation value. Figure 5As shown, at the beginning of the process, steps 505A, 505B, and 505C are performed respectively. In step 505A, the difference Dpst_pre calculated from the currently processed symbol is accumulated. In step 510A, it is determined whether the number of symbols currently accumulated and processed is equal to C1. If it is equal to C1, the process proceeds to the next step to start smoothing. Otherwise, the process returns to step 505A to continue accumulating the difference Dpst_pre calculated from the next processed symbol. In step 515A, the accumulation result Dpst_pre_acc1 of the previous difference Dpst_pre is first stored as a reference result value Dpst_pre_ref, and then a smoothing operation is performed in step 520A. The formula is as follows: Dpst_pre_s=Dpst_pre_acc2×FSA+Dpst_pre_ref×(1-FSA); wherein FSA is a smoothing factor with a value less than 1, Dpst_pre_s is the final difference accumulation result, and Dpst_pre_acc2 is the accumulation result Dpst_pre_acc2 of the current difference Dpst_pre.
[0028] Similarly, in step 505B, the difference Dpst_pk calculated from the currently processed symbol is accumulated. In step 510B, it is determined whether the number of symbols currently accumulated and processed is equal to C2. If it is equal to C2, the process proceeds to the next step to start smoothing. Otherwise, the process returns to step 505B to continue accumulating the difference Dpst_pk calculated from the next processed symbol. In step 515B, the accumulated result Dpst_pk_a of the previous difference Dpst_pk is firstly added to the sum of the differences. cc1 is stored as a reference result value Dpst_pk_ref, and then a smoothing operation is performed in step 520B, the formula is as follows: Dpst_pk_s=Dpst_pk_acc2×FSB+Dpst_pk_ref×(1-FSB); wherein FSB is a smoothing factor with a value less than 1, Dpst_pk_s is the final difference accumulation result, and Dpst_pk_acc2 is the accumulation result Dpst_pk_acc2 of the current difference Dpst_pk.
[0029] Similarly, in step 505C, the difference Dpre_pk calculated from the currently processed symbol is accumulated. In step 510C, it is determined whether the number of symbols currently accumulated and processed is equal to C3. If it is equal to C3, the process proceeds to the next step to start smoothing. Otherwise, the process returns to step 505C to continue accumulating the difference Dpre_pk calculated from the next processed symbol. In step 515C, the accumulated result Dpre_pk_a of the previous difference Dpre_pk is firstly added to the sum of the differences. cc1 is stored as a reference result value Dpre_pk_ref, and then a smoothing operation is performed in step 520C, the formula is as follows: Dpre_pk_s=Dpre_pk_acc2×FSC+Dpre_pk_ref×(1-FSC); wherein FSC is a smoothing factor with a value less than 1, Dpre_pk_s is the final difference accumulation result, and Dpre_pk_acc2 is the accumulation result Dpre_pk_acc2 of the current difference Dpre_pk.
[0030] The final difference accumulation results Dpst_pre_s, Dpst_pk_s, and Dpre_pk_s are output to step 525 where the decision operation unit 1057 performs a decision operation to determine whether there is a time offset. If there is a time offset, it is determined whether it is a positive time offset or a negative time offset, and then a time offset compensation amount is determined.
[0031] Please refer to Figure 6 , 7 , Figure 6 is a flow chart of an example of the left "N" type time deviation estimation model when the decision operation unit 1057 determines whether there is a positive time deviation. Figure 7 This is a flow chart of an example of the decision operation unit 1057 determining whether there is a negative time offset in the right "N" type time offset estimation model. Figure 6As shown, in step 605, for example, it is determined that the current time deviation estimation model is a left "N" type, and then step 610 is entered. In step 610, a difference between the aforementioned final difference accumulation result Dpst_pk_s and the previous difference accumulation result Dpst_pk_ref is calculated to determine whether the difference is greater than a threshold value pst_th. If the difference is greater than or equal to the threshold value pst_th, step 615 is performed to continue the process judgment. Otherwise, step 635 is performed to determine that no positive time deviation occurs. In step 615, a difference between the aforementioned final difference accumulation result Dpre_pk_s and the previous difference accumulation result Dpre_pk_ref is calculated to determine whether the difference is greater than a threshold value pre_th. If the difference is greater than or equal to the threshold value pre_th, step 625 is performed to continue the process judgment. Otherwise, step 635 is performed to determine that no positive time deviation occurs. In step 620, a difference is simultaneously calculated between the aforementioned final difference accumulation result Dpst_pre_s and the previous difference accumulation result Dpst_pre_ref to determine whether the difference is greater than a threshold value pst_pre_th. If the difference is greater than or equal to the threshold value pst_pre_th, step 625 is performed to continue the process judgment. Otherwise, step 635 is performed to determine that no positive timing deviation has occurred. When any one of step 615 and step 620 proceeds to step 625 or both steps proceed to step 625, in step 625, a result value of Dpst_pre obtained this time minus Dpst_pre obtained last time is calculated, and it is determined whether the result value is greater than a threshold value th1. If the result value is greater than or equal to the threshold value th1, step 630 is performed to determine whether there is a positive time deviation at this time, for example, it is determined that the current time deviation is one grid (one time unit, but this is not a limitation) to the right; otherwise, step 635 is performed to determine that no positive time deviation has occurred.
[0032] Similarly, Figure 7As shown, in step 705, for example, it is determined that the current time deviation estimation model is a right "N" type, and then step 710 is entered. In step 710, a difference between the aforementioned final difference accumulation result Dpst_pk_s and the previous difference accumulation result Dpst_pk_ref is calculated to determine whether the difference is greater than a threshold value pst_th. If the difference is greater than or equal to the threshold value pst_th, step 715 is performed to continue the process judgment. Otherwise, step 735 is performed to determine that no positive time deviation occurs. In step 715, a difference between the aforementioned final difference accumulation result Dpre_pk_s and the previous difference accumulation result Dpre_pk_ref is calculated to determine whether the difference is greater than a threshold value pre_th. If the difference is greater than or equal to the threshold value pre_th, step 725 is performed to continue the process judgment. Otherwise, step 735 is performed to determine that no positive time deviation occurs. In step 720, a difference is calculated between the final difference accumulation result Dpst_pre_s and the previous difference accumulation result Dpst_pre_ref to determine whether the difference is greater than a threshold value pst_pre_th. If the difference is greater than or equal to the threshold value pst_pre_th, step 725 is performed to continue the process judgment. Otherwise, step 735 is performed to determine that no positive timing deviation has occurred. When any one of step 715 and step 720 proceeds to step 725 or both steps proceed to step 725, in step 725, a result value of the Dpst_pre obtained this time minus the Dpst_pre obtained last time is calculated, and it is determined whether the result value is less than the negative threshold value th1 (that is, -th1). If the result value is less than -th1, step 730 is performed to determine whether there is a negative time deviation at this time, for example, it is determined that the current time deviation is one grid (one time unit, but this is not a limitation) to the left; otherwise, step 735 is performed to determine that no negative time deviation has occurred.
[0033] In the above embodiment, the range of the threshold values pre_th, pst_th and pst_pre_th is related to the smoothing factor to a certain extent. For example, if the smoothing factor is equal to 1 / 32, the threshold values pre_th and pst_th can be set to values in the range of 0.02 to 2, and the threshold value pst_pre_th can be set to a value in the range of 0.01 to 0.3. In addition, the threshold value th1 is used to avoid misjudgment when the time deviation is small. The threshold value th1 corresponds to the number of symbols in each accumulation process (that is, the above-mentioned M value). For example, if the value of M is equal to 22, the threshold value th1 can be set to a value in the range of 2 to 10. The above embodiment changes are not limitations of the present invention.
[0034] In addition, the decision operation unit 1057 of the embodiment of the present invention can also perform statistics on the time offset decision results generated multiple times to finally determine whether the time offset is positive or negative. Figure 8 , Figure 8 It is a flowchart of an embodiment of performing statistics on the time deviation judgment results generated multiple times to finally determine the time deviation direction. If the sum of the number of times the time deviation judgment result is a positive time deviation and the number of times the time deviation judgment result is a negative time deviation exceeds a threshold value st1, then the judgment operation unit 1057 can directly force the time deviation judgment result corresponding to the subsequent symbol to be determined (or assist in determining) as the time deviation direction with the largest number of times, wherein the threshold value st1 can be set to a value in the range of 3 to 20, and can be adjusted according to the length of the signal. In practice, if Figure 8 As shown, in step 805, the decision operation unit 1057 accumulates the total number of positive time deviation decision results ps1 and the total number of negative time deviation decision results ns1 to obtain a total number. When the total number is less than the threshold value st1, step 805 is continued, and when the total number exceeds the threshold value st1, step 810 is performed. In step 810, it is determined whether the total number of positive time deviation decision results ps1 is greater than the total number of negative time deviation decision results ns1. If the total number of positive time deviation decision results ps1 is greater, step 820 is performed, and in step 820, the subsequent time deviation result is forced to be determined as the direction of positive time deviation. If the total number of negative time deviation judgment results ns1 is larger, step 815 and then step 825 are performed, and in step 825, it is forced to judge that the subsequent time deviation results are in the direction of negative time deviation. If the total number of positive time deviation judgment results ps1 is equal to the total number of negative time deviation judgment results ns1, step 830 is performed, and in step 830, it is forced to judge that the direction of the current time deviation has not changed significantly.
[0035] It should be noted that in the above embodiment, even if the symbol boundary found or identified is not accurate, the method flow disclosed in this case can still be applied to track the change direction of the current time offset to estimate the amount of time offset that needs to be compensated. In addition, the time offset compensation amount estimation method disclosed in this case can also be used to estimate only the signal of one receiving path in the receiver circuit or to estimate the signal of each receiving path in the receiver circuit separately, which is not a limitation of this case.
[0036] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.
[0037]
Explanation of symbols
[0038] 100: Receiver circuit
[0039] 105: Estimation circuit
[0040] 110: Time deviation compensation circuit
[0041] 1051: Cross-correlation operation unit
[0042] 1052:Select unit
[0043] 1053: Processing unit
[0044] 1054: Subtraction unit
[0045] 1055: Accumulation unit
[0046] 1056: Smoothing operation unit
[0047] 1057: Decision operation unit
Claims
1. A receiver circuit comprising: an estimation circuit, used for performing a cross-correlation operation on at least one time domain signal on at least one receiving path of the receiver circuit according to a local sequence signal, so as to estimate at least one signal timing offset of the at least one time domain signal as at least one timing offset compensation amount; as well as a time offset compensation circuit, coupled to the estimation circuit, for performing time offset compensation on the at least one time domain signal of the at least one receiving path according to the at least one time offset compensation amount, The estimation circuit comprises: a cross-correlation operation unit, configured to use the local sequence signal to perform the cross-correlation operation on the at least one time domain signal on the at least one receiving path of the receiver circuit, so as to generate a cross-correlation operation absolute result signal for each symbol of the at least one time domain signal, the cross-correlation operation absolute result signal comprising N cross-correlation operation absolute result values; a selection unit, coupled to the cross-correlation operation unit, for selecting, for each symbol, a plurality of specific cross-correlation operation absolute result values from the N cross-correlation operation absolute result values and determining a plurality of time indexes to which the plurality of specific cross-correlation operation absolute result values respectively correspond; as well as A processing unit is coupled to the selection unit and is used to count the change of at least one difference of the absolute result values of the plurality of specific cross-correlation operations selected from different symbols to determine a timing deviation direction and estimate a timing deviation amount.
2. The receiver circuit according to claim 1, wherein the plurality of specific cross-correlation absolute result values include a maximum cross-correlation absolute result value having a maximum peak value, a first cross-correlation absolute result value before the maximum cross-correlation absolute result value, and a second cross-correlation absolute result value after the maximum cross-correlation absolute result value.
3. The receiver circuit according to claim 2, wherein the first cross-correlation operation absolute result value and the second cross-correlation operation absolute result value are cross-correlation operation absolute result values having local peaks respectively.
4. The receiver circuit according to claim 2, wherein a time difference between a first time index corresponding to the first cross-correlation operation absolute result value and a time index corresponding to the maximum cross-correlation operation absolute result value is equal to a time difference between a second time index corresponding to the second cross-correlation operation absolute result value and the time index corresponding to the maximum cross-correlation operation absolute result value.
5. The receiver circuit according to claim 2, wherein the processing unit comprises: a subtraction unit, for generating, for each symbol, a first difference between the first cross-correlation operation absolute result value and the second cross-correlation operation absolute result value, a second difference between the first cross-correlation operation absolute result value and the maximum cross-correlation operation absolute result value, and a third difference between the second cross-correlation operation absolute result value and the maximum cross-correlation operation absolute result value according to the maximum cross-correlation operation absolute result value, the first cross-correlation operation absolute result value, and the second cross-correlation operation absolute result value; an accumulation operation unit, coupled to the subtraction operation unit, for accumulating first differences calculated from a plurality of symbols to generate a first difference accumulation result, accumulating second differences calculated from the plurality of symbols to generate a second difference accumulation result, and accumulating third differences calculated from the plurality of symbols to generate a third difference accumulation result; a smoothing operation unit, coupled to the accumulation operation unit, for performing smoothing operations on the plurality of first difference accumulation results, the plurality of second difference accumulation results, and the plurality of third difference accumulation results respectively to generate a plurality of final difference accumulation results; as well as A decision operation unit is coupled to the smoothing operation unit, and is used to determine the time deviation direction and estimate the time deviation amount according to the multiple final difference accumulation results.
6. The receiver circuit according to claim 5, wherein the decision operation unit determines the timing offset direction and estimates the timing offset amount according to a type of a current timing offset estimation model and the plurality of final difference accumulation results.
7. The receiver circuit according to claim 5, wherein the decision operation unit determines the direction of the time deviation by counting the number of times the direction of the time deviation has been previously determined.
8. A method for use in a receiver circuit, comprising: Performing a cross-correlation operation on at least one time domain signal on at least one receiving path of the receiver circuit according to a local sequence signal to estimate at least one signal timing offset of the at least one time domain signal as at least one timing offset compensation amount; and Performing time offset compensation on the at least one time domain signal of the at least one receiving path according to the at least one time offset compensation amount, in, Performing a cross-correlation operation on at least one time domain signal on at least one receiving path of the receiver circuit according to a local sequence signal to estimate at least one signal timing offset of the at least one time domain signal as at least one timing offset compensation further comprises: Using the local sequence signal to perform the cross-correlation operation on the at least one time domain signal on the at least one receiving path of the receiver circuit, so as to generate a cross-correlation operation absolute result signal for each symbol of the at least one time domain signal, the cross-correlation operation absolute result signal including N cross-correlation operation absolute result values; For each symbol, selecting a plurality of specific cross-correlation operation absolute result values from the N cross-correlation operation absolute result values and determining a plurality of time indexes respectively corresponding to the plurality of specific cross-correlation operation absolute result values; and The change of at least one difference value of the absolute result values of the plurality of specific cross-correlation operations selected from different symbols is counted to determine a time deviation direction and estimate a time deviation amount.
Citation Information
Patent Citations
OFDM / OQAM (Orthogonal Frequency Division Multiplexing / Offset Quadrature Amplitude Modulation) system and time frequency synchronization method thereof
CN102185822A
Method and device used for determining time bias information based on upstream channel signal
CN103856308A
Anti-interference signal detection and synchronization method for OFDM system based on cross-correlation detection of local sequence
CN108040028A
Apparatus and method for providing time offset and frequency offset estimation
KR1020180093764A
Enhanced cross correlation detection or mitigation circuits, processes, devices, receivers and systems
US20110103432A1
