¿ªÔÆÌåÓý

Date

Re: Looking for a IDT74CBTLV3253 model.

Gunoi Nare
 

Danke Helmut

This is more than i bargained for :(

G.



From: "helmutsennewald@... [LTspice]"
To: LTspice@...
Sent: Sunday, July 31, 2016 2:01 PM
Subject: [LTspice] 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





Re: Looking for a IDT74CBTLV3253 model.

Gunoi Nare
 

Thank yu, Andy.
yes I refer to the Digital lib.i attach here a simple counter .asc file . Please tell me what I do wrong.
G



From: "Andy ai.egrps@... [LTspice]" <LTspice@...>
To: [LTspice] group <LTspice@...>
Sent: Sunday, July 31, 2016 6:00 PM
Subject: Re: [LTspice] 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

#yiv0679710596 #yiv0679710596 -- #yiv0679710596ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv0679710596 #yiv0679710596ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv0679710596 #yiv0679710596ygrp-mkp #yiv0679710596hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv0679710596 #yiv0679710596ygrp-mkp #yiv0679710596ads {margin-bottom:10px;}#yiv0679710596 #yiv0679710596ygrp-mkp .yiv0679710596ad {padding:0 0;}#yiv0679710596 #yiv0679710596ygrp-mkp .yiv0679710596ad p {margin:0;}#yiv0679710596 #yiv0679710596ygrp-mkp .yiv0679710596ad a {color:#0000ff;text-decoration:none;}#yiv0679710596 #yiv0679710596ygrp-sponsor #yiv0679710596ygrp-lc {font-family:Arial;}#yiv0679710596 #yiv0679710596ygrp-sponsor #yiv0679710596ygrp-lc #yiv0679710596hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv0679710596 #yiv0679710596ygrp-sponsor #yiv0679710596ygrp-lc .yiv0679710596ad {margin-bottom:10px;padding:0 0;}#yiv0679710596 #yiv0679710596actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv0679710596 #yiv0679710596activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv0679710596 #yiv0679710596activity span {font-weight:700;}#yiv0679710596 #yiv0679710596activity span:first-child {text-transform:uppercase;}#yiv0679710596 #yiv0679710596activity span a {color:#5085b6;text-decoration:none;}#yiv0679710596 #yiv0679710596activity span span {color:#ff7900;}#yiv0679710596 #yiv0679710596activity span .yiv0679710596underline {text-decoration:underline;}#yiv0679710596 .yiv0679710596attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv0679710596 .yiv0679710596attach div a {text-decoration:none;}#yiv0679710596 .yiv0679710596attach img {border:none;padding-right:5px;}#yiv0679710596 .yiv0679710596attach label {display:block;margin-bottom:5px;}#yiv0679710596 .yiv0679710596attach label a {text-decoration:none;}#yiv0679710596 blockquote {margin:0 0 0 4px;}#yiv0679710596 .yiv0679710596bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv0679710596 .yiv0679710596bold a {text-decoration:none;}#yiv0679710596 dd.yiv0679710596last p a {font-family:Verdana;font-weight:700;}#yiv0679710596 dd.yiv0679710596last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv0679710596 dd.yiv0679710596last p span.yiv0679710596yshortcuts {margin-right:0;}#yiv0679710596 div.yiv0679710596attach-table div div a {text-decoration:none;}#yiv0679710596 div.yiv0679710596attach-table {width:400px;}#yiv0679710596 div.yiv0679710596file-title a, #yiv0679710596 div.yiv0679710596file-title a:active, #yiv0679710596 div.yiv0679710596file-title a:hover, #yiv0679710596 div.yiv0679710596file-title a:visited {text-decoration:none;}#yiv0679710596 div.yiv0679710596photo-title a, #yiv0679710596 div.yiv0679710596photo-title a:active, #yiv0679710596 div.yiv0679710596photo-title a:hover, #yiv0679710596 div.yiv0679710596photo-title a:visited {text-decoration:none;}#yiv0679710596 div#yiv0679710596ygrp-mlmsg #yiv0679710596ygrp-msg p a span.yiv0679710596yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv0679710596 .yiv0679710596green {color:#628c2a;}#yiv0679710596 .yiv0679710596MsoNormal {margin:0 0 0 0;}#yiv0679710596 o {font-size:0;}#yiv0679710596 #yiv0679710596photos div {float:left;width:72px;}#yiv0679710596 #yiv0679710596photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv0679710596 #yiv0679710596photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv0679710596 #yiv0679710596reco-category {font-size:77%;}#yiv0679710596 #yiv0679710596reco-desc {font-size:77%;}#yiv0679710596 .yiv0679710596replbq {margin:4px;}#yiv0679710596 #yiv0679710596ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv0679710596 #yiv0679710596ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv0679710596 #yiv0679710596ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv0679710596 #yiv0679710596ygrp-mlmsg select, #yiv0679710596 input, #yiv0679710596 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv0679710596 #yiv0679710596ygrp-mlmsg pre, #yiv0679710596 code {font:115% monospace;}#yiv0679710596 #yiv0679710596ygrp-mlmsg * {line-height:1.22em;}#yiv0679710596 #yiv0679710596ygrp-mlmsg #yiv0679710596logo {padding-bottom:10px;}#yiv0679710596 #yiv0679710596ygrp-msg p a {font-family:Verdana;}#yiv0679710596 #yiv0679710596ygrp-msg p#yiv0679710596attach-count span {color:#1E66AE;font-weight:700;}#yiv0679710596 #yiv0679710596ygrp-reco #yiv0679710596reco-head {color:#ff7900;font-weight:700;}#yiv0679710596 #yiv0679710596ygrp-reco {margin-bottom:20px;padding:0px;}#yiv0679710596 #yiv0679710596ygrp-sponsor #yiv0679710596ov li a {font-size:130%;text-decoration:none;}#yiv0679710596 #yiv0679710596ygrp-sponsor #yiv0679710596ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv0679710596 #yiv0679710596ygrp-sponsor #yiv0679710596ov ul {margin:0;padding:0 0 0 8px;}#yiv0679710596 #yiv0679710596ygrp-text {font-family:Georgia;}#yiv0679710596 #yiv0679710596ygrp-text p {margin:0 0 1em 0;}#yiv0679710596 #yiv0679710596ygrp-text tt {font-size:120%;}#yiv0679710596 #yiv0679710596ygrp-vital ul li:last-child {border-right:none !important;}#yiv0679710596




[Non-text portions of this message have been removed]


Re: Arcs in symbol editor

 

Hello Tom,

Start with?
Draw -> Arc
Click the first point of the arc.
Click the second point. Now you see a circle.
Click on the circle where you want start the arc.
Click on the end of your arc where it should end.

Best regards,
Helmut?


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

 

Hi

I'm creating a UCC25600 behavorial model, just as a challenge, and have almost completed it.
I used switches for the? push pull drivers but I'd like to use mosfets.

I've tested part of it?using the TI EVM schematic. Output driver waveform is square with dead time.
But the?circuit has trouble converging.?Driver output might be too square... :-)

stay tuned...


Re: INA282

 

At 08:41 AM (-0700) 7/27/2016, riscy00 wrote:

---------- Original Message ----------
Please see folder RiscyLTC

I copied the PSpice file from TI website and rename to txt, After putting all together, the simulation hanged. I tried beta LTSpice and normal LTSpice and both hang. It refuse to run and reported no error on screen.

Can this be fixed for proper operation?

---------- End of Original Message ----------

Strange... I tried the TRAN CIR file in PSpice... it barfed. Tried it with LTspice IV (with call to nom.lib commented out), it runs, though with an output list of PWL points it didn't like!

In today's typically screwed up models, the TI INA282 model qualifies as gross over-kill... the model makers are so intent on capturing every little minutiae of their device that they fail to note that the object is to have the model run in a system which includes other devices... AND run on other simulators than PSpice or TINA.

When I have some time I'll try to simplify it to the point where it can run anywhere.


...Jim Thompson

Web Site: <>


Arcs in symbol editor

 

I want to create a semi-circle in the symbol editor. The help file is worthless in this regard and I couldn't find anything in the forum. It is damn sure not intuitive!

Tom



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

?