Offline
Newbie
Karma: 0
Posts: 6
|
 |
« on: January 27, 2013, 08:50:01 pm » |
Hey guys!
I am in the process in converting my car to an electric drive train. Removing the stock engine / transmission have rendered my digital instrument cluster, as well as electronic power steering, useless. The two primary signals that feed the car's computer are the vehicle speed sensor (VSS) signal and the crank signal. From these signals, the computer calculates the vehicles speed (off of VSS) and the engine's RPM (off of crank signal). The computer also sends both the VSS and engine RPM signal to the electronic steering pump's control box so that power steering works. However, I am not sure how the power steering control box handles the signals - this is why I need to figure out how the signals interact before making a final circuit.
I want to use an arduino, either a mega or an UNO R3, to make both signals at the same time. I know a mechanical relay would not be capable of running the necessary frequencies (0 - 100khz-ish), so how would I do this? Transistors? The engine RPM signal runs off of 0-5v square wave signal, while the VSS runs off of a 0-12v signal. I should also add that the signals will not run at the same frequencies, the VSS may be running at 50khz while the crank signal may be running at 5 khz.
Thanks for the help guys :-)
|
|
|
|
« Last Edit: January 27, 2013, 08:52:01 pm by thinmint »
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15316
Measurement changes behavior
|
 |
« Reply #1 on: January 27, 2013, 09:15:29 pm » |
That's quite a ambitious project you've taken on. I can only give a possible answer (but not validated) to: The computer also sends both the VSS and engine RPM signal to the electronic steering pump's control box so that power steering works. However, I am not sure how the power steering control box handles the signals - this is why I need to figure out how the signals interact before making a final circuit.
I believe the higher speed a vehicle is going the less power steering force it requires to prevent over sensitive steering control at higher speeds. So I suspect the signal was used to vary or bypass the hydraulic pressure applied to the power steering assist actuator. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #2 on: January 27, 2013, 09:42:02 pm » |
That's quite a ambitious project you've taken on. I can only give a possible answer (but not validated) to: The computer also sends both the VSS and engine RPM signal to the electronic steering pump's control box so that power steering works. However, I am not sure how the power steering control box handles the signals - this is why I need to figure out how the signals interact before making a final circuit.
I believe the higher speed a vehicle is going the less power steering force it requires to prevent over sensitive steering control at higher speeds. So I suspect the signal was used to vary or bypass the hydraulic pressure applied to the power steering assist actuator. Lefty You're likely correct. I think the computer may search for an RPM signal (~1500 RPM, idle) at zero mph, and in turn give full power steering. After that point, I think it would moderate the power steering based on the mph reading. As you go faster (increase mph), less power steering.
|
|
|
|
|
Logged
|
|
|
|
|
Philippines
Offline
Newbie
Karma: 0
Posts: 18
|
 |
« Reply #3 on: January 27, 2013, 10:24:55 pm » |
I want to use an arduino, either a mega or an UNO R3, to make both signals at the same time. I know a mechanical relay would not be capable of running the necessary frequencies (0 - 100khz-ish), so how would I do this? Transistors?
Better use MOSFETs, they're more efficient in switching, faster, too. Provides more power if you need it, aswell. Good luck on the project! Quite ambitious, but FUN! Post some pictures!
|
|
|
|
|
Logged
|
--Gin319
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #4 on: January 28, 2013, 06:16:59 pm » |
I want to use an arduino, either a mega or an UNO R3, to make both signals at the same time. I know a mechanical relay would not be capable of running the necessary frequencies (0 - 100khz-ish), so how would I do this? Transistors?
Better use MOSFETs, they're more efficient in switching, faster, too. Provides more power if you need it, aswell. Good luck on the project! Quite ambitious, but FUN! Post some pictures! Would a mosfet like this work ? http://www.radioshack.com/product/index.jsp?productId=2062618What would I do with each of the pins? I need a fritzing diagram! As for the project, take a look here http://www.s2ki.com/s2000/topic/975497-wait-that-isnt-an-f20c/
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #5 on: January 29, 2013, 03:38:39 pm » |
bump help
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 23
Posts: 1379
Now, More Than Ever
|
 |
