Post Go back to editing

How to create a model of R varying with freq ?

Thread Summary

The user seeks to model a frequency-dependent resistive load in LTspice, initially as a purely resistive load and later considering phase. The final answer suggests using the B element with a tabular function of frequency, noting that in LTspice 26.0.x, the syntax should not include parentheses. The user also asks about interpolation between frequency steps, which the final answer implies will be linear.
AI Generated Content
Category: Software

Hello,

I have some measures of a load that R depend of frequency. I have a simple measurement table giving R vs freq.

I there any way to create a model for this load ? At this point, we are considering the load is purely resistive.

As a next step, I will also characterize the phase (load is not exactly resistive). Any way to modelize that ?

Frequency range is DC-100kHz.

Any tips appreciated

Thanks

Parents
  • 1

    The construct, Bn R=f(...), isn't well documented or explained in the LTspice Wiki. I did some testing with a simple resistor divider circuit and found a syntax that worked using the frequency related expression. I learned that the initial resistance value is divided by the magnitude value in the ordered list of points at its frequency. This does create a tabular frequency dependent resistor but between points the interpolation is not linear (testing over one decade). At DC the value is 10K.

    TEST OF THE RESISTIVE FEATURE OF THE B PART
    V1 1 0 1 AC=10
    R1 1 2 10K
    B1 2 0 R=10K
    + mag Freq = 1K,1,0 2K,2,0 4K,5,0 8K,3,0 10K,1,0 20K,0.5,0 40K,0.2,0 80K,0.333,0 100K,1,0
    .AC DEC 1000 1K 100K
    .END

                        PLOT OF RESISTANCE VERSUS FREQUENCY

Reply
  • 1

    The construct, Bn R=f(...), isn't well documented or explained in the LTspice Wiki. I did some testing with a simple resistor divider circuit and found a syntax that worked using the frequency related expression. I learned that the initial resistance value is divided by the magnitude value in the ordered list of points at its frequency. This does create a tabular frequency dependent resistor but between points the interpolation is not linear (testing over one decade). At DC the value is 10K.

    TEST OF THE RESISTIVE FEATURE OF THE B PART
    V1 1 0 1 AC=10
    R1 1 2 10K
    B1 2 0 R=10K
    + mag Freq = 1K,1,0 2K,2,0 4K,5,0 8K,3,0 10K,1,0 20K,0.5,0 40K,0.2,0 80K,0.333,0 100K,1,0
    .AC DEC 1000 1K 100K
    .END

                        PLOT OF RESISTANCE VERSUS FREQUENCY

Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.