Method and apparatus for detection and acquisition of automotive fuel injector voltage signal pulse width

Abstract: A method and apparatus for detecting and displaying automotive fuel injector voltage signal pulse width which includes signal detection circuits (104, 123, 125) for capturing the rising and falling edges of an input signal (100) having positive and negative voltage swings is disclosed. Upon detecting a rising edge or a falling edge of a positive or negative voltage of the input signal (100), a corresponding software routine is executed to carry out the process of measuring the pulse width of a pulse (10; 16; 24; 34; 46; 52; 60; 70) of the input signal (100). The measured pulse width is then displayed in numerical and/or histogramic formats.

Description: The present relation relates to a system for detecting the event time of pulse events of variable duration appearing in an input signal, each of the pulse events having two or more pulses, the system comprising signal ranging means for receiving the input signal and generating therefrom an adjusted input signal, first comparator means for comparing an adjusted input signal and a first threshold voltage magnitude to generate a first event signal each time a first pulse appearing on the adjusted input signal has a voltage magnitude exceeding the first threshold voltage magnitude, the first event signal having a leading edge and a trailing edge defining a pulse width corresponding to the pulse width of the first pulse, second comparator means for comparing an adjusted input signal and a second threshold voltage magnitude to generate a second event signal each time a second pulse appearing on the adjusted input signal has a voltage magnitude exceeding the second threshold voltage magnitude, the second event signal having a leading edge and a trailing edge defining a pulse width corresponding to the pulse width of the second pulse, and microcontroller means. The present invention relates also to a method for detecting the event time of pulse events of variable duration appearing in an input signal, each of the pulse events having two or more pulses, the method comprising the steps of: receiving and adjusting the input signal, forming a first threshold voltage magnitude and a second threshold voltage magnitude, and comparing the adjusted input signal and the first threshold voltage magnitude to generate a first event signal each time the adjusted input signal exceeds the first threshold voltage magnitude, and comparing the adjusted input signal and the second threshold voltage magnitude to generate a second event signal each time the adjusted input signal exceeds the second threshold voltage magnitude. Such a system and such a method are known from Patent Abstracts of Japan vol. 010, no. 025 (M-450), 31 January 1986 and JP 60 182354 A (Nippon Denso KK), 17 September 1985. This document discloses a system for diagnosing an injector. The injector driving signal is formed by a pulse train which comprises two or more pulses of different height. This injector driving signal is compared with a first reference voltage at a first comparator. In parallel, the injector driving signal is processed by means of a conventional voltage divider comprising resistors and compared with a second, higher reference voltage at a second comparator. The first (lower) reference voltage is formed by dividing the second (higher) reference voltage by means of a conventional voltage dividing circuit comprising resistors. The first comparator is said to generate a fly-back voltage output. The output of the second comparator is processed with a one-shot circuit. The occurence of a one-shot, therefore, indicates a high level pulse component, whereas the output of the first comparator reflects the occurence of low level pulse components. The output of the one-shot circuit and the fly-back voltage from the first comparator indicating low-level pulse components are compounded with a logical circuit. In other words: A lowered injector driving signal is compared with a high-reference voltage and the original injector driving signal is compared with a lowered reference voltage. As a result, the first and second comparators may distinguish between pulse components of different height. The high-level components define the beginning and end of the whole pulse train. The output of the second comparator reflects the high-level pulse components, whereas the output of the first comparator reflects the low-level pulse components. According to the Abstract, a clock-triggered counter measures the time in which the logical circuit does not generate an output, that is when neither a high-level nor a low-level pulse component is detected. If this time exceeds a specified time, a time width to be output from a flip-flop is processed with a microcomputer whereby injector driving pulse width is said to be securable. It is further stated that a diagnosis for the injector is performable with the same measuring device, however without providing any details thereof. US-A-5,107,426 discloses a hand-held apparatus for in-vehicle testing of electronic fuel injection systems. This apparatus is said to be adapted to receive signals from and supply test signals to injection systems under test by means of a hand-held probe connected to one of only a small number of test sockets on said apparatus. The apparatus comprises a voltage pulse width timer adapted to time voltage pulse width of predetermined pulse trains supplied to vehicle engine fuel injectors, alphanumeric display means for displaying parameters including ohms, volts and time measured by said apparatus. The present invention relates generally to electronic signal measurement apparatus, and more particularly to a system for detection and acquisition of automotive fuel injector voltage signal pulse width regardless of the fuel injector type. In the automotive repair field, as well as in other fields, it has long been important to have instruments available for measuring electrical signals occurring at various points within the numerous electrical circuits and signal paths resident in an automobile. Measurements of parameters such as current, voltage, resistance, signal frequency, etc. enable a repair technician to locate and diagnose the numerous problems that occur in a vehicle. Such parameters are typically measured using available apparatus ranging from simple voltage, current and resistance-measuring meters to sophisticated, computerized electronic diagnostic equipment. A signal of particular interest is the voltage signal of a fuel injector, more specifically, the pulse width of the voltage signal as detected at the fuel injector. Fuel injectors of an automobile receives periodic voltage pulses of a duration as specified by the computer module of the automobile. In one operation, the computer module receives a signal from the oxygen sensor indicating the amount of oxygen remaining after combustion of the air-fuel mixture. In response to such a signal, the computer module adjusts the amount of fuel to be injected by the injectors by varying the pulse width of the voltage signal sent to the fuel injectors. There are generally two activation methods for fuel injectors, feed-side controlled and ground-side controlled. Figs. 1a - 1d illustrate four feed-side controlled pulse types that may be detected at the fuel injector voltage terminals. The ground symbols serves as a reference point for the depicted voltage signals. In Fig. 1a, a Port Fuel Injector (PFI) type pulse 10 comprising of a base pulse 12 and a kickback pulse 14 is illustrated. Fig. 1b illustrates a "peak & hold" or "current limited" pulse 16 comprising of a base pulse 18 and two kickback pulses as indicated at 20 and 22. Fig. 1c illustrates a Modulated with One Kickback pulse 24 comprising of one base pulse 26 immediately followed by two (or more) shorter pulses (28 and 30) and a kickback pulse 32. In Fig. 1d, a Modulated with Two Kickback pulse 34 is comprised of a base pulse 36 followed by a kickback pulse 38, two (or more) shorter pulses (40 and 42), and another kickback pulse 44. Note that the kickback pulses typically are much larger than the base pulses and they are illustrated with broken dots to emphasize the voltage differences. Figs. 4a - 4d illustrate four ground-side pulse types that may be detected at a fuel injector. In Fig. 4a, there is a PFI type pulse 46 with a downward base pulse 48 followed by a kickback pulse 50. In Fig. 4b, there is a "peak & hold" or "limited current" pulse 52 comprising of a base pulse 54 followed by two kickback pulses (56 and 58). Fig. 4c illustrates a Modulated with One Kickback pulse 60 with a base pulse 62 followed immediately by two (or more) shorter pulses (64 and 66) and a kickback pulse 68. In Fig. 4d, a Modulated with Two Kickback pulse 70 is comprised of a base pulse 72 followed by a kickback pulse 74, two (or more) shorter pulses (76 and 78) and another kickback pulse 80. All of the detected kickback pulses are byproducts of the operation of the fuel injector coil and are further explained below. The number of 'shorter' base pulses on all modulated injectors (1 or 2 kickbacks, feed-side or ground-side) varies with the duration of the total injector event. The duration of the first (wider) base pulse is relatively fixed, and that is the amount of time it takes for the current flowing into the injector to actuate the pintle. To maintain the pintle in the actuated state allowing a greater amount of fuel injected, shorter base pulses are provided. The figures of the voltage signals of the moduled injectors (Figs. 1c, 1d, 4c, and 4d) depict the waveforms at one particular pulse width (around 2.5 ms). At a short pulse width (around 2 ms), there may only be one shorter pulse; at a longer pulse width (around 5 ms), there may be 6 or 7 shorter pulses. To summarize, the wider base pulse is generally fixed, and the number of shorter base pulses increases or decreases to adjust the total pulse width. In operating a feed-side controlled injector, a positive voltage signal is applied by the vehicle's computer module which causes a current to flow through the injector coil to produce a magnetic field that activates a pintle to allow fuel to be injected through a valve opening into the combustion chamber of a cylinder. The pulse width of the voltage signal corresponds to the duration or amount of time the pintle remains actuated and therefore the amount of fuel injected into the cylinder. If a high level of oxygen remains after combustion (indicating a 'lean' air-fuel mixture), the oxygen sensor detects and reports such a condition to the computer module and the computer module in response increases the pulse width of the voltage signal sent to the fuel injector and thereby increases the amount of fuel injected into the cylinder. If an undesirably low level of oxygen is detected and reported by the oxygen sensor (indicating a 'rich' air-fuel mixture condition), the computer module in response to such condition decreases the duration of the voltage signal to decrease the amount of fuel injected into the cylinder. Upon turning off the voltage to the injector coil (after the falling edge of the pulse), there is a kickback pulse having a magnitude far exceeding the magnitude of the base pulse due to the collapsing magnetic field within the injector. Ground-side controlled injectors operate in likewise manner as that of the feed-side controlled injectors with the difference being that the injectors are supplied with constant voltage by the vehicle's electrical system, and the computer module supplies or removes a ground path to the injector to control current flow. When a ground path is supplied to the injector, the pintle is actuated to allow fuel to be injected into the cylinder. In addition to the signal from the oxygen sensor, the computer module receives other input signals that may cause the computer module to adjust the pulse width of the voltage signal to the fuel injectors in response to the input signals. Thus, by varying an input signal to the computer module known to cause the computer module to adjust the pulse width of the voltage signal to the fuel injectors and by observing the detected voltage signal at a fuel injector, the operation of a number of subsystems can be diagnosed for proper operation. Prior art measurement systems for observation of injector voltage pulse width modulation proves to be difficult to use or inaccurate. Such systems include oscilloscopes, digital multimeters with capability for measuring pulse width, and digital multimeters with special capability for measuring fuel injector pulse width. For an oscilloscope, the user must manually synchronize the voltage signal from the injector and manually measure and calculate the start and stop times of the pulse event in order to obtain the pulse width. This is a very time consuming process prone to mistakes in the measurement of the pulses. For digital multimeters featuring capability for measuring pulse width, the measured and displayed values are generally incorrect due to the fact that this type of multimeter typically uses a single-point voltage reference. The pulse width of a fuel injector voltage signal generally comprises one or more base pulses and one or more inductor kickback pulses. A single-point voltage reference measures either the base pulse width or the kickback pulse width but not both, and is therefore unable to correctly detect the true pulse width. Prior art digital multimeters featuring capability for measuring fuel injector pulse width require the user to first identify whether the injector is a feed-side controlled or ground side controlled injector before connecting the probes of the multimeter to the injector. This additional step of identifying the injector type prior to the using of the multimeter hinders efficient diagnosis of an automobile and requires the user to have a higher knowledge level of the fuel injector system. Additionally, some of these multimeters use pattern matching to identify the pulse type. However, pattern matching methods are unable to detect new pulse types that may be later developed by the automobile manufacturers. It is therefore an object of the present invention to provide a method and apparatus for detecting and displaying fuel injector voltage signal pulse width where the type of fuel injector signal is automatically detected and where the user is not required to have any knowledge of fuel injector type and where new pulse types can be easily detected without resorting to pattern matching or the use of templates. These objectives are achieved by a system as mentioned at the outset, wherein the adjusted input signal has voltage levels within a predetermined voltage range, and wherein graphical display means are provided, and wherein analog-to-digital converter means for assembling the adjusted input signal to generate digital values representative thereof are provided, and wherein the microcontroller means receives the digital values and determines the first threshold voltage magnitude as a function of a first magnitude of the digital values, and the second threshold voltage magnitude as a function of a second magnitude of the digital values, and wherein the microcontroller receives the first event signal and the second event signal and monitors the occurrence of each of the first event signal and the second event signal, and wherein the microcontroller means calculates the event time of the pulse event as a function of the occurrence of the first event signal and the second event signal, and passes event time to the graphical display means for display. These objectives are further achieved by a method as mentioned at the outset with the further steps of adjusting the input signal to have voltage levels within a predetermined voltage range and sampled to generate digital values representative thereof, the first threshold voltage magnitude and the second threshold voltage magnitude being determined from the digital values and having predetermined relationships to particular characteristics of the input signal, measuring the event time of a pulse event as a function of the time of the occurrence of the first event signal and the second event signal, and displaying the event time. Briefly, the present invention is embodied in the form a hand-held instrument which includes signal detection circuits for capturing the rising (or leading) and falling (or trailing) edges of an input signal having positive and negative voltage swings. Upon detecting a rising edge or a falling edge of a positive or negative voltage of the input signal, a corresponding software routine is executed to carry out the process of measuring the pulse width of a pulse of the input signal. The measured pulse width is then displayed in numerical and/or histogramic formats. An important advantage of the present invention is that the type of fuel injector signal is automatically detected. Another advantage of the present invention is that the user is not required to have any knowledge regarding the type of the fuel injector in order to operate the apparatus embodying the present invention. Still another advantage of the present invention is that new pulse types are easily detected without resorting to pattern matching or templates. These and other objects and advantages of the present invention will no doubt become apparent to those skilled in the art after having read the following detailed description of the preferred embodiment which is illustrated in the several figures of the drawing. Figs. 1a - 1d illustrate four feed-side controlled pulse types that may be detected at the voltage terminals of a feed-side controlled fuel injector; Figs. 2a-2d illustrate the detected base portions of the corresponding input signals depicted at Figs. 1a-1d; Figs. 3a-3d show the detected inductive kickback portions for the corresponding input waveforms of Figs. 1a-1d; Figs. 4a - 4d illustrate four ground-side controlled pulse types that may be detected at the terminals of a ground-side controlled fuel injector; Figs 5a-5d illustrate the detected base portions for the corresponding input waveforms of Figs. 4a-4d; Figs. 6a-6d show the detected inductive kickback portions for the corresponding input signals of Figs. 4a-4d; Fig. 7a shows a typical feed-side controlled PFI voltage signal with several pulses over several time periods as detected at the voltage terminals of a fuel injector; Fig. 7b depicts the base portion of the voltage signal depicted in Fig. 7a; Fig. 7c illustrates the detected kickback portion of the voltage signal depicted in Fig. 7a; Fig. 8 is a block diagram generally illustrating the principal operative components of the present invention; Fig. 9 is a block diagram illustrating in detail the principal functional components of the signal conditioner illustrated in Fig. 8; Figs. 10a-10d illustrate the processing steps for a feed-side controlled voltage signal; Figs. 11a-11d similarly illustrate the processing steps for a ground-side controlled voltage signal; and Fig. 12 shows a depiction of the detected pulse width in numerical and histogramic formats. Referring to Fig. 7a, a typical feed-side controlled PFI voltage signal as detected at the voltage terminals of a fuel injector is shown here with several pulses over several time periods. The pulses, 82, 84, and 86 are in time periods t1, t3, and t5. Pulses 82 and 84 are separated by time period t2, and pulses 84 and 86 are separated by time period t4. In a typical pulse period such as t1, t3, or t5, the event time could range from 2 ms to 3 ms at 1000 RPM (idle) engine speed. Under heavy acceleration (high engine load), the event time typically ranges around 20 ms at about 1000 RPM to 2000 RPM. The typical time between events at about 1000 RPM is around 120 ms (based on a typical 4-stroke spark-ignition engine cycle). Under rapid acceleration, the time between events are shortened to a certain extent. Nevertheless, the time lapsed between events is much greater than the event time. Using this information and observing the pulses, it is noted that the start of a pulse event is marked by the occurrence of a base pulse edge after an idle period and the end of a pulse event is marked by the occurrence of a kickback pulse edge followed by an idle period. The preferred embodiment of the present invention uses such information, detects, and calculates the pulse width, and displays the detected pulse width on a display monitor (or LCD/LED). Referring now to Fig. 8, a generalized block diagram illustrating the major subsystems of the preferred embodiment of the present invention includes a signal conditioner 102 for receiving and conditioning the input signal 100, a microcontroller 104 for receiving user signals from a user input device 106 and the conditioned input signals from the signal conditioner 102, and a graphical display device 108 for displaying processed signals received from the microcontroller 104. As is further expanded in Fig. 9, the signal conditioner 102 is comprised of a Ranging and Protection circuitry 110, comparators 112 and 114, and Filtering and Triggering circuits 118 and 120. The protection circuitry protects the circuit from excessive power or power surges and the ranging circuitry adjusts the input voltage to a level acceptable to the downstream circuitry. A typical acceptable signal level is within the range of plus/minus 2.5 volts. The adjusted input signal 101 from the Ranging and Protection circuitry 110 is then sampled by the analog-to-digital converter 116 to provide digital values for input to the microcontroller. The digital sample values provide a basis for the microcontroller to determine the voltage swing of the adjusted input signal appearing on line 101, and to generate reference threshold voltages at digital/analog output ports 122 and 124 for input to comparator 112 at 123 and comparator 114 at 125. The reference threshold voltages are typically a positive and a negative threshold voltage that the adjusted input signal on line 101 must exceed in order to cause comparator 112 to generate a signal on lines 113 or comparator 114 to generate a signal on line 115. More specifically, comparator 112 detects the base portion of the adjusted input signal appearing on line 101. Figs. 2a-2d illustrate the detected base portions of the corresponding input signals depicted at Figs. 1a-1d, and Figs 5a-5d illustrate the detected base portion for the corresponding input waveforms of Figs. 4a-4d. Similarly, Fig. 7b depicts the base portion of Fig. 7a. Comparator 114 detects the inductive kickback portion of the adjusted input signal. For example, Figs. 3a-3d show the detected inductive kickback portions for the corresponding input waveforms of Figs. 1a-1d, and Figs. 6a-6d show the detected inductive kickback portions for the corresponding input signals of Figs. 4a-4d. Fig. 7c illustrates the detected kickback portion of the signal depicted by Fig. 7a. The signals generated by the comparators are filtered and the signal edges are made sharp by the Filtering and Trigger circuitries 118 and 120. The signal is then passed on to event input ports 126 and 128 of the microcontroller 104. Note that the threshold voltages are set only once for a particular input signal. Initially, the microcontroller 104 evaluates the digital sample values received from A/D converter 116 over a certain period of time, determines whether the voltage signal is a feed-side controlled signal or a ground-side controlled signal, and sets the threshold voltage levels that the adjusted input voltage on line 101 must exceed in order to be detected as a rising edge (or a falling edge). To identify whether the signal is a feed-side voltage signal or a ground-side voltage signal, the microcontroller looks at the digital sample values representing the adjusted input signal appearing on line 101. A feed-side signal is typically at near-zero voltage while the injector is 'off', rises to vehicle battery voltage when 'on' (reflecting the base pulse(s)), and drops to about negative 30 to 40 volts due to the inductive kickback spikes. The microcontroller can thus determine a feed-side signal from the maximum and minimum voltages observed (typically +12 volts to around -40 volts). Similarly, for ground-side controlled signals, the observed signal is typically at vehicle battery voltage while 'off', drops to near-zero voltage while 'on', and inductive kickbacks result in peaks near positive 50 to 60 volts. The microcontroller is able to determine a ground-side signal by observing signals in the range of 0 volt to +60 volts. After determining the injector type, the microcontroller 104 then sets an appropriate threshold voltage for comparator 112 and a threshold voltage for comparator 114 where each threshold voltage is at a sufficient level to identify the occurrence of an edge. Should the adjusted input signal on line 101 exceed either of the threshold voltages it will cause the corresponding comparator to generate a signal which is then filtered and pulse shaped by the Filtering and Trigger circuitry 118 or 120. The microcontroller then receives the processed signal at event input port 126 or 128 as a signal event. The microcontroller upon receiving the event signals identifies a rising edge or a falling edge and executes the corresponding software routine depicted in the flow charts of Figs. 10a-10d and 11a-11d in accordance with another aspect of the present invention. In implementing the algorithm, two count-down timers, timer1 and timer2, are maintained where a timer1 or timer2 interrupt is triggered when the corresponding count-down timer has reached zero. Timer1 is used to determine the end of an event, and timer2 is used to measure the pulse width. The two event signals are referred to as event1 and event2 signals in the following description where event1 refers to the base portion of a signal and event2 refers to the kickback portion. The microcontroller having already determined the input voltage signal as a feed-side controlled or a ground-side controlled voltage signal selects the corresponding set of software routines to process the signals received from the event input ports. For a feed-side controlled signal, referring to Fig. 10a, the initialization step sets event1 and event2 to interrupt on rising edges (meaning that only a rising edge will trigger a corresponding software routine and no action will be taken on a falling edge), and both timers are turned off. Upon receiving an event1 rising edge interrupt, referring to Fig. 10b, the event1 interrupt is reset to trigger on a falling edge as indicated at 132. Moreover, if timer2 is not active (138), event2 is set to interrupt on falling edges, timer2 is initialized and started. If timer2 has been active (136), the last recorded time stamp for the occurrence of event2 is taken as the pulse width and is transferred to storage for later use. Timer2 is then cleared, initialized, and restarted again. If an event1 falling edge interrupt is triggered, referring to Fig. 10c, timer1 is stopped, reloaded to expire at some point in the future where no further event interrupts are expected, and restarted as indicated at box 142. Upon receiving an event2 falling edge, the routine as depicted in Fig. 10d is executed. If timer2 is active, the time of timer2 is recorded as the latest event2 time-stamp. If timer2 is not active, no action is taken. Note that no action is taken for an event2 rising edge interrupt. In the event that a timer1 interrupt occurs due to the fact that timer1 has counted down to zero, timer1 is stopped and event1 is reset to trigger on a rising edge. The occurrence of timer1 interrupt indicates that a prescribed amount of time has elapsed without receiving any event1 edges, and so the next rising edge indicates the start of a new pulse event. In the event that a timer2 interrupt occurs due to the fact that timer2 has counted down to zero, this indicates the duration of the pulse event has exceeded the timer2 maximum count; a 'carry' or rollover register is incremented to count the number of times this occurs, and timer2 is restarted. In the preferred embodiment of the present invention, timer1 is typically initialized to 5 ms and timer2 is typically initialized to 21 ms. For a ground-side controlled signal, referring to Figs. 11a - 11d, the algorithm is the same as that of the algorithm for a feed-side controlled signal except that what was triggered on rising edges now triggers on falling edges and what was triggered on falling edges now triggers on rising edges. The detected pulse width stored in memory is processed and displayed on the monitor. Referring to Fig. 12, the resulting pulse width is either displayed numerically or in a histograph showing pulse width variation over time. As an alternate display mode, average pulse width over specified duration can be calculated and displayed. As actually implemented, the present invention forms part of a graphing, digital multimeter and diagnostic database instrument manufactured by Balco, a division of Snap-on Incorporated, of San Jose, California. It will be appreciated, however, that the invention could be embodied as a stand-alone unit or as a component part of another indicator or diagnostic system. Furthermore, although the present invention has been described above in terms of a specific embodiment, it is anticipated that alterations and modifications thereof will no doubt become apparent to those skilled in the art. It is therefore intended that the following claims be interpreted as covering all such alterations and modifications as fall within the scope of the invention, as defined by the appended claims.

Claims: A system for detecting the event time of pulse events (10; 16; 24; 34; 46; 52; 60; 70) of variable duration appearing in an input signal (100), each of the pulse events (10; 16; 24; 34; 46; 52; 60; 70) having two or more pulses, the system comprising: signal ranging means (110) for receiving said input signal (100) and generating therefrom an adjusted input signal (101); first comparator means (112) for comparing said adjusted input signal (101) and a first threshold voltage magnitude (123) to generate a first event signal (113) each time a first pulse (12; 18; 26; 36; 48; 54; 62; 72) appearing on said adjusted input signal (101) has a voltage magnitude exceeding said first threshold voltage magnitude (123), the first event signal (113) having a leading edge and a trailing edge defining a pulse width corresponding to the pulse width of said first pulse (12; 18; 26; 36; 48; 54; 62; 72); second comparator means (114) for comparing the adjusted input signal (101) and a second threshold voltage magnitude (125) to generate a second event signal (115) each time a second pulse (14; 20, 22; 32; 38, 44; 50; 56, 58; 68; 74, 80) appearing on said adjusted input signal (101) has a voltage magnitude exceeding said second threshold voltage magnitude (125), the second event signal (115) having a leading edge and a trailing edge defining a pulse width corresponding to the pulse width of said second pulse (14; 20, 22; 32; 38, 44; 50; 56, 58; 68; 74, 80); and microcontroller means (104), characterized by : said signal ranging means generating the adjusted input signal (101) having voltage levels within a predetermined voltage range; graphical display means (108); analog-to-digital converter means (116) for assembling such adjusted input signal (101) to generate digital values representative thereof; said microcontroller means (104) receiving said digital values and determining said first threshold voltage magnitude (123) as a function of a first magnitude of said digital values, and said second threshold voltage magnitude (125) as a function of a second magnitude of said digital values, for receiving the first event signal (113) and the second event signal (115) for monitoring the occurrence of each of the first event signal (113) and the second event signal; and said microcontroller means (115) calculating the event time of the pulse event as a function of the occurrence of the first event signal (113) and the second event signal (115), and passing event time to said graphical display means (108) for display. The system of claim 1, characterized in that said microcontroller means (104) coordinates one or more timers to measure the event time for a pulse event upon receiving the first event signal (113) and the second event signal (115) each having a leading edge and a trailing edge. The system of claim 1 or claim 2, characterized in that , before measuring the event time, said microcontroller means (104) initializes a first timer to an inactive state, a second timer to an inactive state, a first interrupt to occur upon receiving the leading edge of a first event signal (113), and a second interrupt to occur upon receiving the leading edge of a second event signal (115). The system of claim 3, characterized in that , upon receiving said first interrupt indicating receipt of the leading edge of a first event signal (113), said microcontroller means (104) sets said first interrupt to occur at the trailing edge of a first event signal (113); if said second timer is not active, said microcontroller means (104) sets said second interrupt to occur upon receiving the leading edge of a second event signal (115), and reloads and restarts said second timer; and if said second timer is active, said microcontroller means (104) determines a lapse time record as the event time for the pulse event and reloads and starts said second timer. The system of claim 4, characterized in that , upon receiving said first interrupt indicating receipt of the trailing edge of the first event signal (113), said microcontroller means (104) reloads and restarts said first timer, said first timer determining the end of a pulse event by counting down from a preset amount of time and causing a first timer interrupt to occur when said first timer counts down to zero. The system of claim 5, characterized in that , upon receiving said second interrupt indicating receipt of the leading edge of a second event signal, if said second timer is active, said microcontroller means (104) updates the elapsed time record with said second timer. The system of claim 6, characterized in that , upon receiving said first timer interrupt, said microcontroller means (104) sets said first interrupt to occur upon receiving the leading edge of a first event signal, and stops said first timer. The system of any of claims 1 - 7, characterized in that said first pulse (12; 18; 26; 36; 48; 54; 62; 72) is a base pulse of the pulse event (10; 16; 24; 34; 46; 52; 60; 70), and said second pulse (14; 20, 22; 32; 38, 44; 50; 56, 58; 68; 74, 80) is a kickback pulse of the pulse event (10; 16; 24; 34; 46; 52; 60; 70). The system of any of claims 1 - 8, characterized by a user input means (106) operatively connected to said microcontroller means (104) for specifying input parameters including display modes. The system of any of claims 1 - 9, characterized by a first filter means (118) operatively connecting said first comparator means (112) to said microcontroller means (104) for filtering the first event signal (113) before passing the first event signal (113) to said microprocessor means (104). The system of any of claims 1 - 10, characterized by a second filter means (120) operatively connecting said second comparator means (114) to said microcontroller means (104) for filtering the second event signal (115) before passing the second event signal (115) to said microcontroller means (104). The system of any of claims 1 - 11, characterized by a first Schmitt Trigger means (118) operatively connecting said first comparator means (112) to said microcontroller means (104) for sharpening the edge of the first event signal (113) before passing the first event signal (113) to said microcontroller means (104). The system of any of claims 1 - 12, characterized by a second Schmitt Trigger means (120) operatively connecting said second comparator means (112) to said microcontroller means (104) for sharping the edge of the second event signal (115) before passing the second event signal (115) to said microcontroller means (104). The system of any of claims 1 - 13, characterized in that said signal ranging means (110) includes circuit protection circuitries to prevent said input signal (100) from damaging the system. The system of any of claims 1 - 14, characterized by a memory unit for storing the event time of the pulse events (10; 16; 24; 34; 46; 52; 60; 70). The system of claim 15, characterized in that said microcontroller means (104) calculates an average event time value over a specified period of time from the event time values in said memory unit and passes said average event time value to said graphical display means (108) for display. A method for detecting the event time of pulse events (10; 16; 24; 34; 46; 52; 60; 70) of variable duration appearing in an input signal (100), each of the pulse events (10; 16; 24; 34; 46; 52; 60; 70) having two or more pulses, the method comprising the steps of: receiving and adjusting said input signal (100) to form an adjusted input signal (101); and forming a first threshold voltage magnitude (123) and a second threshold voltage magnitude (125); and comparing said adjusted input signal (101) and said first threshold voltage magnitude (123) to generate a first event signal (113) each time said adjusted input signal (101) exceeds said first threshold voltage magnitude (123), and comparing said adjusted input signal (101) and said second threshold voltage magnitude (125) to generate a second event signal (115) each time said adjusted input signal (101) exceeds said second threshold voltage magnitude (125); characterized by said adjusted input signal (101) being adjusted to have voltage levels within a predetermined voltage range and sampled to generate digital values representative thereof; said first threshold voltage magnitude (123) and said second threshold voltage magnitude (125) being determined from said digital values and having predetermined relationships to particular characteristics of said input signal (100); measuring the event time of a pulse event (10; 16; 24; 34; 46; 52; 60; 70) as a function of the time of the occurrence of the first event signal (113) and the second event signal (115); and displaying the event time. The method of claim 17, characterized in that said first event signal (113) and said second event signal (115) each have a leading edge and a trailing edge and said step of measuring the event time further includes the substeps of: (i) initializing a first interrupt to occur upon receiving the leading edge of a first event signal (113), and a second interrupt to occur upon receiving the leading edge of a second event signal (115), and setting a first timer and a second timer to inactive states; (ii) upon receiving (130) a first interrupt, indicating receipt of the leading edge of a first event signal (113), setting (132) said first interrupt to occur upon receiving the trailing edge of a first event signal (113), if (134) said second timer is not active, setting (138) said second interrupt to occur upon receiving the trailing edge of a second event signal (115), and reloading and restarting said second timer, and if (134) said second timer is active, storing (136) an elapsed time record as the event time for the pulse event, and reloading and restarting said second timer; iii) upon receiving (140) a first interrupt, indicating receipt of the trailing edge of a first event signal (113), reloading (142) and restarting (142) said first timer to count down from a preset amount of time, said first timer causing a first timer interrupt to occur when said first timer counts to zero; iv) upon receiving (144) said second interrupt, indicating receipt of the leading edge of a second event signal (115), if (146) said second timer is active, updating (148) said elapsed time record with the time value from said second timer; v) upon receiving a first timer interrupt indicating expiration of time on said first timer, setting said first interrupt to occur on receiving the leading edge of a first event signal (113) and stopping said first timer; and vi) repeating said steps ii) - v) for a selectable period of time.

Inventors: ANDERSSON CLAES GEORG, VILLA CHARLES N, ANDERSSON, CLAES GEORG, VILLA, CHARLES N.
Applicants: SNAP ON TECH INC, SNAP-ON TECHNOLOGIES, INC.
Application year: 1997
Main classification: G01R29
IPC codes: G01R29