中国半导体行业协会封装分会会刊

中国电子学会电子制造与封装技术分会会刊

导航

电子与封装 ›› 2023, Vol. 23 ›› Issue (5): 050303 . doi: 10.16257/j.cnki.1681-1070.2023.0050

• 电路与系统 • 上一篇    下一篇

可扩展红外编码系统设计

续文敏;姚彬彬;翁子彬   

  1. 无锡中微爱芯电子有限公司,江苏 无锡 214072
  • 收稿日期:2022-09-07 出版日期:2023-05-23 发布日期:2023-05-23
  • 作者简介:续文敏(1995—),女,山西晋中人,硕士,助理工程师,主要从事MCU工具设计与开发工作。

Design of Extensible Infrared Coding System

XU Wenmin, YAO Binbin, WENG Zibin   

  1. Wuxi I-Core Electronics Co., Ltd,Wuxi 214072, China
  • Received:2022-09-07 Online:2023-05-23 Published:2023-05-23

摘要: 红外通信因具有可靠性高、保密性强等特点,被广泛应用于多个领域。但红外编码结构复杂多样,目前已有的红外编码系统无法满足多种红外编码格式的扩展需求。为解决以上问题,提出了一种可扩展红外编码系统设计方案。基于红外编码芯片AiP4911和AiP4912设计矩阵按键电路,基于微软基础类库(MFC)框架设计红外编码软件界面并构造编码结构解析框架,利用可扩展标记语言(XML)文件记录编码通用信息,实现了可扩展功能。测试结果表明,该系统很好地实现了可扩展功能,同时经误差补偿后的编码精度在±2%内,满足了高精度和可扩展的需求,有利于红外编码的广泛应用。

关键词: 红外编码, XML, 可扩展

Abstract: Infrared communication is widely used in many fields because of its high reliability and confidentiality. However, the structure of infrared coding is complex and diverse, and the existing infrared coding system cannot meet the expansion requirements of various infrared coding formats. To solve the above problems, a design scheme of extensible infrared coding system is proposed. The matrix key circuit is designed based on the infrared coding chip AiP4911 and AiP4912, and the infrared coding software interface is designed based on the Microsoft Foundation Class (MFC) frameworkand the coding structure analysis framework is constructed. Extensible Markup Language (XML) file is used to record the coding general information, and the extensible function is realized. The test results show that the system can achieve the extensible function well, and the coding accuracy after error compensation is within ±2%, which meets the demand of high precision and extensibility, and is conducive to the wide application of infrared coding.

Key words: infrared coding, XML, extensible

中图分类号: