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
Analog Devices
  • Products
  • Manufacturers
  • Analog Devices
  • More
  • Cancel
Analog Devices
Forum MAX17263 SOC Changing on Power Cycle
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Analog Devices to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 39 subscribers
  • Views 588 views
  • Users 0 members are here
  • max17263
Related

MAX17263 SOC Changing on Power Cycle

nolannirsense
nolannirsense over 1 year ago

Hello,

I've been working with the MAX17263 battery gauge recently via the MAX17263 EVKIT, and I'm connecting to it and reading the SPI outputs via an NRF5340 dev kit. I also have the MAX17263 EVKIT connected to a battery and a charger. I have the device set to print out the state of charge by reading the RepSOC register and dividing it by 256. My device polls the SOC every two seconds. When I first turn the device on, it gives me an initial SOC reading, let's say 55%. After a few minutes of charging, it'll go up to 57%. If I then power cycle the device, the percentage I will see is often a few percent higher after the first power cycle, so maybe 61%. Then, if I power cycle it again, the SOC returns to 57%, or sometimes even lower than the initial value, such as 56%.

I notice this inaccuracy trend when reading the RepCap register as well. My battery has a total capacity of 250 mAh, so the DesignCap register is set to 500. After charging for a while, the capacity will be around 324 before power cycling, 337 after power cycling once, and 323 after power cycling a second time. This pattern is pretty consistent, and I've checked a lot of settings and different registers, but I'm not sure how the RepCap and RepSOC registers are calculated. What could be causing these variations? My device needs to be accurate within one percent, and I was using the RepCap to give a more detailed view of the battery state.

What controls the RepCap and RepSOC registers within the MAX17263, and what could be causing this inaccuracy?

Thanks!

  • Sign in to reply
  • Cancel
Parents
  • dougw
    0 dougw over 1 year ago

    This part uses both voltage measurement and coulomb counting to try and figure out arbitrary battery status. They claim about 2% -3% accuracy.

    During charging and discharging they are mostly using coulomb counting, but presumably on power cycling voltage measurement is needed to get an initial baseline.

    Have you precisely measured the battery during power cycles to see if its voltage shows a corresponding behavior to your readings?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • nolannirsense
    0 nolannirsense over 1 year ago in reply to dougw

    I have not tried precisely measuring the battery via a voltmeter, but that's a good idea. Do you know if there's a way to measure the voltage that the MAX17263 is seeing so that I can print that alongside the RepCap and RepSOC reports?

    Also, thank you for telling me about the 2% to -3% accuracy margins of error! Where did you see that detail? I was looking around in the datasheets and couldn't find anything about that. Is there another place I can look to find relevant information like that? That might save me some future questions as well.

    Thanks so much!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • nolannirsense
    0 nolannirsense over 1 year ago in reply to dougw

    I have not tried precisely measuring the battery via a voltmeter, but that's a good idea. Do you know if there's a way to measure the voltage that the MAX17263 is seeing so that I can print that alongside the RepCap and RepSOC reports?

    Also, thank you for telling me about the 2% to -3% accuracy margins of error! Where did you see that detail? I was looking around in the datasheets and couldn't find anything about that. Is there another place I can look to find relevant information like that? That might save me some future questions as well.

    Thanks so much!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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