the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
icon

adjustable voltage relay


Post ReplyPost New Topic
< Prev Topic Next Topic >
chris81 
Member - Posts: 5
Member spacespace
Joined: October 11, 2009
Location: Australia
Posted: October 11, 2009 at 6:18 PM / IP Logged  

Hi,

I have done a bit of a search for this, and found a couple of similar postings, but the answers were all too far over my level of experience.

So, first of all I have a basic understanding of Relays, Diodes, Resistors, etc, but terms like "op-amps" have left my head spinning :)

Essentially this is the situation that I have:

I have an Exhaust Gas Control Valve (EGCV) in my car (1994 TT Toyota Supra) that along with other valves controls the operation of the sequential turbo system. These valves are operated by pressure fed actuators that activate through powered solenoids that are controlled by the ECU. What I want to do is have the ability to cause the EGCV to close slightly, therefore creating a restriction in that particular part of the exhaust system.

We've tried using adjustable Hobbs switches but the hyisteris is too great (~2psi) and by the time the pressure drops back down enough to allow the valve to open back up a bit the valve has completely closed.

So what I was thinking of doing is putting a MAP sensor in the pressure line that feeds the actuator, and given that we know that the actuator opens & closes, and is partial at specific pressures, I could use the feed from the MAP sensor to trigger a relay that opens / closes another solenoid that allows air to bleed out of that pressure line (instead of closing the solenoid that feeds the actuator thereby causing it to snap shut).

The MAP sensor outputs at between 0-5v, with a specific voltage indicating a specific pressure / vacuum.

So what I need is a type of relay (preferably simple) that I can adjust the voltage point at which the relay switches on (e.g. 2.5v) and it must be able to cycle a few times a second.

Also, we'll be using an adjustable Hobbs type switch so that this circuit is not active until the manifold pressure reaches a certain amount.

If given a parts list, & wiring diagram I am pretty sure I'm competent enough to be able to put it all together, but if there is a simple off the shelf product that will do the same job for not a lot of money then that would be just as good.

Hopefully I've explained everything clearly enough.

Thanks.

dualsport 
Silver - Posts: 983
Silver spacespace
Joined: September 27, 2005
Location: United States
Posted: October 12, 2009 at 11:27 AM / IP Logged  
Op amp relay control
Take a look at the above thread to get some ideas; it has two comparator circuits but sounds like you may only need one of them.
You could use an op amp to determine when the relay is supposed to be on or off, based on the voltage it receives from the MAP sensor.
For the purposes of the circuit you want, the op amps and comparators basically operate as a switch controlled by two input voltages going into the + and - terminals.
When the + is higher than the - terminal, the output goes high, and when the + is below the - terminal, the output goes low. The specific parts used may only drive one direction, but that's the general idea.
You just need to set up a voltage reference going to one of the input terminals, let's say 2.5V, and then apply your MAP sensor signal to the other input.
When your MAP input is above 2.5, the output turns on or off, however you prefer. Then when it drops below 2.5, it switches state again.
Because they operate so fast, you will actually want to add some hysterisis to it so that it doesn't start oscillating from noise right around the threshold, because it's so sensitive. Otherwise the relay may start chattering as you approach the 2.5V point.
For the reference, you can use a specialized 2.5V reference chip, or just use a zener diode and a few resistors to adjust the threshold to exactly the point you want.
You won't need the 1Mohm resistor pullup shown on the circuit since you'll be applying the signal directly from the MAP sensor. The op amp has high impedance so it it shouldn't affect your actual MAP sensor signal, which is important.
chris81 
Member - Posts: 5
Member spacespace
Joined: October 11, 2009
Location: Australia
Posted: October 12, 2009 at 5:26 PM / IP Logged  

Thanks for your reply.

I get the basics of what you're saying, and I had come across comparators in my searches, but I don't quite get that wiring diagram, it's a bit above my understanding.

Is the Op Amp the same as a comparator? (Or does the Op Amp describe the entire circuit?)

Any chance of getting a dumbed down version?

From what you're saying I was thinking it would be something as simple as:

12v Source -> Variable Resistor -> Comparator

                    MAP Sensor Signal -> Comparator -> Solenoid

Would a variable resistor work ok in this situation or would it not be accurate enough? (Or maybe I need to bring the voltage down to 5v first and then use a sensitive variable resistor to tune it in?)

Also, would I be better off using a solid state relay in this instance, and how would I build a hyisteris into it?

Sorry for what I am now realising is a greater lack of understanding of electronics then I thought I had, but I'm a fast learner, so this shouldn't be too painful :)

