adjustable debounce settings - suggestion

Here is where you can request new features or special features.

adjustable debounce settings - suggestion

Postby Robertspark » Wed Nov 16, 2016 7:17 pm

This is more of a suggestion than a request.

The smooth stepper has adjustable debounce, as can be seen from the following link as to how / what inputs are debounced
[url]
http://warp9td.com/index.php/faq/faq-mach3#Debounce[/url]

what is the default debounce within the UC controllers out of interest?

Not sure if anyone else will find use in this user accessible feature (will it sell more boards for you for the implementation aggravation)? .... probably not.
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 990
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: adjustable debounce settings - suggestion

Postby cncdrive » Wed Nov 16, 2016 8:00 pm

The physical inputs filter (RC) constant with the -5LPT motherboard is approximately 20usec.
The controller samples 3 edges to validate the signals. I'm not sure about the time between the samples now.
cncdrive
Site Admin
 
Posts: 2263
Joined: Tue Aug 12, 2014 11:17 pm

Re: adjustable debounce settings - suggestion

Postby shad » Thu Nov 17, 2016 2:34 pm

Just information...
Neuron controller has RC filter constant 120 uSec and controller samples 5 times (1000 uSec interval) to validate the signal from sensors. No sense to make it faster, because all discrete inputs has optocouplers which also has its own response time.
Only one input for THCOFF signal from CNC has 200 uSec sampling interval, because it's time sensitive for Hi-Speed cutting.
It's works perfect even with China cutters with HF pilot arc setup like LGK100 or LGK160. :)
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 268
Joined: Thu Sep 15, 2016 5:23 pm

Re: adjustable debounce settings - suggestion

Postby cncdrive » Thu Nov 17, 2016 3:36 pm

Hi Andrew,

Yep, hardware + software debounce works the best. :)

For the plasma the 1000 usec is sure fine, but you know in the UCCNC there are functions which need faster inputs, for example the index signal for thread cutting, not only because it is a high frequency signal,
but because people often using incremental encoders and the index on that is mostly as narrow as a single pulse of the A and B channels.

And I agree with Rob, that adding adjustable time constant debounce is a really good idea and sooner or later, but we will implement it.
So far I did not hear about troubles because of the fixed debounce, so we did not hurry with this function yet.
Altough I know plasma is a real noisy application, so if this kind of problem happens I knew it will be the plasma.
cncdrive
Site Admin
 
Posts: 2263
Joined: Tue Aug 12, 2014 11:17 pm

Re: adjustable debounce settings - suggestion

Postby ipmayerav » Sat Jan 21, 2017 9:08 am

I have plasma cutter and some times have an issue with fake signals because i cannot change debounce interval. So the problem exists.
ipmayerav
 
Posts: 6
Joined: Sat Jan 07, 2017 11:47 am

Re: adjustable debounce settings - suggestion

Postby merrick » Mon Aug 21, 2017 12:33 am

Another vote for software adjustable rebounce
merrick
 
Posts: 32
Joined: Fri Aug 18, 2017 8:20 pm

Re: adjustable debounce settings - suggestion

Postby Weerasak » Thu Jan 25, 2018 1:02 pm

Rob had asked me about UB1 inputs latency long ago. Now I'm back to my electronic lab because I'm put things together for the upcoming UB1 daughterboard.
Below pictures shows a good characteristic of UB1 inputs.

Signal on isolation inputs X103-X110. it takes about 26 uSec to settle logic for UC300 and safety circuit.
Image

Signals for others inputs (X111-115, X210-215, X310-315). Faster settle time with noise resistance.
Image
Image
Image

Note, the yellow line is measured from mainland or rough side (I/O side, 24V level). The blue line is measured from an isolation island or clam side (uc300 control side, 5v level).
Weerasak
 
Posts: 6
Joined: Sun Mar 19, 2017 3:59 pm

Re: adjustable debounce settings - suggestion

Postby cncdrive » Fri Jan 26, 2018 9:37 am

Adjustable software debounce was added to the features in UCCNC release 1.2101.
cncdrive
Site Admin
 
Posts: 2263
Joined: Tue Aug 12, 2014 11:17 pm


Return to Feature Request

Who is online

Users browsing this forum: No registered users and 5 guests

cron