Nan - voltage

More
6 years 1 month ago #183094 by rodw
Replied by rodw on topic Nan - voltage
Actually, didn't the low pass code just change? Maybe there is a bug.
August last year there was discussion about an update. Did it go into the 2.8 release?

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago - 6 years 1 month ago #183095 by phillc54
Replied by phillc54 on topic Nan - voltage

rodw wrote: Actually, didn't the low pass code just change? Maybe there is a bug.
August last year there was discussion about an update. Did it go into the 2.8 release?

plasmacs lowpass is internal. It was based on the lowpass comp but changed so it used the cutoff frequency rather than the gain.

So maybe it has the same bug...
Last edit: 6 years 1 month ago by phillc54.

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #183096 by rodw
Replied by rodw on topic Nan - voltage

rodw wrote: Actually, didn't the low pass code just change? Maybe there is a bug.
August last year there was discussion about an update. Did it go into the 2.8 release?

phill, emailed some stuff from the developers mailing list.

BUt if an NML message was bad, I wonder if that could impact at the display only?
The following user(s) said Thank You: phillc54

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #183099 by phillc54
Replied by phillc54 on topic Nan - voltage

rodw wrote:

rodw wrote: Actually, didn't the low pass code just change? Maybe there is a bug.
August last year there was discussion about an update. Did it go into the 2.8 release?

phill, emailed some stuff from the developers mailing list.

BUt if an NML message was bad, I wonder if that could impact at the display only?

Thanks Rod, I got it.

The display is a direct read of the calculated voltage HAL pin.

I wish I could get it to happen here...

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #183101 by phillc54
Replied by phillc54 on topic Nan - voltage

Tesremos wrote: dosent bother me what is displays :) it could be -500,000,000 if it still performs as expected its fine :)

okay, so lowpass = 0 results in, 0 instances of nan

but lowpass (for me) stops crazy reactions to tiny variances in voltage.

whata i do?

machine at the moment, if it dosent load with a nan, runs PERFECT.

but it'd be nice if i could open the machine, and every time 100% be confindent that someone else running the machine wont run into a Nan.

Another option that may be worth trying is the stock LinuxCNC lowpass component:
linuxcnc.org/docs/2.8/html/man/man9/lowpass.9.html
You could stick it between your encoder output and plasmac.arc-voltage-in in the connections.hal file

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago - 6 years 1 month ago #183104 by snowgoer540
Replied by snowgoer540 on topic Nan - voltage
I'm a bit confused about the lowpass value of 25.

The PlasmaC manual says that this value is measured in Hz. So, at a value of 25Hz, only frequencies below 25Hz are allowed to pass. The THCAD works in the ~140000-1000000Hz range. I'm not sure how the voltage measurement would work at all with everything above 25Hz being ignored?

I've not had any coffee yet, getting ready to drive to work. Maybe my head's a pretzel, it's 05:06am here.

EDIT: Fixed the THCAD frequency range based off of my THCAD 5 values.
EDIT2: I drank coffee and fixed the frequencies for real this time.
Last edit: 6 years 1 month ago by snowgoer540.

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.081 seconds
Powered by Kunena Forum