[go: up one dir, main page]

JP2003348852A - Pwm control mechanism - Google Patents

Pwm control mechanism

Info

Publication number
JP2003348852A
JP2003348852A JP2002150902A JP2002150902A JP2003348852A JP 2003348852 A JP2003348852 A JP 2003348852A JP 2002150902 A JP2002150902 A JP 2002150902A JP 2002150902 A JP2002150902 A JP 2002150902A JP 2003348852 A JP2003348852 A JP 2003348852A
Authority
JP
Japan
Prior art keywords
pwm
control terminal
interrupt
timer counter
register
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
JP2002150902A
Other languages
Japanese (ja)
Inventor
Yuichi Ariga
雄一 有賀
Takashi Kamisaka
天志 上坂
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002150902A priority Critical patent/JP2003348852A/en
Publication of JP2003348852A publication Critical patent/JP2003348852A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)
  • Control Of Linear Motors (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To carry out PWM driving even in a microcomputer which is not provided with a PWM driving function for driving a motor, coils, or the like on an arbitrary voltage or is only provided with a PWM driving function insufficient to too many mechanisms to be simultaneously controlled. <P>SOLUTION: The control terminals of a motor or the like are directly controlled using an interrupt function based on a timer, especially, an interrupt which occurs when a timer counter and a register match each other and an interrupt which occurs when a timer overflows, from among interrupt function usually provided in microcomputers. If the overhead of an interrupt is too large to provide an intended duty, the cycle time of the PWM is lengthened, and the influences of the overhead are minimized. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、カメラのフィルム
給送やレンズ駆動等を駆動するためにモータ等駆動機構
に通電して動かす駆動機構において駆動が所定のスピー
ドや駆動力になるように通電を高速にオン/オフして所
定の電圧相当になるように制御するPWM制御に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a driving mechanism for energizing and driving a driving mechanism such as a motor for driving film feeding, lens driving, etc. of a camera so that the driving becomes a predetermined speed and driving force. Control at a high speed to control the voltage to be equivalent to a predetermined voltage.

【0002】[0002]

【従来の技術】従来、PWM信号生成装置は、システム
クロック等クロックパルスをカウントするNビット(一
般的にはニブルの整数倍)で構成されたバイナリタイマ
カウンタと、このバイナリタイマカウンタと同一ビット
長(レジスタ長)で構成された2個のレジスタA,B
と、バイナリタイマカウンタ、レジスタAの全ビットを
各ビットごとに比較し、全ビットの値が一致したとき出
力が“1”となると共にバイナリタイマカウンタの全ビ
ットを“0”にクリアする、通常は“0”を出力してい
るディジタルコンパレータA、レジスタBの全ビットを
各ビットごとに比較し、全ビットの値が一致したとき出
力が“1”となり、通常は“0”を出力しているディジ
タルコンパレータBを有している。ディジタルコンパレ
ータA,Bの一致出力“1”は、Tフリップフロップの
入力端子に供給されて、コンパレータA,Bどちらの一
致出力でもTフリップフロップが反転するように構成さ
れている。
2. Description of the Related Art Conventionally, a PWM signal generator has a binary timer counter composed of N bits (generally an integral multiple of nibble) for counting clock pulses such as a system clock, and the same bit length as the binary timer counter. (Register length), two registers A and B
And all bits of the binary timer counter and register A are compared bit by bit, and when the values of all bits match, the output becomes "1" and all bits of the binary timer counter are cleared to "0". Compares all bits of the digital comparator A and the register B which output "0" for each bit, and when all the bits match, the output becomes "1", and normally outputs "0". Digital comparator B. The coincidence output "1" of the digital comparators A and B is supplied to the input terminal of the T flip-flop, so that the T flip-flop is inverted for both the coincidence outputs of the comparators A and B.

【0003】ここで、レジスタAに設定された値がPW
Mのサイクル時間を決めて、レジスタBに設定された値
がPWMのオン時間を決める。この時、レジスタAに設
定される値がレジスタBの値よりも大きくなるようにす
る。バイナリタイマカウンタがバイナリアップカウンタ
だとすると、バイナリタイマカウンタをスタートする時
にカウンタの全ビットを“0”にクリアして、Tフリッ
プフロップの出力が“H”になるようにリセットする。
バイナリタイマカウンタがクロックパルスによりインク
リメントされてゆくとレジスタBがレジスタAよりも小
さいので先に一致し、コンパレータBの一致出力により
Tフリップフロップが反転して出力が“L”になる。バ
イナリタイマカウンタがインクリメントを続けてレジス
タAに一致するとコンパレータAの一致出力によりTフ
リップフロップが反転して出力が“H”になる。この時
同時にバイナリタイマカウンタの全ビットを“0”にク
リアすると、再びレジスタBと一致しTフリップフロッ
プの反転が繰り返される。この時のTフリップフロップ
の出力がサイクル時間がレジスタAで設定され、オン時
間がレジスタBで設定されるPWM出力となる。
Here, the value set in the register A is PW
The cycle time of M is determined, and the value set in the register B determines the PWM on time. At this time, the value set in the register A is made larger than the value in the register B. Assuming that the binary timer counter is a binary up counter, all bits of the counter are cleared to "0" when the binary timer counter is started, and the output of the T flip-flop is reset to "H".
When the binary timer counter is incremented by the clock pulse, the register B is smaller than the register A and therefore matches first, and the T flip-flop is inverted by the coincidence output of the comparator B and the output becomes "L". When the binary timer counter continues to increment and matches the register A, the T flip-flop is inverted by the match output of the comparator A, and the output becomes “H”. At this time, if all bits of the binary timer counter are cleared to "0" at the same time, the value matches the register B again, and the inversion of the T flip-flop is repeated. The output of the T flip-flop at this time is a PWM output whose cycle time is set by the register A and whose on-time is set by the register B.

【0004】このPWM出力をモータやムービングコイ
ル、LEDなど制御するべきデバイスに供給するために
セレクタを用いて出力先を切り替える。制御すべきデバ
イスの数が3,4個の場合には切り替えを制御するポー
トが2本ですむが、デバイスが増えてくるとそれに応じ
て切り替えを制御するためのオートの数を増やす必要が
ある。
In order to supply the PWM output to devices to be controlled, such as a motor, a moving coil, and an LED, an output destination is switched using a selector. When the number of devices to be controlled is three or four, only two ports are required to control switching, but as the number of devices increases, the number of autos for controlling switching needs to be increased accordingly. .

【0005】PWM発生装置のレジスタAおよびコンパ
レータAの代わりにバイナリタイマカウンタのオーバー
フロー出力(オーバーフロー発生時“1”を出力)を用
いることも出来る。この場合、PWMのサイクル時間は
バイナリタイマカウンタの最大値で決まる。
[0005] Instead of the register A and the comparator A of the PWM generator, an overflow output of a binary timer counter ("1" is output when an overflow occurs) can be used. In this case, the PWM cycle time is determined by the maximum value of the binary timer counter.

【0006】[0006]

【発明が解決しようとする課題】しかし、従来の技術に
おいてはPWMを発生させデバイスに送るにはにカウン
タ、レジスタ、コンパレータ、フリップフロップやセレ
クタなどが必要となる。今日の一般的なマイコンにはタ
イマカウンタ、レジスタ、コンパレータが内蔵されてい
るがそれ以外のハード回路は用意する必要がある。
However, in the prior art, a counter, a register, a comparator, a flip-flop, a selector, and the like are required to generate PWM and send it to the device. Today's general microcomputers have built-in timer counters, registers, and comparators, but other hardware circuits must be provided.

【0007】この時、出力先の自由度を上げると制御ポ
ートが多くなり、マイコンが持っている有限個のポート
をより多く使ってしまうのでほかの制御がやりにくくな
る。また、制御ポートを少なくすると出力先の自由度が
低くなり、希望の出力先にPWMを出せなかった場合に
はハードの設計をやり直さなければならなくなる。
At this time, if the degree of freedom of the output destination is increased, the number of control ports increases, and a finite number of ports of the microcomputer is used more, so that other control becomes difficult. Also, if the number of control ports is reduced, the degree of freedom of the output destination is reduced, and if PWM cannot be output to the desired output destination, the hardware design must be redesigned.

【0008】[0008]

【課題を解決するための手段】一般的なマイコンが持っ
ているタイマとレジスタとの一致による割り込みやタイ
マのオーバーフローによる割り込みによりモータやコイ
ルの制御端子を直接オン/オフすることにより、フリッ
プフロップやPWM出力のセレクタを使用しないでPW
M駆動を行う。
Means for Solving the Problems By directly turning on / off the control terminals of a motor or a coil by an interrupt caused by a match between a timer and a register of a general microcomputer or by an overflow of the timer, a flip-flop or the like is provided. PWM without using a PWM output selector
M drive is performed.

【0009】この時、処理の遅いマイコンでは割り込み
のオーバーヘッドによる遅れが無視できないほどデュー
ティーに影響を与えるので、デューティがある程度大き
くてオンの時間が十分あるときには標準のサイクルで割
り込みによるPWM制御を行い、デューティが小さくな
ってきてオンの時間が小さくなってきたときにはサイク
ルを長くしてオンの時間を長くし割り込みのオーバーヘ
ッドによるデューティへの影響が小さくなるようにPW
M制御を行う。
At this time, since the delay due to the interrupt overhead affects the duty so that the delay cannot be ignored in the microcomputer having a slow processing, the PWM control by the interrupt is performed in the standard cycle when the duty is large enough and the ON time is sufficient. When the duty becomes smaller and the ON time becomes shorter, the PW is set so that the cycle is lengthened to make the ON time longer and the influence of the interrupt overhead on the duty is reduced.
M control is performed.

【0010】[0010]

【発明の実施の形態】システムクロック等クロックパル
スをカウントするタイマカウンタと、このバイナリタイ
マカウンタと同じビット長のレジスタA及びB、タイマ
カウンタとレジスタA及びBとが一致することにより割
り込みを発生させ、またタイマのオーバーフローにより
割り込みを発生させるマイコンと止まっている状態から
手振れの大きさにより徐々に手振れ補正レンズをPWM
駆動してゆく駆動手段があり、タイマカウンタとレジス
タAとが一致することにより発生する割り込みもしくは
タイマカウンタがオーバーフローすることにより発生す
る割り込みで制御端子をオンにし、タイマカウンタとレ
ジスタBとが一致することにより発生する割り込みで制
御端子をオフにすることにより駆動手段をPWM制御す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A timer counter for counting clock pulses such as a system clock, registers A and B having the same bit length as the binary timer counter, and an interrupt generated when the timer counter and registers A and B match. And a microcomputer that generates an interrupt due to an overflow of a timer, and gradually changes the camera shake correction lens from a stopped state to a PWM depending on the magnitude of the camera shake.
There is driving means for driving, and the control terminal is turned on by an interrupt generated when the timer counter and the register A match or an interrupt generated when the timer counter overflows, and the timer counter and the register B match. The drive means is PWM-controlled by turning off the control terminal in response to an interrupt generated as a result.

【0011】また、タイマカウンタとレジスタAとの一
致割り込みの回数もしくはタイマのオーバーフロー割り
込みの回数をカウントし1回は制御端子をオンにする
が、(X−1)回は制御端子をオンにしないことにより
PWMのサイクル時間をX倍にのばし、これに合わせ
て、レジスタBに設定するカウントをX倍にすることで
制御端子のオン時間を長くする。ただし、X倍したカウ
ントがタイマレジスタよりも大きくならないようにする
必要がある。
Further, the number of coincidence interrupts between the timer counter and the register A or the number of overflow interrupts of the timer are counted, and the control terminal is turned on once, but the control terminal is not turned on (X-1) times. Thus, the PWM cycle time is extended by X times, and the count set in the register B is increased by X times in accordance with this, thereby increasing the ON time of the control terminal. However, it is necessary to prevent the count multiplied by X from becoming larger than the timer register.

【0012】(第一の実施形態)以下、本発明を図示の
実施の形態に基づいて詳細に説明する。
(First Embodiment) Hereinafter, the present invention will be described in detail based on the illustrated embodiment.

【0013】図1は本発明の実施の第1の形態に係る像
振れ補正機能付きカメラの回路構成を示すブロック図で
あり、また図2は各構成要素の配置を示した図である。
FIG. 1 is a block diagram showing a circuit configuration of a camera with an image blur correction function according to a first embodiment of the present invention, and FIG. 2 is a diagram showing an arrangement of each component.

【0014】図1において、1はMPU(マイクロプロ
セッシングユニット/以下マイコン)、このマイコンは
タイマによる割り込み機能とタイマが所定のカウントに
なったことを検出するためのタイマ一致比較用レジスタ
を有していて、タイマのオーバーフローした時に発生す
るオーバーフロー割り込み、タイマと比較用レジスタと
が一致したときに発生する一致割り込み1/2の機能を
持っている。10はマイコンのタイマ割り込みに用いる
8bit長のタイマでマイコンを駆動するために供給さ
れているシステムクロックもしくはそのほかのクロック
を入力してカウンタをインクリメントする。
In FIG. 1, reference numeral 1 denotes an MPU (microprocessing unit / microcomputer), which has an interrupt function by a timer and a timer coincidence register for detecting that the timer has reached a predetermined count. In addition, it has a function of an overflow interrupt generated when the timer overflows and a function of a coincidence interrupt 1/2 generated when the timer and the comparison register match. Reference numeral 10 denotes an 8-bit timer used for a timer interrupt of the microcomputer, which inputs a system clock supplied to drive the microcomputer or another clock, and increments the counter.

【0015】2はピッチ方向の振れを検出する振動ジャ
イロ。
Reference numeral 2 denotes a vibration gyro for detecting vibration in the pitch direction.

【0016】3はヨー方向の振れを検出する振動ジャイ
ロ。
Reference numeral 3 denotes a vibration gyro for detecting yaw direction vibration.

【0017】4,5は前記ピッチ、ヨウそれぞれの振動
ジャイロ2,3の出力を増幅する増幅回路。
Reference numerals 4 and 5 denote amplifier circuits for amplifying the outputs of the vibrating gyroscopes 2 and 3 for the pitch and the yaw, respectively.

【0018】6はピッチ方向の手振れ等に起因する像ズ
レを補正するために補正レンズ14を駆動する補正レン
ズ駆動装置。
Reference numeral 6 denotes a correction lens driving device that drives the correction lens 14 to correct an image shift due to hand shake in the pitch direction or the like.

【0019】7はヨー方向の手振れ等に起因する像ズレ
を補正するために補正レンズ14を駆動する補正レンズ
駆動装置。
Reference numeral 7 denotes a correction lens driving device that drives the correction lens 14 to correct an image shift caused by camera shake in the yaw direction.

【0020】12はマイコンおよび周辺回路を駆動する
ための電源。
Reference numeral 12 denotes a power supply for driving a microcomputer and peripheral circuits.

【0021】13はEEPROMやFlashMemo
ry等の不揮発性のメモリで、防振制御のパラメータや
調整値等が記録されている。
Reference numeral 13 denotes an EEPROM or FlashMemo.
In a non-volatile memory such as ry, parameters and adjustment values for image stabilization control are recorded.

【0022】また、図2において、14は手振れによる
像のズレを補正するための像補正レンズ。
In FIG. 2, reference numeral 14 denotes an image correction lens for correcting an image shift caused by camera shake.

【0023】15は補正レンズを支持している3本のバ
ネ。
Reference numeral 15 denotes three springs supporting the correction lens.

【0024】11はレンズを通った被写体像が撮影され
る図示されていないフィルムの撮影範囲を示している。
Reference numeral 11 denotes a photographing range of a film (not shown) in which a subject image passing through the lens is photographed.

【0025】振動ジャイロ2,3の出力は、増幅回路
4,5を介してマイコン1のA/D変換入力端子に接続
されている。
The outputs of the vibrating gyroscopes 2 and 3 are connected to the A / D conversion input terminal of the microcomputer 1 via the amplifier circuits 4 and 5.

【0026】この実施の形態においては、振動ジャイロ
2,3によって検出されたカメラの手振れの角速度を用
いて制御を行っている。すなわち、手振れの角速度に相
当する速度で手振れの方向とは逆方向に補正レンズ12
を駆動する事で、手振れを補正している。 具体的に
は、ピッチ方向の角速度を検出する振動ジャイロ2が+
方向の角速度を検出した場合これはカメラが下方向に回
転したことを意味している。 この時、ムービングコイ
ル8により補正レンズ14を+方向に駆動する。これは
カメラに対して補正レンズを上方向に移動することにな
る。同様に、ヨー方向の角速度を検出する振動ジャイロ
3が+方向の角速度を検出した場合これはカメラが右方
向に回転したことを意味している。この時、ムービング
コイル9により補正レンズ14を+方向に駆動する。こ
れはカメラに対して補正レンズを左方向に移動すること
になる。ただし、レンズの構成によっては−方向に補正
レンズを駆動することにより像ズレ補正する場合もあ
る。
In this embodiment, control is performed using the angular velocity of camera shake detected by the vibrating gyroscopes 2 and 3. That is, at a speed corresponding to the angular velocity of the camera shake, the correction lens 12 is moved in the direction opposite to the direction of the camera shake.
To compensate for camera shake. Specifically, the vibration gyro 2 that detects the angular velocity in the pitch direction
If an angular velocity in the direction is detected, this means that the camera has rotated downward. At this time, the moving lens 8 drives the correction lens 14 in the + direction. This will move the correction lens upward relative to the camera. Similarly, when the vibrating gyroscope 3 for detecting the angular velocity in the yaw direction detects the angular velocity in the + direction, this means that the camera has rotated to the right. At this time, the moving lens 9 drives the correction lens 14 in the + direction. This will move the correction lens to the left with respect to the camera. However, depending on the configuration of the lens, image shift correction may be performed by driving the correction lens in the negative direction.

【0027】図3は、手振れ補正のシーケンスを示すフ
ローチャートである。
FIG. 3 is a flowchart showing a sequence of camera shake correction.

【0028】#1でカメラの手振れ補正を開始する。撮
影準備開始SW(SW1)が押されたら手振れ補正を開
始する。
In step # 1, camera shake correction is started. When the photographing preparation start switch (SW1) is pressed, camera shake correction is started.

【0029】#2で制御用のポートおよびタイマ関連の
設定を初期化する。
At step # 2, the settings relating to the control port and the timer are initialized.

【0030】#3でデジタルフィルタ演算のデータを初
期化する。
In step # 3, the data of the digital filter operation is initialized.

【0031】#4でマイコンのA/D変換によりジャイ
ロの出力を増幅した電圧出力を数値化して取り込む。ジ
ャイロはピッチ方向の検出とヨー方向の検出用と2個あ
りそれぞれ出力を取り込む。
In step # 4, the voltage output obtained by amplifying the output of the gyro by A / D conversion of the microcomputer is digitized and taken in. There are two gyros, one for detecting the pitch direction and the other for detecting the yaw direction.

【0032】#5で#4にて取り込んだ角速度に対応し
たジャイロ出力を補正のためにデジタル演算により角変
位に変換する。
At step # 5, the gyro output corresponding to the angular velocity fetched at step # 4 is converted into angular displacement by digital calculation for correction.

【0033】#6で#5にて変換した角変位を基に必要
なデューティ値を演算する。
In step # 6, a required duty value is calculated based on the angular displacement converted in step # 5.

【0034】#7でSW1が押され続けているか撮影が
行われ露光中である場合には手振れ補正を終了せず#4
に進み手振れ補正を続ける。SW1が離されるか、撮影
が終了した場合には手振れ補正を終了し#8に進む。
If it is determined in step # 7 that the switch SW1 is kept depressed or the photographing operation is being performed and the exposure is being performed, the camera shake correction is not terminated and the operation proceeds to step # 4.
And continue the image stabilization. If the switch SW1 is released or the shooting is completed, the camera shake correction is completed and the process proceeds to step # 8.

【0035】#8でカメラの手振れ補正処理が終わる。At step # 8, the camera shake correction processing is completed.

【0036】図4は、タイマのオーバーフロー割り込み
発生時の処理を示すフローチャートである。
FIG. 4 is a flowchart showing a process when an overflow interrupt of the timer occurs.

【0037】8bitタイマ10がオーバーフローする
とオーバーフロー割り込みが発生し#10に飛ぶ。
When the 8-bit timer 10 overflows, an overflow interrupt is generated and the process jumps to step # 10.

【0038】#11でタイマ一致比較用レジスタTre
g1にピッチ方向の駆動デューティDutyPを設定す
る。ここでDutyPは8bitタイマに対するデュー
ティなので0から255の値が設定される。
In step # 11, the timer match comparison register Tre
The drive duty DutyP in the pitch direction is set to g1. Here, since DutyP is a duty for the 8-bit timer, a value from 0 to 255 is set.

【0039】#12でタイマ一致比較用レジスタTre
g2にヨー方向の駆動デューティDutyYを設定す
る。
In step # 12, the timer match comparison register Tre
The drive duty DutyY in the yaw direction is set to g2.

【0040】#13でピッチ方向の駆動制御端子con
tPA/PBをオンにする。この時、ムービングコイル
を正方向に駆動する場合にはcontPAのみをオンし
contPBはオフのままとしコイルに正方向の通電を
行い、逆方向に駆動する場合にはcontPBのみをオ
ンしcontPAはオフのままとしコイルに逆方向の通
電を行うことで駆動方向を制御する。
In # 13, the drive control terminal con in the pitch direction
Turn on tPA / PB. At this time, when the moving coil is driven in the forward direction, only contPA is turned on, and contPB is kept off, and the coil is energized in the forward direction. When driven in the reverse direction, only contPB is turned on and contPA is turned off. The driving direction is controlled by applying a current in the opposite direction to the coil while keeping the current.

【0041】#14でヨー方向の駆動制御端子cont
YA/YBをオンにする。この時#13と同様に、ムー
ビングコイルを正方向に駆動する場合にはcontYA
のみをオンしcontYBはオフのままとしコイルに正
方向の通電を行い、逆方向に駆動する場合にはcont
YBのみをオンしcontYAはオフのままとしコイル
に逆方向の通電を行うことで駆動方向を制御する。
In # 14, the yaw direction drive control terminal cont
Turn on YA / YB. At this time, similarly to # 13, when the moving coil is driven in the forward direction, contYA
When only the coil is turned on and the cont YB is kept off, the coil is energized in the forward direction.
The drive direction is controlled by turning on only YB and leaving contYA off, and conducting current in the opposite direction to the coil.

【0042】#15でオーバーフロー割り込み処理を終
わり、通常の処理に戻る。
At step # 15, the overflow interrupt process is completed, and the process returns to the normal process.

【0043】図5は、タイマの一致割り込み1発生時の
処理を示すフローチャートである。
FIG. 5 is a flow chart showing the processing when the timer coincidence interrupt 1 occurs.

【0044】8bitタイマ10とTreg1とが一致
すると一致割り込み1が発生し#20に飛ぶ。
When the 8-bit timer 10 and Treg1 match, a match interrupt 1 is generated and the process jumps to # 20.

【0045】#21でcontPA/PBを両方ともオ
フにし通電を停止する。
At step # 21, both contPA / PB are turned off to stop energization.

【0046】#22で一致割り込み1処理が終わり、通
常の処理に戻る。
At step # 22, the coincidence interrupt 1 process ends, and the process returns to the normal process.

【0047】図6は、タイマの一致割り込み2発生時の
処理を示すフローチャートである。
FIG. 6 is a flowchart showing the processing when a timer coincidence interrupt 2 occurs.

【0048】8bitタイマ10とTreg2とが一致
すると一致割り込み2が発生し#30に飛ぶ。
When the 8-bit timer 10 and Treg2 match, a match interrupt 2 is generated and the process jumps to # 30.

【0049】#31でcontYA/YBを両方ともオ
フにし通電を停止する。
At step # 31, both contYA / YB are turned off to stop the energization.

【0050】#32で一致割り込み2処理が終わり、通
常の処理に戻る。
At step # 32, the coincidence interrupt 2 process ends, and the process returns to the normal process.

【0051】本発明の図4において、タイマのオーバー
フローにより発生する割り込みを用いているが、タイマ
のビット数が十分用意でき、図5,図6のようにタイマ
の一致により発生する割り込みがもう一つあればオーバ
ーフロー割り込みではなくタイマの一致割り込みにより
PWMを制御することも出来る。
In FIG. 4 of the present invention, the interrupt generated by the overflow of the timer is used. However, the number of bits of the timer can be sufficiently prepared, and another interrupt generated by the coincidence of the timer as shown in FIGS. If it is, PWM can be controlled by a timer coincidence interrupt instead of an overflow interrupt.

【0052】(第二の実施形態)以下発明の第二の実施
形態の詳細な説明を、図を用いて行っていゆく。
(Second Embodiment) The second embodiment of the present invention will be described in detail with reference to the drawings.

【0053】図8は第二の実施形態のPWM動作を示す
図である。
FIG. 8 is a diagram showing the PWM operation of the second embodiment.

【0054】ここで、割り込みのオーバーヘッド(遅
れ)が8μsec程度の処理速度の遅いマイコンを使
い、2MHzのクロックを8bitのタイマに入力して
PWM制御を行うことを想定した場合、クロックの一周
期時間は0.5μsecなので8bitタイマを用いた
PWMの1サイクルは128μsecとなり約8kHz
のPWMを出力できる。
Here, assuming that a microcomputer having a slow processing speed of about 8 μsec with an interrupt overhead (delay) is used and a 2 MHz clock is input to an 8-bit timer to perform PWM control, one cycle time of the clock is assumed. Is 0.5 μsec, so one cycle of PWM using an 8-bit timer is 128 μsec, which is about 8 kHz.
Can be output.

【0055】この構成で(1)のように50%デューテ
ィのPWMを出力する場合には、タイマのカウンタが2
56カウント(8bitのタイマであるので)の50%
128カウントになったときにコイルの制御端子を切り
替える事によりデューティが50%になるのだが本構成
ではマイコンの割り込みオーバーヘッド8μsecがあ
るので128カウントから16カカウント(8μsec
÷0.5μsec)を引いた112カウントで切り替え
ることによりデューティを50%にする事が出来る。
In this configuration, when PWM with a 50% duty is output as in (1), the counter of the timer is set to 2
50% of 56 counts (because it is an 8-bit timer)
By switching the control terminal of the coil when the count reaches 128, the duty becomes 50%. However, in this configuration, since the microcomputer has an interrupt overhead of 8 μsec, the count is increased from 128 counts to 16 counts (8 μsec).
By switching at 112 counts minus (0.5 μsec), the duty can be made 50%.

【0056】同様に(2)のように25%デューティの
PWMを出力する場合には、256カウントの25%で
ある64カウントから16カウントを引いた48カウン
トで切り替えることによりデューティを25%にする事
が出来る。
Similarly, in the case of outputting a PWM with a 25% duty as in (2), the duty is set to 25% by switching from 64 counts, which is 25% of 256 counts, by subtracting 16 counts from 48 counts. Can do things.

【0057】しかし、(3)のように5%程度のデュー
ティのPWMを出力しようとした場合、256カウント
の5%である12カウントは割り込みオーバーヘッド分
の16カウントよりも小さいのでオーバーヘッド分を引
いて補正する事ができない。
However, when PWM with a duty of about 5% is to be output as in (3), since 12 counts, which is 5% of 256 counts, is smaller than 16 counts of the interrupt overhead, the overhead is subtracted. It cannot be corrected.

【0058】そこで、(4)のようにサイクル時間を8
倍に延ばし、これに応じて256カウントの5%である
12カウントも8倍して96カウントとして制御端子を
切り替えることによりデューティを5%にする事が出
来、また割り込みオーバーヘッド分の16カウントの影
響を小さくすること出来る。
Therefore, the cycle time is set to 8 as shown in (4).
The duty can be made 5% by switching the control terminal by multiplying the count by 12 and 8 counts, which is 5% of 256 counts, to 96 counts, and the effect of 16 counts for the interrupt overhead. Can be reduced.

【0059】実際の制御のフローを図を用いて説明す
る。
The actual control flow will be described with reference to the drawings.

【0060】図7は、第二の実施形態のタイマのオーバ
ーフロー割り込み発生時の処理を示すフローチャートで
ある。
FIG. 7 is a flowchart showing a process when an overflow interrupt of the timer occurs according to the second embodiment.

【0061】8bitタイマ10のオーバーフローが発
生すると#40に飛ぶ。
When an overflow of the 8-bit timer 10 occurs, the process jumps to step # 40.

【0062】#41でDutyPの値が所定値αよりも
大きい場合には#42に進む。ここでαは割り込みによ
るオーバーヘッド分を示す。
If the value of DutyP is larger than the predetermined value α in # 41, the process proceeds to # 42. Here, α indicates the overhead due to interruption.

【0063】#42で一致割り込み1を許可する。At step # 42, match interrupt 1 is enabled.

【0064】#43でDutyPの値が所定値αよりも
大きい場合には割り込みのオーバーヘッドの影響をあま
り受けないのでピッチ方向の駆動デューティDutyP
からオーバーヘッド分のαを引いてタイマ一致比較用レ
ジスタTreg1に設定する。
When the value of DutyP is larger than the predetermined value α in # 43, the drive duty DutyP in the pitch direction is not so affected by the interruption overhead.
Is subtracted by α for the overhead, and is set in the timer match comparison register Treg1.

【0065】#44でピッチ方向の駆動制御端子con
tPA/PBをオンにする。この時、ムービングコイル
を正方向に駆動する場合にはcontPAのみをオンし
contPBはオフのまま、逆方向に駆動する場合には
contPBのみをオンしcontPAはオフのままに
することで駆動方向を制御する。
At # 44, the drive control terminal con in the pitch direction
Turn on tPA / PB. At this time, when the moving coil is driven in the forward direction, only the contPA is turned on and the contPB remains off, and when the moving coil is driven in the reverse direction, only the contPB is turned on and the contPA is kept off to change the driving direction. Control.

【0066】#45でcounterPをゼロクリアす
る。但し、DutyPがαよりも大きい場合にはゼロク
リアするのみでcounterは使っていない。
At step # 45, counterP is cleared to zero. However, when DutyP is larger than α, the counter is not used, but only cleared to zero.

【0067】#41でDutyPの値が所定値αよりも
小さい場合には#46に進む。
If the value of DutyP is smaller than the predetermined value α in # 41, the flow proceeds to # 46.

【0068】#46でcounterPがゼロの場合に
は#47に進む。
If counterP is zero in # 46, the process proceeds to # 47.

【0069】#47で一致割り込み1を許可する。At step # 47, match interrupt 1 is enabled.

【0070】#48でDutyPの値が所定値αよりも
小さい場合には割り込みのオーバーヘッドの影響が大き
くなるのでこの影響を少なくするためにサイクル時間を
長くする。ここではサイクルの時間を8倍にするために
ピッチ方向の駆動デューティDutyPを8倍にしてタ
イマ一致比較用レジスタTreg1に設定する。
If the value of DutyP is smaller than the predetermined value α in # 48, the influence of the overhead of the interrupt increases, and the cycle time is lengthened to reduce the influence. Here, in order to make the cycle time eight times, the drive duty DutyP in the pitch direction is made eight times and set in the timer match comparison register Treg1.

【0071】#49でピッチ方向の駆動制御端子con
tPA/PBをオンにする。
At # 49, the drive control terminal con in the pitch direction
Turn on tPA / PB.

【0072】#50でサイクル時間を8倍にするためc
ounterPを8にセットする。
In order to increase the cycle time eight times at # 50, c
Set counterP to 8.

【0073】#51でcounterPをデクリメント
する。
At step # 51, counterP is decremented.

【0074】#46でcounterPがゼロでない場
合には#52に進む。
If counterP is not zero at # 46, the process proceeds to # 52.

【0075】#52で一致割り込み1が発生しないよう
に割り込みを禁止する。
At step # 52, the interrupt is prohibited so that the coincidence interrupt 1 does not occur.

【0076】#51でcounterPをデクリメント
する。ここで、counterPがゼロになるまではタ
イマ一致比較用レジスタTreg1と駆動制御端子co
ntPA/PBには何も処理を行わない。これによりサ
イクル時間を8倍にすることが出来る。
At step # 51, counterP is decremented. Here, until the value of counterP becomes zero, the register Treg1 for timer match comparison and the drive control terminal co
No processing is performed on ntPA / PB. As a result, the cycle time can be increased eight times.

【0077】#53でDutyYの値が所定値αよりも
大きい場合には#54に進む。ここでαは割り込みによ
るオーバーヘッド分を示す。
If the value of DutyY is larger than the predetermined value α in # 53, the process proceeds to # 54. Here, α indicates the overhead due to interruption.

【0078】#54で一致割り込み2を許可する。At step # 54, the coincidence interrupt 2 is permitted.

【0079】#55でDutyYの値が所定値αよりも
大きい場合には割り込みのオーバーヘッドの影響をあま
り受けないのでピッチ方向の駆動デューティDutyY
からオーバーヘッド分のαを引いてタイマ一致比較用レ
ジスタTreg2に設定する。
If the value of DutyY is larger than the predetermined value α in # 55, the drive duty DutyY in the pitch direction is not so affected by the interruption overhead.
Is subtracted from the value corresponding to the overhead, and is set in the register for timer match comparison Treg2.

【0080】#56でピッチ方向の駆動制御端子con
tYA/YBをオンにする。この時、ムービングコイル
を正方向に駆動する場合にはcontYAのみをオンし
contYBはオフのまま、逆方向に駆動する場合には
contYBのみをオンしcontYAはオフのままに
することで駆動方向を制御する。
In step # 56, the drive control terminal con in the pitch direction
Turn on tYA / YB. At this time, when driving the moving coil in the forward direction, only contYA is turned on and contYB remains off, and when driving the moving coil in the reverse direction, only contYB is turned on and contYA is kept off, thereby changing the driving direction. Control.

【0081】#57でcounterYをゼロクリアす
る。但し、DutyYがαよりも大きい場合にはゼロク
リアするのみでcounterは使っていない。
At step # 57, counterY is cleared to zero. However, when DutyY is larger than α, zero is only cleared and counter is not used.

【0082】#53でDutyYの値が所定値αよりも
小さい場合には#58に進む。
If the value of DutyY is smaller than the predetermined value α in # 53, the flow proceeds to # 58.

【0083】#58でcounterYがゼロの場合に
は#59に進む。
If the value of counterY is zero in # 58, the process proceeds to # 59.

【0084】#59で一致割り込み2を許可する。At step # 59, the coincidence interrupt 2 is enabled.

【0085】#60でDutyYの値が所定値αよりも
小さい場合には割り込みのオーバーヘッドの影響が大き
くなるのでこの影響を少なくするためにサイクル時間を
長くする。ここではサイクルの時間を8倍にするために
ピッチ方向の駆動デューティDutyYを8倍にしてタ
イマ一致比較用レジスタTreg2に設定する。
If the value of DutyY is smaller than the predetermined value α in step # 60, the influence of the overhead of the interruption increases, and the cycle time is lengthened to reduce the influence. Here, in order to make the cycle time eight times, the drive duty DutyY in the pitch direction is made eight times and set in the timer match comparison register Treg2.

【0086】#61でピッチ方向の駆動制御端子con
tYA/YBをオンにする。
At # 61, the drive control terminal con in the pitch direction
Turn on tYA / YB.

【0087】#62でサイクル時間を8倍にするためc
ounterYを8にセットする。
In order to make the cycle time eight times in # 62, c
Set counterY to 8.

【0088】#51でcounterYをデクリメント
する。
In step # 51, counterY is decremented.

【0089】#58でcounterYがゼロでない場
合には#64に進む。
If counterY is not zero in # 58, the flow proceeds to # 64.

【0090】#64で一致割り込み2が発生しないよう
に割り込みを禁止する。
In step # 64, the interrupt is prohibited so that the coincidence interrupt 2 does not occur.

【0091】#63でcounterYをデクリメント
する。ここで、counterYがゼロになるまではタ
イマ一致比較用レジスタTreg2と駆動制御端子co
ntYA/YBには何も処理を行わない。これによりサ
イクル時間を8倍にすることが出来る。
In step # 63, counterY is decremented. Here, the counter Treg2 and the drive control terminal co until the counterY becomes zero.
No processing is performed on ntYA / YB. As a result, the cycle time can be increased eight times.

【0092】#65でオーバーフロー割り込み処理を終
わり、通常の処理に戻る。
At step # 65, the overflow interrupt processing is completed, and the processing returns to the normal processing.

【0093】本発明の図7において、タイマのオーバー
フローにより発生する割り込みを用いているが、タイマ
のビット数が十分用意でき、図5,図6のようにタイマ
の一致により発生する割り込みがもう一つあればオーバ
ーフロー割り込みではなくタイマの一致割り込みにより
PWMを制御することも出来る。
In FIG. 7 of the present invention, the interrupt generated by the overflow of the timer is used. However, the number of bits of the timer can be sufficiently prepared, and another interrupt generated by the coincidence of the timer as shown in FIGS. If it is, PWM can be controlled by a timer coincidence interrupt instead of an overflow interrupt.

【0094】この第二の実施形態のおいて、割り込みの
オーバーヘッドの影響を小さくするためにPWMの周期
を8kHzから1kHzに落としているが、周波数を落
とすことにより人間の可聴周波数の感度の高い周波数に
なってしまう。そこで、デューティが小さく駆動量の少
ない(エネルギーの少ない)領域でのみ周波数を落と
し、デューティが大きく駆動量の大きい領域では周波数
を下げないようにすることでコイルの駆動音を極力出さ
ないようにしている。
In the second embodiment, the period of PWM is reduced from 8 kHz to 1 kHz in order to reduce the influence of the overhead of the interrupt. Become. Therefore, the frequency is reduced only in the area where the duty is small and the driving amount is small (low energy), and the frequency is not lowered in the area where the duty is large and the driving amount is large so that the driving sound of the coil is minimized. I have.

【0095】また、本発明のようの手振れ補正レンズの
ようにPWM駆動により位置が変わっても駆動を止めれ
ば大気位置に復帰するような駆動部材であれば、逆に可
聴周波数の感度の高い周波数でデューティを大きくし駆
動音を出すことにより、スピーカ等の部品を追加しなく
てもカメラのエラー時などに用いる警告音を出すことも
出来る。
On the other hand, if the driving member returns to the atmospheric position if the driving is stopped even if the position is changed by the PWM driving, such as a camera shake correction lens as in the present invention, a frequency having a high audible frequency sensitivity is obtained. By increasing the duty to generate a drive sound, it is possible to generate a warning sound used when a camera error occurs without adding a component such as a speaker.

【0096】[0096]

【発明の効果】以上説明したように、本発明によれば、
タイマとレジスタとの一致によりフリップフロップ回路
の出力を切り替えることによりPWMを出力するPWM
の出力回路やこのPWM出力を所望の駆動機構に切り替
えるためのセレクタを設ける必要がない。
As described above, according to the present invention,
PWM that outputs PWM by switching the output of a flip-flop circuit in accordance with a match between a timer and a register
It is not necessary to provide an output circuit and a selector for switching this PWM output to a desired drive mechanism.

【0097】また、出力するデューティーによってサイ
クル時間を変えることにより処理の遅い割り込みのオー
バーヘッドによる遅れの大きいマイコンでもオーバーヘ
ッドによるデューティーへの影響を極力小さくすること
ができる。
Further, by changing the cycle time depending on the duty to be output, even a microcomputer having a large delay due to the overhead of an interrupt which is slow in processing can minimize the influence of the overhead on the duty.

【0098】さらに、PWM駆動のサイクル(周波数)
を変えることが出来るので、人間の可聴周波数の感度の
高い周波数でPWM駆動することにより、特にスピーカ
ーを設けなくても警告音を出すことが出来る。
Further, the PWM drive cycle (frequency)
Can be changed, and by performing PWM driving at a frequency having high sensitivity to human audible frequencies, a warning sound can be output without providing a speaker.

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

【図1】本発明の回路構成を示すブロック図。FIG. 1 is a block diagram showing a circuit configuration of the present invention.

【図2】構成要素の配置図。FIG. 2 is a layout diagram of components.

【図3】手振れ補正のシーケンスを示すフローチャー
ト。
FIG. 3 is a flowchart illustrating a sequence of camera shake correction.

【図4】タイマのオーバーフロー割り込み発生時の処理
を示すフローチャート。
FIG. 4 is a flowchart showing processing when an overflow interrupt of a timer occurs.

【図5】タイマの一致割り込み1発生時の処理を示すフ
ローチャート。
FIG. 5 is a flowchart showing processing when a timer coincidence interrupt 1 occurs.

【図6】タイマの一致割り込み2発生時の処理を示すフ
ローチャート。
FIG. 6 is a flowchart illustrating processing when a timer coincidence interrupt 2 occurs.

【図7】タイマのオーバーフロー割り込み発生時の処理
を示すフローチャートの変形例。
FIG. 7 is a modified example of a flowchart showing processing when an overflow interrupt of a timer occurs.

【図8】第二の実施形態のおけるPWM出力波形。FIG. 8 is a PWM output waveform according to the second embodiment.

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

1 手振れ補正の制御をするMPU(マイコン) 2 ピッチ方向の手振れによるカメラの角速度を検出す
るジャイロ 3 ヨー方向の手振れによるカメラの角速度を検出する
ジャイロ 4 ピッチ方向のジャイロ出力を増幅するアンプ 5 ヨー方向のジャイロ出力を増幅するアンプ 6 ピッチ方向の手振れを補正するムービングコイルを
駆動するモータードライバ 7 ヨー方向の手振れを補正するムービングコイルを駆
動するモータードライバ 8 ピッチ方向の手振れを補正するムービングコイル 9 ヨー方向の手振れを補正するムービングコイル 10 PWMを制御するための8bitタイマ 11 レンズを通過した被写体画像が撮影される範囲
(アパーチャ) 12 マイコン及び周辺回路を駆動する電源 13 制御のパラメータや演算の係数等を記録したEE
PROM等不揮発性メモリ 14 位置を動かすことにより手振れ補正する補正レン
ズ 15 補正レンズを支持している3本のバネ
1 MPU (microcomputer) for controlling camera shake correction 2 Gyroscope for detecting angular velocity of camera due to camera shake in pitch direction 3 Gyroscope for detecting angular velocity of camera due to camera shake in yaw direction 4 Amplifier 5 for amplifying gyro output in pitch direction 5 Yaw direction 6 A motor driver that drives a moving coil that corrects camera shake in the pitch direction 7 A motor driver that drives a moving coil that corrects camera shake in the yaw direction 8 A moving coil 9 that corrects camera shake in the pitch direction 9 Yaw direction A moving coil 10 for correcting camera shake, an 8-bit timer 11 for controlling PWM, a range (aperture) in which a subject image passing through a lens is captured 12 a power supply for driving a microcomputer and peripheral circuits 13 control parameters and calculation coefficients, etc. Recorded EE
Non-volatile memory such as PROM 14 Correction lens 15 for correcting camera shake by moving the position Three springs supporting the correction lens

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C022 AB55 AC54 AC74 5H007 AA04 BB00 DB12 DC00 EA06 5H540 AA10 BA06 BB06 EE02 EE11   ────────────────────────────────────────────────── ─── Continuation of front page    F-term (reference) 5C022 AB55 AC54 AC74                 5H007 AA04 BB00 DB12 DC00 EA06                 5H540 AA10 BA06 BB06 EE02 EE11

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 システムクロック等クロックパルスをカ
ウントするNビットで構成されたバイナリタイマカウン
タ、 このバイナリタイマカウンタと同一のビット長で構成さ
れたレジスタA及びB、 タイマカウンタとレジスタA及びBとが一致することに
より割り込みを発生させるマイコン、 制御端子がオンの間は通電し駆動を行い、オフの間は通
電を停止するか、ショート状態にするPWM駆動手段と
を有し、 タイマカウンタとレジスタAとが一致することにより発
生する割り込みで制御端子をオンにし、 タイマカウンタとレジスタBとが一致することにより発
生する割り込みで制御端子をオフにすることにより駆動
手段をPWM制御することを特徴とするPWMの制御機
構。
1. A binary timer counter composed of N bits for counting clock pulses such as a system clock. Registers A and B having the same bit length as the binary timer counter. A microcomputer that generates an interrupt when the values coincide with each other; and a PWM drive unit that energizes and drives while the control terminal is on, and stops or short-circuits while the control terminal is off. PWM control of the driving means by turning on the control terminal by an interrupt generated by the coincidence of the timer counter and by turning off the control terminal by an interrupt generated by the coincidence of the timer counter and the register B. PWM control mechanism.
【請求項2】 システムクロック等クロックパルスをカ
ウントするNビットで構成されたバイナリタイマカウン
タ、 このバイナリタイマカウンタと同一のビット長で構成さ
れたレジスタ、 タイマカウンタとレジスタとが一致することにより割り
込みを発生し、 またタイマカウンタがオーバーフローすることにより割
り込みを発生させるマイコン、 制御端子がオンの間は通電し駆動を行い、オフの間は通
電を停止するか、ショート状態にするPWM駆動手段と
を有し、 タイマカウンタがオーバーフローすることにより発生す
る割り込みで制御端子をオンにし、 タイマカウンタとレジスタとが一致することにより発生
する割り込みで制御端子をオフにすることにより駆動手
段をPWM制御することを特徴とするPWMの制御機
構。
2. A binary timer counter consisting of N bits for counting clock pulses such as a system clock, a register having the same bit length as the binary timer counter, and an interrupt when the timer counter matches the register. It has a microcomputer that generates an interrupt when the timer counter overflows, and a PWM drive means that energizes and drives while the control terminal is on, and stops or short-circuits while the control terminal is off. The drive means is PWM-controlled by turning on the control terminal by an interrupt generated when the timer counter overflows and turning off the control terminal by an interrupt generated when the timer counter and the register match. PWM control mechanism.
【請求項3】 タイマカウンタとレジスタAとの一致割
り込みの回数をカウントし、1回は制御端子をオンにす
るが、(X−1)回は制御端子をオンにしないことによ
りPWMのサイクル時間をX倍にのばし、 これに合わせて、レジスタBに設定するカウントをX倍
にすることで制御端子のオン時間を長くすることを特徴
とする請求項2のPWMの制御機構。
3. The cycle time of PWM is counted by counting the number of interrupts of coincidence between the timer counter and the register A, and turning on the control terminal once, but not turning on the control terminal (X-1) times. 3. The PWM control mechanism according to claim 2, wherein the ON time of the control terminal is lengthened by increasing the count set in the register B by X times.
【請求項4】 タイマのオーバーフロー割り込みの回数
をカウントし、1回は制御端子をオンにするが、(X−
1)回は制御端子をオンにしないことによりPWMのサ
イクル時間をX倍にのばし、 これに合わせて、レジスタに設定するカウントをX倍に
することで制御端子のオン時間を長くすることを特徴と
する請求項2のPWMの制御機構。
4. Counting the number of overflow interrupts of the timer, turning on the control terminal once,
1) The cycle time of PWM is extended by X times by not turning on the control terminal, and the ON time of the control terminal is extended by increasing the count set in the register by X times. The PWM control mechanism according to claim 2, wherein
【請求項5】 PWM駆動手段は手振れを補正するレン
ズ駆動のように広い範囲のデューティを制御する場合に
はデューティが小さい場合にはサイクル時間を長くする
ことを特徴とする請求項3及び請求項4のPWMの制御
機構。
5. The PWM driving means according to claim 3, wherein when the duty is controlled in a wide range, such as when driving a lens for correcting camera shake, the cycle time is lengthened when the duty is small. 4 PWM control mechanism.
【請求項6】 PWMのサイクル時間を制御することに
より周波数を変え人間の可聴周波数の感度の高い周波数
でPWM駆動を行うことによりエラー発生時の警告音あ
るいはPWM駆動時の作動音として使うことを請求項3
及び請求項4のPWMの制御機構。
6. A method of changing the frequency by controlling the cycle time of the PWM and performing the PWM drive at a frequency having high sensitivity to human audible frequency to use as a warning sound when an error occurs or an operation sound during the PWM drive. Claim 3
And the PWM control mechanism according to claim 4.
JP2002150902A 2002-05-24 2002-05-24 Pwm control mechanism Withdrawn JP2003348852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002150902A JP2003348852A (en) 2002-05-24 2002-05-24 Pwm control mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002150902A JP2003348852A (en) 2002-05-24 2002-05-24 Pwm control mechanism

