在MISO W-CDMA 系統中,吾人利用 USB 2.0 模組來傳輸影像或檔案資料,搭配著 CCD 及本實驗室所開發之影像傳輸介面,透過 CCD 所擷取到的影像,會分解成資料流,
經由 DSP 將影像資料送入收發機中,其架構如圖 4.29。在影像傳輸介面上,並有計算收 發影像錯誤率的功能,使吾人可得知,不同的通道以及不同的天線數目,對本系統的影響 程度為何。吾人做了以下二種測試,第一種是在NLOS 的通道影響下使用八根天線產生二 組波束,其錯誤率為1.86 10× −3(圖4.30);第三種是使用單根天線傳送,單根天線接收的 情形下,其錯誤率為1.13 10× −2(圖4.31)。由以上的測試結果可知,在不增加接收機的複 雜度前題下,使用智慧型天線的技術,可大幅度的提昇系統效能。
MUXMUX
MUXMUX
RRCRRC
STBC &
spreading STBC &
spreading
RRCRRC t2 MUXMUX
MUXMUX
RRCRRC
STBC &
spreading STBC &
spreading
RRCRRC t2
RRCRRC
Time/Frequency
Estimation Space Time Block Decoder
&
RAKE Receiver Space Time
Block
FPGA MP3C Traffic
Despread Traffic Despread
DSP Finger search
Code tracking AFC Finger search Code tracking
AFC
Estimated Traffic Data
Estimated Traffic Data
RRCRRC
Time/Frequency
Estimation Space Time Block Decoder
&
RAKE Receiver Space Time
Block
FPGA MP3C Traffic
Despread Traffic Despread
DSP Finger search
Code tracking AFC Finger search Code tracking
AFC
Estimated Traffic Data
Estimated Traffic Data
圖4.2 MISO W-CDMA 接收端之電路架構圖
圖4.3 超取樣示意圖,超取樣率4
Matched Filter
Matched Filter
Matched Filter
Matched Filter
Comparator Maximum
Selector Counter Duel Port RAM
Oversampling #1
Oversampling #2
Oversampling #3
Oversampling #4
DSP
frame start timing Matched
Filter
Matched Filter
Matched Filter
Matched Filter
Comparator Maximum
Selector Counter Duel Port RAM
Oversampling #1
Oversampling #2
Oversampling #3
Oversampling #4
DSP
frame start timing
圖4.4 碼擷取單元電路方塊圖
Maximum value of match filter output Maximum value of
match filter output
圖4.5 匹配濾波器輸出之時序圖,圖中所圈點為匹配濾波器之最大輸出值
41 chips
Oversampling #1 correlation
Oversampling #2 correlation
Oversampling #3 correlation
Oversampling #4 correlation
Max. value
41 chips
Oversampling #1 correlation
Oversampling #2 correlation
Oversampling #3 correlation
Oversampling #4 correlation
Max. value
Oversampling #1 correlation Oversampling #1
correlation
Oversampling #2 correlation
Oversampling #3 correlation
Oversampling #4 correlation
Max. value
圖4.7 匹配濾波器資料輸出示意圖,為匹配濾波器最大值發生時間點前後各二十碼片
Spreading Code Generator
( )2
∫ •
Loop
Filter Decision
⎟⎠
Spreading Code Generator
( )2
∫ ( )• 2
∫ •
Loop
Filter Decision
⎟⎠
Start
DSP read pilot channel
set k=0
Summation of time slot k of early pilot channel
Sk
loopfilter+ 1
Summation of time slot k of late pilot channel
S’k
loop_filter=
loopfilter- 1
k=15?
Loop_filter > Q+
Loop_filter < Q
-advance frame strobe 1/4 chip
delay frame strobe 1/4 chip
maintain frame strobe Yes
DSP read pilot channel
set k=0
Summation of time slot k of early pilot channel
Sk
loopfilter+ 1
Summation of time slot k of late pilot channel
S’k
loop_filter=
loopfilter- 1
k=15?
Loop_filter > Q+
Loop_filter < Q
-advance frame strobe 1/4 chip
delay frame strobe 1/4 chip
maintain frame strobe Yes
圖4.11 DSP 讀入延遲特徵資料圖,使用 LOS 通道資料,一個延遲路徑
圖4.12 FPGA 各路徑訊框觸發訊號時序圖,FG1_MAIN_RST 與 FG2_MAIN_RST 表示 兩條路徑之訊框起點
圖4.13a Core Generator 所產生之正弦訊號圖,其頻率約為 40KHz
4.13b Core Generator 所產生之餘弦訊號圖,其頻率約為 40KHz
Complex Conjugate Ts
DPCCH Frequency
Offset
Complex Conjugate Ts
DPCCH Frequency
Offset
CNT_TRIGER THETA_CNT
SIN LUT
COS LUT DSP freq_idx
freq_idx
clock = 15.36 MHz
SIN wave output
COS wave output
qin
CNT_TRIGER THETA_CNT
SIN LUT
COS LUT DSP freq_idx
freq_idx
clock = 15.36 MHz
SIN wave output
COS wave output
qin
圖4.1 頻率補償器方塊圖
+
chip_str coef_in
x[m]
chip_str coef_in
x[m]
chip_str coef_in
x[m]
chip_str coef_in
x[m]
圖4.17a I 通道引導符元輸出圖
圖4.17b Q通道引導符元輸出圖
RRCRRC
RRCRRC Frequency
R6 R5
R4 R3
R2 R1
R0
G0
G1 Input
R6 R5
R4 R3
R2 R1
R0
G0
G1 Input
圖4.20 迴旋編碼器架構圖,編碼率為1/2
圖4.21 使用迴旋編碼器之效能模擬圖
00
01 00
01
10
11 10
11
00
01 00
01
10
11 10
11
圖4.22a 4 個狀態之 trellis 圖
00
10 00
01
01
11 10
11
00
10 00
01
01
11 10
11
圖4.22b 重新編排 4 個狀態之 trellis 圖,此為蝴蝶架構
S0= 000000
Decision: 1 Decision: 0 S0= 0 0 0 0 0 0
Decision: 1 Decision: 0 S0= 0 0 0 0 0 0
R0 R1 R2 R3 R4 R5
S0= 0 0 0 0 0 0 R0 R1 R2 R3 R4 R5
圖4.23 64 狀態之蝴蝶架構圖,其狀態為前 6 個移位暫存器 R0~R5 之值
Compare Select
PM +BM[ 1, or +32]tk1 k i i
Add
PMit+1
Dit+1 PM +BM[ 2, or +32]kt2 k i i
Compare Select
PM +BM[ 1, or +32]tk1 k i i
decode period merge period
圖4.25 迴旋碼解碼器之回溯兩階段示意圖
1
2
37
0 64 128 2304 2368 2400
received symbol
38
…
…
1
2
37
0 64 128 2304 2368 2400
received symbol
38
…
…
圖4.26 迴旋碼解碼器之回溯次數與時間關係圖
0 1 5
S128=A A A
128
128 0 4
S127=DS A A
127 128
127 128 0 3
Start traceback
0 1 5
S128=A A A
128
128 0 4
S127=DS A A
127 128
127 128 0 3
Start traceback
圖4.27 迴旋碼解碼器之回溯流程圖,第128 個符元開始第一次回溯,其後每增加 64 個 符元回溯一次
ACS 0 ACS 1 GeneratorBM
ACS 0 ACS 1
Traceback Block
PM Register PE0
PE15
…
Input Data
Decode Data
Decision Memory ACS 0
ACS 1 GeneratorBM
ACS 0 ACS 1
Traceback Block
PM Register PE0
PE15
…
Input Data
Decode Data
Decision Memory
圖4.28 迴旋碼解碼器架構圖
PC1PC1
CCDCCD
CCDCCD Controller
Processor DSPDSP Processor
FPGAFPGA Processor JTAGJTAG
Tx Tx/Rx/Rx 1
1 KbyteKbyte/Packet /Packet Initial Initial USB Parameter USB Parameter
Setting Setting Tx
Tx/Rx/Rx 1
1 KbyteKbyte/Packet/Packet
Aptix AptixSystemSystem
Captured Captured about 200
about 200 KbyteKbyte/Picture/Picture
Display Display
PC2PC2 PC1PC1
CCDCCD
CCDCCD Controller DisplayVideoVideo Display Display
FPGA FPGA Processor
Processor DSPDSP Processor Processor
DSPDSP Processor
FPGAFPGA Processor JTAGJTAG
Tx Tx/Rx/Rx 1
1 KbyteKbyte/Packet /Packet Initial Initial USB Parameter USB Parameter
Setting Setting Tx
Tx/Rx/Rx 1
1 KbyteKbyte/Packet/Packet
Aptix AptixSystemSystem
Captured Captured about 200
about 200 KbyteKbyte/Picture/Picture
Display Display
PC2PC2
圖4.29 CCD 影像傳輸架構圖
圖4.30 使用八根傳送天線及波束形成器之動態影像傳輸圖,其BER 為 1.86x10-3
圖4.31 使用單根傳送天線之動態影像傳輸圖,其BER 為 1.13x10-2
表4.1 各功能單元之FPGA 使用率對照表
表4.2 各功能單元之DSP 讀取與運算時間對照表
功能單元 FPGA Slice 使用數目 等效邏輯閘數目
碼擷取單元 5,015 188,253
碼追蹤單元 331 5,992
解展頻電路 4,584 910,717
頻率估計單元 220 4,484
空-時解碼器電路 960 1,932
迴旋碼解碼器電路 22,400 228,452
功能單元 DSP 讀取資料時間 DSP 運算時間
路徑搜尋單元 91 us 30 us
碼追蹤單元 1,776 us 554 us
頻率控制單元 888 us 1,398 us
表4.3 MISO W-CDMA 收發機系統環境參數表 W-CDMA 下鏈路系統系統參數定義
訊框大小 38400 38400
符元長度 2400 2400
傳送端 1 8
天線
數目 接收端 1 1
系統時脈 15.36MHz 15.36MHz
通道編碼 迴旋碼,編碼率為1/2 迴旋碼,編碼率為1/2
調變模式 QPSK QPSK
五、結論
以 W-CDMA 為核心技術之第三代無線通訊,已無法滿足未來多媒體通訊之頻寬需求,
因此下一世代之無線通訊研究與發展,將由第三代無線通訊為基礎,結合了智慧型天線及 高速下鏈封包交換之技術,有效地提升系統容量與傳輸速率,以滿足未來多媒體傳輸之需 求。
在本計畫中,吾人利用 Aptix MP3C 快速雛型發展平台實現 MISO W-CDMA 收發機架 構。在傳送端部分,其通道結構包含資料通道DPDCH、同步通道 SCH 及引導通道 DPCCH。
資料通道從DSP 端傳送,經由 FPGA 編碼、交錯、空-時區塊編碼、展頻及波束形成器處 理之資料;同步通道利用了64 碼片的 PN 碼,使用碼擷取單元估出粗略的訊框起始位置;
引導通道則在傳送用以碼追蹤及頻率同步之引導資料。而在接收端部分,首先用匹配濾波 器得到延遲特徵資料,由DSP 分析各路徑起始點,接著碼追蹤迴路會在每一個訊框時間追 蹤一次路徑位置,且產生相對應的訊框觸發訊號,之後利用此觸發訊號啟動解展頻電路,
得到DPDCH 與 DPCCH 之解展頻符元。DPCCH 的輸出符元即為通道估計的資料,先利用 DPCCH 中引導符元之相位變化估計出頻率偏移量,並在 FPGA 補償回接收端以消除頻率 偏移,之後啟動空-時解碼器電路再由犁耙接收器合成不同路徑的資料符元輸出,通過解 交錯及迴旋解碼器之後,即為資料通道的估計值。
吾人所建立之 MISO W-CDMA 收發機,利用 Aptix® System Explorer MP3C 快速雛型 發展平台整合 DSP、FPGA 及 USB 模組,做為基頻訊號之處理單元。由於 DSP 有著強大 的運算能力,並使用 C 語言為開發工具,故吾人將核心演算法置於 DSP 中,如碼擷取、
路徑搜尋、碼追蹤與頻率估計等,減少以電路實現演算法中複雜的數學函式,這樣一來,
可以加速系統開發進度。而FPGA 部分,利用其高執行效率、低耗電量及可程式化之特性,
實現功能單純及運算繁複之電路,如時序同步電路、自動頻率控制電路、解展頻電路、空
-時解碼電路及迴旋解碼電路,並在硬體實現過程中,將電路予以模組化設計,可以根據 DSP 運算後回傳之參數,進行同步、頻率補償等動作。此種電路整合架構提供很大的自由 度,以利於未來系統之擴充及縮短開發時程,並使用USB 來傳輸即時動態影像及檔案,更 能夠增加系統之彈性及可適性。而在全系統設計的考量下為了達到系統最佳化之設計,在 FPGA 及 DSP 實現之分配上則必須以 FPGA 之電路面積及 DSP 之運算時間作適當的取捨,
使用最小的FPGA 電路面積下達到所需的系統速度,以符合本系統設計的原則。
在未來的無線通訊系統中,將會整合各種不同之通訊規範,以同時服務使用不同資料 速率、頻寬及功率之用戶。為了達到上述目標,吾人引入軟體無線電之設計概念,藉由參 數及功能模組切換之特性,以提供更豐富之數位資訊服務。因此,吾人所發展之 MISO W-CDMA 高速下鏈系統,若套用軟體無線電之特點,將更有效地進行實體層與網路鏈結層 之共同設計,如適應性調變及編碼(Adaptive Modulation and Coding, AMC)及混合重送機制 (H-ARQ),前者可對於不同的通道環境,給予不同的資料傳輸速率,後者則可針對傳送錯 誤進行更正或重傳。藉此整合,吾人所發展之系統,必能滿足未來行動通訊不同的業務需 求及QoS (Quality of Service)的要求。
參考文獻
[1] S. M. Alamouti, “A simple transmit diversity technique for wireless communicatoins,”
IEEE Trans. Commun. vol. 16, no.8, pp. 1451-1458, Oct. 1998.
[2] 3
rd
Generation Partnership Project (3GPP), Technical Specification.
[3] 林傳生,使用VHDL電路設計語言之數位電路設計,儒林,2000.
[4] J. Bhasker, A VHDL Primer, Prentice Hall, 1998.
[5] 國家晶片系統設計中心, Xilinx (PC), July 2000.
[6] J. Mitola, Software radio architecture, A Wiley-Intersceience Publication, 2000.
[7] H. Holma and A. Toskala, WCDMA for UMTS: Radio Access for Third Generation Mobile Communications, John Willy & Sons, 2000.
[8] A. J. Viterbi, DS-CDMA: Principles of Spread Spectrum Communications, Addison-Weslley, 1995.
[9] G. J. Foschini, “Layered space–time architecture for wireless communication in a fading environment when using multiple antennas,” Bell Labs Syst. Tech. J., vol. 1, pp. 41-59, Autumn 1996.
[10] G. J. Foschini and M. J. Gans, “On limits of wireless communications in a fading environment when using multiple antennas,” Wireless Personal Commun., vol. 6, no. 3, pp.
311-335, 1998.
[11] A. F. Naguib and R. Calderbank, “Space-time coding and signal processing for high data rate wireless communications,” Wirel. Commun. Mob. Comput., pp. 13-34, 2001.
[12] A. J. Paulraj and C. B. Papadias, “Space-time processing for wireless communications,”
IEEE Signal Processing Magazine, vol. 14, pp. 49-83, Nov. 1997.
[13] Almeida N.T. and Abrantes S.A., “A novel approach to ARQ error control mechanisms for wireless LANs communications,"25th Annual IEEE Conference, Tampa, USA, Nov 2000.
[14] Haykin, S., Communication Systems, 4th ed., John Wiley and Sons, New York, 2000.
[15] Sklar, B., Digital Communications, 2nd ed., Prentice-Hall, Upper Saddle River, NJ, 2001.
[16] Dalia Lashin and Barry Cisneros, System Explorer MP3C Reference Guide, Aptix Inc., 1999.
[17] Taxes Instrument, TMS320C6701 FLOATING-POINT DIGITAL SIGNAL PROCESSING, sprs067e, May, 2001.
[18] Taxes Instrument, TMS320C6000 Peripherals Reference Guide, spru190d, February, 2001.
[19] Taxes Instrument, TMS320C6000 Programmer’s Guide, spru198g, Aug. 2002.
[20] Taxes Instrument, TMS320C6000 Optimizing Compiler User’s Guide, spru187k, Oct.
2002.
[21] Taxes Instrument, Code Composer Studio Getting Started Guide, spru509, May 2001.
[22] Cypress Semiconductor Corporation, CY7C68013 / EZ-USB FX2 USB Microcontroller / High-Speed USB Peripheral Controller, June 2002.
[23] Xilinx, Inc. 2100 Logic Drive, Sine/Cosine Look Up Table V1.0.2, October 15, 1999.
[24] Chao-Yao Huang, DSP and FPGA realization of timing and frequency of synchronizers for W-CDMA space-time receiver, NCTU MS. Thesis, June 2002.
[25] Wen-Chi Lin, FPGA and DSP Realization of W-CDMA Channel Decoder and Space-Time RAKE receiver, NCTU MS. Thesis, June 2002.