JP2006017009A - Engine speed setting processing system - Google Patents

Engine speed setting processing system Download PDF

Info

Publication number
JP2006017009A
JP2006017009A JP2004194206A JP2004194206A JP2006017009A JP 2006017009 A JP2006017009 A JP 2006017009A JP 2004194206 A JP2004194206 A JP 2004194206A JP 2004194206 A JP2004194206 A JP 2004194206A JP 2006017009 A JP2006017009 A JP 2006017009A
Authority
JP
Japan
Prior art keywords
engine
pwm signal
pulse width
speed
rotation speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004194206A
Other languages
Japanese (ja)
Inventor
Yasuo Fujii
保生 藤井
Masanori Fujiwara
正徳 藤原
Hajime Yama
一 山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kubota Corp
Original Assignee
Kubota Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kubota Corp filed Critical Kubota Corp
Priority to JP2004194206A priority Critical patent/JP2006017009A/en
Publication of JP2006017009A publication Critical patent/JP2006017009A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an engine speed setting processing system for preventing erroneous operation of an engine, by removing influence on the engine speed setting of the engine by noise inputted to an external part together with a PWM signal. <P>SOLUTION: The engine speed setting processing device 10 of this embodiment determines a case where there is influence of the noise on the measured PWM signal by a determining result of a pulse width determining means 13 for determining whether or not the sum of a pulse width of the two PWM signals continuing on a time base is equal to a period of the PWM signal; and in this case, holds an engine speed preset as a command engine speed of the engine as a command engine speed of the engine by an engine speed setting means 14. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、PWM信号に基いてエンジンの指令回転数を設定するエンジン回転数設定処理装置に関する。   The present invention relates to an engine speed setting processing device that sets a command speed of an engine based on a PWM signal.

昨今、エンジンとエンジンの駆動対象である装置との統合制御に、PWM信号を用いることが多くなってきた。例えば、発電機をエンジンの駆動対象とするエンジン発電装置(特許文献1参照)にPWM信号を用いる場合がある。このエンジン発電装置では、発電機の出力電圧が基準電圧設定手段によって目標電圧に設定され、設定された目標電圧に近づくようにエンジンの回転数が制御されている。PWM信号は、基準電圧設定手段に目標電圧を発電機側から伝える信号として用いられる。PWM信号による回転数のデジタル的な設定処理は、ポテンショメータ等を用いた回転数のアナログ的な設定処理と比較すると、発電機側からエンジン側にエンジンの指令回転数を伝える際に生じるノイズからの影響を基本的には受け難い。また、この設定処理はD/Aコンバータを必要せずに実行できるために安価に実現される。   In recent years, a PWM signal has been frequently used for integrated control between an engine and a device to be driven by the engine. For example, there is a case where a PWM signal is used for an engine power generation device (see Patent Document 1) in which a generator is driven by an engine. In this engine power generator, the output voltage of the generator is set to the target voltage by the reference voltage setting means, and the engine speed is controlled so as to approach the set target voltage. The PWM signal is used as a signal for transmitting the target voltage from the generator side to the reference voltage setting means. Compared with the analog setting process of the rotational speed using a potentiometer or the like, the digital setting process of the rotational speed by the PWM signal is caused by noise generated when the engine rotational speed is transmitted from the generator side to the engine side. It is hard to be affected. Further, since this setting process can be executed without the need for a D / A converter, it is realized at a low cost.

このようにPWM信号によって回転数を設定する従来のエンジン回転数設定処理装置は、信号測定手段と、回転数演算手段と、回転数設定手段とを有する。この従来のエンジン回転数設定処理装置では、信号測定手段により、従来のエンジン回転数設定処理装置に入力されたPWM信号のパルス幅およびレベルを測定し、測定されたPWM信号がハイレベルである場合には、回転数演算手段により、測定されたパルス幅に応じてエンジンの回転数を演算し、回転数設定手段により、演算されたエンジンの回転数をエンジン指令回転数として設定するという設定処理が実行される。   As described above, the conventional engine speed setting processing device that sets the speed by the PWM signal has a signal measuring means, a speed calculating means, and a speed setting means. In this conventional engine speed setting processing device, the pulse width and level of the PWM signal input to the conventional engine speed setting processing device are measured by the signal measuring means, and the measured PWM signal is at a high level. Includes a setting process in which the engine speed is calculated according to the measured pulse width by the engine speed calculator, and the calculated engine speed is set as the engine command engine speed by the engine speed setting unit. Executed.

特開平04−145898号公報Japanese Patent Laid-Open No. 04-145898

