Hi @Sai Sushma,
Yes, it is indeed possible to observe the magnetisation characteristics of a non-linear inductor in MATLAB. You can achieve this by simulating the inductor's behavior using differential equations that describe its magnetisation dynamics. MATLAB's built-in functions, such as ode45, can be utilized to solve these equations over time. Here’s a simple example to illustrate how you might set up a simulation:
% Parameters L = 1e-3; % Inductance in Henries R = 10; % Resistance in Ohms V = 5; % Voltage in Volts
% Non-linear inductance function L_non_linear = @(I) L * (1 + 0.1 * I^2); % Example non-linearity
% Differential equation dI = @(t, I) (V - R * I) / L_non_linear(I);
% Time span for simulation tspan = [0 0.1]; % 0 to 0.1 seconds I0 = 0; % Initial current
% Solve the differential equation [t, I] = ode45(dI, tspan, I0);
% Plotting the results figure; plot(t, I); xlabel('Time (s)'); ylabel('Current (A)'); title('Current through Non-Linear Inductor'); grid on;
Please see attached.
This code snippet sets up a basic simulation of a non-linear inductor's current response to a voltage input. You can modify the non-linear function to reflect the specific characteristics of your inductor.
Please click the link below for more information that you are seeking pertaining to your comments.
https://www.mathworks.com/help/sps/ref/nonlinearinductor.html
Hope this helps.