WO2001031801A1 - One way single-wire communication interface - Google Patents

One way single-wire communication interface Download PDF

Info

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
Application number
PCT/US2000/029726
Other languages
French (fr)
Inventor
Daniel D. Friel
Gary V. Zanders
Original Assignee
Powersmart, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Powersmart, Inc. filed Critical Powersmart, Inc.
Priority to JP2001533641A priority Critical patent/JP2003513504A/en
Priority to EP00975459A priority patent/EP1230741A4/en
Priority to MXPA02002334A priority patent/MXPA02002334A/en
Priority to AU13509/01A priority patent/AU1350901A/en
Priority to KR1020027003245A priority patent/KR20020033794A/en
Publication of WO2001031801A1 publication Critical patent/WO2001031801A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4286Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/14Two-way operation using the same type of signal, i.e. duplex
    • H04L5/16Half-duplex systems; Simplex/duplex switching; Transmission of break signals non-automatically inverting the direction of transmission
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy 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

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 pull-down circuit for varying voltage on the data line. The slave processor is passive and incapable of sampling data from the data line. The slave processor is programmed to vary voltage on the data line when the data line is energined, to signal of at least one data bit.

Description

ONE WAY SINGLE- WIRE COMMUNICATION INTERFACE
Cross-Reference to Related Applications
The present application claims priority to provisional U.S. patent application serial number 60/161,940, filed October 28, 1999, which is assigned to the assignee of the present disclosure and incorporated herein by reference.
Background of Disclosure
1. Field of Disclosure
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.
2. Related Art
For portable electronic devices, like cell phones, personal digital assistants, and camcorders, for example, architectures/protocols have been developed for connecting various components of the portable electronics together so that they can communicate. 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.
Preferably, the communication architecture is designed with as few connections as possible. Currently, one of the most used architectures is the system management (SM) bus, which includes three wires to interconnect host devises and slave components. The devices and components communicate over one of the wires, while a clocking signal is provided over the second wire, and the third wire is used as a ground. 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).
For cell phone manufacturers, however, there has been an emphasis on using a communication architecture including only two wires. An architecture/protocol that has been adopted by most cellular phone companies is the "DQ" system developed by Dallas Semiconductor, Benchmarq, Unitrode, and Texas Instrument. 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.
One drawback of the bi-directional, one- wire bus is, that with multiple slave components connected to one master device, handshaking becomes complicated, and the host device must interrogate each slave component separately.
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. In an effort to minimize the expense of the system, 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 I2C 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. What is still desired, accordingly, is a new and improved communications architecture/protocol for connecting a processor of slave component to a processor of a host component. Preferably, the new architecture/protocol will be simple and inexpensive in comparison to the above describe I2C and DQ systems.
Summary of Disclosure
In response, 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.
According to one aspect of the present disclosure, 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 ".
According to another aspect of the present disclosure, 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.
As described in greater detail below, 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.
Brief Description of Drawings
The present disclosure is described with reference to the accompanying drawings, wherein:
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.
Like reference characters designate identical or corresponding components and units throughout the several views.
Detailed Description of Disclosure
Referring to FIGS. 1 through 4, 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.
When the desired data bit is signaled by the slave processor, the host processor de-energizes the data line. Preferably, 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.
As shown best in FIG. 2, 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.
As shown in FIG. 1 , a host device having a computer processing unit (CPU) 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.) As shown, 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, while FIG. 4 shows a "send data" algorithm according to the present disclosure for use by the slave processor of FIG. 1. With the "send data" algorithm of FIG. 4, 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. Using the alternative algorithm, the slave processor simply attempts to signal data at pre-selected intervals, even if the data line has not been energized by the host.
In FIG. 6, a slave component comprising a battery pack is shown that includes the slave CPU of FIG. 1. In addition to the slave CPU, 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.
As shown in FIG 6, 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. As also shown, the battery pack is connectable to a portable product (e.g., a cell phone) including the host CPU of FIG. 1. Referring to 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. Although not shown, 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.
As shown, the signal-in and the signal-out lines of the slave CPU's are connected in series. 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).
Thus, when a host energizes the data line of the assembly, 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. 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. In addition, the signal-out line of the slave and the information line of the assembly CPU are connected through an optoisolator.
Thus, 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. In this approach, 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.
Accordingly, when the host processor needs information the host energizes the data line and the slave processor is able to send information to the host. When data transmission from the slave processor is completed, or even before the transmission is complete (i.e., at the discretion of the host processor), 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.
In a device containing multiple slave processors according to the present disclosure, the interrogation of each slave by the host processor is done sequentially and periodically. In one embodiment (not shown), 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 further embodiment (not shown) 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.
Those skilled in the art will recognize that the embodiments described above are merely illustrative. These examples may help to show some of the scope of the inventive concepts, but these examples do not nearly exhaust the full scope of variations in the disclosed novel concepts. Thus, the scope of the innovative concepts described in the present disclosure is not limited except by the appended claims.