« Reply #6 on: January 29, 2013, 06:30:40 pm » |
The RPM signal should not be a lot of current and the Arduino output itself (maybe with a resistor too) will likely suffice.
As for the 0-12V "VSS" - Is it PWM, or some varying frequency or what? You're going to fool your panel's speedo that it's getting 0-12V or some PWM-related signal? That's probably not a high-current deal there either.
Anyway, leave that IRF510 at Radio Shack.
|
|
|
|
|
Logged
|
Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do
|
|
|
|
Philippines
Offline
Newbie
Karma: 0
Posts: 18
|
 |
« Reply #7 on: January 29, 2013, 08:32:07 pm » |
I want to use an arduino, either a mega or an UNO R3, to make both signals at the same time. I know a mechanical relay would not be capable of running the necessary frequencies (0 - 100khz-ish), so how would I do this? Transistors?
Better use MOSFETs, they're more efficient in switching, faster, too. Provides more power if you need it, aswell. Good luck on the project! Quite ambitious, but FUN! Post some pictures! Would a mosfet like this work ? http://www.radioshack.com/product/index.jsp?productId=2062618What would I do with each of the pins? I need a fritzing diagram! As for the project, take a look here http://www.s2ki.com/s2000/topic/975497-wait-that-isnt-an-f20c/The MOSFETs would be used for voltage isolation, protects the Arduino pin, too. In case of a higher voltage pulsing that is required to the system, the MOSFET would help. On the fritzing diagram attached, your output to the system would be on the middle pin, and the battery pack could also be 12V.
|
|
|
|
|
Logged
|
--Gin319
|
|
|
|
Offline
Edison Member
Karma: 23
Posts: 1379
Now, More Than Ever
|
 |
« Reply #8 on: January 29, 2013, 09:14:28 pm » |
Schematic?
|
|
|
|
|
Logged
|
Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do
|
|
|
|
Philippines
Offline
Newbie
Karma: 0
Posts: 18
|
 |
« Reply #9 on: January 29, 2013, 09:37:35 pm » |
|
|
|
|
|
Logged
|
--Gin319
|
|
|
|
Offline
Edison Member
Karma: 23
Posts: 1379
Now, More Than Ever
|
 |
« Reply #10 on: January 30, 2013, 08:14:24 am » |
You can't do "source follower" with a MOSFET.
|
|
|
|
|
Logged
|
Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #11 on: January 30, 2013, 08:32:28 pm » |
Thanks for the help guys!
I don't think the signal will be PWM, it should just be 0-12v with changes in frequency. If "source follow" doesnt work on a mosfet, does that mean that the circuit provided wouldn't work?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 23
Posts: 1379
Now, More Than Ever
|
 |
« Reply #12 on: January 30, 2013, 09:29:34 pm » |
If "source follow" doesnt work on a mosfet, does that mean that the circuit provided wouldn't work?
Correct.
|
|
|
|
|
Logged
|
Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #13 on: January 30, 2013, 09:57:16 pm » |
If "source follow" doesnt work on a mosfet, does that mean that the circuit provided wouldn't work?
Correct. Hmm How would you do it then, assuming the arduino cant output a 12v for the 0-12v pulse
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 23
Posts: 1379
Now, More Than Ever
|
 |
« Reply #14 on: January 31, 2013, 08:01:09 am » |
So "VSS" ends up being the speedometer input. What is the speedometer? Is it essentially a frequency meter? [The speedometer in your vehicle's "modern" instrument cluster here is much differ than the situation in a '65 Mustang.] So, if it is a freq meter (like), making indications based on some varying freq having a 0-12VDC amplitude, then all you should need is an NPN transistor configured for "common emitter", as depicted in Fig. 1 -- https://en.wikipedia.org/wiki/Common_emitterFurther, that'll require a resistor between the Arduino output and the base (2k-5kΩ), the collector resistor could be 1K or so, and "V+" is your 12V.
|
|
|
|
|
Logged
|
Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do
|
|
|
|
|