This application claims the priority benefit of Taiwan application serial no. 108133148, filed on Sep. 16, 2019. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The invention generally relates to a signal processing method, and in particular, to a correction system and a correction method of signal measurement.
In order to achieve a dual-track balance effect, in the prior art, a dual-track energy state is measured for a sinusoidal wave of a center frequency of each band, and then a target gain suitable for each frequency is defined according to characteristics of a sound field. Equalizations (EQs) of dual tracks are respectively adjusted to approximate to the target gain, thereby achieving the dual-track balance effect.
However, an environment where a user stands is not a quiet anechoic chamber, and external sounds may possibly interfere with a measurement result of a played signal. These interferences may distort the measurement result, and a distortion situation may further affect the dual-track balance effect.
Accordingly, embodiments of the invention provide a correction system and a correction method of signal measurement, so as to correct a received signal based on a signal characteristic of a transmitted signal, thereby improving accuracy of measurement.
The correction method of signal measurement of the embodiments of the invention includes, but is not limited to, the following steps. A transmitted signal and a received signal are divided into a plurality of transmitted signal groups and a plurality of received signal groups according to a time length, respectively. The received signal is related to a signal received after the transmitted signal is transmitted, and the transmitted signal is a periodic signal. A plurality of to-be-evaluated groups are selected from the received signal groups according to a correlation between the transmitted signal groups and the received signal groups. The correlation corresponds to a delay between the transmitted signal and the received signal. Signal energy of the received signal is determined according to signal energy of the to-be-evaluated groups.
The correction system of signal measurement of the embodiments of the invention includes, but is not limited to, a processing device. The processing device is loaded with and executes a plurality of modules, and the modules include a signal division module, a screening module and an energy determining module. The division module divides a transmitted signal and a received signal into a plurality of transmitted signal groups and a plurality of received signal groups according to a time length, respectively, wherein the received signal is related to a signal received after the transmitted signal is transmitted, and the transmitted signal is a periodic signal. The screening module selects a plurality of to-be-evaluated groups from the received signal groups according to a correlation between the transmitted signal groups and the received signal groups, wherein the correlation corresponds to a delay between the transmitted signal and the received signal. The energy determining module determines signal energy of the received signal according to signal energy of the to-be-evaluated groups.
Based on the above, the correction system and the correction method of signal measurement of the embodiments of the invention divide the transmitted and received signals, and screen out the classified received signal groups with a larger quantity according to a delay situation and a energy state between the transmitted signal groups and the received signal groups which are obtained after division, and then energy of the received signal groups may be used as a representative of signal energy of the received signal. In addition, the embodiments of the invention maintain a periodic change characteristic of the transmitted signal for the received signal to eliminate interferences. Therefore, the accuracy of measurement can be improved, and a user can correct dual-track balance anywhere without environmental limitation.
In order to make the aforementioned and other objectives and advantages of the invention comprehensible, embodiments accompanied with figures are described in detail below.
The speaker device 10 may be a device configured to play sounds, such as a horn (speaker) and a megaphone.
The sound receiving device 30 may be a microphone (such as a dynamic type, a condenser type and an electret condenser type) or other electronic devices capable of receiving sound waves and converting them into sound signals.
The processing device 50 may be a desktop computer, a notebook computer, a smart phone, a tablet computer or a server. The processing device 50 at least includes a processor (such as a central processing unit (CPU), or other programmable general-purpose or special-purpose microprocessor, a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable controller, an application-specific integrated circuit (ASIC) or other similar elements or a combination of the above elements), so as to perform all operations of the processing device 50. In the embodiment of the invention, the processing device 50 may be loaded with and execute software modules (stored in a memory), and the software modules include an interference elimination module 51, a signal division module 52, a screening module 53 and an energy determining module 54. Detailed operations of the software modules are described in detail in the following embodiments.
It should be noted that the processing device 50 may be electrically connected to the speaker device 10 and the sound receiving device 30. One or more of the devices 10, 30, 50 may also be integrated into a single electronic device. In some embodiments, the correction system 1 may also include only the processing device 50.
In order to facilitate understanding of an operation flow of the embodiment of the invention, a plurality of embodiments will be exemplified below to describe the operation flow of the correction system 1 in the embodiment of the invention in detail. Hereinafter, the method of the embodiment of the invention will be described in conjunction with various devices in the correction system 1. The various flows of the method may be adjusted according to implementation situations, and are not limited thereto.
It should be noted that in order to facilitate description, there is a hypothesis below that a received signal having a certain center frequency is processed.
In order to maintain a signal characteristic of the transmitted signal, in one embodiment, the interference elimination module 51 may eliminate interference in the sound received signal according to the signal characteristic of the transmitted signal to obtain the received signal. It is worth noting that the transmitted signal is a periodic signal (such as a sinusoidal signal, a periodic square wave signal, or a triangular wave signal), and the signal characteristic is related to a periodic change of the periodic signal. That is, amplitudes of the signals all periodically change, and the amplitudes corresponding to the same phase are the same in different periods. There is no fixed periodic waveform noise in life, and thus such a signal characteristic may be contributive to eliminating the interference in the signal received signal. The embodiments of the invention may restore the received signal till it has the same signal characteristic as the transmitted signal.
In one embodiment, the interference elimination module 51 maintains the periodic change characteristic in the received signal based on an adaptive signal processing technology.
Referring to
Since the periodic change of the transmitted signal is known, the interference elimination module 51 may restore the received signal RS to be closer or equivalent to the transmitted signal TS, thereby eliminating the interference. It should be noted that the embodiments of the invention are not limited to the foregoing adaptive signal processing, and a static weight or other algorithms may also be used in other embodiments. Moreover, in some embodiments, the processing device 50 may also not perform the foregoing interference elimination operation.
For signal division, the signal division module 52 may set a specific time length (such as 512, 1024, or 2048 sampling points), and divide the received signal RS (or the interference-eliminated output signal RS2) into a plurality of received signal groups RSG in a time domain based on the time length. That is, the sampling point number in each group is the same, and each group includes amplitudes corresponding to the plurality of sampling points. Similarly, the signal division module 52 also divides the transmitted signal TS into a plurality of transmitted signal groups TSG in the time domain based on the same time length. The signal division module 52 may implement signal division by using a window function (i.e., the window function is a constant in a given interval and 0 outside the interval).
For example,
Referring to
It should be noted that the ways to divide the received signal RS and the transmitted signal TS are not limited to those as shown in
Next, the screening module 53 selects to-be-evaluated groups TG from the received groups according to a correlation between the transmitted signal groups TSG and the received signal groups RSG (Step S230). Specifically, in the prior art, energy of all the groups is averaged as final measured signal energy. However, the received signal may be unstable due to external interferences and may cause an extremely large difference between mean energy and actual energy.
In order to avoid the aforementioned problem, the screening module 53 may screen the received signal groups. In one embodiment, the screening module 53 classifies close correlations between the transmitted signal groups TSG and the received signal groups RSG to form a plurality of delay categories. The correlations referred to herein are corresponding to delays between the transmitted signal and the received signal. The screening module 53 may judge a similarity/correlation between each received signal group RSG and the corresponding transmitted signal group TSG (corresponding to the same sampling points) by using fast cross correlation or other cross correlation algorithms.
For example,
For example,
In addition, since the correlation coefficient of each corresponding combination (i.e., one received signal group RSG and one corresponding transmitted signal group TSG) at different sampling points may be possibly different, the screening module 53 may select one correlation coefficient (or more correlation coefficients for arithmetic averaging or other formulas) as a representative of the correlation of each corresponding combination. In one embodiment, the screening module 53 uses the largest correlation (if there are still a plurality of largest correlations, the earliest one/the former one or one of them may be selected, and may be obtained through a peak-detect method) of the plurality of sampling points between each received signal group RSG and each corresponding transmitted signal group TSG as the representative of the correlation between the received signal group RSG and the corresponding transmitted signal group TSG. Taking
Next, the screening module 53 sorts the correlations corresponding to the different received signal groups RSG according to sizes, and classifies close correlations (for example, a difference between two correlations is less than a threshold) into the same delay categories by using a classification algorithm. For example, if the correlation coefficients are 10, 10, 10, 11, 12, 15 and 20, the screening module 53 classifies 10, 10, 10, 11 and 12 into a first delay category, classifies 15 into a second delay category, and classifies 20 into a third delay category.
The screening module 53 may select one of the delay categories as a to-be-evaluated category according to quantities of the coefficients in these delay categories. In one embodiment, the screening module 53 selects the delay category with a greatest number of coefficients as the to-be-evaluated category. Taking the foregoing three delay categories as an example, the first delay category including most corresponding correlation coefficients may be used as the to-be-evaluated category. In other embodiments, quantity-depending selection may vary depending on an actual requirement.
In one embodiment, the screening module 53 may further screen the to-be-evaluated category. The screening module 53 may classify close signal energy of the received signal groups RSG corresponding to the to-be-evaluated category to form a plurality of energy categories. The screening module 53 performs Fourier transform on the received signal groups RSG to transform the signals from the time domain to a frequency domain, and further calculates the signal energy (such as a sum of squared amplitude).
Next, the screening module 53 sorts the signal energy corresponding to the different received signal groups RSG according to sizes, and classifies close signal energy (for example, a difference between two signal energy is less than a threshold) into the same energy categories by using the classification algorithm. For example, if the signal energy is 1,000, 980, 1,500, 700 and 1,010, the screening module 53 classifies 1,000, 980 and 1,010 into a first energy category, classifies 1,500 into a second energy category, and classifies 700 into a third energy category.
The screening module 53 may select one of the energy categories as a new to-be-evaluated category according to quantities of the signal energy in the energy categories. In one embodiment, the screening module 53 selects the energy category with a greatest number of signal energy from the energy categories as the new to-be-evaluated category. Taking the foregoing three energy categories as an example, the first energy category including most signal energy may be used as the new to-be-evaluated category. In other embodiments, quantity-depending selection may vary depending on an actual requirement. In addition, the screening module 53 may also omit the screening for the signal energy, but directly uses a screening result of the delay categories as the to-be-evaluated category.
Next, the screening module 53 may determine to-be-evaluated groups TG according to the plurality of received signal groups RSG corresponding to the to-be-evaluated category. In one embodiment, the screening module 53 may select all or part of the received signal groups RSG corresponding to the to-be-evaluated category as the to-be-evaluated groups TG. For example, all the received signal groups RSG corresponding to the foregoing first energy category are used as the to-be-evaluated groups TG. The energy determining module 54 may determine the signal energy of the received signal according to the signal energy of the to-be-evaluated groups TG (Step S250). In one embodiment, the energy determining module 54 obtains an arithmetic mean of the signal energy of each to-be-evaluated group TG, and uses the arithmetic mean as the final measured signal energy of the center frequency (i.e., the signal energy of the received signal). In other embodiments, the energy determining module 54 may also obtain a median or mode from the signal energy of the to-be-evaluated groups TG as the final measured signal energy.
Based on the above, the correction system and the correction method of signal measurement of the embodiments of the invention perform extra signal processing, which may be divided into two independent portions, on the received signal. The first portion is to maintain the periodic change characteristic for this frequency in the received signal by using the adaptive signal processing, and the second portion is to screen all the groups based on a stable time migration characteristic and a stable energy state of the periodic signals. Therefore, the accuracy of signal measurement may be improved, and the dual-track balance effect may be less affected by interference.
Although the invention is described with reference to the above embodiments, the embodiments are not intended to limit the invention. A person of ordinary skill in the art may make variations and modifications without departing from the spirit and scope of the invention. Therefore, the protection scope of the invention should be subject to the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
108133148 | Sep 2019 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
6608904 | Feltstrom | Aug 2003 | B1 |
6760451 | Craven | Jul 2004 | B1 |
7117145 | Venkatesh et al. | Oct 2006 | B1 |
8976972 | Emerit | Mar 2015 | B2 |
9691407 | Oda | Jun 2017 | B2 |
9916840 | Do | Mar 2018 | B1 |
20020023020 | Kenyon | Feb 2002 | A1 |
20030223591 | Murase | Dec 2003 | A1 |
20050135631 | Yoshino | Jun 2005 | A1 |
20090060224 | Hayakawa | Mar 2009 | A1 |
20110033063 | McGrath | Feb 2011 | A1 |
20150078596 | Sprogis | Mar 2015 | A1 |
20150215721 | Sato | Jul 2015 | A1 |
20150271616 | Kechichian | Sep 2015 | A1 |
20150277847 | Yliaho | Oct 2015 | A1 |
20170195789 | Higure | Jul 2017 | A1 |
Number | Date | Country | |
---|---|---|---|
20210084428 A1 | Mar 2021 | US |