Meter driving method

申请号 EP92104102.6 申请日 1992-03-10 公开(公告)号 EP0505826A1 公开(公告)日 1992-09-30
申请人 ROHM CO., LTD.; 发明人 Murase, Hiroshi, c/o Rohm Co.,Ltd.;
摘要 A meter driving system receiving pulse signals from a sensor is counting frequencies (F in ) or periods of the input signals. The counted results are weight-averaged to determine an output value (F n ) and a value (F m ) to be indicated. In a weight-averaging process, a weight (α) is varied in response to the frequencies (F in ) of the input signal. Thus, the meter can give a precise indication regardless of varying input frequencies.
权利要求 A meter driving system comprising:(a) means for weight-averaging measured frequency values of input signals and a present meter indication so as to successively renew the meter indication; and(b) means for varying a weight for renewing the meter indication according to the measured frequency values of the input signals so that fluctuation of the meter indication is accordingly suppressed when high signal frequencies are inputted, and fluctuation of the meter indication is accordingly enhanced when low signal frequencies are inputted.A meter driving system according to claim 1, further including means for measuring the frequencies of the input signals.A meter driving system according to claim 2, wherein said frequency measuring means includes:
   a reference clock generator for generating reference clock signals having a predetermined period;
   means for counting the number of the reference clock signals generated within a predetermined number of the periods of the input signals so as to output the counted results as data representing the period of the input signals; and
   means for calculating frequencies of the input signals based on the measured results of said counting means.
A meter driving unit comprising:(a) means for weight-averaging measured values of periods of input signals and a present meter indication so as to successively renew the meter indication; and(b) means for varying a weight for renewing the meter indication according to the measured values of periods of the input signals so that fluctuation of the meter indication is accordingly suppressed when high signal frequencies are inputted, and fluctuation of the meter indication is accordingly enhanced when low signal frequencies are inputted.A meter driving system according to claim 4, further including means for measuring the period of the input signals.A meter driving system according to claim 5, wherein said period measuring means includes:
   a reference clock generator for generating reference clock signals having a predetermined period; and
   means for counting the number of the reference clock signals generated within a predetermined number of the periods of the input signals so as to output the counted results as data representing the period of the input signals.
A meter driving system comprising:(a) means for weight-averaging measured values of frequencies of input signals and a present output value so as to successively renew the output value;(b) means for varying a weight for renewing the output value according to the measured frequency values of the input signal so that fluctuation of the meter indication is accordingly suppressed when high signal frequencies are inputted, and fluctuation of the meter indication is accordingly enhanced when low signal frequencies are inputted; and(c) means for weight-averaging the output values and the present meter indication so as to renew the meter indication.A meter driving system according to claim 7, further including means for measuring the frequencies of the input signals.A meter driving system according to claim 8, wherein said frequency measuring means includes:
   a reference clock generator for generating reference clock signals having a predetermined period;
   means for counting the number of the reference clock signals generated within a predetermined number of the periods of the input signals so as to output the counted results as data representing the period of the input signals; and
   means for calculating frequencies of the input signals based on the counted results of said counting means.
A meter driving system comprising:(a) means for weight-averaging measured values of periods of input signals and a present output value so as to successively renew the output value;(b) means for varying a weight for renewing the output values according to the measured values of the period of the input signal so that fluctuation of the meter indication is accordingly suppressed when high signal frequencies are inputted, and fluctuation of the meter indication is accordingly enhanced when low signal frequencies are inputted; and(c) means for weight-averaging the output value and a present meter indication so as to renew the meter indication successively.A meter driving system according to claim 10, further including means for measuring the period of the input signals.A meter driving system according to claim 10, wherein said period measuring means includes:
   a reference clock generator for generating reference clock signals having a predetermined period; and
   means for counting the number of the reference clock signals generated within a predetermined number of the periods of the input signals so as to output the counted results as data representing the period of the input signal.
