本文主要是介绍Modelica示例——桥式整流器,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
桥式整流器,英文 BRIDGE RECTIFIERS,也叫做整流桥堆,是利用二极管的单向导通性进行整流的最常用的电路,常用来将交流电转变为直流电。
电路
参数配置:
1)电压源[sinVoltage1]
Modelica.Electrical.Analog.Sources.SineVoltage
2)四个二极管[diode2]
Modelica.Electrical.Analog.Semiconductors.Diode
正半周如下图,diode1和diode4分压,diode2和diode3断路。
负半周如下图,diode2和diode3分压,diode1和diode4断路。
曲线
红色峰值和蓝色峰值的差异为正半周或负半周中,两个二极管的分压。
程序
model ab
Modelica.Electrical.Analog.Sources.SineVoltage sineVoltage1(V = 3, freqHz = 10) annotation(
Placement(visible = true, transformation(origin = {-78, -2}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.Analog.Semiconductors.Diode diode1 annotation(
Placement(visible = true, transformation(origin = {-40, 10}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.Analog.Semiconductors.Diode diode2 annotation(
Placement(visible = true, transformation(origin = {-40, -24}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Electrical.Analog.Semiconductors.Diode diode3 annotation(
Placement(visible = true, transformation(origin = {12, 10}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Electrical.Analog.Semiconductors.Diode diode4 annotation(
Placement(visible = true, transformation(origin = {12, -24}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.Analog.Basic.Resistor resistor1(R = 1) annotation(
Placement(visible = true, transformation(origin = {-16, -8}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
connect(diode3.p, diode4.p) annotation(
Line(points = {{12, 0}, {12, 0}, {12, -14}, {12, -14}, {12, -14}}, color = {0, 0, 255}));
connect(diode2.n, diode1.n) annotation(
Line(points = {{-40, -14}, {-40, -14}, {-40, 0}, {-40, 0}}, color = {0, 0, 255}));
connect(resistor1.n, diode4.p) annotation(
Line(points = {{-6, -8}, {12, -8}, {12, -14}}, color = {0, 0, 255}));
connect(diode1.n, resistor1.p) annotation(
Line(points = {{-40, 0}, {-40, -8}, {-26, -8}}, color = {0, 0, 255}));
connect(diode3.n, diode1.p) annotation(
Line(points = {{12, 20}, {-40, 20}, {-40, 20}, {-40, 20}}, color = {0, 0, 255}));
connect(diode2.p, sineVoltage1.n) annotation(
Line(points = {{-40, -34}, {-78, -34}, {-78, -12}, {-78, -12}}, color = {0, 0, 255}));
connect(diode4.n, diode2.p) annotation(
Line(points = {{12, -34}, {-40, -34}, {-40, -34}, {-40, -34}}, color = {0, 0, 255}));
connect(sineVoltage1.p, diode1.p) annotation(
Line(points = {{-78, 8}, {-78, 8}, {-78, 20}, {-40, 20}, {-40, 20}}, color = {0, 0, 255}));
annotation(
uses(Modelica(version = "3.2.2")));
end ab;
这篇关于Modelica示例——桥式整流器的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!