Azzera filtri
Azzera filtri

How to properly run simple Simulink circuit?

43 visualizzazioni (ultimi 30 giorni)
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 Commenti
Arvind Sathyanarayanan
Arvind Sathyanarayanan il 18 Feb 2019
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?
cancel077
cancel077 il 19 Feb 2019
Yes there is a ground. Here is a snapshot. screenshot.png

Accedi per commentare.

Risposta accettata

Patel Mounika
Patel Mounika il 19 Feb 2019
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 Commenti
Patel Mounika
Patel Mounika il 21 Feb 2019
I have exported it to 2016b.Hope this helps.
cancel077
cancel077 il 21 Feb 2019
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?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Electrical Systems in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by