JPH01232146A - Control device for engine - Google Patents

Control device for engine

Info

Publication number
JPH01232146A
JPH01232146A JP5729088A JP5729088A JPH01232146A JP H01232146 A JPH01232146 A JP H01232146A JP 5729088 A JP5729088 A JP 5729088A JP 5729088 A JP5729088 A JP 5729088A JP H01232146 A JPH01232146 A JP H01232146A
Authority
JP
Japan
Prior art keywords
duty
duty pulse
output
signal
region
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
JP5729088A
Other languages
Japanese (ja)
Inventor
Nagahisa Fujita
永久 藤田
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.)
Mazda Motor Corp
Original Assignee
Mazda Motor 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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP5729088A priority Critical patent/JPH01232146A/en
Publication of JPH01232146A publication Critical patent/JPH01232146A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PURPOSE:To prevent a radio noise from increasing by deciding a duty pulse frequency for whether or not it is placed in a radio frequency region and changing the duty pulse frequency so as to be placed out of this region when the duty pulse frequency is placed in the radio frequency region. CONSTITUTION:A control amount determining means A determines a control amount of an output adjusting means F by an electric driving means E, and a duty pulse generating means B generates a duty pulse of duty ratio in accordance with the control amount and drives the output adjusting means F through the electric driving means E, controlling an operative condition of an engine. Here a region decision means D decides a duty pulse frequency for whether or not it is placed in a radio frequency region, when the duty pulse frequency is placed in the radio frequency region, the duty pulse changes its period so as to be placed out of this region by a period changing means C. On the contrary, when the duty pulse frequency is placed out of the radio frequency region, the duty pulse sets its period to a normal value. In this way, an increase of radio noise, particularly an AM band noise, can be effectively prevented.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、電気的なアクチュエータを介してスロットル
弁等出力調整手段の駆動制御を行うようにしたエンジン
のスロットル制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an engine throttle control device that controls the drive of output adjusting means such as a throttle valve through an electric actuator.

(従来技術) 車両等のエンジンにおいて、スロットル弁など出力調整
手段は、一般に、ワイヤを介して機械的にアクセルペダ
ルに連結されており、その場合、スロットル位置すなわ
ちスロットル弁開度やラック位置はアクセルペダルの踏
み込み量すなわちアクセル操作量によって一義的に決ま
ってくる。ところが、このようにアクセル操作量とスロ
ットル位置とが一義′的な関係つまりl対lの対応関係
にあるような制御では、例えば、加速時などとくに高出
力が必要なときにも単にアクセルの踏み込み量に対応し
た出力しか得られないといったことになるので、種々の
要求走行状態に的確に対応することが難しい。
(Prior Art) In the engine of a vehicle, an output adjustment means such as a throttle valve is generally mechanically connected to an accelerator pedal via a wire. It is uniquely determined by the amount of pedal depression, that is, the amount of accelerator operation. However, in this type of control where the accelerator operation amount and the throttle position have a unique relationship, that is, an l-to-l correspondence, for example, even when a particularly high output is required, such as during acceleration, the accelerator is simply depressed. Since only the output corresponding to the amount can be obtained, it is difficult to respond accurately to various required driving conditions.

そこで、アクセルペダルとスロットル弁等を電気的なア
クチュエータを介して連結し、それぞれの要求走行状態
に応じた特性でアクチュエータを作動させることによっ
て常に運転者の意志にかなったエンジン制御を実現しよ
うとしたものが従来からいろいろと提案されている。例
えば、特開昭60−198343号公報に記載された車
両用アクセル制御装置では、アクセル操作量とスロット
ル弁開度との間の関数特性を複数設定しておき、アクセ
ル操作速度に基づいて何れかの特性を選択し、この選択
された関数特性に沿って目標となるスロットル弁開度を
決定するようにしている。
Therefore, we attempted to achieve engine control that always meets the driver's wishes by connecting the accelerator pedal and throttle valve via an electric actuator, and operating the actuator with characteristics that correspond to each required driving state. Various things have been proposed in the past. For example, in the vehicle accelerator control device described in Japanese Patent Application Laid-Open No. 60-198343, a plurality of functional characteristics between the accelerator operation amount and the throttle valve opening are set, and one of them is set based on the accelerator operation speed. The target throttle valve opening degree is determined in accordance with the selected function characteristics.

