TWI824191B - Computer program product and method and apparatus for adjusting equalization - Google Patents
Computer program product and method and apparatus for adjusting equalization Download PDFInfo
- Publication number
- TWI824191B TWI824191B TW109137353A TW109137353A TWI824191B TW I824191 B TWI824191 B TW I824191B TW 109137353 A TW109137353 A TW 109137353A TW 109137353 A TW109137353 A TW 109137353A TW I824191 B TWI824191 B TW I824191B
- Authority
- TW
- Taiwan
- Prior art keywords
- equalizer
- mentioned
- output
- eye
- processing unit
- Prior art date
Links
- 238000004590 computer program Methods 0.000 title claims abstract description 11
- 238000000034 method Methods 0.000 title claims description 27
- 238000012545 processing Methods 0.000 claims abstract description 48
- 230000007246 mechanism Effects 0.000 abstract description 7
- 238000012937 correction Methods 0.000 abstract description 6
- 239000000945 filler Substances 0.000 abstract description 5
- 238000001514 detection method Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 30
- 230000005540 biological transmission Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 6
- 238000013507 mapping Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000004809 thin layer chromatography Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Circuit For Audible Band Transducer (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Networks Using Active Elements (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
Abstract
Description
本發明涉及儲存裝置,尤指一種均衡調整的電腦程式產品及方法以及裝置。The present invention relates to a storage device, and in particular, to a computer program product, method and device for balance adjustment.
快閃記憶裝置通常分為NOR快閃記憶裝置與NAND快閃記憶裝置。NOR快閃記憶裝置為隨機存取裝置,主機端(Host-side)可於位址腳位上提供任何存取NOR快閃記憶裝置的位址,並及時地從NOR快閃記憶裝置的資料腳位上獲得儲存於該位址上的資料。相反地,NAND快閃記憶裝置並非隨機存取,而是序列存取。NAND快閃記憶裝置無法像NOR快閃記憶裝置一樣,可以存取任何隨機位址,主機端反而需要寫入序列的位元組(Bytes)的值到NAND快閃記憶裝置中,用以定義請求命令(Command)的類型(如,讀取、寫入、抹除等),以及用在此命令上的位址。位址可指向一個頁面(快閃記憶裝置中寫入作業的最小資料塊)或一個區塊(快閃記憶裝置中抹除作業的最小資料塊)。Flash memory devices are generally divided into NOR flash memory devices and NAND flash memory devices. The NOR flash memory device is a random access device. The host-side can provide any address for accessing the NOR flash memory device on the address pin and obtain the data pin of the NOR flash memory device in real time. Get the data stored at that address. In contrast, NAND flash memory devices do not have random access, but sequential access. NAND flash memory devices cannot access any random address like NOR flash memory devices. Instead, the host needs to write a sequence of Bytes values into the NAND flash memory device to define the request. The type of command (such as read, write, erase, etc.), and the address used for this command. The address can point to a page (the smallest block of data for a write operation in a flash memory device) or a block (the smallest block of data for an erase operation in a flash memory device).
主機端與裝置端間在高速傳輸時,例如在高於6Gb/sec的傳輸率上,資料容易受到抖動(Jitter)、母板上的電壓變化、符碼間干擾(Inter-symbol Interference,ISI)的影響而發生錯誤。因此,主機端和裝置端的實體層可配備均衡器(Equalizers),通過均衡調整參數來消除或抑制資料在高速傳輸時的錯誤。根據標準的規範,例如通用快閃記憶儲存(Universal Flash Storage UFS),均衡的調整只能由主機端發動。主機端可能在將傳輸模式切換到高速檔位(例如高速第四檔位,High Speed Gear 4,HS-G4,或更高速的檔位)之前,或者是發現從裝置端接收到資料的錯誤率到達或超過閥值時,發動均衡的調整。然而,在一些情況下,裝置端會比主機端更早發現接收資料的錯誤率已經到達或超過閥值,只依靠主機端來發動均衡的調整將延後修正錯誤的時機。因此,本發明提出一種能夠由裝置端發動的均衡調整的電腦程式產品及方法以及裝置。During high-speed transmission between the host and the device, for example, at a transmission rate higher than 6Gb/sec, data is susceptible to jitter, voltage changes on the motherboard, and inter-symbol interference (ISI). The error occurs due to the influence. Therefore, the physical layer on the host side and the device side can be equipped with equalizers (Equalizers) to eliminate or suppress data errors during high-speed transmission by adjusting parameters through equalization. According to standard specifications, such as Universal Flash Storage (UFS), balancing adjustments can only be initiated by the host side. The host may find an error rate in receiving data from the device before switching the transmission mode to a high speed gear (such as High Speed Gear 4, HS-G4, or higher). When the threshold is reached or exceeded, balanced adjustments are initiated. However, in some cases, the device will discover that the error rate of received data has reached or exceeded the threshold earlier than the host. Relying only on the host to initiate balancing adjustments will delay the opportunity to correct errors. Therefore, the present invention proposes a computer program product, method and device that can initiate balance adjustment from the device side.
有鑑於此,如何減輕或消除上述相關領域的缺失,實為有待解決的問題。In view of this, how to alleviate or eliminate the deficiencies in the above-mentioned related fields is a problem that needs to be solved.
本說明書涉及一種均衡調整的電腦程式產品的實施例,包含由儲存裝置的處理單元載入並執行的程式碼:在偵測到符碼解碼錯誤後,反覆調整均衡器的參數,以及不斷輸出填充元給媒體存取控制層,用於取代符碼解碼器的輸出結果,直到調整失敗或者偵測到均衡器輸出的連續波形屬於開眼狀態時為止。This specification relates to an embodiment of a computer program product for equalization adjustment, including a program code loaded and executed by a processing unit of a storage device: after detecting a code decoding error, iteratively adjusts the parameters of the equalizer and continuously outputs padding The element is given to the media access control layer and is used to replace the output result of the code decoder until the adjustment fails or the continuous waveform output by the equalizer is detected to belong to the eye-open state.
本說明書另涉及一種均衡調整方法的實施例,用以於儲存裝置的處理單元載入並執行如上所示的程式碼時實施。This specification also relates to an embodiment of a balance adjustment method, which is implemented when the processing unit of the storage device loads and executes the program code shown above.
本說明書另涉及一種均衡調整裝置的實施例,包含均衡器、符碼解碼器、處理單元、填充元產生器、媒體存取控制層和多工器。符碼解碼器耦接均衡器,用於從均衡器接收主機資料。處理單元耦接均衡器和符碼解碼器,在偵測到從符碼解碼器傳送的符碼解碼錯誤後,反覆調整均衡器的參數,直到調整失敗或者偵測到均衡器輸出的連續波形屬於開眼狀態時為止。多工器包含輸入端和輸出端,輸入端耦接符碼解碼器和填充元產生器,輸出端耦接媒體存取控制層。處理單元在偵測到符碼解碼錯誤後,控制多工器以將填充元產生器連接至媒體存取控制層,用於讓填充元產生器不斷輸出填充元給媒體存取控制層,取代符碼解碼器的輸出結果,直到調整失敗或者偵測到均衡器輸出的連續波形屬於開眼狀態時為止。This specification also relates to an embodiment of an equalization adjustment device, including an equalizer, a code decoder, a processing unit, a stuffing element generator, a media access control layer and a multiplexer. The code decoder is coupled to the equalizer and is used for receiving host data from the equalizer. The processing unit is coupled to the equalizer and the symbol decoder. After detecting the symbol decoding error transmitted from the symbol decoder, the processing unit repeatedly adjusts the parameters of the equalizer until the adjustment fails or it is detected that the continuous waveform output by the equalizer belongs to Until the eyes are open. The multiplexer includes an input terminal and an output terminal. The input terminal is coupled to the symbol code decoder and the filling element generator, and the output terminal is coupled to the media access control layer. After detecting a code decoding error, the processing unit controls the multiplexer to connect the padding element generator to the media access control layer, so that the padding element generator continuously outputs padding elements to the media access control layer to replace symbols. The output result of the code decoder is until the adjustment fails or it is detected that the continuous waveform output by the equalizer belongs to the eye-opening state.
上述實施例的優點之一,通過如上所述的填充元輸出避免媒體存取控制層沒有等待均衡調整的結果而直接觸發主機端發起的錯誤修正機制。One of the advantages of the above embodiment is that the padding element output as described above prevents the media access control layer from directly triggering the error correction mechanism initiated by the host without waiting for the result of the equalization adjustment.
本發明的其他優點將搭配以下的說明和圖式進行更詳細的解說。Other advantages of the present invention will be explained in more detail in conjunction with the following description and drawings.
以下說明為完成發明的較佳實現方式,其目的在於描述本發明的基本精神,但並不用以限定本發明。實際的發明內容必須參考之後的權利要求範圍。The following description is a preferred implementation manner for completing the invention, and its purpose is to describe the basic spirit of the invention, but is not intended to limit the invention. For the actual invention, reference must be made to the following claims.
必須了解的是,使用於本說明書中的”包含”、”包括”等詞,用以表示存在特定的技術特徵、數值、方法步驟、作業處理、元件以及/或組件,但並不排除可加上更多的技術特徵、數值、方法步驟、作業處理、元件、組件,或以上的任意組合。It must be understood that the words "including" and "include" used in this specification are used to indicate the existence of specific technical features, numerical values, method steps, work processes, components and/or components, but do not exclude the possibility of adding further technical features, values, method steps, processes, components, components, or any combination of the above.
於權利要求中使用如”第一”、”第二”、”第三”等詞是用來修飾權利要求中的元件,並非用來表示之間具有優先順序,前置關係,或者是一個元件先於另一個元件,或者是執行方法步驟時的時間先後順序,僅用來區別具有相同名字的元件。The use of words such as "first", "second" and "third" in the claims is used to modify the elements in the claims, and is not used to indicate a priority, precedence relationship between them, or that they are one element. Prior to another element, or the chronological order in which method steps are performed, it is only used to distinguish elements with the same name.
必須了解的是,當元件描述為”連接”或”耦接”至另一元件時,可以是直接連結、或耦接至其他元件,可能出現中間元件。相反地,當元件描述為”直接連接”或”直接耦接”至另一元件時,其中不存在任何中間元件。使用來描述元件之間關係的其他語詞也可類似方式解讀,例如”介於”相對於”直接介於”,或者是”鄰接”相對於”直接鄰接”等等。It must be understood that when an element is described as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, and intervening elements may be present. In contrast, when an element is described as being "directly connected" or "directly coupled" to another element, there are no intervening elements present. Other words used to describe the relationship between elements could be interpreted in a similar fashion, such as "between" versus "directly between," or "adjacent" versus "directly adjacent," etc.
參考圖1。儲存裝置10可設置在電子裝置中,例如,個人電腦、筆記型電腦(Laptop PC)、平板電腦、手機、數位相機、數位攝影機、隨身碟、存儲卡、固態硬碟(Solid State Disk,SSD)等電子產品。儲存裝置10包含實體層(Physical Layer,可簡稱為PHY)110、媒體存取控制層(Media Access Control Layer,可簡稱MAC層)130、處理單元150和中斷產生器170。處理單元150可使用多種方式實施,如使用通用硬體(例如,單一處理器、具平行處理能力的多處理器、圖形處理器或其他具運算能力的處理器),並且在執行軟體以及/或韌體指令時,提供指定的功能。處理單元150可通過實體層110及媒體存取控制層130從主機端接收主機命令,例如符合通用快閃記憶儲存(Universal Flash Storage,UFS)標準的讀取、寫入、抹除命令等。Refer to Figure 1. The
儲存裝置10包含儲存單元(未顯示在圖1),提供大量的儲存空間,通常是數百個千兆位元組(Gigabytes),甚至是數個兆兆位元組(Terabytes),用於儲存大量的使用者資料,例如高解析度圖片、影片等。儲存單元中包含控制電路以及記憶體陣列,記憶體陣列中的記憶單元可包含單層式單元(Single Level Cells,SLCs)、多層式單元(Multiple Level Cells,MLCs)三層式單元(Triple Level Cells,TLCs)、四層式單元(Quad-Level Cells,QLCs)或上述的任意組合。The
實體層110建立在8b/10b、64b/66b或128b/130b串列器/解串器(Serializer/Deserializer,簡稱SerDes)環境上,包含一對功能電路,用來彌補有限輸入/輸出的不足,其提供在差動對上傳輸資料,讓輸入輸出接腳及其間的接線能夠最少。詳細來說,主機的傳送端將低速並行信號轉換為高速串列信號,並經過差動對傳送到儲存裝置10的接收端。實體層110包含解串器124,用於將經由均衡器122收到的高速串列信號轉換為低速並行信號。從主機的傳送端傳送給儲存裝置10的接收端的信號,又可稱為主機資料(Host Data)。The
為了解決主機端與裝置端間在高速傳輸時資料容易受到抖動、母板上的電壓變化、符碼間干擾而產生偏差的技術問題,實體層110在傳輸通道和解串器124之間設置均衡器122。均衡器122包含寄存器1225,讓處理單元150通過設定寄存器1225中的值來調整均衡器122運行時的參數。參考圖2,舉例來說,均衡器122包含第一級連續時間線性均衡器(first-order Continuous Time Linear Equalizer,CTLE)210和一階判決回饋均衡器(1-tap Decision Feedback Equalizer,DFE)230。雖然實施例描述了如圖2所示的均衡器架構,但是所屬技術領域人員可使用其他的公知架構來設計均衡器122,例如均衡器122只包含第一級連續時間線性均衡器210,將第一級連續時間線性均衡器210改為其他等效的連續時間線性均衡器,將一階判決回饋均衡器230改為多階判決回饋均衡器或其他等效的判決回饋均衡器,本發明並不因此受限。In order to solve the technical problem that data is susceptible to deviations caused by jitter, voltage changes on the motherboard, and inter-symbol interference during high-speed transmission between the host and the device, the
CTLE的特性可使用以下轉換函數表示: 其中,ADC 代表DC增益,代表,fz 代表0,fP1 代表第一極點(Pole),fP2 代表第二極點。The characteristics of CTLE can be expressed using the following transformation function: Among them, A DC represents DC gain, represent , f z represents 0, f P1 represents the first pole (Pole), f P2 represents the second pole.
DFE的特性可使用以下公式表示:yk =xk -VDFE_RX yk =xk -d1 sgn(yk-1 ) 其中,yk 代表DFE的輸出電壓訊號,xk 代表輸入到DFE的電壓訊號,VDFE_RX 代表DFE的回饋電壓訊號,k 代表資料位元的取樣索引值,d1 代表DFE的回饋係數。The characteristics of DFE can be expressed by the following formula: y k =x k -V DFE_RX y k =x k -d 1 sgn(y k-1 ) where, y k represents the output voltage signal of DFE, and x k represents the input voltage to DFE Voltage signal, V DFE_RX represents the feedback voltage signal of DFE, k represents the sampling index value of the data bit, and d 1 represents the feedback coefficient of DFE.
實體層110包含眼圖分析器123,處理單元150可發出訊號給眼圖分析器123,用於啟動眼圖分析器123。傳統上,眼圖分析器123使用在工廠中,用於讓工程師校準均衡器122,而不使用在儲存裝置10出廠後的實際運行中。眼圖分析器123計算代表眼圖的數值,並判斷計算出的數值屬於開眼狀態(Eye Open State,如圖3所示)或閉眼狀態(Eye Close State,如圖4所示),而眼圖是一種疊加均衡器122輸出的連續波形所形成的合併圖形。當計算出的數值屬於開眼狀態時,均衡器122輸出的訊號才是可以接受的。當計算出的數值屬於閉眼狀態時,代表均衡器122目前沒有辦法消除干擾而需要進一步調整。為了節省電力消耗,在一般情況下,眼圖分析器123可以是關閉不運行的。處理單元150可視情況發出控制訊號給眼圖分析器123來啟動眼圖分析器123。當眼圖分析器123偵測到均衡器122輸出的連續波形屬於閉眼狀態時,傳送計算出的數值給處理單元150,讓處理單元150據以調整均衡器122。當眼圖分析器123偵測到均衡器122輸出的連續波形屬於開眼狀態時,傳送訊息通知處理單元150目前均衡器122輸出的訊號是能夠接受的。The
實體層110包含符碼解碼器(Symbol Decoder)128,因應不同的SerDes環境,可為8b/10b轉換器(Converter)、64b/66b轉換器或128b/130b轉換器。符碼解碼器128包含映射表,用來將輸入的資料位元轉換為用較少位元表示的碼,例如將輸入的10、66或130位元資料映射成8、64或128位元碼。舉例來說,在8b/10b SerDes環境中,10位元可表示210
=1024個狀態,映射表只包含28
=256個映射關係。當任何輸入的資料位元依據映射表轉換不出任何有效碼時,符碼解碼器128判定輸入的資料位元錯誤,並可設定中斷產生器170中的寄存器,用於通知處理單元150發生符碼解碼錯誤。The
當中斷產生器170中寄存器的內容被改變時,中斷產生器170會發出中斷訊號(Interrupt,簡稱為INT)給處理單元150,用於觸發處理單元150執行中斷服務常式(Interrupt Service Routine)。在中斷服務常式中,處理單元150檢視寄存器的內容,並藉此知道實體層110偵測到的狀態,例如發生符碼解碼錯誤等。當偵測到符碼解碼錯誤時,處理單元150載入並執行適當的韌體程式碼,用於實施本發明實施例的均衡調整方法。When the contents of the register in the interrupt
實體層110包含填充元產生器(Filler Generator)126,用於產生連續性的填充元,例如K.28.1符碼等。當MAC層130或處理單元150偵測到填充元時,知道這些符碼不是從主機端傳來的資料。The
實體層110包含多工器(Multiplexer,MUX)129,其輸入端耦接到符碼解碼器128和填充元產生器126,其輸出端耦接到MAC 130。在正常情況下,多工器129將符碼解碼器128的輸出連接到MAC 130的輸入,用於將主機端的資料經由多工器129傳送到MAC 130。此外,多工器129能夠被處理單元150控制將填充元產生器126的輸出連接到MAC 130的輸入,用於將填充元產生器126產生的填充元傳送到MAC 130,換句話說,阻止主機端的資料被傳送到MAC 130。The
為了讓儲存裝置10能夠主動調整均衡器122來解決資料接收過程中發生的錯誤,處理單元150可載入並執行韌體程式碼來完成如圖5所示的方法流程圖。此方法流程可限定主機端和儲存裝置10間運行在高速傳輸的環境下執行,例如高速第四檔位(High Speed Gear 4,HS-G4)或更高速的檔位,或者是不管處在哪種傳輸速率下都可以執行。本發明實施例所述的均衡調整方法的特徵在於,在偵測到符碼解碼錯誤後,反覆調整均衡器122的參數,直到調整失敗或者偵測到均衡器122輸出的連續波形屬於開眼狀態時為止。詳細說明如下:In order to enable the
步驟S510:通過中斷訊號INT偵測到符碼解碼器128發生符碼解碼錯誤。符碼解碼錯誤可視為儲存裝置10啟動均衡調整的條件。由於中斷訊號INT為優先權最高的訊號,處理單元150會優先執行反應符碼解碼錯誤的程式碼。Step S510: A code decoding error occurs in the
步驟S520:發出控制訊號給多工器129,用於將填充元產生器126的並列輸出連接至MAC 130的並列輸入,使得填充元產生器126產生的填充元經由多工器129傳送到MAC 130,並避免錯誤的主機資料傳送到MAC 130。Step S520: Send a control signal to the
步驟S530:發出控制訊號給眼圖分析器123,用於啟動眼圖分析器123。眼圖分析器123啟動後會不斷地傳送相應於眼圖的數值給處理單元150。此外,當偵測到眼圖屬於開眼狀態時,可傳送相應訊息通知處理單元150。Step S530: Send a control signal to the
步驟S540:可使用所屬技術領域人員公知的演算法,依據眼圖分析器計算的數值設定寄存器1225,用於調整均衡器122的參數。Step S540: An algorithm known to those skilled in the art can be used to set the
步驟S550:依據從眼圖分析器123收到的資料和/或訊息判斷是否偵測到開眼狀態。若是,則進行步驟S580的處理;否則,進行步驟S560的判斷。Step S550: Determine whether an eye-open state is detected based on the data and/or messages received from the
步驟S560:判斷是否調整失敗。若是,則進行步驟S570的處理;否則,進行步驟S540的處理。在一些實施例,處理器150可在步驟S510啟動計時器,用於計數一段時間,代表允許調整的時間。當偵測到計時器已經計數超過這段時間,表示均衡調整已經超過允許時間,不能再繼續調整而調整失敗。在另一些實施例,處理器150可判斷是否已經嘗試過調整均衡器122的所有候選參數值組合。若是,則代表均衡器122不能再繼續調整而調整失敗。Step S560: Determine whether the adjustment fails. If yes, perform the process of step S570; otherwise, perform the process of step S540. In some embodiments, the
步驟S570:啟動其他錯誤修正機制。例如,處理單元150通過實體層110傳送訊息給主機端,通知主機端發生符碼解碼錯誤。主機端可能嘗試降低主機端和儲存裝置10間的傳輸速度再升速,啟動主機端中發送端的前饋均衡(Feed Forward Equalizer,FFE),通過不斷傳送訓練框(如PRBS9)給儲存裝置10來協助進行均衡調整,或者使用其他機制來嘗試解決儲存裝置10中發生的符碼解碼錯誤。Step S570: Start other error correction mechanisms. For example, the
步驟S580:發出控制訊號給多工器129,用於將符碼解碼器128的並列輸出連接至MAC 130的並列輸入,回到預設的連接狀態。Step S580: Send a control signal to the
步驟S590:發出控制訊號給眼圖分析器123,用於關閉眼圖分析器123以節省電力消耗。Step S590: Send a control signal to the
步驟S540至S560形成一個迴圈,可每毫秒(Millisecond)或數個毫秒執行一次。Steps S540 to S560 form a loop and can be executed once every millisecond (Millisecond) or several milliseconds.
當眼圖分析器123偵測到均衡器122輸出的連續波形屬於開眼狀態時(步驟S550中“是”的路徑),代表均衡器122的調整成功,並離開迴圈。接著,處理單元150將多工器129及眼圖分析器123回復為原先預設的狀態(步驟S580和S590)。When the
當經過一段預設時間或嘗試過所有的候選參數值組合還不能將均衡器122的輸出調整到開眼狀態時(步驟S560中“是”的路徑),代表均衡器122的調整失敗,並離開迴圈。接著,處理單元150啟動其他錯誤修正機制(步驟S570)並將多工器129及眼圖分析器123回復為原先預設的狀態(步驟S580和S590)。When the output of the
步驟S530及步驟S580的執行,用來讓處理單元150在偵測到符碼解碼錯誤後,不斷輸出填充元給媒體存取控制層130,用於取代符碼解碼器128的輸出資料,直到調整失敗或者偵測到均衡器122輸出的連續波形屬於開眼狀態時為止。在一些情況下,MAC層130可能從實體層110的符碼解碼器128收到符碼解碼錯誤的訊息但卻沒有等待均衡調整的結果而直接觸發了主機端發起的錯誤修正機制。如上所述的步驟可阻止符碼解碼錯誤的訊息傳遞到MAC層130,進一步阻止觸發主機端發起的錯誤修正機制。The execution of step S530 and step S580 is used to allow the
然而,圖1的實體層110在符碼解碼器128發生符碼解碼錯誤到均衡器122調整成功的期間會丟失從主機端傳來的資料。參考圖6描述的另一種儲存裝置60的實施例,為了保留這段期間從主機端傳來的資料,實體層600更包含資料緩存器(Data Cache)620及控制電路(Control Circuit)640。處理單元150可發出控制訊號驅動控制電路640開始將主機端傳來的資料依序寫入資料緩存器620。此外,為了讓資料緩存器620中的資料能夠重新輸入均衡器122,實體層600更包含多工器660,輸入端耦接接收器的輸出和控制電路640的輸出,輸出端耦接均衡器122的輸入。在正常的情況下,實體層600的接收器經由多工器660耦接均衡器122。處理單元150可發出控制訊號給多工器660,用於將控制電路640的輸出耦接至均衡器122,並且發出控制訊號來驅動控制電路640依序讀取資料緩存器620中的資料並經由多工器660重新輸入均衡器122。為了進行區別,實體層600中的多工器129可稱為第一多工器,而實體層600中的多工器660可稱為第二多工器。However, the
因應圖6所示的架構,由處理單元150載入及執行另一種韌體程式碼來完成如圖7所示的方法流程圖。在新的處理中,步驟S510之後更加上步驟S710,並且,步驟S550中“是”的路徑之後更加上步驟S730。詳細說明如下:According to the architecture shown in FIG. 6 , the
步驟S710:驅動控制電路640開始將主機端傳來的資料(也就是偵測到符碼解碼錯誤後從主機端傳來的資料)依序寫入資料緩存器620。Step S710: The
步驟S730:控制多工器660將控制電路640的輸出耦接至均衡器122(此時的均衡器122已經調整完畢),並且發出控制訊號來驅動控制電路640依序讀取資料緩存器620中的資料並經由多工器660重新輸入均衡器122。如果符碼解碼器128發生符碼解碼錯誤到均衡器122調整成功的期間太長以致於資料緩存器620無法儲存所有的資料,處理單元150可放棄重新輸入資料緩存器620中的資料至調整好的均衡器122。Step S730: Control the
本發明所述的方法中的全部或部份步驟可以電腦指令實現,例如儲存裝置中特定硬體的驅動程式、或軟體程序等。此外,也可實現於其他類型程式。所屬技術領域人員可將本發明實施例的方法撰寫成電腦指令,為求簡潔不再加以描述。依據本發明實施例方法實施的電腦指令可儲存於適當的電腦可讀取媒體,例如DVD、CD-ROM、USB碟、硬碟,亦可置於可通過網路(例如,網際網路,或其他適當載具)存取的網路伺服器。All or part of the steps in the method of the present invention can be implemented by computer instructions, such as drivers or software programs for specific hardware in the storage device. In addition, it can also be implemented in other types of programs. Persons skilled in the art can write the methods of the embodiments of the present invention as computer instructions, which will not be described for the sake of simplicity. Computer instructions implemented according to the methods of the embodiments of the present invention can be stored in appropriate computer-readable media, such as DVD, CD-ROM, USB disk, hard disk, or can be placed in a computer that can be accessed through a network (for example, the Internet, or A web server accessible by other appropriate vehicles).
雖然圖1、圖2和圖6中包含了以上描述的元件,但不排除在不違反發明的精神下,使用更多其他的附加元件,已達成更佳的技術效果。此外,雖然圖5、圖7的流程圖採用指定的順序來執行,但是在不違反發明精神的情況下,熟習此技藝人士可以在達到相同效果的前提下,修改這些步驟間的順序,所以,本發明並不侷限於僅使用如上所述的順序。此外,熟習此技藝人士亦可以將若干步驟整合為一個步驟,或者是除了這些步驟外,循序或平行地執行更多步驟,本發明亦不因此而侷限。Although the above-described elements are included in Figures 1, 2 and 6, it does not rule out the use of other additional elements to achieve better technical effects without violating the spirit of the invention. In addition, although the flow charts of Figures 5 and 7 are executed in a specified order, those skilled in the art can modify the order of these steps without violating the spirit of the invention and achieving the same effect. Therefore, The present invention is not limited to the use of only the sequence described above. In addition, those skilled in the art can also integrate several steps into one step, or in addition to these steps, perform more steps sequentially or in parallel, and the invention is not limited thereby.
雖然本發明使用以上實施例進行說明,但需要注意的是,這些描述並非用以限縮本發明。相反地,此發明涵蓋了熟習此技藝人士顯而易見的修改與相似設置。所以,申請權利要求範圍須以最寬廣的方式解釋來包含所有顯而易見的修改與相似設置。Although the present invention is described using the above embodiments, it should be noted that these descriptions are not intended to limit the present invention. On the contrary, this invention covers modifications and similar arrangements which will be obvious to one skilled in the art. Therefore, the scope of the claims of the application must be interpreted in the broadest manner to include all obvious modifications and similar arrangements.
10,60:儲存裝置 110,600:實體層 122:均衡器 1225:寄存器 123:眼圖分析器 124:解串器 126:填充元產生器 128:符碼解碼器 129,660:多工器 130:媒體存取控制層 150:處理單元 170:中斷產生器 210:第一級連續時間線性均衡器 230:一階判決回饋均衡器 S510~S590,S710~S730:方法步驟 620:資料緩存器 640:控制電路10,60:Storage device 110,600:Solid layer 122:Equalizer 1225:Register 123:Eye diagram analyzer 124:Deserializer 126: Fill element generator 128: Code decoder 129,660:Mux 130:Media access control layer 150: Processing unit 170:Interrupt generator 210: First level continuous time linear equalizer 230: First-order decision feedback equalizer S510~S590, S710~S730: Method steps 620: Data cache 640:Control circuit
圖1為依據本發明實施例的儲存裝置的方塊圖。FIG. 1 is a block diagram of a storage device according to an embodiment of the present invention.
圖2為依據本發明實施例的均衡器的示意圖。FIG. 2 is a schematic diagram of an equalizer according to an embodiment of the present invention.
圖3為依據本發明實施例的開眼狀態的眼圖。FIG. 3 is an eye diagram in an eye-open state according to an embodiment of the present invention.
圖4為依據本發明實施例的開眼狀態的眼圖。FIG. 4 is an eye diagram in an eye-open state according to an embodiment of the present invention.
圖5為依據本發明實施例的均衡調整的方法流程圖。FIG. 5 is a flow chart of a method of equalization adjustment according to an embodiment of the present invention.
圖6為依據本發明實施例的儲存裝置的方塊圖。FIG. 6 is a block diagram of a storage device according to an embodiment of the present invention.
圖7為依據本發明實施例的均衡調整的方法流程圖。FIG. 7 is a flow chart of a method of equalization adjustment according to an embodiment of the present invention.
S510~S590:方法步驟S510~S590: Method steps
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109137353A TWI824191B (en) | 2020-04-14 | 2020-04-14 | Computer program product and method and apparatus for adjusting equalization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109137353A TWI824191B (en) | 2020-04-14 | 2020-04-14 | Computer program product and method and apparatus for adjusting equalization |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202139187A TW202139187A (en) | 2021-10-16 |
TWI824191B true TWI824191B (en) | 2023-12-01 |
Family
ID=79601015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109137353A TWI824191B (en) | 2020-04-14 | 2020-04-14 | Computer program product and method and apparatus for adjusting equalization |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI824191B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US12093131B2 (en) | 2023-01-17 | 2024-09-17 | Silicon Motion, Inc. | Interface circuit, memory controller and method for calibrating signal processing devices in an interface circuit |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4053723A (en) * | 1975-05-28 | 1977-10-11 | Telefonaktiebolaget L M Ericsson | Method and apparatus for measuring the bit error frequency in a cable caused by crosstalk between line pairs during transmission of a 3-level coded pcm signal |
CN101119185A (en) * | 2006-08-02 | 2008-02-06 | 凌阳科技股份有限公司 | Automatic equalizer and digital eye pattern detecting unit and method |
US20080175310A1 (en) * | 2007-01-19 | 2008-07-24 | Samsung Electronics Co., Ltd. | Receiver with equalizer and method of operation |
US9235543B2 (en) * | 2012-11-26 | 2016-01-12 | International Business Machines Corporation | Systems for signal detection |
US20170272164A1 (en) * | 2016-03-21 | 2017-09-21 | Cisco Technology, Inc. | Pulse amplitude modulation (pam) over multi-mode link with receiver spatial filtering |
CN110933352A (en) * | 2019-11-27 | 2020-03-27 | 浙江大华技术股份有限公司 | Fisheye image correction method and digital video recorder |
-
2020
- 2020-04-14 TW TW109137353A patent/TWI824191B/en active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4053723A (en) * | 1975-05-28 | 1977-10-11 | Telefonaktiebolaget L M Ericsson | Method and apparatus for measuring the bit error frequency in a cable caused by crosstalk between line pairs during transmission of a 3-level coded pcm signal |
CN101119185A (en) * | 2006-08-02 | 2008-02-06 | 凌阳科技股份有限公司 | Automatic equalizer and digital eye pattern detecting unit and method |
US20080175310A1 (en) * | 2007-01-19 | 2008-07-24 | Samsung Electronics Co., Ltd. | Receiver with equalizer and method of operation |
US8050317B2 (en) * | 2007-01-19 | 2011-11-01 | Samsung Electronics Co., Ltd. | Receiver with equalizer and method of operation |
US9235543B2 (en) * | 2012-11-26 | 2016-01-12 | International Business Machines Corporation | Systems for signal detection |
US20170272164A1 (en) * | 2016-03-21 | 2017-09-21 | Cisco Technology, Inc. | Pulse amplitude modulation (pam) over multi-mode link with receiver spatial filtering |
CN110933352A (en) * | 2019-11-27 | 2020-03-27 | 浙江大华技术股份有限公司 | Fisheye image correction method and digital video recorder |
Also Published As
Publication number | Publication date |
---|---|
TW202139187A (en) | 2021-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11991025B2 (en) | Transceiver parameter determination | |
US20240064216A1 (en) | Device-to-device link training | |
US9954576B2 (en) | System and method for PAM-4 transmitter bit equalization for improved channel performance | |
KR102143042B1 (en) | Voltage reference calculation for memory judgment feedback equalizer | |
US20160041935A1 (en) | Electronic device, communication control circuit, and communication control method | |
US11349692B2 (en) | Computer program product and method and apparatus for adjusting equalization | |
US9935682B1 (en) | System and method for PAM-4 transmitter bit equalization for improved channel performance | |
US11354062B2 (en) | Memory system and operation method thereof | |
TWI824191B (en) | Computer program product and method and apparatus for adjusting equalization | |
US20240323062A1 (en) | Equalization for Pulse-Amplitude Modulation | |
TWI712050B (en) | Computer program product and method and apparatus for adjusting equalization | |
US20230046702A1 (en) | Temperature based decision feedback equalization retraining | |
CN113495849A (en) | Data stream cutting device and method for physical layer | |
US10103910B1 (en) | Pulse amplitude modulation equalization optimization system | |
US20190073255A1 (en) | Storage device, host system, and information processing system | |
US20070022226A1 (en) | Direct memory access system for iSCSI | |
WO2022062467A1 (en) | Dual reference voltage generator, equalization circuit, and memory | |
US11924008B2 (en) | Compensation circuit for adjusting ratio of coincidence counts of data patterns, and memory device including the same, and operating method thereof | |
US10660197B2 (en) | Differential pair group equalization system | |
US10721105B2 (en) | Joint adaptation of high and low frequency gains of a linear equalizer | |
US20210004074A1 (en) | Phy calibration for active-idle power reduction | |
EP2811483A2 (en) | Methods and apparatus for error rate estimation | |
US20240126663A1 (en) | Semiconductor device and link configuring method | |
KR20220011226A (en) | Memory decision feedback equalizer | |
US10581652B1 (en) | System and method for PAM-4 transmitter bit equalization for improved channel performance beyond 32 Gbps |