5 Attachment(s)
Huajiang VFD H100 and 1.5KW Spindle Speed Control
I have spent probably 100's of hours already searching reading and attempting to solve my problem.
Problem Mach3 Breakout board sends 0-10V depending on selected speed 2.5v=6000, 5v=12000, 7.5v=18000, 10v=24000 So I know the settings in Mach3 and the Breakout board is functioning as required. But the speed of the spindle does not match what mach3 is commanding and is being send through the 0-10v to the VFD.\
I have a laser Handheld tachometer with a sticker on the ER-11 Nut used to verify the speed of the spindle, and is calibrated on known speeds such as belt driven lathe, etc.
What I have;
Spindle: Huajiang EYS8043-24/1.50 Air Cooled 1.5KW Spindle (see data plate Pic)
VFD: Huajiang H100-1.5T4-1A VFD (attached first -38 pages. More can be provided upon request)
Mach3 Breakout Board - BL-USBMACH-2.22 (https://www.steppermotorcanada.ca/bl5breakoutboard.pdf)
The function codes I have in the VFD are in the attached spreadsheet.
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Well as it turns out it seems that the Spreadsheet and Manual will not load.
So here is the settings;
Function Value Description from Manual Value Options
1 1 Control Mode 0:valid 1:invalid
2 1 Frequency Setting Selection 0:keyboard 1:external terminal 2:communication port
3 120 Main Frequency 0-1000.0Hz
4 400 Reference Frequency 0.1-1000.0 Hz
5 400 Maximum Operating Frequency 10-1000.0 Hz
6 2.5 Intermediate Frequency 0.1-1000.0 Hz
7 0.5 Minimum Frequency 0.1-20.0 Hz
8 110 Maximum voltage 0.1V~*
9 15 intermediate voltage 0.1V~*
10 8 Low-Frenquency torque boost voltage 0.1V~50.0V
11 0 Lower frequency limit 0.0~1000.0 Hz
12 0 drive control mode 0:F 1:vector control
13 0 parameter resetting 8 restore ex factory value
14 5 acceleration time I 0.1~650.00s
15 7 deceleration time I 0.1~650.00s
16 20 acceleration time II 0.1~650.00s
17 20 deceleration time II 0.1~650.00s
18 40 acceleration time III 0.1~650.00s
19 40 deceleration time III 0.1~650.00s
20 80 acceleration time IV (jogging acceleration time) 0.1~650.00s
21 80 decceleration time IV (jogging acceleration time) 0.1~650.00s
22 0.5 Emergency stop deceleration time 0.1-650.00s 0.00 emergency stop by costing to stop
23 0 Reverse prohibit 0:reverse prohibit 1:reverse allow
24 1 stop key is valid or not 0:stop invalid 1:stop valid
25 0 start mode 0:start from starting frequency 1:frequency tracking start
26 0 reverse prohhibit 0:reverse prohibit 1:reverse allow
27 0.5 starting frequency 1:reverse allow
28 0.5 stop frequency 0.1-30.0 HZ
29 0 start braking time 0.1-30.0Hz
30 0 stop braking time 0.0-25.0s
31 2 dc braking level 0.0-25.0s
32 5 frequency tracking time 0.0-20.0%
33 150 current tracking frequency 0.1-20.0s
34 0.5 voltage rise time during frequency tracking 0-200%
35 5 percentage of start voltage during frequency tracking 0.1-10.0s
36 10 voltage rise time during frequency tracking 1-20%
39 0 starting frequency of DC Braking 0-15
40 frequency resolution 0.0-1000.0hz
41 carrier frequency 0-15
42 jogging frequency 0.0-1000.0hz
43 s curve time 0.0-6500.0s
44 2 FOR (X1) function 0:valid 1:run 2:forward 3:reverse 4:stop 5:forward/reverse 2
45 3 REV(X2) function 6:inching 7:inching forward 8:inching reverse 9:external control time 1 10:external control timer
46 14 RST(X3) function 11:setting frequency is forced to f003 12:radiator or motor overheating 13: Emergency stop
47 22 SPH(X4) function 14: reset 15-16:reserve 17:acceleration/decceleration time selection 1 18:Acceleration/deceleration time selection 2
48 24 SPM(X5) function 19:multi-segment speed 1 20:multi-segment speed2 21:multi-segment speed 3 22: high speed 23: medium speed
49 23 SPL(X6) function 24:low speed 25:PID allowed 26:Multi-segment speed4 27:ip 28:down 29:draft allowed 30:reserve 31: pulse counter 32:pulsecounter resets
50 2 Y1output function Outputs not used
51 2 y2 output function Outputs not used
52 2 output function KA&KC are terminals) Outputs not used
53 2 Output function (FA,FB &FC terminals) Outputs not used
54 0 AO output function Outputs not used
55 100 AO analog output gain Outputs not used
56 0 Hopping Frequency 1 0.0-1000.0hz
57 0 Hopping frequency 2 0.0-1000.0hz
58 0 Hopping frequency 3 0.0-1000.0hz
59 0.5 range of hopping frequency 0.1-10.0hz
60 0 frequency consistency I (Constant pressure water supply high speed frequency) 0.0-1000.0hz
61 0 Frequency Consistency II (Constant Pressure water supply low) 0.0-1000.0hz
62 0.2 frequency consistency range setting 0.1-10.0hz
63 0.1 timer I 0.1-10.0s
64 1 time II 1-100s
65 0 count value 0-65500
66 0 value of middle counter 0-65500
67 digital input terminal positive & negative logic 0:positive logic, wiring mode NPN 1:negative logic, wiring mode PNP
68 digital input terminal dithering elimination time 0-60000ms
69 PFO maximum frequency. 1.0-10.0
70 0 input channel selection for analog quantity 0:0-10v 1:0-5V
71 20 filtering time of analog quantity 0-1000ms
72 400 high-end frequency of analog frequency 0.0-1000.0hz
73 0 low-end frequency of analog quantity 0.0-1000.0hz
74 0 bias direction of hig-end requency 0:positive 1:negative
75 0 bias direction of low end frequency 0:positive 1:negative
76 0 selectable negative bias reverse of analog quantity 0:irreversible 1:reversible
77 0 up.down memory function selection 0:not memorized 1:memoriezed
78 1 up.down increment selection 0:0.1hz 1:1.0Hz
79 1 up.down increment multiple 1-250
80 selection of multi-segment speed mode 0:normal operation 1:internally controled 2:externally controlledx4 3:externally controlledx16 4: externally controlledx4 valid automatically 5:externally controlled 6:segment speed
81 internally controlled multi-segment speed selection of operation mode 0:stop after operating for one cycle 1:circulating operation 2:stop after automatically operating for one cycle
82 speed operation directions of first internally controlled 8 segments 0-255 (o:forward 1:reverse)
83 speed operation directions of last internally controlled 8 segments 0-255 (o:forward 1:reverse)
84 acceleration/deceleration time of first internally controlled 8 segments 0-65535
85 acceleration/deceleration time of the last internally controlled 8 segments 0-65535
86 Frequency I setting 0.0-1000.0hz
87 Frequency II setting 0.0-1000.0hz
88 frequency III setting 0.0-1000.0hz
89 Frequency IV setting 0.0-1000.0hz
90 Frequency V setting 0.0-1000.0hz
91 Frequency VI setting 0.0-1000.0hz
92 Frequency VII setting 0.0-1000.0hz
93 Frequency VIII setting 0.0-1000.0hz
94 Frequenc IX setting 0.0-1000.0hz
95 Frequency x setting 0.0-1000.0hz
96 frequency xi setting 0.0-1000.0hz
97 frequency xii setting 0.0-1000.0hz
98 frequency xiii setting 0.0-1000.0hz
99 frequency xiv setting 0.0-1000.0hz
100 frequency xv setting 0.0-1000.0hz
101 Internally controlled multi-segment speed timer I 0.0-6500.0s
102 Internally controlled multi-segment speed timer 2 0.0-6500.0s
103 Internally controlled multi-segment speed timer 3 0.0-6500.0s
104 Internally controlled multi-segment speed timer 4 0.0-6500.0s
105 Internally controlled multi-segment speed timer 5 0.0-6500.0s
106 Internally controlled multi-segment speed timer 6 0.0-6500.0s
107 Internally controlled multi-segment speed timer 7 0.0-6500.0s
108 Internally controlled multi-segment speed timer 8 0.0-6500.0s
109 Internally controlled multi-segment speed timer 9 0.0-6500.0s
110 Internally controlled multi-segment speed timer 10 0.0-6500.0s
111 Internally controlled multi-segment speed timer 11 0.0-6500.0s
112 Internally controlled multi-segment speed timer 12 0.0-6500.0s
113 Internally controlled multi-segment speed timer 13 0.0-6500.0s
114 Internally controlled multi-segment speed timer 14 0.0-6500.0s
115 Internally controlled multi-segment speed timer 15 0.0-6500.0s
116 Internally controlled multi-segment speed timer 16 0.0-6500.0s
117 internally controlled multi-segment speed memory function (up.down power fault reserve) 0-1
118 1 selection of over-voltage stall 0-1
119 150 stalling level during acceleration 0-200%
120 0 stalling level during constant speed 0-200%
121 5 stalling decerlation time during constant speed 0.1-25.5s
122 110 prevent of over-voltage level 200-800v
123 0 selection of over-torque selection mode. 0-3
124 0 selection of over-torque detection mode 0-200%
125 1 over-torque detection level 0.1-20.0s
126 0 over-torque detection time 0-1
127 0 pulse counter memory 0-65000
128 0 coolling fan control 0:running always 1:control by running command
129 110 dynamic braking voltage 0-800v
140 1.5 rated power of motor set as per motor nameplate
141 110 rated voltage of motor set as per motor nameplate
142 8 rated current of motor set as per motor nameplate
143 2 number of motor poles 22-Feb
144 1525 rated rotating speed of motor 00-9999
145 2 automatic torque compensation 0.0-10.0%
146 40 motor no-load current 0-100%
147 0 motor slip compensation 0-1.0
148 2 motor slip compensation maximum frequency 0.0-20.0hz
149 10 motorslip compensation filtering time 0-200ms
150 1 AVR Function 0-1
151 0 Automatic Energy saving function 0.0-20.0%
152 1 Fault restart time 0.2-25.0s
153 0 selection of transient 0:VALID 1:frequency tracking
154 0.5 stop restart 0.1-5.0s
155 0 allowed power fault time times of fault restart 0-10
156 100 proportional constant P 0.0-1000.0%
157 2 integration time I 0.1-3600.0s 0:close integration
158 0 derivation time D 0.01-10.00s 0:close derivation
159 0 target value 0-100%
160 10 PID channel setting 0:F159 1:AI1 2:AI2
161 100 PID up limit 0-100%
162 0 PID lower limit 0-100%
163 comminication address 0-250
164 transmission speed 0-3
165 communication data mode 0-5
169 0 selection of communication protocol 0:standard modbus agreement
170 9 selection of extension display 1 0-11
171 2 selection of extension display 2 0-11
172 0 Fault clearing rated voltage of inverter 00-10
173 126.5 Rated current of inverter 00-10
174 8 type of inverter 00-10
175 0 frequency standard of inverter 00-10
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Found the Manual, Slightly different packaging but same guts from what I can tell;
https://www.omc-stepperonline.com/do...0datasheet.pdf
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Quote:
Originally Posted by
clockstick
Just with a quick look you have Parameter F003 at 120 this needs to be 400 you also need a minimum Frequency F011 this is the slowest speed your spindle can run which with air cooled is most likely 120Hz to 150 Hz
You also will need to set acceleration time and deceleration time try 6 to 8 for starters
You also may want to be using V/F as some of these VFD Drives do not work with Vector control with these high speed spindles just something to be aware of
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Quote:
Originally Posted by
mactec54
Just with a quick look you have Parameter F003 at 120 this needs to be 400 you also need a minimum Frequency F011 this is the slowest speed your spindle can run which with air cooled is most likely 120Hz to 150 Hz
You also will need to set acceleration time and deceleration time try 6 to 8 for starters
You also may want to be using V/F as some of these VFD Drives do not work with Vector control with these high speed spindles just something to be aware of
mactec54, thanks, I have tried both VFD and Vector for the spindle with no change. I had F003 at 400, as well as you suggested in another post but was trying different suggestions. I will try the accel and deccel times and see what that does. I will set the other settings back as you suggest again along with accel/deccel times and see if the speed can be controlled appropriately.
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Quote:
Originally Posted by
clockstick
mactec54, thanks, I have tried both VFD and Vector for the spindle with no change. I had F003 at 400, as well as you suggested in another post but was trying different suggestions. I will try the accel and deccel times and see what that does. I will set the other settings back as you suggest again along with accel/deccel times and see if the speed can be controlled appropriately.
You should not change Parameters if someone says you should unless they have a lot of experience with these high speed spindles, which most don't
None of these Parameters will change what has happened to your VFD Drive
You need the minimum speed set as well F011 this will help so you don't damage the VFD Drive or Spindle
If you did not see any difference with using Vector mode then you should not use it just stick with F012 V/F=0
F027=30
F041=6
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Mactec54,
I read the Chineseglish manual, and most of it made sense, save for a couple very poorly worded sections. The VFD was not setup to match the spindle as indicated by the seller. So I did my best to fill out the gaps, from what I could find. I believe this VFD is messed it will not respond properly to 0-10v signal for 0-24,000 RPM. I will order a new one and start again. Speed Control via Mach3 is critical to most of my programs.
Appreciate the help!
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Quote:
Originally Posted by
clockstick
I believe this VFD is messed it will not respond properly to 0-10v signal for 0-24,000 RPM.
Do I see jumper J3 set to "I" instead of "V" in one of your photos? Of course the VFD will not respond to 1..10V signal then.
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Quote:
Originally Posted by
clockstick
Mactec54,
I read the Chineseglish manual, and most of it made sense, save for a couple very poorly worded sections. The VFD was not setup to match the spindle as indicated by the seller. So I did my best to fill out the gaps, from what I could find. I believe this VFD is messed it will not respond properly to 0-10v signal for 0-24,000 RPM. I will order a new one and start again. Speed Control via Mach3 is critical to most of my programs.
Appreciate the help!
As CitizensOfDreams has said check that all the Jumpers are correct, by default they should of been correct
Also Parameter F073 in your posted list should be set also F073 =100 if not your speed range will not match your spindle speed
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
OK,
I have set all the parameters as suggested. The jumper was incorrectly set, that must have been my fat finger when I was checking that they were properly jumpered.
Now;
F03=400
F11=120
F12=0
F014-F021 = 5/7s (accel/deccel)
F027=30
F041=6
F073=100
BUT NOW Mach3 will not start the spindle, I was concerned that I killed my spindle without knowing it. I checked the breakout board spindle off = 0.0V SPindle on 24,000rpm = 10.01V So not mach3 or the breakout board.
So I next tried to set the VFD back to the front keyboard and potentiometer, and manually selected run on the VFD and set 120-400hz and worked properly.
Now that I know the VFD and SPindle work properly I went back and set;
F001=1
F002-1
Tried to start the spindle from Mach3 again and failed. Did nothing, no reaction for the spindle, but the VFD front screen does indicate 400hz, and when I turn off the spindle in mach3 it does return to 0 but no reaction to the spindle.
Can you gentlemen see anything that would cause the odd behavior above? I am beginning to think more and more that my VFD is bad out of the box.
Thanks for your help, I thought I had a good grasp on this but apparently NOT!
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Quote:
Originally Posted by
clockstick
Tried to start the spindle from Mach3 again and failed. Did nothing, no reaction for the spindle, but the VFD front screen does indicate 400hz, and when I turn off the spindle in mach3 it does return to 0 but no reaction to the spindle.
Do you have the FORWARD signal properly connected to the breakout board? Does the signal change when you turn the spindle on in Mach3? Did you accidentally change parameter F044 when you played with the VFD setings?
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Quote:
Originally Posted by
clockstick
OK,
I have set all the parameters as suggested. The jumper was incorrectly set, that must have been my fat finger when I was checking that they were properly jumpered.
Now;
F03=400
F11=120
F12=0
F014-F021 = 5/7s (accel/deccel)
F027=30
F041=6
F073=100
BUT NOW Mach3 will not start the spindle, I was concerned that I killed my spindle without knowing it. I checked the breakout board spindle off = 0.0V SPindle on 24,000rpm = 10.01V So not mach3 or the breakout board.
So I next tried to set the VFD back to the front keyboard and potentiometer, and manually selected run on the VFD and set 120-400hz and worked properly.
Now that I know the VFD and SPindle work properly I went back and set;
F001=1
F002-1
Tried to start the spindle from Mach3 again and failed. Did nothing, no reaction for the spindle, but the VFD front screen does indicate 400hz, and when I turn off the spindle in mach3 it does return to 0 but no reaction to the spindle.
Can you gentlemen see anything that would cause the odd behavior above? I am beginning to think more and more that my VFD is bad out of the box.
Thanks for your help, I thought I had a good grasp on this but apparently NOT!
F044 it needs to be 02 for Forward
J2 you need switched /jumper to NPN
Something else you may need is another Ground / common for the X1 connection this works sometimes as a 3 wire connection but most need 4 wires as this may be independent isolated connection on your Breakout board
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Quote:
Originally Posted by
CitizenOfDreams
Do you have the FORWARD signal properly connected to the breakout board? Does the signal change when you turn the spindle on in Mach3? Did you accidentally change parameter F044 when you played with the VFD setings?
F044 was set to 02 forward, and it is correctly connected from X!(VFD) to Out1/FWD BreakoutBoard. Yes the breakout board sends 0v off to 10V for 24000 rpm as it turn it off and on, i verified voltage at breakout terminals and VFD terminals. The VFD does react on the front of the VFD to the appropriate HZ setting but it does not energize the spindle.
Quote:
Originally Posted by
mactec54
F044 it needs to be 02 for Forward
J2 you need switched /jumper to NPN
Something else you may need is another Ground / common for the X1 connection this works sometimes as a 3 wire connection but most need 4 wires as this may be independent isolated connection on your Breakout board
J1 is set to NPN so is F067 = 0 - NPN
J2=VO
J3=V
J4=OFF
J5=X6
Do you mean another ground in addition to the BOB GND to GND (VFD)? A second wire from GND(VFD) to the ground bus bar?
The thing is this thing was turning on with Mach3 before, but not controlling speed, now I can not seem to get it to turn on via Mach3 to even see if the setting changes are affecting it or not.
I appreciate your help! this thing was supposed to be pre-configured to match the spindle, but it was not.... and the vendor was less than helpful.
UPDATE: I decided to take my breakout board from my Plasma table and connect it here to definitely illuminate the breakout board. It seems I fried this one somehow likely fat fingering that jumper. In any event I have the spindle turning on now. And it does change speed but not as it is supposed to. for example when calling for 10k rpm in mach3 the spindle runs up to 24k, when calling for 4k it runs at 15.8k, when calling for 1k runs at 4k.
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
What is your "Config - Spindle Pulleys" look like? Is your maximum pulley speed in Mach3 set at 24000?
Is the voltage correct coming out of the breakout board? 10V at 24000RPM, 5V at 12000RPM, 2.5V at 6000RPM?
1 Attachment(s)
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
SOLVED!
I figured it out and managed to get it calibrated within about 2.5% of set speed and actual speed. I think I can do better by applying linearization.
I will attach an excel file with my settings for this VFD and BOB using Mach 3
Mach3 settings;
Config>Ports & Pins>Spindle Setup/Motor Control Use Spindle Motor Output = Checked / PWM Control = Checked / PWM base Freq. = 2083 / minimum PWM = 0%
Config>Spindle Pulleys= Pulley Number 1 / Min Speed = 0 / Max Speed = 24000 / Ratio = 1
Now as for the VFD the problem was in F072-F076 The correct settings are in the excel file attached, but it was the chineseglish that threw me and this VFD has certain lines different that the other Huajiang VFD that is more prevalent out there.
So it is working properly now, thanks guys for your help in pointing out my jumpers being the base cause of my problems!
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Quote:
Originally Posted by
clockstick
F044 was set to 02 forward, and it is correctly connected from X!(VFD) to Out1/FWD BreakoutBoard. Yes the breakout board sends 0v off to 10V for 24000 rpm as it turn it off and on, i verified voltage at breakout terminals and VFD terminals. The VFD does react on the front of the VFD to the appropriate HZ setting but it does not energize the spindle.
J1 is set to NPN so is F067 = 0 - NPN
J2=VO
J3=V
J4=OFF
J5=X6
Do you mean another ground in addition to the BOB GND to GND (VFD)? A second wire from GND(VFD) to the ground bus bar?
The thing is this thing was turning on with Mach3 before, but not controlling speed, now I can not seem to get it to turn on via Mach3 to even see if the setting changes are affecting it or not.
I appreciate your help! this thing was supposed to be pre-configured to match the spindle, but it was not.... and the vendor was less than helpful.
UPDATE: I decided to take my breakout board from my Plasma table and connect it here to definitely illuminate the breakout board. It seems I fried this one somehow likely fat fingering that jumper. In any event I have the spindle turning on now. And it does change speed but not as it is supposed to. for example when calling for 10k rpm in mach3 the spindle runs up to 24k, when calling for 4k it runs at 15.8k, when calling for 1k runs at 4k.
Check the connector on the Breakout Board where the FWD connection is it may need its own common as you do have 5 terminals, The ( 2 ) connections 0-10v and FWD are ( 2 ) different circuits and should have different common returns
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Quote:
Originally Posted by
mactec54
Check the connector on the Breakout Board where the FWD connection is it may need its own common as you do have 5 terminals, The ( 2 ) connections 0-10v and FWD are ( 2 ) different circuits and should have different common returns
Yes I did meter out each one. And FWD remained unchanged no matter which ground reference I used, for spindle on or off from Mach. This lead me to try the second breakout board. I believe I may have toasted the Breakout board doing this, but seeing as my plasma table does not need spindle control, I put this one in. It works well now. The only problem I have is that whatever Mach Commands the spindle will try to run and will ignore the minimum speed of 6000rpm I set in the VFD settings. So I will need to make sure that my CAM software has a minimum output of 6000rpm.
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
Quote:
Originally Posted by
clockstick
Yes I did meter out each one. And FWD remained unchanged no matter which ground reference I used, for spindle on or off from Mach. This lead me to try the second breakout board. I believe I may have toasted the Breakout board doing this, but seeing as my plasma table does not need spindle control, I put this one in. It works well now. The only problem I have is that whatever Mach Commands the spindle will try to run and will ignore the minimum speed of 6000rpm I set in the VFD settings. So I will need to make sure that my CAM software has a minimum output of 6000rpm.
The problem is your 0-10v is analog it is not normal to have both using the same common in some cases this can work but is not normal, this may be why you are having this problem can you do a photo closeup of the breakout board terminals may be able to see what they are doing with this breakout board
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
this looks really really close to my setup down to the breakout board you using TB6560 stepper motor driver too ?
Re: Huajiang VFD H100 and 1.5KW Spindle Speed Control
I'm new to the spindle world.... I've been researching for 3 days about parameters for my machine which is huajiang 110v 1.5kw 8amp air cooled spindle. First problem is the onboard rpm control is at a constant maxed out position no matter where the dial indicates. 2nd problem is when using a 1" surfacing bit at a 25% step over at a cut depth of .04 , the spindle stalls and doesn't want any part of it.