measuring resistance in simulink

86 次查看(过去 30 天)
Hi everyone. There is such a basic circuit I need to model. It has only three resistors without any voltage source. I couldn't find any ohmmeter in simulink. How can I measure the equivalent resistance?

回答(1 个)

Ganapathi Subramanian R
Hi Yakup,
I understand that you would like to measure the equivalent resistance of a circuit.
As per the latest MATLAB documentation, there isn't any block in Simulink which supports the functionality of an ohmmeter.
However, you can determine the equivalent resistance of a circuit in Simulink by adding a Voltage Source, Voltage Measurement block and Current Measurement block to the model.
Voltage Measurement block gives the total voltage from the Voltage Source.
Current Measurement block gives the overall current flowing from the voltage source to the entire circuit.
To find the equivalent resistance of a circuit, you simply divide the total voltage by the total current in the circuit using the Divide block.
Please refer to the attached Simulink model which computes the equivalent resistance of the circuit using the above method.
I hope this answers your query.
Thanks

标签

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by