This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TINA/Spice/UCC28C42: ucc28c42

Part Number: UCC28C42
Other Parts Discussed in Thread: TINA-TI, , LMH6629

Tool/software: TINA-TI or Spice Models

John

I just cannot make the vm work with the model in TINA-TI of UCC28C42 using the  suggested circuit one finds everywhere.

It may  work in real circuit: but not in the model, is that possible?

#1 to note that in you use classic 2N2222 to buffer the ramp into CS pin,  signal  at CS pin from the model behavior is far from being useful signal.

So I made a real buffer using opamps--these days, no problem in using an opamp. Has far better performance. Although that made no difference for the gate drive to be PWM,  this new ramp circuit definitely made the outputs go towards expected  values. While the 2N2222 ramp  it does not.

My own  observation is that the model of UCC28C42  somehow is done to put out the drive signal from low  0 level at the CS signal after a delay. While the RC ramp has no such delay built in the model, The gate drive goes high at some high level of the ramp & quickly ends because the "high"  level at the CS is detected soon after. Hence there is no correlation  when gate goes high vs. voltage feedback forcing OFF condition of the gate drive.

This is what one can observe in the results.

I have tried all possibilities: no matter, the drive looks always the same.

I have a specific reason to run a voltage mode model of a current mode controller: I have a proprietary circuit which I need to explore first in vm. Then add other feed forward signals at cs and enhance its  behavior. Is there any  model you have I can use more easily in vm then add cm?

appreciate any help.

Attached is my latest circuit.