Publications (1)

Publication Number Publication Date
JP2003348852A true JP2003348852A (en) 2003-12-05

Family

ID=29768639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002150902A Withdrawn JP2003348852A (en) 2002-05-24 2002-05-24 Pwm control mechanism

Country Status (1)

Country Link
JP (1) JP2003348852A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006291908A (en) * 2005-04-13 2006-10-26 Calsonic Kansei Corp Electric fan control device for engine cooling system
JP2008079483A (en) * 2006-09-25 2008-04-03 Rohm Co Ltd Motor driving circuit, driver and electronic device
KR101094883B1 (en) 2010-02-26 2011-12-15 (주)모토닉 PPM pulse period and duty measurement method
CN106918499A (en) * 2017-04-19 2017-07-04 成都市惠家胶粘制品有限公司 The resistance to tensile strength quality inspection system of diaphragm
CN110988605A (en) * 2019-12-31 2020-04-10 深圳友讯达科技股份有限公司 Fault recording sampling system and sampling method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006291908A (en) * 2005-04-13 2006-10-26 Calsonic Kansei Corp Electric fan control device for engine cooling system
JP2008079483A (en) * 2006-09-25 2008-04-03 Rohm Co Ltd Motor driving circuit, driver and electronic device
KR101094883B1 (en) 2010-02-26 2011-12-15 (주)모토닉 PPM pulse period and duty measurement method
CN106918499A (en) * 2017-04-19 2017-07-04 成都市惠家胶粘制品有限公司 The resistance to tensile strength quality inspection system of diaphragm
CN110988605A (en) * 2019-12-31 2020-04-10 深圳友讯达科技股份有限公司 Fault recording sampling system and sampling method
CN110988605B (en) * 2019-12-31 2023-03-21 深圳友讯达科技股份有限公司 Fault recording sampling system and sampling method

