JP5400281B2 - 1-wire data communication device - Google Patents
1-wire data communication device Download PDFInfo
- 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
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).
ところが、この従来技術によると、クロック発生手段の存在によって、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のデータのうちどのデータであるかを判別するデータ判別部と、このデータ判別部で判別したデータをクロックタイミング抽出部から出力されたクロックタイミングを受けて取り込むメモリ部を備え、前記データ判別部は、前記パルス幅に基づいた電圧を生成し、この電圧を基に、データ数mに対してm−1個の基準電圧を用いてどのデータであるかを判別するものである。
A one-wire data communication apparatus according to
本発明の請求項1に係る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
続いて、図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
図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
次に上述した回路の動作を図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
コンパレータ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
これらのデータ出力は、インバータ41からメモリ部6にクロックタイミングが入力する毎に、メモリ部6に取り込まれる。
These data outputs are taken into the
なお、上述した実施形態のデータ判別部5では、コンパレータ84に供給する基準電圧VREFを、カレントミラー接続したPチャネルトランジスタ71,72,73に共通の電流源からの電流I2で生成するので、抵抗R1成分のばらつき分をキャンセルでき、デコードされたデータに対する基準電圧VREFの判定レベルのマージンが確保できて、精度の高いデータ判別が可能となる。
In the data
すなわち、図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
なお、本発明は、上述した実施形態に限定されるものではなく、例えば、インバータ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
1 受信部
2 入力端子
3,41 インバータ
4 クロックタイミング抽出部
5 データ判別部
6 メモリ部
7 基準電圧生成部
8 デコーダ回路部
DESCRIPTION OF
Claims (1)
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)
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)
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 |
-
2007
- 2007-06-13 JP JP2007156185A patent/JP5400281B2/en not_active Expired - Fee Related
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 |