Communication apparatus, communication method, and program
The communication device measures and adjusts frequency differences between sound wave signals to synchronize transmitting and receiving sides, enhancing communication performance by accurately decoding data across multiple channels while maintaining cost-effectiveness.
Patent Information
- Application Number
- JP2023061405
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-05
- Publication Date
- 2024-10-18
AI Technical Summary
Communication performance deteriorates when using sound wave signals due to mismatched carrier signal frequencies between the transmitting and receiving sides.
A communication device that measures and adjusts the frequency difference between received and reference signals, allowing for decoding and outputting data across multiple channels, even when signals from adjacent channels are mixed, by setting channel frequencies as integer fractions of the reference frequency.
Enables accurate frequency offset estimation and synchronization, preventing decoding errors, improving signal-to-noise ratio, and increasing communication speed without increasing manufacturing costs.
Smart Images

Figure 2024148343000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a communication device, a communication method, and a program. [Background technology]
[0002] 2. Description of the Related Art Techniques for transmitting and receiving data and information using sound as a transmission medium are known (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6963290 specification Summary of the Invention [Problem to be solved by the invention]
[0004] When communication is performed using a sound wave signal having a plurality of channels, there is a problem that communication performance is degraded due to a mismatch between the frequencies of the carrier wave signals on the transmitting side and the receiving side.
[0005] The present invention has been made in consideration of the above-mentioned circumstances, and has an object to provide a communication device, a communication method, and a program that enable appropriate communication. [Means for solving the problem]
[0006] (1) In order to achieve the above object, a communication device according to a first aspect of the present invention comprises: A communication device capable of communication using a sound wave signal having a plurality of channels arranged in a plurality of frequency ranges, A measuring means capable of measuring a frequency difference between a received signal and a reference signal; a decoding means for decoding and outputting data transmitted through the plurality of channels using a measurement result by the measuring means, the measuring means is capable of measuring the frequency difference in the plurality of channels even when a signal of an adjacent channel is mixed therein; The decoding means is capable of changing a receiving frequency band in response to a measurement result by the measuring means. It is characterized by:
[0007] (2) In addition, in the communication device of (1) above, The measuring means may be capable of measuring the frequency difference when receiving sound wave signals in which the plurality of channels are arranged in a frequency range in which a predetermined characteristic relating to a correlation value is obtained.
[0008] (3) In addition, in the communication device of (1) or (2) above, The channel frequencies corresponding to the plurality of channels may be set to frequencies that are integer multiples of a reference frequency.
[0009] (4) A communication method according to a second aspect of the present invention comprises: A communication method using a sound wave signal having a plurality of channels arranged in a plurality of frequency ranges, comprising: In the plurality of channels, a frequency difference between a received signal and a reference signal is measured even when a signal of an adjacent channel is mixed therein; Decoding and outputting data transmitted through the plurality of channels while changing a receiving frequency band in response to the measurement result of the frequency difference. It is characterized by:
[0010] (5) A program according to a third aspect of the present invention, Computer, A measuring means capable of measuring a frequency difference between a received signal and a reference signal when a sound wave signal having a plurality of channels arranged in a plurality of frequency ranges is received; functioning as a decoding means capable of decoding and outputting data transmitted through the plurality of channels using the measurement results by the measurement means; the measuring means is capable of measuring the frequency difference in the plurality of channels even when a signal of an adjacent channel is mixed therein; The decoding means is capable of changing a receiving frequency band in response to a measurement result by the measuring means. It is characterized by: [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 illustrates an example of the configuration of a communication device. [Diagram 2] 1A is a diagram showing an example of a receiving operation when the transmission clock is slow, and FIG. 1B is a diagram showing an example of a receiving operation when the transmission clock is fast. [Diagram 3] 13A is a diagram showing an example of data processing corresponding to a case where the frequency difference is small, and FIG. 13B is a diagram showing an example of data processing corresponding to a case where the frequency difference is large. [Figure 4] FIG. 13 illustrates an example of data processing. [Diagram 5] 1A to 1E are diagrams illustrating frequency spectra corresponding to the respective ratio frequencies. [Figure 6] FIG. 13 illustrates an example of data processing. [Figure 7] 1A to 1E are diagrams illustrating frequency spectra corresponding to the respective ratio frequencies. [Figure 8] FIG. 11 is a diagram illustrating an example of channel frequency settings. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] The communication device 100 can communicate using a sound wave signal in which multiple channels are arranged in multiple frequency ranges. The sound wave signal may be, for example, a sound wave signal in an inaudible band, which is almost inaudible to humans. When such a sound wave signal in an inaudible band is used, it is possible to prevent discomfort caused by noise. Alternatively, the sound wave signal used by the communication device 100 may be a signal in any band including a sound wave signal in an audible band.
[0013] The communication device 100 may be, for example, a mobile phone, a smartphone, a tablet terminal, a payment terminal, or the like, and may be configured to include a storage unit, a control unit, an input unit, an output unit, a system bus connecting these, and the like. The control unit may be configured, for example, by a CPU (Central Processing Unit) or the like, and operates according to a program stored in the storage unit, and is capable of executing processing according to the program. The control unit may be configured to include the decoding processing unit 110, the measurement processing unit 120, and some or all of these as main functional units provided by the program. Part of the decoding processing unit 110 and the measurement processing unit 120 may be configurable by programs and data stored in the storage unit.
[0014] The decoding processing unit 110 acquires an electric signal corresponding to any sound wave signal such as air vibration as an input signal from a sound collection unit such as a microphone 111. This input signal is converted from an analog signal to a digital signal (analog / digital conversion) by, for example, sampling processing, quantization processing, etc. The decoding processing unit 110 includes a channel signal acquisition unit 112 and a data decoding unit 113.
[0015] The channel signal acquisition unit 112 can acquire a transmission signal for each channel corresponding to a plurality of channels arranged in a plurality of frequency ranges in a sound wave signal. The channel signal acquisition unit 112 may be capable of executing a frequency conversion process. The frequency conversion process may include conversion to an intermediate frequency, conversion to a baseband signal, or both of these. When converting to a baseband signal, a carrier signal that serves as a main carrier may be generated. The channel signal acquisition unit 112 may be capable of generating a carrier signal that serves as a subcarrier corresponding to each channel included in the plurality of channels. It is sufficient that the channel signal acquisition unit 112 can acquire a channel signal that is a transmission signal corresponding to each channel by mixing such a carrier signal with a received signal and performing a filtering process.
[0016] The data decoding unit 113 may be capable of decoding data transmitted using a channel signal, for example, by performing a demapping process corresponding to a modulation method. The decoded data by the data decoding unit 113 may be provided to a control unit in the communication device 100, may be stored in a storage unit, or may be provided as output data from an output unit. In this way, the data decoding unit 113 may be capable of outputting data transmitted in a plurality of channels.
[0017] The measurement processing unit 120 makes it possible to measure the frequency difference between the received signal and the reference signal based on the received signal received as a sound wave signal and the reference signal that can be generated in the communication device 100 on the receiving side. The reference signal may be generated by using data or information prepared in advance in the communication device 100. The frequency difference in this embodiment indicates the amount of difference when the received signal from the transmitting side differs from the reference signal generated on the receiving side for the channel frequency set corresponding to a plurality of channels. That is, the difference between the frequency of the received carrier signal and the frequency of the carrier signal generated as a local oscillation signal on the receiving side is the frequency difference between the received signal and the reference signal. The frequency difference is also called a frequency tolerance, frequency deviation, frequency error, or frequency offset. The measurement processing unit 120 includes a correlation calculation unit 121 and a reference information storage unit 122.
[0018] The correlation calculation unit 120 may perform a calculation process to generate correlation value data indicating a cross-correlation value using the reception frequency characteristic data and the reference characteristic data. The reception frequency characteristic data is frequency characteristic data indicating the spectrum distribution of the reception signal. The correlation calculation unit 120 may perform a Fast Fourier Transformation (FFT) process or a Discrete Fourier Transformation (DFT) process on the reception signal converted into a digital signal or the reception signal converted into an intermediate frequency by a frequency conversion process to generate the reception frequency characteristic data. In this case, a band-pass filtering process may be performed so that a measurement target band is extracted from the reception signal. In addition, a process of converting the reception signal into any data indicating the frequency characteristic of the reception signal, such as a power spectral density, may be performed. The power spectral density may be subjected to a unit conversion process of the data so that it is converted into a decibel value. The reception frequency characteristic data may be subjected to a normalization process to normalize the maximum value to 1. The reception frequency characteristic data may be subjected to a smoothing process to smooth the frequency characteristic.
[0019] The reference information storage unit 122 may store reference information used when measuring the frequency difference between the received signal and the reference signal. The reference information may include reference characteristic data used in the calculation process by the correlation calculation unit 120. The reference characteristic data may be data indicating the frequency characteristic of a reference signal prepared in advance.
[0020] When the communication device 100 communicates information using sound, it is required that the operating frequency of the transmitting side and the receiving side are the same. However, in reality, clock frequencies contain errors, and it is difficult to make them perfectly match. Generally, a method is adopted that absorbs some errors to establish communication.
[0021] There are four possible ways to deal with the frequency difference between the transmitting and receiving sides, for example: The first is to use a signal source that can generate a clock signal with a sufficiently accurate frequency on both the transmitting and receiving sides. The second is to widen the passband width in the filtering process on the receiving side, thereby decoding data from a signal that contains errors. The third is to lengthen the symbol period to compensate for timing deviations caused by errors. The fourth is to adopt a special data encoding method that makes it possible to decode data even when there is a large error.
[0022] Each of these methods has the following problems. In the first example, when a high-precision signal source such as a crystal oscillator is used, it becomes difficult to provide a low-cost product. In the second example, when the passband width is wide, performance deteriorates due to a decrease in the signal-to-noise ratio (SN ratio), and it is not possible to deal with the case where a signal from an adjacent channel is mixed in. In the third example, while it is possible to deal with a timing deviation of a few percent, it becomes difficult to deal with a large deviation of, for example, 20%. In the fourth example, when an encoding method such as that used in infrared remote controls is adopted, it is possible to deal with a large frequency difference, but the communication rate decreases significantly due to a decrease in the encoding rate, making it difficult to increase the communication speed.
[0023] FIG. 2 shows examples of reception operations when the clock frequencies on the transmitting side and receiving side include an error. FIG. 2(A) shows a reception operation example EX01 when the transmission clock, which is the clock signal on the transmitting side, is slow. FIG. 2(B) shows a reception operation example EX02 when the transmission clock is fast. In these reception operation examples, communication data is transmitted using four channels CH01 to CH04, for example, by a frequency hopping method. On the receiving side, the communication device 100 decodes the data transmitted by the reception signal by the decoding processing unit 110 in accordance with a predetermined decoding cycle.
[0024] In the reception operation example EX01 shown in Fig. 2(A), the white ovals indicate the period and frequency during which communication data is transmitted. In the reception side communication device 100, the frequency of the reception clock and the like are set so that the timings TI01 to TI08 corresponding to the decode cycle become the decode timings. Also, in accordance with a preset hopping pattern, a carrier signal serving as a subcarrier and the like are generated and mixed with the reception signal so that the reception channel is switched among four channels CH01 to CH04.
[0025] When the transmission clock is slower than the reception clock, the frequency of the received carrier signal is lower than the frequency of the carrier signal generated by the communication device 100 on the receiving side. Therefore, the spectrum distribution of the received signal includes an error shifted toward the lower frequency side than the spectrum distribution of the reference signal. As a result, in the reception operation example EX01, the frequency at which the communication data is transmitted is close to the lower limit of each channel in the frequency range in which the four channels CH01 to CH04 are arranged. Furthermore, when the transmission clock is slower, the frequency at which the communication data is transmitted may deviate toward the lower frequency side than the frequency range in which the four channels CH01 to CH04 are arranged. Also, the period during which the communication data is transmitted is a longer period than the interval of the decode timing. Therefore, the period during which the communication data is transmitted is delayed with respect to the decode timing. For example, the timing TI08 is before the start of the period during which the communication data DA01 is transmitted, and the communication data DA01 cannot be decoded.
[0026] In the reception operation example EX02 shown in Fig. 2(B), the black ovals indicate the period and frequency during which communication data is transmitted. In the reception side communication device 100, the frequency of the reception clock and the like are set so that the timings TI11 to TI18 corresponding to the decode cycle become the decode timings. Also, in accordance with a preset hopping pattern, a carrier signal serving as a subcarrier and the like are generated and mixed with the reception signal so that the reception channel is switched among four channels CH01 to CH04.
[0027] When the transmission clock is faster than the reception clock, the frequency of the received carrier signal is higher than the frequency of the carrier signal generated by the communication device 100 on the receiving side. Therefore, the spectrum distribution of the received signal includes an error shifted toward the higher frequency side than the spectrum distribution of the reference signal. As a result, in the reception operation example EX02, the frequency at which the communication data is transmitted is close to the upper limit of each channel in the frequency range in which the four channels CH01 to CH04 are arranged. Furthermore, when the transmission clock is faster, the frequency at which the communication data is transmitted may deviate toward the higher frequency side than the frequency range in which the four channels CH01 to CH04 are arranged. Also, the period during which the communication data is transmitted is a shorter cycle than the interval of the decode timing. Therefore, the period during which the communication data is transmitted is advanced with respect to the decode timing. For example, the timing TI18 is after the end of the period during which the communication data DA11 is transmitted, and the communication data DA11 cannot be decoded.
[0028] In this way, when the clock signals on the transmitting side and the receiving side contain errors, there is a configuration in which the receivable bandwidth BW01 corresponding to each channel is set wide by using the method of the second example described above. In this configuration, the receiving side decodes the communication data using a channel signal that contains a lot of noise signals. Therefore, the rate of occurrence of decoding errors increases due to a decrease in the signal-to-noise ratio (SN ratio).
[0029] Also, by using the method of the third example described above, there is a configuration in which the duration of a symbol is extended. In this configuration, the period during which communication data is transmitted is lengthened so that the deviation from the decoding timing can be absorbed. However, due to the decrease in the coding rate, it becomes difficult to increase the communication speed. In addition, when the frequency difference is large, a timing deviation that cannot be absorbed occurs.
[0030] As a case where the above-mentioned fourth example method is used, there is an encoding method having a format disclosed in JP-A-2003-264612. In this case, in addition to the period during which communication data is transmitted, different stop periods are set corresponding to the communication data. Therefore, due to the decrease in the encoding rate, it becomes difficult to increase the communication speed.
[0031] The measurement processing unit 120 of the communication device 100 can measure the frequency difference between the received signal and the reference signal. The decoding processing unit 110 of the communication device 100 can execute a decoding process corresponding to the frequency of the received carrier signal using the measurement result by the measurement processing unit 120. As a result, the communication device 100 can appropriately decode communication data even when there is a large frequency difference, for example, about 20% of the channel frequency. Furthermore, the communication device 100 prevents a decrease in the coding rate, enabling high-speed communication.
[0032] In the measurement processing unit 120 of the communication device 100, the correlation calculation unit 121 acquires reception frequency characteristic data indicating the frequency spectrum of the reception signal. The reception frequency characteristic data indicates a frequency spectrum including multiple peaks corresponding to the frequency of a carrier signal on which multiple channels are arranged, in a manner that allows identification. The frequency difference between the reception signal and the reference signal can be measured by comparing the reception frequency characteristic data with the reference characteristic data read out from the reference information storage unit 122.
[0033] FIG. 3 shows an example of data processing when measuring a frequency difference using a frequency spectrum. Of these, FIG. 3(A) shows a data processing example EX11 when the frequency difference is small. FIG. 3(B) shows a data processing example EX12 when the frequency difference is large. In these data processing examples, the frequency spectra shown by the reception frequency characteristic data and the reference characteristic data each include peaks corresponding to 10 channels. The frequency spectrum shown by the reference characteristic data is the characteristic of a signal corresponding to the original frequency assumed on the receiving side. In contrast, the frequency spectrum shown by the reception frequency characteristic data is the characteristic of a signal corresponding to a frequency actually measured using a received signal.
[0034] In the data processing example EX11 shown in FIG. 3(A), the peak FA01 included in the frequency spectrum corresponding to the original frequency and the peak FB01 included in the frequency spectrum corresponding to the measured frequency both appear at the channel frequency of the fifth channel. In this case, the frequency difference between the peak FA01 and the peak FB01 indicates the correct frequency difference between the received signal and the reference signal. Therefore, the communication data can be appropriately decoded using the measurement result of the frequency difference.
[0035] In the data processing example EX12 shown in FIG. 3(B), the peak FA11 included in the frequency spectrum corresponding to the original frequency appears at the channel frequency of the fifth channel, similar to the data processing example EX11. In contrast, the peak FB11 included in the frequency spectrum corresponding to the measured frequency appears at the channel frequency of the fourth channel, unlike the data processing example EX11. Therefore, the frequency difference between the peak FA11 and the peak FB11 does not indicate the correct frequency difference between the received signal and the reference signal. In this way, when a signal from an adjacent channel is mixed in, the communication data may not be properly decoded using the measurement result of the frequency difference.
[0036] In addition, the frequency that is a peak in the frequency spectrum is easily affected by noise signals. In the conventional technology, it is difficult to measure the frequency difference correctly when the frequency difference is large, for example, when signals of adjacent channels are mixed in multiple channels. Also, when communication data is decoded using the measurement result of the frequency difference, performance degradation due to decoding errors is likely to occur.
[0037] The communication device 100 of the present invention improves the measurement performance of the frequency difference by performing a correlation calculation using the reception frequency characteristic data and the reference characteristic data. In addition, the measurement performance of the frequency difference is improved by appropriately setting the channel frequency where the multiple channels are arranged. Furthermore, by setting a frequency that is an integer fraction of the reference frequency as the channel frequency, the amount of calculation required to obtain an appropriate frequency characteristic is reduced, and a communication system that can obtain sufficient performance for practical use can be constructed.
[0038] FIG. 4 shows a data processing example EX21 in which a correlation calculation is performed using reception frequency characteristic data and reference characteristic data when channel frequencies corresponding to a plurality of channels are arranged at approximately equal intervals. The correlation calculation unit 121 included in the measurement processing unit 120 of the communication device 100 changes the frequency setting in the reference characteristic data stepwise from approximately 0.8 times to 1.2 times the original frequency, and performs a correlation calculation to obtain a cross-correlation with the reception frequency characteristic data at each setting. The correlation value obtained by such a correlation calculation is a large value when the number of peaks matching in the frequency spectrum is large between the transmitting side and the receiving side, and is a small value when the number of peaks matching in the frequency spectrum is small. The frequency changed from the original frequency can be indicated by its change magnification, and such a frequency is also called a ratio frequency.
[0039] FIG. 5 is an explanatory diagram of frequency spectrums corresponding to the relative frequencies RF01 to RF05 shown in FIG. 4. Of these, FIG. 5(A) shows a frequency spectrum when the relative frequency RF01 in FIG. 4 is 0.8150. FIG. 5(B) shows a frequency spectrum when the relative frequency RF02 in FIG. 4 is 0.9682. FIG. 5(C) shows a frequency spectrum when the relative frequency RF03 in FIG. 4 is 0.9776. FIG. 5(D) shows a frequency spectrum when the relative frequency RF04 in FIG. 4 is 0.9907. FIG. 5(E) shows a frequency spectrum when the relative frequency RF05 in FIG. 4 is 1.0010.
[0040] The data processing example EX21 shown in Fig. 4 has the largest correlation value at the ratio frequency RF05, and the second largest correlation value at the ratio frequency RF03. Therefore, the ratio frequency RF05 is the first candidate, and the ratio frequency RF03 is the second candidate. Then, a carrier signal on the receiving side is generated by a receiving setting that compensates for the frequency offset corresponding to the ratio frequency RF05, which is the first candidate. In this way, the frequency offset is estimated, frequency synchronization is established between the transmitting side and the receiving side, and communication data transmitted using multiple channels is decoded.
[0041] However, in data processing example EX21, the correlation value corresponding to the second candidate frequency RF03 is a relatively large value, for example, a value exceeding 80%, compared to the correlation value corresponding to the first candidate frequency RF05. As a result, the difference in correlation value between the first candidate and the second candidate in data processing example EX21 is small. In reality, due to the influence of the communication environment, etc., there is a high possibility that the correlation value will be erroneously determined to be maximum at the second candidate frequency RF03. Therefore, in the setting of the frequency characteristic in which the difference between the maximum correlation value and the local maximum correlation value is small, as in data processing example EX21, appropriate measurement becomes impossible or difficult when there is a large frequency difference in multiple channels that causes signals from adjacent channels to be mixed in.
[0042] In this way, when the channel frequencies corresponding to the multiple channels are arranged at approximately equal intervals, appropriate communication may be difficult. In particular, when the multiple channel frequencies set corresponding to the multiple channels are in a geometric progression, the shift to adjacent channels occurs simultaneously in all channels, so the number of peaks matching in the frequency spectrum increases. In this case, the correlation value that is the second largest has the smallest difference from the maximum correlation value, and the possibility of erroneous estimation is high, resulting in the worst performance.
[0043] 6 shows a data processing example EX22 in which correlation calculation is performed when channel frequencies are appropriately arranged in this embodiment. The correlation calculation unit 121 included in the measurement processing unit 120 of the communication device 100 performs correlation calculation using the reception frequency characteristic data and the reference characteristic data, similar to the data processing example EX21. In this case, the channel frequencies corresponding to the multiple channels are set to frequencies that are integer multiples of the reference frequency.
[0044] FIG. 7 is an explanatory diagram of frequency spectrums corresponding to the relative frequencies RF11 to RF15 shown in FIG. 6. Of these, FIG. 7(A) shows a frequency spectrum when the relative frequency RF11 in FIG. 6 is 0.8466. FIG. 7(B) shows a frequency spectrum when the relative frequency RF12 in FIG. 6 is 0.9500. FIG. 7(C) shows a frequency spectrum when the relative frequency RF13 in FIG. 6 is 0.9795. FIG. 7(D) shows a frequency spectrum when the relative frequency RF14 in FIG. 6 is 0.9916. FIG. 7(E) shows a frequency spectrum when the relative frequency RF15 in FIG. 6 is 1.0010.
[0045] The data processing example EX22 shown in FIG. 6 has the largest correlation value at the ratio frequency RF15, and the second largest correlation value at the ratio frequency RF13. In this data processing example EX22, unlike the data processing example EX21, the correlation value corresponding to the second candidate ratio frequency RF13 is a relatively small value, for example, less than 25%, compared to the correlation value corresponding to the first candidate ratio frequency RF15. As a result, the difference between the correlation values of the first and second candidates in the data processing example EX22 is large. Therefore, when the channel frequencies corresponding to multiple channels are set to frequencies that are an integer fraction of the reference frequency, it is possible to accurately estimate the frequency offset, and appropriate communication using sound wave signals can be realized.
[0046] In the data processing example EX22, a plurality of channels are arranged in a frequency range where a predetermined characteristic related to the correlation value is obtained, such as the maximum correlation value being more than four times that of other maximum correlation values. In this way, the communication device 100 decodes data as a received signal, using a sound wave signal in which a plurality of channels are arranged in a frequency range where a predetermined characteristic related to the correlation value is obtained. The predetermined characteristic related to the correlation value may be a frequency characteristic that a received signal or a reference signal has when a channel frequency corresponding to a plurality of channels is set to a frequency that is an integer fraction of a reference frequency. Note that the predetermined characteristic related to the correlation value may be, for example, a frequency characteristic in an arbitrary sound wave signal in which a plurality of channels are arranged in a plurality of frequency ranges such that the maximum correlation value becomes a large value that exceeds a predetermined difference amount with respect to other maximum correlation values when the autocorrelation is calculated by changing the frequency shift amount of the frequency characteristic, such as the frequency spectrum of the sound wave signal.
[0047] The measurement processing unit 120 of the communication device 100 can measure the frequency difference between the received signal and the reference signal when receiving a sound wave signal in which multiple channels are arranged in a frequency range in which a predetermined characteristic related to the correlation value is obtained. This makes it possible to properly measure the frequency difference even when signals of adjacent channels are mixed in multiple channels. The decoding processing unit 110 of the communication device 100 generates a carrier signal on the receiving side while making it possible to change the receiving frequency band by a receiving setting that compensates for frequency offset, etc., in response to the measurement result by the measurement processing unit 120. In this way, the frequency offset can be estimated, frequency synchronization can be established between the transmitting side and the receiving side, and data transmitted on multiple channels can be decoded.
[0048] 8 shows a channel frequency setting example FS01 in this embodiment. In this setting example FS01, the reference frequency is set to 2 MHz. The reference frequency is divided by different integers corresponding to the multiple channels from the first channel CH01 to the tenth channel CH10. The value (quotient) obtained by this division is set to the channel frequency to which each of the channels CH01 to CH10 is assigned. When dividing the reference frequency as the dividend, the following values are used as the divisor: 146 corresponding to channel CH01, the first channel; 142 corresponding to channel CH02, the second channel; 139 corresponding to channel CH03, the third channel; 136 corresponding to channel CH04, the fourth channel; 133 corresponding to channel CH05, the fifth channel; 131 corresponding to channel CH06, the sixth channel; 128 corresponding to channel CH07, the seventh channel; 126 corresponding to channel CH08, the eighth channel; 124 corresponding to channel CH09, the ninth channel; and 120 corresponding to channel CH10, the tenth channel.
[0049] The divisor may be set to any value that allows multiple channels to be appropriately arranged. For example, a group of integers that results in a large difference in correlation value between the first candidate and the second candidate may be specified by performing a full search of the range of integers that can be set as the divisor of the reference frequency, or by randomly selecting the divisor using a random number, while taking into consideration the intervals between the channel frequencies corresponding to the multiple channels and the overall bandwidth in which the multiple channels can be arranged.
[0050] In setting example FS01, the channel frequencies corresponding to multiple channels are set as follows: 13698.6 Hz for channel CH01, 14084.5 Hz for channel CH02, 14388.5 Hz for channel CH03, 14705.9 Hz for channel CH04, 15037.6 Hz for channel CH05, 15267.2 Hz for channel CH06, 15625.0 Hz for channel CH07, 15873.0 Hz for channel CH08, 16129.0 Hz for channel CH09, and 16666.7 Hz for channel CH10.
[0051] In this way, a sound wave signal having a frequency that is an integer fraction of the reference frequency set as the channel frequency is received, and the frequency difference with the reference signal is measured. Frequencies that are an integer fraction of the reference frequency do not form a geometric series. For example, when four different integers k, l, m, and n are used, there are almost no pairs that satisfy k / l=m / n. Therefore, a pair of two frequencies almost never completely overlaps with another pair of frequencies. This makes it difficult for erroneous recognition of frequencies to occur, and the frequency offset can be used as a good candidate when determining an appropriate frequency. In other words, the intervals between channel frequencies corresponding to multiple channels are unlikely to be the same interval, so that it is possible to prevent erroneous determination of adjacent channels and accurately estimate the frequency offset. In addition, an oscillation signal having a frequency that is an integer fraction of the reference frequency can be easily output by, for example, a PWM (Pulse Width Modulation) signal generated using a timer module provided in the CPU. This allows the communication device 100 to appropriately decode and output communication data transmitted using multiple channels.
[0052] As described above, when the communication device 100 communicates using a sound wave signal in which multiple channels are arranged in multiple frequency ranges, the measurement processing unit 120 can measure the frequency difference between the received signal and the reference signal. The decoding processing unit 110 of the communication device 100 can decode data transmitted in multiple channels using the measurement results by the measurement processing unit 120. Furthermore, the measurement processing unit 120 can measure the frequency difference in multiple channels even when signals of adjacent channels are mixed in. Furthermore, the decoding processing unit 110 can change the frequency band to be received in response to the measurement results by the measurement processing unit 120.
[0053] The measurement processing unit 120 of the communication device 100 can measure the frequency difference between the received signal and the reference signal when it receives a sound wave signal in which a plurality of channels are arranged in a frequency range in which a predetermined characteristic related to the correlation value is obtained, such as the maximum correlation value being four times greater than the other maximum correlation values. More specifically, the measurement processing unit 120 of the communication device 100 can measure the frequency difference between the received signal and the reference signal when the channel frequencies corresponding to the plurality of channels are set to a frequency that is an integer fraction of the reference frequency. In this way, the measurement processing unit 120 of the communication device 100 can measure the frequency difference between the received signal and the reference signal when it receives a sound signal in which a plurality of channels are arranged in a frequency range in which a predetermined characteristic related to the correlation value is obtained, such as the autocorrelation value in the frequency domain having the frequency characteristic shown in FIG. 6.
[0054] By measuring the frequency difference in this way, it is possible to accurately estimate the frequency offset and appropriately decode the transmitted data while suppressing increases in manufacturing costs. For example, since the frequency offset can be estimated and compensated for without using an expensive crystal oscillator, the manufacturing costs of the communication device 100 can be reduced. Since the frequency offset is accurately estimated, the passband width in the filtering process on the receiving side can be narrowed, improving performance by increasing the signal-to-noise ratio (SN ratio), and also improving the efficiency of frequency band usage. By preventing deviation from the decoding timing, the symbol period can be shortened, increasing the coding rate, and enabling faster communication.
[0055] This invention is not limited to the above embodiment, and various modifications and applications are possible. For example, the communication device 100 may not have all the technical features shown in the above embodiment, and may enable a part of the configuration, function, and operation shown in the above embodiment so as to solve at least one problem in the conventional technology. Furthermore, the communication device 100 may have a configuration for transmitting a sound wave signal in addition to a configuration for receiving a sound wave signal. For example, the transmission processing unit of the communication device 100 may be capable of transmitting a sound wave signal in which multiple channels are arranged in multiple frequency ranges so that the frequency difference from the reference signal can be measured on the receiving side even when signals of adjacent channels are mixed in multiple channels. In this case, for example, a sound wave signal in which multiple channels are arranged in a frequency range in which a predetermined characteristic related to the correlation value is obtained, such as the maximum correlation value described above being more than four times that of other maximum correlation values, may be transmitted. More specifically, a sound wave signal in which the channel frequencies corresponding to multiple channels are set to a frequency that is an integer fraction of the reference frequency may be transmitted. In this way, a communication device capable of communicating using a sound wave signal having multiple channels arranged in multiple frequency ranges only needs to be one in which the channel frequencies corresponding to the multiple channels are set to frequencies that are integer multiples of a reference frequency.
[0056] Signals, information, data, or a part or all of these may be represented using any technology. For example, signals, information, data, or a part or all of these may be represented by a voltage, a current, an electromagnetic wave, a magnetic field or particles, an optical electric field or light particles, or a combination of a part or all of these. The logic blocks, modules, circuits, processing steps, and algorithms that realize the configuration, function, and operation of the communication device 100 may be implemented as hardware such as electronic circuits, software such as computer programs, or a combination of these. For example, application software for realizing the functions of the communication device 100 described in the above embodiment may be provided, and by installing the application software in an information communication device such as a smartphone, communication using sound wave signals may be possible without adding new dedicated hardware.
[0057] The logic blocks, modules, and circuits that realize the configuration, functions, and operations of communication device 100 may be implemented as a general-purpose microprocessor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a programmable logic device including a field programmable gate array (FPGA), other semiconductor integrated circuits, or a combination of these.
[0058] Software for realizing the configuration, functions, and operations of the communication device 100 may be stored or transmitted as one or more instructions or codes in various computer-readable media. The various computer-readable media may be storage media or communication media. The storage medium may be configured using any storage device, such as a Random Access Memory (RAM), a Read Only Memory (ROM), an Electrically Erasable Programmable ROM (EEPROM), a CD-ROM or other optical disk storage device, a magnetic disk storage device, or a semiconductor storage device. The communication medium may be configured using any signal transmission medium, such as wired, infrared, wireless, microwave, or ultrasonic. [Explanation of symbols]
[0059] 100 Communication equipment 110 Decoding processing unit 111 Channel signal acquisition unit 112 Data Decoding Unit 120 Measurement processing section 121 Correlation calculation unit 122 Reference information storage unit
Claims
1. A communication device capable of communication using a sound wave signal having a plurality of channels arranged in a plurality of frequency ranges, A measuring means capable of measuring a frequency difference between a received signal and a reference signal; a decoding means for decoding and outputting data transmitted through the plurality of channels using a measurement result by the measuring means, the measuring means is capable of measuring the frequency difference in the plurality of channels even when a signal of an adjacent channel is mixed therein; The decoding means is capable of changing a receiving frequency band in response to a measurement result by the measuring means. A communication device comprising:
2. The measurement means is capable of measuring the frequency difference when receiving a sound wave signal in which the plurality of channels are arranged in a frequency range in which a predetermined characteristic related to a correlation value is obtained.
2. The communication device according to claim 1 .
3. The channel frequencies corresponding to the plurality of channels are set to frequencies that are integer fractions of a reference frequency.
3. The communication device according to claim 1 or 2.
4. A communication method using a sound wave signal having a plurality of channels arranged in a plurality of frequency ranges, comprising: In the plurality of channels, a frequency difference between a received signal and a reference signal is measured even when a signal of an adjacent channel is mixed therein; Decoding and outputting data transmitted through the plurality of channels while changing a receiving frequency band in response to the measurement result of the frequency difference. A communication method comprising:
5. Computer, A measuring means capable of measuring a frequency difference between a received signal and a reference signal when a sound wave signal having a plurality of channels arranged in a plurality of frequency ranges is received; functioning as a decoding means capable of decoding and outputting data transmitted through the plurality of channels using the measurement results by the measurement means; the measuring means is capable of measuring the frequency difference in the plurality of channels even when a signal of an adjacent channel is mixed therein; The decoding means is capable of changing a receiving frequency band in response to a measurement result by the measuring means. A program characterized by:
Citation Information
Patent Citations
COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP6963290B2
