MC34063 with small inductors

I think that one of the last things I'd trust SPICE for would be as an indication that a chip really could run faster than its rated speed, at least if the chip model came from the vendor.

--
Tim Wescott
Control system and signal processing consulting
www.wescottdesign.com
Reply to
Tim Wescott
Loading thread data ...

Particularly since LTspice switcher models have a high behavioral content, rather than being modeled at the device level. That lets them certainly simulate faster. I can't comment on their accuracy... that's _very_ dependent on who wrote them. ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
      The only thing bipartisan in this country is hypocrisy
Reply to
Jim Thompson

"Jim Thompson" wrote in message news: snipped-for-privacy@4ax.com...

You don't even need LM339's.

formatting link

Tim

--
Deep Friar: a very philosophical monk.
Website: http://webpages.charter.net/dawill/tmoranwms
Reply to
Tim Williams

I think that, were I tasked with writing a bunch of models for a bunch of chips, that my main goals would be (a) make them never crash, (b) obfuscate or outright hide the inner workings of the chip, and (c) make them accurate _over the specified operating range_.

Given (c), I wouldn't hesitate to publish a model that failed to predict correct _or_ incorrect operation if the chip were operated will outside of it's limits -- I'd probably aim for at least 50% out of range at room temperature, but if a customer tried to predict the behavior of a 100kHz part at 200kHz, I'd have some really nice, diplomatic way of saying "you're screwed, get over it". In fact, it'd probably be in the app notes for the models.

--
Tim Wescott
Control system and signal processing consulting
www.wescottdesign.com
Reply to
Tim Wescott

One thing that would be wise, but is rarely included... power supply ramp-up. Having been burned mightily with a chip with both positive and negative supplies, I make a point of simulating power ramp-up and sequencing... then adding local protections, as needed, into the chip design.

Most behavioral models don't do that adequately.

I'd like customers to come to me with their device-level circuitry and ask for a behavioral equivalent... but they won't. Somehow they think I'll steal their IP. It generally isn't worth stealing :-) ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
      The only thing bipartisan in this country is hypocrisy
Reply to
Jim Thompson

The model is from ON Semi and I am not running the chip above its rated speed while in regulation. It's actually working (on the simulator) with a 68uH inductance and well within normal timing limits. All I was wondering is why the datasheets and app notes always prescribe higher inductance values.

But you are right about models being suspicious. It does one thing it ain't supposed to be doing and I still need to get to the ground of that via the LTSpice group (this sim was with 200uH though):

formatting link

App notes and the internal schematic of the chip says that the feedback comparator can never terminate the switch during a cycle (positive dark blue ramp). And here it does just that ...

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

Is the model in text format or is it encrypted? ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
      The only thing bipartisan in this country is hypocrisy
Reply to
Jim Thompson

The Intusoft version is in plain text. I think this is it, along with an X1 call. It's not exactly what I expected to see. E.g., who's Kehinde Omolayo? Hmm, Magnetico, Inc. Hmm, 2003, "Standex International Corp. has purchased substantially all of the assets..."; the trail grows cold.

X1 7 4 5 0 8 6 7 7 MC34063AX2 { } .SUBCKT MC34063AX2 1 2 3 4 5 6 7 8

*exempt 20030227 20395 -30736294 *BY KEHINDE OMOLAYO 2-20-03 *TERMINAL ID *SWITCH COLLECTOR=1 SWITCH EMITTER=2 TIMING CAPACITOR=3 GND=4 *COMPARATOR INVERTING INPUT=5 VCC=6 IPK SENSE=7 DRIVER COLLECTOR=8 .MODEL DMC34063 D (CJO=2P N=0.05) .MODEL QSWITCH NPN BF=75 CJC=2P IS=3E-9 RB=1 RC=0.45 RE=0
  • VJC=.75 VJE=.75 VJS=.75 E1 10 0 5 4 1 R1 4 5 10MEG V1 20 0 PULSE 0 2 E2 11 0 3 4 1 B1 13 0 V=1M/(ABS((27.475-195M*V(12))+(36.002+244M*V(12))*V(9)-
+(302.302+651M*V(12))*V(9)^2)+1F) E3 12 0 6 4 1 E4 9 0 6 7 1 R2 6 7 10MEG B2 14 0 V=1M*((-10.765-151M*V(12))+(45.344+864M*V(12))*V(9)- +(35.99+1.378*V(12))*V(9)^2+(8.341+839M*V(12))*V(9)^3) B4 15 0 V=V(9)>0.32 ? V(14) : V(13) C1 19 0 10P B5 16 0 V= V(20)1 ? 2 : V(19)>1 ? 0 : 2 R3 16 17 150 C2 17 0 10P B6 18 0 V=V(20)1 ? 0 : V(11)1 ? 0 : 2 R4 18 19 150 D1 4 3 DMC34063 D2 3 6 DMC34063 C3 11 31 1N B7 4 36 I=V(17)>1 ? -(224.4U+2.359U*V(12))*0.77 : V(15)*0.77 C5 23 0 10P B9 21 0 V= V(20)1 ? 2 : V(26)>1 ? 0 : 2 R5 27 26 150 C6 26 0 10P B10 27 0 V=V(20)1 ? 0 : V(10)1 ? 0 : 2 R6 21 23 150 B12 33 0 V=V(11)>(1.148+184.6M*V(29)) ? 2 : 0 R13 33 24 10K C8 24 0 10P Q1 8 30 25 QSWITCH Q2 1 25 2 QSWITCH R15 25 2 100 D5 2 30 DMC34063 G1 2 30 26 23 5M R16 2 4 10MEG R23 31 28 1M V6 28 0 V7 36 3 B13 29 0 V=I(V6)/(I(V7)+866.8M*I(V6)) .ENDS
--
 Thanks,
    - Win
Reply to
Winfield Hill

Thanks, Win! I'll try to pick it apart when I have a free moment. Most of those behavioral games are less than adequate... particularly those IF..THEN..ELSE statements :-( ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
      The only thing bipartisan in this country is hypocrisy
Reply to
Jim Thompson

There's actually three more models around but they essentially behave similar. Thing is, the chip is not supposed to turn off the switch during the positive ramp because the comparator does not tie into the reset input of the register, only the set input.

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

[ snip ]

What, you analyzed it in two minutes? I have to make a schematic drawing from the spice net list, and analyze that.

--
 Thanks,
    - Win
Reply to
Winfield Hill

=3D8

2

Yeah. I read TI's app note. So it can start an ON cycle any time during ramp up, but can't ever stop until ramp-down. Crude. Burp, sputter, and cough, in this application.

-- Cheers, James Arthur

Reply to
dagmargoodboat

No, I am scratching my head about this a bit longer than two minutes, tried various models, etc. :-)

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

Well, if it did that I'd be happy. But it does cut during ramp-down and according to the internal wire-up it's not supposed to. Helmut Sennewald, one of the LTSpice gurus, could not reproduce the error I saw. Sent him my file, so we'll see.

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

My first switcher was a hysteretic 24 to 5 buck, for a military control system, the engine room controls for the LHA helicopter assault ships. I used an uncompensated uA709 as the comparator, driving a 2N2905 PNP, driving a 2N3055 emitter follower. The 3055 didn't saturate so was pretty fast. I ran it at 22 KHz because I could hear 20K in those days. I used a schottky catch diode, which was pretty radical in those days.

A few years later, the Navy ripped the system out and replaced it with pneumatic controls, because they couldn't find people who could maintain it.

John

Reply to
John Larkin

It's s'posed to cut off during ramp-down--that's when the flop gets reset, unconditionally. So says TI, anyhow.

formatting link

the operative paragraph being the last one pg. 5. And, the last comment in Table 1 confirms:

"Output switch conduction is always terminated when Ct is ramping down."

-- Cheers, James Arthur

Reply to
dagmargoodboat

Will you PLEASE learn how to FRIKKIN learn how to snip?

PLEASE I really appeciate your responses, but I'll be damned if 'll scan down three or four pages to find your answ3r

Thanks

Jim

Reply to
RST Engineering

Funny that RST can't learn how to FRIKKIN learn how to bottom-post.

John

Reply to
John Larkin

[snip]

RST? I block RST :-) ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
      The only thing bipartisan in this country is hypocrisy
Reply to
Jim Thompson

I know but as shown in my sim plot if is terminated before Ct is ramping down. That not s'posed to happen. But does, at least according to SPICE.

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.