APPARATUS AND METHOD FOR ELECTRICAL SYSTEM MEASUREMENT

Abstract: An apparatus and method for measuring electrical characteristics of an energy delivery system utilizes a voltage sensitive circuit such as a voltmeter (26), a controllable current source or sink and a microcomputer (22). The microcomputer controls the current source or sink in order to source at least one predetermined current pattern or to sink at least one predetermined current pattern from a portion of an energy delivery system. The voltage sensitive circuit (26) responds to a voltage developed in response to the current pattern and the microcomputer (22) calculates at least one electrical characteristic of the energy system as a result of the response.

Description: APPARATUS AND METHOD FOR ELECTRTCAL SYSTEM MEASUREMENT This application claims priority from provisional patent applications Serial No. 60/003,453 filed September 8, 1995, by Denton M. Bramwell and Serial No. 60/010,487 filed January 23, 1996, by Denton M. Bramwell, the disclosures of which are hereby incorporated herein by reference. BACKGROUND OF THE INVENTION This invention relates to a method and apparatus for measuring electrical characteristics of an electrical system and, in particular, the characteristics of an electrical energy delivery system. The invention is particularly adapted for evaluating characteristics of a vehicle electrical system, but has applications in many different types of electrical systems. In many test settings, it is usefiil to be able to determine circuit parameters, such as resistance, total energy source and cable performance, and current flowing in a circuit. This is especially useful for troubleshooting electrical problems in vehicles, such as automobiles, trucks, boats and the like. Very often components, such as batteries, starter motors, alternators, and the like, are returned under warranty to the manufacturer, only to find that they are not defective. Presently, the common method of assessing battery condition is to connect a voltmeter to the terminals of the battery, to apply a small value resistor capable of dissipating a large amount of heat to the battery terminals, and to observe terminal voltage as a function of time while the battery discharges. This test permanently changes the battery, the test cannot effectively be performed unless the battery is fully charged, and the results must be compensated for battery temperature in order to be accurate. Another alternative for testing a battery is to apply a small AC signal to the terminals of the battery, and use a Wheatstone (or one of its derivatives) bridge to measure the internal resistance of the battery. Battery internal resistance is related to battery condition, and this test has the advantages of allowing a relatively small test apparatus that does not materially affect the condition of the battery, and which can be applied to batteries that are less than fully charged. In many cases, a conventional ohmmeter is useless in determining wire and connection resistance because the resistance is too small. Choosing the example of an automobile electrical system, approximately 200 amperes are required to crank the engine. In this case, resistances as small as 10 milliohms are a significant problem, but well below the range of a conventional ohmmeter. In this case, the usual recommended procedure is, again, to attach a low value resistance to the system, drawing a large current through the wire(s) and/or connection(s) to be tested, and quickly measuring the voltage drop(s) to infer system resistance. The measurement of current is usually accomplished in one of two ways: an in- circuit ammeter, or a clamp-on device that infers current from the surrounding magnetic field. Insertion of an in-circuit ammeter requires that the circuit be broken, and the meter inserted, so that the current to be measured flows through me meter. This has the disadvantage of being awkward to do. It is also usually limited to currents below 50 amperes, by the practical constraints of meter and connector resistance. Clamp-on current probes that infer current from the magnetic field surrounding a current are more convenient. However, inexpensive models offer only limited accuracy and are unable to measure currents below roughly 10 amperes with acceptable accuracy. Accurate models tend to be quite expensive. There is no commonly available means of making a one-step assessment of a system consisting of an electrical energy source and conductors used to deliver the electrical energy to a destination. The apparatus described here has many applications, including tests of vehicle and stationary batteries, measurement of resistances as small as a fraction of a milliohm, one- step appraisal of a system consisting of a source of electrical energy and connecting cables, and measurement of current flowing in a circuit, all using the same basic circuit. SUMMARY OF THF. INVENTION The present invention provides a method and apparatus which quickly and accurately measures various parameters of the electrical system of a vehicle in a manner which avoids the known drawbacks of the prior art. Although the invention is primarily applicable to the electrical system of vehicles, it finds application in other electrical systems such as those employing DC motors, namely material handling equipment and the like. The present invention provides a method and apparatus for measuring the conductance, or milliohm resistance, of electrical connections, such as those that occur between vehicle battery cables and a vehicle battery, across the magnetic starter switch connecting the vehicle starter motor to the battery, between a vehicle alternator and battery, and similar such ohmic connections. The invention also provides a method and apparatus for determining a figure of merit, such as cold-cranking amps, of an energy delivery system, such as a vehicle battery circuit, in a manner which is repeatable and which does not put undue stress on the battery. Advantageously, accurate measurements may be made without requiring a break in the circuit to insert a test instrument and may even be carried out with a non-test load current flowing through the circuit. An electrical system measurement method and apparams, according to an aspect of the invention, includes providing a controllable current source, a voltage sensitive circuit, and a microcomputer. The microcomputer controls the current source in order to apply at least one predetermined current pattern to at least a portion of an energy delivery system. The microcomputer additionally responds to a voltage developed in response to the current pattern being applied by the current source to the portion of the energy delivery system. The microcomputer calculates a value of at least one electrical characteristic of the energy delivery system as a function of the developed voltage. The resistance, or conductance, of a path is measured according to an aspect of the invention by applying electrical energy for a momentary period of time at a level that is sufficient to overcome DC circuit noise. Measurements of an electrical parameter are taken and converted into electrical resistance, or conductance, using linear superposition principles. An electrical source, under the control of a microcomputer, is applied to the electrical path utilizing a high-speed switching device, such as a field-effect transistor (FET). By taking two measurements of the electrical parameter, non-testing currents, such as load currents, may be cancelled out and thereby allow measurements to be made while the circuit is under load. Once the resistance/conductance of the path is measured in this manner, the voltage drop across the path may be measured in order to derive me current flowing through the path. This allows a convenient means to measure current through the path without requiring a break in the path. A storage battery device may be tested according to another aspect of the invention by sourcing a current to, or sinking a current from, a battery at less than maximum battery capacity during one or more brief intervals of time. Terminal voltage and internal impedance, along with battery temperature, are measured and used to infer a figure of merit. The figure of merit may be, for example, cold-cranking amps. The internal impedance of the battery may be measured utilizing resistance/conductance measurement techniques according to other aspects of the invention. The sourcing of current to, or sinking of current from, the battery along with the attendant measurements of electrical parameters, is under the control of a microcomputer. The microcomputer controls the measurement circuit and calculates the results, which may be readily displayed for the user from the measured electrical parameters. When the invention is applied to the electrical system of a vehicle, a compact measurement instrument is provided, which is fully integrated and facilitates accurate tests to be performed without putting undue stress on the vehicle's electrical system or components thereof. When the invention is applied to other electrical systems, such as to measuring the resistance/conductance of a DC motor, the measurement may be made without causing rotation of the motor. This is accomplished notwithstanding the fact that currents of a sufficient magnitude to avoid DC circuit noise are utilized because the currents are applied for a brief period of time that is insufficient to apply sufficient energy to rotate the motor. Illustrative embodiments of various aspects of the invention are set forth below. Other examples will be apparent to those skilled in the art. These and other objects, advantages, and feamres of this invention will become apparent upon review of the following specification in conjunction with the drawings. BRIEF DESCRIPTION OF THF. DRAWINGS Fig. 1 is a block diagram of an electrical system measurement apparams according to the invention; Fig. 2 is an exploded perspective, of a battery temperamre sensor useful with the invention; Fig. 3 is a flow chart of a method of measuring a battery figure of merit according to the invention; Fig. 4 is a flow chart of a method of measuring the value of a resistance according to the invention; Fig. 5 is a flow chart of a method of measuring a figure of merit of a circuit according to the invention; and Fig. 6 is a flow chart of a method of measuring a current flowing in a circuit according to the invention. DESCRIPTION OF THE PREFERRED EMBODIMENT The circuit for an electrical system measurement apparams 20 is shown in Fig. 1. D ctrl is a current control device, such as a transistor or field effect transistor, which controls the current through a sense resistor, R s , and another resistance, R x . When a voltage is applied by the memory, data processor, and control system, collectively referred to as confrol system 22, to a current control point A of a confrol amplifier 25, which amplifies the difference between the voltage at point A and the output of point B of a differential amplifier 27, which senses the voltage across resistor R s , causes current is drawn through R s and R x such that the voltage at points A and B will be equal. In this way, any desired current amplitude and waveform may be drawn through R s and R x under the control of control system 22. By setting switches SI and S2, and drawing test currents through R s and R x , simultaneously observing the voltage measured by a voltmeter 26, and, in some cases, performing mathematical operations on the values of voltage and current, useful diagnostic information is produced. In addition, an optional thermal sensor 28 is shown for measuring battery temperature. For battery measurements, the information produced by this device allows for temperamre compensation, producing a more accurate result, as will be described in more detail below. In the illustrated embodiment, the memory, data processing, and control system 22 will be a microprocessor, either with a built-in digital-to-analog converter or driving an external digital-to-analog converter. For the sake of reduced power dissipation, voltmeter 26 is preferably a sampling type, so that measurements may be taken during a brief interval. TEST OF BATTERY CONDITION The condition of a battery can be inferred from three variables: state of charge, temperature, and internal resistance. If the battery is free from polarization (also known as "surface charge"), state of charge may be estimated by the terminal voltage of the battery with no load applied. Call this variable V QC - Call temperamre T. Let the internal resistance of the battery be R,. Let the figure of merit for the battery be FOM. In the illustrated embodiment, FOM is the Cold Crank Ampere rating (CCA) of the battery. Thus, FOM is some function of WQ C , T, and R-. FOM = f(V 0C , T, * ) In the illustrated embodiment, R, is determined by applying and/or removing power to/from the battery, BAT, observing the resulting changes in terminal voltage, and performing calculations in memory, data processor, and confrol system 22. Alternatively, FOM can be expressed directly in terms of VQ C , T, E MEASURED , and I TEST *, where I J - EST is the known test current, and E M ^- JRED is the battery terminal voltage while I- ΓEST is flowing. Some or all calculations may be avoided or simplified by die wise choice of test currents as would be apparent to the skilled artisan. Control system 22 will: (1) determine whether the battery is 12 or 24 volts, whether it is charged enough to make a test, and whether the "surface charge" of the battery has been drained, then (2) measure temperamre, terminal voltage (to determine state of charge), and internal impedance, and (3) calculate and display a figure of merit, such as CCA. Thus, the operator has little to do except attach the test leads and read the result on a display 30. A thermal sensor, TS, is in the voltage probe of the instrument, which is in intimate thermal contact with the battery (BAT). The temperamre of the battery is "read" by the data processor and stored for calculations. The terminal voltage of the battery is measured with no (or infinitesimally small) test current drawn. The voltage drop across the internal resistance of battery BAT, designated R l5 is then EQ, which will be zero if no non-test current is flowing. When control system 22 produces an output, and the test current is drawn, a voltage drop will appear across R l5 and the terminal voltage of the battery will be reduced accordingly. The Loop Rule provides that the unloaded voltage minus the loaded voltage is the drop across the internal resistance. R, is then (E Q - E TEST )/I TEST . Another approach is to draw two current pulses of different amplitude, and, again, invoke the linear superposition principle. R- is then (E, - E-.)/(I* - 1 2 ). Since battery voltage does not instantaneously assume its equilibrium voltage under load, a two-pulse system has the advantage of reducing errors due to settling time. Yet, another approach is to supply one pulse, or two pulses of different amplitude, to the battery and make the same measurements and calculations as above. The same equations govern the "source" simation as the "sink" situations. In the illustrated embodiment, current pulses in the range of between approximately 0.01 amperes and 100 amperes are applied for approximately 0.1 milliseconds to approximately 10 milliseconds. In yet another method of measuring the internal resistance of a battery, a variable current sink or source is applied to the terminals of the battery. Battery terminal voltage is momtored through a voltmeter 26, which, in turn, connects to a comparator internal to confrol system 22. Under the control of control system 22, the current sink or source draws or supplies increasing current, until the comparator changes state. This change of state is signaled to the data processor. At this point, the data processor "knows" the amount of current required to produce the predetermined change in battery terminal voltage and can, thus, calculate internal resistance by the formula R = E/I. In yet another method of measuring the internal resistance of battery BAT, a constant current equal to about half of the battery's rated cold-cranking amps capacity is drawn from the battery. The terminal voltage declines at a rate on the order of .2 volts per second, or .2 millivolts per millisecond. If current is drawn for a few milliseconds, the battery terminal voltage will change by several tenths of a millivolt, which is quite measurable. Knowing the test current, and the slope of the discharge curve during the test interval, the rate of change of internal resistance can be calculated. From this, the time required for the battery to reach the minimum acceptable terminal voltage can be calculated. Through amplifiers 25, 27, control system 22 sets a test current from battery BAT through R s . After the battery voltage settles, me data processor commands voltmeter 26 to sample BAT voltage. The reading is then stored in memory for future calculations. The data processor waits a predetermined time and commands a second sample to be taken. The second sample is then stored. From the two stored voltage values, the slope of the voltage decline curve is determined and a figure of merit for the battery calculated and displayed. One of the variables used in battery figure of merit calculations is battery temperamre. Existing products require the user to manually enter an estimate of battery temperature. This slows the measurement and introduces error. A more preferable arrangement is to automatically acquire a real measurement of temperamre. In Fig. 2, a thermal sensor, TS, is embedded in a hollow metal part 32 with a point, or probe tip, 34 that makes contact with a wire in the circuit under test (voltage probe tip) in order to supply a voltage signal on a line 44 to voltmeter 26 indicative of battery terminal voltage. This wire may be lead 40 to one of the kelvin clips connecting measurement apparams 20 to the positive terminal of battery BAT. Part 32 is, in mm, encased in an insulating sleeve 26 with metal point 34 protmding. This whole assembly is then held inside a metal sleeve 38 with a notch 39 cut in the end. This notch ensures that the voltage probe tip is centered on wire 40. Thermal sensor TS reports battery temperamre data to control system 22 over lines 42. If kelvin clips are used to connect measurement apparams 20 to battery BAT, thermal sensor TS may simply be attached to the clip, but thermally insulated from it, so that it comes into contact with the battery post and "reports" battery temperamre relatively unaffected by the thermal characteristics of the kelvin clip. The flowchart in Fig. 3 shows how the battery test can be performed using a simple, short, current pulse. When the method is initiated at 46, temperamre sensor 28 is read and it is determined at 50 whether the temperamre reading has settled. If not, the control waits at 54 for a period of time and takes another temperamre reading at 48. If the temperamre reading has settled, the temperamre reading is stored in memory at 52. Switch SI is then set in the A position and switch S2 in the C position. Battery voltage V κ is then read with voltmeter 26 and stored in memory. Control system 22 tiien either causes a known test current to be supplied to the battery while reading and storing battery terminal voltage V^., or causes a known test current to be sank from the battery while reading and storing battery terminal voltage. Control system 22 then computes CCA using principles set forth above and displays the value on display 30. In practice, other, more complex forms of applied current provide advantages of noise immunity and cancellation of second order errors. For example, the difference of two pulses may be used to cancel errors due to battery terminal voltage drop during the voltage measurement interval or AC may be used with synchronous detection to remove artifacts caused by nearby conductors. RESISTANCE OF WIRES AND CONNECTIONS A very similar procedure can be used for making measurements of small resistances. In this case, the battery BAT, is no longer the device under test. Instead, the resistance of a resistance under test (RUT) R x , which may be a length of conductor, an electrical joint, or a combination of conductors and joints is measured. In practice, any connection between battery BAT and RUT is broken and a small battery internal to the measurement apparams 20 supplies current to the RUT. This procedure is shown in Fig.4, which utilizes short duration pulses to measure the resistance of RUT. The test may be performed with non-test current flowing through R x , this current being ignored. In a vehicle, this might be the current used to supply some device that is never tumed off, such as a clock. When a resistance test measurement method is started at 64, switch SI is set to position B and switch S2 is set to position D at 66. The initial voltage EQ across R x is measured using voltmeter 26 and stored in memory at 68. Confrol system 22 then causes amplifiers 25, 27 to draw a known current through resistor R x while voltmeter 26 samples, and holds voltage El across resistor R x . The value of voltage El is stored in memory at 70. Confrol system 22 then computes the resistance of R x at 72 using the linear superposition principle. This effectively ignores any non-test current flowing in the circuit by using the formula: R r = (E - EΛIL TEST The ability to make a resistance measurement in the presence of a non-test current is very useful, since it makes it unnecessary to mm off the electrical system under test in order to make a resistance measurement In the illustrated embodiment, kelvin connections, or clips, are used to connect measurement apparams 20 to the resistance under test (RUT). The most basic approach is to mn some current, say 1 ampere, through the wire or connection to be tested (RUT). It is then possible to measure the voltage drop across the RUT and, knowing the amount of current flowing through it, calculate resistance. One ampere is a convenient choice, since the voltage drop across the RUT is numerically equal to the current flowing through it. This gives a value, but could include errors if there is any non-test current flowing through the RUT, as will often be the case in vehicles. To allow resistance RUT to be measured in the presence of non-test current, two measurements are made. E* is the voltage drop across RUT with any non-test currents, the sum of which is I] flowing, and E-, is the voltage drop with both test and non-test currents flowing. Test current plus non-test current is designated I 2 . The linear superposition principle provides R=(E, - Ε_)/(lι - 1 2 ). Because I, - 1 2 is equal to the test current, which is known, the value of R is readily calculated. Another method of measuring resistance of the RUT is to n equal pulses of current through the RUT, first in one direction, then in the opposite direction. Two voltage samples are taken, one for each of the two directions of current flow. Again, linear superposition provides R x =(E- - E^/fl, - I 2 ), where R x is the resistance of the device under test, E, is the voltage across R x with I, flowing, and E 2 is the voltage across R x with I 2 flowing. If a non-test current is also flowing in the circuit, I, is composed of Io, the non-test current, and I T1 , which is the first test pulse. The values of I, and I 2 can be calculated using the equations I, = IQ + I T1 and I 2 = IQ + I-π . Substituting into the R equation provides R X =(E, - ly/C o + I τ ,) - (Io + I-r-j))* Removing parentheses in the denominator removes the I Q non-test current term, leaving R x in terms only of E- E 2 , I τ * and L-- 2 , all of which are known. The value of R x can then be calculated by control system 22. Again, this system allows the measurement of R x in the presence of a significant and unknown non-test current. Yet another method of measuring resistance of the RUT is to ran two different pulses in the same direction through the RUT and measure the difference in the voltage. The equation R X =(E 1 - E-,)/^ + I τ ,) - (Io + I-π)) still holds, and allows the calculation of R X in the presence of non-test current. For convenience, currents of 1 ampere and 2 amperes are preferred to simplify the calculation. Yet another method of measuring resistance of the RUT uses a current ramp or current stair step source (the two being taken as practically equivalent in this discussion) and a comparator internal to confrol system 22. Resistance R x may be derived by using a "ramp" (linearly increasing current). The time required for the voltage across the RUT to reach the comparator reference voltage with no test ramp applied (T,), is compared with the time required for the voltage across the RUT to reach the comparator reference with the test ramp applied (T 2 ). The resistance of the RUT is then linearly proportional to T 2 - T- . Similarly, T, and T 2 can be found by a dual slope technique (time to integrate up, divided by time to integrate down to some known V REF ). Again, R x is proportional to T 2 - T,. The ramp may be allowed to increase until a known voltage drop is reached. By measuring the voltage before the current ramp is started, and then increasing the current until a known difference (like 1 or 10 mV) is reached, then noting the current that causes that difference, a simple calculation of resistance is possible. The increase in speed may be achieved by using a simple voltage comparator set to the proper offset value to "flag" when the proper current was reached. This is much faster than waiting for the analog-to-digital converter in voltmeter 26 to measure the voltage after each current increase step. Yet another approach to measuring resistance of the RUT uses the RC time constant of the RUT and a known capacitor placed in series connection with the RUT to find the resistance of the RUT. Initially, the capacitor is held at full discharge by a parallel switch. When the parallel switch is opened and device D ctrl is closed a voltage V + will appear across the RUT and begin to exponentially decay as the capacitor charges. The time until the 63 percent point on the RC curve will equal R x x C, so R x can easily be calculated by the data processor. This circuit can be made immune to DC components (created by other current through RUT) by AC coupling the input to voltmeter 26, so the RC decay created by the capacitor and RUT is all that is measured. In a slightly different arrangement, the capacitor is initially held discharged by the connections through a shunt resistor to ground. When the switch D ctri is turned on, the capacitor begins to charge, and a voltage V + appears across the RUT. When the capacitor is fully charged, there is no current through RUT. By knowing the time that elapses between the time the switch D ctr , is closed and the 63 percent point on the RC curve, the RC time constant is found, and, from that, the resistance of the RUT is easily calculated. In one embodiment the RUT is connected in a leg of a classical bridge circuit. The voltage applied to the bridge may be DC or AC. When the bridge is balanced, no output will be seen, regardless of whether the applied voltage is AC or DC. In the DC case, a calculation made by the data processor eliminates the effects of non-test current flowing through RUT. In the AC case, synchronous detection may be used so that non-test DC currents, and AC currents not at the frequency of the impressed AC, are ignored. Alternatively, any of the fixed resistors of the bridge may be replaced with an active device, such as a FET, and using the data processor in an iterative manner to achieve bridge balance and measure R x . Output of voltmeter 26 is momtored so that the data processor senses whether the bridge is balanced. If it is not balanced, the input voltage applied to amplifier 25 is changed, and the bridge, again, is tested for balance. This continues until an acceptable balance is found. The resistance of the active device as a function of applied voltage is known. Knowing the applied voltage that achieves balance, therefore, will allow R x to be calculated. The resistance of the RUT may also be measured using only an applied AC test signal. This has several advantages, including allowing the test to be made in the presence of very large DC currents and giving the system immunity to non-test AC signals. In one embodiment, control system 22 causes amplifiers 25, 27 to generate a sine wave at one or more frequencies in the 10-2,000 Hz range. A synchronous detector is used to monitor the voltage across R x . All frequencies other than the test frequency are rejected, as is DC. The data processor can conveniently cause the generation of several test frequencies, and, from this, the value of any reactance in the circuit may be inferred. Vector subtraction of the reactance leaves only the resistance portion, which gives the resistance of R x . Further, the magnitude and sign of the reactance portion may be used to infer the inductance or capacitance of the circuit. TOTAL ELECTRICAL SYSTEM QUALITY A basic system for delivering electrical energy to a load is the very familiar electrical circuit, consisting of an energy source (generator, battery, etc.) and a load (light bulb, heater coil, or television receiver). For a simple circuit, the current drawn from the source is determined by the terminal voltage of the battery and the sum of all of the resistances in the circuit including the internal resistance of the battery. An electrical energy delivery system has in the past been characterized solely in terms of the terminal voltage of the supply. While terminal voltage does supply useful information, it is not sufficient information for full characterization of the system. To characterize the system's ability to deliver energy, it is important to also specify the resistance of the delivery system including the internal resistance of the source. In the case of a vehicle electrical system, the pertinent resistances are the internal resistance of the battery and the resistances of the connecting wires, plus the resistance of any electrical junctions in the circuit. Using the techniques previously described for finding the internal resistance or impedance of a battery, the total resistance of the delivery system, including the internal resistance/impedance of the source may be determined. Alternatively, the circuit may be broken, and the load left undisturbed, and the total resistance of the circuit measured, including the resistance of the load, in order to determine useful information regarding the circuit. A common example is that of the engine-cranking system of a vehicle. Measurement apparams 20 can be attached to the battery terminal of the starter solenoid and case ground terminal of the electric starter. Resistance of the cables and connectors, plus the internal resistance of the battery, can then be read, and the ability of the electrical system to deliver current to the starter can be accurately predicted. Measurement apparams 20 can also be attached to the battery and starter terminals of the solenoid, and the total DC resistance of the circuit can be measured. If this is much greater than the resistance of the delivery system alone, electrical energy will be efficiently transferred to the starter. With minor adaptations, these same techniques can be used for any load, using AC excitation as well as the DC excitation. The ability of an electrical system to deliver power to a load is determined by the terminal voltage of the source of electrical energy, the internal resistance of the source of electrical energy, and the sum of all of the resistances in the cables and connectors. For purposes of discussion, an electrical motor with constant efficiency, F, is connected to a source of electrical energy with voltage V, which has an internal resistance R INT . The cables and connectors in the electrical system have a total resistance R EXT * The maximum amount of power, P MAX , that can be delivered to the shaft of the electric motor is found to be: V 2 P MAX =F 4 (R INT + R EXT ) MAX is a ver y useful figure of merit, or FOM. In some cases, it may be more desirable to express the FOM of a system in terms of the maximum current it can deliver to the terminals of a load, without the voltage at the load falling below some selected level. For example, the current that can be delivered to a vehicle starter motor, without the voltage at the terminals of the starter falling below 10 volts, may be determined. The calculation is a direct application of Ohm's Law. The same technique can be used in reverse to assess the ability of a secondary battery to accept charge through its cables and connections. In this case, measurement apparams 20 would be attached to the alternator and the test applied. In either case, the assessment can be performed with two connections and a single test. This procedure is simple to use, and it saves a considerable amount of time. The flowchart of how this is done is presented in Fig. 5. In this case, BAT is the source of electrical energy, and R x is R EX -*-. For example, in a vehicle, BAT would be the vehicle battery, and the test device might be applied to the starter motor input terminals to determine whether the quality of the battery and cables combined are of sufficient quality to operate the starter motor. When the figure of merit measurement method is started at 74, switch SI is set to position A and switch S2 is set to position B at 76. The voltage across the battery is measured with voltmeter 26 with no test current flowing through the circuit at 78. Switch S2 is then set to position D x . A known current is then applied through the battery and R- JXT using amplifiers 25, 27 and the voltage across resistance R INT and R EJΠ - is measured with voltmeter 26 at 80. The figure of merit of the circuit is calculated by control circuit 22 at 82, using the principles previously described and is displayed on display device 30. MEASURING CURRENT The previously described techniques may be used for finding the resistance of any piece of conducing wire and storing the value in memory. The circuit may then be energized; for example, engaging a starter motor on a vehicle. While current is flowing, the voltage across R x is measured. From the resistance and the voltage, the current that is flowing in the circuit can be calculated. The logic for this is shown in Fig. 6. When the process for measuring current through a conductor R x is started at 84, the switch SI is set to position B and switch S2 is set to position D at 86. The voltage across conductor R x is measured with the R x open-circuited at 88. A known current is then applied to R x by amplifiers 25, 27, and the voltage across R x is measured with voltmeter 26 at 90. The value of the resistance R x is calculated using previously described techniques, and it is then determined at 92 whether the resistance of R x is sufficiently low to allow a meaningful measurement of current to be made. If the resistance of R x is too high, or infinite, application of test current might pose a hazard to the circuit under test. If it is determined at 92 that the resistance of R x is too high, the operator is notified at 94 and the process is exited at 96 in order to protect the circuit under test. If it is determined at 92 that the resistance of R x is within an acceptable range, the circuit under test is activated at 98 and the voltage across R x is measured with voltmeter 26 at 100. Control system 22 then calculates the current flowing through R x at 103 and displays the results on display device 30. If one of the AC-excitation schemes is used, it is possible to make the resistance measurement while large DC circuit currents are flowing, simplifying the procedure. Changes and modifications in the specifically described embodiments can be carried out without departing from the principles of the invention which is intended to be limited only by the scope of the appended claims, as interpreted according to the principles of patent law including the doctrine of equivalents. The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows: 1. A method of measuring electrical characteristics of an electrical energy delivery system, including: providing a voltage sensitive circuit and a controllable current source or sink; controlling said one of a controllable current source and a controllable current sink with a microcomputer in order to apply at least one predetermined current pattem to or sink at least one predetermined current pattem from at least a portion of an energy delivery system; responding with said voltage sensitive circuit to a voltage developed in response to the current pattem being applied or sunk; and calculating a value of at least one electrical characteristic of said energy delivery system as a function of said responding. 2. The method of claim 1 wherein said at least one electrical characteristic of said energy delivery system is an internal resistance of an electrical source and an external resistance and further including calculating a figure of merit of said energy delivery system as a function of said internal resistance and said external resistance. 3. The method of claim 2 wherein said figure of merit is determined by: V 2 P MAX =F 4 (R INT +R EXT )' where P MAX is maximum power transferred from the electrical source to the load, V is measured source terminal voltage, R 1NT is internal resistance of the electrical source, R EXT is local resistance, and F is a constant.

