Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


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?

Reply
 
Thread Tools Display Modes
Old 10th August 2006, 04:21 PM   (permalink)
Default

Quote:
Originally Posted by Blueteeth
Hi, sorry for my large posts in the other topic, I didn't realise it was specifically for 'boost', the pure analogue (opamps) approch seems to be to best route.

As for your circuit, it is designed to be used with a +12V supply. So powering it by 5v (same as the Vref, your input form the sensor) will mean it won't funciton properly. Also, opamps have a 'maximum output voltage' rating. This means that with a 5v supply, the output cannot swing too close to the power voltage. For the LF358, the datasheet, it says with a supply of +/- 15V (thats dual power supply) the output can swing 13v above and below 0v. So, it can't output the same range of voltage as its power supply. Basically, you're powering it by 5v, so, no matter how the circuit is configured, it won't be able to output higher than about 4V, or lower than 1V. When its powered by 12V it is capable of putting out +11v and 1V (with reference the 'GND'/0V)
It uses the 5v supply for the sensor as its voltage reference, and the 12V supply as its power.

I'm not sure if you know about 'dual rail' supplies (don't want to be patronising here).

The link provided in this topic, http://www.teamfc3s.org/info/articles/fcd/diy_fcd.htm, discusses it, but it doesn't actually require it. Its a bit hard to explain :/

Ultimately, if you wish to use that circuit, it must be powered by +12V from your battery. The Vref should be connected to the sensors power supply (+5V) and Gnd, is, well, GND, your chasis (preferably where the sensor connects). 4 connections in total.

If you must have it powered by 5V, then things could get tricky, as few opamps can output that close to the power supply (0.3v - 4.7). Although you did mention you wanted it clamped at 4.3, leaving 0.7 between output and power....*might* be possible. I'll wait for your repsonse before I post anything else, sorry I could be of much help this time,

Blueteeth.

Yes thanks. I hooked it up to a 9v supply now and the device can now out put 1.6-5v instead of 1.6-3.5v. My problem is getting it to go below 1.6v? I saw in a previos post to use a 10k ohm resistor at the output or something and well it does nothing. Thanks for all your input and you long posts, they are very helpful.

Edit: By 1.6-5v (and 1.6-3.5v before I changed the supply from 5v to 9v) I am not altering the input but rather the "clamped" voltage off the potentiometer. Maybe that is my problem and I should put a potentiometer at the input as well and set the clamp to 5v but turn the input down all the way.

Last edited by RedCarzRFaster; 10th August 2006 at 04:33 PM.
RedCarzRFaster is offline   Reply With Quote
Old 10th August 2006, 06:58 PM   (permalink)
Default

Hi again,

How are you testing this? Have you got a pot (voltage divider) connected to the input and the +5v supply (one lug 0v, one 5v, and the wiper as the input), so you can vary the input voltage form 0-5V just by turning it?

quote: Maybe that is my problem and I should put a potentiometer at the input as well and set the clamp to 5v but turn the input down all the way.

Yep. Although the pot at the input would 'simulate' the output of your sensor. So you set the clamp votlage pot, and slowly turn the input from 0v to 5v, and it 'should' hold the output at a certain threshold. if the input is unconnected, god knows what it will do...probably just pick up noise, so the voltage could be anything.

I think that the reason your circuit refuses to put out less than 1.6V is because of the opamp itself. As I said, opamps have an output voltage swing less than the supply voltage, it will never output 0V or Vcc (your power supply voltage), I guess, for your opamp, the lowest outptut with respect to ground is 1.6V.

http://hyperphysics.phy-astr.gsu.edu...ic/a741p2.html
for a different opamp, but has useful info

The LF358 apparently allows the output voltage to be very close to the negative supply (GND in this case) are you using this one? Theoretically, it should allow it to drop below 1v.

