How to establish a nonlinear current source in simulink?

The circuit model I built in the simulink module contains a current source with a non-linear I-V relationship. How do I build this non-linear function? Is there any such module or reference case or solution? Thank you very much. How to establish a nonlinear current source in simulink?

Answers (1)

Hi,
I understand that you want to establish a nonlinear current source in Simulink. For this, you can follow the below approach:
  • Add a “voltage source” block to your Simulink model.
  • Connect the “voltage source” block to the input of a “MATLAB function” block.
  • Define the non-linear relationship you want to implement inside the “MATLAB function” block.
  • Connect the output of the “MATLAB function” block to the input of a “current source” block in your model.
Hope this helps!

Categories

Products

Release

R2018b

Asked:

on 17 Mar 2023

Answered:

on 29 Mar 2023

Community Treasure Hunt

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

Start Hunting!