A meter comprising:(a) means for weight-averaging measured frequency values of input signals and a present meter indication so as to successively renew the meter indication; and(b) means for varying a weight for renewing the meter indication according to the measured freqeuncy values of the input signals so that fluctuation of the meter indication is accordingly suppressed when high signal frequencies are inputted, and fluctuation of the meter indication is accordingly enhanced when low signal frequencies are inputted; and(c) indicating means for giving a successively renewed indication by a pointer.A meter according to claim 13, further including means for determining an angle to move said pointer according to the indication to be given, and means for moving said pointer by the determined angle.A meter according to claim 13, wherein said indicating means includes a plurality of exciting coils, and said pointer moving means includes a member for calculating effective values of exciting currents according to the determined deflection angle, and a member for controlling the exciting currents to be supplied to said exciting coils according to the calculated effective values of the exciting currents.A meter according to claim 14, wherein said pointer moving means includes a member for determining the signs of the exciting currents according to the determined deflection angle of said pointer.A meter comprising:(a) means for weight-averaging measured values of periods of input signals and a present meter indication so as to successively renew the meter indication; and(b) means for varying a weight for renewing the meter indication according to the measured values of the period of the input signals so that fluctuation of the meter indication is accordingly suppressed when high signal frequencies are inputted, and fluctuation of the meter indication is accordingly enhanced when low signal frequencies are inputted; and(c) indicating means for giving a successively renewed indication.A meter according to claim 17, further including means for determining an angle to move said pointer according to the indication to be given, and means for moving said pointer by the determined angle.A meter according to claim 18, wherein said indicating means includes a plurality of exciting coils, and said pointer moving means includes a member for calculating effective values of exciting currents according to the determined deflection angle, and a member for controlling the exciting currents to be supplied to said exciting coils according to the calculated effective values of the exciting currents.A meter according to claim 18, wherein said pointer moving means includes a member for determining the signs of the exciting currents according to the determined deflection angle of said pointer.
说明书全文

BACKGROUND OF THE INVENTION

1. Field of the Invention:

This invention relates to a meter having a pointer actuated by a magnetic field, and to a driving system for such a meter.

2. Description of the Related Art:

The velocity or engine speed of a vehicle is usually indicated by a pointer of a speedmeter or a tachometer. A cross-coil meter is widely used for this purpose.

FIG. 2 of the accompanying drawings shows the operation principle of such a cross-coil meter. The cross-coil meter includes a magnet M and two exciting coils Ls and Lc. The coils Ls, Lc generate magnetic fields having intensities according to currents supplied by a driving system (not shown). These two coils are arranged to be perpendicular to each other. A combined magnetic field composed of the magnetic fields of these coils Ls, Lc is controlled by regulating the currents which are applied to these coils. The magnet M is located so as to be actuated by the combined magnetic field. When it is actuated, the magnet M generates torque, angularly moving according to the torque. A non-illustrated pointer is connected to the magnet M to deflect in response to the angular movement of the magnet M.

The pointer deflects according to the currents applied to the coils Ls, Lc. Therefore, when the currents to the coils Ls, Lc change in response to the measured vehicle or engine speed, the pointer deflects to indicate the varying vehicle or engine speed. FIG. 3 of the accompanying drawings shows a speedometer for a vehicle. In FIG. 3, a pointer I is connected to the magnet M of FIG. 2. An angle ϑ corresponds to the angle by which the magnet M is moved due to the combined magnetic field generated by the coils Ls, Lc.

A pulse output type sensor is usually used for detecting the vehicle or engine speed. Some speed sensors generate pulse signals having different frequencies according to detected speeds. When a cross-coil meter is set in motion by an output from such a sensor, it is necessary to use a counter for counting the frequency of pulses, a modulator for performing the pulse width modulation (PWM) according to the counted results of the counter, a driver for supplying PWM-modulated currents to the coils Ls, Lc, and so forth. To deflect the pointer I by the angle ϑ according to the value detected by the sensor, a ROM or the like should be used to correspond the counted frequencies with the deflection angle ϑ.

Usually inputs from the sensor are variable to a certain extent. To operate the cross-coil meter, such variable inputs should preferably be stabilized to prevent unfavorable deflection of the pointer I. For this purpose, the counted frequency of pulses are conventionally averaged in a specified period of time, so that the deflection angle ϑ of the pointer is controlled by a mean value. A frequency Fn at a certain time point is determined by the following formula.



Fn = (Fin + Fn-1 + Fn-2 + ... + Fn-a)/(a + 1)



where a is an integer, Fin is an input frequency, Fn-1 is a frequency which serves as a base for determining the deflection angle ϑ at the time point n-1, Fn-2 is another frequency serving as another base for determining the deflection angle ϑ, and so forth.