From that 'DIY FCD' page, he does explain it rather well, and I've been thinking about that circuit, but my analogue knowledge is not what it should be. All it seems to be is a voltage follower (a buffer) with a low pass filter on the input to attenuate noise pickup (but not eliminate), and a comparator. The comparator uses a diode in reverse bias so that the output swtiches from one input, to the other. Ie: from your signal, to your reference, set by the pot. (bit similar to my idea, but simpler, and rather clever )

If your app (your sensor) is identical to the one in the page mentioned above, then I don't think you need to worry, as the graph he has shows the lowest output of the sensor to be in the order of 2v.

Let me know how you get on.

Blueteeth.
__________________
Inconsistency is the key to flexibility!
Blueteeth is offline   Reply With Quote
Old 10th August 2006, 07:08 PM   (permalink)
Default

Quote:
Originally Posted by Blueteeth
Hi again,

How are you testing this? Have you got a pot (voltage divider) connected to the input and the +5v supply (one lug 0v, one 5v, and the wiper as the input), so you can vary the input voltage form 0-5V just by turning it?

quote: Maybe that is my problem and I should put a potentiometer at the input as well and set the clamp to 5v but turn the input down all the way.

Yep. Although the pot at the input would 'simulate' the output of your sensor. So you set the clamp votlage pot, and slowly turn the input from 0v to 5v, and it 'should' hold the output at a certain threshold. if the input is unconnected, god knows what it will do...probably just pick up noise, so the voltage could be anything.

I think that the reason your circuit refuses to put out less than 1.6V is because of the opamp itself. As I said, opamps have an output voltage swing less than the supply voltage, it will never output 0V or Vcc (your power supply voltage), I guess, for your opamp, the lowest outptut with respect to ground is 1.6V.

http://hyperphysics.phy-astr.gsu.edu...ic/a741p2.html
for a different opamp, but has useful info

The LF358 apparently allows the output voltage to be very close to the negative supply (GND in this case) are you using this one? Theoretically, it should allow it to drop below 1v.

From that 'DIY FCD' page, he does explain it rather well, and I've been thinking about that circuit, but my analogue knowledge is not what it should be. All it seems to be is a voltage follower (a buffer) with a low pass filter on the input to attenuate noise pickup (but not eliminate), and a comparator. The comparator uses a diode in reverse bias so that the output swtiches from one input, to the other. Ie: from your signal, to your reference, set by the pot. (bit similar to my idea, but simpler, and rather clever )

If your app (your sensor) is identical to the one in the page mentioned above, then I don't think you need to worry, as the graph he has shows the lowest output of the sensor to be in the order of 2v.

Let me know how you get on.

Blueteeth.
Yes since the LM358 that I am using is 1.5v off I think this is my issue. At the input it is always 5v, I am only changing the clamp voltage when I refer to any voltage change. I set the clamp to 0v but the output is still 1.6v which I think is my problem since it will never be clamped this low and that would be the 1.5v offset from ground. I think I need to set it to 0v so the output will be 1.6v but then turn the input to almost 0v as well opposed to the 5v it is constantly set at. Since off the first amp the output will be 5v that when I turn the pot to 0v it tries to get it to ground but it is still a 1.5v offset. I should be changing the input voltage as well. Thanks for the input I will try this out later on when I get home from work.
RedCarzRFaster is offline   Reply With Quote
Old 10th August 2006, 09:30 PM   (permalink)
Default

Hi, forgot to add something.

The graph on the page only shows voltages from 2-5V from the sensor, with 'pressure' on the X-axis. However, the circuit doesn't need to do anything (except pass the signal through) until the clamping voltage......which he suggests you set between 3 and 4v.

I've just prototyped it, with a TL072, but it'll do. And theres strange behavoir when the input drops below 1.5V The output shoots straight to 4.9V regardless of the clamping voltage. Also, if the clamping voltage is set below 3V, it doesn't clamp.....the output will go straight past it to 3.5V BUT...it still lowers the gain of the opamp somehow....that is, with an input of say 4V and a clamp voltage of 2.6V the output is 3.2V. If it was 'perfect' that would be 2.6V obviously.

