KR100408147B1 - Communication method between a smart battery and a set - Google Patents
Communication method between a smart battery and a set Download PDFInfo
- Publication number
- KR100408147B1 KR100408147B1 KR10-2001-0059070A KR20010059070A KR100408147B1 KR 100408147 B1 KR100408147 B1 KR 100408147B1 KR 20010059070 A KR20010059070 A KR 20010059070A KR 100408147 B1 KR100408147 B1 KR 100408147B1
- Authority
- KR
- South Korea
- Prior art keywords
- state
- communication line
- control unit
- communication
- data
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
본 발명은 스마트 배터리와 세트사이의 통신 방법을 공개한다. 그 방법은 파워가 온되면 통신 라인이 제1상태로 천이되고, 마스터 제어부가 통신 라인을 제1상태에서 제2상태로 천이하고, 슬레이브 제어부가 통신 라인의 제2상태를 검출하고 통신 라인이 제1상태로 천이되고, 슬레이브 제어부가 통신 라인의 제2상태에서 제1상태로의 천이를 검출하여 통신 라인을 제2상태로 만드는 제1단계와 마스터 제어부가 통신 라인의 제1상태에서 제2상태로의 천이를 검출하고, 슬레이브 제어부가 통신 라인을 제2상태로 유지하고, 마스터 제어부가 통신 라인이 제2상태인지를 감지하고 통신 라인이 제1상태로 천이되고 마스터 제어부가 통신 라인을 제1상태로 만드는 제2단계로 이루어진 통신 라인 초기화 단계, 및 마스터 제어부가 통신 라인을 제1상태에서 제2상태로 천이하고 슬레이브 제어부가 통신 라인의 제1상태에서 제2상태로의 천이를 검출하고 통신 라인이 제1상태로 천이하고 슬레이브 제어부가 통신 라인으로 데이터를 전송하고, 마스터 제어부가 통신 라인의 데이터를 검출하고 통신 라인이 제1상태로 천이되는 데이터 전송 단계를 구비하는 것을 특징으로 한다. 따라서, 하나의 통신 라인을 통하여 데이터를 전송할 수 있으므로 휴대용 통신 기기와 같은 기기의 설계시에 공간적인 제약 문제를 제거할 수 있고, 하나의 통신 라인을 통하여 데이터를 빠르게 전송할 수 있으며 전송시에 에러를 줄일 수 있다.The present invention discloses a method of communication between a smart battery and a set. The method transitions the communication line to the first state when the power is on, the master control unit transitions the communication line from the first state to the second state, the slave control unit detects the second state of the communication line and the communication line Transition to the first state, the first step in which the slave control section detects a transition from the second state of the communication line to the first state and makes the communication line in the second state, and the master control unit in the second state of the communication line Detecting a transition to the furnace, the slave control unit maintains the communication line in the second state, the master control unit detects whether the communication line is in the second state, the communication line transitions to the first state and the master control unit transfers the communication line in the first state. A communication line initialization step comprising a second step of bringing the state into a state, and the master control unit transitions the communication line from the first state to the second state and the slave control unit enters the second phase from the first state of the communication line. Detecting a transition to a furnace, the communication line transitions to a first state, the slave control unit transmitting data to the communication line, the master control unit detecting data on the communication line, and the communication line transitioning to the first state It is characterized by. Therefore, since data can be transmitted through one communication line, spatial constraints can be eliminated when designing a device such as a portable communication device, data can be quickly transmitted through one communication line, and an error in transmission can be avoided. Can be reduced.
Description
본 발명은 스마트 배터리에 관한 것으로, 특히 스마트 배터리와 세트사이의 통신 방법에 관한 것이다.The present invention relates to a smart battery, and more particularly to a communication method between a smart battery and a set.
종래의 스마트 배터리와 세트(여기에서, 세트는 스마트 배터리를 테스트하기 위한 테스터를 포함한다)사이의 통신 방법은 스마트 배터리와 세트사이에 클럭신호라인과 데이터 라인을 구비하여, 클럭신호에 동기시켜 데이터를 전송하였다.A conventional smart battery and a communication method between a set (here, the set includes a tester for testing the smart battery) includes a clock signal line and a data line between the smart battery and the set, and synchronizes the clock signal with data. Sent.
따라서, 클럭신호에 동기되어 데이터를 전송함으로써 에러없이 데이터를 전송할 수 있으나, 휴대용 통신기기와 같은 작은 통신기기에는 공간이 부족하여 2라인 통신 방법을 채용하기가 곤란한 문제점이 있었다. 또한, 2라인 통신을 위하여 2개의 단자가 사용되게 되는데, 이들 단자들의 가격이 높아 제품 가격을 높이게 된다는 문제점이 있었다.Accordingly, data can be transmitted without error by transmitting data in synchronization with a clock signal. However, a small communication device such as a portable communication device has a problem that it is difficult to adopt a two-line communication method due to insufficient space. In addition, two terminals are used for two-line communication, and there is a problem in that the price of these terminals increases the price of the product.
상술한 바와 같은 문제점을 해결하기 위하여 스마트 배터리와 세트사이에 1라인을 구비하여 데이터를 전송하는 방법이 나오게 되었다. 그런데, 1라인으로 통신하는 경우에는 빠른 데이터 전송이 어려우며 데이터 전송시에 에러가 발생할 가능성이 높다는 단점이 있었다.In order to solve the above problems, a method of transmitting data by providing a line between a smart battery and a set has emerged. However, when communicating in one line, fast data transmission is difficult and there is a high possibility that an error may occur during data transmission.
본 발명의 목적은 스마트 배터리와 세트사이에 하나의 통신 라인을 구비하며 데이터를 에러없이 빠르게 전송할 수 있는 스마트 배터리와 세트사이의 통신 방법을 제공하는데 있다.An object of the present invention is to provide a communication method between a smart battery and a set having one communication line between the smart battery and the set and capable of quickly transmitting data without error.
이와같은 목적을 달성하기 위한 본 발명의 스마트 배터리와 세트사이의 통신 방법은 마스터 제어부를 구비한 세트와 슬레이브 제어부를 구비한 스마트 배터리를 구비하고, 상기 마스터 제어부와 상기 스마트 배터리사이에 하나의 통신 라인을 구비한 스마트 배터리와 세트사이의 통신 방법에 있어서, 파워가 온되면 상기 통신 라인이 제1상태로 천이되고, 상기 마스터 제어부가 상기 통신 라인을 제1상태에서 제2상태로 천이하고, 상기 슬레이브 제어부가 상기 통신 라인의 제2상태를 검출하고 상기 통신 라인이 제1상태로 천이되고, 상기 슬레이브 제어부가 상기 통신 라인의 제2상태에서 제1상태로의 천이를 검출하여 상기 통신 라인을 제2상태로 만드는 제1단계와 상기 마스터 제어부가 상기 통신 라인의 제1상태에서 제2상태로의 천이를 검출하고, 상기 슬레이브 제어부가 상기 통신 라인을 제2상태로 유지하고, 상기 마스터 제어부가 상기 통신 라인이 제2상태인지를 감지하고 상기 통신 라인이 제1상태로 천이되고 상기 마스터 제어부가 상기 통신 라인을 제1상태로 만드는 제2단계를 구비한 통신 라인 초기화 단계, 및 상기 마스터 제어부가 상기 통신 라인을 제1상태에서 제2상태로 천이하고 상기 슬레이브 제어부가 상기 통신 라인의 제1상태에서 제2상태로의 천이를 검출하고 상기 통신 라인이 제1상태로 천이하고 상기 슬레이브 제어부가 상기 통신 라인으로 데이터를 전송하고, 상기 마스터 제어부가 상기 통신 라인의 데이터를 검출하고 상기 통신 라인이 제1상태로 천이되는 데이터 전송 단계를 구비하는 것을 특징으로 한다.The smart battery and the communication method between the set of the present invention for achieving the above object comprises a set having a master control unit and a smart battery having a slave control unit, one communication line between the master control unit and the smart battery In a communication method between a smart battery and a set comprising: when the power is on, the communication line transitions to the first state, the master control unit transitions the communication line from the first state to the second state, the slave The control unit detects a second state of the communication line, the communication line transitions to a first state, and the slave control unit detects a transition from the second state of the communication line to the first state and then transfers the communication line to the second state. A first step of bringing it into a state and said master controller detects a transition from said first state of said communication line to said second state, A slave control unit maintains the communication line in the second state, the master control unit senses whether the communication line is in the second state, the communication line transitions to the first state, and the master control unit transfers the communication line in the first state. A communication line initializing step having a second step of making the communication channel; and the master control unit transitions the communication line from the first state to the second state and the slave control unit transitions from the first state to the second state of the communication line. Is detected, the communication line transitions to a first state, the slave control unit transmits data to the communication line, the master control unit detects data on the communication line, and the communication line transitions to the first state. Characterized in that it comprises a step.
도 1은 본 발명의 스마트 배터리와 세트사이의 통신 방법을 설명하기 위한 블록도이다.1 is a block diagram illustrating a communication method between a smart battery and a set of the present invention.
도 2a ~ 2c는 본 발명의 스마트 배터리와 세트사이의 통신 방법을 설명하기 위한 실시예의 동작 타이밍도이다.2A to 2C are operation timing diagrams of an embodiment for explaining a communication method between a smart battery and a set of the present invention.
도 3은 본 발명의 스마트 배터리와 세트사이의 통신 라인 초기화 방법을 설명하기 위한 실시예의 타이밍도이다.3 is a timing diagram of an embodiment for explaining a communication line initialization method between a smart battery and a set of the present invention.
도 4a, b는 스마트 배터리와 세트사이의 데이터 전송 방법을 설명하기 위한 실시예의 타이밍도이다.4A and 4B are timing diagrams of an exemplary embodiment for explaining a data transmission method between a smart battery and a set.
이하, 첨부한 도면을 참고로 하여 본 발명의 스마트 배터리와 세트사이의 통신 방법을 설명하면 다음과 같다.Hereinafter, a communication method between a smart battery and a set of the present invention will be described with reference to the accompanying drawings.
도 1은 본 발명의 스마트 배터리와 세트사이의 통신 방법을 설명하기 위한 블록도로서, 마스터 제어부(12)를 구비한 세트(10), 슬레이브 제어부(22)를 구비한 스마트 배터리(20)로 구성되어 있다.1 is a block diagram illustrating a communication method between a smart battery and a set of the present invention, and includes a set 10 having a master control unit 12 and a smart battery 20 having a slave control unit 22. It is.
도 1에서, 스마트 배터리(20)와 세트(10)사이에는 파워 라인(POWER), 그라운드 라인(GROUNG), 및 통신 라인(30)으로 이루어진 3개의 라인들이 연결되어 있다.In FIG. 1, three lines consisting of a power line (POWER), a ground line (GROUNG), and a communication line 30 are connected between the smart battery 20 and the set 10.
즉, 도 1에 나타낸 본 발명의 블록도는 스마트 배터리와 세트사이에 하나의 통신 라인(30)을 통하여 데이터를 전송하게 된다.That is, the block diagram of the present invention shown in FIG. 1 transmits data through a communication line 30 between a smart battery and a set.
도 1에 나타낸 블록들 각각의 기능을 설명하면 다음과 같다.The function of each of the blocks shown in FIG. 1 is as follows.
마스터 제어부(12)는 세트(10)의 동작을 제어하고, 통신 라인(30)을 통하여 전송되는 스마트 배터리에 관련되는 정보를 입력한다. 슬레이브 제어부(22)는 스마트 배터리(20)에 관련되는 정보를 저장하고 마스터 제어부(12)의 제어하에 통신 라인(30)을 통하여 마스터 제어부(12)로 전송한다.The master control unit 12 controls the operation of the set 10 and inputs information related to the smart battery transmitted through the communication line 30. The slave controller 22 stores information related to the smart battery 20 and transmits the information to the master controller 12 through the communication line 30 under the control of the master controller 12.
도 2a ~ 2c는 본 발명의 스마트 배터리와 세트사이의 통신 방법을 설명하기 위한 실시예의 동작 타이밍도이고, 도 3은 본 발명의 스마트 배터리와 세트사이의 통신 라인 초기화 방법을 설명하기 위한 실시예의 타이밍도이고, 도 4a, b는 스마트 배터리와 세트사이의 데이터 전송 방법을 설명하기 위한 실시예의 타이밍도이다.2A to 2C are operation timing diagrams of an embodiment for explaining a communication method between a smart battery and a set of the present invention, and FIG. 3 is a timing diagram of an embodiment for explaining a communication line initialization method between a smart battery and a set of the present invention. 4A and 4B are timing diagrams of an embodiment for explaining a data transmission method between a smart battery and a set.
먼저, 도 2a ~ 2c 및 도 3을 이용하여 본 발명의 스마트 배터리와 세트사이의 통신 라인 초기화 방법을 설명하면 다음과 같다.First, a communication line initialization method between a smart battery and a set of the present invention will be described with reference to FIGS. 2A to 2C and FIG. 3.
스마트 배터리(10)와 세트(20)를 연결하고 세트(20)의 파워를 온한다(제100단계). 파워를 온하면 도 3의 기간(T1)에서와 같이 통신 라인(30)이 "하이"레벨로 된다. 마스터 제어부(12)는 통신 라인(30)이 "하이"레벨인지를 판단한다(제110단계). 만일 통신 라인(30)이 "하이"레벨이 아니면 마스터 제어부(12)가 통신 라인(30)을 "하이"레벨로 만든다(제120단계). 만일 통신 라인(30)이 "하이"레벨이면 마스터 제어부(12)가 도 3의 기간(T2)에서와 같이 통신 라인(30)을 "로우"레벨로 만든다(제130단계). 슬레이브 제어부(22)는 소정 시간이 경과하였는지를 판단한다(제140단계). 만일 소정 시간이 경과하지 않았으면 제140단계로 진행하고 만일 소정 시간이 경과하였으면 슬레이브 제어부(22)는 통신 라인(30)이 "로우"레벨인지를 판단한다(제150단계). 만일 제150단계를 만족하지 않으면 동작을 종료하고, 만일 제150단계를 만족하면 통신 라인(30)이 자동으로 풀업된다(제160단계). 이는 통신 라인(30)에 연결된 풀업 수단(미도시)에 의해서 수행된다. 제140, 150, 및 160단계의 동작은 도 3의 기간(T2)동안에 이루어져야 하며, 대략 480㎲내에 수행되어야 한다. 슬레이브 제어부(22)는 통신 라인(30)의 레벨이 도 3의 기간(T2)에 나타낸 바와 같이 "하이"레벨로 천이하였는지를 검출한다(제170단계). 즉, 통신 라인(30)의 신호의 상승 엣지를 검출한다. 만일 제170단계를 만족하지 않으면 동작을 종료하고, 만일 제170단계를 만족하면 도 3의 기간(T3)에 나타낸 바와 같이 슬레이브 제어부(22)가 통신 라인(30)을 "로우"레벨로 만든다(제180단계). 마스터 제어부(12)가 통신 라인(30)이 "하이"레벨에서 "로우"레벨로 천이되었는지를 검출한다(제190단계). 만일 제190단계를 만족하지 않으면 동작을 종료하고, 만일 제190단계를 만족하면 슬레이브 제어부(22)가 통신 라인(30)을 "로우"레벨로 유지한다(제200단계). 슬레이브 제어부(22)가 통신 라인(30)을 "로우"레벨로 유지하는 시간은 도 3에 나타낸 바와 약 60㎲정도가 된다. 마스터 제어부(12)는 소정 시간이 경과하였는지를 판단한다(제210단계). 만일 소정 시간이 경과하였으면 마스터 제어부(12)는 통신 라인(30)이 "로우"레벨인지를 검출한다(제220단계). 만일 통신 라인(30)이 "로우"레벨이 아니면 동작을 종료하고, 만일 통신 라인(30)이 "로우"레벨이면 도 3에 나타낸 바와 같이 통신 라인(30)이 자동으로 풀업된다(제230단계). 마스터 제어부(12)가 도 3의 기간(T3)에 나타낸 바와 같이 통신 라인(30)을 "하이"레벨로 유지한다(제240단계). 제200, 210, 220, 230, 및 240단계의 동작은 도 3의 기간(T3)동안에 이루어져야 하며, 대략 480㎲내에 수행되어야 한다. 상술한 동작은 마스터 제어부(12)와 슬레이브 제어부(22)사이에 수행되는 초기화 동작이다. 이와같이 초기화 동작이 수행된 후에 통신 라인(30)이 "하이"레벨로 유지되어 마스터 제어부(12)와 슬레이브 제어부(22)사이에 데이터를 전송할 수 있는 상태가 된다.The smart battery 10 is connected to the set 20 and the power of the set 20 is turned on (step 100). When the power is turned on, the communication line 30 is brought to the "high" level as in the period T1 of FIG. The master controller 12 determines whether the communication line 30 is at the "high" level (step 110). If the communication line 30 is not at the "high" level, the master controller 12 makes the communication line 30 at the "high" level (step 120). If the communication line 30 is at the "high" level, the master controller 12 makes the communication line 30 at the "low" level as in the period T2 of FIG. 3 (step 130). The slave controller 22 determines whether a predetermined time has elapsed (step 140). If the predetermined time has not elapsed, the process proceeds to step 140. If the predetermined time has elapsed, the slave controller 22 determines whether the communication line 30 is at the "low" level (step 150). If step 150 is not satisfied, the operation ends. If step 150 is satisfied, the communication line 30 is automatically pulled up (step 160). This is done by pull-up means (not shown) connected to the communication line 30. Operations 140, 150, and 160 should be performed during the period T2 of FIG. 3 and should be performed in approximately 480 ms. The slave controller 22 detects whether the level of the communication line 30 has transitioned to the "high" level as shown in the period T2 of FIG. 3 (step 170). That is, the rising edge of the signal of the communication line 30 is detected. If step 170 is not satisfied, the operation ends. If step 170 is satisfied, the slave controller 22 brings the communication line 30 to the "low" level as shown in period T3 of FIG. Step 180). The master controller 12 detects whether the communication line 30 has transitioned from the "high" level to the "low" level (step 190). If step 190 is not satisfied, the operation ends. If step 190 is satisfied, the slave controller 22 maintains the communication line 30 at a low level (step 200). The time required for the slave controller 22 to maintain the communication line 30 at the "low" level is about 60 ms as shown in FIG. The master controller 12 determines whether a predetermined time has elapsed (step 210). If the predetermined time has elapsed, the master controller 12 detects whether the communication line 30 is at the "low" level (step 220). If the communication line 30 is not at the "low" level, the operation is terminated. If the communication line 30 is at the "low" level, the communication line 30 is automatically pulled up as shown in FIG. ). The master control unit 12 maintains the communication line 30 at the "high" level as shown in the period T3 of FIG. 3 (step 240). Operations 200, 210, 220, 230, and 240 should be performed during the period T3 of FIG. 3 and should be performed within approximately 480 ms. The above operation is an initialization operation performed between the master control unit 12 and the slave control unit 22. After the initialization operation is performed in this way, the communication line 30 is maintained at the "high" level, and the state is such that data can be transmitted between the master control unit 12 and the slave control unit 22.
다음으로, 도 2a ~ 2c 및 도 4a, b를 이용하여 마스터 제어부(12)와 슬레이브 제어부(22)사이에 데이터 전송 방법을 설명하면 다음과 같다.Next, a data transmission method between the master control unit 12 and the slave control unit 22 will be described with reference to FIGS. 2A to 2C and FIGS. 4A and B as follows.
마스터 제어부(12)가 도 4a, b에 나타낸 바와 같이 통신 라인(30)을 "하이"레벨에서 "로우"레벨로 만든다(제250단계). 슬레이브 제어부(22)가 통신 라인(30)의 레벨의 하강 엣지를 검출한다(제260단계). 만일 제260단계를 만족하지 않으면 동작을 종료하고, 제260단계를 만족하면 도 4a, b에 나타낸 바와 같이 통신 라인(30)이 자동으로 풀업된다(제270단계). 슬레이브 제어부(22)가 도 4a, b에 나타낸 바와 같이 통신 라인(30)으로 "로우"레벨 또는 "하이"레벨의 데이터를 전송한다(제280단계). 도 4a에는 "로우"레벨의 데이터를 전송하는 것을 나타내었고, 도 4b에는 "하이"레벨의 데이터를 전송하는 것을 나타내었다. 통신 라인(30)의 데이터를 "로우"레벨 또는 "하이"레벨로 유지하는 시간은 도 4a, b에 나타낸 바와 같이 15 내지 30㎲이다. 마스터 제어부(12)는 소정 시간이 경과하였는지를판단한다(제290단계). 이때, 통신 라인(30)이 하강 천이한 후에 약 25㎲경과한 시점이 된다. 마스터 제어부(12)가 통신 라인(30)의 "하이"레벨 또는 "로우"레벨의 데이터를 검출한다(제300단계). 통신 라인(30)의 데이터가 자동으로 풀업된다(제310단계). 마스터 제어부(12)가 데이터의 전송이 완료되었는지를 검출한다(제320단계). 만일 데이터의 전송이 완료되었으면 동작을 종료하고, 만일 데이터의 전송이 완료되지 않았으면 제250단계로 진행한다.The master control unit 12 makes the communication line 30 from the "high" level to the "low" level as shown in Figs. 4A and 4B (step 250). The slave controller 22 detects the falling edge of the level of the communication line 30 (step 260). If step 260 is not satisfied, the operation ends. If step 260 is satisfied, the communication line 30 is automatically pulled up as shown in FIGS. 4A and 4B (step 270). The slave controller 22 transmits data of the "low" level or the "high" level to the communication line 30 as shown in Figs. 4A and 4B (step 280). FIG. 4A shows the transmission of "low" level data, and FIG. 4B shows the transmission of "high" level data. The time for keeping the data of the communication line 30 at the "low" level or the "high" level is 15 to 30 ms as shown in Figs. 4A and 4B. The master controller 12 determines whether a predetermined time has elapsed (step 290). At this time, after the communication line 30 has descended, it is the time when about 25 ms has passed. The master controller 12 detects data of the "high" level or the "low" level of the communication line 30 (step 300). Data of the communication line 30 is automatically pulled up (step 310). The master controller 12 detects whether data transmission is completed (step 320). If the data transmission is completed, the operation ends. If the data transmission is not completed, the process proceeds to step 250.
상술한 바와 같은 방법으로 통신 라인(30)을 통하여 1비트의 데이터가 에러없이 빠르게 전송될 수 있다. 즉, 마스터 제어부(12)가 통신 라인(30)을 "하이"레벨에서 "로우"레벨로 천이하면 슬레이브 제어부(22)가 통신 라인(30)을 통하여 1비트의 데이터를 전송하게 됨으로써 전송시에 에러가 발생될 확률이 줄어들게 된다. 그리고, 1비트의 데이터를 전송하는데 걸리는 시간은 도 4a, b에 나타낸 바와 같이 대략 40㎲로서 아주 짧기 때문에 아래에 나타낸 바와 같은 필요한 모드 비트의 데이터가 빠른 시간내에 전송될 수 있다.In the manner as described above, one bit of data may be quickly transmitted through the communication line 30 without error. That is, when the master control unit 12 transitions the communication line 30 from the "high" level to the "low" level, the slave control unit 22 transmits one bit of data through the communication line 30, thereby transmitting. The probability of error occurring is reduced. Further, since the time taken to transmit one bit of data is very short as approximately 40 ms as shown in Figs. 4A and 4B, the data of the required mode bits as shown below can be transmitted in a short time.
마스터 제어부(12)가 슬레이브 제어부(22)로부터 가져오는 정보는 2개의 워드 데이터, 즉, 16비트의 데이터로서, 아래에 나타내는 것과 같은 정보를 순서대로 1비트씩 가져온다.The information that the master control unit 12 obtains from the slave control unit 22 is two word data, that is, 16 bits of data, and the information as shown below is obtained one by one in order.
1) 배터리의 전압을 나타내는 정보는 아래의 데이터 포맷으로 나타내어진다.1) Information indicating the voltage of the battery is shown in the following data format.
상기 정보에서, S로 나타낸 것은 부호 비트를 나타내며, X로 나타낸 것은돈-캐어(Don't care)를 나타낸다. 배터리의 전압을 나타내는 정보는 부호비트를 제외하고 총 10비트의 데이터이다.In the above information, denoted by S denotes a sign bit and denoted by X denotes Don't care. Information indicating the voltage of the battery is a total of 10 bits of data excluding the sign bit.
2) 배터리와 세트사이의 충방전되는 전류를 나타내는 정보는 아래의 데이터 포맷으로 나타내어진다.2) Information indicating the current to be charged and discharged between the battery and the set is represented in the following data format.
즉, 배터리와 세트사이의 충방전되는 전류를 나타내는 정보는 부호비트를 제외하고 총 12비트의 데이터이다.That is, the information representing the current charged and discharged between the battery and the set is a total of 12 bits of data except for the sign bit.
3) 배터리의 용량을 나타내는 정보는 아래의 데이터 포맷으로 나타내어진다.3) Information indicating the capacity of the battery is shown in the following data format.
즉, 배터리의 용량을 나타내는 정보는 부호비트를 제외하고 총 13비트의 데이터이다.That is, the information representing the capacity of the battery is 13 bits of data except for the sign bit.
4) 배터리 팩의 온도를 나타내는 정보는 상기 배터리의 전압을 나타내는 정보와 동일한 데이터 포맷을 가진다.4) The information representing the temperature of the battery pack has the same data format as the information representing the voltage of the battery.
5) 배터리가 완전히 충전되었을 때의 배터리의 충전량을 나타내는 정보는 상기 배터리의 용량을 나타내는 정보와 동일한 데이터 포맷을 가진다.5) The information indicating the charge amount of the battery when the battery is fully charged has the same data format as the information indicating the capacity of the battery.
6) 초기 배터리의 설계 용량을 나타내는 정보는 상기 배터리의 용량을 나타내는 정보와 동일한 데이터 포맷을 가진다.6) The information indicating the design capacity of the initial battery has the same data format as the information indicating the capacity of the battery.
7) 배터리의 충방전 횟수를 나타내는 정보는 아래의 데이터 포맷으로 나타내어진다.7) Information indicating the number of charge / discharge cycles of a battery is represented by the following data format.
즉, 이 정보는 부호 비트를 포함하지 않으며 총 16비트의 데이터로 구성된다.That is, this information does not include sign bits and consists of 16 bits of data in total.
8) 데이터 확인을 나타내는 정보는 아래의 데이터 포맷으로 나타내어진다.8) Information indicating data confirmation is expressed in the following data format.
즉, 이 정보는 부호 비트를 포함하지 않으며 총 8비트의 데이터로 구성된다.That is, this information does not include sign bits and consists of a total of 8 bits of data.
마스터 제어부(12)는 슬레이브 제어부(22)에 저장된 상술한 데이터 포맷으로 나타내어진 데이터를 1비트씩 가져와서 스마트 배터리(10)에 관련되는 정보를 계산해내게 된다.The master control unit 12 calculates information related to the smart battery 10 by taking data represented by the above-described data format stored in the slave control unit 1 by one bit.
상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to a preferred embodiment of the present invention, those skilled in the art will be variously modified and changed within the scope of the present invention without departing from the spirit and scope of the invention described in the claims below. I can understand that you can.
따라서, 본 발명의 스마트 배터리와 세트사이의 통신 방법은 하나의 통신 라인을 통하여 데이터를 전송할 수 있으므로 휴대용 통신 기기와 같은 기기의 설계시에 공간적인 제약 문제를 제거할 수 있고, 하나의 통신 라인을 위하여 하나의 단자만 사용하면 되므로 제품 비용을 낮출 수 있다.Therefore, the communication method between the smart battery and the set of the present invention can transmit data through one communication line, thereby eliminating a space constraint problem when designing a device such as a portable communication device, and using one communication line. In order to reduce the product cost, only one terminal is required.
또한, 하나의 통신 라인을 통하여 데이터를 빠르게 전송할 수 있으며 전송시에 에러를 줄일 수 있다.In addition, data can be quickly transmitted through one communication line, and errors in transmission can be reduced.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2001-0059070A KR100408147B1 (en) | 2001-09-24 | 2001-09-24 | Communication method between a smart battery and a set |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2001-0059070A KR100408147B1 (en) | 2001-09-24 | 2001-09-24 | Communication method between a smart battery and a set |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20030026079A KR20030026079A (en) | 2003-03-31 |
KR100408147B1 true KR100408147B1 (en) | 2003-12-01 |
Family
ID=27725303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR10-2001-0059070A KR100408147B1 (en) | 2001-09-24 | 2001-09-24 | Communication method between a smart battery and a set |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100408147B1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567747B (en) * | 2003-06-13 | 2010-04-28 | 华为技术有限公司 | A method for computing best route of multiple constraints service in optical network |
KR100938075B1 (en) * | 2004-08-30 | 2010-01-21 | 삼성에스디아이 주식회사 | Smart battery and battery discrimination method using it |
-
2001
- 2001-09-24 KR KR10-2001-0059070A patent/KR100408147B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20030026079A (en) | 2003-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3764338B2 (en) | Method and apparatus for recognizing battery | |
KR100928905B1 (en) | Accessory control interface | |
JP3821124B2 (en) | Charging method in an electronic device having a USB interface | |
US7453236B2 (en) | Battery pack of automatically setting master and slave pack, multi-battery pack system including the same and method for controlling the same | |
US7685449B2 (en) | Communication device, semiconductor integrated circuit device, and communication system | |
US7041400B2 (en) | Upgradable smart battery pack | |
JP3450829B2 (en) | Method and apparatus for storing and communicating battery information | |
CN104220958B (en) | Computer device and method for converting working mode of universal serial bus connector of the computer device | |
CN102694400B (en) | Imput output circuit | |
US20060200813A1 (en) | Firmware updating system | |
CN101919169A (en) | Mobile terminal for supporting UART communication and USB communication using single connector and operating method for same | |
JP2006073527A (en) | Smart battery pack and battery type discriminating method using it | |
CN108228509B (en) | USB interface switching device and electronic equipment | |
KR100433397B1 (en) | Card type device capable of being used in secondary battery and host for using the card type device | |
US20070103115A1 (en) | Function-switching type linking apparatus | |
CN115858431A (en) | Data transmission control method, controller and electronic equipment | |
EP2064629B1 (en) | Improved mode switching of a data communications link | |
JP4491146B2 (en) | Method and apparatus for synchronizing communication means to battery and communication means in electronic device, and battery | |
KR100408147B1 (en) | Communication method between a smart battery and a set | |
US10727542B2 (en) | Battery device and program executed therein | |
CN100383704C (en) | Mobile communication terminal with general serial bus port and driving method | |
US20070230334A1 (en) | Master Communication Circuit, Slave Communication Circuit, and Data Communicating Method | |
MXPA01007032A (en) | A method enabling communication between an electronic device and a battery, an apparatus comprising an electronic device and a battery, and a battery enabling communication. | |
CN107423248A (en) | Data frame hair delivery method and dispensing device | |
CN103207845B (en) | PS/2 keyboard is connected to method and the portable terminal of portable terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20121024 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20131118 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |