Model identification for Cauer or Foster model

How can I identify the parameters of the Cauer or Foster model based on a measured temperature over time curve?

Source: Infineon application note

The application note says: “as the coefficients can easily be extracted from a measured cooling curve”… But how can I do that using Julia?

I mean, I could create a model as described here: Thermal Conduction Model · ModelingToolkitStandardLibrary.jl But what I need is the parameter estimation…

My guess is that you have to set up an optimization problem with the capacitances and resistances as the unknowns. The objective function will be the difference between the measured response and that predicted from the circuit model with the given parameter values.

Well, this might work, but is probably not the easiest/ best way. This library cannot be used?

You’re right. That looks like a much better approach.

In my previous job I had to work with Foster/Cauer models for circuits. I am going to explain what I did, although it may not apply to your case.

My models were purely reactive (only LC elements in the Foster/Cauer model) and thus it had resonances (singularities), which made it very difficult/impossible to extract the parameters from a curve fitting tool. I got the results from a numerical simulation in terms of an S-Matrix in the frequency domain. I transformed it to a Z-matrix and worked from there.

First, I extracted an initial guess for the pole locations using Foster reactance theorem and transformations back and forth between admittance and impedance form. When I had the initial values, I created a function that calculated the immittance (admittance/impedance) with them. Then, I created another function that transformed the immittance of the two-port network back to an S-matrix, and created a cost function based on the Frobenius norm of the difference between my data and my model:

S # original S-matrix
Ŝ # reconstruction from model
f(x) = norm(S(x) - Ŝ(x))

This function is then fed to a global optimizer with the appropriate parameters and, some time later, voilà.

In your case

First you need to know the exact number of terms needed in your Foster series. These may come from an analytical expression or you may have to perform several guesses.

If you want to work on the time domain, create initial guesses for your coefficients (r_i, tau_i) and create a function that accepts a vector of these and evaluates the expression on your time points.

Then create a cost function using the norm of the difference between your data vectors (original and estimation).

Feed these to the global optimizer.

Maybe you could work directly with curve fitting packages, but since it did not work for me I cannot say how they work.

My package is here: GitHub - nandoconde/BranchLineCouplers.jl: Synthesize and simulate branch line couplers
Explore it at will

1 Like

I mean, you find papers that describe very advanced approaches on this problem, e.g.
But I try to find the simple, basic algorithm… Lots of papers about improved algorithms, but none about the basics…

I took a look at the package you mentioned previously, ControlSystemIdentification.jl. I think I understand in general how you want to proceed. You provide the time-domain input and output functions. Your output function is your “cooling curve”. The input is going to be something like a reverse step function (i.e., hot temperature is applied from time = -infinity to zero, then is turned off at time zero.) You will have to research the exact form depending on exactly how the ‘cooling curve’ is defined. These functions are provided as inputs to one of the functions listed here. The output will be a transfer function which is a rational function. The poles and residues of this rational function can be obtained from residues function of the Polynomials package. The poles are the (inverse) time constants and the residues are the resistances of the so-called “partial fraction” circuit.

I think this is correct in broad strokes. Of course the devil is in the details :wink: