Using MESA 7i76e PWM to control 5-7kw DC motor.
28 Jun 2022 19:48 #246097
by Bennett
Using MESA 7i76e PWM to control 5-7kw DC motor. was created by Bennett
Hello everyone,
I'm working on 2 lathes (a Hardinge CHNC Super Precision & a Hardinge HXL Super Precision), retrofitting to LinuxCNC, each will have a Mesa 7i76e. I've done some bench testing now and proceeding to fitting the additional components into the control cabinet of the first lathe. Integrating the 7i76e is going very smoothly so far, and as I have learnt more about these cards I have arrived at the following question:
Is it possible to create a section of code to run as a motor controller within Linux CNC using the 7i76e as the interface/PWM generator to control an array of MOSFETS (or similar) to drive the original 7kw, 90v DC motor that is on this lathe? I would like to impliment current control and figured it might be possible to read a current sensor signal using one of the analog inputs on the 7i76e and use that to perform current limiting.
The motors have a DC tachometer and the spindle has a TTL(I think) encoder. The original 90V DC power supply is intact. I will need to make a custom 100V x 70amp switching system and control architecture (MOSFET driver etc).
I am looking for suggestions toward the feasibility of this implimentation, any examples of this already implimented, where this code would run within LinuxCNC (still new to the platform), and electrical considerations to investigate.
Any feedback will be much appreciated.
Thanks,
Bennett
I'm working on 2 lathes (a Hardinge CHNC Super Precision & a Hardinge HXL Super Precision), retrofitting to LinuxCNC, each will have a Mesa 7i76e. I've done some bench testing now and proceeding to fitting the additional components into the control cabinet of the first lathe. Integrating the 7i76e is going very smoothly so far, and as I have learnt more about these cards I have arrived at the following question:
Is it possible to create a section of code to run as a motor controller within Linux CNC using the 7i76e as the interface/PWM generator to control an array of MOSFETS (or similar) to drive the original 7kw, 90v DC motor that is on this lathe? I would like to impliment current control and figured it might be possible to read a current sensor signal using one of the analog inputs on the 7i76e and use that to perform current limiting.
The motors have a DC tachometer and the spindle has a TTL(I think) encoder. The original 90V DC power supply is intact. I will need to make a custom 100V x 70amp switching system and control architecture (MOSFET driver etc).
I am looking for suggestions toward the feasibility of this implimentation, any examples of this already implimented, where this code would run within LinuxCNC (still new to the platform), and electrical considerations to investigate.
Any feedback will be much appreciated.
Thanks,
Bennett
Please Log in or Create an account to join the conversation.
28 Jun 2022 20:46 #246103
by andypugh
Replied by andypugh on topic Using MESA 7i76e PWM to control 5-7kw DC motor.
You might be able to do something with just a PWM output.
PCW has been looking at a triac controller inside the Mesa firmware.
forum.linuxcnc.org/27-driver-boards/4608...ntrol?start=0#244833
PCW has been looking at a triac controller inside the Mesa firmware.
forum.linuxcnc.org/27-driver-boards/4608...ntrol?start=0#244833
Please Log in or Create an account to join the conversation.
29 Jun 2022 15:17 #246168
by Bennett
Thanks for these notes!
Replied by Bennett on topic Using MESA 7i76e PWM to control 5-7kw DC motor.
Interesting. I wonder if I can get the PWM outputs for spindle control to to react to current sensor input and regulate accordingly. Much to learn. This triac control system looks promising but my limited knowledge on this matter has me unable to gauge it relevance.You might be able to do something with just a PWM output.
PCW has been looking at a triac controller inside the Mesa firmware.
forum.linuxcnc.org/27-driver-boards/4608...ntrol?start=0#244833
Thanks for these notes!
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
29 Jun 2022 15:39 #246170
by tommylight
Replied by tommylight on topic Using MESA 7i76e PWM to control 5-7kw DC motor.
It is possible to use Mesa boards to drive MOSFET's, there is also a BLDC component included in LinuxCNC to drive 3 phase servo motors, it can use only encoders for feedback without a tacho, etc etc.
I used a Mesa 7i92 to drive those cheap arduino 43A drives, it works perfectly, but when it comes to current sensing and limiting there is no analog input on 7i92 so i will have to add an arduino nano in the mix. Did the same thing with a parallel port.
7i76E has analog inputs, but with limited resolution, so not sure how good it would work. Pretty sure it can be used by adding an OP AMP or a simple transistor amplifier.
The trick is isolating high power stuff from the rest of electronics, so if a mosfet blows it does not take everything with it.
I am following the triac stuff with great interest as there are ready made high power modules for pretty cheap, sometimes, so that would open a lot of new possibilities.
I used a Mesa 7i92 to drive those cheap arduino 43A drives, it works perfectly, but when it comes to current sensing and limiting there is no analog input on 7i92 so i will have to add an arduino nano in the mix. Did the same thing with a parallel port.
7i76E has analog inputs, but with limited resolution, so not sure how good it would work. Pretty sure it can be used by adding an OP AMP or a simple transistor amplifier.
The trick is isolating high power stuff from the rest of electronics, so if a mosfet blows it does not take everything with it.
I am following the triac stuff with great interest as there are ready made high power modules for pretty cheap, sometimes, so that would open a lot of new possibilities.
Please Log in or Create an account to join the conversation.
30 Jun 2022 03:45 #246244
by Bennett
Replied by Bennett on topic Using MESA 7i76e PWM to control 5-7kw DC motor.
Awesome. Very cool about the BLDC HAL component. It would be cool to have a DC brushed one that works with current limiting, too, and it's looking like these components can be made without TOO much trouble...that could be my naivety speaking...
I think the analog inputs on the 7i76e are 8 bits, so a range of 256. Seems good enough for some simple current sensing - It just needs to reel itself back when the system is about to fry itself. This thing is going to run on 600v 3-phase with a dog-simple linear DC supply, so plenty of current to fry everything if left unchecked.
I will report back with some findings.
I think the analog inputs on the 7i76e are 8 bits, so a range of 256. Seems good enough for some simple current sensing - It just needs to reel itself back when the system is about to fry itself. This thing is going to run on 600v 3-phase with a dog-simple linear DC supply, so plenty of current to fry everything if left unchecked.
I will report back with some findings.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds