TWI722942B - Spread spectrum signal sending method, spread spectrum signal receiving method, device, equipment and medium - Google Patents
Spread spectrum signal sending method, spread spectrum signal receiving method, device, equipment and medium Download PDFInfo
- Publication number
- TWI722942B TWI722942B TW109124308A TW109124308A TWI722942B TW I722942 B TWI722942 B TW I722942B TW 109124308 A TW109124308 A TW 109124308A TW 109124308 A TW109124308 A TW 109124308A TW I722942 B TWI722942 B TW I722942B
- Authority
- TW
- Taiwan
- Prior art keywords
- spread spectrum
- aforementioned
- signal
- spectrum modulation
- spread
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/707—Spread spectrum techniques using direct sequence modulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/707—Spread spectrum techniques using direct sequence modulation
- H04B1/7073—Synchronisation aspects
- H04B1/7087—Carrier synchronisation aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J13/00—Code division multiplex systems
- H04J13/16—Code allocation
- H04J13/18—Allocation of orthogonal codes
- H04J13/20—Allocation of orthogonal codes having an orthogonal variable spreading factor [OVSF]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本發明係提供一種擴頻訊號發送方法、擴頻訊號接收方法、裝置、設備及介質。所述擴頻訊號發送方法包括:在訊號傳輸的過程中,獲取預設的殘留頻偏容忍閾值,確定擴頻調製優化參數;獲取至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配;採用哈達瑪矩陣對每個所述訊息單元進行擴頻,形成擴頻訊號並將所述擴頻訊號經調製後發送至所述訊號接收設備,其中,所述擴頻調製優化參數用於預先提供給所述訊號接收設備,以指示所述訊號接收設備對訊號解擴結果進行修正。本發明可以增大系統可容忍的頻偏,降低系統頻偏估計及頻偏跟蹤的複雜度,減少系統實現的成本及複雜度。 The invention provides a spread spectrum signal transmission method, a spread spectrum signal reception method, device, equipment and medium. The spread spectrum signal sending method includes: obtaining a preset residual frequency deviation tolerance threshold during signal transmission, and determining a spread spectrum modulation optimization parameter; obtaining at least one message unit, and the number of the message unit corresponds to the spread spectrum Modulation optimization parameter matching; using a Hadamard matrix to spread spectrum for each of the message units to form a spread spectrum signal and send the spread spectrum signal to the signal receiving device after being modulated, wherein the spread spectrum modulation is optimized The parameter is used to provide the signal receiving device in advance to instruct the signal receiving device to correct the signal despreading result. The invention can increase the tolerable frequency offset of the system, reduce the complexity of system frequency offset estimation and frequency offset tracking, and reduce the cost and complexity of system realization.
Description
本發明關於一種物聯網通訊領域,例如關於一種擴頻訊號發送方法、擴頻訊號接收方法、裝置、設備及介質。 The present invention relates to an Internet of Things communication field, such as a spread spectrum signal transmission method, a spread spectrum signal reception method, device, equipment and medium.
擴頻通訊因抗干擾能力強以及保密性能好的優點,得到了日益廣泛的應用。 Spread spectrum communication has been increasingly widely used due to its strong anti-interference ability and good security performance.
在M進制正交擴頻系統中,擴頻序列集由M個長度為n的正交碼字構成。在發送端的調製過程中,每n個比特(bit)構成一個調製符號(n=log2(M)),根據調製符號數值選擇相應序號的正交碼字進行傳輸。在接收端通常需要M個相關器完成正交解擴操作,確定發送的擴頻序列序號,從而獲得調製訊息。通常,訊號在傳輸過程中,頻率會發生偏移,在解調時可以藉由頻偏估計,並進行補償,以減少頻率偏移量,而頻率偏移量無法完全消除,補償後的頻率偏移量即為殘留頻偏。M進制正交擴頻調製技術通常要求擴頻序列的殘留頻偏很小。 In the M-ary orthogonal spread spectrum system, the spread sequence set is composed of M orthogonal codewords of length n. In the modulation process at the transmitting end, every n bits (bit) constitute a modulation symbol (n=log 2 (M)), and the orthogonal codeword of the corresponding sequence number is selected for transmission according to the value of the modulation symbol. At the receiving end, M correlators are usually required to complete the orthogonal despreading operation and determine the sequence number of the transmitted spreading sequence to obtain the modulated message. Usually, the frequency of the signal will shift during the transmission process. During demodulation, the frequency offset can be estimated and compensated to reduce the frequency offset. The frequency offset cannot be completely eliminated. The compensated frequency offset The amount of shift is the residual frequency offset. The M-ary orthogonal spread spectrum modulation technology usually requires that the residual frequency offset of the spread spectrum sequence is small.
可以藉由增加前導長度,以及採用精度高的同步算法進行頻偏估計,提高頻偏補償的精度;還可以藉由提高晶振的穩定性,減少頻偏的引入。但前述方法均需要成本較高的硬體設備支撐,大大增加了擴頻系 統的成本。 The frequency offset can be estimated by increasing the length of the preamble and a highly accurate synchronization algorithm to improve the accuracy of frequency offset compensation; it can also reduce the introduction of frequency offset by improving the stability of the crystal oscillator. However, the aforementioned methods all require the support of higher-cost hardware equipment, which greatly increases the spread spectrum system. The cost of the system.
【先前技術文獻】無 【Prior Technical Literature】 None
本發明實施例提供一種擴頻訊號發送方法、擴頻訊號接收方法、裝置、設備及介質,可以增大系統可容忍的頻偏,降低系統頻偏估計及頻偏跟蹤的複雜度,減少系統實現的成本及複雜度。 The embodiments of the present invention provide a spread spectrum signal transmission method, a spread spectrum signal reception method, device, equipment and medium, which can increase the tolerable frequency offset of the system, reduce the complexity of system frequency offset estimation and frequency offset tracking, and reduce system implementation Cost and complexity.
第一方面,本發明實施例提供了一種擴頻訊號發送方法,包括: In the first aspect, an embodiment of the present invention provides a method for transmitting a spread spectrum signal, including:
在訊號傳輸的過程中,獲取預設的殘留頻偏容忍閾值,確定擴頻調製優化參數; In the process of signal transmission, the preset residual frequency deviation tolerance threshold is obtained, and the optimization parameters of spread spectrum modulation are determined;
獲取至少一個訊息單元,前述訊息單元的數量與前述擴頻調製優化參數匹配; Acquiring at least one message unit, the number of the aforementioned message unit matches the aforementioned spread spectrum modulation optimization parameter;
採用哈達瑪矩陣對每個前述訊息單元進行擴頻,形成擴頻訊號並將前述擴頻訊號經調製後發送至訊號接收設備,其中,前述擴頻調製優化參數用於預先提供給前述訊號接收設備,以指示前述訊號接收設備對訊號解擴結果進行修正。 The Hadamard matrix is used to spread each of the aforementioned message units to form a spread-spectrum signal and the aforementioned spread-spectrum signal is modulated and sent to the signal receiving device, wherein the aforementioned spread-spectrum modulation optimization parameters are provided to the aforementioned signal receiving device in advance , To instruct the aforementioned signal receiving equipment to correct the signal despreading result.
第二方面,本發明實施例還提供了一種擴頻訊號接收方法, 包括: In the second aspect, embodiments of the present invention also provide a method for receiving spread spectrum signals, include:
在訊號傳輸的過程中,獲取擴頻訊號的解擴結果,前述解擴結果為藉由採用哈達瑪矩陣擴頻技術對前述擴頻訊號進行解擴確定; In the process of signal transmission, the despreading result of the spread spectrum signal is obtained, and the aforementioned despreading result is determined by despreading the aforementioned spread spectrum signal by using the Hadamard matrix spread spectrum technology;
獲取擴頻調製優化參數,前述擴頻調製優化參數為根據預設的殘留頻偏容忍閾值確定; Obtaining optimization parameters of spread spectrum modulation, and the foregoing optimization parameters of spread spectrum modulation are determined according to a preset residual frequency deviation tolerance threshold;
根據前述擴頻調製優化參數對前述解擴結果進行修正,並確定至少一個訊息單元,前述訊息單元的數量與前述擴頻調製優化參數匹配。 The aforementioned despreading result is modified according to the aforementioned spread spectrum modulation optimization parameter, and at least one message unit is determined, and the number of the aforementioned message unit matches the aforementioned spread spectrum modulation optimization parameter.
第三方面,本發明實施例還提供了一種擴頻訊號發送裝置,包括: In the third aspect, an embodiment of the present invention also provides a spread spectrum signal sending device, including:
擴頻調製優化參數確定模組,被配置為在訊號傳輸的過程中,獲取預設的殘留頻偏容忍閾值,確定擴頻調製優化參數; The spread spectrum modulation optimization parameter determination module is configured to obtain the preset residual frequency deviation tolerance threshold during the signal transmission process to determine the spread spectrum modulation optimization parameter;
訊息單元獲取模組,被配置為獲取至少一個訊息單元,前述訊息單元的數量與前述擴頻調製優化參數匹配; The message unit acquisition module is configured to acquire at least one message unit, and the number of the aforementioned message units matches the aforementioned spread spectrum modulation optimization parameter;
訊號擴頻模組,被配置為採用哈達瑪矩陣對每個前述訊息單元進行擴頻,形成擴頻訊號並將前述擴頻訊號經調製後發送至訊號接收設備,其中,前述擴頻調製優化參數用於預先提供給前述訊號接收設備,以指示前述訊號接收設備對訊號解擴結果進行修正。 The signal spread spectrum module is configured to spread each of the aforementioned message units using a Hadamard matrix to form a spread spectrum signal and send the aforementioned spread spectrum signal to the signal receiving device after being modulated, wherein the aforementioned spread spectrum modulation optimizes the parameters It is used to provide the aforementioned signal receiving device in advance to instruct the aforementioned signal receiving device to correct the signal despreading result.
第四方面,本發明實施例還提供了一種擴頻訊號接收裝置,包括: In a fourth aspect, an embodiment of the present invention also provides a spread spectrum signal receiving device, including:
擴頻訊號解擴模組,被配置為在訊號傳輸的過程中,獲取擴頻訊號的解擴結果,前述解擴結果為藉由採用哈達瑪矩陣擴頻技術對前述擴頻訊號進行解擴確定; The spread-spectrum signal despreading module is configured to obtain the despreading result of the spread-spectrum signal during signal transmission. The aforementioned despreading result is determined by despreading the aforementioned spread-spectrum signal by using the Hadamard matrix spread spectrum technology ;
擴頻調製優化參數獲取模組,被配置為獲取擴頻調製優化參數,前述擴頻調製優化參數為根據預設的殘留頻偏容忍閾值確定; The spread-spectrum modulation optimization parameter acquisition module is configured to acquire the spread-spectrum modulation optimization parameters, and the aforementioned spread-spectrum modulation optimization parameters are determined according to a preset residual frequency deviation tolerance threshold;
解擴結果修正模組,被配置為根據前述擴頻調製優化參數對前述解擴結果進行修正,並確定至少一個訊息單元,前述訊息單元的數量與前述擴頻調製優化參數匹配。 The despreading result correction module is configured to correct the aforementioned despreading result according to the aforementioned spread spectrum modulation optimization parameter, and determine at least one message unit, and the number of the aforementioned message unit matches the aforementioned spread spectrum modulation optimization parameter.
第五方面,本發明實施例還提供了一種訊號發送設備,包括記憶體、處理器、以及儲存在前述記憶體上並可在前述處理器上運行的計算機程式前述處理器執行前述計算機程式時實現如本發明實施例中任一所記載之擴頻訊號發送方法。 In a fifth aspect, an embodiment of the present invention also provides a signal sending device, including a memory, a processor, and a computer program stored on the aforementioned memory and capable of running on the aforementioned processor. The aforementioned processor executes the aforementioned computer program. The spread spectrum signal transmission method as described in any of the embodiments of the present invention.
第六方面,本發明實施例還提供了一種訊號接收設備,包括記憶體、處理器、以及儲存在前述記憶體上並可在前述處理器上運行的計算機程式前述處理器執行前述計算機程式時實現如本發明實施例中任一所記載之擴頻訊號接收方法。 In a sixth aspect, embodiments of the present invention also provide a signal receiving device, including a memory, a processor, and a computer program stored on the aforementioned memory and running on the aforementioned processor, which is implemented when the aforementioned processor executes the aforementioned computer program The spread spectrum signal receiving method as described in any of the embodiments of the present invention.
第七方面,本發明實施例還提供了一種計算機可讀儲存介質,前述計算機可讀儲存介質上儲存有計算機程式,前述計算機程式被處理器執行時實現如本發明實施例中任一所記載之擴頻訊號發送方法或實現如本發明實施例中任一所記載之擴頻訊號接收方法。 In a seventh aspect, an embodiment of the present invention also provides a computer-readable storage medium. The aforementioned computer-readable storage medium stores a computer program, and when the aforementioned computer program is executed by a processor, it can realize the same as described in any of the embodiments of the present invention The spread-spectrum signal transmission method or the implementation of the spread-spectrum signal receiving method as described in any of the embodiments of the present invention.
本發明實施例藉由在訊號傳輸的過程中,根據殘留頻偏容忍閾值,確定擴頻調製優化參數,並根據擴頻調製優化參數指定訊息單元的數量,該訊息單元的數量既為單個擴頻序列承載的訊息比特數目,將該數 量個訊息單元作為同一單位時間內傳輸的有效數據,進行擴頻和調製,發送到訊號接收設備,並指示訊號接收設備藉由擴頻調製優化參數對訊號解擴結果進行修正,以使訊號接收設備獲取準確的解擴結果,實現藉由對傳輸的訊息單元的數量進行優化提高訊號解擴的準確性,解決了相關技術中降低殘留頻偏的實現成本高和複雜度高的問題,可以不改變硬體的原有設計,降低實現成本和複雜度,同時提高擴頻系統的穩定性,提高解擴結果的精度,同時兼顧傳輸效率。 The embodiment of the present invention determines the optimization parameter of spread spectrum modulation according to the residual frequency deviation tolerance threshold during the signal transmission, and specifies the number of message units according to the optimization parameter of spread spectrum modulation. The number of message units is a single spread spectrum The number of message bits carried by the sequence, the number Measure a message unit as the effective data transmitted in the same unit time, spread spectrum and modulate it, send it to the signal receiving equipment, and instruct the signal receiving equipment to modify the signal despreading result by spread spectrum modulation optimization parameters, so that the signal can be received The equipment obtains accurate despreading results, realizes that by optimizing the number of transmitted message units, the accuracy of signal despreading is improved, and the problem of high cost and complexity of reducing residual frequency offset in related technologies is solved. The original design of the hardware is changed to reduce the implementation cost and complexity, while improving the stability of the spread spectrum system, improving the accuracy of the despreading results, and taking into account the transmission efficiency.
12:計算機設備 12: Computer equipment
14:外部設備 14: external equipment
16:處理單元 16: processing unit
20:網絡適配器 20: network adapter
22:接口 22: Interface
24:顯示器 24: display
28:系統記憶體 28: System memory
30:隨機存取記憶體 30: Random access memory
32:高速緩存記憶體 32: Cache memory
34:儲存系統 34: storage system
40:程式/實用工具 40: Programs/Utilities
42:程式模組 42: program module
101:擴頻訊號解擴模組 101: Spread spectrum signal despreading module
102:擴頻調製優化參數獲取模組 102: Spread spectrum modulation optimization parameter acquisition module
103:解擴結果修正模組 103: De-expansion result correction module
610:訊號發送設備 610: Signal sending equipment
620:訊號接收設備 620: signal receiving equipment
710:串並轉換器 710: Serial-to-parallel converter
720:多路轉換器 720: Multiplexer
730:成型濾波器 730: shaping filter
740:上變頻器 740: Upconverter
750:天線 750: Antenna
760:哈達瑪矩陣 760: Hadamard Matrix
810:天線 810: Antenna
820:下變頻器 820: Downconverter
830:下採樣器 830: down sampler
840:串並轉換器 840: Serial-to-parallel converter
850:相關器 850: Correlator
860:峰值比較器 860: Peak Comparator
870:解擴結果修正處理器 870: Despreading result correction processor
880:並串轉換器 880: Parallel to serial converter
910:擴頻調製優化參數確定模組 910: Spread spectrum modulation optimization parameter determination module
920:訊息單元獲取模組 920: Message unit acquisition module
930:訊號擴頻模組 930: Signal Spread Spectrum Module
【圖1】相關技術中的相關器輸出的自相關峰的示意圖。 [Fig. 1] A schematic diagram of the autocorrelation peak output by the correlator in the related art.
【圖2】本發明實施例一中的一種擴頻訊號發送方法的流程圖。 [Figure 2] A flow chart of a method for transmitting a spread spectrum signal in the first embodiment of the present invention.
【圖3】本發明實施例中的一種殘留頻偏下的相關器輸出的自相關峰的示意圖。 [Fig. 3] A schematic diagram of an autocorrelation peak output by a correlator under a residual frequency offset in an embodiment of the present invention.
【圖4】本發明實施例中的另一種殘留頻偏下的相關器輸出的自相關峰的示意圖。 [Fig. 4] A schematic diagram of an auto-correlation peak output by a correlator under another residual frequency offset in an embodiment of the present invention.
【圖5】本發明實施例二中的一種擴頻訊號接收方法的流程圖。 [Figure 5] A flowchart of a method for receiving spread spectrum signals in the second embodiment of the present invention.
【圖6】本發明實施例所適用的一種應用場景的示意圖。 [Figure 6] A schematic diagram of an application scenario to which an embodiment of the present invention is applicable.
【圖7】本發明實施例三中的一種訊號發送設備的示意圖。 [Figure 7] A schematic diagram of a signal sending device in the third embodiment of the present invention.
【圖8】本發明實施例三中的一種訊號接收設備的示意圖。 [Figure 8] A schematic diagram of a signal receiving device in the third embodiment of the present invention.
【圖9】本發明實施例四中的一種擴頻訊號發送裝置的結構示意圖。 [Fig. 9] A schematic structural diagram of a spread spectrum signal transmitting device in the fourth embodiment of the present invention.
【圖10】本發明實施例五中的一種擴頻訊號接收裝置的結構示意圖。 [Fig. 10] A schematic structural diagram of a spread spectrum signal receiving device in the fifth embodiment of the present invention.
【圖11】本發明實施例六中的一種計算機設備的結構示意圖。 [Figure 11] A schematic structural diagram of a computer device in the sixth embodiment of the present invention.
下面結合圖式和實施例對本發明作進一步的詳細說明。可以理解的是,此處所描述的具體實施例僅僅用於解釋本發明,而非對本發明的限定。另外還需要說明的是,為了便於描述,圖式中僅示出了與本發明相關的部分而非全部結構。 The present invention will be further described in detail below in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for ease of description, only a part of the structure related to the present invention is shown in the drawings, but not all of the structure.
為了便於理解本發明實施例,對哈達瑪矩陣擴頻技術進行說明: In order to facilitate the understanding of the embodiments of the present invention, the Hadamard matrix spread spectrum technology is described:
哈達瑪矩陣是由+1和-1元素構成的且滿足Hn*Hn'=nI(其中Hn'為Hn的轉置矩陣,I為單位方陣)的n階方陣。哈達瑪矩陣中,任意兩行的行向量相互正交,任意兩列的列向量相互正交。訊號發送設備將M=2n個行向量作為M進制正交擴頻序列集,根據n=log2(M)個比特選擇匹配的行向量作為正交擴頻序列進行傳輸。由於任意兩行的行向量相互正交,相同的行向量之間的乘積的數值最大,也即每個行向量具有自相關性。訊號接收設備採用分別與哈達瑪矩陣的M個行向量匹配的M個相關器進行解擴操作,從M個相關器輸出中選擇最大相關值對應的相關器標識訊息(如相關器序號)作為解擴輸出,根據相關器的標識訊息確定擴頻的行向量,該行向量表徵的調製符號即為傳輸的有效數據。 The Hadamard matrix is an n-th order square matrix composed of +1 and -1 elements and satisfies H n *H n '=nI (where H n 'is the transposed matrix of H n and I is the unit square matrix). In the Hadamard matrix, the row vectors of any two rows are orthogonal to each other, and the column vectors of any two columns are orthogonal to each other. The signal sending device uses M=2 n row vectors as the M-ary orthogonal spreading sequence set, and selects the matching row vector as the orthogonal spreading sequence for transmission according to n=log 2 (M) bits. Since the row vectors of any two rows are orthogonal to each other, the value of the product between the same row vectors is the largest, that is, each row vector has autocorrelation. The signal receiving equipment uses M correlators matching the M row vectors of the Hadamard matrix to perform despreading operations, and selects the correlator identification message (such as the correlator serial number) corresponding to the largest correlation value from the M correlators output as the solution Spread output, determine the spreading row vector according to the identification information of the correlator, and the modulation symbol represented by the row vector is the effective data for transmission.
在一個例子中,n=12,M=4096,該哈達瑪矩陣中,行向量按照從上往下的順序編號,其中,將序號500的行向量作為擴頻序列,同時,按照行向量的編號,對應配置相關器的編號,第i個相關器將解調後的訊號與第i個行向量相乘,計算峰值,該峰值實際為幅值,其中,i大於等
於0,小於n。如圖1所示,展示了M個相關器輸出的峰值。
In an example, n=12 and M=4096. In the Hadamard matrix, the row vectors are numbered in order from top to bottom, where the row vector with the
由於哈達瑪矩陣中每個行向量的正交性,只有序號500的相關器輸出峰值,其餘相關器的輸出峰值為0,依據相關器的峰值比較,就可獲得擴頻序列攜帶的有效數據。
Due to the orthogonality of each row vector in the Hadamard matrix, only the output peak value of the
【實施例】[Examples]
實施例一 Example one
圖2為本發明實施例一中的一種擴頻訊號發送方法的流程圖的示意圖,本實施例可適用於基於哈達瑪矩陣擴頻技術傳輸訊號的情況,該方法可以由本發明實施例提供的擴頻訊號發送裝置來執行,該裝置可採用軟體及/或硬體的方式實現,並一般可集成計算機設備中。如圖2所示,本實施例的方法可以包括: 2 is a schematic diagram of a flow chart of a method for transmitting a spread spectrum signal in the first embodiment of the present invention. This embodiment is applicable to the case of transmitting signals based on the Hadamard matrix spread spectrum technology. The method can be implemented by the spreading method provided by the embodiment of the present invention. It can be implemented by a frequency signal sending device, which can be implemented in software and/or hardware, and can generally be integrated into computer equipment. As shown in Figure 2, the method of this embodiment may include:
S110,在訊號傳輸的過程中,獲取預設的殘留頻偏容忍閾值,確定擴頻調製優化參數。 S110: In the process of signal transmission, obtain a preset residual frequency deviation tolerance threshold, and determine an optimization parameter of spread spectrum modulation.
訊號傳輸的過程可以是指採用多進制正交擴頻技術傳輸訊號的過程。訊號傳輸的過程可以是在遠距離低功耗窄帶通訊物聯網的應用場景中,該應用場景中訊號傳輸數據率低,靈敏度高,藉由多進制正交擴頻技術可以在保持擴頻技術抗干擾特性的前提下,藉由提升單擴頻序列承載的訊息比特數目提高數據傳輸效率。其中,採用多進制正交擴頻技術傳輸訊號可以為:獲取多個比特,即有效傳輸數據,作為一個調製符號,在同一單位時間內(該單位時間可以是指分配的時間片),對該調製符號進行多進制正交擴頻,生成擴頻訊號,並進行調製,形成射頻訊號對外發送至 訊號接收設備。從而,在該單位時間內,實現同時傳輸設定數量個比特。 The process of signal transmission can refer to the process of signal transmission using the multi-ary orthogonal spread spectrum technology. The signal transmission process can be in the application scenario of long-distance, low-power, narrow-band communication, and the Internet of Things. In this application scenario, the signal transmission data rate is low and the sensitivity is high. The multi-ary orthogonal spread spectrum technology can maintain the spread spectrum technology. Under the premise of anti-interference characteristics, the data transmission efficiency is improved by increasing the number of message bits carried by a single spreading sequence. Among them, the use of multi-ary orthogonal spread spectrum technology to transmit signals can be: obtain multiple bits, that is, effectively transmit data, as a modulation symbol, in the same unit time (the unit time can refer to the allocated time slice), The modulation symbol performs multi-ary orthogonal spread spectrum to generate a spread spectrum signal, and modulate it to form a radio frequency signal and send it to Signal receiving equipment. Thus, in the unit time, a set number of bits can be transmitted simultaneously.
殘留頻偏容忍閾值可以是指殘留頻偏的最大值。殘留頻偏容忍閾值可以是用戶預先輸入的數值,也可以是系統預設的數值。擴頻調製優化參數用於確定在同一單位時間內並行傳輸的比特的最大數量,即擴頻調製優化參數用於指定在同一單位時間內訊息單元傳輸數量。殘留頻偏容忍閾值用於確定擴頻調製優化參數,從而間接確定在同一單位時間內並行傳輸的比特的最大數量。可以選擇最大數量的比特在同一單位時間內進行傳輸,在保證解擴結果的精度的同時,兼顧傳輸效率。在一些實施例中,可以根據預設的殘留頻偏容忍閾值與擴頻調製優化參數的對應關係,計算擴頻調製優化參數,其中,對應關係根據實驗獲取。 The residual frequency deviation tolerance threshold may refer to the maximum value of the residual frequency deviation. The residual frequency deviation tolerance threshold can be a value input in advance by the user or a value preset by the system. The spread spectrum modulation optimization parameter is used to determine the maximum number of bits transmitted in parallel in the same unit time, that is, the spread spectrum modulation optimization parameter is used to specify the number of message units transmitted in the same unit time. The residual frequency offset tolerance threshold is used to determine the optimization parameters of spread spectrum modulation, thereby indirectly determining the maximum number of bits transmitted in parallel in the same unit time. The maximum number of bits can be selected for transmission in the same unit time, which ensures the accuracy of the despreading result while taking into account the transmission efficiency. In some embodiments, the spread spectrum modulation optimization parameter may be calculated according to the correspondence between the preset residual frequency deviation tolerance threshold and the spread spectrum modulation optimization parameter, wherein the correspondence relationship is obtained based on experiments.
實際上,在訊號傳輸過程中存在頻率偏移現象,在頻率補償之後,仍然存在殘留頻偏。殘留頻偏導致訊號接收設備的解擴結果錯誤。當待解擴的訊號存在殘留頻偏時,例如,歸一化的殘留頻偏為0.2時,前例中M個相關器輸出的峰值如圖3所示。實際上,殘留頻偏破壞了哈達瑪矩陣中行向量的正交性。由於殘留頻偏的存在,不僅序號500的相關器存在峰值,多個原本正交的相關器也會出現峰值,但基於最大峰值判決的準則,系統仍能正確獲得擴頻序列攜帶的有效數據,表明系統具有一定的抗頻偏能力。但當歸一化的殘留頻偏大於0.5時,殘留頻偏引起的其他相關器(如序號2620的相關器)的峰值已經大於正確相關器的峰值,如圖4所示,造成訊號接收設備錯誤獲得擴頻序列攜帶的有效數據。
In fact, there is a frequency offset phenomenon in the signal transmission process, and after frequency compensation, there is still a residual frequency offset. The residual frequency offset causes an error in the despreading result of the signal receiving device. When the signal to be despread has a residual frequency offset, for example, when the normalized residual frequency offset is 0.2, the peak output of the M correlators in the previous example is shown in FIG. 3. In fact, the residual frequency offset destroys the orthogonality of the row vectors in the Hadamard matrix. Due to the existence of the residual frequency offset, not only the
有鑑於此,存在殘留頻偏時,由於正確相關器的峰值序號與錯誤相關器的峰值序號存在內在關係,從而可以選擇序號在前的部分擴頻 序列集進行擴頻操作,即減少在同一單位時間內傳輸的比特的數量。可以理解的是,殘留頻偏與在同一單位時間內傳輸的比特的數量存在對應關係。 In view of this, when there is a residual frequency offset, because the peak sequence number of the correct correlator and the peak sequence number of the wrong correlator are inherently related, it is possible to select the first part of the spread spectrum The sequence set performs a spread spectrum operation, that is, reduces the number of bits transmitted in the same unit time. It can be understood that there is a corresponding relationship between the residual frequency offset and the number of bits transmitted in the same unit time.
哈達瑪矩陣具有如下迭代結構: The Hadamard matrix has the following iterative structure:
由迭代特性可以看出: It can be seen from the iteration characteristics:
哈達瑪矩陣的行向量為偶數行,可以上下分為兩個矩陣,哈達瑪矩陣的階數n大於2,且n為非負整數,哈達瑪矩陣的每個行向量代表的擴頻序列分別是周期性變化的訊號。單位頻率訊號為單位頻率為的方波訊號,其中,B為帶寬,n為所述哈達瑪矩陣的階數。由此,哈達瑪矩陣的下半矩陣相當於上半矩陣與單位頻率訊號的乘積。 The row vector of the Hadamard matrix is an even row, which can be divided into two matrices up and down. The order n of the Hadamard matrix is greater than 2, and n is a non-negative integer. The spreading sequence represented by each row vector of the Hadamard matrix is the period. Signs of sexual change. The unit frequency signal is the unit frequency Where B is the bandwidth and n is the order of the Hadamard matrix. Therefore, the lower half of the Hadamard matrix is equivalent to the product of the upper half of the matrix and the unit frequency signal.
哈達瑪矩陣的2/4矩陣相當於1/4矩陣與兩倍單位頻率訊號的乘積;哈達瑪矩陣的3/4矩陣相當於1/4矩陣與單位頻率訊號乘積;哈達瑪矩陣的4/4矩陣相當於1/4矩陣與單位頻率訊號乘積,但哈達瑪矩陣的4/4矩陣和哈達瑪矩陣的3/4矩陣的初始相位不同。 The 2/4 matrix of the Hadamard matrix is equivalent to the product of the 1/4 matrix and twice the unit frequency signal; the 3/4 matrix of the Hadamard matrix is equivalent to the product of the 1/4 matrix and the unit frequency signal; the 4/4 of the Hadamard matrix The matrix is equivalent to the product of the 1/4 matrix and the unit frequency signal, but the initial phases of the 4/4 matrix of the Hadamard matrix and the 3/4 matrix of the Hadamard matrix are different.
基於以上特點,如果殘留頻偏小於單位頻率,上半矩陣的行向量可能誤判為對應位置的下半矩陣的行向量,例如p位置的向量可能誤判為p+2n-1位置的向量。同理如果存在小於兩倍單位頻率的頻偏,1/4矩陣對應的向量可能誤判為2/4矩陣,3/4矩陣或者4/4矩陣對應位置的向量, 例如p位置的向量可能誤判為p+2n-2,p+2*2n-2或者p+3*2n-2的向量。 Based on the above characteristics, if the residual frequency offset is less than the unit frequency, the row vector of the upper matrix may be misjudged as the row vector of the lower matrix at the corresponding position. For example, the vector at position p may be misjudged as the vector at position p+2 n-1 . Similarly, if there is a frequency deviation less than twice the unit frequency, the vector corresponding to the 1/4 matrix may be misjudged as the 2/4 matrix, the vector at the corresponding position of the 3/4 matrix or the 4/4 matrix, for example, the vector at the position p may be misjudged as A vector of p+2 n-2 , p+2*2 n-2 or p+3*2 n-2.
需要說明的是,歸一化的殘留頻偏是指,殘留頻偏是以單位頻率為單位進行歸一化。 It should be noted that the normalized residual frequency offset refers to that the residual frequency offset is normalized with a unit frequency as a unit.
可選的,所述獲取預設的殘留頻偏容忍閾值,確定擴頻調製優化參數,包括: Optionally, the obtaining the preset residual frequency offset tolerance threshold and determining the optimization parameters of spread spectrum modulation includes:
基於如下公式,計算擴頻調製優化參數d: Based on the following formula, calculate the spread spectrum modulation optimization parameter d:
其中,A為所述殘留頻偏容忍閾值,B為帶寬,n為所述哈達瑪矩陣的階數,d為非負整數。 Wherein, A is the residual frequency offset tolerance threshold, B is the bandwidth, n is the order of the Hadamard matrix, and d is a non-negative integer.
在一些實施例中,由於公式為不等式,計算得到的d可以有多個數值,可以根據需要進行確定,例如可以選擇最小值。實際上,d可以取無限大,但d越大,在同一時刻傳輸的擴頻序列承載的訊息比特數越小,相應的傳輸效率降低,由此可見,在符合上述公式情況下,d越小,傳輸效率越高。 In some embodiments, since the formula is an inequality, the calculated d may have multiple values, which may be determined as required, for example, the minimum value may be selected. In fact, d can be infinitely large, but the larger d, the smaller the number of message bits carried by the spreading sequence transmitted at the same time, and the corresponding transmission efficiency is reduced. It can be seen that, in accordance with the above formula, d is smaller , The higher the transmission efficiency.
例如,B=125KHz,n=12,歸一化的單位頻率為30.5Hz,A為32Hz。公式為1.05<2d-1,d大於1.07。可以選擇d為2。 For example, B=125KHz, n=12, normalized unit frequency It is 30.5Hz, and A is 32Hz. The formula is 1.05<2 d-1 and d is greater than 1.07. You can choose d as 2.
藉由預先根據哈達瑪矩陣的迭代特性,確定殘留頻偏容忍閾值與擴頻調製優化參數的對應關係,從而根據殘留頻偏容忍閾值計算擴頻調製優化參數,保證擴頻調製優化參數的客觀,從而,提高解擴結果的準確性。 According to the iterative characteristics of the Hadamard matrix in advance, the corresponding relationship between the residual frequency deviation tolerance threshold and the spread spectrum modulation optimization parameter is determined, so as to calculate the spread spectrum modulation optimization parameter according to the residual frequency deviation tolerance threshold value to ensure the objectiveness of the spread spectrum modulation optimization parameter. Thus, the accuracy of the despreading result is improved.
如前例,在殘留頻偏小於1個單位頻率,且第500行的行向量作為擴頻序列時,序號為500和500+2n-1的相關器均會出現自相關峰。同
理,在殘留頻偏小於兩倍單位頻偏,且第500行的行向量作為擴頻序列時,序號為500,500+2n-2,500+2*2n-2和500+3*2n-2的相關器均會出現自相關峰。依次類推,在殘留頻偏小於2d-1個單位頻偏時,序號為500+(2j-1)2n-d的相關器會出現自相關峰,j大於等於0且小於等於d。示例性的,當n為3,且第1行的行向量作為擴頻序列時,存在殘留頻偏時,序號為1和5的相關器均會出現自相關峰,序號為1的相關器確定的有效數據為001,而序號為5的相關器確定的有效數據為101,又如,當n為4,且第1行的行向量作為擴頻序列時,序號為1、5和9的相關器出現自相關峰,序號為1的相關器確定的有效數據為0001,序號為5的相關器確定的有效數據為0101,序號為9的相關器確定的有效數據為1001。由此,殘留頻偏引起的相關器序號偏差僅會造成有效數據中高位的錯誤,而不影響有效數據的低位。由此,可以直接將有效數據中的高位置零。
As in the previous example, when the residual frequency offset is less than 1 unit frequency and the row vector of the 500th line is used as the spreading sequence, the correlators with serial numbers 500 and 500+2 n-1 will all have auto-correlation peaks. Similarly, when the residual frequency offset is less than twice the unit frequency offset, and the row vector of the 500th line is used as the spreading sequence, the sequence numbers are 500, 500+2 n-2 , 500+2*2 n-2 and 500+ 3*2 n-2 correlators will have auto-correlation peaks. By analogy, when the residual frequency deviation is less than 2 d-1 unit frequency deviation, the correlator with
S120,獲取至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配。 S120: Obtain at least one message unit, where the number of the message unit matches the spread spectrum modulation optimization parameter.
訊息單元用於作為有效訊息傳輸至訊號接收設備,一個訊息單元可以是指一個比特。實際上,在同一單位時間內可以同時傳輸多個訊息單元,訊息單元的數量可以是指同時傳輸的訊息單元的數量。其中,同時傳輸的訊息單元的數量根據擴頻調製優化參數確定。 The message unit is used as a valid message to be transmitted to the signal receiving device, and a message unit can refer to a bit. In fact, multiple message units can be simultaneously transmitted in the same unit time, and the number of message units can refer to the number of message units that are simultaneously transmitted. Among them, the number of simultaneously transmitted message units is determined according to the optimization parameters of spread spectrum modulation.
可選的,所述獲取至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配,包括:根據所述擴頻調製優化參數,確定擴頻序列承載的最大訊息比特數;獲取多個訊息單元,訊息單元的數量為所述最大訊息比特數。 Optionally, the obtaining at least one message unit, the number of the message units matching the spread spectrum modulation optimization parameter, includes: determining the maximum number of message bits carried by the spread spectrum sequence according to the spread spectrum modulation optimization parameter; Acquire multiple message units, and the number of message units is the maximum number of message bits.
擴頻序列承載的最大訊息比特數可以是指同一單位時間內傳輸的比特的最大數量。需要說明的是,n階哈達瑪矩陣擴頻技術,同一單位時間內傳輸的比特的最大數量為n。相應的,採用本發明實施例的擴頻訊號發送方法,在一些實施例中,當前擴頻序列承載的最大訊息比特數為n與擴頻調製優化參數最小值的差值,即最大訊息比特數kmax=n-擴頻調製優化參數最小值dmin。 The maximum number of message bits carried by the spreading sequence may refer to the maximum number of bits transmitted in the same unit time. It should be noted that for the n-th order Hadamard matrix spread spectrum technology, the maximum number of bits transmitted in the same unit time is n. Correspondingly, using the spread spectrum signal sending method of the embodiment of the present invention, in some embodiments, the maximum number of message bits carried by the current spread spectrum sequence is the difference between n and the minimum value of the spread spectrum modulation optimization parameter, that is, the maximum number of message bits k max =n-the minimum value d min of the optimization parameter of spread spectrum modulation.
實際上,在基於哈達瑪矩陣擴頻技術的應用場景中,根據哈達瑪矩陣的階數確定在同一單位時間內可傳輸的比特的數量。通常,選擇可傳輸的最大數量的比特形成一個調製符號,可以增加在同一單位時間內傳輸的比特的數量,提高傳輸效率。但這種方式下,需要高複雜度的同步算法或者採用高穩定性的晶振減少頻偏,提高頻偏補償的成本。有鑑於此,本發明實施例藉由根據殘留頻偏容忍閾值,確定可接受的同一單位時間內傳輸的比特的最大數量,選擇比特進行訊號傳輸,在保證解擴結果的精度的同時,兼顧傳輸效率。 In fact, in an application scenario based on the Hadamard matrix spread spectrum technology, the number of bits that can be transmitted in the same unit time is determined according to the order of the Hadamard matrix. Generally, selecting the maximum number of bits that can be transmitted to form a modulation symbol can increase the number of bits transmitted in the same unit time and improve transmission efficiency. However, in this way, a high-complexity synchronization algorithm or a high-stability crystal oscillator is required to reduce the frequency offset and increase the cost of frequency offset compensation. In view of this, the embodiment of the present invention determines the acceptable maximum number of bits to be transmitted in the same unit time according to the residual frequency deviation tolerance threshold, and selects the bits for signal transmission, so as to ensure the accuracy of the despreading result while taking into account the transmission. effectiveness.
在一些實施例中,還可以根據需要選擇小於基於多進制擴頻調製技術形成的擴頻序列承載的最大訊息比特數(正整數)作為訊息單元的數量。 In some embodiments, it is also possible to select as the number of message units less than the maximum number of message bits (positive integer) carried by the spreading sequence formed based on the multi-ary spread spectrum modulation technology as required.
S130,採用哈達瑪矩陣對各所述訊息單元進行擴頻,形成擴頻訊號並調製發送至訊號接收設備,其中,所述擴頻調製優化參數用於預先提供給訊號接收設備,以指示所述訊號接收設備對訊號解擴結果進行修正。 S130. Use a Hadamard matrix to spread spectrum on each of the message units to form a spread spectrum signal and modulate and send it to a signal receiving device, wherein the spread spectrum modulation optimization parameter is used to provide the signal receiving device in advance to instruct the The signal receiving equipment corrects the signal despreading result.
哈達瑪矩陣擴頻方法可以是,獲取連續多個訊息單元,根據 每個訊息單元,確定有效數據,並從哈達瑪矩陣中選擇與有效數據匹配的行向量,生成擴頻序列,作為擴頻訊號。示例性的,連續多個訊息單元分別為:0、1和0,即二進制010,相當於十進制的2,可以選擇哈達瑪矩陣中第2行的行向量(首行為第0行),生成擴頻序列,作為擴頻訊號。相應的,在訊號接收設備,序號為2的相關器輸出峰值,由此,訊號接收設備確定,擴頻序列為第2行的行向量,表徵二進制010,即傳輸的有效數據為0、1和0。 The Hadamard matrix spread spectrum method can be to obtain consecutive multiple message units, according to For each message unit, valid data is determined, and a row vector matching the valid data is selected from the Hadamard matrix to generate a spread spectrum sequence as a spread spectrum signal. Exemplarily, multiple consecutive message units are: 0, 1, and 0, which is binary 010, which is equivalent to decimal 2. You can select the row vector of the second row in the Hadamard matrix (the first row is the 0th row) to generate the extension The frequency sequence is used as a spread spectrum signal. Correspondingly, in the signal receiving device, the correlator with serial number 2 outputs the peak value. Therefore, the signal receiving device determines that the spreading sequence is the row vector of the second row, which represents binary 010, that is, the effective data transmitted is 0, 1, and 0.
訊號接收設備可以根據擴頻調製優化參數,選擇序號在前的相關器對應的解擴結果作為解擴結果,由此,可以排除錯誤的相關器對應的解擴結果,從而保證解擴結果的準確性。 The signal receiving equipment can optimize the parameters according to the spread spectrum modulation, and select the despreading result corresponding to the correlator with the first sequence number as the despreading result, thus, the despreading result corresponding to the wrong correlator can be eliminated, thereby ensuring the accuracy of the despreading result Sex.
本發明實施例藉由在訊號傳輸的過程中,根據殘留頻偏容忍閾值,確定擴頻調製優化參數,並根據擴頻調製優化參數指定訊息單元的數量,將該數量個訊息單元作為同一單位時間內傳輸的有效數據,進行擴頻和調製,發送到訊號接收設備,並指示訊號接收設備藉由擴頻調製優化參數對訊號解擴結果進行修正,以使訊號接收設備獲取準確的解擴結果,實現藉由對傳輸的訊息單元的數量進行優化提高訊號解擴的準確性,解決了相關技術中降低殘留頻偏的實現成本高和複雜度高的問題,可以不改變硬體的原有設計,降低實現成本和複雜度,同時提高擴頻系統的穩定性,提高解擴結果的精度,同時兼顧傳輸效率。 The embodiment of the present invention determines the optimization parameter of spread spectrum modulation according to the residual frequency deviation tolerance threshold during the signal transmission, and specifies the number of message units according to the optimization parameter of spread spectrum modulation, and the number of message units is regarded as the same unit time The effective data transmitted inside is spread spectrum and modulated, sent to the signal receiving device, and instructs the signal receiving device to modify the signal despreading result by spread spectrum modulation optimization parameters, so that the signal receiving device can obtain accurate despreading results. Realize that by optimizing the number of transmitted message units to improve the accuracy of signal despreading, it solves the problem of high implementation cost and high complexity of reducing residual frequency offset in related technologies, and the original design of the hardware can not be changed. Reduce the implementation cost and complexity, at the same time improve the stability of the spread spectrum system, improve the accuracy of the despreading results, while taking into account the transmission efficiency.
實施例二 Example two
圖5為本發明實施例二中的一種擴頻訊號接收方法的流程圖,本實施例可適用於基於哈達瑪矩陣擴頻技術傳輸訊號的情況,該方法可以由本發 明實施例提供的擴頻訊號接收裝置來執行,該裝置可採用軟體及/或硬體的方式實現,並一般可集成計算機設備中。本實施例的方法可以包括: FIG. 5 is a flowchart of a method for receiving spread spectrum signals in the second embodiment of the present invention. This embodiment is applicable to the case of transmitting signals based on the Hadamard matrix spread spectrum technology. The method can be implemented by the present invention. The spread spectrum signal receiving device provided in the illustrated embodiment is implemented. The device can be implemented in software and/or hardware, and generally can be integrated into computer equipment. The method of this embodiment may include:
S210,在訊號傳輸的過程中,獲取訊號的解擴結果,所述解擴結果藉由採用哈達瑪矩陣擴頻技術對擴頻訊號進行解擴確定。 S210: Obtain a despreading result of the signal in the process of signal transmission, and the despreading result is determined by despreading the spread spectrum signal using the Hadamard matrix spread spectrum technology.
本實施方式中的內容,可以參考上述任意實施方式中的描述。 For the content in this embodiment, reference may be made to the description in any of the above embodiments.
擴頻訊號實際為對訊號發送設備發送的訊號進行解調得到的訊號。在訊號發生設備中採用哈達瑪矩陣擴頻技術對訊號進行擴頻,相應的,在訊號接收設備中採用哈達瑪矩陣擴頻技術對訊號進行解擴。在一些實施例中,訊號接收設備根據哈達瑪矩陣的每個行向量分別對應配置相關器,相關器用於將擴頻訊號與匹配的行向量進行相乘,如果擴頻訊號是採用匹配的行向量作為擴頻序列,則擴頻訊號與匹配的行向量存在自相關性,該相關器輸出自相關峰。藉由查詢輸出自相關峰的相關器,可以確定與相關器匹配的行向量,從而確定行向量表徵的有效數據,作為解擴結果。 The spread spectrum signal is actually a signal obtained by demodulating the signal sent by the signal sending device. In the signal generating equipment, the Hadamard matrix spread spectrum technology is used to spread the signal. Correspondingly, the Hadamard matrix spread spectrum technology is used to despread the signal in the signal receiving equipment. In some embodiments, the signal receiving device is configured with a correlator corresponding to each row vector of the Hadamard matrix. The correlator is used to multiply the spread signal with the matched row vector. If the spread signal uses the matched row vector As a spreading sequence, the spreading signal and the matched row vector have autocorrelation, and the correlator outputs an autocorrelation peak. By querying the correlator that outputs the autocorrelation peak, the row vector matching the correlator can be determined, and the valid data represented by the row vector can be determined as the despreading result.
解擴結果為一個有效數據,有效數據包括多個連續的比特位,如前例中有效數據010包括0、1和0三個比特。 The result of despreading is a valid data, and the valid data includes multiple consecutive bits. For example, the valid data 010 in the previous example includes three bits of 0, 1, and 0.
S220,獲取擴頻調製優化參數,所述擴頻調製優化參數根據預設的殘留頻偏容忍閾值確定。 S220: Obtain a spread spectrum modulation optimization parameter, where the spread spectrum modulation optimization parameter is determined according to a preset residual frequency offset tolerance threshold.
獲取方式可以包括:接收用戶的輸入訊息,從輸入訊息中提取擴頻調製優化參數;或者在訊號傳輸之前,獲取訊號發送設備發送的擴頻調製優化參數。需要說明的是,訊號是指攜帶訊息單元的訊號。 The obtaining method may include: receiving a user's input message and extracting optimization parameters of spread spectrum modulation from the input message; or obtaining optimization parameters of spread spectrum modulation sent by the signal sending device before signal transmission. It should be noted that the signal refers to the signal carrying the message unit.
S230,根據所述擴頻調製優化參數對所述解擴結果進行修 正,並確定至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配。 S230: Modify the despreading result according to the spread spectrum modulation optimization parameter. Positive, and at least one message unit is determined, and the number of the message unit matches the spread spectrum modulation optimization parameter.
實際上,如前例,序號為500,500+2n-2,500+2*2n-2和500+3*2n-2的相關器均會出現自相關峰,也即出現自相關峰的相關器的序號之間的差值為k*2n-d(1k2d-1),可以藉由計算相關器的序號與k*2n-d的差值,確定準確的相關器的序號。實際上,由於減少了在同一單位時間內的傳輸的比特的數量,從而未採用序號在後的行向量生成擴頻序列,也即,得到準確解擴結果的相關器的序號小於2n-d。在一些實施例中,修正方式可以是,計算相關器的序號與k*2n-d的差值,直至相關器的序號小於2n-d,將修正後的相關器對應的解擴結果作為修正數據。 In fact, as in the previous example, the correlators with serial numbers 500, 500+2 n-2 , 500+2*2 n-2 and 500+3*2 n-2 will all have auto-correlation peaks, that is, auto-correlation peaks. The difference between the serial numbers of the correlators is k*2 nd (1 k 2 d -1), the correct serial number of the correlator can be determined by calculating the difference between the serial number of the correlator and k*2 nd. In fact, because the number of bits transmitted in the same unit time is reduced, the row vector with the subsequent sequence number is not used to generate the spreading sequence, that is, the sequence number of the correlator that obtains the accurate despreading result is less than 2 nd . In some embodiments, the correction method may be to calculate the difference between the serial number of the correlator and k*2 nd until the serial number of the correlator is less than 2 nd , and use the despreading result corresponding to the corrected correlator as the correction data.
由前述可知,殘留頻偏引起的相關器序號偏差僅會造成有效數據中高位的錯誤,而不影響有效數據的低位。可以對解擴結果中的高位進行修正,得到正確的有效數據,從而確定實際傳輸的訊息單元。 From the foregoing, it can be seen that the correlator sequence number deviation caused by the residual frequency offset will only cause errors in the high bits of the valid data, and will not affect the low bits of the valid data. The high bits in the despreading result can be corrected to obtain correct and effective data, so as to determine the actual transmitted message unit.
可選的,所述根據所述擴頻調製優化參數對所述解擴結果進行修正,並確定至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配,包括:將解擴結果中與所述擴頻調製優化參數匹配的比特位置零,得到修正數據;根據所述修正數據,確定至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配。 Optionally, the correcting the despreading result according to the spread spectrum modulation optimization parameter, and determining at least one message unit, the number of the message unit matches the spread spectrum modulation optimization parameter, includes: In the spreading result, the bit position that matches the optimization parameter of the spread spectrum modulation is zero to obtain correction data; according to the correction data, at least one message unit is determined, and the number of the message units matches the optimization parameter of the spread spectrum modulation.
解擴結果為擴頻訊號中攜帶的有效數據,解擴結果為連續多個訊息單元組成的數據。該有效數據可能是錯誤的。修正數據為正確的有效數據。與擴頻調製優化參數匹配的比特位,可以是指,從高到低的順序中,前目標數量個比特位,目標數量與擴頻調製優化參數相等。示例性的, d=2,解擴結果為1101,將前2個比特位置零,修正數據為0001。 The despreading result is the effective data carried in the spread spectrum signal, and the despreading result is the data composed of multiple consecutive message units. The valid data may be wrong. The corrected data is correct and valid. The bits matching the optimization parameters of the spread spectrum modulation may refer to the number of bits before the target number in the order from high to low, and the target number is equal to the optimization parameters of the spread spectrum modulation. Exemplary, d=2, the result of despreading is 1101, the first 2 bits are set to zero, and the modified data is 0001.
由前述可知,當n為4,且第1行的行向量作為擴頻序列時,正確的序號為1的相關器確定的有效數據為0001,錯誤的序號為5的相關器確定的有效數據為0101,錯誤的序號為9的相關器確定的有效數據為1001。由此可知,當d=2時,有效數據錯誤的比特位的數量為第一個最高位和第二個最高位,也即錯誤的高位的數量最多為兩個。d=1時,錯誤的高位的數量最多為一個。由此,可以直接將有效數據中前d個高位的比特均置零,確定解擴結果。 It can be seen from the foregoing that when n is 4 and the row vector of the first row is used as the spreading sequence, the valid data determined by the correct correlator with serial number 1 is 0001, and the valid data determined by the wrong correlator with serial number 5 is 0101, the valid data determined by the wrong correlator with serial number 9 is 1001. It can be seen that when d=2, the number of valid data error bits is the first highest bit and the second highest bit, that is, the number of incorrect high bits is two at most. When d=1, the number of high bits of error is at most one. Therefore, the first d high-order bits in the valid data can be directly set to zero to determine the despreading result.
對解擴結果進行修正可以是:將每個有效數據中與擴頻調製優化參數匹配的比特位的比特置零,得到正確的有效數據,根據有效數據拆分成連續的多個訊息單元。 The correction of the despreading result can be: zeroing the bits of each valid data that match the optimization parameters of the spread spectrum modulation to obtain the correct valid data, and splitting the valid data into multiple consecutive message units.
藉由解擴結果、擴頻調製優化參數與修正數據之間的關係,確定修正數據的修正方式,可以快速得到準確的解擴結果,提高解擴準確性,以及提高錯誤修正的效率。 By determining the relationship between the despreading result, the spread spectrum modulation optimization parameter, and the corrected data, the correction method of the corrected data can be determined, which can quickly obtain accurate despreading results, improve the accuracy of despreading, and improve the efficiency of error correction.
可選的,在獲取擴頻調製優化參數之後,該方法還包括:如果解擴結果中與擴頻調製優化參數匹配的比特位的數值為零,則根據所述解擴結果確定至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配。 Optionally, after obtaining the spread spectrum modulation optimization parameter, the method further includes: if the value of the bit matching the spread spectrum modulation optimization parameter in the despreading result is zero, determining at least one message unit according to the despreading result , The number of the message units matches the optimization parameter of the spread spectrum modulation.
解擴結果中與擴頻調製優化參數匹配的比特位的數值為零,表明該解擴結果為正確的解擴結果,直接根據解擴結果確定訊息單元。 In the despreading result, the value of the bit matching the spread spectrum modulation optimization parameter is zero, indicating that the despreading result is the correct despreading result, and the message unit is determined directly according to the despreading result.
藉由對解擴結果進行判斷,並在解擴結果正確時,不進行修正,提高解擴的效率。 By judging the result of despreading, and when the result of despreading is correct, no correction is made to improve the efficiency of despreading.
本發明實施例藉由在訊號傳輸的過程中,根據擴頻調製優化參數對解擴結果進行修正,獲取準確的解擴結果,同時不改變硬體的原有設計,降低實現成本和複雜度,提高解擴結果的精度,同時兼顧傳輸效率。 In the embodiment of the present invention, by modifying the despreading result according to the optimized parameters of spread spectrum modulation during the signal transmission process, the accurate despreading result is obtained without changing the original design of the hardware, thereby reducing the implementation cost and complexity. Improve the accuracy of despreading results while taking into account transmission efficiency.
實施例三 Example three
圖6為本發明實施例三中的一種應用場景的示意圖。本發明實施例中任一項所記載之擴頻訊號發送方法可以應用在訊號發送設備610中,本發明實施例中任一項所記載之擴頻訊號接收方法應用在訊號接收設備620中。
Fig. 6 is a schematic diagram of an application scenario in the third embodiment of the present invention. The spread-spectrum signal sending method described in any one of the embodiments of the present invention can be applied to the
其中,訊號發送設備的結構示意圖可以如圖7所示,訊號發送設備可以包括串並轉換器710、多路轉換器720、成型濾波器730、上變頻器740、天線750和哈達瑪矩陣760。
The schematic diagram of the structure of the signal sending device may be as shown in FIG. 7, and the signal sending device may include a serial-to-
串並轉換器710被配置為將待發送的訊息流進行並行轉換,可以是1:n-d的轉換關係,將一路訊息流轉換為n-d個比特在同一單位時間內進行並行傳輸,該n-d個比特可以作為一個調製符號進行傳輸。
The serial-to-
哈達瑪矩陣760被配置為生成與每個行向量匹配的擴頻訊號。
The
多路選擇器(Multiplex,MUX)720被配置為根據並行傳輸的n-d個比特,從哈達瑪矩陣760生成的擴頻訊號中選擇一個輸出。
The multiplexer (MUX) 720 is configured to select an output from the spread spectrum signal generated by the
成型濾波器730被配置為對多路轉換器720輸出的擴頻訊號進行成型濾波,可以是使得訊號具有有限帶寬,以及訊號變速率處理,以適合信道傳輸。
The shaping
上變頻器740被配置為對成型濾波後的擴頻訊號進行射頻
調製,可以是,將成型濾波後的擴頻訊號調製到高頻載波上,形成射頻訊號。
The
天線750被配置為將射頻訊號對外發送。
The
在一些實施例中,訊號發送設備的處理器被配置為控制串並轉換器710的輸入,以指示串並轉換器710在同一單位時間內轉換得到n-d個比特。
In some embodiments, the processor of the signal sending device is configured to control the input of the serial-to-
訊號發送設備的處理器還被配置為控制多路選擇器720選擇哪一路的擴頻訊號輸出。在一些實施例中,訊號發送設備的處理器採用本發明實施例提供的擴頻訊號發送方法,確定擴頻調製優化參數d,並根據n-d個比特與哈達瑪矩陣中的行向量的對應關係,從哈達瑪矩陣前2n-d個(從上往下的順序)行向量中選擇與n-d個比特匹配的目標行向量,生成擴頻訊號,並控制多路轉換器720切換到輸出該擴頻訊號的電路導通,以實現擴頻。
The processor of the signal sending device is also configured to control which channel of the spread spectrum signal output is selected by the
實際上,針對M×M的哈達瑪矩陣,訊號發送設備在同一單位時間內,最多可以傳輸n=log2(M)個比特,哈達瑪矩陣中可以作為擴頻序列的行向量為前M=2n個行向量。本發明實施例提供的擴頻訊號發送方法中,訊號發送設備在同一單位時間內,最多可以傳輸n-d個比特,而哈達瑪矩陣中可以作為擴頻序列的行向量為前2n-d個行向量。可以理解的是,本發明實施例沒有改變訊號發送設備的硬體結構,僅僅是藉由調整串並轉換器710的串並轉換率,保證在同一單位時間內的比特的傳輸數量與擴頻調製優化參數相匹配,並相應在訊號接收設備處對解擴結果進行修正,提高解擴結果的精度。
In fact, for the M×M Hadamard matrix, the signal sending device can transmit up to n=log 2 (M) bits in the same unit time. The row vector that can be used as the spreading sequence in the Hadamard matrix is the first M= 2 n row vectors. In the spread spectrum signal sending method provided by the embodiment of the present invention, the signal sending device can transmit at most nd bits in the same unit time, and the row vector that can be used as the spreading sequence in the Hadamard matrix is the first 2 nd row vectors. It is understandable that the embodiment of the present invention does not change the hardware structure of the signal sending device, but only adjusts the serial-to-parallel conversion rate of the serial-to-
訊號接收設備的結構示意圖如圖8所示,訊號接收設備可以包括天線810、下變頻器820、下採樣器830、串並轉換器840、相關器850、峰值比較器860、解擴結果修正處理器870和並串轉換器880。
The structure diagram of the signal receiving device is shown in Figure 8. The signal receiving device may include an
天線810被配置為接收訊號發送設備發送的射頻訊號。
The
下變頻器820被配置為對天線810接收到的射頻訊號進行解調。
The down
下採樣器830被配置為按照碼元速率對解調訊號進行下採樣,得到離散的訊號,作為待解擴的擴頻訊號。
The down-
串並轉換器840被配置為將擴頻訊號按照1:M的轉換關係,將一路擴頻訊號變成M路並行分別傳輸至不同的相關器850。
The serial-to-
不同的相關器850匹配的哈達瑪矩陣的行向量不同。相關器850被配置為將擴頻訊號與匹配的哈達瑪矩陣的行向量相乘。如果擴頻訊號是以匹配的行向量作為擴頻序列生成的訊號,則擴頻訊號與匹配的行向量存在自相關性,相關器850輸出自相關峰的峰值。
The row vectors of the Hadamard matrix matched by
峰值比較器860被配置為比較M個相關器850的輸出,並確定峰值最大的相關器850的序號,並將該序號對應的哈達瑪矩陣的行向量代表的有效數據作為解擴結果,並提供給解擴結果修正處理器870。通常解擴結果包括n位比特。
The
解擴結果修正處理器870獲取擴頻調製優化參數,並將峰值比較器860提供的解擴結果進行修正。在一些實施例中,在解擴結果中截取低n-d位,也即將高d位置零,消除殘留頻偏引起的相關器850序號的判斷誤差。
The despreading
解擴結果修正處理器870將修正後的解擴結果發送給並串轉換器880。
The despreading
並串轉換器880被配置為將解擴結果按照n-d:1的轉換關係,將n-d個比特形成一路訊息流,完成訊息流由訊號發送設備到訊號接收設備的傳輸。
The parallel-to-
實際上,本發明實施例在解擴結果確定之後,增加對解擴結果的修正步驟,消除殘留頻偏引起的相關器850序號的判斷誤差。該修正步驟可以由峰值比較器860執行,或者還可以藉由訊號接收設備的處理器完成,從而沒有改變訊號發送設備的硬體結構,僅僅是藉由增加解擴結果的修正算法,對解擴結果進行修正,提高解擴結果的精度。
In fact, in the embodiment of the present invention, after the despreading result is determined, a correction step for the despreading result is added to eliminate the judgment error of the sequence number of the
需要說明的是,圖7和圖8僅僅示出了部分結構,訊號發送設備和訊號接收設備還可以包括其他模組和電路,對此,可以根據需要進行設定。 It should be noted that FIG. 7 and FIG. 8 only show part of the structure, and the signal sending device and the signal receiving device may also include other modules and circuits, which can be set as required.
本發明實施例藉由訊號發送設備,根據殘留頻偏容忍閾值,確定擴頻調製優化參數並根據擴頻調製優化參數指定訊息單元的數量,將該數量個訊息單元作為同一單位時間內傳輸的有效數據,進行擴頻和調製,發送到訊號接收設備,並在訊號接收設備中根據擴頻調製優化參數對解擴結果進行修正,可以不改變訊號發送設備和訊號接收設備硬體的原有硬體設計,降低實現成本,同時訊號接收設備中藉由比特位置零操作實現解擴結果的修正,降低實現複雜度,同時提高擴頻系統的穩定性,提高解擴結果的精度,同時兼顧傳輸效率。 In the embodiment of the present invention, the signal sending device determines the spread spectrum modulation optimization parameter according to the residual frequency deviation tolerance threshold, and specifies the number of message units according to the spread spectrum modulation optimization parameter, and the number of message units is regarded as the effective transmission in the same unit time. The data is spread spectrum and modulated and sent to the signal receiving device, and the despreading result is modified in the signal receiving device according to the optimized parameters of the spread spectrum modulation, without changing the original hardware of the signal sending device and the signal receiving device hardware Design, reduce the implementation cost, and at the same time realize the correction of the despreading result by zero bit position operation in the signal receiving device, reduce the complexity of the implementation, and at the same time improve the stability of the spread spectrum system, improve the accuracy of the despreading result, and take into account the transmission efficiency.
實施例四 Example four
圖9為本發明實施例四中的一種擴頻訊號發送裝置的示意圖。實施例四是實現本發明上述實施例提供的擴頻訊號發送方法的相應裝置,該裝置可採用軟體及/或硬體的方式實現,並一般可集成計算機設備中,如訊號發送設備的處理器中。 FIG. 9 is a schematic diagram of a spread spectrum signal sending device in the fourth embodiment of the present invention. The fourth embodiment is a corresponding device for implementing the spread-spectrum signal sending method provided in the above embodiment of the present invention. The device can be implemented in software and/or hardware, and can generally be integrated into computer equipment, such as the processor of a signal sending device. in.
相應的,本實施例的裝置可以包括: Correspondingly, the device of this embodiment may include:
擴頻調製優化參數確定模組910,被配置為在訊號傳輸的過程中,獲取預設的殘留頻偏容忍閾值,確定擴頻調製優化參數;
The spread spectrum modulation optimization
訊息單元獲取模組920,被配置為獲取至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配;
The message
訊號擴頻模組930,被配置為採用哈達瑪矩陣對每個所述訊息單元進行擴頻,形成擴頻訊號並調製發送至訊號接收設備,其中,所述擴頻調製優化參數用於預先提供給訊號接收設備,以指示所述訊號接收設備對訊號解擴結果進行修正。
The
在一些實施例中,擴頻調製優化參數確定模組910、訊息單元獲取模組920和訊號擴頻模組930可以是指訊號發送設備的處理器中的模組。
In some embodiments, the spread spectrum modulation optimization
本發明實施例藉由在訊號傳輸的過程中,根據殘留頻偏容忍閾值,確定擴頻調製優化參數,並根據擴頻調製優化參數指定訊息單元的數量,將該數量個訊息單元作為同一單位時間內傳輸的有效數據,進行擴頻和調製,發送到訊號接收設備,並指示訊號接收設備藉由擴頻調製優化參數對訊號解擴結果進行修正,以使訊號接收設備獲取準確的解擴結果,實現藉由對傳輸的訊息單元的數量進行優化提高訊號解擴的準確性,解決 了相關技術中降低殘留頻偏的實現成本高和複雜度高的問題,可以不改變硬體的原有設計,降低實現成本和複雜度,同時提高擴頻系統的穩定性,提高解擴結果的精度,同時兼顧傳輸效率。 The embodiment of the present invention determines the optimization parameter of spread spectrum modulation according to the residual frequency deviation tolerance threshold during the signal transmission, and specifies the number of message units according to the optimization parameter of spread spectrum modulation, and the number of message units is regarded as the same unit time The effective data transmitted inside is spread and modulated, sent to the signal receiving device, and instructs the signal receiving device to modify the signal despreading result by spread spectrum modulation optimization parameters, so that the signal receiving device can obtain accurate despreading results. Realize by optimizing the number of transmitted message units to improve the accuracy of signal despreading, and solve The problem of high implementation cost and high complexity of reducing residual frequency offset in related technologies is solved. The original design of the hardware can be reduced, the implementation cost and complexity can be reduced, and the stability of the spread spectrum system can be improved, and the result of despreading can be improved. Accuracy, while taking into account transmission efficiency.
在一些實施例中,所述擴頻調製優化參數確定模組910,包括:擴頻調製優化參數計算單元,用於基於如下公式,計算擴頻調製優化參數d:
In some embodiments, the spread spectrum modulation optimization
其中,A為所述殘留頻偏容忍閾值,B為帶寬,n為所述哈達瑪矩陣的階數,d為非負整數。 Wherein, A is the residual frequency offset tolerance threshold, B is the bandwidth, n is the order of the Hadamard matrix, and d is a non-negative integer.
在一些實施例中,所述訊息單元獲取模組920,包括:傳輸數量最大值確定單元,被配置為根據所述擴頻調製優化參數,確定擴頻序列承載的最大訊息比特數;獲取多個訊息單元,訊息單元的數量為所述最大訊息比特數。
In some embodiments, the information
上述裝置可執行本發明實施例所提供的擴頻訊號發送方法,具備執行方法相應的功能模組和功效。 The above-mentioned device can execute the spread-spectrum signal transmission method provided by the embodiment of the present invention, and has functional modules and functions corresponding to the execution method.
實施例五 Example five
圖10為本發明實施例五中的一種擴頻訊號接收裝置的示意圖。實施例五是實現本發明上述實施例提供的擴頻訊號接收方法的相應裝置,該裝置可採用軟體及/或硬體的方式實現,並一般可集成計算機設備中,如訊號接收設備的處理器中。 FIG. 10 is a schematic diagram of a spread spectrum signal receiving device in the fifth embodiment of the present invention. The fifth embodiment is a corresponding device that implements the spread spectrum signal receiving method provided in the above embodiment of the present invention. The device can be implemented in software and/or hardware, and can generally be integrated into computer equipment, such as the processor of a signal receiving device in.
相應的,本實施例的裝置可以包括: Correspondingly, the device of this embodiment may include:
擴頻訊號解擴模組101,被配置為在訊號傳輸的過程中,獲取訊號的解
擴結果,所述解擴結果藉由採用哈達瑪矩陣擴頻技術對擴頻訊號進行解擴確定;
The spread spectrum
擴頻調製優化參數獲取模組102,被配置為獲取擴頻調製優化參數,所述擴頻調製優化參數根據預設的殘留頻偏容忍閾值確定;
The spread spectrum modulation optimization
解擴結果修正模組103,被配置為根據所述擴頻調製優化參數對所述解擴結果進行修正,並確定至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配。
The despreading
在一些實施例中,擴頻訊號解擴模組101、擴頻調製優化參數獲取模組102和解擴結果修正模組103可以是指訊號接收設備的解擴結果修正處理器中的模組。
In some embodiments, the spread-spectrum
本發明實施例藉由在訊號傳輸的過程中,根據擴頻調製優化參數對解擴結果進行修正,獲取準確的解擴結果,同時不改變硬體的原有設計,降低實現成本和複雜度,提高解擴結果的精度,同時兼顧傳輸效率。 In the embodiment of the present invention, by modifying the despreading result according to the optimized parameters of spread spectrum modulation during the signal transmission process, the accurate despreading result is obtained without changing the original design of the hardware, thereby reducing the implementation cost and complexity. Improve the accuracy of despreading results while taking into account transmission efficiency.
在一些實施例中,所述解擴結果修正模組103,包括:高位置零單元,被配置為將解擴結果中與所述擴頻調製優化參數匹配的比特位置零,得到修正數據;根據所述修正數據,確定至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配。
In some embodiments, the despreading
在一些實施例中,所述擴頻訊號接收裝置,還包括:解擴結果確定模組,被配置為在獲取擴頻調製優化參數之後,如果解擴結果中與擴頻調製優化參數匹配的比特位的數值為零,則根據所述解擴結果確定至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配。 In some embodiments, the spread spectrum signal receiving device further includes: a despreading result determining module, configured to, after obtaining the spread spectrum modulation optimization parameter, if the bits in the despreading result match the spread spectrum modulation optimization parameter If the value of the bit is zero, at least one message unit is determined according to the despreading result, and the number of the message unit matches the spread spectrum modulation optimization parameter.
上述裝置可執行本發明實施例所提供的擴頻訊號發送方法, 具備執行方法相應的功能模組和功效。 The above-mentioned device can execute the spread spectrum signal transmission method provided by the embodiment of the present invention, Equipped with functional modules and functions corresponding to the execution method.
實施例六 Example Six
圖11為本發明實施例六提供的一種計算機設備的結構示意圖。圖11示出了適於用來實現本發明實施方式的示例性計算機設備12的框圖。圖11顯示的計算機設備12僅僅是一個示例。計算機設備12可以包括訊號發送設備或訊號接收設備。
FIG. 11 is a schematic structural diagram of a computer device according to Embodiment 6 of the present invention. Figure 11 shows a block diagram of an
如圖11所示,計算機設備12以通用計算設備的形式表現。計算機設備12的組件可以包括:一個或者多個處理器或者處理單元16,系統記憶體28,連接不同系統組件(包括系統記憶體28和處理單元16)的總線18。計算機設備12可以是掛接在總線上的設備。
As shown in FIG. 11, the
總線18表示幾類總線結構中的一種或多種,包括記憶體總線或者記憶體控制器,外圍總線,圖形加速端口,處理器或者使用多種總線結構中的任意總線結構的局域總線。舉例來說,這些體系結構可以包括工業標準體系結構(Industry Standard Architecture,ISA)總線,微通道體系結構(Micro Channel Architecture,MCA)總線,增強型ISA總線、視頻電子標準協會(Video Electronics Standards Association,VESA)局域總線以及外圍組件互連(PerIPheral Component Interconnect,PCI)總線。
The
計算機設備12典型地包括多種計算機系統可讀介質。這些介質可以是任何能夠被計算機設備12訪問的可用介質,包括易失性和非易失性介質,可移動的和不可移動的介質。
The
系統記憶體28可以包括易失性記憶體形式的計算機系統可讀介質,例如隨機存取記憶體(RAM)30及/或高速緩存記憶體32。計算
機設備12可以進一步包括其它可移動/不可移動的、易失性/非易失性計算機系統儲存介質。僅作為舉例,儲存系統34可以用於讀寫不可移動的、非易失性磁介質(通常稱為「硬碟驅動器」)。可以提供用於對可移動非易失性硬碟(例如「軟磁碟」)讀寫的硬碟驅動器,以及對可移動非易失性光碟(例如緊湊硬碟唯讀記憶體(Compact Disc Read-Only Memory,CD-ROM)),DVD唯讀記憶體(Digital Video Disc-Read Only Memory,DVD-ROM)或者其它光介質)讀寫的光碟驅動器。在這些情況下,每個驅動器可以藉由一個或者多個數據介質接口與總線18相連。系統記憶體28可以包括至少一個程式產品,該程式產品具有一組(例如至少一個)程式模組,這些程式模組被配置以執行本發明實施例的功能。
The
具有一組(至少一個)程式模組42的程式/實用工具40,可以儲存在例如系統記憶體28中,這樣的程式模組42可以包括操作系統、一個或者多個應用程式、其它程式模組以及程式數據,這些示例中的每一個或某種組合中可能包括網絡環境的實現。程式模組42通常執行本發明所描述的實施例中的功能及/或方法。
A program/
計算機設備12也可以與一個或多個外部設備14(例如鍵盤、指向設備、顯示器24等)通訊,還可與一個或者多個使得用戶能與該計算機設備12交互的設備通訊,及/或與使得該計算機設備12能與一個或多個其它計算設備進行通訊的任何設備(例如網卡,調製解調器等等)通訊。這種通訊可以藉由輸入/輸出(Input/Output,I/O)接口22進行。並且,計算機設備12還可以藉由網絡適配器20與一個或者多個網絡(例如局域網(Local Area Network,LAN),廣域網(Wide Area Network,WAN)通訊。
如圖所示,網絡適配器20藉由總線18與計算機設備12的其它模組通訊。應當明白,可以結合計算機設備12使用的其它硬體及/或軟體模組,可以包括:微代碼、設備驅動器、冗餘處理單元、外部硬碟驅動陣列(Redundant Arrays of Inexpensive Disks,RAID)系統、磁帶驅動器以及數據備份儲存系統等。
The
處理單元16藉由運行儲存在系統記憶體28中的程式,從而執行各種功能應用以及數據處理,例如訊號發送設備實現本發明任意實施例所提供的擴頻訊號發送方法,或訊號接收設備實現本發明任意實施例所提供的擴頻訊號接收方法。
The
實施例七 Example Seven
本發明實施例七提供了一種計算機可讀儲存介質,其上儲存有計算機程式,該程式被處理器執行時實現如本發明所有申請實施例提供的方法: The seventh embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method as provided in all the application embodiments of the present invention is implemented:
也即,該程式被處理器執行時實現:在訊號傳輸的過程中,獲取預設的殘留頻偏容忍閾值,確定擴頻調製優化參數;獲取至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配;採用哈達瑪矩陣對各所述訊息單元進行擴頻,形成擴頻訊號並調製發送至訊號接收設備,其中,所述擴頻調製優化參數用於預先提供給訊號接收設備,以指示所述訊號接收設備對訊號解擴結果進行修正。 That is, when the program is executed by the processor, it is realized: in the process of signal transmission, the preset residual frequency deviation tolerance threshold is obtained, and the optimization parameter of spread spectrum modulation is determined; The spread-spectrum modulation optimization parameter matching; the Hadamard matrix is used to spread the spectrum of each of the message units to form a spread-spectrum signal and modulate and send it to the signal receiving device, wherein the spread-spectrum modulation optimization parameter is used to provide the signal receiver in advance Device to instruct the signal receiving device to correct the signal despreading result.
或者,該程式被處理器執行時實現:在訊號傳輸的過程中,獲取訊號的解擴結果,所述解擴結果藉由採用哈達瑪矩陣擴頻技術對擴頻訊號進行解擴確定;獲取擴頻調製優化參數,所述擴頻調製優化參數根據預設的殘留頻偏容忍閾值確定;根據所述擴頻調製優化參數對所述解擴結 果進行修正,並確定至少一個訊息單元,所述訊息單元的數量與所述擴頻調製優化參數匹配。 Or, when the program is executed by the processor, it is realized: in the process of signal transmission, the despreading result of the signal is obtained, and the despreading result is determined by despreading the spread spectrum signal by using the Hadamard matrix spread spectrum technology; Frequency modulation optimization parameters, the spread spectrum modulation optimization parameters are determined according to a preset residual frequency offset tolerance threshold; the despreading modulation parameters are determined according to the spread spectrum modulation optimization parameters If correction is made, and at least one message unit is determined, the number of the message unit matches the spread spectrum modulation optimization parameter.
本發明實施例的計算機儲存介質,可以採用一個或多個計算機可讀的介質的任意組合。計算機可讀介質可以是計算機可讀訊號介質或者計算機可讀儲存介質。計算機可讀儲存介質例如可以是電、磁、光、電磁、紅外線、或半導體的系統、裝置或器件,或者任意以上的組合。計算機可讀儲存介質的例子(非窮舉的列表)可以包括:具有一個或多個導線的電連接、便攜式計算機硬碟、硬碟、RAM、唯讀記憶體(Read Only Memory,ROM)、可擦式可編程唯讀記憶體(Erasable Programmable Read Only Memory,EPROM)、閃存、光纖、便攜式CD-ROM、光記憶體、磁記憶體、或者上述的任意合適的組合。在本文件中,計算機可讀儲存介質可以是任何包含或儲存程式的有形介質,該程式可以被指令執行系統、裝置或者器件使用或者與其結合使用。 The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. Examples of computer-readable storage media (non-exhaustive list) may include: electrical connections with one or more wires, portable computer hard disks, hard disks, RAM, read-only memory (Read Only Memory, ROM), Erasable Programmable Read Only Memory (EPROM), flash memory, optical fiber, portable CD-ROM, optical memory, magnetic memory, or any suitable combination of the above. In this document, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device.
計算機可讀的訊號介質可以包括在基帶中或者作為載波一部分傳播的數據訊號,其中承載了計算機可讀的程式代碼。這種傳播的數據訊號可以採用多種形式,可以包括電磁訊號、光訊號或上述的任意合適的組合。計算機可讀的訊號介質還可以是計算機可讀儲存介質以外的任何計算機可讀介質,該計算機可讀介質可以發送、傳播或者傳輸用於由指令執行系統、裝置或者器件使用或者與其結合使用的程式。 The computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. The transmitted data signal can take many forms, including electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium. The computer-readable medium can send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device .
計算機可讀介質上包含的程式代碼可以用任何適當的介質傳輸,可以包括無線、電線、光纜、無線電頻率(RadioFrequency,RF)等等,或者上述的任意合適的組合。 The program code contained on the computer-readable medium can be transmitted by any suitable medium, which can include wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
可以以一種或多種程式設計語言或其組合來編寫用於執行本發明操作的計算機程式代碼,所述程式設計語言包括面向對象的程式設計語言一諸如Java、Smalltalk、C++,還包括常規的過程式程式設計語言一諸如「C」語言或類似的程式設計語言。程式代碼可以完全地在用戶計算機上執行、部分地在用戶計算機上執行、作為一個獨立的軟體包執行、部分在用戶計算機上部分在遠程計算機上執行、或者完全在遠程計算機或服務器上執行。在涉及遠程計算機的情形中,遠程計算機可以藉由任意種類的網絡--包括LAN或WAN──連接到用戶計算機,或者,可以連接到外部計算機(例如利用因特網服務提供商來藉由因特網連接)。 The computer program code used to perform the operations of the present invention can be written in one or more programming languages or a combination thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages. Programming language-such as "C" language or similar programming language. The program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer via any kind of network-including LAN or WAN-or it can be connected to an external computer (for example, using an Internet service provider to connect via the Internet) .
Claims (11)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010431747.8 | 2020-05-20 | ||
CN202010431747.8A CN111614373B (en) | 2020-05-20 | 2020-05-20 | Spread spectrum signal transmission method, spread spectrum signal reception method, spread spectrum signal transmission device, spread spectrum signal reception device, and spread spectrum signal reception medium |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI722942B true TWI722942B (en) | 2021-03-21 |
TW202145732A TW202145732A (en) | 2021-12-01 |
Family
ID=72198544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109124308A TWI722942B (en) | 2020-05-20 | 2020-07-17 | Spread spectrum signal sending method, spread spectrum signal receiving method, device, equipment and medium |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN111614373B (en) |
TW (1) | TWI722942B (en) |
WO (1) | WO2021232566A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112788631B (en) * | 2021-01-26 | 2022-09-30 | 北京升哲科技有限公司 | Information transmission method and device, communication equipment and storage medium |
CN112926024B (en) * | 2021-01-26 | 2023-08-15 | 北京升哲科技有限公司 | Hadamard quadrature modulation signal generation method, device, terminal and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5619524A (en) * | 1994-10-04 | 1997-04-08 | Motorola, Inc. | Method and apparatus for coherent communication reception in a spread-spectrum communication system |
US6330291B1 (en) * | 1996-03-29 | 2001-12-11 | Qualcomm Inc. | Frequency tracking for communication signals using M-ary orthogonal walsh modulation |
CN102143117A (en) * | 2011-03-31 | 2011-08-03 | 福州大学 | Time-frequency synchronization joint estimation method based on multi-carrier receiver of digital television media broadcast (DTMB) system |
CN103686981A (en) * | 2012-09-04 | 2014-03-26 | 联芯科技有限公司 | Multi-standby or multi-pass mobile terminal and frequency deviation adjusting method thereof |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2785118B1 (en) * | 1998-10-26 | 2004-06-18 | Cit Alcatel | CHANNEL ACQUISITION AND TRACKING MODULE FOR A RADIOCOMMUNICATION SYSTEM |
CN1913409B (en) * | 2005-08-08 | 2011-09-07 | 都科摩(北京)通信技术研究中心有限公司 | Goupling Hadamard code generating method and device |
CN101030789A (en) * | 2007-04-11 | 2007-09-05 | 孙晓博 | Method for constructing orthogonal code |
CN101667844B (en) * | 2008-09-04 | 2012-12-19 | 傲世通科技(苏州)有限公司 | Device and method for serial descrambling and de-spreading of mobile communication system |
CN101902244B (en) * | 2009-05-27 | 2013-08-28 | 北京威讯紫晶科技有限公司 | Method for spreading spectrum and decoding in short-range wireless network |
CN101902425A (en) * | 2009-05-27 | 2010-12-01 | 北京威讯紫晶科技有限公司 | Method for synchronizing time and carrier frequency in short-range wireless network |
CN102111239B (en) * | 2010-12-27 | 2013-10-16 | 电子科技大学 | Cascading Hadamard code-aided carrier synchronization method under extremely low signal to noise ratio (SNR) |
CN103326980B (en) * | 2012-03-23 | 2016-04-20 | 联芯科技有限公司 | OFDM system residual frequency offset tracking and device |
CN102833209B (en) * | 2012-09-21 | 2015-04-29 | 哈尔滨工业大学 | CDMA (code division multiple access) communication method |
CN106850498A (en) * | 2017-02-05 | 2017-06-13 | 苏州维特比信息技术有限公司 | Digital front-end device and signal processing method |
US11212151B2 (en) * | 2017-08-23 | 2021-12-28 | Qualcomm Incorporated | User multiplexing for uplink control information |
CN108040027B (en) * | 2017-12-06 | 2020-11-27 | 中山大学 | OOFDM modulation method of VLC system based on Hadamard matrix amplification |
CN108712190B (en) * | 2018-04-25 | 2020-10-27 | 西安宇飞电子技术有限公司 | Multi-carrier tracking method and tracking device |
CN109936393B (en) * | 2019-02-28 | 2020-06-19 | 北京航空航天大学 | Synchronization method and device suitable for extremely low receiving rate |
-
2020
- 2020-05-20 CN CN202010431747.8A patent/CN111614373B/en active Active
- 2020-07-14 WO PCT/CN2020/101783 patent/WO2021232566A1/en active Application Filing
- 2020-07-17 TW TW109124308A patent/TWI722942B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5619524A (en) * | 1994-10-04 | 1997-04-08 | Motorola, Inc. | Method and apparatus for coherent communication reception in a spread-spectrum communication system |
US6330291B1 (en) * | 1996-03-29 | 2001-12-11 | Qualcomm Inc. | Frequency tracking for communication signals using M-ary orthogonal walsh modulation |
CN102143117A (en) * | 2011-03-31 | 2011-08-03 | 福州大学 | Time-frequency synchronization joint estimation method based on multi-carrier receiver of digital television media broadcast (DTMB) system |
CN103686981A (en) * | 2012-09-04 | 2014-03-26 | 联芯科技有限公司 | Multi-standby or multi-pass mobile terminal and frequency deviation adjusting method thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2021232566A1 (en) | 2021-11-25 |
CN111614373B (en) | 2021-08-10 |
CN111614373A (en) | 2020-09-01 |
TW202145732A (en) | 2021-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102790999B (en) | A kind of data compression, transmission, reception and decompression method and related device | |
TWI722942B (en) | Spread spectrum signal sending method, spread spectrum signal receiving method, device, equipment and medium | |
RU2257011C2 (en) | Device and method for demodulation in communication system, using hexadecimal quadrature amplitude modulation | |
CN112713912B (en) | Spread spectrum index modulation and demodulation communication method, transmitter, receiver and storage medium | |
KR100450949B1 (en) | Soft decision value calculating apparatus and method of channel decoder in data communication system | |
CN112929904B (en) | Information transmission method and device, communication equipment and storage medium | |
CN111404853A (en) | Carrier frequency offset estimation method, device and computer storage medium | |
WO2021243799A1 (en) | Signal detection and acquisition method and device, receiver, and storage medium | |
CN110602012B (en) | Low-complexity 16APSK demapping method and circuit | |
AU2002329092A1 (en) | Apparatus and method for calculating soft decision value input to channel decoder in a data communication system | |
EP2978266A1 (en) | Methods and apparatus for low power operation utilizing multiple adcs with different precisions | |
CN112671430B (en) | Code division multiplexing spread spectrum index modulation and demodulation communication method, transmitter and receiver | |
CN112202694B (en) | Estimation method and system of frequency offset value based on signal reconstruction | |
US9172413B2 (en) | Method and apparatus for performing wireless communications with aid of successive data processing in multiple iterations | |
US7457357B2 (en) | Decision feedback equalizer design with interference removal and reduced error propagation | |
US20230198703A1 (en) | Wireless Communication Method and Apparatus | |
US20080152041A1 (en) | Method and device for decoding a signal | |
CN112788631B (en) | Information transmission method and device, communication equipment and storage medium | |
JP3839569B2 (en) | Unique word detection method | |
KR100842817B1 (en) | Low complexity mimo receiver using minimum distance searching algorithm(mdsa) | |
CN105871505B (en) | Multidimensional code processing method, sending end, receiving end and system | |
CN111654349B (en) | Frame synchronization method and system | |
CN113395229B (en) | Coherent demodulation method and device suitable for pi/4-DQPSK and readable storage medium | |
CN112104440B (en) | Communication signal processing method and wireless communication system | |
CN108259045B (en) | Signal transmission method, signal receiving method, transmitting device and receiving device |