The disclosure relates to a transmitter and an identification pattern transmission method thereof and a receiver and an identification pattern detection method thereof.
Generally, in case of device-to-device communication of non-central based devices, various mobile devices are required to perform a peer discovery operation before establishing a direct communication link with each other, so as to find an empty resource from communication resources for transmitting an identification (ID) pattern. The empty resource is, for example, a resource block, a resource element or any similar spectrum resource, etc. without carrying the ID pattern of any mobile device. After the empty resource is found, the mobile device sends its own ID pattern by using the empty resource.
However, since the communication resources will encounter a communication channel with an attenuation characteristic, when the communication resources used for transmitting the ID pattern are allocated, if a suitable resource allocation operation is not performed, a receiver probably cannot correctly detect the ID pattern due to attenuation thereof during the transmission.
The disclosure provides a transmitter, which is adapted to transmit an ID pattern used for device-to-device communication. The transmitter includes a random sequence generator, a mapper and a resource allocation unit. The random sequence generator generates a random sequence. The mapper is coupled to the random sequence generator, and maps the random sequence to the ID pattern. The resource allocation unit is coupled to the mapper, and partitions the ID pattern into a plurality of ID segments, and allocates the ID segments to a plurality of communication resource blocks to generate a transmitted signal having information of the ID pattern, where each of the communication resource blocks is spaced from another adjacent communication resource block by a predetermined number of symbols and/or a predetermined number of sub carriers.
The disclosure provides an ID pattern transmission method, which is adapted to a transmitter for device-to-device communication. The ID pattern transmission method includes the following steps. A random sequence is generated. The random sequence is mapped to an ID pattern. The ID pattern is partitioned into a plurality of ID segments. The ID segments are allocated to a plurality of communication resource blocks to generate a transmitted signal having information of the ID pattern, where each of the communication resource blocks is spaced from another adjacent communication resource block by a predetermined number of symbols and/or a predetermined number of sub carriers.
The disclosure provides a receiver, which is adapted to detect an ID pattern used for device-to-device communication. The receiver includes a signal extractor, a conjugate delay module, a multiplication unit, a matching unit, a normalization unit and a decision unit. The signal extractor extracts a plurality of communication resource blocks corresponding to a plurality of ID segments of the ID pattern from a received signal having information of the ID pattern, so as to generate an ID pattern received signal. The conjugate delay module is coupled to the signal extractor, and individually delays the ID pattern received signal for a symbol time, and performs a complex conjugate processing on the delayed ID pattern received signal to generate a conjugated delayed received signal of the ID pattern. The multiplication unit is coupled to the signal extractor and the conjugate delay module, and multiplies the ID pattern received signal with the conjugated delayed received signal of the ID pattern to generate a conjugated delayed multiplied received signal of the ID pattern. The matching unit is coupled to the multiplication unit and a predetermined signal, where the predetermined signal is obtained after the ID pattern is processed with a conjugate delay multiplication processing. The matching unit performs a matching processing on the conjugated delayed multiplied received signal of the ID pattern and the predetermined signal, so as to generate a differential matching value. The normalization unit is coupled to the matching unit and the signal extractor, and performs a normalization processing on the differential matching value according to an average power of the ID pattern received signal to generate a normalized differential matching value. The decision unit is coupled to the normalization unit, and determines whether the normalized differential matching value is greater than a predetermined threshold value. If yes, the decision unit outputs a decision result to determine that the ID pattern is detected, and if not, the decision unit outputs the decision result to determine that the ID pattern is not detected.
The disclosure provides an ID pattern detection method, which is adapted to a receiver for device-to-device communication. The ID pattern detection method includes the following steps. A plurality of communication resource blocks corresponding to a plurality of ID segments of the ID pattern are extracted from a received signal having information of the ID pattern, so as to generate an ID pattern received signal. The ID pattern received signal is individually delayed for a symbol time, and a complex conjugate processing is performed on the delayed ID pattern received signal to generate a conjugated delayed received signal of the ID pattern. The ID pattern received signal is multiplied with the conjugated delayed received signal of the ID pattern to generate a conjugated delayed multiplied received signal of the ID pattern. A matching processing is performed on the conjugated delayed multiplied received signal of the ID pattern and a predetermined signal corresponding to the ID pattern performed with a conjugate delay multiplication processing, so as to generate a differential matching value. A normalization processing is performed on the differential matching value according to an average power of the ID pattern received signal to generate a normalized differential matching value. It is determined whether the normalized differential matching value is greater than a predetermined threshold value. If yes, a decision result is output to determine that the ID pattern is detected, and if not, the decision result is output to determine that the ID pattern is not detected.
Several exemplary embodiments accompanied with figures are described in detail below to further describe the disclosure in details.
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification.
The drawings illustrate embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Reference will now be made in detail to one of exemplary embodiments of the disclosure, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
According to an ID pattern transmission method and a transmitter using the same of the disclosure, the transmitter allocates communication resources used for transmitting an ID pattern, communication resource blocks may not encounter similarly severe fading channels, and the accuracy of the ID pattern detection in the receiver may be improved. In the following embodiments, an orthogonal frequency division multiplexing (OFDM) system is taken as a system model for describing the spirit of the disclosure. However, the concept of the disclosure can also be applied to communication systems implemented by other configurations, and is not limited to the OFDM system.
The resource allocation unit 130 is coupled to the mapper 120. For example, the resource allocation unit 130 can be a peer discovery frame generator (not shown) configured in the transmitter 100 for generating a peer discovery frame. The resource allocation unit 130 can partition the ID pattern IDP into a plurality of ID segments. In detail, when the resource allocation unit 130 partitions the ID pattern IDP into S (which is a positive integer greater than or equal to 1) ID segments, where an ith (i is a positive integer between 1 and S) ID segment, for example, includes Li (which is a positive integer not less than 2) successive OFDM symbols on a single subcarrier in the frequency domain. Since the number (i.e. L) of the OFDM symbols in the ID pattern IDP is a sum of the OFDM symbols of S ID segments, L can be represented as L=L1+L2 . . . +LS. Then, the resource allocation unit 130 can allocate the ID segments to a plurality of communication resource blocks to generate a frequency domain transmitted signal (i.e. a frequency domain transmitted signal of the peer discovery frame) having information of the ID pattern. Details of allocating the communication resources by the resource allocation unit 130 are described below with reference of figures.
A general communication channel may have a characteristic of fading channel due to influence of environmental factors (for example, a Doppler effect and/or multi-path transmission). By spacing the transmitted communication resource blocks by the predetermined number of symbols, a time diversity gain may be obtained for the ID segments. In detail, since the communication resource blocks CS1 and CS2 are spaced by the predetermined number (i.e. M) of symbols, when the communication resource block CS1 of the ID segment S1 encounters a severe fading channel, a probability that the communication resource block CS2 of the ID segment S2 encounters the similarly severe fading channel is greatly decreased. In this way, when a receiver (not shown) receives the ID segments S1 and S2 according to the communication resource blocks CS1 and CS2, a situation that the receiver cannot correctly detect the ID pattern IDP due to that both the ID segments S1 and S2 encounter severe fading is less likely to occur.
In view of the receiver, if the receiver cannot correctly detect the ID pattern IDP (i.e. has a detection error) due to that both the ID segments S1 and S2 encounter severe fading, the receiver may misjudge that the communication resource blocks CS1 and CS2 used for transmitting the ID pattern IDP belong to the aforementioned empty resources. Hence, the receiver may notify the transmitter in the same communication device to transmit the ID pattern of the communication device through the communication resource blocks CS1 and CS2. Then, if the other transmitter had been transmitted the ID pattern of the other communication device through the communication resource blocks CS1 and CS2, it may cause severe interference on the transmission of the ID pattern IDP. Therefore, the improvement of the accuracy of the ID pattern IDP detection may alleviate the situation of severe interference occurred on the transmission of the ID pattern.
Moreover, the resource allocation unit 130 may set the predetermined number of symbols according to a Doppler frequency and a useful symbol duration related to the communication channel to have a better time diversity gain. The useful symbol duration is, for example, a reciprocal of a subcarrier spacing in the OFDM system. In detail, a relationship between the predetermined number (i.e. M) of symbols, the Doppler frequency and the useful symbol duration satisfies M>0.5/(fd×TU), where fd is the Doppler frequency (with a unit of Hz), TU is the useful symbol duration (with a unit of second). In detail, fd×TU represents a proportion that each useful symbol duration occupies an average fading cycle of channel. When M×(fd×TU) is greater than 0.5, it represents that the spacing (i.e. the predetermined number (M) of symbols) between the adjacent communication resource blocks CS1 and CS2 is greater than a half average fading cycle of the channel. Therefore, when the ID segments Si and S2 are transmitted through the communication resource blocks CS1 and CS2, it is less likely to have similarly severe fading for both the ID segments S1 and S2. Along with increase of the spacing between the communication resource blocks CS1 and CS2, a better time diversity gain could be obtained in principle.
Taking the transmitter 100′ as an example, the resource allocation unit thereof (not shown) allocates the communication resource block CS1′ on the kth subcarrier to transmit the ID segment S1′, and allocates the communication resource block CS2′ on the kth subcarrier to transmit the ID segment S2′. The communication recourse blocks CS1′ and CS2′ are also spaced by the predetermined number (M) of symbols. Taking the transmitter 100″ as an example, the resource allocation unit thereof (not shown) allocates the communication resource block CS1″ on the kth subcarrier to transmit the ID segment S1″, and allocates the communication resource block CS2″ on the kth subcarrier to transmit the ID segment S2″. The communication recourse blocks CS1″ and CS2″ are also spaced by the predetermined number (M) of symbols. In other embodiments, before the transmitters 100, 100′ and 100″ individually perform the resource allocation operation, the transmitters 100, 100′ and 100″ can perform a synchronization operation to ensure that the individually allocated communication resource blocks are not mutually interfered.
After the transmitters 100, 100′ and 100″ individually finish the resource allocation, the ID segments can be transmitted through the allocated communication resource blocks. Therefore, regarding the kth subcarrier, the ID segments carried by the kth subcarrier at different time are shown as a resource configuration RC, though the disclosure is not limited thereto. When the transmitters 100, 100′ and 100″ allocate the communication resource blocks through configurations different to that shown in
In
In other embodiments, in order to further increase the diversity gain of the disclosure, when the transmitter allocates the communication resource blocks, each of the communication resource blocks can be spaced from another adjacent communication resource block by a predetermined number (represented by Q, and Q is a positive integer) of subcarriers.
According to the aforementioned instructions, when the communication resource blocks CS1 and CS2 are spaced by the predetermined number (M) of symbols, the time diversity gain can be obtained when the ID segments S1 and S2 are transmitted. Moreover, since the communication resource blocks CS1 and CS2 of
Moreover, the resource allocation unit 130 may set the predetermined number (M) of symbols according to a Doppler frequency and a useful symbol duration related to the communication channel to have a better time diversity gain. Related setting details of the predetermined number (M) of symbols can refer to related descriptions of the embodiment of
In other embodiment, since a general communication standard may set a guard interval, and the length of the guard interval (which is represented by TGI) is required to be greater than the maximum multi-path delay time (τmax), the predetermined number (Q) of subcarriers can be set according to the length of the guard interval (TGI), so as could obtain a better frequency diversity gain. For example, when the length of the guard interval is ⅛ of the useful symbol duration (TU), the corresponding predetermined number of subcarriers is greater than 8 (as τmax<TGI=⅛ TU), though the disclosure is not limited thereto.
Taking the transmitter 100 as an example, the resource allocation unit 130 allocates the communication resource block CS1 on the kth subcarrier to transmit the ID segment S1, and allocates the communication resource block CS2 on the (k+Q)th subcarrier to transmit the ID segment S2. The adjacent communication recourse blocks CS1 and CS2 can be simultaneously spaced by the predetermined number (M) of symbols and the predetermined number (Q) of subcarriers. Taking the transmitter 100′ as an example, the resource allocation unit thereof (not shown) allocates the communication resource block CS1′ on the kth subcarrier to transmit the ID segment S1′, and allocates the communication resource block CS2′ on the (k+Q)th subcarrier to transmit the ID segment S2′. The communication recourse blocks CS1′ and CS2′ can be simultaneously spaced by the predetermined number (M) of symbols and the predetermined number (Q) of subcarriers. Taking the transmitter 100″ as an example, the resource allocation unit thereof (not shown) allocates the communication resource block CS1″ on the kth subcarrier to transmit the ID segment S1″, and allocates the communication resource block CS2″ on the (k+Q)th subcarrier to transmit the ID segment S2″. The communication recourse blocks CS1″ and CS2″ can be simultaneously spaced by the predetermined number (M) of symbols and the predetermined number (Q) of subcarriers. Taking the transmitter 100′″ as an example, the resource allocation unit thereof (not shown) allocates the communication resource block CS1″ on the kth subcarrier to transmit the ID segment S1′″, and allocates the communication resource block CS2′ on the (k+Q)th subcarrier to transmit the ID segment S2′″. The communication recourse blocks CS1′″ and CS2′″ can be simultaneously spaced by the predetermined number (M) of symbols and the predetermined number (Q) of subcarriers. In other embodiments, before the transmitters 100, 100′, 100″ and 100′ individually perform the resource allocation operation, the transmitters 100, 100′, 100″ and 100′″ can perform a synchronization operation to ensure that the individually allocated communication resource blocks are not mutually interfered.
After the transmitters 100, 100′, 100″ and 100′ individually finish the resource allocation, the corresponding ID segments can be transmitted through the allocated communication resource blocks. Therefore, regarding the kth subcarrier, the
ID segments carried by the kth subcarrier at different time are shown as a resource configuration RC1; regarding the (k+Q)th subcarrier, the ID segments carried by the (k+Q)th subcarrier at different time are shown as a resource configuration RC2, though the disclosure is not limited thereto. When the transmitters 100, 100′, 100″ and 100′″ allocate the communication resource blocks through configurations different to that shown in
In other embodiments, the transmitters can also allocate communication resources as that shown in
Similar to the instructions of the embodiments of
Taking the transmitter 100′ as an example, the resource allocation unit thereof (not shown) allocates the communication resource blocks CS1′ and CS2′ on the kth subcarrier to respectively transmit the ID segments S1′ and S2′, and allocates the communication resource block CS3′ and CS4′ on the (k+Q)th subcarrier to respectively transmit the ID segments S3′ and S4′. Taking the transmitter 100″ as an example, the resource allocation unit thereof (not shown) allocates the communication resource blocks CS1″ and CS2″ on the kth subcarrier to respectively transmit the ID segments S1″ and S2″, and allocates the communication resource block CS3″ and CS4″ on the (k+Q)th subcarrier to respectively transmit the ID segments S3″ and S4″. In other embodiments, before the transmitters 100, 100′ and 100″ individually perform the resource allocation operation, the transmitters 100, 100′ and 100″ can perform a synchronization operation to ensure that the individually allocated communication resource blocks are not mutually interfered.
After the transmitters 100, 100′ and 100″ individually finish the resource allocation, the corresponding ID segments can be transmitted through the allocated communication resource blocks. Therefore, regarding the kth subcarrier, the ID segments carried by the kth subcarrier at different time are shown as a resource configuration RC1′; and regarding the (k+Q)th subcarrier, the ID segments carried by the (k+Q)th subcarrier at different time are shown as a resource configuration RC2′, though the disclosure is not limited thereto. When the transmitters 100, 100′ and 100″ allocate the communication resource blocks through configurations different to that shown in
It should be noticed that each of the components included in the transmitter 100 can be implemented by an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), an IC circuit and chip of any type, a finite state machine (FSM), at least one processor load the software programs to respectively execute the aforementioned functions of the components, etc. Though the disclosure is not limited thereto.
According to the aforementioned all kinds of communication resource allocation methods, a receiver in another communication device can perform ID pattern detection according to the communication resource allocation method adopted in the current system to find whether there is an empty resource used for transmitting the ID pattern, which is described in detail below.
Taking the embodiment of
Since the ID pattern received signal SS (Rl[k]) may or may not carry the ID segments of the certain transmitter, in response to such two cases, Rl[k] may have following expressions. First, when the ID pattern received signal SS does not carry the ID segments of the certain transmitter, Rl[k] is Wl[k], where Wl[k] is, for example, frequency domain additive white Gaussian noise (AWGN) on the lth symbol and the kth subcarrier in the communication channel, and when the ID pattern received signal SS carries the ID segments of the certain transmitter, Rl[k] is Xl[k] Wl[k], where Xl[k] is, for example, the ID pattern on the lth symbol and the kth subcarrier, and Hl[k] is, for example, an equivalent channel frequency response on the lth symbol and the kth subcarrier in the communication channel.
The conjugate delay module 620 is coupled to the signal extractor 610, and individually delays the ID pattern received signal SS for a symbol time, and performs a complex conjugate processing on the delayed ID pattern received signal SS to generate a conjugated delayed received signal CDS of the ID pattern. Therefore, the conjugated delayed received signal CDS of the ID pattern can be represented by, for example, Rl-1*[k], where (. )* is a complex conjugate operation.
The multiplication unit 630 is coupled to the signal extractor 610 and the conjugate delay module 620, and multiplies the ID pattern received signal SS with the conjugated delayed received signal CDS of the ID pattern to generate a conjugated delayed multiplied received signal CDMS of the ID pattern. The conjugated delayed multiplied received signal CDMS of the ID pattern can be represented by, for example, Rl[k]·Rl-1*[k]. Corresponding to the aforementioned two cases expressions of Rl[k], the conjugated delayed multiplied received signal CDMS of the ID pattern can be represented as, for example,
In detail, the receiver may have a carrier frequency offset (CFO) effect due to mismatch between oscillators in the receiver and the transmitter. The CFO effect results in a factor, for example, ej2πINT,Δf in Rl[k], where N is a sample number of a useful symbol (N is a positive integer), TS is a sample duration (with a unit of second), and Δf is a CFO value (with a unit of Hz). For example, when the ID pattern received signal SS carries the ID segments of a certain transmitter, Rl[k] can be represented as Rl[k]=Xl[k]·Hl[k]ej2πINT,Δf+l[k]. Through the operation of the multiplication unit 630, the parameter l in the factor, for example, ej2πINT,Δf can be eliminated in the conjugated delayed multiplied received signal CDMS of the ID pattern (i.e. Rl[k]·Rl-1*[k]), so as to eliminate the influence of the CEO effect on Rl[k]·Rl-1*[k]. In this way, the accuracy of the detection operation performed according to Rl[k]·Rl-1*[k] could be improved in principle due to that it is not influenced by the CFO effect. The conjugated delayed multiplied received signal CDMS of the ID pattern results in a fact that the detection operation performed according to Rl[k]·Rl-1*[k] have robustness for the CFO effect.
The matching unit 640 is coupled to the multiplication unit 630 and a predetermined signal, where the predetermined signal is obtained after the corresponding ID pattern is processed with a conjugate delay multiplication processing. The matching unit 640 performs a matching processing on the conjugated delayed multiplied received signal CDMS of the ID pattern and the predetermined signal, so as to generate a differential matching value DMV. The predetermined signal is, for example, Xl[k]Xl-1*[k] The differential matching value DMV is, for example,
where i is an index value of the communication resource blocks. Namely, when the matching unit 640 calculates the differential matching value DMV, the symbols included in a plurality of the ID segments are all taken into consideration.
The normalization unit 650 is coupled to the matching unit 640 and the signal extractor 610, and performs a normalization processing on the differential matching value DMV according to an average power of the ID pattern received signal SS to generate a normalized differential matching value (which is represented as Jdiff-matching), and the Jdiff-matching is, for example,
is, for example, the average power of the ID pattern received signal SS, and i is an index value of the communication resource blocks. Taking the embodiment of
The decision unit 660 is coupled to the normalization unit 650, and determines whether the normalized differential matching value (Jdiff-matching is greater than a predetermined threshold value. If yes, the decision unit 660 outputs a decision result to determine that the ID pattern is detected, and if not, the decision unit 660 outputs the decision result to determine that the ID pattern is not detected. The predetermined threshold value can be any real number (for example, a positive real number smaller than 0.5) according to a design requirement.
In other embodiments, if the transmitter does not partition the ID pattern thereof (i.e. S=1) during transmission, the aforementioned normalized differential matching value Jdiff-matching is correspondingly represented as, for example,
Moreover, the aforementioned normalized differential matching value Jdiff-matching may be also correspondingly represented as, for another example,
is, for example, the differential matching value.
It should be noticed that each of components included in the receiver 600 can be implemented by an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), an IC circuit and chip of any type, a finite state machine (FSM), at least one processor load the software programs to respectively execute the aforementioned functions of the components, etc. Though the disclosure is not limited thereto.
In summary, according to the transmitter and the ID pattern transmission method of the disclosure, after the ID pattern is partitioned into a plurality of ID segments, the communication resource blocks used for transmitting the ID segments are suitably allocated to obtain the time diversity gain and/or frequency diversity gain. In this way, when the receiver detects whether the communication resource blocks carry the ID segments, the probability of detection error in principle could be decreased. According to the aforementioned communication resource allocation rule, the receiver and the ID pattern detection method thereof can extract a plurality of communication resource blocks corresponding to a plurality of ID segments of the ID pattern from a frequency domain received signal having information of the ID pattern, so as to generate the ID pattern received signal, and in principle could eliminate the influence of the CFO effect through the proposed signal processing method shown in the embodiment of
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the disclosure without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the disclosure cover modifications and variations of this disclosure provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
102115931 | May 2013 | TW | national |
This application claims the priority benefits of U.S. provisional application Ser. No. 61/665,901, filed on Jun. 29, 2012 and Taiwan application serial no. 102115931, filed on May 3, 2013. The entirety of each of the above-mentioned patent applications is hereby incorporated by reference herein and made a part of this specification.
Number | Date | Country | |
---|---|---|---|
61665901 | Jun 2012 | US |