»ùÓÚMATLABµÄÀ©ÆµÍ¨ÐÅϵͳ·ÂÕæÂÛÎÄ ÏÂÔر¾ÎÄ

±ÏÒµÂÛÎÄ

»ùÓÚMATLABµÄÀ©ÆµÍ¨ÐÅϵͳ·ÂÕæ

»ùÓÚMATLABµÄÀ©ÆµÍ¨ÐÅϵͳ·ÂÕæ

Õª Òª

±¾ÎIJûÊöÁËÀ©Õ¹ÆµÆ×ͨÐż¼ÊõµÄÀíÂÛ»ù´¡ºÍʵÏÖ·½·¨£¬ÀûÓÃMATLABÌṩµÄ¿ÉÊÓ»¯¹¤¾ßSIMULINK½¨Á¢ÁËÀ©ÆµÍ¨ÐÅϵͳ·ÂÕæÄ£ÐÍ£¬Ïêϸ½²ÊöÁ˸÷Ä£¿éµÄÉè¼Æ£¬²¢Ö¸³öÁË·ÂÕ潨ģÖÐҪעÒâµÄÎÊÌâ¡£ÔÚ¸ø¶¨·ÂÕæÌõ¼þÏ£¬ÔËÐÐÁË·ÂÕæ³ÌÐò£¬µÃµ½ÁËÔ¤ÆڵķÂÕæ½á¹û¡£Í¬Ê±£¬ÀûÓý¨Á¢µÄ·ÂÕæϵͳ£¬Ñо¿ÁËÀ©ÆµÔöÒæÓëÊä³ö¶ËÐÅÔë±ÈµÄ¹Øϵ£¬½á¹û±íÃ÷£¬ÔÚÏàͬÎóÂëÂÊÏ£¬Ôö´óÀ©ÆµÔöÒ棬¿ÉÒÔÌá¸ßϵͳÊä³ö¶ËµÄÐÅÔë±È£¬´Ó¶øÌá¸ßͨÐÅϵͳµÄ¿¹¸ÉÈÅÄÜÁ¦¡£

¹Ø¼ü´Ê À©ÆµÍ¨ÐÅ, ÐÅÔë±È£¬ ÎóÂëÂÊ

Simulation of the Spread Spectrum Communication System Based

on MATLAB

Author: Guo Jian Tutor: Tang Hailing

Abstract

The theory base and realizing methods of the spread spectrum communication technology was presented in this study. The simulation model of the spread spectrum communication system was built by using SIMULINK, which is provided by MATLAB. In addition, each module of the simulation model was introduced in detail£¬and pointed out the problems that must be pay attention to in the system simulation. On the basis of the designed simulation conditions, the simulation program was run and the anticipant results were gained. Moreover, the relationship between the spread spectrum gain and the fan-out error rate was also studied by use of the simulation system. The results showed that on the base of the same error rate, if the spread spectrum gain was enlarged, the Signal-to-Noise of the system fan-out would be enhanced and the anti-jamming capability of the communication system would also be enhanced.

Keywords: spread spectrum communication, Signal-to-Noise, error rate

Ŀ¼

1.Ð÷ÂÛ .............................................................................................................................................. 1

1.1 À©Õ¹ÆµÆ×¼ò½é ................................................................................................................... 1 1.2 À©Õ¹ÆµÆ×¼¼ÊõÌصã ........................................................................................................... 1 1.3 Ñо¿À©ÆµÍ¨ÐŵÄÄ¿µÄºÍÒâÒå ......................................................................................... 2 1.4 ±¾ÎĵÄÖ÷ÒªÄÚÈÝ ............................................................................................................... 2 2.À©Õ¹ÆµÆ×¼¼Êõ ............................................................................................................................... 3

2.1 ÀíÂÛ»ù´¡ ........................................................................................................................... 3 2.2 ƵÆ×µÄÀ©Õ¹ÊµÏÖ ............................................................................................................... 4 2.3 mÐòÁÐ ................................................................................................................................ 5 2.5 ±¾ÕÂС½á ........................................................................................................................... 8 3.SIMULINKÄ£Ðͽ¨Á¢ ..................................................................................................................... 9

3.1 Ëæ»úÕûÊý·¢ÉúÆ÷£¨Random Integer genarator£© ....................................................... 9 3.2 PNÐòÁз¢ÉúÆ÷£¨PN Sequence Generator£© .............................................................. 10 3.3 ×îСÏàÒƼü¿Øµ÷ÖÆ£¨M-PSK Modulator Passband£© ................................................. 11 3.4 ¼ÓÐÔ¸ß˹°×ÔëÉùÐŵÀ£¨AWGN Channel£© ..................................................................... 11 3.5 ×îСÏàÒƼü¿Ø½âµ÷ £¨M-PSK Demodulator Passband£© ........................................... 12 3.6 ÎóÂëÂÊ·ÖÎöÒÇ£¨Error Rate Calculation£© ............................................................. 12 3.7 ÆäËûÉèÖà ......................................................................................................................... 13

3.7.1 RELAY µÄÉèÖà ..................................................................................................... 13 3.7.2 productµÄÉèÖà .................................................................................................. 14 3.7.3 display µÄÉèÖà ................................................................................................. 14 3.7.4 ƵÆ×·ÖÎöÒÇ£¨spectrum scope£©µÄÉèÖà ......................................................... 14

4.·ÂÕæ½á¹ûÓë·ÖÎö ......................................................................................................................... 16

4.1 Simulink·ÂÕæ½á¹û .......................................................................................................... 16 4.2 Simulink·ÂÕæ½á¹û·ÖÎö ................................................................................................... 18 4.3 mÎļþµÄ·ÂÕæ½á¹û ........................................................................................................ 19 4.4 mÎļþµÄ·ÂÕæ½á¹û·ÖÎö ................................................................................................ 20 5.½áÂÛ ............................................................................................................................................ 21 ÖÂл ................................................................................................................................................ 22 ²Î¿¼ÎÄÏ×......................................................................................................................................... 23 ¸½Â¼ ................................................................................................................................................ 24