Page 1 of 2 12 LastLast
Results 1 to 15 of 19

Thread: VSS signal converter

  1. #1
    Fuel Injected! sturgillbd's Avatar
    Join Date
    Jun 2012
    Location
    Big Stone Gap, VA
    Age
    50
    Posts
    504

    VSS signal converter

    Some of you may have been reading the thread here where we have been hashing ideas about Optical and Magnetic VSS signals in a powertrain swap. In this thread there were several Ideas on how to feed an optical signal into the magnetic VSS inputs. After testing how the magnetic sensor inputs behave on a 1227727 with a signal generator, I found that the VSS high signal has to swing above and below the ground reference for the ECM to read the signal. I also found that the VSS Low pin is tied to ground with a low resistance. What is needed is a level shifting circuit. I put together a MAX232 circuit which is usually used to convert RS232 signals to TTL. The MAX232 can take a 0-5V signal and output a + and - voltage based on high or low state of the input to one of its transmitter pins. On this test circuit, I used a signal generator to simulate a 0 - 12v input from a signal generator and the zener diode circuit on the input clamps the voltage feeding the chip to 5v before entering the MAX232. I tested this circuit with a 1227727 running the $8D mask and it seems to operate correctly. I have also made a pulse divider circuit for the 0-5v optical VSS sensors. I can divide the signals by 2 or 4. It can take an 8000 PPM signal and output 4000 PPM or 2000 PPM. I will get the circuit drawn up and will post it in this thread. Questions / comments welcome.

    Brian

  2. #2
    Super Moderator Six_Shooter's Avatar
    Join Date
    Feb 2011
    Posts
    2,968
    I read the first couple of sentences of your post and immediately about using a MAX232 (or equivalent) IC for that. lol

    Glad to hear that it seems to work well.

    You could also use it to go the other way as well, from magnetic VSS to optical input. May need an amplifier circuit on teh output though, I don't recall the voltage level of the optical pulse train off hand. I know, I know, using a DRAC is usually how this is done...
    The man who says something is impossible, is usually interrupted by the man doing it.

  3. #3
    Fuel Injected!
    Join Date
    May 2011
    Location
    Pocono's PA.
    Age
    50
    Posts
    370
    Quote Originally Posted by sturgillbd View Post
    Some of you may have been reading the thread here where we have been hashing ideas about Optical and Magnetic VSS signals in a powertrain swap. In this thread there were several Ideas on how to feed an optical signal into the magnetic VSS inputs. After testing how the magnetic sensor inputs behave on a 1227727 with a signal generator, I found that the VSS high signal has to swing above and below the ground reference for the ECM to read the signal. I also found that the VSS Low pin is tied to ground with a low resistance. What is needed is a level shifting circuit. I put together a MAX232 circuit which is usually used to convert RS232 signals to TTL. The MAX232 can take a 0-5V signal and output a + and - voltage based on high or low state of the input to one of its transmitter pins. On this test circuit, I used a signal generator to simulate a 0 - 12v input from a signal generator and the zener diode circuit on the input clamps the voltage feeding the chip to 5v before entering the MAX232. I tested this circuit with a 1227727 running the $8D mask and it seems to operate correctly. I have also made a pulse divider circuit for the 0-5v optical VSS sensors. I can divide the signals by 2 or 4. It can take an 8000 PPM signal and output 4000 PPM or 2000 PPM. I will get the circuit drawn up and will post it in this thread. Questions / comments welcome.

    Brian
    NICE !!!!!

    This will definitely come in handy .

    TOM
    1994 3500 Dually , 502 (509) , 264HR , Edelbrock MPFI , PFI '7427
    1992 S-10 434 SBC/Tremec - '7427
    1986 Monte Carlo SS
    1984 S-10 , SAS, 496/700R4/205 , D44/14BFF -'7427
    1980 Z-28 496/700R4
    1979 Corvette 496/700R4
    1977 Olds 98 Regency 403/700R4

  4. #4
    Fuel Injected! sturgillbd's Avatar
    Join Date
    Jun 2012
    Location
    Big Stone Gap, VA
    Age
    50
    Posts
    504
    I read the first couple of sentences of your post and immediately about using a MAX232 (or equivalent) IC for that. lol
    I figured you would. I remember reading that you were in the process of getting your AAS EET a while back. I received my AAS EET in 1994. I had all of the electronics courses completed by 1993 but took 3 credit hours my last two semesters. How many credit hours was/is your program. I had to have 81 credit hours for an Associates Degree. Don't be too critical of my schematic drawing skills, I just downloaded that software about three hours ago and am learning it as I go :)

  5. #5
    Fuel Injected!
    Join Date
    Oct 2013
    Posts
    1,022

  6. #6
    Fuel Injected! sturgillbd's Avatar
    Join Date
    Jun 2012
    Location
    Big Stone Gap, VA
    Age
    50
    Posts
    504
    Here is the frequency divider circuit for the optical VSS signal. Each output divides the signal frequency by two. If the VSS signal coming in is 8000 PPM, the first output will be 4000 PPM and the second output will be 2000 PPM. If the optical VSS signal output is higher than 5V, the 74LS74 could be replaced with a 74HC74 and the 5V regulator could be omitted. The MOSFET will allow a 5V signal to control a VSS input that is internally pulled up to battery voltage such as in the 1227727. The 7727 also worked when the VSS input was switched between 0 and 5V but I added the MOSFET to allow it to rise to it's pull-up voltage.

  7. #7
    Administrator
    Join Date
    May 2011
    Location
    Lakes Region, NH
    Age
    54
    Posts
    3,849
    Very nice. VSS input really is key to making a vehicle run correctly if using a 7747 or other C3. And it's also a big part of transitioning manual transmission equipped vehicles from coastdown to no-load conditions. Hopefully this saves some people from purchasing expensive aftermarket components.

    Thank you.

  8. #8
    Fuel Injected! JeepsAndGuns's Avatar
    Join Date
    Sep 2011
    Location
    alabama
    Age
    41
    Posts
    1,705
    Very interesting. I'm guessing this would be used for ecm swaps where the vehicle its being installed in has only 1 type of vss, or for ecm's that can only accept 1 type of input. Seems this would allow a lot more flexability when installing/setting up a vss.
    Only thing that I think would make it cooler, would be being able to adjust the output pulses to adjust for different tire sizes/gear ratios.
    For example, my 93 wrangler has the 8 pulse vss, but its driven by a gear in the tailhousing of the transfer case. Those gears are swappable for different tire sizes/gear ratios. But they only help to a point. Right now with current tire size and gear ratio, the closest speedo gear makes it read about 3 mph too fast. I know, not much, but it is annoying. Being able to adjust the output pulses could correct the speedo. But that would also mean it would have to have another output (adjusted for speed correction, and the same signal as the input) And not knowing anything about stuff like this, I'm afraid it would make it about 10 times more complex and expensive.
    79 Jeep Cherokee, AMC 401, T-18 manual trans, hydroboost, 16197427 MPFI system---the toy

    93 Jeep YJ Wrangler, 4.0L, 5 speed, 8.8 rear, homebrew hub conversion and big brakes, hydroboost, 2.5in OME lift, 31x10.50's---the daily driver

    99 Jeep WJ Grand Cherokee limited, 4.0L, auto, 2wd, leather and power everything, 99% stock---the long distance highway ride.

  9. #9
    Super Moderator
    Join Date
    Mar 2011
    Location
    Camden, MI
    Age
    35
    Posts
    3,026
    i've been toying with the idea of using a small/cheap microcontroller for finer control of the VSS feed to the cluster due to the way the pulse divisor works in the P4 ECMs and not being able to get a divisor close enough for the tires/reluctor combo I use... as usual, my hangup is on the PC side of things, but I'm slowly working through that. from the looks of it, it could be done for ~$5 in part costs, so it shouldn't be too painful.
    1995 Chevrolet Monte Carlo LS 3100 + 4T60E


  10. #10
    Fuel Injected! sturgillbd's Avatar
    Join Date
    Jun 2012
    Location
    Big Stone Gap, VA
    Age
    50
    Posts
    504
    Yeah, a little microcontroller could take the place of the divider circuit above also. Read an input, do sone math, send output on another pin based on the math just done. It could also multiply a signal frequency but would lose some accuracy. Any error on reading the input would be multiplied in the output. Ill try some tests with one at some point.

  11. #11
    Super Moderator Six_Shooter's Avatar
    Join Date
    Feb 2011
    Posts
    2,968
    Quote Originally Posted by sturgillbd View Post
    I figured you would. I remember reading that you were in the process of getting your AAS EET a while back. I received my AAS EET in 1994. I had all of the electronics courses completed by 1993 but took 3 credit hours my last two semesters. How many credit hours was/is your program. I had to have 81 credit hours for an Associates Degree. Don't be too critical of my schematic drawing skills, I just downloaded that software about three hours ago and am learning it as I go :)
    I'm not sure what AAS is, but my program is a diploma program. I was in EET (Electronics Engineering Technology - (Telecom)), but as of January I switched in to EETcn, Electronics Engineering Technician, for various reasons. I will be done this semester, where as EET was going to be another 2 years, again due to various reasons. I do plan to continue on, but as part time, and probably switch into CET (Computer Engineering Technology), which is the 3rd sibling program in the trio, either that or something different like ESD (Embedded System Design), or maybe do all of it. lol

    Quote Originally Posted by sturgillbd View Post
    Here is the frequency divider circuit for the optical VSS signal. Each output divides the signal frequency by two. If the VSS signal coming in is 8000 PPM, the first output will be 4000 PPM and the second output will be 2000 PPM. If the optical VSS signal output is higher than 5V, the 74LS74 could be replaced with a 74HC74 and the 5V regulator could be omitted. The MOSFET will allow a 5V signal to control a VSS input that is internally pulled up to battery voltage such as in the 1227727. The 7727 also worked when the VSS input was switched between 0 and 5V but I added the MOSFET to allow it to rise to it's pull-up voltage.
    I quickly looked at this but will take a more in depth look later since I need something like this very soon. The difference is I need to divide down from like 17000 PPM due to the VSS in the trans I am using (Nissan, not GM). Currently with my '7749, I am able to get it divided down to be pretty accurate, but will be switching to ECM(s) that do not have this capability. I'm thinking about starting with a 7492, 74290 or 74292, or just what ever I find will get me close to start with. I haven't put a pen to paper to start designing it yet, just thinking about it in passing.
    The man who says something is impossible, is usually interrupted by the man doing it.

  12. #12
    Fuel Injected!
    Join Date
    Oct 2013
    Posts
    1,022
    Quote Originally Posted by JeepsAndGuns View Post
    Very interesting. I'm guessing this would be used for ecm swaps where the vehicle its being installed in has only 1 type of vss, or for ecm's that can only accept 1 type of input. Seems this would allow a lot more flexability when installing/setting up a vss.

    The idea of the MAX232 circuit is to feed a 0-5V or 0-12V squarewave VSS signal into the magnetic sensor input. This could allow PCM's with only magnetic inputs to accept the VSS. IT also allows the adjustable pulse parameter for the magnetic input to be used to match the VSS pulses.

    On the PCM's with both input types, the DRAC VSS input only accepts 2000ppm signals. The signal from a different VSS might be electrically compatible with that input but have the wrong ppm count so the PCM will register a speed but the speed is wrong.
    Last edited by lionelhutz; 03-19-2015 at 08:05 PM.

  13. #13
    Fuel Injected! sturgillbd's Avatar
    Join Date
    Jun 2012
    Location
    Big Stone Gap, VA
    Age
    50
    Posts
    504
    The difference is I need to divide down from like 17000 PPM due to the VSS in the trans
    With the divide by 4 output, you would be showing higher speed by 6.25%. If you can adjust your speed related items in the calibration by that amount, you should be fine. If you are depending on this signal for a speedometer, it will be off. With a microcontroller, the pulse train could be sampled for a time (lets say 250 milliseconds), and put into a counter. The program could then do some math based on a constant you put in and develop a separate output based on that constant. If you were off by 6.25% high on the input, it could make the period of the output 6.25% longer to lower the frequency by that amount. All of this would have to run in a loop in the program so it updates at a reasonable rate. It can be done but will take some code to be written. Luckily with the microcontrollers, there are C compilers which make development much faster. I have some code I need to find where I built a microcontroller project a few years ago. When the circuit was first powered up, it posed a prompt on the serial port that you could connect with a PC. You entered the data that you wanted it to run with and it took off. If after two seconds of powerup, nothing was entered, the program used the last entered data which was stored on the internal eeprom. If there would be interest in a project like this, maybe we could all develop it as a group.

    Brian

  14. #14
    Fuel Injected! sturgillbd's Avatar
    Join Date
    Jun 2012
    Location
    Big Stone Gap, VA
    Age
    50
    Posts
    504
    250 milliseconds would probably be too long to get reasonable updates on speed changes especially after the overhead of the processing. It was just an arbitrary value. The sample rates will have to be examined and lots of testing be done to make it pretty much a universal circuit.

  15. #15
    Fuel Injected!
    Join Date
    Feb 2015
    Age
    36
    Posts
    26
    I hate to just dive in, but I worked out a circuit that converts a baby XJ VSS signal into a 1227747 VSS signal. The problem with the baby XJ unit is the amplitude of the sine wave that comes out of the sensor is dependent on the vehicle speed. For instance, at 10 MPH, the sensor doesn't get above 1.5 volts. This circuit amplifies the signal so it can be read at 1MPH. I've got this up and running currently and it works great!

    I want this to be "in addition to" what the OP posted and not "as opposed to"

    Attachment 8676

Similar Threads

  1. SMOG results 7.4L 1994 - Catalytic Converter work load ?
    By kevinvinv in forum GM EFI Systems
    Replies: 2
    Last Post: 03-05-2015, 01:17 AM
  2. Understanding the A/D Converter Function
    By KidTurbo in forum GM EFI Systems
    Replies: 8
    Last Post: 05-24-2014, 10:58 AM
  3. How does a Torque Converter work?
    By EagleMark in forum Gear Heads
    Replies: 12
    Last Post: 03-24-2014, 05:41 PM
  4. Replies: 0
    Last Post: 01-16-2013, 12:18 AM
  5. Handy Converter???
    By 1project2many in forum GM EFI Systems
    Replies: 5
    Last Post: 11-28-2011, 10:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •