摘要
针对硬件在环(HIL)仿真测试系统在锂电池测试时要时常修改电池模型算法或参数,并且在系统升级时需要保持电池测试当前状态的问题,设计了一款基于IAP的固件更新方案。所提方案比传统的固件升级,具有以下3个改进:1)系统保持当前运行状况,实现部分函数的更新;2)加入MD5校验,以保证写入到内存中数据的正确性;3)在上位机界面,按下发送的按钮就能完成整套更新流程。该方案解决了传统锂电池测试时需要更新整个应用程序并且重新进行测试的缺点,测试表明更新方案能够稳定地实现部分函数的更新,其更新准确率超过99.99%,表现出强大的稳定性。
Aiming at the problem that the hardware-in-the-loop(HIL) simulation test system often needs to modify the battery model algorithm or parameters when testing the lithium battery, and needs to maintain the current state of the battery test when the system is upgraded, an IAP-based firmware update solution is designed. Compared with the traditional firmware upgrade, the proposed scheme has the following three improvements: 1) the system maintains the current running status and updates partial function;2) adds MD5 checksum to ensure the correctness of the data written into the memory;3) In the host computer interface, press the send button to complete the entire update process. The solution solves the shortcomings of the traditional lithium battery test, which needs to update the entire application and re-test. Tests show that the update scheme designed in this paper can stably implement the update of partial functions, and its update accuracy rate exceeds 99.99%, showing strong stability.
作者
付春流
陈德旺
尚艳艳
熊刚
Fu Chunliu;Chen Dewang;Shang Yanyan;Xiong Gang(College of Mathematics and Computer Science,Fuzhou University,Fuzhou 350108,China;Fujian Nebula Electronics Corporation,Fuzhou 350015,China)
出处
《电子测量技术》
2020年第7期157-160,共4页
Electronic Measurement Technology
基金
国家自然科学基金(61976055)
新能源大数据的智能分析与软件开发(01001707)
省级科技特派员工作经费(82898426)项目资助