JP6295810B2 - Load drive control device - Google Patents

Load drive control device Download PDF

Info

Publication number
JP6295810B2
JP6295810B2 JP2014096208A JP2014096208A JP6295810B2 JP 6295810 B2 JP6295810 B2 JP 6295810B2 JP 2014096208 A JP2014096208 A JP 2014096208A JP 2014096208 A JP2014096208 A JP 2014096208A JP 6295810 B2 JP6295810 B2 JP 6295810B2
Authority
JP
Japan
Prior art keywords
current value
cycle
actual current
duty signal
period
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.)
Active
Application number
JP2014096208A
Other languages
Japanese (ja)
Other versions
JP2015216421A (en
Inventor
良満 三ツ口
良満 三ツ口
高木 登
登 高木
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2014096208A priority Critical patent/JP6295810B2/en
Priority to DE102015208090.0A priority patent/DE102015208090B4/en
Publication of JP2015216421A publication Critical patent/JP2015216421A/en
Application granted granted Critical
Publication of JP6295810B2 publication Critical patent/JP6295810B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01FMAGNETS; INDUCTANCES; TRANSFORMERS; SELECTION OF MATERIALS FOR THEIR MAGNETIC PROPERTIES
    • H01F7/00Magnets
    • H01F7/06Electromagnets; Actuators including electromagnets
    • H01F7/08Electromagnets; Actuators including electromagnets with armatures
    • H01F7/18Circuit arrangements for obtaining desired operating characteristics, e.g. for slow operation, for sequential energisation of windings, for high-speed energisation of windings
    • H01F7/1844Monitoring or fail-safe circuits
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01FMAGNETS; INDUCTANCES; TRANSFORMERS; SELECTION OF MATERIALS FOR THEIR MAGNETIC PROPERTIES
    • H01F7/00Magnets
    • H01F7/06Electromagnets; Actuators including electromagnets
    • H01F7/08Electromagnets; Actuators including electromagnets with armatures
    • H01F7/18Circuit arrangements for obtaining desired operating characteristics, e.g. for slow operation, for sequential energisation of windings, for high-speed energisation of windings
    • H01F2007/1888Circuit arrangements for obtaining desired operating characteristics, e.g. for slow operation, for sequential energisation of windings, for high-speed energisation of windings using pulse width modulation

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Magnetically Actuated Valves (AREA)
  • Electronic Switches (AREA)

Description

本発明は、誘導性負荷の駆動を制御する負荷駆動制御装置に関する。   The present invention relates to a load drive control device that controls driving of an inductive load.

従来、例えば特許文献1に示されるように、誘導性負荷としてのリニアソレノイドの通電経路上に設けられ、この通電経路を断続するトランジスタと、このトランジスタをオン、オフするデューティ信号としてのPWM(Pulse Width Modulation)信号を出力するリニアソレノイド制御ICとを有する誘導性負荷の通電制御装置が提案されている。   Conventionally, as disclosed in Patent Document 1, for example, a transistor that is provided on a current path of a linear solenoid as an inductive load, interrupts the current path, and a PWM (Pulse as a duty signal that turns this transistor on and off An inductive load energization control device having a linear solenoid control IC that outputs a (Width Modulation) signal has been proposed.

この通電制御装置においては、リニアソレノイド制御ICが、リニアソレノイドに流すべき目標電流値に応じて、PWM周期を変化させる。具体的には、目標電流値が小さくなった場合、すなわち、PWM信号のデューティ比が小さくなった場合、PWM周期を長くする。これにより、デューティ比が小さい場合であっても、リニアソレノイドの電流の振幅が小さくなりすぎることを防止できるようにしている。その結果、リニアソレノイドによってストロークされる部材の振幅が小さくなりすぎることを抑制し、摩擦抵抗の発生を防止することができる。   In this energization control device, the linear solenoid control IC changes the PWM cycle according to the target current value to be passed through the linear solenoid. Specifically, when the target current value decreases, that is, when the duty ratio of the PWM signal decreases, the PWM cycle is lengthened. Thus, even when the duty ratio is small, the amplitude of the current of the linear solenoid can be prevented from becoming too small. As a result, it is possible to suppress the amplitude of the member stroked by the linear solenoid from becoming too small, and to prevent the generation of frictional resistance.

特開2002−262549号公報JP 2002-262549 A

上述した通電制御装置では、目標電流値に応じた電流がリニアソレノイドに通電されるように、目標電流値とリニアソレノイドの実電流値との偏差に基づいて、PWM信号のデューティ比を決定する。   In the energization control device described above, the duty ratio of the PWM signal is determined based on the deviation between the target current value and the actual current value of the linear solenoid so that a current corresponding to the target current value is energized to the linear solenoid.

より具体的には、一定時間毎に、リニアソレノイド制御ICに、リニアソレノイドに直列接続された電流検出抵抗の両端電位が取り込まれる。リニアソレノイド制御ICは、その両端電位の差分に基づき、リニアソレノイドの実電流値を算出する。さらに、リニアソレノイド制御ICは、目標電流値と実電流値との偏差を算出するとともに、その偏差を積算する。積算された偏差は、目標電流値と加算され、その加算値に基づいて、PWM信号のデューティ比が決定される。   More specifically, the potentials at both ends of the current detection resistor connected in series to the linear solenoid are taken into the linear solenoid control IC at regular time intervals. The linear solenoid control IC calculates the actual current value of the linear solenoid based on the difference between the potentials at both ends. Further, the linear solenoid control IC calculates a deviation between the target current value and the actual current value and integrates the deviation. The integrated deviation is added to the target current value, and the duty ratio of the PWM signal is determined based on the added value.

しかしながら、電流検出抵抗の両端電位は、PWM周期の長さによらず、一定時間毎に、リニアソレノイド制御ICに取り込まれるに過ぎない。このため、PWM周期の長さが変更された場合に、一周期当りの実電流値の算出回数が変動してしまう。その結果、実電流値の算出回数の変動に起因して、PWM制御の精度の低下を招く虞がある。   However, the both-end potential of the current detection resistor is merely taken into the linear solenoid control IC at regular intervals regardless of the length of the PWM cycle. For this reason, when the length of the PWM cycle is changed, the number of times of calculation of the actual current value per cycle varies. As a result, the accuracy of PWM control may be reduced due to fluctuations in the actual current value calculation count.

本発明は、上述した点に鑑みてなされたものであり、デューティ信号の周期が変化する場合であっても、一周期当りの実電流の検出回数を一定に保つことが可能な負荷駆動制御装置を提供することを目的とする。   The present invention has been made in view of the above-described points, and is a load drive control device capable of keeping the number of detections of actual current per cycle constant even when the cycle of the duty signal changes. The purpose is to provide.

上記目的を達成するために、請求項1に記載の、誘導性負荷(100)の駆動を制御する負荷駆動制御装置は、
誘導性負荷の通電経路上に設けられ、与えられるデューティ信号に従ってオン、オフすることにより、デューティ信号のデューティ比に応じた大きさの電流を誘導性負荷に通電するスイッチング手段(12)と、
誘導性負荷の実電流値を検出する実電流値検出手段(16)と、
誘導性負荷の目標電流値と実電流値検出手段にて検出される実電流値との偏差に基づき、実電流値が目標電流値に追従するように、デューティ信号のデューティ比を設定するデューティ比設定手段(S130)と、
デューティ信号の周期の長さを設定する周期設定手段(S100)と、
周期設定手段によって設定された周期の長さ、及び、デューティ比設定手段によって設定されたデューティ比に従うデューティ信号を生成して、スイッチング手段に与えるデューティ信号生成手段(26)と、を備え、
実電流値検出手段は、前記デューティ信号の一周期中に、複数回、実電流値の検出を行うものであり、デューティ比設定手段は、複数回検出された実電流値から平均電流に相当する実電流値を算出し、この平均電流に相当する実電流値を用いてデューティ比を設定するものであって、
さらに、周期設定手段によってデューティ信号の周期の長さが設定されたことに同期して、周期設定手段によりデューティ信号の周期が可変されても、デューティ信号の一周期当りの実電流の検出回数を一定に保つように、実電流値検出手段が実電流の検出を行う間隔を設定する間隔設定手段(S110)を備えることを特徴とする。
In order to achieve the above object, a load drive control device for controlling driving of an inductive load (100) according to claim 1,
Switching means (12) provided on the inductive load energization path and energizing the inductive load with a current corresponding to the duty ratio of the duty signal by turning on and off according to a given duty signal;
An actual current value detecting means (16) for detecting an actual current value of the inductive load;
Duty ratio that sets the duty ratio of the duty signal so that the actual current value follows the target current value based on the deviation between the target current value of the inductive load and the actual current value detected by the actual current value detection means Setting means (S130);
Period setting means (S100) for setting the length of the period of the duty signal;
A duty signal generating means (26) for generating a duty signal according to the length of the period set by the period setting means and the duty ratio set by the duty ratio setting means, and giving the duty signal to the switching means,
The actual current value detecting means detects the actual current value a plurality of times during one cycle of the duty signal, and the duty ratio setting means corresponds to the average current from the actual current value detected a plurality of times. The actual current value is calculated, and the duty ratio is set using the actual current value corresponding to the average current,
Further, in synchronization with the setting of the cycle length of the duty signal by the cycle setting means, even if the cycle of the duty signal is varied by the cycle setting means, the number of detection times of the actual current per cycle of the duty signal is set. In order to keep constant, the actual current value detecting means includes an interval setting means (S110) for setting an interval for detecting the actual current.

このように、本発明による負荷駆動制御装置は、実電流の検出を行う間隔を設定する間隔設定手段を備えている。この間隔設定手段は、周期設定手段によりデューティ信号の周期が可変されても、デューティ信号の一周期当りの実電流の検出回数を一定に保つように、実電流の検出間隔を設定する。従って、実電流値検出手段が、間隔設定手段によって設定された間隔に従って実電流の検出を行うことで、周期設定手段によりデューティ信号の周期が可変されても、デューティ信号の一周期当りの実電流の検出回数を一定に保つことが可能になる。その結果、実電流値に基づくデューティ比の設定を精度良く行うことが可能となる。   As described above, the load drive control device according to the present invention includes the interval setting means for setting the interval for detecting the actual current. The interval setting unit sets the detection interval of the actual current so that the number of detections of the actual current per cycle of the duty signal is kept constant even if the cycle of the duty signal is varied by the cycle setting unit. Therefore, the actual current value detecting means detects the actual current according to the interval set by the interval setting means, so that even if the period of the duty signal is varied by the period setting means, the actual current per cycle of the duty signal is changed. It is possible to keep the number of times of detection of a constant. As a result, it becomes possible to set the duty ratio based on the actual current value with high accuracy.

上記括弧内の参照番号は、本発明の理解を容易にすべく、後述する実施形態における具体的な構成との対応関係の一例を示すものにすぎず、なんら本発明の範囲を制限することを意図したものではない。   The reference numerals in the parentheses merely show an example of a correspondence relationship with a specific configuration in an embodiment described later in order to facilitate understanding of the present invention, and are intended to limit the scope of the present invention. Not intended.

また、上述した特徴以外の、特許請求の範囲の各請求項に記載した技術的特徴に関しては、後述する実施形態の説明及び添付図面から明らかになる。   Further, the technical features described in the claims of the claims other than the features described above will become apparent from the description of embodiments and the accompanying drawings described later.

実施形態による負荷駆動制御装置の概略構成を示した構成図である。It is the block diagram which showed schematic structure of the load drive control apparatus by embodiment. PWM周期及びデューティ比を決定するとともに、PWM周期とA/D変換間隔とを同期させるための同期処理を示したフローチャートである。It is the flowchart which showed the synchronous process for synchronizing a PWM period and an A / D conversion interval while determining a PWM period and a duty ratio. PWM周期を算出するためのサブルーチンを示したフローチャートである。It is the flowchart which showed the subroutine for calculating a PWM period. PWM信号のデューティ比を算出するためのサブルーチンを示したフローチャートである。It is the flowchart which showed the subroutine for calculating the duty ratio of a PWM signal. 図2〜図4のフローチャートに示した処理による作動を説明するためのタイミングチャートである。It is a timing chart for demonstrating the action | operation by the process shown to the flowchart of FIGS. A/D変換間隔の具体的な算出方法について説明するとともに、PWM周期とA/D変換間隔が同期される様子を示したタイミングチャートである。It is the timing chart which showed a mode that the specific calculation method of an A / D conversion interval was demonstrated, and a PWM period and an A / D conversion interval were synchronized. 第2実施形態において、同期処理の実行時刻を設定するための処理を示したフローチャートである。9 is a flowchart illustrating a process for setting an execution time of a synchronization process in the second embodiment.

以下、本発明の実施形態を図に基づいて説明する。なお、各実施形態において、共通乃至関連する要素には同一の符号を付与するものとする。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In each embodiment, common or related elements are given the same reference numerals.

(第1実施形態)
先ず、本実施形態に係る負荷駆動制御装置10により、駆動が制御される誘導性負荷について説明する。例えば、誘導性負荷として、スプール弁型油圧制御弁のリニアソレノイド100を採用することができる。このスプール弁型油圧制御弁は、弁ハウジングとしてのスリーブ内に、弁体としてのスプールを摺動可能に収納している。スリーブは、作動油が供給される入力ポート、作動油が送出される出力ポート、出力ポートから流出した作動油の一部が導入されるフィードバックポートを備えている。入力ポートからスプール弁型油圧制御弁内に供給された作動油は、スリーブおよびスプール間の隙間を経て出力ポートから送出される。スプールは、リニアソレノイド100が発生する電磁力によりストロークされてスリーブとの相対位置(ストローク位置)が制御される。これにより、スリーブおよびスプールの重なり長さ、つまりスリーブおよびスプール間の隙間長さを変えて出力ポートから送出される作動油の流量、圧力が制御される。
(First embodiment)
First, an inductive load whose drive is controlled by the load drive control device 10 according to the present embodiment will be described. For example, a linear solenoid 100 of a spool valve type hydraulic control valve can be employed as the inductive load. In this spool valve type hydraulic control valve, a spool as a valve body is slidably accommodated in a sleeve as a valve housing. The sleeve includes an input port to which hydraulic oil is supplied, an output port to which hydraulic oil is delivered, and a feedback port into which a part of the hydraulic oil that has flowed out of the output port is introduced. The hydraulic oil supplied from the input port into the spool valve type hydraulic control valve is sent out from the output port through a gap between the sleeve and the spool. The spool is stroked by the electromagnetic force generated by the linear solenoid 100, and the relative position (stroke position) to the sleeve is controlled. Thus, the flow rate and pressure of the hydraulic oil delivered from the output port are controlled by changing the overlapping length of the sleeve and the spool, that is, the gap length between the sleeve and the spool.

油圧制御弁により制御された油圧は、例えば、車両のオートマチックトランスミッションを目標ギア段に制御するために用いられる。あるいは、いわゆる油圧式可変バルブタイミング機構において、吸気あるいは排気バルブのバルブ開閉タイミングを変化させるために用いられる。   The hydraulic pressure controlled by the hydraulic control valve is used, for example, to control the automatic transmission of the vehicle to the target gear stage. Alternatively, it is used in a so-called hydraulic variable valve timing mechanism to change the valve opening / closing timing of the intake or exhaust valve.

リニアソレノイド100はコイルとプランジャを有しており、コイルへの通電電流を制御することで、プランジャ、ひいてはプランジャに連結されたスプールのストローク位置が制御されるようになっている。   The linear solenoid 100 has a coil and a plunger, and the stroke position of the plunger, and thus the spool connected to the plunger, is controlled by controlling the energization current to the coil.

次に、図1を用いて、負荷駆動制御装置10の概略構成を説明する。図1に示すように、負荷駆動制御装置10は、スイッチング素子12と、マイコン14と、電流検出部16と、を備えている。   Next, a schematic configuration of the load drive control device 10 will be described with reference to FIG. As shown in FIG. 1, the load drive control device 10 includes a switching element 12, a microcomputer 14, and a current detection unit 16.

スイッチング素子12は、リニアソレノイド100の通電経路上に設けられており、マイコン14から供給される、デューティ信号としてのPWM信号によって、オン、オフされる。スイッチング素子12がオンすると、リニアソレノイド100に電流が供給され、オフすると、電流の供給が遮断される。このPWM信号のオン、オフの比率(デューティ比)に応じて、任意の大きさの電流をリニアソレノイド100に通電することができる。なお、本実施形態では、スイッチング素子12としてMOSFETを採用している。ただし、MOSFET以外のスイッチング素子を用いても良い。また、スイッチング素子12は、リニアソレノイド100の下流側に設けられているが、上流側に設けられても良い。このスイッチング素子12が、特許請求の範囲に記載のスイッチング手段に相当する。   The switching element 12 is provided on the energization path of the linear solenoid 100 and is turned on and off by a PWM signal as a duty signal supplied from the microcomputer 14. When the switching element 12 is turned on, a current is supplied to the linear solenoid 100, and when the switching element 12 is turned off, the current supply is interrupted. A current having an arbitrary magnitude can be supplied to the linear solenoid 100 in accordance with the ON / OFF ratio (duty ratio) of the PWM signal. In the present embodiment, a MOSFET is employed as the switching element 12. However, switching elements other than MOSFETs may be used. The switching element 12 is provided on the downstream side of the linear solenoid 100, but may be provided on the upstream side. The switching element 12 corresponds to the switching means described in the claims.

マイコン14は、CPU、ROM、RAM、レジスタなどを備えた一般的な構成を有するものである。このマイコン14では、CPUがROMに記憶されたプログラムに従い、入力信号等に基づいて、RAM及びレジスタを一時的に記憶領域として用いつつ各種演算処理を実行して、スイッチング素子12の駆動を制御するためのPWM信号を生成する。これにより、リニアソレノイド100の通電電流が目標電流に追従するように制御される。マイコン14において実行される各種演算処理の詳細については後述する。   The microcomputer 14 has a general configuration including a CPU, a ROM, a RAM, a register, and the like. In the microcomputer 14, the CPU controls the driving of the switching element 12 by executing various arithmetic processes according to a program stored in the ROM, based on an input signal or the like, temporarily using the RAM and the register as a storage area. The PWM signal for generating is generated. Thereby, the energization current of the linear solenoid 100 is controlled so as to follow the target current. Details of various arithmetic processes executed in the microcomputer 14 will be described later.

電流検出部16は、リニアソレノイド100に対して直列に接続された電流検出用の抵抗18と、抵抗18の両端の電位差を増幅してマイコン14に出力するオペアンプ20と、を有している。この電流検出部16が、特許請求の範囲に記載の実電流値検出手段に相当する。   The current detection unit 16 includes a current detection resistor 18 connected in series to the linear solenoid 100, and an operational amplifier 20 that amplifies the potential difference between both ends of the resistor 18 and outputs the amplified potential difference to the microcomputer 14. The current detection unit 16 corresponds to the actual current value detection means described in the claims.

抵抗18は、一端が、リニアソレノイド100の上流側端子に接続されており、他端が、電源に接続されている。このため、リニアソレノイド100に電流が流れたとき、リニアソレノイド100に流れる電流と同等の電流が抵抗18にも流れる。オペアンプ20は、正極入力端子が抵抗18の上流側の端子に電気的に接続されており、負極入力端子が下流側の端子に電気的に接続されている。オペアンプ20の出力端子は、マイコン14に接続されている。   The resistor 18 has one end connected to the upstream terminal of the linear solenoid 100 and the other end connected to a power source. For this reason, when a current flows through the linear solenoid 100, a current equivalent to the current flowing through the linear solenoid 100 flows through the resistor 18. The operational amplifier 20 has a positive input terminal electrically connected to the upstream terminal of the resistor 18 and a negative input terminal electrically connected to the downstream terminal. The output terminal of the operational amplifier 20 is connected to the microcomputer 14.

このように構成されているため、抵抗18に、リニアソレノイド100と同等の電流が流れたとき、抵抗18の両端には、その電流の大きさに応じた電位差が生じる。そして、オペアンプ20は、抵抗18の両端電位差を増幅してマイコン14に出力する。従って、マイコン14は、リニアソレノイド100に流れる電流(実電流値)を検出することができる。   With this configuration, when a current equivalent to that of the linear solenoid 100 flows through the resistor 18, a potential difference corresponding to the magnitude of the current is generated at both ends of the resistor 18. The operational amplifier 20 amplifies the potential difference between both ends of the resistor 18 and outputs the amplified difference to the microcomputer 14. Therefore, the microcomputer 14 can detect the current (actual current value) flowing through the linear solenoid 100.

次に、マイコン14の機能的な概略構成について説明する。図1に示すように、マイコン14は、A/D変換部22と、演算部24と、PWM信号出力部26と、を備えている。A/D変換部22は、演算部24によって定められたA/D間隔ごとに、オペアンプ20から出力された抵抗18の両端電位差をサンプリングし、A/D変換を行う。このA/D変換結果から、マイコン14は、リニアソレノイド100の実電流値を算出することができる。つまり、マイコン14は、A/D変換部22を用いて、所定のA/D間隔ごとに、リニアソレノイド100の実電流値の検出を行う。   Next, a functional schematic configuration of the microcomputer 14 will be described. As shown in FIG. 1, the microcomputer 14 includes an A / D conversion unit 22, a calculation unit 24, and a PWM signal output unit 26. The A / D conversion unit 22 samples the potential difference between both ends of the resistor 18 output from the operational amplifier 20 for each A / D interval determined by the calculation unit 24, and performs A / D conversion. From this A / D conversion result, the microcomputer 14 can calculate the actual current value of the linear solenoid 100. That is, the microcomputer 14 detects the actual current value of the linear solenoid 100 at every predetermined A / D interval using the A / D conversion unit 22.

演算部24は、油圧制御弁が目標とする油圧を発生できるようにするため、その目標とする油圧に対応する目標電流値を算出する。なお、目標とする油圧は、外部の制御装置から与えられても良いし、マイコン14において、各種のセンサ信号などに基づいて算出されても良い。目標油圧と目標電流値との関係は、予め定められ、例えばマップとしてマイコン14のROMに格納されている。そして、演算部24は、算出した目標電流値と、A/D変換部22におけるA/D変換結果から算出される実電流値とに基づいて、PWM信号のデューティ比を決定する。なお、デューティ比の算出に際しては、例えばPID演算が用いられる。   The calculation unit 24 calculates a target current value corresponding to the target hydraulic pressure so that the hydraulic control valve can generate the target hydraulic pressure. The target hydraulic pressure may be given from an external control device, or may be calculated by the microcomputer 14 based on various sensor signals. The relationship between the target hydraulic pressure and the target current value is determined in advance, and is stored in the ROM of the microcomputer 14 as a map, for example. Then, the calculation unit 24 determines the duty ratio of the PWM signal based on the calculated target current value and the actual current value calculated from the A / D conversion result in the A / D conversion unit 22. In calculating the duty ratio, for example, PID calculation is used.

また、演算部24は、油圧制御弁により圧力が制御される作動油の温度を検出する温度センサ(図示せず)から検出信号を入力し、その検出信号に基づき、作動油の温度を算出する。そして、算出した作動油の温度から、PWM信号の周期(以下、PWM周期)を決定する。   Further, the calculation unit 24 receives a detection signal from a temperature sensor (not shown) that detects the temperature of the hydraulic oil whose pressure is controlled by the hydraulic control valve, and calculates the temperature of the hydraulic oil based on the detection signal. . Then, the cycle of the PWM signal (hereinafter, PWM cycle) is determined from the calculated temperature of the hydraulic oil.

PWM信号出力部26は、演算部24により決定されたデューティ比及びPWM周期に従うPWM信号を生成して、スイッチング素子12に出力する。このPWM信号出力部26が、特許請求の範囲に記載のデューティ信号生成手段に相当する。なお、図示していないが、PWM信号出力部26は、出力するPWM信号を規定するためのデータを記憶するためのレジスタを備えており、演算部24によって決定されたデューティ比及び周期は、このレジスタに格納される。そして、PWM信号出力部26は、次回のPWM周期が開始されるときに、レジスタに格納された周期及びデューティ比に従うPWM信号を生成して、スイッチング素子12に出力する。   The PWM signal output unit 26 generates a PWM signal according to the duty ratio and the PWM cycle determined by the calculation unit 24 and outputs the PWM signal to the switching element 12. The PWM signal output unit 26 corresponds to duty signal generation means described in the claims. Although not shown, the PWM signal output unit 26 includes a register for storing data for defining the PWM signal to be output, and the duty ratio and cycle determined by the calculation unit 24 are as follows. Stored in a register. Then, when the next PWM cycle is started, the PWM signal output unit 26 generates a PWM signal according to the cycle and duty ratio stored in the register, and outputs the PWM signal to the switching element 12.

次に、マイコン14における詳細な制御処理について、図2〜図4のフローチャート、及び図5、6のタイミングチャートを参照して説明する。図2のフローチャートは、PWM周期及びデューティ比を決定するとともに、PWM周期とA/D変換間隔とを同期させるための同期処理を示したものである。図3のフローチャートは、PWM周期を算出するためのサブルーチンを示したものである。また、図4のフローチャートは、PWM信号のデューティ比を算出するためのサブルーチンを示したものである。   Next, detailed control processing in the microcomputer 14 will be described with reference to the flowcharts of FIGS. 2 to 4 and the timing charts of FIGS. The flowchart of FIG. 2 shows a synchronization process for determining the PWM period and the duty ratio and synchronizing the PWM period and the A / D conversion interval. The flowchart of FIG. 3 shows a subroutine for calculating the PWM period. The flowchart of FIG. 4 shows a subroutine for calculating the duty ratio of the PWM signal.

本実施形態においては、詳しくは後述するように、PWM周期の一周期の間に、複数回(例えば、4回)の実電流検出が行なわれる。そして、図2の同期処理において、その複数回の実電流検出によって得られた実電流値の平均に相当する平均電流に基づいて、PWM信号のデューティ比が算出されるとともに、作動油の油温に基づいてPWM周期が算出される。   In the present embodiment, as will be described in detail later, actual current detection is performed a plurality of times (for example, four times) during one PWM cycle. In the synchronization process of FIG. 2, the duty ratio of the PWM signal is calculated based on the average current corresponding to the average of the actual current values obtained by the multiple actual current detections, and the oil temperature of the hydraulic oil The PWM period is calculated based on the above.

このように、図2に示す同期処理では、PWM周期とA/D変換間隔との同期に加え、次回のPWM信号の周期及びデューティ比を設定するが、その処理の開始タイミングは、実電流検出タイミング(A/D変換実行タイミング)に基づいて設定されるようになっている。より具体的には、図2の同期処理の開始タイミングは、PWM周期が終了する直前の実電流検出タイミングを除く、実電流検出タイミングにより定められるようになっている。例えば、図6のタイミングチャートでは、PWM周期の一周期の間に4回の実電流検出が行われ、その中の2番目の実電流検出のタイミングに合わせて、図2の同期処理が開始される例を示している。このように、PWM周期が終了する直前の実電流検出タイミングを除く、実電流検出タイミングを、図2の同期処理の開始タイミングとすることにより、専用のタイマ等を用いずとも、適切なタイミングで同期処理を開始させることができる。その結果、次回のPWM周期において、図2に示す同期処理において決定した周期及びデューティ比に従うPWM信号を確実に出力することができるようになる。   As described above, in the synchronization processing shown in FIG. 2, in addition to the synchronization between the PWM cycle and the A / D conversion interval, the cycle and duty ratio of the next PWM signal are set. It is set based on the timing (A / D conversion execution timing). More specifically, the start timing of the synchronization processing in FIG. 2 is determined by the actual current detection timing excluding the actual current detection timing immediately before the end of the PWM cycle. For example, in the timing chart of FIG. 6, actual current detection is performed four times during one PWM period, and the synchronization processing of FIG. 2 is started in accordance with the second actual current detection timing. An example is shown. As described above, the actual current detection timing excluding the actual current detection timing immediately before the end of the PWM cycle is set as the synchronization processing start timing in FIG. 2, so that an appropriate timing can be obtained without using a dedicated timer. Synchronous processing can be started. As a result, in the next PWM cycle, the PWM signal according to the cycle and the duty ratio determined in the synchronization process shown in FIG. 2 can be reliably output.

なお、図6のタイミングチャートでは、2番目の実電流検出タイミングに合わせて、同期処理を開始する例を示した。しかしながら、実電流検出回数が4回である場合、4番目の実電流検出タイミング以外の、1番目、もしくは3番目の実電流検出タイミングに合わせて、同期処理を開始することも可能である。   In the timing chart of FIG. 6, an example is shown in which the synchronization process is started in synchronization with the second actual current detection timing. However, when the number of actual current detections is 4, the synchronization processing can be started in accordance with the first or third actual current detection timing other than the fourth actual current detection timing.

以下、図2のフローチャートに示す同期処理について説明する。まず、ステップS100では、次回のPWM周期の算出が行われる。すなわち、このステップS100の処理が、特許請求の範囲に記載の周期設定手段に相当する。   Hereinafter, the synchronization process shown in the flowchart of FIG. 2 will be described. First, in step S100, the next PWM cycle is calculated. That is, the process of step S100 corresponds to the period setting means described in the claims.

この次回のPWM周期の算出について、図3のフローチャートを参照して説明する。最初に、ステップS200において、油圧制御弁によって油圧が制御される作動油の油温を検出する。つまり、上述したように、温度センサからの検出信号を入力し、その検出信号に基づいて、作動油の温度を算出する。次いで、ステップS210において、検出した油温に基づいて、所定の関数あるいはマップに従って、次回のPWM周期を算出する。   The calculation of the next PWM cycle will be described with reference to the flowchart of FIG. First, in step S200, the oil temperature of the hydraulic oil whose hydraulic pressure is controlled by the hydraulic control valve is detected. That is, as described above, the detection signal from the temperature sensor is input, and the temperature of the hydraulic oil is calculated based on the detection signal. Next, in step S210, the next PWM cycle is calculated according to a predetermined function or map based on the detected oil temperature.

このように油温に基づいてPWM周期を算出する理由は、油温に応じて、作動油の粘性が変化し、その結果、油圧が変化するための応答性が変化するためである。具体的には、油温が低くなるほど、作動油の粘性が高くなるので、作動油の流動に時間を要する。そのため、油温が低くなるほど、PWM周期を長くする。そして、油温が上昇するにつれて、PWM周期が短くなるように、PWM周期を変更する。このように油温の変化に応じてPWM周期を変更することにより、作動油の粘性の変化によらず、高精度な油圧制御をおこなうことができる。   The reason for calculating the PWM period based on the oil temperature in this way is that the viscosity of the hydraulic oil changes according to the oil temperature, and as a result, the responsiveness for changing the oil pressure changes. Specifically, the lower the oil temperature, the higher the viscosity of the hydraulic oil, so it takes time for the hydraulic oil to flow. Therefore, the lower the oil temperature, the longer the PWM cycle. Then, the PWM cycle is changed so that the PWM cycle becomes shorter as the oil temperature rises. In this way, by changing the PWM cycle according to the change in the oil temperature, it is possible to perform highly accurate hydraulic control regardless of the change in the viscosity of the hydraulic oil.

なお、PWM周期は、油温に応じて2段階に切り換えられても良いし、あるいは、3段階以上に切り換えられるようにしても良い。さらに、従来技術のように、リニアソレノイド100に流すべき目標電流値の変化に応じても、PWM周期を変化させるようにしても良い。   Note that the PWM cycle may be switched to two stages according to the oil temperature, or may be switched to three or more stages. Furthermore, the PWM cycle may be changed according to the change in the target current value to be passed through the linear solenoid 100 as in the prior art.

続くステップS110では、ステップS100において算出された次回のPWM周期に基づいて、A/D変換間隔を算出する。つまり、PWM周期の変化と、A/D変換間隔の変化が同期するように、A/D変換間隔を算出する。このステップS110の処理が、特許請求の範囲に記載の間隔設定手段に相当する。   In subsequent step S110, the A / D conversion interval is calculated based on the next PWM cycle calculated in step S100. That is, the A / D conversion interval is calculated so that the change in the PWM cycle and the change in the A / D conversion interval are synchronized. The processing in step S110 corresponds to the interval setting means described in the claims.

本実施形態では、上述したように、PWM周期が、作動油の油温によって変更される。PWM周期が変更されても、実電流検出タイミングの間隔(すなわち、A/D変換間隔)が一定のままであると、PWM周期の一周期当りの実電流値の検出回数が変動してしまう可能性が生じる。その結果、実電流値の検出回数の変動に起因して、実電流値の検出精度が低下し、PWM制御の精度の低下を招く虞がある。   In the present embodiment, as described above, the PWM cycle is changed depending on the oil temperature of the hydraulic oil. Even if the PWM cycle is changed, if the interval of the actual current detection timing (that is, the A / D conversion interval) remains constant, the number of detections of the actual current value per cycle of the PWM cycle may vary. Sex occurs. As a result, due to fluctuations in the number of actual current value detections, the actual current value detection accuracy may decrease, leading to a decrease in PWM control accuracy.

そこで、本実施形態では、上述したように、ステップS110において、ステップS100において算出された次回のPWM周期Tn+1と、現在のPWM周期Tとに基づいて、A/D変換間隔TA/Dを算出する。具体的には、A/D変換間隔TA/Dは、以下の数式1により算出される。
(数1)
A/D={(T+Tn+1)/2}/N
なお、Nは、PWM周期の一周期当りの実電流検出回数である。
Therefore, in the present embodiment, as described above, in step S110, based on the next PWM cycle T n + 1 calculated in step S100 and the current PWM cycle T n , the A / D conversion interval T A / D is calculated. Specifically, the A / D conversion interval T A / D is calculated by the following formula 1.
(Equation 1)
T A / D = {(T n + T n + 1 ) / 2} / N
N is the number of actual current detections per PWM cycle.

数式1により算出したA/D変換間隔TA/Dに従って実電流検出を行うことにより、PWM周期が変更されても、PWM周期の一周期当りの実電流の検出回数を一定に保つことができる。 By performing actual current detection according to the A / D conversion interval T A / D calculated by Equation 1, even if the PWM cycle is changed, the number of detections of the actual current per PWM cycle can be kept constant. .

図6のタイミングチャートを参照して、A/D変換間隔の具体的な算出例について説明する。図6には、PWM周期が、1000μsから880μsに変更された例が示されている。   A specific example of calculating the A / D conversion interval will be described with reference to the timing chart of FIG. FIG. 6 shows an example in which the PWM cycle is changed from 1000 μs to 880 μs.

PWM周期が継続して1000μsであるときには、現在のPWM周期における同期処理の実行から、次回のPWM周期における同期処理の実行までの間、すなわち、1000μsの間に4回の実電流検出を行うべく、数式1により、A/D変換間隔TA/Dは250μsと算出される。 When the PWM period continues to be 1000 μs, the actual current is detected four times during the period from the execution of the synchronization process in the current PWM period until the execution of the synchronization process in the next PWM period, that is, 1000 μs. From Equation 1, the A / D conversion interval T A / D is calculated as 250 μs.

同期処理xにより、それまでのPWM周期Tn(1000μs)とは異なるPWM周期Tn+1(880μs)が算出されると、そのPWM周期の変化に対応すべく、数式1により、A/D変換間隔TA/Dは、235μsと算出される。この場合、現在のPWM周期Tnにおける同期処理の実行タイミングから、次回のPWM周期Tn+1における同期処理の実行タイミングまでの間隔は、980μsとなる。従って、235μsのA/D変換間隔に従って実電流検出を行うことにより、その980μsの間に4回の実電流検出を行うことができる。 When a PWM cycle Tn + 1 (880 μs) different from the previous PWM cycle Tn (1000 μs) is calculated by the synchronization process x, the A / D conversion interval is calculated by Equation 1 in order to cope with the change in the PWM cycle. T A / D is calculated as 235 μs. In this case, the interval from the execution timing of the synchronization process in the current PWM cycle Tn to the execution timing of the synchronization process in the next PWM cycle Tn + 1 is 980 μs. Therefore, by performing actual current detection according to the A / D conversion interval of 235 μs, it is possible to perform actual current detection four times during the 980 μs.

そして、次回のPWM周期Tn+1以降、PWM周期の長さが880μsで安定すると、A/D変換間隔TA/Dは、数式1により、220μsと算出される。従って、この場合も、現在のPWM周期における同期処理の実行から、次回のPWM周期における同期処理の実行までの間に、4回の実電流検出を行うことができる。 After the next PWM cycle Tn + 1, when the PWM cycle length is stabilized at 880 μs, the A / D conversion interval T A / D is calculated by Equation 1 as 220 μs. Therefore, also in this case, the actual current can be detected four times from the execution of the synchronization process in the current PWM cycle to the execution of the synchronization process in the next PWM cycle.

この結果、本実施形態では、図6に示すように、PWM周期が変更されても、PWM周期の一周期の間に、常に一定回数の実電流検出を行うことができるようになる。   As a result, in the present embodiment, as shown in FIG. 6, even if the PWM period is changed, it is possible to always perform a certain number of actual current detections during one period of the PWM period.

続くステップS120では、ステップS110にて算出したA/D変換間隔をA/D変換部22にセットする。これにより、A/D変換部22は、新たにセットされたA/D変換間隔に従って、所定回数分(図6に示す例では4回)のA/D変換(実電流値の検出)を行うことになる。   In the subsequent step S120, the A / D conversion interval calculated in step S110 is set in the A / D conversion unit 22. As a result, the A / D converter 22 performs A / D conversion (detection of actual current value) for a predetermined number of times (four times in the example shown in FIG. 6) according to the newly set A / D conversion interval. It will be.

次のステップS130では、デューティ比の算出が行われる。すなわち、このステップS130の処理が、特許請求の範囲に記載のデューティ比設定手段に相当する。このデューティ比の算出について、図4のフローチャートを参照して説明する。   In the next step S130, the duty ratio is calculated. That is, the processing in step S130 corresponds to the duty ratio setting means described in the claims. The calculation of the duty ratio will be described with reference to the flowchart of FIG.

まず、ステップS300において、目標油圧から目標電流値を算出する。次いで、ステップS310において、ステップS300にて算出された目標電流値に対して、ディザ周期に従いディザ電流を加算もしくは減算して、ディザ目標電流値を算出する。すなわち、図5のタイミングチャートに示すように、目標電流値Iに対して、ディザ周期(10ms)に従って、ディザ電流dizaの加算と減算を繰り返すことにより、周期的に変動するディザ目標電流値を算出する。   First, in step S300, a target current value is calculated from the target hydraulic pressure. Next, in step S310, the dither target current value is calculated by adding or subtracting the dither current in accordance with the dither cycle to the target current value calculated in step S300. That is, as shown in the timing chart of FIG. 5, by periodically adding and subtracting the dither current diza with respect to the target current value I according to the dither cycle (10 ms), the dither target current value that varies periodically is calculated. To do.

このように、目標電流値をディザ周期に従って変動させることにより、プランジャをストローク方向へ微小振動させることができる。その結果、プランジャを静止状態からストロークさせる場合に較べて、摩擦抵抗を低減することができ、プランジャのストロークの応答性を向上することができる。   Thus, the plunger can be minutely vibrated in the stroke direction by changing the target current value according to the dither cycle. As a result, the frictional resistance can be reduced and the response of the plunger stroke can be improved as compared with the case where the plunger is stroked from the stationary state.

続くステップS320では、ディザ周期分の、目標電流と実電流との電流偏差を算出する。具体的な電流偏差の算出方法を以下に説明する。   In the subsequent step S320, a current deviation between the target current and the actual current for the dither cycle is calculated. A specific method for calculating the current deviation will be described below.

本実施形態では、A/D変換部22によってA/D変換間隔毎に実電流値の検出が行われ、その検出結果が、演算部24に保管されている。ステップS320では、まず、同期処理の開始前の、PWM周期の一周期当りの実電流検出回数分の実電流を平均化して、平均電流を算出する。従って、算出された平均電流は、PWM周期の一周期の長さに相当する期間において検出された実電流値を平均したものとなる。その算出された平均電流を、ディザ周期分だけさらに平均化することにより、ディザ周期分の長さにおける実電流の平均値を算出する。   In the present embodiment, the actual current value is detected every A / D conversion interval by the A / D conversion unit 22, and the detection result is stored in the calculation unit 24. In step S320, first, the average current is calculated by averaging the actual currents for the number of actual current detections per period of the PWM cycle before the start of the synchronization process. Therefore, the calculated average current is an average of the actual current values detected in a period corresponding to the length of one PWM period. The calculated average current is further averaged by the dither period, thereby calculating the average value of the actual current in the length of the dither period.

例えば、図5に示す例では、PWM周期は1msであり、上述した実電流の平均電流は、1ms毎に算出される。ただし、実電流の平均電流の算出は、PWM周期の中途で行われるので、平均電流算出の対象となる実電流値は、前回のPWM周期と今回のPWM周期の間に検出されたものが混在することになる。また、図5に示す例では、ディザ周期は10msである。従って、1ms毎に算出された実電流の平均電流の10個分の平均値を求めることにより、ディザ周期分の長さにおける実電流の平均値を求めることができる。   For example, in the example shown in FIG. 5, the PWM cycle is 1 ms, and the average current of the above-described actual current is calculated every 1 ms. However, since the calculation of the average current of the actual current is performed in the middle of the PWM cycle, the actual current value that is the target of the average current calculation is a mixture of those detected between the previous PWM cycle and the current PWM cycle. Will do. In the example shown in FIG. 5, the dither cycle is 10 ms. Accordingly, by obtaining an average value of 10 average currents calculated every 1 ms, the average value of the actual currents in the length of the dither cycle can be obtained.

次に、同じディザ周期分の長さにおける、後述する補正後目標電流の平均値を算出する。そして、ディザ周期分の長さにおける実電流の平均値と、補正後目標電流の平均値との差分を電流偏差として算出する。   Next, an average value of a corrected target current, which will be described later, for the same dither cycle length is calculated. Then, a difference between the average value of the actual current and the average value of the corrected target current in the length corresponding to the dither cycle is calculated as a current deviation.

なお、上述した演算を行うときに、まず、ディザ周期分の実電流値の積算値及び補正後目標電流の積算値を求め、それら積算値の差分を算出し、その後、その差分を所定の係数で除算することにより、電流偏差を求めるようにしても良い。   When performing the above-described calculation, first, the integrated value of the actual current value for the dither cycle and the integrated value of the corrected target current are obtained, the difference between these integrated values is calculated, and then the difference is calculated as a predetermined coefficient. The current deviation may be obtained by dividing by.

このようにして算出された電流偏差は、実電流と目標電流との誤差を示すものとなる。そのため、その誤差を補正すべく、ステップS340において、電流偏差を補正値(hosei)として、ディザ目標電流を補正し、補正後目標電流を算出する。   The current deviation calculated in this way indicates an error between the actual current and the target current. Therefore, in order to correct the error, in step S340, the current deviation is set as a correction value (hosei), the dither target current is corrected, and the corrected target current is calculated.

続くステップS350では、ステップS340にて算出された補正後目標電流と、PWM周期の一周期当りの実電流検出回数分の実電流を平均化した平均電流を用いて、PID演算(フィードバック演算)を行い、PWM信号のデューティ比を算出する。つまり、補正度目標電流と平均電流との差分に関する比例項、積分項、及び微分項に基づき、PWM信号のデューティ比を算出する。これにより、リニアソレノイド100に流れる電流が目標電流に追従するように、スイッチング素子12を制御することが可能なPWM信号のデューティ比を定めることができる。   In subsequent step S350, PID calculation (feedback calculation) is performed using the corrected target current calculated in step S340 and the average current obtained by averaging the actual currents for the number of times of actual current detection per one period of the PWM cycle. And calculate the duty ratio of the PWM signal. That is, the duty ratio of the PWM signal is calculated based on the proportional term, the integral term, and the derivative term relating to the difference between the correction target current and the average current. Thus, the duty ratio of the PWM signal that can control the switching element 12 can be determined so that the current flowing through the linear solenoid 100 follows the target current.

ステップS130の処理が完了すると、ステップS140の処理が実行される。ステップS140では、PWM信号出力部26のレジスタに、算出されたPWM周期及びデューティ比をセットする。これにより、PWM信号出力部26は、次回のPWM周期が開始されるときに、レジスタに格納された周期及びデューティ比に従うPWM信号を生成して、出力することができる。   When the process of step S130 is completed, the process of step S140 is executed. In step S140, the calculated PWM cycle and duty ratio are set in the register of the PWM signal output unit 26. Thereby, the PWM signal output unit 26 can generate and output a PWM signal according to the period and the duty ratio stored in the register when the next PWM period is started.

(第2実施形態)
次に本発明の第2実施形態について説明する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described.

上述した第1実施形態では、図2の同期処理の開始タイミングを、実電流検出タイミング(A/D変換実行タイミング)に基づいて設定した。しかしながら、図2の同期処理の開始タイミングは、PWM周期が開始されてからの経過時間に基づいて設定しても良い。   In the first embodiment described above, the start timing of the synchronization processing in FIG. 2 is set based on the actual current detection timing (A / D conversion execution timing). However, the start timing of the synchronization processing in FIG. 2 may be set based on the elapsed time from the start of the PWM cycle.

このように、同期処理の開始タイミングを、PWM周期が開始されてからの経過時間に基づいて設定する場合の処理の具体例を、図7のフローチャートを用いて説明する。   A specific example of processing in the case where the start timing of the synchronization processing is set based on the elapsed time from the start of the PWM cycle will be described with reference to the flowchart of FIG.

まず、ステップS400では、PWM信号の立ち上りエッジが現れたか否かを判定する。PWM信号の立ち上りエッジが現れたときが、新たなPWM周期の始まりであるため、立ち上りエッジが現れたと判定された場合、ステップS410の処理に進む。一方、立ち上りエッジが現れていない場合には、繰り返しステップS400を実行することにより、立ち上りエッジが現れるまで待機する。   First, in step S400, it is determined whether or not a rising edge of the PWM signal has appeared. Since the time when the rising edge of the PWM signal appears is the start of a new PWM cycle, when it is determined that the rising edge has appeared, the process proceeds to step S410. On the other hand, when the rising edge does not appear, the process waits until the rising edge appears by repeatedly executing step S400.

ステップS410では、図2の同期処理の実行時刻を算出する。具体的には、実行時刻は、PWM周期の始まりからの経過時間として算出され、その経過時間は、新たなPWM周期を2で除算することにより算出される。ただし、「1」より大きい、「2」以外の数値で除算して、同期処理の実行時刻を算出しても良い。   In step S410, the execution time of the synchronization process of FIG. 2 is calculated. Specifically, the execution time is calculated as an elapsed time from the start of the PWM cycle, and the elapsed time is calculated by dividing the new PWM cycle by 2. However, the execution time of the synchronization processing may be calculated by dividing by a numerical value larger than “1” and other than “2”.

続くステップS420では、図示しないタイマに、算出した実行時刻(経過時間)をセットする。そして、ステップS430では、同期処理実行時刻が到来したか否かを判定する。同期処理実行時刻が到来したと判定した場合には、図2の同期処理の実行を開始する。   In the subsequent step S420, the calculated execution time (elapsed time) is set in a timer (not shown). In step S430, it is determined whether or not the synchronization processing execution time has come. When it is determined that the synchronization process execution time has arrived, the execution of the synchronization process in FIG. 2 is started.

このようにしても、同期処理により算出したPWM周期及びデューティ比を、次回のPWM周期のPWM信号に反映することが可能な適切なタイミングで、同期処理の実行を開始することが可能となる。   Even in this case, it is possible to start execution of the synchronization process at an appropriate timing at which the PWM cycle and the duty ratio calculated by the synchronization process can be reflected in the PWM signal of the next PWM cycle.

以上、本発明の好ましい実施形態について説明したが、本発明は上記した実施形態になんら制限されることなく、本発明の主旨を逸脱しない範囲において、種々変形して実施することが可能である。   The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.

例えば、上述した実施形態では、ディザ周期がPWM周期よりも長くなるように設定した例について説明したが、ディザ周期の長さは、PWM周期と同等以上の長さに設定されても良い。   For example, in the above-described embodiment, the example in which the dither cycle is set to be longer than the PWM cycle has been described. However, the length of the dither cycle may be set to be equal to or longer than the PWM cycle.

10…負荷駆動制御装置
12…スイッチング素子
14…マイコン
16…電流検出部、
18…抵抗
20…オペアンプ
22…A/D変換部
24…演算部
26…PWM信号出力部
100…リニアソレノイド
DESCRIPTION OF SYMBOLS 10 ... Load drive control apparatus 12 ... Switching element 14 ... Microcomputer 16 ... Current detection part,
DESCRIPTION OF SYMBOLS 18 ... Resistance 20 ... Operational amplifier 22 ... A / D conversion part 24 ... Operation part 26 ... PWM signal output part 100 ... Linear solenoid

Claims (9)

誘導性負荷(100)の駆動を制御する負荷駆動制御装置であって、
前記誘導性負荷の通電経路上に設けられ、与えられるデューティ信号に従ってオン、オフすることにより、前記デューティ信号のデューティ比に応じた大きさの電流を前記誘導性負荷に通電するスイッチング手段(12)と、
前記誘導性負荷の実電流値を検出する実電流値検出手段(16)と、
前記誘導性負荷の目標電流値と前記実電流値検出手段にて検出される前記実電流値との偏差に基づき、前記実電流値が前記目標電流値に追従するように、前記デューティ信号のデューティ比を設定するデューティ比設定手段(S130)と、
前記デューティ信号の周期の長さを設定する周期設定手段(S100)と、
前記周期設定手段によって設定された周期の長さ、及び、前記デューティ比設定手段によって設定されたデューティ比に従うデューティ信号を生成して、前記スイッチング手段に与えるデューティ信号生成手段(26)と、を備え、
前記実電流値検出手段は、前記デューティ信号の一周期中に、複数回、前記実電流値の検出を行うものであり、前記デューティ比設定手段は、複数回検出された前記実電流値から平均電流に相当する実電流値を算出し、この平均電流に相当する実電流値を用いて前記デューティ比を設定するものであって、
さらに、前記周期設定手段によって前記デューティ信号の周期の長さが設定されたことに同期して、前記周期設定手段により前記デューティ信号の周期が可変されても、前記デューティ信号の一周期当りの実電流の検出回数を一定に保つように、前記実電流値検出手段が実電流の検出を行う間隔を設定する間隔設定手段(S110)を備えることを特徴とする負荷駆動制御装置。
A load drive control device for controlling driving of an inductive load (100), comprising:
Switching means (12) provided on the energization path of the inductive load and energizing the inductive load with a current having a magnitude corresponding to the duty ratio of the duty signal by turning on and off according to a given duty signal When,
An actual current value detecting means (16) for detecting an actual current value of the inductive load;
Based on the deviation between the target current value of the inductive load and the actual current value detected by the actual current value detecting means, the duty of the duty signal is adjusted so that the actual current value follows the target current value. Duty ratio setting means (S130) for setting the ratio;
Period setting means (S100) for setting the period length of the duty signal;
A duty signal generating means (26) for generating a duty signal in accordance with the length of the period set by the period setting means and the duty ratio set by the duty ratio setting means and giving the duty signal to the switching means; ,
The actual current value detecting means detects the actual current value a plurality of times during one period of the duty signal, and the duty ratio setting means averages the actual current value detected a plurality of times. An actual current value corresponding to the current is calculated, and the duty ratio is set using the actual current value corresponding to the average current,
Further, even if the period of the duty signal is varied by the period setting means in synchronization with the period length of the duty signal being set by the period setting means, A load drive control device comprising: interval setting means (S110) for setting an interval at which the actual current value detecting means detects the actual current so as to keep the number of current detections constant.
前記誘導性負荷は、作動油の油圧を調節する油圧制御弁のソレノイドであり、
前記周期設定手段は、前記作動油の油温に基づいて、前記デューティ比の周期を設定することを特徴とする請求項1に記載の負荷駆動制御装置。
The inductive load is a solenoid of a hydraulic control valve that adjusts hydraulic pressure of hydraulic oil,
The load drive control device according to claim 1, wherein the cycle setting means sets the cycle of the duty ratio based on an oil temperature of the hydraulic oil.
前記周期設定手段は、前記デューティ信号の周期毎に、所定のタイミングで、次のデューティ信号の周期の長さを設定し、
前記間隔設定手段は、現在の周期における前記所定のタイミングから次の周期における前記所定のタイミングまでの前記実電流の検出間隔を設定することを特徴とする請求項1又は2に記載の負荷駆動制御装置。
The cycle setting means sets a cycle length of the next duty signal at a predetermined timing for each cycle of the duty signal,
3. The load drive control according to claim 1, wherein the interval setting unit sets the detection interval of the actual current from the predetermined timing in the current cycle to the predetermined timing in the next cycle. apparatus.
前記間隔設定手段は、以下の数式1に従って、実電流の検出間隔Tを算出することを特徴とする請求項3に記載の負荷駆動制御装置。
(数1)
T={(T+Tn+1)/2}/N
なお、Tは現在のデューティ信号の周期、Tn+1は次回のデューティ信号の周期、Nはデューティ信号の周期の一周期当りの実電流検出回数である。
The load drive control device according to claim 3, wherein the interval setting unit calculates an actual current detection interval T according to Equation 1 below.
(Equation 1)
T = {(T n + T n + 1 ) / 2} / N
Here, T n is the current duty signal cycle, T n + 1 is the next duty signal cycle, and N is the number of actual current detections per cycle of the duty signal cycle.
前記所定のタイミングは、前記デューティ信号の周期が終了する直前の前記実電流の検出タイミングを除く、前記実電流の検出タイミングに基づいて定められることを特徴とする請求項3に記載の負荷駆動制御装置。   4. The load drive control according to claim 3, wherein the predetermined timing is determined based on the detection timing of the actual current excluding the detection timing of the actual current immediately before the cycle of the duty signal ends. apparatus. 時間を計測するタイマ手段を備え、
前記所定のタイミングは、前記タイマ手段によって計測される、前記デューティ信号の周期が開始されてからの経過時間に基づいて定められることを特徴とする請求項3に記載の負荷駆動制御装置。
A timer means for measuring time,
4. The load drive control device according to claim 3, wherein the predetermined timing is determined based on an elapsed time measured by the timer unit and starting from a cycle of the duty signal.
前記目標電流値は、前記デューティ信号の周期と同等以上の長さを持つディザ周期において、目標とすべき電流値を中心として、増加、減少が繰り返されることを特徴とする請求項1乃至6のいずれか1項に記載の負荷駆動制御装置。   7. The target current value is repeatedly increased and decreased around a current value to be targeted in a dither cycle having a length equal to or longer than the cycle of the duty signal. The load drive control apparatus of any one of Claims. 前記ディザ周期分の、前記実電流値の平均電流に相当するディザ平均実電流値を算出するとともに、前記ディザ平均実電流値と前記目標とすべき電流値との偏差を算出する偏差算出手段(S320)と、
前記偏差算出手段によって算出された偏差を用いて、前記目標電流値を補正する補正手段(S330)と、を備えることを特徴とする請求項7に記載の負荷駆動制御装置。
A deviation calculating means for calculating a dither average actual current value corresponding to the average current of the actual current value for the dither cycle, and calculating a deviation between the dither average actual current value and the target current value. S320),
The load drive control device according to claim 7, further comprising a correction unit (S330) that corrects the target current value by using the deviation calculated by the deviation calculation unit.
前記偏差算出手段は、前記デューティ信号の周期に相当する期間毎に前記偏差を算出するとともに、前記補正手段は、前記目標電流値の補正を更新することを特徴とする請求項8に記載の負荷駆動制御装置。   The load according to claim 8, wherein the deviation calculating unit calculates the deviation for each period corresponding to a period of the duty signal, and the correction unit updates the correction of the target current value. Drive control device.
JP2014096208A 2014-05-07 2014-05-07 Load drive control device Active JP6295810B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014096208A JP6295810B2 (en) 2014-05-07 2014-05-07 Load drive control device
DE102015208090.0A DE102015208090B4 (en) 2014-05-07 2015-04-30 LOAD DRIVE CONTROL DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014096208A JP6295810B2 (en) 2014-05-07 2014-05-07 Load drive control device

Publications (2)

Publication Number Publication Date
JP2015216421A JP2015216421A (en) 2015-12-03
JP6295810B2 true JP6295810B2 (en) 2018-03-20

Family

ID=54336768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014096208A Active JP6295810B2 (en) 2014-05-07 2014-05-07 Load drive control device

Country Status (2)

Country Link
JP (1) JP6295810B2 (en)
DE (1) DE102015208090B4 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6632488B2 (en) * 2016-07-20 2020-01-22 株式会社デンソーテン CONTROL DEVICE AND AD CONVERSION CONTROL METHOD
JP6625514B2 (en) 2016-11-24 2019-12-25 株式会社デンソーテン Load drive control device
DE102017210607A1 (en) * 2017-06-23 2018-12-27 Robert Bosch Gmbh Method and device for driving a coil-movable part and solenoid valve
CN109240178B (en) * 2018-11-12 2021-04-23 中车永济电机有限公司 Function board card for multiple input and output signals

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4091163B2 (en) * 1998-04-21 2008-05-28 株式会社デンソー Signal input device, control device, and current control device for inductive load
JP2002262549A (en) 2001-02-28 2002-09-13 Denso Corp Power control device for inductive load
DE10242790A1 (en) * 2002-09-14 2004-03-25 Robert Bosch Gmbh Regulating current in electromagnetic final control element, e.g. for motor vehicle gearbox control, involves varying pulse width modulated switching signal on/off, superimposing low frequency dither function
JP3806701B2 (en) * 2003-03-26 2006-08-09 株式会社クボタ Current control device and current control method for actuator for electronic governor of engine
JP4378637B2 (en) * 2005-03-04 2009-12-09 アイシン精機株式会社 Fluid control valve and valve timing control device
JP5765572B2 (en) * 2011-09-21 2015-08-19 アイシン精機株式会社 Solenoid energization control device

Also Published As

Publication number Publication date
DE102015208090B4 (en) 2022-02-03
JP2015216421A (en) 2015-12-03
DE102015208090A1 (en) 2015-11-12

Similar Documents

Publication Publication Date Title
JP6295810B2 (en) Load drive control device
US20170062110A1 (en) Dither current power supply control method and dither current power supply control apparatus
JP6632488B2 (en) CONTROL DEVICE AND AD CONVERSION CONTROL METHOD
JP2014197655A (en) Current controller and current control program
US9906125B2 (en) Power circuit with switching frequency control circuit and control method thereof
JP2019159687A (en) Flow controller, flow control method, and program for flow controllers
JP2015005117A (en) Load drive control device
CN107077104B (en) Control device
JP2006252416A (en) Inductive load controller
JP6546754B2 (en) Control device and control method
JP2015062095A (en) Load drive control device
JPWO2017043648A1 (en) Mass flow controller
JP6589765B2 (en) Load drive control device
KR101700082B1 (en) Air-fuel ratio sensor control device
JP6339043B2 (en) Load current detection device and load current detection method
CN113464706A (en) Control device and control method for linear solenoid valve
JP2015012279A (en) Load drive control apparatus
JP5729321B2 (en) Linear solenoid control device
JP5915054B2 (en) Solenoid energization control device
JP6344070B2 (en) Solenoid control device
JP6264185B2 (en) Electric load drive
JP7354901B2 (en) Air fuel ratio sensor control device
JP2014236122A (en) Energization control device
JP5469566B2 (en) Thermal flow meter
JP6251993B2 (en) Solenoid state determination device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170627

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180123

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180205

R151 Written notification of patent or utility model registration

Ref document number: 6295810

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250