UCC28C42_rmp.TSC

  • Hi Robin,

    I simulated your circuit and my first comment is that the signal that is been injected on to the CS pin is at a very low amplitude, 10mv peak. In voltage mode I would expect this signal to be in the range of 1V peak.

    Can you modify your circuit to increase the voltage mode signal to the 1V level and see how your simulation runs then.

    Regards

    Peter
  • Pete: thnx a lot for putting the effort to simulate. Appreciate.

    Yes, I noticed that & I tried to do various circuits to buffer with higher amplitudes.

    It does not seem to matter!

    HOWEVER: one thing for sure  matters which is NOT reported anywhere.

    That is the ramp at CS MUST have a slightly negative value.

    I used many opamps to do this: but the problem is they all seem to add a + value at the low end. This wont work. 

    You seem to be saying if I get amplitude of approx 1V , one can get v/m, ...just that I have to find a way to get a ramp , say, -.25V to 1.25V...??

    I will try some more tricks. 

  • Peter

    Pl see attached file: I have a ramp of amplitude as expected. With negative being several hundred mV

    I do not think it is still "working" in correct voltage mode. I do not want to change compensation circuit yet.

    I changed amplitude to several values, no matter.

    In order to double check thinking flyback may cause v/m issues, I used it for my proprietary converter, of  course it wont "work" as expected!

    So, I would need your help in selecting another model ..I do not know which other cm/vm controller TINA-TI has or perhaps you will find the root cause of this & help us all fix it.

    thnxUCC28C42_3xSTEADY3rd.TSC

  • Peter:

    Pl see the ppt file: it explains why the scheme of "just apply a ramp-- in particular a scaled  RTCT ramp from the timing pin back at the CS pin" is in conflict with the gate dr pulse timing in the chip.

    You notice that the gate pulse begins as the RTCT ramp value ramps down to 0

    In current mode, the current sense signal is causal- meaning, current sense signal begins BECAUSE THE GATE DRIVE has gone high & turned on a switch which begins to conduct. As the current rises, CS signal rises. At some point, AFTER THE RAMP BEGINS TO SLEW UP, this hits the scaled values of COMP signal in the internal comparator ending the gate pulse.

    If the RTCT ramp is scaled/buffered & applied at the CS pin, the same signal beings the  gate drive pulse while CS signal now is already almost at its peak(there is some delay in buffering/scaling). This creates a very fixed short pulse. In other words, the gate pulse has almost 99% ON time. The second plot  gives you this timing.

    vm_operation_conflict.pptx

    What confuses me is that for decades all published work casually mentions this  easy conversion of CM to VM!

    To be in voltage mode, the COMP signal must be within the range of the ramp!( see Andreyssak)- so that its moving up & down  varies the time when the gate pulse ends as the slewing ramp hits it. In either of the cases, the gate pulse starts up at the beginning of the ramp.

  • Hi

    The delay in the buffered timing ramp is coming from the Op-amps for some reason. I put in a simple NPN buffer, collector connected to Vref, base is connected to the RC pin and the emitter can feed the CS pin through a suitable scaling resistor. There is no delay in the ramp signal then.

    I suggest that you disconnect your feedback component and drive the COMP pin at a fixed DC voltage to generate a fixed duty cycle. then satisfy yourself that your power stage is working as you intend. Then you can try closing the feedback loop.

    Regards

    Peter
  • Yes, I know the buffering created the delay. Yet  the issue remains.

    But your idea is very appealing : I am going to try it up. 

    Thnx Peter

    robin

  • I think there are  some issues with having 2N2222A to get a ramp scaled so that it can be connected to CS pin. I am not using my own power stage at all in this case. We are trying to make the voltage mode work with the example power stage given for UCC28c42.

    Pl  run the attached file & see the  ramp from the output of the ac coupled 2N2222A stage: notice that the amplitude of the ramp varies widely. Even though there are times when the ramp value is almost the same as the value occurring due to Rcs,  Vrmp in my simulation elsewhere  goes down to very low values. I think this is the reason the circuit with ramp added at CS pin does not work properly.

    Notice also that Rcs is almost half the value given in the Example file: yet it works with much lower value of V(rcs). It works over a wide range of values of Rcs.

    So this is very puzzling.  Meaning, the ramp from 2N2222A also ought to work over a wide range of values. 

    Even when the 2N2222A ramp may have the same value as the V(Rcs) over many cycles, if you connected that  to the CS pin, it wont generate correct pulse width at all.

    I have explored lots of values around the 2N22222A circuit, but none "works".

    I would really really appreciate help in making the voltage mode work for UCC28C42 chip!

    Help!

    robinUCC28C42_npn2.TSC

  • UCC28C42_633.TSCIt is perhaps easier to manipulate the buffering of the UCC28c42 ramp using a "buffer" than a 2N2222a. Pl see attached circuit using OPA633 buffer model-: it reproduces a buffered ramp very similar to voltage from RCS(Vcs). There is no delay. So the RTCT ramp start coincides with the buffered ramp( a neg value). Then around the time the pulse width happens around 400usec later due to V(rcs) value, the buffered ramp has almost same value. YET, this wont create proper operation of the UCC28c42 if connected to the CS pin.

    This is very puzzling.

    Can you all help me fix this?

  • UCC28C42_633_2.TSCI do not know how the previous file using OPA0633 will work in your system. Attached is another one: as I said, the signal at vrmp has all the properties one expects for the ramp to be sent to CS pin if UCC28C42 is to run in voltage mode. It does not. This version wont even generate  gate drive pulses.  What am I doing wrong here?

  • Peter

    I am wondering if you have  any file someone made  to work in v/m using UCC28C4x?

    All my efforts---hundreds-- have failed to produce a PWM out of ramp fed back at CS pin. On the other hand, there is a wide range of Rcs values that will always make it work in current mode!

    Attached is my last file: a buffer OPA063 gives a lot of freedom in making any ramp out of RTCT pin- much better than 2N22222A. 

    BTW: I also failed to produce ANY meaningful operation by attaching a voltage at COMP pin.

    The model does not operate meaningfully .

    Let me know if I have other options to model a v/m loop.

    thnxUCC28C42_633rev.TSC

    robin

  • Hi Robin,

    Sorry for the lack response, I may get time to look at this over the weekend or best case Tuesday as it a holiday on Monday in Ireland.

    It should be possible to get this working!

    Regards

    Peter
  • Peter
    You are my hero!
    Saturday to work for an unknown customer circuit!
    Very much appreciate: but do enjoy your week end.
    Ths issues raised are indeed very intriguing- v/m operation of well known c/m advertised chips in model.
    Meanwhile, I am trying out some other tricks with my power stage- you might have noticed other blogs related to LMH6629, THS3501 etc...in fact I sent a precision rectifier ckt jpg some folks did using "current feedback amplifier"...ignore that because, after a lot of struggle I got one unbeatable using TINA_TI.
    have fun, Peter.
    r