help, oscilating circuit - Page 1
Forum section: electronics / beginners

author: GigaJoe
author_rank: Frequent Contributor
timestamp: March 13, 2019, 03:38:19 am
content: 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 effectI'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 ...

author: MarkF
author_rank: Super Contributor
timestamp: March 13, 2019, 04:19:45 am
content: You might try putting a 100resistor 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.

author: MarkF
author_rank: Super Contributor
timestamp: March 13, 2019, 04:26:53 am
content: 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.33shunt is designed for 0.5V at max across it for a current range of 0 to 1.5A

author: Kilroywashere
author_rank: Regular Contributor
timestamp: March 13, 2019, 04:46:02 am
content: I dunno if this helps But when I want to know how something is working before i build it i like to use thishttps://www.falstad.com/circuit/Its been really helpful to me and i have learned a lotIts really a great siteYou can build your circuit on that and adjust it ....I hope that its helpful !!!

author: Kilroywashere
author_rank: Regular Contributor
timestamp: March 13, 2019, 04:51:29 am
content: 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

author: MarkF
author_rank: Super Contributor
timestamp: March 13, 2019, 05:22:53 am
content: I had a quick go at redrawing your circuit

author: magic
author_rank: Super Contributor
timestamp: March 13, 2019, 07:37:46 am
content: Quote from: GigaJoe on March 13, 2019, 03:38:19 amRemove 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.

author: David Hess
author_rank: Super Contributor
timestamp: March 13, 2019, 08:39:55 am
content: Quote from: magic on March 13, 2019, 07:37:46 amI 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.

author: GigaJoe
author_rank: Frequent Contributor
timestamp: March 14, 2019, 03:12:50 am
content: Awesomnes !!! Thanks everyone.R2= off C1 = 822pf R4=470 (100mw dissipation on transistor ) - no oscillationso 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 ...

author: magic
author_rank: Super Contributor
timestamp: March 14, 2019, 10:17:51 am
content: 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'swhat 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 opampI 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 audiophooleryU2B 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.