Speed/rpm transmitting device
First Claim
1. A method of using a single microcontroller having a programmable timer for generating output signals representing the calibrated vehicle speed and engine rpm of a road vehicle, said microcontroller having a pair of output ports connected to speed and rpm utilization devices respectively and a pair of input ports connected respectively to first signal generating means for generating signals in response to rotation of the vehicle wheels and second signal generating means for generating signals in response to rotation of the vehicle engine crankshaft, said method comprising the steps of:
- (a) reading the signals generated by said first and second signal generating means to provide output signals corresponding to vehicle speed and engine rpm, said output signals having generally different periods.(b) determining the output signal having the longer period and the output signal having the sorter period,(c) timing the output signal having the shorter period and toggling the output port corresponding to the output signal having the shorter period each time a timer timing the output signal having the shorter period times out,(d) timing the output signal having the longer period by using the output signal having the shorter period to time the output signal having the longer period, and(e) toggling the output port corresponding to the output signal having the longer period each time the longer output signal is in a predetermined relationship with the shorter output signal.
3 Assignments
0 Petitions
Accused Products
Abstract
A microcontroller having two internal timers is used to calibrate the engine rpm and wheel speed signals of a vehicle and to time the output periods of these signals, which are transmitted to, for example, digital rpm and speed indicators.
22 Citations
15 Claims
-
1. A method of using a single microcontroller having a programmable timer for generating output signals representing the calibrated vehicle speed and engine rpm of a road vehicle, said microcontroller having a pair of output ports connected to speed and rpm utilization devices respectively and a pair of input ports connected respectively to first signal generating means for generating signals in response to rotation of the vehicle wheels and second signal generating means for generating signals in response to rotation of the vehicle engine crankshaft, said method comprising the steps of:
-
(a) reading the signals generated by said first and second signal generating means to provide output signals corresponding to vehicle speed and engine rpm, said output signals having generally different periods. (b) determining the output signal having the longer period and the output signal having the sorter period, (c) timing the output signal having the shorter period and toggling the output port corresponding to the output signal having the shorter period each time a timer timing the output signal having the shorter period times out, (d) timing the output signal having the longer period by using the output signal having the shorter period to time the output signal having the longer period, and (e) toggling the output port corresponding to the output signal having the longer period each time the longer output signal is in a predetermined relationship with the shorter output signal. - View Dependent Claims (2, 3)
-
-
4. A method of using a single microcontroller having a programmable timer to generate signals at a pair of output ports of said microcontroller marking the beginning and end of output periods of two separate time variant variables generally having different output periods, said method comprising the steps of:
-
(a) determining the longer and the shorter of said output periods, (b) successively subtracting the shorter output period from the longer output period, (c) memorizing the difference between the longer output period and the shorter output period as a first memorized difference when said difference is less than the value of the shorter output period, (d) loading the timer with the shorter output period after each subtraction, (e) starting the timer each time it is loaded, (f) toggling an output port associated with the shorter output period each time that the timer times out after being loaded with the value of the shorter output period, (g) loading the timer with said first memorized difference when the difference between said output periods is less than the value of the shorter output period, (h) starting the timer, and (i) toggling an output port associated with the longer output period after the time out after having been loaded with the first memorized value. - View Dependent Claims (5)
-
-
6. A method of using a single microcontroller having a programmable timer for generating output signals representing the calibrated vehicle speed and engine rpm of a road vehicle, said microcontroller having a pair of output ports connected to speed and rpm utilization devices respectively and a pair of input ports connected respectively to first signal generating means for generating signals in response to rotation of the vehicle wheels and second signal generating means for generating signals in response to rotation of the vehicle engine crankshaft, said method comprising the steps of;
-
(a) reading the signals generated by said first and second signal generating means to provide output signals corresponding to vehicle speed and engine rpm, said output signals having generally different periods. (b) determining the output signal having the longer period and the output signal having the shorter period, (c) successively subtracting the shorter period from the longer period, (d) memorizing the difference between the longer period and the shorter period as a first memorized difference when said difference becomes less than the value of the shorter period, (e) loading the timer with the value of the shorter period after each subtraction, (f) starting the timer each time it is loaded, (g) toggling the output port associated with the shorter output period each time that the timer times out after being loaded with the value of the shorter output period, (h) loading the timer with said first memorized difference when the difference between said periods becomes less than the value of the shorter period, (i) starting the timer, and (j) toggling an output port associated with the longer output period after the timer times out after having been loaded with the first memorized value. - View Dependent Claims (7, 8, 9, 10, 11)
-
-
12. A method of using a microcontroller having a pair of timers to calibrate engine rpm and wheel speed signals of a motor vehicle and to generate signals at output ports of said microcontroller representing the calibrated engine rpm and wheel speed of said vehicle, comprising the steps of:
-
(a) providing pulsed input signals representing engine rpm and vehicle speed to said microcontroller, (b) using one of said timers to generate both a speed output signal which varies in proportion to the frequency of the pulsed input representing vehicle speed and an rpm output signal which varies in proportion to the frequency of the pulsed input representing engine rpm, (c) determining the output signal having the longer period and the output signal having the shorter period, (d) using the other timer to time the output signal having the shorter period (e) controlling a corresponding one of the output ports of said microcontroller, (f) using the value of the shorter output signal to time the other output signal, (g) controlling the other output port of the microcontroller, (h) toggling the output port corresponding to the output signal having the shorter period each time a timer timing the output signal having the shorter period times out, (i) timing the output signal having the longer period by using the output signal having the shorter period to time the output signal having the longer period, and (j) toggling the output port corresponding to the output signal having the longer period each time the longer output signal is in a predetermined relationship with the shorter output signal.
-
-
13. A method of using a microcontroller having a pair of timers to calibrate engine rpm and wheel speed signals of a motor vehicle and to generate signals at output ports of said microcontroller representing the calibrated engine rpm and wheel speed of said vehicle, comprising the steps of:
(a) providing pulsed input signals representing engine rpm and vehicle speed to said microcontroller, - View Dependent Claims (14)
-
15. A method of using a microcontroller having a pair of timers to calibrate engine rpm and wheel speed signals of a motor vehicle and to generate signals at output ports of said
(b) using one of said timers to generate both a speed output signal which varies in proportion to the frequency of the pulsed input representing vehicle speed and an rpm output signal which varies in proportion to the frequency of the pulsed input representing engine rpm, (c) determining the output signal having the longer period and the output signal having the shorter period, (d) using the other timer to time the output signal having the shorter period, (e) controlling a corresponding one of the output ports of said microcontroller, (f) using the value of the shorter output signal to time the other output signal, (g) controlling the other output port of the microcontroller, (h) successively subtracting the output signal having the shorter period from the output signal having the longer period, (i) using the timer to time the difference between the output signals to define a first quantity in which the difference between the output signals becomes less than the shorter period, and (j) toggling the output port corresponding to the longer output signal when the timer times out said first quantity. microcontroller representing the calibrated engine rpm and wheel speed of said vehicle, comprising the steps of: -
(a) providing pulsed input signals representing engine rpm and vehicle speed to said microcontroller, (b) using one of said timers to generate both a speed output signal which varies in proportion to the frequency of the pulsed input representing vehicle speed and an rpm output signal which varies in proportion to the frequency of the pulsed input representing engine rpm, (c) determining the output signal having the longer period and the output signal having the shorter period, (d) using the other timer to time the output signal having the shorter period, (e) controlling a corresponding one of the output ports of said microcontroller, (f) using the value of the shorter output signal to time the other output signal, (g) controlling the other output port of the microcontroller, (h) counting pulses comprising the corresponding input signal over a period comprising at least a predetermined number of timer interrupts generated by time out of the first timer, (i) adding the net time between the beginning and ending pulses and the beginning and end respectively of the corresponding timer periods to the number of timer periods multiplied by the length of a timer period, (j) dividing by the number of pulses, and (k) multiplying by a predetermined calibration factor.
-
Specification