Decke Maho DMC100V Possibility of retrofitting

More
13 Nov 2023 03:50 #285231 by PCW

7I96S firmware with one three phase PWMGen
(fault input on isolated input 10)

 

File Attachment:

File Name: 7i96s_d1tp.zip
File Size:252 KB


 
It was very fast support, thank you.
 

Well... fast but wrong that one has 3x PWMA outputs instead of PWMA,PWMB,PWMC

This should be closer:

File Attachment:

File Name: 7i96s_d1tp...1-12.zip
File Size:254 KB
Attachments:
The following user(s) said Thank You: SOLD

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

More
13 Nov 2023 06:58 #285235 by SOLD

7I96S firmware with one three phase PWMGen
(fault input on isolated input 10)

 

File Attachment:

File Name: 7i96s_d1tp.zip
File Size:252 KB


 
It was very fast support, thank you.
 

Well... fast but wrong that one has 3x PWMA outputs instead of PWMA,PWMB,PWMC

This should be closer:

File Attachment:

File Name: 7i96s_d1tp...1-12.zip
File Size:254 KB

Thanks for double checking.
I'm starting to experiment with it now.

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

More
13 Nov 2023 16:01 - 13 Nov 2023 16:03 #285276 by SOLD
I configured it to be a spindle so I don't want to use Encoder feedback in testing Because the machine is not ready to turn on yet.

I want to view the signal from TB1-20,21 TB1-22,23 TB2-2,3 through measurement with an external oscilloscope. It's not successful yet.

Is there something wrong with Hal that I should fix?
Attachments:
Last edit: 13 Nov 2023 16:03 by SOLD.

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

More
13 Nov 2023 16:47 #285281 by PCW
Is the fault input connected?
is the 3phasepwm fault pin false?
The following user(s) said Thank You: SOLD

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

More
13 Nov 2023 17:09 #285284 by SOLD
I will check tomorrow.

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

More
14 Nov 2023 15:21 - 14 Nov 2023 15:24 #285387 by SOLD
I customized Hal. to the spindle No motor feedback
loadrt bldc cfg=n,6
# ---PWM Generator signals/setup---
#setp [HMOT](CARD0).pwmgen.00.output-type 1
#setp [HMOT](CARD0).pwmgen.00.scale [SPINDLE_0]OUTPUT_SCALE
#net spindle-vel-cmd-rpm => [HMOT](CARD0).pwmgen.00.value
#net spindle-enable => [HMOT](CARD0).pwmgen.00.enable

# ---TPPWM Generator signals/setup---
setp [HMOT](CARD0).3pwmgen.00.enable true
setp [HMOT](CARD0).3pwmgen.00.scale 50
setp [HMOT](CARD0).3pwmgen.00.deadtime 1000
setp [HMOT](CARD0).3pwmgen.00.fault-invert 1
net pwm.00-a bldc.0.A-value => [HMOT](CARD0).3pwmgen.00.A-value
net pwm.00-b bldc.0.B-value => [HMOT](CARD0).3pwmgen.00.B-value
net pwm.00-c bldc.0.C-value => [HMOT](CARD0).3pwmgen.00.C-value

setp bldc.0.value 0.5
#setp bldc.0.init true
#setp bldc.0.encoder-offset 0
#setp bldc.0.initvalue 5
#setp bldc.0.encoder-offset 0
setp bldc.0.rev 1
#setp bldc.0.lead-angle 0
#setp bldc.0.poles 4
#setp bldc.0.scale 10000

It has a signal. But like an abnormality 3pwmgen.00.A-value (TB1-20,21) It does not respond to speed adjustment like B and C.

Is this correct?
How to test with No motor feedback. Is it possible?
How can I check the correct settings?
Attachments:
Last edit: 14 Nov 2023 15:24 by SOLD.

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

More
14 Nov 2023 18:59 - 14 Nov 2023 19:20 #285407 by PCW
setp [HMOT](CARD0).3pwmgen.00.scale 0

???

This should be 300 if that's full scale.
Last edit: 14 Nov 2023 19:20 by PCW.
The following user(s) said Thank You: SOLD

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

More
15 Nov 2023 16:42 #285526 by PCW
For testing without feedback = pure voltage mode, I would set a very
small PWM value maybe 5 out of 300 because otherwise you will get an
almost instant overload.

Also since the PWMs are just one signal per phase (not top/bottom side drive)
I would set the deadzone to 0 (since this must be handled in the drive)

If you manage to get any motor current the motor should align to the
current BLDC angle.

This all assumes that all phases being 50% means 0 voltage (which is a reasonable
guess but not guaranteed)
The following user(s) said Thank You: SOLD

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

More
16 Nov 2023 08:55 - 16 Nov 2023 09:08 #285588 by SOLD
Thank you for following.
Yesterday I experimented with an old device, it worked as per the clip, set it up like this, the motor can rotate.


#*******************
# SPINDLE
#*******************

setp pid.s.Pgain [SPINDLE_0]P
setp pid.s.Igain [SPINDLE_0]I
setp pid.s.Dgain [SPINDLE_0]D
setp pid.s.bias [SPINDLE_0]BIAS
setp pid.s.FF0 [SPINDLE_0]FF0
setp pid.s.FF1 [SPINDLE_0]FF1
setp pid.s.FF2 [SPINDLE_0]FF2
setp pid.s.deadband [SPINDLE_0]DEADBAND
setp pid.s.maxoutput [SPINDLE_0]MAX_OUTPUT
#setp pid.s.error-previous-target true

net spindle-index-enable => pid.s.index-enable
net spindle-enable => pid.s.enable
net spindle-vel-cmd-rpm => pid.s.command
net spindle-vel-fb-rpm => pid.s.feedback
net spindle-output <= pid.s.output

# ---PWM Generator signals/setup---

#setp [HMOT](CARD0).pwmgen.00.output-type 1
#setp [HMOT](CARD0).pwmgen.00.scale [SPINDLE_0]OUTPUT_SCALE

# ---TPPWM Generator signals/setup---

setp [HMOT](CARD0).3pwmgen.00.enable true
setp [HMOT](CARD0).3pwmgen.00.scale 3000
setp [HMOT](CARD0).3pwmgen.00.deadtime 5000
setp [HMOT](CARD0).3pwmgen.00.fault-invert 1
#setp [HMOT](CARD0).3pwmgen.00.frequency 20

net pwm.00-a bldc.0.A-value => [HMOT](CARD0).3pwmgen.00.A-value
net pwm.00-b bldc.0.B-value => [HMOT](CARD0).3pwmgen.00.B-value
net pwm.00-c bldc.0.C-value => [HMOT](CARD0).3pwmgen.00.C-value
net spindle-enable => [HMOT](CARD0).3pwmgen.00.enable
net spindle-vel-cmd-rpm => bldc.0.value

setp bldc.0.frequency 1
#setp bldc.0.value 0.5
#setp bldc.0.init true
#setp bldc.0.encoder-offset 0
#setp bldc.0.initvalue 5
#setp bldc.0.encoder-offset 0
#setp bldc.0.rev 1
#setp bldc.0.lead-angle 0
#setp bldc.0.poles 4
#setp bldc.0.scale 10000

I think this is incorrect.
net spindle-vel-cmd-rpm => bldc.0.value
It should be
net spindle-vel-cmd-rpm => bldc.0.frequency
Or maybe something else to control the speed.
Attachments:
Last edit: 16 Nov 2023 09:08 by SOLD.

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

Time to create page: 0.110 seconds
Powered by Kunena Forum