When this equation is employed, the calculation results (Fn-1 to Fn-a) should be obtained until the time point a, which means a slow response. To improve the response, a formula for obtaining a weight average has been studied and in use now.



Fn = αFn-1 + (1 - α)Fin



where α is a constant (0 < α < 1).

However, even when Fn is obtained by using the second formula, the foregoing calculation has to be repeated each time a new frequency is counted by the counter, resulting in too quick a response in some cases, or too slow a response in other cases. For example, when a cross-coil meter is operated by a sensor for outputting high frequency pulses, the number of calculations per unit time is increased to make the pointer I fluctuate extensively. Otherwise, the number of calculations per unit time becomes too few to reduce the pointer's responsiveness.

SUMMARY OF THE INVENTION

It is therefore an object of the invention to provide a meter which is very responsive to any variation in input frequency but can prevent unnecessary fluctuation of its pointer.

According to the invention, there is provided a meter driving system comprising: means for weight-averaging measured frequency or period values of input signals and a present meter indication so as to successively renew the meter indication; and means for varying a weight for renewing the meter indication according to the measured frequency or period values of the input signal so that fluctuation of the meter indication is accordingly suppressed when high signal frequencies are inputted, and fluctuation of the meter indication is accordingly enhanced when low signal frequencies are inputted.

With this arrangement, the meter can give an accurate indication irrespective of varying input signal frequencies.

The driving system of the invention further includes: a reference clock generator for generating reference clock signals having a predetermined period; a counter for counting the number of the reference clock signals generated within a predetermined number of the periods of the input signal so as to output the counted results as data representing the period of the input signal; and means for measuring the frequency of the input signals based on the counted results of the counting means.

The frequencies or periods of the input signals are measured by the counter according to the number of reference clock signals which are generated during a specified period of the input signal.

To renew the meter indication, the output values are obtained by weight-averaging the measured values. Then the output values are weight-averaged to determine the indication to be given. Different weights may be used to calculate the output value and to obtain the indication based on the calculated output values.

To operate indicating means such as a cross-coil meter having a pointer, a deflection angle of the pointer is firstly determined based on the indication to be given. Then, the pointer is angularly moved according to the determined deflection angle.

When the indication means has a plurality of exciting coils, effective values of exciting current to these coils are controlled, being supplied to the coils. Means for determining the signs of the exciting currents may be used when the exciting currents are controlled by pulse width modulation.

BRIEF DESCRIPTION OF THE DRAWINGS

  • FIG. 1 is a block diagram showing the configuration of a drive meter according to the invention;
  • FIG. 2 shows the principle of a cross-coil meter; and
  • FIG. 3 shows an example of an indication given by a speed meter.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

FIG. 1 shows a driving system for operating a meter of the invention. The driving system receives signals from a pulse output type sensor to drive a cross-coil meter 26.

Signals from the sensor are firstly counted by a binary counter 10, which recognizes a period of the received signals based on reference clock signals generated by a reference clock generator 12. When the signals from the sensor have the period Tin, the binary counter 10 counts the number of pulses generated between the rise and immediate fall of the signals from the sensor. Thus, a half period Tin/2 of the sensor signals is detected with specified precision. The binary counter 10 may count the number of reference pulses generated between the fall and immediate rise of the signals from the sensor. The binary counter 10 may also count intervals between falls of the signals from the sensor. Tie driving system of FIG. 1 can perform these counting operations.

A latch 14 latches the counted results of the binary counter 10. Latch timing corresponds to the timing of rise or fall of the signals from the sensor. The rise or fall timing of the signals is selected as the latch timing depending on which of the three foregoing operations is executed by the binary counter 10. The value latched by the latch 14 directly or indirectly represents the period Tin of the signals outputted by the sensor. Since the period Tin is a reciprocal of a frequency Fin, the value latched by the latch 14 is a value of the frequency Fin. The reference clock signals are also supplied to a CPU 16 and PWM modulator 22 for synchronization, as described later.

The CPU 16 performs the calculations based on the value latched by the latch 14, i.e. data representing the period Tin or frequency Fin of the signal outputted by the sensor, thereby controlling the indication to be given by the cross-coil meter 26.

