Simulate Hysteresis Loop in MATLAB | Step-by-Step Tutorial"

Click For Summary

Discussion Overview

The discussion focuses on simulating a hysteresis loop in MATLAB, specifically for ferromagnetic substances. Participants explore different approaches and functions that can be used in the simulation process.

Discussion Character

  • Exploratory, Technical explanation

Main Points Raised

  • One participant requests assistance in simulating a hysteresis loop in MATLAB.
  • Another participant questions whether the discussion pertains to a transformer hysteresis loop and asks about the curve without hysteresis.
  • A third participant clarifies that the focus is on the hysteresis loop of a ferromagnetic substance.
  • A later reply suggests using the Langevin function to describe the hysteresis loop, providing two forms of the function for consideration.
  • The same reply claims that coding the simulation is straightforward and suggests it can be done in ten lines.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the specific type of hysteresis loop being discussed, and multiple interpretations of the initial request remain. The discussion includes differing viewpoints on the approach to simulating the hysteresis loop.

Contextual Notes

There are assumptions regarding the definitions of hysteresis loops and the specific context of the simulation that are not fully resolved. The exact requirements for the MATLAB simulation are also unclear.

vinzie
Messages
19
Reaction score
0
Hi there,

Would anyone help me in simulating hysteresis loop in MATLAB?

Thank You!
 
Physics news on Phys.org
like a transformer hysteresis loop? without the hysteresis, what does the curve look like?
 
I meant the hysteresis loop of a ferromagnetic substance
 
You can use Langevin function to describe a hysteresis loop. Exact form of Langervin function you can find out in many textbooks on magnetism.

M(H)=M_s.[\cosh(c(H+\alpha M))-\dfrac{1}{c(H+αM)}]

or use this

M(H)=M_s.\tanh(c(H+\alpha M))

For the code, It is extremely easy, in ten lines, so try it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
4K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
4
Views
2K
Replies
5
Views
2K