How to properly run simple Simulink circuit?

48 次查看(过去 30 天)
Good day,
I am having issues with simulink. I am trying to simulate a portion of a circuit that I am trying to develop. I am just not understanding how simulink works. I created a portion of my circuit, stepping up a 12V DC voltage from a battery (from a DC to DC converter) to 4.5kv and it's suppose to charge a capacitor.
Source is 12 V - stepping it up to 4.5kV, and the capacitor should be charged at 4.5kV of course. I put a volt meter or a "voltage sensor" in parallel with the capacitor to verify the voltage.
The potentionmeter is used to adjust the DC-to-DC converter output (output should be somewhat linear to input). In real life, I have a dc-to-dc converter that has a max output of 6000V, and 1.67mA. At max, it draws a maximum of 1.5A. The dc-to-dc converter that I have is a 12V source.
I have attached the file, I hope someone can help me. This is driving me nuts.
When I am trying to run it, I am getting the following error.
I am using simscape for this. If there is a better recommendation please let me know.
Thank you in advance!!!
The model may not give enough information to make it possible to solve for values of some of its variables. Specific advice is given below.
Tie variable 'Voltage_Sensor.p.v' (Voltage) to a definite value, for example by connecting an appropriate domain reference block.
Dependency found among topology equations. Check for missing reference node.
Component:Simulink | Category:Modelwarning
The model may not give enough information to make it possible to solve for values of some of its variables. Specific advice is given below.
Tie variable 'Voltage_Sensor.p.v' (Voltage) to a definite value, for example by connecting an appropriate domain reference block.
Dependency found among topology equations. Check for missing reference node.
Component:Simulink | Category:Modelwarning
An error occurred while running the simulation and the simulation was terminated
Caused by:
At time 0.000000, an assertion is triggered. Supply-side current exceeded the Maximum expected supply-side current. The assertion comes from:
Block path: step_up_charge_cap/DC-DC Converter
Assert location: (location information is protected)
Component:Simulink | Category:Blockerror
  2 个评论
Arvind Sathyanarayanan
Do you have a ground in your circuit? The error seems to suggest you don't have a reference point.
Unfortunately, I don't have the right licenses to view the model. Maybe you could post a screenshot?

请先登录,再进行评论。

采纳的回答

Patel Mounika
Patel Mounika 2019-2-19
Maximum expected supply-side current (Block parameter of DC-DC converter) is set to 1.5mA, but the circuit is drawing more current than specified, so try changing maximum expected supply-side current to appropriate value. For example, I tried changing it to 1.5 A and there were no errors produced.
  9 个评论
cancel077
cancel077 2019-2-21
it works. I guess all I had to do was put a ground as reference! In real life I don't need to, which is why it confused me! Thank you appreciate it!
On a side note, you wouldn't know how to add a trigger transformer or a spark gap to a simulink would you?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Electrical Sensors 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by