dualsport 
Silver - Posts: 983
Silver spacespace
Joined: September 27, 2005
Location: United States
Posted: October 12, 2009 at 7:09 PM / IP Logged  
Op amps and comparators are similar but different. Usually for something like what you want, a comparator is what you use, but op amps should work also.
Op amps are usually used in closed loop, meaning the output is routed back to the inputs so they can readjust based on the changing voltages, like when it's used as an amplifier. They can be used so that the output is some multiple of the input voltage.
Comparators are meant more for comparing two input voltages to each other, as the name implies. Pretty much what you're doing.
They have higher speed operation, so they can switch much faster, but that's not really a requirement in your case, since you're piping it into something that doesn't need that kind of speed.
For the reference voltage, you really need to have some kind of regulated setup that doesn't vary when the engine voltage goes up and down. If it's really not that critical, you could use a resistor divider to divide the engine voltage down, and use a variable resistor to tweak it to the point you want. Just keep in mind if your car's voltage goes up or down, so will the threshold point.
Hysteresis can be added by routing some of the output back to the (+) input, so it causes the effective threshold to change depending on whether the output is low or high. In an extreme case example, it would switch high only when it rises above 3V, and after it goes high, switches back down only when it drops below 2V. In between those points, the output doesn't switch even if it goes above or below 2.5V.
Without hysteresis, the output would go high when the input voltage goes above 2.5V, and if the input drops below 2.5, it'll go low again.
Problem here is that in the real world, you'll have all sorts of noise on the signal, and as it approaches the transition, the noise will cause it to rapidly switch back and forth. If you had a relay connected to it, it would just buzz.
If you're planning on a solid state relay instead of a comparator type of device, it may not be a sharp enough switching point to get it as accurate as you want. You can drive the solid state relay with the output of the comparator though. SSR's are usually expensive though, so mechanical relays are more cost effective where they can be used.
chris81 
Member - Posts: 5
Member spacespace
Joined: October 11, 2009
Location: Australia
Posted: October 12, 2009 at 8:35 PM / IP Logged  

WOW, that's really good, and best of all I'm pretty sure I understand it all :)

Feeding some of the output back into the base input to get the hysteresis is so simply clever :).

I take it that I would just use resistor/s to drop it from the 2.5v to 0.5v (or whatever)? Is there a specific type that I should use for doing this rather then just the generic ones?

So, my last question: Where do I get a comparator of the appropriate type from? I've done a bit of a Google and they all seem to be suppliers for industry level stuff.

Thanks again.

dualsport 
Silver - Posts: 983
Silver spacespace
Joined: September 27, 2005
Location: United States
Posted: October 12, 2009 at 9:44 PM / IP Logged  
The op amp listed from the other post would work, for 64 cents ea. from www.mouser.com, or you can get a comparator for a bit more at 97 cents- TLC3704
If you're getting resistors, you can look for metal film, 5%, 1/4W for general use. mouser.com has a drop down filter selector that you can use to look for specific requirements.
If you also get something like a 5V zener diode, you can use that for your regulated reference, by using it to generate a constant 5V or so. Then you would use a couple resistors to divide that by two to get 2.5V, to use as the reference input.
chris81 
Member - Posts: 5
Member spacespace
Joined: October 11, 2009
Location: Australia
Posted: October 12, 2009 at 9:55 PM / IP Logged  

LOL, that's alot cheaper then I thought it would be.

Seeing as how I'd have to have the reference voltage adjustable to tune in the limit a variable resistor would be best after the zener. I can also use this to provide power to the MAP sensor as it runs on 5v.

Thanks for all this, I think you've pretty much doubled my knowledge of Electronics :)

dualsport 
Silver - Posts: 983
Silver spacespace
Joined: September 27, 2005
Location: United States
Posted: October 12, 2009 at 10:35 PM / IP Logged  
Do you know what kind of current your MAP sensor needs? You might need to make sure the zener diode method of regulation is enough for it.
Using it for just a reference input to the comparator is no problem because it hardly needs any current at all.
If the MAP sensor needs a lot of current, it might be harder for the zener to maintain the target voltage over varying draw.
You could measure it with an inline ammeter as you put 5V to it, just to see.   I thought it was OEM one that was already in the car rather than an extra one.
chris81 
Member - Posts: 5
Member spacespace
Joined: October 11, 2009
Location: Australia
Posted: October 14, 2009 at 4:56 PM / IP Logged  

Ahh, hadn't realised that with the Zener, I might see if I can find a CU managed 5v line to tap into instead. The plan is to use a seperate MAP sensor so that I'm only referencing from the line going to the actuator, which is what we have to keep to within a 0.5psi range.

Funnily enough after going through all of this I was looking through the Jaycar (Aussie supplier of all things electronic) website and their kits, looking for something completley different, and came across this:

http://www.jaycar.com.au/productView.asp?ID=KC5377&CAtid=25&form=CAT&SUBCAtid=347

The REALLY annoying thing is that they were the first people I rang when I had this idea and asked if they had something like this and the idiot sales person said "Nope, we don't have anything that'll do that, in fact I don't think it's possible...."

So anyway, thanks for all your help, but it looks like this is what I need to do the job.

dualsport 
Silver - Posts: 983
Silver spacespace
Joined: September 27, 2005
Location: United States
Posted: October 14, 2009 at 5:30 PM / IP Logged  

That does look like exactly what you were looking for, doesn't it?

no fuss, no muss. adjustable voltage relay -- posted image.


Sorry, you can NOT post a reply.
This topic is closed.

  Printable version Printable version Post ReplyPost New Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

  •  
Search the12volt.com
Follow the12volt.com Follow the12volt.com on Facebook
Friday, May 10, 2024 • Copyright © 1999-2024 the12volt.com, All Rights Reserved Privacy Policy & Use of Cookies
Disclaimer: *All information on this site ( the12volt.com ) is provided "as is" without any warranty of any kind, either expressed or implied, including but not limited to fitness for a particular use. Any user assumes the entire risk as to the accuracy and use of this information. Please verify all wire colors and diagrams before applying any information.

Secured by Sectigo
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
Support the12volt.com
Top
the12volt.com spacer
the12volt.com spacer