しかし、この従来のエンジン回転数設定処理装置では、例えばPWM信号の生成の際に生じるノイズからの影響を除去することが困難である。図5は、ノイズを含むPWM信号を示した図である。PWM信号およびノイズの縦横の長さそれぞれはPWM信号のレベル(振幅)およびパルス幅(時間)を示し、TはPWM信号の周期を示す。従来のエンジン回転数設定処理装置では、図5に示されるPWM信号S1、S2、S3、S4、S5、S6およびノイズSnoiseのパルス幅およびレベルが測定される。この場合、レベルがハイレベルであるのは、PWM信号S1、S3、S6およびノイズSnoiseであるから、PWM信号S1、S3およびS6のパルス幅に応じて回転数が演算されるだけではなく、ノイズSnoiseのパルス幅にも応じて回転数が演算される。これらの回転数全ては、エンジンの指令回転数として設定される。この結果、エンジンの誤作動が生じるおそれがある。さらに、この誤作動により、エンジンと、エンジンの駆動対象である装置(発電機や冷凍機のコンプレッサ等)との統合制御が困難になるおそれがある。
本発明は、上述の問題を解消し、PWM信号と共に外部入力されるノイズの、エンジンの回転数設定に対する影響を除去することによってエンジンの誤作動を防止し、さらには、エンジンとエンジンの駆動対象である装置との統合制御を向上させるPWM信号によるエンジン回転数設定処理装置を提供することを目的とする。
However, in this conventional engine speed setting processing device, it is difficult to remove the influence from noise generated when generating a PWM signal, for example. FIG. 5 is a diagram illustrating a PWM signal including noise. The vertical and horizontal lengths of the PWM signal and noise indicate the level (amplitude) and pulse width (time) of the PWM signal, respectively, and T indicates the period of the PWM signal. In the conventional engine speed setting processing device, the pulse widths and levels of the PWM signals S1, S2, S3, S4, S5, S6 and noise S noise shown in FIG. 5 are measured. In this case, since the high level is the PWM signals S1, S3, S6 and the noise S noise , not only the rotation speed is calculated according to the pulse width of the PWM signals S1, S3, and S6, The rotation speed is calculated according to the pulse width of the noise S noise . All these rotational speeds are set as engine rotational speeds. As a result, engine malfunction may occur. Furthermore, this malfunction may make it difficult to perform integrated control between the engine and a device (such as a generator or a compressor of a refrigerator) that is the target of driving the engine.
The present invention solves the above-mentioned problems, prevents the malfunction of the engine by eliminating the influence of noise input externally together with the PWM signal on the engine speed setting, and further, the engine and the engine driving target. An object of the present invention is to provide an engine speed setting processing device using a PWM signal that improves the integrated control with the device.

本発明のエンジン回転数設定処理装置は、入力されたPWM信号のパルス幅およびレベルを測定する信号測定手段(11)と、所定のレベルであるPWM信号のパルス幅に応じて回転数を演算する回転数演算手段(12)と、演算された回転数をエンジン指令回転数として設定する回転数設定手段(14)とを具備するエンジン回転数設定処理装置であって、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期に等しいか否かを判定するパルス幅判定手段(13)を備え、回転数設定手段(14)は、パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期に等しいと判定される場合には、所定のレベルであるPWM信号のパルス幅に応じて回転数演算手段(12)によって演算された回転数をエンジン指令回転数として設定し、パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期と異なると判定される場合には、既にエンジン指令回転数として設定されている回転数を、エンジン指令回転数として保持し、これにより上記目的を達成する。   The engine speed setting processing device according to the present invention calculates signal speed (11) for measuring the pulse width and level of the input PWM signal, and calculates the speed according to the pulse width of the PWM signal at a predetermined level. An engine speed setting processing device comprising: a rotation speed calculation means (12); and a rotation speed setting means (14) for setting the calculated rotation speed as an engine command rotation speed. Pulse width determination means (13) for determining whether the sum of the pulse widths of the two PWM signals is equal to the period of the PWM signal, and the rotation speed setting means (14) When it is determined that the sum of the pulse widths of two PWM signals that are continuous on the axis is equal to the period of the PWM signal, the rotational speed calculation means (12) according to the pulse width of the PWM signal at a predetermined level. Computed When the rotation number is set as the engine command rotation number and the pulse width determination means (13) determines that the sum of the pulse widths of two PWM signals continuous on the time axis is different from the cycle of the PWM signal, The engine speed that has already been set as the engine command speed is held as the engine command speed, thereby achieving the above object.

本発明のエンジン回転数設定処理装置は、入力されたPWM信号のパルス幅およびレベルを測定する信号測定手段(11)と、所定のレベルであるPWM信号のパルス幅に応じて回転数を演算する回転数演算手段(12)と、演算された回転数をエンジン指令回転数として設定する回転数設定手段(14)とを具備するエンジン回転数設定処理装置であって、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期に等しいか否かを判定するパルス幅判定手段(13)と、時間軸上に連続する二つのPWM信号のレベルが異なるか否かを判定するレベル判定手段(31)とを備え、回転数設定手段(14)は、パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期に等しいと判定され、かつレベル判定手段(31)により、時間軸上に連続する二つのPWM信号のレベルが異なると判定される場合には、所定のレベルであるPWM信号のパルス幅に応じて回転数演算手段(12)によって演算された回転数をエンジン指令回転数として設定し、パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期と異なると判定される場合には、既にエンジン指令回転数として設定されている回転数をエンジン指令回転数として保持し、レベル判定手段(31)により、時間軸上に連続する二つのPWM信号のレベルが同一であると判定される場合には、既にエンジン指令回転数として設定されている回転数をエンジン指令回転数として保持し、これにより上記目的を達成する。   The engine speed setting processing device according to the present invention calculates signal speed (11) for measuring the pulse width and level of the input PWM signal, and calculates the speed according to the pulse width of the PWM signal at a predetermined level. An engine speed setting processing device comprising: a rotation speed calculation means (12); and a rotation speed setting means (14) for setting the calculated rotation speed as an engine command rotation speed. Pulse width determination means (13) for determining whether or not the sum of the pulse widths of two PWM signals is equal to the period of the PWM signal, and whether or not the levels of two PWM signals consecutive on the time axis are different The rotational speed setting means (14) includes a level determination means (31), and the rotation speed setting means (14) has a pulse width determination means (13) that makes the sum of the pulse widths of two PWM signals continuous on the time axis equal to the period of the PWM signal. Is determined When the level determination means (31) determines that the levels of two PWM signals consecutive on the time axis are different, the rotation speed calculation means (12) according to the pulse width of the PWM signal that is a predetermined level Is set as the engine command rotational speed, and the pulse width determination means (13) determines that the sum of the pulse widths of two PWM signals continuous on the time axis is different from the cycle of the PWM signal. In this case, the rotational speed already set as the engine command rotational speed is held as the engine command rotational speed, and the level determination means (31) determines that the levels of two PWM signals continuous on the time axis are the same. When the determination is made, the engine speed already set as the engine command speed is held as the engine command speed, thereby achieving the above object.

本発明のエンジン回転数設定処理装置では、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期に等しいか否かを判定するパルス幅判定手段13の判定結果により、測定されたPWM信号にノイズの影響がある場合を判定し、この場合には、回転数設定手段14により、既にエンジンの指令回転数として設定された回転数をエンジンの指令回転数として保持することによってエンジンの回転数設定に対するノイズの影響を除去でき、これによりエンジンの誤作動を防止でき、さらに、エンジンとエンジンの駆動対象である装置との統合制御を向上させることを可能にする。   In the engine speed setting processing device of the present invention, measurement is performed based on the determination result of the pulse width determination means 13 that determines whether the sum of the pulse widths of two PWM signals continuous on the time axis is equal to the period of the PWM signal. In this case, the rotation speed setting means 14 holds the rotation speed already set as the engine command rotation speed as the engine command rotation speed. It is possible to eliminate the influence of noise on the engine speed setting, thereby preventing the malfunction of the engine, and further improving the integrated control between the engine and the device to be driven by the engine.

以下、本発明の実施形態について図面に基いて説明する。
図1は、本発明の第1実施形態の、エンジン指令回転数を設定するエンジン回転数設定処理装置を示すブロック図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing an engine speed setting processing device for setting an engine command speed according to the first embodiment of the present invention.

図1に示されるように、第1実施形態のエンジン回転数設定処理装置(10)は、信号測定手段(11)と、回転数演算手段(12)と、パルス幅判定手段(13)と、回転数設定手段(14)とを備える。これら諸手段は、コンピュータ(例えばエンジン制御コンピュータ)によって実現される。また、これら諸手段の互いの動作は、コンピュータによって実現される制御手段(図示せず)によって制御される。   As shown in FIG. 1, the engine speed setting processing device (10) of the first embodiment includes a signal measuring means (11), a speed calculating means (12), a pulse width determining means (13), And a rotational speed setting means (14). These means are realized by a computer (for example, an engine control computer). The operations of these means are controlled by control means (not shown) realized by a computer.

信号測定手段(11)は、エンジン回転数設定処理装置(10)に入力されたPWM信号のパルス幅を測定するとともに、PWM信号のレベルがハイレベルであるかロウレベルであるかを測定する。PWM信号は、例えばエンジンが発電装置に用いられている場合には、発電機の出力電圧を所定の周波数の交流電圧に変換するインバータを制御するマイコン等によって生成され、エンジン回転数設定処理装置の信号測定手段(11)に入力される。測定されたPWM信号のパルス幅およびレベルは、バッファ等の記憶手段(図示せず)に書き込まれ、必要に応じて、回転数演算手段(12)およびパルス幅判定手段(13)に読み出される。   The signal measuring means (11) measures the pulse width of the PWM signal input to the engine speed setting processing device (10) and measures whether the level of the PWM signal is high level or low level. For example, when the engine is used in a power generator, the PWM signal is generated by a microcomputer or the like that controls an inverter that converts an output voltage of the generator into an AC voltage having a predetermined frequency. Input to the signal measuring means (11). The measured pulse width and level of the PWM signal are written in a storage means (not shown) such as a buffer, and read out to the rotational speed calculation means (12) and the pulse width determination means (13) as necessary.

信号測定手段(11)によるパルス幅およびレベル測定の割込み処理は、例えば、次のとおりである。信号測定手段(11)は、エンジン回転数設定処理装置(10)に入力されたPWM信号の立上りエッジまたは立下りエッジをトリガーとしてパルス幅およびレベル測定の割込み処理を開始する。PWM信号のパルス幅は、PWM信号の立上りエッジおよび立下りエッジをそれぞれ測定した測定時点の差として測定される。PWM信号のレベルは、PWM信号の立上りエッジまたは立下りエッジの測定時点から所定の時間(割込み処理時間)経過した時点の、PWM信号のレベルとして測定される。   The interrupt processing for pulse width and level measurement by the signal measuring means (11) is as follows, for example. The signal measuring means (11) starts an interrupt process for measuring the pulse width and level by using the rising edge or falling edge of the PWM signal input to the engine speed setting processing device (10) as a trigger. The pulse width of the PWM signal is measured as a difference between measurement points at which the rising edge and the falling edge of the PWM signal are measured. The level of the PWM signal is measured as the level of the PWM signal when a predetermined time (interrupt processing time) elapses from the measurement time of the rising edge or falling edge of the PWM signal.

回転数演算手段(12)は、信号測定手段(11)によって測定されたPWM信号のレベルが所定のレベル(例えばハイレベル)である場合、測定されたPWM信号のパルス幅に応じてエンジンの回転数を演算する。回転数演算手段(12)は、例えばハイレベルのPWM信号のパルス幅に応じて(具体的には、PWM信号の周期に対するハイレベルであるパルス幅の割合(PWM信号のデューティー比)に応じて)、エンジンの回転数を演算する。例えば、回転数演算手段(12)は、ハイレベルであるパルス幅の割合0%〜100%に応じてエンジンの回転数0rpm〜3000rpmを演算する。演算された回転数は、バッファ等の記憶手段(図示せず)に書き込まれ、必要に応じて、回転数設定手段(14)に読み出される。なお、回転数演算手段(12)は、PWM信号のレベルがハイレベルではなくロウレベルである場合に、ロウレベルであるPWM信号のパルス幅に応じて回転数を演算してもよい。   When the level of the PWM signal measured by the signal measurement unit (11) is a predetermined level (for example, high level), the rotation speed calculation unit (12) rotates the engine according to the pulse width of the measured PWM signal. Calculate the number. The rotation speed calculation means (12), for example, according to the pulse width of the high-level PWM signal (specifically, according to the ratio of the pulse width at the high level to the cycle of the PWM signal (duty ratio of the PWM signal)). ) Calculate the engine speed. For example, the rotation speed calculation means (12) calculates the rotation speed of the engine from 0 rpm to 3000 rpm in accordance with a high-level pulse width ratio of 0% to 100%. The calculated rotational speed is written in storage means (not shown) such as a buffer, and is read out by the rotational speed setting means (14) as necessary. The rotation speed calculation means (12) may calculate the rotation speed according to the pulse width of the PWM signal at the low level when the level of the PWM signal is not at the high level but at the low level.