ところで、このような電気的なスロットル弁制御装置で
は、デユーティパルスによって直流モータを駆動し、そ
れによってスロットル弁を開閉する方式が一般的であっ
て、この場合、デユーティパルスの周波数は、例えば、
約15KHzに設定される。ところが、従来、このよう
なデユーティ制御を行ったものにおいては、時に、ラジ
オノイズ特にAMバンドノイズが増大するという問題が
生じていた。このラジオノイズは、例えば、デユーティ
信号の周波数が約15KHzであった場合に、デユーテ
ィ比が例えば5%とか10%とかいう小さな値になった
ときに、デユーティ信号のオンの部分のパルス幅がAM
周波数域に入ってしまい、また、デユーティ比が90%
とか95%とかになったときに、今度はデユーティ信号
のオフの部分の長さ(パルス幅)がAM周波数域に入っ
てしまうことによって生じている。このようなラジオノ
イズの増大を避ける手段としては、デユーティ信号の周
波数をもっと低く設定するか、あるいは逆にもっと高く
設定することによって、頻度の高いパルス幅を全体的に
大きく、あるいは小さくすることが当然考えられるが、
デユーティ信号の周波数をあまり低く設定すると、制御
の応答性が悪くなったり、モータ駆動電流にどうしても
ハンチングが起きてしまうことになるし、また、デユー
ティ信号の周波数を高く設定した場合は、今度はデユー
ティパルスの周波数そのものがAM周波数域に近くなっ
てしまうということになって、いずれも有効な手段とは
なり得ない。
By the way, such an electric throttle valve control device generally uses a duty pulse to drive a DC motor to open and close the throttle valve. In this case, the frequency of the duty pulse is, for example, ,
The frequency is set to approximately 15KHz. However, in conventional devices that perform such duty control, a problem sometimes arises in that radio noise, especially AM band noise, increases. This radio noise is caused by, for example, when the frequency of the duty signal is about 15 KHz and the duty ratio becomes a small value such as 5% or 10%, the pulse width of the ON part of the duty signal becomes AM
It falls into the frequency range, and the duty ratio is 90%.
This is caused by the length (pulse width) of the OFF portion of the duty signal entering the AM frequency range when it reaches 95%. As a means to avoid such an increase in radio noise, it is possible to set the frequency of the duty signal lower or, conversely, to increase or decrease the frequency of the frequently occurring pulses. Of course it is possible, but
If the frequency of the duty signal is set too low, control responsiveness will deteriorate and hunting will inevitably occur in the motor drive current, and if the frequency of the duty signal is set too high, the Since the frequency of the utility pulse itself becomes close to the AM frequency range, neither method can be effective.

(発明の目的) 本発明は上記問題点に鑑みてなされたものであって、エ
ンジンの出力調整手段を駆動制御するためのデユーティ
パルスによってラジオノイズが増大するのを防止するこ
とを目的としている。
(Object of the Invention) The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to prevent radio noise from increasing due to a duty pulse for controlling the drive of an engine output adjustment means. .

(発明の構成) 本発明は、特定領域でのみデユーティ信号の周期を変更
することによって、制御の応答性および安定性を全体的
に確保しながらラジオノイズを抑制することを可能とし
たものであって、その全体構成は第1図に示すとおりで
ある。すなわち、本発明に係るエンジンの制御装置は、
エンジンの出力を調整する出力調整手段と、該出力調整
手段の制御量を決定する制御量決定手段と、該制御量決
定手段の出力に応じたデユーティ比のデユーティパルス
を発生するデユーティパルス発生手段と、前記デユーテ
ィパルスによる制御によって前記出力調整手段を駆動す
る電気的駆動手段と、前記デユーティパルスの周波数が
ラジオ周波数領域に入っているかどうかを判定する領域
判定手段と、該領域判定手段の出力信号に基づき、前記
デユーティパルス発生手段によって発生されるデユーテ
ィパルスか前記領域外となるよう該デユーティパルスの
周期を変更する周期変更手段とを備えたことを特徴とし
ている。
(Structure of the Invention) The present invention makes it possible to suppress radio noise while ensuring overall control responsiveness and stability by changing the cycle of the duty signal only in a specific area. The overall configuration is as shown in FIG. That is, the engine control device according to the present invention includes:
output adjustment means for adjusting the output of the engine; control amount determining means for determining the control amount of the output adjustment means; and duty pulse generation for generating a duty pulse having a duty ratio according to the output of the control amount determination means. means, electrical driving means for driving the output adjusting means under control by the duty pulse, region determining means for determining whether the frequency of the duty pulse falls within a radio frequency region, and the region determining means The present invention is characterized by comprising a period changing means for changing the period of the duty pulse so that the duty pulse generated by the duty pulse generating means falls outside the range based on the output signal of the duty pulse generating means.

(作用) 制御量決定手段は、電気的駆動手段による出力調整手段
の制御量を決定し、デユーティパルス発生手段は、この
制御量に応じたデユーティ比のデユーティパルスを発生
して電気的駆動手段へ出力する。
(Function) The controlled amount determining means determines the controlled amount of the output adjusting means by the electrical driving means, and the duty pulse generating means generates a duty pulse with a duty ratio corresponding to this controlled amount to generate the electrical drive. Output to means.

領域判定手段は、デユーティパルス周波数がラジオ周波
数領域に入っているかどうかを判定する。
The region determining means determines whether the duty pulse frequency is within the radio frequency region.

そして、デユーティパルス周波数がラジオ周波数領域に
入っているときは、この領域の外に出るよう周期変更手
段によってデユーティパルスの周期が変更される。デユ
ーティパルス周波数がラジオ周波数領域外であれば、デ
ユーティパルスの周期は通常の値に設定される。
When the duty pulse frequency is within the radio frequency range, the cycle changing means changes the cycle of the duty pulse so that it goes outside this range. If the duty pulse frequency is outside the radio frequency range, the duty pulse period is set to a normal value.

第2図は、デユーティパルスの周波数を固定した場合の
デユーティ比とAMバンド周波数成分との関係を模式的
に示している。この図のように、周波数を固定した場合
には、デユーティ比が基準範囲にあるときはほとんどA
Mバンド周波数成分を含まないが、デユーティ比が0%
あるいは逆に100%に近づくと急激にAMバンド周波
数成分が増大してラジオノイズが発生しやすい状態とな
る。つまり、デユーティ比が小さくなるとデユーティパ
ルスのパルス幅がAMバンド周波数に近づき、逆に、デ
ユーティ比が大きくなるとデユーティパルスのオフの部
分の幅がAMバンド周波数に近づいていくために、この
ような領域においてラジオノイズが増大′する。そして
、このようなラジオノイズが増大するデユーティ比領域
は、デユーティパルスの周期によって変わってくる。つ
まり、周期が変わることによって同じデユーティ比に対
するパルス幅が変わってくるために、デユーティ比とA
Mバンド周波数との関係が変わってくる。したがって、
通常の周期であればラジオノイズを発生しやすい領域の
デユーティ比であっても、デユーティパルスの周期を変
えることにより、この領域外のデユーティパルスとする
ことができる。
FIG. 2 schematically shows the relationship between the duty ratio and the AM band frequency component when the frequency of the duty pulse is fixed. As shown in this figure, when the frequency is fixed, when the duty ratio is within the reference range, almost all A
Does not include M-band frequency components, but duty ratio is 0%
Conversely, when it approaches 100%, the AM band frequency component increases rapidly, making it easy for radio noise to occur. In other words, as the duty ratio decreases, the pulse width of the duty pulse approaches the AM band frequency, and conversely, as the duty ratio increases, the width of the off portion of the duty pulse approaches the AM band frequency. Radio noise will increase in certain areas. The duty ratio region in which such radio noise increases varies depending on the cycle of the duty pulse. In other words, since the pulse width for the same duty ratio changes as the period changes, the duty ratio and A
The relationship with the M band frequency will change. therefore,
Even if the duty ratio is in a range where radio noise is likely to occur if the cycle is normal, by changing the cycle of the duty pulse, it is possible to set the duty pulse to be outside this range.

(実施例) 以下、本発明の実施例を図面に基づいて説明する。(Example) Embodiments of the present invention will be described below based on the drawings.

第3図はスロットル弁の制御に適用した本発明の一実施
例に係るサーボ系の全体図である。
FIG. 3 is an overall diagram of a servo system according to an embodiment of the present invention applied to control of a throttle valve.

この実施例において、スロットル弁lはワイヤ2(スロ
ットルケーブル)を介してモータ3(スロットルアクチ
ュエータ)に連結され、該モータ3の正逆回転によって
開閉駆動される。
In this embodiment, the throttle valve l is connected to a motor 3 (throttle actuator) via a wire 2 (throttle cable), and is driven to open and close by rotating the motor 3 in forward and reverse directions.

モータ3の制御系は、スロットルコントローラ4、サー
ボコントローラ5および駆動回路6から構成されている
。
The control system for the motor 3 includes a throttle controller 4, a servo controller 5, and a drive circuit 6.

スロットルコントローラ4は、アクセルペダル7の踏み
込み量を検出するアクセルセンサ8の出力信号、エンジ
ン回転数、車速、勾配、舵角、水温といった信号に基づ
いてスロットル開度の目標値を算出し、また、異常信号
を判定して、スロットル弁の目標開度信号およびモータ
カット信号の2信号をサーボコントローラ5へ出力する
。
The throttle controller 4 calculates a target value for the throttle opening based on signals such as the output signal of the accelerator sensor 8 that detects the amount of depression of the accelerator pedal 7, the engine speed, the vehicle speed, the slope, the steering angle, and the water temperature. An abnormal signal is determined and two signals, a throttle valve target opening signal and a motor cut signal, are output to the servo controller 5.

サーボコントローラ5は、マイクロプロセッサ(CPU
)9を備えており、CPU9の周辺にはAD変換器10
.ROMI 1およびRAM12が付設されている。C
PU9にはまた、CPU内部値(デユーティ)をパルス
変換(PWM)するためのカウンタ13が付設されてい
る。カウンタ13の基準クロックは、外付けの水晶発信
器14の信号をフリップフロップ15にて分周したもの
であり、周波数は約4MHzである。カウンタ13の基
本周波数は、4MHzのクロックのI/256(デユー
ティは8ビツト)で約15KHzである。サーボコント
ローラ5はまた、後述の三つの信号を入力とする論理回
路16を備えており、この論理回路16の四つの出力に
よって駆動回路6を制御するよう構成されている。
The servo controller 5 is a microprocessor (CPU).
) 9, and an AD converter 10 is installed around the CPU 9.
.. ROMI 1 and RAM 12 are attached. C
The PU 9 is also provided with a counter 13 for performing pulse conversion (PWM) on the CPU internal value (duty). The reference clock of the counter 13 is a signal from an external crystal oscillator 14 divided by a flip-flop 15, and has a frequency of about 4 MHz. The basic frequency of the counter 13 is approximately 15 KHz based on I/256 (duty is 8 bits) with a 4 MHz clock. The servo controller 5 also includes a logic circuit 16 that receives three signals (to be described later) as input, and is configured to control the drive circuit 6 using four outputs of the logic circuit 16.

