JP2014179964A - Encoder - Google Patents
Encoder Download PDFInfo
- Publication number
- JP2014179964A JP2014179964A JP2013085950A JP2013085950A JP2014179964A JP 2014179964 A JP2014179964 A JP 2014179964A JP 2013085950 A JP2013085950 A JP 2013085950A JP 2013085950 A JP2013085950 A JP 2013085950A JP 2014179964 A JP2014179964 A JP 2014179964A
- Authority
- JP
- Japan
- Prior art keywords
- encoded data
- value
- bit
- electronic shelf
- shelf label
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/38—Synchronous or start-stop systems, e.g. for Baudot code
- H04L25/40—Transmitting circuits; Receiving circuits
- H04L25/49—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
- H04L25/4906—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes
- H04L25/4908—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes using mBnB codes
Landscapes
- Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Dc Digital Transmission (AREA)
- Optical Communication System (AREA)
Abstract
Description
本発明は、符号化装置に関する。 The present invention relates to an encoding device.
従来、伝送路に伝送するデータの符号化方法として、様々な方法が知られている。例えば、特許文献1(特開2008−103898号公報)には、PPM(Pulse Position Modulation)方式やCMI(Coded Mark Inversion)方式に比べ、符号効率が良く、かつ、受信回路が符号化データと同期をとることが容易な符号化方法が開示されている。 Conventionally, various methods are known as a method for encoding data to be transmitted to a transmission path. For example, in Patent Document 1 (Japanese Patent Laid-Open No. 2008-103898), the code efficiency is better than the PPM (Pulse Position Modulation) method and the CMI (Coded Mark Inversion) method, and the receiving circuit is synchronized with encoded data. An encoding method that is easy to take is disclosed.
しかし、特許文献1(特開2008−103898号公報)の符号化方法により符号化されたデータが、受信回路に対して送信される場合に、受信回路側の条件によっては(例えば、受信回路の特性や、受信回路と送信器との距離等の受信回路の設置状態によっては)、下記の様な問題が発生する場合がある。 However, when data encoded by the encoding method of Patent Document 1 (Japanese Patent Laid-Open No. 2008-103898) is transmitted to the receiving circuit, depending on conditions on the receiving circuit side (for example, the receiving circuit Depending on the characteristics and the installation state of the receiving circuit such as the distance between the receiving circuit and the transmitter), the following problems may occur.
ここでは、図6のような、フォトダイオード101、電流電圧変換器102、アンプ103、およびコンパレータ104を有する受信回路100に対し、赤外線通信を用いて、符号化データが送信される場合を例に説明する。
Here, as an example, encoded data is transmitted using infrared communication to a
受信回路100では、入力信号としての赤外線は、フォトダイオード101で光信号から電気信号(電流)へと変換される。フォトダイオード101から出力される電流は、電流電圧変換器102により電圧に変換され、アンプ103で増幅される。アンプ103で増幅された後の電圧を、ここでは電圧V1と表す。コンパレータ104は、電圧V1と、所定の閾値との比較を行い、電圧V1が閾値を超える場合に、所定電圧Voを出力する。
In the
特許文献1(特開2008−103898号公報)の符号化方法では、値が“1”のビットが複数連続する可能性のある符号化データが生成される。例えば、この符号化方法により、“01001100”という符号化データが生成され、受信回路100に対し、図10(a)のような入力信号として送信されるとする。
In the encoding method disclosed in Patent Document 1 (Japanese Patent Application Laid-Open No. 2008-103898), encoded data in which a plurality of bits having a value “1” may be consecutive is generated. For example, it is assumed that encoded data “01001100” is generated by this encoding method and transmitted to the
この時、受信回路100が、その高周波特性が悪い場合や、送信器との設置距離が近くて受信光信号の“1”と“0”のレベル差が極端に大きい場合などでは、符号化データ中で値が“1”のビットが連続する数が多いほど、電圧V1の振幅が大きくなる(図10(b)参照)。このような電圧V1をコンパレータ104に加えた場合、コンパレータ104の閾値をTh1(図10(b)参照)とすれば、図10(c)のような出力Vo1が得られる。一方、コンパレータ104の閾値をTh2(図10(b)参照)とすれば、図10(d)のような出力Vo2が得られる。
At this time, if the
出力Vo1では、符号化データ中で値が“1”のビットが単独で存在する部分(図10(a)中のM1)に対応する部分の電圧値が0となっているため(図10(c)参照)、受信回路100は、値が“1”のビットを、値が“0” のビットと誤認識する可能性がある。一方、出力Vo2では、符号化データ中で値が“1”のビットが連続する部分(図10(a)中のM2)に対応する入力信号の送信時間t1より、図10(a)中のM2に対応する部分の電圧Vo2の出力時間t2の方が長いため(図10(d)参照)、受信回路100は、値が“0” のビットを、値が“1”のビットと誤認識する可能性がある。
In the output Vo1, the voltage value of the portion corresponding to the portion (M1 in FIG. 10A) where the bit having the value “1” exists alone in the encoded data is 0 (FIG. 10 ( c)), the
このようなビットの値の誤認識が発生した場合、受信回路に対し、入力信号が再送信される必要があり、正しい符号化データを受信回路が受信するまでに時間を要する可能性がある。 When such misrecognition of the bit value occurs, the input signal needs to be retransmitted to the receiving circuit, and it may take time until the receiving circuit receives the correct encoded data.
本発明の課題は、所定の信号則に従って情報データを符号化する符号化装置であって、受信回路側の条件によらず、受信回路がビットの値の誤認識を起こしにくい符号化データを生成する符号化装置を提供することにある。 An object of the present invention is an encoding device that encodes information data in accordance with a predetermined signal rule, and generates encoded data that is less likely to cause erroneous recognition of bit values regardless of conditions on the receiving circuit side. It is an object to provide an encoding device.
本発明に係る符号化装置は、変換手段を備える。変換手段は、4ビットの情報データを所定の符号則に従ってNビット(N≧5)の符号化データに変換する。符号則においては、符号化データにおいて値が“1”のビットが連続せず、かつ、符号化データにおいて値が“1”のビットの数が1又は2であり、前記Nは7である。 The encoding apparatus according to the present invention includes conversion means. The converting means converts the 4-bit information data into N-bit (N ≧ 5) encoded data according to a predetermined coding rule. In the coding rule, bits having a value of “1” are not consecutive in the encoded data, and the number of bits having a value of “1” in the encoded data is 1 or 2, and the N is 7.
ここでは、4ビットの情報データが、値が“1”のビットが連続しない符号化データに変換される。このような符号化データが送信器から送信される場合、受信回路側の条件によらず、値が“1”のビットに対応する入力信号に対し、受信回路の出力の振幅が常に一定になりやすい。つまり、本符号化装置は、受信回路側の条件によらず、受信回路がビットの値の誤認識を起こしにくい符号化データを生成できる。 Here, 4-bit information data is converted into encoded data in which bits having a value of “1” are not consecutive. When such encoded data is transmitted from the transmitter, the amplitude of the output of the receiving circuit is always constant with respect to the input signal corresponding to the bit having a value of “1” regardless of the conditions on the receiving circuit side. Cheap. That is, the present encoding device can generate encoded data in which the receiving circuit is unlikely to erroneously recognize bit values regardless of the conditions on the receiving circuit side.
また、ここでは、1の符号化データ(7ビットの符号化データ)の中の、値が“1”のビット数が1又は2であるため、信号のデューティ比を抑制することができる。その結果、符号化データを送信する送信器の平均出力を抑制することができる。さらに、1の符号化データの中に、値が“1”のビットが常に含まれるので、信号を受信する受信回路が同期をとりやすい。 In addition, since the number of bits having a value of “1” in 1 encoded data (7-bit encoded data) is 1 or 2, the duty ratio of the signal can be suppressed. As a result, the average output of the transmitter that transmits the encoded data can be suppressed. Further, since one encoded data always includes a bit having a value of “1”, a receiving circuit that receives a signal can easily synchronize.
また、ここでは、4ビットの情報データが7ビットの符号データに変換されるため、4ビットの情報データが8ビット以上の符号化データに変換される場合に比べ、信号送信に必要な時間を短縮することが可能である。 Also, since the 4-bit information data is converted to 7-bit code data here, the time required for signal transmission is reduced compared to the case where 4-bit information data is converted to encoded data of 8 bits or more. It can be shortened.
本発明に係る符号化装置では、4ビットの情報データが、値が“1”のビットが連続しない符号化データに変換される。このような符号化データが送信器から送信される場合、受信回路側の条件によらず、値が“1”のビットに対応する入力信号に対し、受信回路の出力の振幅が常に一定になりやすい。つまり、本符号化装置は、受信回路側の条件によらず、受信回路がビットの値の誤認識を起こしにくい符号化データを生成できる。 In the encoding device according to the present invention, 4-bit information data is converted into encoded data in which bits having a value of “1” are not consecutive. When such encoded data is transmitted from the transmitter, the amplitude of the output of the receiving circuit is always constant with respect to the input signal corresponding to the bit having a value of “1” regardless of the conditions on the receiving circuit side. Cheap. That is, the present encoding device can generate encoded data in which the receiving circuit is unlikely to erroneously recognize bit values regardless of the conditions on the receiving circuit side.
以下、図面を参照しながら、本発明の一実施形態に係る符号化装置50について説明する。
Hereinafter, an
なお、本実施形態に係る符号化装置50は、本発明の符号化装置の例示に過ぎず、本発明に係る符号化装置は、以下に記載する内容に限定されるものではない。発明の趣旨と矛盾しない範囲で、その他の態様も採用可能である。
The
(1)全体概要
本実施形態では、符号化装置50は、図1に示した電子棚札システム1の一部を構成する。ただし、これに限定されるものではなく、符号化装置50は、信号の符号化を必要とする各種のシステムに適用可能である。
(1) Overall Overview In the present embodiment, the
(2)電子棚札システムの概要
以下に、符号化装置50が用いられる電子棚札システム1について概説する。
(2) Overview of Electronic Shelf Label System The following is an overview of the electronic
電子棚札システム1は、スーパーマーケットやコンビニエンスストアのような店舗において使用される。電子棚札システム1は、電子棚札サーバ10により管理される商品情報(本実施形態では、商品の販売価格)を、売り場に陳列される商品に対応して配置された電子棚札40に表示するためのシステムである。
The electronic
なお、電子棚札40は、可搬性の装置であり、店舗で取り扱われる複数の商品Pのそれぞれに対応して配置される表示装置である。電子棚札40は、店舗の売り場に陳列される複数の種類の商品Pのうち、対応する商品Pの近傍に配置され、対応する商品Pに関する商品情報を、後述する表示部41に表示する(図2および図3参照)。なお、各電子棚札40には、その電子棚札40と、他の電子棚札40とを識別するための固有のID(装置ID)が付されている。
The
電子棚札システム1は、図1に示すように、主として、電子棚札サーバ10と、複数の電子棚札40,40,・・・と、複数の通信装置30,30,・・・と、から構成されている。電子棚札システム1に含まれる電子棚札40および通信装置30の台数は、図1に示される数に限定されるものではない。通信装置30および電子棚札40は、内部に、本願の一実施形態に係る符号化装置50を備えている(図4および図5参照)。
As shown in FIG. 1, the electronic
(2−1)電子棚札サーバ
電子棚札サーバ10は、電子棚札システム1を統括的に制御するコンピュータである。電子棚札サーバ10は、例えば、店舗のバックヤードに配置される。
(2-1) Electronic Shelf Label Server The electronic
電子棚札サーバ10には、電子棚札40に表示される商品情報(ここでは、商品Pの販売価格の数値データ)が記憶されている。電子棚札サーバ10は、電子棚札システム1の起動時や、電子棚札40の表示変更が必要な時に、通信装置30を介して、電子棚札40に商品情報を送信する。電子棚札40の表示変更が必要な時とは、例えば、電子棚札サーバ10に記憶されている商品情報の内容が更新される時や、商品Pの特売期間に価格を通常販売価格から特別販売価格へと変更する時や、商品Pの特売期間終了時に価格を特別販売価格から通常販売価格へと変更する時である。
The electronic
また、電子棚札サーバ10には、電子棚札40の装置IDと、商品Pの商品ID(商品Pにバーコード等で付された商品ID)とが、関連付けて(リンク付けて)記憶されている。ある商品Pの商品情報が、通信装置30を介して、電子棚札40に送信される際には、商品情報と共に、その商品Pと関連付けられている電子棚札40の装置ID(商品情報の送信先の電子棚札40の装置ID)が識別子として送信される。電子棚札40は、送信されてきた識別子と、自己の装置IDとを比較することで、送信されてきた商品情報が自己宛に送信されてきたものか否かを判定する。
The electronic
(2−2)通信装置
通信装置30は、赤外線の送受信器である。通信装置30は、電子棚札40との間で、赤外線により各種信号の授受を行う。通信装置30は、例えば店舗内の天井に、一定の間隔を空けて取り付けられる。通信装置30の設置場所や設置間隔は、店舗内に設置された電子棚札40が、いずれかの通信装置30と通信可能となるように決定される。通信装置30は、LAN(Local Area Network)等のネットワーク2を介して、電子棚札サーバ10と接続されている。
(2-2) Communication Device The
通信装置30は、図4に示されるように、主に、符号化装置50と、復号化装置60と、駆動部31と、赤外線発光素子32と、受光再生部33とを有する。
As shown in FIG. 4, the
符号化装置50は、電子棚札サーバ10から情報データとして送信される商品情報および識別子を受け付け、後述する符号則に従って符号化する。言い換えれば、符号化装置50は、電子棚札サーバ10から送信される情報データを、所定の符号則に従って符号化データに変換する。符号化装置50については、後ほど詳述する。
The
符号化装置50により符号化された符号化データは、駆動部31に出力される。駆動部31は、符号化装置50から入力された符号化データに基づいて、赤外線発光素子32を駆動する。赤外線発光素子32は、例えばLED(Light Emitting Diode)である。赤外線発光素子32は、駆動部31により駆動され、符号化データで変調された赤外線信号を出力する。具体的には、赤外線発光素子32は、駆動部31により駆動され、符号化データの中で値が“1”のビットを示す間、所定の周波数で点滅させられる。一方、符号化データの中で値が“0”のビットを示す間は、赤外線発光素子32は消灯させられる。
The encoded data encoded by the
受光再生部33は、電子棚札40から送信される赤外線信号(例えば後述するACK信号)を受信し、赤外線信号から符号化データを再生する。具体的には、受信再生部33は、まず、受信した赤外線信号を電気信号へと変換する。次に、受信再生部33は、電気信号を増幅する。更に、受信再生部33は、増幅した電気信号に基づいて符号化データを再生する。受光再生部33には、例えば、図6で示した、フォトダイオード101、電流電圧変換器102、アンプ103、およびコンパレータ104を有する受信回路100が用いられる。
The light receiving / reproducing
受光再生部33により再生された符号化データは、復号化装置60に対して出力される。復号化装置60は、受光再生部33から入力される符号化データを復号化し(情報データに変換し)、電子棚札サーバ10に送信する。復号化装置60については、後ほど説明する。
The encoded data reproduced by the light receiving / reproducing
(2−3)電子棚札
電子棚札40は、上述のように、店舗で取り扱われる複数の商品Pのそれぞれに対応して配置され、対応する商品Pに関する商品情報を表示する(図2参照)。電子棚札40には、商品Pの販売価格が、商品情報として表示される(図3参照)。
(2-3) Electronic shelf label As described above, the
電子棚札40は、図示されない内蔵の電池により駆動される。電子棚札40は、主な構成として、商品情報が表示される表示部41と、通信装置30との通信を行う通信部42と、電子棚札40の各部を制御する制御部43とを有する。
The
表示部41は、セグメント方式の液晶ディスプレイである。ただし、これに限定されるものではなく、例えばドットマトリクス方式の電子ペーパであってもよい。
The
通信部42は、通信装置30と、赤外線により通信を行う。通信部42は、図5に示すように、主に、符号化装置50と、復号化装置60と、駆動部42aと、赤外線発光素子42bと、受光再生部42cとを有する。通信部42は、通信装置30と同様の構成であるので、ここでは、両者の相違点について主に説明し、共通点については説明を一部省略する。
The
受光再生部42cは、電子棚札サーバ10から通信装置30を介して送信される商品情報や、商品情報と共に送信される識別子を、赤外線信号の形で受信する。受光再生部42cは、前述の受光再生部33と同様に、赤外線信号から符号化データを再生する。受光再生部42cにより再生された符号化データは、復号化装置60に対して出力される。復号化装置60は、受光再生部42cから入力された符号化データを復号化して情報データに変換し、制御部43に送信する。
The light receiving and reproducing
通信部42の符号化装置50は、制御部43から入力される信号(例えば、後述するACK信号)を、後述する符号則に従って符号化する。符号化装置50により符号化された符号化データは、駆動部42aに出力される。駆動部42aは、符号化装置50から入力された符号化データに基づいて、例えばLEDからなる赤外線発光素子42bを駆動する。駆動部42aおよび赤外線発光素子42bは、通信装置30の駆動部31および赤外線発光素子32と同様であるため、ここでは説明を省略する。
The
制御部43は、主にCPUにより構成される。制御部43は、図示しない記憶部に記憶されたプログラムを実行することで、電子棚札40の各部を制御する。
The
制御部43は、通信部42を制御して、通信装置30から送信される赤外線を受信させ、赤外線データを復号化して得られる情報データを、制御部43に対して送信させる。制御部43は、通信部42から情報データが送信されてくると、電子棚札サーバ10から商品情報と共に送信されてくる識別子を、記憶部に記憶されている装置IDと比較する。制御部43は、識別子と、記憶部に記憶されている装置IDとが一致する場合には、自己宛の(その制御部43が属する電子棚札40宛の)商品情報を受信したと判定する。制御部43は、自己宛の商品情報を受信したと判定すると、通信部42に対して、商品情報を受信した旨を知らせる信号(ACK信号)を送信する。また、制御部43は、通信部42が受信した自己宛の商品情報を、記憶部に記憶させる。更に、制御部43は、表示部41に、記憶部に記憶された商品情報が表示されるように、表示部41を制御する。
The
(3)符号化装置および復号化装置
符号化装置50および復号化装置60について説明する。
(3) Encoding Device and Decoding Device The
符号化装置50および復号化装置60は、主に論理回路からなる。符号化装置50は、主に符号化部50aを有する。符号化部50aは、4ビットの情報データを、符号則に従って5ビット以上の符号化データに変換する変換手段の一例である。復号化装置60は、主に復号化部60aを有する。復号化部60aは、符号化データを、復号則にしたがって、4ビットの情報データへと変換する。なお、符号則と復号則とは、互いに対応しており、符号則に従ってある情報データを変換した符号化データを、復号則に従って変換すると、元の情報データが得られるように決められている。
The
図7に、符号化装置50で用いられる符号則を示す。符号化部50aが、図7の符号則を用いることで、図7の左側に記載された情報データは、図7の右側に記載された7ビットの符号化データに変換される。なお、この符号則に対応する復号則は、図7において右側に記載された符号化データが、図7において左側に記載された4ビットの情報データに変換されるというものであるので、図面は省略する。
FIG. 7 shows a coding rule used in the
図7から判るように、この符号側には、主に3つの特徴がある。 As can be seen from FIG. 7, there are mainly three features on the code side.
第1に、この符号則により生成される符号化データ(符号化部50aが、符号則に従って情報データを変換することで得られる符号化データ)において、値が“1”のビットが連続することがない(図7参照)。なお、「符号化データにおいて、値が“1”のビットが連続することがない」とは、1つの符号化データ(7ビットの符号化データ)の中で値が“1”のビットが連続しないだけではなく、隣り合う符号化データの間でも、値が“1”のビットが連続しないことも意味する。隣り合う符号化データの間でも値が“1”のビットが連続しないのは、符号化データの最後のビットが、必ず“0”であるためである。 First, in the encoded data generated by this encoding rule (encoded data obtained by the encoding unit 50a converting the information data according to the encoding rule), bits having a value of “1” are continuous. There is no (see FIG. 7). Note that “bits having a value of“ 1 ”are not consecutive in encoded data” means that bits having a value of “1” are consecutive in one encoded data (7-bit encoded data). Not only does this mean, but also means that bits having a value of “1” do not continue between adjacent encoded data. The reason why the bit having a value of “1” does not continue between adjacent encoded data is that the last bit of the encoded data is always “0”.
第2に、この符号則により生成される符号化データでは、1つの符号化データの中で、値が“1”のビットは、1個又は2個である(図7参照)。 Secondly, in the encoded data generated by this encoding rule, one or two bits having a value of “1” are included in one encoded data (see FIG. 7).
第3に、この符号則では、4ビットの情報データが、7ビットの符号化データに変換される(図7参照)。 Third, in this coding rule, 4-bit information data is converted into 7-bit encoded data (see FIG. 7).
これらの特徴により得られる効果について以下に説明する。 The effects obtained by these features will be described below.
まず、値が“1”のビットが連続することがないために得られる効果について説明する。なお、ここでは、通信装置30から赤外線により送信される符号化データを、電子棚札40の受光再生部42cで受信する場合を例に説明する。また、ここでは、電子棚札40の受光再生部42cは、図6に示す受信回路100であるとする。
First, an effect obtained because a bit having a value of “1” will not be continued will be described. Here, a case will be described as an example in which encoded data transmitted by infrared rays from the
受信回路100では、入力信号としての赤外線は、フォトダイオード101で光信号から電気信号(電流)へと変換される。フォトダイオード101から出力される電流は、電流電圧変換器102により電圧に変換され、アンプ103で増幅される。アンプ103で増幅された後の電圧を電圧V1で表す。コンパレータ104は、電圧V1と、所定の閾値との比較を行い、電圧V1が閾値を超える場合に、出力電圧Voへ“H”レベルを、超えない場合に“L”レベルを出力する。これにより、赤外線信号から、符号化データが再生される。
In the receiving
まず、受光再生部42cが、値が“1”のビットが連続するデータを赤外線信号で受信する場合の問題点について説明する。
First, a description will be given of a problem when the light receiving / reproducing
値が“1”のビットが連続する符号化データを赤外線信号で受信する時に、受光再生部42cが、その高周波特性が悪い場合や、特定の条件下におかれていた場合、符号化データ中で値が“1”のビットが連続する数が多いほど、電圧V1の振幅が大きくなる(図10(b)参照)。受光再生部42cの受信特性に影響を与える条件には、例えば、電子棚札40と通信装置30との距離(より正確には、受光再生部42cと通信装置30との距離)がある。例えば、電子棚札40と通信装置30との距離が近い場合には、受光再生部42cの受信する光信号の“1”と“0”のレベル差が極端に大きくなり、符号化データの中で値が“1”のビットが連続する数が多いほど、電圧V1の振幅が大きくなる可能性がある。このような電圧V1をコンパレータ104に加えた場合、コンパレータ104の閾値をTh1(図10(b)参照)とすれば、図10(c)のような出力Vo1が得られる。一方、コンパレータ104の閾値をTh2(図10(b)参照)とすれば、図10(d)のような出力Vo2が得られる。
When receiving encoded data with consecutive bits having a value of “1” as an infrared signal, if the light receiving / reproducing
出力Vo1では、符号化データ中で値が“1”のビットが単独で存在する部分(図10(a)中のM1)に対応する部分の電圧値が0となっているため(図10(c)参照)、受信回路100は、値が“1”のビットを、値が“0” のビットと誤認識する可能性がある。一方、出力Vo2では、符号化データ中で値が“1”のビットが連続する部分(図10(a)中のM2)に対応する入力信号の送信時間t1より、図10(a)中のM2に対応する部分の電圧Vo2の出力時間t2の方が長いため(図10(d)参照)、受信回路100は、値が“0” のビットを、値が“1”のビットと誤認識する可能性がある。
In the output Vo1, the voltage value of the portion corresponding to the portion (M1 in FIG. 10A) where the bit having the value “1” exists alone in the encoded data is 0 (FIG. 10 ( c)), the receiving
一方、符号化装置50が用いる図7の符号則では、値が“1”のビットが連続しないため、図8のように、値が“1”のビットに対応して得られる電圧V1の振幅は一定となる。そのため、受光再生部42cの高周波特性によらず、符号化データが誤って再生されにくい。
On the other hand, in the coding rule of FIG. 7 used by the
次に、1つの符号化データの中で、値が“1”のビットが1個又は2個であるために得られる効果について説明する。 Next, an effect obtained because one or two bits having a value “1” in one encoded data will be described.
まず、7ビットの符号化データの中で、最大でも2ビットしか値が“1”のビットが存在しないため、デューディ比(全ビット数に対する、値が“1”のビット数の割合)を抑制することができる。例えば、一般に知られた符号化方式である、4値PPM方式(4値パルス位置変調(Pulse Position Modulation)方式)ではデューティ比が25%であり、CMI(Coded Mark Inversion)方式ではデューティ比が50%である。これに対し、本符号則を用いる場合には、デューティ比を約20%まで低減できる。その結果、符号化データを送信する際の、通信装置30や電子棚札40の通信部42の平均出力を抑制することができる。
First, in 7-bit encoded data, there are only 2 bits whose value is “1” at the maximum, so the duty ratio (the ratio of the number of bits whose value is “1” to the total number of bits) is suppressed. can do. For example, the duty ratio is 25% in the 4-value PPM method (4-value pulse position modulation method), which is a generally known coding method, and the duty ratio is 50 in the CMI (Coded Mark Inversion) method. %. On the other hand, when this code rule is used, the duty ratio can be reduced to about 20%. As a result, it is possible to suppress the average output of the
また、1つの符号化データの中に、必ず1つは値が“1”のビットが含まれるので、通信装置30や、電子棚札40の通信部42が符号化データと同期をとることが容易である。
In addition, since one encoded data always includes a bit having a value of “1”, the
最後に、4ビットの情報データが、7ビットの符号化データに変換されることにより得られる効果について説明する。 Finally, an effect obtained by converting 4-bit information data into 7-bit encoded data will be described.
4値PPM方式や、CMI方式では、情報データのビット数に対し、符号化データのビット数が2倍になるという特徴を有する。これに対し、本符号則では、情報データのビット数に対し、符号化データのビット数が1.75倍にしかならない。そのため、信号の送信に要する時間を、4値PPM方式や、CMI方式に比べ短縮することができる。 The quaternary PPM method and the CMI method have a feature that the number of bits of encoded data is doubled with respect to the number of bits of information data. On the other hand, according to this coding rule, the number of bits of encoded data is only 1.75 times the number of bits of information data. Therefore, the time required for signal transmission can be shortened compared to the 4-value PPM method and the CMI method.
なお、値が“1”のビットを連続させないことで得られる効果と、1つの符号化データの中に値が“1”のビットが1個又は2個存在することで得られる効果と、を得るうえでは、符号則は、4ビットの情報データを、8ビット以上の符号化データに変換するものであってもよい。ただし、上記のように、信号の送信時間の短縮という観点からは、符号則は、4ビットの情報データを、7ビットの符号化データに変換するものであることが望ましい。 It should be noted that the effect obtained by not consecutive bits having a value of “1” and the effect obtained by the presence of one or two bits having a value of “1” in one encoded data, In obtaining the coding rule, the 4-bit information data may be converted into 8-bit or more encoded data. However, as described above, from the viewpoint of shortening the signal transmission time, it is desirable that the coding rule is to convert 4-bit information data into 7-bit encoded data.
(4)特徴
本実施形態に係る符号化装置50は、符号化部50aを備える。変換手段は、4ビットの情報データを所定の符号則に従ってNビット(N≧5)の符号化データに変換する。符号則においては、符号化データにおいて値が“1”のビットが連続せず、かつ、符号化データにおいて値が“1”のビットの数が1又は2であり、前記Nは7である。
(4) Features The
ここでは、4ビットの情報データが、値が“1”のビットが連続しない符号化データに変換される。このような符号化データが通信装置30や電子棚札40の通信部42から送信される場合、受信回路(通信装置30の受光再生部33および通信部42の受光再生部42c)側の条件によらず、値が“1”のビットに対応する入力信号に対する受信回路の出力の振幅が常に一定になりやすい。つまり、符号化装置50では、受信回路側の条件によらず、受信回路がビットの値の誤認識を起こしにくい符号化データを生成できる。
Here, 4-bit information data is converted into encoded data in which bits having a value of “1” are not consecutive. When such encoded data is transmitted from the
また、ここでは、1つの符号化データの中の、値が“1”のビット数が1又は2であるため、信号のデューティ比を低く抑制することができる。その結果、符号化データを送信する通信装置30や通信部42の平均出力を抑制することができる。さらに、1の符号化データの中に、値が“1”のビットが常に含まれるので、信号を受信する受信回路が同期をとりやすい。
In addition, since the number of bits having a value of “1” is 1 or 2 in one encoded data, the duty ratio of the signal can be suppressed low. As a result, the average output of the
また、ここでは、4ビットの情報データが7ビットの符号データに変換されるため、4ビットの情報データが8ビット以上の符号化データに変換される場合に比べ、信号送信に必要な時間を短縮することが可能である。 Also, since the 4-bit information data is converted to 7-bit code data here, the time required for signal transmission is reduced compared to the case where 4-bit information data is converted to encoded data of 8 bits or more. It can be shortened.
(5)変形例
以下に本実施形態の変形例について説明する。なお、矛盾しない範囲で、複数の変形例が組み合わされてもよい。
(5) Modification Examples of the present embodiment will be described below. Note that a plurality of modified examples may be combined as long as they do not contradict each other.
(5−1)変形例A
上記実施形態では、符号則の例として図7を示したが、これに限定されるものではない。図7において、情報データと符号化データとの対応は任意に組み替え可能である。ただし、情報データと符号化データとの対応は、誤りの起こりにくい規則(例えばグレイコードなど)に基づいて決定されることが望ましい。
(5-1) Modification A
In the above embodiment, FIG. 7 is shown as an example of the coding rule, but the present invention is not limited to this. In FIG. 7, the correspondence between the information data and the encoded data can be arbitrarily rearranged. However, it is desirable that the correspondence between the information data and the encoded data is determined based on a rule (for example, a Gray code) that is less likely to cause an error.
(5−2)変形例B
上記実施形態では、符号則の例として図7を示したが、これに限定されるものではない。例えば、符号則は、図9のようなものであってもよい。図9の符号則においても、符号化データにおいて値が“1”のビットが連続せず、1つの符号化データの中で値が“1”のビットの数が1又は2であり、4ビットの情報データが、7ビットの符号化データに変換される。
(5-2) Modification B
In the above embodiment, FIG. 7 is shown as an example of the coding rule, but the present invention is not limited to this. For example, the coding rule may be as shown in FIG. Also in the coding rule of FIG. 9, the bits having the value “1” in the encoded data are not consecutive, and the number of bits having the value “1” in one encoded data is 1 or 2, and 4 bits. Are converted into 7-bit encoded data.
(5−3)変形例C
上記実施形態では、符号化装置50および復号化装置60が、赤外線により通信を行う、電子棚札40の通信部42と通信装置30とに用いられているが、これに限定されるものではない。例えば、符号化装置50および復号化装置60は、電波により通信を行う電子棚札の通信部と通信装置とに用いられてもよい。
(5-3) Modification C
In the above-described embodiment, the
(5−4)変形例D
上記実施形態では、値が“1”のビットが連続する符号化データや、値が“1”のビットの数が3以上の符号化データは特に利用されないが、これに限定されるものではない。例えば、値が“1”のビットが連続する符号化データや、値が“1”のビットの数が3以上ある符号化データは、誤り検出の目的や、受信回路の同期や、通信の制御を目的として使用されてもよい。
(5-4) Modification D
In the above embodiment, encoded data in which bits having a value of “1” are continuous and encoded data in which the number of bits having a value of “1” is 3 or more are not particularly used. However, the present invention is not limited to this. . For example, encoded data with consecutive bits having a value of “1” and encoded data with 3 or more bits having a value of “1” are used for error detection purposes, receiver circuit synchronization, and communication control. May be used for the purpose.
本発明に係る符号化装置は、受信回路側の条件によらず、受信回路がビットの値の誤認識を起こしにくい符号化データを生成する符号化装置として有用である。 The encoding apparatus according to the present invention is useful as an encoding apparatus that generates encoded data in which a receiving circuit is less likely to cause erroneous recognition of a bit value regardless of conditions on the receiving circuit side.
50 符号化装置
50a 符号化部(変換手段)
50 Coding device 50a Encoding unit (conversion means)
Claims (1)
前記符号則においては、前記符号化データにおいて値が“1”のビットが連続せず、かつ、前記符号化データにおいて値が“1”のビットの数が1又は2であり、前記Nは7である、
符号化装置。 Conversion means for converting 4-bit information data into N-bit (N ≧ 5) encoded data according to a predetermined encoding rule;
In the coding rule, bits having a value of “1” are not consecutive in the encoded data, and the number of bits having a value of “1” in the encoded data is 1 or 2, and N is 7 Is,
Encoding device.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013085950A JP2014179964A (en) | 2013-04-16 | 2013-04-16 | Encoder |
PCT/JP2014/055839 WO2014142009A1 (en) | 2013-03-13 | 2014-03-06 | Encoding apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013085950A JP2014179964A (en) | 2013-04-16 | 2013-04-16 | Encoder |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013001369 Continuation | 2013-03-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014179964A true JP2014179964A (en) | 2014-09-25 |
Family
ID=51538729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013085950A Pending JP2014179964A (en) | 2013-03-13 | 2013-04-16 | Encoder |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2014179964A (en) |
WO (1) | WO2014142009A1 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1122711A (en) * | 1976-07-14 | 1982-04-27 | Sperry Rand Corporation | Method and apparatus for encoding and recovering binary digital data |
JPS55138950A (en) * | 1979-04-17 | 1980-10-30 | Mitsubishi Electric Corp | Digital signal modulation and demodulation system |
JPS58121855A (en) * | 1982-01-14 | 1983-07-20 | Matsushita Electric Ind Co Ltd | Digital signal modulating method |
-
2013
- 2013-04-16 JP JP2013085950A patent/JP2014179964A/en active Pending
-
2014
- 2014-03-06 WO PCT/JP2014/055839 patent/WO2014142009A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2014142009A1 (en) | 2014-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3958339B2 (en) | Pulse modulation method | |
US10411523B2 (en) | Intelligent multi-mode wireless power system | |
EP3190724A1 (en) | Optical signal encoding and decoding methods, and device | |
JP2015103858A (en) | Visible light communication device and visible light communication system | |
JP2621414B2 (en) | Information processing device having cordless keyboard | |
JP5895236B2 (en) | Optical signal transmitter | |
JP2012060793A (en) | Power converter controller | |
US20170180048A1 (en) | Method for optical driving chip to control light-emitting device, and optical drive chip therefor | |
WO2014142009A1 (en) | Encoding apparatus | |
KR20120036254A (en) | Apparatus and method for transmitting and receiving, for visible light communication | |
KR101240347B1 (en) | Device for digital information display using visible light communication | |
US7750827B2 (en) | Coding device, pulse regenerating device, and communications system | |
JP4540652B2 (en) | Encoder | |
US10666361B2 (en) | Sending control apparatus, sending control method, signal synthesis apparatus, signal synthesis method, signal transmission system, and signal transmission method | |
JP3085275B2 (en) | Binary optical transmission method and binary optical transmission system | |
US20060226245A1 (en) | Encoding format for passive radio frequency identification (RFID) system | |
Jia et al. | A digital voice transmission system based on visible light communication | |
KR101222184B1 (en) | Toilet guide system for blind person | |
JP4243726B2 (en) | Communication device | |
WO2017163529A1 (en) | Transmission control device, reception control device and transmission/reception control system | |
US8867925B2 (en) | Reducing electrical current of a signal driver for an optical transmitter | |
KR20140101650A (en) | Encoding and decoding method for visible light communication and apparatus therefor | |
TWI718391B (en) | Wireless power supply apparatus | |
US8175171B2 (en) | Transmitter, receiver, transmitting method, receiving method, variable-length serial burst data transfer system, semiconductor device and hybrid semiconductor device | |
KR100983246B1 (en) | RFID reader capable of short-range communication and method of short-range communication using RDF |