¿ªÔÆÌåÓý

Date

Re: course of HOWTO build models like (sanken) STR-A6100

 

Hi, Tamura Kentai:

The example is NOT suitable to used in the real world, it's just a demo to see if the STR-A6100 could behave well.
It's absolutely not suggested to use it in real world.
Especially, the transformer was just roughly put parameters, it's meaningless and absolutely NOT proper-tunned.

And the model of STR-A6100 is just simple sub-circuit for behavior reference.
I really hope to see the day, those companies could release those models of SPICE to their customers to spread their application of those products.
For example, if I never use the STR-A6100 IC, I would never know there is a company called (sanken) exists in the world.

Thank you for your opinions.

Best regards.?


Re: course of HOWTO build models like (sanken) STR-A6100

 

ericsson:

¤è¤í¤·¤¯¡¢¤ªÔ¸¤¤¤·¤Þ¤¹
Good day. It's excited here to see someone who is interested in the (sanken) product STR-A6100 series. The Japan's companies seems not good at promotion of their products though they have good qualities. I personally think they should release more SPICE tool & support in simulation.

About the STR-A6100, may I ask a question, ?could the example really be used in the real world ? Is that an exact design instance ?

Thank you
¤È¤â¡¢¤¢¤ê¤¬¤È¤¦¡¢¤´¤¶¤¤¤Þ¤¹

Ìï´å½¡Ì«
Tamura Kentai



Re: Henry's current transformer problem

 

Henry wrote:

? ?"I now believe the core of the CT is "ferrite"."

?FYI -- ferrites encompass a whole class of materials, with a widely varying range of magnetic characteristics.? Ferrites are often used as cores for "ferrite beads", chokes, and transformers, and there are many ferrite materials (or "mixes") to choose from.

Andy



Re: Henry's current transformer problem

 

analogspiceman

Thank you very much.

But how did you get Ae and Ie?

The CT (allowing for say 0.5 mm thickness of plastic over the core), has internal diameter 17mm and external diameter of about 28.5mm. The Ie value of 66mm means you have used a value of only 9.17mm diameter (length = Pi * diam**2 / 4)! Did you mean to use approximately 18mm but thought this was a radius rather than a diameter? Should the path length be the minimum or mean length of a circular core, or some other value?

Similarly the Core width is about 18mm, so the Ae value I would have thought would be about 18 * (28.5 - 17) / 2 mm**2 = 103.5 mm**2.

How do these values relate to the actual measured secondary Inductance of 71 H, which is what the values actually need to match?

Also FYI, I have found that typical "air gap" values for the CT when closed are 5 to 10 microns.

I now believe the core of the CT is "ferrite".

I found a document about ferrite materials which has typical values of:
? Bs @ 15 Oe = 0.5 Tesla, Br = 0.1 Tesla and Hc = 0.2 Oersteds.

Those vaues are rather different to the ones you suggested.

What I am really interested in at this stage, is simulating when the CT will be non-linear, rather than attempting to accurately model it, so that I can try to keep in the linear region.

Thanks and Regards
Henry Kafeman


Re: Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 

Hi, Andy:

Yeh, I noticed that 3 minutes ago.
Though I hope someone else could explain that later. You are really work-hard man.

Thank you

Best regards.


Re: Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 

? ?"I think the equation in the datasheet "(TI) log112" could possibly be wrong, there is NOT "negative" relation between Vlogout & Vo3."

That's because their circuit shows the non-inverting configuration.? Vo3 = K*Vlogout where K >= +1.