パルス幅判定手段(13)は、信号測定手段(11)によって測定された時間軸上に連続する二つのPWM信号のパルス幅の和を演算し、その後、演算されたパルス幅の和とPWM信号の周期とが異なるか否かを判定する。
パルス幅判定手段(13)の判定結果により、連続する二つのPWM信号は、以下の(a)および(b)の場合に分けられる。
(a)パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期に等しいと判定される場合。
(b)パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号それぞれのパルス幅の和がPWM信号の周期と異なると判定される場合。
以下の理由から、(a)はPWM信号にノイズの影響がない場合であり、(b)はPWM信号にノイズの影響がある場合とみなされる。
The pulse width determination means (13) calculates the sum of the pulse widths of two PWM signals continuous on the time axis measured by the signal measurement means (11), and then calculates the sum of the calculated pulse widths and the PWM signal. It is determined whether or not the period is different.
According to the determination result of the pulse width determination means (13), two continuous PWM signals are divided into the following cases (a) and (b).
(A) When the pulse width determination means (13) determines that the sum of the pulse widths of two PWM signals continuous on the time axis is equal to the period of the PWM signal.
(B) When it is determined by the pulse width determination means (13) that the sum of the pulse widths of two PWM signals continuous on the time axis is different from the period of the PWM signal.
For the following reasons, (a) is a case where the PWM signal is not affected by noise, and (b) is a case where the PWM signal is affected by noise.

ハイレベルであるPWM信号およびロウレベルであるPWM信号は、PWM信号の周期に対するハイレベルであるパルス幅の割合が0%および100%である場合を除くと、PWM信号の周期の間に、それぞれ一回生成されている。このため、ハイレベルであるPWM信号のパルス幅と、このPWM信号に時間軸上に連続するロウレベルであるPWM信号のパルス幅との和は、PWM信号の周期に等しい((a)の場合)。従って、エンジン回転数設定処理装置(10)に入力されたPWM信号がパルス幅判定手段(13)によって(a)の場合であると判定されることは、PWM信号にノイズの影響がないことを示す。一方、これらPWM信号がパルス幅判定手段(13)によって(b)の場合であると判定されることは、PWM信号にノイズの影響があることを示す。例えば、図5に示されるように、ノイズに影響されていない二つのPWM信号S1およびS2は(a)の場合であり、一方のPWM信号のパルス幅がノイズによって短くなった二つのPWM信号S3およびS4と、ノイズがPWM信号として測定されたノイズSnoiseおよびPWM信号S5とは(b)の場合である。 The PWM signal at the high level and the PWM signal at the low level are each one during the period of the PWM signal, except when the ratio of the pulse width at the high level to the period of the PWM signal is 0% and 100%. Has been generated times. For this reason, the sum of the pulse width of the PWM signal at the high level and the pulse width of the PWM signal at the low level that continues to the PWM signal on the time axis is equal to the period of the PWM signal (in the case of (a)). . Therefore, the fact that the PWM signal input to the engine speed setting processing device (10) is determined to be the case (a) by the pulse width determination means (13) means that the PWM signal is not affected by noise. Show. On the other hand, when these PWM signals are determined by the pulse width determination means (13) to be in the case (b), this indicates that the PWM signal has an influence of noise. For example, as shown in FIG. 5, two PWM signals S1 and S2 that are not affected by noise are in the case of (a), and two PWM signals S3 in which the pulse width of one PWM signal is shortened by noise. And S4, and noise S noise and PWM signal S5 in which noise is measured as a PWM signal are in the case of (b).

回転数設定手段(14)は、(a)および(b)の場合、以下のようにエンジンの指令回転数を設定する。なお、PWM信号の周期に対するハイレベルであるパルス幅の割合が0%および100%であるPWM信号は、パルス幅判定手段(13)によって判定されない。これらのPWM信号に対しては、それぞれ所定の回転数が予め設定されている。このため、これらのPWM信号が信号測定手段(11)によって測定されると、パルス幅判定手段(13)による処理を経ることなく、回転数設定手段(14)が所定の回転数をエンジンの指令回転数として設定する。   In the case of (a) and (b), the rotation speed setting means (14) sets the command rotation speed of the engine as follows. Note that a PWM signal having a high-level pulse width ratio of 0% and 100% with respect to the period of the PWM signal is not determined by the pulse width determination means (13). A predetermined number of rotations is preset for each of these PWM signals. Therefore, when these PWM signals are measured by the signal measuring means (11), the rotation speed setting means (14) sets the predetermined rotation speed to the engine command without passing through the processing by the pulse width determination means (13). Set as number of revolutions.

