JP3943163B2 - Circuit analyzer - Google Patents

Circuit analyzer Download PDF

Info

Publication number
JP3943163B2
JP3943163B2 JP17371496A JP17371496A JP3943163B2 JP 3943163 B2 JP3943163 B2 JP 3943163B2 JP 17371496 A JP17371496 A JP 17371496A JP 17371496 A JP17371496 A JP 17371496A JP 3943163 B2 JP3943163 B2 JP 3943163B2
Authority
JP
Japan
Prior art keywords
circuit
equation
resistance
matrix
state
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
JP17371496A
Other languages
Japanese (ja)
Other versions
JPH1021281A (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.)
Hitachi Healthcare Manufacturing Ltd
Original Assignee
Hitachi Medical 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 Hitachi Medical Corp filed Critical Hitachi Medical Corp
Priority to JP17371496A priority Critical patent/JP3943163B2/en
Publication of JPH1021281A publication Critical patent/JPH1021281A/en
Application granted granted Critical
Publication of JP3943163B2 publication Critical patent/JP3943163B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Supply And Distribution Of Alternating Current (AREA)

Description

【0001】
【本発明の属する技術分野】
本発明装置は、スイッチ素子とダイオードを組合せたDC−DCコンバータ、サイリスタ式単相倍電圧整流器、三相電圧型高力率PWMコンバータ、スイッチング方式の電流増幅器などのスイッチモード電力変換回路に統一的に適用可能な回路解析ツールにかかわる。
【0002】
【従来の技術】
従来から、パワー半導体素子を用いたスイッチモード電力変換回路の計算機援用解析には、個々の構成回路要素の特性法則を表す式とその接続関係を表す式を連立させた非線形微分代数方程式として解析するタブロー法、並びに、動作モード(回路中の電流の流れ方)の変化ごとに状態方程式を切り替えて時刻ごとの回路動作状態を逐次詳細に数値計算する回路解析ツールなどが知られている。また、回路の動作を大局的に解析する方法として、高周波でスイッチングする電力変換回路の各部の周期的な動作波形がその前後の周期の波形と類似していることを利用して、いくつか飛び飛びに選んだ周期に対してのみ動作を正確に解析し、残りの多くの周期の動作波形を包絡的に構成する包絡追跡法や、解析対象回路について全ての動作モードを求め、各動作モード状態にある時間の割合に応じて入力や動作波形を平均的に取扱う状態平均化法がある。また包絡追跡法や状態平均化法等の時間領域回路解析法とは別にある周波数の正弦波入力に対して解析対象回路がどのような応答を示すかを定式化し、次に全ての周波数に対する応答波形を合成することによって定常応答特性を求める周波数領域回路解析法などによる回路解析ツールも開発されている。
【0003】
これらの回路解析ツールにおいて、コンデンサやリアクトルなどのエネルギー蓄積をともなう回路素子の状態を表す微分方程式(状態方程式と呼ぶ)を数値積分計算によって解くにあたり、その計算のステップ幅Δtをどの程度に選ぶべきかは重要な問題であり、計算ステップ幅が細かすぎると計算機による演算時間の増大を招き、粗すぎると数値積分演算による解が発散して解析結果を求められない。このために次のような項目が考慮される。
【0004】
(1)スイッチモード電力変換回路における計算のステップ幅は、スイッチの動作周期に対して十分小さくなければならず、また、もし周波数変調やパルス幅変調によって出力を制御しているなら、その操作量に対して十分な分解能をもっている必要もある。出力の電圧や電流波形が急激に変化するのか緩やかに変化するのかによって要求される分解能は異なるが、特殊なケースを除けば、スイッチング周期の1/100〜1/1000程度を選べば問題ない。
【0005】
(2)ステップ幅が小さ過ぎると計算時間が長くなり、丸めによる累積誤差も懸念される。このうち丸め誤差については、現在、倍精度浮動小数点演算が主流であることから問題になることは少ない。もしデジタル制御回路を用いて、クロックパルスから周波数やパルス幅を生成している場合には、そのクロックパルスの周期と計算のステップ幅を同じにとれば実際のスイッチモード電力変換回路に近い特性を得ることができる。
【0006】
(3)状態方程式の解が収束しなければならない。
【0007】
このような条件を考慮し、多くの技術が開発されており、例えば、一度の数値計算中は計算のステップ幅を一定とし、はじめに大きめのΔtでテストし、次に、Δt/2、Δt/4などを試み、結果がステップ幅にほとんど影響しなくなるまで繰り返す方法がある。また、計算のステップ幅を動的に調節する方法がとられることもある。
【0008】
【発明が解決しようとする課題】
これら従来の回路解析ツールは、以下で述べるようないくつかの技術的な課題が残されている。
【0009】
まず第一に、タブロー法や、モード変化ごとに状態方程式を切り替えて時刻ごとの回路動作状態を逐次詳細に数値計算する方法では、状態方程式を解くにあたって、非常に細かい計算ステッ プ幅で多くの繰り返し計算を必要とする。特に、タブロー法では、連立非線形微分方程式からエネルギー蓄積素子の電流電圧波形を数値積分で計算するためにこの連立された式全体を繰り返し演算をしなければならず、回路が複雑になるほど演算時間が増大する。
【0010】
動作モードの変化ごとに状態方程式を立てる方法では、あらかじめ全ての動作モードを調べておき、各動作モードごとに状態方程式を立てる必要がある。数値積分を進めるごとに、回路の状態がどのモードに対応するかを判定して、状態方程式を切り換えながら解析を進めることになる。この場合には、全ての動作モードを把握することが困難であったり、動作モードが数十に及ぶ複雑なスイッチング回路を解析することは事実上非常に困難である。
【0011】
数値積分演算における計算ステップ数を低減し、計算機の演算時間を短縮するために開発された包絡追跡法や状態平均化法による時間領域回路解析法や周波数領域回路解析法は、解析対象回路中に共振現象や電流の断続モードが頻繁に現われる非線形性の強い回路の過渡的な回路動作を完全に再現することがむずかしい。
【0012】
一方、高速なマイクロプロセッサやDSP(Digital Signal Processor)を用いたデジタル制御方式は、回路の動作を柔軟に補償し、広い動作条件で安定で高精度な出力を得られるメリットを活かして汎用インバータや無停電電源装置、医用特殊電源装置などの産業分野で広く適用されてきた。しかし、このような電力変換回路を詳細に解析するためには、実機と同じ制御アルゴリズムを解析回路モデルに組み入れることが必要であるが、現在までに市販されているSPICE(Simulation Program with Integrated Circuit Emphasis)に代表される汎用の回路解析ツールは、これらデジタル制御のアルゴリズムを組み込むことができない。
【0013】
そこで、本発明は、プログラム言語で記述したデジタル制御アルゴリズムを容易に組み込むことができ、さまざまなスイッチモード電力変換回路に統一的に適用可能な新しい、実用的な回路解析ツールを提供することを目的とする。また本発明は、状態方程式を解く当り、計算ステップを最小にしてしかも解の収束性が保証される計算ステップの決定方法及びこの方法を組込んだ回路解析ツールを提供することを目的とする。
【0014】
【課題を解決するための手段】
上記目的を達成するために、本発明の回路解析ツールは、解析対象回路のスイッチ素子を時間とともに変化する抵抗でモデル化した時変抵抗回路モデルとして入力する手段と、この時変抵抗回路モデルに基づき状態方程式を導出し、この状態方程式を解く演算手段と、演算手段の結果である解析対象回路の状態量を波形として表示する表示手段とを備え、演算手段は時変抵抗回路モデルに基づきキルヒホフの法則から導いた回路方程式を、解析対象回路の中のエネルギー蓄積素子に関する状態方程式に変換する代数計算手段と、状態方程式を解くための数値積分手段とを備えたものである。
【0015】
より詳細には本発明の回路解析ツールにおいて、回路方程式は、キルヒホフの法則から導出された式(1)と、
E=IR (1)
(式中、Rは回路構成要素の抵抗で決まる抵抗マトリクス、Eはエネルギー蓄積素子に関する状態変数及び入力を要素として含むベクトル、以下電圧ベクトルと称す。Iは式(1)を満たすベクトル、以下電流ベクトルと称す。)
電圧ベクトルEを状態ベクトルxの項と入力ベクトルViの項に分離した式(2)とで表され、
E=Kxx+KuVi (2)
(式中、Kx及びKuはそれぞれ電圧ベクトルEから導かれる係数を表す。)
代数計算手段は、
1)抵抗マトリクスRからその逆マトリクスR-1を求める工程、
2)逆マトリクスR-1からエネルギー蓄積素子に関わる要素を抜出したマトリクスR*を定義する工程、及び
3)マトリクスR*、係数Kx、Ku及びエネルギー蓄積素子の定数に基づき、次式(3)で表される状態方程式の係数A、Bを導出する工程を実行する。
【0016】
【数2】

Figure 0003943163
本発明の回路解析ツールの好適な態様は、上述した代数計算手段の演算は、更に回路方程式の抵抗マトリクスRにスイッチ素子のスイッチング条件を組込む工程を含む。
【0017】
本発明の回路解析ツールでは、回路方程式からリアクトルやコンデンサなどのエネルギー蓄積素子に関する状態方程式を機械的に導くことができ、このように導出された状態方程式を繰り返し演算すればよいので、速やかに所望の解析結果を得ることができる。またスイッチング条件及びそれを制御する制御アルゴリズムをプログラムとして記述し、解析ツールの演算工程に組込むことができるので、制御方式を採用する回路であっても解析が可能となる。
【0018】
本発明の回路解析ツールの別の態様は、解析対象回路を記述する状態方程式を数値積分演算によって所定の計算ステップ幅で解く数値積分手段を備えた回路解析ツールにおいて、計算ステップ幅は、状態方程式から動作モードごとの回路の固有値を求め、これら固有値の中から最も速く収束する固有値を選び、この選択された固有値に基づいて数値積分手段の計算ステップ幅を決定する計算ステップ幅決定手段を備えている。
【0019】
回路の固有値に着目し、それに基づき計算ステップ幅を決定することにより、計算回数を最小とし、しかも解の収束を保証した数値積分演算が可能となる。これにより動作が確実で短時間で解が得られる回路解析ツールを提供することができる。
【0020】
【発明の実施の形態】
図1は、本発明の回路解析ツール10の第一の実施例を示すもので、主として解析対象回路20のスイッチを時刻とともに変化する抵抗(以下、時変抵抗)で置き換えた時変抵抗モデル回路7を入力する手段(図示せず)と、この回路モデル7を基にキルヒホッフ回路の法則から導かれた回路方程式1を状態方程式3に変換する代数計算手段2と、得られた状態方程式3を数値積分によって解く数値積分手段4と、この数値積分演算における計算ステップ幅を決定する手段8と、数値積分手段4で求められた解を波形表示する手段6を備えている。
【0021】
解析対象回路20は、スイッチとダイオードを含むスイッチモード電力変換回路で、回路の動作を補償し、広い動作条件で安定で高精度な出力を得るためのデジタル制御が採用されていてもよい。このデジタル制御アルゴリズム9と回路20中のスイッチ及びダイオードのスイッチング条件を記述したアルゴリズム5は、代数計算手段2において状態方程式3を導く過程でプログラムとして組込まれ、回路方程式の抵抗マトリクスRを決定するために用いられる。
【0022】
回路モデル7は、解析対象回路のスイッチを時刻とともに変化する抵抗(以下、時変抵抗)で置き換えたものである。回路方程式1は、この時変抵抗回路モデル7に基づいてキルヒホフの法則から導くことができ、総括的に式(1)で表される。
【0023】
E=IR (1)
ここでRは回路の抵抗が決まれば求められるマトリックスで抵抗マトリックスと呼ぶ。Eは要素として状態変数と入力電圧を含むベクトルで電圧ベクトルと称す。Iは式(1)を満たすベクトルで、電流ベクトルと称す。
【0024】
また回路方程式は、電圧ベクトルEを状態ベクトルxの項と入力ベクトルViの項に分離して、式(2)
E=Kxx+KuVi (2)
で表すことができる。
【0025】
代数計算手段2は、抵抗マトリクスRからその逆マトリクスR-1を求め、逆マトリクスR-1からエネルギー蓄積素子に関わる要素を抜出したマトリクスR*を定義し、更にこれらマトリクスR*、式(2)の係数Kx、Ku及び回路のリアクトルやコンデンサのようなエネルギー蓄積素子の定数に基づき、式(3)で表される状態方程式の係数A、Bを導出する。
【0026】
【数3】
Figure 0003943163
この計算において、デジタル制御のアルゴリズム9とスイッチとダイオードのスイッチング条件5が導入される。
【0027】
数値積分手段4は、公知の方法、例えばRunge-Kutta法を採用し、所定の計算ステップ幅で状態方程式を数値積分手段4で解く。この数値積分手段4における計算ステップ幅は、上記状態方程式から動作モードごとの固有値を求めこの中から最も速く収束する固有値を選びこれに基づいて求められる。
【0028】
波形表示手段6は、数値積分手段4における解析結果を波形として表示する。
【0029】
次に、このように構成された本発明の回路解析ツールを具体的なスイッチングモードの電力変換回路の動作の解析に適用した実施例について詳細に説明し、本発明の解析ツールの理論的な裏付けを行う。
【0030】
図2は、本回路解析ツールの解析理論を説明するために用いる解析対象回路の一例を示す図である。これはDC−DCコンバータで、複数のスイッチで構成されるインバータブリッジのスイッチングのタイミングを制御することによって、出力電圧V0をゼロから最大まで制御するものである。ここでViは直流電源(入力)、Rwは直流電源の内部抵抗と配線の抵抗の合成抵抗、SwlからSw4はスイッチ、D1〜D4はスイッチSwl〜Sw4に逆並列に接続されたダイオード、Csはインバータブリッジのー方の出力に接続された直列共振用コンデンサ、Lrは直列共振コンデンサCsに直列に接続された直列共振用リアクトル、Cpは直列共振用リアクトルLrとインバータブリッジの出力端のもうー方に接続された並列共振用コンデンサ、D5〜D8は並列共振コンデンサの両端に発生する交流電圧を整流するダイオード整流器、CLはこのダイオード整流器の出力電圧を平滑する平滑コンデンサ、RLは負荷抵抗である。RrとRiはそれぞれ回路中に生じる損失を抵抗で表現したものである。
【0031】
この回路例では、負荷RLに対して直列に接続されている、コンデンサCsとリアクトルLrによる直列共振回路と、負荷RLに対して並列に接続されている、リアクトルLrとコンデンサCpによる並列共振回路とが同時に作用し回路の動作が非常に複雑である。また、負荷抵抗RLが大きいときには整流器D5〜D8に流れる電流が不連続となり、出力電圧が非線形な応答波形となる。また、図示省略するがこの回路は、高速なマイクロプロセッサやデジタルシグナルプロセッサによるデジタル制御回路がインバータブリッジの各スイッチのオンオフのタイミングを調節し、どのような負荷抵抗RLに対しても所望の出力電圧が得られるように最適に制御している。
【0032】
本発明において、このような解析対象回路は時変抵抗モデル回路として回路解析ツールに入力される。図3は時変抵抗モデル回路を示す図で、図2に示す回路の各スイッチSwl〜Swlとこれと逆並列に接続されたダイオードD1〜D4とを時刻とともに変化する時変抵抗Rs1〜Rs4としてモデル化し、更に、ダイオードブリッジのD5〜D8をそれぞれ時変抵抗RD5〜RD8としてモデル化している。
【0033】
この時変抵抗でモデル化する方法では、スイッチング損失などを表現するために、パワー半導体デバイスの動的な詳細モデルを導入することも可能であるが、ここでは理想的なオン、オフの2つのスイッチング状態だけをとりあげて説明する。
【0034】
次にこのようにモデル化した回路の動作を回路方程式で記述する。このため各回路構成素子の接続点はそれぞれNode0〜Node7と名付けてある。また電流の流れる閉じた回路をLoop1〜Loop7として表したものを図4に示した。図3から分るように、この回路では接続点の数j=8、岐路の数b=15であるから、キルヒホフの第一法則(電流則)からj−1=8−1=7本、キルヒホフの第二法則(電圧則)からb+1−j=15+1−8=8本の式を立てればよいことになる。そこで、後で述べる状態変数として扱うリアクトルの電流iLrとコンデンサの電圧ecs、ecp、ecL及び、入力として扱う入力電圧Viが左辺にくるように以下の式を導くことができる。
【0035】
Node1:0=iw−is1−is3
Node2:0=−ics+is1−is2
Node3:0=−iw+is2+is4
Node4:iLr=−ii+ics
Node5:−iLr=−icp−iD5+iD6
Node6:0=−iL−icL+iD5+iD7
Node7:0=iL+icL−iD6−iD8
Loop1:Vi=Rww+Rs1s1+Rs2s2
Loop2:ecs=−Rii+Rs2s2−Rs4s4
Loop3:ecp+RrLr=−eLr+Rii
Loop4:ecs+RrLr=−eLr−RD5D5+RD7D7−Rs1s1+Rs3s3
Loop5:ecL=−RD5D5−RD6D6
Loop6:ecL=RLL
Loop7:0=RLL+RD7D7+RD8D8
Loop8:ecp=−RD6D6+RD8D8
これらをマトリックスを用いて表現すると次のようになる。
【0036】
E=RI (1)
ここで、R、I、Eは、それぞれ次式(4)〜(6)で定義する。
【0037】
【数4】
Figure 0003943163
マトリクスRは回路構成要素の抵抗が決まれば求められるので、ここでは抵抗マトリクスと呼ぶ。同様にEは、主に各回路構成要素の電圧を表しているので電圧ベクトル、Iは主に電流を表しているので電流ベクトルと呼ぶことにする。抵抗マトリクスRと電圧ベクトルEが分かれば、電流ベクトルIは次式(7)で求められる。
【0038】
I=R-1E (7)
ここでR-1はマトリクスRの逆行列であり、その各要素を次式(8)のように表現する。
【0039】
【数5】
Figure 0003943163
次に、上記回路方程式からリアクトルとコンデンサに関する微分方程式である状態方程式を導出する。状態方程式の標準形は次式(3)で表わすことができる。
【0040】
【数6】
Figure 0003943163
ここで、x(t)は状態変数ベクトル、AとBは係数マトリクス、u(t)は入力ベクトルである。図3の回路でリアクトルLrの電流iLrと各コンデンサの電圧ecs、ecp、ecLを状態量として選び、状態ベクトルxを次のように定める。x=[iLrcscpcLt (9)
次に、電圧ベクトルEを状態ベクトルxの項と入力への項とに分解し、それぞれの係数をKx、Kuとおいて次式(10)で表す。
【0041】
E=Kxx+Kui (10)
また式(6)からKx、Kuを求めると次のようになる。
【0042】
【数7】
Figure 0003943163
u=[000000010000000]t (12)
この式(10)の右辺を式(7)の右辺に代入すると、
I=R-1(Kxx+Kui)=(R-1x)x+(R-1u)Vi (13)
となる。この式(13)の右辺は、状態方程式(3)の右辺とよく似ている。
【0043】
ところで、電流ベクトルIの要素のうちeLr、ics、icp、icLと状態変数(iLr、ecs、ecp、ecL)との間には次の関係がある。
【0044】
【数8】
Figure 0003943163
ここでLrは図3の回路におけるリアクトルのインダクタンス、Cs、Cp及びCLはそれぞれコンデンサのキャパシンタンスを表す。これらの式(14)〜(17)の左辺は状態方程式の左辺であり、右辺は、式(7)で求められる電流ベクトルIのうち4要素(eLr、ics、icp、icL)を各々リアクトルのインダクタンスLrやコンデンサのキャパシタンスCs、Cp、CLで割ったものであり、式(7)の電流ベクトルIと回路定数とから算定できる。
【0045】
このことと式(13)の右辺と状態方程式の一般形(3)との類似性に着目すれば、以下の手順で状態方程式(3)のAとBを機械的に求めることができる。即ち、まずR-1からマトリクスR*を次式(18)で定義する。R*は、電流ベクトルIを参照しながらR-1のうち、Lr、Cs、Cp、CLにかかわる4行だけを抜き出した4行15列のマトリクスである。
【0046】
【数9】
Figure 0003943163
また、便宜上、インダクタンスLrとコンデンサのキャパシタンスCs、Cp、CLをベクトルL*で表しておく。
【0047】
*=[LrCsCpCL]t (19)
式(13)の右辺の第1項の係数(R-1x)で、電流ベクトルIのうち4要素(eLr、ics、icp、icL)を求める行だけを抜出してA*とすれば、これは4行4列の正方マトリクスとなる。
【0048】
*=R*x (20)
式(18)〜(20)からマトリクスAは、A*の要素をA*j,k、L*の要素をL*jとおいて次のように求めることができる。
【0049】
【数10】
Figure 0003943163
同様に式(13)の右辺の第2項の係数(R-1u)で、電流ベクトルIの4要素(eLr、ics、icp、icL)を求める行だけを抜出してB*とすれば、これは4行1列のベクトルとなり、
*=R*u (22)
で与えられる。BはB*の要素をB*j、L*の要素をL*jとおいて次のように求めることができる。
【0050】
【数11】
Figure 0003943163
このように回路方程式から状態方程式の係数AとBを機械的に導出することができる。
【0051】
次いでこの状態方程式を数値積分演算により解くのであるが、既に述べたように図2の回路におけるパワー半導体スイッチやダイオードは、時変抵抗としてモデル化しているので、抵抗マトリクスRを決める際に、これらスイッチやダイオートのスッチング条件5が与えられる必要がある。
【0052】
そこで以下、デジタル回路あるいはアナログ回路で実現される制御アルゴリズム9と、ダイオードのように回路の動作状態によって受動的にオンオフ状態が決まってしまうスイッチのスイッチング状態5を本発明の回路解析ツール10に組み込むための方法について、具体的に説明する。
【0053】
ここでは既に述べたようにパワー半導体スイッチは、理想的にオン、オフの2つのスイッチング状態だけをとる時変抵抗としてモデル化している。そのオン時の抵抗をRon、オフ時の抵抗をRoffと表し、現在時刻をtと表し、図3のモデル回路においてダイオードが逆並列に接続されたスイッチSw1〜Sw4の抵抗をRs1〜Rs4で、これらに流れる電流をis1〜is4で表すと、スイッチング条件は、所定のスイッチSw1が時刻t1〜t2の間にオンしている場合にはRs1をRonとする或いオフしている場合はRs1をRoffとするという条件となる。この条件は、例えば、これをC言語で表現すると、
【0054】
【数12】
Figure 0003943163
となり、シミュレーションプログラムにそのまま導入することができる。
【0055】
同様にダイオードをモデル化した抵抗はRD5〜RD8、そのダイオードの電流はiD5〜iD8で表されるので、C言語で
【0056】
【数13】
Figure 0003943163
を実行すればよいことになる。このようにスイッチやダイオードのスイッチング条件を”if…then”形式を用いてシミュレーンョンブログラムの中に容易に組み込むことができる。これらスイッチング条件は、上述した状態方程式を数値積分演算により解く際に、計算ステップごとに実行される。
【0057】
尚、実際のプログラミングにおいては上記の条件だけでは1計算ステップ間だけインバータの上下のスイッチが同時にオンして過大電流が流れたり、同時に上下のスイッチがオフして電圧の跳ね上がりが生じることがある。このような場合には、別途これらを防ぐ工夫が必要である。
【0058】
また一般にデジタル制御アルゴリズムは、所定のサンプリング時間毎に回路、ここではDC−DCコンバータの状態量を入力して各スイッチSw1〜Sw2のデューティ(オン時間)を制御するように記述されたプログラムからなるので、本発明のシミュレーションプログラムにそのまま組込むことができ、具体的には数値積分演算の各計算ステップ毎に、サンプリング時刻に達しているか否かを判断し、サンプリング時刻であれば制御アルゴリズムを実行するようにすればよい。
【0059】
尚、一度作成したシミュレーションプログラムを他の電力変換回路に適用する場合には、プログラムで、R、Kx、Ku、R*、L*及び上記のスイッチング条件を定義し直せばよい。
【0060】
図5に以上述べた本発明の回路解析ツールによる解析手順をフローチャートで示した。まず、定数Kx、Ku、状態ベクトルx(t)、入力ベクトルu(t)から電圧ベクトルEを求める。次に、このEとR-1とから電流ベクトルIを求め、これと現在時刻tから”if・・・then”形式のプログラムによってスイッチとダイオードをモデル化した抵抗Rsk、RDm(k=1-4、m=5-8)を求める。ここで、前回の計算時と比べてRsk、RDmに変化があった場合には、R、R-1、R*を求め、またR*、Kx、L*からAを、R*、Ku、L*からBをそれぞれ算定する。A、Bが決まれば、計算ステップ幅Δt後の状態ベクトルx(t+Δt)を数値積分演算により求める。そしてこのとき時刻tがデジタル制御のサンプリング時刻であればプログラムされたフィードバック制御を施し、計算経過を保存する。これらをあらかじめ定めた計算終了時刻まで繰り返して所望の結果を得ることができる。即ち、以上のフローで求められた電圧ベクトルE、電流ベクトルI、抵抗マトリクスR、状態変数xなどから回路中の必要な情報が全て得られる。
【0061】
これら回路の情報は、波形表示手段6(図1)により例えば回路の過渡特性や定常状態としてグラフィカルに表示される。
【0062】
尚、以上の説明ではスッチング条件を”if・・・then”形式でプログラムとして導入した場合を説明したが、動作モード数が比較的少ない回路では、数値計算を効率良く進めるために、あらかじめすべての動作モードに対して、R-1あるいは状態方程式の係数A、Bを計算しておくことができる。この場合、スイッチまたはダイオードをモデル化した抵抗がn個あったとして2n個のモードだけこれらを用意することになる。これらのモードの中に実現しないものがある場合には演算処理を省略することができる。
【0063】
また、数値積分演算手法としては、Runge-Kutta法やEuler法など一般な数値積分法を採用することができる。
【0064】
以上説明した回路解析理論を実際に組み入れた回路解析ツールを構成する計算機システムのハードウエアの一例を図6に示す。この計算機システムは、高速サーバ60と各種ワークステーシヨン61、マイコン開発支援装置62、バーソナルコンピュー夕63、プリンタ64などがイーサネットを中心とするネットワークで接続されており、高速サーバ60やワークステーション61で数値計算処理を実行し、ネットワークにつながったパーソナルコンピュータ63上に解析結果を表示して評価する。計算結果から電流の実効値、平均値などの数値データを得ることも可能で、こういった場合には必ずしも電流電圧波形を表示する必要はない。解析結果はバーソナルコンピュータ63上に表示したり、プリンタ64に出力することができる。更に、回路解析に用いた制御アルゴリズムはネットワークを介してマイ コン開発支援装置62へ転送し、実際の電力変換装置上65の制御用マイクロプロセッサを動作させることも可能である。
【0065】
次に、以上説明した本発明による回路解析ツールにおける状態方程式の数値積分演算に適用可能な本発明の計算ステップ幅の決定手法について説明する。
【0066】
既に述べたように数値積分演算における計算ステップ幅を決定するに際しては(1)スイッチモード電力変換回路におけるスイッチの動作周期に対して、ステップ幅は十分小さくなければならず、更に周波数変調やパルス幅変調によって出力を制御している場合には、その操作量に対して十分な分解能をもっている必要がある、(2)ステップ幅が小さい過ぎると計算時間が長くなる、(3)状態方程式の解が収束しなければならない、等を考慮することが必要である。本発明では、上記(1)及び(2)の条件に加えて、状態方程式から動作モードごとの固有値に求め、これに基づき計算のステップ幅を求めることにより、繰り返し計算回数を最小にしつつ、解の収束性が保証されるステップ幅決定法を与える。
【0067】
まず動作モードごとの固有値を求める。状態方程式(3)は、1つの動作モード(全てのスイッチのオンオフ状態が一定である状態)においては、線形の微分方程式である。従って状態方程式を数値計算で解くときには、その動作モードが終了するときの状態変数の値を、次の動作モードの初期値として引渡しながら繰り返し積分演算し、時刻毎の状態変数を求めることになる。
【0068】
ところで一般に入力ゼロの線形常微分方程式は次式(24)で与えられ、その解は式(25)で与えられる。
【0069】
【数14】
Figure 0003943163
この式(25)におけるλ1〜λnは固有値で、通常、制御系の安定性判別などに用いられる。固有値が負の実数なら、これは時定数の逆数にあたり、共役複素数の場合にはその虚数部が角振動数に、実部が減衰の速さに対応する。
【0070】
繰り返し計算で微分方程式の解を求めるときは、式(25)の全ての項が収束する必要がある。これは、線形常微分方程式(24)を解く場合にもあてはまる。そこで、ここでは一つの計算ステップ幅で状態方程式(3)を解くものとし、最も速く収束する項に注目し、固有値の実部の値(減衰の速さ)が最も大きい項の固有値を基に決定する。即ち、その固有値に対応する解が収束する計算ステップ幅が回路の時定数(固有値の逆数)の2倍を超えないように、好適には時定数程度となるように決めることが適当である。
【0071】
図7に3次のRunge-Kutta法を用い、一次遅れ系
【0072】
【数15】
Figure 0003943163
を数値解析によって求めたときに、計算ステップ幅の影響を比較したものを示した。図7からもわかるように計算ステップ幅がΔt=1/λの場合は厳密解に近く、Δt>2/λでは解が収束しない。これらは解法によって多少の違いがあるが、Euler法や2次〜4次のRunge-Kutta法ではΔt<2/λが解が収束する条件であり、好適にはΔt<1.5/λである。
【0073】
尚、各モードにおける固有値λi(i:1〜n)を求めるにはいくつかの方法があるが、次数が小さければ単位行列をJとしてdet(λJ-A)からλを求めることができる。また次数が高ければ状態方程式のマトリクスA、BからFadeevの方法を用いて一旦伝達関数に変換し、その分母をゼロとした特性方程式から固有値を求めればよい。
【0074】
次に図2に示した回路において具体的に計算ステップ幅を決定した結果と、この計算ステップ幅を用いてシミューレーションした結果について説明する。
【0075】
表1は図2の回路で実現する8つのモードについて固有値を求めた結果を示したもので、これらはオン状態の抵抗がRon=10mΩ、オフ状態の抵抗がRoff=100kΩであるとして求めたものである。またRon=10mΩである場合をモード2’として1例のみ示した。
【0076】
【表1】
Figure 0003943163
この表1のモード2について、対応する回路を太線で表した図8を参照して詳細に考察してみると、モード2の固有値λ1、λ2は、いずれも共役複素数で、虚数部6.762×104は角周波数(6.762×104/2π=10.8kHz)を表し、これはコンデンサCsとリアクトルLrによる直列共振周波数(10.6kHz)に対応している(図8(a))。またλ1、λ2の実部はこの共振の減衰の速さを表している。固有値λ3は、コンデンサCLのキャパシタンスが十分に大きくこれを電圧源とみなせるとき、オン状態のダイオードD5とD8を経由するコンデンサCpの充放電回路の時定数に対応している(同図(b))。即ち、直列接続された2つのダイオードの抵抗=10mΩ×2で、コンデンサCpのキャパシタンス=5μFとしたとき、これらが形成する充放電回路の時定数は(10×10-3×2)×5×10-6F=100×10-9sとなり、これはλ3の逆数の絶対値(1.016×107-1=98.4×10-9sに対応している。同様に固有値λ4は、コンデンサCLと負荷抵抗RLの時定数に対応している(同図(c))。固有値はスイッチとダイオードの抵抗モデルや負荷抵抗によって変化するが、図で示したようにそれぞれの固有値が回路と対応していることが分かる。
【0077】
既に述べたように本発明によるステップ幅決定においては、最も速く収束する固有値λに対し、ステップ幅Δtは、Δt<2/λを満たすように決められる。上述したモード2において最も速く収束する固有値はλ3であり、固有値λ3に対応する解が収束する計算ステップ幅Δtはこの回路の時定数程度(1/λ3)に決定される。図9(a)に、ステップ幅Δtを、Δt=100ns(約1/λ3)としたときと、Δt=250nsとしたときについて、それぞれコンデンサCpに流れ込む電流icpをシミュレートした結果を示す。λ3に対応する時定数(1/λ3=98ns)程度のステップ幅で演算した場合には良好な電流波形が得られているのに対し、その2倍を越えるステップ幅(250ns)で演算した場合には解が収束していないことがわかる。
【0078】
図9(b)は、ダイオードD5〜D8のオン時の抵抗Ron=20mΩの場合(表1のモード2’)のシミュレート結果(icp)を示すもので、モード2’の固有値λ3(=-5.078×106)から求めた時定数が1/λ3=197nsのとき、計算ステップ幅をΔt=350ns(=1.75/λ3)として求めたものである。このように、ダイオードブリッジとコンデンサが接続された回路でスイッチのオン抵抗を大きめに選んだ場合には、比較的あらい計算ステップ幅でも解は収束することがわかる。これにより計算時間の短縮が可能である。
【0079】
尚、以上の説明では共役複素数の固有値の実部、即ち減衰に関わる部分についてのみ考察したが、共役複素数の固有値については振動と収束の両方を考慮する必要がある。この場合は、計算ステップ幅Δtは、Δt<2/λを満たし、且つ固有値の虚部ωから求められる振動周期2π/ωの1/10〜1/100程度を選ぶのが現実的である。いずれにしても回路の固有値から計算ステップ幅を決めることができる。
【0080】
以上説明したように本発明によれば、回路の固有値から計算ステップ幅を決めることにより、計算回数を最小にして、しかも解の収束するステップ幅を設定することができる。尚、この計算ステップ幅の決定手法は、図1に示すような回路方程式を状態方程式に変換する手段2を含む回路解析ツール10に適用することによって本発明の回路解析ツールをより有効なものとすることができるが、このような回路解析ツールのみならず、一般に回路の状態方程式を数値積分演算によって解く場合に適用することができ、この場合にも同様の効果を得ることができる。
【0081】
計算ステップ幅決定手段8として上記計算ステップ幅決定法を採用した回路解析ツールにより、図2に示す回路のスイッチSw2の電圧Vce2と電流is2をシミュレートした結果を図10(a)に示す。同図(b)に実験結果を比較して示した。これらの図からも分るようにシミュレーンョン結果と実験結果とは比較的よく一致している。
【0082】
尚、実験装置ではスナバを設けているため、スイッチと逆並列に接続されたダイオードがオフするときに電圧Vce2の急激な変化は見られないが、シミュレーションではスナバがないためダイオードがオフするときにに急激な変化がある。また、電流波形の絶対値がやや小さめに計算されているが、これは図3の回路モデルと実験装置との差異と考えられる。
【0083】
以上、本発明の回路解析ツールを図2のDC・DCコンバータ回路に適用した実施例に基づいて説明してきたが、本発明の回路解析ツールは、回路モデルを基にキルヒホッフ回路の法則から回路方程式を導く手段(プログラム)において抵抗マトリクスR、電圧ベクトルE、電流ベクトルI、変換マトリクスKx、Ku、スイッチングシーケンスを定義し直すだけで、サイリスタ式単相倍電圧整流器、三相電圧型高力率PWMコンバータ、スイッチング方式の電流増幅器などの解析に適用することが可能である。
【0084】
また、ここではスイッチのオン、オフの2状態のみを議論してきたが、スイッチを連続的に変化する時変抵抗でモデル化することも可能である。
【0085】
【発明の効果】
以上説明したように本発明によれば、解析対象回路のスイッチを時変抵抗でモデル化した回路モデルに基づき、回路方程式を導き、この回路方程式をリアクトルやコンデンサなどのエネルギー蓄積素子に関する状態方程式に変換する手法が与えられ、その手法を取入れた回路解析ツールが提供される。この回路解析ツールは、タブロー法のように、個々の構成回路要素の特性法則を表す式とその接続関係を表す式を全て連立させた非線形微分代数方程式を解く場合に比べ、リアクトルやコンデンサなどのエネルギー蓄積素子だけに関する状態方程式だけを繰り返し演算すればよいので、最小限の演算回数で、速やかに所望の解析結果を得ることができる。
【0086】
また、回路の動作モードごとに状態方程式を立てる方法と違い、あらかじめ動作モードを知る必要がなく、ただスイッチのオンオフ動作条件をプログラムとして記述すればよい。さらに、時間領域回路解析法や周波数領域回路解析法とは違い、回路のマクロモデル化をする必要がないので、マクロ化に伴う近似的な処理を必要としないので、共振現象や不連続動作を含む複雑な電力変換回路の解析をも厳密に扱うことが可能である。
【0087】
さらに、本発明の回路解析ツールではデジタル制御アルゴリズムをプログラムとして記述し、組み込むことも可能であり、回路解析ツールで用いたものと同じプログラムを実際にマイクロプロセッサやDSPを用いて制御される電力変換機器の制御プログラムの中に移植することも可能である。
【0088】
また本発明の回路解析ツールでは、状態方程式を解く際の計算ステップ幅を回路の固有値に基づき決定する手法が提供され、このような手法を採用することにより、計算回数を最小にして、しかも解の収束性を保証することができる。
【図面の簡単な説明】
【図1】本発明による本発明の第一の実施例の第一の実施例を示す図
【図2】解析対象回路の一例を示す図
【図3】図2の回路のスイッチを時変抵抗としてモデル化した回路モデル
【図4】図3の回路モデルから回路方程式を導くための説明図
【図5】本発明の回路解析ツールによる解析処理の一例を示すフローチャート図
【図6】本発明の回路解析ツールを実現する計算機システムの構成例を示す図
【図7】一次遅れ系における計算ステップ幅と回路の固有値との関係を示す図
【図8】図2の回路における動作モードとその固有値を示す図
【図9】(a)および(b)はそれぞれ図2の回路の抵抗値を変えた場合について本発明の回路解析ツールでシミュレートした結果を示す図で、固有値が計算結果に及ぼす影響を示す。
【図10】(a)は図2の回路を本発明の回路解析ツールでシミュレーションした結果、(b)は図2の回路の実機による実験波形を示す図。
【符号の説明】
2・・・回路方程式−状態方程式変換手段(代数計算手段)
4・・・数値積分手段
6・・・波形表示手段
7・・・時変抵抗回路モデル
8・・・計算ステップ幅決定手段
9・・・デジタル制御アルゴリズム[0001]
[Technical field to which the present invention belongs]
The device of the present invention is unified in a switch mode power conversion circuit such as a DC-DC converter combining a switching element and a diode, a thyristor single phase voltage doubler rectifier, a three phase voltage type high power factor PWM converter, and a switching type current amplifier. Circuit analysis tools applicable to
[0002]
[Prior art]
Conventionally, in computer-aided analysis of switch-mode power conversion circuits using power semiconductor elements, analysis is performed as a nonlinear differential algebraic equation in which an equation representing the characteristic law of each component circuit element and an equation representing its connection relation are combined. There are known a tableau method, a circuit analysis tool that switches state equations for each change in an operation mode (how a current flows in a circuit), and sequentially calculates a numerical value of a circuit operation state at each time in detail. In addition, as a method of globally analyzing the operation of the circuit, some jumps are made by using the fact that the periodic operation waveforms of each part of the power conversion circuit that switches at high frequency are similar to the waveforms of the periods before and after that. Analyzing the operation accurately only for the selected period, and enveloping the operation waveforms of the remaining many periods in an envelope, and obtaining all the operation modes for the analysis target circuit. There is a state averaging method that averages input and operation waveforms according to a certain percentage of time. In addition to the time domain circuit analysis methods such as the envelope tracking method and the state averaging method, the response of the analysis target circuit to the sine wave input of a certain frequency is formulated, and then the response to all frequencies Circuit analysis tools such as a frequency domain circuit analysis method for obtaining steady response characteristics by synthesizing waveforms have also been developed.
[0003]
In these circuit analysis tools, when solving a differential equation (referred to as a state equation) representing the state of a circuit element with energy storage such as a capacitor or a reactor by numerical integration calculation, how much step width Δt of the calculation should be selected This is an important problem. If the calculation step width is too small, the calculation time by the computer increases, and if it is too coarse, the solution by the numerical integration operation diverges and the analysis result cannot be obtained. For this purpose, the following items are considered.
[0004]
(1) The step width of calculation in the switch mode power conversion circuit must be sufficiently small with respect to the operation cycle of the switch, and if the output is controlled by frequency modulation or pulse width modulation, the amount of operation Need to have sufficient resolution. The required resolution differs depending on whether the output voltage or current waveform changes suddenly or slowly. However, except for special cases, there is no problem if a switching period of about 1/100 to 1/1000 is selected.
[0005]
(2) If the step width is too small, the calculation time becomes long, and there is a concern about accumulated errors due to rounding. Of these, rounding errors are rarely a problem because double-precision floating-point arithmetic is currently mainstream. If a frequency or pulse width is generated from a clock pulse using a digital control circuit, the characteristics close to those of an actual switch mode power conversion circuit can be obtained if the clock pulse period and the calculation step width are the same. Obtainable.
[0006]
(3) The state equation solution must converge.
[0007]
Many technologies have been developed in consideration of such conditions. For example, during a single numerical calculation, the calculation step width is constant, and a test is first performed with a large Δt, and then Δt / 2, Δt / There is a method of trying 4 etc. and repeating until the result hardly affects the step width. Also, a method of dynamically adjusting the calculation step width may be employed.
[0008]
[Problems to be solved by the invention]
These conventional circuit analysis tools still have some technical problems as described below.
[0009]
First of all, in the tableau method or the method of calculating the circuit operation state at each time in detail by switching the state equation for each mode change, in order to solve the state equation, a lot of calculation steps are required. Requires repeated calculations. In particular, in the tableau method, in order to calculate the current-voltage waveform of the energy storage element by numerical integration from the simultaneous nonlinear differential equation, it is necessary to repeatedly perform this entire equation, and the calculation time becomes longer as the circuit becomes more complicated. Increase.
[0010]
In the method of establishing the state equation for each change of the operation mode, it is necessary to investigate all the operation modes in advance and to establish the state equation for each operation mode. Each time the numerical integration is advanced, it is determined which mode the circuit state corresponds to, and the analysis is advanced while switching the state equation. In this case, it is difficult to grasp all the operation modes, or it is practically very difficult to analyze a complicated switching circuit having several tens of operation modes.
[0011]
The time domain circuit analysis method and the frequency domain circuit analysis method developed by the envelope tracking method and the state averaging method, which were developed to reduce the number of calculation steps in the numerical integration operation and reduce the computation time of the computer, are included in the analysis target circuit. It is difficult to completely reproduce the transient circuit operation of a highly nonlinear circuit in which resonance phenomena and intermittent modes of current frequently appear.
[0012]
On the other hand, digital control systems using high-speed microprocessors and DSPs (Digital Signal Processors) can compensate for circuit operations flexibly and make use of the advantages of obtaining stable and highly accurate outputs under a wide range of operating conditions. It has been widely applied in industrial fields such as uninterruptible power supplies and medical special power supplies. However, in order to analyze such a power conversion circuit in detail, it is necessary to incorporate the same control algorithm as the actual machine into the analysis circuit model. However, SPICE (Simulation Program with Integrated Circuit Emphasis) marketed to date General-purpose circuit analysis tools represented by) cannot incorporate these digital control algorithms.
[0013]
Therefore, the present invention has an object to provide a new and practical circuit analysis tool that can easily incorporate a digital control algorithm described in a programming language and can be applied uniformly to various switch mode power conversion circuits. And Another object of the present invention is to provide a method for determining a calculation step that minimizes the calculation step and solves the state equation and solves the equation of state, and a circuit analysis tool incorporating this method.
[0014]
[Means for Solving the Problems]
In order to achieve the above object, the circuit analysis tool of the present invention includes means for inputting a switch element of a circuit to be analyzed as a time-varying resistance circuit model modeled by a resistance that changes with time, and a time-varying resistance circuit model. A calculation means for deriving the state equation based on the state equation and a display means for displaying the state quantity of the analysis target circuit as a waveform as a result of the calculation means. The calculation means is based on a time-varying resistance circuit model. An algebraic calculation means for converting the circuit equation derived from the above equation into a state equation relating to the energy storage element in the circuit to be analyzed, and a numerical integration means for solving the state equation.
[0015]
More specifically, in the circuit analysis tool of the present invention, the circuit equation is expressed by the equation (1) derived from Kirchhoff's law,
E = IR (1)
(In the equation, R is a resistance matrix determined by the resistance of a circuit component, E is a vector including state variables and inputs related to the energy storage element as elements, and is hereinafter referred to as a voltage vector. I is a vector that satisfies Expression (1), and is hereinafter referred to as current. It is called a vector.)
The voltage vector E is expressed by the expression (2) that separates the term of the state vector x and the term of the input vector Vi,
E = Kxx + KuVi (2)
(Where KxAnd KuEach represents a coefficient derived from the voltage vector E. )
Algebra calculation means is
1) Resistance matrix R to its inverse matrix R-1The process of seeking
2) Inverse matrix R-1Matrix R extracted from energy storage elements*Defining a process, and
3) Matrix R*, Coefficient Kx, KuAnd a step of deriving coefficients A and B of the state equation represented by the following equation (3) based on the constants of the energy storage elements.
[0016]
[Expression 2]
Figure 0003943163
In a preferred aspect of the circuit analysis tool of the present invention, the calculation of the algebra calculation means further includes a step of incorporating the switching condition of the switch element into the resistance matrix R of the circuit equation.
[0017]
In the circuit analysis tool of the present invention, a state equation relating to an energy storage element such as a reactor or a capacitor can be mechanically derived from the circuit equation, and the state equation thus derived may be repeatedly calculated. The analysis result can be obtained. In addition, the switching condition and the control algorithm for controlling the switching condition can be described as a program and incorporated into the calculation process of the analysis tool, so that even a circuit employing a control method can be analyzed.
[0018]
Another aspect of the circuit analysis tool of the present invention is a circuit analysis tool provided with numerical integration means for solving a state equation describing a circuit to be analyzed with a predetermined calculation step width by numerical integration, wherein the calculation step width is equal to the state equation. A calculation step width determining means for obtaining an eigenvalue of the circuit for each operation mode from the eigenvalue, selecting an eigenvalue that converges the fastest among these eigenvalues, and determining a calculation step width of the numerical integration means based on the selected eigenvalue. Yes.
[0019]
By paying attention to the eigenvalues of the circuit and determining the calculation step width based on the eigenvalues, it is possible to perform a numerical integration operation that minimizes the number of calculations and guarantees solution convergence. As a result, it is possible to provide a circuit analysis tool that can be reliably operated and can be obtained in a short time.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a first embodiment of a circuit analysis tool 10 of the present invention. A time-varying resistance model circuit in which a switch of an analysis target circuit 20 is mainly replaced with a resistance that changes with time (hereinafter, time-varying resistance). 7 (not shown), an algebraic calculation means 2 for converting the circuit equation 1 derived from the Kirchhoff circuit law based on the circuit model 7 into the state equation 3, and the obtained state equation 3 Numerical integration means 4 for solving by numerical integration, means 8 for determining a calculation step width in the numerical integration calculation, and means 6 for displaying a waveform of the solution obtained by the numerical integration means 4 are provided.
[0021]
The analysis target circuit 20 is a switch mode power conversion circuit including a switch and a diode, and digital control for compensating the operation of the circuit and obtaining a stable and highly accurate output under a wide range of operating conditions may be employed. The digital control algorithm 9 and the algorithm 5 describing the switching conditions of the switches and diodes in the circuit 20 are incorporated as a program in the process of deriving the state equation 3 in the algebraic calculation means 2 to determine the resistance matrix R of the circuit equation. Used for.
[0022]
The circuit model 7 is obtained by replacing the switch of the analysis target circuit with a resistor that changes with time (hereinafter, time-varying resistor). The circuit equation 1 can be derived from Kirchhoff's law based on the time-varying resistance circuit model 7 and is generally expressed by the equation (1).
[0023]
E = IR (1)
Here, R is a matrix that is obtained when the resistance of the circuit is determined, and is called a resistance matrix. E is a vector including a state variable and an input voltage as elements, and is called a voltage vector. I is a vector that satisfies Equation (1), and is referred to as a current vector.
[0024]
In addition, the circuit equation is obtained by separating the voltage vector E into a term of the state vector x and a term of the input vector Vi, and the equation (2)
E = Kxx + KuVi (2)
Can be expressed as
[0025]
The algebra calculation means 2 calculates the inverse matrix R from the resistance matrix R.-1And the inverse matrix R-1Matrix R extracted from energy storage elements*And the matrix R*, Coefficient K in equation (2)x, KuThe coefficients A and B of the state equation represented by the equation (3) are derived based on the constants of the energy storage elements such as the reactors and capacitors of the circuit.
[0026]
[Equation 3]
Figure 0003943163
In this calculation, digital control algorithm 9 and switching condition 5 of switch and diode are introduced.
[0027]
The numerical integration means 4 employs a known method, for example, the Runge-Kutta method, and solves the state equation by the numerical integration means 4 with a predetermined calculation step width. The calculation step width in the numerical integration means 4 is obtained based on the eigenvalue for each operation mode obtained from the above state equation, and the eigenvalue that converges the fastest among them is selected.
[0028]
The waveform display means 6 displays the analysis result in the numerical integration means 4 as a waveform.
[0029]
Next, an embodiment in which the circuit analysis tool of the present invention thus configured is applied to the analysis of the operation of a specific switching mode power conversion circuit will be described in detail, and the theoretical support of the analysis tool of the present invention will be described. I do.
[0030]
FIG. 2 is a diagram illustrating an example of an analysis target circuit used for explaining the analysis theory of the circuit analysis tool. This is a DC-DC converter. By controlling the switching timing of the inverter bridge composed of a plurality of switches, the output voltage V0Is controlled from zero to the maximum. Where Vi is a DC power supply (input), Rw is a combined resistance of the internal resistance of the DC power supply and wiring resistance, Swl to Sw4 are switches, D1 to D4 are diodes connected in reverse parallel to the switches Swl to Sw4, and Cs is A series resonance capacitor connected to the output of the inverter bridge, Lr is a series resonance reactor connected in series to the series resonance capacitor Cs, and Cp is the series resonance reactor Lr and the other side of the output end of the inverter bridge. D5 to D8 are diodes rectifiers for rectifying an AC voltage generated across the parallel resonance capacitors, CL is a smoothing capacitor for smoothing the output voltage of the diode rectifiers, and RL is a load resistor. Rr and Ri represent the loss generated in the circuit by resistance.
[0031]
In this circuit example, a series resonant circuit including a capacitor Cs and a reactor Lr connected in series to the load RL, and a parallel resonant circuit including a reactor Lr and a capacitor Cp connected in parallel to the load RL. Acts simultaneously and the operation of the circuit is very complex. When the load resistance RL is large, the current flowing through the rectifiers D5 to D8 is discontinuous, and the output voltage has a non-linear response waveform. Although not shown, this circuit uses a high-speed microprocessor or digital signal processor to adjust the on / off timing of each switch of the inverter bridge so that a desired output voltage can be applied to any load resistance RL. Is optimally controlled so that
[0032]
In the present invention, such an analysis target circuit is input to a circuit analysis tool as a time-varying resistance model circuit. FIG. 3 is a diagram showing a time-varying resistance model circuit. Each of the switches Swl to Swl of the circuit shown in FIG. Further, the diode bridges D5 to D8 are modeled as time-varying resistors RD5 to RD8, respectively.
[0033]
In this method of modeling with time-varying resistors, it is possible to introduce a dynamic detailed model of a power semiconductor device in order to express switching loss and the like, but here two ideal on and off Only the switching state will be described.
[0034]
Next, the operation of the circuit thus modeled is described by circuit equations. For this reason, the connection points of each circuit component are named Node0 to Node7, respectively. FIG. 4 shows closed circuits through which current flows are expressed as Loop1 to Loop7. As can be seen from FIG. 3, in this circuit, since the number of connection points j = 8 and the number of branches b = 15, j-1 = 8-1 = 7 from Kirchhoff's first law (current law), It is sufficient to formulate b + 1−j = 15 + 1−8 = 8 formulas from Kirchhoff's second law (voltage law). Therefore, the reactor current i treated as a state variable described later is used.LrAnd capacitor voltage ecs, Ecp, EcLAnd input voltage V treated as inputiThe following equation can be derived so that is on the left side.
[0035]
Node1: 0 = iw-Is1-Is3
Node2: 0 = −ics+ Is1-Is2
Node3: 0 = −iw+ Is2+ Is4
Node4: iLr= -Ii+ Ics
Node5: -iLr= -Icp-ID5+ ID6
Node6: 0 = −iL-IcL+ ID5+ ID7
Node7: 0 = iL+ IcL-ID6-ID8
Loop1: Vi = Rwiw+ Rs1is1+ Rs2is2
Loop2: ecs= -Riii+ Rs2is2-Rs4is4
Loop3: ecp+ RriLr= -ELr+ Riii
Loop4: ecs+ RriLr= -ELr-RD5iD5+ RD7iD7-Rs1is1+ Rs3is3
Loop5: ecL= -RD5iD5-RD6iD6
Loop6: ecL= RLiL
Loop7: 0 = RLiL+ RD7iD7+ RD8iD8
Loop8: ecp= -RD6iD6+ RD8iD8
These can be expressed using a matrix as follows.
[0036]
E = RI (1)
Here, R, I, and E are defined by the following equations (4) to (6), respectively.
[0037]
[Expression 4]
Figure 0003943163
Since the matrix R is obtained when the resistance of the circuit component is determined, it is called a resistance matrix here. Similarly, E represents a voltage of each circuit component, and therefore, I represents a voltage vector, and I represents a current, so that it is referred to as a current vector. If the resistance matrix R and the voltage vector E are known, the current vector I can be obtained by the following equation (7).
[0038]
I = R-1E (7)
Where R-1Is an inverse matrix of the matrix R, and each element is expressed as in the following equation (8).
[0039]
[Equation 5]
Figure 0003943163
Next, a state equation which is a differential equation regarding the reactor and the capacitor is derived from the circuit equation. The standard form of the state equation can be expressed by the following equation (3).
[0040]
[Formula 6]
Figure 0003943163
Here, x (t) is a state variable vector, A and B are coefficient matrices, and u (t) is an input vector. In the circuit of FIG. 3, the current i of the reactor LrLrAnd the voltage e of each capacitorcs, Ecp, EcLIs selected as a state quantity, and the state vector x is determined as follows. x = [iLrecsecpecL]t                        (9)
Next, the voltage vector E is decomposed into a term of the state vector x and a term to the input, and each coefficient is set to Kx, KuThis is expressed by the following formula (10).
[0041]
E = Kxx + KuVi                              (10)
From equation (6), Kx, KuIs as follows.
[0042]
[Expression 7]
Figure 0003943163
Ku= [0000010000000]t       (12)
Substituting the right side of this equation (10) into the right side of equation (7),
I = R-1(Kxx + KuVi) = (R-1Kx) X + (R-1Ku) Vi    (13)
It becomes. The right side of equation (13) is very similar to the right side of state equation (3).
[0043]
By the way, among the elements of the current vector I, eLr, Ics, Icp, IcLAnd state variables (iLr, Ecs, Ecp, EcL) Has the following relationship:
[0044]
[Equation 8]
Figure 0003943163
Here, Lr represents the inductance of the reactor in the circuit of FIG. 3, and Cs, Cp and CL represent the capacitance of the capacitor. The left side of these equations (14) to (17) is the left side of the state equation, and the right side is the four elements (e in the current vector I obtained by equation (7).Lr, Ics, Icp, IcL) Divided by the inductance Lr of the reactor and the capacitances Cs, Cp, and CL of the capacitor, respectively, and can be calculated from the current vector I and the circuit constant in the equation (7).
[0045]
If attention is paid to the similarity between this and the right side of the equation (13) and the general form (3) of the state equation, A and B of the state equation (3) can be mechanically obtained by the following procedure. First, R-1To matrix R*Is defined by the following equation (18). R*Refers to R with reference to the current vector I-1Among these, a matrix of 4 rows and 15 columns, in which only 4 rows related to Lr, Cs, Cp, and CL are extracted.
[0046]
[Equation 9]
Figure 0003943163
For convenience, the inductance Lr and the capacitances Cs, Cp, and CL of the capacitor are represented by the vector L.*It is expressed as
[0047]
L*= [LrCsCpCL]t                        (19)
The coefficient (R) of the first term on the right side of Equation (13)-1Kx) And four elements (eLr, Ics, Icp, IcL) A to extract only the lines that require*Then, this is a 4 × 4 square matrix.
[0048]
A*= R*Kx                                    (20)
From the equations (18) to (20), the matrix A is A*Element of A*j, k, L*Element of L*j can be obtained as follows.
[0049]
[Expression 10]
Figure 0003943163
Similarly, the coefficient (R of the second term on the right side of Equation (13)-1Ku), The four elements (eLr, Ics, Icp, IcL)*Then this is a 4-by-1 vector,
B*= R*Ku                                    (22)
Given in. B is B*Element of B*j, L*Element of L*j can be obtained as follows.
[0050]
## EQU11 ##
Figure 0003943163
In this way, the coefficients A and B of the state equation can be mechanically derived from the circuit equation.
[0051]
Next, this state equation is solved by numerical integration. As already described, the power semiconductor switches and diodes in the circuit of FIG. 2 are modeled as time-varying resistors. Switch or die auto switching condition 5 needs to be given.
[0052]
Therefore, hereinafter, a control algorithm 9 realized by a digital circuit or an analog circuit and a switching state 5 of a switch that is passively determined as an on / off state depending on the operation state of the circuit, such as a diode, are incorporated in the circuit analysis tool 10 of the present invention. A method for achieving this will be described in detail.
[0053]
Here, as already described, the power semiconductor switch is modeled as a time-varying resistor that ideally takes only two switching states, on and off. The on-time resistance is represented by Ron, the off-time resistance is represented by Roff, the current time is represented by t, and the resistances of the switches Sw1 to Sw4 in which the diodes are connected in antiparallel in the model circuit of FIG.s1~ Rs4The current flowing through these is is1~ Is4In terms of switching conditions, the switching condition is R when the predetermined switch Sw1 is on during the time t1 to t2.s1Is Ron or R is offs1Is Roff. For example, if this condition is expressed in C language,
[0054]
[Expression 12]
Figure 0003943163
Thus, it can be directly introduced into the simulation program.
[0055]
Similarly, the resistance modeled as a diode is RD5~ RD8The current of the diode is iD5~ ID8In C language
[0056]
[Formula 13]
Figure 0003943163
Will be executed. In this way, switching conditions of switches and diodes can be easily incorporated into a simulation program using the “if ... then” format. These switching conditions are executed for each calculation step when the above-described state equation is solved by numerical integration.
[0057]
In actual programming, the upper and lower switches of the inverter may be turned on at the same time and an excessive current flows only for one calculation step under the above conditions alone, or the upper and lower switches may be turned off and the voltage may jump. In such a case, it is necessary to devise measures to prevent these separately.
[0058]
In general, the digital control algorithm consists of a program written to input a state quantity of a circuit, here a DC-DC converter, at every predetermined sampling time to control the duty (on time) of each of the switches Sw1 to Sw2. Therefore, it can be incorporated into the simulation program of the present invention as it is. Specifically, for each calculation step of the numerical integration calculation, it is determined whether or not the sampling time has been reached, and if it is the sampling time, the control algorithm is executed. What should I do?
[0059]
In addition, when the simulation program once created is applied to other power conversion circuits, R, Kx, Ku, R*, L*And the above switching conditions may be redefined.
[0060]
FIG. 5 is a flowchart showing the analysis procedure using the circuit analysis tool of the present invention described above. First, the constant Kx, KuThe voltage vector E is obtained from the state vector x (t) and the input vector u (t). Next, this E and R-1The current vector I is obtained from the current R, and the resistance R which models the switch and the diode by the program “if... Then then” from the current time t.sk, RDm(K = 1-4, m = 5-8). Here, compared to the previous calculation, Rsk, RDmWhen there is a change in R, R-1, R*As well as R*, Kx, L*To A, R*, Ku, L*To B. If A and B are determined, the state vector x (t + Δt) after the calculation step width Δt is obtained by numerical integration. At this time, if the time t is the sampling time of digital control, programmed feedback control is performed and the calculation progress is saved. These can be repeated until a predetermined calculation end time to obtain a desired result. That is, all necessary information in the circuit can be obtained from the voltage vector E, current vector I, resistance matrix R, state variable x and the like obtained in the above flow.
[0061]
The circuit information is graphically displayed by the waveform display means 6 (FIG. 1) as, for example, circuit transient characteristics or steady state.
[0062]
In the above description, the case where the switching conditions are introduced as a program in the “if ... then” format has been explained. However, in a circuit with a relatively small number of operation modes, all the numbers are pre- R for the operating mode-1Alternatively, the coefficients A and B of the state equation can be calculated. In this case, it is assumed that there are n resistors modeling a switch or a diode.nOnly these modes will be prepared. If some of these modes are not implemented, the computation process can be omitted.
[0063]
As a numerical integration calculation method, a general numerical integration method such as Runge-Kutta method or Euler method can be adopted.
[0064]
An example of the hardware of a computer system constituting a circuit analysis tool that actually incorporates the circuit analysis theory described above is shown in FIG. In this computer system, a high-speed server 60 and various workstations 61, a microcomputer development support device 62, a personal computer 63, a printer 64, and the like are connected by a network centered on Ethernet. Then, numerical calculation processing is executed, and the analysis result is displayed and evaluated on the personal computer 63 connected to the network. It is also possible to obtain numerical data such as an effective value and an average value of the current from the calculation result. In such a case, it is not always necessary to display the current voltage waveform. The analysis result can be displayed on the personal computer 63 or output to the printer 64. Further, the control algorithm used for the circuit analysis can be transferred to the microcomputer development support device 62 via the network, and the control microprocessor on the actual power conversion device 65 can be operated.
[0065]
Next, the calculation step width determination method of the present invention that can be applied to the numerical integration calculation of the state equation in the circuit analysis tool according to the present invention described above will be described.
[0066]
As described above, when determining the calculation step width in the numerical integration operation, (1) the step width must be sufficiently small with respect to the switch operating cycle in the switch mode power conversion circuit, and further the frequency modulation and pulse width When the output is controlled by modulation, it is necessary to have sufficient resolution for the manipulated variable. (2) If the step width is too small, the calculation time will be long. (3) The equation of state is solved. It is necessary to consider such things as convergence. In the present invention, in addition to the above conditions (1) and (2), an eigenvalue for each operation mode is obtained from the state equation, and a calculation step width is obtained based on this, thereby minimizing the number of repeated calculations. A step width determination method that guarantees the convergence of is given.
[0067]
First, eigenvalues for each operation mode are obtained. The state equation (3) is a linear differential equation in one operation mode (a state in which the on / off states of all the switches are constant). Therefore, when solving the state equation by numerical calculation, the state variable at the end of the operation mode is repeatedly integrated as the initial value of the next operation mode, and the state variable for each time is obtained.
[0068]
In general, a linear ordinary differential equation with zero input is given by the following equation (24), and its solution is given by equation (25).
[0069]
[Expression 14]
Figure 0003943163
Λ in this equation (25)1~ ΛnIs an eigenvalue and is usually used for determining stability of the control system. If the eigenvalue is a negative real number, this is the reciprocal of the time constant. In the case of a conjugate complex number, the imaginary part corresponds to the angular frequency, and the real part corresponds to the speed of attenuation.
[0070]
When obtaining the solution of the differential equation by iterative calculation, all the terms of the equation (25) need to converge. This is also true when solving the linear ordinary differential equation (24). Therefore, here, it is assumed that the state equation (3) is solved with one calculation step width, paying attention to the term that converges the fastest, and based on the eigenvalue of the term that has the largest real part value (speed of decay). decide. That is, it is appropriate that the calculation step width at which the solution corresponding to the eigenvalue converges is preferably about the time constant so that it does not exceed twice the circuit time constant (the reciprocal of the eigenvalue).
[0071]
Figure 7 shows the first-order lag system using the third-order Runge-Kutta method.
[0072]
[Expression 15]
Figure 0003943163
A comparison of the influence of the calculation step width was shown. As can be seen from FIG. 7, when the calculation step width is Δt = 1 / λ, it is close to the exact solution, and when Δt> 2 / λ, the solution does not converge. These differ slightly depending on the solution, but in the Euler method and the second to fourth order Runge-Kutta method, Δt <2 / λ is a condition for the solution to converge, and preferably Δt <1.5 / λ. is there.
[0073]
The eigenvalue λ in each modeiThere are several methods for obtaining (i: 1 to n). If the degree is small, λ can be obtained from det (λJ−A) with the unit matrix as J. If the degree is high, the state equation matrices A and B are once converted into transfer functions using the Fadeev method, and the eigenvalues may be obtained from the characteristic equation with the denominator being zero.
[0074]
Next, the result of determining the calculation step width in the circuit shown in FIG. 2 and the result of simulation using this calculation step width will be described.
[0075]
Table 1 shows the eigenvalues obtained for the eight modes realized by the circuit of FIG. 2, which are obtained assuming that the on-state resistance is Ron = 10 mΩ and the off-state resistance is Roff = 100 kΩ. It is. Further, only one example is shown as mode 2 'when Ron = 10 mΩ.
[0076]
[Table 1]
Figure 0003943163
When mode 2 in Table 1 is considered in detail with reference to FIG. 8 in which the corresponding circuit is represented by a bold line, the eigenvalues λ1 and λ2 of mode 2 are both conjugate complex numbers and the imaginary part is 6.762 × 10 6.FourIs the angular frequency (6.762 × 10Four/2π=10.8 kHz), which corresponds to the series resonance frequency (10.6 kHz) of the capacitor Cs and the reactor Lr (FIG. 8A). The real parts of λ1 and λ2 represent the speed of attenuation of this resonance. The eigenvalue λ3 corresponds to the time constant of the charging / discharging circuit of the capacitor Cp via the diodes D5 and D8 in the on state when the capacitance of the capacitor CL is sufficiently large and can be regarded as a voltage source ((b) in the figure). ). That is, when the resistance of two diodes connected in series = 10 mΩ × 2 and the capacitance of the capacitor Cp = 5 μF, the time constant of the charge / discharge circuit formed by these is (10 × 10-3× 2) × 5 × 10-6F = 100 × 10-9s, which is the absolute value of the reciprocal of λ3 (1.016 × 107)-1= 98.4 × 10-9corresponds to s. Similarly, the eigenvalue λ4 corresponds to the time constant of the capacitor CL and the load resistance RL ((c) in the figure). The eigenvalue varies depending on the resistance model of the switch and the diode and the load resistance, but it can be seen that each eigenvalue corresponds to the circuit as shown in the figure.
[0077]
As described above, in the step width determination according to the present invention, the step width Δt is determined so as to satisfy Δt <2 / λ for the eigenvalue λ that converges the fastest. The eigenvalue that converges the fastest in the mode 2 described above is λ3, and the calculation step width Δt at which the solution corresponding to the eigenvalue λ3 converges is determined to be about the time constant (1 / λ3) of this circuit. FIG. 9A shows the result of simulating the current icp flowing into the capacitor Cp when the step width Δt is Δt = 100 ns (about 1 / λ 3) and Δt = 250 ns. When calculating with a step width of about 1 / λ3 = 98ns corresponding to λ3, a good current waveform is obtained, but when calculating with a step width exceeding 250 times (250ns) Shows that the solution has not converged.
[0078]
FIG. 9B shows a simulation result (icp) in the case where the resistance Ron = 20 mΩ when the diodes D5 to D8 are on (mode 2 ′ in Table 1). The eigenvalue λ3 (= − 5.078 × 106When the time constant obtained from (1) is 1 / λ3 = 197 ns, the calculation step width is obtained as Δt = 350 ns (= 1.75 / λ3). Thus, it can be seen that if the switch ON resistance is selected to be large in a circuit in which a diode bridge and a capacitor are connected, the solution converges even with a relatively large calculation step width. Thereby, the calculation time can be shortened.
[0079]
In the above description, only the real part of the eigenvalue of the conjugate complex number, that is, the part related to attenuation is considered. However, for the eigenvalue of the conjugate complex number, it is necessary to consider both vibration and convergence. In this case, it is practical to select a calculation step width Δt that satisfies Δt <2 / λ and is approximately 1/10 to 1/100 of the vibration period 2π / ω obtained from the imaginary part ω of the eigenvalue. In any case, the calculation step width can be determined from the eigenvalues of the circuit.
[0080]
As described above, according to the present invention, by determining the calculation step width from the eigenvalue of the circuit, it is possible to set the step width at which the solution converges while minimizing the number of calculations. Note that this calculation step width determination method is applied to a circuit analysis tool 10 including means 2 for converting a circuit equation into a state equation as shown in FIG. 1, thereby making the circuit analysis tool of the present invention more effective. However, the present invention can be applied not only to such a circuit analysis tool but also to a case where a state equation of a circuit is generally solved by a numerical integration operation, and a similar effect can be obtained also in this case.
[0081]
FIG. 10A shows the result of simulating the voltage Vce2 and the current is2 of the switch Sw2 of the circuit shown in FIG. 2 using a circuit analysis tool employing the calculation step width determination method as the calculation step width determination means 8. The experimental results are compared and shown in FIG. As can be seen from these figures, the simulation results and the experimental results agree relatively well.
[0082]
In addition, since a snubber is provided in the experimental device, a sudden change in the voltage Vce2 is not seen when the diode connected in antiparallel with the switch is turned off. However, in the simulation, when the diode is turned off because there is no snubber. There is a sudden change. The absolute value of the current waveform is calculated to be slightly smaller, which is considered to be a difference between the circuit model of FIG. 3 and the experimental apparatus.
[0083]
The circuit analysis tool of the present invention has been described based on the embodiment in which the DC / DC converter circuit of FIG. 2 is applied. However, the circuit analysis tool of the present invention is based on the circuit model based on the Kirchhoff circuit law. Resistance matrix R, voltage vector E, current vector I, conversion matrix Kx, KuBy simply redefining the switching sequence, it can be applied to analysis of a thyristor single-phase voltage doubler rectifier, a three-phase voltage type high power factor PWM converter, a switching type current amplifier, and the like.
[0084]
Also, here, only the two states of on and off of the switch have been discussed, but it is also possible to model the switch with a time-varying resistance that changes continuously.
[0085]
【The invention's effect】
As described above, according to the present invention, a circuit equation is derived based on a circuit model obtained by modeling a switch of an analysis target circuit with a time-varying resistor, and this circuit equation is converted into a state equation relating to an energy storage element such as a reactor or a capacitor. A technique for conversion is given, and a circuit analysis tool incorporating the technique is provided. Compared to the case of solving a nonlinear differential algebraic equation in which all the equations representing the characteristic laws of individual circuit elements and the equations representing their connections are solved, such as the tableau method, this circuit analysis tool is used for reactors, capacitors, etc. Since only the state equation relating to only the energy storage element needs to be repeatedly calculated, a desired analysis result can be obtained quickly with the minimum number of calculations.
[0086]
Further, unlike the method of establishing a state equation for each circuit operation mode, it is not necessary to know the operation mode in advance, and it is only necessary to describe the on / off operation conditions of the switch as a program. In addition, unlike time domain circuit analysis and frequency domain circuit analysis methods, there is no need for macro modeling of the circuit, so there is no need for approximate processing that accompanies macro processing. It is also possible to handle strictly the analysis of complicated power conversion circuits.
[0087]
Furthermore, in the circuit analysis tool of the present invention, it is possible to describe and incorporate a digital control algorithm as a program, and the same program as that used in the circuit analysis tool is actually converted using a microprocessor or DSP. It can also be ported into the control program of the device.
[0088]
The circuit analysis tool of the present invention provides a method for determining the calculation step width for solving the state equation based on the eigenvalue of the circuit. By adopting such a method, the number of calculations can be minimized and the solution can be solved. Can be guaranteed.
[Brief description of the drawings]
FIG. 1 shows a first embodiment of the first embodiment of the present invention according to the present invention.
FIG. 2 is a diagram illustrating an example of a circuit to be analyzed
3 is a circuit model in which the switch of the circuit of FIG. 2 is modeled as a time-varying resistor.
4 is an explanatory diagram for deriving circuit equations from the circuit model of FIG. 3;
FIG. 5 is a flowchart showing an example of analysis processing by the circuit analysis tool of the present invention.
FIG. 6 is a diagram showing a configuration example of a computer system that realizes the circuit analysis tool of the present invention.
FIG. 7 is a diagram showing a relationship between a calculation step width and a circuit eigenvalue in a first-order lag system;
8 is a diagram showing an operation mode and its eigenvalue in the circuit of FIG.
FIGS. 9A and 9B are diagrams showing the results of simulating with the circuit analysis tool of the present invention when the resistance value of the circuit of FIG. 2 is changed, and showing the influence of eigenvalues on the calculation results; .
10A is a result of simulating the circuit of FIG. 2 using the circuit analysis tool of the present invention, and FIG. 10B is a diagram showing an experimental waveform of the actual circuit of FIG.
[Explanation of symbols]
2 ... Circuit equation-state equation conversion means (algebra calculation means)
4 ... Numerical integration means
6 ... Waveform display means
7 Time-varying resistor circuit model
8 ... Calculation step width determination means
9 ... Digital control algorithm

Claims (4)

解析対象回路のスイッチ素子を時間とともに変化する抵抗でモデル化した時変抵抗回路モデルとして入力する手段と、この時変抵抗回路モデルに基づき状態方程式を導出し、この状態方程式を解く演算手段と、前記演算手段の結果である前記解析対象回路の状態量を波形として表示する表示手段とを備えた回路解析装置であって、
前記演算手段は、前記時変抵抗回路モデルに基づき、回路構成要素の抵抗で決まる抵抗マトリクスとエネルギー蓄積素子に関する状態変数及び入力を要素として含むベクトルとで記述される回路方程式をキルヒホフの法則から導くとともに、前記抵抗マトリクスの逆マトリクスから前記エネルギー蓄積素子に関わる要素を抜き出したマトリクスを生成し、当該生成したマトリクスと前記エネルギー蓄積素子の定数を用いて、前記回路方程式を解析対象回路の中のエネルギー蓄積素子に関する状態方程式に変換する代数計算手段と、前記状態方程式を解くための数値積分手段とを備えたことを特徴とする回路解析装置。
Means for inputting the time-varying resistance circuit model of the switching element of the circuit to be analyzed as a time-varying resistance model, an arithmetic means for deriving a state equation based on the time-varying resistance circuit model, and solving the state equation; A circuit analysis device comprising display means for displaying a state quantity of the analysis target circuit as a waveform as a result of the calculation means,
The arithmetic means derives a circuit equation described by Kirchhoff's law based on the time-varying resistance circuit model, which is described by a resistance matrix determined by the resistance of the circuit component and a vector including state variables and inputs related to the energy storage element. And generating a matrix in which elements related to the energy storage element are extracted from the inverse matrix of the resistance matrix, and using the generated matrix and constants of the energy storage element, the circuit equation is converted into energy in the analysis target circuit. A circuit analysis apparatus comprising: an algebraic calculation means for converting to a state equation relating to a storage element; and a numerical integration means for solving the state equation.
前記回路方程式は、キルヒホフの法則から導出された式(1)と、
E=IR (1)
(式中、Rは回路構成要素の抵抗で決まる抵抗マトリクス、Eはエネルギー蓄積素子に関する状態変数及び入力を要素として含むベクトル、以下、電圧ベクトルという。Iは式(1)を満たすベクトルを表す。)
電圧ベクトルEを状態ベクトルxの項と入力ベクトルViの項に分離した式(2)とで表され、
E=Kxx+KuVi (2)
(式中、Kx及びKuはそれぞれ電圧ベクトルEから導かれる係数を表す。)
前記代数計算手段が実行する演算は、1)前記抵抗マトリクスRからその逆マトリクスR-1を求める工程、2)逆マトリクスR-1から前記エネルギー蓄積素子に関わる要素を抜出したマトリクスR*を定義する工程、及び3)マトリクスR*、前記係数Kx、Ku及び前記エネルギー蓄積素子の定数に基づき、次式(3)で表される状態方程式の係数A、Bを導出する工程を含むことを特徴とする請求項1記載の回路解析装置。
Figure 0003943163
The circuit equation is an expression (1) derived from Kirchhoff's law, and
E = IR (1)
(In the equation, R is a resistance matrix determined by the resistance of the circuit component, E is a vector including state variables and inputs relating to the energy storage element as elements, and hereinafter referred to as a voltage vector. I represents a vector satisfying equation (1). )
The voltage vector E is expressed by the expression (2) that separates the term of the state vector x and the term of the input vector Vi,
E = Kxx + KuVi (2)
(Wherein, Kx and Ku each represent a coefficient derived from the voltage vector E.)
The operations executed by the algebra calculation means are defined as 1) a step of obtaining an inverse matrix R-1 from the resistance matrix R, and 2) a matrix R * obtained by extracting elements related to the energy storage element from the inverse matrix R-1. And 3) a step of deriving coefficients A and B of the state equation represented by the following equation (3) based on the matrix R *, the coefficients Kx and Ku, and the constants of the energy storage elements. The circuit analysis device according to claim 1.
Figure 0003943163
前記代数計算手段が実行する演算は、更に前記回路方程式の抵抗マトリクスRに前記スイッチ素子のスイッチング条件を組込む工程を含むことを特徴とする請求項1記載の回路解析装置。  2. The circuit analysis apparatus according to claim 1, wherein the calculation executed by the algebra calculation means further includes a step of incorporating a switching condition of the switch element into a resistance matrix R of the circuit equation. 前記数値積分手段は、前記状態方程式から動作モードごとの回路の固有値を求め、これら固有値の中から最も速く収束する固有値を選び、この選択された固有値に基づいて前記数値積分手段の計算ステップ幅を決定する計算ステップ幅決定手段を備え、決定された計算ステップ幅で前記状態方程式を解くことを特徴とする請求項1ないし3に記載の回路解析装置。  The numerical integration means obtains an eigenvalue of the circuit for each operation mode from the state equation, selects an eigenvalue that converges fastest from these eigenvalues, and calculates a calculation step width of the numerical integration means based on the selected eigenvalue. 4. The circuit analysis apparatus according to claim 1, further comprising a calculation step width determining means for determining, wherein the state equation is solved with the determined calculation step width.
JP17371496A 1996-07-03 1996-07-03 Circuit analyzer Expired - Fee Related JP3943163B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17371496A JP3943163B2 (en) 1996-07-03 1996-07-03 Circuit analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17371496A JP3943163B2 (en) 1996-07-03 1996-07-03 Circuit analyzer

Publications (2)

Publication Number Publication Date
JPH1021281A JPH1021281A (en) 1998-01-23
JP3943163B2 true JP3943163B2 (en) 2007-07-11

Family

ID=15965780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17371496A Expired - Fee Related JP3943163B2 (en) 1996-07-03 1996-07-03 Circuit analyzer

Country Status (1)

Country Link
JP (1) JP3943163B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4583990B2 (en) * 2005-03-25 2010-11-17 株式会社四国総合研究所 Power system computing system
JP5219078B2 (en) * 2008-10-10 2013-06-26 学校法人 中央大学 Simulation method by numerical calculation of analog circuit and simulation method by numerical calculation of switching power supply circuit
JP6197314B2 (en) * 2013-03-13 2017-09-20 富士電機株式会社 Power system simulation method and power system simulator
CN104779613B (en) * 2015-04-02 2017-02-22 国家电网公司 Test-based equivalent modeling method for electric element comprising converter

Also Published As

Publication number Publication date
JPH1021281A (en) 1998-01-23

Similar Documents

Publication Publication Date Title
Zhang et al. A digital power factor correction (PFC) control strategy optimized for DSP
Tang et al. Small-signal modeling of average current-mode control
Chattopadhyay et al. Digital implementation of a line current shaping algorithm for three phase high power factor boost rectifier without input voltage sensing
Henry et al. Switched-capacitor converter state model generator
Chattopadhyay et al. A predictive switching modulator for current mode control of high power factor boost rectifier
Ioannidis et al. Novel control design for the buck converter
JP3943163B2 (en) Circuit analyzer
US10197607B2 (en) System and method for estimating component parameters
Hinov et al. Digitization of control systems for power electronic converters
JP2022507574A (en) Computer mounting method for electrical circuit simulation
Ang et al. Analysis of 4th-order LCLC resonant power converters
Chattopadhyay et al. A voltage-sensorless control method to balance the input currents of a three-wire boost rectifier under unbalanced input voltages condition
Merfert Analysis and application of a new control method for continuous-mode boost converters in power factor correction circuits
Kohlhepp et al. A Novel Combination of Algorithms for Accelerated Convergence to Steady-State
Blaabjerg et al. Analysis of the grid side behavior of a LCL-filter based three-phase active rectifier
CN114784819A (en) Control method, system and device of parallel converter and controller
CN113533998A (en) Predictive control method for three-phase alternating current electronic load
Iravani et al. A benchmark system for digital time-domain simulation of an active power filter
Zumel et al. A simple digital hardware to control a PFC converter
Sun Characterization and performance comparison of ripple-based control methods for voltage regulator modules
Rajagopalan et al. User-friendly dedicated power electronic converter simulator
Hamouda et al. A DSP based real-time simulation of Dual-Bridge Matrix Converters
Takano et al. Computer-aided simulation technique of digitally controlled switched-mode power conversion circuits and systems using state variable matrices
Cheng et al. An enhanced multi-frequency small-signal model for a high-bandwidth PCM buck converter
Bedrosian et al. Time-domain analysis of networks with internally controlled switches

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061114

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070405

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees