@@ -5,27 +5,27 @@ model DcDcHbridge "DC/DC H-bridge"
55 annotation (Placement(transformation(extent={{-10,40},{10,60}})));
66 Modelica.Electrical.PowerConverters.DCDC.Control.SignalPWM signalPWM(
77 useConstantDutyCycle= false , f= data.fS)
8- annotation (Placement(transformation(extent={{-10,0 },{10,20 }})));
8+ annotation (Placement(transformation(extent={{-10,10 },{10,30 }})));
99 Modelica.Electrical.PowerConverters.DCDC.Control.VoltageToDutyCycle
1010 voltageToDutyCycle(vMax= data.VMax) annotation (Placement(transformation(
1111 extent={{-10,-10},{10,10}},
1212 rotation=90,
13- origin={0,-30 })));
13+ origin={0,-20 })));
1414equation
1515 connect (hBridge.fire_p, signalPWM.fire)
16- annotation (Line(points={{-6,38},{-6,21 }}, color={255,0,255}));
16+ annotation (Line(points={{-6,38},{-6,31 }}, color={255,0,255}));
1717 connect (hBridge.fire_n, signalPWM.notFire)
18- annotation (Line(points={{6,38},{6,21 }}, color={255,0,255}));
18+ annotation (Line(points={{6,38},{6,31 }}, color={255,0,255}));
1919 connect (src_p, hBridge.dc_p1) annotation (Line(points={{-100,60},{-20,60},{
2020 -20,56},{-10,56}}, color={0,0,255}));
2121 connect (hBridge.dc_p2, mot_p) annotation (Line(points={{10,56},{20,56},{20,60},
2222 {100,60}}, color={0,0,255}));
2323 connect (hBridge.dc_n1, currentSrc.p) annotation (Line(points={{-10,44},{-20,
2424 44},{-20,40},{-50,40},{-50,-40}}, color={0,0,255}));
2525 connect (voltageToDutyCycle.dutyCycle, signalPWM.dutyCycle) annotation (Line(
26- points={{0,-19 },{0,-12 },{-20,-12 },{-20,10 },{-12,10 }}, color={0,0,127}));
27- connect (voltageToDutyCycle.v, driveBus.vRef) annotation (Line(points={{0,-42 },
28- {0,-70},{0,- 99.9},{0.1,-99.9}}, color={0,0,127}));
26+ points={{0,-9 },{0,0 },{-20,0 },{-20,20 },{-12,20 }}, color={0,0,127}));
27+ connect (voltageToDutyCycle.v, driveBus.vRef) annotation (Line(points={{0,-32 },
28+ {0,-99.9},{0.1,-99.9}}, color={0,0,127}));
2929 connect (hBridge.dc_n2, ldc.n) annotation (Line(points={{10,44},{20,44},{20,40},
3030 {50,40},{50,0}}, color={0,0,255}));
3131 annotation (Icon(coordinateSystem(preserveAspectRatio=false), graphics={
@@ -45,9 +45,7 @@ equation
4545 Diagram(coordinateSystem(preserveAspectRatio=false)),
4646 Documentation(info="<html>
4747<p>
48- The IdealInverter is based on a power balance between input and output.
49- The output voltage is fed (with a delay = dead time) to the output voltage source.
50- The input current is driven by an integral controller observing the power balance.
48+ The H-bridge consists of 4 powerelectronic switches, e.g. MosFets.
5149</p>
5250</html>" ));
5351end DcDcHbridge;
0 commit comments