WO2001031801A1 - One way single-wire communication interface - Google Patents
One way single-wire communication interface Download PDFInfo
- Publication number
- WO2001031801A1 WO2001031801A1 PCT/US2000/029726 US0029726W WO0131801A1 WO 2001031801 A1 WO2001031801 A1 WO 2001031801A1 US 0029726 W US0029726 W US 0029726W WO 0131801 A1 WO0131801 A1 WO 0131801A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- line
- processor
- slave
- data line
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4286—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/14—Two-way operation using the same type of signal, i.e. duplex
- H04L5/16—Half-duplex systems; Simplex/duplex switching; Transmission of break signals non-automatically inverting the direction of transmission
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present disclosure relates to a device for the transmission of signals between two data processors. More particularly, the disclosure relates to a device for the exchange of data between a host processor and a slave processor. A connection between the two processors is provided by a single data line, and communications are conducted in one direction, from the slave processor to the host processor.
- a simple example is a battery pack (a "slave” component) that is removably connectable to a portable electronic device (a "host” device). At the very least, the battery pack should be able to communicate with the portable electronic device to inform the camcorder of the amount of energy contained in the battery.
- the communication architecture is designed with as few connections as possible.
- SM system management
- a currently popular protocol for use over the SM bus is the Inter-Integrated Circuit (I C), which was originally developed by Philips Semiconductor. The protocol utilizes a synchronous signal and has the advantage of accommodating multiple master and multiple slave components (including multiple batteries, wherein the system monitors various aspects of the condition of each battery).
- the DQ system uses a single wire and a ground wire to connect a host device to multiple slave components. Data is transmitted in two directions on the one non-ground wire.
- the architecture includes a pull up resistor that maintains the line in a high state, and allows data to be transmitted by pulling the line down, so that the state of the line is up or down for each transmitted bit.
- bi-directional, one-wire bus Another drawback of the bi-directional, one-wire bus is that some use of time- domain or frequency-domain relations, to track the two half-channels of communication is required.
- a crude time base is provided by using an unstable oscillator. This crude time base, together with electrical relationships, provides the necessary reference for two-way communication over a one- wire bus.
- a further drawback of the bi-directional, one- wire bus is that, because of the bi-directional nature of the communications, the slave component must require the ability to sample the data line and receive messages from the host.
- a slave component of an I 2 C system therefore, will in most cases require the architecture necessary to allow the slave to receive messages, thereby increasing the cost and complexity of the slave.
- the new architecture/protocol will be simple and inexpensive in comparison to the above describe I 2 C and DQ systems.
- the present disclosure provides a data communication interface for transferring at least one data bit to a host processor.
- the interface includes a one- wire data line, and a slave processor connected to the data line and including a pulldown circuit for varying voltage on the data line.
- the slave processor is incapable of sampling data from the data line, but is programmed to vary voltage on the data line using the pull-down circuit when the data line is energized, to signal at least one data bit.
- the slave processor is programmed to pull the voltage low on the energized data line to signal a "0" and to raise the voltage high on the energized data line to signal a " 1 ".
- the interface includes a host processor connected to the data line and including a pull-down circuit for varying voltage on the data line at the request of the host processor.
- the host processor is capable of sampling data from the data line, and is programmed to energize the data line using the pull-down circuit when at least one data bit is desired from the slave processor.
- the host processor is also programmed to sample the voltage on the energized data line to determine the value of a bit signaled by the slave processor.
- the presently disclosed communications architecture/protocol uses a minimum amount of hardware to communicate pre- selected information from the slave to the host.
- the communication format is simple and does not require continuous monitoring, resulting in a reduction of power consumption for both the host and the slave, which is of course important in portable electronic devices.
- the presently disclosed one-way, single wire communication interface accordingly, is particularly attractive for hand-held or other low-power portable electronic devices, such as cell phones, personal digital assistants and camcorders, for example.
- FIG. 1 is a simplified schematic illustrating a communications interface according to the present disclosure, including a slave component connected to a host device through a unidirectional, one-wire bus;
- FIG. 2 shows graphs of data line voltage versus time, illustrating unidirectional communication according to the present disclosure for use with the interface of FIG. 1;
- FIG. 3 shows a flow chart illustrating a "data initiation" algorithm according to the present disclosure for use by the host device of FIG. 1 ;
- FIG. 4 shows a flow chart illustrating a "send data" algorithm according to the present disclosure for use by the slave component of FIG. 1 ;
- FIG. 5 shows a flow chart illustrating a "send data" algorithm according to the present disclosure for use by the guest device of FIG. 1 ;
- FIG. 6 is a simplified schematic illustrating a communications interface according to the present disclosure, including a unidirectional, one-wire bus connecting a slave component comprising a battery pack to a host device comprising a portable electronic product;
- FIG. 7 is a simplified schematic illustrating a computer processing unit according to the present disclosure adapted to be connected in series with other, similar computer processing units for sequential communications with a host device; and
- FIG. 8 is a simplified schematic illustrating a battery pack constructed in accordance with the present disclosure and including a plurality of the computer processing units of FIG. 7 connected together in series for sequentially communicating with a host device.
- the present disclosure provides a method of signaling at least one data bit to a host processor from a slave processor over a one- wire data line.
- the method includes providing a slave processor that is incapable of sampling data from the data line.
- the method also includes energizing the data line using a host processor when at least one data bit is desired from the slave processor, varying the voltage on the energized data line using the slave processor, and sampling the voltage on the energized data line using the host processor to determine the value of a bit signaled by the slave processor.
- the host processor de-energizes the data line.
- the slave processor doesn't start varying the voltage on the energized data line to signal the data bit, until a pre-selected time period after the line is energized by the host so that the host is prepared to receive the entire data signal.
- the host processor energizes the data line by raising the data line to a high logic level. Then, the slave processor pulls the voltage low on the energized data line to signal a "0", and raises the voltage high on the energized data line to signal a " 1 ".
- the method of communication is preferably designed to minimize the charge transfer out of the battery in the module. Thus, the slave processor never sources current to the data line, but only sinks current.
- a host device having a computer processing unit includes the host processor.
- the CPU also includes a pull-down transistor controlled by the host processor for varying the voltage on the data line.
- a slave component has a CPU including the slave processor and also including a very high-impedance pulldown resistor for varying the voltage on the data line. (A very high-impedance pulldown resistor is used in the slave component merely to avoid the risk of floating nodes.)
- the system also includes a power line and a ground line extending between the device and the component. All of the lines are connectably split between the slave component and the host component such that the lines can be re-connected when desired, whereby the slave can be plugged into the host (e.g., like a battery pack being plugged into a cell phone).
- FIG. 3 shows a "data initiation” algorithm according to the present disclosure for use by the host processor of FIG. 1
- FIG. 4 shows a "send data” algorithm according to the present disclosure for use by the slave processor of FIG. 1.
- the slave processor doesn't act until it is woken by the host processor when the host processor energizes the data line.
- FIG. 5 shows an alternative "send data" algorithm according to the present disclosure for use by the guest device of FIG. 1.
- the slave processor simply attempts to signal data at pre-selected intervals, even if the data line has not been energized by the host.
- a slave component comprising a battery pack is shown that includes the slave CPU of FIG. 1.
- the battery pack includes a battery, at least one measurement device for measuring a variable property of the battery and for producing an analog signal indicative of the measurement, and an analog to digital converter for converting the analog signal indicative of the measurement to at least one data bit.
- the slave CPU is connected to the converter and includes memory (not shown) for receiving the at least one data bit from the converter and storing the at least one data bit until the data line is energized.
- the at least one measurement device of the battery pack comprises means for measuring the voltage level, the current, the temperature, and the current usage.
- the battery pack is connectable to a portable product (e.g., a cell phone) including the host CPU of FIG. 1.
- a portable product e.g., a cell phone
- FIG. 7 another slave CPU including a signal-in line, a data-out line, and a signal-out line.
- the slave CPU also includes a processor including a pulldown circuit for varying voltage on the signal-out line.
- the processor is connected to the signal-in line and the data-out line and is programmed to transfer at least one data bit over the data-out line when the voltage of the signal-in line is varied.
- the processor is also programmed to vary the voltage on the signal-out line when completed transferring the at least one data bit over the data line.
- the slave CPU of FIG. 7 is adapted to be connected in series with other slave components for sequential communications with a host device.
- FIG. 8 shows a battery pack constructed in accordance with the present disclosure and including a plurality of the slave components of FIG. 7 connected together in series for sequentially communicating with a host device.
- Each of the slave components is connected to a battery.
- each slave component includes at least one measurement device for measuring a variable property of the battery, and an analog to digital converter for converting an analog signal produced by the measurement device into a digital signal.
- the assembly also includes an assembly CPU having a processor, a one- wire data line for connection to a host component (not shown), an information line arranged to receive the signals from each of the data-out lines of the slave components, and a command line connected to the signal-in line of a first of the connected slave components.
- the assembly processor is connected to the assembly data line and includes a first pull-down circuit for varying voltage on the data line to signal a host connected to the data line.
- the processor is also connected to the command line and includes a second pull-down circuit for varying voltage on the command line.
- the processor is further connected to the information line.
- the processor is programmed to vary voltage on the command line using the second pull-down circuit when the data line is energized to signal the first slave CPU to report information.
- the assembly processor is also programmed to vary voltage on the data line using the first pull-down circuit when at least one data bit from the slave components is received on the information line to signal information over the data line including identification of the slave component (i.e., first slave, second slave . . . ) and the at least one data bit of the particular slave component (i.e., information about the slave's respective battery).
- the assembly processor pulls down the voltage on the command line to instruct the first slave CPU to signal information regarding the first battery to the assembly CPU over the information line.
- the assembly processor then signals the battery number and information to the host over the data line utilizing the protocol of FIG. 2.
- the second, third and fourth slaves then sequentially report their battery information to the assembly CPU, which in turn sequentially reports the battery identifier and battery information to the host.
- the signal-out line of the last of the slave CPU's (the fourth slave in the particular embodiment) is also connected to the information line of the assembly processor.
- the last slave When the last slave is finished reporting information to the assembly CPU, the last slave signal the assembly that the last slave has reported in through the signal-out line of the slave and the information line of the assembly CPU.
- the assembly CPU can then signal the host that all the slaves of the assembly have reported.
- the signal-in and the signal-out lines of the slave CPU's are preferably connected through voltage level shifters, and the data-out lines are preferably connected to the information line of the assembly CPU through optoisolators.
- the signal-out line of the slave and the information line of the assembly CPU are connected through an optoisolator.
- the present disclosure provides a new and improved communications architecture and protocol that includes connecting a single data wire between a host processor and a slave processor.
- the host processor (which may be in a portable electronic component, such as a cell phone, PDA, or camcorder) contains a switch for coupling a positive voltage to the data line.
- the slave processor (which may be contained within a battery pact for monitoring the battery) then signals data at a set rate using a predetermined protocol, but in only one direction along the data line.
- the host processor when the host processor needs information the host energizes the data line and the slave processor is able to send information to the host.
- the host processor can remove the voltage source from the data line, causing the data line to go low.
- the slave may be programmed to become activated and only send data when the data line is energized, or may continuously send data regardless of the state of the data line.
- each slave can include a storage device, such as shift register, which can be continuously updated in real time with desired information for transmittal to the host. Then, when activated by the host, the slave provides the most recently updated information to the host.
- a storage device such as shift register
- the slave when activated by the host, the slave provides the most recently updated information to the host.
- a further embodiment might comprise a system for monitoring multiple batteries with periodic and staggered time delay, or a wired OR logic arrangement to determine which slave is being interrogated.
- Various arbitration schemes, or logic arrangements can also be used to determine whether another slave is using the single data wire.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Telephone Function (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Dc Digital Transmission (AREA)
- Communication Control (AREA)
Abstract
Description
Claims
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001533641A JP2003513504A (en) | 1999-10-28 | 2000-10-27 | One-way single-wire communication interface |
EP00975459A EP1230741A4 (en) | 1999-10-28 | 2000-10-27 | One way single-wire communication interface |
MXPA02002334A MXPA02002334A (en) | 1999-10-28 | 2000-10-27 | One way single wire communication interface. |
AU13509/01A AU1350901A (en) | 1999-10-28 | 2000-10-27 | One way single-wire communication interface |
KR1020027003245A KR20020033794A (en) | 1999-10-28 | 2000-10-27 | One way single-wire communication interface |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16194099P | 1999-10-28 | 1999-10-28 | |
US60/161,940 | 1999-10-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2001031801A1 true WO2001031801A1 (en) | 2001-05-03 |
Family
ID=22583467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2000/029726 WO2001031801A1 (en) | 1999-10-28 | 2000-10-27 | One way single-wire communication interface |
Country Status (8)
Country | Link |
---|---|
EP (1) | EP1230741A4 (en) |
JP (1) | JP2003513504A (en) |
KR (1) | KR20020033794A (en) |
CN (1) | CN1382326A (en) |
AU (1) | AU1350901A (en) |
MX (1) | MXPA02002334A (en) |
TW (1) | TW531985B (en) |
WO (1) | WO2001031801A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014022603A1 (en) * | 2012-08-03 | 2014-02-06 | Microsoft Corporation | Single wire concurrent bi-directional communication for power supply unit |
WO2014080073A1 (en) * | 2012-11-21 | 2014-05-30 | Nokia Corporation | Instant communication error indication from slave |
CN112003817A (en) * | 2020-06-30 | 2020-11-27 | 上海美仁半导体有限公司 | Signal conversion method, chip and household appliance |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008021038A (en) * | 2006-07-11 | 2008-01-31 | Fujitsu Ltd | Clock signal control method in common clock system, and integrated circuit device |
CN102968082B (en) * | 2012-11-21 | 2014-10-01 | 成都金亚科技股份有限公司 | Method for realizing single line communication of singlechip |
CN106201973B (en) * | 2016-06-30 | 2020-08-11 | 珠海智融科技有限公司 | Method and system for single-wire serial communication interface |
CN108872830A (en) * | 2018-06-07 | 2018-11-23 | 苏州纳芯微电子股份有限公司 | A kind of single line test method for sensor conditioning chip |
TWI705335B (en) | 2018-10-15 | 2020-09-21 | 新唐科技股份有限公司 | Integrated circuit, bus system and detecting method thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5396639A (en) * | 1991-09-16 | 1995-03-07 | Rohm Co., Ltd. | One chip microcomputer having programmable I/O terminals programmed according to data stored in nonvolatile memory |
US5809257A (en) * | 1995-01-10 | 1998-09-15 | Fujitsu Limited | Bus control apparatus for data transfer system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5023778A (en) * | 1990-03-23 | 1991-06-11 | General Motors Corporation | Interprocessor communication method |
-
2000
- 2000-10-27 WO PCT/US2000/029726 patent/WO2001031801A1/en not_active Application Discontinuation
- 2000-10-27 JP JP2001533641A patent/JP2003513504A/en active Pending
- 2000-10-27 CN CN00814769A patent/CN1382326A/en active Pending
- 2000-10-27 EP EP00975459A patent/EP1230741A4/en not_active Withdrawn
- 2000-10-27 KR KR1020027003245A patent/KR20020033794A/en not_active Application Discontinuation
- 2000-10-27 AU AU13509/01A patent/AU1350901A/en not_active Abandoned
- 2000-10-27 MX MXPA02002334A patent/MXPA02002334A/en unknown
- 2000-10-30 TW TW089122849A patent/TW531985B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5396639A (en) * | 1991-09-16 | 1995-03-07 | Rohm Co., Ltd. | One chip microcomputer having programmable I/O terminals programmed according to data stored in nonvolatile memory |
US5809257A (en) * | 1995-01-10 | 1998-09-15 | Fujitsu Limited | Bus control apparatus for data transfer system |
Non-Patent Citations (1)
Title |
---|
See also references of EP1230741A4 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014022603A1 (en) * | 2012-08-03 | 2014-02-06 | Microsoft Corporation | Single wire concurrent bi-directional communication for power supply unit |
US20140036734A1 (en) * | 2012-08-03 | 2014-02-06 | Microsoft Corporation | Single Wire Concurrent Bi-Directional Communication For PSU |
US9235545B2 (en) | 2012-08-03 | 2016-01-12 | Microsoft Technology Licensing, Llc | Single wire concurrent bi-directional communication for PSU |
WO2014080073A1 (en) * | 2012-11-21 | 2014-05-30 | Nokia Corporation | Instant communication error indication from slave |
CN112003817A (en) * | 2020-06-30 | 2020-11-27 | 上海美仁半导体有限公司 | Signal conversion method, chip and household appliance |
CN112003817B (en) * | 2020-06-30 | 2021-10-15 | 上海美仁半导体有限公司 | Signal conversion method, chip and household appliance |
Also Published As
Publication number | Publication date |
---|---|
JP2003513504A (en) | 2003-04-08 |
KR20020033794A (en) | 2002-05-07 |
MXPA02002334A (en) | 2002-07-30 |
TW531985B (en) | 2003-05-11 |
EP1230741A4 (en) | 2006-04-26 |
EP1230741A1 (en) | 2002-08-14 |
AU1350901A (en) | 2001-05-08 |
CN1382326A (en) | 2002-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6697897B1 (en) | Data communication interface between host and slave processors | |
JP3450829B2 (en) | Method and apparatus for storing and communicating battery information | |
US7478188B2 (en) | System and method for connecting a WUSB device to multiple WUSB hosts | |
CN100456772C (en) | Power supply control circuit, electronic apparatus and charging method thereof | |
KR100663598B1 (en) | An apparatus and method for identifying a battery and providing communication over an interface between the battery and an electronic device | |
CN1640083B (en) | Accessory control interface | |
CN1509041B (en) | Ethernet connection agreement method and device | |
CN105471051A (en) | Bidirectional power management techniques | |
CN213934874U (en) | RS485 serial bus communication equipment based on monitoring technology | |
EP1230741A1 (en) | One way single-wire communication interface | |
CN110770706A (en) | Apparatus and method for diagnosing communication failure | |
CN201174708Y (en) | Ethernet access apparatus | |
CN108599530A (en) | A kind of powering mode converter and powering mode conversion method | |
CN201336032Y (en) | Software simulation serial data transmission device | |
CN102332617B (en) | Portable terminal and method for identifying battery of portable terminal | |
JP4491146B2 (en) | Method and apparatus for synchronizing communication means to battery and communication means in electronic device, and battery | |
CN101471463A (en) | Electronic device and charging method thereof | |
JP2002536719A (en) | Method for enabling communication between an electronic device and a battery, apparatus comprising the electronic device and a battery, and battery for enabling communication | |
CN114661646A (en) | Serial port switching control circuit | |
CN213124991U (en) | A expander and docking station for Type-C interface adapter that charges | |
CN101625667A (en) | Data transmission device and data transmission method thereof | |
CN2678200Y (en) | Portable data transmission device for movable terminal | |
WO2001031844A3 (en) | Dual mode data communication for monitoring and diagnostics of remote assets | |
CN201821140U (en) | Power supply of USB device | |
CN211375350U (en) | Single-point data acquisition module suitable for RS485 sensor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG UZ VN YU ZA ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
DFPE | Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101) | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2000975459 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: PA/a/2002/002334 Country of ref document: MX |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020027003245 Country of ref document: KR |
|
WWE | Wipo information: entry into national phase |
Ref document number: 008147698 Country of ref document: CN |
|
WWP | Wipo information: published in national office |
Ref document number: 1020027003245 Country of ref document: KR |
|
WWP | Wipo information: published in national office |
Ref document number: 2000975459 Country of ref document: EP |
|
REG | Reference to national code |
Ref country code: DE Ref legal event code: 8642 |
|
WWW | Wipo information: withdrawn in national office |
Ref document number: 2000975459 Country of ref document: EP |