JPS623301A - Pulse width modulation method - Google Patents
Pulse width modulation methodInfo
- Publication number
- JPS623301A JPS623301A JP60142935A JP14293585A JPS623301A JP S623301 A JPS623301 A JP S623301A JP 60142935 A JP60142935 A JP 60142935A JP 14293585 A JP14293585 A JP 14293585A JP S623301 A JPS623301 A JP S623301A
- Authority
- JP
- Japan
- Prior art keywords
- output
- pulse width
- signal
- width modulation
- counter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Feedback Control In General (AREA)
- Control Of Position Or Direction (AREA)
- Pulse Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、負荷を駆動する駆動回路に入力するパルス幅
を制御するパルス幅変調方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a pulse width modulation method for controlling the pulse width input to a drive circuit that drives a load.
従来の技術
近年、モータ等の負荷を任意に駆動を行ない、モータの
回転により例えばロボットアームを移動させ、ロボット
アームの移動により、ロボットアームの先端部に取付け
たロボットノ・ンドにて物体を握み、前記物体の組立を
行なうロボットが供給されている。ロボットアームを所
期の位置決めを行なうためのモータの駆動方式は、指令
値の値に応じて前記モータの駆動を行なう駆動回路への
入力信号は、パルス幅変調方式にて制御パルスを発生さ
せる方式が用いられている。以下に図面を参照しながら
従来のパルス幅変調方式の一例について説明する。第2
図は従来のパルス幅変調方式のブロック図を示すもので
ある。第2図の21はモータ2oを回転させる指令を出
力する指令制御器22は前記指令制御器からの指令筐&
ヲ記憶する記憶器、23は前記記録器22の出力すをデ
ィジタル・アナログ変換(以下り、A変換器という)を
行なうり、A変化器、25は前記D−A変換器e全増幅
する増幅器、27は前記増幅器26の出力fと、28の
三角波発振器の出力kを比較する比較演算器、2っけ前
記比較演算器のパルス幅変調信号qを増幅するパワーア
ンプ、20は前記パワーアンプ29からの信号りにて駆
動されるモータ、31はモータの回転スピードをフィー
ドバック信号iとして前記結合点25のフィードバック
加算器24の入力とする速度検出器、32はモータ白0
の回転位置を検出する位置検出器であり、位置検出器か
らの出力は指令制御器21に位置フィードバック信号i
として送られる。以上のように構成されたパルス幅変調
方式について以下に説明する。Conventional technology In recent years, a load such as a motor can be arbitrarily driven, and the rotation of the motor can move, for example, a robot arm, and the movement of the robot arm can grasp an object with a robot node attached to the tip of the robot arm. Nowadays, robots are provided that assemble the objects. The motor drive method for positioning the robot arm in the desired position is a method in which the input signal to the drive circuit that drives the motor according to the command value is a pulse width modulation method to generate control pulses. is used. An example of a conventional pulse width modulation method will be described below with reference to the drawings. Second
The figure shows a block diagram of a conventional pulse width modulation method. Reference numeral 21 in FIG. 2 indicates a command controller 22 which outputs a command to rotate the motor 2o.
A storage device 23 performs digital-to-analog conversion (hereinafter referred to as an A converter) of the output of the recorder 22, an A converter, and 25 an amplifier that fully amplifies the D-A converter e. , 27 is a comparator that compares the output f of the amplifier 26 and the output k of the triangular wave oscillator 28, 2 is a power amplifier that amplifies the pulse width modulation signal q of the comparator, and 20 is the power amplifier 29. 31 is a speed detector which inputs the rotational speed of the motor as a feedback signal i to the feedback adder 24 at the connection point 25; 32 is a motor driven by a signal from the motor white 0;
The output from the position detector is a position feedback signal i to the command controller 21.
sent as. The pulse width modulation method configured as above will be explained below.
指令制御器21から出力された指令値&は記憶器22に
記憶される。記憶器22の出力すはり、A変換器23に
てアナログ値に変換され出力Cとして結合点26に送ら
れる。結合点25では速度検出器31の出力信号iiミ
ツイードバック算器24の出力dを加減算する。結合点
26の出力eは増幅器26にて増幅され三角波発振器2
8の出力にと比較器27にて比較されパルス幅変調信号
qとなる。パルス幅変調信号qは前記指令制御器21か
らの信号aと、速度検出器31からの信号iをフィード
バック加算器26の出力dの値によシ前記三角波発振器
28の出力にと比較されたパルス変調信号となる。前記
増幅器26の出力fの値により前記パルス変調信号qの
パルス幅は増減する。The command value & output from the command controller 21 is stored in the memory 22. The output of the memory 22 is converted into an analog value by the A converter 23 and sent to the connection point 26 as the output C. At the connection point 25, the output signal ii of the speed detector 31 and the output d of the feedback calculator 24 are added or subtracted. The output e of the coupling point 26 is amplified by the amplifier 26 and sent to the triangular wave oscillator 2.
A comparator 27 compares the signal with the output of 8 to obtain a pulse width modulation signal q. The pulse width modulation signal q is a pulse obtained by comparing the signal a from the command controller 21 and the signal i from the speed detector 31 with the output of the triangular wave oscillator 28 according to the value of the output d of the feedback adder 26. It becomes a modulated signal. The pulse width of the pulse modulation signal q increases or decreases depending on the value of the output f of the amplifier 26.
パルス幅変調信号qはパワーアンプ29にて増幅されモ
ータ30を回転させる。The pulse width modulation signal q is amplified by the power amplifier 29 and rotates the motor 30.
発明が解決しようとする問題点
しかし、上記のような構成ではD−A変換器23及び三
角波発振器28のオフセット調整を正しく行なわなけれ
ば前記比較器27のパルス幅変調信号qは指令値aの値
に正しくパルス幅変調できない問題を生じる。つまり、
指令値aがプラスもしくは、マイナス値となったときプ
ラスのパルス幅変調のパルス幅と、マイナスのパルス幅
変調のパルス幅が異なり、モータ30の回転スピードが
正逆回転の方向により異なる事になる。Problems to be Solved by the Invention However, in the above configuration, if the offset adjustment of the D-A converter 23 and the triangular wave oscillator 28 is not performed correctly, the pulse width modulation signal q of the comparator 27 will not match the value of the command value a. This causes the problem that pulse width modulation cannot be performed correctly. In other words,
When the command value a becomes a positive or negative value, the pulse width of the positive pulse width modulation and the pulse width of the negative pulse width modulation are different, and the rotation speed of the motor 30 differs depending on the direction of forward or reverse rotation. .
本発明は、前記D−Ai換器23や三角波発生器28の
オフセット調整を不要とし、モータ30を指令制御器2
1の指令値aに対して正逆転に関係なく同一のスピード
にて回転させるためのパルス幅変調を行なうものであり
、パルス幅変調の無調整化を行なうものである。The present invention eliminates the need for offset adjustment of the D-Ai converter 23 and the triangular wave generator 28, and the motor 30 is controlled by the command controller 2.
This method performs pulse width modulation to rotate the motor at the same speed regardless of forward or reverse rotation with respect to a command value a of 1, and eliminates the need for pulse width modulation adjustment.
問題点を解決するための手段
本発明は、上記問題点を解決するために、負荷を駆動す
るための指令値と、負荷を駆動したフィードバック信号
をアナログ・ディジタル変換器(以下A、D変換器とい
う)により2値化したフィードバック信号を加減算器に
て演算し、前記演算器の出力を計数器に記憶し、前記計
数器に記憶した値を一定のくり返し信号にて減算を行な
い、前記減算の時間に応じてパルスを発生させることに
よりパルス幅変調を行なうものであり、A−D変換器の
オフセット調整を除き、パルス幅変調の無調整化を行な
うことができる。Means for Solving the Problems In order to solve the above problems, the present invention converts a command value for driving a load and a feedback signal for driving the load into an analog-to-digital converter (hereinafter referred to as an A or D converter). ), the feedback signal is binarized by an adder/subtracter, the output of the calculator is stored in a counter, and the value stored in the counter is subtracted using a constant repetition signal. Pulse width modulation is performed by generating pulses in accordance with time, and pulse width modulation can be made without adjustment, except for offset adjustment of the AD converter.
作 用
本発明は上記した構成によってパルス幅変調?指令値の
プラス、マイナス値に関係なく正しくパルス幅変調を行
なうと共にパルス幅変調の無調整化せしめることとなる
。Function The present invention performs pulse width modulation using the above configuration? This allows correct pulse width modulation regardless of the plus or minus value of the command value, and eliminates the need for pulse width modulation adjustment.
実施例
以下本発明の一実施例のパルス幅変調方式について図面
を参照しながら説明する。EXAMPLE Below, a pulse width modulation method according to an example of the present invention will be described with reference to the drawings.
第1図は本発明のパルス幅変調方式のブロック信号を記
憶する記憶器、Bは前記記憶器の出力、3はモータ7の
回転速度を検出する速度検出器8の出力GQA−D変換
器10にて2値化した信号Hと、前記出力Bを加減算す
る演算器、Cは前記加減算器の出力、4は前記加減算器
3の出力Cを計数するダウンカウンタ−55はダウンカ
ウンタ −−4の値を計数する発振器でD
はダウンカウント “′・(
、゛
パルス、Eはダウンカウンタ−の計数値により出
、]、汽)
力するパルス幅変調されたパルス、6は前記計数
4″・+1゜
暮からのパルス幅変調された出力パルスEi増幅
、・、1するパワーアンプ、Fはパワーアンプ
から出力さ ゛れたモータ7を駆動する信
号、9はモータ7の回7−−、−ヶ、−4,1−880
□−]゛□器からの位置フィードバック信号である。FIG. 1 shows a memory that stores block signals of the pulse width modulation method of the present invention, B is the output of the memory, and 3 is the output of a speed detector 8 that detects the rotational speed of the motor 7 GQA-D converter 10 C is the output of the adder/subtracter; 4 is a down counter that counts the output C of the adder/subtracter 3; 55 is the down counter of 4; D with an oscillator that counts the value
is the down count “′・( ,゛pulse, E is output by the count value of the down counter.
, ], steam) output pulse width modulated pulse, 6 is the count
Pulse width modulated output pulse Ei amplification from 4″・+1°
, , 1 power amplifier, F is the signal outputted from the power amplifier to drive the motor 7, 9 is the rotation of the motor 7 7--,-, -4,1-880
This is the position feedback signal from the □−]゛□ device.
以上のように構成したパルス幅変調方式について第1図
を用いて動作を説明する。The operation of the pulse width modulation method configured as described above will be explained using FIG. 1.
指令制御器10指令信号Aは記憶器2により記憶される
記憶器出力Bは、速度検出器8からの速度検出器出力信
号GをA−D変換器10にで2値化した信号Hと並列2
進の加減算器3により演算される。加減算器3の加減算
器出力Cはダウンカウンタ−4に記憶され、発振器5の
ダウンカウントパルスDにより減算される。ダウンカウ
ンタ−の出力はパルス幅夏調パルスEとなりパワーアン
プに入力する。パワーアンプの出力はモータ駆動信号F
としてモータ7を回転させる。The command signal A of the command controller 10 is stored in the memory 2. The memory output B is parallel to the signal H obtained by converting the speed detector output signal G from the speed detector 8 into a binary value by the A-D converter 10. 2
The calculation is performed by the decimal adder/subtractor 3. The adder/subtracter output C of the adder/subtracter 3 is stored in a down counter 4 and subtracted by the down count pulse D of the oscillator 5. The output of the down counter becomes a pulse width summer tone pulse E and is input to the power amplifier. The output of the power amplifier is the motor drive signal F
The motor 7 is rotated as follows.
発明の効果
以上のように本実施例によればり、A変換器および三角
波発振器のオフセント調整をすることなく指令値に応じ
たパルス幅変調をダウンカウンタ−にセットした値によ
り任意に得ることができると共にパルス幅変調の無調整
化を行なうことが出来る。Effects of the Invention As described above, according to this embodiment, pulse width modulation according to the command value can be obtained arbitrarily by the value set in the down counter without adjusting the offset of the A converter and the triangular wave oscillator. At the same time, pulse width modulation can be made unadjusted.
第1図は本発明の一実施例を示すブロノクダ・fヤグラ
ム図、第2図は従来のパルス幅変調回路のブロックダイ
ヤグラム図である。
1・・・・・・指令制御器、2・・・・・・記憶器、3
・・・・・・加減算器、4・・・・・・ダウンカウンタ
−16・・・・・・発振器、6・・・・・・パワーアン
プ、7・・・・・・モータ、8・・・・・・速度検出器
、9・・・・・・位置検出器、10・・・・・・A、D
変換器、A・・・・・・指令信号、B・・・・・・記憶
器出力、C・・・・・・加減算器出力、D・・・・・・
ダウンカウントパルス、E・・・・・・パルス幅変調パ
ルス、F・・・・・・モータ駆動信号、G・・・・・・
速度検出器出力、H・・・・・・2値化信号、工・・・
・・・位置フィードバック信号、21・・・・・・指令
制御器、22・・・・・・記憶器、23・・・・・・D
、A変換器、24・・・・・・フィードバック加算器、
26・・・・・・結合点、26・・・・・・増幅器、2
7・・・・・・比較演算器、28・・・・・・三角波発
生器、29・・・・・・パワーアンプ、30・・・・・
・モータ、31・・・・・・速度検出器、32・・・・
・・位置検出器、a・・・・・・指令値、b・・・・・
・記憶器出力、C・・・・・・D、A変換器出力、d・
・・・・・フィードバック信号、e・・・・・・結合点
出力、f・・・・・・増幅器出力、q・・・・・・パル
ス幅変調信号、h・・・・・・パワーアンプ、i・・・
・・・フィードバック信号、j・・・・・位置フィード
バック信号、k・・・・・・三角波発振器出力。
代理人の氏名 弁理士 中 尾 敏 男 ほか1名3−
卵−A軍基
キー−rり)η→〉クー
5− 1課番
6−−ノ1+クーアンフ0
7−−亡−ゲ
イ0−−6υきE1融−1参
A−−4+信号
6−・訂4旭秦宏カ
Co−カ19晩¥器f:η
D−−92ゆシフゆントイノLχ
E−−ノ1°ルス?1カ灯ノ曾しス
F=−七一タ駈勤(を号
e−t4倹大秦を刀FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional pulse width modulation circuit. 1...Command controller, 2...Memory device, 3
... Adder/subtractor, 4... Down counter 16... Oscillator, 6... Power amplifier, 7... Motor, 8... ...Speed detector, 9...Position detector, 10...A, D
Converter, A...Command signal, B...Memory output, C...Adder/subtractor output, D...
Down count pulse, E... Pulse width modulation pulse, F... Motor drive signal, G...
Speed detector output, H...binarized signal, engineering...
...Position feedback signal, 21...Command controller, 22...Memory device, 23...D
, A converter, 24...feedback adder,
26...Connection point, 26...Amplifier, 2
7... Comparison calculator, 28... Triangular wave generator, 29... Power amplifier, 30...
・Motor, 31...Speed detector, 32...
...Position detector, a...Command value, b...
・Memory output, C...D, A converter output, d・
...Feedback signal, e...Connection point output, f...Amplifier output, q...Pulse width modulation signal, h...Power amplifier , i...
...Feedback signal, j...Position feedback signal, k...Triangular wave oscillator output. Name of agent: Patent attorney Toshio Nakao and 1 other person3-
Egg-A military base key-r) η→〉Ku 5- 1 section number 6--No 1 + Kuanfu 0 7--death-gay 0--6υki E1 fusion-1 reference A--4 + signal 6-・Revised 4 Asahi Hata Hiroshi Ka Co-ka 19 nights ¥ device f: η D--92 Yushifu Yuntino Lχ E--No 1°rus? 1 katou no zengshisu F=-71 ta kangin (the name e-t4
Claims (1)
化データとする手段と、前記記憶器と前記2値化データ
を演算する手段と、前記演算結果を記憶する計数器とを
使用し、前記計数器に記憶した演算結果を発振器の出力
パルスにて減算を行ない、前記減算時間に応じてパルス
幅を制御するパルス幅変調方式。A storage device for storing a command value, a means for converting the feedback signal into binary data, a means for calculating the storage device and the binary data, and a counter for storing the calculation result, A pulse width modulation method in which the calculation result stored in a counter is subtracted by the output pulse of an oscillator, and the pulse width is controlled according to the subtraction time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60142935A JPS623301A (en) | 1985-06-28 | 1985-06-28 | Pulse width modulation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60142935A JPS623301A (en) | 1985-06-28 | 1985-06-28 | Pulse width modulation method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS623301A true JPS623301A (en) | 1987-01-09 |
Family
ID=15327063
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60142935A Pending JPS623301A (en) | 1985-06-28 | 1985-06-28 | Pulse width modulation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS623301A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0289502U (en) * | 1988-12-27 | 1990-07-16 | ||
| JPH04321102A (en) * | 1991-04-22 | 1992-11-11 | Shimadzu Corp | Pulse period control device |
-
1985
- 1985-06-28 JP JP60142935A patent/JPS623301A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0289502U (en) * | 1988-12-27 | 1990-07-16 | ||
| JPH04321102A (en) * | 1991-04-22 | 1992-11-11 | Shimadzu Corp | Pulse period control device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4446412A (en) | Method and apparatus for controlling stepper motors | |
| KR100267364B1 (en) | Adaptive Feedforward Device to Reduce Current Control Errors | |
| JPS623301A (en) | Pulse width modulation method | |
| JPH035160B2 (en) | ||
| JPH05150825A (en) | Robot controller | |
| JPS62166798A (en) | Pulse width modulation method | |
| JPH07306707A (en) | Robot learning control method | |
| JP2595610B2 (en) | Positioning control device | |
| JPS589441B2 (en) | Servo control device | |
| JPS6120105A (en) | Positioning control circuit for industrial robot | |
| JPS58205206A (en) | Digital servocontrol compensation system | |
| JPS5835040B2 (en) | Pulse motor drive device | |
| JPS6278614A (en) | Servo amplifier | |
| JPS6329515B2 (en) | ||
| JPS58108983A (en) | Controller for motor | |
| JPS59123012A (en) | Robot driving controller | |
| JPS58175986A (en) | Speed control instruction system for dc motor | |
| JPS5815979B2 (en) | Analog to digital converter | |
| JP3589251B2 (en) | Speed feedback delay correction method | |
| JPS62277084A (en) | Dc servo motor control system | |
| JPH0229839Y2 (en) | ||
| JPS5978577U (en) | Servo control device for moving mechanism | |
| JPS6188307A (en) | Coordinate transformation control method for industrial robots | |
| JPH06301421A (en) | Offset adjusting method for servo mechanism | |
| JPH053232B2 (en) |