Help for TINA-TI circuit simulator.

Discussion in 'Electronics Resources' started by dileepchacko, Aug 27, 2008.

  1. dileepchacko

    Thread Starter Active Member

    May 13, 2008
    Hi All

    I have simulated a PWM circuit, which published by EFY magazine. The problem is that circuit is not oscillating. From the reference. The circuit has to produce 250Hz square wave signal. Any one please help me to get the proper output from this simulation. I have attached the EFY reference document and the TINA-TI circuit diagram also. ​
  2. thingmaker3

    Retired Moderator

    May 16, 2005
    I've tried to get TINA to oscillate on a couple of occasions, but she's just not that kind of girl. One time she generated exponentially increasing voltage (beyond GV in about 15 seconds) rather than oscillating. This is one reason I don't trust simulators.
  3. Audioguru

    New Member

    Dec 20, 2007
    Your oscillator does not work because one of your diodes is connected backwards,
    Tina is a nice girl. It is not her fault.
  4. hgmjr


    Jan 28, 2005
    As audioguru has pointed out, you need to reverse the direction of either D1 or D2. If you look at the article you will see it calls for the diodes in the feedback path to be reversed from each other.

  5. SgtWookie


    Jul 17, 2007
    Along with reversing either D1 or D2, R3 and R4 should be a single potentiometer.

    If Tina-TI does not have a potentiometer available, then you will need to manually decrease one of those two resistors the same amount as you increase the other, and vice versa.
  6. dileepchacko

    Thread Starter Active Member

    May 13, 2008
    After modification (D2 connected reverse). I am getting the following wave forms. I am surprising what wave form i am getting. Its completely incorrect. plese help me to solve this problem.​
    • pwm.pdf
      File size:
      83.6 KB
  7. RmACK

    Active Member

    Nov 23, 2007
    The delay is most likely while C1 charges to the average that it oscillates about. Not sure why you aren't getting nice squarewaves, could be that you're trying to make it go too fast for one of the component models' maximum slew rates. I'll have try simulating it & let you know what's wrong in a few hours if nobody else beats me to it. Need to sleep now.
  8. Ron H

    AAC Fanatic!

    Apr 14, 2005
    You don't have enough base drive to your transistor to ensure saturation. You need at least 2mA, and 5mA would be better. I would put all unused sections of the 40106 in parallel with U1, and change R1 to 1k.
    EDIT: That still does not explain why you are getting oscillations.
    Last edited: Aug 29, 2008
  9. SgtWookie


    Jul 17, 2007
    Like RonH said, if you parallel the other 5 inverters, you can get up to around 21mA current out of the 40106 when Vdd is 5v. You could go even lower than 1k; try 470 Ohms.