Claims

What is claimed is:
1. A method of signaling at least one data bit to a host processor from a slave processor over a one-wire data line, comprising: providing a slave processor incapable of sampling data from the data line; 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.
2. A method according to claim 1 , further comprising de-energizing the data line when the desired data bit is signaled by the slave processor.
3. A method according to claim 1 , wherein the slave processor varies the voltage on the energized data line only after a pre-selected time period has elapsed.
4. A method according to claim 1 , wherein the slave processor pulls the voltage low on the energized data line to signal a "0".
5. A method according to claim 1 , wherein the slave processor raises the voltage high on the energized data line to signal a "1".
6. A method according to claim 1, wherein the host processor energizes the data line by raising the data line to a high logic level.
7. A data communication interface for transferring at least one data bit to a host processor, comprising: a one- wire data line; a slave processor connected to the data line and including a pull-down circuit for varying voltage on the data line at the request of the slave processor, the slave processor incapable of sampling data from the data line; wherein the slave processor 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.
8. An interface according to claim 7, wherein the slave processor includes a clock and is programmed to vary the voltage on the energized data line only after a pre-selected time period has elapsed.
9. An interface according to claim 7, wherein the slave processor is programmed to pull the voltage low on the energized data line to signal a "0".
10. An interface according to claim 7, wherein the slave processor is programmed to raise the voltage high on the energized data line to signal a " 1 ".
1 1. An interface according to claim 7, further comprising: 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 capable of sampling data from the data line; wherein the host processor is programmed to energize the data line using the pull-down circuit when at least one data bit is desired from the slave processor, and sample the voltage on the energized data line to determine the value of a bit signaled by the slave processor.
12. An interface according to claim 11 , wherein the host processor energizes the data line by raising the data line to a high logic level.
13. A battery pack including an interface according to claim 7, and further comprising: 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 connected to the measurement device for converting the analog signal indicative of the measurement to at least one data bit; wherein the slave processor is connected to the analog to digital converter and includes memory 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.
14. A slave component for transferring at least one data bit to a host device, comprising: a signal-in line; a data-out line; a signal-out line; and a processor including a pull-down circuit for varying voltage on the signal-out line, the processor connected to the signal-in line and the data-out line; wherein the processor is programmed to transfer at least one data bit over the data-out line when voltage of the signal-in line is varied, and to vary the voltage on the signal-out line after transferring the at least one data bit over the data- out line.
15. A battery pack including an interface according to claim 14, and further comprising: at least one measurement device for measuring a variable property of a battery and for producing an analog signal indicative of the measurement; and an analog to digital converter connected to the measurement device for converting the analog signal indicative of the measurement to at least one data bit; wherein the processor is connected to the converter and includes memory for receiving the at least one data bit from the converter and storing the at least one data bit until the voltage on the signal-in line is varied.
16. A battery pack according to claim 15, further comprising a battery.
17. An assembly including a plurality of slave components according to claim 14, wherein the slave components are connected in series through the signal-in and the signal-out lines, and the assembly further includes an assembly interface comprising: a one-wire data line for connection to a host component; an information line arranged to receive the at least one data bit from each of the data-out lines of the slave components; a command line connected to the signal-in line of a first of the connected slave components; a processor connected to the data line and including a first pull-down circuit for varying voltage on the data line, the processor is incapable of sampling data from the data line, the processor is connected to the information line, and connected to the command line and includes a second pull-down circuit for varying voltage on the command line; wherein the processor is programmed to, vary voltage on the command line using the second pull-down circuit when the data line is energized, and vary voltage on the data line using the first pull-down circuit when at least one data bit from one of the slave components is received on the information line to signal information over the data line including identification of the slave component and the at least one data bit of the particular slave component.
18. An assembly according to claim 17 wherein the slave components are connected in series through voltage level shifters.
19. An assembly according to claim 17 wherein the data-out lines of the slave components are connected to the information line of the assembly processor by optoisolators.
20. An assembly according to claim 17 wherein the signal-out line of a last of the slave components is connected to the information line of the assembly processor.
PCT/US2000/029726 1999-10-28 2000-10-27 One way single-wire communication interface WO2001031801A1 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5023778A (en) * 1990-03-23 1991-06-11 General Motors Corporation Interprocessor communication method

Patent Citations (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
See also references of EP1230741A4 *

Cited By (6)

* Cited by examiner, † Cited by third party
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