Need help on VFD speed using 0~10 volt via 7i83

More
11 Apr 2019 02:50 #130639 by JohnnyCNC
I have a Huanyang VFD with a 1.5kw water cooled spindle. I'm trying to get the actual speed to correlate with the commanded speed. I don't have encoder feedback. Would using lincurve be the best way? I used that before when I first converted my mill. Then when upgraded the spindle motor to a DYN4 1.8kw I used the PID. Below are my .ini settings and a chart that shows the readings I'm getting right now. This is a second spindle on my mill for PCB and micro milling.

[SPINDLE_9]
P = 0
I = 0
D = 0
FF0 = 1.00
FF1 = 0.00
FF2 = 0.00
BIAS = 0.0
DEADBAND = 0.0

MAX_OUTPUT = 24000.0
OUTPUT_MIN_LIMIT = 0
OUTPUT_MAX_LIMIT = 24000
OUTPUT_SCALE = 24000



Thanks
John
Attachments:

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

More
11 Apr 2019 12:15 #130654 by pl7i92
the hyanyang are most to be used between 6000-24000

did you mesure the RPM or is it the output on the VFD reading
the voltige mesurment on the VFD ?
vi pin +
ACM ground to the 10V from external

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

More
11 Apr 2019 12:34 #130656 by JohnnyCNC
All measurement were done with a Biddle mechanical tachometer except the 24000. That was assumed. The tach has a 12000 max RPM limit. I need to get an optical tach. I measured the voltage be supplied to the VI pin and ACM ground from the Mesa 7i83 analog output. I don't have a need to go low speeds as my main spindle can go to 5400. I just kept testing lower commanded speeds until I got down to the minimum 120hz that is set in the spindle parameters which landed me at 7100rpm. I think I should be able to adjust the scaling and min speed to get 7100 to 24000 working somewhat accurately and then I could fine tune it with lincurve. I tried a couple of different setting but it didn't get any better.

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

More
13 Apr 2019 02:38 - 13 Apr 2019 02:56 #130755 by JohnnyCNC
I got this figured out and it is working great. These are my settings.

--- .ini file ---
[SPINDLE_9]
P = 0
I = 0
D = 0
FF0 = 1.00
FF1 = 0.00
FF2 = 0.00
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 16800 #24000-7200=16800
OUTPUT_MIN_LIMIT = 0 # 0 Volts
OUTPUT_MAX_LIMIT = 16800 #10 Volts
OUTPUT_SCALE = 16800 # 10 volts over 0~16800

--- hal file ---
loadrt offset count=1
addf offset.0.update-feedback servo-thread
setp offset.0.offset 7200 #This is used to change 7200-24000 to 0-16800
net spindle-vel-cmd-rpm-abs => offset.0.fb-in #Send commanded speed into offset.
net spindle-output <= offset.0.fb-out #Send offset speed to spindle output.
# ---Analog output signals/setup---
setp hm2_5i25.0.7i83.0.1.analogout4-scalemax [SPINDLE_9]OUTPUT_SCALE
setp hm2_5i25.0.7i83.0.1.analogout4-minlim [SPINDLE_9]OUTPUT_MIN_LIMIT
setp hm2_5i25.0.7i83.0.1.analogout4-maxlim [SPINDLE_9]OUTPUT_MAX_LIMIT
net spindle-output => hm2_5i25.0.7i83.0.1.analogout4 # <-- This is connected to VFD terminal VI and ACM to common.
net spindle-at-speed <= hm2_5i25.0.7i76.0.0.input-10 # <-- This is connected to VFD terminal FA and FB to common.
# PD052=5 Set Frequency reached. This Spindle-At-Speed signal.
Last edit: 13 Apr 2019 02:56 by JohnnyCNC.

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

More
13 Apr 2019 07:26 #130758 by pl7i92
Great
The 7200 is the Spindle factory declared MIN Speed at Torque rate
did you check the parameter settings on MIN to go lower ~4500
so you got a more precise and wider space

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

More
13 Apr 2019 13:29 #130769 by JohnnyCNC
No, I got 120hz as a good minimum hertz from a knowledgeable member on another forum and that results in 7200 rpm. So that's why I used 7200 to 24000. My main spindle runs from 0 to 5400. This spindle will be used for PCB milling and micro machining so I expect to most often be at the upper end of the speed range.

John

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

Time to create page: 0.259 seconds
Powered by Kunena Forum