Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0465611B2 - - Google Patents
[go: Go Back, main page]

JPH0465611B2 - - Google Patents

Info

Publication number
JPH0465611B2
JPH0465611B2 JP60113291A JP11329185A JPH0465611B2 JP H0465611 B2 JPH0465611 B2 JP H0465611B2 JP 60113291 A JP60113291 A JP 60113291A JP 11329185 A JP11329185 A JP 11329185A JP H0465611 B2 JPH0465611 B2 JP H0465611B2
Authority
JP
Japan
Prior art keywords
circuit
short
output
voltage
load
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.)
Expired - Lifetime
Application number
JP60113291A
Other languages
Japanese (ja)
Other versions
JPS61273121A (en
Inventor
Okimichi Okamoto
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.)
Hitachi Ltd
Original Assignee
Japan Electronic Control Systems Co Ltd
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 Japan Electronic Control Systems Co Ltd filed Critical Japan Electronic Control Systems Co Ltd
Priority to JP60113291A priority Critical patent/JPS61273121A/en
Publication of JPS61273121A publication Critical patent/JPS61273121A/en
Publication of JPH0465611B2 publication Critical patent/JPH0465611B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Emergency Protection Circuit Devices (AREA)
  • Direct Current Feeding And Distribution (AREA)
  • Control Of Voltage And Current In General (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は負荷駆動回路に関し、例えば自動車の
パワーステアリング装置において、その油圧制御
用に使用されたリニアソレノイド(直動型電磁駆
動装置)のような負荷を駆動するのに利用される
ものに関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a load drive circuit, such as a linear solenoid (direct-acting electromagnetic drive device) used for hydraulic control in an automobile power steering device. related to those used to drive loads.

<従来の技術> 例えば、特願昭59−169250号明細書に記載され
たパワーステアリング制御装置においては、操舵
補助力発生作動油の流量をリニアソレノイドによ
つて可変制御している。この種のリニアソレノイ
ドは、その駆動電流を制御することにより、その
作動ストロークを可変することができる。例え
ば、リニアソレノイドで駆動される電磁バルブで
は、そのソレノイドに供給する駆動電流を制御す
ることによつて、そのバルブの開度を可変制御す
ることができる。つまり、電流の大きさに応じた
機械的変位を得ることができる。
<Prior Art> For example, in a power steering control device described in Japanese Patent Application No. 59-169250, the flow rate of steering assist force generating hydraulic oil is variably controlled by a linear solenoid. This type of linear solenoid can vary its operating stroke by controlling its drive current. For example, in an electromagnetic valve driven by a linear solenoid, the opening degree of the valve can be variably controlled by controlling the drive current supplied to the solenoid. In other words, it is possible to obtain mechanical displacement according to the magnitude of the current.

第3図は上述した如きソレノイドのような負荷
をマイクロコンピユータ等の制御系から与えられ
る指令電圧Vin等に基づいて駆動する回路の一例
を示す。
FIG. 3 shows an example of a circuit that drives a load such as a solenoid as described above based on a command voltage Vin etc. given from a control system such as a microcomputer.

第3図に示す負荷駆動回路は、電源(車載バツ
テリ)VBと負荷としてのリニアソレノイドL間
に直列に介在した該ソレノイドLの駆動電流IO
制御するパワートランジスタQ2と、このトラン
ジスタQ2とリニアソレノイドLの間に直列に介
在させられた電流検出用抵抗RSと、この電流検
出用抵抗RSの両端に現れる分圧電圧VSを検出す
る差動増幅回路A2と、この差動増幅回路A2の
出力電圧VOを指令電圧Vinと比較する比較回路
CPとを備える。そして、この比較回路CPの比較
出力によつて上記トランジスタQ2の導通状態が
フイードバツク制御されるようになつている。
The load drive circuit shown in FIG. 3 consists of a power transistor Q2 that is interposed in series between a power source (vehicle battery) VB and a linear solenoid L as a load and controls the drive current I O of the solenoid L, and a power transistor Q2 that controls the drive current I O of the solenoid L, A current detection resistor R S interposed in series between the solenoid L, a differential amplifier circuit A2 that detects the divided voltage V S appearing across the current detection resistor R S , and this differential amplifier circuit. Comparison circuit that compares the output voltage V O of A2 with the command voltage Vin
Equipped with CP. The conduction state of the transistor Q2 is feedback-controlled by the comparison output of the comparison circuit CP.

ここで、上記比較回路CP及び上記差動増幅回
路A2はそれぞれ、車載バツテリVBから得られ
るプラス側の片電源Vccで動作させられるように
なつている。このように片電源Vccで動作させる
ようにすると、電源まわりの回路構成を簡略化す
ることができる。その代わりに比較回路CP及び
差動増幅回路A2のそれぞれの有効電圧範囲いわ
ゆる入力ダイナミツクレンジは、その片電源Vcc
の電位と接地電位の間に制限され、その範囲を超
える入力電圧に対しては正常な動作を行うことが
できなくなる。
Here, the comparator circuit CP and the differential amplifier circuit A2 are each operated with a single positive power supply Vcc obtained from an on-vehicle battery VB. By operating with a single power supply Vcc in this manner, the circuit configuration around the power supply can be simplified. Instead, the effective voltage range of each of the comparison circuit CP and the differential amplifier circuit A2, the so-called input dynamic range, is the one power supply Vcc.
and the ground potential, and normal operation will not be possible for input voltages that exceed this range.

上記比較回路CP及びその周辺部分は、演算増
幅器A1,抵抗R1,R2,R3,コンデンサC
1及びドライバトランジスタQ1によつて構成さ
れている。
The above comparison circuit CP and its surrounding parts include an operational amplifier A1, resistors R1, R2, R3, and a capacitor C.
1 and a driver transistor Q1.

また、上記差動増幅回路A2は演算増幅器によ
つて構成され、抵抗R4,R5,R6,R7によ
つて所定の電圧増幅利得が設定されている。更
に、この駆動回路とバツテリVB及びソレノイド
Lとは、それぞれ接続端子A,Bを介して着脱自
在に接続されている。
Further, the differential amplifier circuit A2 is constituted by an operational amplifier, and a predetermined voltage amplification gain is set by resistors R4, R5, R6, and R7. Furthermore, this drive circuit, battery VB, and solenoid L are removably connected via connection terminals A and B, respectively.

また、車載バツテリVBのマイナス側及びソレ
ノイドLの片端側はそれぞれ接地電位に共通接続
されている。この場合、その共通接地電位は車体
からとられている。
Further, the negative side of the vehicle battery VB and one end of the solenoid L are commonly connected to the ground potential. In this case, the common ground potential is taken from the vehicle body.

ところで、上述したソレノイドは、第4図に示
すように、その電気−機械変換特性にヒステリシ
スがある。つまり、駆動電流IOが増大するときに
得られる機械的変位xと駆動電流IOが減少すると
きに得られる機械的変位xとの間に差が生じる。
この差は、例えば前述したパワーステアリングの
動作精度等に悪影響を与える。
By the way, the above-mentioned solenoid has hysteresis in its electro-mechanical conversion characteristics, as shown in FIG. That is, a difference occurs between the mechanical displacement x obtained when the drive current I O increases and the mechanical displacement x obtained when the drive current I O decreases.
This difference adversely affects, for example, the operational accuracy of the power steering described above.

このようなヒステリシス特性を排除する手段と
しては、本発明者らが知得したところによると、
第5図に示すように、駆動電流IOに交流電流ΔIを
重畳させることが有効であるということが判明し
た。
According to the present inventors, as a means to eliminate such hysteresis characteristics,
As shown in FIG. 5, it has been found that it is effective to superimpose an alternating current ΔI on the drive current IO .

そこで、この交流電流ΔIを重畳させるために、
指令電圧Vinに交流電圧ΔVを重畳させるように
している。
Therefore, in order to superimpose this alternating current ΔI,
The AC voltage ΔV is superimposed on the command voltage Vin.

又、指令電圧Vinに交流電圧ΔVを重畳させる
と、ソレノイドLの自己誘導効果によつて、ソレ
ノイドLの端子電圧V1が接地電位(GND)以下
に大きく振れ、これにより、差動増幅回路A2
に、その有効入力電圧範囲いわゆる入力ダイナミ
ツクレンジを超えるマイナス電圧が入力され、駆
動電流を制御するためのフイードバツク動作が正
常に行われなくなつてしまうので、2つのダイオ
ードD1,D2を設けて端子電圧V1の落ち込み
を接点レベルに保つようにしている。
Furthermore, when the AC voltage ΔV is superimposed on the command voltage Vin, the terminal voltage V1 of the solenoid L greatly swings below the ground potential (GND) due to the self-induction effect of the solenoid L, which causes the differential amplifier circuit A2 to
If a negative voltage exceeding the effective input voltage range, so-called input dynamics range, is input to the terminal, the feedback operation for controlling the drive current will not be performed normally, so two diodes D1 and D2 are provided to connect the terminals. The drop in voltage V1 is kept at the contact level.

これにより、差動増幅回路A2に実際に入力さ
れる電圧V3とソレノイドLへの供給駆動電流IO
第6図に示すようになり、前記入力電圧V3が入
力ダイナミツクレンジを超えることはない。
As a result, the voltage V 3 actually input to the differential amplifier circuit A2 and the drive current I O supplied to the solenoid L become as shown in FIG. 6, and the input voltage V 3 exceeds the input dynamics range. There isn't.

<発明が解決しようとする問題点> しかしながら、従来の負荷駆動回路では、駆動
回路の出力側の短絡故障例えば、回路出力側のリ
ード線が車体に接触したり、又はソレノイドその
ものが短絡したりした場合、これを検出する手段
を有していなかつた。このため、過電流による駆
動回路が過熱する等の問題が発生する恐れがあつ
た。又、かかる故障検出手段を設けるにしても、
駆動回路の出力側電圧が接地レベルになつたか否
かを単に検出するだけでは、駆動回路の出力側電
圧は正常時において第6図示のように周期的に接
地レベルになるので、これとの区別をつけること
ができず誤判定をする恐れがある。
<Problems to be Solved by the Invention> However, in conventional load drive circuits, short-circuit failures occur on the output side of the drive circuit, such as when the lead wire on the circuit output side contacts the vehicle body, or when the solenoid itself short-circuits. In this case, there was no means to detect this. Therefore, problems such as overheating of the drive circuit due to overcurrent may occur. Furthermore, even if such a failure detection means is provided,
Simply detecting whether or not the output side voltage of the drive circuit has reached the ground level is not enough to differentiate it from the output side voltage of the drive circuit, which periodically reaches the ground level as shown in Figure 6 under normal conditions. There is a risk of erroneous judgments due to the inability to attach

そこで、本発明は上記の実情に鑑みてなされた
もので、駆動回路の短絡故障を正常動作と確実に
区別でき誤判定のない短絡故障検出手段を備えた
負荷駆動回路を提供することを目的とする。
Therefore, the present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide a load drive circuit equipped with short circuit fault detection means that can reliably distinguish short circuit faults from normal operation of the drive circuit and prevent false judgments. do.

<問題点を解決するための手段> このため本発明では、正常動作時に出力端子電
圧が周期的に接地レベルになるような負荷駆動回
路において、負荷駆動回路出力端子側の接地短絡
故障が正常動作時の接地レベル継続時間以上継続
したときのみ故障検出信号を出力する短絡故障検
出手段を設ける構成とした。
<Means for Solving the Problem> Therefore, in the present invention, in a load drive circuit in which the output terminal voltage periodically becomes the ground level during normal operation, a ground short-circuit failure on the output terminal side of the load drive circuit prevents normal operation. The structure includes a short-circuit failure detection means that outputs a failure detection signal only when the short-circuit failure detection signal continues for a period longer than the ground level duration time.

<作用> これにより、正常時に出力端子電圧が接地レベ
ルになつてこの電圧値が短絡故障検出手段に入力
したとしても、当該検出手段からはその間には故
障検出信号は出力されず、短絡故障によつて出力
端子電圧が長時間接地レベルになつて初めて故障
検出信号が出力されるようになる。従つて、正常
時と短絡故障時とを確実に区別でき誤判定がない
ものとなる。
<Function> As a result, even if the output terminal voltage reaches the ground level during normal operation and this voltage value is input to the short-circuit fault detection means, the fault detection signal will not be output from the detection means during that time, and the short-circuit fault will not occur. Therefore, the failure detection signal is not output until the output terminal voltage remains at the ground level for a long period of time. Therefore, it is possible to reliably distinguish between a normal state and a short-circuit failure state, and there is no misjudgment.

<実施例> 以下本発明の1実施例を図面に基づいて説明す
る。
<Example> An example of the present invention will be described below based on the drawings.

第1図に本実施例の負荷駆動回路を示す。尚、
第1図に示す回路の基本的な構成及び動作は前述
の従来のものと同様である。従つて、以下の説明
は主に従来と相違する部分について行い、重複す
る部分については説明を省略する。
FIG. 1 shows the load drive circuit of this embodiment. still,
The basic configuration and operation of the circuit shown in FIG. 1 are the same as those of the conventional circuit described above. Therefore, the following explanation will mainly be about the parts that are different from the conventional one, and the explanation about the overlapping parts will be omitted.

図において、この駆動回路では、従来の構成に
加えて回路出力部の電流検出用抵抗RSとダイオ
ードD2との接続点aに短絡故障検出回路10の
入力側を接続している。前記検出回路10は、ダ
イオードD3及び抵抗R8を介してスペースが前
記接続点aに接続されるトランジスタQ3と、該
トランジスタQ3のコレクタ出力が入力するシユ
ミツト・トリガ回路STと、該シユミツト・トリ
ガ回路STの出力を反転するインバータINと、入
出力間に所定の時定数を設定する抵抗R9及びコ
ンデンサC2とで構成されている。
In the figure, in this drive circuit, in addition to the conventional configuration, the input side of the short-circuit failure detection circuit 10 is connected to the connection point a between the current detection resistor R S of the circuit output section and the diode D2. The detection circuit 10 includes a transistor Q3 whose space is connected to the connection point a via a diode D3 and a resistor R8, a Schmitt trigger circuit ST to which the collector output of the transistor Q3 is input, and a Schmitt trigger circuit ST. It consists of an inverter IN that inverts the output of , a resistor R9 and a capacitor C2 that set a predetermined time constant between input and output.

次に動作を第2図のタイムチヤートに基づいて
説明する。
Next, the operation will be explained based on the time chart shown in FIG.

第2図の接続点aの電圧V3がGNDレベルより
も高いときには、トランジスタQ3がON状態と
なり、そのコレクタ出力が“L”レベルとなるの
でシユミツト・トリガ回路STはトリガされず、
その出力は“L”レベルとなつてインバータIN
からは逆に“H”レベルの出力が発せられ、短絡
故障検出回路10は正常動作信号を出力する。
又、正常動作時において、電圧V3が接地レベル
になると、トランジスタQ3はOFFとなる。こ
のとき、そのコレクタ出力レベルは抵抗R9とコ
ンデンサC2の時定数に基づいてコンデンサC2
が充電され徐々に上昇するが、正常動作時には、
シユミツト・トリガ回路STのトリガレベルに達
する以前にトランジスタQ3がON状態に復帰し
てそのコレクタ出力が即座に低下するので、シユ
ミツト・トリガ回路STはトリガされずインバー
タINの出力は“H”レベルに維持され短絡故障
検出回路10はそのまま正常動作信号を出力し続
ける。
When the voltage V3 at the connection point a in FIG. 2 is higher than the GND level, the transistor Q3 is turned on and its collector output goes to the "L" level, so the Schmitt trigger circuit ST is not triggered.
The output becomes “L” level and the inverter inputs
Conversely, an "H" level output is generated from the short circuit failure detection circuit 10, and the short circuit failure detection circuit 10 outputs a normal operation signal.
Further, during normal operation, when the voltage V3 reaches the ground level, the transistor Q3 is turned off. At this time, the collector output level is determined by capacitor C2 based on the time constant of resistor R9 and capacitor C2.
is charged and gradually rises, but during normal operation,
Before reaching the trigger level of the Schmitt trigger circuit ST, the transistor Q3 returns to the ON state and its collector output drops immediately, so the Schmitt trigger circuit ST is not triggered and the output of the inverter IN goes to the "H" level. The short-circuit failure detection circuit 10 continues to output a normal operation signal.

一方、駆動回路の出力側又はソレノイドLの短
絡故障により電圧V3が接地レベルに低下した場
合、前述と同様にしてトランジスタQ3がOFF
となり、コンデンサC2の充電が開始される。そ
して、かかる充電動作が正常動作時の接地レベル
継続時間を超えて所定時間継続されると、コレク
タ出力がシユミツト・トリガ回路STのトリガレ
ベル(第2図にVTで示す)に達する。これによ
り、シユミツト・トリガ回路STの出力が“H”
レベルとなるため、インバータINの出力が“L”
レベルに反転し、短絡故障検出回路10から短絡
故障検出信号が出力される。そして、かかる信号
出力によつて、ランプ又はブザー等の警報装置を
差動させてドライバーに知らせるようにすればよ
い。
On the other hand, if voltage V3 drops to the ground level due to a short-circuit failure on the output side of the drive circuit or solenoid L, transistor Q3 is turned off in the same manner as described above.
Then, charging of the capacitor C2 is started. When this charging operation continues for a predetermined period of time exceeding the ground level duration during normal operation, the collector output reaches the trigger level (indicated by V T in FIG. 2) of the Schmitt trigger circuit ST. This causes the output of the Schmitt trigger circuit ST to go “H”.
level, so the output of inverter IN is “L”
The level is inverted, and the short-circuit failure detection circuit 10 outputs a short-circuit failure detection signal. Then, by outputting such a signal, a warning device such as a lamp or a buzzer may be activated to notify the driver.

このようにすれば、正常動作時と短絡故障時と
を区別でき誤判定を防止できる。また、短絡が一
時的なもので即座に正常動作に復帰した場合、コ
ンデンサC2の放電が瞬時に行われる回路構成な
ので、短絡故障検出回路10の初期状態への復帰
が早く誤判定の防止を更に確実なものにできる。
In this way, it is possible to distinguish between normal operation and short-circuit failure, and prevent erroneous determination. In addition, if the short circuit is temporary and normal operation is immediately restored, the circuit configuration allows the capacitor C2 to be discharged instantaneously, so that the short circuit failure detection circuit 10 can quickly return to its initial state, further preventing erroneous judgments. You can make it certain.

<発明の効果> 以上述べたように本発明によれば、回路出力側
の短絡状態が所定時間以上継続したときのみ、故
障検出信号を出力するようにしたので、正常動作
時にも出力側電圧が接地レベルになる駆動回路で
あつても、正常動作時と短絡故障時とを区別で
き、誤判定することなく確実に短絡故障検出を行
うことができる。
<Effects of the Invention> As described above, according to the present invention, a failure detection signal is output only when the short-circuit condition on the circuit output side continues for a predetermined time or more, so that the output side voltage does not change even during normal operation. Even if the drive circuit is at ground level, it is possible to distinguish between normal operation and short-circuit failure, and to reliably detect short-circuit failure without making erroneous determinations.

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

第1図は本発明による負荷駆動回路の1実施例
を示す回路図、第2図は同上実施例の短絡故障検
出回路の動作を示す波形タイムチヤート、第3図
は従来例の構成を示す回路図、第4図はリニアソ
レノイドの電気−機械変換特性図、第5図は同上
ソレノイドの好適な駆動電流波形図、第6図は負
荷駆動回路出力側の波形タイムチヤートである。 A2……差動増幅回路、CP……比較回路、L
……リニアソレノイド(負荷)、Q1,Q2,Q
3……トランジスタ、RS……電流検出用抵抗、
10……短絡故障検出回路、ST……シユミツ
ト・トリガ回路、IN……インバータ、R9……
抵抗、C2……コンデンサ。
Fig. 1 is a circuit diagram showing one embodiment of the load driving circuit according to the present invention, Fig. 2 is a waveform time chart showing the operation of the short circuit fault detection circuit of the same embodiment, and Fig. 3 is a circuit showing the configuration of a conventional example. 4 is an electro-mechanical conversion characteristic diagram of the linear solenoid, FIG. 5 is a preferred drive current waveform diagram of the same solenoid, and FIG. 6 is a waveform time chart on the output side of the load drive circuit. A2...differential amplifier circuit, CP...comparison circuit, L
...Linear solenoid (load), Q1, Q2, Q
3...Transistor, R S ...Resistor for current detection,
10...Short circuit failure detection circuit, ST...Schmitt trigger circuit, IN...Inverter, R9...
Resistor, C2... capacitor.

Claims (1)

【特許請求の範囲】[Claims] 1 負荷への供給電流を制御して負荷を駆動制御
する構成であつて、正常動作時に出力端子電圧が
周期的に接地レベルになるような負荷駆動回路に
おいて、負荷駆動回路出力端子側の接地短絡故障
が正常動作時の接地レベル継続時間以上継続した
ときのみ故障検出信号を出力する短絡故障検出手
段を設けたことを特徴とする負荷駆動回路。
1 In a load drive circuit that is configured to drive and control the load by controlling the current supplied to the load, and in which the output terminal voltage periodically becomes the ground level during normal operation, a ground short circuit on the output terminal side of the load drive circuit 1. A load drive circuit comprising short-circuit failure detection means that outputs a failure detection signal only when a failure continues for longer than the ground level duration time during normal operation.
JP60113291A 1985-05-28 1985-05-28 load drive circuit Granted JPS61273121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60113291A JPS61273121A (en) 1985-05-28 1985-05-28 load drive circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60113291A JPS61273121A (en) 1985-05-28 1985-05-28 load drive circuit

Publications (2)

Publication Number Publication Date
JPS61273121A JPS61273121A (en) 1986-12-03
JPH0465611B2 true JPH0465611B2 (en) 1992-10-20

Family

ID=14608461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60113291A Granted JPS61273121A (en) 1985-05-28 1985-05-28 load drive circuit

Country Status (1)

Country Link
JP (1) JPS61273121A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008078680A (en) * 2007-11-05 2008-04-03 Komatsu Ltd Solenoid drive

Also Published As

Publication number Publication date
JPS61273121A (en) 1986-12-03

Similar Documents

Publication Publication Date Title
US5485059A (en) Lighting circuit for vehicular discharge lamp
US5682314A (en) Controller apparatus for vehicle
JPH0373212B2 (en)
JPH0232188B2 (en)
US5218339A (en) Arrangement for monitoring a consumer in combination with an internal combustion engine and/or a motor vehicle
JPWO1999017977A1 (en) Automotive control devices
US5268643A (en) Apparatus for failure identification for use in vehicle occupant protecting system
US4873475A (en) Electrically powered power steering system for industrial vehicle or the like
US4569411A (en) Power steering control apparatus
US11890964B2 (en) Vehicle and control device
JPS6343865A (en) Controller for electric power steering
JPH0465611B2 (en)
JPH09196991A (en) Failure detecting circuit and its detection
JP2662569B2 (en) Output current detection circuit fail-safe circuit
JPH022747B2 (en)
JPH11512590A (en) Circuit device for evaluating a binary signal defined by a current threshold
JP2017093108A (en) Over-boost suppression circuit for boost circuit
US6169336B1 (en) Crew protection apparatus
JPH037263Y2 (en)
JPH02158445A (en) Failure detection device for air bag apparatus
KR940000308Y1 (en) Charging circuit of battery
JPH0229783Y2 (en)
US4886320A (en) Vital pressure regulating system for railroad cars
EP0810500A1 (en) A control circuit for a proportional solenoid valve, particularly for use on board motor vehicles
KR100352359B1 (en) An electric-power-steering controller