(a)の場合には、回転数設定手段(14)は、所定のレベルであるPWM信号に基いて回転数演算手段(12)によって演算された回転数をエンジン指令回転数として設定する。
(b)の場合には、回転数設定手段(14)は、既にエンジン指令回転数として設定されている回転数を、エンジン指令回転数として保持する。
設定されたエンジンの指令回転数は、例えば電子ガバナ等を有するエンジン回転数調整手段(図示せず)に入力され、このエンジン回転数調整手段により、エンジンの回転数がエンジンの指令回転数に調整される。
In the case of (a), the rotation speed setting means (14) sets the rotation speed calculated by the rotation speed calculation means (12) based on the PWM signal at a predetermined level as the engine command rotation speed.
In the case of (b), the rotation speed setting means (14) holds the rotation speed already set as the engine command rotation speed as the engine command rotation speed.
The set engine speed is input to an engine speed adjusting means (not shown) having an electronic governor, for example, and the engine speed is adjusted to the engine speed by the engine speed adjusting means. Is done.

図2は、図1のエンジン回転数設定処理装置(10)による信号処理の一例を示すフローチャート図である。
図2に示すように、ステップ(21)において、エンジン回転数設定処理装置(10)に第N番目に入力された第NのPWM信号のパルス幅tおよびレベルが信号測定手段(11)によって測定される(但し、Nは入力された順番を示す自然数である)。次いで、ステップ(22)において、エンジン回転数設定処理装置(10)に第N+1番目に入力された第N+1のPWM信号のパルス幅tN+1およびレベルが信号測定手段(11)によって測定される。なお、図2には示されていないが、PWM信号の周期に対するハイレベルであるパルス幅の割合が0%および100%であるPWM信号が信号測定手段(11)によって測定されると、パルス幅判定手段(13)による処理を経ることなく、回転数設定手段(14)が所定の回転数をエンジンの指令回転数として設定する。
FIG. 2 is a flowchart showing an example of signal processing by the engine speed setting processing device (10) of FIG.
As shown in FIG. 2, in step (21), by a pulse width t N and level signal measurement means PWM signal of the N input to the N-th to the engine rotational speed setting processing unit (10) (11) Measured (where N is a natural number indicating the input order). Next, in step (22), the pulse width tN + 1 and the level of the (N + 1) th PWM signal inputted to the engine speed setting processing device (10) are measured by the signal measuring means (11). Although not shown in FIG. 2, when a PWM signal whose pulse width ratio of the high level to the period of the PWM signal is 0% and 100% is measured by the signal measuring means (11), the pulse width The rotational speed setting means (14) sets the predetermined rotational speed as the engine rotational speed without passing through the processing by the determining means (13).

ステップ(23)において、パルス幅判定手段(13)により、測定されたパルス幅tとtN+1との和tが演算され、演算されたパルス幅の和がPWM信号の周期Tに等しいか否かが判定される。パルス幅の和tがPWM信号の周期Tに等しいと判定される場合(「はい」の場合)には、ステップ(24)の処理に進む。パルス幅の和がPWM信号の周期Tに等しくないと判定される場合(「いいえ」の場合であり、上述の(b)の場合)には、ステップ(25)に進む。
ステップ(24)において、回転数演算手段(12)により、第NのPWM信号または第N+1のPWM信号の内の、ハイレベルであるPWM信号のパルス幅に応じて回転数が演算される。演算された回転数は、回転数設定手段(14)により、エンジンの指令回転数として設定される。回転数は、ステップ(23)の判定後ではなく、ステップ(21)やステップ(22)においてハイレベルであるPWM信号が測定される毎に演算されてもよい。
ステップ(25)において、回転数設定手段(14)によって既にエンジンの指令回転数として設定された回転数(例えば前回演算された回転数)を、エンジンの指令回転数として保持する。
In step (23), by the pulse width determination means (13), measured pulse width t N and t N + 1 the sum of the t is calculated, or the sum of the computed pulse width is equal to the period T of the PWM signal not Is determined. When it is determined that the sum t of pulse widths is equal to the period T of the PWM signal (in the case of “Yes”), the processing proceeds to step (24). When it is determined that the sum of the pulse widths is not equal to the period T of the PWM signal (in the case of “No”, the case of (b) described above), the process proceeds to step (25).
In step (24), the rotation speed calculation means (12) calculates the rotation speed according to the pulse width of the high-level PWM signal of the Nth PWM signal or the N + 1th PWM signal. The calculated rotational speed is set as an engine rotational speed command by the rotational speed setting means (14). The rotation speed may be calculated every time the high-level PWM signal is measured in step (21) or step (22), not after the determination in step (23).
In step (25), the engine speed (for example, the previously calculated engine speed) that has already been set as the engine engine speed by the engine speed setting means (14) is held as the engine engine speed.

ステップ(24)またはステップ(25)において設定されたエンジンの指令回転数は、例えば電子ガバナ等を有するエンジン回転数調整手段に入力され、このエンジン回転数調整手段により、エンジンの回転数がエンジンの指令回転数に調整される。   The command rotational speed of the engine set in step (24) or step (25) is input to an engine rotational speed adjusting means having an electronic governor, for example, and the engine rotational speed adjusting means allows the engine rotational speed to be changed. It is adjusted to the command speed.

図3は、本発明の第2実施形態の、エンジン指令回転数を設定するエンジン回転数設定処理装置を示すブロック図である。図3では、第1実施形態のエンジン回転数設定処理装置の構成要素と同一の構成要素には同一の参照符号が用いられている。第2実施形態のエンジン回転数設定処理装置の構成は、レベル判定手段を備えるという点を除くと、第1実施形態のエンジン回転数設定処理装置の構成と同様である(図1参照)。従って、以下の第2実施形態のエンジン回転数設定処理装置(30)の説明では、第1実施形態と同様の点については説明を省略する。   FIG. 3 is a block diagram showing an engine speed setting processing device for setting the engine command speed according to the second embodiment of the present invention. In FIG. 3, the same reference numerals are used for the same components as those of the engine speed setting processing device of the first embodiment. The configuration of the engine speed setting processing device of the second embodiment is the same as the configuration of the engine speed setting processing device of the first embodiment except that a level determination unit is provided (see FIG. 1). Therefore, in the following description of the engine speed setting processing device (30) of the second embodiment, the description of the same points as in the first embodiment will be omitted.

