ENGLISH 简体中文 日本語 한국어  

    Login | Register 


   
 
请输入关键词或器件型号    




应用笔记4623

Smart Cable Aids Quality Control and Authentication

By: Bernhard Linke

Abstract: Embedding a DS2431 (1-Wire®) chip in the near end of a cable allows a system processor to identify a cable (manufacturing date, revision, configuration, calibration data, etc.) and to authenticate it (to prevent the use of inferior counterfeits).

This design idea appeared in the August 27, 2009 issue of ED magazine.

Electrical cables remain of critical importance for interconnecting equipment (Figure 1). Yet, cloned and knock-off cables are a growing problem, as is revealed by a quick search of the Internet. Common complaints from cable users include intermittent signals, poor long-term reliability, and complete malfunctions caused by inadequacies such as cheap wire, improper contact plating, incorrect wiring, and poor quality control.

Figure 1. Typically, an electrical cable connects two pieces of equipment.
Figure 1. Typically, an electrical cable connects two pieces of equipment.

Electronic instruments alone provide no easy way to tell the difference between a genuine cable and an inferior counterfeit version. But, the situation changes when you embed an electronic (1-Wire) chip in the near end of the cable (Figure 2). (A particular chip, the DS2431, is used to illustrate this idea, but other 1-Wire devices may be more appropriate for specific applications.) An IC with 1-Wire interface merges its power-supply voltage and communications on a single pin.¹ For typical smart-cable applications, the chip contains a unique identification number plus user-programmable memory, which can be secure memory or a write-protected EEPROM.

Figure 2. A 1-Wire chip embedded in the cable can provide identification and authentication of the cable.
Figure 2. A 1-Wire chip embedded in the cable can provide identification and authentication of the cable.

The far end of the cable connects to a sensor, peripheral, accessory, or other equipment. For equipment that already contains a microcontroller or equivalent (such as an FPGA), you need only add a pullup resistor for the 1-Wire line. A spare I/O port and the memory space required for firmware enhancements are often available in the system, at no extra cost.

When a smart cable is plugged in, the 1-Wire chip generates a presence pulse that the microcontroller interprets as an attachment event. If the connection is made while the µC is switched off, then upon wakeup the µC generates a reset pulse on the 1-Wire line and tests for a presence pulse. If no presence pulse is seen, the µC "knows" that either no cable is plugged in or the cable is counterfeit.

If the µC detects a presence pulse, it reads the 1-Wire chip's identification number. (For some applications, it may be sufficient to verify that the ID number falls within a certain range.) The µC usually reads the chip's data memory as well, looking for an electronic description of the product (i.e., the cable, the sensor at the far end, or both).

For a cable with sensor, the data may include the manufacturing date, revision, configuration, calibration data, and expiration date. You achieve the highest level of authentication (detection and rejection of a clone) by using a secure memory that supports challenge and response authentication.² Thus, a 1-Wire chip, which occupies only a single dedicated pin in the cable, can add functionality, ensure quality, and provide aftermarket protection.



References
  1. Linke, Bernhard, application note 1796, "Overview of 1-Wire® Technology and its Use," Maxim Integrated Products, 2008.
  2. Application note 3675, "Protecting the R&D Investment: Two-Way Authentication and Secure Soft-Feature Settings," Maxim Integrated Products, 2005.


相关型号  APP 4623: Oct 15, 2009
DS2431 1024位1-Wire EEPROM 完整的数据资料
(PDF, 752kB)
免费样品

自动更新
需要自动接收最新发布的应用笔记吗?请订阅EE-Mail™ (English only)。




我们期待您的反馈!
喜欢?不喜欢?有待改善?或为我们提供建议?请与我们联系 — 我们将根据您的意见或建议改善我们的工作。 网页评价或提供建议

 

下载,PDF格式下载,PDF格式 (31kB)
 AN4623, AN 4623, APP4623, Appnote4623, Appnote 4623

        •         •         •     隐私权政策     •     法律声明

    © 2009 Maxim Integrated Products版权所有