4.6K
PRBS(Psuedo Random Binary Sequence)訊號在SI領域裡被廣泛應用當作一個訊號源,這個訊號源包含了隨機產生的0與1,這些不同的0與1的編排將會給通道帶來不一樣的激勵,產生各式各樣的響應,工程師可以藉由這些不同的響應來組合出眼圖進而判別通道的好與壞。今天我們就從SI角度切入來簡單介紹PRBS這個常見的訊號源!
PRBS,其中文名稱叫做偽亂數二進位數列,也就是說它是一個”假”的隨機的數列,它並沒有辦法產生一個真正隨機的訊號,而是有規律的隨機訊號。
要知道PRBS怎麼產生訊號首先我們要先知道什麼是LFSR(Linear Feedback Shift Register)。下圖是一個常見的LFSR架構(X7+X6+1=0),中間的每一個方框各代表一個暫存器,只儲存0或1的資料。
有兩個很重要的參數需要被設定:
1.Seed:是暫存器的初始值(Initial Value),為一個二進位值,以下圖來看暫存器資料由左至右為0000001,則此時Seed為1。
2.tap:LFSR會輸出最後一個暫存器的值,並且將有設定tap的暫存器做XOR運算並反饋回第一個暫存器,以下圖來看即為6與7。
現在我們得到此LFSR將輸出1並且將0與1進行XOR運算得到1反饋回第一個暫存器。
此時暫存器有1000000數列,並輸出0。
在下個時間點,暫存器將有0100000數列,並輸出0。
在第2n-1(n為LFSR的暫存器數量,此為7)的資料輸出後,暫存器的資料將回到初始值的0000001,此時波形開始重覆!
因為波形會有重覆,所以這就是為什麼我們會說PRBS是”偽”隨機的用意,它並不是真正的隨機碼型,而是有條件的隨機,這個條件就在於LFSR暫存器的多寡,越多的暫存器將產生越多不同種的碼型。
第二個說它是”偽”隨機的原因是他無法產生與暫存器同數量的0,以上述例子來說,此LFSR暫存器無法產生連續7個0,但卻可以產生連續7個1,這代表著平均來說0永遠比1還少,想當然爾也不是隨機的!
下圖是我用HSPICE以上述例子跑一個PRBS訊號出來的結果,UI為200ps,各位可以算看看囉!







7 comments
Mgamebet07… never heard of ’em! But hey, gotta stay open-minded, right? Could be a hidden gem. I’ll have a peek, report back if I find anything worthwhile. mgamebet07
Alright guys, heard about phswerteph. Seems promising. I’ll take a gamble haha. You also wanna try? phswerteph
Yo, check out tojay! It’s pretty slick. Heard some good things about their platform. Makes things simple, you know? Definitely worth a look. tojay
Hey, 23betapp, never heard of that one before but sounds interesting. Gotta try it out. Let’s see what the excitement is. 23betapp
Hey guys, was browsing g888 and found some interesting stuff. The site design is pretty slick and easy to navigate. Might be worth a look if you’re bored. Definitely giving it a thumbs up. g888
Yo! 98usdtopkr – interesting domain name. Testing it out. So far, so good. If you’re feeling lucky, maybe give it a spin. Explore 98usdtopkr.
Yo, struggled with the 1winlogin for a sec, this site helped me out. Finally got in! Give it a shot: 1winlogin