Author Topic: Measuring dynamic current usage  (Read 431 times)

0 Members and 1 Guest are viewing this topic.

Offline TheBrickTopic starter

  • Regular Contributor
  • *
  • Posts: 63
Measuring dynamic current usage
« on: March 10, 2026, 07:13:37 pm »
Hi, I am hoping you guys will be able to give me some guidance.

# Background
I have a problem where by a some version of a product (printer) are developing are suffering from a problem which is causing the power brick to cut out due to over current. Unfortunately its not all printer are affected and my printer that I have to test with does not suffer with the issue. The product is a printer with a thermal print head (tph), stepper motors and other bits and bobs and I have found out by a combination of a getting a college to plug and unplug various components at various times the tph seems to be causing the issue. The control of the print head is in the hands of a PIC muC and its my job to see what changes have caused this issue. As I said I do not have a product that experiences this issue so I am having to assume (I know) that the problem is a over current.

# The hypothesis
Making the assumption that its a overcurrent but close to the threshold and hence manufacturing variance is causing the issue to not effect all printers but a increase in current usage should be possible to measure and hence I can experiment with different control scenarios etc to help solve the problem.

# The method
Shunt resister and measure the voltage drop on a scope. I have been recommended a 0.1ohm resister to minimise any extra current draw. I have a hantek DSo5102P. I using the probs in what I understand is differential mode either side of the resister with a common circuit ground. I then use the math function to measure the voltage drop.

# The problem
The problem is some draws are short lived and I can't trigger off of the math function (scope limitation) only off channel 1 or channel 2. Any ideas how I could try and get a trigger? The supply voltage is 24v. I have tried ac coupling ch 2 as I read that may help  and trigger off that channel but it didn't,  I couldn't get a good trigger.

Maybe my entire approach is off. Open to ideas. TIA.
 

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 3186
  • Country: gb
  • Recovering Electrical Engineer
Re: Measuring dynamic current usage
« Reply #1 on: March 10, 2026, 07:36:25 pm »
surely you apply the math after the trigger?
Why do you need any math??
 

Offline TheBrickTopic starter

  • Regular Contributor
  • *
  • Posts: 63
Re: Measuring dynamic current usage
« Reply #2 on: March 10, 2026, 08:41:53 pm »
ch2 - ch1. I would ideally be trigging off a delta > x.
 

Offline TheBrickTopic starter

  • Regular Contributor
  • *
  • Posts: 63
Re: Measuring dynamic current usage
« Reply #3 on: March 11, 2026, 09:40:42 am »
Thinking over night I think the a problem is I could trigger off the probe after the resister however setting the trigger point is hard as if I increase the v/div I loose the signal as I run out of vertical offset to set the threshold. This I am sure is my lack of knowledge of how to drive the scope.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 19282
  • Country: us
  • DavidH
Re: Measuring dynamic current usage
« Reply #4 on: March 11, 2026, 11:31:08 am »
The output from the power brick should be isolated from the oscilloscope ground, so a differential measurement should not be needed and a single scope probe can be used.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->