Go Back   Pro/Forums > ProCooling Geek Bits > Random Nonsense / Geek Stuff
Password
Register FAQ Members List Calendar Chat

Random Nonsense / Geek Stuff All those random tech ramblings you can't fit anywhere else!

Reply
Thread Tools
Unread 09-17-2005, 11:10 PM   #26
mogwai
Cooling Neophyte
 
mogwai's Avatar
 
Join Date: Jun 2003
Location: Miami
Posts: 23
Default

Quote:
Originally Posted by Vector86
I breadboarded it up with an lm339 but I couldn't get it to work the way I want it to. Is there anything I should look closely at?
Can you post more details? What component values are you using? How is it working that is different from what you want?

The output of the comparator should go high when Vc is lower than Vr and Low when Vc is higher than Vr. You need to use a value for the resistors and capacitor that makes it take long enough to charge/discharge to the triggering voltage that you set. You would probably want to use a cap that is a few uF instead of something in the nF or pF range. Small capacitors are more easily influenced by noise, and the leakage current from the diode and comparator would mess up your timing calculations. You may want to look up the formulas for RC circuits if you haven't already.

One more note: with this circuit as is, if the triggering voltage Vs varies, it will change the timing.
mogwai is offline   Reply With Quote
Unread 09-18-2005, 10:26 PM   #27
Vector86
Cooling Savant
 
Vector86's Avatar
 
Join Date: Jun 2002
Location: KANSAS "it's not just cows"!
Posts: 211
Default

For the RC combo I got 100uF and 1kohms at 12v for a 5 sec charge, It charges fine but it jumps right up to 11v when I discharge it and turn the power back on. Also, what voltage should I be seing on Vo?
Vector86 is offline   Reply With Quote
Unread 09-21-2005, 11:48 AM   #28
Vector86
Cooling Savant
 
Vector86's Avatar
 
Join Date: Jun 2002
Location: KANSAS "it's not just cows"!
Posts: 211
Default

Quote:
Originally Posted by Vector86
For the RC combo I got 100uF and 1kohms at 12v for a 5 sec charge, It charges fine but it jumps right up to 11v when I discharge it and turn the power back on. Also, what voltage should I be seing on Vo?
I'm an idiot. I figured out what I was doing wrong and the circuit (the charging part at least) works fine now. The biggest part of my problem was that the original values I came up with were completely wrong. After calculating the RC values it works.


r1 = 1k
r2 = 200k
c1 = 1000uF or 1mF
Vector86 is offline   Reply With Quote
Unread 09-21-2005, 01:03 PM   #29
superart
Cooling Savant
 
superart's Avatar
 
Join Date: Mar 2002
Location: FL
Posts: 787
Default

hey, just cureous,

what are you guys using for ECU and fuel injection and the likes?

You dont have to answer if you wanna keep it secrete.

Im just asking cus I'm doing FSAE also, and Im looking around for a ECU solution. Right now I think I'm leaning more towards PowerSquirt v.3, but not really sure yet.
__________________
When you do things right,
people won't be sure youv'e done anything at all.

Looking to buy/trade for used Deep Fryer and Vacume Pack Sealer.
superart is offline   Reply With Quote
Unread 09-21-2005, 03:37 PM   #30
Vector86
Cooling Savant
 
Vector86's Avatar
 
Join Date: Jun 2002
Location: KANSAS "it's not just cows"!
Posts: 211
Default

All I can really say is that we have a Motec ECU, other than that, I know absolutely nothing about it.
Vector86 is offline   Reply With Quote
Unread 09-30-2005, 04:47 PM   #31
Vector86
Cooling Savant
 
Vector86's Avatar
 
Join Date: Jun 2002
Location: KANSAS "it's not just cows"!
Posts: 211
Default

I couldn't find any opamps that will take and output 15v. I only need 12, but I don't want my circuit to die if it goes over. I have the above schematic wired up with an lm339 quad comparator and I only get 3v output. I could wire up all the comparators but that seems like overkill. Can someone recommend an opamp?
Vector86 is offline   Reply With Quote
Unread 09-30-2005, 05:19 PM   #32
mogwai
Cooling Neophyte
 
mogwai's Avatar
 
Join Date: Jun 2003
Location: Miami
Posts: 23
Default

I did a parametric search on TI and found this: http://focus.ti.com/docs/prod/folders/print/opa251.html

The opa251 is single supply, can handle 36v, and has rail to rail output. (meaning that the output should go to the same voltages as the supply.) Apparently you can get free samples of this chip from TI. If you are worried about overvolting it you can always use a resistor and a zener diode to protect it.
mogwai is offline   Reply With Quote
Unread 09-30-2005, 06:18 PM   #33
Brians256
Pro/Staff
 
Brians256's Avatar
 
Join Date: Oct 2001
Location: Klamath Falls, OR
Posts: 1,439
Default

Vector86, you could also use a voltage divider to use an opamp with a smaller range on input. Spike protection isn't a bad idea either, though
Brians256 is offline   Reply With Quote
Unread 10-01-2005, 05:07 PM   #34
Vector86
Cooling Savant
 
Vector86's Avatar
 
Join Date: Jun 2002
Location: KANSAS "it's not just cows"!
Posts: 211
Default

Thanks mogwai, I ordered a free sample from TI so we'll see how that works out.
Vector86 is offline   Reply With Quote
Unread 10-15-2005, 08:04 PM   #35
Vector86
Cooling Savant
 
Vector86's Avatar
 
Join Date: Jun 2002
Location: KANSAS "it's not just cows"!
Posts: 211
Default

When I have the opa251 wired in, the output doesn't behave as expected. When the input voltage reaches the refference voltage, the output stays high instead of going low. What am I doing wrong?
Vector86 is offline   Reply With Quote
Unread 10-15-2005, 09:52 PM   #36
mogwai
Cooling Neophyte
 
mogwai's Avatar
 
Join Date: Jun 2003
Location: Miami
Posts: 23
Default

Does your input signal, vref, and the op amp have a common ground?

When the voltage is higher on the - input than on the + input the output should be low.
mogwai is offline   Reply With Quote
Unread 10-18-2005, 11:22 AM   #37
Vector86
Cooling Savant
 
Vector86's Avatar
 
Join Date: Jun 2002
Location: KANSAS "it's not just cows"!
Posts: 211
Default

yes, they all have a common ground.
Vector86 is offline   Reply With Quote
Unread 10-18-2005, 09:51 PM   #38
Vector86
Cooling Savant
 
Vector86's Avatar
 
Join Date: Jun 2002
Location: KANSAS "it's not just cows"!
Posts: 211
Default

I think I need to drop the input signal b about 1 volt. It seems that the comparator won't function properly if the input signal is within .8 volts of the supply voltage.
Vector86 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:04 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...