Claims: 4. The method of claim 1 wherein said at least one electrical characteristic of said energy delivery system is terminal voltage and internal impedance of an electrical source and further including calculating a figure of merit of said electrical source. 5. The method of claim 4 wherein said electrical source is a battery and said calculating a figure of merit includes calculating cranking ampere capacity of said battery. 6. The method of claim 5 including calculating said cranking ampere capacity as a function of said terminal voltage, said internal impedance and a temperamre of said battery. 7. The method of claim 6 wherein said internal impedance of said battery is calculated by sourcing at least one current pulse to said battery or sinking at least one current pulse from said battery with said controllable current source or sink and monitoring changes in terminal voltage with said voltage sensitive circuit. 8. The method of claim 7 including both sourcing at least one current pulse to said battery and sinking at least one current pulse from said battery. 9. The method of claim 7 wherein said sourcing includes sourcing at least two current pulses having different amplitudes. 10. The method of claim 7 including calculating a slope of a discharge curve of said battery and calculating said cranking ampere capacity as a function of said discharge curve. 11. The method of claim 1 wherein said voltage sensitive circuit is a voltmeter and said current pattem is at least one current pulse and said at least one characteristic is resistance of said portion which is determined as a function of voltage developed across said portion as a result of said at least one current pulse. 12. The method of claim 11 wherein said at least one current pulse is at least two different current pulses and wherein said resistance of said portion is determined irrespective of the presence of non-test current in said portion. 13. The method of claim 11 wherein said current pattem is an alternating current pattem and wherein said voltage sensitive circuit includes a synchronous detector which is synchronized with said alternating current pattem and further wherein said resistance of said portion is determined irrespective of the presence of non-test current in said portion. 14. The method of claim 11 wherein said at least one characteristic includes current flowing through said portion, said current calculated as a function of said resistance of said portion and voltage developed across said portion as a result of said current. 15. The method of claim 14 including determining that said resistance of said portion is less than a particular value prior to causing said current to flow through said portion. 16. An electrical system measurement apparams, comprising: a voltage sensitive circuit and a controllable current source or sink; a microcomputer controlling said controllable current source or sink and responding to said voltage sensitive circuit in order to apply at least one predetermined current pattem to or to sink at least one predetermined current pattem from at least a portion of an energy delivery system and to respond to a voltage developed in response to the current pattem being applied or sunk in order to calculate a value of at least one electrical characteristic of said energy delivery system as a function of said responding. 17. The apparams in claim 16 wherein said controllable current source or sink includes a current sensing resistor and a device which is responsive to a signal from said microcomputer and a voltage across said sensing resistor in order to produce said current pattem. 18. The apparams in claim 17 wherein said device includes at least one differential amplifier which is responsive to said signal from said microcomputer and to said voltage across said sensing resistor and a field effect transistor which is responsive to an output from said differential amplifier in order to produce said current pattem. 19. The apparams in claim 16 including an electrical connector adapted for connection to a storage battery and connected to receive said current pattem and to supply said current pattem to the storage battery. 20. The apparams in claim 19 including a temperamre sensor having an output supplied to said microcomputer in order to provide an indication to said microcomputer related to battery temperamre. 21. The apparams in claim 20 wherein said temperamre sensor is built into said electrical connector. 22. The apparams in claim 20 wherein said microcomputer calculates cranking ampere capacity of a battery as a function of terminal voltage measured by said voltage sensitive circuit, internal impedance of the battery and temperamre of the battery. 23. The apparams in claim 22 wherein said microcomputer calculates internal impedance of said battery by sourcing at least one current pulse to said battery or sinking at least one current pulse from said battery with said controllable current source or sink and monitoring changes in terminal voltage with said voltage sensitive circuit. 24. The apparams in claim 16 wherein said voltage sensitive circuit is a voltmeter and said current pattem is at least one current pulse and said at least one characteristic is resistance of said portion which is determined by said microcomputer as a function of voltage developed across said portion as a result of said at least one current pulse. 25. The apparams in claim 24 wherein said at least one current pulse is at least two different current pulses and wherein said microcomputer determines said resistance of said portion of the presence of non-test current in said portion. 26. The apparams in claim 24 wherein said current pattem is an alternating current pattem and wherein said voltage sensitive circuit includes a synchronous detector which is synchronized with said alternating current pattern and further wherein said microcomputer determines said resistance of said portion irrespective of the presence of non-test current in said portion. 27. The apparams in claim 24 wherein said at least one characteristic includes current flowing through said portion, wherein said microcomputer calculates said current as a function of said resistance of said portion and voltage developed across said portion as a result of said current. 28. The apparams in claim 27 wherein said microcomputer determines that said resistance of said portion is less than a particular value prior to causing said current to flow through said portion.

Inventors: BRAMWELL DENTON M, BRAMWELL, DENTON, M.
Applicants: MADILL TECHNOLOGIES INC, MADILL TECHNOLOGIES, INC.
Application year: 1996
Main classification: G01N27
IPC codes: G01R27, G01R31, H01M10