Receiving device
By optimizing the antenna switching and synchronization detection strategy in the antenna diversity receiver, and using RSSI value comparison to maintain a synchronous state, the data reception time and power consumption increased due to frequent antenna switching are solved, and more efficient data reception is achieved.
Patent Information
- Application Number
- CN202410687653.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-03-28
- Filing Date
- 2024-05-30
- Publication Date
- 2024-12-03
AI Technical Summary
In the antenna diversity receiver, the antenna needs to be switched after each synchronization detection, resulting in the need of multiple synchronization detection time before deciding the antenna for receiving the data part, which increases the data transmission and reception time, and thus increases the power consumption.
By introducing an antenna switching unit and a synchronization detection unit into the receiving device, using frequency conversion, frequency detection and data regeneration technologies, combined with RSSI value comparison, the antenna switching strategy is optimized, the number of synchronization detections is reduced, the synchronization state is maintained, and the data reception time is shortened.
It effectively shortens the data reception time of diversity antennas, reduces the power consumption of the communication system, and improves the packet reception efficiency.
Smart Images

Figure CN119070838A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a receiving device, and in particular to a receiving device for diversity reception. Background Art
[0002] As a method of achieving high-quality transmission in mobile communications, a diversity reception technique can be used. When diversity reception is applied to a communication system using frequency shift modulation (Frequency Shift Keying (FSK)), antenna diversity, which is one of the diversity reception techniques, is employed.
[0003] In antenna diversity, multiple antennas are used to receive the preamble portion of a data packet including the preamble and the data body, and the received radio wave strength (Received Signal Strength Indicator (RSSI)) is obtained. The data body is received using an antenna with a high received radio wave strength (for example, Patent Document 1).
[0004] [Prior art literature]
[0005] [Patent Document]
[0006] [Patent Document 1] Japanese Patent Application Publication No. 2000-59277 Summary of the invention
[0007] [Problems to be solved by the invention]
[0008] In an antenna diversity receiver, the antenna is switched at a predetermined time interval to search for a signal wave (hereinafter referred to as a desired wave) to be received. Then, the desired wave is input to the antenna, and the RSSI value is maintained at the timing of synchronous detection. For example, in an antenna diversity receiver including a first antenna and a second antenna, when the desired wave is first received using the second antenna, the RSSI value is maintained after synchronous detection. After the synchronization state is cleared (initialized), the antenna for receiving is switched to the first antenna, and the desired wave is received using the first antenna. When synchronous detection is performed based on the desired wave input to the first antenna or when a predetermined time has passed without synchronous detection, the RSSI value obtained is maintained as the RSSI value of the first antenna. The RSSI value of the first antenna is compared with the RSSI value obtained using the second antenna, and the antenna with the larger RSSI value is determined as the antenna to receive the subsequent data. Thereafter, the synchronization state is initialized, and synchronous detection is performed again using the antenna finally determined to receive the data portion.
[0009] As described above, in the conventional antenna diversity receiver, the antenna is switched every time the synchronization detection is performed. Therefore, it takes a time corresponding to the number of antennas × the synchronization detection time to determine the antenna to receive the data portion. Furthermore, since the synchronization state is initialized at the last antenna switching, it takes another synchronization detection time to achieve the synchronization state again.
[0010] Since antenna diversity reception is based on the preamble of a data packet, if the time required to determine the antenna is long, a correspondingly long preamble is required. Therefore, there is a problem that the data transmission time and reception time become longer. In addition, the time required for data transmission and reception is long, so there is a problem that power consumption also increases.
[0011] The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a receiving device capable of shortening the time of data reception using a diversity antenna and reducing power consumption.
[0012] [Technical means to solve the problem]
[0013] The receiving device of the present invention is a receiving device that receives a wireless transmission wave modulated with a data packet including a preamble code and a data body, and the receiving device includes: a first antenna and a second antenna; an antenna switching unit that selectively switches the receiving antenna used for receiving the wireless transmission wave to either the first antenna or the second antenna; a frequency conversion unit that performs frequency conversion on a received signal obtained by receiving the wireless transmission wave using the first antenna or the second antenna to obtain a baseband signal; a frequency detection unit that performs frequency detection on the baseband signal to obtain a frequency detection signal; and an offset removal unit that removes direct current (DC) from the frequency detection signal. a data regeneration unit that performs data determination based on the frequency detection signal from which the DC offset has been removed to generate demodulated data; a synchronization detection unit that performs synchronization detection by associating the demodulated data with data of a specified preamble pattern; a signal strength acquisition unit that acquires the signal strength of the received signal based on the baseband signal; and a switching control unit that controls the switching of the receiving antenna performed by the antenna switching unit based on the signal strength of the received signal, the switching control unit controlling the antenna switching unit to switch the receiving antenna every first specified time before performing synchronization detection by the synchronization detection unit, and in the process of using the first antenna and the second antenna When one of the antennas receives the wireless transmission wave and uses the synchronization detection unit to perform synchronization detection, a state holding signal is supplied to the synchronization detection unit to maintain the synchronization detection state, and the antenna switching unit is controlled to switch the receiving antenna to the other antenna. After a second specified time has passed since the antenna switching unit switched to the other antenna, the signal strength of the received signal when the first antenna is received, that is, the first signal strength, is compared with the signal strength of the received signal when the second antenna is received, that is, the second signal strength, and based on the comparison result, the antenna switching unit is controlled to fix the receiving antenna to either the first antenna or the second antenna.
[0014] [Effects of the Invention]
[0015] According to the receiving device of the present invention, it is possible to shorten the time of data reception using a diversity antenna and reduce power consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a block diagram showing the structure of a receiving device according to an embodiment of the present invention.
[0017] Figure 2 is a block diagram showing the structure of an RSSI detection circuit.
[0018] Figure 3 This is a block diagram showing the structure of an averaging circuit.
[0019] Figure 4 This is a block diagram showing the structure of an antenna switch control circuit.
[0020] Figure 5 It is the state transition diagram of the state machine.
[0021] Figure 6 This is a block diagram showing the structure of a data reproduction circuit.
[0022] Figure 7 is a block diagram showing the structure of a synchronization detection circuit.
[0023] Figure 8 This is the timing diagram of antenna diversity control
[0024] Fig. 9 It is a block diagram showing the structure of a receiving device of a comparative example.
[0025] Fig.10 : is a block diagram showing the structure of an antenna switch control circuit of a comparative example.
[0026] Fig.11 It is a timing chart showing the receiving operation of the receiving device of the comparative example.
[0027] Fig.12 It is a block diagram showing the structure of an averaging circuit of a comparative example.
[0028] Fig.13 : is a timing chart showing the time change of the RSSI value in the RSSI detection circuit of the comparative example.
[0029] Fig.14 : is a timing chart showing the time change of the RSSI value in the RSSI detection circuit of this embodiment.
[0030] [Explanation of Symbols]
[0031] 100: Receiving device
[0032] 11: Antenna switch
[0033] 12: LNA circuit
[0034] 13: First MIX circuit
[0035] 14A, 14B: ADC
[0036] 15: Second MIX circuit
[0037] 16A, 16B: LPF
[0038] 17: Frequency detection circuit
[0039] 18: DC offset detection circuit
[0040] 19: DC offset removal circuit
[0041] 20: Data regeneration circuit
[0042] 21: Synchronous detection circuit
[0043] 22: RSSI detection circuit
[0044] 23: Antenna switch control circuit
[0045] 31: First antenna RSSI holding circuit
[0046] 32: Second antenna RSSI holding circuit
[0047] 33: Comparison circuit
[0048] 34: Control circuit
[0049] 41: State Machine
[0050] 42: Timer
[0051] 43: Antenna control signal generation circuit
[0052] 44: Synchronous clear signal generation circuit
[0053] 45: State retention signal generation circuit
[0054] 51: Symbol timing generation circuit
[0055] 52: Data determination circuit
[0056] 53: Associator
[0057] 221: Signal level calculation circuit
[0058] 222: Averaging Circuit
[0059] 223: Log conversion circuit
[0060] 2221: Average signal generation unit
[0061] 2222: First delay circuit
[0062] 2223: Buffer
[0063] 2224: Second delay circuit
[0064] 2225: Adder
[0065] 2226: Absolute value acquisition circuit
[0066] 2227: Comparison Circuit
[0067] 2228: Threshold storage unit
[0068] 2229: Selector DETAILED DESCRIPTION
[0069] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the following descriptions of the embodiments and the accompanying drawings, substantially the same or equivalent parts are denoted by the same reference numerals.
[0070] Figure 1 1 is a block diagram showing the structure of a receiving device 100 according to an embodiment of the present invention. The receiving device 100 is a receiving device that receives a wireless modulated wave that modulates a data packet including a preamble and a data body portion after the preamble. In this embodiment, the wireless modulated wave is modulated by FSK (Frequency Shift Keying) modulation and is transmitted to the receiving device 100 from a transmitting device (not shown).
[0071] The receiving device 100 includes an antenna AT1, an antenna AT2, an antenna switch 11, a low noise amplifier (LNA) circuit 12, a first MIX circuit 13, an analog to digital converter (ADC) 14A, ADC 14B, a second MIX circuit 15, a low pass filter (LPF) 16A, LPF 16B, a frequency detection circuit 17, a DC offset detection circuit 18, a DC offset removal circuit 19, a data regeneration circuit 20, a synchronization detection circuit 21, a RSSI (Received Signal Strength Indicator) detection circuit 22, and an antenna switch control circuit 23.
[0072] The antenna AT1 is a first antenna provided to receive a wireless modulated wave transmitted from a transmission device. The antenna AT2 is a second antenna provided to receive a wireless modulated wave transmitted from a transmission device. The antenna AT1 and the antenna AT2 are arranged at a predetermined interval.
[0073] The antenna switch 11 is provided between the antenna AT1 and the antenna AT2 and the LNA circuit 12. The antenna switch 11 receives the supply of the antenna control signal ACS, and switches the connection destination so as to connect one of the antenna AT1 and the antenna AT2 to the LNA circuit 12. The wireless modulated wave received by the antenna AT1 or the antenna AT2 is input to the antenna switch 11 as a reception signal RS, and is supplied to the LNA circuit 12 via the antenna switch 11.
[0074] The LNA circuit 12 is a low noise amplifier that amplifies the reception signal RS received by the antenna AT1 or the antenna AT2 and supplied via the antenna switch 11 with low noise. The LNA circuit 12 supplies the amplified signal AS obtained by amplifying the reception signal RS to the first MIX circuit 13.
[0075] The first MIX circuit 13 is a mixer that mixes the amplified signal AS supplied from the LNA circuit 12 with a local oscillation signal from a local oscillator (not shown). The first MIX circuit 13 converts the frequency of the amplified signal AS into an intermediate frequency (IF frequency), and generates an I-phase (In-phase) IF signal IS and a quadrature phase (Q-phase) IF signal QS that are 90 degrees out of phase.
[0076] ADC14A and ADC14B are AD converters provided in the subsequent stage of the first MIX circuit 13. ADC14A performs analog-to-digital conversion on the I-phase IF signal IS generated by the first MIX circuit 13 to generate a digital IF signal DIS (I-phase). ADC14B performs analog-to-digital conversion on the Q-phase IF signal QS generated by the first MIX circuit 13 to generate a digital IF signal DQS (Q-phase).
[0077] The second MIX circuit 15 is a mixer that mixes the digital IF signal DIS (I phase) and the digital IF signal DQS (Q phase) generated by the ADC 14A and the ADC 14B with a local oscillation signal from a local oscillator (not shown). The second MIX circuit 15 performs frequency conversion on the digital IF signal DIS (I phase) and the digital IF signal DQS (Q phase) to generate baseband signals BIS (I phase) and BQS (Q phase).
[0078] LPF16A and LPF16B are low-pass filters that extract only the signal components of the desired channel by limiting the passband at a predetermined cutoff frequency. LPF16A passes the frequency components (low-frequency components) below the cutoff frequency of the I-phase baseband signal BIS output from the second MIX circuit 15, and outputs the I-phase low-frequency baseband signal LIS. LPF16B passes the frequency components (low-frequency components) below the cutoff frequency of the Q-phase baseband signal BQS output from the second MIX circuit 15, and outputs the Q-phase low-frequency baseband signal LQS.
[0079] The frequency detection circuit 17 detects the frequency modulated signal modulated by FSK. The frequency detection circuit 17 converts the frequency variation included in the low frequency baseband signals LIS (I phase) and LQS (Q phase) into amplitude variation, and generates a frequency detection signal FDS.
[0080] The DC offset detection circuit 18 is a detection circuit that detects DC offset by performing inflection point detection processing on the frequency detection signal FDS. The DC offset detection circuit 18 extracts inflection point information from the frequency detection signal FDS by inflection point detection and averages the inflection point information to generate DC offset information DOI.
[0081] The DC offset removal circuit 19 removes the DC offset from the frequency detection signal FDS based on the DC offset information DOI generated by the DC offset detection circuit 18. The frequency detection signal FDS from which the DC offset has been removed is supplied to the data reproduction circuit 20 as a frequency detection signal ODS after the DC offset has been removed.
[0082] The data reproduction circuit 20 extracts a symbol timing value from the frequency detection signal ODS after the DC offset is removed, and performs data determination using the symbol timing, thereby generating demodulated data DD.
[0083] The synchronization detection circuit 21 is a circuit that performs synchronization detection using preamble detection, etc. The synchronization detection circuit 21 performs synchronization detection based on the demodulated data DD generated by the data reproduction circuit 20 , and generates a synchronization detection signal SDS. The synchronization detection signal SDS is supplied to the antenna switch control circuit 23 .
[0084] The RSSI detection circuit 22 receives input of baseband signals that have been passband-limited by LPF16A and LPF16B, namely, low-frequency baseband signals LIS (I phase) and LQS (Q phase), and calculates the RSSI value (power detection value) RV of the received signal RS based on these.
[0085] Figure 2 2 is a block diagram showing the structure of the RSSI detection circuit 22. The RSSI detection circuit 22 includes a signal level calculation circuit 221, an averaging circuit 222, and a log conversion circuit 223.
[0086] The signal level calculation circuit 221 calculates the magnitude (signal level) of the received signal RS based on the low-frequency baseband signals LIS (I phase) and LQS (Q phase). Specifically, the signal level calculation circuit 221 calculates the sum of the squares of the low-frequency baseband signals LIS (I phase) and LQS (Q phase), i.e., "(LIS) 2 +(LQS) 2 The square root of " is used to generate a level value signal LVS indicating the size of the received signal RS.
[0087] The averaging circuit 222 is a circuit that receives the input of the level value signal LVS and averages it. The averaging circuit 222 is provided to suppress the variation of the RSSI value caused by noise. The averaging circuit 222 supplies the averaged level value signal LVS as the converged level value signal CVS to the log conversion circuit 223.
[0088] The log conversion circuit 223 calculates the RSSI value RV by performing logarithmic conversion on the convergence level value signal CVS.
[0089] Figure 3 2 is a block diagram showing the structure of the averaging circuit 222. The averaging circuit 222 includes a fluctuation amount detection circuit 2220, an averaged signal generation unit 2221, a first delay circuit 2222, a buffer 2223, a comparison circuit 2227, a threshold storage unit 2228, and a selector 2229.
[0090] The variation detection circuit 2220 is a circuit for calculating the variation of the level value signal LVS as an input signal within a predetermined period. The variation detection circuit 2220 includes a second delay circuit 2224 , an adder 2225 , and an absolute value acquisition circuit 2226 .
[0091] The second delay circuit 2224 delays the level value signal LVS for a predetermined period and outputs it. The adder 2225 adds the level value signal LVS as the input signal, the delayed level value signal obtained by delaying the level value signal LVS by the second delay circuit 2224, and the signal obtained by adding a coefficient of "-1" to the level value signal LVS as the input signal, and outputs the result, i.e., a signal equivalent to the difference between the delayed level value signal and the input signal. The absolute value acquisition circuit 2226 acquires the absolute value of the output of the adder 2225 and supplies it to the comparison circuit 2227 as the variation AV.
[0092] The threshold storage unit 2228 stores a predetermined threshold TH for comparing the variation amount. The threshold TH read from the threshold storage unit 2228 is supplied to the comparison circuit 2227 .
[0093] The comparison circuit 2227 compares the variation AV output from the variation detection circuit 2220 with the threshold TH, and outputs a comparison result signal CRS indicating the comparison result. The comparison result signal CRS is a signal whose signal level changes to "1" (logic level 1) when the variation AV is greater than the threshold TH, and whose signal level changes to "0" (logic level 0) when the variation AV is less than the threshold TH.
[0094] The first delay circuit 2222 delays the output signal of the selector 2229 and outputs it as a convergence level value signal CVS. The convergence level value signal CVS is output from the averaging circuit 222 and supplied to the log conversion circuit 223, and is fed back through the buffer 2223 and supplied to the averaged signal generation unit 2221.
[0095] The averaged signal generating unit 2221 generates a signal obtained by averaging the level value signal LVS based on the level value signal LVS and the output signal (CVS) of the first delay circuit 2222 fed back via the buffer 2223. The averaged signal generating unit 2221 includes, for example, an adder, and generates a signal obtained by averaging the level value signal LVS based on the difference between a signal obtained by adding a negative coefficient to the output signal from the buffer 2223 and the level value signal LVS as an input signal.
[0096] The level value signal LVS as an input signal is directly input to the “1” side input terminal of the selector 2229 . On the other hand, the signal generated by averaging the level value signal LVS generated by the averaged signal generator 2221 is input to the “0” side input terminal of the selector 2229 .
[0097] As described above, when the variation AV is greater than the threshold TH, the signal level of the comparison result signal CRS becomes "1" as described above, so the level value signal LVS itself is output from the selector 2229 and supplied to the first delay circuit 2222. On the other hand, when the variation AV is less than the threshold TH, the signal level of the comparison result signal CRS becomes "0" as described above, so the output signal of the averaged signal generating unit 2221 is output from the selector 2229 and supplied to the first delay circuit 2222.
[0098] Through the above-described structure, in the averaging circuit 222 of the present embodiment, when the variation of the input signal (level value signal LVS) is small (less than the threshold), the signal is averaged by feeding back the output signal (convergence level value signal CVS). On the other hand, when the variation of the input signal (level value signal LVS) is large (greater than the threshold), a signal obtained by delaying the input signal itself is output as the convergence level value signal CVS.
[0099] Refer again Figure 1 The antenna switch control circuit 23 is a circuit that performs switching control of the antenna switch 11 by supplying the antenna control signal ACS to the antenna switch 11. The antenna switch control circuit 23 generates the antenna control signal ACS based on the synchronization detection signal SDS supplied from the synchronization detection circuit 21 and the RSSI value RV supplied from the RSSI detection circuit 22. In addition, the antenna switch control circuit 23 generates a synchronization clear signal SCS, which is a signal for releasing the synchronization detection state of the synchronization detection circuit 21, and supplies it to the synchronization detection circuit 21.
[0100] Figure 42 is a block diagram showing the structure of the antenna switch control circuit 23. The antenna switch control circuit 23 includes a first antenna RSSI holding circuit 31, a second antenna RSSI holding circuit 32, a comparison circuit 33, and a control circuit 34.
[0101] The first antenna RSSI holding circuit 31 and the second antenna RSSI holding circuit 32 are circuits that receive the supply of the antenna control signal ACS and the synchronization detection signal SDS, respectively, and hold the RSSI value RV based on these signals. The first antenna RSSI holding circuit 31 holds the RSSI value RV supplied from the RSSI detection circuit 22 when the antenna AT1 as the first antenna is selected as the receiving antenna based on the antenna control signal ACS and the signal level of the synchronization detection signal SDS is at the H level (logic level 1). The second antenna RSSI holding circuit 32 holds the RSSI value RV supplied from the RSSI detection circuit 22 when the antenna AT2 as the second antenna is selected as the receiving antenna based on the antenna control signal ACS and the signal level of the synchronization detection signal SDS is at the H level (logic level 1).
[0102] The comparison circuit 33 compares the RSSI value RV1 held by the first antenna RSSI holding circuit 31 with the RSSI value RV2 held by the second antenna RSSI holding circuit 32 and outputs the comparison result CR.
[0103] The control circuit 34 includes a state machine 41 , a timer 42 , an antenna control signal generating circuit 43 , a synchronization clear signal generating circuit 44 , and a state holding signal generating circuit 45 .
[0104] The state machine 41 receives the synchronous detection signal SDS and the comparison result CR, and performs state transition for antenna control based on these signals. The state machine 41 generates a state signal SS indicating the current state, and supplies the state signal SS to the timer 42 and the antenna control signal generation circuit 43 .
[0105] The timer 42 counts a predetermined time according to the state signal SS supplied from the state machine 41. The timer 42 counts according to the clock timing of a clock signal (not shown), for example, and outputs a timer value TV indicating the count after the predetermined time is counted. In the present embodiment, the timer 42 counts the time T1 or the time T2 according to the signal level of the state signal SS.
[0106] The antenna control signal generating circuit 43 generates the antenna control signal ACS based on the state signal SS supplied from the state machine 41 and the timer value TV supplied from the timer 42 .
[0107] The synchronization clear signal generating circuit 44 generates a synchronization clear signal SCS based on the state signal SS supplied from the state machine 41 and the timer value TV supplied from the timer 42 .
[0108] Figure 5 4 is a diagram showing state transitions of the state machine 41. The state machine 41 has three states, and the state transitions are performed according to conditions such as the signal level of the synchronization detection signal SDS, the timer value TV of the timer 42, and the completion of reception of the wireless modulated wave (received signal RS).
[0109] The first state ST1 is a state before synchronization detection. The state machine 41 supplies the state signal SS indicating the first state ST1 to the timer 42 and the antenna control signal generating circuit 43. The timer 42 repeatedly counts the time T1 accordingly. The antenna control signal generating circuit 43 generates an antenna control signal ACS whose signal level repeatedly changes to the H level (logic level 1) and the L level (logic level 0) at intervals of the time T1, and supplies it to the antenna switch 11.
[0110] The synchronization detection circuit 21 performs synchronization detection, and supplies a synchronization detection signal SDS indicating that synchronization detection has been performed to the state machine 41, and the state machine 41 transitions to the second state ST2.
[0111] The second state ST2 is a state after synchronization detection. The state machine 41 supplies the state signal SS indicating the second state ST2 to the timer 42 and the antenna control signal generating circuit 43. The timer 42 counts the time T2 accordingly. The antenna control signal generating circuit 43 outputs the antenna control signal ACS having a signal level obtained by inverting the signal level of the antenna control signal ACS when synchronization detection is performed.
[0112] When the timer 42 reaches the time T2, the state machine 41 changes to the third state ST3.
[0113] The third state ST3 is a state in which the search for an antenna with a high signal strength is completed. After receiving the supply of the comparison result CR indicating that either the RSSI value RV1 or the RSSI value RV2 is greater than the other from the comparison circuit 33, the state machine 41 supplies a state signal SS indicating that the antenna corresponding to the RSSI value of the one should be selected (i.e., if it is RSSI value RV1, select antenna TA1, and if it is RSSI value RV2, select antenna TA2) to the antenna control signal generation circuit 43. The antenna control signal generation circuit 43 generates an antenna control signal ACS for controlling the antenna switch 11 in a manner that fixes the receiving antenna to the antenna with a larger RSSI value based on the state signal SS supplied from the state machine 41, and supplies it to the antenna switch 11.
[0114] When the reception of the wireless modulated wave (data packet) is completed or when synchronization is lost during reception, the state machine 41 changes to the first state ST1. The receiving device 100 searches for the desired wave again.
[0115] Figure 6 2 is a block diagram showing the structure of the data reproduction circuit 20. The data reproduction circuit 20 includes a symbol timing generation circuit 51 and a data determination circuit 52.
[0116] The symbol timing generation circuit 51 generates a symbol timing SYT which is an optimal timing for determining the data values “1” and “0” of digital data from the frequency detection signal ODS after the DC offset is removed.
[0117] The data determination circuit 52 generates demodulated data DD indicating the result (“1” or “0”) of data determination performed at the symbol timing SYT.
[0118] Figure 7 : is a block diagram showing the structure of the synchronization detection circuit 21. The synchronization detection circuit 21 includes a correlator 53 for correlating the demodulated data DD with a predetermined preamble pattern PP. When the correlation between the demodulated data DD and the preamble pattern PP reaches a correlation value greater than a certain threshold, the synchronization detection circuit 21 outputs a synchronization detection signal SDS of an H level (logic level 1).
[0119] Furthermore, the synchronization detection circuit 21 has a function of clearing the synchronization state by receiving the supply of the synchronization clear signal SCS. That is, the synchronization detection circuit 21 changes the signal level of the synchronization detection signal SDS to the L level (logic level 0) according to the synchronization clear signal SCS of the H level (logic level 1). In addition, when the state holding signal SHS of the H level (logic level 1) is supplied, the synchronization detection circuit 21 operates in a manner that ignores the synchronization clear signal SCS. That is, when the state holding signal SHS of the H level is supplied to the synchronization detection circuit 21, the receiving device 100 maintains the synchronization state regardless of whether the synchronization clear signal SCS is supplied to the synchronization detection circuit 21.
[0120] Next, refer to Figure 8 The timing diagram of FIG. 1 illustrates the antenna diversity reception operation performed by the receiving device 100 of this embodiment.
[0121] First, the antenna switch control circuit 23A in the state before synchronization detection outputs the antenna control signal ACS whose signal level changes to H level and L level every time T1. As a result, the receiving antenna is switched to the antenna AT1 and the antenna AT2 every time T1 to search for the desired wave. In addition, here, the case where the antenna control signal ACS is selected when the antenna control signal is H level and the antenna AT2 is selected when it is L level is shown as an example.
[0122] The synchronization detection circuit 21 performs synchronization detection. If the synchronization detection signal SDS becomes H level, it is determined that the receiving device 100 has received the desired wave including the preamble code, and the first antenna RSSI holding circuit 31 or the second antenna RSSI holding circuit 32 holds the RSSI value RV detected by the RSSI detection circuit 22 at the synchronization detection timing. Figure 8 , it is shown that when antenna TA2 is selected by antenna control signal ACS at H level, a radio modulated wave corresponding to the preamble of a data packet is input to antenna TA2 and synchronous detection is performed. Second antenna RSSI holding circuit 32 holds RSSI value RV2 at the timing of synchronous detection. State machine 41 changes to second state ST2.
[0123] The antenna switch control circuit 23 changes the signal level of the antenna control signal ACS and switches the receiving antenna using the antenna switch 11. Here, since the synchronous detection is performed using the antenna TA2, the antenna AT1 is switched.
[0124] The RSSI detection circuit 22 detects an RSSI value RV based on the reception signal RS input to the antenna TA1. The first antenna RSSI holding circuit 31 holds the RSSI value RV detected by the RSSI detection circuit 22 as an RSSI value RV1.
[0125] The timer 42 counts the time T2. When the time T2 is reached, the state machine 41 changes to the third state ST3.
[0126] The comparison circuit 33 compares the RSSI value RV2 held by the second antenna RSSI holding circuit 32 with the RSSI value RV1 held by the first antenna RSSI holding circuit 31, and outputs a comparison result CR. Figure 8 , the case where RSSI value RV2 is greater than RSSI value RV1 is shown (“0×80” and “0×40”, respectively, in the figure).
[0127] Based on the comparison result CR, the antenna switch control circuit 23 determines the antenna that obtains the larger RSSI value as the receiving antenna to be used for receiving data after the preamble, and locks the antenna control signal ACS (ie, maintains the signal value).
[0128] exist Figure 8In the example shown, since the RSSI value RV2 is greater than the RSSI value RV1, the antenna TA2 is determined as the receiving antenna. Therefore, the antenna switch control circuit 23 changes the signal value of the antenna control signal ACS to control the antenna switch 11 in such a way as to switch the receiving antenna to the antenna TA2, and then fixes the signal value of the antenna control signal ACS to maintain the state (i.e., the state in which the antenna TA2 is selected).
[0129] Furthermore, if the RSSI value RV1 is greater than the RSSI value RV2 , the antenna switch control circuit 23 determines the antenna TA1 as the receiving antenna, locks the antenna control signal ACS while the antenna TA1 is selected, and maintains the above state of the antenna switch 11 .
[0130] The timer 42 counts the time T1 and stops the timing operation after reaching the time T1. The state holding signal generating circuit 45 outputs the state holding signal SHS of the H level (logic level 1) during the period when the state machine 41 is in the first state ST1 and the period when it is in the second state ST2 until the timer 42 counts the time T1.
[0131] While the state holding signal SHS is at H level, the DC offset detection circuit 18 holds the value of the symbol timing SYT when the synchronization detection signal SDS is at H level. Since the state holding signal SHS is at H level, the synchronization clear signal SCS is ignored and the receiving device 100 continues the synchronization state (the state of performing synchronization detection).
[0132] When the reception of the wireless modulated wave (data packet) is completed or when synchronization is lost during reception, the state machine 41 transitions to the first state ST1. The receiving device 100 searches for the desired wave again.
[0133] Through the above routine, the receiving device 100 performs antenna diversity reception. After the receiving device 100 of this embodiment performs the initial synchronization detection for obtaining the RSSI value, the state holding signal SHS is supplied to the synchronization detection circuit 21, thereby maintaining the synchronization state. With the above structure, it is not necessary to perform synchronization detection again after the state of the state machine 41 changes from the second state ST2 to the third state ST3, so the reception time of the data packet can be shortened.
[0134] Fig. 9 This is a block diagram showing the structure of a receiving device 200 of a comparative example that is different from the receiving device 100 of the present embodiment and does not maintain the synchronization state based on the state holding signal.
[0135] In the receiving device 200 of the comparative example, unlike Figure 1In the receiver 100 of the present embodiment shown, the antenna switch control circuit 23A does not output the state holding signal SHS. Therefore, the synchronization detection state detected by the synchronization detection circuit 21 at the stage of detecting the RSSI value RV is released by the supply of the synchronization clear signal SCS.
[0136] Fig.10 2 is a block diagram showing the configuration of an antenna switch control circuit 23A of a comparative example. Unlike the antenna switch control circuit 23 of the present embodiment, the antenna switch control circuit 23A does not include the state holding signal generating circuit 45. Therefore, the state holding signal SHS is not output.
[0137] Fig.11 1 is a timing chart showing the operation of antenna diversity reception performed by the reception apparatus 200 of the comparative example.
[0138] In the reception device 200 , while the state machine 41 is in the first state ST1 , the antenna switch control circuit 23A switches the signal level of the antenna control signal ACS at intervals of time T1 until the desired wave is received.
[0139] If the desired wave is input and the synchronization detection circuit 21 is used to perform synchronization detection, it is determined that the receiving device 200 has received the desired wave including the preamble code, and the first antenna RSSI holding circuit 31 or the second antenna RSSI holding circuit 32 is kept at the RSSI value RV detected by the RSSI detection circuit 22 at the synchronization detection timing. Fig. 9 In the example shown, synchronization detection is performed with the antenna TA2 set as a receiving antenna, and the RSSI value RV is detected by the RSSI detection circuit 22, so the second antenna RSSI holding circuit 32 holds it as the RSSI value RV2.
[0140] The state machine 41 changes to the second state ST2. The synchronization clear signal generation circuit 44 generates a single-pulse synchronization clear signal SCS and supplies it to the synchronization detection circuit 21. As a result, the synchronization detection state is cleared (released). The antenna switch control circuit 23 changes the signal level of the antenna control signal ACS. The antenna switch 11 switches the receiving antenna to the antenna TA1 accordingly.
[0141] The RSSI detection circuit 22 detects an RSSI value RV based on the reception signal RS input to the antenna TA1. The first antenna RSSI holding circuit 31 holds the RSSI value RV detected by the RSSI detection circuit 22 as an RSSI value RV1.
[0142] When synchronization detection is performed by the synchronization detection circuit 21 or when time T1 counted by the timer 42 is reached, the state machine 41 transitions to the third state ST3 . The synchronization clear signal generation circuit 44 generates a single-pulse synchronization clear signal SCS and supplies it to the synchronization detection circuit 21 .
[0143] The comparison circuit 33 compares the RSSI value RV2 held by the second antenna RSSI holding circuit 32 with the RSSI value RV1 held by the first antenna RSSI holding circuit 31. Here, since the RSSI value RV2 is greater than the RSSI value RV1, the antenna switch control circuit 23 determines that the antenna TA2 is the receiving antenna, controls the antenna switch 11 in such a way as to switch the receiving antenna to the antenna TA2, and then locks the antenna control signal ACS.
[0144] In the receiving device 200 of the comparative example, unlike the receiving device 100 of the present embodiment, a state holding signal is not supplied to the synchronization detection circuit 21. Therefore, when the state of the state machine 41 changes from the first state ST1 to the second state ST2, and when the state of the state machine 41 changes from the second state ST2 to the third state ST3 (and the signal level of the antenna control signal ACS is different in the second state ST2 and the third state ST3), the synchronization detection state is released according to the synchronization clear signal SCS.
[0145] Therefore, the reception apparatus 200 of the comparative example performs resynchronization using the finally determined reception antenna immediately after the state machine 41 transitions to the third state ST3, and performs the operation of receiving data.
[0146] On the other hand, in the receiving apparatus 100 of the present embodiment, as described above, the state machine 41 is in the second state ST2 and the third state ST3 until the timer 42 reaches the time T1, and the state of detecting the DC offset, extracting the symbol timing, and detecting the synchronization is maintained. Therefore, in the third state ST3, it is not necessary to perform resynchronization using the finally determined receiving antenna.
[0147] Therefore, in the receiving device 100 of the present embodiment, the time required to determine the receiving antenna can be the initial synchronization detection period (i.e., the period during which the synchronization detection signal SDS becomes an H level when the RSSI value RV is acquired using the antenna TA1 or the antenna TA2 in the first state ST1) + time T2 (i.e., the time for transitioning from the second state ST2 to the third state ST3).
[0148] Thus, according to the receiving apparatus 100 of this embodiment, the number (length) of preambles required for antenna diversity can be reduced, and the time required for sending and receiving data packets can be shortened. In addition, by shortening the time required for sending and receiving, power consumption in the communication system can be reduced.
[0149] Furthermore, in the receiving device 100 of the present embodiment, the averaging circuit 222 constituting the RSSI detection circuit 22 has the following features: Figure 3 The structure shown in FIG. 1 can shorten the time for the RSSI value RV to converge and shorten the time for determining the antenna. This is described below.
[0150] In antenna diversity, in the preamble section of the signal, the antenna is switched, the RSSI value is obtained, and the antenna is selected based on the obtained RSSI value, and the subsequent data portion is received. Here, when the RSSI value is obtained for one antenna, after switching the antenna, the RSSI value is waited for to converge to a value corresponding to the received level, and the RSSI value is obtained and determined.
[0151] The averaging circuit 222 plays a role in suppressing the variation of the RSSI value caused by noise. Suppressing the variation of the RSSI value caused by noise can improve the accuracy of the acquired RSSI value and improve the accuracy of the antenna selection finally determined.
[0152] Fig.12 This is a block diagram showing the structure of an averaging circuit 222A of a comparative example that is different from the averaging circuit 222 of the present embodiment and does not include a variation detection circuit. The averaging circuit 222A is composed of an infinite impulse response filter including an averaged signal generating unit 2221A, a delay circuit 2222A, and a buffer 2223A.
[0153] Fig.13 2 is a timing chart showing time changes of various signals and RSSI value RV in the RSSI detection circuit including the averaging circuit 222A of the comparative example.
[0154] In the averaging circuit 222A of the comparative example, regardless of whether the fluctuation amount of the received signal is large or not, the input signal is averaged and outputted via the feedback loop (infinite impulse response filter). Therefore, when the antenna is switched, even if the level value signal LVS changes sharply, the convergence level value signal CVS and the RSSI value do not immediately follow the changes, and the time required for the RSSI value to converge to a certain level (hereinafter referred to as averaging convergence time) becomes longer.
[0155] The time required to determine the antenna for diversity is limited by the convergence time of the RSSI value. Therefore, in the circuit of the comparative example, the time required for antenna determination becomes longer. In addition, the reception of antenna diversity is based on the premise that it is performed in the preamble part of the data packet. Therefore, if the time required for antenna determination becomes longer, a correspondingly long preamble is required. Therefore, the time required for sending and receiving data becomes longer, and the power consumption also becomes larger.
[0156] In contrast, Figure 3 As shown, the averaging circuit 222 of this embodiment includes a variation detection circuit 2220. When the variation of the size of the received signal is greater than the threshold value TH, the signal obtained by delaying the input signal (LVS) is directly output without passing through the feedback loop. In addition, when the variation is less than the threshold value TH, the signal averaged through the feedback loop is output. As a result, the starting point can be set to be near the final convergence value for averaging, so the averaging convergence time of the RSSI value RV can be shortened.
[0157] Fig.14 2 is a timing chart showing the time changes of various signals and RSSI value RV in RSSI detection circuit 22 including averaging circuit 222 of this embodiment. When the signal level of level value signal LVS changes sharply when switching antennas, convergence level value signal CVS and RSSI value RV also change sharply following the change. Fig.12 Compared with the case of the comparative example shown, the averaging convergence time of the RSSI value RV can be significantly shortened.
[0158] Therefore, according to the structure of the averaging circuit 222 of this embodiment, the convergence time of the RSSI value RV can be shortened, and the fluctuation caused by noise can be suppressed. As a result, the time required to determine the receiving antenna can be shortened, the number of preamble codes required for antenna diversity can be further reduced, and the time required for sending and receiving data packets can be further shortened. Moreover, as a result, the power consumption in the communication system can be reduced.
[0159] In addition, the present invention is not limited to the above-described embodiments. For example, in the above-described embodiments, the case where the receiving device 100 includes two antennas, the antenna TA1 and the antenna TA2, is described as an example. However, the number of antennas is not limited thereto, and the structure of the receiving device 100 of this embodiment can also be applied when more than two antennas are included.
[0160] Furthermore, in the above-described embodiment, the case where the timer 42 counts the time T2 when the state machine 41 is in the second state ST2 is described as an example. However, the time measured by the timer 42 is not limited to this, and the same time T1 as when the state machine 41 is in the first state ST1 or the third state ST3 may be measured.
[0161] Furthermore, the configuration of the averaging circuit 222 is applicable not only to a configuration in which the state holding signal SHS is supplied to the synchronization detection circuit 21 and the synchronization state is maintained after the initial synchronization detection for acquiring the RSSI value as in the receiving device 100 of the embodiment, but also to a receiving device not including such a configuration (for example, Fig. 9A receiving device 200 of a comparative example as shown).
[0162] Furthermore, according to the averaging circuit 222 of this embodiment, it is possible to shorten the time required to achieve stable reception not only when switching the receiving antenna in antenna diversity but also in an environment such as a fading environment or an environment where the surrounding radio wave conditions change dynamically.
Claims
1. A receiving device for receiving a radio transmission wave modulated with a data packet including a preamble and a data body following the preamble, the receiving device comprising: A first antenna and a second antenna; an antenna switching unit that selectively switches a receiving antenna used for receiving the wireless transmission wave to either the first antenna or the second antenna; a frequency conversion unit for performing frequency conversion on a reception signal obtained by receiving the wireless transmission wave using the first antenna or the second antenna to obtain a baseband signal; A frequency detection unit, performing frequency detection on the baseband signal to obtain a frequency detection signal; An offset removal unit, which removes a DC offset from the frequency detection signal; a data regeneration unit that performs data determination based on the frequency detection signal from which the DC offset has been removed, and generates demodulated data; A synchronization detection unit that performs synchronization detection by correlating the demodulated data with data of a predetermined preamble pattern; a signal strength acquiring unit, which acquires the signal strength of the received signal based on the baseband signal; and a switching control unit that controls the switching of the receiving antenna by the antenna switching unit, The switching control unit before the synchronization detection unit performs synchronization detection, the antenna switching unit is controlled to switch the receiving antenna every first predetermined time. When the wireless transmission wave received when one of the first antenna and the second antenna is used as a receiving antenna is used for synchronization detection by the synchronization detection unit, a state holding signal is supplied to the synchronization detection unit to maintain the synchronization detection state, and the antenna switching unit is controlled to switch the receiving antenna to the other antenna. After a second specified time has passed since the antenna switching unit was used to switch to the other antenna, the signal strength of the received signal when it is received by the first antenna, i.e., the first signal strength, is compared with the signal strength of the received signal when it is received by the second antenna, i.e., the second signal strength, and based on the comparison result, the antenna switching unit is controlled to fix the receiving antenna to either the first antenna or the second antenna.
2. The receiving device according to claim 1, characterized in that: The data regeneration unit extracts a symbol timing value from the frequency detection signal from which the DC offset has been removed, and uses the symbol timing value to perform data determination. The switching control unit supplies the state holding signal to the data reproduction unit so as to hold the symbol timing value when the synchronization detection unit performs synchronization detection.
3. The receiving device according to claim 1, characterized in that include: an offset detection unit, detecting the DC offset, The switching control unit supplies the state holding signal to the offset detection unit so as to hold the value of the DC offset when the synchronization detection unit performs synchronization detection.
4. The receiving device according to claim 1, characterized in that: The signal strength acquisition unit calculates a received signal strength indicator value of the received signal based on the baseband signals of the I phase and the Q phase, The switching control unit includes a holding unit, which holds the received signal strength indication value when the received signal is received by the first antenna and the received signal strength indication value when the received signal is received by the second antenna, and the switching control unit controls the antenna switching unit based on a comparison result obtained by comparing the received signal strength indication values.
5. The receiving device according to any one of claims 1 to 4, characterized in that: The wireless transmission wave is a modulated wave that modulates the data packet in a frequency shift keying modulation mode. The frequency detection unit obtains the frequency detection signal by converting a frequency change included in the baseband signal into an amplitude change.
6. The receiving device according to claim 4, characterized in that The signal strength acquisition unit comprises: a signal level calculation unit that generates a level value signal indicating the magnitude of the received signal based on the baseband signals of the I phase and the Q phase; an averaging circuit that generates the level value signal and an averaged signal obtained by averaging the level value signal; and a variation detection unit for detecting a variation of the level value signal; When the variation of the level value signal is greater than a threshold value, the received signal strength indicator value is calculated based on the level value signal; When the amount of change of the level value signal is smaller than the threshold value, the received signal strength indicator value is calculated based on the averaged signal.
7. The receiving device according to claim 6, characterized in that: The signal strength acquisition unit comprising a logarithmic conversion circuit, the logarithmic conversion circuit performing logarithmic conversion of a signal level, When the variation of the level value signal is equal to or greater than the threshold value, the received signal strength indicator value is calculated by logarithmically converting the signal level of a signal obtained by delaying the level value signal. When the amount of change of the level value signal is smaller than the threshold value, the received signal strength indicator value is calculated by logarithmically converting the signal level of a signal obtained by delaying the averaged signal.