レベル判定手段(31)は、パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のレベルが異なるか否かを判定する。従って、パルス幅判定手段(13)およびレベル判定手段(31)の判定結果により、連続する二つのPWM信号は、次の(c)、(d)および(e)の場合に分けられる。
(c)パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期に等しいと判定され、レベル判定手段(31)により、連続するこれら二つのPWM信号のレベルが異なっていると判定される場合。
(d)パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期と異なっていると判定される場合。
(e)レベル判定手段(31)により、連続するこれら二つのPWM信号のレベルが同一であると判定される場合。
The level determination means (31) determines whether or not the levels of two PWM signals consecutive on the time axis are different by the pulse width determination means (13). Therefore, two consecutive PWM signals are divided into the following cases (c), (d), and (e) according to the determination results of the pulse width determination means (13) and the level determination means (31).
(C) The pulse width determination means (13) determines that the sum of the pulse widths of two PWM signals continuous on the time axis is equal to the period of the PWM signal, and the level determination means (31) determines these two continuous When it is determined that the levels of the two PWM signals are different.
(D) The case where it is determined by the pulse width determination means (13) that the sum of the pulse widths of two PWM signals continuous on the time axis is different from the period of the PWM signal.
(E) A case where the level determination means (31) determines that the levels of these two consecutive PWM signals are the same.

(c)の場合、これら二つのPWM信号が正常であるとみなし、回転数設定手段(14)により、回転数演算手段(12)によって演算された回転数がエンジンの指令回転数として設定される。(d)の場合は第1実施形態の(b)の場合と同様である。
(e)の場合、これら二つのPWM信号にノイズ等の影響があるとみなす。PWM信号の一周期内に生成される二つのPWM信号のレベルはそれぞれハイレベルおよびロウレベルであるように生成されることから、本来、二つのPWM信号のレベルが一周期内にて同じであると判定されることはない。従って、測定された二つのPWM信号のレベルが同じであると判定される場合には、これら二つのPWM信号にノイズ等の影響があるとみなされる。この(e)の場合には、回転数設定手段(14)によって既に設定された回転数をエンジンの指令回転数として保持することにより、エンジンへのノイズ等の影響を防止できる。エンジンの指令回転数は、例えば電子ガバナ等を有するエンジン回転数調整手段に入力され、このエンジン回転数調整手段により、エンジンの回転数がエンジンの指令回転数に調整される。
In the case of (c), it is considered that these two PWM signals are normal, and the rotation speed calculated by the rotation speed calculation means (12) is set as the command rotation speed of the engine by the rotation speed setting means (14). . The case (d) is the same as the case (b) of the first embodiment.
In the case of (e), it is considered that these two PWM signals are affected by noise or the like. Since the levels of the two PWM signals generated in one cycle of the PWM signal are generated to be a high level and a low level, respectively, the levels of the two PWM signals are essentially the same in one cycle. It will not be judged. Therefore, when it is determined that the two measured PWM signals have the same level, it is considered that these two PWM signals are affected by noise or the like. In the case of (e), the influence of noise or the like on the engine can be prevented by holding the rotational speed already set by the rotational speed setting means (14) as the engine rotational speed. The engine rotational speed is input to an engine rotational speed adjusting means having, for example, an electronic governor, and the engine rotational speed adjusting means adjusts the engine rotational speed to the engine rotational speed.

図4は、図3のエンジン回転数設定処理装置(30)による信号処理の一例を示すフローチャート図である。図4では、図2の処理ステップと同一の処理ステップには同一の参照符号が用いられている。図4に示される第2実施形態の信号処理は、時間軸上に連続する二つのPWM信号のレベルが異なっているか否かを判定する処理ステップが追加された点を除くと、図2に示される第1実施形態の信号処理と同様である。従って、以下の第2実施形態の信号処理に関する説明では、第1実施形態の信号処理と同様の点については説明を省略する。   FIG. 4 is a flowchart showing an example of signal processing by the engine speed setting processing device (30) of FIG. In FIG. 4, the same reference numerals are used for the same processing steps as those in FIG. The signal processing of the second embodiment shown in FIG. 4 is shown in FIG. 2 except that a processing step for determining whether the levels of two PWM signals consecutive on the time axis are different is added. This is the same as the signal processing of the first embodiment. Therefore, in the following description regarding the signal processing of the second embodiment, the description of the same points as the signal processing of the first embodiment will be omitted.

図4に示されるように、追加された処理ステップであるステップ(41)は、ステップ(23)にて、測定されたパルス幅tとtN+1との和tがPWM信号の周期Tに等しいと判定される場合(「はい」の場合)に、実行される。ステップ(41)において、レベル判定手段(31)により、第NのPWM信号のレベルと、第N+1のPWM信号のレベルとが異なると判定される場合(「はい」の場合であり、上記(c)の場合)には、ステップ(24)に進む。第NのPWM信号のレベルと、第N+1のPWM信号のレベルとが同一であると判定される場合(「いいえ」の場合であり、上記(e)の場合)には、ステップ(25)に進む。ステップ(24)またはステップ(25)において設定されたエンジンの指令回転数は、図2に示された第1実施形態の信号処理と同様に、エンジン回転数調整手段に入力され、このエンジン回転数調整手段により、エンジンの回転数がエンジンの指令回転数に調整される。なお、ステップ(23)とステップ(41)との順序は入れ替ってもよい。この場合、ステップ(41)において、第NのPWM信号のレベルと、第N+1のPWM信号のレベルとが異なると判定される場合(「はい」の場合)には、ステップ(23)に進む。 As shown in FIG. 4, in the step (41), which is an added processing step, the sum t of the pulse widths t N and t N + 1 measured in step (23) is equal to the period T of the PWM signal. Is executed (in the case of “yes”). In step (41), the level determination means (31) determines that the level of the Nth PWM signal is different from the level of the (N + 1) th PWM signal (in the case of “Yes”, the above (c) )), Go to step (24). When it is determined that the level of the Nth PWM signal and the level of the (N + 1) th PWM signal are the same (in the case of “No”, in the case of (e) above), step (25) is performed. move on. The command rotational speed of the engine set in step (24) or step (25) is input to the engine rotational speed adjusting means as in the signal processing of the first embodiment shown in FIG. The engine speed is adjusted to the engine command speed by the adjusting means. Note that the order of step (23) and step (41) may be interchanged. In this case, when it is determined in step (41) that the level of the Nth PWM signal is different from the level of the (N + 1) th PWM signal (in the case of “Yes”), the process proceeds to step (23).

