From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tachometer:: speed become zero during work

HI 

i have a a tachometer that conenected to motor shaft  

the output of this tachometer is pulses and each 24 pulse give a 1 revoluation

 

i use labview FPGA to estimate the pulse frequency  with LV VI that already provided by NI as shown in figure (1) the loop tested under 5MHZ

 

 

rgfghf.png

 

the problem is shown in figure (2)  where during DC rotating the pulse frequency go to zero for then back again to normal.

this cause a problem in my speed control system.

best regards

 

 

tachom image.png

hi ?Q>

0 Kudos
Message 1 of 6
(2,451 Views)

debounce your input.

Stu
0 Kudos
Message 2 of 6
(2,446 Views)

srm@viewpointusa.com wrote:

debounce your input.


Really !!! As I read before the bounces happened in switch ?? 

 

hi ?Q>

0 Kudos
Message 3 of 6
(2,414 Views)

Hi mangood.

 

Probably, Stu is right. Here is a little document that might come in handy. 

 

Rudimentary Circuit to Eliminate Glitches/Bounces on a Signal
http://digital.ni.com/public.nsf/allkb/93FA5F2325B220108625724500740A1D?OpenDocument

 

 

Fabián M.
Internal Sales Engineer
National Instruments
0 Kudos
Message 4 of 6
(2,380 Views)

@FmTesla wrote:

Hi mangood.

 

Probably, Stu is right. Here is a little document that might come in handy. 

 

Rudimentary Circuit to Eliminate Glitches/Bounces on a Signal
http://digital.ni.com/public.nsf/allkb/93FA5F2325B220108625724500740A1D?OpenDocument

 

 


i will try 

 

hi ?Q>

0 Kudos
Message 5 of 6
(2,372 Views)

I recommend a simple software debounce.  it has been very effective in the past.

any equipment that vibrates and product spurious edges on a tach or encoder.

see attached.  it is a modified version of one from NI  set n= 5 0r 10 for your case and see how it works

Stu
0 Kudos
Message 6 of 6
(2,358 Views)