element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum low voltage AC current measurement
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 0 replies
  • Subscribers 277 subscribers
  • Views 174 views
  • Users 0 members are here
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

low voltage AC current measurement

anishkgt
anishkgt over 7 years ago

I 'ave asked this question on the Arduino projects but none seem to have an answer hence am sorry if this would be a repost.

 

 

I am trying to bias an AC signal. please be easy on me am just getting used to the concept/terms of sampling and biasing.

I am trying to get the slightest variation on of the AC signal and when simulating on LTSpice i can see a difference of .1 to .7v. Wish to know if this design would be enough for MUC such as the arduino sample. Should i smooth the signal ?

 

What am i trying to achieve ?

A way to read the current from the secondary winding of a MOT (Microwave Oven Transformer for spot welding 18650 cells) by reading the voltage and a known resistance and by using Ohms Law I=V/R calculate the current putout during weld.

So i could use a current transducer but for the thickness of the cable of 25mm2 a CT would be very expensive. hence thought of going this way, I have two variables already which is voltage and Resistance hence within the code i could get the current. To get the voltage i have tapped on 2 points on the secondary cable at 40cm apart and i get a sine wave RMS 2.7vac and a Vpp of 2.04vac. So just need to scale the ac voltage safe enough to be fed into an arduino ADC and the easiest way would be to add a dc bias (i hope i've used the terms correctly) or some say it as level shifting with an opamp and some resistors and caps.

 

 

image

 

 

image

 

The above circuit does a phase shift, this was suggested by a user from this community since i could not come up with a solution myself but for some reason i can't get a reading from an arduino. I sample it read the min and max values.

 

void loop()

{

  if ((Cal == 0) && btnState == HIGH)

  {

    unsigned long currentTime = millis();

    digitalWrite(TRIAC, HIGH);

    unsigned long prevTime;

    Serial.println("Calibrating.....");

    reading = analogRead(A2);

    if (reading > minReading) maxReading = minReading;

    if (reading < maxReading) minReading = minReading;

    if (currentTime - prevTime >= 500)

    {

      Cal = 1;

      digitalWrite(TRIAC, LOW);

    } else {

      digitalWrite(TRIAC, LOW);

    }

    Serial.print("Min: ");

    Serial.println(minReading);

    Serial.print("Max: ");

    Serial.println(maxReading);

    prevTime = currentTime;

}

  • Sign in to reply
  • 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