-
Notifications
You must be signed in to change notification settings - Fork 0
IBEM Current Calibration
The IBEM board has dual parallel current sensors which are fed into separate ADS1115 channels, to provide an amalgamated current.
Two DC Current Offsets are provided in the firmware, to easily 'zero' the current, whilst maintaining linear current readings.
-
AUTO: Primary offset is using the Auto Offset Calibration (added in firmware 240408).
- Power up the board from USB only, ensuring NO current is flowing
- Firmware will auto calibrate zero current and write to EEPROM calibration data.
- Once powered from Battery, calibration will automatically ready from EERPOM upon boot.
- MANUAL: A manual adjustment of the current is provided in the Global.h file.
For simplicity, the AUTO calibration is the most straight forward.
The AUTO process is a simple matter of powering up the board from USB and ensuring that no current is flowing to, or from, the battery (So if battery/batteries are connected to your inverter/charger, just ensure the isolation switch is open).
Looking at the serial monitor, you will see something like the below. You can run this multiple times if needed.
Once the calibration is written to EEPROM, powering up from battery should then read the auto calibrated offset by default.
The MANUAL process is as per below and can also be used to tweak the auto calibration if absolutely needed.
The simple process to calibrate the current on your board is:
- Connect the board to the battery system.
- Importantly disconnect/switch out, any chargers/inverters etc. so no load or charge.
- Take a current reading using the software serial monitor, OLED display or the web interface.
- Enter the 'current' value into the DCCurrentOffset.
- This can be found in the adc.h include file.
- Reflash and calibration is complete.
Read the Zero Current value (in our prototype example it shows -1.70A)
Update the the DCCurrentOffset value (Example from 0.00A to -1.70A)
After Flashing - Validate the the DCCurrentOffset value is correct
Additional information, and other technical details on this project, maybe found in the related repository pages.
Repository Folders
- Code (Code examples for Arduino IDE and PlatformIO)
- Datasheets and Information (Component Datasheets, Schematics, Board Layouts, Photos, Technical Documentation)
- Certification (Related Repository Project or Part, Certification Information)
Repository Tabs
- Wiki (Related Repository Wiki pages and Technical User Information)
- Discussions (Related Repository User Discussion Forum)
- Issues (Related Repository Technical Issues and Fixes)
We value our Customers, Users of our designs and STEM Communities, all over the World . Should you have any other questions, or feedback to share to others, please feel free to:
- Visit the related Project plus the related Discussions and Wiki Pages. See tab in each separate repository.
- Project Community Information can be found at https://www.hackster.io/DitroniX
- DitroniX.net Website - Contact Us
- Twitter: https://twitter.com/DitroniX
- Supporting the STEM Projects - BuyMeACoffee
- LinkedIN: https://www.linkedin.com/in/g8puo/
Dave Williams, Eastbourne, UK.
Electronics Engineer | Software Developer | R&D Support | RF Engineering | Product Certification and Testing | STEM Ambassador
Supporting STEM Learning
Life is one long exciting learning curve, help others by setting the seed to knowledge.