Skip to main content
1-Visitor
July 15, 2021
Question

Transfer function calculation Optimization

  • July 15, 2021
  • 3 replies
  • 13770 views

I have the below circuit for which the switch combinations S1,S2,Sx,Sy[0000...1111] gives me 16 combinations of Va voltages. I have 16 equations for the voltage values. From the equations I am trying to derive the Rc1, Rc2, Rc3 , Rc4 and Rbd transfer function. Please refer attached Mathcad sheet. The issue is, it takes forever to calculate the functions. What I could do to get the symbolic equations?Switch_comb.png

EDIT : One thing I am thinking is to remove the node R2--Sy and then i'll have 8 combinations of Va.

The Is and Va values are measurable quantities in my case, the switches and R1,R2 is my addition to the circuit with the intention to get individual transfer functions for Rc1..Rc4 and Rbd.

3 replies

23-Emerald IV
July 15, 2021

It's essentially the same circuit as presented here (https://community.ptc.com/t5/PTC-Mathcad/Transfer-Function-solution/td-p/736295), So it can be solved as I presented there.

 

Luc

23-Emerald IV
July 15, 2021

This is the direction it goes to:

LucMeekes_0-1626383462529.png

Which results in:

LucMeekes_1-1626383504861.png

and:

LucMeekes_2-1626383519909.png

Now all that remains is to find a better way to control the switches, such that I don't get errors, or answers like: Vb.

 

Luc

23-Emerald IV
July 15, 2021

Got it:

LucMeekes_0-1626384899538.png

And with that only three cases don't produce a viable answer:

LucMeekes_1-1626384996214.png

Which I understand (now) because in those three cases the second and/or third of the five equations read 0+0=Is+0 and/or 0+Is=0+0 respectively. That means I'm trying to solve for more unknowns than I have (independent) equations.

 

Luc

 

Hmmm. On closer observation it's not fully correct. Some results contain Ve. That shouldn't be the case.

1-Visitor
July 16, 2021

Hi Luc..I already have the equations for Va..Please refer my attached mathcad sheet. Now, the problem is getting the Transfer function in terms of Rc1...Rc4 and Rbd. As, I stated in my question, I could get rid of R2--Sy node. So, The number of switch combinations be S1,S2,Sx[000...111] essentially leaving all the odd numbered 'Va' in my worksheet. But even with that the tool takes very long time to throw any result.

23-Emerald IV
July 16, 2021

Your sheet shows 16 equations, and you want to solve for only 5 unknowns, that does not work. Unless it so happens that only 5 of the 16 equations appear to be independent...

 

Success!
Luc