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
JP5093040B2 - Solenoid driver - Google Patents
[go: Go Back, main page]

JP5093040B2 - Solenoid driver - Google Patents

Solenoid driver Download PDF

Info

Publication number
JP5093040B2
JP5093040B2 JP2008260072A JP2008260072A JP5093040B2 JP 5093040 B2 JP5093040 B2 JP 5093040B2 JP 2008260072 A JP2008260072 A JP 2008260072A JP 2008260072 A JP2008260072 A JP 2008260072A JP 5093040 B2 JP5093040 B2 JP 5093040B2
Authority
JP
Japan
Prior art keywords
signal
counter
duty
period
solenoid
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 - Fee Related
Application number
JP2008260072A
Other languages
Japanese (ja)
Other versions
JP2010093454A (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 JP2008260072A priority Critical patent/JP5093040B2/en
Publication of JP2010093454A publication Critical patent/JP2010093454A/en
Application granted granted Critical
Publication of JP5093040B2 publication Critical patent/JP5093040B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Description

本発明は、ソレノイドコイルをデューティ駆動するソレノイドドライバに関するものである。   The present invention relates to a solenoid driver for duty driving a solenoid coil.

従来のソレノイドドライバは、例えば特許文献1に記載されるように、デューティ駆動されるソレノイドコイルに流れる電流と、供給すべき目標値との差を偏差積分し、この偏差積分の出力とのこぎり波とを比較することにより、ソレノイドコイルを駆動するデューティ信号を生成出力していた。   For example, as described in Patent Document 1, a conventional solenoid driver integrates a difference between a current flowing through a solenoid coil driven by a duty and a target value to be supplied, and a sawtooth wave with an output of the deviation integration. The duty signal for driving the solenoid coil is generated and output.

このソレノイドドライバは、オペアンプやコンパレータなどを用いたアナログ回路として構成されている。このため、回路面積が大きくなるとともに、精度を確保するために、抵抗値などの調整も必要であった。   This solenoid driver is configured as an analog circuit using an operational amplifier or a comparator. For this reason, the circuit area is increased, and adjustment of the resistance value and the like is necessary to ensure accuracy.

このため、特許文献2には、ソレノイドドライバをデジタル回路により構成することが示されている。この特許文献2のソレノイドドライバは、2つのカウンタを備えている。一方のカウンタは、マイコンからカウント初期値が与えられ、カウント値がオーバーフローするまでカウントを続ける。このカウント期間中、その一方のカウンタはハイレベルのキャリー信号を出力し、オーバーフロー後は、そのキャリー信号がローレベルになる。他方のカウンタは、デューティ駆動の周期を決定するもので、常にゼロからカウントを開始し、オーバーフローすると、自身をリセットして再びゼロからのカウントを開始するとともに、上述した一方のカウンタにロード信号を出力する。このロード信号により、一方のカウンタは、マイコンからの初期値が再セットされ、再度、その初期値からカウントを開始する。   For this reason, Patent Document 2 discloses that the solenoid driver is constituted by a digital circuit. The solenoid driver disclosed in Patent Document 2 includes two counters. One counter is given a count initial value from the microcomputer and continues counting until the count value overflows. During this counting period, one of the counters outputs a high level carry signal, and after the overflow, the carry signal becomes low level. The other counter determines the duty drive cycle, and always starts counting from zero. When it overflows, it resets itself and starts counting from zero again, and sends a load signal to one of the counters described above. Output. With this load signal, one counter resets the initial value from the microcomputer and starts counting from the initial value again.

2つのカウンタが、上述した動作を繰り返すことにより、一方のカウンタのキャリー信号はハイとローとを繰り返し、そのハイとローとの比により、ソレノイドコイルがデューティ駆動される。
実開昭54−23255号公報 特開平5−35303号公報
When the two counters repeat the above-described operation, the carry signal of one counter repeats high and low, and the solenoid coil is duty driven by the ratio of the high and low.
Japanese Utility Model Publication No. 54-23255 JP-A-5-35303

上述した特許文献2に記載されるように、ソレノイドドライバをデジタル回路として構成することにより、回路規模の減少などの効果を得ることができる。   As described in Patent Document 2 described above, by configuring the solenoid driver as a digital circuit, effects such as a reduction in circuit scale can be obtained.

ただし、特許文献2に記載のソレノイドドライバでは、ソレノイドコイルがデューティ駆動されるときに誤差要因となる、例えば、周囲温度や電源電圧などの外部環境因子について、なんら考慮されていない。このため、マイコンからのデータに従ってソレノイドコイルのデューティ駆動を行なっても、所望の電流量が得られない虞がある。   However, in the solenoid driver described in Patent Document 2, no consideration is given to external environmental factors such as ambient temperature and power supply voltage, which cause errors when the solenoid coil is driven by duty. For this reason, even if the solenoid coil is duty-driven in accordance with data from the microcomputer, there is a possibility that a desired current amount cannot be obtained.

本発明は、上述した点に鑑みてなされたものであり、ソレノイドドライバをデジタル回路で構成しつつ、ソレノイドコイルのデューティ駆動において誤差要因となる外部環境因子の大きさに基づいて、駆動デューティ比を補正することが可能なソレノイドドライバを提供することを目的とする。   The present invention has been made in view of the above-described points. The drive duty ratio is determined based on the magnitude of an external environment factor that causes an error in the duty drive of the solenoid coil while the solenoid driver is configured by a digital circuit. An object of the present invention is to provide a solenoid driver that can be corrected.

上記目的を達成するために、請求項1に記載のソレノイドドライバは、
ソレノイドコイルがデューティ駆動されるときに、誤差要因となる外部環境因子を測定する測定手段と、
目標デューティ比を示す目標デューティ信号に基づき、その目標デューティ信号のオン期間とオフ期間とのいずれかに応じた期間をカウントすることにより、目標デューティ信号のオン期間に応じた期間に第1のオン信号を出力する第1のカウンタと、
測定手段による測定結果に基づいて、第1のカウンタから出力されるオン信号に引き続いて出力すべき第2のオン信号の長さを算出する算出手段と、
算出手段が算出した第2のオン信号の長さに相当する期間をカウントすることにより、第1のカウンタが第1オン信号の出力を終了した直後から第2のオン信号を出力する第2のカウンタと、
第1のカウンタが出力する第1のオン信号と、第2のカウンタが出力する第2のオン信号とを組み合わせて、ソレノイドコイルをデューティ駆動するためのデューティ駆動信号を出力する出力手段と、を備えることを特徴とする。
In order to achieve the above object, the solenoid driver according to claim 1 comprises:
Measuring means for measuring an external environmental factor that causes an error when the solenoid coil is driven by a duty;
Based on the target duty signal indicating the target duty ratio, by counting the period according to either the on period or the off period of the target duty signal, the first on-period is counted during the period according to the on period of the target duty signal. A first counter for outputting a signal;
Calculation means for calculating the length of the second on signal to be output subsequent to the on signal output from the first counter based on the measurement result by the measuring means;
By counting a period corresponding to the length of the second on signal calculated by the calculating means, the second counter outputs the second on signal immediately after the first counter finishes outputting the first on signal. A counter,
Output means for outputting a duty drive signal for duty driving the solenoid coil by combining the first on signal output from the first counter and the second on signal output from the second counter; It is characterized by providing.

請求項1に記載のソレノイドドライバは、上述したように、第1のカウンタが第1オン信号の出力を終了した直後から、外部環境因子の測定結果に基づき算出された長さの第2のオン信号を出力する第2のカウンタを有している。この第2のオン信号は、出力手段により、第1のオン信号と組み合わされ、ソレノイドコイルをデューティ駆動するためのデューティ駆動信号とされる。従って、請求項1に記載のソレノイドドライバによれば、ソレノイドドライバをデジタル回路で構成しつつ、ソレノイドコイルのデューティ駆動において誤差要因となる外部環境因子の大きさに基づいて、駆動デューティ比を補正することができる。   As described above, the solenoid driver according to claim 1 has a second on-state having a length calculated based on the measurement result of the external environmental factor immediately after the first counter finishes outputting the first on-signal. A second counter for outputting a signal; This second ON signal is combined with the first ON signal by the output means to be a duty drive signal for driving the solenoid coil in a duty manner. Therefore, according to the solenoid driver of the first aspect, the drive duty ratio is corrected based on the magnitude of the external environmental factor that causes an error in the duty drive of the solenoid coil while the solenoid driver is constituted by a digital circuit. be able to.

請求項2に記載したように、外部環境因子は、ソレノイドコイルの温度であって、測定手段は、ソレノイドコイルの温度を測定しても良い。ソレノイドコイルの温度が上昇することによりソレノイドコイルの抵抗値が変化し、ソレノイドコイルに流れる電流値に影響を及ぼすためである。   According to a second aspect of the present invention, the external environmental factor is the temperature of the solenoid coil, and the measuring means may measure the temperature of the solenoid coil. This is because when the temperature of the solenoid coil rises, the resistance value of the solenoid coil changes and affects the current value flowing through the solenoid coil.

具体的には、請求項3に記載したように、算出手段は、測定手段によって測定される温度が高くなるほど、第2のオン信号の長さをより長くするように算出する。これにより、温度上昇によりソレノイドコイルの抵抗が増加しても、電流値の減少を抑制することができる。   Specifically, as described in claim 3, the calculating means calculates the length of the second ON signal to be longer as the temperature measured by the measuring means is higher. Thereby, even if the resistance of the solenoid coil increases due to a temperature rise, a decrease in the current value can be suppressed.

また、請求項4に記載したように、外部環境因子は、電源電圧であって、測定手段は、ソレノイドドライバに供給される電源電圧を測定しても良い。電源電圧が変動すると、駆動デューティ比が一定であっても、ソレノイドコイルの電流値が変動するためである。   According to a fourth aspect of the present invention, the external environmental factor is a power supply voltage, and the measuring means may measure the power supply voltage supplied to the solenoid driver. This is because when the power supply voltage fluctuates, the current value of the solenoid coil fluctuates even if the drive duty ratio is constant.

具体的には、請求項5に記載したように、算出手段は、測定手段によって測定される電源電圧が大きくなるほど、第2のオン信号の長さをより短くするように算出する。これにより、電源電圧の変動に伴うソレノイドコイルの電流値の変動を抑制することができる。   Specifically, as described in claim 5, the calculation unit calculates the length of the second ON signal to be shorter as the power supply voltage measured by the measurement unit increases. Thereby, the fluctuation | variation of the electric current value of the solenoid coil accompanying the fluctuation | variation of a power supply voltage can be suppressed.

請求項6に記載したように、第1のカウンタと、第2のカウンタとは、異なるクロック信号に基づいて、カウント動作を行うようにしても良い。例えば、第2のカウンタのクロック周波数を、第1のカウンタのクロック周波数よりも高くすることにより、第1のオン信号の分解能よりも第2のオン信号の分解能を高めることができ、より緻密に駆動デューティ比を補正することができる。   As described in claim 6, the first counter and the second counter may perform a counting operation based on different clock signals. For example, by making the clock frequency of the second counter higher than the clock frequency of the first counter, the resolution of the second on signal can be increased more precisely than the resolution of the first on signal. The drive duty ratio can be corrected.

以下、本発明の実施形態によるソレノイドドライバを図面に基づいて説明する。図1は、本実施形態によるソレノイドドライバの全体構成を示す構成図である。   Hereinafter, a solenoid driver according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing the overall configuration of the solenoid driver according to the present embodiment.

図1において、マイコン10は、各種のセンサ信号などに基づいて、ソレノイドコイル60によって駆動される駆動部材(図示せず)の駆動量を定め、その駆動量を実現するための目標デューティ信号を出力する。   In FIG. 1, a microcomputer 10 determines a driving amount of a driving member (not shown) driven by a solenoid coil 60 based on various sensor signals and outputs a target duty signal for realizing the driving amount. To do.

マイコン10から出力された目標デューティ信号はデジタル/デジタル変換部(D/D変換部)20に入力される。D/D変換部20は、第1〜第3カウンタ23,25,21と、レジスタ22と、OR回路24と、デューティ調整ロジック部26とから構成されている。   The target duty signal output from the microcomputer 10 is input to the digital / digital conversion unit (D / D conversion unit) 20. The D / D conversion unit 20 includes first to third counters 23, 25, 21, a register 22, an OR circuit 24, and a duty adjustment logic unit 26.

D/D変換部20において、第3カウンタ21が、マイコン10からの目標デューティ信号を受け、この第3カウンタは、例えば目標デューティ信号がオンとなっている間(オン期間)、第3クロック信号に従って、ゼロからカウントアップ動作を行う。従って、第3カウンタ21のカウント値は、目標デューティ信号におけるオン期間に対応したものとなる。   In the D / D conversion unit 20, the third counter 21 receives the target duty signal from the microcomputer 10, and for example, the third counter receives the third clock signal while the target duty signal is on (on period). The count-up operation is performed from zero. Therefore, the count value of the third counter 21 corresponds to the ON period in the target duty signal.

レジスタ22は、第3カウンタ21のカウント値を保存するものである。すなわち、第3カウンタ21のカウント値がレジスタ22に書き込まれ、レジスタ22は、その書き込まれたカウント値を保持する。なお、レジスタ22への書き込みは、少なくとも第3カウンタ21のカウント動作が停止したタイミングで行なわれる。   The register 22 stores the count value of the third counter 21. That is, the count value of the third counter 21 is written into the register 22, and the register 22 holds the written count value. Note that writing to the register 22 is performed at least when the count operation of the third counter 21 is stopped.

第1カウンタ23は、第3カウンタ21のカウント動作が停止したタイミングで、レジスタ22に保持されたカウント値が初期値としてセットされると、第1クロック信号に従って、その初期値からゼロまでカウントダウン動作を行うものである。そして、第1カウンタ23は、そのカウントダウン動作を行っている間は、ハイレベルの信号を出力し、カウントダウン動作が停止するとローレベルの信号を出力する。   The first counter 23 counts down from the initial value to zero according to the first clock signal when the count value held in the register 22 is set as the initial value at the timing when the counting operation of the third counter 21 is stopped. Is to do. The first counter 23 outputs a high level signal while performing the countdown operation, and outputs a low level signal when the countdown operation stops.

なお、上述した例では、第3カウンタ21がカウントアップ動作を行い、第1カウンタ23がカウントダウン動作を行ったが、逆に、第3カウンタ21が最大値からカウントダウン動作を行い、第1カウンタ23がセットされた初期値から最大値までカウントアップ動作を行っても良い。この場合、第1カウンタ23がカウントアップ動作を行っている間ハイレベルの信号を出力し、カウントアップ動作が停止するとローレベルの信号を出力するようにすれば良い。   In the above-described example, the third counter 21 performs the count-up operation and the first counter 23 performs the count-down operation. Conversely, the third counter 21 performs the count-down operation from the maximum value, and the first counter 23 The count-up operation may be performed from the initial value at which is set to the maximum value. In this case, a high level signal may be output while the first counter 23 is performing the count up operation, and a low level signal may be output when the count up operation is stopped.

第2カウンタ25は、第1カウンタ23のカウント動作が停止したタイミングで、第1カウンタ23からカウント停止信号を受け、そのカウント停止信号に応答して、カウント動作を開始する。この第2カウンタ25には、デューティ調整ロジック部26によって算出されたカウント値がセットされる。第2カウンタ25は、第2クロック信号に従って、そのセットされたカウント値からカウントダウン動作(あるいはカウントアップ動作)を行う。そして、第2カウンタ25はカウントダウン動作を行っている間、ハイレベルの信号を出力し、カウントダウン動作が停止すると、ローレベルの信号を出力する。   The second counter 25 receives the count stop signal from the first counter 23 at the timing when the count operation of the first counter 23 is stopped, and starts the count operation in response to the count stop signal. The count value calculated by the duty adjustment logic unit 26 is set in the second counter 25. The second counter 25 performs a count-down operation (or count-up operation) from the set count value in accordance with the second clock signal. The second counter 25 outputs a high level signal while performing the countdown operation, and outputs a low level signal when the countdown operation is stopped.

デューティ調整ロジック部26は、ソレノイドコイル60の温度を検出する温度検出部27、及び電源電圧(+VB)を検出する電圧検出部28の検出結果に基づいて、第2カウンタ25がカウントダウン動作(あるいはカウントアップ動作)すべき期間を算出する。そして、算出した期間に応じたカウント値を、第2カウンタ25にセットする。   In the duty adjustment logic unit 26, the second counter 25 counts down (or counts down) based on the detection results of the temperature detection unit 27 that detects the temperature of the solenoid coil 60 and the voltage detection unit 28 that detects the power supply voltage (+ VB). (Up operation) is calculated. Then, a count value corresponding to the calculated period is set in the second counter 25.

具体的には、デューティ調整ロジック部26は、図2に示すように、ソレノイドコイル60の温度が高くなるほど、第2カウンタ25がカウントダウン動作する期間が長くなるように、第2カウンタのカウント値、すなわちデューティ補正値を算出する。ソレノイドコイル60の温度が上昇するほどソレノイドコイル60の抵抗値が増加する。すると、ソレノイドコイル60を流れる電流値が減少する虞が生じる。それに対して、本実施形態のように、ソレノイドコイル60の温度が高くなるほど、第2カウンタ25のカウント動作の期間を長くすることにより、温度上昇によりソレノイドコイル60の抵抗が増加しても、ソレノイドコイル60を流れる電流値の減少を抑制することができる。   Specifically, as shown in FIG. 2, the duty adjustment logic unit 26 increases the count value of the second counter so that the period during which the second counter 25 counts down increases as the temperature of the solenoid coil 60 increases. That is, the duty correction value is calculated. As the temperature of the solenoid coil 60 increases, the resistance value of the solenoid coil 60 increases. As a result, the current value flowing through the solenoid coil 60 may decrease. In contrast to this, as the temperature of the solenoid coil 60 becomes higher as in the present embodiment, the period of the count operation of the second counter 25 is lengthened, so that even if the resistance of the solenoid coil 60 increases due to the temperature rise, the solenoid A decrease in the value of current flowing through the coil 60 can be suppressed.

なお、温度検出部27は、例えば、ダイオードの立ち上がり電圧Vfが、温度によって変化することを利用し、ソレノイドコイル60の近傍に設けられたダイオードの立ち上がり電圧Vfの変化から温度を検出したり、温度係数の大きい抵抗に定電流を流し、その両端電圧の差から温度を検出したりするものである。   The temperature detector 27 detects the temperature from the change in the rise voltage Vf of the diode provided in the vicinity of the solenoid coil 60, for example, using the fact that the rise voltage Vf of the diode changes with temperature, A constant current is passed through a resistor having a large coefficient, and the temperature is detected from the difference between the voltages at both ends.

また、デューティ調整ロジック部26は、図3に示すように、電圧検出部28によって検出される電源電圧(+VB)が高くなるほど、第2カウンタ25がカウントダウン動作する期間が短くなるように、第2カウンタのカウント値、すなわちデューティ補正値を算出する。電源電圧が変動すると、駆動デューティ比が一定であっても、ソレノイドコイルの電流値が変動する虞がある。上述したように、電源電圧(+VB)が高くなるほど、第2カウンタ25のカウント動作の期間を短くすることにより、電源電圧(+VB)の変動に伴うソレノイドコイル60の電流値の変動を抑制することができる。   Further, as shown in FIG. 3, the duty adjustment logic unit 26 is configured so that as the power supply voltage (+ VB) detected by the voltage detection unit 28 increases, the period during which the second counter 25 performs the countdown operation is shortened. The count value of the counter, that is, the duty correction value is calculated. When the power supply voltage fluctuates, the current value of the solenoid coil may fluctuate even if the drive duty ratio is constant. As described above, the higher the power supply voltage (+ VB), the shorter the count operation period of the second counter 25, thereby suppressing fluctuations in the current value of the solenoid coil 60 due to fluctuations in the power supply voltage (+ VB). Can do.

OR回路24は、第1カウンタ23から出力される信号と、第2カウンタ25から出力される信号とを合成して、ソレノイド駆動部30に出力する。ソレノイド駆動部30は、OR回路24から出力された駆動デューティ信号の電圧レベルの変換などを行い、MOSトランジスタ40のゲートに駆動デューティ信号を印加する。これにより、MOSトランジスタ40は、駆動デューティ信号に従ってオンオフされ、ソレノイドコイル60がデューティ駆動される。なお、ダイオード50は還流ダイオードである。   The OR circuit 24 combines the signal output from the first counter 23 and the signal output from the second counter 25 and outputs the resultant signal to the solenoid driving unit 30. The solenoid drive unit 30 converts the voltage level of the drive duty signal output from the OR circuit 24 and applies the drive duty signal to the gate of the MOS transistor 40. As a result, the MOS transistor 40 is turned on / off according to the drive duty signal, and the solenoid coil 60 is duty-driven. The diode 50 is a freewheeling diode.

本実施形態では、上述したように、第2カウンタ25は、第1カウンタ23がカウントを停止したタイミングでカウント動作を開始し、そのカウント動作を行っている間はハイレベルの信号を出力する。このため、OR回路24が出力する駆動デューティ信号は、図4(a)〜(c)に示すように、第1カウンタ23がカウント動作を開始したときにハイレベル(オン)になり、第2カウンタ25がカウント動作を終了したときにローレベル(オフ)となる。   In the present embodiment, as described above, the second counter 25 starts the count operation at the timing when the first counter 23 stops counting, and outputs a high level signal while the count operation is being performed. For this reason, as shown in FIGS. 4A to 4C, the drive duty signal output from the OR circuit 24 becomes high level (ON) when the first counter 23 starts the count operation, and the second When the counter 25 finishes the counting operation, it becomes low level (off).

このように、本実施形態では、マイコン10から出力された目標デューティ信号に応じてオンオフする第1カウンタ23の出力を、第2カウンタ25の出力で補正している。第2カウンタ25の出力がオンとなる第2カウンタ25のカウント期間は、ソレノイドコイル60のデューティ駆動における誤差要因となる、ソレノイドコイル60の温度や電源電圧などの外部環境因子によって定められる。このため、本実施形態によれば、ソレノイドドライバをデジタル回路で構成しつつ、ソレノイドコイル60のデューティ駆動において誤差要因となる外部環境因子に基づいて、駆動デューティ比を補正することができる。   As described above, in this embodiment, the output of the first counter 23 that is turned on / off according to the target duty signal output from the microcomputer 10 is corrected by the output of the second counter 25. The count period of the second counter 25 in which the output of the second counter 25 is turned on is determined by external environmental factors such as the temperature of the solenoid coil 60 and the power supply voltage, which cause an error in duty driving of the solenoid coil 60. For this reason, according to the present embodiment, the drive duty ratio can be corrected based on the external environment factor that is an error factor in the duty drive of the solenoid coil 60 while the solenoid driver is constituted by a digital circuit.

また、本実施形態では、第1カウンタ23と、第2カウンタ25とは、異なるクロック信号に基づいて、カウント動作を行うように構成されている。この際、例えば、第2カウンタ25のクロック周波数を、第1カウンタ23のクロック周波数よりも高くすると、第1カウンタ23よりも第2カウンタ25の方が、1カウント当たりの期間が短くなる。この結果、第1カウンタ23の出力におけるオン期間の分解能よりも、第2カウンタ25の出力におけるオン期間の分解能を高めることができ、より緻密に駆動デューティ比を補正することができる。   In the present embodiment, the first counter 23 and the second counter 25 are configured to perform a counting operation based on different clock signals. At this time, for example, if the clock frequency of the second counter 25 is made higher than the clock frequency of the first counter 23, the second counter 25 has a shorter period per count than the first counter 23. As a result, the on-period resolution at the output of the second counter 25 can be increased more than the on-period resolution at the output of the first counter 23, and the drive duty ratio can be corrected more precisely.

さらに、本実施形態では、第1カウンタ23と第3カウンタ21も、異なるクロック信号に従ってカウント動作を行なう。この結果、D/D変換部20に入力される目標デューティ信号のデューティ比に対して、D/D変換部20から出力される駆動デューティ信号のデューティ比を任意に調整可能となる。図5は、目標デューティ信号と、駆動デューティ信号との関係の一例を示す図である。図5に示すように、本実施形態では、目標デューティ信号に対して駆動デューティ信号のデューティ比を任意に調整可能であるため、例えば、MOSトランジスタ40の電流−電圧特性などに応じて、ソレノイドコイル60に最適な電流が流れるように、駆動デューティ信号のデューティ比を調整することができる。   Further, in the present embodiment, the first counter 23 and the third counter 21 also perform a counting operation according to different clock signals. As a result, the duty ratio of the drive duty signal output from the D / D converter 20 can be arbitrarily adjusted with respect to the duty ratio of the target duty signal input to the D / D converter 20. FIG. 5 is a diagram illustrating an example of the relationship between the target duty signal and the drive duty signal. As shown in FIG. 5, in this embodiment, since the duty ratio of the drive duty signal can be arbitrarily adjusted with respect to the target duty signal, for example, according to the current-voltage characteristics of the MOS transistor 40, the solenoid coil The duty ratio of the drive duty signal can be adjusted so that the optimum current flows in the drive duty signal 60.

以上、本発明の好ましい実施形態について説明したが、本発明は上述した実施形態に何ら制限されることなく、本発明の主旨を逸脱しない範囲において、種々変形して実施することができる。   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.

例えば、上述した実施形態では、第3カウンタ21は、目標デューティ信号がオンしている間、カウント動作を行うものであった。しかしながら、第3カウンタ21は、目標デューティ信号がオフしている間、カウント動作を行うものであっても良い。この場合、第1カウンタ23も、目標デューティ信号のオフ期間に相当する期間だけカウント動作を行うことになるので、第1カウンタ23を、カウント動作を行っているときローレベルの信号を出力し、カウント動作を停止しているときハイレベルの信号を出力するように構成する。さらに、第1カウンタ23がカウントを開始したときに、第1カウンタ23から第2カウンタ25にカウント開始信号を出力させ、第2カウンタ25は、このカウント開始信号に応じてカウント動作を開始するように構成する。   For example, in the above-described embodiment, the third counter 21 performs a counting operation while the target duty signal is on. However, the third counter 21 may perform a counting operation while the target duty signal is off. In this case, since the first counter 23 also performs the counting operation only during the period corresponding to the off period of the target duty signal, the first counter 23 outputs a low level signal during the counting operation, A high level signal is output when the count operation is stopped. Further, when the first counter 23 starts counting, the first counter 23 causes the second counter 25 to output a count start signal, and the second counter 25 starts the count operation in response to the count start signal. Configure.

このような構成によっても、目標デューティ信号のオン期間に対応する期間だけ、第1カウンタ23からハイレベルの信号が出力され、それに引き続いて、第2カウンタ25からハイレベルの信号を出力させることができる。   Even with such a configuration, a high level signal is output from the first counter 23 only during a period corresponding to the ON period of the target duty signal, and subsequently, a high level signal is output from the second counter 25. it can.

また、上述した実施形態では、ソレノイドコイル60の温度と、電源電圧とに基づいて、デューティ補正値として、第2カウンタ25のカウンタ初期値を算出した。しかしながら、ソレノイドコイル60の温度と、電源電圧との少なくとも一方に基づいて、デューティ補正値を算出するようにしても良い。   In the above-described embodiment, the counter initial value of the second counter 25 is calculated as the duty correction value based on the temperature of the solenoid coil 60 and the power supply voltage. However, the duty correction value may be calculated based on at least one of the temperature of the solenoid coil 60 and the power supply voltage.

実施形態によるソレノイドドライバの全体構成を示す構成図である。It is a block diagram which shows the whole structure of the solenoid driver by embodiment. デューティ調整ロジック部における、ソレノイドコイルの温度に基づいて算出されるデューティ補正値の一例を示す特性図である。It is a characteristic figure showing an example of a duty correction value computed based on the temperature of a solenoid coil in a duty adjustment logic part. デューティ調整ロジック部における、電源電圧に基づいて算出されるとデューティ補正値の一例を示す特性図である。FIG. 10 is a characteristic diagram illustrating an example of a duty correction value when calculated based on a power supply voltage in a duty adjustment logic unit. (a)は、第1カウンタの出力を示し、(b)は第2カウンタの出力を示し、(c)は、第1及び第2カウンタの出力に基づきOR回路から出力される駆動デューティ信号を示すグラフである。(A) shows the output of the first counter, (b) shows the output of the second counter, and (c) shows the drive duty signal output from the OR circuit based on the outputs of the first and second counters. It is a graph to show. 目標デューティ信号と、駆動デューティ信号との関係の一例を示す図である。It is a figure which shows an example of the relationship between a target duty signal and a drive duty signal.

符号の説明Explanation of symbols

10 マイコン
20 D/D変換部
21 第3カウンタ
22 レジスタ
23 第1カウンタ
24 OR回路
25 第2カウンタ
26 デューティ調整ロジック
27 温度検出部
28 電圧検出部
30 ソレノイド駆動部
40 MOSトランジスタ
50 還流ダイオード
60 ソレノイドコイル
DESCRIPTION OF SYMBOLS 10 Microcomputer 20 D / D conversion part 21 3rd counter 22 Register 23 1st counter 24 OR circuit 25 2nd counter 26 Duty adjustment logic 27 Temperature detection part 28 Voltage detection part 30 Solenoid drive part 40 MOS transistor 50 Free-wheeling diode 60 Solenoid coil

Claims (6)

ソレノイドコイルをデューティ駆動するソレノイドドライバであって、
前記ソレノイドコイルがデューティ駆動されるときに、誤差要因となる外部環境因子を測定する測定手段と、
目標デューティ比を示す目標デューティ信号に基づき、その目標デューティ信号のオン期間とオフ期間とのいずれかに応じた期間をカウントすることにより、前記目標デューティ信号のオン期間に応じた期間に第1のオン信号を出力する第1のカウンタと、
前記測定手段による測定結果に基づいて、前記第1のカウンタから出力されるオン信号に引き続いて出力すべき第2のオン信号の長さを算出する算出手段と、
前記算出手段が算出した第2のオン信号の長さに相当する期間をカウントすることにより、前記第1のカウンタが第1オン信号の出力を終了した直後から第2のオン信号を出力する第2のカウンタと、
前記第1のカウンタが出力する第1のオン信号と、前記第2のカウンタが出力する第2のオン信号とを組み合わせて、前記ソレノイドコイルをデューティ駆動するためのデューティ駆動信号を出力する出力手段と、を備えることを特徴とするソレノイドドライバ。
A solenoid driver for driving a solenoid coil with a duty,
Measuring means for measuring an external environmental factor that causes an error when the solenoid coil is driven by a duty;
Based on the target duty signal indicating the target duty ratio, by counting the period according to either the on period or the off period of the target duty signal, the first period is determined during the period according to the on period of the target duty signal. A first counter that outputs an on signal;
Calculation means for calculating a length of a second ON signal to be output subsequent to the ON signal output from the first counter based on a measurement result by the measurement means;
By counting a period corresponding to the length of the second ON signal calculated by the calculating means, the second counter outputs the second ON signal immediately after the first counter finishes outputting the first ON signal. 2 counters,
Output means for outputting a duty drive signal for duty driving the solenoid coil by combining the first on signal output from the first counter and the second on signal output from the second counter And a solenoid driver characterized by comprising:
前記外部環境因子は、ソレノイドコイルの温度であって、前記測定手段は、前記ソレノイドコイルの温度を測定することを特徴とする請求項1に記載のソレノイドドライバ。   The solenoid driver according to claim 1, wherein the external environmental factor is a temperature of the solenoid coil, and the measurement unit measures the temperature of the solenoid coil. 前記算出手段は、前記測定手段によって測定される温度が高くなるほど、前記第2のオン信号の長さをより長くするように算出することを特徴とする請求項2に記載のソレノイドドライバ。   3. The solenoid driver according to claim 2, wherein the calculating unit calculates the length of the second ON signal to be longer as the temperature measured by the measuring unit is higher. 前記外部環境因子は、電源電圧であって、前記測定手段は、前記ソレノイドドライバに供給される電源電圧を測定することを特徴とする請求項1に記載のソレノイドドライバ。   The solenoid driver according to claim 1, wherein the external environmental factor is a power supply voltage, and the measuring unit measures a power supply voltage supplied to the solenoid driver. 前記算出手段は、前記測定手段によって測定される電源電圧が大きくなるほど、前記第2のオン信号の長さをより短くするように算出することを特徴とする請求項2に記載のソレノイドドライバ。   3. The solenoid driver according to claim 2, wherein the calculation unit calculates the length of the second ON signal to be shorter as the power supply voltage measured by the measurement unit increases. 4. 前記第1のカウンタと、前記第2のカウンタとは、異なるクロック信号に基づいて、カウント動作を行うことを特徴とする請求項1乃至請求項のいずれかに記載のソレノイドドライバ。 Wherein the first counter, said a second counter, vary based on the clock signal, the solenoid driver according to any one of claims 1 to 5, characterized in that performing the counting operation.
JP2008260072A 2008-10-06 2008-10-06 Solenoid driver Expired - Fee Related JP5093040B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008260072A JP5093040B2 (en) 2008-10-06 2008-10-06 Solenoid driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008260072A JP5093040B2 (en) 2008-10-06 2008-10-06 Solenoid driver

Publications (2)

Publication Number Publication Date
JP2010093454A JP2010093454A (en) 2010-04-22
JP5093040B2 true JP5093040B2 (en) 2012-12-05

Family

ID=42255785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008260072A Expired - Fee Related JP5093040B2 (en) 2008-10-06 2008-10-06 Solenoid driver

Country Status (1)

Country Link
JP (1) JP5093040B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5645784B2 (en) * 2011-09-20 2014-12-24 日立オートモティブシステムズ株式会社 Linear solenoid current control device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0535303A (en) * 1991-07-25 1993-02-12 Fujitsu Ten Ltd Linear solenoid driver
JPH07194175A (en) * 1993-12-28 1995-07-28 Nippondenso Co Ltd Drive device of linear solenoid
JP3465621B2 (en) * 1999-03-19 2003-11-10 日産自動車株式会社 Relay drive circuit controller
JP2004178967A (en) * 2002-11-27 2004-06-24 Kayaba Ind Co Ltd Relay control device

Also Published As

Publication number Publication date
JP2010093454A (en) 2010-04-22

Similar Documents

Publication Publication Date Title
JP5170208B2 (en) Current detection circuit for power semiconductor devices
US8890554B2 (en) Current control device for electric load
JP5464204B2 (en) Light emission drive device
US11228248B1 (en) Multiphase controller with failure diagnostic mechanism
JP5280332B2 (en) Semiconductor device for current control and control device using the same
KR20140056155A (en) Semiconductor temperature sensors
CN103688464B (en) Current control semiconductor device and its control device of use
CN103080863B (en) Semiconductor element for current control, and control device using same
CN104570789A (en) Semiconductor device and electronic control device
JP5516350B2 (en) Load drive circuit
JP5093040B2 (en) Solenoid driver
US20150112634A1 (en) Angle detection device and angle detection method
TW202340908A (en) Power consumption evaluation device and power consumption evaluation method
JP5699984B2 (en) Current monitor circuit
JP6137969B2 (en) Current detection circuit, current control device
JP5876250B2 (en) Electromagnetic coil drive device
JP2009139213A (en) Magnetic sensor device and control method thereof
US9112443B2 (en) Current controlled actuator driver with improved accuracy at low current
JP6278626B2 (en) External element drive control circuit
JP2807581B2 (en) Analog / digital conversion circuit
JP2012114501A (en) Double integral a/d converter
JP5463215B2 (en) Control device for motor for electric power steering
JP6937672B2 (en) 2-wire electromagnetic flowmeter
JP5130937B2 (en) Current abnormality detection circuit
JP5388928B2 (en) Time measuring device and distance measuring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120717

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120724

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120803

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: 20120821

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120903

R151 Written notification of patent or utility model registration

Ref document number: 5093040

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150928

Year of fee payment: 3

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

LAPS Cancellation because of no payment of annual fees