上記の実施形態では、時間軸上に連続する二つのPWM信号毎に、パルス幅の和がPWM信号の周期に等しいか否かを判定している。しかし、本発明は、これに限定されず、時間軸上に連続する2N倍個のPWM信号毎に、パルス幅の和がPWM信号の周期をN倍した値に等しいか否かを判定してもよい(但しNは自然数である)。
また、上記の実施形態では、時間軸上に連続する二つのPWM信号毎に、PWM信号のレベルが異なるか否かを判定している。しかし、さらに、本発明では、これに限定されず、時間軸上に連続する2N倍個のPWM信号毎に、PWM信号のレベルが交互に異なるか否かを判定してもよい。
In the above embodiment, it is determined whether or not the sum of the pulse widths is equal to the period of the PWM signal for every two PWM signals continuous on the time axis. However, the present invention is not limited to this, and it is determined whether or not the sum of pulse widths is equal to a value obtained by multiplying the period of the PWM signal by N for every 2N times PWM signals continuous on the time axis. (N is a natural number).
In the embodiment described above, it is determined whether the level of the PWM signal is different for every two PWM signals that are continuous on the time axis. However, in the present invention, the present invention is not limited to this, and it may be determined whether or not the level of the PWM signal is alternately different for every 2N times PWM signals continuous on the time axis.

以上のように説明してきたエンジンの回転数設定処理装置は、本発明の一実施形態に過ぎず、本発明は、この実施形態に限定されることはなく、請求の範囲に基く技術的範囲内で適宜変更して実施することができる。   The engine speed setting processing device described above is only one embodiment of the present invention, and the present invention is not limited to this embodiment, and is within the technical scope based on the claims. And can be implemented with appropriate changes.

本発明の第1実施形態であるエンジン回転数設定処理装置を示すブロック図である。It is a block diagram which shows the engine speed setting processing apparatus which is 1st Embodiment of this invention. 図1のエンジン回転数設定処理装置による信号処理の一例を示すフローチャート図である。It is a flowchart figure which shows an example of the signal processing by the engine speed setting processing apparatus of FIG. 本発明の第2実施形態であるエンジン回転数設定処理装置を示すブロック図である。It is a block diagram which shows the engine speed setting processing apparatus which is 2nd Embodiment of this invention. 図3のエンジン回転数設定処理装置による信号処理の一例を示すフローチャート図である。It is a flowchart figure which shows an example of the signal processing by the engine speed setting processing apparatus of FIG. ノイズを含むPWM信号を示す図である。It is a figure which shows the PWM signal containing noise.

符号の説明Explanation of symbols

10…エンジン回転数設定処理装置
11…信号測定手段
12…回転数演算手段
13…パルス幅判定手段
14…回転数設定手段


DESCRIPTION OF SYMBOLS 10 ... Engine speed setting processing apparatus 11 ... Signal measurement means 12 ... Speed calculation means 13 ... Pulse width determination means 14 ... Speed setting means


Claims (2)

入力されたPWM信号のパルス幅およびレベルを測定する信号測定手段(11)と、所定のレベルであるPWM信号のパルス幅に応じて回転数を演算する回転数演算手段(12)と、演算された回転数をエンジン指令回転数として設定する回転数設定手段(14)とを具備するエンジン回転数設定処理装置であって、
時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期に等しいか否かを判定するパルス幅判定手段(13)を備え、
回転数設定手段(14)は、
パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期に等しいと判定される場合には、所定のレベルであるPWM信号のパルス幅に応じて回転数演算手段(12)によって演算された回転数をエンジン指令回転数として設定し、
パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期と異なると判定される場合には、既にエンジン指令回転数として設定されている回転数をエンジン指令回転数として保持するエンジン回転数設定処理装置。
The signal measurement means (11) for measuring the pulse width and level of the input PWM signal, and the rotation speed calculation means (12) for calculating the rotation speed according to the pulse width of the PWM signal having a predetermined level are calculated. An engine speed setting processing device comprising a speed setting means (14) for setting the set speed as an engine command speed,
Pulse width determination means (13) for determining whether or not the sum of the pulse widths of two PWM signals continuous on the time axis is equal to the period of the PWM signal,
The rotation speed setting means (14)
When the pulse width determining means (13) determines that the sum of the pulse widths of two PWM signals continuous on the time axis is equal to the period of the PWM signal, the pulse width of the PWM signal at a predetermined level is set. Accordingly, the rotation speed calculated by the rotation speed calculation means (12) is set as the engine command rotation speed,
If the pulse width determination means (13) determines that the sum of the pulse widths of two PWM signals continuous on the time axis is different from the cycle of the PWM signal, the rotation already set as the engine command rotational speed An engine speed setting processing device that holds the number as an engine command speed.
入力されたPWM信号のパルス幅およびレベルを測定する信号測定手段(11)と、所定のレベルであるPWM信号のパルス幅に応じて回転数を演算する回転数演算手段(12)と、演算された回転数をエンジン指令回転数として設定する回転数設定手段(14)とを具備するエンジン回転数設定処理装置であって、
時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期に等しいか否かを判定するパルス幅判定手段(13)と、
時間軸上に連続する二つのPWM信号のレベルが異なるか否かを判定するレベル判定手段(31)とを備え、
回転数設定手段(14)は、
パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期に等しいと判定され、かつレベル判定手段(31)により、時間軸上に連続する二つのPWM信号のレベルが異なると判定される場合には、所定のレベルであるPWM信号のパルス幅に応じて回転数演算手段(12)によって演算された回転数をエンジン指令回転数として設定し、
パルス幅判定手段(13)により、時間軸上に連続する二つのPWM信号のパルス幅の和がPWM信号の周期と異なると判定される場合には、既にエンジン指令回転数として設定されている回転数をエンジン指令回転数として保持し、
レベル判定手段(31)により、時間軸上に連続する二つのPWM信号のレベルが同一であると判定される場合には、既にエンジン指令回転数として設定されている回転数をエンジン指令回転数として保持するエンジン回転数設定処理装置。

The signal measurement means (11) for measuring the pulse width and level of the input PWM signal, and the rotation speed calculation means (12) for calculating the rotation speed according to the pulse width of the PWM signal having a predetermined level are calculated. An engine speed setting processing device comprising a speed setting means (14) for setting the set speed as an engine command speed,
Pulse width determination means (13) for determining whether or not the sum of the pulse widths of two PWM signals consecutive on the time axis is equal to the period of the PWM signal;
Level determination means (31) for determining whether or not the levels of two PWM signals consecutive on the time axis are different,
The rotation speed setting means (14)
The pulse width determination means (13) determines that the sum of the pulse widths of two PWM signals continuous on the time axis is equal to the period of the PWM signal, and the level determination means (31) continues on the time axis. When it is determined that the levels of the two PWM signals are different, the rotation speed calculated by the rotation speed calculation means (12) according to the pulse width of the PWM signal at a predetermined level is set as the engine command rotation speed. ,
If the pulse width determination means (13) determines that the sum of the pulse widths of two PWM signals continuous on the time axis is different from the cycle of the PWM signal, the rotation already set as the engine command rotational speed The number as the engine command speed,
When the level determination means (31) determines that the levels of two PWM signals continuous on the time axis are the same, the rotation speed already set as the engine command rotation speed is used as the engine command rotation speed. An engine speed setting processing device to be held.

JP2004194206A 2004-06-30 2004-06-30 Engine speed setting processing system Pending JP2006017009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004194206A JP2006017009A (en) 2004-06-30 2004-06-30 Engine speed setting processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004194206A JP2006017009A (en) 2004-06-30 2004-06-30 Engine speed setting processing system

Publications (1)

Publication Number Publication Date
JP2006017009A true JP2006017009A (en) 2006-01-19

Family

ID=35791526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004194206A Pending JP2006017009A (en) 2004-06-30 2004-06-30 Engine speed setting processing system

Country Status (1)

Country Link
JP (1) JP2006017009A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020025227A (en) * 2018-08-08 2020-02-13 富士電機株式会社 Receiving device, receiving method, receiving program, and manufacturing method
CN113057872A (en) * 2021-04-12 2021-07-02 四川千里倍益康医疗科技股份有限公司 Electric massager and method for judging contact state of electric massager and human body and noise reduction control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020025227A (en) * 2018-08-08 2020-02-13 富士電機株式会社 Receiving device, receiving method, receiving program, and manufacturing method
JP7205103B2 (en) 2018-08-08 2023-01-17 富士電機株式会社 Receiving device, receiving method, and receiving program
CN113057872A (en) * 2021-04-12 2021-07-02 四川千里倍益康医疗科技股份有限公司 Electric massager and method for judging contact state of electric massager and human body and noise reduction control method
CN113057872B (en) * 2021-04-12 2022-07-08 四川千里倍益康医疗科技股份有限公司 Electric massager and method for judging contact state of electric massager and human body and noise reduction control method

Similar Documents

Publication Publication Date Title
JP2007121216A (en) Rotation state detector
US8786558B2 (en) Control apparatus and control method for controlling panel module including touch panel and display panel by referring to level transition of at least one driving signal
US9998042B2 (en) Torque disturbance cancellation for a motor
JP2006017009A (en) Engine speed setting processing system
JP2005180924A (en) Gear damage detector and gear damage detection method
JP6300371B2 (en) Motor drive control device and motor drive control method
JP2006017008A (en) Engine speed setting processing system
JP2006280140A (en) Inverter simulator and motor simulator
JP6000652B2 (en) Pulse motor control device and pulse signal generation method
JP4998789B2 (en) Speed detection device
JP2005333792A (en) Pulse generation method and pulse generating apparatus and motor control system utilizing the same
JP2007060750A (en) Motor controller
JP2014202675A (en) Rotation speed detection apparatus and rotation speed detection method
JP7244379B2 (en) Motor selection device and motor selection method
JP2007020267A (en) System identification apparatus
KR101908136B1 (en) Motor driving control circuit
JP2009254024A (en) Pulse motor drive unit, drive method, and pulse motor
JP3259352B2 (en) Motor speed correction calculation method
JP5378835B2 (en) Motor control device
JP2006211871A (en) Motor control device
JP3982766B2 (en) Stepping motor control device
JP2010019571A (en) Speed measuring device
JP2006166564A (en) Motor controller and image forming apparatus
JP5353579B2 (en) Motor rotation speed detection device
JP2022104369A (en) Waveform measuring instrument and data acquisition method