駆動回路6は、モータ3が正逆転可能なように、H形配
列の四つのトランジスタT、1.T、2.T、3.Tr
4によって構成されている。モータ3は、第1のトラン
ジスタT、l (PNP)と第4のトランジスタT、4
(NPN’)が共に導通したとき正方向つまりスロット
ル弁1開方向に回転し、第2のトランジスタTr2 (
NPN)と第3のトランジスタ(PNP)が共に導通し
たとき逆方向つまりスロットル弁!閉方向に回転する。
The drive circuit 6 includes four transistors T, 1 . T, 2. T, 3. Tr
It is composed of 4. The motor 3 consists of a first transistor T,l (PNP) and a fourth transistor T,4
(NPN') are both electrically conductive, the second transistor Tr2 (
NPN) and the third transistor (PNP) both conduct in the reverse direction, that is, the throttle valve! Rotate in the closing direction.

モータ3には、アクチュエータ位置を検出するための位
置センサ17が付設されている。
A position sensor 17 is attached to the motor 3 to detect the actuator position.

スロットルコントローラ4が出力するスロットル弁lの
目標開度信号は、アナログであって、これはAD変換器
10によってデジタルに変換されCPU9に送られる。
The target opening signal of the throttle valve l outputted by the throttle controller 4 is analog, and is converted into a digital signal by the AD converter 10 and sent to the CPU 9.

同じように、アクチュエー □夕位置によってスロット
ル弁開度を検出する位置センサ17の出力もまたAD変
換されてCPU9人力される。CPU9は、位置センサ
17の出力値(スロットル弁開度)を目標開度と比較し
、比例、積分、微分の三つの項からなる制御(P、I 
。
Similarly, the output of the position sensor 17, which detects the throttle valve opening based on the actuator position, is also AD converted and input to the CPU 9. The CPU 9 compares the output value (throttle valve opening) of the position sensor 17 with the target opening, and performs control (P, I) consisting of three terms: proportional, integral, and differential.
.

D制御)によってモータ3に流すべき電流値と電流方向
を計算する。そして、計算された電流値は8ビツトのデ
ユーティ値とされ、カウンタ13によってしくルス変換
されて出力される。論理回路16には、このパルス変換
されたデユーティ信号と、計算された上記電流方向に対
応する電流方向信号と、それに、スロットルコントロー
ラ4からのモータカット信号に対応してCPUが出力す
る電流カット信号の三つの信号が入力される。
D control) calculates the current value and current direction to be passed through the motor 3. The calculated current value is then converted into an 8-bit duty value, which is correctly converted by the counter 13 and output. The logic circuit 16 contains this pulse-converted duty signal, a current direction signal corresponding to the calculated current direction, and a current cut signal outputted by the CPU in response to the motor cut signal from the throttle controller 4. Three signals are input.

論理回路16は、七つの論理素子によって構成されてお
り、その四つの出力端子に駆動回路6を構成する四つ−
のトランジスタTr1.T、2.T。
The logic circuit 16 is composed of seven logic elements, and the four output terminals of the logic circuit 16 are connected to the four logic elements that constitute the drive circuit 6.
The transistor Tr1. T, 2. T.

3、T、4のベースがそれぞれ接続されている。The bases of 3, T, and 4 are connected to each other.

第1のトランジスタT、1は、デユーティ信号と電流方
向信号の二つを入力とするアンド回路の出力をイクスク
ルーシブオア回路で反転させるようにした論理回路によ
って制御される。つまり、デユーティ信号と電流方向信
号が共にハイレベル(1)のときこのトランジスタT、
lはベースがロウレベルとなって導通する。また、第4
のトランジスタTr4は、電流方向信号と電流カット信
号の二つを入力とするアンド回路の出力によって制御さ
れ、これら両信号が共にハイレベル(1)のとき、ベー
スがハイレベルとなって導通する。したがって、電流カ
ット信号がハイ(1)で電流方向信号がハイ(1)であ
る限り、第4のトランジスタTr4はオンしたままの状
態であり、専らデユーティ信号によってモータ3の開方
向への回転が制御されることになる。
The first transistor T,1 is controlled by a logic circuit in which an exclusive OR circuit inverts the output of an AND circuit which receives two inputs, a duty signal and a current direction signal. In other words, when both the duty signal and the current direction signal are at high level (1), this transistor T,
The base of l becomes low level and conducts. Also, the fourth
The transistor Tr4 is controlled by the output of an AND circuit that receives two inputs, a current direction signal and a current cut signal, and when both of these signals are at high level (1), the base becomes high level and conducts. Therefore, as long as the current cut signal is high (1) and the current direction signal is high (1), the fourth transistor Tr4 remains on, and the duty signal exclusively controls the rotation of the motor 3 in the opening direction. It will be controlled.

一方、第3のトランジスタT、3は、デユーティ信号を
一方の入力とし、電流方向信号をイクスクルーシブオア
回路で反転させた信号を他方の入力とするアンド回路の
出力を、イクスクルーシブオア回路で反転させるように
した論理回路によって制御される。つまり、デユーティ
信号がハイレベル(1)で、電流方向信号がロウレベル
(0)のときこのトランジスタT、3はベースがロウレ
ベルとなって導通する。また、第2のトランジスタT、
2は、上記電流方向信号の反転信号を一方の入力とし、
電流カット信号を他方の入力とするアンド回路の出力に
よって制御される。つまり、このトランジスタTr2は
、電流方向信号がロウレベル(0)で電流カット信号が
ハイレベル(1)のとき、ベースがハイレベルとなって
導通する。
On the other hand, the third transistor T,3 receives the output of an AND circuit which has one input as the duty signal and the other input as a signal obtained by inverting the current direction signal in the exclusive OR circuit. It is controlled by a logic circuit that inverts the signal at . That is, when the duty signal is at a high level (1) and the current direction signal is at a low level (0), the bases of the transistors T and 3 are at a low level and conductive. Moreover, the second transistor T,
2 uses the inverted signal of the current direction signal as one input,
It is controlled by the output of an AND circuit whose other input is the current cut signal. That is, when the current direction signal is at low level (0) and the current cut signal is at high level (1), the base of this transistor Tr2 becomes high level and conducts.