The CPU 16 performs its control operation according to a preset program. Specifically, the CPU 16 is connected to a ROM 20 for storing the calculation program. The ROM 20 stores riot only the calculation program but also various coefficients (such as β and αm) to be used for the calculations. The CPU 16 executes the control calculations while storing in RAM 18 intermediate aspects or results of the calculations.

The CPU 16 controls the indication of the cross-coil meter 26 as follows.

Firstly, the CPU 16 reads the data latched by the latch 14. The data represent the period Tin or frequency Fin of the signals outputted by the sensor as described above. Then, the CPU 16 determines the output value Fn based on the period Tin or frequency Fin.

The CPU 16 determines the output value Fn by using a response coefficient β which is a feature of the invention. The following formula is used for this purpose.



Fin = 1/Tin   (1)



α = βFin /(βFin + 1)   (2)



Fn = αFn-1 + (1 - α)Fin   (3)



where β is a constant. The CPU 16 determines the output value Fn based on the frequency Fin by using the formulas (2) and (3).

As can be seen from the formula (2), when the frequency Fin of the pulse signals from the sensor is high, the weight α of Fn-1 in the formula (3) is approximate to 1, i.e. the weight becomes heavy. On the contrary, the weight (1-α) of the frequency Fin becomes light. The output value Fn of the CPU 16 tends to deviate from the frequency Fin of the pulse signal as the frequency Fin becomes high.

The CPU 16 stores the output value Fn as Fn-1 in RAM 18. In other words, Fn-1 is renewed in the RAM 18. The CPU 16 also calculates and outputs a value Fm to be indicated.

The PWM modulator 22 has a register for storing the value Fm to be indicated. This register is not shown in FIG. 1. The value Fm is calculated by using the weight-averaging formula (4).



Fm = αmFm-1 + (1 - αm)Fn   (4)



where αm is a constant. The CPU 16 uses the value Fm to renew the contents of a register of the PWM modulator 22.

The PWM modulator 22 determines a deflection angle ϑ of the cross-coil meter 26 based on the value Fm which is calculated by the CPU 16 and stored in the register of the PWM modulator 22. As described above, the period or frequency of the pulse signals from the sensor corresponds to the value detected by the sensor, e.g. speed. Therefore, the CPU 16 calculates the value Fm by using the foregoing formulas, determining the deflection angle ϑ of the cross-coil meter 26 so that the detected value of the sensor is indicated by the cross-coil meter 26. The PMM modulator 22 determines the deflection angle ϑ by referring to a table (not shown) in the memory.

The PWM modulator 22 generates two kinds of signals, sine and cosine signals, based on the deflection angle ϑ, outputting these signals to a driver 28. The driver 28 operates the cross-coil meter 26 in response to the received sine and cosine signals. Specifically, the PWM modulator 22 supplies the driver 28 with the sine and cosine signals representing the absolute values of sin ϑ and cos ϑ. Then, the driver 28 provides the two coils of the cross-coil meter 26 with currents having effective values corresponding to the two PWM signals, respectively.

The driver 28 requires information concerning the signs of sin ϑ and cos ϑ. A steering logic 24 determines the signs of sin ϑ and cos ϑ based on the output value Fn and the value Fm (to be indicated), thereby supplying them to the driver 28. When the value Fm to be indicated is in the first quadrant, both sin ϑ and cos ϑ are positive. Therefore, the steering logic 24 sends tie driver 28 the signals denoting that the signals sin ϑ and cos ϑ are positive. Receiving the sine and cosine signals from the PWM modulator 22 and signals representing the signs of these signals, the driver 28 operates the cross-coil meter 26 accordingly.

In the foregoing embodiment, the weight coefficient α in the formula (3) is determined according to the frequency Fin when the CPU 16 calculates the output value Fn. The higher the frequency Fin, the less the cross-coil meter 26 is responsive to the input from the sensor so as to indicate the value Fm precisely. It is therefore possible to overcome the inconvenience with conventional meters that the higher the input frequency Fin, the more extensively the meter 26 tends to deflect its pointer.

The lower the frequency Fin, the more the meter 26 becomes responsive to the input from the sensor so as to give an accurate indication of the value Fm.

The invention being thus described, it will be obvious that the sane may be varied in many ways. Such variations are not to be considered as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.

QQ群二维码
意见反馈