Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial support for spindle power data #6

Closed
wants to merge 1 commit into from

Conversation

dresco
Copy link
Contributor

@dresco dresco commented Nov 20, 2021

Retrieves AC voltage and output current from Huanyang VFD, and calculates power

#define SPINDLE_POWER_DATA to enable

@Meliusja
Copy link

I am curious why there is a desire to get motor power? Motor current is much more important since VFDs and motors are limited in their ability to support current. A VFD or motor can only achieve its power rating when the motor is at or above base speed and the voltage is high.

Also - Motor kVA is motor voltage * motor current * sqrt(3)
Jeff

@dresco
Copy link
Contributor Author

dresco commented May 23, 2022

I am curious why there is a desire to get motor power?

kW felt like the most useful number to display (to me anyway) - as that's what both spindle and VFD are rated in. I have to retrieve power and voltage anyway, so all would be available. Has me wondering what commercial CNC machines display, perhaps just a load percentage?

Also - Motor kVA is motor voltage * motor current * sqrt(3)

I was going from the specs in the v1 Huanyang manual, where rated kW is simply V*A. Am assuming what is reported (on the display and over modbus) is the total current rather than per phase. I might put a clamp meter on and verify that one day.
HY01D523B - 220V / 50Hz - 1.5 KW - 2.8 KVA - 7.0 A

This PR has stalled a bit anyway, as I need to rework some of the code before trying again..
Cheers, Jon.

@Meliusja
Copy link

I was just worried that people might be confused when they try to get 2kW from their 2kW motor/VFD when running at half speed, since both would only be capable of 1kW at half speed. The best number to display would be output current displayed as a percentage since it is the best indicator of how loaded the motor and vfd are. I would probably display it as a percentage or motor or vfd rated current which ever is lower.

BTW, output power and motor torque can be read directly from my HuanYang VFD. There must be a lot of variation among their VFD models.

Jeff

@dresco
Copy link
Contributor Author

dresco commented Aug 29, 2022

Closing this PR, will re-work for percentage spindle load in line with other machines..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants