Voltage Controlled Oscillator with LM358

Discussion in 'Analog & Mixed-Signal Design' started by Yusuf Selim Karataş, Jan 14, 2018 at 6:08 AM.

  1. Yusuf Selim Karataş

    Thread Starter New Member

    Yesterday
    13
    0
    Hi everyone.

    I am trying to do a voltage Controlled Oscillator by using LM358. In datasheet of the Lm358 the schmatic is given for a vco. [​IMG]
    I apply V+ as 12 V and apllying to Vc as triangular singal at 10 Hz . By changing the input voltage the output frequency should change. But while output voltage changes frequency stays stable at 10 Hz. what May be wrong ? How can i solve it? Thanks in advance.
     
  2. Yusuf Selim Karataş

    Thread Starter New Member

    Yesterday
    13
    0
  3. Alec_t

    AAC Fanatic!

    Sep 17, 2013
    7,568
    1,641
    What voltage is actually present at the V+/2 input and how are you deriving it?
     
  4. Yusuf Selim Karataş

    Thread Starter New Member

    Yesterday
    13
    0
    I apply V+ as 12 Volt and by doing a voltage divider i divide it by 2. So it becomes 6 V
     
  5. dendad

    Active Member

    Feb 20, 2016
    940
    249
    Are you varying the +VC input?
    That is not the OpAmp supply voltage but the frequency control voltage. Apply your 12V to the OpAmp supply pins and the 6V to the V+/2 pin and then a variable voltage to +VC pin.
    It is confusing as the supply is normally labeled as +VCC.
     
    Yusuf Selim Karataş likes this.
  6. AnalogKid

    AAC Fanatic!

    Aug 1, 2013
    6,040
    1,733
    Not good enough. And, you didn't answer the question - How are you deriving V+2. What resistor values are you using? V+/2 must be a low impedance voltage source, like the output of a regulator or at least a zener diode. You can approximate this with a voltage divider with relatively low resistance values, such as two 1 K resistors.

    ak
     
  7. AnalogKid

    AAC Fanatic!

    Aug 1, 2013
    6,040
    1,733
    What are the positive and negative peak voltage values of the triangle wave you are applying to Vc. Be specific.

    ak
     
    Yusuf Selim Karataş likes this.
  8. Yusuf Selim Karataş

    Thread Starter New Member

    Yesterday
    13
    0
    Yes i am doing just the thing you say. Vc is a triangular signal which is at 10 Hz . We change Vc's amplitude and wait changes in output frequency. But it stayes at 10 Hz.
     
  9. Yusuf Selim Karataş

    Thread Starter New Member

    Yesterday
    13
    0
    I am deriving from DC power supply 12 Volt and using 100k to divide it as i have seen in some schematics.
     
  10. Yusuf Selim Karataş

    Thread Starter New Member

    Yesterday
    13
    0
    Its at 10 Hz. Negative voltage is Zero. We change the positive voltage and expect the output signals frequency change. But when we change the positive voltage of the input triangular signal 10mV to 20 Volt output frequency does not change
     
  11. sghioto

    Member

    Dec 31, 2017
    35
    3
    I breadboarded the above circuit using a TL082 because I didn't have a LM358 on hand, but would only work using a dual power supply.
    The frequency would only adjust to about 100Hz with 12vdc at Vc.

    Steve G
     
    Last edited: Jan 14, 2018 at 1:15 PM
    Yusuf Selim Karataş likes this.
  12. Yusuf Selim Karataş

    Thread Starter New Member

    Yesterday
    13
    0
    Thanks a lot for sparing time for this. But i could not understand what you mean by saying dual power supply
     
  13. sghioto

    Member

    Dec 31, 2017
    35
    3
    It means +12v at pin 8 and -12v at pin 4. Actually a negative voltage at pin 4 above -1.5 volts will work.
    Steve G
     
    Yusuf Selim Karataş likes this.
  14. Yusuf Selim Karataş

    Thread Starter New Member

    Yesterday
    13
    0
    Thanks a lot. Tomorrow i will buy TL082 and try. Thanks a lot.
     
  15. RichardO

    Well-Known Member

    May 4, 2013
    1,859
    674
    @yusuf-selim-karatas What op-amp are you using? When operating from a single voltage power supply, this circuit needs an op-amp that has an output that goes near ground. The LM358 does this but an uA741 (or TL082) will _not_ go close enough to ground.


    This is what I get using LTspice. The frequency varies by about 2:1. I am not sure why it is not more...

    upload_2018-1-14_12-19-0.png
     
  16. sghioto

    Member

    Dec 31, 2017
    35
    3
    Using a MCP602 and a 2N3904 on a single 5 volt supply produces 0 to 150 hz with Vc from 0 to 12vdc.
    Steve G
     
  17. Yusuf Selim Karataş

    Thread Starter New Member

    Yesterday
    13
    0
    Thanks very much. I am using LM358. I also did on LT Spice and i got the expected result. But in the lab i could not. On your circuit capacitor should be connected between negative input and the output of the first op amp
     
  18. sghioto

    Member

    Dec 31, 2017
    35
    3
    Just keep the LM358 and connect a minus 12 volts to pin4.
    Steve G
     
  19. Yusuf Selim Karataş

    Thread Starter New Member

    Yesterday
    13
    0
    Thanks so much. I need to generate frequency 1KHz-5KHz, can i with this circuit?
     
  20. crutschow

    Expert

    Mar 14, 2008
    17,215
    4,737
    Could you post your .asc file?
    Thanks.
     
Loading...