Similar Documents

Publication Publication Date Title
US7675548B2 (en) Shake correcting device, shake correcting method and control program for implementing the method
US8289407B2 (en) Imaging apparatus and imaging method
JP4827687B2 (en) Step motor driving device, lens driving device and camera
JP2009044520A (en) Anti-vibration control circuit
JP5544072B2 (en) Vibration correction control circuit and imaging apparatus including the same
JP2003348852A (en) Pwm control mechanism
JP2009152792A (en) Vibration correction control circuit and imaging apparatus equipped with the same
JP2008029177A (en) Semiconductor device
JP5123606B2 (en) Anti-vibration control circuit
JP5484198B2 (en) Shake correction apparatus, imaging apparatus, and shake correction apparatus control method
JP2003131281A (en) Device for correcting image blurring
JP2001201778A (en) Image blur correcting device, device provided with image blur correcting function, camera and lens device for camera
JP4666787B2 (en) Vibration detection apparatus and image shake correction apparatus
JPH1164907A (en) Shake correcting device
KR20170067581A (en) Apparatus for optical image stabilization
JP2009042544A (en) Anti-vibration control circuit
JP3427867B2 (en) Image stabilizer
JP2007333922A (en) Lens control device and lens control method
JP4890144B2 (en) Brushless motor drive circuit and motor provided with the same
JP2001013538A (en) Optical instrument
JP2000105396A (en) Device provided with image blur correcting function
JPH07159838A (en) Lens device
JPH0980573A (en) Camera equipped with image blurring correcting function
JP2021012253A (en) Imaging apparatus and method for controlling the same
JP2002181548A (en) Vibration detector and image-deflection correction apparatus

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: 20050802