JP5400281B2 - 1-wire data communication device - Google Patents

1-wire data communication device Download PDF

Info

Publication number
JP5400281B2
JP5400281B2 JP2007156185A JP2007156185A JP5400281B2 JP 5400281 B2 JP5400281 B2 JP 5400281B2 JP 2007156185 A JP2007156185 A JP 2007156185A JP 2007156185 A JP2007156185 A JP 2007156185A JP 5400281 B2 JP5400281 B2 JP 5400281B2
Authority
JP
Japan
Prior art keywords
data
clock timing
input
signal
unit
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
JP2007156185A
Other languages
Japanese (ja)
Other versions
JP2008311829A (en
Inventor
至 土屋
正行 高橋
稔洋 西田
真登香 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko NPC Corp
Original Assignee
Seiko NPC Corp
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 Seiko NPC Corp filed Critical Seiko NPC Corp
Priority to JP2007156185A priority Critical patent/JP5400281B2/en
Publication of JP2008311829A publication Critical patent/JP2008311829A/en
Application granted granted Critical
Publication of JP5400281B2 publication Critical patent/JP5400281B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、1本の信号線を用いてデータ信号を通信する1線式データ通信装置に関する。 The present invention relates to a single-wire data communication ShinSo location to communicate data signals with one signal line.

従来の1線式データ通信方法は、データ信号とは別にクロック信号を生成している。そして、このクロック信号は通信装置内部のICに設けたクロック発生手段によって生成しているのが一般的である(特許文献1)。   A conventional one-wire data communication method generates a clock signal separately from a data signal. In general, this clock signal is generated by clock generation means provided in an IC inside the communication apparatus (Patent Document 1).

特開2007−36671号公報JP 2007-36671 A

ところが、この従来技術によると、クロック発生手段の存在によって、1線式を採用する1つの目的であるICの小型化を達成することが困難になるという不都合がある。本発明は、この不都合を解消した1線式データ通信装置を提供することを目的とする。 However, according to this conventional technique, there is an inconvenience that it is difficult to achieve downsizing of the IC, which is one purpose of adopting the one-wire system, due to the presence of the clock generation means. The present invention aims at providing a single-wire data communication ShinSo location which solves this disadvantage.

本発明の請求項1に係る1線式データ通信装置は、1本の信号線を介して異なるm個のパルス幅にそれぞれ対応する複数のデータを有するデータ信号が入力される入力端子と、この入力端子から入力されたデータ信号を反転するインバータと、各データのパルスの立ち上がりまたは立ち下がりをクロックタイミングとして抽出するクロックタイミング抽出部と、前記インバータから出力されたデータ信号のデータのパルス幅に基づいて複数のデータのうちどのデータであるかを判別するデータ判別部と、このデータ判別部で判別したデータをクロックタイミング抽出部から出力されたクロックタイミングを受けて取り込むメモリ部を備え、前記データ判別部は、前記パルス幅に基づいた電圧を生成し、この電圧を基に、データ数mに対してm−1個の基準電圧を用いてどのデータであるかを判別するものである。 A one-wire data communication apparatus according to claim 1 of the present invention includes an input terminal to which a data signal having a plurality of m data respectively corresponding to different m pulse widths is input via one signal line; An inverter that inverts the data signal input from the input terminal, a clock timing extraction unit that extracts the rising or falling edge of each data pulse as a clock timing, and the pulse width of the data of the data signal output from the inverter comprising a data discriminating unit for discriminating whether any data among data of a plurality m, a memory unit for taking receives the clock timing output data is determined by the data determination unit from the clock timing extraction unit based, the The data discriminating unit generates a voltage based on the pulse width, and based on this voltage, the number of data m is to determine whether any data with m-1 pieces of reference voltage.

本発明の請求項に係る1線式データ通信装置によれば、通信装置内部のICにクロック発生手段を必要としないので、回路構成が簡単になり、ICの小型化が可能になるという効果を奏する。 According to the one-wire data communication apparatus according to the first aspect of the present invention, since the clock generation means is not required for the IC inside the communication apparatus, the circuit configuration is simplified and the IC can be miniaturized. Play.

以下、本発明の好適な実施形態を添付図面の図1〜図3に基づいて説明する。ここにおいて、図1は回路構成を示すブロック図、図2はクロックタイミング抽出部とデータ判別部の回路図、図3はタイミングチャートである。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to FIGS. Here, FIG. 1 is a block diagram showing a circuit configuration, FIG. 2 is a circuit diagram of a clock timing extraction unit and a data discrimination unit, and FIG. 3 is a timing chart.

まず、全体構成を説明すると、図1に示すように、本発明に係る1線式データ通信装置のICにおける受信部1は、1本の信号線を介して、パルス幅が広いデータ(データ“1”)とパルス幅が狭いデータ(データ“0”)の2種類のデータを有するデータ信号が入力される入力端子2と、この入力端子から入力されたデータ信号を反転するインバータ3と、2種類のデータの立ち下がりをクロックタイミングとして抽出するクロックタイミング抽出部4と、インバータ3から出力されたデータ信号のデータに対応するパルス幅に基づいて2種類のうちどちらのデータであるかを判別するデータ判別部5と、このデータ判別部5で判別したデータをクロックタイミング抽出部4から出力されたクロックタイミングを受けて取り込むメモリ部6を備える。そして、データ判別部5は、基準電圧生成部7とデコーダ回路部8とからなる。   First, the overall configuration will be described. As shown in FIG. 1, the receiving unit 1 in the IC of the one-wire data communication apparatus according to the present invention has a wide pulse width data (data “data”) via one signal line. 1 ") and a data signal having two kinds of data having a narrow pulse width (data" 0 "), an input terminal 2, an inverter 3 for inverting the data signal input from the input terminal, and 2 Based on the clock timing extraction unit 4 that extracts the falling edge of the data of the type as the clock timing and the pulse width corresponding to the data of the data signal output from the inverter 3, it is determined which of the two types of data is the data. A data discriminating unit 5 and a memory unit 6 that receives the data discriminated by the data discriminating unit 5 in response to the clock timing output from the clock timing extracting unit 4 Provided. The data determination unit 5 includes a reference voltage generation unit 7 and a decoder circuit unit 8.

続いて、図2に基づいて回路構成の詳細を説明する。クロックタイミング抽出部4はインバータ41からなる。インバータ3の出力が入力されるデコーダ回路部8は、基準電圧生成部7から定電流I1が供給されるPチャネルトランジスタ81と、このPチャネルトランジスタ81と直列に接続されたNチャネルトランジスタ82と、このNチャネルトランジスタ82に並列に接続されたコンデンサ83と、これらトランジスタ81,82の出力が一方の入力端84aに入力されるコンパレータ84と、このコンパレータ84の他方の入力端84bに基準電圧VREFを供給するための抵抗R2とからなる。一方、インバータ41の出力は前記コンパレータ84の出力端に接続されたメモリ部6に入力する。   Next, details of the circuit configuration will be described with reference to FIG. The clock timing extraction unit 4 includes an inverter 41. The decoder circuit section 8 to which the output of the inverter 3 is input includes a P-channel transistor 81 to which a constant current I1 is supplied from the reference voltage generation section 7, an N-channel transistor 82 connected in series with the P-channel transistor 81, A capacitor 83 connected in parallel to the N-channel transistor 82, a comparator 84 in which outputs of the transistors 81 and 82 are input to one input end 84a, and a reference voltage VREF to the other input end 84b of the comparator 84. It comprises a resistor R2 for supply. On the other hand, the output of the inverter 41 is input to the memory unit 6 connected to the output terminal of the comparator 84.

図2に示すように、基準電圧生成部7は、アンプ75およびNチャネルトランジスタ74で形成される帰還回路と抵抗R1とで基準電流IREFを生成し、Pチャネルトランジスタ71にカレントミラー接続されたPチャネルトランジスタ72,73から基準電流IREFに基づく電流I1,I2をデコーダ回路8に供給する。電流I1は、デコーダ回路部8のPチャネルトランジスタ81に供給され、電流I2は、デコーダ回路部8の抵抗R2に供給されて基準電圧VREFが生成される。 As shown in FIG. 2, the reference voltage generation unit 7 generates a reference current IREF by a feedback circuit formed by an amplifier 75 and an N-channel transistor 74 and a resistor R 1, and P is connected to the P-channel transistor 71 in a current mirror connection. Currents I 1 and I 2 based on the reference current IREF are supplied from the channel transistors 72 and 73 to the decoder circuit unit 8. The current I1 is supplied to the P-channel transistor 81 of the decoder circuit unit 8, and the current I2 is supplied to the resistor R2 of the decoder circuit unit 8 to generate the reference voltage VREF.

次に上述した回路の動作を図3に基づいて説明する。入力信号は、パルス幅の広いデータ(データ“1”)と、パルス幅の狭いデータ(データ“0”)を有し、それぞれの立ち下がりがクロックタイミングを形成する。入力端子2から入力された入力信号は、インバータ3,41によって反転し、反転した各パルスの立ち上がりがクロックタイミングとなる。インバータ3の出力はデコーダ回路部8に入力されてPチャネルトランジスタ81をオンとし、Nチャネルトランジスタ82をオフとする。これによって、基準電圧生成部7から前記トランジスタ81を介して電流I1が供給され、コンデンサ83に充電されて、コンパレータ84の入力端84aに供給される電圧V1(図2参照)が徐々に上昇する。すなわち、入力されたデータ信号が積分される。   Next, the operation of the circuit described above will be described with reference to FIG. The input signal has data with a wide pulse width (data “1”) and data with a narrow pulse width (data “0”), and each falling edge forms a clock timing. The input signal input from the input terminal 2 is inverted by the inverters 3 and 41, and the rising edge of each inverted pulse becomes the clock timing. The output of the inverter 3 is input to the decoder circuit unit 8 to turn on the P channel transistor 81 and turn off the N channel transistor 82. As a result, the current I1 is supplied from the reference voltage generation unit 7 via the transistor 81, and the capacitor 83 is charged, so that the voltage V1 (see FIG. 2) supplied to the input terminal 84a of the comparator 84 gradually increases. . That is, the input data signal is integrated.

コンパレータ84の他方の入力端84bには、基準電圧VREFが供給されており、入力信号のパルス幅が広いと、入力端84aにかかる電圧V1が十分上昇して、基準電圧VREFを超える。クロックタイミングにおいて、Pチャネルトランジスタ81がオフとなり、Nチャネルトランジスタ82がオンすると、コンデンサ83は放電し、入力端84aの電圧V1は低下して、やがて基準電圧VREFを下回る。このように、コンパレータ84が、入力されたデータ信号に基づく電圧V1と基準電圧VREFとを比較し、電圧V1が基準電圧VREFを超える場合、入力されたデータ信号のデータ“1”からデータパルス信号を出力する。一方、入力信号のパルス幅が狭いと、入力端84aにかかる電圧V1が基準電圧VREFを超える前に、クロックタイミングによってPチャネルトランジスタ81がオフ、Nチャネルトランジスタ82がオンとなってコンデンサ83が放電し、電圧V1が低下するので、入力されたデータ信号のデータ“0”からはデータパルス信号は出力されない。   The reference voltage VREF is supplied to the other input terminal 84b of the comparator 84. If the pulse width of the input signal is wide, the voltage V1 applied to the input terminal 84a sufficiently rises and exceeds the reference voltage VREF. At the clock timing, when the P-channel transistor 81 is turned off and the N-channel transistor 82 is turned on, the capacitor 83 is discharged, and the voltage V1 at the input terminal 84a decreases and eventually falls below the reference voltage VREF. In this way, the comparator 84 compares the voltage V1 based on the input data signal with the reference voltage VREF, and if the voltage V1 exceeds the reference voltage VREF, the data pulse signal starts from the data “1” of the input data signal. Is output. On the other hand, when the pulse width of the input signal is narrow, before the voltage V1 applied to the input terminal 84a exceeds the reference voltage VREF, the P-channel transistor 81 is turned off and the N-channel transistor 82 is turned on by the clock timing to discharge the capacitor 83. However, since the voltage V1 decreases, no data pulse signal is output from the data “0” of the input data signal.

これらのデータ出力は、インバータ41からメモリ部6にクロックタイミングが入力する毎に、メモリ部6に取り込まれる。   These data outputs are taken into the memory unit 6 every time clock timing is input from the inverter 41 to the memory unit 6.

なお、上述した実施形態のデータ判別部5では、コンパレータ84に供給する基準電圧VREFを、カレントミラー接続したPチャネルトランジスタ71,72,73に共通の電流源からの電流I2で生成するので、抵抗R1成分のばらつき分をキャンセルでき、デコードされたデータに対する基準電圧VREFの判定レベルのマージンが確保できて、精度の高いデータ判別が可能となる。   In the data discriminating unit 5 of the above-described embodiment, the reference voltage VREF supplied to the comparator 84 is generated by the current I2 from the current source common to the P-channel transistors 71, 72, 73 connected in the current mirror. The variation of the R1 component can be canceled, the margin of the determination level of the reference voltage VREF with respect to the decoded data can be secured, and highly accurate data determination can be performed.

すなわち、図2において、時間をtとすると、I1×t=C×V1だから、
V1=1/C×I1×t
=1/C×IREF×k1×t
=1/C×V0/R1×k1×t・・・・・(1)
一方、VREF=I2×R2
=IREF×k2×R2
=V0/R1×k2×R2・・・・・(2)
ここで、k1とk2は定数であり、V1とVREFをコンパレータ84で比較すると、上記(1),(2)式から理解できるように、V0/R1がキャンセルされるので、抵抗R1成分によるばらつきの影響を受けないものである。
That is, in FIG. 2, if time is t, I1 × t = C × V1,
V1 = 1 / C × I1 × t
= 1 / C x IREF x k1 x t
= 1 / C x V0 / R1 x k1 x t (1)
On the other hand, VREF = I2 × R2
= IREF × k2 × R2
= V0 / R1 × k2 × R2 (2)
Here, k1 and k2 are constants, and when V1 and VREF are compared by the comparator 84, V0 / R1 is canceled as can be understood from the above equations (1) and (2). It is not affected by.

なお、本発明は、上述した実施形態に限定されるものではなく、例えば、インバータ3およびインバータ41を1つのインバータで構成してもよい。また、入力信号を反転させずに、入力信号の立ち上がりをクロックタイミングとすることもできる。さらに、データ信号のデータは2つに限らず、3つ以上の数nであってもよく、この場合は基準電圧をn−1設定し、最小の基準電圧より小、最大の基準電圧より大、各基準電圧の間、のいずれに対応するかによって、いずれのデータであるかを判別すればよい。   In addition, this invention is not limited to embodiment mentioned above, For example, you may comprise the inverter 3 and the inverter 41 by one inverter. Further, the rising edge of the input signal can be set as the clock timing without inverting the input signal. Further, the number of data of the data signal is not limited to two, and may be a number n of three or more. In this case, the reference voltage is set to n-1, which is smaller than the minimum reference voltage and larger than the maximum reference voltage. Which data is determined depending on which of the reference voltages corresponds to each other.

本発明の実施形態の回路構成を示すブロック図。The block diagram which shows the circuit structure of embodiment of this invention. 同じくクロックタイミング抽出部とデータ判別部の詳細な回路構成を含む図。The figure which similarly includes the detailed circuit structure of a clock timing extraction part and a data discrimination | determination part. 同じくタイミングチャート。Similarly timing chart.

1 受信部
2 入力端子
3,41 インバータ
4 クロックタイミング抽出部
5 データ判別部
6 メモリ部
7 基準電圧生成部
8 デコーダ回路部
DESCRIPTION OF SYMBOLS 1 Reception part 2 Input terminal 3,41 Inverter 4 Clock timing extraction part 5 Data discrimination part 6 Memory part 7 Reference voltage generation part 8 Decoder circuit part

Claims (1)

1本の信号線を介して異なるm個のパルス幅にそれぞれ対応する複数のデータを有するデータ信号が入力される入力端子と、この入力端子から入力されたデータ信号を反転するインバータと、各データのパルスの立ち上がりまたは立ち下がりをクロックタイミングとして抽出するクロックタイミング抽出部と、前記インバータから出力されたデータ信号のデータのパルス幅に基づいて複数のデータのうちどのデータであるかを判別するデータ判別部と、このデータ判別部で判別したデータをクロックタイミング抽出部から出力されたクロックタイミングを受けて取り込むメモリ部を備え、前記データ判別部は、前記パルス幅に基づいた電圧を生成し、この電圧を基に、データ数mに対してm−1個の基準電圧を用いてどのデータであるかを判別することを特徴とする1線式データ通信装置。 An input terminal to which a data signal having a plurality of m data respectively corresponding to different m pulse widths is input via one signal line; an inverter for inverting the data signal input from the input terminal; A clock timing extraction unit that extracts the rising or falling edge of a data pulse as a clock timing, and which data among a plurality of m data is determined based on the pulse width of the data of the data signal output from the inverter. A data determination unit, and a memory unit that receives the data determined by the data determination unit in response to the clock timing output from the clock timing extraction unit , the data determination unit generates a voltage based on the pulse width; Based on this voltage, which data is using m-1 reference voltages for the number of data m Discriminant 1-wire data communication apparatus characterized by.
JP2007156185A 2007-06-13 2007-06-13 1-wire data communication device Expired - Fee Related JP5400281B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007156185A JP5400281B2 (en) 2007-06-13 2007-06-13 1-wire data communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007156185A JP5400281B2 (en) 2007-06-13 2007-06-13 1-wire data communication device

Publications (2)

Publication Number Publication Date
JP2008311829A JP2008311829A (en) 2008-12-25
JP5400281B2 true JP5400281B2 (en) 2014-01-29

Family

ID=40239059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007156185A Expired - Fee Related JP5400281B2 (en) 2007-06-13 2007-06-13 1-wire data communication device

Country Status (1)

Country Link
JP (1) JP5400281B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102238176B1 (en) 2014-04-16 2021-04-12 삼성전자주식회사 Data communicating method for use in single wire protocol communication and therefore system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5277784A (en) * 1975-12-24 1977-06-30 Toshiba Corp Pulse width identification circuit
JPS56152346A (en) * 1980-04-24 1981-11-25 Hitachi Cable Ltd Optical transmission and receiving device
JPS61253958A (en) * 1985-05-02 1986-11-11 Nippon Telegr & Teleph Corp <Ntt> Digital communication system
DE19643502B4 (en) * 1996-10-21 2007-05-16 Bosch Gmbh Robert Method for decoding a digital signal, bus system and peripheral device therefor
JP2004032677A (en) * 2002-05-09 2004-01-29 Kel Corp Modulation and demodulation system of digital signal
JP2006303731A (en) * 2005-04-18 2006-11-02 Sharp Corp Communication system and electronic equipment

Also Published As

Publication number Publication date
JP2008311829A (en) 2008-12-25

Similar Documents

Publication Publication Date Title
JP5084118B2 (en) Semiconductor device clock oscillator
JP2006148858A (en) Power-on reset circuit
JP2007097176A (en) Signal detection circuit
JP5376559B2 (en) Power supply circuit and power supply control method
TW200522083A (en) Power-up circuit in semiconductor memory device
JP2011174917A (en) Temperature sensor
JP5400281B2 (en) 1-wire data communication device
US6781905B2 (en) Serial data detection circuit performing same offset adjustment to signal receiver as performed to reference receiver
JP2009218822A (en) Mute circuit
JP4393351B2 (en) Data communication apparatus, data communication system, and data communication method
JP2020047193A (en) Constant current circuit
JP2009282908A (en) Regulator
JP2010034733A (en) Squelch detection circuit
US5886550A (en) Integrated circuit built-in type supply power delay circuit
US9753515B2 (en) Anti-deadlock circuit for voltage regulator and associated power system
CN111342828A (en) Multi-voltage domain reset delay circuit
JP5738724B2 (en) Trimming circuit, system, determination program, confirmation method, and determination method
US6961274B2 (en) Sense amplifier
JP2010054217A (en) Voltage drop detecting circuit
KR101475229B1 (en) Apparatus of generating power-up signal for stable initialize and method thereof
JP4917482B2 (en) Pulse generation circuit
JP2008079078A (en) Squelch detector
JP2007155659A (en) Mode setting circuit
JP2016224588A (en) Controller and control method
JP4194247B2 (en) Microcomputer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100601

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120704

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130403

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130529

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131002

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131025

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5400281

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees