Electronic Circuits and Projects Forum



Fuel gauge adapter

« First ... 78910111213 Last »
  1. #101
    alec_t alec_t is offline
    Glad it's working now and glad to have been of help. It's always good to have confirmation that a real-world circuit behaves as simulation predicts. Happy New Year!
    0
    My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
    Alec's First Law:-
    Every problem has a solution (given the right information and resources).

  2. #102
    jelliott jelliott is offline
    Bad news: I broke it. I'm almost too embarrassed to post this, but the way I had it wired--upper ground (as shown in Post #87) directly to battery monitor for the sake of accuracy, lower ground to chassis so the bulk of the current wouldn't go through the battery monitor--created a bit of a vulnerability when, while tinkering with other systems on the car, a short from the 48 V bus to the chassis occurred. With the master disconnect disconnected, the chassis was isolated from battery negative, and the short went right through the first IC in my fuel gauge adapter!

    I've replaced the first IC, all three transistors, and most recently the second IC, and now it at least responds to the input, and Bus1 voltage matches output voltage, but it's still not working correctly and I'm at a bit of a loss as to how to proceed, besides starting from scratch and fabricating a whole new PCB, etc. I’m at home now, so I no longer have access to my brother’s car (but do have access to my multiple benchtop power supplies, good-quality multimeters, oscilloscope, and function generator), so I’ve simulated the gauge with a 220 ohm resistor and a pair of 280 ohm resistors in parallel for 140 ohms.

    As I apply an input voltage of 5 V to 0 V to simulate the battery monitor’s output, the PCB starts out pulling a seemingly-appropriate (considering my slightly too-high “gauge” resistance) 80 mA. At this point, voltage at the IC end of the first IC’s resistors (relative to ground) ranges from 6.3 to 3.9 V, and the second IC’s resistors are at 0.16 to 0.11 V. But as I turn down the input voltage, the current drops only slightly, such that it’s still at 76 mA with an input of 2.7 V. (Resistor voltages largely unchanged at IC #1; IC #2’s pin 1 now 0.2 V, pins 18-10 now 12.4 V.) Then it drops very rapidly (not quite instantaneously though) to 30 mA at an input of 2.5 V. (Resistor voltages largely unchanged at IC #1 except pin 10 up to 4.5 V; all 12.5 V at IC #2.) Further reduction in input voltage reduces current to 24 mA (zero reading) before the input even gets down to 1.0 V. From there it is unchanged as input voltage continues down to 0 V. (All resistors at 12.5 V where they meet their respective ICs.)

    Since the huge jump in current seemed to correspond to a change in state of IC #2’s first stage (pin 1), I tried disconnecting its corresponding diode from the IC, but circuit behavior seemed completely unchanged. I couldn’t think of anything else to try, so now I guess it’s up to the experts on this forum to save me from starting all over again with a blank copper-clad board!
    0

  3. #103
    alec_t alec_t is offline
    Sounds like the second IC isn't getting the right reference voltage. You should have 1.25V at its pin 4 and 2.5V at its pin 7. Check those pin voltages, also the voltages at pins 4 and 7 of the first IC and the values of R1 and R31 (which connect to pins 7 of respective ICs).
    0
    Last edited by alec_t; 2nd February 2012 at 04:34 PM.
    My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
    Alec's First Law:-
    Every problem has a solution (given the right information and resources).

  4. #104
    jelliott jelliott is offline
    Quote Originally Posted by alec_t View Post
    Sounds like the second IC isn't getting the right reference voltage. You should have 1.25V at its pin 4 and 2.5V at its pin 7. Check those pin voltages, also the voltages at pins 4 and 7 of the first IC and the values of R1 and R31 (which connect to pins 7 of respective ICs).
    I've got 1.27, 2.53, 0.0, and 1.27 V at IC #2 pin 4, IC #2 pin 7, IC #1 pin 4, and IC #1 pin 7, respectively. R1 and R31 measure 4.6k and 9.6k ohms, respectively (measured in-circuit), but have the seemingly-correct voltage drops (1.27 and 2.51 V) across them when the circuit is powered on.
    0

  5. #105
    alec_t alec_t is offline
    Well those measurements all seem spot on. I'll tinker with the simulation to find another suspect and get back to you.
    0
    My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
    Alec's First Law:-
    Every problem has a solution (given the right information and resources).

  6. #106
    alec_t alec_t is offline
    I get similar effects to those you found by disconnecting all the anodes of the IC2 diodes from Q1 base. So I suggest checking that area of the circuit for a missing connection. If that fails then check the IC2 diodes themselves haven't gone open circuit (an in-circuit test with an Ohmmeter 'both ways round' should do).
    0
    My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
    Alec's First Law:-
    Every problem has a solution (given the right information and resources).

  7. #107
    jelliott jelliott is offline
    All of the IC2 diodes have continuity to Q1 base, show 0.61-0.63 V drop across them when my multimeter is in diode-checking mode, and and show infinite resistance with the ohmmeter 'backwards.'
    0

  8. #108
    alec_t alec_t is offline
    So the diodes seem ok. Is the continuity to Q1 base very low resistance?
    The big step in current suggests that the second IC is the problem and for some reason is not sinking any/enough current; all/most of the current is being sunk by the first IC. Still looks to me like a missing or high resistance connection, since you've replaced the chip. I seem to remember the +ve supply relied on a terminal being screwed down? Can you confirm the chip supply voltage at what should be full-scale on the gauge?
    0
    My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
    Alec's First Law:-
    Every problem has a solution (given the right information and resources).

  9. #109
    jelliott jelliott is offline
    Continuity to Q1 base is 0.20-0.24 milliohms (same as if I touch the ohmmeter leads together).

    Supply voltage does rely on a screw (in the car); on the bench it's supplied via an alligator clip to the +12V end of R14. Voltage at pins 3 and 9 of IC2 is 12.491 V, essentially identical to the 12.488 I see if I stick the voltmeter probe in the power supply directly.
    0

  10. #110
    alec_t alec_t is offline
    Hmm. Can you confirm pin 2 of IC2 is properly grounded? This has to be IC2-related, but I'm running out of ideas!
    0
    My circuit designs should be regarded as experimental. Although they work in simulation, their component values may need altering or additional components may occasionally be necessary when the circuit is built. Due safety precautions should be taken with any circuit involving mains voltage or electrostatic-sensitive components.
    Alec's First Law:-
    Every problem has a solution (given the right information and resources).

« First ... 78910111213 Last »
Tags
Similar Threads
Thread Starter Forum Replies Last Post
automotive fuel sender unit / fuel gauge drage General Electronics Chat 20 2nd December 2011, 02:54 PM
Stacked Bar Fuel Gauge CRayD Electronic Projects Design/Ideas/Reviews 15 17th May 2009, 04:44 PM
LED fuel gauge johno65au Electronic Projects Design/Ideas/Reviews 0 26th July 2006, 11:03 AM
digital fuel gauge senthil_var2000 Electronic Projects Design/Ideas/Reviews 2 7th January 2006, 01:45 PM
digital fuel gauge? sleek Electronic Projects Design/Ideas/Reviews 3 14th October 2004, 09:45 AM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.05368 seconds      Memory: 7,309 KB      Queries: 16      Templates: 0