Integrator Op amp LTSpice

Discussion in 'Homework Help' started by Dee Miz, Dec 2, 2015.

  1. Dee Miz

    Thread Starter New Member

    Nov 20, 2015
    2
    0
    I needed to get a square input waveform and sawtooth output waveform with gain 10 and frequency of 5k Hz. I'm having problem because the input i got is a sine wave and output of cosine. I've calculated all the values of capacitor and resistor and apparently I have to play around with my clamp value. I've included the .asm file for your review. Any help would be great. Thank you in advance.
     
  2. atferrari

    AAC Fanatic!

    Jan 6, 2004
    2,839
    943
    Start by inputting a square wave!! It is you who should make that to happen.

    Simply go to the settings of your input signal and explore how the option "pulse" works.

    BTW, .asm means probably "assembly".
     
  3. Bordodynov

    Well-Known Member

    May 20, 2015
    1,114
    335
    My version
     
  4. Papabravo

    Expert

    Feb 24, 2006
    11,156
    2,184
    The Duck Test:
    If it walks like a duck, and it talks like a duck, then it must be a duck.....errr troll -- maybe.
     
  5. Bordodynov

    Well-Known Member

    May 20, 2015
    1,114
    335
    Another option
     
  6. atferrari

    AAC Fanatic!

    Jan 6, 2004
    2,839
    943
    Bordodynov

    This time it seems you missed the point; the OP is expecting to get a sawtooth, inputting a squarewave. Not a duck, sorry, sinewave.
     
  7. Bordodynov

    Well-Known Member

    May 20, 2015
    1,114
    335
    I took only part of the problem. I was baffled placed in the scheme. Tomorrow I'll converter circuit of rectangular pulses in the triangular.
     
  8. Bordodynov

    Well-Known Member

    May 20, 2015
    1,114
    335
    See
     
  9. JoeJester

    AAC Fanatic!

    Apr 26, 2005
    3,676
    1,537
    Yep, I "see" two files.
     
  10. Bordodynov

    Well-Known Member

    May 20, 2015
    1,114
    335
    I mean look inside files.
     
  11. JoeJester

    AAC Fanatic!

    Apr 26, 2005
    3,676
    1,537
    I don't use LTSpice, so looking inside the files would not be of use.
     
  12. Bordodynov

    Well-Known Member

    May 20, 2015
    1,114
    335
    Tomorrow I attach a file picture.
     
  13. crutschow

    Expert

    Mar 14, 2008
    16,554
    4,465
    Dee Miz, you need to input a square-wave in your circuit as atferrari stated but the bigger question is why are you powering the op amp with a sine wave? :confused: Is that a cut and paste mistake?
    Op amps need DC power.
     
  14. Bordodynov

    Well-Known Member

    May 20, 2015
    1,114
    335
    The AC power supply I found an error occurred while copying and inattention.
    Here are pictures of the integrator for the use of the phase shift in the sine of 90 degrees. And also to obtain a triangular voltage. I applied an additional op amp as an integrator for the stabilization of the operating point. The dc component of the output voltage is zero. SIN_COS4.png
    and
    Integr.png
     
  15. JoeJester

    AAC Fanatic!

    Apr 26, 2005
    3,676
    1,537
    @Dee Miz

    Can you post the exact assignment as received by your professor?

    Are there any constraints imposed by the professor (number of OPAMPs ... etc)?

    Here is TI's document titled Application Guide for OPAMPS.
     
    Last edited: Dec 4, 2015
  16. Dee Miz

    Thread Starter New Member

    Nov 20, 2015
    2
    0

    Thank you for your help but I've already submitted the report. I went with using a pulse input and got a triangle as my output. I think my professor might have mixed up the sine and pulse input which confuses me which lead to my dilemma. But I really want to thank you for your help and time.

    Thank you very much for all your help. I went with the pulse input and got a triangle wave as an output. However, the triangle output was a little slanted but I will try and research on why. Thank you again for everything.

    I know. It wasn't a cut and paste mistake. I think my professor probably means to say pulse but he said sine instead which causes my confusion. Thank you for your help.
     
    Last edited by a moderator: Dec 5, 2015
Loading...