したがって、電流カット信号がハイ(1)で電流方向信
号がロウ(0)である限り、第2のトランジスタT、2
は導通したままであり、専らデユーティ信号によってモ
ータの閉方向への回転が制御される。また、電流カット
信号がロウレベル(0)の場合には、第4および第2の
トランジスタTr4、Tr2は非導通であり、モータ3
には電流は流れない。
Therefore, as long as the current cut signal is high (1) and the current direction signal is low (0), the second transistors T, 2
remains conductive, and the rotation of the motor in the closing direction is controlled exclusively by the duty signal. Further, when the current cut signal is at a low level (0), the fourth and second transistors Tr4 and Tr2 are non-conductive, and the motor 3
No current flows through.

表1 表!に、三つの信号(DUTY:デューティ信号、DI
R:電流方向信号、MCUT :電流カット信号)と各
トランジスタ(T、1.T、2.Tr3、T、4)の論
理を示す。
Table 1 Table! There are three signals (DUTY: duty signal, DI
R: current direction signal, MCUT: current cut signal) and the logic of each transistor (T, 1.T, 2.Tr3, T, 4) are shown.

この論理によれば、モータの開方向への回転に対しては
、第1と第4の二つのトランジスタT。
According to this logic, for the rotation of the motor in the opening direction, two transistors T, the first and the fourth.

1、T、4のうち第1のトランジスタT、1だけ、また
、モータの閉方向への回転に対しては、第3と第2−の
二つのトランジスタT、3.T、2のうち第3のトラン
ジスタT、3だけというふうに、いずれも一方だけの制
御となる。したがって、二つのトランジスタの非同期の
問題は生じず確実なデユーティ制御が行われる。そして
、第1および第4のトランジスタT、l、T、4と第3
および第2のトランジスタT、3.T、2は同時には導
通しないため、CPUが暴走して出力ボートの論理が補
償されない場合でもショートによって駆動回路6やモー
タ3が焼損するようなことにはならない。また、このよ
うな論理回路I6を介してモータ3の駆動制御を行うよ
うにしたため、CPUのソフトの負担は軽減される。
1, T, 4, only the first transistor T, 1, and for the rotation of the motor in the closing direction, two transistors, third and second -, T, 3. Only one of the transistors T, 2 is controlled, such as the third transistor T, 3. Therefore, the problem of asynchronization between the two transistors does not occur, and reliable duty control is performed. Then, the first and fourth transistors T, l, T, 4 and the third
and a second transistor T, 3. Since T and T2 are not conductive at the same time, even if the CPU goes out of control and the logic of the output port is not compensated, the drive circuit 6 and motor 3 will not be burnt out due to a short circuit. Further, since the drive control of the motor 3 is performed via such a logic circuit I6, the burden on the software of the CPU is reduced.

この実施例において、PWM用カウンタ13が出力する
デユーティパルスの基本周波数は約15K I−1zに
設定されている。つまり、カウンタ13では、前述のよ
うに4 M Hz基準クロックを256数えたときパル
スを1個出力するような制御を行っている。そこで、基
本周波数においてラジオノイズを発生しやすい領域であ
るかどうかをデユーティ比で見て、デユーティ比が前記
領域判定の基準となる例えば10%といった値より小さ
い°ときには、この基準値との比に応じて、周期を長く
するのであるが、この周期の変更は、前記256という
カウンタの値を変えることによって、例えば、この25
6を2倍の512にすれば、デユーティパルスの周期は
2倍になるというような格好で行われる。このようにし
てデユーティパルスの周期が変われば、ラジオノイズを
発生しやすいデユーティ比領域が変わるので、同じデユ
ーティ比であってもラジオノイズの発生が少なくなる。
In this embodiment, the fundamental frequency of the duty pulse output by the PWM counter 13 is set to approximately 15K I-1z. That is, the counter 13 is controlled to output one pulse when it counts 256 4 MHz reference clocks as described above. Therefore, the duty ratio is used to determine whether or not the fundamental frequency is a region where radio noise is likely to occur. Accordingly, the cycle is lengthened, but this cycle can be changed by changing the value of the counter 256, for example, 256.
If 6 is doubled to 512, the duty pulse period will be doubled. If the cycle of the duty pulse is changed in this way, the duty ratio region in which radio noise is likely to occur changes, so even if the duty ratio is the same, the generation of radio noise will be reduced.

第4図乃至第1θ図にはこの実施例の制御を実行するフ
ローチャートを示している。
FIG. 4 to FIG. 1θ show flowcharts for executing the control of this embodiment.

まず、第4図は、メインルーチンを示すものである。メ
インルーチンは五つのサブルーチンS・t−S・5から
成っている。
First, FIG. 4 shows the main routine. The main routine consists of five subroutines S.t.S.5.

