modeling serdes ctle using transfer function data video -凯发k8网页登录
take transfer function data representing the frequency response of a continuous time linear equalizer, or ctle, and transform it into a gain-pole-zero, or gpz, matrix that can be used in the serdes toolbox™ ctle block for statistical analysis and time-domain simulation.
create an accurate behavioral model in serdes toolbox that reproduces the results of transistor-level design tools or measurements. the model reproduces the behavior of the ctle accurately enough that the ibis-ami model will predict the silicon behavior in a channel simulator. the serdes toolbox ctle is configured through a gpz matrix, so a method is required for extracting the poles and zeros from the transfer function information.
the rational function from rf toolbox™ is used to fit a transfer function to the data. the rational function uses a non-iterative interpolatory algorithm to construct the fit. the result is a rational object that is stable and causal by construction and that can be used for serdes statistical analysis and time domain simulation.
welcome to this video about serdes toolbox. in this video i will explain how to take transfer function data representing the frequency response of a continuous time linear equalizer, or ctle, and transform it into a gain pole zero, or gpz, matrix that can be loaded into the serdes toolbox ctle block.
in this video i will discuss the goal of the conversion process and why you would want to follow this approach, introduce the serdes toolbox ctle block, then show the process and matlab script that can be used to convert a transfer function to a gpz matrix. finally, i will talk about some of the things that you may need to do in order to get a good set of poles and zeros.
what is the problem we are trying to solve? we are trying to make a behavioral model in serdes toolbox that models the behavior that is captured in the transistor-level design tools. the behavioral model needs to reproduce the behavior of the ctle accurately enough that the ibis-ami model will predict the silicon behavior in a channel simulator. the serdes toolbox ctle is configured through a gpz matrix, so a method is required for extracting the poles and zeros from the transfer function information.
here are some things to consider when modeling a ctle. a good model will be easy to update when changes are made upstream. for example, the ctle curve data may change during the silicon design and characterization process, so it will be necessary to update the curve data in the model.
when a model is easily updated it is possible to make an ibis-ami model early in the design process, which gives system designers and others a convenient way to do preliminary analysis. as new data is available the ibis-ami model can be regenerated with the updated information.
the ctle block in serdes toolbox was designed for this process. it is a behavioral model, so it is fast. the gpz matrix is easy to use for configuration. it is capable of both statistical and time domain analysis. the ctle can adapt (choose one configuration out of all configurations) by looking at the pulse response of the channel in statistical analysis. it compiles into a portable, fully compliant ibis-ami model.
the serdes toolbox ctle is a generic ctle block. it is user configurable, as you will see. one important point: when setting up your model in the serdes designer app, use as many ctle blocks as you need. if your device has a four stage ctle then use four ctle blocks to model it. this will make configuration, updating and model execution easy and efficient.
if you are using the serdes designer app, the configuration parameters are accessed by selecting a ctle block in the floor plan area. the parameters are:
- the name: this makes it easier to match the model with the silicon, especially if you are using multiple ctle blocks to model a multi-stage ctle.
- the mode: there are three modes: off – the ctle is disabled and is a pass-through; adapt – the ctle selects the configuration that gives the best eye from the pulse response passed to the model during statistical analysis; fixed – the user specifies the configuration to use.
next is the control over how the configuration is specified. the first option is dc gain and peaking gain. this is a convenient way to do what-if exploration because there are two gains and one frequency to specify. the default is shown here which is a set of nine configurations. you can modify the vectors so that there are more or fewer configurations.
the dc gain is the gain at 0 hz in db. the peaking gain is the difference between the dc gain and the gain at the peaking frequency in db.
the second option is dc gain and ac gain. this is similar to dc gain and peaking gain in that there are two gains and a frequency to specify. the dc gain is the gain at 0 hz in db. the ac gain is the gain at the peaking frequency in db.
the third option is ac gain and peaking gain. this is similar to dc gain and peaking gain in that there are two gains and a frequency to specify. the ac gain is the gain at the peaking frequency in db. the peaking gain is the difference in the gain at the peaking frequency and the gain at dc in db.
the fourth option is the one i will be talking about from here on out: gpz matrix. it is the most general, but typically requires some scripting to put the data into the correct format.
in summary: there are three specifications that are good for quick what-if analysis: dc gain and peaking gain, dc gain and ac gain, ac gain and peaking gain. there is a fourth option that is more general: gpz matrix. from here on out the focus is on the gpz matrix option for the specification of configurations.
the gpz matrix has one row per configuration.
the gain is the gain in db.
the poles and zeros are in hz.
complex poles and zeros must have conjugates.
for stability there must be more poles than zeros.
if necessary, the array can be padded with 0hz poles and zeros to make all rows the same length.
here is an overview of the process for creating a gpz matrix from transfer function data.
- the transfer function data for the ctle configurations are obtained from design data, preferably in csv format.
- the data is imported into matlab.
- the data is transformed (if necessary) to frequency points and real/imaginary complex response data.
- a rational function is fit to the data.
- gain, poles and zeros are extracted from the fit.
for transfer function data, the easiest format to deal with is a csv file with column one containing the frequency points and columns 2 and 3 being the real/imaginary transfer function data.
matlab has multiple useful functions that can be used to reformat data that is in other formats.
there are multiple ways to import data into matlab. the function readmatrix() works well to read csv format data into a matrix.
once imported, the data is separated into a vector of frequencies and a vector of complex data. this is where the data may need to be converted from other formats, such as magnitude/phase.
the example script here assumes that the imported data has the frequency points in column one and the real/imaginary data in columns two and three.
the result is a vector of frequency points and a vector of complex data.
the next step is to use the rational function from rf toolbox to fit a rational function to the data. the rational function uses a non-iterative interpalotory algorithm to construct the fit. the result is a rational object.
the zpk function is used to extract the gain, poles and zeros from the rational object. the serdes toolbox ctle requires the gain to be in db and the poles/zeros to be in hz. the zpk function outputs are converted to db and hz in constructing the gpz matrix. the result is a gpz matrix in a matlab workspace variable.
to check the accuracy of the fit, the frequency response is extracted from the rational object.
the magnitude in db and the phase of the original data and the response from the fit are both plotted.
the gpz matrix is in a matlab workspace variable. it can be copied and pasted into the serdes designer app or simulink. it can also be directly referenced from the serdes designer app.
here is an example of referencing the matlab workspace variable from the serdes designer app. if the value in the gain pole zero matrix field is the name of a matlab workspace variable serdes designer will use it for the gpz matrix.
when configuring the ctle the ctle transfer function plot is a convenient way to see how the curves are interpreted by the ctle.
here are some considerations to keep in mind when creating a gpz matrix:
the gpz matrix must be numerically stable over the entire analysis bandwidth. the bandwidth is one over two times the sample interval. the sample interval is the symbol time divided by samples per symbol. this means that the bandwidth can be very wide. for example, if the symbol time is 40ps and samples per symbol is 16, the bandwidth is 200 ghz.
the best approach is to keep the number of poles and zeros to 10 or fewer. very high frequency poles and very low frequency poles can cause instabilities and should be avoided.
here are some tips to help achieve a good gpz matrix:
use the controls to the rational function to change the maximum number of poles and adjust the error tolerance. both options can help get the best fit with the fewest poles.
if there are high or low frequency poles it can help to truncate the original data. very low frequency data and data above 2- times the nyquist frequency do not impact the equalized data and can often be truncated.
trial and error may be required to obtain the best fit with the fewest poles and zeros.
thank you for watching this video.
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 mathworks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- (español)
- (english)
- (english)
欧洲
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
亚太
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)