JP2009118285A - Current control circuit - Google Patents
Current control circuit Download PDFInfo
- Publication number
- JP2009118285A JP2009118285A JP2007290295A JP2007290295A JP2009118285A JP 2009118285 A JP2009118285 A JP 2009118285A JP 2007290295 A JP2007290295 A JP 2007290295A JP 2007290295 A JP2007290295 A JP 2007290295A JP 2009118285 A JP2009118285 A JP 2009118285A
- Authority
- JP
- Japan
- Prior art keywords
- solenoid
- current
- duty
- control signal
- control circuit
- 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.)
- Withdrawn
Links
Images
Landscapes
- Power Sources (AREA)
- Electronic Switches (AREA)
Abstract
Description
本発明は、ソレノイドに流れる電流を制御する電流制御回路に関する。 The present invention relates to a current control circuit that controls a current flowing through a solenoid.
図4は、従来の電流制御回路を示す図である。
図4に示す電流制御回路40は、ダイオード41と、そのダイオード41に並列接続されるソレノイド42を低電位側で駆動するNチャネルのMOSFET43と、制御信号を出力するCPU44と、CPU44から出力される制御信号に対して論理計算を行い、その計算結果をMOSFET43のゲート端子へ出力することによりMOSFET43の動作を制御するOR回路45及びAND回路46と、MOSFET43のソース端子とグランドとの間に設けられる抵抗47と、抵抗47に並列接続されるコンデンサ48と、抵抗47とコンデンサ48との間に設けられ、上記計算結果によりMOSFET43と同様に動作が制御されるNチャネルのMOSFET49とを備えて構成されている(例えば、特許文献1参照)。なお、ソレノイド42の高電位側には電源50のプラス端子が接続されている。また、電源50のマイナス端子を電流制御回路40のグランドとする。また、電源50は他の回路にも電力を供給しているものとし、他の回路の動作によっては電源50の電圧V1が変動するものとする。また、ソレノイド42は、例えば、フォークリフトのリフトを昇降させる装置などの比例電磁弁を構成するために使用されるものとする。
FIG. 4 is a diagram showing a conventional current control circuit.
The
CPU44は、OR回路45やAND回路46に出力する制御信号のデューティを調整することにより、ソレノイド42に流れる電流を変化させてソレノイド42を駆動する。また、CPU44は、コンデンサ48により保持される抵抗47の両端の電圧V2に基づいてソレノイド42に流れる実電流I1を算出し、その算出した実電流I1が目標電流I2の平均値に近づくように制御信号のデューティを算出する。なお、目標電流I2の平均値はユーザの操作などによりCPU44に入力される信号から決定されるものとする。また、電圧V2はソレノイド42の温度変化などによりソレノイド42の抵抗値が変化することで変動するものとする。
The
図5は、CPU44からOR回路45及びAND回路46に出力される制御信号a、b、cのタイミングチャートを示す図である。
図5に示す制御信号a(周波数:100Hz)がCPU44からOR回路45の一方の入力端子に入力され、制御信号b(周波数:10kHz)がCPU44からOR回路45の他方の入力端子に入力され、制御信号c(周波数:10kHz)がCPU44からAND回路46の一方の入力端子に入力される。すると、OR回路45から制御信号dが出力され、AND回路46の他方の入力端子に入力される。すると、AND回路46から制御信号eが出力される。
FIG. 5 is a timing chart of the control signals a, b, and c output from the
A control signal a (frequency: 100 Hz) shown in FIG. 5 is input from the
この制御信号eは、MOSFET43、49のそれぞれのゲート端子に入力され、MOSFET43、49の動作が制御される。CPU44は、上述したように、コンデンサ48により保持される抵抗47の両端電圧V2に基づいてソレノイド42に流れる実電流I1を算出し、その算出した実電流I1に基づいて制御信号aのデューティを変化させてソレノイド42に流れる最大電流を変える。また、CPU44は、制御信号cのデューティを変化させてソレノイド42に流れる電流の増加率を変え、制御信号bのデューティを変化させてソレノイド42に流れる電流の減衰率を変える。
The control signal e is input to the gate terminals of the
このように、上記電流制御回路40では、制御信号aのオン期間において、MOSFET43をオン、オフさせているため、ソレノイド42の反応速度を速くすることができる。また、制御信号aのオフ期間においても、MOSFET43をオン、オフさせているため、ソレノイド42に流れる実電流I1に比例した抵抗47の両端電圧V2を常にコンデンサ48に保持させることができる。そのため、CPU44は、コンデンサ48に保持される電圧V2に基づいてソレノイド42に流れる実電流I1を正確に算出することができユーザの思い通りにソレノイド42を駆動させることができる。
Thus, in the
図6は、CPU44の動作を説明するためのフローチャートである。
まず、CPU44は、制御信号bのデューティと制御信号cのデューティとの合計値を電圧V1に基づいて算出する(ステップS1)。ここで、例えば、検出した電圧V1が48Vで、かつ、その電圧V1をソレノイド42において15V相当に変換する場合、制御信号bのデューティと制御信号cのデューティとの合計値は、(15V/48V)×100≒31%と算出される。
FIG. 6 is a flowchart for explaining the operation of the
First, the
次に、CPU44は、実電流I1と目標電流I2の平均値とに基づいて、制御信号bのデューティと制御信号cのデューティとの比を算出する(ステップS2)。ここで、例えば、実電流I1が目標電流I2の平均値よりも小さい場合を考える。実電流I1を目標電流I2の平均値に近づけるため、制御信号bのデューティを大きくする。このとき、制御信号cのデューティを小さくすると(例えば、制御信号cのデューティを26%から21%、制御信号bのデューティを5%から10%とする。このとき、制御信号bのデューティと制御信号cのデューティとの合計値を31%のまま変えないようにする。)、ソレノイド42に流れる電流が増加する際の電流波形の傾きが小さくなると共に、ソレノイド42に流れる電流が減少する際の電流波形の傾きが小さくなる。すなわち、制御信号bのデューティと制御信号cのデューティとの合計値を変えないようにしながら、制御信号bのデューティを大きくし、制御信号cのデューティを小さくすると、ソレノイド42に流れる電流の平均値を変えることなく、ソレノイド42に流れる電流の振幅値(ピーク値)を小さくすることができる。
Next, the
次に、CPU44は、電圧V2に基づいて、制御信号aのデューティを算出する(ステップS3)。ここで、例えば、ソレノイド42の抵抗値が10Ω及び目標電流I2の平均値が1Aの場合、ソレノイド42にかかる電圧は10Vとなる。これにより、ソレノイド42にかかる電圧が15V相当から10Vに変換されると分かり、制御信号aのデューティは(10V/15V)×100≒67%と算出される。
Next, the
そして、CPU44は、制御信号b及び制御信号cをOR回路45へ出力し、制御信号aをAND回路46へ出力する(ステップS4)。
しかしながら、上記電流制御回路40において、ソレノイド42の温度変化などによりソレノイド42に流れる実電流I1が変わった後も継続して実際と異なる実電流I1により制御信号a、b、cを生成してしまうと、ソレノイド42に目標電流I2を流せないおそれがある。
However, in the
そこで、本発明では、より確実にソレノイドに目標電流を流すことが可能な電流制御回路を提供することを目的とする。 Therefore, an object of the present invention is to provide a current control circuit that can flow a target current to a solenoid more reliably.
上記の課題を解決するために本発明では、以下のような構成を採用した。
すなわち、本発明の電流制御回路は、ソレノイドの低電位側に接続され、入力される制御信号に基づいてオン、オフすることにより前記ソレノイドに電流を流すスイッチング素子と、前記スイッチング素子とグランドとの間に設けられる抵抗と、前記抵抗の両端電圧によって求められる前記ソレノイドに流れる実電流が目標電流の平均値に近づくように前記制御信号の第1のデューティを算出すると共に、前記目標電流の平均値及び前記目標電流の振幅値に基づいて前記制御信号の第1のデューティのオン期間における第2のデューティ及び前記制御信号の第1のデューティのオフ期間における第3のデューティを算出し、それら第1〜第3のデューティからなる前記制御信号を生成し前記スイッチング素子に出力する制御回路とを備え、前記制御回路は、前記第1〜第3のデューティを前記ソレノイドに流れる電流の1周期以内に複数回算出する。
In order to solve the above problems, the present invention adopts the following configuration.
That is, the current control circuit of the present invention is connected to the low potential side of the solenoid, and is turned on and off based on an input control signal to flow current to the solenoid, and the switching element and the ground A first duty of the control signal is calculated so that an actual current flowing through the solenoid determined by a resistance provided between the resistor and a voltage across the resistor approaches an average value of the target current, and an average value of the target current And a second duty in the on period of the first duty of the control signal and a third duty in the off period of the first duty of the control signal are calculated based on the amplitude value of the target current. A control circuit that generates the control signal having a third duty and outputs the control signal to the switching element. The control circuit calculates a plurality of times said first to third duty within one cycle of the current flowing through the solenoid.
これにより、実際と異なる実電流により制御信号が生成されることを抑えることができるので、より確実にソレノイドに目標電流を流すことができる。
また、前記制御回路は、前記ソレノイドに電力を供給する電源の電圧、前記ソレノイドの温度、又は前記ソレノイドの種類に応じて前記目標電流の振幅値を変えるように構成してもよい。
As a result, it is possible to suppress the generation of a control signal due to an actual current that is different from the actual current, so that the target current can be supplied to the solenoid more reliably.
The control circuit may be configured to change the amplitude value of the target current in accordance with the voltage of a power source that supplies power to the solenoid, the temperature of the solenoid, or the type of the solenoid.
また、前記制御回路は、前記第1〜第3のデューティを算出するタイミング毎に前記目標電流の振幅値を変えるように構成してもよい。 Further, the control circuit may be configured to change the amplitude value of the target current at each timing for calculating the first to third duties.
本発明によれば、ソレノイドに流れる電流を制御する電流制御回路において、より確実にソレノイドに目標電流を流すことができる。 According to the present invention, in the current control circuit that controls the current flowing through the solenoid, the target current can flow through the solenoid more reliably.
以下、図面を用いて本発明の実施形態を説明する。
図1は、本発明の実施形態の電流制御回路を示す図である。なお、図4に示す構成と同じ構成には同じ符号を付しその説明を省略する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a current control circuit according to an embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the same structure as the structure shown in FIG. 4, and the description is abbreviate | omitted.
図1に示す電流制御回路1は、ダイオード41と、MOSFET43(スイッチング素子)と、MOSFET43の動作を制御するCPU2(制御回路)と、抵抗47と、コンデンサ48と、MOSFET49とを備えて構成されている。
The
CPU2は、MOSFET43のゲート端子に出力する制御信号fのデューティを調整することにより、ソレノイド42に流れる電流を変化させてソレノイド42を駆動する。また、CPU2は、コンデンサ48により保持される抵抗47の両端の電圧V2に基づいてソレノイド42に流れている実電流I1を算出し、その算出した実電流I1が目標電流I2に近づくようにMOSFET43を動作させるための制御信号fのデューティを求める。
The
CPU2から出力される制御信号fがMOSFET43、49のそれぞれのゲート端子に入力され、MOSFET43、49が互いに同じタイミングでオン、オフする。CPU2は、電圧V2により算出される実電流I1、目標電流I2の平均値、及びソレノイド42の種類などにより決定される目標電流I2の振幅値に基づいて、制御信号fを生成する。
A control signal f output from the
図2は、CPU2の動作を説明するためのフローチャートである。
まず、CPU2は、電圧V2に基づいてソレノイド42に流れる実電流I1を算出し(ステップST1)、ユーザのフォークリフトの操作などによりCPU2に入力される信号から目標電流Iの平均値を算出し(ステップST2)、電圧V2、ソレノイド42の温度、又はソレノイド42の種類などに基づいて目標電流I2の振幅値を設定する(ステップST3)。例えば、振幅値は、予めユーザなどにより設定されているものとする。
FIG. 2 is a flowchart for explaining the operation of the
First, the
次に、CPU2は、算出した実電流I1に所定のフィルタをかけて実電流I1の平均値を算出し(ステップST4)、その実電流I1の平均値が目標電流I2の平均値に近づくように平均デューティ(第1のデューティ)(図5に示す制御信号aのデューティに相当する)をPI制御(P:Proportional、I:Integral)により算出する(ステップST5)。
Next, the
また、CPU2は、目標電流I2の平均値と振幅値とに基づいて、振幅デューティA(第2のデューティ)(図5に示す制御信号bのデューティに相当する)及び振幅デューティB(第3のデューティ)(図5に示す制御信号cのデューティに相当する)を算出する(ステップST6)。例えば、CPU2は、振幅値により求められる振幅デューティA、Bの合計値を求め、目標電流I2の平均値に応じて振幅デューティA、Bの比を算出する。
Further, the
そして、CPU2は、平均デューティ、振幅デューティA、及び振幅デューティBからなる制御信号fを生成しMOSFET43、49のそれぞれのゲート端子へ出力する(ステップST7)。すなわち、CPU2は、平均デューティのオン期間、振幅デューティAの制御信号fをMOSFET43、49のそれぞれのゲート端子へ出力し、平均デューティのオフ期間、振幅デューティBの制御信号fをMOSFET43、49のそれぞれのゲート端子へ出力する。
Then, the
図3は、図2に示すフローチャートの動作タイミングの一例を示す図である。
図3に示すように、例えば、周波数が100Hzの電流をソレノイド42に流す場合、2ms間隔のタイミングで図2に示すフローチャートの動作を行う。なお、図2に示すフローチャートの動作はソレノイド42に流れる電流の1周期以内に複数回行われればよく、その動作間隔は2ms間隔に限定されない。
FIG. 3 is a diagram showing an example of the operation timing of the flowchart shown in FIG.
As shown in FIG. 3, for example, when a current having a frequency of 100 Hz is supplied to the
このように、本実施形態の電流制御回路1では、ソレノイド42に流れる電流の1周期よりも短い時間間隔で図2に示すフローチャートの動作をCPU2が行うことにより、ソレノイド42に流れる実電流I1が実際と異なったまま、制御信号fが生成されることを抑えることができ、より確実にソレノイド42に目標電流I2を流すことができる。
As described above, in the
また、本実施形態の電流制御回路1は、CPU2で直接MOSFET43の動作を制御する構成であるため、図4に示す電流制御回路40に比べてOR回路45やAND回路46を省略することができる分、回路規模を小さくすることができ、コストを抑えることができる。
Further, since the
なお、ソレノイド42に流れる電流の周波数は特に限定されず、ソレノイド42の抵抗値に応じて設定してもよい。
また、上記実施形態では、ソレノイド42を比例弁に用いるソレノイドとして説明しているが、ソレノイド42をオン又はオフの動作パターンが2通りの電磁弁のソレノイドとして用いてもよい。このように構成する場合、ソレノイド42に流れる電流の振幅値を小さくすることが望ましい。
The frequency of the current flowing through the
In the above embodiment, the
また、上記実施形態では、ソレノイド42に流れる目標電流I2の振幅値がソレノイド42の種類などに応じて決定される構成であるが、ソレノイド42に流れる電流が正弦波やのこぎり波など所定の波形になるように、図2に示すフローチャートの動作のタイミング毎にそのタイミングと振幅値とが対応付けられたテーブルにアクセスして振幅値を決定していくように構成してもよい。
In the above-described embodiment, the amplitude value of the target current I2 flowing through the
1 電流制御回路
2 CPU
40 電流制御回路
41 ダイオード
42 ソレノイド
43 MOSFET
44 CPU
45 OR回路
46 AND回路
47 抵抗
48 コンデンサ
49 MOSFET
50 電源
1
40
44 CPU
45 OR
50 power supply
Claims (3)
前記スイッチング素子とグランドとの間に設けられる抵抗と、
前記抵抗の両端電圧によって求められる前記ソレノイドに流れる実電流が目標電流の平均値に近づくように前記制御信号の第1のデューティを算出すると共に、前記目標電流の平均値及び前記目標電流の振幅値に基づいて前記制御信号の第1のデューティのオン期間における第2のデューティ及び前記制御信号の第1のデューティのオフ期間における第3のデューティを算出し、それら第1〜第3のデューティからなる前記制御信号を生成し前記スイッチング素子に出力する制御回路と、
を備え、
前記制御回路は、前記第1〜第3のデューティを前記ソレノイドに流れる電流の1周期以内に複数回算出する、
ことを特徴とする電流制御回路。 A switching element that is connected to the low potential side of the solenoid, and that allows current to flow through the solenoid by turning on and off based on an input control signal;
A resistor provided between the switching element and the ground;
The first duty of the control signal is calculated so that the actual current flowing through the solenoid determined by the voltage across the resistor approaches the average value of the target current, and the average value of the target current and the amplitude value of the target current And calculating a second duty in the on-period of the first duty of the control signal and a third duty in the off-period of the first duty of the control signal, based on the first to third duties. A control circuit that generates the control signal and outputs the control signal to the switching element;
With
The control circuit calculates the first to third duties a plurality of times within one cycle of the current flowing through the solenoid.
A current control circuit.
前記制御回路は、前記ソレノイドに電力を供給する電源の電圧、前記ソレノイドの温度、又は前記ソレノイドの種類に応じて前記目標電流の振幅値を変える、
ことを特徴とする電流制御回路。 The current control circuit according to claim 1,
The control circuit changes the amplitude value of the target current according to the voltage of the power source that supplies power to the solenoid, the temperature of the solenoid, or the type of the solenoid.
A current control circuit.
前記制御回路は、前記第1〜第3のデューティを算出するタイミング毎に前記目標電流の振幅値を変える、
ことを特徴とする電流制御回路。 The current control circuit according to claim 1,
The control circuit changes an amplitude value of the target current at each timing of calculating the first to third duties.
A current control circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007290295A JP2009118285A (en) | 2007-11-08 | 2007-11-08 | Current control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007290295A JP2009118285A (en) | 2007-11-08 | 2007-11-08 | Current control circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009118285A true JP2009118285A (en) | 2009-05-28 |
Family
ID=40784897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007290295A Withdrawn JP2009118285A (en) | 2007-11-08 | 2007-11-08 | Current control circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009118285A (en) |
-
2007
- 2007-11-08 JP JP2007290295A patent/JP2009118285A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5256943B2 (en) | LED lighting device | |
US10056828B2 (en) | System and method for controlling current in a switching regulator | |
US20140176015A1 (en) | Led driving device and lighting device | |
KR101307455B1 (en) | Control device for buck-boost converter | |
JP2007194478A5 (en) | ||
JP6681550B2 (en) | Lighting device | |
JP2008236869A (en) | Power supply device, led device using the power supply device, and electronic apparatus | |
US20150181670A1 (en) | Pwm dimming control method and control circuit and led driver therefor | |
JP2011188226A (en) | Apparatus for controlling electromagnetic induction load | |
JP2008177019A (en) | Led drive circuit | |
US9247606B2 (en) | LED illumination dimming circuit and LED illumination dimming method | |
JP2013258003A (en) | Semiconductor light source control device | |
KR20130125231A (en) | Switch controller, power supply device comprising the same, and driving method of the power supply device | |
US10045411B2 (en) | Dual mode light emitting diode (LED) driver | |
JP2007299827A (en) | Semiconductor integrated circuit | |
JP2008047494A (en) | Dimming control method, dimming control device and lighting system | |
JP2017045592A (en) | LED dimming device and LED dimming method | |
JP5605263B2 (en) | Load drive device | |
JP2009118285A (en) | Current control circuit | |
US20140375285A1 (en) | Dc-dc boost converter | |
US20160079863A1 (en) | Power converter and driving method for the same | |
JP6063853B2 (en) | LED driving device and lighting apparatus | |
JP6012487B2 (en) | LED dimming circuit | |
JP6358780B2 (en) | LIGHT EMITTING DEVICE CONTROL CIRCUIT, LIGHT EMITTING DEVICE USING THE SAME, AND ELECTRONIC DEVICE | |
US9148925B2 (en) | Average current control for a switched power converter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20110201 |