JP2883785B2 - Optical scanning device - Google Patents

Optical scanning device

Info

Publication number
JP2883785B2
JP2883785B2 JP16438893A JP16438893A JP2883785B2 JP 2883785 B2 JP2883785 B2 JP 2883785B2 JP 16438893 A JP16438893 A JP 16438893A JP 16438893 A JP16438893 A JP 16438893A JP 2883785 B2 JP2883785 B2 JP 2883785B2
Authority
JP
Japan
Prior art keywords
state
pixel clock
pixel
integers
division ratio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP16438893A
Other languages
Japanese (ja)
Other versions
JPH0720394A (en
Inventor
宣之 加藤
敦 久保田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP16438893A priority Critical patent/JP2883785B2/en
Publication of JPH0720394A publication Critical patent/JPH0720394A/en
Application granted granted Critical
Publication of JP2883785B2 publication Critical patent/JP2883785B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Laser Beam Printer (AREA)
  • Mechanical Optical Scanning Systems (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、複写機やレーザプリン
タ等において露光装置に使用する光走査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical scanning device used as an exposure device in a copying machine, a laser printer, or the like.

【0002】[0002]

【従来の技術】例えばレーザプリンタに使用する光走査
装置はレーザ光を偏向走査して感光面に照射するように
なっているが、このような光走査装置では主走査・副走
査像面湾曲、走査線湾曲、fθ補正、面倒れ等の各光学
収差の補正を純光学的に行うことが一般的で、複数枚の
fθレンズと面倒れ補正シリンダー状レンズを組合わせ
る構造が知られている。また光学系を簡単にするため、
fθレンズを使用せずに楕円筒ポリゴンミラーと両面非
球面補正レンズの組合わせで光学収差補正を行うものも
知られている。
2. Description of the Related Art For example, an optical scanning device used for a laser printer deflects and scans a laser beam to irradiate a photosensitive surface. In general, correction of each optical aberration such as scanning line curvature, fθ correction, and surface tilt is performed purely optically, and a structure in which a plurality of fθ lenses and a surface tilt correction cylindrical lens are combined is known. Also, to simplify the optical system,
There is also known a device that performs optical aberration correction by using a combination of an elliptic cylindrical polygon mirror and a double-sided aspherical correction lens without using an fθ lens.

【0003】また光学収差のうち、fθ誤差(レーザ光
を一定角速度で走査した場合に走査面上でのレーザ光の
走査速度が走査位置によって変化するため、画素の間隔
が一定にならないという誤差)については電気的補正に
より行い、その他の収差を光学的に補正するものも知ら
れている。
Among the optical aberrations, fθ error (error that the interval between pixels is not constant because the scanning speed of the laser beam on the scanning surface changes depending on the scanning position when the laser beam is scanned at a constant angular velocity) There is also known a device that performs electrical correction and optically corrects other aberrations.

【0004】例えば特開平2−131212号公報のも
のは、図10に示すように、半導体レーザ1からの発散
レーザ光をコリメータレンズ2で収束又は平行光束に修
正し、その修正したレーザ光をシリンドリカルレンズ3
を介してポリゴンミラー4に照射して偏向走査し、その
偏向光をトロイダルレンズ5を介して折り返しミラー
6,7で反射させて感光体ドラム8上に集光させ、主走
査ライン9上を走査させる場合に、主走査ライン9にお
いて、中心部から端部にわたって走査速度に差が生じる
ため、すなわち中央部に比べて端部の走査速度が大きく
なるため、等時的なタイミングで露光したのではドット
ピッチにばらつきが生じる。
For example, in Japanese Unexamined Patent Publication No. 2-131212, as shown in FIG. 10, a divergent laser beam from a semiconductor laser 1 is corrected into a convergent or parallel light beam by a collimator lens 2, and the corrected laser beam is cylindrically reflected. Lens 3
Irradiates the polygon mirror 4 via the torsion mirror 5 and deflects and scans the light. The deflected light is reflected by the return mirrors 6 and 7 via the toroidal lens 5 and condensed on the photosensitive drum 8 to scan the main scanning line 9 In this case, since the scanning speed is different from the center to the end in the main scanning line 9, that is, the scanning speed at the end is higher than that at the center, the exposure may be performed at an isochronous timing. The dot pitch varies.

【0005】そこで主走査ライン9の全領域を中央で二
分し、それぞれの半分の領域を図11に示すようにa〜
gの7ブロックに分割し、各ブロックa〜gにおいて印
字クロックの10倍の基準クロックの10パルス分で1
ドットを構成する部分と9パルス分で1ドットを構成す
る部分との比率を変化させて、端部になるに従ってドッ
ト印字タイミングを早め、それにより巨視的に中央部か
ら端部にわたって印字間隔が均一になるようにし電気的
にfθ誤差の補正を行うようにしている。
Therefore, the entire area of the main scanning line 9 is bisected at the center, and half of each area is divided into a to a as shown in FIG.
g is divided into 7 blocks, and in each of the blocks a to g, 10 pulses of the reference clock, which is 10 times the print clock, correspond to 1 pulse.
By changing the ratio of the portion forming a dot and the portion forming one dot with 9 pulses, the dot printing timing is advanced as it approaches the end, so that the printing interval is macroscopically uniform from the center to the end. So that the fθ error is electrically corrected.

【0006】そしてこのようなドット印字タイミングを
決めるfθ誤差補正用パルス幅データをROMに記憶
し、1走査毎にROMからfθ誤差補正用パルス幅デー
タを読出し、そのデータに基づくタイミングで文字制御
クロック(画素クロック)を発生してレーザ光をオン、
オフ制御するようになっている。
[0006] The fθ error correction pulse width data for determining the dot printing timing is stored in the ROM, the fθ error correction pulse width data is read from the ROM for each scan, and a character control clock is generated at a timing based on the data. (Pixel clock) to turn on the laser light,
It is turned off.

【0007】[0007]

【発明が解決しようとする課題】しかしこの公報のもの
は、解像度に対する対策が何等講じられていないので、
複数の解像度を選択して使用できる装置には適用できな
かった。まして複写機で要求される解像度の連続的な変
化には全く対応できなかった。
However, this publication does not take any measures against the resolution.
It cannot be applied to an apparatus that can use a plurality of resolutions. Furthermore, it could not cope with a continuous change in resolution required for a copying machine.

【0008】そこで本発明は、電気的にfθ誤差の補正
を行うものにおいて、あらゆる解像度に応じてfθ誤差
補正のための画素クロックの発生タイミングを制御で
き、汎用性を向上できる光走査装置を提供する。
Accordingly, the present invention provides an optical scanning device which electrically corrects an fθ error, in which the generation timing of a pixel clock for the fθ error correction can be controlled according to any resolution, and the versatility can be improved. I do.

【0009】[0009]

【課題を解決するための手段】請求項1対応の発明は、
画素クロック発生手段から発生する画素クロックのタイ
ミングで記録情報に基づいてレーザ光をオン、オフ制御
し、そのレーザ光で感光面を走査して情報をドット記録
する光走査装置において、画素クロック発生手段は、画
素クロックのもとになる基準クロックを発生する基準ク
ロック発生手段と、少なくとも画素クロック周期に対応
する数値T0 とこの数値T0 の時間微分に対応する数値
T1 を記憶する記憶手段と、レーザ光の走査幅中央での
画素クロック周期に対応する定数A及び前記記憶手段に
記憶した数値T0 ,T1 を用いて、T1 =T1 +2A−
4T0 及びT0 =T0 +T1 を算出し、この計算結果に
基づいて記憶手段の数値T0 ,T1 を更新する演算手段
と、記憶手段の数値T0 を分周比とし、その分周比で基
準クロック発生手段からの基準クロックを分周して画素
クロックを発生する可変分周手段とからなるものであ
る。
The invention corresponding to claim 1 is:
In an optical scanning device that controls on / off of a laser beam based on recording information at a timing of a pixel clock generated from a pixel clock generating unit and scans a photosensitive surface with the laser beam to dot-record information, the pixel clock generating unit A reference clock generating means for generating a reference clock serving as a source of a pixel clock; a storage means for storing at least a numerical value T0 corresponding to a pixel clock cycle and a numerical value T1 corresponding to a time derivative of the numerical value T0; T1 = T1 + 2A- using a constant A corresponding to the pixel clock cycle at the center of the scanning width of the above and the numerical values T0 and T1 stored in the storage means.
4T0 and T0 = T0 + T1, calculating means for updating the numerical values T0, T1 of the storing means based on the calculation result, and using the numerical value T0 of the storing means as a dividing ratio, and using the dividing ratio as a reference clock generating means. And a variable frequency dividing means for generating a pixel clock by dividing the frequency of the reference clock.

【0010】請求項2対応の発明は、請求項1対応の発
明において、1画素当たりのビームの振れ角の逆数をs
hとしたとき、数値T0 、T1 を、整数部を示す整数t
0 、t1 と小数部を示す整数s0 、s1 を使用して、T
0 =t0 +s0 /sh及びT1 =t1 +s1 /shの関
係式で示し、記憶手段は数値T0 ,T1 に代えて整数t
0 ,t1 ,s0 ,s1 を記憶し、演算手段は数値T0 ,
T1 に代えて整数t0,t1 ,s0 ,s1 を更新し、分
周比(t0 +s0 /sh)を更新する毎に整数s0 を累
積する累積手段を設け、この累積手段の累積値がsh/
2よりも大きくなるとt0 を+1して累積値からshを
減算し、累積値がsh/2よりも小さくなるとt0 を−
1して累積値にshを加算するものである。
According to a second aspect of the present invention, in the first aspect, the reciprocal of the beam deflection angle per pixel is represented by s.
h, the numerical values T0 and T1 are converted to an integer t representing an integer part.
Using 0, t1 and integers s0, s1 indicating the fractional part, T
0 = t0 + s0 / sh and T1 = t1 + s1 / sh, and the storage means is an integer t instead of the numerical values T0 and T1.
0, t1, s0, s1 are stored, and the calculating means is a numerical value T0,
Integers t0, t1, s0, and s1 are updated in place of T1, and accumulating means for accumulating the integer s0 every time the frequency division ratio (t0 + s0 / sh) is updated is provided.
If it becomes larger than 2, t0 is incremented by 1 and sh is subtracted from the accumulated value. If the accumulated value becomes smaller than sh / 2, t0 is subtracted from -2.
Then, 1 is added to the accumulated value.

【0011】[0011]

【作用】請求項1対応の発明においては、レーザ光の走
査幅中央での画素クロック周期に対応する定数A及び記
憶手段に記憶した数値T0 ,T1 を用いて、T1 =T1
+2A−4T0 及びT0 =T0 +T1 を算出し、算出し
た数値T0 を分周比として基準クロック発生手段からの
基準クロックを分周して画素クロックを発生する。ま
た、記憶手段の数値T0 ,T1 をT1 =T1 +2A−4
T0 及びT0 =T0+T1 の結果に基づいて更新する。
そしてこれを走査する各画素毎に行ってfθ誤差を補正
する。
According to the first aspect of the present invention, T1 = T1 using the constant A corresponding to the pixel clock cycle at the center of the scanning width of the laser beam and the numerical values T0 and T1 stored in the storage means.
+ 2A-4T0 and T0 = T0 + T1 are calculated, and a pixel clock is generated by dividing the reference clock from the reference clock generating means using the calculated numerical value T0 as a division ratio. Further, the numerical values T0 and T1 of the storage means are expressed as T1 = T1 + 2A-4.
Update based on the result of T0 and T0 = T0 + T1.
This is performed for each pixel to be scanned to correct the fθ error.

【0012】また請求項2対応の発明においては、1画
素当たりのビームの振れ角の逆数をshとしたとき、数
値T0 、T1 を、整数部を示す整数t0 、t1 と小数部
を示す整数s0 、s1 を使用して、T0 =t0 +s0 /
sh及びT1 =t1 +s1 /shの関係式で示し、(t
0 +s0 /sh)を分周比として基準クロック発生手段
からの基準クロックを分周して画素クロックを発生す
る。また、記憶手段の整数t0 ,t1 ,s0 ,s1 をT
1 =T1 +2A−4T0 及びT0 =T0 +T1 の結果に
基づいて更新する。さらに整数t0 ,t1 ,s0 ,s1
の更新により分周比(t0 +s0 /sh)を更新する毎
に整数s0 を累積し、この累積値がsh/2よりも大き
くなるとt0 を+1して累積値からshを減算し、この
累積値がsh/2よりも小さくなるとt0 を−1して累
積値にshを加算する。これにより小数部が毎回の計算
で切り捨てられることによって生じる誤差を補正する。
In the invention corresponding to claim 2, when the reciprocal of the beam deflection angle per pixel is sh, the numerical values T0 and T1 are represented by integers t0 and t1 representing integer parts and an integer s0 representing decimal parts. , S1, T0 = t0 + s0 /
sh and the relational expression of T1 = t1 + s1 / sh, where (t
(0 + s0 / sh) is used as the dividing ratio to divide the reference clock from the reference clock generating means to generate a pixel clock. Further, the integers t0, t1, s0, and s1 of the storage means are represented by T
Update based on the results of 1 = T1 + 2A-4T0 and T0 = T0 + T1. Further, integers t0, t1, s0, s1
The integer s0 is accumulated every time the frequency division ratio (t0 + s0 / sh) is updated by the update of .t0. When the accumulated value becomes larger than sh / 2, t0 is incremented by 1, and sh is subtracted from the accumulated value. Is smaller than sh / 2, t0 is decremented by 1, and sh is added to the accumulated value. This corrects the error caused by the fractional part being truncated in each calculation.

【0013】[0013]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0014】図1及び図2は光走査装置本体の構成を示
し、この装置本体は、半導体レーザ発振器11からのレ
ーザ光を収束レンズ12で発散気味の光束に変換させた
後スリット13で円形のビームに成形し、そのビームを
反射ミラー14に反射させ直角に光路を変更させた後、
スキャナモータ15のロータ15aの回転軸15b上に
配置されている直角プリズム16の2つの45°反射面
に照射させている。すなわち前記直角プリズム16は、
互いに直交する2つの面を反射面としている。そしてこ
の2つの反射面に挟まれた長方形の面の中心をスキャナ
モータ15の回転軸15bに合わせて配置し、反射ミラ
ー14からの反射光をスキャナモータ15の回転軸15
bから数mm程度離れた位置にその回転軸15bに平行に
入射している。
FIGS. 1 and 2 show the structure of an optical scanning device main body. This device main body converts a laser beam from a semiconductor laser oscillator 11 into a divergent light beam with a converging lens 12 and then forms a circular beam with a slit 13. After shaping into a beam, reflecting the beam on the reflecting mirror 14 and changing the optical path at right angles,
The two 45 ° reflecting surfaces of the right-angle prism 16 arranged on the rotation axis 15b of the rotor 15a of the scanner motor 15 are irradiated. That is, the right angle prism 16 is
Two surfaces orthogonal to each other are defined as reflection surfaces. Then, the center of the rectangular surface sandwiched between the two reflecting surfaces is arranged so as to match the rotation axis 15b of the scanner motor 15, and the light reflected from the reflection mirror 14 is reflected by the rotation axis 15 of the scanner motor 15.
The light is incident on the position about several mm away from b in parallel with the rotation axis 15b.

【0015】前記スキャナモータ15はロータ15aに
マグネット15cを一体に取付けている。前記回転軸1
5bはステータ部材15dにボールベアリング15eを
介して回転自在に取付けている。前記ステータ部材15
dにはスペーサ15fを介して回路基板15gを固定
し、この回路基板15gの前記マグネット15cと対向
した部位の裏面側にはコイル15hを取付けている。
The scanner motor 15 has a magnet 15c integrally attached to a rotor 15a. The rotating shaft 1
5b is rotatably mounted on the stator member 15d via a ball bearing 15e. The stator member 15
A circuit board 15g is fixed to d via a spacer 15f, and a coil 15h is mounted on the back surface of a portion of the circuit board 15g facing the magnet 15c.

【0016】前記反射ミラー14からの反射光は前記ス
キャナモータ15で回転駆動する直角プリズム16の反
射面で反射してスキャナモータ15の回転軸15bに垂
直な平面方向に偏向走査する偏向光に変換した後、入射
面よりも出射面の曲率半径が小さく、外側に向かって凸
のメニスカスレンズ17に入射し、図3に示すように偏
向点、すなわち直角プリズム16の反射点から距離L隔
てた位置にある感光体ドラムの感光面21に結像するよ
うになっている。
The reflected light from the reflecting mirror 14 is reflected by the reflecting surface of a right-angle prism 16 that is driven to rotate by the scanner motor 15 and is converted into deflected light that is deflected and scanned in a plane direction perpendicular to the rotation axis 15b of the scanner motor 15. After that, the light enters the meniscus lens 17 having a smaller radius of curvature of the exit surface than the entrance surface and convex outward, and is located at a distance L from the deflection point, that is, the reflection point of the right-angle prism 16 as shown in FIG. The image is formed on the photosensitive surface 21 of the photosensitive drum located at the position shown in FIG.

【0017】前記半導体レーザ発振器11、収束レンズ
12及びスリット13は光出射ユニット18として一体
化している。前記メニスカスレンズ17はケース19内
に組み込まれている。そして前記光出射ユニット18を
例えば合成樹脂等からなる装置全体を包囲するハウジン
グ20の上部後方に嵌め込み、前記反射ミラー14を前
記ハウジング20の上部前方の傾斜部に埋設し、前記ケ
ース19を前記ハウジング20の前部開口部に嵌め込ん
でいる。
The semiconductor laser oscillator 11, the converging lens 12, and the slit 13 are integrated as a light emitting unit 18. The meniscus lens 17 is incorporated in a case 19. Then, the light emitting unit 18 is fitted into the upper rear of a housing 20 surrounding the entire device made of, for example, a synthetic resin, and the reflection mirror 14 is embedded in an upper front inclined portion of the housing 20. 20 in the front opening.

【0018】前記スキャナモータ15のステータ部材1
5dの周縁部に前記ハウジング20のフランジ部をネジ
止めしている。
The stator member 1 of the scanner motor 15
The flange portion of the housing 20 is screwed to the periphery of 5d.

【0019】今、光ビームの走査中心からの偏向角、す
なわち光ビームの振れ角をθ、このときの走査中心から
光ビームの結像点までの距離をh(θ)とすると、 h(θ)=Ltanθ …(1) となる。この(1) 式を微分することで走査速度v(θ)
を求めることができる。すなわち、
If the deflection angle of the light beam from the scanning center, that is, the deflection angle of the light beam, is θ, and the distance from the scanning center to the image point of the light beam at this time is h (θ), h (θ ) = Ltan θ (1) By differentiating this equation (1), the scanning speed v (θ)
Can be requested. That is,

【数1】 となる。ここでdθ/dtは光ビームの偏向角速度で、
スキャナモータ15が一定速度で回転する場合は定数と
なる。上記(2) 式から明らかなように走査速度v(θ)
は、θ=0付近、すなわち光ビームの走査中心付近では
小さく、走査中心から離れるに従い大きくなる。
(Equation 1) Becomes Where dθ / dt is the deflection angular velocity of the light beam,
When the scanner motor 15 rotates at a constant speed, it becomes a constant. As is apparent from the above equation (2), the scanning speed v (θ)
Is small near θ = 0, that is, near the scanning center of the light beam, and increases as the distance from the scanning center increases.

【0020】前記半導体レーザ発振器11から出射する
レーザ光のオン、オフのタイミングを制御するのに使用
する画素クロックの周期をT(θ)とすれば、1画素の
幅Pは、 P=T(θ)・v(θ) …(3) となる。ここで、T(θ)を一定とした場合、走査速度
v(θ)は上記(2) 式のように変化するので、Pはθに
よって変化することになる。これがfθ誤差である。
If the period of the pixel clock used to control the on / off timing of the laser light emitted from the semiconductor laser oscillator 11 is T (θ), the width P of one pixel is P = T ( θ) · v (θ) (3) Here, when T (θ) is fixed, the scanning speed v (θ) changes as in the above equation (2), so that P changes with θ. This is the fθ error.

【0021】1画素の幅Pを一定に保つには、ω=dθ
/dtとすれば、
In order to keep the width P of one pixel constant, ω = dθ
/ Dt,

【数2】 のように、画素クロックの周期T(θ)を光ビームの振
れ角θに応じて変化すればよいことになる。
(Equation 2) As described above, the period T (θ) of the pixel clock may be changed according to the deflection angle θ of the light beam.

【0022】図4のグラフは光ビームの振れ角θに対す
る走査速度v(θ)を示し、また図5のグラフは光ビー
ムの振れ角θに対する画素クロック周期T(θ)の変化
を示している。
The graph of FIG. 4 shows the scanning speed v (θ) with respect to the deflection angle θ of the light beam, and the graph of FIG. 5 shows the change of the pixel clock cycle T (θ) with respect to the deflection angle θ of the light beam. .

【0023】上記(4) 式は三角関数を含んでいるので、
簡単に計算をすることができない。そこで上記(4) 式と
等価な計算を整数の加減算のみを用いて実現することを
実行した。すなわち計算が整数の加減算のみで実現でき
れば演算手段により簡単に計算を実行でき、リアルタイ
ム制御が可能となる。
Since the above equation (4) includes a trigonometric function,
You cannot do calculations easily. Therefore, a calculation equivalent to the above equation (4) was realized using only addition and subtraction of integers. That is, if the calculation can be realized only by addition and subtraction of integers, the calculation can be easily performed by the arithmetic means, and real-time control can be performed.

【0024】簡単のためa=P/Lωとする。上記(4)
式をθで2回微分すると、
For simplicity, it is assumed that a = P / Lω. Above (4)
Differentiating the equation twice with θ gives

【数3】 となる。ここでacos2 θ=T(θ)なので、次式の
方程式が成り立つ。
(Equation 3) Becomes Here, since acos 2 θ = T (θ), the following equation holds.

【0025】[0025]

【数4】 走査中央部での1画素に対する光ビームの振れ角をΔ
θ、n番目の画素に対する光ビームの振れ角をθn で表
わすとすると、T(θ)及びdT(θ)/dtをテーラ
展開し、2次以降の項を省略すれば、それぞれ
(Equation 4) The deflection angle of the light beam with respect to one pixel at the center of scanning is Δ
Assuming that the deflection angle of the light beam with respect to θ and the n-th pixel is represented by θ n , T (θ) and dT (θ) / dt are tailored, and if the second and subsequent terms are omitted, then

【数5】 となる。また上記(7) 式より、(Equation 5) Becomes Also, from the above equation (7),

【数6】 で近似する。(Equation 6) Approximation.

【0026】以上により、T(θn )及びdT(θn
/dtが与えられると、上記漸化式(7) 〜(9) を用いて
任意のθn に対するT(θn )が計算できる。
As described above, T (θ n ) and dT (θ n )
Given / dt, T (θ n ) for any θ n can be calculated using the above recurrence formulas (7) to (9).

【0027】次に上記(7) 〜(9) 式を整数演算する方法
について述べる。
Next, a method of performing an integer operation on the above equations (7) to (9) will be described.

【0028】今、3つの整数sh、t0 、s0 を仮定
し、T(θ)を画素クロックより周波数の高い基準クロ
ックの周期tを用いて、 T(θ)=tT …(11) と表わす。すなわちT(θ)は周期tのT倍の長さとす
る。さらに、 T=t0 +s0 /sh …(12) と表わす。但し、|s0 |<sh/2とする。ここで、
t0 はTの整数部、s0/shは小数部に相当する。s0
が変化した場合、s0 が常に小数部を表わすように、
s0 がsh/2より大きくなればt0 を+1し、s0 を
shだけ減らす。またs0 が−sh/2より小さくなれ
ばt0 を−1し、s0 をshだけ増やす。
Now, assuming three integers sh, t0 and s0, T (θ) is expressed as T (θ) = tT (11) using the period t of the reference clock having a higher frequency than the pixel clock. That is, T (θ) is T times the period t. Further, T = t0 + s0 / sh (12) However, | s0 | <sh / 2. here,
t0 corresponds to the integer part of T, and s0 / sh corresponds to the decimal part. s0
Changes, so that s0 always represents a decimal part,
If s0 becomes larger than sh / 2, t0 is incremented by 1, and s0 is reduced by sh. If s0 is smaller than -sh / 2, t0 is decremented by 1, and s0 is increased by sh.

【0029】同様に、2つの整数t1 ,s1 とshを使
用して、 dT(θn )/dt=t1 +s1 /sh …(13) と表わす。但し、|s1 |<sh/2とし、s1 が変化
してsh/2より大きくなればt1 を+1し、また−s
h/2より小さくなればt1 を−1する。
Similarly, dT (θ n ) / dt = t 1 + s 1 / sh (13) using two integers t 1, s 1 and sh. However, | s1 | <sh / 2, and if s1 changes and becomes larger than sh / 2, t1 is incremented by one, and -s
If it is smaller than h / 2, t1 is decremented by one.

【0030】ここでsh=1/Δθと定めることで、上
記漸化式(8) 〜(10)が以下の手順で簡単に計算できる。
By setting sh = 1 / Δθ, the above recurrence formulas (8) to (10) can be easily calculated by the following procedure.

【0031】すなわち、新たな整数t2 を用意し、漸化
式(10)を2A−4×t0 を演算してt2 とすることで実
現でき、また漸化式(9) をs1 +t2 を演算して新たな
s1とすることで実現でき、さらに漸化式(8) をs0 +
t1 を演算して新たなs0 とすることで実現できる。な
お、Aはθ=0に対応するTである。
That is, a new integer t2 is prepared, and the recurrence equation (10) can be realized by calculating 2A−4 × t0 to be t2, and the recurrence equation (9) can be calculated by s1 + t2. And a new s1 can be realized. Further, the recurrence equation (8) is expressed as s0 +
This can be realized by calculating t1 to obtain a new s0. Note that A is T corresponding to θ = 0.

【0032】この計算においてs0 ,s1 が定められた
範囲、すなわち|s0 |<sh/2、|s1 |<sh/
2の場合はt0 ,t1 を変化させる。また、2A−4×
t0における乗算は、加算あるいはシフト演算により容
易に実現できる。
In this calculation, the range where s0 and s1 are determined, that is, | s0 | <sh / 2, | s1 | <sh /
In the case of 2, t0 and t1 are changed. Also, 2A-4x
Multiplication at t0 can be easily realized by addition or shift operation.

【0033】こうした演算で得たt0 によって、求めた
い画素クロックの周期T(θ)が基準クロックの周期t
の何倍かがわかる。
The period T (θ) of the pixel clock to be obtained is determined by the period t (θ) of the reference clock by the time t0 obtained by the above operation.
You can see how many times.

【0034】この方法でT(θ)をtのt0 (整数)倍
であると近似した場合、小数部s0/shが切り捨てら
れるため、計算を繰り返すことにより誤差が累積するこ
とになる。
When T (θ) is approximated to be t0 (integer) times t by this method, the fractional part s0 / sh is rounded down, and the error is accumulated by repeating the calculation.

【0035】これを防ぐために新たな整数sgを用意
し、切り捨てられる小数部s0 を加算し累積する。すな
わち、上述した整数演算に、さらにsg+s0 を演算し
て新たなsgとする演算処理を加えることで実現でき
る。そしてsgがsh/2より大きくなればそのときだ
けt0 をT(θ)をtの(t0 +1)倍とし、sgをs
hだけ減らす。またsgが−sh/2より小さくなれば
T(θ)をtの(t0 −1)倍とし、sgをshだけ増
やす。
To prevent this, a new integer sg is prepared, and the fractional part s0 to be discarded is added and accumulated. In other words, this can be realized by adding a calculation process of calculating sg + s0 to a new sg in addition to the above-described integer calculation. Then, if sg becomes larger than sh / 2, t0 is set to T (θ) times (t0 + 1) times t, and sg is set to s.
Reduce by h. If sg becomes smaller than -sh / 2, T (.theta.) Is set to (t0 -1) times t, and sg is increased by sh.

【0036】こうすることにより小数部の切り捨てによ
る誤差の累積を防ぐことができる。以上の整数演算処理
をプログラムにより実現するには、図6に示す流れ図に
基づく画素クロック発生処理を行えばよい。
By doing so, accumulation of errors due to truncation of the decimal part can be prevented. In order to realize the above integer arithmetic processing by a program, a pixel clock generation processing based on a flowchart shown in FIG. 6 may be performed.

【0037】すなわち、先ずステップS1にて整数t0
,s0 ,t1 ,s1 ,2A,shの初期値を設定し、
続いてステップS2にて2A−4×t0 を演算してt2
とし、またs1 にt2 を加算する。
That is, first, at step S1, an integer t0
, S0, t1, s1, 2A, sh
Subsequently, in step S2, 2A-4.times.t0 is calculated to obtain t2.
And t2 is added to s1.

【0038】続いてステップS3にてs1 >sh/2か
否かをチェックし、s1 >sh/2でなければ続いてス
テップS4にてs1 <−sh/2か否かをチェックし、
s1<−sh/2でなければステップS5にてs0 にt1
を加算する。
Then, it is checked in step S3 whether s1> sh / 2 or not. If s1> sh / 2 is not satisfied, then in step S4 it is checked whether s1 <-sh / 2.
Unless s1 <-sh / 2, t1 is added to s0 in step S5.
Is added.

【0039】またs1 >sh/2であればステップS6
にてt1 に1を加算し、s1 からshを減算してからス
テップS5の処理を行う。またs1 <−sh/2であれ
ばステップS7にてt1 から1を減算し、s1 にshを
加算してからステップS5の処理を行う。
If s1> sh / 2, step S6
Then, 1 is added to t1 and sh is subtracted from s1 and then the process of step S5 is performed. If s1 <-sh / 2, 1 is subtracted from t1 in step S7, and sh is added to s1, and then the process of step S5 is performed.

【0040】続いてステップS8にてs0 >sh/2か
否かをチェックし、s0 >sh/2でなければ続いてス
テップS9にてs0 <−sh/2か否かをチェックし、
s0<−sh/2でなければステップS10にてsgに
s0 を加算する。
Subsequently, it is checked in step S8 whether or not s0> sh / 2. If s0> sh / 2 is not satisfied, then in step S9 it is checked whether or not s0 <-sh / 2.
Unless s0 <-sh / 2, s0 is added to sg in step S10.

【0041】またs0 >sh/2であればステップS1
1にてt0 に1を加算し、s0 からshを減算してから
ステップS10の処理を行う。またs0 <−sh/2で
あればステップS12にてt0 から1を減算し、s0 に
shを加算してからステップS10の処理を行う。
If s0> sh / 2, step S1
At step 1, 1 is added to t0, and sh is subtracted from s0, and then the process of step S10 is performed. If s0 <-sh / 2, 1 is subtracted from t0 in step S12, and sh is added to s0, and then the process of step S10 is performed.

【0042】続いてステップS13にてsg>sh/2
か否かをチェックし、sg>sh/2でなければ続いて
ステップS14にてsg<−sh/2か否かをチェック
し、sg<−sh/2でなければステップS15にてt
0 を分周比とする。
Subsequently, in step S13, sg> sh / 2
It is checked whether or not sg> sh / 2 if sg <-sh / 2. If sg <-sh / 2, then if not sg <-sh / 2, t is determined in step S15.
0 is the division ratio.

【0043】またsg>sh/2であればステップS1
6にてt0 に1を加算して分周比とし、かつsgからs
hを減算する。またsg<−sh/2であればステップ
S17にてt0 から1を減算して分周比とし、かつsg
にshを加算する。
If sg> sh / 2, step S1
In step 6, 1 is added to t0 to obtain a division ratio, and sg to s
h is subtracted. If sg <-sh / 2, 1 is subtracted from t0 in step S17 to obtain a frequency division ratio, and sg
And sh.

【0044】図7はこのような整数演算により画素クロ
ック発生処理を行う光走査装置の回路ブロック図で、ホ
ストコンピュータ(図示せず)からの画像記録情報をI
/F(インターフェース)31で受信し、画像メモリ3
2に記憶する。この画像メモリ32に記憶した画像記録
情報をパラレル/シリアル変換回路33に読出し、この
変換回路33において画素クロック発生回路34から発
生する画素クロックに同期してパラレルデータからシリ
アルデータに変換し、光走査装置本体35の半導体レー
ザ発振器11に出力している。
FIG. 7 is a circuit block diagram of an optical scanning device that performs a pixel clock generation process by such an integer operation. Image recording information from a host computer (not shown) is transmitted to an I / O device.
/ F (interface) 31 and receives the image
Stored in 2. The image recording information stored in the image memory 32 is read out to a parallel / serial conversion circuit 33, and the conversion circuit 33 converts parallel data into serial data in synchronization with a pixel clock generated from a pixel clock generation circuit 34, and performs optical scanning. The signal is output to the semiconductor laser oscillator 11 of the device main body 35.

【0045】図8は前記画素クロック発生回路34の具
体的構成を示すもので、図6に示す画素クロック発生処
理を実現する回路構成となっている。
FIG. 8 shows a specific configuration of the pixel clock generation circuit 34, which has a circuit configuration for realizing the pixel clock generation processing shown in FIG.

【0046】すなわち前記画素クロック発生回路34
は、整数t0 ,s0 ,t1 ,s1 ,sg,2A,sh,
1,0及び分周比を格納する記憶手段としてのレジスタ
群41、第1、第2のマルチプレクサ42,43、デマ
ルチプレクサ44、第1、第2の比較器45,46、加
算器47、符号変換器48、前記各マルチプレクサ4
2,43、デマルチプレクサ44及び符号変換器48に
選択信号を出力するデコーダ49、前記各比較器45,
46の出力を取り込み前記デコーダ49を制御する制御
回路50、基準クロックを発生する基準クロック発生回
路51及び前記レジスタ群41に格納した分周比を1回
の画素クロック発生毎にセットし、前記基準クロック発
生回路51からの基準クロックをこのセットした分周比
に基づいて分周し所望の画素クロックを出力する可変分
周器52で構成している。
That is, the pixel clock generation circuit 34
Are the integers t0, s0, t1, s1, sg, 2A, sh,
A register group 41 as storage means for storing 1, 0 and a frequency division ratio, first and second multiplexers 42 and 43, demultiplexer 44, first and second comparators 45 and 46, adder 47, code Converter 48, each of the multiplexers 4
2, 43, a decoder 49 for outputting a selection signal to the demultiplexer 44 and the code converter 48,
The control circuit 50 which takes in the output of the decoder 46 and controls the decoder 49, the reference clock generation circuit 51 which generates the reference clock, and the frequency division ratio stored in the register group 41 are set for each generation of the pixel clock. A variable frequency divider 52 divides the reference clock from the clock generation circuit 51 based on the set division ratio and outputs a desired pixel clock.

【0047】前記レジスタ群41は例えば12ビットの
D形フリップフロップからなり、図示しない初期化回路
により外部から整数t0 ,s0 ,t1 ,s1 ,2A,s
hの初期値を設定するようになっている。
The register group 41 is composed of, for example, a 12-bit D-type flip-flop, and is externally provided with integers t0, s0, t1, s1, 2A, s by an initialization circuit (not shown).
The initial value of h is set.

【0048】前記第1の比較器45は前記加算器47の
加算結果と定数sh/2の大小を比較する。前記第2の
比較器46は前記加算器47の加算結果と定数−sh/
2の大小を比較する。
The first comparator 45 compares the result of the addition by the adder 47 with a constant sh / 2. The second comparator 46 calculates an addition result of the adder 47 and a constant −sh /
Compare the size of the two.

【0049】次に本実施例の作用について表1に従って
説明する。
Next, the operation of this embodiment will be described with reference to Table 1.

【0050】先ず状態「0」においてはレジスタ群41
に整数t0 ,s0 ,t1 ,s1 ,2A,shの初期値を
設定する。(ステップS1) この状態「0」は光ビームが感光面21を1走査すると
きの最初に1回だけ実行する。そして状態「1」へ移行
する。
First, in the state "0", the register group 41
Are set to the initial values of the integers t0, s0, t1, s1, 2A, and sh. (Step S1) This state “0” is executed only once at the beginning when the light beam scans the photosensitive surface 21 once. Then, the state shifts to state “1”.

【0051】次の状態「1」では2A−4×t0 を演算
してt2 とする処理を行う。(ステップ2) すなわち状態「1」では、レジスタ群41から2Aを第
1のマルチプレクサ42を介して加算器47に取出し、
またt0 を第2のマルチプレクサ43及び符号変換器4
8を介して加算器47に取出して行う。ここで4×t0
はレジスタ群41のt0 と第2のマルチプレクサ43の
間の結線を2ビットずらすことで実現している。またマ
イナスの符号は符号変換器48で符号反転して付加す
る。
In the next state "1", a process of calculating 2A-4.times.t0 and setting it to t2 is performed. (Step 2) That is, in the state “1”, 2A is taken out from the register group 41 to the adder 47 via the first multiplexer 42, and
Further, t0 is converted to the value of the second multiplexer 43 and the code converter 4.
8 to the adder 47. Where 4 × t0
Is realized by shifting the connection between t0 of the register group 41 and the second multiplexer 43 by 2 bits. The minus sign is inverted by the sign converter 48 and added.

【0052】こうして加算器47は2A−4×t0 の演
算を実行し、その結果をデマルチプレクサ44を介して
レジスタ群41のt2 に代入する。そして各比較器4
5,46の結果に無関係に状態「2」へ移行する。
In this way, the adder 47 executes the operation of 2A-4 × t0, and substitutes the result into t2 of the register group 41 via the demultiplexer 44. And each comparator 4
The state transits to the state "2" irrespective of the results of the steps 5 and 46.

【0053】状態「2」では、s1 +t2 を演算して新
たなs1 とする処理を行う。(ステップ2) すなわち状態「2」では、レジスタ群41からs1 を第
1のマルチプレクサ42を介して加算器47に取出し、
またt2 を第2のマルチプレクサ43及び符号変換器4
8を介して加算器47に取出して行う。加算器47はs
1 +t2 の演算を実行し、その結果をデマルチプレクサ
44を介してレジスタ群41のs1 に代入する。
In state "2", a process is performed to calculate s1 + t2 to make it a new s1. (Step 2) That is, in the state “2”, s1 is taken out from the register group 41 to the adder 47 via the first multiplexer 42, and
Further, t2 is calculated by the second multiplexer 43 and the code converter 4.
8 to the adder 47. The adder 47 is s
The operation of 1 + t2 is executed, and the result is substituted into s1 of the register group 41 via the demultiplexer 44.

【0054】そしてこのときの演算結果s1 がsh/2
より大きければ状態「3」へ、また−sh/2より小さ
ければ状態「5」へ、さらにどちらでも無ければ状態
「7」へ移行する。
The operation result s1 at this time is sh / 2
If it is larger, the state shifts to state "3". If it is smaller than -sh / 2, the state shifts to state "5".

【0055】状態「7」では、s0 +t1 を演算して新
たなs0 とする処理を行う。(ステップ5) すなわち状態「7」では、レジスタ群41からs0 を第
1のマルチプレクサ42を介して加算器47に取出し、
またt1 を第2のマルチプレクサ43及び符号変換器4
8を介して加算器47に取出して行う。加算器47はs
0 +t1 の演算を実行し、その結果をデマルチプレクサ
44を介してレジスタ群41のs0 に代入する。
In state "7", a process is performed to calculate s0 + t1 to obtain a new s0. (Step 5) That is, in the state "7", s0 is taken out from the register group 41 to the adder 47 via the first multiplexer 42, and
Further, t1 is converted to the value of the second multiplexer 43 and the code converter 4.
8 to the adder 47. The adder 47 is s
The operation of 0 + t1 is executed, and the result is substituted into s0 of the register group 41 via the demultiplexer 44.

【0056】そしてこのときの演算結果s0 がsh/2
より大きければ状態「8」へ、また−sh/2より小さ
ければ状態「10」へ、さらにどちらでも無ければ状態
「12」へ移行する。
The operation result s0 at this time is sh / 2
If it is larger, the state is changed to "8", if it is smaller than -sh / 2, the state is changed to "10", and if neither is set, the state is changed to "12".

【0057】状態「3」ではt1 +1を演算して新たな
t1 とする処理を行う。(ステップS6) すなわち状態「3」では、レジスタ群41からt1 を第
1のマルチプレクサ42を介して加算器47に取出し、
また「1」を第2のマルチプレクサ43及び符号変換器
48を介して加算器47に取出して行う。加算器47は
t1 +1の演算を実行し、その結果をデマルチプレクサ
44を介してレジスタ群41のt1 に代入する。そして
各比較器45,46の結果に無関係に状態「4」へ移行
する。
In the state "3", a process is performed to calculate t1 + 1 to make a new t1. (Step S6) That is, in the state "3", t1 is taken out from the register group 41 to the adder 47 via the first multiplexer 42.
Further, “1” is taken out to the adder 47 via the second multiplexer 43 and the code converter 48 to perform the operation. The adder 47 executes the operation of t1 +1 and substitutes the result into t1 of the register group 41 via the demultiplexer 44. Then, the state shifts to the state “4” irrespective of the results of the comparators 45 and 46.

【0058】この状態「4」では、s1 −shを演算し
て新たなs1 とする処理を行う。(ステップS6) すなわち状態「4」では、レジスタ群41からs1 を第
1のマルチプレクサ42を介して加算器47に取出し、
またshを第2のマルチプレクサ43及び符号変換器4
8を介して加算器47に取出して行う。加算器47はs
1 −shの演算を実行し、その結果をデマルチプレクサ
44を介してレジスタ群41のs1 に代入する。そして
状態「7」へ移行する。
In this state "4", a process is performed to calculate s1 -sh to make it a new s1. (Step S6) That is, in state "4", s1 is taken out from the register group 41 to the adder 47 via the first multiplexer 42, and
Also, sh is converted to the second multiplexer 43 and the code converter 4.
8 to the adder 47. The adder 47 is s
The operation of 1-sh is executed, and the result is substituted into s1 of the register group 41 via the demultiplexer 44. Then, the state transits to the state “7”.

【0059】状態「5」ではt1 −1を演算して新たな
t1 とする処理を行う。(ステップS7) すなわち状態「5」では、状態「3」と同様の演算処理
を行う。このときの符号の違いは符号変換器48により
処理する。そして各比較器45,46の結果に無関係に
状態「6」へ移行する。
In the state "5", a process for calculating t1 -1 and setting it as a new t1 is performed. (Step S7) That is, in the state “5”, the same arithmetic processing as in the state “3” is performed. The difference between the codes at this time is processed by the code converter 48. Then, the state shifts to state “6” regardless of the results of the comparators 45 and 46.

【0060】この状態「6」ではs1 +shを演算して
新たなs1 とする処理を行う。(ステップS7) この状態「6」は、状態「4」と同様の演算処理を行
う。このときの符号の違いは符号変換器48により処理
する。そして状態「7」へ移行する。
In this state "6", a process of calculating s1 + sh to obtain a new s1 is performed. (Step S7) In the state "6", the same arithmetic processing as that in the state "4" is performed. The difference between the codes at this time is processed by the code converter 48. Then, the state transits to the state “7”.

【0061】状態「12」では、sg+s0 を演算して
新たなsgとする処理を行う。(ステップ10) すなわち状態「12」では、レジスタ群41からsgを
第1のマルチプレクサ42を介して加算器47に取出
し、またs0 を第2のマルチプレクサ43及び符号変換
器48を介して加算器47に取出して行う。加算器47
はsg+s0 の演算を実行し、その結果をデマルチプレ
クサ44を介してレジスタ群41のsgに代入する。
In the state "12", a process of calculating sg + s0 to make a new sg is performed. (Step 10) In other words, in the state "12", sg is taken out from the register group 41 to the adder 47 via the first multiplexer 42, and s0 is taken out from the register group 41 via the second multiplexer 43 and the sign converter 48. And take it out. Adder 47
Executes the operation of sg + s0, and substitutes the result into sg of the register group 41 via the demultiplexer 44.

【0062】そしてこのときの演算結果sgがsh/2
より大きければ状態「13」へ、また−sh/2より小
さければ状態「16」へ、さらにどちらでも無ければ状
態「15」へ移行する。
The operation result sg at this time is sh / 2
If it is larger, the state goes to state "13". If it is smaller than -sh / 2, the state goes to state "16". If neither is found, the state goes to state "15".

【0063】状態「8」ではt0 +1を演算して新たな
t0 とする処理を行う。(ステップS11) すなわち状態「8」では、レジスタ群41からt0 を第
1のマルチプレクサ42を介して加算器47に取出し、
また「1」を第2のマルチプレクサ43及び符号変換器
48を介して加算器47に取出して行う。加算器47は
t0 +1の演算を実行し、その結果をデマルチプレクサ
44を介してレジスタ群41のt0 に代入する。そして
各比較器45,46の結果に無関係に状態「9」へ移行
する。
In state "8", a process is performed to calculate t0 + 1 to obtain a new t0. (Step S11) That is, in state “8”, t0 is taken out from the register group 41 to the adder 47 via the first multiplexer 42, and
Further, “1” is taken out to the adder 47 via the second multiplexer 43 and the code converter 48 to perform the operation. The adder 47 executes the operation of t0 + 1, and substitutes the result into t0 of the register group 41 via the demultiplexer 44. Then, the state transits to the state “9” irrespective of the results of the comparators 45 and 46.

【0064】この状態「9」では、s0 −shを演算し
て新たなs0 とする処理を行う。(ステップS11) すなわち状態「9」では、レジスタ群41からs0 を第
1のマルチプレクサ42を介して加算器47に取出し、
またshを第2のマルチプレクサ43及び符号変換器4
8を介して加算器47に取出して行う。加算器47はs
0 −shの演算を実行し、その結果をデマルチプレクサ
44を介してレジスタ群41のs0 に代入する。そして
状態「12」へ移行する。
In this state "9", a process is performed to calculate s0-sh to obtain a new s0. (Step S11) That is, in the state "9", s0 is taken out from the register group 41 to the adder 47 via the first multiplexer 42.
Also, sh is converted to the second multiplexer 43 and the code converter 4.
8 to the adder 47. The adder 47 is s
The operation of 0-sh is executed, and the result is substituted into s0 of the register group 41 via the demultiplexer 44. Then, the state shifts to the state “12”.

【0065】状態「10」ではt0 −1を演算して新た
なt0 とする処理を行う。(ステップS12) この状態「10」は、状態「8」と同様の演算処理を行
う。このときの符号の違いは符号変換器48により処理
する。そして各比較器45,46の結果に無関係に状態
「11」へ移行する。
In the state "10", a process of calculating t0 -1 and setting it as a new t0 is performed. (Step S12) In this state "10", the same arithmetic processing as in state "8" is performed. The difference between the codes at this time is processed by the code converter 48. Then, the state transits to the state "11" irrespective of the results of the comparators 45 and 46.

【0066】この状態「11」ではs0 +shを演算し
て新たなs0 とする処理を行う。(ステップS12) すなわち状態「11」では、状態「9」と同様の演算処
理を行う。このときの符号の違いは符号変換器48によ
り処理する。そして状態「12」へ移行する。
In this state "11", a process of calculating s0 + sh to obtain a new s0 is performed. (Step S12) That is, in the state “11”, the same arithmetic processing as in the state “9” is performed. The difference between the codes at this time is processed by the code converter 48. Then, the state shifts to the state “12”.

【0067】状態「15」ではt0 を分周比とする処理
を行う。(ステップ15) すなわち状態「15」では、レジスタ群41からt0 を
第1のマルチプレクサ42を介して加算器47に取出
し、また「0」を第2のマルチプレクサ43及び符号変
換器48を介して加算器47に取出して行う。加算器4
7はt0 +0の演算を実行し、その結果をデマルチプレ
クサ44を介してレジスタ群41の分周比に代入する。
そして前述した状態「1」(ステップS2)へ移行す
る。
In the state "15", processing for setting t0 as the frequency division ratio is performed. (Step 15) That is, in the state "15", t0 is taken out from the register group 41 to the adder 47 via the first multiplexer 42, and "0" is added via the second multiplexer 43 and the sign converter 48. It is taken out to the container 47 and performed. Adder 4
7 executes the operation of t0 + 0, and substitutes the result into the frequency division ratio of the register group 41 via the demultiplexer 44.
Then, the processing shifts to the state "1" (step S2) described above.

【0068】状態「13」ではt0 に1を加算して分周
比とする処理を行う。(ステップ16) すなわち状態「13」では、レジスタ群41からt0 を
第1のマルチプレクサ42を介して加算器47に取出
し、また「1」を第2のマルチプレクサ43及び符号変
換器48を介して加算器47に取出して行う。加算器4
7はt0 +1の演算を実行し、その結果をデマルチプレ
クサ44を介してレジスタ群41の分周比に代入する。
そして各比較器45,46の結果に無関係に状態「1
4」へ移行する。
In the state "13", a process is performed in which 1 is added to t0 to obtain a frequency division ratio. (Step 16) That is, in the state "13", t0 is taken out from the register group 41 to the adder 47 via the first multiplexer 42, and "1" is added via the second multiplexer 43 and the sign converter 48. It is taken out to the container 47 and performed. Adder 4
7 executes the operation of t0 +1 and substitutes the result into the frequency division ratio of the register group 41 via the demultiplexer 44.
The state “1” is independent of the results of the comparators 45 and 46.
4 ”.

【0069】この状態「14」では、sg−shを演算
して新たなsgとする処理を行う。(ステップS16) すなわち状態「14」では、レジスタ群41からsgを
第1のマルチプレクサ42を介して加算器47に取出
し、またshを第2のマルチプレクサ43及び符号変換
器48を介して加算器47に取出して行う。加算器47
はsg−shの演算を実行し、その結果をデマルチプレ
クサ44を介してレジスタ群41のsgに代入する。そ
して前述した状態「1」(ステップS2)へ移行する。
In this state "14", a process of calculating sg-sh to make a new sg is performed. (Step S16) That is, in the state “14”, sg is extracted from the register group 41 to the adder 47 via the first multiplexer 42, and sh is added to the adder 47 via the second multiplexer 43 and the sign converter 48. And take it out. Adder 47
Executes the operation of sg-sh, and substitutes the result into sg of the register group 41 via the demultiplexer 44. Then, the processing shifts to the state "1" (step S2) described above.

【0070】状態「16」ではt0 から1を減算して分
周比とする処理を行う。(ステップS17) すなわち状態「16」では、状態「13」と同様の演算
処理を行う。このときの符号の違いは符号変換器48に
より処理する。そして各比較器45,46の結果に無関
係に状態「17」へ移行する。
In the state "16", a process is performed in which 1 is subtracted from t0 to obtain a frequency division ratio. (Step S17) That is, in the state “16”, the same arithmetic processing as in the state “13” is performed. The difference between the codes at this time is processed by the code converter 48. Then, the state transits to the state "17" irrespective of the results of the comparators 45 and 46.

【0071】この状態「17」ではsg+shを演算し
て新たなsgとする処理を行う。(ステップS17) すなわち状態「17」では、状態「14」と同様の演算
処理を行う。このときの符号の違いは符号変換器48に
より処理する。そして前述した状態「1」(ステップS
2)へ移行する。
In this state "17", a process of calculating sg + sh to obtain a new sg is performed. (Step S17) That is, in the state “17”, the same arithmetic processing as in the state “14” is performed. The difference between the codes at this time is processed by the code converter 48. Then, the state “1” described above (step S
Go to 2).

【0072】[0072]

【表1】 以上の処理において状態「14」「15」「17」から
状態「1」への変化は画素クロックに同期して行われ、
また同時にレジスタ群41の分周比の可変分周器52へ
のセットも行われる。
[Table 1] In the above processing, the change from the state “14” “15” “17” to the state “1” is performed in synchronization with the pixel clock.
At the same time, the division ratio of the register group 41 is set in the variable frequency divider 52.

【0073】こうして可変分周器52はセットした分周
比に基づいて基準クロック発生回路51からの基準クロ
ックを分周し画素クロックを1回発生する。
The variable frequency divider 52 divides the reference clock from the reference clock generation circuit 51 based on the frequency division ratio thus set, and generates a pixel clock once.

【0074】そしてレジスタ群41の分周比、すなわち
t0 は走査位置に応じてfθ誤差補正を行うように変化
するので、可変分周器52からの画素クロックのタイミ
ングはfθ誤差を補正したタイミングとなる。
Since the frequency division ratio of the register group 41, that is, t0, changes so as to perform fθ error correction according to the scanning position, the timing of the pixel clock from the variable frequency divider 52 is the same as the timing at which the fθ error is corrected. Become.

【0075】この装置において、1走査における画素
数、すなわち解像度が変化したときには、1画素に対す
る光ビームの振れ角Δθが変化するのみなので、sh=
1/Δθにより、レジスタ群41に設定するshの値を
変えるのみで対処することができ、解像度変化に簡単に
対処することができる。従って多数の段階的な解像度切
換えは勿論、連続的な解像度切換えに対しても容易に対
処できる。
In this apparatus, when the number of pixels in one scan, that is, the resolution changes, only the deflection angle Δθ of the light beam for one pixel changes.
With 1 / Δθ, it is possible to cope only by changing the value of sh set in the register group 41, and it is possible to easily cope with a change in resolution. Therefore, it is possible to easily cope with not only a number of stepwise resolution switching but also a continuous resolution switching.

【0076】また、走査線長が変化した場合は、すなわ
ち走査の開始位置が変化した場合は、前述した(8) 式、
(9) 式、(10)式において、T(θn )とdT(θn )/
dθが変化することになるので、レジスタ群41に設定
する初期値の整数t0 ,s0,t1 ,s1 を変えるのみ
で簡単に対処できる。
When the scanning line length changes, that is, when the scanning start position changes, the above equation (8) is used.
In equations (9) and (10), T (θ n ) and dT (θ n ) /
Since dθ changes, it can be easily dealt with only by changing the initial values of the integers t0, s0, t1, and s1 set in the register group 41.

【0077】次に本発明の他の実施例を図面を参照して
説明する。なお、前記実施例と同一の部分には同一の符
号を付して詳細な説明は省略する。
Next, another embodiment of the present invention will be described with reference to the drawings. The same parts as those in the above embodiment are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0078】これは画素クロック発生回路34を、図9
に示すようにCPU(中央処理装置)61、プログラム
用メモリ62、補正情報用RAM(ランダム・アクセス
・メモリ)63、アドレスカウンタ64、アドレスバス
切換回路65、データバス切換回路66及び基準クロッ
ク発生回路51、可変分周器52により構成している。
This is because the pixel clock generation circuit 34 is
As shown in the figure, a CPU (central processing unit) 61, a program memory 62, a correction information RAM (random access memory) 63, an address counter 64, an address bus switching circuit 65, a data bus switching circuit 66, and a reference clock generating circuit. 51, a variable frequency divider 52.

【0079】前記アドレスバス切換回路65は、CPU
61、プログラム用メモリ62から補正情報用RAM6
3に接続するアドレスバスと前記アドレスカウンタ64
から補正情報用RAM63に接続するアドレスバスとを
切換える。
The address bus switching circuit 65 includes a CPU
61, from the program memory 62 to the correction information RAM 6
3 and the address counter 64
To the address bus connected to the RAM 63 for correction information.

【0080】前記データバス切換回路66は、CPU6
1、プログラム用メモリ62から補正情報用RAM63
に接続するデータバスと前記可変分周器52から補正情
報用RAM63に接続するデータバスとを切換える。
The data bus switching circuit 66 includes a CPU 6
1. From the program memory 62 to the correction information RAM 63
And the data bus connected from the variable frequency divider 52 to the correction information RAM 63.

【0081】前記補正情報用RAM63は前記可変分周
器52に設定する分周比を格納する。前記アドレスカウ
ンタ64は可変分周器52からの画素クロックをカウン
トし、補正情報用RAM63のアドレスを指定する。
The correction information RAM 63 stores the frequency division ratio set in the variable frequency divider 52. The address counter 64 counts the pixel clock from the variable frequency divider 52 and designates the address of the correction information RAM 63.

【0082】この画素クロック発生回路34は、光ビー
ムの走査開始前、例えばプリンタに適用した場合は印字
開始前に、アドレスバス切換回路65及びデータバス切
換回路66により、CPU61及びプログラム用メモリ
62と補正情報用RAM63とのアドレスバス及びデー
タバスを接続する。
The pixel clock generating circuit 34 is connected to the CPU 61 and the program memory 62 by the address bus switching circuit 65 and the data bus switching circuit 66 before the start of light beam scanning, for example, before printing when applied to a printer. The address bus and the data bus to the correction information RAM 63 are connected.

【0083】この状態でCPU61は、プログラム用メ
モリ62のプログラムデータに基づいて図6に示すアル
ゴリズムに従い1走査における各画素に対する画素クロ
ックを発生させるための分周比を演算する。そして算出
した各画素に対する分周比を補正情報用RAM63に格
納する。
In this state, the CPU 61 calculates a frequency division ratio for generating a pixel clock for each pixel in one scan based on the program data in the program memory 62 according to the algorithm shown in FIG. Then, the calculated dividing ratio for each pixel is stored in the correction information RAM 63.

【0084】続いてアドレスバス切換回路65及びデー
タバス切換回路66を切換え、アドレスカウンタ64及
び可変分周器52を補正情報用RAM63に接続する。
Subsequently, the address bus switching circuit 65 and the data bus switching circuit 66 are switched, and the address counter 64 and the variable frequency divider 52 are connected to the correction information RAM 63.

【0085】この状態で光ビームの走査を開始、すなわ
ち印字を開始させる。走査開始時にアドレスカウンタ6
4をリセットし、このアドレスカウンタ64で補正情報
用RAM63に格納している最初の画素に対応する分周
比を読出すアドレスを指定する。こうして補正情報用R
AM63から最初の画素に対応する分周比を読み出し可
変分周器52に設定する。
In this state, scanning of the light beam is started, that is, printing is started. Address counter 6 at the start of scanning
4 is reset, and the address from which the frequency division ratio corresponding to the first pixel stored in the correction information RAM 63 is read by the address counter 64 is designated. Thus, the correction information R
The frequency division ratio corresponding to the first pixel is read out from AM 63 and set in variable frequency divider 52.

【0086】可変分周器52は、基準クロック発生回路
51からの基準クロックをカウントし、設定した分周比
に等しくなると画素クロックを1つ発生する。そしてこ
の画素クロックによりアドレスカウンタ64はカウント
アップする。これにより今度は補正情報用RAM63か
ら次の画素に対応する分周比を読み出し可変分周器52
に設定する。
The variable frequency divider 52 counts the reference clock from the reference clock generation circuit 51 and generates one pixel clock when the frequency becomes equal to the set frequency division ratio. The address counter 64 counts up by this pixel clock. As a result, the frequency division ratio corresponding to the next pixel is read out from the correction information RAM 63 and the variable frequency divider 52 is read.
Set to.

【0087】以降、1走査が終了するまで同様の動作を
繰り返し、可変分周器52に順次演算により求めた分周
比を設定しつつ画素クロックを発生する。
Thereafter, the same operation is repeated until one scan is completed, and a pixel clock is generated while setting the frequency dividing ratio sequentially calculated by the variable frequency divider 52.

【0088】従ってこの実施例においても可変分周器5
2から発生する画素クロックは、fθ誤差を補正したタ
イミングで発生することになる。
Therefore, also in this embodiment, the variable frequency divider 5
The pixel clock generated from 2 is generated at the timing of correcting the fθ error.

【0089】従って本実施例においても前記実施例と同
様の効果を得ることができる。
Therefore, in this embodiment, the same effects as in the above embodiment can be obtained.

【0090】[0090]

【発明の効果】以上、本発明によれば、電気的にfθ誤
差の補正を行うものにおいて、あらゆる解像度に応じて
fθ誤差補正のための画素クロックの発生タイミングを
制御でき、汎用性を向上できる。
As described above, according to the present invention, in the apparatus for electrically correcting the fθ error, the generation timing of the pixel clock for the fθ error correction can be controlled according to any resolution, and the versatility can be improved. .

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例を示す筐体を省いた状態の平
面図。
FIG. 1 is a plan view showing an embodiment of the present invention with a housing omitted.

【図2】図1のA−A線に沿った断面図。FIG. 2 is a sectional view taken along the line AA in FIG. 1;

【図3】同実施例における感光面での走査範囲を示す
図。
FIG. 3 is a view showing a scanning range on a photosensitive surface in the embodiment.

【図4】光ビーム振れ角と走査速度との関係を示すグラ
フ。
FIG. 4 is a graph showing a relationship between a light beam deflection angle and a scanning speed.

【図5】光ビーム振れ角と画素クロック周期との関係を
示すグラフ。
FIG. 5 is a graph showing a relationship between a light beam deflection angle and a pixel clock cycle.

【図6】同実施例での画素クロック発生処理を示す流れ
図。
FIG. 6 is a flowchart showing a pixel clock generation process in the embodiment.

【図7】同実施例の制御回路構成を示すブロック図。FIG. 7 is a block diagram showing a control circuit configuration of the embodiment.

【図8】図7の画素クロック発生回路の具体的構成を示
すブロック図。
FIG. 8 is a block diagram showing a specific configuration of the pixel clock generation circuit of FIG. 7;

【図9】本発明の他の実施例を示す画素クロック発生回
路のブロック図。
FIG. 9 is a block diagram of a pixel clock generation circuit showing another embodiment of the present invention.

【図10】従来例を示す斜視図。FIG. 10 is a perspective view showing a conventional example.

【図11】同従来例における走査位置に対するレーザ制
御信号の周期を示す図。
FIG. 11 is a diagram showing a cycle of a laser control signal with respect to a scanning position in the conventional example.

【符号の説明】[Explanation of symbols]

11…半導体レーザ発振器 15…スキャナモータ 16…直角プリズム 34…画素クロック発生回路 41…レジスタ群 42,43…マルチプレクサ 44…デマルチプレクサ 47…加算器 48…符号変換器 50…制御回路 51…基準クロック発生回路 52…可変分周器 DESCRIPTION OF SYMBOLS 11 ... Semiconductor laser oscillator 15 ... Scanner motor 16 ... Right angle prism 34 ... Pixel clock generation circuit 41 ... Register group 42, 43 ... Multiplexer 44 ... Demultiplexer 47 ... Adder 48 ... Code converter 50 ... Control circuit 51 ... Reference clock generation Circuit 52: Variable frequency divider

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画素クロック発生手段から発生する画素
クロックのタイミングで記録情報に基づいてレーザ光を
オン、オフ制御し、そのレーザ光で感光面を走査して情
報をドット記録する光走査装置において、 前記画素クロック発生手段は、画素クロックのもとにな
る基準クロックを発生する基準クロック発生手段と、少
なくとも画素クロック周期に対応する数値T0とこの数
値T0 の時間微分に対応する数値T1 を記憶する記憶手
段と、レーザ光の走査幅中央での画素クロック周期に対
応する定数A及び前記記憶手段に記憶した数値T0 ,T
1 を用いて、T1 =T1 +2A−4T0 及びT0 =T0
+T1 を算出し、この計算結果に基づいて前記記憶手段
の数値T0 ,T1 を更新する演算手段と、前記記憶手段
の数値T0 を分周比とし、その分周比で前記基準クロッ
ク発生手段からの基準クロックを分周して画素クロック
を発生する可変分周手段とからなることを特徴とする光
走査装置。
1. An optical scanning apparatus for controlling on / off of a laser beam based on recording information at a timing of a pixel clock generated from a pixel clock generating means, and scanning a photosensitive surface with the laser beam to dot-record information. The pixel clock generating means stores a reference clock generating means for generating a reference clock serving as a source of the pixel clock, and at least a numerical value T0 corresponding to a pixel clock cycle and a numerical value T1 corresponding to a time derivative of the numerical value T0. Storage means, a constant A corresponding to a pixel clock cycle at the center of the scanning width of the laser beam, and numerical values T0, T stored in the storage means;
T1 = T1 + 2A-4T0 and T0 = T0
+ T1, calculating means for updating the numerical values T0, T1 in the storage means based on the calculation result; and using the numerical value T0 in the storage means as a frequency division ratio, and using the frequency division ratio as a reference to the reference clock generation means. An optical scanning device, comprising: variable frequency dividing means for dividing a reference clock to generate a pixel clock.
【請求項2】 1画素当たりのビームの振れ角の逆数を
shとしたとき、数値T0 、T1 を、整数部を示す整数
t0 、t1 と小数部を示す整数s0 、s1 を使用して、
T0 =t0 +s0 /sh及びT1 =t1 +s1 /shの
関係式で示し、記憶手段は数値T0 ,T1 に代えて整数
t0 ,t1 ,s0 ,s1 を記憶し、演算手段は数値T0
,T1 に代えて整数t0 ,t1 ,s0 ,s1 を更新
し、分周比(t0 +s0 /sh)を更新する毎に整数s
0 を累積する累積手段を設け、この累積手段の累積値が
sh/2よりも大きくなるとt0 を+1して累積値から
shを減算し、累積値がsh/2よりも小さくなるとt
0 を−1して累積値にshを加算することを特徴とする
請求項1記載の光走査装置。
2. Assuming that the reciprocal of the beam deflection angle per pixel is sh, numerical values T0 and T1 are expressed by using integers t0 and t1 indicating an integer part and integers s0 and s1 indicating a decimal part.
The relational expressions of T0 = t0 + s0 / sh and T1 = t1 + s1 / sh are used. The storage means stores integers t0, t1, s0, s1 in place of the numerical values T0, T1, and the arithmetic means stores the numerical values T0.
, T1, and the integers t0, t1, s0, and s1 are updated, and the integer s is updated every time the division ratio (t0 + s0 / sh) is updated.
An accumulating means for accumulating 0 is provided. When the accumulated value of the accumulating means is larger than sh / 2, t0 is incremented by 1, and sh is subtracted from the accumulated value. When the accumulated value is smaller than sh / 2, t
2. The optical scanning device according to claim 1, wherein sh is added to the accumulated value by decrementing 0.
JP16438893A 1993-07-02 1993-07-02 Optical scanning device Expired - Lifetime JP2883785B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16438893A JP2883785B2 (en) 1993-07-02 1993-07-02 Optical scanning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16438893A JP2883785B2 (en) 1993-07-02 1993-07-02 Optical scanning device

Publications (2)

Publication Number Publication Date
JPH0720394A JPH0720394A (en) 1995-01-24
JP2883785B2 true JP2883785B2 (en) 1999-04-19

Family

ID=15792181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16438893A Expired - Lifetime JP2883785B2 (en) 1993-07-02 1993-07-02 Optical scanning device

Country Status (1)

Country Link
JP (1) JP2883785B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007049798A (en) 2005-08-09 2007-02-22 Toshiba Mitsubishi-Electric Industrial System Corp Power conversion equipment

Also Published As

Publication number Publication date
JPH0720394A (en) 1995-01-24

Similar Documents

Publication Publication Date Title
KR100890977B1 (en) Pixel clock generator, pulse modulator, and image forming apparatus
JP2691205B2 (en) Optical scanning device
JP4336177B2 (en) Pixel clock generation device, optical scanning device, and image forming device
US5541637A (en) Image exposure apparatus with compensation for variations in scanning rate
JP2000071510A (en) Image forming apparatus
JP3212200B2 (en) Optical scanning device
JP2883785B2 (en) Optical scanning device
JP4817334B2 (en) Method and apparatus for forming an image
US20050212905A1 (en) Systems for performing laser beam linearity correction and algorithms and methods for generating linearity correction tables from data stored in an optical scanner
JPH11202247A (en) Optical scanning device
JP4174346B2 (en) Frequency modulator
JPH09281418A (en) Image forming device
JP2003307689A (en) Optical scanner
EP0375434A2 (en) Digital printers
JP3500640B2 (en) Image forming device
JP2007229932A (en) Pixel clock generating device and image forming apparatus
JP3704997B2 (en) Image forming apparatus
JPH09169135A (en) Light scanning device
JPH0915521A (en) Laser light source device
JP2571592B2 (en) Optical scanning device
JPH06191085A (en) Optical scanner
JPH0675186A (en) Laser beam scanning device
JPH0523662B2 (en)
JPS6332514A (en) Correcting method for ununiform scanning speed of laser printer
JP2000094740A (en) Image-forming apparatus