スタートし、まず初期化を行う(S・1)。そして、位
置センサ17からの入力信号のサンプリングを行う(S
・2)。そして、それを元にP。
Start and initialize first (S.1). Then, the input signal from the position sensor 17 is sampled (S
・2). And based on that, P.

1、D制御によって電流値のフィードバック演算を行う
(S・3)。そして、PWM周期つまりデユーティの周
期を計算しその処理を行う(S・4)。
1. Feedback calculation of current value is performed by D control (S.3). Then, the PWM cycle, that is, the duty cycle is calculated and processed (S4).

そして最後に、モータカット信号を見てモータ電流をカ
ットするかどうかの制御を行う(S・5)。
Finally, the motor cut signal is checked to control whether or not to cut the motor current (S.5).

第1のサブルーチン5−1(第5図)では、スタートし
て、まず、各ポートについて入力にするか出力にするか
の設定を行う。つぎに、割込処理用のタイマーやPWM
用カウンタの初期化を行う。
The first subroutine 5-1 (FIG. 5) starts and first sets each port as input or output. Next, the timer and PWM for interrupt processing
Initialize the counter.

つぎに、演算に用いる各種レジスタの初期化を行い、リ
ターンする。
Next, various registers used in calculations are initialized, and the process returns.

つぎに、第6図に示す第2の、入力信号のサンプリング
のサブルーチンS・2を説明する。このサブルーチンで
は、スタートして、位置センサ17によるアクチュエー
タ位置信号のA/D変換を行い、データをTVOAとい
う値に格納する。つぎに、スロットル弁の目標開度信号
をA/D変換して、データをTVOTという値に格納す
る。これによって三つのアナログ信号がいずれもA/D
変換される。
Next, the second input signal sampling subroutine S.2 shown in FIG. 6 will be explained. This subroutine starts, performs A/D conversion of the actuator position signal by the position sensor 17, and stores the data as a value TVOA. Next, the throttle valve target opening signal is A/D converted and the data is stored as a value TVOT. This allows all three analog signals to be converted into A/D
converted.

つぎに、第3の、フィードバック演算のサブルーチンS
・3(第7図)では、スタートして、まず、位置センサ
17の出力値TVOAを読み込み、ついで、目標開度T
VOTの値を読み込む。
Next, the third feedback calculation subroutine S
・In 3 (Fig. 7), start, first read the output value TVOA of the position sensor 17, then set the target opening T
Read the VOT value.

そして、センサ出力値TVOAとTVOTの偏差ΔTV
Oを計算する。また、位置センサ17の今回のセンサ出
力値TVOAと前回のセンサ出力値TVOALを引き算
して、アクチュエータ位置の移動速度ΔSPDを計算す
る。さらに、前回の■値積算値ΣΔTVOに先程計算し
た偏差ΔTVOを加えてI値積算値ΣΔTVOを求める
。
Then, the deviation ΔTV between the sensor output value TVOA and TVOT
Calculate O. Furthermore, the current sensor output value TVOA of the position sensor 17 and the previous sensor output value TVOAL are subtracted to calculate the moving speed ΔSPD of the actuator position. Further, the previously calculated deviation ΔTVO is added to the previous ■ value integrated value ΣΔTVO to obtain the I value integrated value ΣΔTVO.

つぎに、計算した偏差ΔTVOに比例項のフィードバッ
ク定数KPを掛けた値に、I値積算値ΣΔTVOに積分
項のフィードバック定数Klを掛けた値を加え、これか
ら、先程計算した速度ΔSPDに微分項のフィードバッ
ク定数KDを掛けたものを引くことによって、モータ電
流値FBを求める。
Next, to the value obtained by multiplying the calculated deviation ΔTVO by the feedback constant KP of the proportional term, add the value obtained by multiplying the I value integrated value ΣΔTVO by the feedback constant Kl of the integral term, and from this, add the value obtained by multiplying the I value integrated value ΣΔTVO by the feedback constant Kl of the integral term, and from this, add the value obtained by multiplying the I value integrated value ΣΔTVO by the feedback constant Kl of the integral term, and from this, add the value obtained by multiplying the I value integrated value ΣΔTVO by the feedback constant Kl of the integral term. The motor current value FB is obtained by subtracting the product multiplied by the feedback constant KD.

つぎに、電流値FBが正であるかどうかによって、電流
方向の判定を行う。そして、割込処理のためのフラグ設
定ということで、まず、FBが正であった場合は、電流
方向フラグPDIRつまりモータ電流の方向を設定する
ボートの出力レベルのフラグFDIRを0(開方向)と
する。また、FBが正でないということであれば、FD
IRを1(閉方向)とする。
Next, the current direction is determined depending on whether the current value FB is positive. To set the flag for interrupt processing, first, if FB is positive, the current direction flag PDIR, that is, the boat output level flag FDIR that sets the direction of the motor current, is set to 0 (opening direction). shall be. Also, if FB is not positive, FD
Set IR to 1 (closed direction).

つぎに、デユーティ変換ということで、電流値FBの絶
対値を求め、それに電流−デユーティ変換係数K du
tyを掛けたものをデユーティ値とする。
Next, for duty conversion, the absolute value of the current value FB is determined, and the current-duty conversion coefficient K du
The duty value is obtained by multiplying by ty.

そして、最後に、微分項の演算に用いる前記センサ出力
値の前回値TVOALを今回のTV6Aに更新する。
Finally, the previous value TVOAL of the sensor output value used for calculating the differential term is updated to the current TV6A.

