![]() |
![]() |
![]() |
|
|
|||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I'm aware that I don't know much about all this .. but this should be as simple as ohm law and it's driving me crazy ...
LM358N .. pin4 (power -): gnd pin8 (power +): +5V pin2 (-): +2.32V pin3 (+): +550mV what should be the pin1 (out) ??? from what I know, as + is lower then - .. it should be 0V .. right?? ... well .. it is 4V ?!?!?!?! OSC output attached for all three pins ... is there anyone that can shed some light before I give up on this completely EDIT: no feedback .. pin2 is connected to voltage divider (1 resistor to ground, another resistor to vcc), pin3 is "signal in" and pin3 is connected to osc via resistor
__________________
http://www.it4um.com Last edited by arhi; 10th June 2008 at 09:39 PM. |
|
|
|
|
|
|
(permalink) |
|
Hard to tell off hand... It sounds like phase inversion, but i did not think it was a problem with that amp.
Try closing the loop and seeing how it works as you sweep the input. |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
closing the loop - how? sorry but everything between 0 and 5v is trouble to me anyhow .. I attached now the actual signal that I want to feed to the opamp, the idea is to make it square I have a cheepo oscilloscope here, and all this on some protoboard... if you have any ideas .. I'm willing to try them out EDIT: attached pic .. the width of the pic is 1 second
__________________
http://www.it4um.com Last edited by arhi; 11th June 2008 at 12:31 AM. |
|||
|
|
|
|
|
(permalink) |
|
Put a 10K resistor to ground on your input pin.
|
|
|
|
|
|
|
(permalink) |
|
You forgot to attach a schematic so should we guess?:
1) Is the +5V supply a low resistance? 2) What is the resistance of the load? 3) Does the load connect to +5V? You show an output from +1V with a lot of ripple. Why doesn't it go down to ground? Why does it have so much ripple? Its high of +3.8V is normal.
__________________
Uncle $crooge |
|
|
|
|
|
|
(permalink) | |
|
Quote:
1. I have no idea what +5V low resistance power supply mean 2. from pin1 (output from op amp) 5K resistor - point where I attach oscilloscope - 50K resistor - ground 3. no .. the load is supposed to be PIC18Fxxxx input pin but for now I'm just attaching the scope or voltmeter as for the schematic .. sorry again .. but I was soooooooo frustrated .. basically the output of another op amp (LM833) trough 1000pF and schottky diode is going to LM358 pin3 (+ input) (the output is attached in prev message, that's the 1V with ripple .. btw, I'm not sure if ripple is from the scope or it is really there as I get ripples in this app even when I connect probe to the ground ?!) so, the thing is .. this output (~1V / ~4V) I want to get to be ~0V and ~4V so I can feed it to the PIC. Mine understanding is that lm358 will behave like comparator without any feedback loop and that I will get nice square output this is not something I "need" ... but it's kinda project I want to use to learn how to deal with op amps and a bit of analog elco as I miss basic in that field (what can I say, I'm software engineer and this is much more difficult then if/then/else
__________________
http://www.it4um.com |
||
|
|
|
|
|
(permalink) |
|
Here is the schematic ..
the "upper" part works perfectly .. (the input is 40KHz from the transducer) .. everything up to lm358 is as expected .. the pin 3 of the lm358 is the attached signal (the one with 1V and 4V segments with ripples) the trimmer can set the voltage on the pin2 so I can set it "above" that 1V rippled signal ... problem is, it does not work now, the thing is, I do not need just the "solution" on how to fix it .. I got this schematic of the net, then I worked on it, changed it a bit, changed it a lot to see what will happen when I change some things, then made it as is (pretty much same as the original "stolen" desing) but I learned a lot .. now, the problem is, why is this not working .. it is not "how to fix it" .. but more "why it is not working" as this problem kills all I tough I know about op-amps (that I learned in few couple weeks
__________________
http://www.it4um.com |
|
|
|
|
|
|
(permalink) |
|
Hi Mike, that will kill the point of those 2 diodes demodulating the signal... I need to find a different way to get to where I started .. Maybe 5K between input signal and input pin of the op-amp ?
__________________
http://www.it4um.com |
|
|
|
|
|
|
(permalink) |
|
Before you had a problem with DC and extremely low frequency signals.
Now you have an LM833 signal generator working from a 5V supply when its datasheet shows a minimum supply of 10V. The lousy old LM358 has PNP input transistors that need a resistor to ground because the input current is positive. The input of the LM358 in your circuit does not have a resistor to ground so the input floats to a higher voltage. A 100k resistor to ground at the input will have a voltage caused by input current of from 4.5mV to 25mV.
__________________
Uncle $crooge |
|
|
|
|
|
|
(permalink) | |
|
Quote:
I had a similar problem driving me nuts. The voltage measurements did not make sense. I changed out the op amp but the problem remained. The problem was a surface mount solder connection to a resistor that looked fine but was open. When you take the voltage measurements of the IC pins, make sure that your probe is right on the IC pin, not the pad or a connecting pad or the top of a resistor. |
||
|
|
|
|
|
(permalink) |
|
@bob - thanks but, checked all that before I made a post
@audioguru yup, remember, I bugged you about the opamp earlier .. my knowledge there is looooooow as for the min 10V for LM833.. damn .. I do not see that in the data-sheet ?! the only remotely close thing I see is "TOTAL SUPPLY CURRENT vs SUPPLY VOLTAGE" graph and it looks kinda linear from 2.5V supply .. and supply voltage +-2.5 - +-15V .. so I'm unable to find 10V min supply in the data sheet ?! (I'm obviously reading something wrong here) the resistor the the ground was complete "mistery" to me when I read your post (not to mention the rectifiers that demodulate the signal so the resistor kills the work they do) .. but just looked at the data sheet again and there is a schematic of the op inside it .. now I "almost" understand the problem .. I will play with it a little more and come back if I cannot find the solution .. thanks for looking at this .. I have pretty good idea how this type of questions can lead to "go learn your basics and come back then"
__________________
http://www.it4um.com |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
All the other graphs have a minimum supply of positive and negative 5V. Quote:
__________________
Uncle $crooge |
|||
|
|
|
|
|
(permalink) | ||
|
Quote:
VCC Supply Voltage ±2.5 to ±15 V ?? I'd say that ±2.5 is pretty close to +5 and GND The graph is streight line from 2.5 up .. I'll attach the datasheet here as I really want to learn, and if I cannot read the datasheet .. (I have ST op's so I'm looking at ST datasheet) Quote:
Thanks audioguru, this explained it ![]()
__________________
http://www.it4um.com Last edited by arhi; 11th June 2008 at 04:48 PM. |
|||
|
|
|
|
|
(permalink) |
|
ST Micro specifies min +/- 2.5v under operating voltage.
http://www.st.com/stonline/products/...re/ds/2169.pdf National probably did not test below 10v. oops, I guess I was typing while you posted. Last edited by Mikebits; 11th June 2008 at 04:50 PM. |
|
|
|
|
|
|
(permalink) |
|
The LM833 made by National Semi shows a graph of its supply current abruptly dropping when its total supply voltage is less than 10V.
The graph from ST Micro is completely different. The supply current stays the same until the total supply voltage is down to 5V then it suddenly increases. The LM833 is old. I would use National's newer and better LM4562 dual opamp instead and it operates from a total supply as low as 5V.
__________________
Uncle $crooge |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| pic driving shift register driving leds | Ashlume | Electronic Projects Design/Ideas/Reviews | 3 | 1st May 2007 06:09 PM |
| Driving a LED | Overclocked | General Electronics Chat | 42 | 20th December 2006 03:15 PM |
| H-Bridge and driving | antek | General Electronics Chat | 10 | 20th February 2005 04:27 AM |
| Driving Leds | Kingpin094 | General Electronics Chat | 9 | 29th February 2004 02:02 AM |
| Driving lcd | sgboi | Electronic Projects Design/Ideas/Reviews | 7 | 15th October 2003 11:12 PM |