hysterisis m file code matlab simulink to control ideal switch

Status
Not open for further replies.

Derun93

Member level 3
Joined
Nov 9, 2015
Messages
60
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
532
Hi, I am working on battery managment system. I made a circuit to balance battery cells and simulated in MATLAB. But ı need a hysterisis m file code to control ideal switch. For example, if difference of any two cells in the battery pack is greater than 10mV, switching starts but when they swich the difference goes under 10mV and up the 10mV and the switching should keep going when it is under 10mV for a while so I need hysterisis m file code. If someone have an idea or code please send me.
Thank you.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…