つぎに、第8図に示す第4のPWM周期計算・処理のサ
ブルーチンS・4では、スタートして、まず、デユーテ
ィの値DUTYを読み込む。そして、DUTYが判定値
Pwより小さいかどうかによって、ラジオノイズ発生域
かどうかの判定を行う。
Next, the fourth PWM cycle calculation/processing subroutine S-4 shown in FIG. 8 starts and first reads the duty value DUTY. Then, depending on whether the DUTY is smaller than the determination value Pw, it is determined whether the radio noise generation area exists.

D U T Y h<P wより小さくないということ
であれば、ノイズ発生域外ということで何もしないが、
DUTYがPwより小さいというときは、つぎに、PW
Mの周期TPWMの計算ということで、PWM周期の初
期値Tba。。Aこ係数Kcを掛けたものをPWMの周
期TPWMとする。係数Kcは、判定値PwをDUTY
で除した値である。
If it is not smaller than D U T Y h < P w, nothing will be done because it is outside the noise generation range, but
When DUTY is smaller than Pw, next, PW
To calculate the period TPWM of M, the initial value Tba of the PWM period. . The product obtained by multiplying A by the coefficient Kc is defined as the PWM period TPWM. The coefficient Kc is the judgment value Pw as DUTY.
This is the value divided by .

つぎに、PWMカウンタの設定ということで、PWMカ
ウンタのPWM周期レジスタへTPWMを書き込む。
Next, to set the PWM counter, TPWM is written into the PWM cycle register of the PWM counter.

第9図には、第5の、電流カットのサブルーチン3・5
を示している。このルーチンでは、スタートシ、まずス
ロットルコントローラ4からの電流カット入力を読み込
む。そして、電流カットかどうかを判定して、電流カッ
トであるというときはCPU9の電流カットボート(M
CUT)をロウ(電流カット)に落として絶対にトラン
ジスタが導通しないようにし、また、電流カットでない
というときは、電流カットポートをハイ(通電)にする
。
FIG. 9 shows the fifth current cut subroutine 3 and 5.
It shows. In this routine, the current cut input from the throttle controller 4 is first read. Then, it is determined whether or not the current is to be cut, and if it is determined that the current is to be cut, the CPU 9's current cut port (M
CUT) to low (current cut) to ensure that the transistor does not conduct, and when the current is not cut, set the current cut port to high (current conduction).

以上で、この実施例のメインルーチンが終わるが、これ
とは別に、第10図に示すタイマー割込処理のルーチン
がある。この割込処理は、一定時間(1〜2n+s)毎
に起動するものであって、起動すると、まず、割込処理
周期(T I NT)を読み込んで、つぎに、次回の割
込時刻の設定ということで、今回の時刻に周期TINT
を加えて、それを割込用レジスタへストアする。
This completes the main routine of this embodiment, but apart from this there is a timer interrupt processing routine shown in FIG. This interrupt processing is started at regular intervals (1 to 2n+s), and when started, it first reads the interrupt processing cycle (T I NT) and then sets the next interrupt time. So, at this time, the period TINT
and stores it in the interrupt register.

つぎに、PWMデユーティ(DUTY)の読み込みとい
うことで、メインルーチンのS・3で求めたDUTYと
いう値を読み込み、そして、PWMタイマーの設定とい
うことで、PWMタイマー用レジスタにDUTYという
値をストアする。つまり、カウンタに書き込む。S−1
でカウンタは初期化しているので、この書き込んだ時点
からカ、ウンタはそのDUTYの値に応じたパルスを出
力する。
Next, to read the PWM duty (DUTY), read the value DUTY obtained in S.3 of the main routine, and to set the PWM timer, store the value DUTY in the PWM timer register. . In other words, write to the counter. S-1
Since the counter has been initialized, the counter outputs a pulse according to the value of DUTY from the time of writing.