The upper circuit in your simulation has the buffered output (your "out1", T.I.'s Vo3) being an inverted version of Vlogout.? Then K = -1.

I think T.I.'s datasheet is correct.

Andy





Re: Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 


mmm....

I think the equation in the datasheet "(TI) log112" could possibly be wrong, there is NOT "negative" relation between Vlogout & Vo3.
But the simulation shows they are "negative", possibly in the "k" factor.

"VLOGOUT = (0.5V)LOG (I1/I2)"
"VO3 = K (0.5V)LOG (I1/I2), K = 1 + R2/R1"

Maybe someone should inform (TI) to fix this. If it's really wrong or there is a better explanation.

Best regards.


Re: Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 

ericsson.sunshine?wrote:

? ?"Is it possible to plot the curve similiar to the datasheet ?"

Yes.

Sorry, after a few false starts ... I uploaded the file "20160801_log amp (TI) log112_DC.zip" to the Temp folder.

Run the simulation in that file.? Then after the simulation finishes, click in the plot window to select it, then go to Plot Settings -> Open Plot Settings File, and open the .PLT file again.? This should re-scale the axes so that the plot looks similar to the curve in the datasheet.? The difference is that the log amp runs out of positive range when the input current is too large.

? ?"And says the log amp is utilized to measure the physical quantities which has exponential characteristic (varies large.)
? ? I don't know how to show this characteristic in the waveplot of LTspice."

The plot shows it.? The log amp is able to handle input signals over a 5 to 8 decade range of values, or more, which is significant.

Stay away from negative values of input current.? Also avoid very small input values (less than about 100pA).? Either of those can cause the output of the log amp to deviate significantly from a log() response.

Also, the current Iref through the external resistor seems to no longer be 100uA when the input current is much out of range, and this can also mess up the plot. ?(This might be a problem in the SPICE model?? Or maybe not.)

? ?"The equation's simple to understand, but it's hard to plot the curve of "Vout vs. I1/I2". I don't why"

It works for a .DC sweep.? It doesn't work if the input current is not within the range where the log amp follows a log() curve.

I think the reasons it didn't work well in a .TRAN simulation, are (1) the input current went outside the range where the log amp fits the equation, (2) the log amp's response time gets to be ridiculously slow (even a 10 second ramp might be too fast), and (3) there might be some oscillation (instability) going on.

Andy



Re: Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 

Hi, Andy:

Ok, now I see what's the difference, the Vout definition of the datasheet referred to Vlogout NOT Vo3.

Vlogout vs. I1/I2 curve is same with the datasheet curve.

But Why it can't be shown in the .TRANS simulation with a ramp voltage source ?
I am still confused.

Thank you


Re: Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 

Hi, Andy:

Actually, I don't need to consider frequency response this time.
I had plot the DC sweep curve, but the slop is negative (Vout decrease while I1/I2 increase).

In fact, I used op amp almost in the linear amplifier of the signal and very low frequency. This is the first time I heard about log amp.
I had updated the DC sweep file.

Best regards.


Re: Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 

? ?"I don't know what the "uni-polar" means"

?It means one polarity.

Andy



Re: Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 

Hi, Andy:

I had fixed the value (time, amplitude) of DC sweep source (.TRAN) to lower speed, smaller scale.
And I found in a very small range, it has exp behavior, but output a DC bias about 4.2V.

Is it possible to plot the curve similiar to the datasheet ? in the datasheet it says these equations:
"VLOGOUT = (0.5V)LOG (I1/I2)"
"VO3 = K (0.5V)LOG (I1/I2), K = 1 + R2/R1"

And says the log amp is utilized to measure the physical quantities which has exponential characteristic (varies large.)
I don't know how to show this characteristic in the waveplot of LTspice.

I don't know what the "uni-polar" means, if you meant that it shouldn't have the negative value, I had fixed it ,it came from this ,at the beginning I used the negative value because I couldn't show the curve, so I simply thought maybe I could enlarge the scale of the waveplot to see what's different.

The equation's simple to understand, but it's hard to plot the curve of "Vout vs. I1/I2". I don't why, and not sure whether it's caused by the model mismatch or other reasons.

Thank you for the reply

Best regards.


Re: Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 

I re-ran it as a DC sweep, keeping I1 sufficiently positive.

I get pretty good agreement with the datasheet's plot, noting the polarity inversion of your circuit, up to about 4 or 5 mA.? At that point, the core log circuit runs out of steam and clips.? That is higher than the specified input dynamic range (3.5mA max), so I think it is good -- even though the ratio I1/Iref is not as high as it is shown on the datasheet plot.? Obviously, they used a smaller value for Iref in that part of the datasheet plot.

This is the first time I simulated (or even used) a log amp so I'm not an expert.

Andy



Re: Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 

Since it is a log amp, shouldn't the input current (I1, I2) be uni-polar?

Andy

?


Re: Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 

ericsson.sunshine?asked about a Log amp from T.I.

This is just a very first impression, and may or may not be meaningful.

You are doing this as a transient analysis. ?It's possible you are sweeping the input current too fast.? At some signal levels, and depending on external components, the part's bandwidth can be as low as 1 Hz or less, so the step response could be quite slow, maybe too slow for a 10ms step.

Did you try a .DC sweep analysis?

Over some of the range, I think it is oscillating.

All the negative values in the X-axis should be discarded, to correspond to the datasheet's plots. ?(Now, why are there negative values at all, I wonder?)

Regards,
Andy



Problem of plotting (TI) log112 curve (Vo vs. I1/I2) (log112 model in file folder)

 

Hi, :


Here is a pure technical problem.

I had found a log amp model (TI) LOG112 at the file folder.

When I was trying to plot the "Vo vs I1/I2" curve mentioned in the datasheet, I can't work it out. The plot is unexpected.


I had uploaded the example file at?

20160801_log amp (TI) log112.zip


Thank you for any opinion

Simplicity brings fun & satisfaction.


Re: Looking for a IDT74CBTLV3253 model.

 

Gunoiar?wrote:

? ?"Also, I observe that the logic library contains only the graphical description on certain ?devices but lacks the simulation definitions."

I am confused what you mean by that.

Are you talking about the logic parts in the [Digital] section of the library?? They all have actual models already.? What's missing are the parameters that MAY need to be set, to get realistic performance.

I am not aware of logic parts in the LTspice library that are graphical symbols only.

Some analog parts, e.g., MESFETs, SCRs, IGBTs, valves/tubes, and varistors, are symbols only and you must provide the model.

Regards,
Andy



Re: Looking for a IDT74CBTLV3253 model.

 

Hello,

You could use the basic AND, NAND from the folder [Digital] plus a NMOS and PMOS transistor. See the circuit diagram in the datasheet.?

?

I recommend to make a hierarchical schematic. This means you make top-level schematic with your circuit and a lower level schematic with the IDT74CBTLV3253.

Best regards,
Helmut



Looking for a IDT74CBTLV3253 model.

 

Hello one and all.
it's time to bite the bullet. Do some digital simulation on an analog simulator :)

I need to design a four channel sequential track and hold. Part of this contains a 2 bit digital counter stirring 4 switches. it appears the the ?? IDT74CBTLV3253? integrates these functions well.

Does any one have a model for it? please include an example how to use it.

Also, I observe that the logic library contains only the graphical description on certain? devices but lacks the simulation definitions. Is that meaning that I have to develop an entire library?

Sincerely
G.

??????????????????????????????????????????????????????????????????????????????????????


Re: Ferrite Beads

 

Dear Andy,

the Standard Ferrite Bead symbol in LTspice of Wurth is not encrypted.
Once you selected a particular P/N and right click on the symbol,
you can see the datas used for the simulation model.
And can also edit them- if needed.

The current dependent Ferrite bead Ferrite Bead (I)? model of Wurth is encrypted.