Pololu G2 current sense output for Spindle load meter?
15 Dec 2018 19:06 #122452
by 3D-Master
Pololu G2 current sense output for Spindle load meter? was created by 3D-Master
Hello,
i am currently using a Pololu G2 PWM driver to control my Servos and it has a current sense output (approx. 20 millivolts per amp) could i use my 7i73 analog input for this? what resolution do the 7i73 analog inputs have? If not what would be suitable/easy to implement and fast enough? I already use 2 of the 4 analog inputs for spindle and feed override using Potentiometers but the voltage coming out of the Pololu driver will never be 3,3v (that would be 165 amps, maximum is 21 amps continuous/current chopping @50amps). I want to implement a Spindle Load meter and maybe also axis load meters as well. (if there is a board out there compatible with Mesa hardware which has a minimum of 7 analog inputs please let me know)
thanks
i am currently using a Pololu G2 PWM driver to control my Servos and it has a current sense output (approx. 20 millivolts per amp) could i use my 7i73 analog input for this? what resolution do the 7i73 analog inputs have? If not what would be suitable/easy to implement and fast enough? I already use 2 of the 4 analog inputs for spindle and feed override using Potentiometers but the voltage coming out of the Pololu driver will never be 3,3v (that would be 165 amps, maximum is 21 amps continuous/current chopping @50amps). I want to implement a Spindle Load meter and maybe also axis load meters as well. (if there is a board out there compatible with Mesa hardware which has a minimum of 7 analog inputs please let me know)
thanks
Please Log in or Create an account to join the conversation.
15 Dec 2018 22:02 #122456
by PCW
Replied by PCW on topic Pololu G2 current sense output for Spindle load meter?
It sounds like a direct signal from the current sense resistor
(too small signal), plus theres probably quite a bit of common mode
noise (since the PWM power ground = current sense common)
and enough ground bumping that you might damage the 7I73
analog inputs if directly connected.
One solution is to add a differential amplifier (OpAmp+ 4 resistors) with a gain of 10 or so you can reject the common mode noise, and amplify the full scale signal, and protect the 7I73 analog inputs from voltages < -.6 and > +5V
(too small signal), plus theres probably quite a bit of common mode
noise (since the PWM power ground = current sense common)
and enough ground bumping that you might damage the 7I73
analog inputs if directly connected.
One solution is to add a differential amplifier (OpAmp+ 4 resistors) with a gain of 10 or so you can reject the common mode noise, and amplify the full scale signal, and protect the 7I73 analog inputs from voltages < -.6 and > +5V
Please Log in or Create an account to join the conversation.
17 Dec 2018 00:51 #122498
by andypugh
Replied by andypugh on topic Pololu G2 current sense output for Spindle load meter?
I am currently playing about with one of these, though I am having some trouble with the SPI comms.
www.ebay.co.uk/itm/ADS1256-8-Channel-24B...ion-ATF/192428635947
I suspect that it might not be very easy to interface with a Mesa BSPI, due to the setup required so probably an Arduino and a UART would be required.
(I keep meaning to look in to the possibility of an Arduino acting as a Mesa Smart Serial slave)
www.ebay.co.uk/itm/ADS1256-8-Channel-24B...ion-ATF/192428635947
I suspect that it might not be very easy to interface with a Mesa BSPI, due to the setup required so probably an Arduino and a UART would be required.
(I keep meaning to look in to the possibility of an Arduino acting as a Mesa Smart Serial slave)
Please Log in or Create an account to join the conversation.
22 Mar 2019 16:47 #129265
by 3D-Master
Replied by 3D-Master on topic Pololu G2 current sense output for Spindle load meter?
i have a Arduino Mega 2560 laying around, would this work? It has 16 analog in pins. I once had a program on the Arduino which sent signals to linuxcnc via USB so i guess sending float values to Linuxcnc should be doable as well?
Please Log in or Create an account to join the conversation.
22 Mar 2019 16:57 #129267
by andypugh
Replied by andypugh on topic Pololu G2 current sense output for Spindle load meter?
Yes, that should work.
I guess you used: emergent.unpythonic.net/01198594294 ?
But, amplifying and using the 7i73 seems like an easier answer given that the analogue input ranges of the 7i73 and the Arduino are about the same.
You can buy off-the-shelf op-amp amplifier boards if you don't want to build your own (but it is very do-able with dead-bug construction) www.sparkfun.com/products/9816
That might have more gain than you want, you would have 2V / A into a 3.3V ADC
I guess you used: emergent.unpythonic.net/01198594294 ?
But, amplifying and using the 7i73 seems like an easier answer given that the analogue input ranges of the 7i73 and the Arduino are about the same.
You can buy off-the-shelf op-amp amplifier boards if you don't want to build your own (but it is very do-able with dead-bug construction) www.sparkfun.com/products/9816
That might have more gain than you want, you would have 2V / A into a 3.3V ADC
Please Log in or Create an account to join the conversation.
22 Mar 2019 18:52 #129274
by 3D-Master
Replied by 3D-Master on topic Pololu G2 current sense output for Spindle load meter?
so basically you connect the current sensing output from the Pololu driver into the input from the opamp and the output of the opamp into the analogin from the Mesa card?
thanks
thanks
Please Log in or Create an account to join the conversation.
22 Mar 2019 19:18 #129276
by andypugh
Yes.
If you use a bare op-amp ship with a pair of resistors it can fit in a cable under heat-shrink even.
Replied by andypugh on topic Pololu G2 current sense output for Spindle load meter?
so basically you connect the current sensing output from the Pololu driver into the input from the opamp and the output of the opamp into the analogin from the Mesa card?
Yes.
If you use a bare op-amp ship with a pair of resistors it can fit in a cable under heat-shrink even.
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1150
- Thank you received: 184
22 Mar 2019 19:54 #129280
by Mike_Eitel
Replied by Mike_Eitel on topic Pololu G2 current sense output for Spindle load meter?
Quite sure it has to be a rail to rail opamp.
Please Log in or Create an account to join the conversation.
22 Mar 2019 21:41 #129298
by andypugh
Replied by andypugh on topic Pololu G2 current sense output for Spindle load meter?
Yes, 5V and rail-to-rail.
Please Log in or Create an account to join the conversation.
23 Mar 2019 14:08 #129362
by 3D-Master
Replied by 3D-Master on topic Pololu G2 current sense output for Spindle load meter?
what about the Ti OPA 2350? www.ti.com/lit/ds/symlink/opa2350.pdf
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds