JPS60141181A - Speed controller of motor - Google Patents
Speed controller of motorInfo
- Publication number
- JPS60141181A JPS60141181A JP58245449A JP24544983A JPS60141181A JP S60141181 A JPS60141181 A JP S60141181A JP 58245449 A JP58245449 A JP 58245449A JP 24544983 A JP24544983 A JP 24544983A JP S60141181 A JPS60141181 A JP S60141181A
- Authority
- JP
- Japan
- Prior art keywords
- motor
- data
- time
- rotational speed
- variable resistor
- 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
- 238000001514 detection method Methods 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 2
- 101150065817 ROM2 gene Proteins 0.000 abstract description 11
- 101001106432 Homo sapiens Rod outer segment membrane protein 1 Proteins 0.000 abstract description 8
- 102100021424 Rod outer segment membrane protein 1 Human genes 0.000 abstract description 8
- 101100524639 Toxoplasma gondii ROM3 gene Proteins 0.000 abstract description 8
- 230000004044 response Effects 0.000 abstract description 3
- 238000009958 sewing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 4
- 239000003990 capacitor Substances 0.000 description 3
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 description 2
- 238000003708 edge detection Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 101100325756 Arabidopsis thaliana BAM5 gene Proteins 0.000 description 1
- 101150046378 RAM1 gene Proteins 0.000 description 1
- 101100476489 Rattus norvegicus Slc20a2 gene Proteins 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- REAOZOPEJGPVCB-UHFFFAOYSA-N dioxygen difluoride Chemical compound FOOF REAOZOPEJGPVCB-UHFFFAOYSA-N 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P7/00—Arrangements for regulating or controlling the speed or torque of electric DC motors
- H02P7/06—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual DC dynamo-electric motor by varying field or armature current
- H02P7/18—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual DC dynamo-electric motor by varying field or armature current by master control with auxiliary power
- H02P7/24—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual DC dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices
- H02P7/28—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual DC dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices
- H02P7/285—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual DC dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices controlling armature supply only
- H02P7/2855—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual DC dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices controlling armature supply only whereby the speed is regulated by measuring the motor speed and comparing it with a given physical value
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Direct Current Motors (AREA)
Abstract
Description
【発明の詳細な説明】
[技術分野]
本発明は、たとえばミシン等に使用されるモータのよう
に、回転数が広範囲に変化し、また負荷トルクの変動が
大きなモータを、滑らかに回転させるためのモータの速
度制御装置に関する。[Detailed Description of the Invention] [Technical Field] The present invention provides a method for smoothly rotating a motor, such as a motor used in a sewing machine, whose rotational speed varies over a wide range and whose load torque fluctuates widely. The present invention relates to a speed control device for a motor.
[背景技術]
従来のミシン制御回路は、オペアンプ、トランジスタ、
サイリスタ等を使用している。また、従来装置において
、モータの最低速度を設定するには、積分回路の出力電
圧と、モータの誘起電圧とを比較し、この結果に基づい
て、そのモータへの通電時間を決定していたが、モータ
速度が遅い場合にはモータの誘起電圧が低くなり、この
低くなった電圧に対応して可変抵抗の抵抗値を設定する
必要があった。[Background technology] Conventional sewing machine control circuits use operational amplifiers, transistors,
Thyristors, etc. are used. In addition, in conventional devices, to set the minimum speed of the motor, the output voltage of the integrating circuit and the induced voltage of the motor were compared, and based on this result, the time to energize the motor was determined. When the motor speed is slow, the induced voltage of the motor becomes low, and it is necessary to set the resistance value of the variable resistor in response to this low voltage.
[背景技術の問題点]
上記のように、従来技術においては、部品点数が多くな
るために、コストが高いという問題がある。また、最低
速度の調整が必要であり、このために、製造段階におい
て煩雑性が残るという問題がある。[Problems with Background Art] As described above, the conventional technology has a problem of high cost due to the large number of parts. Furthermore, it is necessary to adjust the minimum speed, which leaves a problem that the manufacturing stage remains complicated.
[発明の目的j
本発明は、上記従来の問題点に着目してなされたもので
、モータの速度を制御する場合に、その部品の数を減少
させるとともに、モータの最低速度の調整を不必要とす
ることによって製造段階における煩雑さを排除できるモ
ータの速度制御Ivi置を提供することを目的とするも
のである。[Purpose of the Invention j The present invention has been made in view of the above-mentioned problems of the conventional art, and it reduces the number of parts when controlling the speed of a motor, and eliminates the need to adjust the minimum speed of the motor. It is an object of the present invention to provide a motor speed control device that can eliminate complications in the manufacturing stage by doing so.
[発明の概要]
本発明は、モータの目標回転速度を可変抵抗によって設
定し、モータと連動させたスリット円板等によってモー
タの回転速度を検出し、この検出値と前記目標値とを、
マイコン等によって比較し、モータの回転速度を制御す
るものである。[Summary of the Invention] The present invention sets a target rotational speed of a motor using a variable resistor, detects the rotational speed of the motor using a slit disk or the like linked with the motor, and combines this detected value with the target value.
The comparison is made using a microcomputer, etc., and the rotational speed of the motor is controlled.
[発明の実施例] 第1図は、本発明の一実施例を示す回路図である。[Embodiments of the invention] FIG. 1 is a circuit diagram showing one embodiment of the present invention.
この図において、モータMの軸Sに取付けられたスリッ
ト円板Pには10個の等間隔のスリットが設けられ、モ
ータMの回転によってフォトインタラプタPIの光の通
過を断続的に遮蔽し、モータMが1回転づるとフォトイ
ンタラプタP’lは10個のパルスを出力し、そのパル
スはインバータQ2を介してICQ5の入力端子x1に
入力される。通常、ICQ5の入力端子×1は、出力端
子Xと接続されており、モータMが回転すると、その回
転に応じたパルスがCPU QOのボートP20に入力
される。CPLI QOは、その各入力ボートからの情
報に従って種々の制御を行ない、ボート拡張用ICQl
は、データバスを通じて、CPU、、QOと接続されて
いる。In this figure, a slit disk P attached to the shaft S of a motor M is provided with ten equally spaced slits, and as the motor M rotates, the passage of light from the photointerrupter PI is intermittently blocked. When M rotates once, photointerrupter P'l outputs 10 pulses, which are input to input terminal x1 of ICQ5 via inverter Q2. Normally, input terminal x1 of ICQ5 is connected to output terminal X, and when motor M rotates, pulses corresponding to the rotation are input to boat P20 of CPU QO. CPLI QO performs various controls according to information from each input port, and provides ICQI for boat expansion.
are connected to the CPU, , and QO through a data bus.
ボート拡張用ICQlのCB1はインバータQ4と接続
されている。インバータQ4には、抵抗R1,ブリッジ
ダイオードBD1を通じて商用電源に同期したパルスが
入力されている。インバータQ4から入力されたパルス
に応じて、ボート拡張用ICQlのI RQBからCP
U QOの[RQlへ割り込み信号が伝達される。CB1 of ICQl for boat expansion is connected to inverter Q4. A pulse synchronized with the commercial power supply is input to the inverter Q4 through the resistor R1 and the bridge diode BD1. In response to the pulse input from inverter Q4, from I RQB to CP of ICQl for boat expansion.
An interrupt signal is transmitted to [RQl of U QO.
IC05番よ、CPU QOの動作モードを設定するた
めのICであり、電源を投入したときに、抵抗R3を通
じてコンデンサC1に電荷が蓄積されるので、コンデン
サC1の電位は+V電位に比べて遅れて上昇する。この
ために、電源投入時に、CPLJ Qoはリセットされ
、ICQ5の出力端子X、Y、Zは、それぞれ端子XO
,YO,ZQと接続される。なお、端子XO,Y0,2
0には、CPLI Qoの動作モードを決定するための
電位が与えられている。その後、コンデンサC1の電位
が上昇し、ICQ5のX、Y、Z端子は、端子X1.Y
l、Zlとそれぞれ接続される。IC number 05 is an IC for setting the CPU QO operation mode. When the power is turned on, charge is accumulated in capacitor C1 through resistor R3, so the potential of capacitor C1 lags behind the +V potential. Rise. For this reason, when the power is turned on, CPLJ Qo is reset, and the output terminals X, Y, and Z of ICQ5 are respectively connected to terminal XO.
, YO, and ZQ. In addition, terminals XO, Y0, 2
0 is given a potential for determining the operation mode of CPLI Qo. Thereafter, the potential of capacitor C1 rises, and the X, Y, and Z terminals of ICQ5 are connected to terminals X1. Y
1 and Zl, respectively.
A/D変換器Q6は、回転速度設定用の可変抵抗VRの
値によって変化する電圧をその入力端子AOに受け、シ
リアルにデジタル化した信号をCPLJ Qoへ送って
いる。A10変換器Q6のADCLK入力はICQ5を
通してCPU Q。The A/D converter Q6 receives at its input terminal AO a voltage that changes depending on the value of the variable resistor VR for setting the rotation speed, and sends a serially digitized signal to the CPLJ Qo. ADCLK input of A10 converter Q6 is connected to CPU Q through ICQ5.
のボー1−P22に接続されている。、CPU QOは
、ボートP22から同期的にパルスを発生している。is connected to baud 1-P22. , CPU QO are synchronously generating pulses from boat P22.
A/D変換器Q6は、上記パルスと同期して、CPtJ
QOのボートP24が1からOに変化したときに、D
ATA OUTからCPjJ QOのボートP22に向
って、可変抵抗VRの値を8ビツトのデジタル値に変換
して出力する。一方、CPU QOのボー1− P23
から入力された可変抵抗VRのデータは、RAM3に保
持される。In synchronization with the above pulse, the A/D converter Q6 outputs CPtJ.
When QO boat P24 changes from 1 to O, D
The value of the variable resistor VR is converted into an 8-bit digital value and output from the ATA OUT to the CPjJ QO boat P22. On the other hand, CPU QO baud 1-P23
The data of the variable resistor VR input from is held in the RAM3.
商用電源をブリッジダイオードBD2で整流した電圧が
モータMに供給され、このモータMと1−ランジスタT
rとが直列に接続されている。所定の流通角に従って、
トランジスタTrがスイッチングすることによって、モ
ータMの回転速度が制御されている。A voltage obtained by rectifying the commercial power supply with the bridge diode BD2 is supplied to the motor M, and the voltage between the motor M and the 1-transistor T
r are connected in series. According to the given flow angle,
The rotational speed of the motor M is controlled by switching the transistor Tr.
トランジスタTrのベース回路には、フォトカプラPC
のフォトトランジスタが挿入され、)第1・カブラPC
の発光ダイオード側に電流を流すとトランジスタTrが
オン、モータMが通電されるようになっている。A photocoupler PC is used in the base circuit of the transistor Tr.
A phototransistor is inserted, and the first Kabra PC
When a current is passed through the light emitting diode side, the transistor Tr is turned on and the motor M is energized.
フォ1〜カブラPCの発光ダイオードは、インバータQ
3、ICQ5を介して、CPIJ QoのボートP21
からの信号を受け、モータMを制御している。The light emitting diodes of Fo 1 to Cabra PC are connected to inverter Q.
3. CPIJ Qo boat P21 via ICQ5
The motor M is controlled by receiving signals from the motor M.
ROM1 (第1記憶手段)には、モータMの通常負荷
における可変抵抗VRの値と、モータMの回転速度との
関係が記憶されている。ここで、通常負荷とは、0.3
mmPi!度の厚さを有する布を2枚重ねて縫う場合に
おけるモータMの負荷をいうが、その内容は必要に応じ
て定めてよいものである。つまり、ROMIは、モータ
Mを目標の回転速度で作動させるために、電源の1周期
当りにモータMを通電するに必要な時間を記憶するもの
である。The ROM1 (first storage means) stores the relationship between the value of the variable resistance VR at a normal load of the motor M and the rotational speed of the motor M. Here, the normal load is 0.3
mmPi! This refers to the load on the motor M when sewing two layers of cloth having a thickness of 100 mm, and the content thereof may be determined as necessary. In other words, the ROMI stores the time required to energize the motor M per cycle of the power supply in order to operate the motor M at a target rotational speed.
第2図は、通常負荷をかけてミシンを作動した場合、モ
ータMの通電時間と、モータM゛の回転速度との関係を
示したものである。FIG. 2 shows the relationship between the energization time of the motor M and the rotational speed of the motor M' when the sewing machine is operated under a normal load.
第3図は、可変抵抗VRのスライド量dと、このスライ
ドff1dをデジタル化したデータとの関係を示したグ
ラフである。FIG. 3 is a graph showing the relationship between the sliding amount d of the variable resistor VR and the data obtained by digitizing this slide ff1d.
ROM2(第2記憶手段)には、可変抵抗VRで設定し
た目標回転速度から得たデータが記憶されている。そし
て、ROM3 (第3記憶手段)には、スリット円板P
等の回転速度検出手段から得たデータが記憶されている
。ROMIのデータは$FOOO〜$FOOFの番地に
、ROM2のデータは$FO10〜$FOIFの番地に
、ROM3のデータは$FO20〜$FO3Fの番地に
固定データとして記憶されている。The ROM2 (second storage means) stores data obtained from the target rotation speed set by the variable resistor VR. The ROM3 (third storage means) contains a slit disk P.
Data obtained from rotational speed detection means such as the above are stored. Data in ROMI is stored as fixed data at addresses $FOOO to $FOOF, data in ROM2 is stored in addresses $FO10 to $FOIF, and data in ROM3 is stored in addresses $FO20 to $FO3F.
第4図は、上記ROMI、ROM2.ROM3における
アドレスとデータとの関係を具体的に示したものである
。FIG. 4 shows the ROMI, ROM2. This figure specifically shows the relationship between addresses and data in the ROM3.
可変抵抗VRのデータは8ビツトであり、1個のデータ
を1バイトで構成すると、256バイトの情報が必要な
ので、データを圧縮して、ROM1、ROM2のデータ
は16バイトづつで構成する。これは、可変抵抗VRの
データの8ビツトのうち、上位4バイトをインデックス
レジスタIXをインリメントして得られたデータを使い
、可変抵抗VRの下位4ビツトで直線補間を行ない、可
変抵抗VRに対応したモータの通電時間のデータ回転速
度のデータをめる。The data in the variable resistor VR is 8 bits, and if one piece of data is composed of 1 byte, 256 bytes of information are required, so the data is compressed and the data in ROM1 and ROM2 are composed of 16 bytes each. This uses the data obtained by incrementing the index register IX for the upper 4 bytes of the 8 bits of data of the variable resistor VR, and performs linear interpolation with the lower 4 bits of the variable resistor VR. Insert the energization time data and rotation speed data of the corresponding motor.
検出したモータMの回転周期は2バイトで表示され、回
転速度は回転周期に反比例するので、回転周期が小さい
程、正確なデータが必要である。The detected rotation period of the motor M is displayed in 2 bytes, and since the rotation speed is inversely proportional to the rotation period, the smaller the rotation period, the more accurate data is required.
そのために、ROM3は$F020〜$FO’2Fと、
$F030〜$FO3Fとの2つの部分から成っている
。モータの回転周期の上位バイトが$10よりも小さい
場合、$FO20〜$FO2Fから、モータMの回転周
期の上位バイトが$10よりも大きい場合、$FO30
〜$FO3Fから直線補間でデータをめる。Therefore, ROM3 is $F020~$FO'2F,
It consists of two parts: $F030 to $FO3F. If the upper byte of the rotation period of the motor is smaller than $10, from $FO20 to $FO2F, and if the upper byte of the rotation period of motor M is larger than $10, $FO30
~ Get data from $FO3F by linear interpolation.
商用電源をブリッジダイオードBD1で全波整流して、
抵抗R1,R2で分圧したN圧をインバータQ4を通し
た後、ボート拡張用ICQlのCB1に入力する。この
ボート拡張用ICQlは、そのCB1に入力する信号が
立上がったときQlが0になる。そしてそのIRQlが
Oになると、電源同期割り込みに入る。Full-wave rectification of the commercial power supply with bridge diode BD1,
After passing the N voltage divided by resistors R1 and R2 through inverter Q4, it is input to CB1 of ICQl for boat expansion. In this boat expansion ICQl, Ql becomes 0 when the signal input to its CB1 rises. When the IRQl becomes O, a power synchronization interrupt is entered.
第5図は、CPU QOに内蔵されたタイマーコントロ
ール回路を示す図である。フリーランニングカウンタF
RCは、CPLI QOの基本クロックによってカウン
トアツプする16ビツトの力゛ウンタであり、ここでは
1μsecごとにカウントアツプする。8ビツトのタイ
マーコントロールレジスタFは、ボートP21への信号
出力およびボートP20からの信号変化、CPU QO
の内部割り込みIRQ2の制御を行なう。FIG. 5 is a diagram showing a timer control circuit built into the CPU QO. Free running counter F
RC is a 16-bit power counter that counts up according to the basic clock of CPLI QO, and here counts up every 1 μsec. The 8-bit timer control register F outputs a signal to the boat P21, changes the signal from the boat P20, and controls the CPU QO.
Controls internal interrupt IRQ2.
16ビツトのレジスタICRは、ボートP20の信号が
、タイマーコントロールレジスタFのIEDGに示した
変化をすると、エツジ検出部が働いてカウンタFRCの
値がレジスタICRに保持され、同時にタイマーコント
ロールレジスタFのI C’Fをセットする。タイマー
コントロールレジスタFのEICIは、ボートP20の
信号がIEDGに示した変化をした時に、IRQ2を発
生するかまたはしないかを制御するビットであり、この
ビットをセットしておき、ICFがセットされた時にI
RQ2を発生ずるようにしておく。In the 16-bit register ICR, when the signal on the port P20 changes as shown in IEDG of the timer control register F, the edge detection section operates and the value of the counter FRC is held in the register ICR, and at the same time, the ICR of the timer control register F is changed. Set C'F. EICI of timer control register F is a bit that controls whether or not to generate IRQ2 when the signal of boat P20 changes as shown in IEDG.If this bit is set, ICF is set. Sometimes I
Let RQ2 be generated.
ここで、タイマーコントロールレジスタFのIEDGを
1にし、ボートP20の信号が立上り変化をした時に、
エツジ検出部が働き、■RQ2を発生づる。Here, IEDG of timer control register F is set to 1, and when the signal of boat P20 rises and changes,
The edge detection section works and generates ■RQ2.
16ビツトのアラl−プツトコンベアレジスタOCRの
値とフリーランニングカウンタFRCの値とがデータ比
較部で比較され、両値が一致したときに、そのデータ比
較部からD−タイプフリップ70ツブのGKに出力され
る。このCKにパルスが入力されると、タイマーコント
ロールレジスタFの0LVLの値がD−タイプフリップ
フロップのQに出力される。The value of the 16-bit alarm conveyor register OCR and the value of the free running counter FRC are compared in the data comparison section, and when the two values match, the data comparison section selects the GK of the D-type flip 70-tube. is output to. When a pulse is input to this CK, the value of 0LVL of the timer control register F is output to the Q of the D-type flip-flop.
Bitl ボート2のデータディレクションレジスタG
は、1にしであるので、タイマーコントロールレジスタ
Fの0LVLの値がボートP21へ出力される。Bitl Boat 2 data direction register G
is set to 1, so the value of 0LVL of timer control register F is output to boat P21.
次に、上記実施例の動作について説明する。Next, the operation of the above embodiment will be explained.
まず、可変抵抗VRのスライド量をdlにしたときにモ
ータMをR1の回転速度で作動させるためには、次のよ
うに予め設定すればよい。つまり、第2図から回転速度
R1でモータMを作動させるためのモータ通電時間がT
1であることをめ、第3図から可変抵抗VRのスライド
量がdlの時の8ビツトのデジタル化された可変抵抗V
Rのデータが$Y1であることをめる。したがって、R
OM1における$Y1に相当する部分にT1時間のデー
タをストアしておく、このようにしてお番ノば、可変抵
抗VRのスライド量をdlにしたときには、通常負荷で
あれば、回転速度R1でモータMが回転を行なう。First, in order to operate the motor M at a rotational speed of R1 when the sliding amount of the variable resistor VR is set to dl, the following settings may be made in advance. In other words, from Fig. 2, the motor energization time to operate the motor M at the rotational speed R1 is T.
1, and from Figure 3, the 8-bit digitized variable resistor V when the sliding amount of the variable resistor VR is dl.
Observe that the data in R is $Y1. Therefore, R
Store the data of time T1 in the part corresponding to $Y1 in OM1. In this way, when the sliding amount of variable resistor VR is set to dl, if the load is normal, the rotation speed R1 Motor M performs the rotation.
そして、可変抵抗VRがスライドする範囲の全域に亘っ
て、目標の回転速度を決めて、第2図および第3図を使
用して、可変抵抗VRのデータに対する目標の回転を得
るために、モータMの通電時間のデータをROMIに記
憶しておけば、ROM1で可変抵抗VRのスライド量に
応じて、目標の回転速度が得られる。Then, determine the target rotation speed over the entire sliding range of the variable resistor VR, and use Figures 2 and 3 to determine the motor By storing data on the energization time of M in the ROMI, the target rotational speed can be obtained in the ROM1 according to the sliding amount of the variable resistor VR.
、F記のように、通常負荷の場合はROM1のデータの
みによって、モータMは目標回転速度で回転づる。しか
し、厚物を縫う場合、またはゆっくりとモータMを回転
づる場合は、ミシンの1回転中でのモータ負荷の変化が
大きくなり、回転速度が低下したり、または回転速度の
むらを生じたりする。これらの弊害を除去づるためには
、モータMの回転が遅くなったときには、商用電源の1
周当り、モータMに対する通電時間を長くづればよく、
逆に、モータMの回転が速くなったときには、商用電源
の1周当り、モータMに対する通電時間を短くすればよ
い。このようにして、回転速度の変化が少なくなるよう
なフィードバックが必要となる。, F, in the case of a normal load, the motor M rotates at the target rotational speed based only on the data in the ROM1. However, when sewing thick materials or when rotating the motor M slowly, the motor load changes greatly during one rotation of the sewing machine, resulting in a decrease in rotational speed or uneven rotational speed. In order to eliminate these problems, when the rotation of motor M becomes slow, it is necessary to
It is sufficient if the energization time to the motor M is set longer per cycle.
Conversely, when the rotation of the motor M becomes faster, it is sufficient to shorten the energization time to the motor M per revolution of the commercial power supply. In this way, feedback is required to reduce changes in rotational speed.
このフィードバックは、目標の回転速度と、実際の回転
速度に応じて、加減する必要がある。上記実施例におい
ては、目標回転速度から得たデータ(ROM2のデータ
)から、実際の回転速度から得たデータ(ROM3のデ
ータ)を減算して、フィードバックの大きさを決定して
いる。This feedback needs to be adjusted depending on the target rotation speed and the actual rotation speed. In the above embodiment, the magnitude of feedback is determined by subtracting the data obtained from the actual rotational speed (data in ROM3) from the data obtained from the target rotational speed (data in ROM2).
ここで、目標回転速度をAとし、実際の回転速度をBと
すると、このときの理想的なフィードバック!I(時間
、:m5ec)をTFとする。この理想的なフィードバ
ック時間TFは、次のようにしてめることができる。Here, if the target rotation speed is A and the actual rotation speed is B, then what is the ideal feedback at this time? Let I (time, :m5ec) be TF. This ideal feedback time TF can be determined as follows.
TF−TB−TAである。It is TF-TB-TA.
時1111TAは、目標の回転速度Aからめた時間であ
り、時間TBは、実際の回転速度Bからめた時間である
。つまり、時間TAは、可変抵抗■Rのスライド量に従
ってめたものであり、時間TBは、スリットSの周期に
従ってめたものである。The time 1111TA is the time measured from the target rotation speed A, and the time TB is the time measured from the actual rotation speed B. In other words, the time TA is determined according to the sliding amount of the variable resistor (R), and the time TB is determined according to the period of the slit S.
第6図は、モータMの回転速度A、Bに対する実験でめ
た理想的なフィードバック時間を示し′たグラフである
。FIG. 6 is a graph showing the ideal feedback time determined through experiments for the rotational speeds A and B of the motor M.
そして、目標回転速度Aに対する時間TAのデータを記
憶している素子がROM2であり、スリットSの周期に
対する時間TBのデータを記憶している素子がROM3
である。The element that stores data on time TA with respect to target rotational speed A is ROM2, and the element that stores data on time TB with respect to the period of slit S is ROM3.
It is.
第7図は、上記実施例の動作を示すフローチャートであ
る。第7図(a)、(b)、(c)は、それぞれICF
割り込み、メインルーチン、電源同期割り込みを示すフ
ローチャートである。FIG. 7 is a flowchart showing the operation of the above embodiment. Figures 7(a), (b), and (c) are respectively ICF
3 is a flowchart showing an interrupt, a main routine, and a power synchronization interrupt.
[CF割り込みにおいて、回転周期の検出は、単位時間
内における今回のIORの値から、前回の[CRの値を
差引くことによってめることができ、その値をRAM1
にストアする。その後、今回のICRの値として、RA
M2にストアし、次回のICF割込みまで保持しておく
。[In the CF interrupt, the rotation period can be detected by subtracting the previous [CR value from the current IOR value within a unit time, and the value is stored in RAM1.]
Store in. After that, as the current ICR value, RA
Store it in M2 and hold it until the next ICF interrupt.
メインルーチンにおいて、商用電源1周期におけるモー
タMの通電時間を計算するには、すなわち理想的なフィ
ードバック時間を計算するには、次のように処理する。In the main routine, to calculate the energization time of the motor M in one cycle of the commercial power supply, that is, to calculate the ideal feedback time, the following processing is performed.
スリット円板Sの1/10回転の時間をロードし、その
回転周期に従って、ROM3のデータを引き出す。引き
出したデータをRAM5にストアする。次に、可変抵抗
VRのデータをロードし、このデータに従ってROM2
のデータを引き出し、この引き出されたデータをRAM
6にストアする。一方、可変抵抗VRのデータからRO
M1のデータを引き出し、このデータをRAM7にスト
アする。そして、RAM6のデータからRAM5のデー
タを差引き、その結果にR、A M 7.のデータを加
算し、加算結果をRAM8にストアする。RAM8にス
トアされたデータが、通電時間である。The time of 1/10 rotation of the slit disk S is loaded, and data from the ROM 3 is extracted according to the rotation period. Store the retrieved data in RAM5. Next, load the data of variable resistor VR, and according to this data, ROM2
data, and store this extracted data in RAM.
Store in 6. On the other hand, from the data of variable resistor VR, RO
The data of M1 is extracted and this data is stored in RAM7. Then, the data in RAM5 is subtracted from the data in RAM6, and the result is R, A M7. , and store the addition result in RAM8. The data stored in the RAM 8 is the energization time.
電源同期割り込みにおいて、商用TI源の周波数が50
H2ならば、RAM8のデータをそのまま使用し、商用
電源の周波数が60Hzならば、RAM8のデータを0
.83倍してから使用するようにしである。これは、商
用電源周波数が6082になっても、それが50H2の
ときと同様の回転速度を維持できるようにしたためであ
る。In the power synchronization interrupt, if the frequency of the commercial TI source is 50
If it is H2, use the data in RAM8 as is, and if the frequency of the commercial power supply is 60Hz, change the data in RAM8 to 0.
.. Multiply it by 83 before using it. This is so that even if the commercial power frequency becomes 6082, the same rotational speed as when it was 50H2 can be maintained.
上記RAM8の記憶内容を得るための演算手段としてC
PU QOを使用しているが、このCPU QOの内部
タイマによって、前回の電源同期割込みの時の内部タイ
マの値と、今回の電源同期割込みの時の内部タイマの値
との差から電源周波数を検出し、この*m周波数に応じ
てモータMに通電する時間を制御するようにしている。C as a calculation means for obtaining the memory contents of the RAM 8.
PU QO is used, and the internal timer of this CPU QO calculates the power frequency from the difference between the internal timer value at the previous power synchronization interrupt and the internal timer value at the current power synchronization interrupt. The *m frequency is detected, and the time during which the motor M is energized is controlled according to this *m frequency.
ROM2.ROM3のデータによって回転速度の差に応
じたフィードバックを適切に設定できるので、モータM
の高速、中速において調節が不要であることは勿論、モ
ータの最低速度における調整が必要ないために、ミシン
製造段階における調整の煩雑さを排除できる。また、R
OMIのデータによって、モータMの回転速度を無段階
に設定することができる。ROM2. Feedback can be set appropriately according to the difference in rotational speed using the data in ROM3, so motor M
Needless to say, there is no need for adjustment at the high and medium speeds of the motor, and since there is no need for adjustment at the lowest speed of the motor, the complexity of adjustment at the manufacturing stage of the sewing machine can be eliminated. Also, R
The rotational speed of the motor M can be set steplessly using OMI data.
なお、ROMIのデータとROM2のデータとは、同じ
可変抵抗VRの値で引き出され、それぞれRAM7.R
AM6にストアされる。したがって、ROM1とROM
2との2つのROMの値を最初から加算しそのデータを
別のROMに記憶しておけば、その別のROMを1つ設
けると、ROM1とROM2とを使用しなくてもよくな
る。つまり、ROMを1つ少なくすることができる。Note that the data in ROMI and the data in ROM2 are extracted with the same value of the variable resistor VR, and are respectively extracted from RAM7. R
Stored in AM6. Therefore, ROM1 and ROM
If the values of the two ROMs 2 and 2 are added from the beginning and the data is stored in another ROM, it becomes unnecessary to use ROM1 and ROM2 if one other ROM is provided. In other words, the number of ROMs can be reduced by one.
[発明の効果]
上記のように、本発明は、ミシンのモータ速度を制御す
る場合に、その部品の数を減少させることができるとと
もに、そのモータの最低速度の調整を不必要とすること
によって、ミシン製造段階における調整の煩雑さを排除
できるという効果を有する。[Effects of the Invention] As described above, the present invention can reduce the number of parts when controlling the motor speed of a sewing machine, and eliminates the need to adjust the minimum speed of the motor. This has the effect of eliminating the complexity of adjustment at the sewing machine manufacturing stage.
第1図は本発明の一実施例を示す回路図、第2図は通常
負荷をかけてミシンを作動した場合、モータMの通電時
間とモータMの回転速度との関係を示したグラフ、第3
図は可変抵抗のスライド量とこのスライド量をデジタル
化したデータとの関係を示したグラフ、第4図はROM
1〜3の記憶内容を示す図表、第5図はCPUに内蔵さ
れたタイマーコントロール回路を示す図、第6図はモー
タの回転数とフィードバック時間との関係を示すグラフ
、第7図は上記実施例の動作を示すフローチャートであ
り、第7図(a)、(b)、(c)は、それぞれICF
割り込み、メインルーチン、電源同期割り込みを示すフ
ローチャートである。
M・・・モータ、S・・・シャフト、P・・・スリット
円板、Qo・・・CPU、Ql・・・ポート拡張用IC
,Q2・・・インバータ、Q3・・・インバータ、QO
・・・A/D変換器、PC・・・フォトカプラ、VR・
・・可変抵抗。
第7図
tσノ lbノ
(C)FIG. 1 is a circuit diagram showing an embodiment of the present invention, and FIG. 2 is a graph showing the relationship between the energization time of the motor M and the rotational speed of the motor M when the sewing machine is operated under a normal load. 3
The figure is a graph showing the relationship between the sliding amount of the variable resistor and the data obtained by digitizing this sliding amount, and Figure 4 is the ROM
Figure 5 is a diagram showing the timer control circuit built into the CPU, Figure 6 is a graph showing the relationship between motor rotation speed and feedback time, and Figure 7 is a diagram showing the memory contents of 1 to 3. 7 is a flowchart showing an example operation, and FIGS. 7(a), (b), and (c) are respectively ICF
3 is a flowchart showing an interrupt, a main routine, and a power synchronization interrupt. M...Motor, S...Shaft, P...Slit disk, Qo...CPU, Ql...Port expansion IC
, Q2... Inverter, Q3... Inverter, QO
...A/D converter, PC...photocoupler, VR/
...Variable resistance. Figure 7 tσ lb (C)
Claims (1)
設け、前記モータの回転速度を目標回転速度に設定する
可変抵抗を設け、前記モータの通常負荷における前記可
変抵抗の値と前記モータの回転速度との関係を記憶する
第1記憶手段を設け、前記可変抵抗によって設定された
目標回転速度から得たデータを記憶する第2記憶手段を
設け、前記回転速度検出手段から得たデータを記憶する
第3記憶手段を設け、前記第2記憶手段のデータから前
記第3記憶手段のデータを減算した値に前記第1記憶手
段のデータを加拝する演算手段を設け、この演算手段の
出力信号に応じて前記モータへの通電時間を制御するこ
とによって前記モータの回転速度を制御するモータ通電
手段を設けたことを特徴とするモータの速度制御装置。 (2、特許請求の範囲第1項において、前記演算手段と
してCPUを使用し、このCPUの内部タイマによって
電源周波数を検出し、この電源周波数に応じて前記モー
タに通電する時間を制御することを特徴とするモータの
速度制御装置。(1) A rotational speed detection means for detecting the rotational speed of the motor is provided, a variable resistor is provided for setting the rotational speed of the motor to a target rotational speed, and the value of the variable resistance and the rotation of the motor at a normal load of the motor are provided. A first storage means is provided for storing the relationship with the speed, and a second storage means is provided for storing data obtained from the target rotation speed set by the variable resistor, and the second storage means is provided for storing data obtained from the rotation speed detection means. A third storage means is provided, and an arithmetic means is provided for adding the data of the first storage means to a value obtained by subtracting the data of the third storage means from the data of the second storage means, and the output signal of the arithmetic means is A motor speed control device comprising a motor energization means for controlling the rotational speed of the motor by controlling the energization time to the motor accordingly. (2. Claim 1 provides that a CPU is used as the calculation means, a power supply frequency is detected by an internal timer of the CPU, and the time for energizing the motor is controlled according to this power supply frequency. Characteristic motor speed control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58245449A JPS60141181A (en) | 1983-12-28 | 1983-12-28 | Speed controller of motor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58245449A JPS60141181A (en) | 1983-12-28 | 1983-12-28 | Speed controller of motor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60141181A true JPS60141181A (en) | 1985-07-26 |
Family
ID=17133824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58245449A Pending JPS60141181A (en) | 1983-12-28 | 1983-12-28 | Speed controller of motor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60141181A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0982436A (en) * | 1995-08-29 | 1997-03-28 | United Microelectron Corp | Pin receptacle with juncture |
-
1983
- 1983-12-28 JP JP58245449A patent/JPS60141181A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0982436A (en) * | 1995-08-29 | 1997-03-28 | United Microelectron Corp | Pin receptacle with juncture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4550277A (en) | Overload detection and warning system for electric motors in power tools and the like | |
US4628233A (en) | Microprocessor based motor control | |
USRE33379E (en) | Microprocessor based motor control | |
EP0685926B1 (en) | Method and device for controlling speed of a washing machine motor | |
US4361792A (en) | Digital induction motor control system | |
US4961037A (en) | Stepping motor control device | |
US4586123A (en) | Digital control system for the speed of a sewing machine | |
JPS60141181A (en) | Speed controller of motor | |
JPS60252270A (en) | Speed detecting device | |
JPH0670594A (en) | Fan motor controller for air conditioner | |
US6353302B1 (en) | Speed computation function for induction motor/blower systems control algorithm | |
JPS62260574A (en) | Detection of rotational speed of motor | |
US4710688A (en) | Variable speed control with selectively enabled counter circuits | |
JPS63220788A (en) | Air conditioner blower control device | |
JP3262926B2 (en) | Rotary body rotation control circuit | |
JP2850680B2 (en) | Speed control device | |
JPS61154496A (en) | Rotating speed controller | |
JPH06276779A (en) | Dc-motor driving device and dc-motor driving | |
JPH01308188A (en) | Speed control device for moving objects | |
JP2618907B2 (en) | Rotation speed control method for fan motor | |
SU1580515A1 (en) | Electric drive | |
JPH06297298A (en) | Kick back state detecting method and power tool controlled by said method | |
JPH0352584A (en) | Rotational speed detector for motor | |
JPS62281784A (en) | Control unit for copying machine | |
JPH0834707B2 (en) | Induction motor speed controller |