The present invention relates to a circuit and a method used in a wireless communication system, and more particularly, to a circuit and a method for handling wireless sensing.
Wireless sensing has the characteristic of device-free recognition, and may be applied to indoor human activity recognition, gesture recognition, and presence/proximity detection, breathing monitoring, etc. A range, a velocity and an incident angle needed for the wireless sensing may be estimated through a digital signal processing (DSP). The DSP may be processed by Fast Fourier Transform (FFT), wherein a resolution of the FFT depends on a sampling frequency, an observation time and a number of receiving antennas. Increasing the observation time makes it impossible to observe instantaneous changes in a vibration frequency of a sensing object. Increasing the number of receiving antennas would result in increased hardware costs. Thus, the invention provides a circuit and a method for handling the wireless sensing that do not depend on the sampling frequency, the observation time and the number of receiving antennas in order to avoid the abovementioned problems.
The present invention therefore provides a circuit and a method to solve the issues in the related art.
A processing circuit comprises: an estimating circuit, for generating a phase vector according to a phase signal, and for estimating the phase vector to generate an estimated phase matrix; a decomposing circuit, coupled to the estimating circuit, for decomposing the estimated phase matrix to generate an eigenvalue matrix and an eigenvector matrix, wherein the eigenvalue matrix comprises a plurality of eigenvalues and the eigenvector matrix comprises a plurality of eigenvectors; a first computing circuit, coupled to the decomposing circuit, for performing a long-term average for the plurality of eigenvalues to generate a plurality of long-term eigenvalues; a second computing circuit, coupled to the first computing circuit, for computing a plurality of difference values for the plurality of long-term eigenvalues, and for determining an index corresponding to a difference value of the plurality of difference values; a spectrum generation circuit, coupled to the second computing circuit, for generating a pseudo spectrum according to the index, the plurality of eigenvectors and a steering vector; and a determining circuit, coupled to the spectrum generation circuit, for determining at least one peak of the pseudo spectrum and at least one parameter corresponding to the at least one peak.
A method for handling a wireless sensing comprises: generating a phase vector according to a phase signal; estimating the phase vector to generate an estimated phase matrix; decomposing the estimated phase matrix to generate an eigenvalue matrix and an eigenvector matrix, wherein the eigenvalue matrix comprises a plurality of eigenvalues and the eigenvector matrix comprises a plurality of eigenvectors; performing a long-term average for the plurality of eigenvalues to generate a plurality of long-term eigenvalues; computing a plurality of difference values for the plurality of long-term eigenvalues; determining an index corresponding to a difference value of the plurality of difference values; generating a pseudo spectrum according to the index, the plurality of eigenvectors and a steering vector; and determining at least one peak of the pseudo spectrum and at least one parameter corresponding to the at least one peak.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
In
In one example, the phase signal sig_ph comprises at least one complex exponential. In one example, the at least one complex exponential is associated with the at least one parameter P. In one example, the plurality of eigenvalues correspond to the plurality of eigenvectors, respectively. In one example, one of the plurality of difference values is a difference value between two adjacent long-term eigenvalues among the plurality of long-term eigenvalues λ_LTA. In one example, the second computing circuit 230 selects at least one difference value from the plurality of difference values. The at least one difference value is greater than a threshold. Then, the second computing circuit 230 selects the index from at least one index corresponding to the at least one difference value. In one example, the threshold is a minimum of a signal-to-noise ratio (SNR) needed by the sensing device 10. In one example, the selected index is a maximum of the at least one index. In one example, the at least one parameter P is at least one vibration frequency or at least one incident angle.
In one example, the process circuit 20 further comprises a transforming circuit (e.g., Fast Fourier Transform (FFT) circuit), a detecting circuit and a third computing circuit. The transforming circuit is coupled to the transforming circuit 140 in
The following example is used for illustrating how the sensing device 10 and the processing circuit 20 sense (or compute) the at least one parameter (the at least one vibration frequency or the at least one incident angle) associated with the sensing object. First, the signal generation circuit 100 generates a radio frequency (RF) transmitting signal xT(t) (i.e., the first time-domain analog signal sig_time_anal1), and the transmitting circuit 110 transmits the RF transmitting signal xT(t). The RF transmitting signal xT(t) can be expressed as an equation (Eq. 1):
wherein AT is a transmitting amplitude, fc is a carrier frequency, θ0 is an initial phase, fT is a chirp frequency
Tc is a chirp time (Nc chirp times Tc may be seen as a frame time Tf, i.e., Tf=NcTc), and B is sweeping bandwidth. After the RF transmitting signal xT(t) is reflected by a sensing object (e.g., the sensing object OBJ), the receiving circuit 120 receives a RF receiving signal xR(t) (i.e., the second time-domain analog signal sig_time_anal2). The RF receiving signal xR(t) can be expressed as an equation (Eq. 2):
wherein AR is a receiving amplitude, τ is a delay
wherein R is a range between the sensing object and the sensing device 10 and c is a velocity of light), θ0 is the initial phase, fT is the chirp frequency, ϕ is a receiving phase
wherein fc is the carrier frequency and λ is a signal wavelength). The low pass filtering circuit 130 performs a mixing process and a low-pass filtering process for the RF transmitting signal xT(t) and the RF receiving signal xR(t) to generate an intermediate frequency (IF) signal xIF(t) (i.e., the third time-domain analog signal sig_time_anal3). The IF signal xIF(t) can be expressed as an equation (Eq. 3):
wherein A is an amplitude, fIF is an IF frequency and ϕ is the receiving phase. The transforming circuit 140 transforms the IF signal xIF(t) to a digital signal x(n) (i.e., the time-domain digital signal sig_time_dig). The digital signal x(n) can be expressed as an equation (Eq. 4):
wherein Ts is a sampling time
wherein fs is a sampling frequency). The processing circuit 150 (or the processing circuit 20) selects a digital signal sequence for a single chirp time [x(n) x(n+1) . . . x(n+N′−1)] (wherein
and estimates an estimated frequency {circumflex over (f)}IF according to the digital signal sequence [x(n) x(n+1) . . . x(n+N′−1)] via the Range-FFT. Then, the processing circuit 150 (or the processing circuit 20) computes an estimated range {circumflex over (R)} via the following equation (Eq. 5):
It is assumed that the sensing object has a periodic vibration as shown in
wherein Δϕ(t) is a phase offset caused by the periodic vibration
A change of the phase offset Δϕ(t) with a time t can be known by referring to
The transforming circuit in the processing circuit 150 (or the processing circuit 20) transforms continuous Nc digital signals x(l,n) to complex signals Y(l,k) (i.e., the first frequency-domain signal) via the Range-FFT. l is an index of the digital signal x(l,n), where l=0, 1, . . . , Nc−1. k is an index of the Range-FFT, where k=0, 1, . . . , K−1.
The equation (Eq. 7) can derive a vibration frequency via an FFT operation (e.g., the Doppler-FFT). A resolution of the FFT operation is limited by an observation time, wherein increasing the observation time makes it impossible to detect instantaneous changes in the vibration frequency of the sensing object. In order to avoid increasing the observation time, the phase signal ϕ(l,k′) can be expressed as a sequence with multiple complex exponentials as follows:
wherein {w0 w1 . . . wM−1} is M vibration frequencies of the sensing object, {a0 a1 . . . aM−1} is M amplitudes of the sensing object, and M is an unknown positive integer. M can be derived via a super-resolution method (e.g., a Multiple Signal Classification (MUSIC) algorithm) to obtain the vibration frequencies {w0 w1 . . . wM−1}. The estimating circuit 200 generates a phase vector Θ(n,N) according to the phase signal ϕ(l,k′). The phase vector Θ(n,N) can be expressed as an equation (Eq. 9):
wherein N is a length of the phase vector Θ(n,N), and N≠Nc. The estimating circuit 200 divides the phase vector Θ(n,N) with the length N into p segments shown in
wherein H is a conjugate transpose. The decomposing circuit 210 decomposes the estimated phase matrix {circumflex over (R)}x shown in an equation (Eq. 11):
wherein λi are eigenvalues of the estimated phase matrix {circumflex over (R)}x (i=1, 2, . . . , q, and λ1>λ2> . . . >λq) (i.e., the plurality of eigenvalues) and vi are eigenvectors corresponding to the eigenvalues λi (i=1, 2, . . . , q) (i.e., the plurality of eigenvectors). {λ1, λ2, . . . , λM} may be seen as signal powers, {λM+1, λM+2, . . . , λq} may be seen as noise powers, and {v1, v2, . . . , vM} may be seen as signal subspaces, and {vM+1, vM+2, . . . , vq} may be seen as noise subspaces. In order to reduce computation errors, the first computing circuit 220 performs a long-term average for the eigenvalues λi to generate long-term eigenvalues λi′ (i.e., the plurality of long-term eigenvalues λ_LTA). The long-term eigenvalues λi′ can be expressed as an equation (Eq. 12):
wherein i=1, 2, . . . , q, and α is a forgetting factor (α<1.0). The second computing circuit 230 computes a difference value for two adjacent long-term eigenvalues λi′, 10·log10(λi′)−10·log10(λi+1′) (in units of dB). The second computing circuit 230 selects a maximum index {circumflex over (M)} (i.e., the index M) from index(es) i whose corresponding difference value (s) is greater than a minimum SNR requirement δ (in units of dB) for the sensing device 10, as shown in an equation (Eq. 13):
Then, the spectrum generation circuit 240 generates a pseudo spectrum {circumflex over (P)}music(ejw) (i.e., the pseudo spectrum PS) according to the maximum index {circumflex over (M)}, the eigenvectors vi and a steering vector sw. The pseudo spectrum {circumflex over (P)}music(ejw) can be expressed as an equation (Eq. 14):
wherein sw=[1, ejw, ej2w, . . . , ej(q-1)w]T, and w is a guessed vibration frequency. If the steering vector sw belongs to the signal subspace, the steering vector sw and the noise subspace are orthogonal (i.e., |swH vi|≈0, wherein i∈{M+1,q}). In this case, the pseudo spectrum {circumflex over (P)}music(ejw) is an extreme maximum. The determining circuit 250 determines vibration frequencies wm corresponding to the first {circumflex over (M)} extreme maximums of the pseudo spectrum {circumflex over (P)}music(ejw), i.e., the vibration frequencies of the sensing object. m=1, 2, . . . , {circumflex over (M)}.
Assuming that a vibration frequency scope of the sensing object is known, the determining circuit 250 determines the extreme maximum of the pseudo spectrum {circumflex over (P)}music(ejw) and the vibration frequency ŵn corresponding to the extreme maximum within the vibration frequency scope to reduce a computational complexity. The vibration frequency ŵn can be expressed as an equation (Eq. 15):
wherein {wn,L, wn,H} is the vibration frequency scope of the sensing object, Δwn is a sweeping resolution and wn is a sweeping frequency
In addition, an incident angle can be derived according to distances between multiple antennas.
wherein r is an index of the receiving antennas RX0-RX3 (r=0, 1, 2, . . . , NR−1, wherein NR is a number of the receiving antennas). In
The equation (Eq. 17) can derive the incident angle θ via an FFT operation (e.g., the Angle-FFT). The resolution of the FFT operation is limited by the number of the receiving antennas. In order to reduce the number of the receiving antennas (i.e., reduce a hardware cost), the phase offset Δϕ(r) can be expressed as a sequence with multiple complex exponentials as follows:
It is assumed that a receiving signal is a combination of signals reflected by sensing objects shown in
The pseudo spectrum {circumflex over (P)}music(ejw) is obtained according to the abovementioned operations of the estimating circuit 200, the decomposing circuit 210, the first computing circuit 220, the second computing circuit 230, the spectrum generation circuit 240 and the determining circuit 250. Incident angles wm (m=1, 2, . . . , {circumflex over (M)}) corresponding to first {circumflex over (M)} extreme maximums of the pseudo spectrum {circumflex over (P)}music(ejw) are the incident angles of the sensing objects OBJ0-OBJM−1.
Operations of the processing circuit 20 in the above examples can be summarized into a process 100 shown in
Step S1000: Start.
Step S1002: Generate a phase vector according to a phase signal.
Step S1004: Estimate the phase vector to generate an estimated phase matrix.
Step S1006: Decompose the estimated phase matrix to generate an eigenvalue matrix and an eigenvector matrix, wherein the eigenvalue matrix comprises a plurality of eigenvalues and the eigenvector matrix comprises a plurality of eigenvectors.
Step S1008: Perform a long-term average for the plurality of eigenvalues to generate a plurality of long-term eigenvalues.
Step S1010: Compute a plurality of difference values for the plurality of long-term eigenvalues.
Step S1012: Determine an index corresponding to a difference value of the plurality of difference values.
Step S1014: Generate a pseudo spectrum according to the index, the plurality of eigenvectors and a steering vector.
Step S1016: Determine at least one peak of the pseudo spectrum and at least one parameter corresponding to the at least one peak.
Step S1018: End.
Detailed descriptions and variations of the process 100 can be known by referring to the previous description, and are not narrated herein.
It should be noted that there are various possible realizations of the sensing device 10 (including the signal generation circuit 100, the transmitting circuit 110, the receiving circuit 120, the low pass filtering circuit 130, the transforming circuit 140 and the processing circuit 150) and the processing circuit 20 (including the estimating circuit 200, the decomposing circuit 210, the first computing circuit 220, the second computing circuit 230, the spectrum generation circuit 240 and the determining circuit 250). For example, the circuits mentioned above may be integrated into one or more circuits. In addition, the sensing device 10 and the processing circuit 20 may be realized by hardware (e.g., circuits), software, firmware (known as a combination of a hardware device, computer instructions and data that reside as read-only software on the hardware device), an electronic system or a combination of the devices mentioned above, but are not limited herein.
To sum up, the present invention provides a circuit and a method for handling wireless sensing. The vibration frequency and the incident angle of a sensing object are obtained via a super-resolution method (e.g., the MUSIC algorithm). Thus, the wireless sensing does not depend on the sampling frequency, the observation time and the number of receiving antennas.
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.
Number | Date | Country | Kind |
---|---|---|---|
112144029 | Nov 2023 | TW | national |