The present disclosure relates to a signal processing method and a signal processing system. More particularly, the present disclosure relates to a signal detecting method and a signal detecting system.
With the rapid advance of wireless communication technology, wireless communication devices, i.e., cellphones, digital phones and digital intercoms, are playing an increasingly important role in the lives of many people. Currently, after the wireless communication devices temporarily detect effective signals, e.g., frequency shift keying signals, the wireless communication device enter standby modes, so as to achieve a goal of saving power for the wireless communication devices. Therefore, the operation time of the wireless communication devices can be effectively enhanced.
However, when the wireless communication devices keep working on the standby modes, the wireless communication devices may fail to detect and receive the effective signals, so that quality of user experiences may be decreased. Although the accuracy of detecting the effective signals can be enhanced through a manner which increases a signal sample rate, a clock signal having higher frequency is necessary to support the increasing signal sample rate, thereby, the power consumption of the wireless communication devices are dramatically increasing.
Accordingly, a significant challenge is related to ways in which to detect the effective signals accurately while at the same time reducing the power consumption of the wireless communication devices associated with designing signal detecting methods and signal detecting systems.
An aspect of the present disclosure is directed to a signal detecting method. The signal detecting method comprises operations as follows: receiving an input signal, and generating an energy signal according to the input signal; calculating average energy of each period of the energy signal according to the energy signal; calculating energy difference of each period of the energy signal according to the energy signal and the average energy of each period of the energy signal; and generating a signal detecting result according to the average energy and the energy difference of each period of the energy signal.
Another aspect of the present disclosure is directed to a signal detecting system. The signal detecting system comprises an average energy calculating module, an energy difference calculating module and a detecting result calculating module, and the detecting result calculating module is electrically connected to the average energy calculating module and the energy difference calculating module. The average energy calculating module is configured to calculate average energy of each period of an energy signal according to the energy signal. The energy difference calculating module is configured to calculate energy difference of each period of the energy signal according to the energy signal and the average energy of each period of the energy signal. The detecting result calculating module is configured to generate a signal detecting result according to the average energy and the energy difference of each period of the energy signal.
It is to be understood that the foregoing general description and the following detailed description are by examples, and are intended to provide further explanation of the invention as claimed.
The present disclosure can be more fully understood by reading the following detailed description of the embodiment, with reference made to the accompanying drawings as follows:
The following disclosure provides many different embodiments, or examples, for implementing different features of the provided subject matter. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. For example, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features may be formed between the first and second features, such that the first and second features may not be in direct contact. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
Further, spatially relative terms, such as “beneath,” “below,” “lower,” “above,” “upper” and the like, may be used herein for ease of description to describe one element or feature's relationship to another element(s) or feature(s) as illustrated in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The apparatus may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein may likewise be interpreted accordingly.
The average energy calculating module 102 is configured to receive an energy signal Ein, and calculate average energy Eave of each period of the energy signal Ein. The energy difference calculating module 104 is configured to receive the energy signal Ein and the average energy Eave, and calculate energy difference Ediff of each period of the energy signal Ein according to the energy signal Ein and the average energy Eave of each period of the energy signal Ein. The detecting result calculating module 106 is configured to generate a signal detecting result Sout according to the average energy Eave and the energy difference Ediff of each period of the energy signal Ein.
In one embodiment, the average energy calculating module 102 calculates average energy Eave of each period of an energy signal Ein according to the equation (1) as follow:
wherein Eave(p) denotes the pth average energy of the pth period of the energy signal Ein, BlockSize denotes the number of the samples of each period of the energy signal Ein, Ein(n) denotes an energy value of the nth samples of the energy signal Ein, and the initial value of the discrete number p is 1. In this embodiment, the number of the samples of each period of the energy signal Ein, i.e., BlockSize, is 128.
In another embodiment, the energy difference calculating module 104 calculates energy difference Ediff of each period of the energy signal Ein according to the equation (2) as follow:
wherein Ediff(q) denotes the qth energy difference of the qth period of the energy signal Ein, BlockSize denotes the number of the samples of each period of the energy signal Ein, Ein(n) denotes an energy value of the nth samples of the energy signal Ein, and the initial value of the discrete number q is 2. In this embodiment, the first energy difference Ediff(1) of the first period of the energy signal Ein is predetermined as 0, and the number of the samples of each period of the energy signal Ein, i.e., BlockSize, is 128.
In one embodiment, the detecting result calculating module 106 is configured to generate average signals and difference signals according to the average energy Eave and the energy difference Ediff of each period of the energy signal Ein, and to compare the average signals with the difference signals to generate the signal detecting result Sout.
For facilitating the understanding of the signal detecting system 100 in
Subsequently, the detecting result calculating module 106 is configured to provide a first average signal, to generate a second average signal according to a first average signal and the second average energy Eave(2), and then to generate a third average signal according to the second average signal and the third average energy Eave(3). Furthermore, the first average signal is predetermined. In this embodiment, the detecting result calculating module 106 generates the second average signal and the third average signal according to the equation (3) as follow:
wherein
Referring to both
Subsequently, the detecting result calculating module 106 is configured to provide a first difference signal, to generate a second difference signal according to a first difference signal and the second energy difference Ediff(2), and then to generate a third difference signal according to the second difference signal and the third energy difference Ediff(3). Furthermore, the first difference signal is predetermined. In this embodiment, the detecting result calculating module 106 generates the second difference signal and the third difference signal according to the equation (4) as follow:
wherein
In one embodiment, the detecting result calculating module 106 is configured to compare the third difference signal
For example, references are now made to
As shown in
Subsequently, referring to
As another example, when the input signal Sin is a noise signal, the fifth difference signal
In one embodiment, as shown in
In one embodiment, referring to the operation S304, before the signal detecting result Sout is generated, the average signals and the difference signals are generated according to the average energy Eave of each period of the energy signal Ein and the energy difference Ediff of each period of the energy signal Ein. Subsequently, the average signals are compared with the difference signals to generate the signal detecting result Sout.
In another embodiment, the operation S302 is further executed as shown below. The first average energy Eave(1) of the first period T1 of the energy signal Ein, the second average energy Eave(2) of the second period T2 of the energy signal Ein and the third average energy Eave(3) of the third period T3 of the energy signal Ein are calculated according to the energy signal Ein. Subsequently, the operation S304 is further executed as shown below. The second average signal
In further embodiment, the operation S303 is further executed as shown below. The second energy difference Ediff(2) of the second period T2 of the energy signal Ein is calculated according to the energy signal Ein and the first average energy Eave(1), and then the third energy difference Ediff(3) of the third period T3 of the energy signal Ein is calculated according to the energy signal Ein and the second average energy Eave(2). Furthermore, the first energy difference Ediff(1) of the first period T1 of the energy signal Ein is predetermined. Subsequently, the operation S304 is further executed as shown below. The second difference signal
In further embodiment, the operation 3304 is further executed as shown below. The third difference signal
As mentioned above, the signal detecting method and the signal detecting system in the present disclosure are configured to generate the energy signal according to the input signal, and to calculate the average energy and the energy difference of each period of the energy signal in advance. Subsequently, the signal detecting method and the signal detecting system in the present disclosure are further configured to generate the average signals and the difference signals according to the average energy and the energy difference of each period of the energy signal in advance, and to compare the average signals with the difference signals, so as to generate the signal detecting result. For example, the characteristics of the average signals and the difference signals of the effective signal are significantly different from that of the ineffective signals. e.g., noise signal. Therefore, the effective signals having the specific characteristics of the average signals and the difference signals now can be accurately detected, and the power consumption of the wireless communication devices can be significantly reduced.
Although the present disclosure has been described in considerable detail with reference to certain embodiments thereof, other embodiments are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the embodiments contained herein.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present disclosure without departing from the scope or spirit of the present disclosure. In view of the foregoing, it is intended that the present invention cover modifications and variations of this present disclosure provided they fall within the scope of the following claims.