Is there any module that can implement the hysteresis logic?
For example, output logic 1 when the value is between 80 and 100, and output logic 0 for all other ranges.
Is there any module that can implement the hysteresis logic?
For example, output logic 1 when the value is between 80 and 100, and output logic 0 for all other ranges.
Hi cainiao, yes you can use the PLECS Relay component from the library to implement a hysteresis logic.
From you description it does not sound like you want hysteresis but rather checking to see if the parameter of interest is within a specified range. For that you can use the Relational Operator component along with a Logic Operator to indicate if the parameter of interest is >80 AND <100.
Hope this helps!
Hello, I understand. Thank you for your reminder.
ah excellent, thanks for the picture. it makes it very clear. yes the Relay component is what you are looking for.
Hope that resolves your question.