LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hysteresis

How do I get hysteresis simulated? I see a sign (sgn()) function but
no hysteresis.


Hardy
0 Kudos
Message 1 of 7
(4,148 Views)

What do you mean by simulating hysteresis?

 

What does it have to do with a sing (sgn()) function, and where do you even see that?

 

Please post a LabVIEW VI that shows us what you are trying to do.

0 Kudos
Message 2 of 7
(4,134 Views)

I think you should start by having an equation you want to simulate then it'll be easier to help you.

For example if we have f(x)=sin(x), it's possible to simulate what different scalar multiplication and phase/time parameters will do to the equation, i.e. it can be transformed to f(x)=A*sin(x+t*phi) where we'll simulate it for various values of t, A, and phi.

0 Kudos
Message 3 of 7
(4,127 Views)
On Aug 18, 9:30 am, HardySpicer <gyansor...@gmail.com> wrote:
> How do I get hysteresis simulated? I see a sign (sgn()) function but
> no hysteresis.
>
> Hardy

I saw some replies but none on this ng. I assuem it goes to a
discussion board somewhere. OK what I mean here is simulating
something like a smchmitt trigger instead of a pure on-off switching.
So it has positive feedback. Consider an op-amp with hysteresis and a
sine-wave feeding into it. The output will saturate at the hysteresis
thresholds but not come out of saturation until the input sine wave
reaches the lower limit.
0 Kudos
Message 4 of 7
(4,096 Views)

So what you are wanting is a dual-threshold.  If you think about it logically, you want the input to go to a lower reference when the output goes low and vice versa.  Is this correct?  Why do you need hysteresis with software?  What exactly are you trying to do?  You can certainly do it using shift registers or a feedback node to provide the feedback, but I'm just wondering what the purpose is.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 5 of 7
(4,092 Views)
On Sep 2, 9:54 am, HardySpicer <gyansor...@gmail.com> wrote:
> On Aug 18, 9:30 am, HardySpicer <gyansor...@gmail.com> wrote:
>
> > How do I get hysteresis simulated? I see a sign (sgn()) function but
> > no hysteresis.
>
> > Hardy
>
> I saw some replies but none on this ng. I assuem it goes to a
> discussion board somewhere. OK what I mean here is simulating
> something like a smchmitt trigger instead of a pure on-off switching.
> So it has positive feedback. Consider an op-amp with hysteresis and a
> sine-wave feeding into it. The output will saturate at the hysteresis
> thresholds but not come out of saturation until the input sine wave
> reaches the lower limit.

I'm simulating a system with hysteresis.
0 Kudos
Message 6 of 7
(4,063 Views)

@HardySpicer wrote:
@ON Sep 2, 9:54 am, HardySpicer <gyansor...@gmail.com> wrote:
 

I'm simulating a system with hysteresis.

What?  A few more specifics would be good.  Can you post a VI?

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 7 of 7
(4,052 Views)