element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experimenting with Current Sense Amplifiers
  • Challenges & Projects
  • Design Challenges
  • Experimenting with Current Sense Amplifiers
  • More
  • Cancel
Experimenting with Current Sense Amplifiers
Challenge Blog Blog 6: Now for some initial data
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: colporteur
  • Date Created: 26 Apr 2022 9:42 PM Date Created
  • Views 1866 views
  • Likes 8 likes
  • Comments 13 comments
  • Current 6 Click
  • raspberry pi
  • MAX40080
Related
Recommended

Blog 6: Now for some initial data

colporteur
colporteur
26 Apr 2022

With the python library, misaz shared in his blog post, I can continue with my challenge testing.  My initial tests of the sensor are using the locomotive on the bench. I have been using 3VDC, 5VDC and 12VDC to set some expectations before moving to the rail tests.

I still try and follow the process my electronics lab college instructor tried to instill in us 40 years ago. Have some idea of what the measurement should be, before you go poking around with testing equipment making measurements. I had no success getting current measurements using my Fluke VOM so I only have what the sensor is providing.

The python script generates a current & voltage reading every five seconds. The initial voltage applied to the locomotive motor is 5VDC, then changes (highlite) to 3VDC and then to 12VDC.

image

My question to the sharper electronic knives in the drawer than me is, do the current values look reasonable?

The current reading moves between.05 to .09, the average, throwing out the negative values in the calculation, is .06. I was expecting higher current values at the higher voltages. What I interpret from the current reading is a motor that is an active load where the resistance changes to ensure a steady current. That doesn't seem correct?

The motor speed does change with a change in the voltage.

I confess there is a lot of rust and dust accumulated on my electronic theory. Part of my motivation for doing these challenges is to refresh my knowledge. I would appreciate any feedback members have to offer before proceeding with further testing. What do you see in the values so far?

  • Sign in to reply

Top Comments

  • misaz
    misaz over 3 years ago in reply to michaelkellett +1
    Both Python anb C Library suppoort configuring digital filter. Maximum value of digital filter (128) eliminated almost whole noise in my case of sensing current flowing simple resistor on breadboard. …
Parents
  • colporteur
    colporteur over 3 years ago

    I really appreciate michaelkellett & misaz lending me your expertise. I ran the python script again using the following configuration, to measure both current and voltage.

    max.configure(sample_rate_khz=.5, digital_filter=128, measure_current=True, measure_voltage=True) with the following results. I had to add the sample_rate or the script errored out. This makes it slightly different than what misaz provided.

    image

    The readings are much more stable.

    Break..Break... I could carry this question to another post but I got lazy:o

    Why am I unable to measure the current with a Fluke 77 VOM using the 300mA range?

    I tried using two different meters to read the current. Only when set to the 10amp range on the meters will they produce a reading of 0.07 and 0.06 on the other. If I attempt to use the 300mA on the Fluke meter and 250mA on a second different meter they indicate out of range.

    The reading would suggest the current is within the lower range of the VOM's, Any suggestion on why are they not able to provide a reading?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • colporteur
    colporteur over 3 years ago

    I really appreciate michaelkellett & misaz lending me your expertise. I ran the python script again using the following configuration, to measure both current and voltage.

    max.configure(sample_rate_khz=.5, digital_filter=128, measure_current=True, measure_voltage=True) with the following results. I had to add the sample_rate or the script errored out. This makes it slightly different than what misaz provided.

    image

    The readings are much more stable.

    Break..Break... I could carry this question to another post but I got lazy:o

    Why am I unable to measure the current with a Fluke 77 VOM using the 300mA range?

    I tried using two different meters to read the current. Only when set to the 10amp range on the meters will they produce a reading of 0.07 and 0.06 on the other. If I attempt to use the 300mA on the Fluke meter and 250mA on a second different meter they indicate out of range.

    The reading would suggest the current is within the lower range of the VOM's, Any suggestion on why are they not able to provide a reading?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • michaelkellett
    michaelkellett over 3 years ago in reply to colporteur

    Just a quicky today, the sun is shining and it won't tomorrow so I'm going out on the bike !

    Easy bit first, I suspect the current drawn is really spikey so that the meters are choking on the spikes and only on the 10A range are they happy.

    Next a quick thought about DC motors, I'm assuming your loco has a traditional permanent magnet DC motor with brushes.

    The armature DC resistance will be very low.

    When the motor spins in a magnetic field a voltage is generated in the windings. It doesn't matter why it spins, it still makes that voltage.

    If you apply volts to the motor it will start to spin due to the current in the armature interacting with the mag netic filed from the magnets. As it spins it will make that voltage which tries to stop the current flowing, thats why it's called a "back emf".

    The voltage increases the faster the motor turns.

    The mechnical power in the motor = back emf x current

    The heat going into the motor = current squared x armature resistance

    The force exerted by the armature is proportional to the current.

    The motor will spin faster and faster and the back emf will increase, reducing the force the armature can exert. When this force is equal to the force of friction and load slowing it down the armature spin speed will stabilise.

    If you increase the voltage the motor will spin faster so the current will increase less than you expect.

    With your motor at 5V the input power was about 0.225W and at 12V it's 0.72W.

    With a pure resistive load the increase would have been to  1.296W and the current would have gone up to 0.108A.

    Your measurements are showing just what we should expect for a motor.

    Hope that helps.

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube