JP2008087199A - Data generating method, control unit, and light-emitting device - Google Patents

Data generating method, control unit, and light-emitting device Download PDF

Info

Publication number
JP2008087199A
JP2008087199A JP2006267589A JP2006267589A JP2008087199A JP 2008087199 A JP2008087199 A JP 2008087199A JP 2006267589 A JP2006267589 A JP 2006267589A JP 2006267589 A JP2006267589 A JP 2006267589A JP 2008087199 A JP2008087199 A JP 2008087199A
Authority
JP
Japan
Prior art keywords
data
compressed
light emission
emission amount
quantized
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.)
Withdrawn
Application number
JP2006267589A
Other languages
Japanese (ja)
Inventor
Daisuke Sato
大輔 佐藤
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 Epson Corp
Original Assignee
Seiko Epson 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 Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006267589A priority Critical patent/JP2008087199A/en
Publication of JP2008087199A publication Critical patent/JP2008087199A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Printers Or Recording Devices Using Electromagnetic And Radiation Means (AREA)
  • Record Information Processing For Printing (AREA)
  • Electroluminescent Light Sources (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data generating method which can reduce the amount of data for being transferred to an optical head, a control unit, and a light-emitting device. <P>SOLUTION: When image data Di are supplied, a correction operation portion 12 of a host controller 10 generates light emission amount data Do1 in accordance with correction data Dh which are read out from a correction value memory 11. A compressive encoding portion 14 logarithmizes the light emission amount data, quantizes them through a prescribed quantization step S, and generates compressed light emission amount data Db by encoding a value after quantization, so as to supply them to a decoding decompression processing portion 21. The processing portion 21 acquires light emission amount data Do2, corresponding to a supplied code, from an LUT 22, and supplies them a constant current driver 23. The constant current driver 23 drives a light-emitting element 24 in accordance with the supplied light emission amount data Do2. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数の発光素子が配列されて構成された光ヘッドに伝送するデータを圧縮する技術に関する。   The present invention relates to a technique for compressing data to be transmitted to an optical head configured by arranging a plurality of light emitting elements.

画像形成装置としてのプリンタには、感光体ドラムなどの像担持体に静電潜像を形成するためのヘッド部として、多数の発光素子がアレイ状に配列された発光装置が用いられる。ヘッド部は、複数の発光素子を主走査方向に沿って配置した1本のラインで構成されることが多い。   A printer as an image forming apparatus uses a light emitting device in which a large number of light emitting elements are arranged in an array as a head unit for forming an electrostatic latent image on an image carrier such as a photosensitive drum. The head portion is often composed of a single line in which a plurality of light emitting elements are arranged along the main scanning direction.

また、情報処理装置からプリンタに圧縮した印刷画像データを送信し、高速なプリントアウトを実現する方法が知られている(例えば特許文献1参照。)。また、音声等のデータを対数変換した後、量子化することにより、小さな値のデータにおける量子化誤差を低減させる符号化方法が知られている。
特開平9−244832号公報(図1、図6)
In addition, a method for realizing high-speed printout by transmitting compressed print image data from an information processing apparatus to a printer is known (see, for example, Patent Document 1). Also, an encoding method is known that reduces quantization error in small value data by logarithmically transforming data such as speech and the like.
Japanese Patent Laid-Open No. 9-244832 (FIGS. 1 and 6)

上述の発光素子としては、有機発光ダイオード(Organic Light Emitting Diode、以下適宜「OLED」と略称する)素子が知られている。OLED素子などの発光素子は駆動電流の大きさに応じて発光量、具体的には光度が変化するが、上述のような複数の発光素子をライン状に配置したヘッド部では、製造時のばらつき等により、駆動電流の大きさが同一であっても個々の発光素子により光度が異なる問題があった。このため、個々の発光素子毎に駆動電流を補正するデータを格納しておき、発光素子の駆動電流を微調整し、光度のばらつきを補償することが行われている。   As the above light emitting element, an organic light emitting diode (hereinafter simply referred to as “OLED”) element is known. A light emitting element such as an OLED element has a light emission amount, specifically a luminous intensity, which varies depending on the magnitude of the drive current. However, in a head portion in which a plurality of light emitting elements as described above are arranged in a line, variations in manufacturing are possible. As a result, there is a problem in that the luminous intensity varies depending on the individual light emitting elements even when the magnitude of the drive current is the same. For this reason, data for correcting the driving current is stored for each light emitting element, and the driving current of the light emitting element is finely adjusted to compensate for variations in luminous intensity.

しかしながら、このような補償を行うためには、ヘッド部に補正データを供給する必要があり、転送すべきデータ量が増大する問題があった。上述の特許文献1に開示された方法では、個々の発光素子の光度のばらつきについては考慮されておらず、したがって、対策も講じられていない。本発明は、このような事情に鑑みてなされたものであり、ヘッド部に転送するデータ量を低減することを解決課題としている。また、単純に対数化したデータを量子化するだけでは、近似誤差が生じてしまい、印刷品質の面から改善の余地があった。   However, in order to perform such compensation, it is necessary to supply correction data to the head unit, which increases the amount of data to be transferred. In the method disclosed in Patent Document 1 described above, variations in luminous intensity of individual light emitting elements are not taken into consideration, and therefore no measures are taken. The present invention has been made in view of such circumstances, and an object of the present invention is to reduce the amount of data transferred to the head unit. Further, if the logarithmized data is simply quantized, an approximation error occurs, and there is room for improvement in terms of print quality.

この課題を解決するために、本発明に係るデータ生成方法は、制御装置と複数の発光素子を備える光ヘッドとの間で伝送するデータを生成するものであって、前記複数の発光素子の光量のばらつきを補正するための補正データ(例えば、図1のDh)と画像データ(例えば、図1のDi)とに基づいて、所定の演算を実行してM(Mは自然数)個の値を取り得る発光量データ(例えば、図1のDo1)を生成し、前記発光量データを対数変換して対数変換データ(例えば、図4のDlog)を生成し、前記対数変換データを量子化して得られるデータの取り得る個数がN(Nは自然数、N<M)個となるように量子化ステップを定めて、前記対数変換データを量子化して量子化データ(例えば、図4のDa)を生成し、前記量子化データのN個の各値に符号を割り当てて圧縮データ(例えば、図4のDb)を生成することを特徴とする。   In order to solve this problem, a data generation method according to the present invention generates data to be transmitted between a control device and an optical head including a plurality of light emitting elements, and includes a light amount of the plurality of light emitting elements. Based on correction data (for example, Dh in FIG. 1) and image data (for example, Di in FIG. 1), a predetermined calculation is performed to obtain M (M is a natural number) values. The light emission amount data that can be taken (for example, Do1 in FIG. 1) is generated, the light emission amount data is logarithmically converted to generate logarithmic conversion data (for example, Dlog in FIG. 4), and the logarithmic conversion data is quantized. The quantization step is determined so that the number of data that can be taken is N (N is a natural number, N <M), and the logarithmic transformation data is quantized to generate quantized data (for example, Da in FIG. 4). N of the quantized data Compressed data (e.g., Db in FIG. 4) by assigning a sign value and generates a.

この発明によれば、補正済みの発光量データに基づいて光ヘッドに伝送する圧縮データを生成するので、光ヘッドにおいて補正データに基づいて画像データを補正する必要がなくなる。また、補正済みの発光量データを対数変換するので、階調の小さい領域で量子化誤差を低減することができる。さらに、量子化により取り得る値が減少するように量子化ステップを定めるので、圧縮データのデータ量を削減することがきる。くわえて、光ヘッドに伝送する圧縮データのデータ量が転送速度の制約を受ける場合に、量子化ステップを調整することによって、転送速度が許容される範囲で圧縮した圧縮データを生成することができる。   According to the present invention, since the compressed data to be transmitted to the optical head is generated based on the corrected light emission amount data, it is not necessary to correct the image data based on the correction data in the optical head. Further, since the corrected light emission amount data is logarithmically converted, a quantization error can be reduced in a region with a small gradation. Furthermore, since the quantization step is determined so that the value that can be obtained by quantization is reduced, the amount of compressed data can be reduced. In addition, when the amount of compressed data transmitted to the optical head is limited by the transfer speed, compressed data that is compressed within the allowable transfer speed can be generated by adjusting the quantization step. .

上述したデータ生成方法において、前記画像データはi(iは自然数)ビットのデータであり、前記補正データはj(jは自然数)ビットのデータであり、前記所定の演算は、Mが、M<2(i+j)となるものであることが好ましい。この場合には、発光量データを生成する過程でもデータを圧縮することが可能となる。 In the above-described data generation method, the image data is i (i is a natural number) bit data, the correction data is j (j is a natural number) bit data, and the predetermined calculation is performed when M is M <M < 2 (i + j) is preferable. In this case, the data can be compressed even in the process of generating the light emission amount data.

また、上述したデータ生成方法において、前記圧縮データのビット数をK(Kは自然数)としたとき、2>Nであり、2個の前記圧縮データのうちN個に前記量子化データを割り当て、前記量子化データの割り当てがない2−M個の前記圧縮データには、そのビットパターンが割り当てのある前記圧縮データのビットパターンと比較して周波数成分が高いものを含むことが好ましい。ビットパターンの反転周期が短いと高い周波数成分を含む。そのような圧縮データを伝送すると、不要輻射が発生する可能性がある。さらに、消費電力が増大する。この発明によれば、量子化データの割り当てのないビットパターンには、割り当てのあるすべてのビットパターンと比較して周波数成分が高いものを含むので、不要輻射を抑制するとともに消費電力を削減することができる。 In the data generation method described above, when the number of bits of the compressed data is K (K is a natural number), 2 K > N, and the quantized data is assigned to N of the 2 K compressed data. assignment, wherein the assignment of 2 K -M pieces without the quantized data to the compressed data preferably including those frequency components higher than the bit pattern with the bit pattern of the compressed data with a assigned. When the inversion period of the bit pattern is short, a high frequency component is included. When such compressed data is transmitted, unnecessary radiation may occur. Furthermore, power consumption increases. According to the present invention, since the bit pattern without the allocation of the quantized data includes the one having a higher frequency component than all the bit patterns with the allocation, the unnecessary radiation is suppressed and the power consumption is reduced. Can do.

また、上述したデータ生成方法において、前記圧縮データのビット数をK(Kは自然数)としたとき、2>Nであり、2個の前記圧縮データのうちN個に前記量子化データを割り当て、前記量子化データの割り当てがない2−M個の前記圧縮データには、そのビットパターンが割り当てのある前記圧縮データのビットパターンと比較して周波数成分が低いものを含むことが好ましい。ビットパターンの反転周期が長いと低い周波数成分を含む。そのようなビットパターンは直流バランスが崩れているので、波形を正確に伝送することが容易でない。この発明によれば、量子化データの割り当てのないビットパターンには、割り当てのあるすべてのビットパターンと比較して周波数成分が低いものを含むので、直流バランスを改善することができる。 In the data generation method described above, when the number of bits of the compressed data is K (K is a natural number), 2 K > N, and the quantized data is assigned to N of the 2 K compressed data. assignment, wherein the 2 K -M number assignment is not the quantized data to the compressed data preferably including those frequency components lower than the bit pattern with the bit pattern of the compressed data with a assigned. When the bit pattern inversion period is long, low frequency components are included. Such a bit pattern is not easy to transmit the waveform accurately because the DC balance is broken. According to the present invention, the bit pattern without the allocation of the quantized data includes the bit pattern having a lower frequency component as compared with all the allocated bit patterns, so that the DC balance can be improved.

また、上述したデータ生成方法において、前記量子化データの取り得るN個の値を発生頻度順に並べたとき、前記圧縮データの符号の割り当ては、発生頻度が低い量子化データほど、対応する圧縮データのビットパターンの周波数成分が周波数分布の中心から離れるように設定することが好ましい。この場合には、発生頻度の低い量子化データほど、ビットパターンの周波数分布の中心から離れるように割り当てるので、圧縮データのビットパターンは、低い周波数成分を有するビットパターンおよび高い周波数成分を有するビットパターンの発生頻度を低くすることができる。この結果、直流バランスを改善することができる。   In the data generation method described above, when N values that can be taken by the quantized data are arranged in the order of occurrence frequency, the compressed data is assigned to the compressed data corresponding to the quantized data having a lower occurrence frequency. It is preferable to set so that the frequency component of the bit pattern is away from the center of the frequency distribution. In this case, since the quantized data having a low occurrence frequency is allocated so as to be away from the center of the frequency distribution of the bit pattern, the bit pattern of the compressed data includes a bit pattern having a low frequency component and a bit pattern having a high frequency component. Can be reduced in frequency. As a result, the DC balance can be improved.

次に、本発明に係る制御装置は、複数の発光素子を備える光ヘッドを制御するものであって、前記複数の発光素子の光量のばらつきを補正するための補正データと画像データとに基づいて、所定の演算を実行してM(Mは自然数)個の値を取り得る発光量データを生成する補正演算部と、前記発光量データを対数変換して対数変換データを生成する対数変換部と、前記対数変換データを量子化して得られるデータの取り得る個数がN(Nは自然数、N<M)個となるように量子化ステップを定めて、前記対数変換データを量子化して量子化データを生成する量子化部と、前記量子化データのN個の各値に符号を割り当てて圧縮データを生成して前記光ヘッドに出力する符号化部とを備える。   Next, a control device according to the present invention controls an optical head including a plurality of light emitting elements, and is based on correction data and image data for correcting variations in light amounts of the plurality of light emitting elements. A correction calculation unit that performs predetermined calculation to generate light emission amount data that can take M (M is a natural number) values, and a logarithmic conversion unit that generates logarithmic conversion data by logarithmically converting the light emission amount data. The quantization step is determined so that the number of data obtained by quantizing the logarithmically transformed data can be N (N is a natural number, N <M), and the logarithmically transformed data is quantized to obtain quantized data. And a coding unit that assigns a code to each of the N values of the quantized data, generates compressed data, and outputs the compressed data to the optical head.

この発明によれば、補正済みの発光量データに基づいて光ヘッドに伝送する圧縮データを生成するので、光ヘッドにおいて補正データに基づいて画像データを補正する必要がなくなる。また、補正済みの発光量データを対数変換するので、階調の小さい領域で量子化誤差を低減することができる。さらに、量子化により取り得る値が減少するように量子化ステップを定めるので、圧縮データのデータ量を削減することがきる。くわえて、光ヘッドに伝送する圧縮データのデータ量が転送速度の制約を受ける場合に、量子化ステップを調整することによって、転送速度が許容される範囲で圧縮した圧縮データを生成することができる。   According to the present invention, since the compressed data to be transmitted to the optical head is generated based on the corrected light emission amount data, it is not necessary to correct the image data based on the correction data in the optical head. Further, since the corrected light emission amount data is logarithmically converted, a quantization error can be reduced in a region with a small gradation. Furthermore, since the quantization step is determined so that the value that can be obtained by quantization is reduced, the amount of compressed data can be reduced. In addition, when the amount of compressed data transmitted to the optical head is limited by the transfer speed, compressed data that is compressed within the allowable transfer speed can be generated by adjusting the quantization step. .

また、上述した制御装置において、前記圧縮データのビット数をK(Kは自然数)としたとき、2>Nであり、前記符号化部は、2個の前記圧縮データのうちN個に前記量子化データを割り当て、前記量子化データの割り当てがない2−M個の前記圧縮データには、そのビットパターンが割り当てのある前記圧縮データのビットパターンと比較して周波数成分が高いものを含むことが好ましい。この発明によれば、量子化データの割り当てのないビットパターンには、割り当てのあるすべてのビットパターンと比較して周波数成分が高いものを含むので、不要輻射を抑制するとともに消費電力を削減することができる。 Further, in the above-described control device, when the number of bits of the compressed data is K (K is a natural number), 2 K > N, and the encoding unit sets N of 2 K compressed data. allocating the quantized data, the assignment of 2 K -M pieces without the quantized data to the compressed data, those frequency components higher than the bit pattern with the bit pattern of the compressed data with a assigned It is preferable to include. According to the present invention, since the bit pattern without the allocation of the quantized data includes the one having a higher frequency component than all the bit patterns with the allocation, the unnecessary radiation is suppressed and the power consumption is reduced. Can do.

また、上述した制御装置において、前記圧縮データのビット数をK(Kは自然数)としたとき、2>Nであり、前記符号化部は、2個の前記圧縮データのうちN個に前記量子化データを割り当て、前記量子化データの割り当てがない2−M個の前記圧縮データには、そのビットパターンが割り当てのある前記圧縮データのビットパターンと比較して周波数成分が低いものを含むことが好ましい。この発明によれば、量子化データの割り当てのないビットパターンには、割り当てのあるすべてのビットパターンと比較して周波数成分が低いものを含むので、直流バランスを改善することができる。 Further, in the above-described control device, when the number of bits of the compressed data is K (K is a natural number), 2 K > N, and the encoding unit sets N of 2 K compressed data. allocating the quantized data, wherein the 2 K -M number assignment is not the quantized data to the compressed data, those frequency components lower than the bit pattern with the bit pattern of the compressed data with a assigned It is preferable to include. According to the present invention, the bit pattern without the allocation of the quantized data includes the bit pattern having a lower frequency component as compared with all the allocated bit patterns, so that the DC balance can be improved.

また、上述した制御装置において、前符号化部は、前記量子化データの取り得るN個の値を発生頻度順に並べたとき、前記圧縮データの符号の割り当ては、発生頻度が低い量子化データほど、対応する圧縮データのビットパターンの周波数成分が周波数分布の中心から離れるように設定することが好ましい。この場合には、発生頻度の低い量子化データほど、ビットパターンの周波数分布の中心から離れるように割り当てるので、圧縮データのビットパターンは、低い周波数成分を有するビットパターンおよび高い周波数成分を有するビットパターンの発生頻度を低くすることができる。この結果、直流バランスを改善することができる。   Further, in the control device described above, when the pre-encoding unit arranges the N values that can be taken by the quantized data in order of occurrence frequency, the code assignment of the compressed data is performed for quantized data having a lower occurrence frequency. It is preferable that the frequency component of the bit pattern of the corresponding compressed data is set so as to be away from the center of the frequency distribution. In this case, since the quantized data having a low occurrence frequency is allocated so as to be away from the center of the frequency distribution of the bit pattern, the bit pattern of the compressed data includes a bit pattern having a low frequency component and a bit pattern having a high frequency component. Can be reduced in frequency. As a result, the DC balance can be improved.

また、本発明に係る制御装置は、複数の発光素子を備える光ヘッドを制御するものであって、前記複数の発光素子の光量のばらつきを補正するための補正データと画像データとに基づいて、所定の演算を実行してM(Mは自然数)個の値を取り得る発光量データを生成する補正演算部と、前記発光量データをN(Nは自然数、N<M)個の値を取り得る圧縮データに変換する圧縮部とを備え、前記圧縮部は、前記発光量データの各値と前記圧縮データの各値とを対応付けて記憶した記憶部を備え、前記補正演算部で生成された前記発光量データに基づいて前記記憶部を参照して前記圧縮データを生成し、前記記憶部に記憶される前記圧縮データは、前記発光量データを対数変換して対数変換データを生成し、前記対数変換データを量子化して得られるデータの取り得る個数がN個となるように量子化ステップを定めて、前記対数変換データを量子化して量子化データを生成し、前記量子化データのN個の各値に符号を割り当てて生成されたものであることを特徴とする。この発明によれば、記憶部を備えるので、対数変換、量子化、および符号化といった処理を実行する必要がなくなる。この結果、簡易な構成で、高速の処理が可能となる。   Further, a control device according to the present invention controls an optical head including a plurality of light emitting elements, and based on correction data and image data for correcting variations in the amount of light of the plurality of light emitting elements, A correction calculation unit that generates a light emission amount data that can take M (M is a natural number) values by executing a predetermined calculation, and N (N is a natural number, N <M) values of the light emission amount data. A compression unit for converting into compressed data to be obtained, and the compression unit includes a storage unit that stores each value of the light emission amount data and each value of the compressed data in association with each other, and is generated by the correction calculation unit. The compressed data is generated by referring to the storage unit based on the light emission amount data, and the compressed data stored in the storage unit logarithmically converts the light emission amount data to generate logarithmic conversion data, Quantize the logarithmic transformation data The quantization step is determined so that the number of data that can be obtained is N, the logarithmically transformed data is quantized to generate quantized data, and a code is assigned to each of the N values of the quantized data. It is generated. According to the present invention, since the storage unit is provided, it is not necessary to execute processes such as logarithmic transformation, quantization, and encoding. As a result, high-speed processing is possible with a simple configuration.

また、本発明に係る制御装置は、複数の発光素子を備える光ヘッドを制御するものであって、前記複数の発光素子の各々で表示すべき階調を指定する画像データに、前記複数の発光素子の光量のばらつきを補正する処理を施し、且つ、データ量を圧縮する処理を施した圧縮データを生成する補正圧縮部(例えば、図15の16)と、前記複数の発光素子の光量のばらつきを補正するための補正データを記憶した補正データ記憶部(例えば、図15の11)とを備え、前記補正圧縮部は、前記画像データの各値および前記補正データの各値と前記圧縮データの各値とを対応付けて記憶した圧縮データ記憶部を有し、前記画像データおよび前記補正データ記憶手段から読み出した前記補正データに基づいて、前記圧縮データ記憶部を参照して、前記圧縮データを生成し、前記圧縮データは、前記補正データと前記画像データとに基づいて、所定の演算を実行してM(Mは自然数)個の値を取り得る発光量データを生成し、前記発光量データを対数変換して対数変換データを生成し、前記対数変換データを量子化して得られるデータの取り得る個数がN個となるように量子化ステップを定めて、前記対数変換データを量子化して量子化データを生成し、前記量子化データのN個の各値に符号を割り当てて生成されたものであることを特徴とする。この発明によれば、圧縮データ記憶部を備えるので、補正演算、対数変換、量子化、および符号化といった処理を実行する必要がなくなる。この結果、簡易な構成で、高速の処理が可能となる。   The control device according to the present invention controls an optical head including a plurality of light emitting elements, and the plurality of light emitting elements are used for image data designating a gradation to be displayed by each of the plurality of light emitting elements. A correction compression unit (for example, 16 in FIG. 15) that performs processing for correcting variation in the light amount of the element and generates compressed data subjected to processing for compressing the data amount, and variation in light amount of the plurality of light emitting elements A correction data storage unit (for example, 11 in FIG. 15) that stores correction data for correcting the image data, and the correction compression unit includes each value of the image data, each value of the correction data, and each of the compressed data. A compressed data storage unit that stores each value in association with each other, and refers to the compressed data storage unit based on the image data and the correction data read from the correction data storage unit; Generating compressed data, the compressed data generating a light emission amount data that can take M (M is a natural number) values by executing a predetermined calculation based on the correction data and the image data; Logarithmically transform the light emission amount data to generate logarithmically transformed data, determine a quantization step so that the number of data obtained by quantizing the logarithmically transformed data is N, and quantize the logarithmically transformed data. Quantized data is generated, and a code is assigned to each of the N values of the quantized data. According to the present invention, since the compressed data storage unit is provided, it is not necessary to execute processing such as correction calculation, logarithmic transformation, quantization, and encoding. As a result, high-speed processing is possible with a simple configuration.

次に、本発明に係る発光装置は、制御装置と複数の発光素子を備える光ヘッドとを備えたものであって、前記制御装置は、前記複数の発光素子の光量のばらつきを補正するための補正データと前記画像データとに基づいて、所定の演算を実行してM(Mは自然数)個の値を取り得る発光量データを生成する補正演算部と、前記発光量データを対数変換して対数変換データを生成する対数変換部と、前記対数変換データを量子化して得られるデータの取り得る個数がN(Nは自然数、N<M)個となるように量子化ステップを定めて、前記対数変換データを量子化して量子化データを生成する量子化部と、前記量子化データのN個の各値に符号を割り当てて圧縮データを生成して前記光ヘッドに出力する符号化部とを備え、前記光ヘッドは、受信した前記圧縮データを伸張して前記発光量データを復号する復号化伸張部(例えば、図1の21)と、復号した前記発光量データに基づいて前記複数の発光素子を駆動する駆動部(例えば、図1の23)とを備えることを特徴とする。   Next, a light-emitting device according to the present invention includes a control device and an optical head including a plurality of light-emitting elements, and the control device corrects variations in light amounts of the plurality of light-emitting elements. Based on the correction data and the image data, a predetermined calculation is performed to generate light emission amount data that can take M (M is a natural number) values, and the light emission amount data is logarithmically converted. A logarithmic conversion unit that generates logarithmically transformed data, and a quantization step so that the number of data obtained by quantizing the logarithmically transformed data can be N (N is a natural number, N <M), A quantization unit that quantizes logarithmically transformed data to generate quantized data; and an encoding unit that assigns a code to each of the N values of the quantized data to generate compressed data and outputs the compressed data to the optical head. And the optical head receives A decoding / decompression unit (for example, 21 in FIG. 1) that decompresses the compressed data and decodes the light emission amount data, and a drive unit (for example, a drive unit that drives the plurality of light emitting elements based on the decoded light amount data) And 23) of FIG.

この発明によれば、補正済みの発光量データに基づいて光ヘッドに伝送する圧縮データを生成するので、光ヘッドにおいて補正データに基づいて画像データを補正する必要がなくなり、圧縮データを伸張することによって発光量データを復号できる。また、補正済みの発光量データを対数変換するので、階調の小さい領域で量子化誤差を低減することができる。さらに、量子化により取り得る値が減少するように量子化ステップを定めるので、圧縮データのデータ量を削減することがきる。くわえて、光ヘッドに伝送する圧縮データのデータ量が転送速度の制約を受ける場合に、量子化ステップを調整することによって、転送速度が許容される範囲で圧縮した圧縮データを生成することができる。   According to the present invention, since the compressed data to be transmitted to the optical head is generated based on the corrected light emission amount data, it is not necessary to correct the image data based on the correction data in the optical head, and the compressed data is expanded. The light emission amount data can be decoded by Further, since the corrected light emission amount data is logarithmically converted, a quantization error can be reduced in a region with a small gradation. Furthermore, since the quantization step is determined so that the value that can be obtained by quantization is reduced, the amount of compressed data can be reduced. In addition, when the amount of compressed data transmitted to the optical head is limited by the transfer speed, compressed data that is compressed within the allowable transfer speed can be generated by adjusting the quantization step. .

図面を参照しながら本発明に好適な実施の形態を説明する。
<A.実施形態の構成>
図1は、本発明の実施形態に係る発光装置の要部の構成を示すブロック図である。この発光装置100は、例えばプリンタ等の印刷装置において静電潜像の形成に用いられる。この図に示されるように、この発光装置100は、印刷画像の画像データDi(印刷ドット毎の階調データ)が供給されるホストコントローラ10と、このホストコントローラ10からの発光量データに応じて駆動される光ヘッド20とを備えている。
A preferred embodiment of the present invention will be described with reference to the drawings.
<A. Configuration of Embodiment>
FIG. 1 is a block diagram showing a configuration of a main part of a light emitting device according to an embodiment of the present invention. The light emitting device 100 is used for forming an electrostatic latent image in a printing apparatus such as a printer. As shown in this figure, the light emitting device 100 includes a host controller 10 to which image data Di (tone data for each print dot) of a print image is supplied, and light emission amount data from the host controller 10. And an optical head 20 to be driven.

ホストコントローラ10は、補正データDhが格納された補正値メモリ11と、補正データDhに応じて画像データDiを補正して発光量データDo1を生成する補正演算部12と、発光量データDo1を圧縮符号化して圧縮発光量データDbを出力する圧縮符号化部14とを備える。圧縮発光量データDbはパラレル形式で光ヘッド20に伝送される。   The host controller 10 includes a correction value memory 11 in which correction data Dh is stored, a correction calculation unit 12 that corrects the image data Di according to the correction data Dh to generate the light emission amount data Do1, and compresses the light emission amount data Do1. And a compression encoding unit 14 that encodes and outputs compressed light emission amount data Db. The compressed light emission amount data Db is transmitted to the optical head 20 in a parallel format.

また、光ヘッド20は、ホストコントローラ10から受信した圧縮発光量データDbを復号化して伸張する復号化伸張処理部21と、伸張された発光量データDoに応じた駆動電流を生成する定電流ドライバ23と、例えば有機発光ダイオード(Organic Light Emitting Diode、以下適宜「OLED」と略称する)素子等からなる発光素子24とを備える。なお、復号化伸張処理部21は、圧縮発光量データDbと発光量データDo2とを対応付けて記憶したLUT22を有する。   The optical head 20 also includes a decoding / decompression processing unit 21 that decodes and expands the compressed light emission amount data Db received from the host controller 10, and a constant current driver that generates a drive current according to the expanded light emission amount data Do. 23 and a light emitting element 24 composed of, for example, an organic light emitting diode (hereinafter simply referred to as “OLED”) element. Note that the decryption / decompression processing unit 21 includes an LUT 22 that stores the compressed light emission amount data Db and the light emission amount data Do2 in association with each other.

この光ヘッド20では、複数(例えばn個)の発光素子24がライン状に配置されて構成されている。同一の駆動電流を供給した場合でも、各々の発光素子24の光度には、製造時のばらつき等によって光度が相違する。このため、この発光装置100では、補正値メモリ11に各々の発光素子24の補正データDhを格納しておき、補正演算部12が画像データDiと補正データDhとに基づいて発光量データDo1を生成し、これに応じて発光素子24を駆動することにより、発光素子24ごとの光度のばらつきを補正する。換言すれば、補正データDhは発光素子24ごとの光度のばらつきを補正できるように定められている。   In the optical head 20, a plurality of (for example, n) light emitting elements 24 are arranged in a line. Even when the same driving current is supplied, the luminous intensity of each light emitting element 24 is different due to variations in manufacturing. For this reason, in the light emitting device 100, the correction data Dh of each light emitting element 24 is stored in the correction value memory 11, and the correction calculation unit 12 generates the light emission amount data Do1 based on the image data Di and the correction data Dh. The light intensity of each light emitting element 24 is corrected by generating and driving the light emitting element 24 according to this. In other words, the correction data Dh is determined so that the variation in luminous intensity for each light emitting element 24 can be corrected.

図2に、補正値メモリ11に格納されている補正データDhを例示する。補正データDhは、光ヘッド20の製造後等に予め発光素子24の発光特性を測定し、これに応じて設定しておく。この例では、画像データDiが、16階調(4ビット)で、n個の発光素子24毎に、基準光量に対して−20%〜+5%程度の範囲で6ビット(64値)の補正データDhを設定し得る場合について示している。   FIG. 2 illustrates the correction data Dh stored in the correction value memory 11. The correction data Dh is set in accordance with the light emission characteristics of the light emitting element 24 measured in advance after the manufacture of the optical head 20 or the like. In this example, the image data Di has 16 gradations (4 bits) and is corrected by 6 bits (64 values) in a range of about −20% to + 5% with respect to the reference light amount for each of the n light emitting elements 24. The case where data Dh can be set is shown.

補正演算部12は、外部から画像データDiが供給されると、この画像データDiの印刷位置の発光素子24に対応する補正データDhを補正値メモリ11から取得し、例えば次に示す式(1)により、画像データDiに対応する発光量データDo1を求め、圧縮符号化部14に供給する。
Do1=(0.25×Dh+52.25)×Di……(1)
When the image data Di is supplied from the outside, the correction calculation unit 12 acquires the correction data Dh corresponding to the light emitting element 24 at the printing position of the image data Di from the correction value memory 11, and for example, the following equation (1) ), The light emission amount data Do1 corresponding to the image data Di is obtained and supplied to the compression encoding unit 14.
Do1 = (0.25 × Dh + 52.25) × Di (1)

図2に、4ビットの画像データDiと6ビットの補正データDhとの組み合わせから生成され得る発光量データDo1の値を示す。発光量データDo1は10ビットのデータである。また、図3に、画像データDiに対応する発光量データDoをグラフで示す。これらの図に示すように、発光量データDo1の値には、例えば1〜52,69〜104等のように、使用されていない値がある。これは、上述した式(1)によって「52.25」がオフセットとして与えられるからである。また、同じ発光量データDo1の値が重複している部分も存在している。この例では、発光量データDo1の値は674通りしかなく、1024通りを表現可能な10ビットで符号化するのは無駄が多い。すなわち、発光量データDo1の取り得る値をM個とし、画像データDiをi(iは自然数)ビット、補正データDhをj(jは自然数)ビットとしたとき、式(1)の演算を実行すると、M<2(i+j)となる。 FIG. 2 shows the value of the light emission amount data Do1 that can be generated from the combination of the 4-bit image data Di and the 6-bit correction data Dh. The light emission amount data Do1 is 10-bit data. FIG. 3 is a graph showing the light emission amount data Do corresponding to the image data Di. As shown in these figures, the value of the light emission amount data Do1 includes unused values such as 1 to 52 and 69 to 104, for example. This is because “52.25” is given as an offset by the above-described equation (1). In addition, there is a portion where the same light emission amount data Do1 is overlapped. In this example, there are only 674 values of the light emission amount data Do1, and encoding with 10 bits that can represent 1024 is wasteful. That is, when the light emission amount data Do1 has M values, the image data Di is i (i is a natural number) bits, and the correction data Dh is j (j is a natural number) bits, the calculation of Expression (1) is executed. Then, M <2 (i + j) .

このため、この発光装置100では、ホストコントローラ10側で発光量データDo1を256通りに圧縮符号化し、8ビットの圧縮発光量データDbとして光ヘッド20に転送し、光ヘッド20側で発光量データDo1を復元するようにしている。具体的には、圧縮符号化部14でこの処理を実行する。圧縮符号化部14は、LUT15を備える。LUT15は発光量データDo1の各値と圧縮データDbの各値を対応付けて記憶している。圧縮符号化部14は、発光量データDo1に基づいて、LUT15を参照し、圧縮データDbを生成する。   For this reason, in the light emitting device 100, the host controller 10 side compresses and encodes the light emission amount data Do1 in 256 ways, and transfers it to the optical head 20 as 8-bit compressed light emission amount data Db. Do1 is restored. Specifically, the compression encoding unit 14 executes this process. The compression encoding unit 14 includes an LUT 15. The LUT 15 stores each value of the light emission amount data Do1 and each value of the compressed data Db in association with each other. The compression encoding unit 14 refers to the LUT 15 based on the light emission amount data Do1, and generates compressed data Db.

なお、圧縮符号化部14は、LUT15を用いることなく、演算処理によって圧縮データDbを生成してもよい。この場合、圧縮符号化部14は図4に示すように構成される。圧縮符号化部14は、1)対数変換、2)量子化、3)符号化の3ステップで圧縮符号化を行っている。対数変換部141は、補正演算部12から供給された発光量データDo1(10ビット)を対数変換して対数変換データDlogを生成する。これは小さな値における相対的な量子化誤差を低減させるために実行するものである。次に、量子化部142は、後述のように予め設定された量子化ステップSで対数変換データDlogを量子化して量子化データDaを生成する。この量子化データDaは10ビットのデータであるが、取り得る値の総数は256通りになるように量子化ステップSが設定されている。次に、符号化部143は、量子化データDaを8ビットの圧縮発光量データDbに変換する。すなわち、量子化データDaは10ビットで表現されるが、飛び飛びの値となっており、これを「0」〜「255」までの圧縮発光量データDbに変換して出力する。例えば、符号化部143を10ビットの量子化データDaと8ビットの圧縮発光量データDbとに対応付けて記憶したルックアップテーブルで構成してもよい。
図5に圧縮符号化部14の入力である発光量データDo1と圧縮発光量データDbとの関係を示す。この図に示すように674通りの発光量データDo1は256通りの圧縮発光量データDbに圧縮符号化される。上述したLUT15には、例えば図5に示すように発光量データDo1と圧縮発光量データDbとが対応付けられて記憶される。
Note that the compression encoding unit 14 may generate the compressed data Db by arithmetic processing without using the LUT 15. In this case, the compression encoding unit 14 is configured as shown in FIG. The compression encoding unit 14 performs compression encoding in three steps: 1) logarithmic conversion, 2) quantization, and 3) encoding. The logarithmic conversion unit 141 performs logarithmic conversion on the light emission amount data Do1 (10 bits) supplied from the correction calculation unit 12 to generate logarithmic conversion data Dlog. This is done to reduce the relative quantization error at small values. Next, the quantization unit 142 quantizes the logarithmically transformed data Dlog in a quantization step S set in advance as will be described later, and generates quantized data Da. The quantized data Da is 10-bit data, but the quantization step S is set so that the total number of possible values is 256. Next, the encoding unit 143 converts the quantized data Da into 8-bit compressed light emission amount data Db. That is, although the quantized data Da is expressed by 10 bits, it has a jump value, which is converted into compressed light emission amount data Db from “0” to “255” and output. For example, the encoding unit 143 may be configured by a lookup table stored in association with 10-bit quantized data Da and 8-bit compressed light emission amount data Db.
FIG. 5 shows a relationship between the light emission amount data Do1 and the compressed light emission amount data Db, which are inputs to the compression encoding unit 14. As shown in this figure, 674 kinds of light emission amount data Do1 are compression-encoded into 256 kinds of compressed light emission amount data Db. In the LUT 15 described above, for example, as shown in FIG. 5, light emission amount data Do1 and compressed light emission amount data Db are stored in association with each other.

次に、光ヘッド20において、LUT22は、8ビットの圧縮発光量データDbと10ビットの発光量データDo2とを対応付けて記憶している。図6にLUT22の記憶内容を示す。復号化伸張処理部21は、圧縮符号化部14から圧縮発光量データDbが供給されると、LUT22を参照して、圧縮発光量データDbの値に対応する発光量データDo2を取得し、定電流ドライバ23に供給する。定電流ドライバ23は、供給された発光量データDo2に応じて発光素子24を駆動する。これにより、補正演算部12において個々の発光素子24毎に補正された発光量データDo1に応じて発光素子24が駆動され、発光素子24毎の光度のばらつきが補正される。   Next, in the optical head 20, the LUT 22 stores 8-bit compressed light emission amount data Db and 10-bit light emission amount data Do2 in association with each other. FIG. 6 shows the stored contents of the LUT 22. When the compressed light emission amount data Db is supplied from the compression encoding unit 14, the decoding / decompression processing unit 21 refers to the LUT 22 to obtain the light emission amount data Do2 corresponding to the value of the compressed light emission amount data Db. This is supplied to the current driver 23. The constant current driver 23 drives the light emitting element 24 according to the supplied light emission amount data Do2. Thereby, the light emitting element 24 is driven in accordance with the light emission amount data Do1 corrected for each light emitting element 24 in the correction calculation unit 12, and the variation in luminous intensity for each light emitting element 24 is corrected.

<B.量子化ステップ決定処理>
図7は、上述の量子化ステップSを決定する処理を示すフローチャートである。この処理は、画像データDiのビット数,補正データDhのビット数,発光量データDo1を求める計算式に応じて、外部の情報処理装置等により予め実行され、求められた量子化ステップSをホストコントローラ10内の不揮発メモリ等に格納する。
<B. Quantization step decision processing>
FIG. 7 is a flowchart showing a process for determining the quantization step S described above. This processing is executed in advance by an external information processing apparatus or the like according to a calculation formula for obtaining the number of bits of the image data Di, the number of bits of the correction data Dh, and the light emission amount data Do1, and the obtained quantization step S is hosted. The data is stored in a nonvolatile memory or the like in the controller 10.

この処理においては、まず、与えられた発光量データDo1の計算式に画像データDiと補正データDhとの総ての取り得る値を入れて、総ての取り得る発光量データDo1(上述の図2に相当する補正演算表)を求める(S1)。次に、得られた補正演算表内の発光量データDo1を対数変換する(S2)。この後、例えば2分探索方によって、最適な量子化ステップΔを求める(S3〜S8)。具体的には、まず、仮の量子化ステップΔの初期値を設定する(S3)。対数化した補正演算表を256通り(8ビット)に量子化するのに最適な量子化ステップΔは、log(1023)/255〜log(1023)/1023の間にあると考えられるため、分母を1023と255の中間の値である639としたlog(1023)/639を仮の量子化ステップΔの初期値とする。次に、対数変換した補正演算表の内容を仮の量子化ステップΔで量子化し(S4)、量子化した結果の補正演算表の結果の中のユニークな値の数をカウントする(S5)。   In this process, first, all possible values of the image data Di and the correction data Dh are put in the calculation formula of the given light emission amount data Do1, and all of the light emission amount data Do1 that can be obtained (the above-described figure). (Correction calculation table corresponding to 2) is obtained (S1). Next, the light emission amount data Do1 in the obtained correction calculation table is logarithmically converted (S2). Thereafter, an optimum quantization step Δ is obtained by, for example, a binary search method (S3 to S8). Specifically, first, an initial value of a temporary quantization step Δ is set (S3). The optimum quantization step Δ for quantizing the logarithmized correction calculation table into 256 patterns (8 bits) is considered to be between log (1023) / 255 to log (1023) / 1023. Log (1023) / 639, where 639 is an intermediate value between 1023 and 255, is the initial value of the temporary quantization step Δ. Next, the contents of the logarithmically converted correction calculation table are quantized by a temporary quantization step Δ (S4), and the number of unique values in the result of the correction calculation table resulting from the quantization is counted (S5).

ユニークな値の数が254通り以下であれば、量子化ステップΔを小さく設定して(S6)S4に戻る。例えば初期値がlog(1023)/639である場合であれば、最適な量子化ステップΔは、log(1023)/1023〜log(1023)/639の間にあると考えられるため、分母を1023と639の中間の値である831としたlog(1023)/831を次の仮の量子化ステップΔとする。また、ユニークな値の数が256通り以上であれば、量子化ステップΔを大きく設定して(S7)S4に戻る。例えば初期値がlog(1023)/639である場合であれば、最適な量子化ステップΔは、log(1023)/255〜log(1023)/639の間にあると考えられるため、分母を255と639の中間の値である447としたlog(1023)/447を次の仮の量子化ステップΔとする。また、ユニークな値の数が256通りであれば、補正演算表の内容を線形(発光量データDo1)に変換して終了する(S8)。   If the number of unique values is 254 or less, the quantization step Δ is set small (S6), and the process returns to S4. For example, if the initial value is log (1023) / 639, the optimal quantization step Δ is considered to be between log (1023) / 1023 to log (1023) / 639, so the denominator is 1023 And log (1023) / 831, which is 831 which is an intermediate value between 639 and 639, is set as the next temporary quantization step Δ. If the number of unique values is 256 or more, the quantization step Δ is set large (S7), and the process returns to S4. For example, if the initial value is log (1023) / 639, the optimal quantization step Δ is considered to be between log (1023) / 255 and log (1023) / 639, so the denominator is 255. Log (1023) / 447, which is 447 which is an intermediate value between 1 and 639, is set as the next temporary quantization step Δ. If the number of unique values is 256, the content of the correction calculation table is converted to linear (light emission amount data Do1) and the process ends (S8).

以上の処理により、例えば図8に示すように、ユニークな値が256通りである補正演算表と、このときの量子化ステップΔ(図1中の量子化ステップSに相当する)が得られる。得られた256通りのユニークな値(圧縮発光量データDb)に対して、各々ユニークな8ビットの符号を割り当ててると、10ビットの発光量データDo1が最終的に8ビットに圧縮される。発光量データDo1と8ビットの圧縮発光量データDbの関係を示したものが上述の図5に相当する。また、この関係を逆に設定したものが上述の図6に示すLUT22に相当する。これらの量子化ステップS,LUT22は予めホストコントローラ10,光ヘッド20に格納しておくが、外部の機器から書き換えることもできるようになっている。例えばホストコントローラ10に新たな対応表のデータが供給されると、ホストコントローラ10は、供給されたデータをLUT15とLUT22とに格納する。これにより、補正値メモリ11の値の書き換えに対応したLUTの変更等にも容易に対応することができるようになる。   By the above processing, for example, as shown in FIG. 8, a correction calculation table having 256 unique values and a quantization step Δ at this time (corresponding to the quantization step S in FIG. 1) are obtained. If a unique 8-bit code is assigned to the 256 unique values (compressed emission amount data Db) obtained, the 10-bit emission amount data Do1 is finally compressed to 8 bits. FIG. 5 shows the relationship between the light emission amount data Do1 and the 8-bit compressed light emission amount data Db. Further, the reverse of this relationship corresponds to the LUT 22 shown in FIG. These quantization steps S and LUT 22 are stored in advance in the host controller 10 and the optical head 20, but can be rewritten from an external device. For example, when new correspondence table data is supplied to the host controller 10, the host controller 10 stores the supplied data in the LUT 15 and the LUT 22. As a result, it is possible to easily cope with a change in the LUT corresponding to the rewriting of the value in the correction value memory 11.

図9は、10ビットの発光量データDo1を単純に下位2ビットを削除して8ビットに圧縮した場合(リニア圧縮)、発光量データDo1を対数に変換して単純に8ビットに圧縮した場合、本実施例の場合について、8ビットに圧縮した発光量データと対応する発光量を示した図である。グラフの傾きは、発光量の刻みを示しており、傾きが急であるほど刻みが粗くなる。すなわち相対的な量子化ステップが大きいことを示している。この図9より、リニア圧縮では小さい値での刻みが極めて荒く、対数圧縮では全ての値で本実施例に比較して刻みがやや粗いことが判る。   FIG. 9 shows a case where the 10-bit light emission amount data Do1 is simply compressed to 8 bits by deleting the lower 2 bits (linear compression), and the light emission amount data Do1 is converted to logarithm and simply compressed to 8 bits. FIG. 8 is a diagram showing the light emission amount corresponding to the light emission amount data compressed to 8 bits in the case of the present embodiment. The slope of the graph indicates the increment of the light emission amount, and the steeper the slope becomes, the steeper the slope. That is, the relative quantization step is large. From FIG. 9, it can be seen that in the linear compression, the step with a small value is extremely rough, and in the logarithmic compression, the step is slightly rough for all values compared to the present embodiment.

図10は、発光量データの値として使用されていない0〜51の値を除いた値について、リニア圧縮した場合、対数圧縮した場合、本実施例の場合について、8ビットに圧縮した発光量データと対応する発光量を示した図である。図9と同様に、グラフの傾きは、発光量の刻みを示しており、傾きが急であるほど刻みが粗い、すなわち相対的な量子化ステップが大きいことを示している。この図10より、リニア圧縮では小さい値での刻みが極めて荒く、対数圧縮では全ての値で本実施例に比較して刻みがやや粗いことが判る。   FIG. 10 shows light emission amount data compressed to 8 bits in the case of linear compression, logarithmic compression, and the case of this embodiment, except for values other than 0 to 51, which are not used as light emission amount data values. It is the figure which showed the light-emission quantity corresponding to these. Similar to FIG. 9, the slope of the graph indicates the increment of the light emission amount, and the steeper the slope, the coarser the increment, that is, the greater the relative quantization step. From FIG. 10, it can be seen that in the linear compression, the step with a small value is very rough, and in the logarithmic compression, the step is slightly rough for all values compared to the present embodiment.

図11は、これらの場合について、より具体的に8ビットに圧縮した発光量データ毎に相対的な量子化ステップを示した図である。この図11より、発光量データの全領域において、本実施例の圧縮方法の方が相対的な量子化ステップが小さい、すなわち、量子化誤差が小さいことが判る。   FIG. 11 is a diagram showing a relative quantization step for each light emission amount data compressed more specifically to 8 bits in these cases. From FIG. 11, it can be seen that the compression method of this embodiment has a smaller relative quantization step, that is, a smaller quantization error, in the entire region of the light emission amount data.

上述のように、この発光装置100では、圧縮符号化部14において、発光量データDo1をデータ圧縮しているので、ホストコントローラ10と光ヘッド20との間で転送するデータ量を低減させることができる。これにより、動作の高速化に寄与することが可能となる。また、この発光装置100では、上述のように、発光量データDo1の値域に応じた量子化ステップSを設定することにより、誤差を低減することができ、印刷品質の低下を抑制することができる。   As described above, in the light emitting device 100, since the compression encoding unit 14 compresses the light emission amount data Do1, the amount of data transferred between the host controller 10 and the optical head 20 can be reduced. it can. As a result, it is possible to contribute to speeding up the operation. Further, in the light emitting device 100, as described above, by setting the quantization step S corresponding to the range of the light emission amount data Do1, errors can be reduced, and deterioration in print quality can be suppressed. .

また、ホストコントローラ10と光ヘッド20との間の転送データ量を低減させるためには、補正値メモリ11自体を光ヘッド20側に設けて、画像データDiのみを光ヘッド20に転送することが考えられるが、この場合、光ヘッド20側の回路規模が増大し、別途光ヘッド20側にコネクタ等を設けないと補正値メモリ11の内容の書き換え等が困難となる。これに対して、本実施形態のように、ホストコントローラ10側に補正値メモリ11を設けておくことにより、光ヘッド20側の回路規模を抑制することができ、補正値メモリ11の書き換えを容易にすることができる利点がある。   In order to reduce the amount of data transferred between the host controller 10 and the optical head 20, the correction value memory 11 itself is provided on the optical head 20 side, and only the image data Di is transferred to the optical head 20. In this case, the circuit scale on the optical head 20 side increases, and rewriting of the contents of the correction value memory 11 becomes difficult unless a connector or the like is separately provided on the optical head 20 side. On the other hand, by providing the correction value memory 11 on the host controller 10 side as in this embodiment, the circuit scale on the optical head 20 side can be suppressed, and the correction value memory 11 can be easily rewritten. There are advantages that can be made.

<C.変形例>
(1)図12は、変形例に係る発光装置の要部の構成を示すブロック図である。上述の実施形態では、圧縮符号化部14と復号化伸張処理部21の間をパラレル接続としていたが、これらの間をシリアル接続としたものである。このため、ホストコントローラ10は圧縮符号化部14からの圧縮発光量データをシリアル信号に変換するパラレル/シリアル(P/S)変換部15を備えており、光ヘッド20は圧縮符号化部14からのシリアル信号をパラレル信号に変換するシリアル/パラレル(S/P)変換部25を備えている。これ以外の構成・動作は上述の図1に示す発光装置と同様である。このようにシリアル接続とすることにより、圧縮符号化部14と復号化伸張処理部21の間の配線数を低減させることができる。また、パラレル/シリアル変換部15は差動形式で圧縮発光量データを送信し、シリアル/パラレル変換部25は差動形式で圧縮発光量データを受信することが好ましい。この場合には、ツイストペアの配線で圧縮発光量データを伝送することにより、耐ノイズ性を向上させることができる。
<C. Modification>
(1) FIG. 12 is a block diagram illustrating a configuration of a main part of a light emitting device according to a modification. In the embodiment described above, the compression encoding unit 14 and the decoding / decompression processing unit 21 are connected in parallel, but the connection between them is a serial connection. Therefore, the host controller 10 includes a parallel / serial (P / S) conversion unit 15 that converts the compressed light emission amount data from the compression encoding unit 14 into a serial signal. The serial / parallel (S / P) conversion unit 25 converts the serial signal into a parallel signal. Other configurations and operations are the same as those of the light emitting device shown in FIG. By using serial connection in this way, the number of wires between the compression encoding unit 14 and the decoding / decompression processing unit 21 can be reduced. Moreover, it is preferable that the parallel / serial conversion unit 15 transmits the compressed light emission amount data in a differential format, and the serial / parallel conversion unit 25 receives the compressed light emission amount data in a differential format. In this case, noise resistance can be improved by transmitting the compressed light emission amount data through the twisted pair wiring.

(2)上述の実施形態では、発光量データを8ビットに圧縮する際に、量子化結果が256通りになるようにしていたが、8ビットの符号には、図13に示すように、例えば0 “00000000”[同図(A)]や、1“11111111” [同図(B)]のような直流バランスが偏るような符号パターンや、170 “10101010”[同図(C)]や、85“01010101”[同図(D)]のような消費電力や放射ノイズの増えるパターンがある。このため、これらを用いないようにしてもよい。この場合、上述の図7に示すフローにおいて、量子化結果がこれらを除いた252通りとなるように量子化ステップを決定し、上述の4つの符号以外の252個の符号を割り当てるようにしてもよい。これにより、直流バランスの改善、消費電力,放射ノイズの抑制に効果がある。   (2) In the above-described embodiment, when the light emission amount data is compressed to 8 bits, there are 256 quantization results. However, as shown in FIG. 0 “00000000” [Fig. (A)], 1 “11111111” [Fig. (B)], a code pattern with a biased DC balance, 170 “10101010” [Fig. (C)], There is a pattern of increasing power consumption and radiation noise, such as 85 “01010101” [(D) in FIG. For this reason, these may not be used. In this case, in the flow shown in FIG. 7 described above, the quantization step is determined so that there are 252 quantization results excluding these, and 252 codes other than the above four codes are assigned. Good. This is effective in improving DC balance, power consumption, and radiation noise.

より一般的には、圧縮発光量データDbのビット数をKとしたとき、2個の圧縮発光量データDbのうちN(2>N)個に量子化データDaを割り当て、量子化データDaの割り当てがない2−M個の圧縮発光量データDbには、そのビットパターンが割り当てのある圧縮発光量データDbのすべてのビットパターンと比較して周波数成分が高いものを含むように設定すればよい。例えば、“10101010”や“01010101”が量子化データDaの割り当てがない2−M個の圧縮発光量データDbに相当する。
また、圧縮発光量データDbのビット数をKとしたとき、量子化データDaの割り当てがない2−M個の圧縮発光量データDbには、そのビットパターンが割り当てのある圧縮発光量データDbのすべてのビットパターンと比較して周波数成分が低いものを含むように設定すればよい。例えば、“00000000”や11111111”が量子化データDaの割り当てがない2−M個の圧縮発光量データDbに相当する。
More generally, when the number of bits of the compressed light emitting amount data Db was the K, it assigns a quantized data Da to N (2 K> N) pieces of 2 K pieces of compressed emitting amount data Db, the quantized data set as the 2 K -M pieces of compressed emitting amount data Db allocation is not of Da, including those frequency components higher than the bit pattern with all bits pattern of the compressed light emitting amount data Db with assignment do it. For example, “10101010” and “01010101” correspond to 2 K− M compressed light emission amount data Db to which no quantization data Da is assigned.
Further, when the number of bits of the compressed light emission amount data Db is K, the 2K-M compressed light emission amount data Db to which the quantized data Da is not assigned includes the compressed light emission amount data Db to which the bit pattern is assigned. What is necessary is just to set so that a thing with a low frequency component may be included compared with all the bit patterns. For example, “00000000” and 11111111 correspond to 2 K− M compressed light emission amount data Db to which no quantization data Da is assigned.

(3)また、実際の補正データDhの値には発生頻度の分布があるため、発光量データDo1の値にも図14に示すように、発生頻度の分布が生じる。この分布に応じて、発生頻度の低い発光量データDo1の値に対応する符号を上述のような直流バランスが悪いあるいは消費電力,放射ノイズが増えるパターンの符号を割り当て、発生頻度の高い発光量データDoの値に直流バランスが良いあるいは消費電力,放射ノイズが減るパターンの符号を割り当てるようにしてもよい。これにより、全体として、直流バランスの改善、消費電力,放射ノイズの抑制に効果がある。
より一般的には、量子化データDaの取り得るN個の値を発生頻度順に並べたとき、圧縮発光量データDbの符号の割り当ては、発生頻度が低い量子化データDaほど、対応する圧縮発光量データDbのビットパターンの周波数成分が周波数分布の中心から離れるように設定すればよい。これにより、周波数の低いビットパターンである“00000000”や“11111111”、あるいは周波数の高いビットパターンである“10101010”や“01010101”の発生頻度を低減することができる。
(3) Since the actual correction data Dh has a distribution of occurrence frequencies, the emission frequency data Do1 also has a distribution of occurrence frequencies as shown in FIG. In accordance with this distribution, a code corresponding to the value of the light emission amount data Do1 having a low occurrence frequency is assigned a code having a pattern in which the DC balance is poor or power consumption and radiation noise increase as described above, and the light emission amount data having a high occurrence frequency is assigned. You may make it allocate the code | symbol of the pattern with which direct current | flow balance is good or power consumption and radiation noise reduce to the value of Do. This is effective in improving the DC balance, power consumption, and radiation noise as a whole.
More generally, when N possible values of the quantized data Da are arranged in the order of occurrence frequency, the code of the compressed light emission amount data Db is assigned to the corresponding compressed light emission as the quantized data Da has a lower occurrence frequency. What is necessary is just to set so that the frequency component of the bit pattern of quantity data Db may leave | separate from the center of frequency distribution. As a result, the frequency of occurrence of “00000000” and “11111111”, which are low frequency bit patterns, or “10101010” and “01010101”, which are high frequency bit patterns, can be reduced.

(4)上述した実施形態においては、補正演算部12と圧縮符号化部14とを個別に設けたが、図15に示すように、これらを一体として補正圧縮符号化部16を設けてもよい。
この場合、補正圧縮符号化部16はLUT17を備える。このLUT16は、4ビットの画像データDiおよび6ビットの補正データDhと、8ビットの圧縮発光量データDbとを対応付けて記憶している。補正圧縮符号化部16は、LUT17を参照して、画像データDiおよび補正データDhに対応する圧縮発光量データDbを読み出す。これにより、式(1)に示す補正演算処理、対数変換処理、量子化処理、および符号化処理を省略して、LUT17を参照するだけで圧縮発光量データDbを生成することが可能となる。
また、補正圧縮符号化部16を採用する場合にも、図16に示すようにパラレル/シリアル(P/S)変換部15およびシリアル/パラレル(S/P)変換部25を介して圧縮発光量データDbを伝送してもよい。
(4) In the above-described embodiment, the correction calculation unit 12 and the compression encoding unit 14 are provided separately. However, as shown in FIG. 15, the correction compression encoding unit 16 may be provided as a unit. .
In this case, the correction compression encoding unit 16 includes an LUT 17. The LUT 16 stores 4-bit image data Di, 6-bit correction data Dh, and 8-bit compressed light emission amount data Db in association with each other. The correction compression encoding unit 16 reads the compressed light emission amount data Db corresponding to the image data Di and the correction data Dh with reference to the LUT 17. Thereby, it is possible to generate the compressed light emission amount data Db by simply referring to the LUT 17 while omitting the correction calculation process, the logarithmic conversion process, the quantization process, and the encoding process shown in Expression (1).
Also, when the correction compression encoding unit 16 is employed, the compressed light emission amount via the parallel / serial (P / S) conversion unit 15 and the serial / parallel (S / P) conversion unit 25 as shown in FIG. Data Db may be transmitted.

<D.応用例>
図17は、上述のような発光装置を用いた画像形成装置の縦断面図である。この画像形成装置は、ベルト中間転写体方式を利用したタンデム型のフルカラー画像形成装置である。
<D. Application example>
FIG. 17 is a longitudinal sectional view of an image forming apparatus using the light emitting device as described above. This image forming apparatus is a tandem type full color image forming apparatus using a belt intermediate transfer body system.

この画像形成装置では、上述の光ヘッド20と同様な構成の4個の光ヘッド20K,20C,20M,20Yが、4個の感光体ドラム(像担持体)110K,110C,110M,110Yの露光位置にそれぞれ配置されている。   In this image forming apparatus, four optical heads 20K, 20C, 20M, and 20Y having the same configuration as the optical head 20 described above are exposed to four photosensitive drums (image bearing members) 110K, 110C, 110M, and 110Y. It is arranged at each position.

図17に示すように、この画像形成装置には、駆動ローラ121と従動ローラ122が設けられており、これらのローラ121,122には無端の中間転写ベルト120が巻回されて、矢印に示すようにローラ121,122の周囲を回転させられる。図示しないが、中間転写ベルト120に張力を与えるテンションローラなどの張力付与手段を設けてもよい。   As shown in FIG. 17, this image forming apparatus is provided with a driving roller 121 and a driven roller 122, and an endless intermediate transfer belt 120 is wound around these rollers 121 and 122, as indicated by arrows. Thus, the periphery of the rollers 121 and 122 is rotated. Although not shown, tension applying means such as a tension roller that applies tension to the intermediate transfer belt 120 may be provided.

この中間転写ベルト120の周囲には、互いに所定間隔をおいて4個の外周面に感光層を有する感光体ドラム110K,110C,110M,110Yが配置される。添え字K,C,M,Yはそれぞれ黒、シアン、マゼンタ、イエローの顕像を形成するために使用されることを意味している。他の部材についても同様である。感光体ドラム110K,110C,110M,110Yは、中間転写ベルト120の駆動と同期して回転駆動される。   Around the intermediate transfer belt 120, photosensitive drums 110K, 110C, 110M, and 110Y having photosensitive layers on four outer peripheral surfaces are arranged at predetermined intervals. The subscripts K, C, M, and Y mean that they are used to form black, cyan, magenta, and yellow visible images, respectively. The same applies to other members. The photosensitive drums 110K, 110C, 110M, and 110Y are rotationally driven in synchronization with the driving of the intermediate transfer belt 120.

各感光体ドラム110(K,C,M,Y)の周囲には、コロナ帯電器111(K,C,M,Y)と、光ヘッド20(K,C,M,Y)と、現像器114(K,C,M,Y)が配置されている。コロナ帯電器111(K,C,M,Y)は、対応する感光体ドラム110(K,C,M,Y)の外周面を一様に帯電させる。光ヘッド20(K,C,M,Y)は、感光体ドラムの帯電させられた外周面に静電潜像を書き込む。各光ヘッド20(K,C,M,Y)は、複数の発光素子21の配列方向が感光体ドラム110(K,C,M,Y)の母線(主走査方向)に沿うように設置される。静電潜像の書き込みは、上述の複数の発光素子21により光を感光体ドラムに照射することにより行う。現像器114(K,C,M,Y)は、静電潜像に現像剤としてのトナーを付着させることにより感光体ドラムに顕像すなわち可視像を形成する。   Around each photosensitive drum 110 (K, C, M, Y), there is a corona charger 111 (K, C, M, Y), an optical head 20 (K, C, M, Y), and a developing unit. 114 (K, C, M, Y) are arranged. The corona charger 111 (K, C, M, Y) uniformly charges the outer peripheral surface of the corresponding photosensitive drum 110 (K, C, M, Y). The optical head 20 (K, C, M, Y) writes an electrostatic latent image on the charged outer peripheral surface of the photosensitive drum. Each optical head 20 (K, C, M, Y) is installed such that the arrangement direction of the plurality of light emitting elements 21 is along the bus (main scanning direction) of the photosensitive drum 110 (K, C, M, Y). The The electrostatic latent image is written by irradiating the photosensitive drum with light by the plurality of light emitting elements 21 described above. The developing device 114 (K, C, M, Y) forms a visible image, that is, a visible image on the photosensitive drum by attaching toner as a developer to the electrostatic latent image.

このような4色の単色顕像形成ステーションにより形成された黒、シアン、マゼンタ、イエローの各顕像は、中間転写ベルト120上に順次一次転写されることにより、中間転写ベルト120上で重ね合わされて、この結果フルカラーの顕像が得られる。中間転写ベルト120の内側には、4つの一次転写コロトロン(転写器)112(K,C,M,Y)が配置されている。一次転写コロトロン112(K,C,M,Y)は、感光体ドラム110(K,C,M,Y)の近傍にそれぞれ配置されており、感光体ドラム110(K,C,M,Y)から顕像を静電的に吸引することにより、感光体ドラムと一次転写コロトロンの間を通過する中間転写ベルト120に顕像を転写する。   The black, cyan, magenta, and yellow developed images formed by the four-color single-color image forming station are sequentially transferred onto the intermediate transfer belt 120 to be superimposed on the intermediate transfer belt 120. As a result, a full-color visible image is obtained. Four primary transfer corotrons (transfer devices) 112 (K, C, M, Y) are arranged inside the intermediate transfer belt 120. The primary transfer corotron 112 (K, C, M, Y) is disposed in the vicinity of the photosensitive drum 110 (K, C, M, Y), and the photosensitive drum 110 (K, C, M, Y). The electrostatic image is electrostatically attracted from the toner image to transfer the visible image to the intermediate transfer belt 120 passing between the photosensitive drum and the primary transfer corotron.

最終的に画像を形成する対象としてのシート102は、ピックアップローラ103によって、給紙カセット101から1枚ずつ給送されて、駆動ローラ121に接した中間転写ベルト120と二次転写ローラ126の間のニップに送られる。中間転写ベルト120上のフルカラーの顕像は、二次転写ローラ126によってシート102の片面に一括して二次転写され、定着部である定着ローラ対127を通ることでシート102上に定着される。この後、シート102は、排紙ローラ対128によって、装置上部に形成された排紙カセット上へ排出される。   A sheet 102 as an object on which an image is to be finally formed is fed one by one from the sheet feeding cassette 101 by the pickup roller 103, and between the intermediate transfer belt 120 and the secondary transfer roller 126 in contact with the driving roller 121. Sent to the nip. The full-color visible image on the intermediate transfer belt 120 is secondarily transferred to one side of the sheet 102 by the secondary transfer roller 126 and fixed on the sheet 102 through the fixing roller pair 127 as a fixing unit. . Thereafter, the sheet 102 is discharged onto a paper discharge cassette formed in the upper part of the apparatus by a paper discharge roller pair 128.

図18は、本発明の実施の形態に係る他の画像形成装置の縦断面図である。この画像形成装置は、ベルト中間転写体方式を利用したロータリ現像式のフルカラー画像形成装置である。図18に示す画像形成装置において、上述の感光体ドラム110に相当する感光体ドラム(像担持体)165の周囲には、コロナ帯電器168、ロータリ式の現像ユニット161、光ヘッド20、中間転写ベルト169が設けられている。   FIG. 18 is a longitudinal sectional view of another image forming apparatus according to the embodiment of the present invention. This image forming apparatus is a rotary developing type full-color image forming apparatus using a belt intermediate transfer body system. In the image forming apparatus shown in FIG. 18, a corona charger 168, a rotary developing unit 161, an optical head 20, an intermediate transfer, and the like are disposed around a photosensitive drum (image carrier) 165 corresponding to the photosensitive drum 110 described above. A belt 169 is provided.

コロナ帯電器168は、感光体ドラム165の外周面を一様に帯電させる。上述と同様に構成された光ヘッド20は、感光体ドラム165の帯電させられた外周面に静電潜像を書き込む。複数の発光素子24の配列方向が感光体ドラム165の母線(主走査方向)に沿うように設置される。静電潜像の書き込みは、上記の複数の発光素子24により光を感光体ドラムに照射することにより行う。   The corona charger 168 uniformly charges the outer peripheral surface of the photosensitive drum 165. The optical head 20 configured in the same manner as described above writes an electrostatic latent image on the charged outer peripheral surface of the photosensitive drum 165. The plurality of light emitting elements 24 are arranged so that the arrangement direction thereof is along the bus line (main scanning direction) of the photosensitive drum 165. The electrostatic latent image is written by irradiating the photosensitive drum with light by the plurality of light emitting elements 24 described above.

現像ユニット161は、4つの現像器163Y,163C,163M,163Kが90°の角間隔をおいて配置されたドラムであり、軸161aを中心にして反時計回りに回転可能である。現像器163Y,163C,163M,163Kは、それぞれイエロー、シアン、マゼンタ、黒のトナーを感光体ドラム165に供給して、静電潜像に現像剤としてのトナーを付着させることにより感光体ドラム165に顕像すなわち可視像を形成する。   The developing unit 161 is a drum in which four developing units 163Y, 163C, 163M, and 163K are arranged at an angular interval of 90 °, and can rotate counterclockwise about the shaft 161a. The developing units 163Y, 163C, 163M, and 163K supply yellow, cyan, magenta, and black toners to the photosensitive drum 165, respectively, and attach the toner as a developer to the electrostatic latent image, thereby the photosensitive drum 165. A visible image, that is, a visible image is formed.

無端の中間転写ベルト169は、駆動ローラ170a、従動ローラ170b、一次転写ローラ166およびテンションローラに巻回されて、これらのローラの周囲を矢印に示す向きに回転させられる。一次転写ローラ166は、感光体ドラム165から顕像を静電的に吸引することにより、感光体ドラムと一次転写ローラ166の間を通過する中間転写ベルト169に顕像を転写する。   The endless intermediate transfer belt 169 is wound around a driving roller 170a, a driven roller 170b, a primary transfer roller 166, and a tension roller, and is rotated around these rollers in a direction indicated by an arrow. The primary transfer roller 166 transfers the visible image to the intermediate transfer belt 169 that passes between the photosensitive drum and the primary transfer roller 166 by electrostatically attracting the visible image from the photosensitive drum 165.

具体的には、感光体ドラム165の最初の1回転で、露光ヘッド20によりイエロー(Y)像のための静電潜像が書き込まれて現像器163Yにより同色の顕像が形成され、さらに中間転写ベルト169に転写される。また、次の1回転で、露光ヘッド20によりシアン(C)像のための静電潜像が書き込まれて現像器163Cにより同色の顕像が形成され、イエローの顕像に重なり合うように中間転写ベルト169に転写される。そして、このようにして感光体ドラム165が4回転する間に、イエロー、シアン、マゼンタ、黒の顕像が中間転写ベルト169に順次重ね合わせられ、この結果フルカラーの顕像が転写ベルト169上に形成される。最終的に画像を形成する対象としてのシートの両面に画像を形成する場合には、中間転写ベルト169に表面と裏面の同色の顕像を転写し、次に中間転写ベルト169に表面と裏面の次の色の顕像を転写する形式で、フルカラーの顕像を中間転写ベルト169上で得る。   Specifically, in the first rotation of the photosensitive drum 165, an electrostatic latent image for a yellow (Y) image is written by the exposure head 20, and a developed image of the same color is formed by the developing unit 163Y. The image is transferred to the transfer belt 169. Further, in the next rotation, an electrostatic latent image for a cyan (C) image is written by the exposure head 20 and a developed image of the same color is formed by the developing unit 163C, and an intermediate transfer is performed so as to overlap the yellow developed image. Transferred to the belt 169. Then, during the four rotations of the photosensitive drum 165, yellow, cyan, magenta, and black visible images are sequentially superimposed on the intermediate transfer belt 169. As a result, a full-color visible image is formed on the transfer belt 169. It is formed. When images are finally formed on both sides of a sheet as an object on which an image is to be formed, the same color images of the front and back surfaces are transferred to the intermediate transfer belt 169, and then the front and back surfaces are transferred to the intermediate transfer belt 169. A full-color visible image is obtained on the intermediate transfer belt 169 by transferring the visible image of the next color.

画像形成装置には、シートが通過させられるシート搬送路174が設けられている。シートは、給紙カセット178から、ピックアップローラ179によって1枚ずつ取り出され、搬送ローラによってシート搬送路174を進行させられ、駆動ローラ170aに接した中間転写ベルト169と二次転写ローラ171の間のニップを通過する。二次転写ローラ171は、中間転写ベルト169からフルカラーの顕像を一括して静電的に吸引することにより、シートの片面に顕像を転写する。二次転写ローラ171は、図示しないクラッチにより中間転写ベルト169に接近および離間させられるようになっている。そして、シートにフルカラーの顕像を転写する時に二次転写ローラ171は中間転写ベルト169に当接させられ、中間転写ベルト169に顕像を重ねている間は二次転写ローラ171から離される。   The image forming apparatus is provided with a sheet conveyance path 174 through which a sheet passes. The sheets are picked up one by one from the paper feed cassette 178 by the pick-up roller 179, advanced through the sheet transport path 174 by the transport roller, and between the intermediate transfer belt 169 and the secondary transfer roller 171 in contact with the drive roller 170a. Pass through the nip. The secondary transfer roller 171 transfers the developed image to one side of the sheet by electrostatically attracting a full-color developed image from the intermediate transfer belt 169 collectively. The secondary transfer roller 171 can be moved closer to and away from the intermediate transfer belt 169 by a clutch (not shown). The secondary transfer roller 171 is brought into contact with the intermediate transfer belt 169 when a full-color visible image is transferred onto the sheet, and is separated from the secondary transfer roller 171 while the visible image is superimposed on the intermediate transfer belt 169.

上記のようにして画像が転写されたシートは定着器172に搬送され、定着器172の加熱ローラ172aと加圧ローラ172bの間を通過させられることにより、シート上の顕像が定着する。定着処理後のシートは、排紙ローラ対176に引き込まれて矢印Fの向きに進行する。両面印刷の場合には、シートの大部分が排紙ローラ対176を通過した後、排紙ローラ対176が逆方向に回転させられ、矢印Gで示すように両面印刷用搬送路175に導入される。そして、二次転写ローラ171により顕像がシートの他面に転写され、再度定着器172で定着処理が行われた後、排紙ローラ対176でシートが排出される。   The sheet on which the image has been transferred as described above is conveyed to the fixing device 172 and is passed between the heating roller 172a and the pressure roller 172b of the fixing device 172, whereby the visible image on the sheet is fixed. The sheet after the fixing process is drawn into the discharge roller pair 176 and proceeds in the direction of arrow F. In the case of double-sided printing, after most of the sheet passes through the paper discharge roller pair 176, the paper discharge roller pair 176 is rotated in the reverse direction and introduced into the double-sided printing conveyance path 175 as indicated by an arrow G. The Then, the visible image is transferred to the other surface of the sheet by the secondary transfer roller 171, the fixing process is performed again by the fixing device 172, and then the sheet is discharged by the discharge roller pair 176.

上記の各画像形成装置は、上述の発光装置を用いており、量子化誤差を抑制しつつ、ホストコントローラ10と光ヘッド20の間で転送するデータ量を低減できるため、印刷品質の劣化を抑制しつつ動作の高速化に寄与することができる。また、上述の発光装置は、他の電子写真方式の画像形成装置にも応用することが可能であり、そのような画像形成装置は本発明の範囲内にある。例えば、中間転写ベルトを使用せずに感光体ドラムから直接シートに顕像を転写するタイプの画像形成装置や、モノクロの画像を形成する画像形成装置にも応用することが可能である。   Each of the image forming apparatuses described above uses the above-described light emitting device, and the amount of data transferred between the host controller 10 and the optical head 20 can be reduced while suppressing quantization error, thereby suppressing deterioration in print quality. However, it can contribute to speeding up of the operation. The light-emitting device described above can also be applied to other electrophotographic image forming apparatuses, and such image forming apparatuses are within the scope of the present invention. For example, the present invention can be applied to an image forming apparatus that transfers a visible image directly from a photosensitive drum to a sheet without using an intermediate transfer belt, and an image forming apparatus that forms a monochrome image.

本発明の実施形態に係る発光装置の要部の構成を示すブロック図である。It is a block diagram which shows the structure of the principal part of the light-emitting device which concerns on embodiment of this invention. 画像データDi,補正データDhと発光量データDo1の関係を示す図である。It is a figure which shows the relationship between the image data Di, the correction data Dh, and the light emission amount data Do1. 画像データDiに対する発光量データDo1の分布を示す図である。It is a figure which shows distribution of the light emission amount data Do1 with respect to image data Di. 圧縮符号化部14の詳細な構成を示すブロック図である。3 is a block diagram illustrating a detailed configuration of a compression encoding unit 14. FIG. 発光量データDo1と圧縮光量データDbの関係を示す図である。It is a figure which shows the relationship between the light emission amount data Do1 and the compression light quantity data Db. 光ヘッド20側のLUT22の記憶内容を示す図である。FIG. 4 is a diagram showing the contents stored in an LUT 22 on the optical head 20 side. 量子化ステップの決定処理を示すフローチャートである。It is a flowchart which shows the determination process of a quantization step. 決定された量子化ステップに応じて量子化された発光量データを示す図である。It is a figure which shows the light emission amount data quantized according to the determined quantization step. 異なる圧縮方法で符号化した際の発光量データの分布を示す図である。It is a figure which shows distribution of the light emission amount data at the time of encoding with a different compression method. 異なる圧縮方法で符号化した際の発光量データの分布を示す図である。It is a figure which shows distribution of the light emission amount data at the time of encoding with a different compression method. 異なる圧縮方法で符号化した際の相対的量子化ステップの分布を示す図である。It is a figure which shows distribution of the relative quantization step at the time of encoding with a different compression method. 変形例に係る発光装置の要部の構成を示すブロック図である。It is a block diagram which shows the structure of the principal part of the light-emitting device which concerns on a modification. 割り当てを考慮する符号の例を示す図である。It is a figure which shows the example of the code | symbol which considers allocation. 発光量データの値の発生頻度を示す図である。It is a figure which shows the generation frequency of the value of light emission amount data. 変形例に係る発光装置の要部の構成を示すブロック図である。It is a block diagram which shows the structure of the principal part of the light-emitting device which concerns on a modification. 変形例に係る発光装置の要部の構成を示すブロック図である。It is a block diagram which shows the structure of the principal part of the light-emitting device which concerns on a modification. 本発明の実施の形態に係る画像形成装置の縦断面図である。1 is a longitudinal sectional view of an image forming apparatus according to an embodiment of the present invention. 本発明の実施の形態に係る別の画像形成装置の縦断面図である。It is a longitudinal cross-sectional view of another image forming apparatus according to the embodiment of the present invention.

符号の説明Explanation of symbols

10……ホストコントローラ、11……補正値メモリ、12……補正演算部、14……圧縮符号化部、15……P/S変換部、20……光ヘッド、21……復号化伸張処理部、22……LUT、23……定電流ドライバ、24……発光素子、25……S/P変換部。   DESCRIPTION OF SYMBOLS 10 ... Host controller, 11 ... Correction value memory, 12 ... Correction calculating part, 14 ... Compression encoding part, 15 ... P / S conversion part, 20 ... Optical head, 21 ... Decoding expansion process , 22... LUT, 23... Constant current driver, 24... Light emitting element, 25.

Claims (12)

制御装置と複数の発光素子を備える光ヘッドとの間で伝送するデータを生成するデータ生成方法であって、
前記複数の発光素子の光量のばらつきを補正するための補正データと画像データとに基づいて、所定の演算を実行してM(Mは自然数)個の値を取り得る発光量データを生成し、
前記発光量データを対数変換して対数変換データを生成し、
前記対数変換データを量子化して得られるデータの取り得る個数がN(Nは自然数、N<M)個となるように量子化ステップを定めて、前記対数変換データを量子化して量子化データを生成し、
前記量子化データのN個の各値に符号を割り当てて圧縮データを生成する、
ことを特徴とするデータ生成方法。
A data generation method for generating data to be transmitted between a control device and an optical head including a plurality of light emitting elements,
Based on correction data and image data for correcting variations in the amount of light of the plurality of light emitting elements, a predetermined calculation is performed to generate light emission amount data that can take M (M is a natural number) values,
Logarithmically convert the light emission amount data to generate logarithmically converted data;
The quantization step is determined so that the number of data obtained by quantizing the logarithmically transformed data can be N (N is a natural number, N <M), and the logarithmically transformed data is quantized to obtain quantized data. Generate
Assigning a code to each of the N values of the quantized data to generate compressed data;
A data generation method characterized by the above.
前記画像データはi(iは自然数)ビットのデータであり、
前記補正データはj(jは自然数)ビットのデータであり、
前記所定の演算は、Mが、M<2(i+j)となるものであること
を特徴とする請求項1に記載のデータ生成方法。
The image data is i (i is a natural number) bit data,
The correction data is j (j is a natural number) bit data,
The data generation method according to claim 1, wherein the predetermined calculation is such that M satisfies M <2 (i + j) .
前記圧縮データのビット数をK(Kは自然数)としたとき、2>Nであり、
個の前記圧縮データのうちN個に前記量子化データを割り当て、
前記量子化データの割り当てがない2−M個の前記圧縮データには、そのビットパターンが割り当てのある前記圧縮データのビットパターンと比較して周波数成分が高いものを含む、
ことを特徴とする請求項1または2に記載のデータ生成方法。
When the number of bits of the compressed data is K (K is a natural number), 2 K > N,
Assigning the quantized data to N of the 2 K compressed data;
To 2 K -M pieces of the compressed data assignment is not the quantized data, including those frequency components higher than the bit pattern with the bit pattern of the compressed data with assignment,
The data generation method according to claim 1 or 2, characterized in that
前記圧縮データのビット数をK(Kは自然数)としたとき、2>Nであり、
個の前記圧縮データのうちN個に前記量子化データを割り当て、
前記量子化データの割り当てがない2−M個の前記圧縮データには、そのビットパターンが割り当てのある前記圧縮データのビットパターンと比較して周波数成分が低いものを含む、
ことを特徴とする請求項1または2に記載のデータ生成方法。
When the number of bits of the compressed data is K (K is a natural number), 2 K > N,
Assigning the quantized data to N of the 2 K compressed data;
Wherein the 2 K -M number assignment is not the quantized data to the compressed data, including those frequency components lower than the bit pattern with the bit pattern of the compressed data with assignment,
The data generation method according to claim 1 or 2, characterized in that
前記量子化データの取り得るN個の値を発生頻度順に並べたとき、前記圧縮データの符号の割り当ては、発生頻度が低い量子化データほど、対応する圧縮データのビットパターンの周波数成分が周波数分布の中心から離れるように設定することを特徴とする請求項1または2に記載のデータ生成方法。   When N values that can be taken by the quantized data are arranged in the order of occurrence frequency, the compressed data code is assigned to the frequency data of the frequency component of the bit pattern of the corresponding compressed data as the quantized data has a lower occurrence frequency. The data generation method according to claim 1, wherein the data generation method is set so as to be away from the center of the data. 複数の発光素子を備える光ヘッドを制御する制御装置であって、
前記複数の発光素子の光量のばらつきを補正するための補正データと画像データとに基づいて、所定の演算を実行してM(Mは自然数)個の値を取り得る発光量データを生成する補正演算部と、
前記発光量データを対数変換して対数変換データを生成する対数変換部と、
前記対数変換データを量子化して得られるデータの取り得る個数がN(Nは自然数、N<M)個となるように量子化ステップを定めて、前記対数変換データを量子化して量子化データを生成する量子化部と、
前記量子化データのN個の各値に符号を割り当てて圧縮データを生成して前記光ヘッドに出力する符号化部とを、
備える制御装置。
A control device for controlling an optical head comprising a plurality of light emitting elements,
Correction for generating light emission amount data that can take M (M is a natural number) values by executing a predetermined calculation based on correction data and image data for correcting variations in light amounts of the plurality of light emitting elements. An arithmetic unit;
A logarithmic conversion unit for logarithmically converting the light emission amount data to generate logarithmic conversion data;
The quantization step is determined so that the number of data obtained by quantizing the logarithmically transformed data can be N (N is a natural number, N <M), and the logarithmically transformed data is quantized to obtain quantized data. A quantizer to generate;
An encoding unit that assigns a code to each of the N values of the quantized data, generates compressed data, and outputs the compressed data to the optical head;
A control device provided.
前記圧縮データのビット数をK(Kは自然数)としたとき、2>Nであり、
前記符号化部は、
個の前記圧縮データのうちN個に前記量子化データを割り当て、
前記量子化データの割り当てがない2−M個の前記圧縮データには、そのビットパターンが割り当てのある前記圧縮データのビットパターンと比較して周波数成分が高いものを含む、
ことを特徴とする請求項6に記載の制御装置。
When the number of bits of the compressed data is K (K is a natural number), 2 K > N,
The encoding unit includes:
Assigning the quantized data to N of the 2 K compressed data;
To 2 K -M pieces of the compressed data assignment is not the quantized data, including those frequency components higher than the bit pattern with the bit pattern of the compressed data with assignment,
The control apparatus according to claim 6.
前記圧縮データのビット数をK(Kは自然数)としたとき、2>Nであり、
前記符号化部は、
個の前記圧縮データのうちN個に前記量子化データを割り当て、
前記量子化データの割り当てがない2−M個の前記圧縮データには、そのビットパターンが割り当てのある前記圧縮データのビットパターンと比較して周波数成分が低いものを含む、
ことを特徴とする請求項6に記載の制御装置。
When the number of bits of the compressed data is K (K is a natural number), 2 K > N,
The encoding unit includes:
Assigning the quantized data to N of the 2 K compressed data;
Wherein the 2 K -M number assignment is not the quantized data to the compressed data, including those frequency components lower than the bit pattern with the bit pattern of the compressed data with assignment,
The control apparatus according to claim 6.
前符号化部は、前記量子化データの取り得るN個の値を発生頻度順に並べたとき、前記圧縮データの符号の割り当ては、発生頻度が低い量子化データほど、対応する圧縮データのビットパターンの周波数成分が周波数分布の中心から離れるように設定することを特徴とする請求項6に記載の制御装置。   When the pre-encoding unit arranges N possible values of the quantized data in the order of occurrence frequency, the code assignment of the compressed data is such that the quantized data having the lower occurrence frequency has a bit pattern corresponding to the compressed data. The control device according to claim 6, wherein the frequency component is set so as to be away from the center of the frequency distribution. 複数の発光素子を備える光ヘッドを制御する制御装置であって、
前記複数の発光素子の光量のばらつきを補正するための補正データと画像データとに基づいて、所定の演算を実行してM(Mは自然数)個の値を取り得る発光量データを生成する補正演算部と、
前記発光量データをN(Nは自然数、N<M)個の値を取り得る圧縮データに変換する圧縮部とを備え、
前記圧縮部は、前記発光量データの各値と前記圧縮データの各値とを対応付けて記憶した記憶部を備え、前記補正演算部で生成された前記発光量データに基づいて前記記憶部を参照して前記圧縮データを生成し、
前記記憶部に記憶される前記圧縮データは、前記発光量データを対数変換して対数変換データを生成し、前記対数変換データを量子化して得られるデータの取り得る個数がN個となるように量子化ステップを定めて、前記対数変換データを量子化して量子化データを生成し、前記量子化データのN個の各値に符号を割り当てて生成されたものである、
ことを特徴とする制御装置。
A control device for controlling an optical head comprising a plurality of light emitting elements,
Correction for generating light emission amount data that can take M (M is a natural number) values by executing a predetermined calculation based on correction data and image data for correcting variations in light amounts of the plurality of light emitting elements. An arithmetic unit;
A compression unit that converts the light emission amount data into compressed data that can take N (N is a natural number, N <M) values;
The compression unit includes a storage unit that stores each value of the light emission amount data and each value of the compression data in association with each other, and stores the storage unit based on the light emission amount data generated by the correction calculation unit. Generating the compressed data with reference to,
The compressed data stored in the storage unit generates logarithmically converted data by logarithmically converting the light emission amount data, and the number of data obtained by quantizing the logarithmically converted data is N. A quantization step is determined, the logarithmically transformed data is quantized to generate quantized data, and a code is assigned to each of the N values of the quantized data.
A control device characterized by that.
複数の発光素子を備える光ヘッドを制御する制御装置であって、
前記複数の発光素子の各々で表示すべき階調を指定する画像データに、前記複数の発光素子の光量のばらつきを補正する処理を施し、且つ、データ量を圧縮する処理を施した圧縮データを生成する補正圧縮部と、
前記複数の発光素子の光量のばらつきを補正するための補正データを記憶した補正データ記憶部とを備え、
前記補正圧縮部は、
前記画像データの各値および前記補正データの各値と前記圧縮データの各値とを対応付けて記憶した圧縮データ記憶部を有し、前記画像データおよび前記補正データ記憶手段から読み出した前記補正データに基づいて、前記圧縮データ記憶部を参照して、前記圧縮データを生成し、
前記圧縮データは、
前記補正データと前記画像データとに基づいて、所定の演算を実行してM(Mは自然数)個の値を取り得る発光量データを生成し、前記発光量データを対数変換して対数変換データを生成し、前記対数変換データを量子化して得られるデータの取り得る個数がN個となるように量子化ステップを定めて、前記対数変換データを量子化して量子化データを生成し、前記量子化データのN個の各値に符号を割り当てて生成されたものである、
ことを特徴とする制御装置。
A control device for controlling an optical head comprising a plurality of light emitting elements,
Compressed data that has been subjected to processing for correcting variations in the amount of light of the plurality of light emitting elements and processing for compressing the amount of data is performed on the image data that specifies the gradation to be displayed by each of the plurality of light emitting elements. A correction compression unit to be generated;
A correction data storage unit that stores correction data for correcting variations in light quantity of the plurality of light emitting elements,
The correction compression unit
The correction data read out from the image data and the correction data storage means, having a compressed data storage unit that stores each value of the image data and each value of the correction data and each value of the compressed data And generating the compressed data with reference to the compressed data storage unit,
The compressed data is
Based on the correction data and the image data, a predetermined calculation is performed to generate light emission amount data that can take M (M is a natural number) values, and the light emission amount data is logarithmically converted to logarithmically converted data. The quantization step is determined so that the number of data obtained by quantizing the logarithmically transformed data is N, and the logarithmically transformed data is quantized to generate quantized data. Generated by assigning a code to each of the N values of the data.
A control device characterized by that.
制御装置と複数の発光素子を備える光ヘッドとを備えた発光装置であって、
前記制御装置は、
前記複数の発光素子の光量のばらつきを補正するための補正データと前記画像データとに基づいて、所定の演算を実行してM(Mは自然数)個の値を取り得る発光量データを生成する補正演算部と、
前記発光量データを対数変換して対数変換データを生成する対数変換部と、
前記対数変換データを量子化して得られるデータの取り得る個数がN(Nは自然数、N<M)個となるように量子化ステップを定めて、前記対数変換データを量子化して量子化データを生成する量子化部と、
前記量子化データのN個の各値に符号を割り当てて圧縮データを生成して前記光ヘッドに出力する符号化部とを備え、
前記光ヘッドは、
受信した前記圧縮データを伸張して前記発光量データを復号する復号化伸張部と、
復号した前記発光量データに基づいて前記複数の発光素子を駆動する駆動部とを備える、
ことを特徴とする発光装置。
A light emitting device comprising a control device and an optical head comprising a plurality of light emitting elements,
The controller is
Based on the correction data for correcting the variation in the light amount of the plurality of light emitting elements and the image data, a predetermined calculation is executed to generate light emission amount data that can take M (M is a natural number) values. A correction calculation unit;
A logarithmic conversion unit for logarithmically converting the light emission amount data to generate logarithmic conversion data;
The quantization step is determined so that the number of data obtained by quantizing the logarithmically transformed data can be N (N is a natural number, N <M), and the logarithmically transformed data is quantized to obtain quantized data. A quantization unit to be generated;
An encoding unit that assigns a code to each of the N values of the quantized data, generates compressed data, and outputs the compressed data to the optical head;
The optical head is
A decryption / decompression unit that decompresses the received compressed data and decrypts the light emission amount data;
A drive unit that drives the plurality of light emitting elements based on the decoded light emission amount data;
A light emitting device characterized by that.
JP2006267589A 2006-09-29 2006-09-29 Data generating method, control unit, and light-emitting device Withdrawn JP2008087199A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006267589A JP2008087199A (en) 2006-09-29 2006-09-29 Data generating method, control unit, and light-emitting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006267589A JP2008087199A (en) 2006-09-29 2006-09-29 Data generating method, control unit, and light-emitting device

Publications (1)

Publication Number Publication Date
JP2008087199A true JP2008087199A (en) 2008-04-17

Family

ID=39371865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006267589A Withdrawn JP2008087199A (en) 2006-09-29 2006-09-29 Data generating method, control unit, and light-emitting device

Country Status (1)

Country Link
JP (1) JP2008087199A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016027686A (en) * 2014-07-01 2016-02-18 日本電信電話株式会社 Optical transmission system and signal transmission method
CN107175297A (en) * 2017-07-18 2017-09-19 苏州春秋电子科技股份有限公司 The hot shaping method of the steep radian of magnesium lithium alloy notebook computer casing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016027686A (en) * 2014-07-01 2016-02-18 日本電信電話株式会社 Optical transmission system and signal transmission method
CN107175297A (en) * 2017-07-18 2017-09-19 苏州春秋电子科技股份有限公司 The hot shaping method of the steep radian of magnesium lithium alloy notebook computer casing

Similar Documents

Publication Publication Date Title
KR100497480B1 (en) Color image forming machine
CN103149812B (en) Image processing system and tone correcting method thereof
US7550702B2 (en) Electro optical device, method for correcting light intensity of an electro optical element, and electronic apparatus
JP4337804B2 (en) LIGHT EMITTING DEVICE, DRIVE CIRCUIT, DRIVE METHOD, AND ELECTRONIC DEVICE
JP2993411B2 (en) Image forming device
US20200073607A1 (en) Image forming apparatus and image forming method
JP2009229836A (en) Image forming device
JP2008087199A (en) Data generating method, control unit, and light-emitting device
JP4360375B2 (en) Electro-optical device, electronic apparatus, and driving method
US20040208379A1 (en) Image processing apparatus that adjusts image size to make image divisible into tiles
US20110076039A1 (en) Image-processing device, image-forming apparatus, image-processing method, and computer-readable medium
US7511844B2 (en) Image forming device and image forming method
JP2008087196A (en) Optical head driving method, optical head control system, exposure system, and image forming system
JP5079065B2 (en) Color image processing apparatus and program
JP2007279238A (en) Image forming apparatus and image forming method
JP2019153829A (en) Color image forming apparatus and color material cartridge
JP5720149B2 (en) Image processing apparatus, image forming apparatus, image processing method, and density adjustment control program
US11960218B2 (en) Image forming and correction apparatus
US11675287B1 (en) Hierarchical linear LED printhead system
US11726416B1 (en) Hierarchical linear LED printhead design
JP2008087429A (en) Line head, image forming apparatus using it, and line head controlling method
JPH0537782A (en) Image forming device
JP2009116148A (en) Light emitting device and electronic equipment
JP2007086662A (en) Image forming apparatus
JP2015018185A (en) Communication system, write apparatus, image forming apparatus, and communication method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20091201