つぎに、メインルーチンのS・3で設定した電流方向フ
ラグFDIRを見て電流方向の判定を行う。そして、F
DIRが0であればDIRボートをハイレベル(開方向
)にし、また、FDIRが0でない(りということであ
ればDIRボートをロウレベル(閉方向)にする。
Next, the current direction is determined by looking at the current direction flag FDIR set in S.3 of the main routine. And F
If DIR is 0, the DIR boat is set to a high level (in the open direction), and if FDIR is not 0, the DIR boat is set to a low level (in the closed direction).

なお、上記実施例においては、デユーティ比が小さい側
でのラジオノイズを抑制するようにしているが、さらに
、例えばデユーティ比が90%以上となったときにも周
期を変更して、パルスのオフの部分の長さがAMバンド
周波数域に入るのを防止することによって、両方の帯域
でラジオノイズを抑制するようにすることもできる。
In the above embodiment, radio noise is suppressed on the side where the duty ratio is small, but the period is also changed when the duty ratio is 90% or more, and the pulse is turned off. It is also possible to suppress radio noise in both bands by preventing the length of the part from falling into the AM band frequency range.

また、フィードバック信号としては、上記実施例のよう
なアクチュエータ位置に代え、スロットル位置を直接検
出するスロットルセンサの出力を用いることも勿論可能
である。
Further, as the feedback signal, it is of course possible to use the output of a throttle sensor that directly detects the throttle position instead of the actuator position as in the above embodiment.

また、上記実施−例では、論理口′路を介−してモータ
駆動回路を制御するようにしているが、本発明は、CP
Uの出力によって直接駆動回路を制御するようなものに
対しても適用することが可能である。
Further, in the above embodiment, the motor drive circuit is controlled via a logic circuit, but the present invention
It is also possible to apply the present invention to a device in which a drive circuit is directly controlled by the output of U.

さらに、本発明は、スロットル弁制御に限らず、他の出
力調整手段によるエンジンの制御に対しても適用するこ
とができる。
Furthermore, the present invention is applicable not only to throttle valve control but also to engine control using other output adjustment means.

(発明の効果) 本発明は以上のように構成されているので、エンジン制
御の応答性および安定性を確保しつつ、デユーティパル
スによるラジオノイズ、特にA Mバンドノイズの増大
を効果的に防止することができる。
(Effects of the Invention) Since the present invention is configured as described above, it is possible to effectively prevent increase in radio noise, especially AM band noise, due to duty pulse while ensuring responsiveness and stability of engine control. can do.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の全体構成図、第2図は本発明の詳細な
説明する特性図、第3図は本発明の一実施例の全体図、
第4図乃至第1O図は同実施例の制御を実行するフロー
チャートである。 !=スロットル弁、3:モータ(アクチュエータ)、4
:スロットルコントローラ、5:サーボコントローラ、
6:駆動回路、9:マイクロプロセッサ(CPU)、1
7:位置センサ。 代理人 弁理士 進 藤 純 − 第1図 第2図 M。 バ1 アユーアイエ 第9図 S・5 第10図
FIG. 1 is an overall configuration diagram of the present invention, FIG. 2 is a characteristic diagram explaining the present invention in detail, and FIG. 3 is an overall diagram of an embodiment of the present invention.
FIG. 4 to FIG. 1O are flowcharts for executing control in this embodiment. ! = Throttle valve, 3: Motor (actuator), 4
: Throttle controller, 5: Servo controller,
6: Drive circuit, 9: Microprocessor (CPU), 1
7: Position sensor. Agent Patent Attorney Jun Shinfuji - Figure 1 Figure 2 M. B1 Ayu Aie Figure 9 S・5 Figure 10

Claims (1)

【特許請求の範囲】[Claims] (1) エンジンの出力を調整する出力調整手段と、該
出力調整手段の制御量を決定する制御量決定手段と、該
制御量決定手段の出力に応じたデューティ比のデューテ
ィパルスを発生するデューティパルス発生手段と、前記
デューティパルスによる制御によって前記出力調整手段
を駆動する電気的駆動手段と、前記デューティパルスの
周波数がラジオ周波数領域に入っているかどうかを判定
する領域判定手段と、該領域判定手段の出力信号に基づ
き、前記デューティパルス発生手段によって発生される
デューティパルスが前記領域外となるよう該デューティ
パルスの周期を変更する周期変更手段とを備えたことを
特徴とするエンジンの制御装置。
(1) Output adjustment means that adjusts the output of the engine, control amount determining means that determines the control amount of the output adjustment means, and duty pulse that generates a duty pulse with a duty ratio according to the output of the control amount determination means. generating means; electrical driving means for driving the output adjusting means under control by the duty pulse; region determining means for determining whether the frequency of the duty pulse falls within a radio frequency region; An engine control device comprising: cycle changing means for changing the cycle of the duty pulse so that the duty pulse generated by the duty pulse generating means falls outside the range based on an output signal.
JP5729088A 1988-03-10 1988-03-10 Control device for engine Pending JPH01232146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5729088A JPH01232146A (en) 1988-03-10 1988-03-10 Control device for engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5729088A JPH01232146A (en) 1988-03-10 1988-03-10 Control device for engine

Publications (1)

Publication Number Publication Date
JPH01232146A true JPH01232146A (en) 1989-09-18

Family

ID=13051421

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5729088A Pending JPH01232146A (en) 1988-03-10 1988-03-10 Control device for engine

Country Status (1)

Country Link
JP (1) JPH01232146A (en)

Similar Documents

Publication Publication Date Title
US6055960A (en) Electronic throttle valve control apparatus
US5913913A (en) Control apparatus for motor-driven power steering system of motor vehicle
US6907333B2 (en) Steering device
JPH06182637A (en) Thread fastening device
JP2000333488A (en) DC motor drive device and electric power steering control device
JPS59203850A (en) Apparatus for controlling engine speed
US4941444A (en) Engine control apparatus
JP3663332B2 (en) Electric power steering control device
JPH03237241A (en) Idle rotation controller of engine
JPH01219330A (en) Throttle controller for engine
JPH01227842A (en) Engine controller
JPH01227841A (en) Engine controller
JPH01227840A (en) Engine controller
JPH01219331A (en) Engine controller
JP4980457B2 (en) Electronic throttle valve control device
JPS6119946A (en) Engine throttle control method
JPH01227843A (en) Engine controller
JPH01219332A (en) Engine controller
JPS6291644A (en) Switching control device
JP3562053B2 (en) Control device for electric power steering device
JPH04265445A (en) A/D conversion value correction method
JPH0255590A (en) Motor controller
JPH08149882A (en) Motor control device
JP2756709B2 (en) Method for determining steering state of all-electric power steering device
JP2641430B2 (en) Industrial robot controller