Author Topic: help, oscilating circuit  (Read 1603 times)

0 Members and 1 Guest are viewing this topic.

Offline GigaJoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 524
  • Country: ca
help, oscilating circuit
« on: March 13, 2019, 03:38:19 am »
Hello,

here is my el. DC load:
it oscillating very stable, around 140KHz , even if I increase back-feed caps (C1, C4) to 0.3uf it oscillating on 2KHz. Need some help.
C5,R3 -no effect
I'm out of ideas, unfortunately, due to lack of experience, microscopic brain, no imagination, and so ..
Upd: with R2 = 100K , I'm able to enforce oscillating it in a simulator, about the same as on real circuit,  but it means not enough speed to change mosfet condition. or I'm not right ...



 

Online MarkF

  • Super Contributor
  • ***
  • Posts: 2762
  • Country: us
Re: help, oscilating circuit
« Reply #1 on: March 13, 2019, 04:19:45 am »
You might try putting a 100 \$\Omega\$ resistor in series with the MOSFET gate.

Similar to my Elec Load.  I used a large 6.2K resistor to protect the Op-Amp.
The 10nF capacitor in the feedback loop also helps with oscillations.

   
« Last Edit: June 05, 2019, 09:38:48 pm by MarkF »
 

Online MarkF

  • Super Contributor
  • ***
  • Posts: 2762
  • Country: us
Re: help, oscilating circuit
« Reply #2 on: March 13, 2019, 04:26:53 am »
I totally missed that you ARE using Op-Amps.  Your schematic is very hard to read.  It would be helpful to use the standard Op-Amp symbol and place them is sequence from left to right instead of vertical.

I've seen the feedback loop with the RC in series instead of in parallel.  I found that I didn't need the resistor.


Edit-   Your shunt resistor seems to be very small.  My 0.33 \$\Omega\$ shunt is designed for 0.5V at max across it for a current range of 0 to 1.5A
« Last Edit: March 13, 2019, 04:32:17 am by MarkF »
 

Offline Kilroywashere

  • Regular Contributor
  • *
  • Posts: 105
  • Country: ca
  • He has the stink of oil and electric circuitry...
Re: help, oscilating circuit
« Reply #3 on: March 13, 2019, 04:46:02 am »
I dunno if this helps  But when I want to know how something is working before i build it i like to use this 

https://www.falstad.com/circuit/

Its been really helpful to me and i have learned a lot

Its really a great site

You can build your circuit on that and adjust it ....


I hope that its helpful !!!
« Last Edit: March 13, 2019, 04:48:22 am by Kilroywashere »
He is part of the dead...he has no place here. He has the stink of oil and electric circuitry about him. He is obsolete...
 

Offline Kilroywashere

  • Regular Contributor
  • *
  • Posts: 105
  • Country: ca
  • He has the stink of oil and electric circuitry...
Re: help, oscilating circuit
« Reply #4 on: March 13, 2019, 04:51:29 am »
Also if your making an oscillating circuit Why not use a 555 timer? they have a  fixed frequency of up to 500kHz do they not?

Maybe its not good enough .... i dunno

« Last Edit: March 13, 2019, 04:57:55 am by Kilroywashere »
He is part of the dead...he has no place here. He has the stink of oil and electric circuitry about him. He is obsolete...
 

Online MarkF

  • Super Contributor
  • ***
  • Posts: 2762
  • Country: us
Re: help, oscilating circuit
« Reply #5 on: March 13, 2019, 05:22:53 am »
I had a quick go at redrawing your circuit

   
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7453
  • Country: pl
Re: help, oscilating circuit
« Reply #6 on: March 13, 2019, 07:37:46 am »
it oscillating very stable, around 140KHz , even if I increase back-feed caps (C1, C4) to 0.3uf it oscillating on 2KHz.
Remove C4, increase C1. As it stands, U2B adds completely unnecessary delay to U2A feedback path and decreases its stability, particularly with large C4. You only need C4 if U2B oscillates at a high frequency independently from U2A, but I think it is U2A oscillating here and U2B just follows its signal.
I don't quite see the point of Q2, wouldn't it work if B-E terminals are simply shorted by a wire?
Not sure what's the point of R5 either?
Personally, I would ditch U2B, feed current sense directly into U2A and decrease R6 output voltage 10x. But that's not a killer, your circuit should work too with enough C1.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17427
  • Country: us
  • DavidH
Re: help, oscilating circuit
« Reply #7 on: March 13, 2019, 08:39:55 am »
Personally, I would ditch U2B, feed current sense directly into U2A and decrease R6 output voltage 10x. But that's not a killer, your circuit should work too with enough C1.

I agree.  U2B and its gain is not adding anything to this circuit because it has the same precision as error amplifier U2A.

R5 should be removed also and R4 should be decreased in value or the output buffer changed to class-ab to preserve the operating point of the output buffer.  U2B could be useful here to replace R5 with a constant current sink although I would probably add a PNP transistor for a class-ab diamond buffer configuration.
 

Offline GigaJoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 524
  • Country: ca
Re: help, oscilating circuit
« Reply #8 on: March 14, 2019, 03:12:50 am »
Awesomnes  !!! Thanks everyone.

R2= off  C1 = 822pf   R4=470 (100mw dissipation on transistor ) -  no oscillation

so it kinda prototype,  a building block for a digital load.   I can amplify up to 5V input == 1A ( wil see how it linear are ) try to use a DAC to manage it + controller and so ...  just to see how it will work.

Q2 - a simple current amplifier, I simply unloading opamp output during transient process, discharging mosfet, and speed it up as well.
U2B - allow to make current shunt value smaller, less power dissipation, decrease thermal effect, and increase managing voltage input.

for a diamond buffer, i need a bipolar supply, I guess? does it make sense? as the  mosfet managing voltage always positive, anyway.  I'm not sure,  a next iteration would be OPA227 - current opamp ; OPA828 - compesat. opamp ...






 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7453
  • Country: pl
Re: help, oscilating circuit
« Reply #9 on: March 14, 2019, 10:17:51 am »
I'm not sure if the output buffer is really needed. Particularly class A with ~10mA bias, which is less sinking current than the LM could deliver by itself. Maybe still an improvement due to the current gain, or maybe not - wouldn't assume it without testing.
Here's what Dave put together the other day. Notice the absence of 80% of the parts you included and it still worked and without a slowdown capacitor around the opamp ;)
I would start simple and add gain stages where required if speed is insufficient rather than build something complex and worry on speculative basis that removing components could perhaps worsen transient response. That's the definition of audiophoolery :--

U2B isn't really needed. Reduce the shunt 10x, divide the control voltage 10x, nothing changes. You may need to upgrade U2A if offset plays tricks on you or if it drifts with temperature. U2A will now need the same precision specs as U2B. But you save by removing U2B altogether.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf