akbarza
Full Member level 2
- Joined
- Dec 18, 2013
- Messages
- 131
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,296
- Activity points
- 2,556
R1 only works to reduce sensitivity to asymmetric Sqr wave swing with Vcc=15 by pulling towards Vref and doesn't work at 5V as I mentioned.Looks like R1 has no actual purpose. Also Vref buffer can be omitted if voltage divider is sufficient low impedance.
Vref set to 1.9 V for about symmetrical output with Onsemi transistor level SPICE model. Other models have different output characteristic.
View attachment 187391
I noticed that pull-up resistor doesn't have the expected effect according to datasheet output characteristic with some models. Too low pull-up will also increase low saturation voltage. I omitted pull-up to reduce complexity.
1) Basically you have a ramp generator and a hysteretic comparator. So The OpAmp integratorhi
I found the below schematic in an Lm358 datasheet that belongs to www.onsemi.com.
by attention to the pic, in the datasheet is written that for R3=R1||R2 then the oscillation frequency is f=R1*Rc/(4*c*Rf*R1). but there is no Rc in the schematic.
1)how can analyze the circuit to obtain a formula for frequency?
2)can explain to me why in node triangle_wave, the shape of oscillation is a triangle wave, and also for node square_wave?
3) as we know this circuit will be connected to another circuit and it causes a load effect. How can I import the role of load in the schematic?
4)suppose the design is for a special frequency and R's and c are determined for that frequency. is there any condition on Opamp as Unity gain bandwidth or others that Opamp must satisfy?
thanks
hiFirst of all, sorry for the wrong initial replay!
I had a second look on the circuitry, also by means of a simulation. By comparing the simulation result and the given equation, you will end up with R2 being your Rc you are looking for.
If you are checking this with your simulation, increase VCC as the input common mode voltage cause some troubles otherwise as it's upper limit is stated with "The upper end of the common mode voltage range is VCC − 1.7 V".
BR
this 2v headroom, Where did this amount come from?If Vref is reduced below Vcc/2 then so too must the triangle wave feedback.
- LM358 are hard to work with only 5V, due to 2V headroom.
- Drop Vref to 2V to reduce Vin range.
- Move R1 from Vref to 0V ( it was in the wrong place) and raise value to optimize duty cycle. to 50%
Any questions?
Calculate from Vol to Voh swing to get Vthevenin average = Vref or start with my guestimate of 180k
Always read the datasheet fully to understand Vin.cm and Vo range.
With R1= 330 k , you may get near 50% df and 10 Hz
Next time only use CMOS RRIO for these designs.
how vcm is calculated?Vref = 1.5 better than 2 to allow for Vcm max.
But now your duty cycle changes with frequency from RC
I think the optimal d.f. tuning is a bias to the integrator slightly up from Vref.
what is your meaning of ' LM358 asymmetric output swing'?LM358 asymmetric output swing
thanks very much1) Basically you have a ramp generator and a hysteretic comparator. So The OpAmp integrator
feeds a current into the feedback cap ramping the integrator output at a rate computed by :
Q = C x V, I = C x dV / dT, I = Comparator high output V / Rin at inv input. So solve for dT.
But dT occurs during the comparator hysteresis interval, so you compute the time it takes to transit that dV
that comparator is tripping at.
Do same for other ramp, then add the dT's together to get period.
2) Comparator outputs a rectangular wave because for tiny inputs x comparator G (which is real high, like 100,000
to 1,000,000), slams from one rail to the other, and stays there until input changes direction and crosses trip point.
View attachment 187395
The integrator takes a rectangular wave and converts it into a ramp, a triangle or sawtooth depending
on setup. The cap., when fed a constant current produces linear ramping waveform.
Q = C x V, I = C x dV / dT so dV / dT = I / C, and if both C and I are constant then dV / dT is constant
linear ramp.
3) Loading effects should be minimal if within the ratings of the OpAmp output. Eg. the OpAmp
and Comparator look like Voltage sources, a V source in parallel with a load always stays at same V
independent of load, ideal case. How much loading do you need ? Current or power.....
4) Limiting conditions, at higher frequency, are slew rate opamp spec limits and G error (loss of G) in
the integrator. Also comparator speed/delay can contribute to non ideal behavior.
There are many other effects, like T effects on C, its value, its leakage, same for R's, thermal effects in
OpAmp delivering power, noise........you can spend a lifetime on this topic. Even gravitational effects
and EMI from sun bursts........., vibrational effects on C dielectric., non linearity effects on RRIO OpAmp
input stages...... gah must kill myself.......
Regards, Dana.
any more explain?This circuit does not include any form of automatic gain adjustment, so the output signal may be clipped. If properly chosen, the slew rate of the op amp may be used as the limit factor. (A 741 will work acceptably for fo in the low kHz range). Although this circuit does work and points out the specifics, it is certainly not a top choice for an oscillator design based on op amps
I´m not sure what you are asking for:can I ask you how the common mode range is vcc-1.7 ?
Common mode input voltag range.this 2v headroom, Where did this amount come from?
It is "RRIO". Rail-to-Rail-Input-and-output.what is the meaning of PRIO?
No need to calculate. It is given in the datasheet. In a the table, also often as a chart.how can I calculate vol and voh? plz, explain.
No need to calculate. It is given in the datasheet. In a the table, also often as a chart.how vcm is calculated?
It is given in the datasheet.what is your meaning of ' LM358 asymmetric output swing'?
In both cases, read the paper thoroughly.said that ( in the below pic) to avoid load effect, R's and c's must be chosen so that the r of the next stage is 10 times larger.
also in the pic 1M resistor can omitted. is it true? does not this omission have any effect on the circuit?
can I ask you how the common mode range is vcc-1.7 ?
what is the meaning of PRIO?
how can I calculate vol and voh? plz, explain.
thanks for replyI´m not sure what you are asking for:
* How we know that the common mode voltage range is vcc-1.7V: --> because we read the datasheet. (different values for different operating situations)
* Why the datasheet says so: --> because of the inner design of the OPAMP.
Common mode input voltag range.
It is "RRIO". Rail-to-Rail-Input-and-output.
It´s easy to find out by yourself: Just do an internet sesrch for "what does RRIO on operational amplifiers mean"
No need to calculate. It is given in the datasheet. In a the table, also often as a chart.
voh or V_OH is the abbreviation for "voltage output high". I.e. the voltage output swing from rail at V+.
Again here: you can do an internet search for "what does voh at operational amplifier mean".
No need to calculate. It is given in the datasheet. In a the table, also often as a chart.
Your design nedds to be within these limits.
In short: When an operation amplifier is in regulation (the standard situation an OPAMP is designed for) then the voltage at both inputs is considered equal.
There is only a very small deviation.
So both have the same voltage .. or in other words: "both have a common voltage".
So V_CM = V_IN+ = V_IN-
(with very small deviation in the millivolts)
It is given in the datasheet.
Do a datasheet search for "output swing".
There are two of them: one to the positivie rail (V+) and one to the negative rail (V-).
"symmetric" means almost the same as "identical" or "equal".
So if the output swing to V- is not equal to the output swing to V+, then one talks about asymmetric output swing.
***
I recommend to learn basics about OPAMPs. There are tons of application notes, documents, even videos. In my early designer days we had no internet, now you have, so use it!
Klaus
thanks for replyIn both cases, read the paper thoroughly.
They don't say, phase shift network must be implemented with staggered RC values. It can be to reduce load effect. But they also show calculation for equal RC.
Also they don't omit 1 M resistor. They "shift" 100 k in its place and modify feedback resistor value, keeping original gain of 8.
View attachment 187417
thanks for replyIts all about loading on output, there are specific specs in the spec table, and typical graphs as
below, upper right, lower left.
View attachment 187424
Excellent ref material :
Operational amplifiers; design and applications : Graeme, Jerald G., ed : Free Download, Borrow, and Streaming : Internet Archive
A complete treatment of the design and application as well as the theory and testing of operational amplifiers has been developed by the staff of Burr-Brown.archive.org
Regards, Dana.
opamps, if you want the inputs to operate in the linear mode, you better obey Vcm. This means Vin- tracks Vin+ for Vref + signal but using inverting amplifier (integrator) the -ve feedback tracks Vin+ , therefore there is no signal on Vin- in linear mode due to negative feedback, so it may be biased to near V+/2 yet using non-inverting amplifier Vref must be lowered below Vcc-1.5 according to level of peak signal.As far as we are still discussing the triangle/square wave generator, circuit operation is achieved if Vref is within Vcm limits. It's not necessary that both comparator inputs keep Vcm range, because LM358 doesn't show phase reversal with input overload. You can verify by analyzing the input stage transistor level circuit to allow for signal added.
Yes due to NTC on Vbe of PNP inputs , Vbe rises to max at -40’C in Winnipeg in Feb., so Vcc-2V is expected for Vcm maxLM358 Phase reversal :
LM358B: Phase reversal - Amplifiers forum - Amplifiers - TI E2E support forums
Part Number: LM358B Other Parts Discussed in Thread: LM358 , TINA-TI Hi team, Our customer is considering the single-supply opamp with LM358B. In the paste2e.ti.com
View attachment 187441
Regards, Dana.
Are you claiming an additional constraint for Vref? I stated that regarding Vcm range, it's sufficient that Vref stays inside. The linear operated integrator OP has both inputs at Vref and the comparator works well with one input at Vref and the other inside supply rails. The other restriction for Vref besides keeping Vcm range is that it must allow Vtriangle to reach both comparator switching points for given R2/R3, but not related to Vcm.Vref must be lowered below Vcc-1.5 according to level of peak signal.
The thread currently has more than 1k views. Every single member who wants to helo needs to do the search for the datasheet.I read the datasheet of onsemi.com lm 358
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?