Now, thats obviously not great clamping, it lets it go past the threshold. However, for the range he stated it needs to operate on, given the sensor signals range (2-4V apparently) and the threshold which should be set between 3 and 4V, it works. Surprisingly well.

I'm unsure why it behaves wonderfully in this range, but output it goes 'gaga', probably because of the limit of the opamp unable to output (or even input) voltages within 1.5v of GND or VCC. I don't think the diodes bias of 0.6v has much to do with it though.
So, it seems to be absolutely fine for HIS application. Howabout yours? I've been racking my brains for a solution, but other that the ones I came up with in the other topic, I'm stumped for now

Blueteeth.
__________________
Inconsistency is the key to flexibility!
Blueteeth is offline   Reply With Quote
Old 10th August 2006, 09:46 PM   (permalink)
Default

The inputs of a TL072 are Jfets and they don't work and cause the output to suddenly invert when the input voltages get to within about 2.5V from the negative supply.
The inputs of an LM358 work fine down to the negative supply.
__________________
Uncle $crooge
audioguru is offline   Reply With Quote
Old 10th August 2006, 10:00 PM   (permalink)
Default

Quote:
Originally Posted by audioguru
The inputs of a TL072 are Jfets and they don't work and cause the output to suddenly invert when the input voltages get to within about 2.5V from the negative supply.
The inputs of an LM358 work fine down to the negative supply.
Ok they do work fine down to the negative supply which means it probably has to do with my input. I will lower the input voltage to 0v opposed to leaving the input at 5v and lowering the clamped voltage to 0v. Thanks for your input. This project has been driving me crazy, I cant stop thinking about it.
RedCarzRFaster is offline   Reply With Quote
Old 10th August 2006, 11:33 PM   (permalink)
Default

Use an LM393 as an op amp, and it will go almost to zero on the output, because you don't need the diode. The LM393 doesn't have a lot of bandwidth when used this way, but it will still be lots faster than you require.
Attached Images
File Type: png clamp.PNG (13.3 KB, 60 views)
__________________
Ron

Roff is offline   Reply With Quote
Old 10th August 2006, 11:54 PM   (permalink)
Default

Hi Ron,
Doesn't the LM393 comparator oscillate when it has negative feedback?
Or does the 10nF with the 100 ohms compensate it?
__________________
Uncle $crooge
audioguru is offline   Reply With Quote
Old 10th August 2006, 11:55 PM   (permalink)
Default

Quote:
Originally Posted by Ron H
Use an LM393 as an op amp, and it will go almost to zero on the output, because you don't need the diode. The LM393 doesn't have a lot of bandwidth when used this way, but it will still be lots faster than you require.
Interesting, very interesting. Glad someone from the original posts over a year ago chimmed in. I will definately have to test out this idea but unfortunately I only have 4 LM358's at my house and a LM324. I might have to order a LM393 if I cannot figure out my dilema.
RedCarzRFaster is offline   Reply With Quote
Old 11th August 2006, 02:41 PM   (permalink)
Default

Quote:
Originally Posted by audioguru
Hi Ron,
Doesn't the LM393 comparator oscillate when it has negative feedback?
Or does the 10nF with the 100 ohms compensate it?
According to the sim , it doesn't oscillate with the 100 ohms/10nF. I didn't test it in hardware.
__________________
Ron

Roff is offline   Reply With Quote
Old 11th August 2006, 03:19 PM   (permalink)
Default

Out of curiosity and topic... wich sim software are you using?
__________________
Steve
______________________
info@mister-e.org
www.mister-e.org
mister_e is offline   Reply With Quote
Old 11th August 2006, 04:05 PM   (permalink)
Default

Quote:
Originally Posted by mister_e
Out of curiosity and topic... wich sim software are you using?
SwitcherCAD III from Linear Technology. Totally free, general purpose, uncastrated.
__________________
Ron

Roff is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 01:23 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.