DC Motor

Motor Current Sensing Problem

The question

How to measure the analog AC voltage across a 0.5 Ohm shunt resistor in the range of 0.3V ~ 0.6V

The answer

/ to be continued, …

 

The following quick and dirty, long winded, messy draft notes is to be deleted after project is completed.

Project Goal

Using the Waveshare ADC board with a RaspPi 3 to monitor the current driving a DC brushless motor.

Progress so far

  1. Completed Rpi program controlling Waveshare ADC to read analog signal.
  2. Completed bench test using digital volt meter to measure motor on and off analog readings 0.3VAC and 0.6VAC.

User requirements

  1. Accuracy isn’t a major concern here, off by 20% is still doing much better than using commercial current sensors at this measurement range (0.3VAC ~ 0.6VAC).
  2. Low value current sensors < 1A AC

User constraints

  1. Cannot easily access circuits at the DC motor side, therefore need indirectly measure AC current at the AC mains side.
  2. Because the motor is too small, current transformers which are usually for large current does not work here.

Current sensor to explore

[ACS712, INA226, ADS1015, ADS1256,AD7190] Raspberry Pi Current & Voltage Sensors (10A rating and ~40V respectively)
https://raspberrypi.stackexchange.com/questions/94403/raspberry-pi-current-voltage-sensors-10a-rating-and-40v-respectively

.END

 

 

 

I’m trying to measure the magnitude of the AC current using shunt resistors. I’m trying to log the motor currents to monitor motor health over time. I’ve done this before with larger motors using current transformers but this particular motor is too small to get a good reading using any sensor Ive seen. The terminals after the DC power supply are inside of a controls housing so they’re not super accessible – CDog 16 hours ago

 

 

Using Waveshare ADC

My meter reads 0.3v at rest and 0.6v when the motor’s running just as expected

 

Reading Voltage Input on ADC

https://raspberrypi.stackexchange.com/questions/96175/reading-voltage-input-on-adc

Ask Question

1
I’m thinking of using the Waveshare ADC board with a RaspPi 3 to monitor the current driving a DC brushless motor.

I’ve run through the waveshare examples, and I can handle reading inputs programmatically.

I did an initial bench test without the pi, using the circuit in this photo Measuring voltage via digital meter

Everything works splendidly there. My meter reads 0.3v at rest and 0.6v when the motor’s running just as expected (There’s a screen and some other circuitry connected to the power supply that’s not shown).

My plan is to run measurements using the ADC inputs on the Waveshare board, like this:

ADC_Current_measures

Anything else I should be considering here?

The motor circuitry has back-emf protection, and I’ll be adding a filter capacitor to the bridge rectifier for a cleaner DC output for sure.

Accuracy isn’t a major concern here, if I’m off by 20% I’m still doing much better than I am now using commercial current sensors at this measurement range.

Alternatively, does anyone have a good lead on low value current sensors (< 1A)?

pi-3 analog-to-digital voltage
shareeditflag
asked yesterday

CDog
61
New contributor
sparkfun.com/products/14544 – CoderMike yesterday
Welcome @CDog. Could you please clarify, what’s your main question or concern here? It looks as if you’re asking for general advice with your project. – David yesterday

I am a bit confused. Do you want to measure the magnitude of AC current, or just the presence of AC current? And why don’t you measure the voltage or current at the DC motor side? – tlfong01 yesterday

I’m trying to measure the magnitude of the AC current using shunt resistors. I’m trying to log the motor currents to monitor motor health over time. I’ve done this before with larger motors using current transformers but this particular motor is too small to get a good reading using any sensor Ive seen. The terminals after the DC power supply are inside of a controls housing so they’re not super accessible – CDog 16 hours ago
Ah, now I understand your user constraints. Let me then do some engineering analysis and design. – tlfong01 7 mins ago
add a comment
1 Answer
active oldest votes

1

This is not an answer but a warning!

Your circuitry shows a direct connection to the mains active – this this is potentially LETHAL.

Incidentally the first circuit you posted would do nothing (unless some of the diodes are faulty) – there is no potential difference across the meter.

shareeditflag
edited yesterday
answered yesterday

Milliways
30.4k1357117
Thanks for the concern, I have circuit protection and disconnects in there and will use an isolating transformer in the final build. All my connections are using finger-safe terminals with much higher ratings. Anything else you can recommend for safety – CDog 3 hours ago
add a comment

 

 

 

Categories: DC Motor

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s